Rating stars missing

  • Posts: 235
  • Thank you received: 4
9 years 5 months ago #233706

-- url of the page with the problem -- : www.kaakvlaggen.nl/webshop/product/6347-...-3-meter-lengte.html
-- HikaShop version -- : 2.6.1
-- Joomla version -- : 3.4.8
-- PHP version -- : 5.4
-- Browser(s) name and version -- : all
-- Error-message(debug-mod must be tuned on) -- : Rating stars missing

We are missing the rating stars and can't show them on pages like these: www.kaakvlaggen.nl/webshop/product/6347-...-3-meter-lengte.html

The same site in German showes them: www.kaakfahnen.de/webshop/product/247-be...enform-anzahl-1.html

Jan

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

  • Posts: 84233
  • Thank you received: 13675
  • MODERATOR
9 years 5 months ago #233708

Hi,

From what I can see, it comes from the way the product page is customized. The HTML of the votes is missing some bits preventing the javascript from displaying the stars.
Rename the folder templates/YOUR_TEMPLATE/html/com_hikashop/product and/or templates/YOUR_TEMPLATE/html/com_hikashop/vote via FTP and see if you get the votes.

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

  • Posts: 235
  • Thank you received: 4
9 years 4 months ago #235648

Hi,

We've tried a lot of this to get back the ratingstars, but even in the completely original situation, we don't see the stars.

Will you have a look?

Jan

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

  • Posts: 13201
  • Thank you received: 2322
9 years 4 months ago #235664

Hi,

It seems that you are not loading our css file, so the following css properties are missing:

.hk-rating {
	margin:auto;
	display:inline;
}
.hk-rating a { cursor: pointer; background-color: transparent !important; }
.hk-rate-star {
	width:16px;
	height:16px;
	font-size:2px;
	display:inline-block;
	text-decoration:none;
	vertical-align:bottom;
	background-image:url('http://www.kaakvlaggen.nl/media/com_hikashop/images/star.gif') !important;
	background-repeat:no-repeat;
}
.hk-rate-star.state-full { background-position:left top; }
.hk-rate-star.state-mid { background-position:left -16px; }
.hk-rate-star.state-empty { background-position:left -32px; }
.hk-rate-star.state-hover { background-position:left -48px !important; }
You can add them in your css file.

Last edit: 9 years 4 months ago by nicolas. Reason: fixing link

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

  • Posts: 235
  • Thank you received: 4
9 years 4 months ago #237591

We installed the code, but no difference :-(

No stars!

Jan

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

  • Posts: 84233
  • Thank you received: 13675
  • MODERATOR
9 years 4 months ago #237599

Hi,

Since you're not adding that CSS code in the CSS file of HikaShop, you need to modify the URL of the image or it won't find it.
I've edited the code of Xavier to set a valid link for the image of the background-image CSS property. Do it like that and you'll see the stars.

The following user(s) said Thank You: spotstv

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

  • Posts: 14
  • Thank you received: 0
9 years 3 months ago #239455

Hi,

-- HikaShop version -- : 2.6.2
-- HikaMarket version -- : 1.6.7
-- Joomla version -- : 3.5.1
- Example page error: somosrecycling.es/w2/catalogo/producto/c...ino-talla-52-56-azul

I have a similar problem with my rating stars in the page product:
The stars are missing.

I have tried the diferent opcions to this topic: Rename the files, and use your code (changing the url background-image) in the hikashop.css.
But nothing happen.

It seems that the vote product run correctly but the stars are missing. And in my hikahop.css everything seems to be correct.

I don´t understand why.....

Thanks in advance.

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

  • Posts: 13201
  • Thank you received: 2322
9 years 3 months ago #239501

Hi,

Do you have view override on the view "vote / mini" ?
If it is, please do a backup and remove the override.

www.hikashop.com/support/documentation/1...ize-the-display.html

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

  • Posts: 14
  • Thank you received: 0
9 years 3 months ago #239524

Hi Xavier,

OMG!
I have not managed to solve the issue, and now this is the aspect of my front web:



Can I resolve it without restore backup?

Thaks in advance

Attachments:

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

  • Posts: 13201
  • Thank you received: 2322
9 years 3 months ago #239529

It is a strange thing, the product page is still working correctly.
Please set the error reporting level to "maximum", this should display a PHP fatal error so give us more informations.

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

  • Posts: 14
  • Thank you received: 0
9 years 3 months ago #239542

Ok,

I have done and maybe it is a problem related with the template....

somosrecycling.es/w2/

This is the message:

"
Warning: require(/mnt/web002/c3/63/53626663/htdocs/Somos_Recycling/w2/modules/mod_jvlatest_news/tmpl/default.php): failed to open stream: No such file or directory in /mnt/web002/c3/63/53626663/htdocs/Somos_Recycling/w2/templates/jv-flatize/html/mod_jvlatest_news/default/default.php on line 35 Fatal error: require(): Failed opening required '/mnt/web002/c3/63/53626663/htdocs/Somos_Recycling/w2/modules/mod_jvlatest_news/tmpl/default.php' (include_path='.:/opt/RZphp55/includes:/mnt/web002/c3/63/53626663/htdocs/Somos_Recycling/w2/plugins/system/jvframework/framework/libraries/classes/phpQuery/:/mnt/web002/c3/63/53626663/htdocs/Somos_Recycling/w2/plugins/system/jvframework/framework/libraries/classes/phpQuery/plugins/') in /mnt/web002/c3/63/53626663/htdocs/Somos_Recycling/w2/templates/jv-flatize/html/mod_jvlatest_news/default/default.php on line 35"


What do you think?
Mmmmm.... I wil ask to the template support ....

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

  • Posts: 84233
  • Thank you received: 13675
  • MODERATOR
9 years 3 months ago #239551

Hi,

Yes, looking at the errors, it looks like a problem with your template. Hard to say what to do for us. It's better to ask your template provider.

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

  • Posts: 14
  • Thank you received: 0
9 years 3 months ago #239735

Hi again,
The blank page have been solved, but now, I have the same problem with the rating stars missing, and all the reviews are in "value".

I have tried removed the override but nothing. This is the screencapture:
- Whithout override in vote.mini.php



- And whith the override:



I´m not sure, but maybe the problem it is about the reviews.

Any Ideas?

Thanks in advange!

Attachments:

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

  • Posts: 84233
  • Thank you received: 13675
  • MODERATOR
9 years 3 months ago #239817

Hi,

Please make sure that the "Display vote and/or comment in product pages" setting is activated and that the "Choose which module you want to enable" setting is configured to have the votes in the HikaShop configuration.

If that doesn't help, then it must come from a problem in the product page layout customization. So try renaming the view file (show_default or show_tabular) in templates/YOUR_TEMPLATE/html/com_hikahsop/product to deactivate them and see if that helps.

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

Time to create page: 0.212 seconds
Powered by Kunena Forum