In Magento, is there a way to make every new product create automatically assigned to a category?
Thanks
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
No natively, a least no that I know of but it is something very simple to do, if you know the category you could observe the catalog_product_before_save event and add the id(s) of the category(ies) – this should take care of it. You could check if the product has a category already as comparison point in order to decide whether or not to proceed. Magento also has a method to return new products which you could use to assign the categories.