jcomments links

  • Posts: 135
  • Thank you received: 0
13 years 3 months ago #24280

hi

where is the link to download this plug for jcomments.??

i search in the documentation but i dont find it.

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

  • Posts: 82868
  • Thank you received: 13376
  • MODERATOR
13 years 3 months ago #24299

There is no plugin for jcomments.

The integration with jcomments is directly in HikaShop. You can activate it with the "show comments" option on the Display tab of the config.

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

  • Posts: 135
  • Thank you received: 0
13 years 3 months ago #24355

nicolas

i have some strange in the comments maybe you can reproduce

i have a product "A" ok ....this product has comments . later i need to add a new product "B" but i dont add by normal way instead edit the product "A" i change the name only , add one more image, description is the same , the price is same too , then save.

all the comments in the product "A" disappeared although the id product hikashop is the same and only edit a few things

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

  • Posts: 82868
  • Thank you received: 13376
  • MODERATOR
13 years 3 months ago #24357

The product name is given to jComments. So it probably coems from the fact that you changed the product name. You shoudl keep the same name.

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

  • Posts: 3
  • Thank you received: 0
13 years 2 months ago #25416

I agree the name should be kept for some reasons

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

  • Posts: 42
  • Thank you received: 0
12 years 8 months ago #41678

Hello, I have a similar problem. I understand that the jcomments will disappear if I change the product name. But in my case, Jcomments disappear even if I only change the characteristics/variants of a product. Is that normal?
Thanks.

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

  • Posts: 82868
  • Thank you received: 13376
  • MODERATOR
12 years 8 months ago #41856

Ah yes, variants should not be impacted.

Please edit the file "show" of the view "product" via the menu Display>Views an change the code:

echo JComments :: showComments($this->element->product_id, 'com_hikashop', $this->element->product_name);
to:
if (hikashop_getCID('product_id')!=$this->element->product_id && isset ($this->element->main->product_name)){
			$product_id = $this->element->main->product_id;
			$product_name = $this->element->main->product_name;
		}else{
			$product_id = $this->element->product_id;
			$product_name = $this->element->product_name;
		}
		echo JComments :: showComments($product_id, 'com_hikashop', $product_name);

that way, comments will always be attached to the main product.

The following user(s) said Thank You: ALEXIAC

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

  • Posts: 42
  • Thank you received: 0
12 years 8 months ago #41857

Thanks Nicolas.. I will try that.

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

Time to create page: 0.089 seconds
Powered by Kunena Forum