Page 1 of 1

Special Discounts Applied to Product Total

Posted: Sun Nov 22, 2015 9:25 am
by OSVWebMas
Hello there!

I am new to Opencart and I have taken over a website that uses this CMS. I am trying to display a sale price on a product and have it applied to all of the options.

If you go to and enter our eLiquid section, then go to our Back2Basics or Signatures, you'll notice that we have abase price for something.

Let's say a bottle of our Back2Basics 50/50 Orange Cream costs $4.99 for a 12mL bottle.

I want to take off -50%.

The total then becomes $2.49.

Here's the thing..

We have options of increasing the bottle size from a 12mL to 30mL, 60mL and 120mL.

Each of these has a price difference.

Normally a 12mL will cost $4.99, if you upgrade to a 30mL there is a $7.00 difference bringing the total cost for a 30mL to be $11.99.

I want to be able to apply a percentage discount to my $4.99 base price AS WELL AS my $11.99 option price.

It sucks because under the discount tab I have to put the PRICE for what a product would be after I do the math and calculate out the percentage off I am going to remove.

But I was to just go to a tab, select my product or product category, select to remove -50% off the entire product total.

Is there any way I can do this? like a one stop shop button I can put in or something? A line of code or extension?

I need to have this done by Monday or I am going to just need to do it all by hand and close my website down while I do it.

Re: Special Discounts Applied to Product Total

Posted: Sun Nov 22, 2015 11:38 pm
by Johnathan
If you wanted to skip using the Special/Discount system altogether, you could use an Order Total extension to give the discount, like Category & Product-Based Fee/Discount. In there you can choose the products that the discount applies to, and what the formula for the discount is.

Keep in mind this is an Order Total extension, though. Order Totals do not affect the price shown in the cart -- only "Special" prices can do that. Order Totals are automatically activated when the criteria are met, and show up as a line item on the order. If you want to inform the customer of the possible fee or discount, you'd need to do so some other way, such as a banner or HTML module. (Or just put it in the product description.)

Feel free to take a look at the screenshots and demo site, and if you're interested let me know at if you have any further questions.

Re: Special Discounts Applied to Product Total

Posted: Mon Nov 23, 2015 2:47 pm
by OSVWebMas
I only need to do it on some products.. Not everything in the store is going to be discounted.

Re: Special Discounts Applied to Product Total

Posted: Tue Nov 24, 2015 3:04 am
by Johnathan
That's fine, you can choose whatever products/categories/manufacturers you want in Category & Product-Based Fee/Discount. Just add the appropriate rule to the charge, and it will only apply to those products.