VM Ratings and Reviews

GK User
Tue Jul 02, 2013 6:50 am
Dear Gavick,

I am having an issue with the VM reviews using your template override. When I review a product and click on “Submit Review,” I get a message that review was saved. First issue is that nothing gets saved. Second issue, I am getting redirected from product detail page to “component/virtuemart/product-detail.” Is there any way someone could look at it?

Thank you in advance.
User avatar
Gold Boarder

GK User
Tue Jul 02, 2013 9:06 am
Have you checked the demo site of the template and seen the same issues? Also, can you post your site URL here?
User avatar
Platinum Boarder

GK User
Tue Jul 02, 2013 2:17 pm
Don Lee wrote:Have you checked the demo site of the template and seen the same issues? Also, can you post your site URL here?



Don, hi. Thanks for writing back. I was not able to test on the demo, because I was not able to go through the checkout process and I guess ratings are not available to guest users.

I will PM you a link....
User avatar
Gold Boarder

GK User
Tue Jul 02, 2013 5:12 pm
Don Lee wrote:Have you checked the demo site of the template and seen the same issues? Also, can you post your site URL here?

Don, I sent you a PM earlier. To add to my issue, I guess the redirect is wrong after the review/rating is submitted and it's not being stored...

Thanks.
User avatar
Gold Boarder

GK User
Wed Jul 03, 2013 3:46 am
Hi,

Thank you I got it and made a test and can confirm the issue, however there are no clues yet to know why it happens, can you give me an admin account for further check?
User avatar
Platinum Boarder

GK User
Wed Jul 03, 2013 4:01 am
The account you gave me doesn't work, check and correct it please.
User avatar
Platinum Boarder

GK User
Wed Jul 03, 2013 4:08 am
Don Lee wrote:The account you gave me doesn't work, check and correct it please.


I gave you wrong password. Sorry...
User avatar
Gold Boarder

GK User
Wed Jul 03, 2013 4:29 am
It's fixed and works now.

1. Login at your front-end, pick a product and write review, click save, you will see something like this [cut]

2. Approve the review in backend: VM -> Products -> Reviews & Ratings [cut]

this is to prevent spams.
User avatar
Platinum Boarder

GK User
Wed Jul 03, 2013 4:33 am
Don Lee wrote:It's fixed and works now.

1. Login at your front-end, pick a product and write review, click save, you will see something like this [cut]

2. Approve the review in backend: VM -> Products -> Reviews & Ratings [cut]

this is to prevent spams.


Hi Don,

Thank you so much. Could you please explain what was the issue?
User avatar
Gold Boarder

GK User
Wed Jul 03, 2013 4:38 am
I made a change in your VM configuration to allow registered visitors to write reviews, it allowed visitors to review only their bought products.

Btw, I can't edit my post to remove the links, I don't know why, maybe only mods can do that.
User avatar
Platinum Boarder

GK User
Wed Jul 03, 2013 4:40 am
Don Lee wrote:I made a change in your VM configuration to allow registered visitors to write reviews, it allowed visitors to review only their bought products.

Btw, I can't edit my post to remove the links, I don't know why, maybe only mods can do that.



Oh, I see. That was easy. I appreciate your help. Many thanks.


I am sure they can. In the meantime could you please remove the file from the link?

Thank you in advance.
User avatar
Gold Boarder

GK User
Wed Jul 03, 2013 4:47 am
I did not upload those images under an account so I can't remove them as well, I'm sorry.
User avatar
Platinum Boarder

GK User
Wed Jul 03, 2013 4:50 am
Don Lee wrote:I did not upload those images under an account so I can't remove them as well, I'm sorry.



Okay, np. One more question. Do you know how to replace the rating radio buttons with star images only?

And also, how to show in the product details stars on top instead of "5/5?"

Thanks.
User avatar
Gold Boarder

GK User
Wed Jul 03, 2013 5:06 am
I don't get that.

Regarding the issue with the redirected URL, try turning of SEF and check if it persists.
User avatar
Platinum Boarder

GK User
Wed Jul 03, 2013 5:15 am
Don Lee wrote:I don't get that.

Regarding the issue with the redirected URL, try turning of SEF and check if it persists.


I tried that and it still exists.
User avatar
Gold Boarder

GK User
Wed Jul 03, 2013 6:05 am
What if you use other template for VM?
User avatar
Platinum Boarder

GK User
Wed Jul 03, 2013 6:24 am
Don, I don't have other templates. I don't know if that might help, but I noticed it is only happening for parent products. Child products work fine. Any ideas?
User avatar
Gold Boarder

GK User
Thu Jul 04, 2013 1:19 pm
Just use the default joomla template, which is standard, to test. If the same issue happens with that template, we will know that it's a problem of VM, otherwise it is problem of Gavick template.
User avatar
Platinum Boarder

GK User
Fri Jul 05, 2013 6:24 am
Don Lee wrote:Just use the default joomla template, which is standard, to test. If the same issue happens with that template, we will know that it's a problem of VM, otherwise it is problem of Gavick template.

Don, it look like it the issue exists with different template. I understand that it sound like it isn't Gavick's problem, but do you have any idea why it redirects to different page?
User avatar
Gold Boarder

GK User
Fri Jul 05, 2013 6:52 am
Don Lee wrote:Just use the default joomla template, which is standard, to test. If the same issue happens with that template, we will know that it's a problem of VM, otherwise it is problem of Gavick template.


So I guess the problem is here:

Code: Select all
<form method="post" action="<?php echo JRoute::_('index.php?option=com_virtuemart&view=productdetails&virtuemart_product_id='.$this->product->virtuemart_product_id.'&virtuemart_category_id='.$this->product->virtuemart_category_id) ; ?>" name="reviewForm" id="reviewform">


I just don't know how to let it stay on the same page.
User avatar
Gold Boarder

GK User
Fri Jul 05, 2013 9:11 am
So try leave action's value empty and check if it works.

That code will be like this:
Code: Select all
<form method="post" action="" name="reviewForm" id="reviewform">
User avatar
Platinum Boarder

GK User
Fri Jul 05, 2013 4:16 pm
Don Lee wrote:So try leave action's value empty and check if it works.

That code will be like this:
Code: Select all
<form method="post" action="" name="reviewForm" id="reviewform">

Nope, still no luck... :(
User avatar
Gold Boarder


cron