Forums / Built-in Shipping and Payment Modules / How do I restrict Store Pickup to just Arizona?

How do I restrict Store Pickup to just Arizona?

Views: 1,795

Results 1 to 11 of 11
8 Sep 2014, 1:28 AM
#1
vanhorn_s avatar

vanhorn_s

Zen Follower

Join Date:
Apr 2010
Posts:
283
Plugin Contributions:
0

How do I restrict Store Pickup to just Arizona?

After updating to 1.5.3, I started using store pickup as a shipping option. I have the zone set for Arizona, and it is showing up on all shipping estimates, including international. I want it to only show up for Arizona. What did I do wrong?
Thes are my settings:> Customer In Store Pick-up

Enable Store Pickup Shipping
True

Pickup Locations
Walk In

Shipping Cost
0.00

Tax Class
--none--

Tax Basis
Shipping

Shipping Zone
Arizona

Sort Order
1

redsautorehab.com

8 Sep 2014, 5:23 PM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: How do I restrict Store Pickup to just Arizona?

You have named your Zone as "Arizona" by typing that name into its description.
But what states did you link to that zone? (Click the Details button when looking at that zone, to see which country+state combinations you've associated with that zone).

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

8 Sep 2014, 7:05 PM
#3
vanhorn_s avatar

vanhorn_s

Zen Follower

Join Date:
Apr 2010
Posts:
283
Plugin Contributions:
0

Re: How do I restrict Store Pickup to just Arizona?

DrByte:

You have named your Zone as "Arizona" by typing that name into its description.
But what states did you link to that zone? (Click the Details button when looking at that zone, to see which country+state combinations you've associated with that zone).
Under zone definitions for Arizona:
Zone Definitions - Taxes, Payment and Shipping
Country Zone
United States Arizona

8 Sep 2014, 7:17 PM
#4
betsyrg avatar

betsyrg

New Zenner

Join Date:
Mar 2014
Location:
Potomac, Maryland
Posts:
1
Plugin Contributions:
0

Re: How do I restrict Store Pickup to just Arizona?

vanhorn_s:

Under zone definitions for Arizona:

I have a similar problem. My IT 'people' have create a test 1.5.3 site for me and I have notice that I cannot restrict by zone the display of Store Pickup on the Shipping Screen as well as Cash On Delivery on the payment screen. I have those two options assigned to a zone called "Owner's Pricing" which is associated to only 1 customer (me)! However, in the test site, these options come up all the time regards of how I sign on. Is there something that I too am missing?

9 Sep 2014, 7:36 AM
#5
frank18 avatar

frank18

Deceased

Join Date:
Nov 2007
Location:
Sunny Coast, Australia
Posts:
3,427
Plugin Contributions:
2

Re: How do I restrict Store Pickup to just Arizona?

BetsyRG:

I have a similar problem. My IT 'people' have create a test 1.5.3 site for me and I have notice that I cannot restrict by zone the display of Store Pickup on the Shipping Screen as well as Cash On Delivery on the payment screen. I have those two options assigned to a zone called "Owner's Pricing" which is associated to only 1 customer (me)! However, in the test site, these options come up all the time regards of how I sign on. Is there something that I too am missing?

This plugin may be a starting point: http://www.zen-cart.com/downloads.php?do=file&id=1702

It is designed for postcode restriction but could be modified for zones.

NOTE: We are sorry that Frank is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

23 Sep 2014, 11:06 AM
#6
chibipaw avatar

chibipaw

Zen Follower

Join Date:
Jul 2011
Posts:
167
Plugin Contributions:
0

Re: How do I restrict Store Pickup to just Arizona?

Looks like I have the same problem too. Ever since upgrading to 1.5.3 I've been having problems that revolves around the store pickup module.
Mind you, I've been using this module for a long time, pre 1.3.9 days. And Zones has been properly selected. So it's not a configuration issue.
Here's what I've observed:

  • Store Pickup option will be a selectable option once the module is on. Regardless of zone definition, or the user's billing or shipping address.
  • Numinix's Optional/Required Shipping Insurance 3.2.2 applies insurance fees to orders that have selected Store Pickup. Where as it didn't do that before.

I have two separate stores. They are both exhibiting the same problem after upgrading from 1.5.1 to 1.5.3

23 Sep 2014, 1:29 PM
#7
ajeh avatar

ajeh

Oba-san

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

Re: How do I restrict Store Pickup to just Arizona?

In the file:
/includes/modules/shipping/storepickup.php

Around line 57 add the code in **RED **below it:

    $this->enabled = ((MODULE_SHIPPING_STOREPICKUP_STATUS == 'True') ? true : false);
[B]    $this->update_status();
[/B]

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 Sep 2014, 9:14 PM
#8
frank18 avatar

frank18

Deceased

Join Date:
Nov 2007
Location:
Sunny Coast, Australia
Posts:
3,427
Plugin Contributions:
2

Re: How do I restrict Store Pickup to just Arizona?

Ajeh:

In the file:
/includes/shipping/storepickup.php

......

I think that should read /includes/**modules/**shipping/storepickup.php

NOTE: We are sorry that Frank is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

23 Sep 2014, 11:10 PM
#9
ajeh avatar

ajeh

Oba-san

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

Re: How do I restrict Store Pickup to just Arizona?

Thanks for the catch, frank18 ... :blush:

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!

24 Sep 2014, 9:58 PM
#10
chibipaw avatar

chibipaw

Zen Follower

Join Date:
Jul 2011
Posts:
167
Plugin Contributions:
0

Re: How do I restrict Store Pickup to just Arizona?

Well, that fixed the bug of zones not being restricted. . Now to on to the next thing. Mandatory insurance is now being applies.. that's another thread..
Once again, Thank you, Ajeh

Ajeh:

In the file:
/includes/modules/shipping/storepickup.php

Around line 57 add the code in **RED **below it:

$this->enabled = ((MODULE_SHIPPING_STOREPICKUP_STATUS == 'True') ? true : false);

[B] $this->update_status();
[/B]

24 Sep 2014, 10:27 PM
#11
ajeh avatar

ajeh

Oba-san

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

Re: How do I restrict Store Pickup to just Arizona?

You are most welcome ... thanks for the update that this is working for you ... :smile:

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!