Results 1 to 5 of 5
  1. #1
    Join Date
    May 2005
    Posts
    56
    Plugin Contributions
    0

    Default Pickup Options relative to Free Shipping options?

    Hey there,

    I can't tell you how much more I love zencart then OSC. Alright well the scenario i want is that when someone orders something $100+, the option for pick-up is possible; otherwise not visible. Obvioulsy this would be for those within my area (currently residing in Ontario) and have already set that. Just need to know if there is a way where i can set it to 'true' only when 'cost>$100'.

    Thanks to anyone and everyone who takes the time to try and help!

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

    Default Re: Pickup Options relative to Free Shipping options?

    Can you use the Free Shipping Option freeoption and set to Total >= 100.00 and then create a Zone for this?

    Now the Free Shipping Options freeoptions will only show when the order is over $100.00 and the Shipping Address is in the defined Zone ...
    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!

  3. #3
    Join Date
    May 2005
    Posts
    56
    Plugin Contributions
    0

    Default Re: Pickup Options relative to Free Shipping options?

    Thanks for the reply!

    But i think im being mis-understood. I would like the 'pick-up' option to show when price>=$100 and a specific zone is selected; not the 'free shipping' option. I would like to have 'Pick-up Options' just as 'free shipping' has 'free shipping optons'.

    Again thanks for taking the time to reply!

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

    Default Re: Pickup Options relative to Free Shipping options?

    Make a Zone that works with Store Pick Up ...

    Once you have that working, you can then customize Store Pickup to run only when the total is >= 100.00 by altering the:
    $this->enabled

    in the Store Pickup storepickup shipping module ...

    But first, get the Zone defined for it to work correctly as that is most important, then you can worry about the shipping module being further customized for the >= 100.00 ...
    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!

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

    Default Re: Pickup Options relative to Free Shipping options?

    An example of how to change the code would be changing the code from:
    PHP Code:
          $this->enabled = ((MODULE_SHIPPING_STOREPICKUP_STATUS == 'True') ? true false); 
    to read:
    PHP Code:
    // only run if order is over $100.00
        
    global $cart;
        if (!
    IS_ADMIN_FLAG) {
          
    $order_total_amount $_SESSION['cart']->show_total() - $_SESSION['cart']->free_shipping_prices();
        } else {
          
    $order_total_amount 0.00;
        }
        if (
    $order_total_amount >= 100) {
          
    $this->enabled = ((MODULE_SHIPPING_STOREPICKUP_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: 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!

 

 

Similar Threads

  1. Free Shipping w/ Options ONLY on Free Ship Items?
    By lincomatic in forum Built-in Shipping and Payment Modules
    Replies: 28
    Last Post: 24 Jul 2010, 02:20 PM
  2. Add Custom Shipping Options, like Store Pickup
    By minneapolis_dan in forum Built-in Shipping and Payment Modules
    Replies: 2
    Last Post: 12 Jun 2009, 04:36 PM
  3. Free Shipping Options
    By direwolf in forum Built-in Shipping and Payment Modules
    Replies: 3
    Last Post: 17 Jul 2008, 06:39 PM
  4. Shipping or pickup options
    By jenjen in forum Built-in Shipping and Payment Modules
    Replies: 2
    Last Post: 11 Dec 2007, 05:52 AM
  5. FREE Shipping options
    By underworldmagic in forum Built-in Shipping and Payment Modules
    Replies: 3
    Last Post: 10 Oct 2006, 01:57 AM

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