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

#   Prevenir client rupture de stock fini

##

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

Less More

- Posts: 167
- Thank you received: 2
-
-

13 years 7 months ago [\#96463](#96463) by [xav](/forum/user/14683-xav "View xav's Profile")  *[Prevenir client rupture de stock fini](/forum/5-support-en-francais-french-support-/79717-prevenir-client-rupture-de-stock-fini#96463 "bonjour tout est dans le titre, la demande apparait bien dans client&gt;liste d'attente, sauf qu'une fois en stock le système n'envois pas d'email pour prévenir le client... :blink: y a t'il autre chose a configurer (email du client valide)")* was created by *[xav](/forum/user/14683-xav "View xav's Profile")*

bonjour
tout est dans le titre, la demande apparait bien dans client&gt;liste d'attente, sauf qu'une fois en stock le système n'envois pas d'email pour prévenir le client... :blink:
y a t'il autre chose a configurer (email du client valide)

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUtc3VwcG9ydC1lbi1mcmFuY2Fpcy1mcmVuY2gtc3VwcG9ydC0vNzk3MTctcHJldmVuaXItY2xpZW50LXJ1cHR1cmUtZGUtc3RvY2stZmluaT90bXBsPW1hcmtkb3du) 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")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86540
- Thank you received: 14299
-
-

