Announcement

Collapse
No announcement yet.

Is it possible to hide the Quantity field on the product page, and so force...

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

    Is it possible to hide the Quantity field on the product page, and so force...

    Is it possible to hide the Quantity field on the product page, and so force customers to go with a default quantity I set for them?

    Yes. This will work with the 'Quantity on Product Page' shopping mode.

    1. On the 'Design' tab, click on the 'Quantity' prompt in the preview pane and it should take you to the code in your product layout that looks like:

    <span class="actrequired">QuantityPrompt</span><input type="text" name="Q_ProductID" size="4" value="DefaultQuantity" class="form_input_general" />

    2. Replace:

    <input type="text"

    with

    <input type="hidden"

    3. If the quantity that you want to be added to the basket is anything other than 1, then change 'DefaultQuantity'to the number you require.

    Note that the above code may appear twice in your layout (once for registered and once for unregistered customers) so you should apply the change in both places.
Working...
X