cancel
Showing results for 
Search instead for 
Did you mean: 

which is the add product page code in admin panel.

SOLVED

which is the add product page code in admin panel.

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.

 

1 ACCEPTED SOLUTION

Accepted Solutions

Re: which is the add product page code in admin panel.

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.

Problem solved? Click Kudos and "Accept as Solution".
200+ Magento 2 Extensions for Enhanced Shopping Experience.

View solution in original post

1 REPLY 1

Re: which is the add product page code in admin panel.

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.

Problem solved? Click Kudos and "Accept as Solution".
200+ Magento 2 Extensions for Enhanced Shopping Experience.