Skip to content

Conversation

crftwrk
Copy link
Member

@crftwrk crftwrk commented Mar 1, 2025

  • bootscore/class/woocommerce/product/card, content-product.php, content-product-cat.php
  • bootscore/class/woocommerce/product/card/card-body, content-product.php, content-product-cat.php
  • bootscore/class/woocommerce/loop/add-to-cart, wc-loop.php
  • bootscore/class/woocommerce/product/loop/img, wc-loop.php
  • bootscore/class/woocommerce/category/loop/img, wc-loop.php
  • bootscore/class/woocommerce/loop/add-to-cart/button, wc-loop.php
/**
 * Remove WC loop images
 */
function bootscore_remove_loop_images() {
  // Ensure product images are completely removed
  remove_action('woocommerce_before_shop_loop_item_title', 'bootscore_loop_product_thumbnail', 10);
  remove_action('woocommerce_before_shop_loop_item_title', 'woocommerce_template_loop_product_thumbnail', 10);

  // Ensure category images are completely removed
  remove_action('woocommerce_before_subcategory_title', 'bootscore_loop_category_thumbnail', 10);
  remove_action('woocommerce_before_subcategory_title', 'woocommerce_subcategory_thumbnail', 10);
}
add_action('wp', 'bootscore_remove_loop_images');

@crftwrk crftwrk added WooCommerce documentation Improvements or additions to documentation labels Mar 1, 2025
@crftwrk crftwrk added this to v6.2.0 Mar 1, 2025
@crftwrk crftwrk moved this to In Progress in v6.2.0 Mar 1, 2025
@crftwrk crftwrk merged commit f72ba5f into main Mar 4, 2025
@github-project-automation github-project-automation bot moved this from In Progress to Done in v6.2.0 Mar 4, 2025
@crftwrk crftwrk deleted the Add-more-filters-to-the-product-loop branch March 4, 2025 13:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation WooCommerce
Projects
No open projects
Status: Done
Development

Successfully merging this pull request may close these issues.

1 participant