Page 3 of 4 FirstFirst 1234 LastLast
Results 21 to 30 of 34
  1. #21
    Join Date
    Sep 2008
    Location
    WA
    Posts
    555
    Plugin Contributions
    0

    Default Re: Sorry we are not shipping to your region at this time.

    I see that you made some progress? Maybe by turning off COWOA? I could checkout with New Zealand this am but not the US.

    lruskauff

  2. #22
    Join Date
    Dec 2008
    Location
    New Zealand
    Posts
    88
    Plugin Contributions
    1

    Default Re: Sorry we are not shipping to your region at this time.

    No, no movement here. I don't understand how you were able to ship to NZ, I wasn't when I finished last night.

    You asked what version of COWOA I am running - 2.4 - the latest.

    I currently have every shipping module turned on, green icons all down the list, no geographical restrictions except zone rates.

    When I go to check out, the only two options showing are store pickup, and one of the two free shipping options. echo zen_count_shipping_modules() returns 2.

    Is there some way I can diagnose what is actually happening within zencart? The flipping switches until something starts to work option doesn't seem to be getting anywhere.

    How/where does zencart decide what shipping modules are available for a given order?

  3. #23
    Join Date
    Jul 2012
    Posts
    16,732
    Plugin Contributions
    17

    Default Re: Sorry we are not shipping to your region at this time.

    For the most part, in the shipping module itself... The module uses the switches set in the admin modules->shipping and the code of the shipping module (includes/modules/shipping) to account for any desired "functionality".

    Look in the file, there is a class declaration then a function declaration for the class, so like class freeshipping followed by a function freeshipping. It is inside that function where the enablement/disablement primarily is addressed.

    As for watching what is going on with the store, might gain some insight by installing superglobals, but it seems to me like there have probably been too many constraints applied and it is causing one or more shipping modules not to be applicable.

    Could also compare those files to default versions of the same ZC version. If they are the same, then perhaps removing and then reinstalling them. Checked again recently to see what error logs have been generated in the logs folder?
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  4. #24
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Sorry we are not shipping to your region at this time.

    Quote Originally Posted by PatClay View Post
    Sleep well.

    I have done some digging in the code & looked at the tpl_checkout_shipping_default.php file.
    It says:
    Code:
    if (zen_count_shipping_modules() > 0) { 
    show some shipping options
    } ELSE {
    show a message I am getting sick of seeing
    }
    I added the following above the if:
    echo zen_count_shipping_modules();

    It returns 0. Add a couple of new shipping methods, still 0.

    So what it looks to me is that for some reason ZC does not see the shipping methods, so complains, rather than actually checking the zone & deciding that it doesn't like that zone. Though I could be wrong on this, my understanding of what happens under the hood is limited.
    Try adding an echo for MODULE_SHIPPING_INSTALLED. Is it blank, or does it contain a list of installed shipping modules? Post the list. Or if it's blank then please post the segment that defines the function zen_count_modules($modules = '') { from around line 619 in your /includes/functions/functions_general.php file. It's possible it might be using old code if you've got a plugin installed that puts an obsolete functions_general.php file on your site.
    .

    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.

  5. #25
    Join Date
    Dec 2008
    Location
    New Zealand
    Posts
    88
    Plugin Contributions
    1

    Default Re: Sorry we are not shipping to your region at this time.

    Sorry for the delay in getting back to everyone, I was away and had some other things come up.
    PHP Code:
    echo  zen_count_shipping_modules();
     echo 
    MODULE_SHIPPING_INSTALLED
    gives the following result:
    2flat.php;freeoptions.php;freeshipper.php;item.php;perweightunit.php;storepickup .php;table.php;zones.php

    The only 2 shipping options showing are:
    No delivery charge
    Walk in

    I am working on installing superglobals & will see if I can find anything else.

  6. #26
    Join Date
    Dec 2008
    Location
    New Zealand
    Posts
    88
    Plugin Contributions
    1

    Default Re: Sorry we are not shipping to your region at this time.

    I installed superglobals & checked out as a new customer

    The variables I found that look relevant are:
    customer_country_id (string) => 153
    customer_zone_id (string) => 301
    (these are both consitent with the info I saw in the database)

    Code:
    shipping (array)
    id (string) => freeshipper_freeshipper
    title (string) => FREE SHIPPING! (No Delivery Charge)
    cost (double) => 0
    module (string) => freeshipper
    
    Again, consistent with what I had seen to date
    
    flat (object: flat)
    code (string) => flat
    title (string) => Flat Rate
    description (string) => Flat Rate
    icon (string) =>
    enabled (NULL) =>
    sort_order (string) => 0
    tax_class (string) => 0
    tax_basis (string) => Shipping
    freeoptions (object: freeoptions)
    code (string) => freeoptions
    title (string) => Free Shipping Options
    description (string) => Free Options is used to display a Free Shipping option when other Shipping Modules are displayed.It can be based on: Always show, Order Total, Order Weight or Order Item Count.The Free Options module does not show when Free Shipper is displayed.<br /><br />Setting Total to >= 0.00 and <= nothing (leave blank) will activate this module to show with all shipping modules, except for Free Shipping - freeshipper.<br /><br />NOTE: Leaving all settings for Total, Weight and Item count blank will deactivate this module.<br /><br />NOTE: Free Shipping Options does not display if Free Shipping is used based on 0 weight is Free Shipping.See: freeshipper
    icon (string) =>
    enabled (NULL) =>
    ck_freeoptions_total (NULL) =>
    ck_freeoptions_weight (NULL) =>
    ck_freeoptions_items (NULL) =>
    sort_order (string) => 0
    tax_class (string) => 0
    tax_basis (string) => Shipping
    freeshipper (object: freeshipper)
    code (string) => freeshipper
    title (string) => FREE SHIPPING!
    description (string) => FREE SHIPPING
    icon (string) =>
    enabled (boolean) => 1
    sort_order (string) => 0
    tax_class (string) => 0
    quotes (array)
    id (string) => freeshipper
    module (string) => FREE SHIPPING!
    methods (array)
    0 (array)
    id (string) => freeshipper
    title (string) => No Delivery Charge
    cost (double) => 0
    item (object: item)
    code (string) => item
    title (string) => Per Item
    description (string) => Per Item
    icon (string) =>
    enabled (NULL) =>
    sort_order (string) => 0
    tax_class (string) => 0
    tax_basis (string) => Shipping
    perweightunit (object: perweightunit)
    code (string) => perweightunit
    title (string) => Per Unit
    description (string) => Per Unit
    icon (string) =>
    enabled (NULL) =>
    sort_order (string) => 0
    tax_class (string) => 0
    tax_basis (string) => Shipping
    storepickup (object: storepickup)
    code (string) => storepickup
    title (string) => Store Pickup
    description (string) => Customer In Store Pick-up
    icon (string) =>
    enabled (boolean) => 1
    sort_order (string) => 0
    tax_class (string) => 0
    tax_basis (string) => Shipping
    locations (array)
    0 (string) => Walk In
    methodsList (array)
    0 (array)
    id (string) => storepickup0
    title (string) => Walk In
    cost (string) => 0.00
    quotes (array)
    id (string) => storepickup
    module (string) => Store Pickup
    methods (array)
    0 (array)
    id (string) => storepickup0
    title (string) => Walk In
    cost (string) => 0.00
    table (object: table)
    code (string) => table
    title (string) => Standard Shipping
    description (string) => Standard Shipping
    icon (string) =>
    enabled (NULL) =>
    sort_order (string) => 0
    tax_class (string) => 0
    tax_basis (string) => Shipping
    zones (object: zones)
    code (string) => zones
    title (string) => Zone Rates
    description (string) => Zone Based Rates
    enabled (NULL) =>
    num_zones (integer) => 3
    sort_order (string) => 0
    icon (string) =>
    tax_class (string) => 0
    tax_basis (string) => Shipping
    shipping_modules (object: shipping)
    modules (array)
    0 (string) => flat.php
    1 (string) => freeoptions.php
    2 (string) => freeshipper.php
    3 (string) => item.php
    4 (string) => perweightunit.php
    5 (string) => storepickup.php
    6 (string) => table.php
    7 (string) => zones.php
    enabled (boolean) => 1
    abort_legacy_calculations (boolean) =>
    pass (boolean) => 1
    free_shipping (boolean) =>
    shipping_weight (integer) => 0
    shipping_quoted (string) =>
    shipping_num_boxes (integer) => 1
    quotes (array)
    0 (array)
    id (string) => freeshipper
    module (string) => FREE SHIPPING!
    methods (array)
    0 (array)
    id (string) => freeshipper
    title (string) => No Delivery Charge
    cost (double) => 0
    1 (array)
    id (string) => storepickup
    module (string) => Store Pickup
    methods (array)
    0 (array)
    id (string) => storepickup0
    title (string) => Walk In
    cost (string) => 0.00
    I can see in here that the two shipping methods which show have the following:
    enabled (boolean) => 1
    Those which don't have the following:
    enabled (NULL) =>

    I removed and then reinstalled flat rate with no restrictions, no change.

    Does the 'enabled' flag come before or after the zone has been compared? ie is this the cause of the problem or a symptom of it?

  7. #27
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Sorry we are not shipping to your region at this time.

    Originally, you said your only two shipping modules were Flat Rate flat with Sort Order 5 and Zone Rate zones with Sort Order 10 ...

    But now you say that you have MODULE_SHIPPING_INSTALLED showing as:
    Quote Originally Posted by PatClay View Post
    2flat.php;freeoptions.php;freeshipper.php;item.php;perweightunit.php;storepickup .php;table.php;zones.php
    Do you have all of these shipping modules installed?

    If you do, and you are not using them, click on each that you are not using and uninstall it ...

    If you are using them, or have them installed but disabled, again, ensure that each has its own unique Sort Order ...
    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: v1.5.5]
    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!

  8. #28
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Sorry we are not shipping to your region at this time.

    Sorry, I missed where you said you have turned everything on ...

    If you go to the Modules ... Shipping ... in your admin and click on Zone Rate zones, what are all of the settings that show in the right hand panel for this module?
    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: v1.5.5]
    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!

  9. #29
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Sorry we are not shipping to your region at this time.

    Thanks for posting the detailed info about how your zones are configured.
    Earlier you asked why payment stuff would have any impact on shipping. It doesn't. But zone definitions can be shared between both, or can be used for just one and not the other. The definitions don't trigger anything in and of themselves; they only fire if a tax class or payment or shipping module get tied to them, and then only for the ones which are tied to them.

    Most shipping modules assess the status of "enabled" immediately when they are instantiated, and that usually includes a test for any zone assignments/restrictions as per the configuration settings you've done for each shipping module via the admin modules screen.


    I'm mindful that others (above) have said they can go through checkout and get the correct results ... and that it's perhaps just you who's getting unexpected results.

    What are the exact steps we should take to trigger (witness, and consistently recreate) this problem on your site? Give specific addresses to use during checkout, and specific products to put in my cart.

    Further, are there any plugins (or code customizations) on your site that have been configured to give you special treatment as an administrator or when using your specific IP address?
    Can you give a complete list of plugins/addons on your site? You've already mentioned COWOA.
    .

    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.

  10. #30
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Sorry we are not shipping to your region at this time.

    I created an account on wekadesign and then added addresses for the US, Austraila, New Zealand and Canada ...

    The Australia address is odd in that it only shows my First and Last Name on the Address book, but if I edit it, it shows all the fields filled in ...

    If you go to your Admin to the Locations / Taxes ... Countries ... and click on Australia ... what do 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: v1.5.5]
    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!

 

 
Page 3 of 4 FirstFirst 1234 LastLast

Similar Threads

  1. Sorry, we are not shipping to your region at this time.
    By brentpet in forum Built-in Shipping and Payment Modules
    Replies: 4
    Last Post: 21 Nov 2012, 02:59 PM
  2. Sorry, we are not shipping to your region at this time
    By dust bowl in forum Built-in Shipping and Payment Modules
    Replies: 21
    Last Post: 17 Nov 2011, 06:10 PM
  3. Sorry we are not shipping to your region at this time
    By AirsoftOutfitter in forum Built-in Shipping and Payment Modules
    Replies: 2
    Last Post: 28 Jul 2011, 12:00 AM
  4. Sorry, we are not shipping to your region at this time.
    By newebirl in forum Basic Configuration
    Replies: 11
    Last Post: 3 Aug 2009, 07:06 PM
  5. Sorry, we are not shipping to your region at this time.
    By kkentert in forum Built-in Shipping and Payment Modules
    Replies: 1
    Last Post: 2 Dec 2006, 04:14 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR