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

#   3 niveaux de stock

##

- **[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 4 months ago -  13 years 4 months ago [\#110589](#110589) by [oliv](/forum/user/7307-oliv "View oliv's Profile")  *[3 niveaux de stock](/forum/5-support-en-francais-french-support-/84083-3-niveaux-de-stock#110589 "Bonjour, Aujourd'hui, sur une fiche produit, j'ai la possibilité d'afficher  &#42; &quot;En stock&quot; =&gt; de &quot;1&quot; à &quot;l'infini&quot;  &#42; &quot;En cours d'approvisionnement&quot; =&gt; &quot;0&quot;  &#42; &quot;Et éventuellement rien&quot; =&gt; &quot;illimité&quot;  J'aimerais afficher un autre état. Est-ce possible.  Merci.")* was created by *[oliv](/forum/user/7307-oliv "View oliv's Profile")*

Bonjour,
Aujourd'hui, sur une fiche produit, j'ai la possibilité d'afficher

1. "En stock" =&gt; de "1" à "l'infini"
2. "En cours d'approvisionnement" =&gt; "0"
3. "Et éventuellement rien" =&gt; "illimité"

J'aimerais afficher un autre état. Est-ce possible.

Merci.

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

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

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86578
- Thank you received: 14321
-
-

13 years 4 months ago [\#110599](#110599) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[3 niveaux de stock](/forum/5-support-en-francais-french-support-/84083-3-niveaux-de-stock#110599 "Bonjour, Aujourd'hui, sur une fiche produit, j'ai la possibilité d'afficher  &#42; &quot;En stock&quot; =&gt; de &quot;1&quot; à &quot;l'infini&quot;  &#42; &quot;En cours d'approvisionnement&quot; =&gt; &quot;0&quot;  &#42; &quot;Et éventuellement rien&quot; =&gt; &quot;illimité&quot;  J'aimerais afficher un autre état. Est-ce possible.  Merci.")*

Bonjour,

Tout est possible.
Pourriez vous donner plus d'infos sur l'état que vous voulez ajouter ?

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

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUtc3VwcG9ydC1lbi1mcmFuY2Fpcy1mcmVuY2gtc3VwcG9ydC0vODQwODMtMy1uaXZlYXV4LWRlLXN0b2NrP3RtcGw9bWFya2Rvd24=) 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 4 months ago -  13 years 4 months ago [\#110605](#110605) by [oliv](/forum/user/7307-oliv "View oliv's Profile")  Replied by *[oliv](/forum/user/7307-oliv "View oliv's Profile")* on topic *[3 niveaux de stock](/forum/5-support-en-francais-french-support-/84083-3-niveaux-de-stock#110605 "Bonjour, Aujourd'hui, sur une fiche produit, j'ai la possibilité d'afficher  &#42; &quot;En stock&quot; =&gt; de &quot;1&quot; à &quot;l'infini&quot;  &#42; &quot;En cours d'approvisionnement&quot; =&gt; &quot;0&quot;  &#42; &quot;Et éventuellement rien&quot; =&gt; &quot;illimité&quot;  J'aimerais afficher un autre état. Est-ce possible.  Merci.")*

Formidable,

Voici ce que j'aimerais afficher comme état de stock :

1. "En stock" =&gt; de "1" à "l'infini"
2. "En cours d'approvisionnement" =&gt; "0"
3. "En attente fournisseur" =&gt; "?"

Merci.

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

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

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86578
- Thank you received: 14321
-
-

13 years 4 months ago [\#110611](#110611) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[3 niveaux de stock](/forum/5-support-en-francais-french-support-/84083-3-niveaux-de-stock#110611 "Bonjour, Aujourd'hui, sur une fiche produit, j'ai la possibilité d'afficher  &#42; &quot;En stock&quot; =&gt; de &quot;1&quot; à &quot;l'infini&quot;  &#42; &quot;En cours d'approvisionnement&quot; =&gt; &quot;0&quot;  &#42; &quot;Et éventuellement rien&quot; =&gt; &quot;illimité&quot;  J'aimerais afficher un autre état. Est-ce possible.  Merci.")*

Pour cela, il faut créer un champs personnalisé de la table "produit" pour choisir entre "En cours d'approvisionnement" et "En attente fournisseur" dans l'edition du produit.

Ensuite il suffit de remplacer la ligne:
echo JText::_('NO_STOCK').'&lt;br/&gt;';
par la ligne:
echo $this-&gt;row-&gt;CUSTOM_FIELD_COLUMN_NAME.'&lt;br/&gt;';

où CUSTOM_FIELD_COLUMN_NAME est le nom de colonne de votre champs personnalisé, dans le fichier "quantity" via Affichage&gt;Vues.

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

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUtc3VwcG9ydC1lbi1mcmFuY2Fpcy1mcmVuY2gtc3VwcG9ydC0vODQwODMtMy1uaXZlYXV4LWRlLXN0b2NrP3RtcGw9bWFya2Rvd24=) 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 4 months ago [\#111240](#111240) by [oliv](/forum/user/7307-oliv "View oliv's Profile")  Replied by *[oliv](/forum/user/7307-oliv "View oliv's Profile")* on topic *[3 niveaux de stock](/forum/5-support-en-francais-french-support-/84083-3-niveaux-de-stock#111240 "Bonjour, Aujourd'hui, sur une fiche produit, j'ai la possibilité d'afficher  &#42; &quot;En stock&quot; =&gt; de &quot;1&quot; à &quot;l'infini&quot;  &#42; &quot;En cours d'approvisionnement&quot; =&gt; &quot;0&quot;  &#42; &quot;Et éventuellement rien&quot; =&gt; &quot;illimité&quot;  J'aimerais afficher un autre état. Est-ce possible.  Merci.")*

C'est parfait.
Je n'ai pas eu besoin de changer la ligne du fichier "quantity".
En conclusion, j'ai shunté le système de gestion des stocks de Hikashop et j'ai créée une nouvelle cellule dans chaque fiche produit.
Merci Nicolas.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUtc3VwcG9ydC1lbi1mcmFuY2Fpcy1mcmVuY2gtc3VwcG9ydC0vODQwODMtMy1uaXZlYXV4LWRlLXN0b2NrP3RtcGw9bWFya2Rvd24=) 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.058 seconds

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