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
I agree... I had put this:
http://sicassracing.com/files/Screen...03%2009.23.gif
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.
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...
Re: Optional Shipping Insurance Module Support Thread...
If you'd like to see it in action my test store is located @ TEST STORE
Re: Optional Shipping Insurance Module Support Thread...
Nicely done :)
Quote:
Originally Posted by
mikestaps
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...
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
Re: Optional Shipping Insurance Module Support Thread...
Quote:
Originally Posted by
gingabox
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.
Re: Optional Shipping Insurance Module Support Thread...
Quote:
Originally Posted by
Marco B
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.
Thank you for your reply Marco. Really the only thing I am using it for is a $2.50 charge for a Signature Required at delivery option. I don't know if that is something I could do with your updates to the USPS module or not... but would be an awesome option (although probably not hugely popular).
Thanks again
Re: Optional Shipping Insurance Module Support Thread...
Has anyone any idea why "Amount Exempt From Fee" is not working? I have it setup to $200 and the shipping insurance box still shows on checkout pages. Isn't this suppose to remove the shipping insurance box as it assumes the package is already insured?
Breaking my head trying to make this work :no:
Re: Optional Shipping Insurance Module Support Thread...
What's the solution to this?
Thanks
Quote:
Originally Posted by
abcgiftcards
the module is great.
if a customer selects the option to insure his shipping on the order confirmation page it comes up as shipping insurance: $1.70
however, if the customer did not select to insure his shipping it comes up on the order confirmation page as shipping insurance: $0.00.
i would rather it be blank.
otherwise a customer who overlooked the option to select shipping insurance and sees on his confirmation page shipping insurance: $0.00 - he will think that he is getting the service for free.
all other modules that i installed (e.g. gift wrap, etc) they only show up on the order confirmation page if the option is selected.
Re: Optional Shipping Insurance Module Support Thread...
Quote:
Originally Posted by
JorgeR
What's the solution to this?
Thanks
Jorge-
I'm going to look at using the same theory that in post# 315 to accomplish this. I am also looking at making this compatible with Marco's USPS module, so it may take me a little while....