jp77 Posted October 20, 2011 Share Posted October 20, 2011 bonjour a tous Après plusieurs essais je n'arrive pas a finalisé une modification sur la version 1.4.5.1 en essais local dans ma liste de produits je souhaite que sur la BO s'affiche : En stock Produits avec délais ! En rupture J'ai donc modifié dans le fichier product_list.css la ligne 68 comme cela : ul#product_list li span.availability, ul#product_list li span.soon, ul#product_list li span.outstock { float:justify; font-size:1.2em; font-weight: bold;} ul#product_list li span.availability {color:#2C9D12;} ul#product_list li span.soon {color:#FF6300;} ul#product_list li span.outstock {color:#FF0000; et dans le fichier product_list.tpl ligne 44 comme ceci : {if isset($product.available_for_order) && $product.available_for_order && !isset($restricted_country_mode)}<span class="availability">{if ($product.allow_oosp || $product.quantity > 0)}{l s='Available'}</span><span class="soon">{l s='Available soon'}</span>{elseif $product.allow_oosp}{elseif (isset($product.quantity_all_versions) && $product.quantity_all_versions > 0)}{l s='Product available with different options'}{else}<span class="outstock">{l s='Out of stock'}{/if}</span>{/if} Mais je n'arrive pas a trouver pourquoi quand le produit est commandable mais pas en stock cela m’affiche En stock Produits avec délais ! en même temps je joins une capture d'écrans merci de votre aide. Link to comment Share on other sites More sharing options...
luci1 Posted October 20, 2011 Share Posted October 20, 2011 Bonjour, Tu as une erreur dans ton template essaies avec {if isset($product.available_for_order) && $product.available_for_order && !isset($restricted_country_mode)} {if ($product.allow_oosp && $product.quantity > 0)} <span class="availability">{l s='Available'}</span> { elseif $product.allow_oosp} <span class="soon">{l s='Available soon'}</span> {else} <span class="outstock">{l s='Out of stock'}</span> {/if} {/if} Link to comment Share on other sites More sharing options...
jp77 Posted October 20, 2011 Author Share Posted October 20, 2011 Bonjour, Tu as une erreur dans ton template essaies avec {if isset($product.available_for_order) && $product.available_for_order && !isset($restricted_country_mode)} {if ($product.allow_oosp && $product.quantity > 0)} <span class="availability">{l s='Available'}</span> { elseif $product.allow_oosp} <span class="soon">{l s='Available soon'}</span> {else} <span class="outstock">{l s='Out of stock'}</span> {/if} {/if} Merci beaucoup Elkastor il n'y avait pas grand chose mais sans toi j'y serais encore Par contre j'ai réussi aussi a faire changer les couleurs dans shopping-cart-product-line.tpl car la couleur du dispo ne changeais pas comme dans les versions précédentes d'ailleurs. Merci encore Link to comment Share on other sites More sharing options...
luci1 Posted October 21, 2011 Share Posted October 21, 2011 Un petit "[RESOLU]" ? Link to comment Share on other sites More sharing options...
jp77 Posted October 21, 2011 Author Share Posted October 21, 2011 Un petit "[RESOLU]" ? Bonjour Mes excuses je suis sur la modif du module mon compte afin de l'afficher en permanence Merci encore Link to comment Share on other sites More sharing options...
luci1 Posted October 21, 2011 Share Posted October 21, 2011 De rien, bonne continuation. Link to comment Share on other sites More sharing options...
jp77 Posted October 21, 2011 Author Share Posted October 21, 2011 De rien, bonne continuation. Transformation réussi si cela t'interesse ? A bientot Link to comment Share on other sites More sharing options...
Klaus Boutik Posted October 27, 2011 Share Posted October 27, 2011 Bonjour Je suis également intéressé par cette modif mais je ne trouve pas le fichier product_list.css un petit coup de main svp ? merci Link to comment Share on other sites More sharing options...
jp77 Posted October 27, 2011 Author Share Posted October 27, 2011 bonjour en 1.4.5.1 Dans thèmes=>Prestashop=>css bonne réception Link to comment Share on other sites More sharing options...
Klaus Boutik Posted October 27, 2011 Share Posted October 27, 2011 Merci mais je ne trouve pas car je n'ai pas la meme arborescence Voici ce que j'ai : httpdocs/themes/css Link to comment Share on other sites More sharing options...
jp77 Posted October 27, 2011 Author Share Posted October 27, 2011 Sur ton site je vois que tu as un théme DLX alors peut etre ailleur cherche je ne peux t'aider je ne connais pas ce theme Désolé 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