Advertisement:

Author Topic: Price field validation  (Read 626 times)

username

  • Newbie
  • *
  • Posts: 1
Price field validation
« on: March 03, 2016, 12:37:11 pm »
Hello,

I have a big problem trying to have price field to allow text to be entered.

 I just need price to be shown in this way: Price: 15 - 50 $, in other words price field to accept price range. I need also price field to allow text to be entered along with the price. I searched Osclass forum, but did not found any usefull topic to resolve this issue. It seems that price validation need some corrections, but I do not understand well PHP language.

I have received this advice:

"I have checked database and price field is numeric, therefore you cannot enter anything else than number here. Because of that this must be done:

change osclass price management function (core), change database column structure for price to accept strings instead, fix osclass sorting function (core)."


I use Patricia Osclass Premium Theme.

So, please help me, I need this ASAP.

Thank you very much in advance.
« Last Edit: March 03, 2016, 02:01:13 pm by username »