PhotoPost Community

PhotoPost Community (http://www.photopost.com/forum/)
-   Classifieds Installation & Upgrades (http://www.photopost.com/forum/classifieds-installation-upgrades/)
-   -   How do i change the field Condition and the price value (http://www.photopost.com/forum/classifieds-installation-upgrades/115810-how-do-i-change-field-condition-price-value.html)

wrang September 24th, 2005 09:45 AM

How do i change the field Condition and the price value
 
I wonder how i can change the field Condition ( Kvalite in swedish).

I dont want it at all so is it possible to change it to a extra field i called Extra Field #5: instead of condition
The extra filed #5 is the city the ad has made from. I cant use the zip code so i have to do some extra field called Town (Stad in swedish)
http://www.saltvattensguiden.se/anno...at.php?cat=all

And how do i change the price to 1000 insted of today 1,000.00



Hope for some help this time to!!


Best regards

Chuck S September 25th, 2005 09:37 PM

Well you can remove the condition from the uploadproduct template

To alter the price you simply modify showproduct.php and do something like this

$price[$itemnum] = "{$Globals['currency']}" . number_format( $priceline, 2 );

to say maybe this

$price[$itemnum] = "{$Globals['currency']}" . number_format( $priceline );

wrang September 26th, 2005 12:12 PM

Quote:

Originally Posted by omegatron
Well you can remove the condition from the uploadproduct template

To alter the price you simply modify showproduct.php and do something like this

$price[$itemnum] = "{$Globals['currency']}" . number_format( $priceline, 2 );

to say maybe this

$price[$itemnum] = "{$Globals['currency']}" . number_format( $priceline );

How can i find the condition tag and replace it with the extra field 5#

I cant find the $priceline, 2 in that file that you said

Chuck S September 26th, 2005 12:16 PM

If you make an extra5 in cat options that field will display in uploadproduct and showproduct

You need to remove condition from the template if your not going to use it

Do you see a price variable like the one I posted

wrang September 26th, 2005 01:25 PM

Okey i sitting right now with it and have nearly fixed it but i dont know what i shuld write to se my extra field called 5
orginal its like this
Code:

Content visible to verified customers only.
and i want the extra field no 5 in it
Code:

Content visible to verified customers only.
Yes i seen it but i cant find the price tool or where i can change it


All times are GMT -5. The time now is 07:40 PM.

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


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97