Results 1 to 4 of 4
  1. #1
    Join Date
    Jun 2005
    Location
    Temecula, CA, USA
    Posts
    18
    Plugin Contributions
    0

    help question Store Pick-Up / Walk-in

    Is there a way to make it so Store Pick-Up does not have Insurance added?

    Sub-Total: $41.90

    $3.25 CA Tax Rate:

    $0.00 Store Pickup (Walk In):

    $1.35 Mandatory Shipping Insurance:

    $46.50 Total:
    Tony
    When You Wish Magic
    http://www.whenyouwishmagic.com/store

  2. #2
    Join Date
    Mar 2004
    Posts
    16,042
    Plugin Contributions
    5

    Default Re: Store Pick-Up / Walk-in

    you will need an if switch put in the module

    if $this->order['shipping'] == walk-in {
    INS CODE HERE

    }
    Zen cart PCI compliant Hosting

  3. #3
    Join Date
    Oct 2004
    Location
    Southport, UK
    Posts
    4,244
    Plugin Contributions
    20

    Default Re: Store Pick-Up / Walk-in

    As a non-programmer, but willing to try... do me a favour please - can you re-write that line so that it works? I know enough to know that it should have brackets in the IF statement, but that's about it!

    I follow the logic, but am not very good with the code. Where/how do I find the correct identification of a shipping module? (Basically, I need to turn off insurance when either Store Walk In or Free Shipping are in force)

    If anyone can/is willing to help, then the file I'm trying to edit is attached and I'm starting at line 64!
    Attached Files Attached Files
    Development Manager @ JSWeb Ltd - suppliers of Applepay/Googlepay for Zencart
    20 years with Zencart !

  4. #4
    Join Date
    Oct 2004
    Location
    Southport, UK
    Posts
    4,244
    Plugin Contributions
    20

    Default Re: Store Pick-Up / Walk-in

    The answer (thankyou kuroi) is to insert the following at around line 65 of includes/modules/ot_total/ot_insurance.php (
    Code:
    if ($pass && $_SESSION['shipping']['id'] == 'storepickup_storepickup') {
    				$pass=false;
    				}

    This refers to JadeTrue's Optional Shipping Insurance mod
    Development Manager @ JSWeb Ltd - suppliers of Applepay/Googlepay for Zencart
    20 years with Zencart !

 

 

Similar Threads

  1. Shipping Method: Store Pickup (Walk In)
    By kb9k in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 14 Oct 2010, 04:16 AM
  2. Low order Fee exception for walk in store?
    By sparkbook in forum General Questions
    Replies: 3
    Last Post: 29 Sep 2010, 06:23 AM
  3. turning off walk in store option
    By earthlyinfo in forum Customization from the Admin
    Replies: 2
    Last Post: 30 Sep 2008, 07:45 AM
  4. Changing the Store Pickup (Walk In) Text
    By sports guy in forum Built-in Shipping and Payment Modules
    Replies: 2
    Last Post: 7 Aug 2007, 06:13 PM
  5. Using Zencart with a Real Walk in Store
    By milobloom in forum General Questions
    Replies: 1
    Last Post: 10 Jun 2007, 10:54 AM

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