Query to delete all ATTRIBUTES & VARIATIONS
-
Hi, Ive looked around but havent found a way to delete all the variations and attributes easily.
I did do this:
DELETE FROMwp_postmeta
WHEREmeta_key
like ‘%attribute%’But I think there must be a lot of other data related to attributes etc because my post_metadata table is huge and is causing the site to be very slow, the DB is about 450 meg.
So bottom line- Is there a plugin or database query that will delete all traces of attributes and variations? Some of my products had thousands of these after doing an import.
This is a demo store so I have no problem hacking around with it and all the data was imported with a tool that wont do a non attribute import.
Im going to do all these variations using a plugin called WooCommerce Product Options.
- The topic ‘Query to delete all ATTRIBUTES & VARIATIONS’ is closed to new replies.