How do I remove the validation for 'website required' before saving a new product in Magento? I have a script that auto assigns the website based on logic for on save_before, but the validation fires for new products before my script can run.

I'm looking on how to shut this off.


It is not required to assign a website when creating a product. This message is probably coming from a custom module, search for the message to find it and turn it off.

It is either a customization of the Mage_Adminhtml_Block_Catalog_Product_Edit_Tab_Websites block that adds client side validation or another observer for catalog_product_save_before or a similar event.

| 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.