olsonsp4c 0 Posted November 12, 2008 Thank you Scott! ;) I'll play around with the other edits until I except defeat LOL. one hint - I looked through the code of includes/modules/shipping/usps.php I don't think that the other edits are handled there - I looked in includes/classes/shipping.php and couldn't find it either - it's got to be handles elsewhere - also, the default coding makes both of the checkout_confirmation page display the SAME variable, so you'd have to find where the variable is set to begin with (in a function perhaps) and find a way to create a 2nd variable for the U.S.P.S. = total part while placing a "\n" in the existing variable to create the line break. When I looked at the usps.php file, I thought that: if ($time != '') $transittime[$service] = ': ' . $time . ''; You could try modifying this line: $shiptitle = ' (' . $shipping_num_boxes . ' x ' . $shipping_weight . 'lbs)'; to: $shiptitle = ' (' . $shipping_num_boxes . ' x ' . $shipping_weight . 'lbs)' . "\n"; OR $this->quotes = array('id' => $this->code, 'module' => $this->title . $shiptitle); to: $this->quotes = array('id' => $this->code, 'module' => $this->title . $shiptitle . "\n"); Scott Addons I've crafted: osC reCaptcha | Live Support phpOnline | Store Mode | Simple Categories Header | Authorize.Net Infobox Package Tracking Plus | USPS Flat Rate Shipping | USPS Shipping Insurance | RapidSSL Infobox Share this post Link to post Share on other sites
jhande 22 Posted November 13, 2008 one hint - I looked through the code of includes/modules/shipping/usps.php I don't think that the other edits are handled there - I looked in includes/classes/shipping.php and couldn't find it either - it's got to be handles elsewhere - also, the default coding makes both of the checkout_confirmation page display the SAME variable, so you'd have to find where the variable is set to begin with (in a function perhaps) and find a way to create a 2nd variable for the U.S.P.S. = total part while placing a "\n" in the existing variable to create the line break. When I looked at the usps.php file, I thought that: if ($time != '') $transittime[$service] = ': ' . $time . ''; You could try modifying this line: $shiptitle = ' (' . $shipping_num_boxes . ' x ' . $shipping_weight . 'lbs)'; to: $shiptitle = ' (' . $shipping_num_boxes . ' x ' . $shipping_weight . 'lbs)' . "\n"; OR $this->quotes = array('id' => $this->code, 'module' => $this->title . $shiptitle); to: $this->quotes = array('id' => $this->code, 'module' => $this->title . $shiptitle . "\n"); Scott Thank you Scott for your persistant efforts to help me. I will make a note of those edits and see if I can't find where to make a 2nd variable for the USPS = Total. ;) With all the playing around I've been doing editing osC, I'm starting to pick things up regarding PHP LOL. Thanks again Scott I truely appreciate it. :) - :: Jim :: - - My Toolbox ~ Adobe Web Bundle, XAMPP & WinMerge | Install ~ osC v2.3.3.4 - Share this post Link to post Share on other sites
olsonsp4c 0 Posted November 18, 2008 (edited) USPS Shipping Insurance 1.51 is out: http://addons.oscommerce.com/info/5782 Changes since v1.4 ------------------ * Fixed the issue: if customer goes back to the checkout shipping page from checkout payment to change their USPS shipping insurance choice, the change is not registered. Now, changes are registered properly. * Added the edits suggested by draculakos which adds rollover color and a function that enables you to click anywhere inside infobox in order to toggle the USPS shipping insurance checkbox. (one edit was missing that I have corrected from his post on the forum) Scott Edited November 18, 2008 by olsonsp4c Addons I've crafted: osC reCaptcha | Live Support phpOnline | Store Mode | Simple Categories Header | Authorize.Net Infobox Package Tracking Plus | USPS Flat Rate Shipping | USPS Shipping Insurance | RapidSSL Infobox Share this post Link to post Share on other sites
helpme:( 1 Posted January 25, 2009 Installed the contribution and am having a problem during checkout. The subtotal is not calculated correctly. It looks like this: 1X item $114.40 Sub-Total: $109.40 Discount Coupon applied: -$5.00 Shipping: $0.00 USPS Shipping Insurance: $2.60 Total: $112.00 When is should say: 1X item $114.40 Sub-Total: $114.40 Discount Coupon applied: -$5.00 Shipping: $0.00 USPS Shipping Insurance: $2.60 Total: $112.00 The discount it being subtracted from the subtotal, which I prefer it not to. So if anyone has any suggestions I would appreciate it. Thanks. Share this post Link to post Share on other sites
Dennisra 5 Posted March 12, 2009 This is what the actual order is: Sub-Total: $69.75 United States Postal Service (1 x 0.3lbs) (0lbs, 5oz) (First Class Mail: Estimated 1 - 5 Days): $1.85 USPS Shipping Insurance: $2.15 Total: $73.75 This is what it looks like in the PayPal payment notification email: Subtotal $69.75 USD Shipping and handling $1.85 USD Total $73.75 USD Payment $73.75 USD Why isn't the USPS Shipping Insurance: $2.15 showing up? Share this post Link to post Share on other sites
mondofood 0 Posted March 16, 2009 Howdy, I have an issue where the only way to check the checkbox to add insurance is to hit the box around the checkbox, and not the checkbox itself. I tried removing the mouseover effect but I still have the issue. Anyone know how I can make the checkbox actually clickable instead of the box around the checkbox? Thank you. Share this post Link to post Share on other sites
mondofood 0 Posted April 6, 2009 *bump* Howdy, I have an issue where the only way to check the checkbox to add insurance is to hit the box around the checkbox, and not the checkbox itself. I tried removing the mouseover effect but I still have the issue. Anyone know how I can make the checkbox actually clickable instead of the box around the checkbox? Thank you. Share this post Link to post Share on other sites
tylerd213 0 Posted May 21, 2009 Im having this same problem. Any suggestions? Howdy, I have an issue where the only way to check the checkbox to add insurance is to hit the box around the checkbox, and not the checkbox itself. I tried removing the mouseover effect but I still have the issue. Anyone know how I can make the checkbox actually clickable instead of the box around the checkbox? Thank you. Share this post Link to post Share on other sites
mdlemmer 0 Posted November 26, 2009 I'm kinda new to oscommerce i installed this addon all went well admin side works fine but it doesnt show during check out. rechecked install followed all steps still doesnt show on checkout any help would be great Share this post Link to post Share on other sites
mdlemmer 0 Posted November 28, 2009 I'm kinda new to oscommerce i installed this addon all went well admin side works fine but it doesnt show during check out. rechecked install followed all steps still doesnt show on checkout any help would be great never mind found out it it was because one file was heavily customized all works great now Share this post Link to post Share on other sites
alinajoseph 0 Posted December 28, 2009 hi to all... thanks for the information... now i have got some idea... health insurance tx Share this post Link to post Share on other sites
kalkal 0 Posted February 2, 2011 Howdy, I have an issue where the only way to check the checkbox to add insurance is to hit the box around the checkbox, and not the checkbox itself. I tried removing the mouseover effect but I still have the issue. Anyone know how I can make the checkbox actually clickable instead of the box around the checkbox? Thank you. BUMP********************** Has this been resolved yet? where should i look? Any help would be great! Share this post Link to post Share on other sites
broadstreetbully 1 Posted February 7, 2012 anyone have an updated version of this for 2.3.1??? Share this post Link to post Share on other sites