Captcha for reviews on Product page

  • Posts: 17
  • Thank you received: 0
10 years 8 months ago #184030

-- Joomla version -- : 3.3.3

Hi

I need to add a captcha on the product - "Leave a review" tab. How can I enable the same?

~Sanket

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

  • Posts: 84304
  • Thank you received: 13698
  • MODERATOR
10 years 8 months ago #184048

Hi,

There is no captcha support for the comments/votes system included in HikaShop.
So far, no one got any spam with it.
If nevertheless you want a vote/review system with captcha support on the product pages, you can disable the vote system in HikaShop and use a third party review system compatible with HikaShop which supports captcha like JComment

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

  • Posts: 17
  • Thank you received: 0
10 years 8 months ago #184081

Thanks for the prompt answer.

I have tried to add Jcomments to the product details page and that gets added to the bottom of the page.

-I want to add this at the same loaction as that of "Leave a Review". Is this possible and how?
- Also I have a integratd vote and comments on the product deatils page. Can I have the same functionality with JComments?

Thanks
Sanket

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

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

Hi,

You can move the code:

	$comments = HIKASHOP_ROOT . 'components' . DS . 'com_jcomments' . DS . 'jcomments.php';
	if(file_exists($comments)) {
		require_once ($comments);
		if(hikashop_getCID('product_id') != $this->product->product_id && isset($this->product->main->product_name)) {
			$product_id = $this->product->main->product_id;
			$product_name = $this->product->main->product_name;
		} else {
			$product_id = $this->product->product_id;
			$product_name = $this->product->product_name;
		}
		echo JComments::showComments($product_id, 'com_hikashop', $product_name);
	}
From the view "product / show" to the view "product / show_default" at the desired place.

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

Time to create page: 0.074 seconds
Powered by Kunena Forum