3

I want to fetch price of selected Bundles Items on checkout_cart_product_add_after event. Is it possible to fetch ? How ?

For better idea of my query I am posting an image here.Please have a look.

enter image description here

Is there any way to change the price of sub bundle items on addtocart ?? In this case I want to change price of Camera,Case and Memory prices

1 Answer 1

3

You will find selected bundle items data at the time of add to cart, like below :

$options = $item->getProduct()->getTypeInstance(true)->getOrderOptions($item->getProduct());

:)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.