Post by visnetmedia » Tue Jul 06, 2010 1:14 pm

Hi Love the optionplus update and having trouble with this:
S - 132 x 39.5

Small size length 132 by width 39.5
Don't want all that wording just above. I followed these instructions:
Custom Delimiter:
=======================
If you are using a range in your option name like: [Small (10-15")]
The script can get confused and treat the "-" as a minus and won't know how to parse the price. In this case, you will need to add a unique delimiter between the name and price so that the script can parse it properly. By default the script looks for the @ symbol. You can change this in the updatepx.inc.php file at the top if you prefer something else but be sure it's unique. Then add it to your product.tpl as shown below. You only need to do this if you have a "-" in your option value name or are getting some wrong calculations:

- a) EDIT: catalog/view/theme/default/template/product/product.tpl

- b) FIND:
------------------------------------------
<?php if ($option_value['price']) { ?>
------------------------------------------

- c) REPLACE WITH: (note the @ at the end)
------------------------------------------
<?php if ($option_value['price']) { ?>@
------------------------------------------

I removed cache and still no luck I end up with a price that is out of this world!
not sure what I am still doing wrong - can you please advise me where this can be fixed. Thanks...

Active Member

Posts

Joined
Fri Feb 12, 2010 7:17 am

Post by Qphoria » Tue Jul 06, 2010 9:57 pm

not without a link

Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by visnetmedia » Fri Jul 09, 2010 11:01 am

Hi sorry it seems to nearly work now just adding a few odd cents on the S
http://www.visnetmedia.com/cart/index.p ... duct_id=60

thanks....

Active Member

Posts

Joined
Fri Feb 12, 2010 7:17 am
Who is online

Users browsing this forum: No registered users and 1 guest