Jump to content

Add To Cart Button With Combinations Sizes On Product-List


Rissinko

Recommended Posts

Hi guys,
 
Maybe someone here can help me with this problem..
I want create on product-list.tpl hover effect which will show to customer all sizes of product and add to cart button. So when customer will go with mouse over product then he will see all sizes and he will be able to select one size and hit add to cart button... 
 
I have the ajax button code :
 
<a class="button ajax_add_to_cart_button btn btn-default WhiteRounded" href="{$link->getPageLink('cart',false, NULL, "add=1&id_product={$product.id_product|intval}&token={$static_token}", false)|escape:'html':'UTF-8'}" rel="nofollow" title="{l s='Add to cart' }" data-id-product="{$product.id_product|intval}">

<span class="fa-button-cart">{*{l s='Add to cart' }*}</span>

</a>

and if iam right i need to add this id to the link of the button:

&id_product_attribute={$product.id_product_attribute}

But I don't know more about it ... I can't find any informations or documentations about "add to cart" button... so please if someone know what to do or how to edit this add to cart link please help

 

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...