Zen Cart Logo
If this is your first visit, check our documentation. To post, register or login.

Discounts for "trade" customers?

Locked

Started by fabiola_and_singsing on 15 Feb 2009, 7:14 PM · Views: 1,574

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
15 Feb 2009, 7:14 PM
#1
Join Date:
Jan 2009
Location:
Oxford, UK
Posts:
7
Plugin Contributions:
0

Post #1 by fabiola_and_singsing

Hi

I'd like to implement a system whereby trade customers would get an X percent discount if their order is over Y value.

The discount pricing group system seemed to be the way to do this, as it doesn't require the customer to enter any kind of code and is automatic.. but I can't work out how to only make the discount occur if they spend more than a certain amount.

Any suggestions wonderful Zenoids?

15 Feb 2009, 7:31 PM
#2
fairestcape avatar

fairestcape

Totally Zenned

Join Date:
Mar 2008
Location:
Cape Town & London (depends on the season)
Posts:
2,957
Plugin Contributions:
0

Post #2 by fairestcape

While I am no expert on php, I think this could be achieved quite easily by using some nifty conditionals (IF > ELSE)...

IF the customer is part of a Group Pricing category AND his/her shopping cart value EXCEEDS £XYZ, then PROCEED TO CHECKOUT, ELSE display an ALERT MESSAGE.

You could probably find similar conditionals elsewhere, and hack then to suit your needs.