Community Forums 

Main Content

Ordering only in multiples of a certain qty

    Nov 20 2012 13:21:08

    #1

    Simon Clay

    Join date : 2009-02-19      Posts : 43

    Hi,

    I want to display a product showing it's unit price, but they come packed in 150s. So the customer can only order in multiples of 150 (150, 300, 450 etc)

    Is there a way I can do this and ensure the customer can't enter 185 etc as the qty?



    Nov 20 2012 14:44:31

    #2

    Debbie Q

    Join date : 2008-09-18      Posts : 4994

    Use a drop down for the qty and use noqty=3 so they cannot change the number once they are in the cart.

    <input type="hidden" name="noqty" value="3">

    Debbie Q

    Mal's Support: www.mals-e.com/support.php
    GT's Forms and examples: www.malsforms.com
    Helpful java scripts: www.gemasana.com/mals
    Shipping help documents: www.stoner.org.uk/mals

    My Create-A-Book Publishing - mycreateabook.com
    Personalized Books, Music CDs and Gifts for all ages and occasions.

    Please help me out and share my site on your networks.




    Nov 20 2012 15:45:10

    #3

    Simon Clay

    Join date : 2009-02-19      Posts : 43

    Thanks Debbie,

    Where can I find out more about 'noqty'?



    Nov 20 2012 16:44:30

    #4

    GT

    Join date : 2008-09-18      Posts : 3207

    This might help you Simon:
    http://www.malsforms.com/syntax.html

    Having trouble with a form or need one building?
    Fast turnaround, but I do charge :)

    Mal's Forms / Scripts and the syntax are here.




    Nov 20 2012 18:12:52

    #5

    Debbie Q

    Join date : 2008-09-18      Posts : 4994

    You can do this using a field named noqty in your Buy Now links. There are three possible values:

    noqty=1 the cart displays the number as text
    noqty=2 displays a checkbox so the item can still be deleted
    noqty=3 displays a checkbox and a quantity in text

    Debbie Q

    Mal's Support: www.mals-e.com/support.php
    GT's Forms and examples: www.malsforms.com
    Helpful java scripts: www.gemasana.com/mals
    Shipping help documents: www.stoner.org.uk/mals

    My Create-A-Book Publishing - mycreateabook.com
    Personalized Books, Music CDs and Gifts for all ages and occasions.

    Please help me out and share my site on your networks.




    Nov 20 2012 20:22:26

    #6

    Alan

    Join date : 2008-09-18      Posts : 2950

    What you show as the price need not be the 'price' sent to the cart which could be the pack price.

    $0.05 each, packs of 150 - enter number of packs
    <input type="hidden" name="price" value="7.50" />
    <input type="hidden" name="product" value=" pack of 150" />
    <input type="text" name="qty" />

    Alan
    Some shipping help documents are available at www.stoner.org.uk/mals/