Announcement

Collapse
No announcement yet.

'Quanity' not required ...

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

    'Quanity' not required ...

    Hi,

    As i am doing Digital Download I do not need a 'Quantity' prompt to buy something, (as this is always 1), in my Product Section.

    Whats the best way of removing this and ensuring I always get 1?

    I set Business Settings > Ordering > Order Quantity Always 1, but the Quantity box still appears on the ordering page.....and if I do enter a number it throws an error.

    Thanks, S.
    esafetysigns.co.uk
    your instant download portal for self printable health and safety signs and posters
    ... download once use as many times as you like !


    http://www.esafetysigns.co.uk/index.html
    http://www.esafetysigns.co.uk/acatalog/index.html

    #2
    Hi Simon,


    I've taken this from the AUG:

    If you want to hide the quantity fields from the customers, and just use a hidden default value instead, then use the following method.
    1. Locate the product template that is being used for the products you want to edit. If you want to edit the default template then go to 'Design Options | Layouts' and click the 'Edit' button next to 'Default Product Layout'.
    Note: If you want to create a new template just for specific products, then edit the template and save it under a different filename. This template can now be selected in the 'Product Layout' field of any product.
    2. Edit that template and replace:
    NETQUOTEVAR:PRODUCTQUANTITY
    with
    <!-- NETQUOTEVAR:PRODUCTQUANTITY --><input type="hidden" name="Q_NETQUOTEVAR:PRODUCTREFERENCE" value="1">
    Note that you can change the "1" above to a different default number.
    3. You can now use that new template for any products you want to hide the quantity field on.

    Let me know if you get any problems.
    Regards,

    Toby Blanchard

    Comment

    Working...
    X