1

I have an attribute (body_fit) present only for a simple product, now I need this attribute present for virtual and configurable products.

  1. How I can change this configuration?
  2. What happens if I change this option via PHPMyAdmin?

I have 600 products with this attribute set.

Any help is appreciated!

  • i am not sure but try this query update catalog_eav_attribute set apply_to="simple,virtual,configurable" where attribute_id = (select attribute_id from eav_attribute where attribute_code="test"); – Mohit Patel Jun 3 at 19:58
  • Many thanks @MohitPatel works perfectly! – Luca Jun 3 at 20:58
  • I have add answer??? Your accept this question answer??? – Mohit Patel Jun 4 at 2:59
0

Run this query your database :-

update catalog_eav_attribute set apply_to="simple,virtual,configurable" where attribute_id = (select attribute_id from eav_attribute where attribute_code="test");

And get more information refer this link ---

https://magento.stackexchange.com/a/239535/85907

Hope this help you

Thanks ...

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.