Answers for "woocomerce remove This is a simple product."

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 This is where you can add new products to your store in taxonomy description

<?php
//show custom title and category description
$term_object = get_queried_object();
?>
<div class="woocommerce-category-description">
    <div class="title"><?php echo the_field('category_title', 'product_cat_'.$term_object->term_id); ?></div>
    <div class="description"><?php echo $term_object->description; ?></div>
</div>
Posted by: Guest on December-04-2020

Code answers related to "woocomerce remove This is a simple product."

Browse Popular Code Answers by Language