I need to update product price on Product detail page based upon the quantity selected by the user.
When the user ADD
an item to the cart, scaled price should be reflected according to the quantity they select (qnty: "1-to-3", Price="$30", qnty: "4-to-6",Price ="$25")
and it should get reflected on MiniCart
also.
I tried by overriding AddCartLineBlock
pipeline (in Sitecore.Commerce.PlugIn.Carts.dll
) to update the price, but it didn't work.
Is there any other way I could update the Cart price on AddToCart
action and proceed to checkout flow with the updated price ?