Tested with: 1.5.1.x-3.0.2.x
This will change the option pricing from:
Product: $10.00
Size
- Md (+$2.00)
- Lg (+$4.00)
to
Product: 10.00
Size
- Md ($12.00)
- Lg ($14.00)
Similar to how Options Boost offers with its "=" price prefix.
Works with all currencies.
Works with all price supported option types (select, radio, checkbox, etc)
This will change the option pricing from:
Product: $10.00
Size
- Md (+$2.00)
- Lg (+$4.00)
to
Product: 10.00
Size
- Md ($12.00)
- Lg ($14.00)
Similar to how Options Boost offers with its "=" price prefix.
Works with all currencies.
Works with all price supported option types (select, radio, checkbox, etc)
Attachments
1.5 and 2.x support
Thanks for this. I've purchased your mods in the past and this mod is helpful. One question though. I was wondering how using "-" can work. For example, if a store has 3 options and the middle option is the price shown and the others are higher and lower, visually on the product page all options show the difference added and not subtracted even if they are set with a "-" in the admin panel.
Like :
Product as Red option
price is 10.00
in admin panel it would be set like this
Black - 5.00
Red 0.00
Blue + 10.00
so it should visually show on the product page as
Black 5.00
Red 10.00
Blue 20.00
But instead, with this mod, it shows on the product page as
Black 15.00
Red 10.00
Blue 20.00
Is there a way to use the "-" minus option in the admin panel to visually display with the minus price on the product page. Otherwise I guess one can simply always start with the lower priced item and work their way up in price for options. So in the above example I'd start with the Black price and add to that base price. But if the Red option is the more popular one or one to feature it would be nice to have that as an option. I'm using opencart Version 1.5.3.1.
Like :
Product as Red option
price is 10.00
in admin panel it would be set like this
Black - 5.00
Red 0.00
Blue + 10.00
so it should visually show on the product page as
Black 5.00
Red 10.00
Blue 20.00
But instead, with this mod, it shows on the product page as
Black 15.00
Red 10.00
Blue 20.00
Is there a way to use the "-" minus option in the admin panel to visually display with the minus price on the product page. Otherwise I guess one can simply always start with the lower priced item and work their way up in price for options. So in the above example I'd start with the Black price and add to that base price. But if the Red option is the more popular one or one to feature it would be nice to have that as an option. I'm using opencart Version 1.5.3.1.
This is great. I'm not too good with coding, where in the code should this be included?
Thanks in advance
C
Thanks in advance
C
I am also not so good at coding PHP either but i think i kind of understand what the XML is saying.
Edit this file
catalog/controller/product/product.php
and add
$option_value['price_prefix'] = ''; $option_value['price'] = (($product_info['special'] ? $product_info['special'] : $product_info['price']) + $option_value['price']);
After
foreach ($option['option_value'] as $option_value)
But i have tried adding this every which way and it either only shows 1 option or gives an error.
Can we get a bit of clarification on how to implement this?
Thank You VERY much!
Edit this file
catalog/controller/product/product.php
and add
$option_value['price_prefix'] = ''; $option_value['price'] = (($product_info['special'] ? $product_info['special'] : $product_info['price']) + $option_value['price']);
After
foreach ($option['option_value'] as $option_value)
But i have tried adding this every which way and it either only shows 1 option or gives an error.
Can we get a bit of clarification on how to implement this?
Thank You VERY much!
OK so i have figured out that i need to use VQMod and it says that this is enabled is there anything else that i need to do to activate it or use it?
I am using Version 1.4.9.3 which i know it says its tested with 1.5 but was hoping it would work with my version
I am using Version 1.4.9.3 which i know it says its tested with 1.5 but was hoping it would work with my version
Hello Q,
Excellent work as always!
I have been using a similar mod to this for a few months. I think I may have found it on one of your posts on another thread. Like Shadowsong mentioned, the only issue is with negative amounts, the amount shown actually adds the negative amount to the total.
For example, product price is $100.00, adding an option reduces the price by $40.00 (-$40.00) but the option displays this as $140.00 instead of $60.00 as desired.
Is there a way to correct this?
Excellent work as always!
I have been using a similar mod to this for a few months. I think I may have found it on one of your posts on another thread. Like Shadowsong mentioned, the only issue is with negative amounts, the amount shown actually adds the negative amount to the total.
For example, product price is $100.00, adding an option reduces the price by $40.00 (-$40.00) but the option displays this as $140.00 instead of $60.00 as desired.
Is there a way to correct this?
Is there a way to have the options display prices ex. VAT? Have tried to implement this myself but all changes I make throw up various errors.
For example, the store I wish to run this on has the product price without VAT first, then underneath the price with VAT. When people wish to select an option for that product it shows the price with VAT, making it seem as though there is a large price difference when in fact it's negligible.
Thanks for this mod, really useful
For example, the store I wish to run this on has the product price without VAT first, then underneath the price with VAT. When people wish to select an option for that product it shows the price with VAT, making it seem as though there is a large price difference when in fact it's negligible.
Thanks for this mod, really useful
This is excellent as it makes it easier for customers to work out pricing, but is it possible to only show in say sizes as for me it also shows in colours when for our products colour pricing doesn't change the product price at all and it looks messy with all the pricing added to the colour option list.
My bad! As it turns out it was as easy as I thought it should be to get the prices displayed without VAT (dividing the result by 1.2) -- I had accidentally removed a bracket while tinkering.
Thanks again for the mod.
Thanks again for the mod.
Wonderful & works like a charm!
BUT I would also like to know how I can customize the code so that options that DON'T have a price won't include the "default" price of a product.
For instance I have a silver ring that sells for $69, with options to upgrade to gold (14 Karat $150, etc).
But their is also ring size options & each ring size includes the $69 - very confusing to a customer.
Or is it possible to include/exclude in the code particular global options?
Any help with this would be fantastic.
Cheers
BUT I would also like to know how I can customize the code so that options that DON'T have a price won't include the "default" price of a product.
For instance I have a silver ring that sells for $69, with options to upgrade to gold (14 Karat $150, etc).
But their is also ring size options & each ring size includes the $69 - very confusing to a customer.
Or is it possible to include/exclude in the code particular global options?
Any help with this would be fantastic.
Cheers
Exactly what I would like, you just explained it betterkmac wrote:Wonderful & works like a charm!
BUT I would also like to know how I can customize the code so that options that DON'T have a price won't include the "default" price of a product.
For instance I have a silver ring that sells for $69, with options to upgrade to gold (14 Karat $150, etc).
But their is also ring size options & each ring size includes the $69 - very confusing to a customer.
Or is it possible to include/exclude in the code particular global options?
Any help with this would be fantastic.
Cheers
Looks like something I'm doing wrong. I have attached a xml file in the xml folder, but nothing happened. Can someone briefly explain the use of this modul. Opencart 1.5.4
I've got exactly the same problem as kmac and several other people who have posted in this thread. Prices are now shown against ALL products in options lists. This wasn't the case prior to the mod being installed.
Although this mod is very much appreciated and very helpful to many (thank you Qphoria), it kinda gives with one hand and takes away with the other.
It would be great just to be able show the ACTUAL prices of specific products in a drop-down/check/radio list and to be able to list other items in a similar manner, but without base prices prices being displayed. The current setup causes major confusion when customers are trying to purchase items as it appears as though the base price is being added to each option they have to enter.
If there is a mod out there that will offer the flexibility, then I'll gladly buy it. All I want it to do is this:
Product A
Small - $10.00
Med - $15.00
Large - $20.00
NOT
Small - $10.00
Med - +$5.00
Large - +$20.00
Product B
Red
Blue
Green
NOT
Product B
Red ($2.99)
Blue ($2.99)
Green ($2.99)
Sorry if the above seems to be asking too much but these options have been commonplace amongst other shopping carts for years. The support in here is helpful but it often take forever searching around without finding a definitive answer. Which mod(s) WILL enable me to do the above?
Thank you very much.
Although this mod is very much appreciated and very helpful to many (thank you Qphoria), it kinda gives with one hand and takes away with the other.
It would be great just to be able show the ACTUAL prices of specific products in a drop-down/check/radio list and to be able to list other items in a similar manner, but without base prices prices being displayed. The current setup causes major confusion when customers are trying to purchase items as it appears as though the base price is being added to each option they have to enter.
If there is a mod out there that will offer the flexibility, then I'll gladly buy it. All I want it to do is this:
Product A
Small - $10.00
Med - $15.00
Large - $20.00
NOT
Small - $10.00
Med - +$5.00
Large - +$20.00
Product B
Red
Blue
Green
NOT
Product B
Red ($2.99)
Blue ($2.99)
Green ($2.99)
Sorry if the above seems to be asking too much but these options have been commonplace amongst other shopping carts for years. The support in here is helpful but it often take forever searching around without finding a definitive answer. Which mod(s) WILL enable me to do the above?
Thank you very much.
I am using OC version 1.5.4.1
I have uploaded the xml file to the appropriate xml folder. I do not see anything different in my admin panel. I am still seeing the +/- drop down.
Is there or is there going to be an upgrade that is compatible with 1.5.4.1 or am I just totally missing something?
Thanks
I have uploaded the xml file to the appropriate xml folder. I do not see anything different in my admin panel. I am still seeing the +/- drop down.
Is there or is there going to be an upgrade that is compatible with 1.5.4.1 or am I just totally missing something?
Thanks
Who is online
Users browsing this forum: No registered users and 96 guests