Post by Japparts » Thu Dec 26, 2013 8:31 pm

I am building a new opencart website. I am using options on some of my products. I have got a module that will show the option price on category pages as "from £xx" when price is set to £0. This means I can have base price of £0 and set each option price at the correct selling price.

I thought everything was working great until last night when I discovered it is not possible to have any "special" prices. Obviously Opencart wont discount the base price from £0 so the option prices dont get discounted.

I have seen some sites built around Magento where the base price is £0, the option prices are the full selling price and they can still do discount prices by category, manufacture, globally across the entire store etc.....

Does anyone know if there is a way of doing this with Opencart?

New member

Posts

Joined
Fri Sep 16, 2011 8:49 am

Post by granddaddy » Thu Dec 26, 2013 10:48 pm

If you could find the bit in your module that checks if the base price is 0, and change that (say) to 10.00
Then you could try putting the prices like this...
For a product with options of 10,20,30:
Base Price 10.00
Option 1: (no value, same as base)
Option 2: +10.00
Option 3: +20.00

But you'd have to calculate each product in a totally separate formula, because each lowest price will be different, but you can only have one base price to check for in the module. Also it will not be very clear to you what the actual prices are whenever you look at a product in admin.

Having said that, it seems logical to me that it might work if you simply remove the "if base = 0" from the module, so the above formulas would work on all products.
But if you want this "from x" to only operate on certain products you couldn't do it that way.

It's just a few ideas that occurred to me.

Active Member

Posts

Joined
Sat Feb 18, 2012 5:48 pm
Who is online

Users browsing this forum: No registered users and 70 guests