Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Dean 7 posts 27 karma points
    Apr 25, 2013 @ 12:36
    Dean
    0

    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 ?

  • Rune Grønkjær 1372 posts 3103 karma points
    Apr 25, 2013 @ 13:02
    Rune Grønkjær
    0

    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

  • Dean 7 posts 27 karma points
    Apr 25, 2013 @ 13:27
    Dean
    0

    I use Tea commerce 2. Tnx for the answer.

  • Rune Grønkjær 1372 posts 3103 karma points
    Apr 25, 2013 @ 13:33
    Rune Grønkjær
    0

    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

  • Dean 7 posts 27 karma points
    Apr 25, 2013 @ 13:50
    Dean
    0

    Tnx..

    If you have some documentation you can send me via a email.

  • Rune Grønkjær 1372 posts 3103 karma points
    Apr 25, 2013 @ 14:22
    Rune Grønkjær
    0

    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

Please Sign in or register to post replies

Write your reply to:

Draft