Results 1 to 10 of 416

Hybrid View

  1. #1

    Default Re: Optional Shipping Insurance Module Support Thread...

    I solved this by putting a statement like the one below in bold red text just above the box they have to check to select the insurance:

    Do not add shipping insurance if your shipping method is this, that or the other, as shipping insurance is already included. (obviously you would replace "this", "that" or "the other" with the shipping methods that apply to your store).

    I don't want to sound like I don't care about my customers, because I do, but quite honestly if a statement in bold red text doesn't stand out well enough for them to see it, then so be it. At some point, customers need to be responsible for themselves and their online purchasing process.

    Quote Originally Posted by mikestaps View Post
    Does anyone know how I could run a check for what shipping option the customer has selected and possibly make this module not show up???
    i.e. If a customer selects UPS shipping the optional insurance mod does not show.
    We've been having a lot of customers add on optional USPS insurance to UPS orders. We've even modified the titles to try and help clarify this but I don't think people bother to read it, they just see insurance and click it!
    Thx
    Go that extra mile, you never know what's at the end of the road

    Empowerment Sanctuary

  2. #2
    Join Date
    Aug 2010
    Location
    Hartland, MI
    Posts
    303
    Plugin Contributions
    3

    Default Re: Optional Shipping Insurance Module Support Thread...

    Quote Originally Posted by ScriptJunkie View Post
    Do not add shipping insurance if your shipping method is this, that or the other, as shipping insurance is already included. (obviously you would replace "this", "that" or "the other" with the shipping methods that apply to your store).
    I agree... I had put this:


    But we are still getting the UPS orders with USPS insurance...
    Guess I need to add a little red to the text.

    I know there has to be a way to run an if {xxx} statement, but I'm still learning php.

  3. #3

    Default Re: Optional Shipping Insurance Module Support Thread...

    Yeah, a little red never hurts <grin>

    I agree, there is probably a way using an if statement, but I don't know enough about PHP to even hazard a guess.

    You could try posting your question directly to Numinix's website.

    Quote Originally Posted by mikestaps View Post
    I agree... I had put this:


    But we are still getting the UPS orders with USPS insurance...
    Guess I need to add a little red to the text.

    I know there has to be a way to run an if {xxx} statement, but I'm still learning php.
    Go that extra mile, you never know what's at the end of the road

    Empowerment Sanctuary

  4. #4
    Join Date
    Aug 2010
    Location
    Hartland, MI
    Posts
    303
    Plugin Contributions
    3

    Default Re: Optional Shipping Insurance Module Support Thread...

    For those interested:

    To make this module only work when the USPS shipping module is selected change the if statement at the beginning of the ot_insurance.php file from this:
    Code:
    if ($_SESSION['shipping']['id'] = 'storepickup_storepickup')
    To this:
    Code:
    if ($_SESSION['shipping']['id'] != 'usps_EXPRESS'
       && $_SESSION['shipping']['id'] != 'usps_PRIORITY'
       && $_SESSION['shipping']['id'] != 'usps_PARCEL'
       && !IS_ADMIN_FLAG)
    You would need to add more lines for other usps shipping options as needed, for example:
    Code:
    if ($_SESSION['shipping']['id'] != 'usps_EXPRESS'
       && $_SESSION['shipping']['id'] != 'usps_PRIORITY'
       && $_SESSION['shipping']['id'] != 'usps_PARCEL'
       && $_SESSION['shipping']['id'] != 'usps_FIRST CLASS'
       && $_SESSION['shipping']['id'] != 'usps_MEDIA'
       && !IS_ADMIN_FLAG)
    Hope this helps...

  5. #5
    Join Date
    Aug 2010
    Location
    Hartland, MI
    Posts
    303
    Plugin Contributions
    3

    Default Re: Optional Shipping Insurance Module Support Thread...

    If you'd like to see it in action my test store is located @ TEST STORE

  6. #6

    Default Re: Optional Shipping Insurance Module Support Thread...

    Nicely done :)


    Quote Originally Posted by mikestaps View Post
    For those interested:

    To make this module only work when the USPS shipping module is selected change the if statement at the beginning of the ot_insurance.php file from this:
    Code:
    if ($_SESSION['shipping']['id'] = 'storepickup_storepickup')
    To this:
    Code:
    if ($_SESSION['shipping']['id'] != 'usps_EXPRESS'
       && $_SESSION['shipping']['id'] != 'usps_PRIORITY'
       && $_SESSION['shipping']['id'] != 'usps_PARCEL'
       && !IS_ADMIN_FLAG)
    You would need to add more lines for other usps shipping options as needed, for example:
    Code:
    if ($_SESSION['shipping']['id'] != 'usps_EXPRESS'
       && $_SESSION['shipping']['id'] != 'usps_PRIORITY'
       && $_SESSION['shipping']['id'] != 'usps_PARCEL'
       && $_SESSION['shipping']['id'] != 'usps_FIRST CLASS'
       && $_SESSION['shipping']['id'] != 'usps_MEDIA'
       && !IS_ADMIN_FLAG)
    Hope this helps...
    Go that extra mile, you never know what's at the end of the road

    Empowerment Sanctuary

  7. #7
    Join Date
    Apr 2009
    Posts
    32
    Plugin Contributions
    0

    Default Re: Optional Shipping Insurance Module Support Thread...

    Hello all you kindly zenners,
    I read through every page in this topic and could not find a solution, but found others that had the same question I have. I am curious if anyone had found a solution to display the shipping insurance module below the shipping methods, rather than in the Order Details section. Just for reference we are using quick checkout.

    Thank you in advance
    Last edited by gingabox; 14 May 2011 at 10:06 AM.

  8. #8
    Join Date
    Dec 2006
    Location
    Australia
    Posts
    92
    Plugin Contributions
    1

    Default Re: Optional Shipping Insurance Module Support Thread...

    Quote Originally Posted by gingabox View Post
    I am curious if anyone had found a solution to display the shipping insurance module below the shipping methods, rather than in the Order Details section. Just for reference we are using quick checkout.

    Thank you in advance
    I'm working on updating the USPS Shipping module to include insurance quoting along with other optional services.
    If you intend to use USPS then that will meet your needs.

 

 

Similar Threads

  1. Optional Shipping Insurance Module Question
    By kminnich in forum Built-in Shipping and Payment Modules
    Replies: 0
    Last Post: 7 Oct 2008, 01:16 AM
  2. Optional Shipping Insurance Module
    By Darkwander in forum Addon Shipping Modules
    Replies: 2
    Last Post: 9 Oct 2006, 02:18 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