Hide vote on category view

  • Posts: 49
  • Thank you received: 0
11 years 4 months ago #119870

How to hide the voting stars on category view?

I tried display>default settings for categories>show votes in categories-->NO.

But this is not working. Do i have to add the frontend_default file to accomplish this?

Please Log in or Create an account to join the conversation.

  • Posts: 83024
  • Thank you received: 13403
  • MODERATOR
11 years 4 months ago #119881

No.
This settings is a default setting. For existing menus and modules, you want to go in the settings of your module/menu and turn off the same option there. You can access the settings of the associated products listing module of your category listing menu via the menu Display->Content modules. Edit the module and change the option and voilà. If you're not sure which one it is, do it for all of them.

Please Log in or Create an account to join the conversation.

  • Posts: 12
  • Thank you received: 0
10 years 11 months ago #139449

Hello,
I am having the same problem, and have changed all the settings to DISPLAY NO for voting in all the places I can find, and it is still showing. I have also cleared my history to be sure, but no luck. Any suggestions?

Thanks

Please Log in or Create an account to join the conversation.

  • Posts: 13201
  • Thank you received: 2322
10 years 11 months ago #139456

Hi,

Are you sure that the option "Display vote in products page" in Configuration > Features > Votes and comments is disabled, and the options "Display vote" in the module/menu options ?

If yes, had you edited any views related on the products/votes and potentially removed a php check to display or not the votes ?

Please Log in or Create an account to join the conversation.

  • Posts: 12
  • Thank you received: 0
10 years 11 months ago #139464

Hi,

Thanks for the quick response. I have double-checked and they are off. I've attached screenshots if this helps. And as far as I know, I have not changed any php. If I have, it was before I updated Hikashop Pro about a month or two ago.

Thanks

Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 13201
  • Thank you received: 2322
10 years 11 months ago #139468

At the top of the view "product / listing_table" thanks to add the code:

$this->params->set('show_vote_product',0);

Please Log in or Create an account to join the conversation.

  • Posts: 12
  • Thank you received: 0
10 years 11 months ago #139960

Hello,

Thanks for the info, but I'm afraid I don't understand. I have added the code to the Displays > Views> Product > listing_table, but it is not removing it. I'm sorry, but I don't enough about PHP to know what I should do. I've tried several different ways to add it in, but it's not changing the display. Can you be a bit more specific?

Thanks again for your time,
Christy

Please Log in or Create an account to join the conversation.

  • Posts: 83024
  • Thank you received: 13403
  • MODERATOR
10 years 11 months ago #140278

Hi,

You need to add it at the top of the file, just after the first <?php tag. Alos, make sure that you edit the listing_table file for your frontend template and not another one or you won't see the change.

Please Log in or Create an account to join the conversation.

Time to create page: 0.085 seconds
Powered by Kunena Forum