Sorry if this has already been answered, but I can't seem to sort it out.
How can the code be changed so that the insurance is preselected, but not required.I've been running in circles playing with the file to no avail.
-lindasdd
Printable View
Sorry if this has already been answered, but I can't seem to sort it out.
How can the code be changed so that the insurance is preselected, but not required.I've been running in circles playing with the file to no avail.
-lindasdd
still don't understand this one
[15-Oct-2012 13:36:42] PHP Warning: constant() [<a href='function.constant'>function.constant</a>]: Couldn't find constant MODULE_ORDER_TOTAL_INSURANCE_ZONE_5 in /home2/pwcforum/public_html/includes/modules/order_total/ot_insurance.php on line 43
http://www.zen-cart.com/downloads.php?do=file&id=232
i think something isn't matching up cause its for 1.3.8 can anyone help me and either take out zone 5 cause we don't use it anyway or help me update it so it will work with 1.5.1
Thanks
i installed this on 1.5.1 and now i get this error
[15-Oct-2012 13:36:42] PHP Warning: constant() [<a href='function.constant'>function.constant</a>]: Couldn't find constant MODULE_ORDER_TOTAL_INSURANCE_ZONE_5 in /home2/*******/public_html/includes/modules/order_total/ot_insurance.php on line 43
please help
Dashizna,
Click "Remove" on that module, and then click "install" and set it up again. That should clear up those messages which were caused by the way in which you did your upgrade.
Dashizna-
Take a look back at post#327...
I had to fill in ALL of the zones even if they are not being used. You could also go in to and edit the ot_insurance.php file to remove where it is looking for ZONE_5, but I wouldn't advise that if you are not comfortable working with the php files. (If you do this MAKE SURE TO BACK UP FIRST, just in case!)
Just took a quick look at the file.
My line 40 reads:
you could remove $geozones->RecordCount(); and replace with the number of zones you use. Like so:Code:$this->num_zones = $geozones->RecordCount();
I'm sure this is not the "right" way nor the "pretty" way but it should workCode://$this->num_zones = $geozones->RecordCount();
$this->num_zones = 4;
Linda-
If you change it from a radio button to a check box the customer should be able to uncheck it... I'll take a look at this tomorrow and get back with you.
Hi All,
I have installed the module on ZC version 1.5.1 and I can edit the mod in the admin area but nothing shows up in the store, no option 'check box' for the customer to select. I guess would like what I'm asking is does this mod work with version 1.5.1? I have the settings that I am using,
Shipping Insurance
Enable Insurance Module
True
Sort Order
500
Use Table Rates?
false
Alternate Insurance Type
percent
Insurance Percentage
1.5
Insurance Rate
$0.50
Increment Amount
$100.00
Amount Exempt From Fee
$0.00
Tax Class
--none--
No Insurance Fee on Virtual Products
true
No Insurance Fee on Gift Vouchers
true
No Insurance Fee on Free Shipping
true
Required Insurance Amount
$100.00
Insurance Zone 1
Australia
Zone 1 Insurance Table
50:1.65,100:2.05,200:2.45,300:4.60,400:5.50,500:6.40,600:7.30
Insurance Zone 2
Australia
Zone 2 Insurance Table
50:1.65,100:2.05,200:2.45,300:4.60,400:5.50,500:6.40,600:7.30
thanks Steve.
Hi folks,
I search each thread and could not find answer for this but I was able to figured this out and sharing here so it may be helpful for you all!
Insurance not required but optional and want to have insurance checkbox marked when page loads.
If customer don't want insurance they can simply uncheck box. Using this modification you can get more orders with insurance as box is already selected.
Do following:
Module>Order total >Ot_insurance
Open above mentioned file then press CTRL + F
and type "Checkbox" in search box and hit "ENTER"
Few lines above the line you saw with word "Checkbox" there is a field
$selected = (($_SESSION['opt_insurance'] == '1') ? true : false);
change it to
$selected = (($_SESSION['opt_insurance'] == '1') ? true : true);
If you have standard file with no changes then you can find it by searching for line
Any comment or question contact me Thanks.
Resurrecting this necro thread.
Had anyone noticed that this module no longer works properly with ZC 1.5.3?
insurance used to be exempted in 1.5.1 and prior for Walk-In Store Pickup orders, but after upgrade to 1.5.3, insurance is now added for Walk-In store pickup orders. This is reproducible in both of my shopping carts of different stores.
I know this issue was addressed early in page 9 of this thread, but looks like it might have resurfaced.
Currently running Zen-Cat 1.5.3. Optional Shipping Insurance Module version 3.2.2
Live shopping cart is here: http://www.harajukuhearts.com/
Any help would be appreciated.