Forums / General Questions / Free shipping PLUS walkin....

Free shipping PLUS walkin....

Started by chunkyman on 21 Apr 2012, 1:17 PM · Views: 3,047

Results 21 to 27 of 27
22 Apr 2012, 6:24 PM
#21
ajeh avatar

ajeh

Oba-san

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

Free shipping PLUS walkin....

Ajeh:

All other shipping modules should be removed by clicking on them and clicking REMOVE so that they are not installed ...
You need your Order Total modules for your shop ...

At a minimum you should have installed:
Shipping ot_shipping
Sub-Total ot_subtotal
Tax ot_tax
Total ot_total

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!

22 Apr 2012, 6:32 PM
#22
chunkyman avatar

chunkyman

New Zenner

Join Date:
Oct 2008
Posts:
22
Plugin Contributions:
0

Re: Free shipping PLUS walkin....

ok I did that...still only Pickup available on all orders.
Shall I send you the URl so that you can see please?

oh btw..I do not have any zones or tax classes setup as the item prices are entered including tax....could that be the reason??

Thanks

22 Apr 2012, 6:39 PM
#23
ajeh avatar

ajeh

Oba-san

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

Re: Free shipping PLUS walkin....

You may send me a PM and when I have time I will try to look at your site and the settings and see what is happening here ...

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!

22 Apr 2012, 6:54 PM
#24
ajeh avatar

ajeh

Oba-san

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

Re: Free shipping PLUS walkin....

Your settings were correct except for one ...

In the Configuration ... Shipping/Packaging ... you have 0 weight set to mean Free Shipping ... this is not what you want ... so, this needed to be changed:

Order Free Shipping 0 Weight Status
If there is no weight to the order, does the order have Free Shipping?
0= no
1= yes

Note: When using Free Shipping, Enable the Free Shipping Module this will only show when shipping is free.

See if it doesn't work better for you ...

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!

22 Apr 2012, 7:06 PM
#25
chunkyman avatar

chunkyman

New Zenner

Join Date:
Oct 2008
Posts:
22
Plugin Contributions:
0

Re: Free shipping PLUS walkin....

Hang on..let me just pull my foot out!!!
You are great!!! Was that it?
Geez....got to learn more about Zen heheh
Thanks again Linda..works perfectly now!!

May I ask you a couple of other questions which for you might be as dumb as my last problem :(

  1. I was reading your reply to this:
    http://www.zen-cart.com/showthread.p...ted-by-default
    You listed the file that would need changing for what this person is trying to achieve, I would like to do that to.
    Can you tell me how to change this file to achieve this please? (also make the Walkin show as DEFAULT)

you said you have to edit this file: /includes/classes/shipping.php

Code:
$cheapest = false;
$size = sizeof($rates);
for ($i=0; $i<$size; $i++) {
if (is_array($cheapest)) {
// never quote storepickup as lowest - needs to be configured in shipping module
if ($rates[$i]['cost'] < $cheapest['cost'] and $rates[$i]['module'] != 'storepickup') {
$cheapest = $rates[$i];
}
} else {
if ($rates[$i]['module'] != 'storepickup') {
$cheapest = $rates[$i];
}
}
}

  1. I have managed to replace the word "Shipping" from everywhere (I think) but i cannot find this anywhere. I even tried Firebug in Firefox but no luck.

I also tried to search using the deveopers kit in admin but didnt find it, any idea where this one (below) is please?

Attachment 10351

23 Apr 2012, 2:00 AM
#26
ajeh avatar

ajeh

Oba-san

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

Re: Free shipping PLUS walkin....

Set the Sort Order on the Shipping Modules so that the Store Pickup storepickup is 10 and Free Shipping Options freeoptions is 20 ...

Then edit the code in the:
/includes/classes/shipping.php

      for ($i=0; $i<$size; $i++) {
        if (is_array($cheapest)) {
          // never quote storepickup as lowest - needs to be configured in shipping module
//          if ($rates[$i]['cost'] < $cheapest['cost'] and $rates[$i]['module'] != 'storepickup') {
          if ($rates[$i]['cost'] < $cheapest['cost']) {

            $cheapest = $rates[$i];
          }
        } else {
//          if ($rates[$i]['module'] != 'storepickup') {
          if (true) {
            $cheapest = $rates[$i];
          }
        }
      }

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!

23 Apr 2012, 4:26 AM
#27
chunkyman avatar

chunkyman

New Zenner

Join Date:
Oct 2008
Posts:
22
Plugin Contributions:
0

Re: Free shipping PLUS walkin....

Hi Linda,

thank you again for your time..it works perfectly now!

I will try to post my second question in the main forum cause I think I have taken enough of your time!

Thanks again!