Announcement

Collapse
No announcement yet.

Display Minimum Quantities

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Display Minimum Quantities

    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.

    #2
    Welcome to the Community, Paul.

    There's a Variable for that. Add something like:
    Code:
    Minumum order quantity: <actinic:variable name="MinQuantityOrderable" />
    To your Product Layout(s).
    Norman - www.drillpine.biz
    Edinburgh, U K / Bitez, Turkey

    Comment


      #3
      Perfect thanks, it was so simple, sorry shows my inexperience with this software.

      Comment


        #4
        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" />
        This will populate the field with the quantity as set in the minimum orderable quantity if changed from 1.

        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

        Working...
        X