[Skip to main content](#vessel-content)

#   Stock affiché dans certaines catégories...

##

- **[oliv](/forum/user/7307-oliv "View oliv's Profile")**
- [![oliv's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/7307-oliv "View oliv's Profile") Topic Author
- [ Offline](/forum/user/7307-oliv)

Less More

- Posts: 257
- Thank you received: 7
-
-
-
- [](http://jardinpromo.com)
-

13 years 6 months ago -  13 years 5 months ago [\#104838](#104838) by [oliv](/forum/user/7307-oliv "View oliv's Profile")  *[Stock affiché dans certaines catégories...](/forum/2-general-talk-about-hikashop/82327-stock-affiche-dans-certaines-categories#104838 "Bonjour,  Certaines catégories affichent les stocks :  D'autres pas :  Auriez-vous une piste?  Merci.")* was created by *[oliv](/forum/user/7307-oliv "View oliv's Profile")*

Bonjour,

Certaines catégories affichent les stocks : [ ](http://jardinpromo.com/accessoires-pour-autoportees#)[ jardinpromo.com/accessoires-pour-autoportees#](http://jardinpromo.com/accessoires-pour-autoportees#)

D'autres pas : [ ](http://jardinpromo.com/tronconneuses#)[ jardinpromo.com/tronconneuses#](http://jardinpromo.com/tronconneuses#)

Auriez-vous une piste?

Merci.

Last edit: 13 years 5 months ago by [oliv](/forum/user/7307-oliv "View oliv's Profile"). Reason: réglé

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzgyMzI3LXN0b2NrLWFmZmljaGUtZGFucy1jZXJ0YWluZXMtY2F0ZWdvcmllcz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26402
- Thank you received: 4081
-
- [](http://obsi.dev)
-

13 years 6 months ago [\#104857](#104857) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Stock affiché dans certaines catégories...](/forum/2-general-talk-about-hikashop/82327-stock-affiche-dans-certaines-categories#104857 "Bonjour,  Certaines catégories affichent les stocks :  D'autres pas :  Auriez-vous une piste?  Merci.")*

Bonjour,

Votre deuxième listing ne comporte que des produits à variantes. C'est pour cela vous avez un bouton "choisir les options" et non un bouton "ajouter un panier" avec la possibilité de sélectionner la quantité.
Il n'est pas possible de connaitre l'état du stock d'un produit à variantes car, suivant la variante le produit sera en stock, ou non.
C'est à l'utilisateur d'entrer dans la fiche produit pour sélectionner sa variante et pouvoir ajouter le produit (la variante) au panier.

Vous pouvez faire différentes modifications dans HikaShop afin de regarder l'état des stocks des variantes pour afficher ou non une image.
Pour cela il faut faire un override sur la vue afin de rajouter du code PHP au debut de celle ci afin de faire une requete SQL pour obtenir le niveau de stock des différentes variantes des produits qui vont être affichés. Il faut ensuite parcourir la liste des produits qui vont être affichés afin de modifier certaines valeurs pour, dans une autre vue, faire l'affichage de votre image "en stock".
Cela nécessite des connaissances en développement.

Cordialement,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

The following user(s) said Thank You: [oliv](/forum/user/7307-oliv "View oliv's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzgyMzI3LXN0b2NrLWFmZmljaGUtZGFucy1jZXJ0YWluZXMtY2F0ZWdvcmllcz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[oliv](/forum/user/7307-oliv "View oliv's Profile")**
- [![oliv's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/7307-oliv "View oliv's Profile") Topic Author
- [ Offline](/forum/user/7307-oliv)

Less More

- Posts: 257
- Thank you received: 7
-
-
-
- [](http://jardinpromo.com)
-

13 years 6 months ago [\#105789](#105789) by [oliv](/forum/user/7307-oliv "View oliv's Profile")  Replied by *[oliv](/forum/user/7307-oliv "View oliv's Profile")* on topic *[Stock affiché dans certaines catégories...](/forum/2-general-talk-about-hikashop/82327-stock-affiche-dans-certaines-categories#105789 "Bonjour,  Certaines catégories affichent les stocks :  D'autres pas :  Auriez-vous une piste?  Merci.")*

Merci Jérôme.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzgyMzI3LXN0b2NrLWFmZmljaGUtZGFucy1jZXJ0YWluZXMtY2F0ZWdvcmllcz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.052 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
