Jump to content

minimum quantity didnt work add cart button


Recommended Posts

Hi all, i have this code for add cart button in product.tpl

<a class="ajax_add_to_cart_button exclusive" rel="ajax_id_product_{$product->id[spam-filter]" href="{$link->getPageLink('cart',false, NULL, "add=1&id_product={$categoryProduct.id_product|intval}&token={$static_token}", false)|escape:'html'}" title="{l s='Add to cart'}"><span></span>{l s='Add to cart'}</a>

But if i set the minimum quantity for some product in BO. Then this button didnt work. Reports an error that I have not added a sufficient quantity to cart. Although how many products are ok.

Edited by tozi (see edit history)
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...