![]() |
Help - Ignore QTY discounts for Customer Cats |
Post Reply ![]() |
Author | |
rgergen ![]() Newbie ![]() Joined: 01-December-2008 Status: Offline Points: 0 |
![]() ![]() ![]() ![]() ![]() Posted: 04-June-2009 at 6:11pm |
I want to disable QTY discounts for some of my customer category's. I have hid them already but when they get to the OrderVerify.asp screen the show the discount. I need to have the discount ignored for (i.e. session("customerCategory")=6).... any suggestions.
|
|
![]() |
|
Hamish ![]() Admin Group ![]() Joined: 12-October-2006 Location: United Kingdom Status: Offline Points: 56 |
![]() ![]() ![]() ![]() ![]() |
Hi,
I assume you have customized the code to hide the quantity discounts? Hiding it will not prevent them being used in the calculations which woud involve additional customization. The easiest solution is to switch those customer categories to "Wholesale" and then not offer the quantity discount to wholesale customers. However, that also presents issues as you may already have Wholesale customers and the privileges for wholesale customers such as available payment methods are/can be different. |
|
![]() |
|
rgergen ![]() Newbie ![]() Joined: 01-December-2008 Status: Offline Points: 0 |
![]() ![]() ![]() ![]() ![]() |
This is true I have 5 customers types. 2 of them I want to receive qty discounts. I just want to add an if statment such as (i.e. IF session("customerCategory")<>0 OR session("customerCategory")<>1 OR session("customerCategory")<>2.... )
|
|
![]() |
|
rgergen ![]() Newbie ![]() Joined: 01-December-2008 Status: Offline Points: 0 |
![]() ![]() ![]() ![]() ![]() |
Any suggestions?
|
|
![]() |
|
Hamish ![]() Admin Group ![]() Joined: 12-October-2006 Location: United Kingdom Status: Offline Points: 56 |
![]() ![]() ![]() ![]() ![]() |
Hi,
I suspect this will take at least a significant amount of research as both store front and admin code will (most likely) need to be checked and modified including, I suspect, SQL modifications. It's beyond the scope of what can be achieved via the forum, however, there are developers, contactable via the forum or via http://www.earlyimpact.com/partners-dev.asp if you wish to get this enhancement. It looks like a useful enhancement for the future but I don't believe this is scheduled for inclusion in V4. I'll add it to the requests for consideration but I cannot give any idea of a likely date for it's inclusion in the software. |
|
![]() |
|
rgergen ![]() Newbie ![]() Joined: 01-December-2008 Status: Offline Points: 0 |
![]() ![]() ![]() ![]() ![]() |
But couldnt it be suppressed to not execute the QTY discounts code within an if statement?
|
|
![]() |
|
Hamish ![]() Admin Group ![]() Joined: 12-October-2006 Location: United Kingdom Status: Offline Points: 56 |
![]() ![]() ![]() ![]() ![]() |
Possibly, but identifying exactly where is another matter entirely.
Researching this is not a trivial task. For example OrderVerify.asp alone is over 2,500 lines of code and there are other areas of the code that would need identifying and then checking to see what changes that need to be made. There are 43 files that have mention of discountsperquantity many of which will need no changes, but there are others which do not mention the DB field (such as OrderVerify) which will need changes as they use values read by other files. |
|
![]() |
|
Hamish ![]() Admin Group ![]() Joined: 12-October-2006 Location: United Kingdom Status: Offline Points: 56 |
![]() ![]() ![]() ![]() ![]() |
PS - Don't be scared off completely by my last posting - it's far from impossible, it's just non-trivial.
|
|
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |