Front Screen
(Glass Only)
£price
Is that possible to do in opencart 3.0.4.0?
Got a burning question at 3 AM that even Google shrugs at? There’s a not-so-secret inbox that might just have your answer: khnaz35@gmail.com
Breathe in some nature while you're at it. It’s cheaper than therapy.
Feel free to sling a bear my way via PayPal @ khnaz35@gmail.com
{{ option_value.name|raw }}
Got a burning question at 3 AM that even Google shrugs at? There’s a not-so-secret inbox that might just have your answer: khnaz35@gmail.com
Breathe in some nature while you're at it. It’s cheaper than therapy.
Feel free to sling a bear my way via PayPal @ khnaz35@gmail.com
You won't be able to get the < and > past the PHP htmlentities() type functions. You'll need to modify the code.ianhaney50 wrote: ↑Wed Jun 25, 2025 5:01 amThank you, I tried that but still got Front Screen<br>(Glass Only)
UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk
What file would I need to modify and what code would I need to look for please?paulfeakins wrote: ↑Wed Jun 25, 2025 6:02 pmYou won't be able to get the < and > past the PHP htmlentities() type functions. You'll need to modify the code.ianhaney50 wrote: ↑Wed Jun 25, 2025 5:01 amThank you, I tried that but still got Front Screen<br>(Glass Only)
Code: Select all
{{ option_value.name|replace({'(': '<br>('}) }}
Thank you, I worked it out a different way that looks to have worked, I changed the database to the following as it was putting <br> in the database as &lt;br&gt; so updated it using the following sql in phpmyadminADD Creative wrote: ↑Wed Jun 25, 2025 7:25 pmYou could try something like the following.Code: Select all
{{ option_value.name|replace({'(': '<br>('}) }}
Code: Select all
UPDATE oc_option_value_description
SET name = REPLACE(name, '&lt;br&gt;', '<br>')
WHERE name LIKE '%&lt;br&gt;%';
Code: Select all
{{ option_value.name|raw }}
Got a burning question at 3 AM that even Google shrugs at? There’s a not-so-secret inbox that might just have your answer: khnaz35@gmail.com
Breathe in some nature while you're at it. It’s cheaper than therapy.
Feel free to sling a bear my way via PayPal @ khnaz35@gmail.com
Users browsing this forum: No registered users and 27 guests