P
P
Poetiq2020-01-18 11:50:14
opencart
Poetiq, 2020-01-18 11:50:14

How opencart 2.3 to insert the actual price of the product in the TITLE through a variable?

Hey!
How opencart 2.3 to insert the actual price of the product in the TITLE through a variable?
For example:
In the product editing tab.
Now the title meta tag is filled in like this:

Buy a car cheap

It needs to be like this:
Buy a car for {VARIABLE} RUB

*{VARIABLE} is the actual price of the item.
Thanks in advance!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
W
web-mechanic, 2020-01-21
@amfetamine

str_replace, preg_replace, preg_replace_callback lots
of options

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question