diff --git a/includes/widgets/class-wc-widget-products.php b/includes/widgets/class-wc-widget-products.php index a2ea8b42a4e..751233bbdbf 100644 --- a/includes/widgets/class-wc-widget-products.php +++ b/includes/widgets/class-wc-widget-products.php @@ -189,11 +189,11 @@ class WC_Widget_Products extends WC_Widget { if ( ( $products = $this->get_products( $args, $instance ) ) && $products->have_posts() ) { $this->widget_start( $args, $instance ); - echo apply_filters( 'woocommerce_before_widget_product_list', '' ) ); $this->widget_end( $args ); } diff --git a/includes/widgets/class-wc-widget-recently-viewed.php b/includes/widgets/class-wc-widget-recently-viewed.php index abd73cb2161..1c62a96086b 100644 --- a/includes/widgets/class-wc-widget-recently-viewed.php +++ b/includes/widgets/class-wc-widget-recently-viewed.php @@ -89,10 +89,10 @@ class WC_Widget_Recently_Viewed extends WC_Widget { $this->widget_start( $args, $instance ); - echo apply_filters( 'woocommerce_before_widget_product_list', '' ) ); $this->widget_end( $args ); } diff --git a/includes/widgets/class-wc-widget-top-rated-products.php b/includes/widgets/class-wc-widget-top-rated-products.php index 033804adfc4..30693af466f 100644 --- a/includes/widgets/class-wc-widget-top-rated-products.php +++ b/includes/widgets/class-wc-widget-top-rated-products.php @@ -79,11 +79,11 @@ class WC_Widget_Top_Rated_Products extends WC_Widget { $this->widget_start( $args, $instance ); - echo apply_filters( 'woocommerce_before_widget_product_list', '' ) ); $this->widget_end( $args ); } diff --git a/templates/content-widget-product.php b/templates/content-widget-product.php index c7cbb0fecf6..25b82c04a38 100644 --- a/templates/content-widget-product.php +++ b/templates/content-widget-product.php @@ -1,6 +1,7 @@ - +global $product; +?>
  • - - + + + get_image(); ?> - get_name(); ?> - + get_name(); ?> + + get_average_rating() ); ?> + get_price_html(); ?> - + +