[Resolved] Review stars showing up twice on product archive pages

Home Forums Support [Resolved] Review stars showing up twice on product archive pages

Home Forums Support Review stars showing up twice on product archive pages

Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #2361934
    Georgi

    Hello GP Team,

    Long time no hear. Unfortunately, I need your help again.

    I updated the theme and all other plugins on my staging website before doing it on the live and the review stars are now shoing up twice on product archives.

    6 months earlier I had this problem and I solved it but now I can’t remember how I did it…

    Can you take a look, please?

    Kind regards,
    Georgi

    #2362080
    Fernando
    Customer Support

    Hi Georgi,

    In Appearance > Elements, can you try setting “Rating” Hook Element to draft?

    #2362531
    Georgi

    Hi Fernando,

    I set it to draft and the first row of stars got removed. However, the second row stays and it’s without the review count as the first row had.

    Any idea how to hide the second row which was left? The review stars from the Rating from Elements we made together some time ago has review count next to the stars and is ideal.

    #2363110
    Ying
    Staff
    Customer Support

    You can use this CSS to hide the default star rating:

    .woocommerce .products .star-rating {
        display: none;
    }
    #2363259
    Georgi

    Hello,

    This also hides the stars from the Element setting we have set before.

    #2363292
    Ying
    Staff
    Customer Support

    Can you activate the element so I can see how to exclude it from the code?

    #2363304
    Georgi

    It’s actually activated.
    I have just left your CSS active and its hiding it.

    #2363315
    Ying
    Staff
    Customer Support

    I don’t see my CSS, nor the star added by elements.

    Can you clear your cache?

    #2363321
    Georgi

    Okay, I cleared the cache.
    You can do all that too, it’s my staging site – I’ve left access in the first reply. I’ve to go to bed now πŸ˜€

    #2363328
    Ying
    Staff
    Customer Support

    Change the CSS to:

    .woocommerce ul.products li.product > .star-rating {
        display: none;
    }

    Good night πŸ™‚

    #2363540
    Georgi

    Ayee, works like a charm πŸ™‚ Thank you, Ying!

    #2369082
    Ying
    Staff
    Customer Support

    You are welcome!

Viewing 12 posts - 1 through 12 (of 12 total)
  • You must be logged in to reply to this topic.