how to delete all product attributes?
-
any idea how to delete all my product categories? via wp/wc-cli or another method (wp-cli, plugin, sql, php) ?
I am using latest woocommerce v4.2.1I tried this:
$ wp wc product_attribute delete $( wp wc product_attribute list –format=ids –user=”contact” ) –force
Error: Too many positional arguments: 45 24 77 73 78 75 76 74 29 68 23 22 27 71 19 72 20 53 60 41 40 37 67 28 58 46 56 32 25 39 44 61 62 70 64 35 52 66 47 50 63 38 59 36 69 43 21 33 57 54but it is not working as the delete command here apparantly only accepts 1 argument
Any ideas how to solve this?
Viewing 8 replies - 1 through 8 (of 8 total)
Viewing 8 replies - 1 through 8 (of 8 total)
- The topic ‘how to delete all product attributes?’ is closed to new replies.