Topic RSS
7:34 am
January 26, 2011
OfflineIs there a way to just LIST the price options instead of having to subtract/add? For instance … My client sells signed artwork. The first 10 are priced at $295 while #11-100 are priced at $245. It looks "sloppy" to have it say "-$50. Is there a way to just list the prices like this:
Giclee #1-10 $295
Giclee #11-100 $245
Archival $75
Thanks!
Shouldn't be too hard. I'll give it a stab.
Open your "single.php" for editing.
(We'll edit the "size" field, but this will work just the same for the "color" field. And of course, you can change the text label "size" to whatever you like.)
On or around line #208 you'll find this line:
$optiontext = $optiontext . $CURRENCY_SYMBOL.number_format(abs($sizelistprice[$i]), 2, '.', ',');
REPLACE THIS line with this:
$optiontext = " (". $mkt_currency_symbol.number_format(abs($price+$sizelistprice[$i]), 2, '.', ',');
Then, locate the line on or around line #213 that says:
$optiontext = "";
IMMEDIATELY AFTER this line, add this new line:
$optiontext = " (". $mkt_currency_symbol.number_format(abs($price), 2, '.', ',').")";
Save the file, and that should do it.
8:26 pm
January 26, 2011
OfflineOnce I put the code in, where would I see the options for the other two purchasing choices? On the "add product" page?
http://ravenhousepublishing.co…..ristensen/
1:49 pm
January 26, 2011
OfflineYes, I think so. I want to have a drop down on the product page that lists each item … like this:
My product is a painting
Giclee #1-10 $295
Giclee #11-100 $245
Archival $75
But I don't want it to say that the price is $295 and then have it look like:
Giclee #11-100 -$50
Archival -$225
I just want the listing of the real prices. Is that possible? What was the code you had me input before?
You've done the code changes above right?
If so, all you have to do is enter the additional options in your "edit product details" area in your adminstration area.
Right now, you've got one entered for Giclee and one for Archival. You need to enter the other price options there in the admin tool.
The admin tool is still going to operate with the basic "Small@-1.00,Medium,Large@1.25" operation, however if you make the code changes above — it will show up correctly on the website as you are wanting.
#1. You can change all text through the language file. "English.php" can be edited through the theme editor tool under the "Appearance" menu in the administration area.
#2. If you foresee that you'll be using the "size" option, then you may want to modify the "color" option instead. It's exactly like the "size" option, but with different variable names.
The first entry needs to be @-0 (which is the unaltered price). I entered it like this:
Archival@-0,Limited #1-10@180,Limited #11-200@130
The results: http://ravenhousepublishing.co…..-not-tony/
I have the same question as in post 11 – how do I change the code so that the $ sign shows up correctly in the drop-down box?
Mine now look like this our different length silver chains:
16" (32.00
18" (35.00)
20" (37.00) etc
I would like:
16" ($32.00)
18" ($35.00)
20" ($37.00) etc
Also, thanks for a great forum- I'm pretty new and have made several good changes setting up my 1st website with you using advices already in the forum.
Most Users Ever Online: 40
Currently Online:
18 Guest(s)
Currently Browsing this Page:
1 Guest(s)
Member Stats:
Guest Posters: 428
Members: 2252
Moderators: 1
Admins: 1
Forum Stats:
Groups: 1
Forums: 4
Topics: 2983
Posts: 16042
Newest Members: Allsed, deleteduser, shanm, slidesketch, jimharrison, vmi
Moderators: Market Admin (5051)
Administrators: Market Admin (5051)

Log In
Register
Home


