Subcategory To Different Categories

hello,

Is there a way to display the content (all of the products) of one subcategory to two different categories on the menu so both categories can share the same products without having to enter second category on each of the products seperatly ?

thanks in advance

Let's see if I get it right. You want to mass assign additional categories to all products in one category?

Let's see it I get it right. You want to mass assign additional categories to all products in one category?

hey imago not exactly,

example

root category named A ----> subcateggory a

root category named B ----> subcategory b

i want to asssing subcategory b (with all its product included) to be visible under root category A

root A----> subcategory a

subcategory b

root B----> subcategory b

This means that if in the future i add a product in subcategory b (which is assinged under root A) then this product is automaticly showing up in

root A----> subcategory a

subcategory b

hope i expressed it well now

Are root A and root B different storefronts?

Are root A and root B different storefronts?

nop, same storefront

Only by writing a script that for each new entry in the product_categories table that has category_id type M = axx will add a new entry for the same product_id that will have category_id type A = bxx

Only by writing a script that for each new entry in the product_categories table that has category_id type M = axx will add a new entry for the same product_id that will have category_id type A = bxx

hey Imago and thanks for your time i appreciate it .

see please the image below and confirm that we are talking the same !

i have already one subcategory with 100 products that i want to make it visible in 2 different categories

(i suppose that your above statement is for....... if i want to add further products or so)

anyway thanks again

Capture.PNG

No problem. I would do it only as explained. If you need to replicate only these 100 products, use again myPHPadmin

Filter by the present category, export, replicate all fields and in the replicated part change the category_id with the new in root B, replace the M type with A type, and import.

hi imago,

thanks for the info,

With your method if in the future i add a product in subcategory b (which now is assinged under root A) then this product is automaticly showing up in

root A----> subcategory a

subcategory b <-----

or..

i need to do the same procedure you describe again?

See post #5

See post #5

thanks!