ProductCart E-Commerce Solutions Homepage
Forum Home Forum Home > ProductCart > Customizing ProductCart
  New Posts New Posts RSS Feed - Help - Ignore QTY discounts for Customer Cats
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Help - Ignore QTY discounts for Customer Cats

 Post Reply Post Reply
Author
Message
rgergen View Drop Down
Newbie
Newbie


Joined: 01-December-2008
Status: Offline
Points: 0
Post Options Post Options   Thanks (0) Thanks(0)   Quote rgergen Quote  Post ReplyReply Direct Link To This Post Topic: Help - Ignore QTY discounts for Customer Cats
    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.  
Back to Top
Hamish View Drop Down
Admin Group
Admin Group


Joined: 12-October-2006
Location: United Kingdom
Status: Offline
Points: 56
Post Options Post Options   Thanks (0) Thanks(0)   Quote Hamish Quote  Post ReplyReply Direct Link To This Post Posted: 05-June-2009 at 7:34am
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.
Back to Top
rgergen View Drop Down
Newbie
Newbie


Joined: 01-December-2008
Status: Offline
Points: 0
Post Options Post Options   Thanks (0) Thanks(0)   Quote rgergen Quote  Post ReplyReply Direct Link To This Post Posted: 05-June-2009 at 9:17am
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.... )
Back to Top
rgergen View Drop Down
Newbie
Newbie


Joined: 01-December-2008
Status: Offline
Points: 0
Post Options Post Options   Thanks (0) Thanks(0)   Quote rgergen Quote  Post ReplyReply Direct Link To This Post Posted: 08-June-2009 at 1:21pm
Any suggestions?
Back to Top
Hamish View Drop Down
Admin Group
Admin Group


Joined: 12-October-2006
Location: United Kingdom
Status: Offline
Points: 56
Post Options Post Options   Thanks (0) Thanks(0)   Quote Hamish Quote  Post ReplyReply Direct Link To This Post Posted: 08-June-2009 at 1:30pm
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.
Back to Top
rgergen View Drop Down
Newbie
Newbie


Joined: 01-December-2008
Status: Offline
Points: 0
Post Options Post Options   Thanks (0) Thanks(0)   Quote rgergen Quote  Post ReplyReply Direct Link To This Post Posted: 08-June-2009 at 1:33pm
But couldnt it be suppressed to not execute the QTY discounts code within an if statement?

Back to Top
Hamish View Drop Down
Admin Group
Admin Group


Joined: 12-October-2006
Location: United Kingdom
Status: Offline
Points: 56
Post Options Post Options   Thanks (0) Thanks(0)   Quote Hamish Quote  Post ReplyReply Direct Link To This Post Posted: 08-June-2009 at 2:34pm
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.
Back to Top
Hamish View Drop Down
Admin Group
Admin Group


Joined: 12-October-2006
Location: United Kingdom
Status: Offline
Points: 56
Post Options Post Options   Thanks (0) Thanks(0)   Quote Hamish Quote  Post ReplyReply Direct Link To This Post Posted: 08-June-2009 at 2:35pm
PS - Don't be scared off completely by my last posting - it's far from impossible, it's just non-trivial. 
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.047 seconds.