I’m new to Actinic and have managed to muddle my way through most of my clients requirements. However the one I can’t find a solution for is, each product has a minimum order quantity, rather than wait for the user to add a quantity less than the minimum to see a warning message, is it possible to display the minimum order quantity similar to the in stock/out of stock message on each product. Thanks.
Announcement
Collapse
No announcement yet.
Display Minimum Quantities
Collapse
X
-
Welcome to the Community, Paul.
There's a Variable for that. Add something like:
Code:Minumum order quantity: <actinic:variable name="MinQuantityOrderable" />
Norman - www.drillpine.biz
Edinburgh, U K / Bitez, Turkey
-
You could also replace the quantity field with the following:
Code:<span class="actrequired"><Actinic:Variable Name="QuantityPrompt"/></span><input type="text" name="Q_<actinic:variable Name="ProductID"/>" size="4" value="<actinic:variable name="DefaultQuantity" if="%3cactinic%3avariable%20name%3d%22MinQuantityOrderable%22%20%2f%3e%20%3d%3d%20%271%27" /><actinic:variable name="MinQuantityOrderable" if="%3cactinic%3avariable%20name%3d%22MinQuantityOrderable%22%20%2f%3e%20%21%3d%20%271%27" />" class="form_input_general" />
Note that on larger sites, the variable MinQuanityOrderable does not update online at duplicates. It works in so far as you get an error message, but if you are displaying it in a layout it stays at whatever value it was when the duplicate was created.
Comment
Comment