Post by world-of-satellite » 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

Active Member

Posts

Joined
Sun Jun 27, 2010 1:40 pm

Post by kestas » Tue Dec 29, 2020 8:12 pm

Have you tried to find some fix on marketplace? https://www.opencart.com/index.php?rout ... load_id=55

Custom OpenCart modules and solutions. You can write PM with additional questions... Extensions you can find here


Active Member

Posts

Joined
Tue Oct 12, 2010 2:23 am

Post by khnaz35 » Tue Dec 29, 2020 11:42 pm

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??

Urgent Questions shoot here: khnaz35@gmail.com
Enjoy nature ;) :) :-*


User avatar
Active Member

Posts

Joined
Mon Aug 27, 2018 11:30 pm
Location - Malaysia

Post by JNeuhoff » 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'

Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig


User avatar
Guru Member
Online

Posts

Joined
Wed Dec 05, 2007 3:38 am


Post by world-of-satellite » Wed Dec 30, 2020 4:49 am

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.

Active Member

Posts

Joined
Sun Jun 27, 2010 1:40 pm

Post by by mona » Wed Dec 30, 2020 5:34 am

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

DISCLAIMER:
You should not modify core files .. if you would like to donate a cup of coffee I will write it in a modification for you.


https://www.youtube.com/watch?v=zXIxDoCRc84


User avatar
Expert Member

Posts

Joined
Mon Jun 10, 2019 9:31 am

Post by world-of-satellite » Wed Dec 30, 2020 2:07 pm

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.

Active Member

Posts

Joined
Sun Jun 27, 2010 1:40 pm
Who is online

Users browsing this forum: integraa, Semrush [Bot] and 267 guests