sartok Posted February 24, 2010 Share Posted February 24, 2010 Bonjour,Je voudrais savoir comment cacher le nombre de pièce en stock (exemple : 50 pièces en stock) et la référence de l'objet (ex : Référence : 00520). Merci de votre aide,Cordialement Link to comment Share on other sites More sharing options...
sartok Posted February 25, 2010 Author Share Posted February 25, 2010 personne? Link to comment Share on other sites More sharing options...
clemclem Posted February 25, 2010 Share Posted February 25, 2010 Bonjour,dans ton product.tpl il faut supprimer (ou mettre en commentaire) la ligne : {if $product->reference} {l s='Reference :'} {$product->reference|escape}{/if} Ca c'est pour la référence, et pour le stock ça se passe ici : <!-- number of item in stock --> quantity == 0)} style="display:none;"{/if}> {$product->quantity|intval} quantity > 1} style="display:none;color:#000"{/if} id="quantityAvailableTxt">{l s='item in stock'} quantity < 2} style="display:none;color:#000"{/if} id="quantityAvailableTxtMultiple">{l s='items in stock'} Link to comment Share on other sites More sharing options...
Hugo06 Posted February 25, 2010 Share Posted February 25, 2010 Pour annuler l'affichage des quantité en stock :"Panneau d'administration >> Préférences >> Produits" puis "Display available quantities on product page: No" 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