QuestionI need to have ability to input some text in the price field.

If you will find a grammar error on this page, please select it with your mouse and press Ctrl+EnterThank you.

Can I put not just numbers in the price field. I need to add text "from" to the price.



sv2109's picture
sv2109 wrote:

You can't do this. The price is a float value. You can't add text to this field because OpenCart needs a float value to calculate discounts, taxes etc.
You should add another text field to the product and add your text in this field. You need to add this field in the database, admin product template, controller, model and every catalog templates and controllers where you need to show your text.

31.10.2014 20:09

Add new comment

Spam protection
Enter the characters shown in the image.
You are reporting a typo in the following text:
Simply click the "Send typo report" button to complete the report. You can also include a comment.