Page 1 of 1

OC 3.0.3.6 Discounts combined with specials not working

Posted: Mon Dec 28, 2020 5:44 pm
by world-of-satellite
I've just found that products with discounts and speicals are not working in OC 3.0.3.6. Was working fine on our old cart 1.5.3.1.

I've searched the forums tried setting priorities as follows:

Special price priority 3.
5x discount priority 2.
10x discount priority 1.

For the record OC 1.5.3.1 we left all priorities to 0, combined specials and discounts worked as they should.

Please someone tell what I'm doing wrong as I'd like this working without having to use the mod below.

I've ended up buying this mod to get us out of trouble as this new site has gone live in last couple of days: https://www.opencart.com/index.php?rout ... n_id=39323

Re: OC 3.0.3.6 Discounts combined with specials not working

Posted: Tue Dec 29, 2020 8:12 pm
by kestas
Have you tried to find some fix on marketplace? https://www.opencart.com/index.php?rout ... load_id=55

Re: OC 3.0.3.6 Discounts combined with specials not working

Posted: Tue Dec 29, 2020 11:42 pm
by khnaz35
world-of-satellite wrote:
Mon Dec 28, 2020 5:44 pm
I've just found that products with discounts and speicals are not working in OC 3.0.3.6. Was working fine on our old cart 1.5.3.1.

I've searched the forums tried setting priorities as follows:

Special price priority 3.
5x discount priority 2.
10x discount priority 1.

For the record OC 1.5.3.1 we left all priorities to 0, combined specials and discounts worked as they should.

Please someone tell what I'm doing wrong as I'd like this working without having to use the mod below.

I've ended up buying this mod to get us out of trouble as this new site has gone live in last couple of days: https://www.opencart.com/index.php?rout ... n_id=39323
Did you ask the extension developer for answer on above??

Re: OC 3.0.3.6 Discounts combined with specials not working

Posted: Wed Dec 30, 2020 12:39 am
by JNeuhoff
For OpenCart 3, the special price always overrides any quantity-based discounted price.
If you want a different business logic for this, then you'd have to modify the file 'system/library/cart/cart.php'

Re: OC 3.0.3.6 Discounts combined with specials not working

Posted: Wed Dec 30, 2020 4:49 am
by world-of-satellite
JNeuhoff wrote:
Wed Dec 30, 2020 12:39 am
For OpenCart 3, the special price always overrides any quantity-based discounted price.
If you want a different business logic for this, then you'd have to modify the file 'system/library/cart/cart.php'
Special price should not overide quantity based discount. This imo is a bug that needs fixing.

Re: OC 3.0.3.6 Discounts combined with specials not working

Posted: Wed Dec 30, 2020 5:34 am
by by mona
world-of-satellite wrote:
Wed Dec 30, 2020 4:49 am
This imo is a bug that needs fixing.
:laugh: feel free to discuss this with Daniel if you dare !

However, you need to understand that a bug would suggest that it is not intentional, however this IS intentional and many people like it this way.
https://isenselabs.com/posts/discounts- ... ht-for-you

You may also utilise the many options available to you to have your discounts exactly as YOU want it
https://www.opencart.com/index.php?rout ... %20special

The spectrum available to you on this subject is quite impressive.
https://www.opencart.com/index.php?rout ... n_id=28098
https://www.opencart.com/index.php?rout ... n_id=25086
https://www.opencart.com/index.php?rout ... n_id=17953

Re: OC 3.0.3.6 Discounts combined with specials not working

Posted: Wed Dec 30, 2020 2:07 pm
by world-of-satellite
We'd been using combined discounts and specials for many years on old 1.5.3.1.

Having this way breaks some extensions from working together also. For instance Live Price extensions that display live price from added options will not work with discounts with theres a special. So irrelevant if we use the module that we purchased to allow customers to purchase at discount prices, live price is still wrong unless someone bring out a new module for live price update that will work with both discounts and specials.