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.
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
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
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
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
is working on a reply...