Jump to content
Sign in to follow this  
LeGhe

Bouton ajouter au panier incontrôlable

Recommended Posts

Product.tpl

<p{if ($allow_oosp && $product->quantity == 0 )} style="display: none;"{/if} id="add_to_cart" class="buttons_bottom_block"><span></span><input type="submit" name="Submit" value="{l s='Add to cart'}" class="exclusive" /></p>

 

Bonjour,

 

Pourquoi quand la condition est remplie, le bouton ajouter au panier apparaît-il quand même ?

 

<p style="display: none;" id="add_to_cart" class="buttons_bottom_block"><span></span><input type="submit" name="Submit" value="{l s='Add to cart'}" class="exclusive" /></p>

 

Et pourquoi d'ailleurs s'affiche-t-il toujours dans ce dernier cas ?????

Share this post


Link to post
Share on other sites

Un p'tit up ?

J'aimerais comprendre ce mystère, vraiment gênant...

Share this post


Link to post
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
Sign in to follow this  

×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More