Forums / Built-in Shipping and Payment Modules / Canada free local ship else flat rate

Canada free local ship else flat rate

Views: 6,478

Results 1 to 20 of 67
30 Apr 2014, 2:12 PM
#1
plc613 avatar

plc613

Zen Follower

Join Date:
Apr 2014
Location:
Canada
Posts:
249
Plugin Contributions:
0

Canada free local ship else flat rate

This seemed like a simple thing until I realized it wasn't working. I've also read all the posts I could find on the subject but none I found were in Canada...

1)I'm in Canada so my zones, tax-wise, are provincial
2)The area I'm trying to offer local shipping in is a city contained within a province I'm forcing flat rate shipping on

I've concluded I have to use freeshipper since this is not weight/item related. Table shipping seemed to offer a plausible similar scenario but I still couldn't get it to show at checkout either.

Seems to me that there's a tug of war between flat rate and freeshipper since the city is within the province.

Steps taken so far:
a)created a zone and zone definition with corresponding city
b)tax class and rate --dial showing green
c)added freeshipper and set to shipping zone accordingly(I tried both with and w/o class since there's no charge I don't see the point in having a class for it)

Despite that the checkout doesn't offer the free shipping as expected using a test account in that city.

30 Apr 2014, 2:43 PM
#2
ajeh avatar

ajeh

Oba-san

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

Re: Canada free local ship else flat rate

FREE SHIPPING freeshipper is designed for when the shipping is Free for everyone ...

You are trying to have the Free shipping just for the one Zone ...

What should happen on this Product for everyone else not in your Zone for Free Shipping?

What shipping module(s) do you have installed right now?

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!

30 Apr 2014, 2:55 PM
#3
plc613 avatar

plc613

Zen Follower

Join Date:
Apr 2014
Location:
Canada
Posts:
249
Plugin Contributions:
0

Re: Canada free local ship else flat rate

Ajeh:

FREE SHIPPING freeshipper is designed for when the shipping is Free for everyone ...

You are trying to have the Free shipping just for the one Zone ...
Yes

Ajeh:

What should happen on this Product for everyone else not in your Zone for Free Shipping?

What shipping module(s) do you have installed right now?

Flat rate should apply. However, as mention these two zones overlap because my flat rate is provincial and my free local is a city within that province.

30 Apr 2014, 2:59 PM
#4
plc613 avatar

plc613

Zen Follower

Join Date:
Apr 2014
Location:
Canada
Posts:
249
Plugin Contributions:
0

Re: Canada free local ship else flat rate

Arguably(not that I actual want to argue but...)

Why then is this mentioned in the options for FREE SHIPPING freeshipper!?

Shipping Zone
If a zone is selected, only enable this shipping method for that zone.

30 Apr 2014, 3:03 PM
#5
ajeh avatar

ajeh

Oba-san

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

Re: Canada free local ship else flat rate

The Zone is there for coders who need to write custom code utilizing the Zone, but the normal site will not use this as it won't work without custom code ...

I will have to think on your current issue a bit and will try to get back to this later this afternoon when I get back, if someone has not jumped in with a solution before then ...

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!

30 Apr 2014, 3:10 PM
#6
plc613 avatar

plc613

Zen Follower

Join Date:
Apr 2014
Location:
Canada
Posts:
249
Plugin Contributions:
0

Re: Canada free local ship else flat rate

Ajeh:

The Zone is there for coders who need to write custom code utilizing the Zone, but the normal site will not use this as it won't work without custom code ...

I see. Not that this is up to you but I'd highly recommend some mention to that regard. Otherwise it's quite misleading.

Ajeh:

I will have to think on your current issue a bit and will try to get back to this later this afternoon when I get back, if someone has not jumped in with a solution before then ...

Thank you for the consideration. I appreciate your time.

I'm also surprised this hasn't come up in the past. Perhaps ppl are tweaking in-store pickup for this purpose!? The area I'm trying to make free shipping is my place of residence. I plan to hand deliver the products purchased in this city. It's a small enough town and I see value in getting to know my clientèle.

30 Apr 2014, 4:24 PM
#7
ajeh avatar

ajeh

Oba-san

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

Re: Canada free local ship else flat rate

Are you able to build a Zone Definition for everywhere besides your local Zone and set it for your Flat Rate flat shipping module?

If you install the Free Shipping Options freeoptions and set your Zone to your local Zone Definition and set Total >= 0, does this work for you on the local Zone?

If you cannot exclude your local Zone from the Flat Rate, does having both shipping modules show, as most should pick the Free Shipping Options when available ...

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!

30 Apr 2014, 8:03 PM
#8
plc613 avatar

plc613

Zen Follower

Join Date:
Apr 2014
Location:
Canada
Posts:
249
Plugin Contributions:
0

Re: Canada free local ship else flat rate

Ajeh:

Are you able to build a Zone Definition for everywhere besides your local Zone and set it for your Flat Rate flat shipping module?
Unless I'm mistaken this means building a zone with every single city in canada except my hometown. Can I? Yes. Will I? Perhaps not.

[QUOTE=Ajeh;1245513]If you install the Free Shipping Options freeoptions and set your Zone to your local Zone Definition and set Total >= 0, does this work for you on the local Zone?

Despite this mention:

NOTE: Leaving all settings for Total, Weight and Item count blank will deactivate this module.
I did try that and it did not show.

Ajeh:

If you cannot exclude your local Zone from the Flat Rate, does having both shipping modules show, as most should pick the Free Shipping Options when available ...

