Page 2 of 2 FirstFirst 12
Results 11 to 20 of 20
  1. #11
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Switch from one shipping module to another dependent on product variables

    What all shipping modules are installed and what custom code have you added to them?
    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!

  2. #12
    Join Date
    Dec 2009
    Posts
    19
    Plugin Contributions
    0

    Default Re: Switch from one shipping module to another dependent on product variables

    Installed are Free shipping which applies to only a few items. Table, which I use for anything under .813 lbs and is limited to the lower 48 states. UPS, for all other shipments and USPS for alaska and Hawaii orders only per a zone only including them.
    The only custom mod was adding in the center section of code below from //added by to }.

    PHP Code:
      $this->tax_basis MODULE_SHIPPING_TABLE_TAX_BASIS;
        
    // disable only when entire cart is free shipping
        
    if (zen_get_shipping_enabled($this->code)) {
          
    $this->enabled = ((MODULE_SHIPPING_TABLE_STATUS == 'True') ? true false);
        }
        
    // added in by cs for table ship off switch
        
    global $cart;
        if (
    IS_ADMIN_FLAG == false && $_SESSION['cart']->show_weight() > 0.813) {
          
    $this->enabled false;
        }

        
        if (
    $this->enabled) {
          
    // check MODULE_SHIPPING_TABLE_HANDLING_METHOD is in
          
    $check_query $db->Execute("select configuration_value from " TABLE_CONFIGURATION " where configuration_key = 'MODULE_SHIPPING_TABLE_HANDLING_METHOD'");
          if (
    $check_query->EOF) {
            
    $db->Execute("insert into " TABLE_CONFIGURATION " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, set_function, date_added) values ('Handling Per Order or Per Box', 'MODULE_SHIPPING_TABLE_HANDLING_METHOD', 'Order', 'Do you want to charge Handling Fee Per Order or Per Box?', '6', '0', 'zen_cfg_select_option(array(\'Order\', \'Box\'), ', now())");
          }
        } 

  3. #13
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Switch from one shipping module to another dependent on product variables

    Which ones are showing together that should not be seen together?
    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!

  4. #14
    Join Date
    Dec 2009
    Posts
    19
    Plugin Contributions
    0

    Default Re: Switch from one shipping module to another dependent on product variables

    The table (orders less than .813lbs) and UPS (orders over .813lbs). The mod works until you pick a different address or adjust the weight above or below the .813lbs mark.

  5. #15
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Switch from one shipping module to another dependent on product variables

    Do you have some custom code in the UPS module to enable/disable it based on the weight?
    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!

  6. #16
    Join Date
    Dec 2009
    Posts
    19
    Plugin Contributions
    0

    Default Re: Switch from one shipping module to another dependent on product variables

    No mods in UPS.php.
    I see what is happening now, I imported most of my customer data from another shopping cart system. For some reason the states in their address info need to be opened and re saved in order for the zones to work properly. Since I have the table shipping option limited to my lower 48 state zone it isn't showing up unless the address is edited first. Looking in customer data the states look to be fine but they don't jive with the zones. I guess I need to either export, fix, and then re import the file or some how modify my zones to match what has been imported. While I am in communication with a person of your expertise, how would you recommend fixing 6000 customers states?
    Thanks
    Craig

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

    Default Re: Switch from one shipping module to another dependent on product variables

    I don't know the format of your old data for the other shopping cart ...

    You would need to run a translate for the data of some type to fix the old customer data to match the new customer data ...

    What are you importing the data from? There might be a translation program in the Free Software Add Ons ...
    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!

  8. #18
    Join Date
    Dec 2009
    Posts
    19
    Plugin Contributions
    0

    Default Re: Switch from one shipping module to another dependent on product variables

    It was some program called Candy Press. It was here when I got here. It took around 40 clicks to process an order. I have started searching, is there someway to open up the entire address book and edit the database?

  9. #19
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Switch from one shipping module to another dependent on product variables

    The database tables can be browsed in phpMyAdmin ...

    The table:
    address_book

    holds the address(es) of the customers ...
    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. #20
    Join Date
    Dec 2009
    Posts
    19
    Plugin Contributions
    0

    Default Re: Switch from one shipping module to another dependent on product variables

    Thanks Again Ajeh!!

 

 
Page 2 of 2 FirstFirst 12

Similar Threads

  1. v154 Passing variables FROM the store TO another portion of site
    By ShortHorse in forum General Questions
    Replies: 0
    Last Post: 26 Jun 2015, 06:02 PM
  2. v151 Import product from one ZC store to another
    By shags38 in forum General Questions
    Replies: 10
    Last Post: 7 Jun 2015, 06:21 AM
  3. Shipping method dependent on one product
    By mdo82 in forum Built-in Shipping and Payment Modules
    Replies: 1
    Last Post: 21 Feb 2011, 07:49 PM
  4. Dependent variables (javascript?)
    By travellers in forum Setting Up Categories, Products, Attributes
    Replies: 2
    Last Post: 26 Nov 2008, 06:20 PM
  5. how to copy attributes from one product to another?
    By gsdcypher in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 21 Jun 2007, 06:15 PM

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