Laurent71 Posted November 20, 2009 Share Posted November 20, 2009 Bonjour,Comme l'indique le titre, je souhaite remplacer quand disponiibilté: 0 par disponibilté: épuisé tout bêtement, mais je caleSi quelqu'un a une idée... Link to comment Share on other sites More sharing options...
Patric Posted November 20, 2009 Share Posted November 20, 2009 Lorsqu'épuisé, le produit est commandable ou non ? Link to comment Share on other sites More sharing options...
Laurent71 Posted November 20, 2009 Author Share Posted November 20, 2009 Le produit n'est plus commandableJe jongle dans cette partie du code de product.tpl<!-- availability --> quantity == 0 && !$product->available_later) || (!$product->available_now && $display_qties != 1) } {/if}>{l s='Availability:'}quantity == 0} class="warning-inline"{/if}> {if $product->quantity == 0}{if $allow_oosp}{$product->available_later}{else}{l s=''}{/if}{else}{$product->available_now}{/if} <!-- number of item in stock --> quantity == 0)} {/if}>{$product->quantity|intval}quantity > 1} style="display:none;"{/if} id="quantityAvailableTxt">{l s='m'}quantity < 2} style="display:none;"{/if} id="quantityAvailableTxtMultiple">{l s='m'} 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