Your account expired support, please renew to get your support.

Home Forums Themes Support Claue Product rating on product archive pages

Viewing 1 reply thread
  • Author
    Posts
    • #40912
      kabummmm
      Support Expired

      Hi!

      Can I somehow show the product rating on the product archive pages? Like on the photo below. Thank you very much!

    • #40913
      Harry
      Support Expired

      Hi Kabummmm,

      Please add below code to claue-child > functions.php

      add_action('woocommerce_after_shop_loop_item_title','change_loop_ratings_location', 2 );
      function change_loop_ratings_location(){
          remove_action('woocommerce_after_shop_loop_item_title','woocommerce_template_loop_rating', 5 );
          add_action('woocommerce_after_shop_loop_item_title','woocommerce_template_loop_rating', 15 );
      }

      Kind regards

      • This reply was modified 3 years, 9 months ago by Harry.

      Harry
      Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio

Viewing 1 reply thread

You must be logged in to reply to this topic.