Jump to content

Creating Add to cart buttons


Recommended Posts

I've managed to find the link for adding Products to cart

 

        <a class="ajax_add_to_cart_button exclusive 
btn_add_cart" 
rel="ajax_id_product_{$bestseller.id_product|intval}" href="{$link->getPageLink('cart',false, 
NULL,"add&id_product={$bestseller.id_product|intval}", false)} 
title="{ls='Add 
tocart'}">                              
<span>{l 
s='Add tocart'}</span>                             
</a>

 

 

But when I click on the button I get a message says there is "No Product is found. The produt is not available anymore".

 

Any hints?

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...