My client want see the real number of stock in content. When somebody buy a product the stock number must reduse -1. How can i do this? Is it posible to set that Te commerce send a e-mail when the stock number of a product is smaller than 5 ?
The number on the products IS the real stock number. The stock on the products is changed each time that product is purchased.
As for your second question you can use the Tea Commerce .NET events to hook into the event fired when an order is finalized. There you will be able to loop your orderlines and check the stock of each product. If one or their stock is below 5 you can use the buildt in e-mail templates to send a mail to the shop owner.
Depending on whether you are using Tea Commerce 1 or 2 this is done in slightly different ways.
Good for you. When you need concrete examples on "how to" please write here in the forum again. The documentation portal is not ready for the public yet, so we will give you what you need here!
We don't have concrete docs on the two things you want to do there. But throw us an e-mail on info [at] teacommerce.net and ask for the specific examples you need, and we will make it for you.
Product stock
Hi Tea commerce,
My client want see the real number of stock in content. When somebody buy a product the stock number must reduse -1. How can i do this? Is it posible to set that Te commerce send a e-mail when the stock number of a product is smaller than 5 ?
Hi Dean,
The number on the products IS the real stock number. The stock on the products is changed each time that product is purchased.
As for your second question you can use the Tea Commerce .NET events to hook into the event fired when an order is finalized. There you will be able to loop your orderlines and check the stock of each product. If one or their stock is below 5 you can use the buildt in e-mail templates to send a mail to the shop owner.
Depending on whether you are using Tea Commerce 1 or 2 this is done in slightly different ways.
/Rune
I use Tea commerce 2. Tnx for the answer.
Good for you. When you need concrete examples on "how to" please write here in the forum again. The documentation portal is not ready for the public yet, so we will give you what you need here!
/Rune
Tnx..
If you have some documentation you can send me via a email.
We don't have concrete docs on the two things you want to do there. But throw us an e-mail on info [at] teacommerce.net and ask for the specific examples you need, and we will make it for you.
/Rune
is working on a reply...