How can I programmatically add or Increment a product in the

Posted by Community Admin on 04-Aug-2018 19:45

How can I programmatically add or Increment a product in the users shopping cart?

All Replies

Posted by Community Admin on 19-Feb-2013 00:00

Many of the products in our product list are customizable. However the cost to customize that product is a set price regardless of the quantity ordered.  So say we have product A and the cost is $100 each. And the set cost to customize any product is $10. Then if someone orders 1 product A Customized the total cost would be $110. But if they order 2 product A's customized, then the cost should be $210.

Since we can't use a variation because that price gets added on a per unit basis. We thought perhaps we could create a "Customization" product that cost $10. And implement some logic that would check to see if the customer has marked the product to be customized when they order. If so we would add 1 "Customization" product to shopping cart regardless of the quantity ordered. But I can find no way to programmatically add a product to the shopping cart.

We're on Sitefinity version 5.2

Any help would be greatly appreciated.

Posted by Community Admin on 20-Feb-2013 00:00

I found the solution Here

This thread is closed