close ad
Install the LAtest Updates to Work with CC 2017 and CC 2018
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Does eCart support minimum quantities?

Thread began 4/09/2010 10:48 pm by lejohnson01403530 | Last modified 4/12/2010 2:43 pm by Eric Mittman | 616 views | 1 replies |

lejohnson01403530

Does eCart support minimum quantities?

I have an editable cart with eCart 5. Various items in my store have a minimum quantity that must be purchased, and the minimum quantity depends on the item.

How can I enforce this minimum quantity in the cart?

Sign in to reply to this post

Eric Mittman

One way you could do this would be to include the minimum quantity value for the item when it is added to the cart, you must ensure that you have a column in your cart to hold this value.

Once you have done that you can create a new calculation that will help you enforce the minimum quantity. In the calculations tab create a new calculation and set it up like this

php:
([Quantity] < [MinQuantity])?[Quantity] = [MinQuantity]:[Quantity] = [Quantity]



This calculation assumes that your new column is called MinQuantity, the name of the calculation should not matter. What it is doing is comparing the value of the Quantity and MinQuantity columns, if the Quantity is less than the MinQuantity then the Quantity will be set to the MinQuantity, otherwise the quantity will remain the same.

The other part of this would be to make sure that you default the quantity field to the min quantity in your add to cart form.

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...