Jump to content

Ajout d'un bouton ajout panier


Recommended Posts

  1. C'est bien cette ligne ?
  2. {if ($product.quantity > 0 OR $product.allow_oosp)}
    	   <a class="exclusive ajax_add_to_cart_button" rel="ajax_id_product_{$product.id_product}" href="{$link->getPageLink('cart.php')}?qty=1&id_product={$product.id_product}&token={$static_token}&add" title="{l s='Add to cart' mod='homefeatured'}">{l s='Add to cart' mod='homefeatured'}</a>
    	   {else}
    	   <span class="exclusive">{l s='Add to cart' mod='homefeatured'}</span>
    	   {/if}
    


a adapter bien sur pour mettre sur un autre block

Link to comment
Share on other sites

  • 1 month later...

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