Page 11 of 12 FirstFirst ... 9101112 LastLast
Results 101 to 110 of 118
  1. #101
    Join Date
    Nov 2007
    Location
    Sunny Coast, Australia
    Posts
    3,379
    Plugin Contributions
    9

    Default Re: Product Delivery by Postcode (PDP) - [Support]

    Quote Originally Posted by ewaite View Post
    ..... I pasted the code in just as described in this post and set the $ value to 250 the same as my free shipping option, but the local delivery option still shows up in delivery options. ...
    Sorry, don't quite understand what you mean, can you elaborate please.

  2. #102
    Join Date
    Jan 2006
    Location
    Dayton, Ohio USA
    Posts
    58
    Plugin Contributions
    0

    Default Re: Product Delivery by Postcode (PDP) - [Support]

    [QUOTE=frank18;1260614]Assuming your minimum order value is $100

    In the file includes/modules/shipping/localdelivery.php

    insert

    PHP Code:
    // bof: show local delivery when cart total is $100 or more 
          
    if (!IS_ADMIN_FLAG) { 
            if (
    $_SESSION['cart']->show_total() - $_SESSION['cart']->free_shipping_prices() > 100) { 
              
    $this->enabled true
            } 
          } 
    // eof: show local delivery when cart total is $100 or more 
    right after this line

    PHP Code:
    $this->enabled = ((MODULE_SHIPPING_LOCALDELIVERY_STATUS == 'True') ? true false); 


    Would there be a reason that this would not work in Version 1.5.5e. It is a clean install with just a couple plug ins added. The Local Delivery and Free Shipping work just as advertised, I am just trying to limit when Local delivery is available as an option. I pasted the code in just as described in this post and set the $ value to 250 the same as my free shipping option, but the local delivery option still shows up in delivery options no matter what the $ value of the order is.

    Any help would be appreciated,
    Thanks

  3. #103
    Join Date
    Nov 2007
    Location
    Sunny Coast, Australia
    Posts
    3,379
    Plugin Contributions
    9

    Default Re: Product Delivery by Postcode (PDP) - [Support]

    [QUOTE=ewaite;1334955]
    Quote Originally Posted by frank18 View Post
    Assuming your minimum order value is $100

    In the file includes/modules/shipping/localdelivery.php

    insert

    PHP Code:
    // bof: show local delivery when cart total is $100 or more 
          
    if (!IS_ADMIN_FLAG) { 
            if (
    $_SESSION['cart']->show_total() - $_SESSION['cart']->free_shipping_prices() > 100) { 
              
    $this->enabled true
            } 
          } 
    // eof: show local delivery when cart total is $100 or more 
    right after this line

    PHP Code:
    $this->enabled = ((MODULE_SHIPPING_LOCALDELIVERY_STATUS == 'True') ? true false); 


    Would there be a reason that this would not work in Version 1.5.5e. It is a clean install with just a couple plug ins added. The Local Delivery and Free Shipping work just as advertised, I am just trying to limit when Local delivery is available as an option. I pasted the code in just as described in this post and set the $ value to 250 the same as my free shipping option, but the local delivery option still shows up in delivery options no matter what the $ value of the order is.

    Any help would be appreciated,
    Thanks
    It will show up if the total in your cart is more than $100. Or - in your case - more than $250.

  4. #104
    Join Date
    Jan 2006
    Location
    Dayton, Ohio USA
    Posts
    58
    Plugin Contributions
    0

    Default Re: Product Delivery by Postcode (PDP) - [Support]

    I have my Free shipping option set at >=250 , I would also like to set the "Local Delivery" option to only be available for specific orders >=250. The local delivery is showing as an option for any order placed within my accepted local postal codes. It is working as designed, I am just trying to make it less available.

  5. #105
    Join Date
    Nov 2007
    Location
    Sunny Coast, Australia
    Posts
    3,379
    Plugin Contributions
    9

    Default Re: Product Delivery by Postcode (PDP) - [Support]

    Quote Originally Posted by ewaite View Post
    I have my Free shipping option set at >=250 , I would also like to set the "Local Delivery" option to only be available for specific orders >=250. The local delivery is showing as an option for any order placed within my accepted local postal codes. It is working as designed, I am just trying to make it less available.
    If you don't want localdelivery to show when the total in your cart is below a set amount then use this

    PHP Code:
    // bof:  hide local delivery when cart total is less than $250 
          
    if (!IS_ADMIN_FLAG) { 
            if (
    $_SESSION['cart']->show_total() - $_SESSION['cart']->free_shipping_prices() < 250) { 
              
    $this->enabled false
            } 
          } 
    // eof: hide local delivery when cart total is less than $250 
    That should do the trick for you.

  6. #106
    Join Date
    Jan 2006
    Location
    Dayton, Ohio USA
    Posts
    58
    Plugin Contributions
    0

    Default Re: Product Delivery by Postcode (PDP) - [Support]

    Quote Originally Posted by frank18 View Post
    If you don't want localdelivery to show when the total in your cart is below a set amount then use this

    PHP Code:
    // bof:  hide local delivery when cart total is less than $250 
          
    if (!IS_ADMIN_FLAG) { 
            if (
    $_SESSION['cart']->show_total() - $_SESSION['cart']->free_shipping_prices() < 250) { 
              
    $this->enabled false
            } 
          } 
    // eof: hide local delivery when cart total is less than $250 
    That should do the trick for you.

    That fixed it thanks frank18,

    I tried changing that to false but I think I left the out the space.

  7. #107
    Join Date
    Apr 2006
    Location
    Midland TX
    Posts
    428
    Plugin Contributions
    0

    Default Re: Product Delivery by Postcode (PDP) - [Support]

    If you are logged in as a customer "Store Pickup" will show on "Your Shopping Cart Contents" page when customer Postcode is NOT allowed.

    Have Local delivery set to... False, not using

    Have Store Pickup Shipping set to... True
    Pickup Locations ...Walk In
    Postcodes Allowed ...79701,79703,79704,79705,79706,79707,79713,79714,79720,79739,79741,79756,79759 ,79761,79762,79763,79764,79765,79766,79776,79777,79778,79782
    Shipping Cost... 1.80
    Tax Class --none--
    Tax Basis... Shipping
    Shipping Zone --none--
    Sort Order... 0


    Is "Store Pickup" supposed to show as available on "Your Shopping Cart Contents" page when you are logged in as a customer and customer is outside the pickup area?
    My shopping cart TEXAS is showing "Store Pickup (Walk In)" available for customer in AB Canada.
    Once you click on the "Checkout Page" "Store Pickup (Walk In)" is not available as it should be.

    Does anyone know how to fix?
    Last edited by EZorb; 9 Sep 2017 at 01:46 AM.

  8. #108
    Join Date
    Nov 2007
    Location
    Sunny Coast, Australia
    Posts
    3,379
    Plugin Contributions
    9

    Default Re: Product Delivery by Postcode (PDP) - [Support]

    Quote Originally Posted by EZorb View Post
    If you are logged in as a customer "Store Pickup" will show on "Your Shopping Cart Contents" page when customer Postcode is NOT allowed.

    Have Local delivery set to... False, not using

    Have Store Pickup Shipping set to... True
    Pickup Locations ...Walk In
    Postcodes Allowed ...79701,79703,79704,79705,79706,79707,79713,79714,79720,79739,79741,79756,79759 ,79761,79762,79763,79764,79765,79766,79776,79777,79778,79782
    Shipping Cost... 1.80
    Tax Class --none--
    Tax Basis... Shipping
    Shipping Zone --none--
    Sort Order... 0


    Is "Store Pickup" supposed to show as available on "Your Shopping Cart Contents" page when you are logged in as a customer and customer is outside the pickup area?
    My shopping cart TEXAS is showing "Store Pickup (Walk In)" available for customer in AB Canada.
    Once you click on the "Checkout Page" "Store Pickup (Walk In)" is not available as it should be.

    Does anyone know how to fix?
    The shipping estimator page has been left unchanged, so, yes it will show there even if an address way outside the defined local delivery (store pickup) range is selected in the dropdown.

    If that is an issue, you would need to hack into a ZC core file, namely includes/modules/shipping_estimator.php .

  9. #109
    Join Date
    Apr 2006
    Location
    Midland TX
    Posts
    428
    Plugin Contributions
    0

    Default Re: Product Delivery by Postcode (PDP) - [Support]

    Quote Originally Posted by frank18 View Post
    The shipping estimator page has been left unchanged, so, yes it will show there even if an address way outside the defined local delivery (store pickup) range is selected in the dropdown.

    If that is an issue, you would need to hack into a ZC core file, namely includes/modules/shipping_estimator.php .
    It just makes your Plugin look a little strange to offer Store Pick when customer is too far away to pick up. Shouldn't the core be changed permanently? Didn't the original plugin also do this?
    Anyway it does not cause this problem on the Checkout page, thank you for that.

  10. #110
    Join Date
    Nov 2007
    Location
    Sunny Coast, Australia
    Posts
    3,379
    Plugin Contributions
    9

    Default Re: Product Delivery by Postcode (PDP) - [Support]

    Quote Originally Posted by EZorb View Post
    It just makes your Plugin look a little strange to offer Store Pick when customer is too far away to pick up. Shouldn't the core be changed permanently? Didn't the original plugin also do this?
    Anyway it does not cause this problem on the Checkout page, thank you for that.
    Could also be done in includes/templates/YOUR_TEMPLATE/templates/tpl_modules_shipping_estimator.php which is not a core file. Need to look into that if/when I get some spare time (scarce these days).

 

 
Page 11 of 12 FirstFirst ... 9101112 LastLast

Similar Threads

  1. Order Delivery Date Support Thread
    By mrmeech in forum Managing Customers and Orders
    Replies: 534
    Last Post: 16 Jul 2021, 12:36 AM
  2. v151 Store Pickup by Delivery Postcode
    By frank18 in forum Addon Shipping Modules
    Replies: 5
    Last Post: 24 Jun 2013, 10:27 AM
  3. v150 Delivery Charge by Australian Postcode
    By melbflor in forum Built-in Shipping and Payment Modules
    Replies: 5
    Last Post: 7 Apr 2012, 07:43 AM
  4. Delivery postcode
    By evil turinp in forum Built-in Shipping and Payment Modules
    Replies: 1
    Last Post: 8 Nov 2010, 08:26 PM
  5. Wanted - Local Delivery by Postcode
    By Ryk in forum Addon Shipping Modules
    Replies: 18
    Last Post: 19 May 2010, 01:59 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