how can I have the order status automatically sent so that when a product is no longer in stock automatically the status out of stock
I hope you understand what I mean :-)
I want to realize a ticket system with a certain number of places. There are different numbers of each ticket. if a ticket is sold out now, the user should automatically receive a confirmation instead of the normal order confirmation that he is on a waiting list
adjust the order queue to stock
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: adjust the order queue to stock
Hi, for now, there is no such option and in case it should be automatically, maybe some specific script (which will run by CRON on the server) should be created - some which will check the database directly.
So maybe the solution can be to add some new email variable: https://www.phoca.cz/documents/116-phoc ... or-vendors
e.g. {stockstatuszerodescription} which you will paste into the e.g. pending email text and such variable will be transformed to some description set in options (and of course only in case some of the product is out of the stock)
Jan
So if I understand it correctly, you let the user make an order even the stock status of the product is < 0. And in case it is < 0, specific mail will be sent to the user who made the order.the user should automatically receive a confirmation instead of the normal order confirmation that he is on a waiting list
So maybe the solution can be to add some new email variable: https://www.phoca.cz/documents/116-phoc ... or-vendors
e.g. {stockstatuszerodescription} which you will paste into the e.g. pending email text and such variable will be transformed to some description set in options (and of course only in case some of the product is out of the stock)
Jan
If you find Phoca extensions useful, please support the project