After importing all of our products we noticed that the price field under group products is empty (price didnt exist in m1) and its required. If we make any changes to the products it asks us to put a price in the field. Normally the prices coming for the simple products associated with the group product. How do we resolve this issue?
Normally the prices coming for the simple products associated with the group product. How do we resolve this issue?
Yes, that is right. That issue was because the ‘price’ attribute had a missing value of the ‘apply_to’ field in the table ‘catalog_eav_attribute’. The right settings for the ‘price’ attribute as in this screenshot: https://prnt.sc/nmnphq
To solve that issue, you can run the below SQL statement in your M2 database:
Please note: Before you run the SQL statement, please make sure the attribute_id of ‘price’ attribute in the table ‘eav_attribute’ in your M2 database ha the attribute_id = 77. Otherwise, you must re-update with the correct attribute_id in the following SQL.
UPDATE `catalog_eav_attribute` SET `apply_to` = 'simple,virtual,configurable,downloadable,bundle' WHERE `catalog_eav_attribute`.`attribute_id` =77;
+ Once done, clean Magento cache and re-check issue you mentioned.
Thank you this worked perfectly .
Glad that it works. In case you have any additional question, please get back to us here.