That's what I was hoping for but no, it doesn't show up.

30 Apr 2014, 8:06 PM
#9
plc613 avatar

plc613

Zen Follower

Join Date:
Apr 2014
Location:
Canada
Posts:
249
Plugin Contributions:
0

Re: Canada free local ship else flat rate

FYI...I've been getting by with offering locals a coupon. But then for those I don't reach with the coupon they will inevitably(and unfairly) pay the flat rate. So it's is a band aid fix. And barely at that.

30 Apr 2014, 8:09 PM
#10
plc613 avatar

plc613

Zen Follower

Join Date:
Apr 2014
Location:
Canada
Posts:
249
Plugin Contributions:
0

Re: Canada free local ship else flat rate

Just realized...

Despite this mention:
NOTE: Leaving all settings for Total, Weight and Item count blank will deactivate this module.
I did try that and it did not show.

Perhaps I could circumvent this by putting a value lesser than the logical minimum in each field? ie '1'

30 Apr 2014, 11:30 PM
#11
plc613 avatar

plc613

Zen Follower

Join Date:
Apr 2014
Location:
Canada
Posts:
249
Plugin Contributions:
0

Re: Canada free local ship else flat rate

Okay so adding values didn't help either.

I don't quite understand why this:

Setting Total to >= 0.00 and <= nothing (leave blank) will activate this module to show with all shipping modules

Doesn't work alongside flat rate?

Also, I should add that if I disable flat rate this leaving only freeoptions I'm presented with nothing at all. So perhaps that's an indication that I haven't setup my zones/rates properly?

1 May 2014, 1:27 PM
#12
ajeh avatar

ajeh

Oba-san

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

Re: Canada free local ship else flat rate

Let's check a few things ...

From what you have said, it sounds like none of your Products have weight, correct?

You say there is a Zone that you want for Free Shipping ... what is the criteria for that Zone? How would you determine the customers who get Free Shipping from their shipping address?

Is shipping working correctly for everyone outside of these customers who should get Free Shipping?

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!

1 May 2014, 2:42 PM
#13
plc613 avatar

plc613

Zen Follower

Join Date:
Apr 2014
Location:
Canada
Posts:
249
Plugin Contributions:
0

Re: Canada free local ship else flat rate

Ajeh:

From what you have said, it sounds like none of your Products have weight, correct?
Yes.

Ajeh:

How would you determine the customers who get Free Shipping from their shipping address?
That's the idea since we're offering free shipping specifically to one city.

Ajeh:

Is shipping working correctly for everyone outside of these customers who should get Free Shipping?
Yes.

Just for reference, I changed the freeoptions to the province(Ontario) the city(Cornwall) is in and voila! The option for flat and free are both available. So at least we know the basics are properly configured. So the only issue is, as it were, the fact that Cornwall is within Ontario. And I do not want to offer free shipping to the whole province.

1 May 2014, 2:48 PM
#14
plc613 avatar

plc613

Zen Follower

Join Date:
Apr 2014
Location:
Canada
Posts:
249
Plugin Contributions:
0

Re: Canada free local ship else flat rate

Also, I just tested changing provinces(while free shipping was offered to a specific province) to see if free shipping would be revoked and it was.

1 May 2014, 3:09 PM
#15
ajeh avatar

ajeh

Oba-san

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

Re: Canada free local ship else flat rate

If you edit the shipping module:
/includes/modules/shipping/freeoptions.php

and add the code in RED:

[B]// bof: check for CORNWALL
if ($check_flag == true) {
  if (strtoupper($order->delivery['delivery_city']) != 'CORNWALL') {
    $check_flag = false;
  }
}
// eof: check for CORNWALL
[/B]
        if ($check_flag == false) {
          $this->enabled = false;
        }

Does that make the Free Shipping Options freeoptions shipping module only work for the city of Cornwall?

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!

1 May 2014, 4:58 PM
#16
plc613 avatar

plc613

Zen Follower

Join Date:
Apr 2014
Location:
Canada
Posts:
249
Plugin Contributions:
0

Re: Canada free local ship else flat rate

Unfortunately, it still doesn't show.

1 May 2014, 5:00 PM
#17
ajeh avatar

ajeh

Oba-san

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

Re: Canada free local ship else flat rate

Go to the Modules ... Shipping ... and click on the Free Shipping Options freeoptions and post what you see in the right hand panel ...

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!

1 May 2014, 5:10 PM
#18
plc613 avatar

plc613

Zen Follower

Join Date:
Apr 2014
Location:
Canada
Posts:
249
Plugin Contributions:
0

Re: Canada free local ship else flat rate

Okay. Here you go:

Enable Free Options Shipping
True

Shipping Cost

Handling Fee

Total >=
0.00

Total <=

Weight >=

Weight <=

Item Count >=

Item Count <=

Tax Class
HST Cornwall

Tax Basis
Shipping

Shipping Zone
HST 13% Cornwall

Sort Order
0

1 May 2014, 5:17 PM
#19
ajeh avatar

ajeh

Oba-san

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

Re: Canada free local ship else flat rate

In your Zone Definitions ... what do you have in the DETAILS for:
HST 13% Cornwall

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!

1 May 2014, 5:21 PM
#20
plc613 avatar

plc613

Zen Follower

Join Date:
Apr 2014
Location:
Canada
Posts:
249
Plugin Contributions:
0

Re: Canada free local ship else flat rate

Country: Canada
Zone: Cornwall