Answers for "woocommerence product tags remove coma"

PHP
1

woocommerce bulk product delete

DELETE relations.*, taxes.*, terms.*
FROM wp_term_relationships AS relations
INNER JOIN wp_term_taxonomy AS taxes
ON relations.term_taxonomy_id=taxes.term_taxonomy_id
INNER JOIN wp_terms AS terms
ON taxes.term_id=terms.term_id
WHERE object_id IN (SELECT ID FROM wp_posts WHERE post_type='product');
  
DELETE FROM wp_postmeta WHERE post_id IN (SELECT ID FROM wp_posts WHERE post_type = 'product');
DELETE FROM wp_posts WHERE post_type = 'product';
Posted by: Guest on November-03-2020
0

woocommerce remove category from product page

remove_action( 'woocommerce_single_product_summary', 'woocommerce_template_single_meta', 40 );
Posted by: Guest on September-08-2021

Browse Popular Code Answers by Language