Sw00p Posted May 19, 2010 Share Posted May 19, 2010 Bonjour à tousVoila, j'étais en train de faire des tests dans ma boutique. Je me suis donc creer un compte client, et commander un article qui n'est pas en stock.Surprise, quand je clic sur le panier, j'ai droit à ça :L'icone est vert... au lieu d'être rouge, car ce produit n'est pas en stock.Y aurait-il un bug quelque part ?Merci à tous pour vos réponses Link to comment Share on other sites More sharing options...
jeckyl Posted May 19, 2010 Share Posted May 19, 2010 Bonjour,Vous pouvez peut être demander à son auteur, car personnellement je n'utilise pas ce thème. Link to comment Share on other sites More sharing options...
ould.abeidy Posted May 19, 2010 Share Posted May 19, 2010 Bonsoir,peut etre une erreur sur le choix de couleur d'image pour le theme donc si tu veux tu change ou tu inverse le couleur d'images avec n'importe quel editeur d'images tu trouve tous les icones dans la racine de ton site. Link to comment Share on other sites More sharing options...
Sw00p Posted May 19, 2010 Author Share Posted May 19, 2010 Merci pour la réponse. J'y ai déjà pensé, mais le problème ne sera pas résolu, car ce n'est pas un problème d'image, mais de script..Quand je commande un article en stock, j'ai aussi un icône vert.Donc peu importe qu'un article soit en stock ou pas, c'est toujours un icône vert. Link to comment Share on other sites More sharing options...
jeckyl Posted May 19, 2010 Share Posted May 19, 2010 Il faut donc modifier le code correspondant dan le fichier tpl du thème. Soit product-list.tpl.Tu peux t'inspirer du tpl d'origine de prestashop. Link to comment Share on other sites More sharing options...
Pshopic Posted May 19, 2010 Share Posted May 19, 2010 Did you use whishlist module? if yes, disable it then check. Link to comment Share on other sites More sharing options...
Sw00p Posted May 20, 2010 Author Share Posted May 20, 2010 Non pas de module Whishlist.Dans mon fichier product list.tpl, il y avait ça : Je l'ai remplacé par le tpl d'orgine prestashop :{if ($product.allow_oosp OR $product.quantity > 0)}{l s='Available'}{else}{l s='Out of stock'}{/if}Mais exactement le même probleme. Link to comment Share on other sites More sharing options...
jeckyl Posted May 20, 2010 Share Posted May 20, 2010 Salut,As tu bien configuré la prise en compte de la gestion du stock dans les préférences ? Link to comment Share on other sites More sharing options...
piscineshop Posted May 21, 2010 Share Posted May 21, 2010 Je crois que c'est un bug de presta... Link to comment Share on other sites More sharing options...
shacker Posted June 24, 2010 Share Posted June 24, 2010 Je crois que c'est un bug de presta... J'ai mis à jour à 1,3 tempalte indigènes 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