LeGhe Posted December 15, 2011 Share Posted December 15, 2011 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 ????? Link to comment Share on other sites More sharing options...
LeGhe Posted December 16, 2011 Author Share Posted December 16, 2011 Un p'tit up ? J'aimerais comprendre ce mystère, vraiment gênant... Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now