thanos Posted March 3, 2009 Share Posted March 3, 2009 bonjour,voilà j'ai un site ou mon client n'utilise pas les stock, comment faire pour retirer cette mention? merci Link to comment Share on other sites More sharing options...
Patric Posted March 3, 2009 Share Posted March 3, 2009 Cette mention est spécifiée pour chaque produit :Panneau d'administration >> CatalogueMessage quand en stock :Supprimer la chaîne En stockMais ça risque d'être fastidieux... Le mieux serait peut-être de supprimer la ligne dans le .tpl correspondant. Link to comment Share on other sites More sharing options...
thanos Posted March 3, 2009 Author Share Posted March 3, 2009 yes j'aimerai mieux la supprimer dans le tpl... lequel est ce et ou ?merci Link to comment Share on other sites More sharing options...
Patric Posted March 3, 2009 Share Posted March 3, 2009 Essaye ça :/themes/ton_theme/product.tplsupprimer (ou mettre en commentaire) les lignes 204 à 209. <!-- availability --> <!-- quantity == 0 && !$product->available_later) || (!$product->available_now && $display_qties != 1) } style="display:none;"{/if}> {l s='Availability:'} quantity == 0} class="warning-inline"{/if}> {if $product->quantity == 0}{if $allow_oosp}{$product->available_later}{else}{l s='This product is no longer in stock'}{/if}{else}{$product->available_now}{/if} --> Link to comment Share on other sites More sharing options...
thanos Posted March 3, 2009 Author Share Posted March 3, 2009 merci j'ai bien fait ca mais ca ne change rien En stock s'affiche toujours... Link to comment Share on other sites More sharing options...
Patric Posted March 3, 2009 Share Posted March 3, 2009 Ca s'affiche à quel endroit ? Link to comment Share on other sites More sharing options...
ascat Posted September 2, 2009 Share Posted September 2, 2009 Bonjour,Dans le Bac office, en haut à droitele cliquez sur l'onglet OUTILensuite TraductionTraduction du Front OfficeCliquez sur le drapeauet la tu descend et cherche “product-list – 6 expressions (0)”Retirer "En stock" et mettre juste une tabulation Et voila Link to comment Share on other sites More sharing options...
jeckyl Posted September 2, 2009 Share Posted September 2, 2009 Je suppose que tu fait référence au En Stock présent sur la liste des produits.il faut donc retirer la ligne suivante (normalement la 7) dans product-list.tpl : {if ($product.allow_oosp OR $product.quantity > 0)}{l s='Available'}{else}{l s='Out of stock'}{/if} Link to comment Share on other sites More sharing options...
ascat Posted September 3, 2009 Share Posted September 3, 2009 Oui mais en faisans une tabulation ou un espace à la place du "En stock" il n'y a pas besoin de retirer cette ligne. Link to comment Share on other sites More sharing options...
jeckyl Posted September 3, 2009 Share Posted September 3, 2009 Je comprends bien l'idée, mais cela laisse l'espace occupé par une donnée vide.En retirant la ligne dans le code du tpl on fait ainsi disparaitre l'espace réservé par cette variable.Ceux sont 2 solutions valides au résultat différent 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