Page 32 of 42 FirstFirst ... 223031323334 ... LastLast
Results 311 to 320 of 415
  1. #311
    Join Date
    Jun 2007
    Posts
    474
    Plugin Contributions
    2

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

    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

  2. #312
    Join Date
    Mar 2006
    Posts
    477
    Plugin Contributions
    0

    Default Re: i have tons of debug logs

    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
    We sell ATV, Dirtbike, Streetbike, Snowmobile, Watercraft & Custom stickers & Banners. Check us out www.AD-DiscountPerformance.com

  3. #313
    Join Date
    Mar 2006
    Posts
    477
    Plugin Contributions
    0

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

    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
    We sell ATV, Dirtbike, Streetbike, Snowmobile, Watercraft & Custom stickers & Banners. Check us out www.AD-DiscountPerformance.com

  4. #314
    Join Date
    Jan 2004
    Posts
    66,419
    Blog Entries
    7
    Plugin Contributions
    81

    Default Re: i have tons of debug logs

    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.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

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

    Default Re: i have tons of debug logs

    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!)

  6. #316
    Join Date
    Aug 2010
    Location
    Hartland, MI
    Posts
    288
    Plugin Contributions
    3

    Default Re: i have tons of debug logs

    Just took a quick look at the file.
    My line 40 reads:
    Code:
    $this->num_zones = $geozones->RecordCount();
    you could remove $geozones->RecordCount(); and replace with the number of zones you use. Like so:
    Code:
    //$this->num_zones = $geozones->RecordCount();
    $this->num_zones = 4;
    I'm sure this is not the "right" way nor the "pretty" way but it should work

  7. #317
    Join Date
    Aug 2010
    Location
    Hartland, MI
    Posts
    288
    Plugin Contributions
    3

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

    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.

  8. #318
    Join Date
    Jun 2013
    Location
    Perth Western Australia
    Posts
    20
    Plugin Contributions
    0

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

    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.

  9. #319
    Join Date
    Jul 2012
    Posts
    347
    Plugin Contributions
    0

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

    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.

  10. #320
    Join Date
    Jul 2011
    Posts
    157
    Plugin Contributions
    4

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

    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.

 

 
Page 32 of 42 FirstFirst ... 223031323334 ... LastLast

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

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR