I want to add a product to cart programmatically. Also, I want to change the product price when added to cart.
Suppose, my product\'s price is $100. I wanted to cha
Magento have changed the way the prices are calculated in the cart which makes it very difficult to do this in v1.4 onwards. If you do set the price using an Observer or other device, it will almost certainly be overwritten back to the catalog price.
Effectively, you need to use Shopping Cart rules to implement this.