Copied to clipboard

Flag this post as spam?

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


  • MrFlo 159 posts 403 karma points
    Jan 06, 2012 @ 12:36
    MrFlo
    0

    Promotion for multiple products purchased ?

    Hello,

    What do you advice to add a promotion system like "buy 2 products and get a cheaper price".
    Is there a way to do this inside teacommerce or do I have to create a new product with that price for a 2 items package? but in that case the number of products in the cart wouldn't be correct.

    Any advice is welcome! Thanks.

    MrFlo

     

  • Anders Burla 2560 posts 8256 karma points
    Jan 06, 2012 @ 12:53
    Anders Burla
    0

    Hi MrFlo

    Its not a standard Tea Commerce function - but you can just use the .NET API of Tea Commerce to do it. There you have the option to change the price for an orderline. So your quantity would be correct and now with the reduced price.

    You would use the OrderLineAdded, OrderLineChanged events of the .NET API to hook into when this happens in the wbeshop. So when the customer buys 2 of the product you change the price and saves the order and the customer will see the new price. Just change the UnitPriceWithoutVAT of the orderline obejct

    You can ready about the .NET API here:
    http://rune.gronkjaer.dk/en-US/2011/02/21/tea-commerce-net-api-explained/
    http://rune.gronkjaer.dk/en-US/2010/11/26/how-to-use-the-tea-commerce-events/
    http://www.teacommerce.dk/en/documentation.aspx

    Kind regards
    Anders

  • Anders Burla 2560 posts 8256 karma points
    Jan 11, 2012 @ 16:38
    Anders Burla
    0

    Hi MrFlo

    Hope my answer helped you - if you find that it answers your question - could you please mark is as the "solution" - thanks in advance

    Kind regards
    Anders

Please Sign in or register to post replies

Write your reply to:

Draft