Forums / Built-in Shipping and Payment Modules / discount for walk in....

discount for walk in....

Locked

Views: 1,498

Results 1 to 9 of 9
This thread is locked. New replies are disabled.
10 Oct 2007, 2:19 AM
#1
smallpigpig avatar

smallpigpig

New Zenner

Join Date:
Sep 2007
Posts:
79
Plugin Contributions:
0

discount for walk in....

Its me again!

I was just wondering if I can have a discount on the order if someone decides to pick up.

for example, I want to honor a 10% discount for customers who chooses to pick their order up.

now I tried putting -10% on shipping modules>store pick, but when I tested it, it says -$10 for shipping...

any ideas?

please and thank you

10 Oct 2007, 2:37 AM
#2
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: discount for walk in....

You should be able to customize the Store Pickup storepickup file by editing:
/includes/modules/shipping/storepickup.php

and locating the code:

    $this->quotes = array('id' => $this->code,
                          'module' => MODULE_SHIPPING_STOREPICKUP_TEXT_TITLE,
                          'methods' => array(array('id' => $this->code,
                                                   'title' => MODULE_SHIPPING_STOREPICKUP_TEXT_WAY,
                                                   'cost' => MODULE_SHIPPING_STOREPICKUP_COST)));

and changing it to read:

    $this->quotes = array('id' => $this->code,
                          'module' => MODULE_SHIPPING_STOREPICKUP_TEXT_TITLE,
                          'methods' => array(array('id' => $this->code,
                                                   'title' => MODULE_SHIPPING_STOREPICKUP_TEXT_WAY,
                                                   'cost' => -$_SESSION['cart']->show_total()*.10)));

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

10 Oct 2007, 2:44 AM
#3
smallpigpig avatar

smallpigpig

New Zenner

Join Date:
Sep 2007
Posts:
79
Plugin Contributions:
0

Re: discount for walk in....

thank you linda, I will try that out tonight!

11 Oct 2007, 4:36 AM
#4
smallpigpig avatar

smallpigpig

New Zenner

Join Date:
Sep 2007
Posts:
79
Plugin Contributions:
0

Re: discount for walk in....

linda:

when I put your code in, it works, but somehow the free shipping doesnt work anymore.

what I am setting is 8.50 flat shipping for anything under 99.99 after 100 its free..

would the code you gave me for walk in affect the paid shipping?

11 Oct 2007, 4:52 AM
#5
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: discount for walk in....

Are you using the Free Shipping Options freeoptions for a Free Shipping method?

Or, are you using the Shipping ot_shipping on Free orders >= XX.XX?

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

11 Oct 2007, 5:03 AM
#6
smallpigpig avatar

smallpigpig

New Zenner

Join Date:
Sep 2007
Posts:
79
Plugin Contributions:
0

Re: discount for walk in....

the second one

but if I do that, where do I put 8.50 charge for anything under 99.99

11 Oct 2007, 5:58 AM
#7
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: discount for walk in....

Using the Free Shipping in ot_shipping will turn off the Store Pickup storepickup ...

Using Zones could be set with:
Calculation Method: Price
Zone 1 Countries: 00
Zone 1 Shipping Table: 99.99:8.50,99999:0.00

And customize the text ...

Then the Store Pickup storepickup as defined above ...

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

11 Oct 2007, 6:21 AM
#8
smallpigpig avatar

smallpigpig

New Zenner

Join Date:
Sep 2007
Posts:
79
Plugin Contributions:
0

Re: discount for walk in....

WHOOOOHOOO

can I somehow have it saying "free shipping" or "flat shipping"

11 Oct 2007, 6:34 AM
#9
smallpigpig avatar

smallpigpig

New Zenner

Join Date:
Sep 2007
Posts:
79
Plugin Contributions:
0

Re: discount for walk in....

umm nevermind, i got it.. thanks linda, you are the best!