Jump to content

Add category to products with sub-category


Recommended Posts

My categories are:

 

Peciatky

 - samonamacacie

 - reliefne

 - datumovniky

 

There are some products that have the reliefne category selected but not the Peciatky category according to the product edit page.

 

I need an sql query that will check for the categories, and if the product has one of those categories it will ad the product to the main category.

Edited by SkyHiRider (see edit history)
  • Like 1
Link to comment
Share on other sites

  • 3 years later...
×
×
  • Create New...