• Priority: Medium
  • Status: Closed
  • Closed by: Marek (marek)
  • Closed on: 16.04.19, 17:03
  • Reason: Closed
  • Comment: Glad to help!

Ticket #14251 - COMMENT - product page - content html

Hello,

As I try to create a product comment from the front, I always have html code added like ‘<br> as you can see in the picture.
How to fit it ?

For instance :
Deux produits en un pour un max d’effet, je ne comprends pas pourquoi avoir attendu tout de temps ! <br /> Bref, vous recevez une cure qui traite les hanches et les fesses en même temps. Dommage qu’il y ai la limitation à trois cures.<br /> C’est une cure efficace, qui pour moi a été une alternative aux chirurgies.<br />

Regards

Bug.jpg (140.2 KiB)

This ticket does not depend on any other tickets.

Grégoire FALQUE (CHEZBelette) 15 Apr 2019, 09:36

Hello,
I am on live now. The SHOP URL I will use is chezbelette.com
Can you change it in my admin ? Thank You

Marek (marek) 15 Apr 2019, 09:59

The SHOP URL is changed.
Please give me direct link to product page where I could see the issue

Marek (marek) 16 Apr 2019, 14:48

I just added a comment and see it http://take.ms/kkv3i

Could you please take a screenshot of the issue?

Marek (marek) 16 Apr 2019, 14:48

Sorry, I see now

Marek (marek) 16 Apr 2019, 14:52

I'm not able to connect to your server through FTP

Marek (marek) 16 Apr 2019, 15:19

Try following solution:
Open the file
/modules/productcomments/views/templates/front/productcomments.tpl
find the line

<p>{$comment.content|nl2br}</p>

replace it with

<p>{$comment.content}</p>
Grégoire FALQUE (CHEZBelette) 16 Apr 2019, 17:02

Cool !
That's it.
Thank You Marek. The Theme is nothing without you.

Marek (marek) 16 Apr 2019, 17:03

You are welcome

Loading...