Design Cart - Online Shopping Cart Easy Dynamic Secure Scalable

Help Search our knowledge base:

Index - FAQ - Add, View, and Check Out buttons

 Details
Frequently Asked
Question (FAQ)

Document Number: 627

Optimize for Printing
E-Mail This Link

 Feedback
This document ...
helps resolve my question or problem.
does not apply to my question or problem.
is inaccurate for my question or problem.
Disabling the increase quantity and decrease quantity buttons?

There are two different ways to disable the quantity buttons. You can:
  1. use the Allow Full Quantity Modification From The 'View Cart' feature. Look for this feature on the "Advanced Settings" page of the "Cart Settings" section of the cart.
  2. disable them individually by product. This must be done in the "Add Cart" code.
To disable quantity buttons in the "Add Cart" code, you must select 'Do not allow quantity modification' in the "Exempt" field when you are creating the buttons.

Please note: This means the quantity will not be able to be changed in any way.

If you are creating new product buttons, this selection can simply be made. But if you are changing a product that already exists you will need to change the HTML.

Here is an example of the HTML with what needs to be added in red:

<form method="post" action="https://www.designcart.net/cgi-bin/cart.cgi">
<table border="0" cellpadding="0" cellspacing="0">
    <tr>
      <td>Quantity: <input type="text" name="VARQuantity" value="1" size="4" />
      </td>
    </tr>
    <tr>
      <td colspan="2" align="center">
        <input type="hidden" name="VAR000" value="|" />
        <input type="hidden" name="AddItem"
           value="USERNAME|Description VAR000 5|VARQuantity|
            Part Number||prompt|Weight|Quantity|||||" />
        <input type="submit" value="Add To Cart" />
      </td>
    </tr>
</table>
</form>
SSL Copyright © DesignCart 2000-2017 - All Rights Reserved
Privacy Policy         Terms of Use         FAQ's         Contact Us         Site Map
HACKER SAFE certified sites prevent over 99.9% of hacker crime.