13 years 7 months ago [\#96474](#96474) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Prevenir client rupture de stock fini](/forum/5-support-en-francais-french-support-/79717-prevenir-client-rupture-de-stock-fini#96474 "bonjour tout est dans le titre, la demande apparait bien dans client&gt;liste d'attente, sauf qu'une fois en stock le système n'envois pas d'email pour prévenir le client... :blink: y a t'il autre chose a configurer (email du client valide)")*

Bonjour,

Il faut que le plugin de waitlist soit activé et que votre cron soit correctement configurée:
[ www.hikashop.com/en/support/documentatio...ashop-cron-task.html](http://www.hikashop.com/en/support/documentation/55-hikashop-cron-task.html)

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

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

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

Less More

- Posts: 167
- Thank you received: 2
-
-

13 years 7 months ago [\#96480](#96480) by [xav](/forum/user/14683-xav "View xav's Profile")  Replied by *[xav](/forum/user/14683-xav "View xav's Profile")* on topic *[Prevenir client rupture de stock fini](/forum/5-support-en-francais-french-support-/79717-prevenir-client-rupture-de-stock-fini#96480 "bonjour tout est dans le titre, la demande apparait bien dans client&gt;liste d'attente, sauf qu'une fois en stock le système n'envois pas d'email pour prévenir le client... :blink: y a t'il autre chose a configurer (email du client valide)")*

parfait merci
toujours dans le même sujet, peux t'on rediriger automatiquement le client ou l'on veux une fois qu'il a fait la demande d'être prévenu de l'approvisionnement?

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

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

Less More

- Posts: 167
- Thank you received: 2
-
-

13 years 7 months ago [\#96487](#96487) by [xav](/forum/user/14683-xav "View xav's Profile")  Replied by *[xav](/forum/user/14683-xav "View xav's Profile")* on topic *[Prevenir client rupture de stock fini](/forum/5-support-en-francais-french-support-/79717-prevenir-client-rupture-de-stock-fini#96487 "bonjour tout est dans le titre, la demande apparait bien dans client&gt;liste d'attente, sauf qu'une fois en stock le système n'envois pas d'email pour prévenir le client... :blink: y a t'il autre chose a configurer (email du client valide)")*

par ailleurs le client reçoit bien un email de notification de stock, mais...je vous laisse lire la PJ
(stock réglé sur illimité)
y a t'il moyen de régler l'email envoyé a produit ''de stock'' sans quantité plutôt que '' il y a x produits en stock''?
ce qui resoudrait mon probléme par la même occasion

- [ ![Capture&#95;dcran&#95;2013-03-27&#95;&#95;11&#95;32&#95;55.png](/forum/attachment/9342) ](/forum/attachment/9342 "...&#95;&#95;11&#95;32&#95;55.png") [ ](/forum/attachment/9342?download=1 "...&#95;&#95;11&#95;32&#95;55.png")

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

- **[Xavier](/forum/user/4105-xavier "View Xavier's Profile")**
- [![Xavier's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4105.png)](/forum/user/4105-xavier "View Xavier's Profile")
- [ Offline](/forum/user/4105-xavier)

Less More

- Posts: 13201
- Thank you received: 2322
-
-
-
- [](http://www.kidiweb.fr)
-

13 years 7 months ago [\#96499](#96499) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Prevenir client rupture de stock fini](/forum/5-support-en-francais-french-support-/79717-prevenir-client-rupture-de-stock-fini#96499 "bonjour tout est dans le titre, la demande apparait bien dans client&gt;liste d'attente, sauf qu'une fois en stock le système n'envois pas d'email pour prévenir le client... :blink: y a t'il autre chose a configurer (email du client valide)")*

Si vous souhaitez modifier les textes, vous pouvez vous rendre dans hikaShop &gt; Configuration &gt; Languages, et éditer le fichier de langue pour personnaliser les textes.
Vous pouvez aussi éditer les mails. System &gt; Emails (version business).

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

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

Less More

- Posts: 167
- Thank you received: 2
-
-

13 years 7 months ago [\#96502](#96502) by [xav](/forum/user/14683-xav "View xav's Profile")  Replied by *[xav](/forum/user/14683-xav "View xav's Profile")* on topic *[Prevenir client rupture de stock fini](/forum/5-support-en-francais-french-support-/79717-prevenir-client-rupture-de-stock-fini#96502 "bonjour tout est dans le titre, la demande apparait bien dans client&gt;liste d'attente, sauf qu'une fois en stock le système n'envois pas d'email pour prévenir le client... :blink: y a t'il autre chose a configurer (email du client valide)")*

je pense serieusement a cette version business
la migration se fait sans problème?
combien cela couterai pour passer a cette version alors que je viens juste d'acheter l'essentiel? :dry: :dry:

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

- **[Xavier](/forum/user/4105-xavier "View Xavier's Profile")**
- [![Xavier's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4105.png)](/forum/user/4105-xavier "View Xavier's Profile")
- [ Offline](/forum/user/4105-xavier)

Less More

- Posts: 13201
- Thank you received: 2322
-
-
-
- [](http://www.kidiweb.fr)
-

13 years 7 months ago [\#96517](#96517) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Prevenir client rupture de stock fini](/forum/5-support-en-francais-french-support-/79717-prevenir-client-rupture-de-stock-fini#96517 "bonjour tout est dans le titre, la demande apparait bien dans client&gt;liste d'attente, sauf qu'une fois en stock le système n'envois pas d'email pour prévenir le client... :blink: y a t'il autre chose a configurer (email du client valide)")*

Pas de problèmes pour la migration, il suffit de réinstaller le nouveau package par dessus l'ancien.
Si vous avez fait les modifications dans les fichiers à partir du backend HikaShop, ainsi que les modifications css à partir de la config, vous ne perdrez rien.

N'oubliez pas de faire un backup tout de même, on ne sait jamais.

Pour passer en business, vous pouvez faire une "migration" il ne vous en coutera que la différence de prix entre "essential" et "business".
[ www.hikashop.com/fr/hikashop/business/up...-from-essential.html](http://www.hikashop.com/fr/hikashop/business/upgrade-from-essential.html)

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

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

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

Less More

- Posts: 167
- Thank you received: 2
-
-

13 years 7 months ago [\#96565](#96565) by [xav](/forum/user/14683-xav "View xav's Profile")  Replied by *[xav](/forum/user/14683-xav "View xav's Profile")* on topic *[Prevenir client rupture de stock fini](/forum/5-support-en-francais-french-support-/79717-prevenir-client-rupture-de-stock-fini#96565 "bonjour tout est dans le titre, la demande apparait bien dans client&gt;liste d'attente, sauf qu'une fois en stock le système n'envois pas d'email pour prévenir le client... :blink: y a t'il autre chose a configurer (email du client valide)")*

il persiste un bug dans les notification de stock...
en effet, le client recoit un email alors que le produit n'est toujours pas de stock... :pinch:

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUtc3VwcG9ydC1lbi1mcmFuY2Fpcy1mcmVuY2gtc3VwcG9ydC0vNzk3MTctcHJldmVuaXItY2xpZW50LXJ1cHR1cmUtZGUtc3RvY2stZmluaT90bXBsPW1hcmtkb3du) 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")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86540
- Thank you received: 14299
-
-

13 years 7 months ago [\#96892](#96892) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Prevenir client rupture de stock fini](/forum/5-support-en-francais-french-support-/79717-prevenir-client-rupture-de-stock-fini#96892 "bonjour tout est dans le titre, la demande apparait bien dans client&gt;liste d'attente, sauf qu'une fois en stock le système n'envois pas d'email pour prévenir le client... :blink: y a t'il autre chose a configurer (email du client valide)")*

Bonjour,

Je pense avoir compris le problème. Il semble que vous avez des variantes avec un stock illimité et que le stock est géré de manière globale au produit. Et donc, c'est un cas qui n'était pas pris en compte.
Remplacez le code: Code:

$query='SELECT a.*, b.* FROM '.hikashop_table('waitlist').' a INNER JOIN '.hikashop_table('product').' b ON a.product_id = b.product_id '.'WHERE product_quantity &gt; 0 OR product_quantity = -1 ORDER BY a.product_id ASC, a.date ASC;';

en: Code:

$query='SELECT a.*, b.* FROM '.hikashop_table('waitlist').' AS a '. ' INNER JOIN '.hikashop_table('product').' AS b ON (a.product_id = b.product_id)'. ' LEFT JOIN '.hikashop_table('product').' AS c ON (c.product_id = b.product_parent_id)'. ' WHERE (b.product_quantity &gt; 0) OR (b.product_quantity = -1 AND b.product_type = '.$db-&gt;Quote('main').') '. ' OR (b.product_type = '.$db-&gt;Quote('variant').' AND b.product_quantity = -1 AND (c.product_quantity &gt; 0 OR c.product_quantity = -1))'. ' ORDER BY a.product_id ASC, a.date ASC;';

dans le fichier plugins/hikashop/waitlist_notify/waitlist_notify.php et cela devrait régler le problème.

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

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

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