Page 5 of 5 FirstFirst ... 345
Results 41 to 43 of 43
  1. #41
    Join Date
    Mar 2006
    Location
    The Netherlands
    Posts
    93
    Plugin Contributions
    0

    Default Re: Different Shipping Options for Different Customer Types

    Thank you for your reply:

    This is what i got when i tried different places to put in the code:

    [27-Mar-2013 10:58:47 Europe/Berlin] PHP Fatal error: Call to a member function Execute() on a non-object in /public_html/clean/includes/modules/shipping/zones.php on line 116

    [27-Mar-2013 11:07:33 Europe/Berlin] PHP Fatal error: Call to a member function Execute() on a non-object in /public_html/clean/includes/modules/shipping/zones.php on line 116

    [27-Mar-2013 11:08:07 Europe/Berlin] PHP Parse error: syntax error, unexpected ';', expecting T_FUNCTION in /public_html/clean/includes/modules/shipping/zones.php on line 348

    [27-Mar-2013 11:08:16 Europe/Berlin] PHP Parse error: syntax error, unexpected ';', expecting T_FUNCTION in /public_html/clean/includes/modules/shipping/zones.php on line 348

    [27-Mar-2013 11:25:46 Europe/Berlin] PHP Fatal error: Call to a member function Execute() on a non-object in /public_html/clean/includes/modules/shipping/zones.php on line 138


    [27-Mar-2013 11:34:57 Europe/Berlin] PHP Fatal error: Call to a member function Execute() on a non-object in /public_html/clean/includes/modules/shipping/zones.php on line 142

  2. #42
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Different Shipping Options for Different Customer Types

    Below the line:
    Code:
          if (!IS_ADMIN_FLAG) {
    add the code:
    Code:
          if (!IS_ADMIN_FLAG) {
            global $db; 
    
    Add all of the code around 116 below the code:
    Code:
          // disable only when entire cart is free shipping
          if (zen_get_shipping_enabled($this->code)) {
            $this->enabled = ((MODULE_SHIPPING_ZONES_STATUS == 'True') ? true : false);
          }
    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!

  3. #43
    Join Date
    Mar 2006
    Location
    The Netherlands
    Posts
    93
    Plugin Contributions
    0

    Default Re: Different Shipping Options for Different Customer Types

    Thank you !!!!

    For now its working.

    Now i go make a second set shipping modules for regular customers.

 

 
Page 5 of 5 FirstFirst ... 345

Similar Threads

  1. Replies: 2
    Last Post: 27 Oct 2010, 01:45 PM
  2. How can I have different payment options for different shipping options?
    By Liamv in forum Built-in Shipping and Payment Modules
    Replies: 7
    Last Post: 18 Feb 2010, 04:32 AM
  3. Payment & Shipping Module - need different options for different parts of store
    By obkb in forum Built-in Shipping and Payment Modules
    Replies: 3
    Last Post: 21 Jan 2009, 12:04 PM
  4. Different shipping methods for different product types?
    By talisman-studios in forum Built-in Shipping and Payment Modules
    Replies: 0
    Last Post: 17 Sep 2008, 04:59 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