Magento Asked on November 5, 2021
ON add to cart option on product detail page . i am listening the event called checkout_cart_product_add_before
and i created a custom observer for this.
It is getting called properly but i want to change the qty and variation which is getting passed from the request paramets.
$observer->getEvent()->getInfo();
if i print this i am getting the data properly.But i need to update the values which are in this object, based on some conditions.
Get help from others!
Recent Answers
Recent Questions
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP