PhotoPost Photo Gallery Sales PhotoPost Sales Toll Free Phone Number
Mon-Fri 9am-4pm EST
  PhotoPost Photo Sharing Photo Gallery    Visualize community tm
| | | | | | | | |

Go Back   PhotoPost Community > PhotoPost Support > PhotoPost Classifieds Support > Classifieds How do I...?

Classifieds How do I...? Wondering how to do something in Classifieds?

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old August 25th, 2009, 11:59 AM   #1 (permalink)
Member
Verified Customer
 
Join Date: Dec 2005
Posts: 32
Price format problems

PPClassifieds v3.2

I need to modified the price format in 2 ways:
- Remove completely the commas and dots from it and
- remove the decimals from the price end

original price format: 200,00
what we need: 200

(The price search don't work correctly until then...)

How can I change this?
zOrg is offline   Reply With Quote
Old August 25th, 2009, 12:21 PM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 52,679
Not sure what you mean by price search does not work. It works fine in the default code

All Ads - PhotoPost Classifieds

We format a price for display on the front end to different currency formats but always in the database it is stored as 200.00 thus as long as you use the code as it is coded and use the low and high price dropdowns I see no issue with how things work because it properly returns results.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old August 25th, 2009, 06:08 PM   #3 (permalink)
Member
Verified Customer
 
Join Date: Dec 2005
Posts: 32
Sure: not exactly the "price search":
I need price format without decimals and commas - displays it wrongly by listing ("Sort by") and yes, the price range search too.

Check: Bikemag Apró

(On my site the price range search option still uncommented in the code...)
zOrg is offline   Reply With Quote
Old August 25th, 2009, 06:25 PM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 52,679
I really dont think you understand what I am saying.

However you have modified your code so until you replace it with the current unmodified code we can not provide support.

Look at your search page it is not right.

Keresés - Bikemag Piactér - a kerékpár apróhirdető

I dont see the normal looking classifieds search page there and if you alter things any unexpected behavior can be caused by your changes.

Now if say I mimic a search on your site like so it finds ads based on a high and low price range. As I stated no matter how things are formatted for display which happens after the info is grabbed the price is always stored in a mysql database in number format which is 0.00

All Ads - Bikemag Piactér - a kerékpár apróhirdető

eladó dc és element sapi akció - Bikemag Piactér - a kerékpár apróhirdető

If your adding another type of currency make sure to add the correct info so its formatted correctly. All currencies for display that I know of use a . or , for display purposes.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old August 26th, 2009, 12:14 PM   #5 (permalink)
Member
Verified Customer
 
Join Date: Dec 2005
Posts: 32
OK, try other method:

Please help, how can I change the price format
from: 200,000.00
to: 200000

Thank you in advance.
zOrg is offline   Reply With Quote
Old August 26th, 2009, 12:31 PM   #6 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 52,679
You would have to modify and remove the number_format commands in showproduct and showcat php files although I dont see why you would want to do that and we can not assist with code modification questions.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Reserve Price vs. Asking Price KenDude Classifieds How do I...? 1 December 27th, 2008 07:55 PM
URL format ? Bills Photopost Pro How Do I...? 11 March 1st, 2007 12:59 PM
Format Thumbnails waltercat How Do I? - vBulletin 3.6x 1 November 25th, 2006 01:54 PM
Format the backpath joerns Classifieds How do I...? 1 November 7th, 2006 08:26 AM
Format of File Problems MtnDewMan Photopost Pro Installation & Upgrades 2 September 23rd, 2005 11:57 PM


All times are GMT -5. The time now is 08:56 PM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0