Jump to content

Remplacer disponibilité: 0 par épuisé


Laurent71

Recommended Posts

Le produit n'est plus commandable

Je 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

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