Post by rich73625 » Thu Jan 26, 2012 7:54 pm

Hi,
I couldn't quite decide which Extension forum this should come under...

Anyways. I was wondering if anyone could advise how I can slightly customise the Options Plus Redux extension (for 1.4.9.4).
My client would like to add some text after the drop down weight and remove the "+price" bit.

So, from this:

Image

to this:

Weight:
Please Choose...
100g price
250g price
500g price

where I'm able to add in the word "price" after the weight variable.

Or alternatively just:
remove the prefix and price completely (without adding any text)

Any help would be greatly appreciated.

Thanks,
Rich

Newbie

Posts

Joined
Thu Oct 13, 2011 10:03 pm

Post by Qphoria » Thu Jan 26, 2012 11:34 pm

1. EDIT: catalog/controller/product/options_plus_redux.inc.php

2. FIND:

Code: Select all

// Add Stock Qty to name
3. AFTER, ADD:

Code: Select all

$options[$k]['option_value'][$j]['price'] = FALSE;

Image
Donate!|OpenCart Basics|GeoZones
Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by rich73625 » Fri Jan 27, 2012 12:20 am

Thank you so much for that, great!

Out of interest, did anyone get it working to show the total price of the product (i.e. initial price + extra weight price) instead of just showing "+price"? (For v. 1.4.9.4)
I looked at the other threads couldn't quite work it out from them.

Anyway, thanks again,
Rich

Newbie

Posts

Joined
Thu Oct 13, 2011 10:03 pm

Post by Qphoria » Fri Jan 27, 2012 12:46 am

Options Plus Redux already offers the "=" option prefix that will do it.

Image
Donate!|OpenCart Basics|GeoZones
Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by rich73625 » Fri Jan 27, 2012 1:16 am

Of course, haven't been into it for a while..... :)
Thanks

Newbie

Posts

Joined
Thu Oct 13, 2011 10:03 pm
Who is online

Users browsing this forum: No registered users and 4 guests