Jump to content

Product listing page with multiple add to cart and product attribute


Recommended Posts

Hi to all ,

 

I want to select the product attribute on product listing page and also the add to cart functionality.Is it possible to send the product attribute id with the link to add attribute in cart.

 

like

 


<a class="button ajax_add_to_cart_button exclusive" rel="ajax_id_product_{$product.id_product|intval}" href="{$link->getPageLink('cart.php')}?add&id_product={$product.id_product|intval}&id_product_attribute=425{if isset($static_token)}&token=12{$static_token}{/if}" title="{l s='Add to cart'}">{l s='Add to cart'}</a>  

 

i tried but its not working i want to select the attribute on product listing page and then add to cart for adding product to cart.

 

please help

Link to comment
Share on other sites

  • 3 weeks later...
×
×
  • Create New...