Skip to main content

jcomments links

More
15 years 1 month ago #24280 by chaka
jcomments links was created by chaka
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.

More
15 years 1 month ago #24299 by nicolas
Replied by nicolas on topic Re: jcomments links
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.

More
15 years 1 month ago #24355 by chaka
Replied by chaka on topic Re: jcomments links
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.

More
15 years 1 month ago #24357 by nicolas
Replied by nicolas on topic Re: jcomments links
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.

More
15 years 2 weeks ago #25416 by SoaringSoHigh
Replied by SoaringSoHigh on topic Re: jcomments links
I agree the name should be kept for some reasons

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

More
14 years 6 months ago #41678 by ALEXIAC
Replied by ALEXIAC on topic Re: jcomments links
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.

More
14 years 6 months ago #41856 by nicolas
Replied by nicolas on topic Re: jcomments links
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:
Code:
echo JComments :: showComments($this->element->product_id, 'com_hikashop', $this->element->product_name);
to:
Code:
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.

More
14 years 6 months ago #41857 by ALEXIAC
Replied by ALEXIAC on topic Re: jcomments links
Thanks Nicolas.. I will try that.

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

Time to create page: 0.194 seconds
Powered by Kunena Forum