cancel
Showing results for 
Search instead for 
Did you mean: 

new field creation in add product page

SOLVED

new field creation in add product page

i want create new text field in add product page in admin panel,

sum of the two text field as a price value display automatically.please guide me.

sum also in admin.

example:sum of the two fields result value stored in to 3rd filed .

now here also same techniq in admin panel.

1 ACCEPTED SOLUTION

Accepted Solutions

Re: new field creation in add product page

Hello @sarithapoleela 

 

 go to attribute set and assign your attribute into price group

 

 


Problem solved? Click Kudos & Accept as Solution!
Sunil Patel
Magento 2 Certified Professional Developer & Frontend Developer

View solution in original post

6 REPLIES 6

Re: new field creation in add product page

Hello @sarithapoleela 

 

do you want to sum of price into backend or frontend?

 

 


Problem solved? Click Kudos & Accept as Solution!
Sunil Patel
Magento 2 Certified Professional Developer & Frontend Developer

Re: new field creation in add product page

backend in admin,add product page

Re: new field creation in add product page

Hello @sarithapoleela 

 

you can create filed using https://meetanshi.com/blog/create-product-attribute-in-magento-2/

 

https://magento.stackexchange.com/questions/93975/get-product-from-save-event-observer-magento-2/939...

 

using above url you can get both attribute vallue and save it

 

 


Problem solved? Click Kudos & Accept as Solution!
Sunil Patel
Magento 2 Certified Professional Developer & Frontend Developer

Re: new field creation in add product page

This attribute value stored in description part,but i want display below the product price.and sum two attributes and result value stored in price field.

Re: new field creation in add product page

Hello @sarithapoleela 

 

 go to attribute set and assign your attribute into price group

 

 


Problem solved? Click Kudos & Accept as Solution!
Sunil Patel
Magento 2 Certified Professional Developer & Frontend Developer

Re: new field creation in add product page

how sum of the two attributes and result value stored in price field.