Advertisement:

Author Topic: OSClass 2.3 prices problem bug?  (Read 1674 times)

aegypius3

  • Newbie
  • *
  • Posts: 32
OSClass 2.3 prices problem bug?
« on: November 30, 2011, 01:00:03 am »
Hi, prices are saved on i_price on the database with 6zeros... If you post an item valued on 5 USD, it is saved 5000000. So It modified the price on plugins like paypal...

How to solve it???

trains58554

  • Osclass contributor
  • Hero Member
  • *****
  • Posts: 3642
  • osCanyon, the class of Osclass
Re: OSClass 2.3 prices problem bug?
« Reply #1 on: November 30, 2011, 01:14:55 am »
Which page on the paypal plugin did it change the price?

Jay

aegypius3

  • Newbie
  • *
  • Posts: 32
Re: OSClass 2.3 prices problem bug?
« Reply #2 on: November 30, 2011, 12:28:35 pm »
Hi, sorry I put paypal but it is in the shop plugin... All prices are incremented by 000000...

Juan Ramón

  • Osclass Developer
  • Hero Member
  • *****
  • Posts: 2382
Re: OSClass 2.3 prices problem bug?
« Reply #3 on: November 30, 2011, 03:35:10 pm »
this is because the prices are normalized and for showing them you have to divide by a thousand.

laudap

  • Newbie
  • *
  • Posts: 39
Re: OSClass 2.3 prices problem bug?
« Reply #4 on: June 22, 2013, 02:07:04 pm »
Hi Juan Ramón
I have the same problem Here,  please How and where can I get divide it?
Thx in advance.
« Last Edit: June 24, 2013, 06:03:46 am by laudap »