2

To mass update product attributes, use updateAttributes method, which is faster and better than looping through all the products and save each one of them. Inject the model class Magento\Catalog\Model\Product\Action in your Observer class and add the code below to update your product attributes // $productIds is an array of product Ids array(1,2,3,...) // ...


2

After long research, I did some workarounds on this and yes it did the job. Here are my findings Magento 1.9 doesn't allow to create a multiple checkbox attribute from the backend. It has some predefined input types but not multiple checkboxes. I created a module for writing an observer for the event "adminhtml_catalog_product_edit_prepare_form" My ...


2

If you work with the team with more than 1 member, then you need to sync all attributes with your team members. In that case, programmatically will help you. If you are the only one on the team, then choose what is easy for you. Another reason is: programmatically will assign attributes to all attribute sets automatically, otherwise, you need to create an ...


1

Those checkboxes are form fields only and not being persistet in the database. They show if an attributes values is going to be saved in the current store. Magento will evaluate them when saving the product. When checked magento will delete the attributes value for the current store and in the frontend will fallback to its value of the default store. I can ...


1

There is no option in magento for change the attribute type from one to another. After create the attribute,you can't edit the attribute type. It will show in disable mode,refer the below screenshot. And also magento don't have an attribute type like "Multiple checkbox". "Multiple Select" attribute type is working like a multiple checkbox. Refer the ...


1

This could be the max_input_vars problem but without seeing more of your code I am not sure. Set max_input_vars to 10000 in php.ini and restart your web server (or php-fpm) and then give it another go.


Only top voted, non community-wiki answers of a minimum length are eligible