Jump to content

shopping-cart-product-line CHANGE QUANTITY OF PRODUCT


Recommended Posts

I think it something like this (I test it quickly) :

<form action="{$base_dir_ssl}cart.php">
 <input type="hidden" name="id_product" value="{$product.id_product|intval}" />
 <input type="hidden" name="ipa" value="{$product.id_product_attribute|intval}" />
 {if isset($my_condition)}<input type="hidden" name="op" value="down" />{/if}
 <input type="hidden" name="token" value="{$token_cart}" />
 <input type="hidden" name="add" value="1" />
 <input type="text" name="qty" />
</form>

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...