Home Forums WoodMart support forum Rating star lost in product catalouge in lastest version.

Rating star lost in product catalouge in lastest version.

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #377075

    manhten
    Participant

    Hi,
    I use this custom code in function to show star rating for all product (include product have rating or not) on product/product catalogue page.

    function show_rating( $rating_html, $rating, $count ) {
        $rating_html  = '<div class="star-rating">';
        $rating_html .= wc_get_star_rating_html( $rating, $count );
        $rating_html .= '</div>';
    
        return $rating_html;
    };  
    add_filter( 'woocommerce_product_get_rating_html', 'show_rating', 10, 3 );
    /**

    It working fine on ver 6.3.3
    But when i update them to 6.4 and later, it not show/working./
    Pls check

    Attachments:
    You must be logged in to view attached files.
    #377175

    Hello,

    Sorry but we could not help with third party code snippets this is out of our theme support scope.

    Best Regards

    #377179

    manhten
    Participant

    Hi there,
    What it mean?
    It working before,(6.3.3 version) Working on other theme, 2022 theme.
    And now it not working on WM theme lastest version.
    So, we can see where is problem.

    #377250

    Hello,

    Sorry but currently we don’t have any solution for that.

    We will add such an option in our next theme update so it will work without extra code.

    Best Regards

    #377393

    manhten
    Participant

    Do you have estimated time next update.
    I want know to keep use your theme or not right now.
    Thanks.

    #377440

    Hello,

    Sorry but we could not tell you the exact date but it will be released soon.

    Best Regards

Viewing 6 posts - 1 through 6 (of 6 total)