Forums / Addon Shipping Modules / Optional Shipping Insurance Module [Support Thread]

Optional Shipping Insurance Module [Support Thread]

Views: 168,604

Results 321 to 340 of 416
1 Oct 2014, 3:49 PM
#321
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Optional Shipping Insurance Module [Support Thread]

Try editing the file:
/includes/modules/order_total/ot_insurance.php

and add the code in RED:

[B]//[/B]if ($_SESSION['shipping']['id'] == 'storepickup_storepickup') {
[B]if (preg_match("/storepickup/i", $_SESSION['shipping']['id'])) {
[/B]

Does this correct your issues with Store Pickup?

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

8 Oct 2014, 8:19 AM
#322
chibipaw avatar

chibipaw

Zen Follower

Join Date:
Jul 2011
Posts:
167
Plugin Contributions:
0

Re: Optional Shipping Insurance Module [Support Thread]

Sorry about the delayed respond. Was traveling cross country on a trade show. Now that, I have a breather.
Yes, that apparently fixed the problem. Walking / Pickup now works properly like it had before. No doubt this should by default be change for the next update. Surprised that nobody else seem to have reported this problem so far.

Thank you again, Ajeh!

Ajeh:

Try editing the file:
/includes/modules/order_total/ot_insurance.php

and add the code in RED:

[B]//[/B]if ($_SESSION['shipping']['id'] == 'storepickup_storepickup') {
[B]if (preg_match("/storepickup/i", $_SESSION['shipping']['id'])) {
[/B]

> 
> Does this correct your issues with Store Pickup?
8 Oct 2014, 12:31 PM
#323
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Optional Shipping Insurance Module [Support Thread]

Thanks for the update that this change fixed it for you ... :smile:

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

2 Nov 2014, 4:14 PM
#324
doooomed avatar

doooomed

Zen Follower

Join Date:
Jun 2009
Posts:
275
Plugin Contributions:
0

Re: Optional Shipping Insurance Module [Support Thread]

Hello,

I am having trouble with install.sql for this mod. Using the SQL Query Executor I get the following error mesage... WARNING: An Error occurred, please refresh the page and try again.

V.1.5.1

Thanks for any advice!

2 Nov 2014, 4:18 PM
#325
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Optional Shipping Insurance Module [Support Thread]

What shipping module(s) are you using?

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

2 Nov 2014, 4:27 PM
#327
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Optional Shipping Insurance Module [Support Thread]

And the Shipping Module(s) you are using with it?

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

2 Nov 2014, 4:29 PM
#328
doooomed avatar

doooomed

Zen Follower

Join Date:
Jun 2009
Posts:
275
Plugin Contributions:
0

Re: Optional Shipping Insurance Module [Support Thread]

Ajeh:

And the Shipping Module(s) you are using with it?

USPS only

2 Nov 2014, 4:32 PM
#329
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Optional Shipping Insurance Module [Support Thread]

What version of Zen Cart are you using?

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

2 Nov 2014, 4:34 PM
#330
doooomed avatar

doooomed

Zen Follower

Join Date:
Jun 2009
Posts:
275
Plugin Contributions:
0

Re: Optional Shipping Insurance Module [Support Thread]

Ajeh:

What version of Zen Cart are you using?

v.1.5.1

2 Nov 2014, 4:43 PM
#331
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Optional Shipping Insurance Module [Support Thread]

You could try this Order Total module on post #14:
http://www.zen-cart.com/showthread.php?211448-USPS-Insurance&highlight=insurance

with the current USPS October 30, 2014 K6 update:
http://www.zen-cart.com/downloads.php?do=file&id=1292

This does overwrite the file:
/includes/modules/pages/checkout_shipping/header_php.php

and you should ignore the USPS K3 shipping module that is in that Zip file for the optional insurance ...

This will give the Optional Insurance amount the exact quote from USPS for insurance based on the USPS shipping method that the customer selects and give the customer an option to Opt-out of the insurance on the checkout_payment page ...

It requires no SQL changes to the database ...

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

2 Nov 2014, 5:41 PM
#332
doooomed avatar

doooomed

Zen Follower

Join Date:
Jun 2009
Posts:
275
Plugin Contributions:
0

Re: Optional Shipping Insurance Module [Support Thread]

Ajeh:

You could try this Order Total module on post #14:
http://www.zen-cart.com/showthread.php?211448-USPS-Insurance&highlight=insurance

with the current USPS October 30, 2014 K6 update:
http://www.zen-cart.com/downloads.php?do=file&id=1292

This does overwrite the file:
/includes/modules/pages/checkout_shipping/header_php.php

and you should ignore the USPS K3 shipping module that is in that Zip file for the optional insurance ...

This will give the Optional Insurance amount the exact quote from USPS for insurance based on the USPS shipping method that the customer selects and give the customer an option to Opt-out of the insurance on the checkout_payment page ...

It requires no SQL changes to the database ...

I updated the USPS mod although I am getting a message in admin/modules/shipping saying that a new version is available.

I have everything installed but I see no options or anything referring to insurance during checkout. The mod is turned on.

Thanks!

2 Nov 2014, 5:45 PM
#333
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Optional Shipping Insurance Module [Support Thread]

When in the Modules ... Shipping ... if you click on the USPS shipping module, what date do you see?

Go to your Zen Cart Admin and go to Tools ... Developers Tool Kit ...

In the bottom input box enter:
usps.php

Then, select Catalog ... click SEARCH ...

What comes up on the paths to the files and the lines for:

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

2 Nov 2014, 6:06 PM
#334
doooomed avatar

doooomed

Zen Follower

Join Date:
Jun 2009
Posts:
275
Plugin Contributions:
0

Re: Optional Shipping Insurance Module [Support Thread]

Ajeh:

When in the Modules ... Shipping ... if you click on the USPS shipping module, what date do you see?

Go to your Zen Cart Admin and go to Tools ... Developers Tool Kit ...

In the bottom input box enter:
usps.php

Then, select Catalog ... click SEARCH ...

What comes up on the paths to the files and the lines for:

Date is 2014-09-07

Line #12 : * @version $Id: usps.php 2014-09-07 ajeh Version K5 $

Line #13 : This module has been written for the usps.php shipping module March 7, 2014 K3 or newer

Line #13 : * @version $Id: usps.php 2014-09-07 ajeh Version K5 $

2 Nov 2014, 6:09 PM
#335
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Optional Shipping Insurance Module [Support Thread]

You need to download the USPS October 30, 2014 K6 version:
http://www.zen-cart.com/downloads.php?do=file&id=1292

then do the:

1 install to your server
2 REMOVE
3 INSTALL
4 Configure

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

2 Nov 2014, 6:37 PM
#336
doooomed avatar

doooomed

Zen Follower

Join Date:
Jun 2009
Posts:
275
Plugin Contributions:
0

Re: Optional Shipping Insurance Module [Support Thread]

Ajeh:

You need to download the USPS October 30, 2014 K6 version:
http://www.zen-cart.com/downloads.php?do=file&id=1292

then do the:

1 install to your server
2 REMOVE
3 INSTALL
4 Configure

I just did the above two more times using filezilla and got the same result. I tried using cpanel and success. Strange. Thanks for the patience, not sure what happened there.

I still do not see insurance though...

Thanks!

2 Nov 2014, 7:10 PM
#337
doooomed avatar

doooomed

Zen Follower

Join Date:
Jun 2009
Posts:
275
Plugin Contributions:
0

Re: Optional Shipping Insurance Module [Support Thread]

I've uninstalled and re installed the insurance mod and checked it file by file. Everything looks to be in order. The only mention of insurance is on step 2 of checkout...

Attachment 14648

Thanks!

2 Nov 2014, 7:58 PM
#338
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Optional Shipping Insurance Module [Support Thread]

Go to your Tools ... Developers Tool Kit ... and in the bottom input box enter:
insurance

and search the Catalog ...

What are the paths/files and lines that come up?

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

2 Nov 2014, 8:03 PM
#339
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Optional Shipping Insurance Module [Support Thread]

Acutally too much is shown ...

Do you see:

[TABLE="width: 95%, align: center"]
[TR="class: infoBoxContent"]
[TD="class: dataTableHeadingContent"][B]/includes/modules/pages/checkout_shipping/header_php.php[/B][/TD]
[/TR]
[TR]
[TD="class: main"]
Line #[B]158[/B] :             $quote[0]['methods'][0]['insurance'] = 0; 

Line #[B]169[/B] :                                 'insurance' => $quote[0]['methods'][0]['insurance']); [/TD]
[/TR]
[/TABLE]

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

2 Nov 2014, 8:04 PM
#340
doooomed avatar

doooomed

Zen Follower

Join Date:
Jun 2009
Posts:
275
Plugin Contributions:
0

Re: Optional Shipping Insurance Module [Support Thread]

Ajeh:

Go to your Tools ... Developers Tool Kit ... and in the bottom input box enter:
insurance

and search the Catalog ...

What are the paths/files and lines that come up?

includes/languages/english/modules/order_total/ot_optionalinsurance.php

includes/modules/order_total/ot_optionalinsurance.php

includes/modules/pages/checkout_shipping/header_php.php

includes/modules/payment/paypal/paypal_functions.php

includes/modules/payment/paypaldp.php

includes/modules/payment/paypalwpp.php

includes/modules/shipping/usps.php