Voting stars suddenly disappeared

  • Posts: 18
  • Thank you received: 0
8 years 9 months ago #227914

-- url of the page with the problem -- : schermbeschermers.com/index.php/hikashop...rime-screenprotector
-- HikaShop version -- : 2.6.1
-- Joomla version -- : 3.4.8.
-- Browser(s) name and version -- : Google Chrome

Hello,

Right before I was launching my webshop, I found out that no vote can be cast anymore because the stars you should select to vote aren't visible anymore somehow. I've invested a lot of money in a custom module to display the latest votes, so it has to work before I can launch the webshop.

I can't find any errors in browser console.

It used to work, don't know why it doesn't anymore. Also worked with the module. Tried disabling the module but that doesn't make it work either.

Can someone please help me? I have little knowledge of coding sadly.

Thanks in advance!

Specific page so you can see what I mean: schermbeschermers.com/index.php/hikashop...rime-screenprotector

Also, there are no customizations in the view files I can delete.

Last edit: 8 years 9 months ago by Arne.

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

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
8 years 9 months ago #227916

Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

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

  • Posts: 18
  • Thank you received: 0
8 years 9 months ago #227982

.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('../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; }

Where exactly would I add this?

Got it, at Hikashop configuration -> CSS!

Thanks!

Last edit: 8 years 9 months ago by Arne.

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

  • Posts: 13201
  • Thank you received: 2322
8 years 9 months ago #227995

Hi,

In HikaShop > Configuration > Display > CSS: take.ms/Ddkb4

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

  • Posts: 18
  • Thank you received: 0
8 years 9 months ago #230260

It worked, but suddenly it doesn't anymore.

I can see the stars, and select them. However when I want to enter a comment it gives me an error:

'Missing value for the comment or the vote value is wrong or unset'

I can't post the vote then.

You can see it for yourself here:
schermbeschermers.com/index.php/tablet/p...ni-2-screenprotector

Can you please help me?

Thanks

Edit: it seems that it only works when you click the stars AFTER you place a comment, or click the stars again after placing a comment, as if they are like a confirm button. Can anyone help me with this please? Thanks

Last edit: 8 years 9 months ago by Arne.

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

  • Posts: 13201
  • Thank you received: 2322
8 years 9 months ago #230295

Hi,

What are your settings for the votes and comment ? Do you use the "connected" option ?
If it is, please download the latest version of HikaShop on our website, still 2.6.1 but with latest hot fixes, and install it.

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

  • Posts: 18
  • Thank you received: 0
8 years 9 months ago #230365

Xavier wrote: Hi,

What are your settings for the votes and comment ? Do you use the "connected" option ?
If it is, please download the latest version of HikaShop on our website, still 2.6.1 but with latest hot fixes, and install it.


Installing the newest version didn't work. Here are my settings (see attachment).

I hope it's possible to solve, as it's a key feature.

Edit: do note that I've done the CSS edit before, as it was the solution for the stars not showing.

Attachments:
Last edit: 8 years 9 months ago by Arne.

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

  • Posts: 13201
  • Thank you received: 2322
8 years 9 months ago #230375

Hi,

Could you give us a backend and FTP access to your website in order to debug that issue directly ?

You can send these informations via our contact form with a link to that topic in your message.
www.hikashop.com/support/contact-us.html

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

  • Posts: 18
  • Thank you received: 0
8 years 9 months ago #230450

Xavier wrote: Hi,

Could you give us a backend and FTP access to your website in order to debug that issue directly ?

You can send these informations via our contact form with a link to that topic in your message.
www.hikashop.com/support/contact-us.html


I've filled in the contact form. :)

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

  • Posts: 13201
  • Thank you received: 2322
8 years 9 months ago #230464

Hi,

The problem seems to be resolved.

Do you have removed a view override recently or you have some cache enabled on your website ?
I don't edited any code to make it working ;)

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

  • Posts: 18
  • Thank you received: 0
8 years 8 months ago #232209

Xavier wrote: Hi,

The problem seems to be resolved.

Do you have removed a view override recently or you have some cache enabled on your website ?
I don't edited any code to make it working ;)


The problem remains. It's possible to ignore the error message, and just fill in the rest of the information and click cast vote. However, I've got e-mail from customers saying they don't know what to do and they got this error message.

Because it's an important function of my website, I would like to get it fixed so the error message does not appear.

I've added a screenshot of the error message. It appears after selecting the stars.

Attachments:

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

  • Posts: 13201
  • Thank you received: 2322
8 years 8 months ago #232307

Hi,

So the feature is working correctly but the issue is on the error message, right ?
The best would be to do a language override, replace the text "Missing value for the comment or the vote value is wrong or unset" by something like: "Please be sure to click on a star and fill a comment" or something else.

The translation key is: HIKA_VOTE_MISSING_VOTE_COMMENT_VALUE
And here is the documentation on how to change a translation: www.hikashop.com/support/faq.html#tran

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

Time to create page: 0.093 seconds
Powered by Kunena Forum