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:
To this:Code:if ($_SESSION['shipping']['id'] = 'storepickup_storepickup')
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' && !IS_ADMIN_FLAG)
Hope this helps...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)
If you'd like to see it in action my test store is located @ TEST STORE
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.
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
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![]()
M.Valenti
Contemporary Artist - Entrepreneur
http://www.manuelavalenti.com - http://www.byvalenti.com
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....
Bookmarks