• Resolved cometto

    (@cometto)


    hi,

    I realised that new reviews for products are duplicated / displayed for others. It didnt happen in past – I collect reviews from long time and they were assigned and displayed for specific products.

    Example below (with problem described).

    Customer add review for product 1.
    His review is visible in product 1 and product 2, etc. (for every product, which is not acceptable for me)

    I displayed reviews under specific products by hook (in functions.php):

    add_action( ‘flatsome_custom_single_product_1’, function () {
    echo do_shortcode( ‘[cusrev_reviews_grid products=’ . get_queried_object_id() . ‘ shop_reviews=”false”
    show_summary_bar=”true”
    show_products=”false”
    show_more=”3″
    ]’ );
    } );

    I think some update could also break my code. When I try with:[cusrev_reviews comment_file=”/comments.php”]
    – its displayed correctly but i lose all layout from shortcode / hook from above.

    Can u help?

    Will be grateful for fix


    UPDATE:
    I rolled back to 5.20.4 from 5.21.0 and its working correctly = new update 5.21.0 breaks something in shortcode!

    • This topic was modified 1 year, 11 months ago by cometto.
    • This topic was modified 1 year, 11 months ago by cometto.
    • This topic was modified 1 year, 11 months ago by cometto.
    • This topic was modified 1 year, 11 months ago by cometto.
    • This topic was modified 1 year, 11 months ago by cometto.
    • This topic was modified 1 year, 11 months ago by cometto.

    The page I need help with: [log in to see the link]

Viewing 15 replies - 1 through 15 (of 18 total)
  • Plugin Support pear8398

    (@pear8398)

    Hi,

    Thank you for using CusRev.

    The shortcode should work in the new version also, I’m not sure what’s wrong here. However, you can set the attribute products to current to get the current reviews of the product. For example:

    [cusrev_reviews_grid count="3" products="current"]

    Let me know how it goes.

    Thread Starter cometto

    (@cometto)

    @pear8398

    Hi,

    I switch between 2 versions of plugin and I’m 100% something changed.

    I cannot confirm your solution works (I change implementation method from hook to just shortcode), when i use your code:

    [cusrev_reviews_grid count=”3″ products=”current”]

    • im stuck only with 3 reviews. I tried to add show_more=”3″ but it does not work (there is a “show more” text but after click on that nothing happens).
      Could fix code you gave to me and include all parameters I had before (like 3 reviews in grid and every showmore click added 3 next more)?
    • you can check Link to my product – there is implemented mechanism which worked for many months (hook shortcode from 1st post and cusrev 5.20.4) – everything works perfect (reviews are assigned to specific product)
    • This reply was modified 1 year, 11 months ago by cometto.
    • This reply was modified 1 year, 11 months ago by cometto.

    I am facing the same issue on my client site after updating the plugin. Can you tell how you rolled back the version of cusrev?

    Thread Starter cometto

    (@cometto)

    @tanimawadhwa
    I use plugin WP ROLLBACK

    on live site? I hope rolling back doesn’t cause any issues.

    Thread Starter cometto

    (@cometto)

    @tanimawadhwa yes, you can do it

    Plugin Support pear8398

    (@pear8398)

    Hi,

    Thanks for your additional information.

    Can you please update CusRev to the newest version 5.22.0 and see if it helps? If not, please try to deactivate all plugins except CusRev, WooCommerce, switch to the standard theme of WordPress and recheck this.

    Thread Starter cometto

    (@cometto)

    @pear8398
    Hi,

    I checked after update and its still broken. I roll back to previous version

    Plugin Support pear8398

    (@pear8398)

    Hi,

    Can you please let me know if the issue happens when you activate only CusRev, WooCommerce and a standard theme of WordPress?

    Thread Starter cometto

    (@cometto)

    @pear8398

    Hi, tested with all plugins disabled = no result.
    Tested with default theme – working correctly, so we are a bit closer to find solution

    Thread Starter cometto

    (@cometto)

    @pear8398
    can u help?

    • This reply was modified 1 year, 10 months ago by cometto.
    Plugin Support pear8398

    (@pear8398)

    Hi,

    So that means there is a conflict issue with the current theme on your site. Can you please copy your site to a staging site, update our plugin to the new version 5.22.2 and check the issue again?

    If it still does not work, please share the staging site URL here, I will help you to check the issue.

    Thread Starter cometto

    (@cometto)

    Hi @pear8398

    I updated plugin to 5.22.2 and its still not working (seems that my theme is a problem -> switched to default 2020 theme and problem is gone).

    Now im on my child theme (FLatsome) and updated plugin. Is it ok for you to debug? I dont have staging site….
    https://liveflooring.com/produkt/plyta-gumowa-proflex-sbr/ – here you can see that reviews are mixed (you will see different products under review). I keep this version active, till you reply for this post.

    5.20.4 – this is the last version when everything worked properly

    • This reply was modified 1 year, 10 months ago by cometto.
    • This reply was modified 1 year, 10 months ago by cometto.
    Thread Starter cometto

    (@cometto)

    @pear8398

    If you need any more details please contact me, I am very interested in solving the problem

    Thread Starter cometto

    (@cometto)

    @pear8398
    I also noticed that first 3 reviews are displayed correctly (according to related product).
    Next ones are broken (from random products)

Viewing 15 replies - 1 through 15 (of 18 total)
  • The topic ‘Shortcode for specific product reviews not working in 5.21.0’ is closed to new replies.