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

Discount for people who pay online!

Locked

Started by buxton1 on 24 Jun 2009, 4:36 PM · Views: 1,561

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
24 Jun 2009, 4:36 PM
#1
buxton1 avatar

buxton1

New Zenner

Join Date:
Jun 2009
Posts:
51
Plugin Contributions:
0

Post #1 by buxton1

Hey Zenners,

Not sure if you can help me on this 1.

I am looking for a solution so that if people chose to pay online, they get a 15% discount, but if they chose to pay later (payment on collection) they have to pay the pull price.

Any ideas guys?

Thanks in advance!

24 Jun 2009, 5:07 PM
#2
kdb04d avatar

kdb04d

New Zenner

Join Date:
Feb 2009
Posts:
35
Plugin Contributions:
0

Post #2 by kdb04d

I dont know if there is a module that already does it but what payment method are you using for online payment?

24 Jun 2009, 5:09 PM
#3
buxton1 avatar

buxton1

New Zenner

Join Date:
Jun 2009
Posts:
51
Plugin Contributions:
0

Post #3 by buxton1

i think i am going to use the paypal website payment pro system, but i would consider using an alternative

24 Jun 2009, 5:21 PM
#4
kdb04d avatar

kdb04d

New Zenner

Join Date:
Feb 2009
Posts:
35
Plugin Contributions:
0

Post #4 by kdb04d

I have never tried this since i don't use paypal but go to MYSITE/includes/modules/payment open the paypal.php file then change this line from $this->totalsum = $order->info['total'];
to $this->totalsum = $order->info['total'] * 0.85; this should give you a 15 percent discount

24 Jun 2009, 5:22 PM
#5
buxton1 avatar

buxton1

New Zenner

Join Date:
Jun 2009
Posts:
51
Plugin Contributions:
0

Post #5 by buxton1

fantastic, i am waiting for my server upgrade tomorrow, but i will let you know how i get on!

thank you for your help!