D
D
Dmitry Buravtsov2015-11-17 13:58:56
opencart
Dmitry Buravtsov, 2015-11-17 13:58:56

How to change price format in OpenCart?

Hello!
You need to change the format of the price field in OpenCart 1.5.6 so that you can enter not only numerical values ​​but also alphabetic values, for example, you can display "on request" in the price field.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Shockoway, 2015-11-17
@dima_bur

It's better to rewrite the template. So that, for example, if 0 is specified as the price of a product in the admin panel, then another block is displayed instead.

A
Alexey, 2017-05-04
@alegrans

And if you expand the question:
1. And for Opencart 2.*
2. I found solutions on how to add the necessary text in the "Price" field if "0" is entered in the admin panel.
And how can I make it possible to enter not only numbers, but also an alphanumeric expression in the "Price" field in the admin panel, for example, "2B"?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question