PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 3/19/2018 3:50 PM by  Will Strohl
Review Images
 3 Replies
 1 Subscribed to this topic
 1 Subscribed to this forum
Sort:
You are not authorized to post a reply.
Author Messages





New Member






--
3/18/2018 8:49 PM
    I've got a store using a theme which I've copied and customised because even though reviews is turned off, it perpetually displays the review stars.

    Any idea? I did create a bit of a hack and remove via CSS but I think that in reality the most ideal situation would be that when it's turned off, and if cache is cleared and app pool is restarted, it should be there any longer.

    thank you
    Nina





    Advanced Member






    --
    3/19/2018 7:34 AM
    No hack need.
    To enable/disable review stars:
    [list=1][*]Got to 'Settings' -> 'Product Reviews' -> 'Allow Product Rating?' checkbox
    [*]Got to 'Settings' -> 'Caching' -> 'Clear Store cache' button[/list]
    Work fine with HCC 3.0.1+





    Veteran Member






    --
    3/19/2018 3:48 PM
    This also depends on:

    1. Whether or not the viewset has been modified to remove the logic that listens to the setting mentioned by Scippy; and
    2. What version of Hotcakes you're on. If I remember correctly, some earlier versions included a bug where this didn't work.
    Will Strohl, Upendo Ventures Hotcakes Cloud | Get Support | Code Support Official Cloud & Support provider for Hotcakes





    Veteran Member






    --
    3/19/2018 3:50 PM
    If your viewset has the appropriate code that "listens" to the configuration setting, it will have the code highlighted in the file and link below.

    View: /Portals/_default/HotcakesViews/YOUR-VIEWSET-NAME/Views/Products/_Rating.cshtml

    Example Code:
    https://github.com/Hotcak...ts/_Rating.cshtml#L5
    Will Strohl, Upendo Ventures Hotcakes Cloud | Get Support | Code Support Official Cloud & Support provider for Hotcakes
    You are not authorized to post a reply.


    Loading
    • Sign-up for the Hotcakes Community Newsletter: