which is the add product page code in admin panel.
In admin add product page
i created two attributes one is 'gold' and other one 'stonecharge'
I want both are adding and result value will be stored in price field.
price=gold+stonecharge this one added in add product form in admin panel.
Solved! Go to Solution.
Hello @sarithapoleela
Please try the below solution:
catalog_product_save_after
You can use this observer. Get all the data in it and then use that data to change the product price.
You can also refer - https://magento.stackexchange.com/questions/280588/magento-2-how-to-get-product-old-and-new-data-on-...
I hope it helps.
Hello @sarithapoleela
Please try the below solution:
catalog_product_save_after
You can use this observer. Get all the data in it and then use that data to change the product price.
You can also refer - https://magento.stackexchange.com/questions/280588/magento-2-how-to-get-product-old-and-new-data-on-...
I hope it helps.