1

Default Magento doesn't allow product mapping to categories per website or store level. This is global.

Is it possible to customize this in Magento to make it website or store level? If yes, then how much work will be required?

1 Answer 1

1

Theoretically it is possible, but I think it involves a lot of code.
You will have to keep in the table with the product-category associations an additional field for store_id.
Then you need to change the admin panel to load the associations for your current store view only or with store id 0 in case you set associations at default level.
Then you need to change the way the indexing works, to take into account your new store_id field.
Then you need to change the frontend to read only values for your store view (or store id 0).

But the easiest out of the box solution would be to make use of the visibility field for products.
Assign the products to categories as you want and change the visibility for each store view where you don't want the product to appear.
This may not fit 100% with your needs, but it's the closest thing you have at your disposal.

1
  • If the case is: Two website, first w1 having categories c1 & c2, second w2 having same categories c1 & c2. Now the product p1 need to display for w1 website both the categories & for w2 website only c1 category. This case visibility can't work. Commented Aug 24, 2016 at 11:01

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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