Post by MrBasic » Fri Nov 24, 2023 9:11 pm

Hi,

OC 3.0.3.8

Can somebody tell me why the order_history.comment have <br> on top and bottom?
How can I solve this so order_history.comment is filled without <br>.

Image

Thanks,

Erik

User avatar
Newbie

Posts

Joined
Wed Sep 23, 2020 11:52 pm
Location - Amersfoort

Post by JNeuhoff » Fri Nov 24, 2023 10:05 pm

A standard OpenCart 3.0.3.8 doesn't have this issue. Most likely you have installed some extensions, perhaps a web theme, causing this issue. Check your catalog/view/theme/<your theme>/template/checkout/shipping_method.twig.

Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig


User avatar
Guru Member

Posts

Joined
Wed Dec 05, 2007 3:38 am


Post by MrBasic » Fri Nov 24, 2023 10:08 pm

I think it has nothing to do with a theme or extension.
It is placed in the database in this way after, for example, a payment.

twig are template files and does not place thing in the database.
JNeuhoff wrote:
Fri Nov 24, 2023 10:05 pm
A standard OpenCart 3.0.3.8 doesn't have this issue. Most likely you have installed some extensions, perhaps a web theme, causing this issue. Check your catalog/view/theme/<your theme>/template/checkout/shipping_method.twig.

User avatar
Newbie

Posts

Joined
Wed Sep 23, 2020 11:52 pm
Location - Amersfoort

Post by MrBasic » Fri Nov 24, 2023 10:15 pm

Found it..

Removed \n\n from catalog > controller > extension > payment > bank_transfer.php

User avatar
Newbie

Posts

Joined
Wed Sep 23, 2020 11:52 pm
Location - Amersfoort
Who is online

Users browsing this forum: No registered users and 6 guests