MVS Shipping Estimator - no estimate for multiple items in cart
#1
Posted 21 April 2010, 19:17
Problems:
1) If I add two accessory items, and then "estimate shipping" from the shopping cart, the popup will display. I enter the ZIP code (84075), click the estimate button, and no shipping value is returned. If there is only one item in the shopping cart, the estimate will show properly.
2) If I have only one item in the shopping cart, there are times where no estimate is returned, not even an error/info message. I just get the "zipcode/country" form again.
You can test on the site www.trexgenerators.com , but use 'accessories' items, and they are the only ones that have shipping costs (other items have free shipping).
THanks...Rick...
#2
Posted 22 April 2010, 00:18
Regards
Jim
Banners Box 2.3.1 Support
Categories Accordion Box 2.3.1 Support
Categories Images Box 2.2x 2.3.1 Support
Closest Shipper 2.2x Support
Document Manager 2.2x Support
Generic Box 2.3.1 Support
Get 1 Free 2.2x Support
Include HTML and Text Boxes 2.2x
jQuery Banner Rotator 2.2x 2.3.1 Support
Modular Front Page 2.3.1 Support
Modular SEO Header Tags 2.3.1 Support
More Pics 2.2x Support
MVS 2.2x Support
osC Catalog 2.2x Support
PDF Datasheet 2.3.1 Support
Price Updater 2.2x
Products Specifications 2.2x 2.3.1 Development Version Support Bugs/Suggestions
Request a Review 2.2x - 2.3.1 Support
Similar Products Box 2.2x
Theme Switcher 2.3.1 Support
#3
Posted 22 April 2010, 00:56
kymation, on 22 April 2010, 00:18, said:
Regards
Jim
Thanks for the quick reply. On the site, go into the Accessories section, and add any two accessory items to the shopping cart. Then
- click on the Shipping icon in the center (shopping cart) area (icon has been changed), fill in a zip code (I've used 84075 and 95821), click Get Quote, and no value returned.
- or, click on shipping icon on right column, same procedure, same results.
- and then, remove one item from the shopping cart, try again, same procedure, same (no) results.
Observe, as you try the above steps, that the estimate screen doesn't have the "Close" prompt at the bottom.
Now, close that window, open up a new window, go to the site, display any accessory, chose "shipping" icon, enter zip code, click button, shipping estimate is shown. (Notice that the "close" prompt is shown.)
Not sure where to find UPS shipping module info....
Hope this info helps....Rick...
#4
Posted 22 April 2010, 01:13
MVS contains two UPS shipping modules: the stock UPS (actually UPS Choice) and UPSXML. UPSXML is more reliable but harder to set up. Both have issues if not set up correctly.
Does shipping work reliably if you go through the checkout process with the same products?
Regards
Jim
Banners Box 2.3.1 Support
Categories Accordion Box 2.3.1 Support
Categories Images Box 2.2x 2.3.1 Support
Closest Shipper 2.2x Support
Document Manager 2.2x Support
Generic Box 2.3.1 Support
Get 1 Free 2.2x Support
Include HTML and Text Boxes 2.2x
jQuery Banner Rotator 2.2x 2.3.1 Support
Modular Front Page 2.3.1 Support
Modular SEO Header Tags 2.3.1 Support
More Pics 2.2x Support
MVS 2.2x Support
osC Catalog 2.2x Support
PDF Datasheet 2.3.1 Support
Price Updater 2.2x
Products Specifications 2.2x 2.3.1 Development Version Support Bugs/Suggestions
Request a Review 2.2x - 2.3.1 Support
Similar Products Box 2.2x
Theme Switcher 2.3.1 Support
#5
Posted 23 April 2010, 18:08
Where do I determine the shipping modules used?
THanks...Rick...
#6
Posted 23 April 2010, 18:17
Regards
Jim
Banners Box 2.3.1 Support
Categories Accordion Box 2.3.1 Support
Categories Images Box 2.2x 2.3.1 Support
Closest Shipper 2.2x Support
Document Manager 2.2x Support
Generic Box 2.3.1 Support
Get 1 Free 2.2x Support
Include HTML and Text Boxes 2.2x
jQuery Banner Rotator 2.2x 2.3.1 Support
Modular Front Page 2.3.1 Support
Modular SEO Header Tags 2.3.1 Support
More Pics 2.2x Support
MVS 2.2x Support
osC Catalog 2.2x Support
PDF Datasheet 2.3.1 Support
Price Updater 2.2x
Products Specifications 2.2x 2.3.1 Development Version Support Bugs/Suggestions
Request a Review 2.2x - 2.3.1 Support
Similar Products Box 2.2x
Theme Switcher 2.3.1 Support
#7
Posted 23 April 2010, 20:36
If you have more than one "Reliance" product in your shopping cart, the shipping estimator popup will not have a 'close' button, nor will it compute the shipping value (when you access shipping estimator from the shopping cart page).
If you try the shipping estimator from the product page, the shipping charges will display.
A new discovery: if you first do a shipping estimate from the product page, that will display shipping OK. From that point on, shipping will display properly in the shopping cart, even for multiple items. But if you start a new session, add two items to shopping cart, then shipping estimate from shopping cart, no estimate is displayed (and the shipping estimate screen will not have a 'close' button). If you then go to a product page, then shipping estimate will display properly. And then shipping will display on the shopping cart page also.
So if you get shipping to display properly from the product page, shipping estimate will work OK from then on.
On a new session if you add products, go to shopping cart, then try shipping estimate, no good (and no close button). Shipping estimate only seems to work OK if you first try shipping estimate from product page.
...Rick...
#8
Posted 23 April 2010, 20:58
Try this: in catalog/ship_estimator.php, find these lines [45-49]:
if (!tep_not_null ($_POST['shippostcode']) ) $error_code .= '&error_shippostcode=1';
if (!tep_not_null ($_POST['shipzone']) && SHIP_ESTIMATOR_USE_ZONES == 'true') $error_code .= '&error_shipzone=1';
if (!tep_not_null ($_POST['shipcountry']) ) $error_code .= '&error_shipcountry=1';
tep_redirect (tep_href_link (FILENAME_SHIP_ESTIMATOR, 'action=ship_error' . $error_code, 'NONSSL'));
exit; // Don't do anything else
and comment them out. Then start a new session and try the cart estimator again.Regards
Jim
Banners Box 2.3.1 Support
Categories Accordion Box 2.3.1 Support
Categories Images Box 2.2x 2.3.1 Support
Closest Shipper 2.2x Support
Document Manager 2.2x Support
Generic Box 2.3.1 Support
Get 1 Free 2.2x Support
Include HTML and Text Boxes 2.2x
jQuery Banner Rotator 2.2x 2.3.1 Support
Modular Front Page 2.3.1 Support
Modular SEO Header Tags 2.3.1 Support
More Pics 2.2x Support
MVS 2.2x Support
osC Catalog 2.2x Support
PDF Datasheet 2.3.1 Support
Price Updater 2.2x
Products Specifications 2.2x 2.3.1 Development Version Support Bugs/Suggestions
Request a Review 2.2x - 2.3.1 Support
Similar Products Box 2.2x
Theme Switcher 2.3.1 Support
#9
Posted 23 April 2010, 22:20
I did notice that the shipping quote popup window does not display the "Close button", and there is also not a "Change address" button displayed. Those buttons will display when you do shipping quote from a product window; they do not display from the shopping cart window.
So...getting closer...
...Rick...
#10
Posted 23 April 2010, 22:30
Also try changing Line 14 of that file to
$debug = 'yes';Please post the output from that here (after starting a new session.)
Regards
Jim
Banners Box 2.3.1 Support
Categories Accordion Box 2.3.1 Support
Categories Images Box 2.2x 2.3.1 Support
Closest Shipper 2.2x Support
Document Manager 2.2x Support
Generic Box 2.3.1 Support
Get 1 Free 2.2x Support
Include HTML and Text Boxes 2.2x
jQuery Banner Rotator 2.2x 2.3.1 Support
Modular Front Page 2.3.1 Support
Modular SEO Header Tags 2.3.1 Support
More Pics 2.2x Support
MVS 2.2x Support
osC Catalog 2.2x Support
PDF Datasheet 2.3.1 Support
Price Updater 2.2x
Products Specifications 2.2x 2.3.1 Development Version Support Bugs/Suggestions
Request a Review 2.2x - 2.3.1 Support
Similar Products Box 2.2x
Theme Switcher 2.3.1 Support
#11
Posted 24 April 2010, 01:37
the action is: process
the $customer_id is:
the shipping cost from the cart
the county array id from the cart 223
the delivery zipcode from the cart 84075
the shipping title from the cart
the order->info tax: 0
the POSTED shipping:
the shipping from $order->info[]:
the subtotal: 138.95
the shipping tax:
the $shippostcode: 84075
the $shipcountry: 223
....but I think that you need me to re-enable the error checking (that was previously commented), so...I uncommented those lines, opened a new browser session, added 2 items, then shipping estimate from the shopping cart
the action is: ship_error
the $customer_id is:
the shipping cost from the cart
the county array id from the cart
the delivery zipcode from the cart
the shipping title from the cart
the order->info tax:
the POSTED shipping:
the shipping from $order->info[]:
the subtotal:
the shipping tax:
the $shippostcode:
the $shipcountry:
...Rick...
#12
Posted 24 April 2010, 02:01
I'm pretty much out of ideas at this point. This code works on every machine I have access to right now, and it works for many other people as well. There is something in your setup that is breaking it, and I have no way to find out what that is. You'll need to do some debugging yourself.
One further hint: The Close button is not an option -- it's always shown. If you're not seeing it, the page is likely halting on an error before it gets to that point. The failure to pass the customer's input values may also be due to a hidden error. Turn on all errors in osCommerce or look at your error log. Error messages would be very helpful at this point.
Regards
Jim
Banners Box 2.3.1 Support
Categories Accordion Box 2.3.1 Support
Categories Images Box 2.2x 2.3.1 Support
Closest Shipper 2.2x Support
Document Manager 2.2x Support
Generic Box 2.3.1 Support
Get 1 Free 2.2x Support
Include HTML and Text Boxes 2.2x
jQuery Banner Rotator 2.2x 2.3.1 Support
Modular Front Page 2.3.1 Support
Modular SEO Header Tags 2.3.1 Support
More Pics 2.2x Support
MVS 2.2x Support
osC Catalog 2.2x Support
PDF Datasheet 2.3.1 Support
Price Updater 2.2x
Products Specifications 2.2x 2.3.1 Development Version Support Bugs/Suggestions
Request a Review 2.2x - 2.3.1 Support
Similar Products Box 2.2x
Theme Switcher 2.3.1 Support
#13
Posted 26 April 2010, 00:13
<script language="javascript" type="text/javascript">
<!--
function popup(url) {
window.open(url,'name','height=300,width=250');
}
// -->
</script>
<!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN">
<html dir="LTR" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>T-Rex Generators</title>
<base href="https://ssl4.westserver.net/trexgenerators.com/">
<link rel="stylesheet" type="text/css" href="stylesheet.css">
</head>
<body>
<table width="100%" border="0" align="center" cellpadding="3" cellspacing="3">
<!-- heading //-->
<tr>
<td><table border="0" align="center" width="100%" cellspacing="0" cellpadding="0">
<tr>
<td align="center" class="pageHeading"><b>Shipping Estimator</b></td>
</tr>
<tr>
<td><img src="images/pixel_trans.gif" border="0" alt="" width="100%" height="10" /></td>
</tr>
</table></td>
</tr>
<!-- heading_eof //-->
<!-- ship-to_form //-->
<tr>
<td>
<form name="est_shipping_id" action="https://ssl4.westserver.net/trexgenerators.com/ship_estimator.php?action=process&osCsid=11faa9761efcfedb575056e31e0523e3" method="post"> <table border="0" width="100%" cellspacing="1" cellpadding="2" class="infoBox">
<tr class="infoBoxContents">
<td><table border="0" width="100%" cellspacing="0" cellpadding="2">
<tr>
<td colspan=2 class="main"><b>Shipping Address:</b></td>
</tr>
<tr>
<td class="infoBoxContents">Post Code:</td>
<td class="infoBoxContents"><input type="text" name="shippostcode"> <span class="inputRequirement">* Required information</span></td>
</tr>
<tr>
<td class="infoBoxContents">Country:</td>
<td class="infoBoxContents"><select name="shipcountry"><option value="">Please Select</option><option value="223" SELECTED>United States</option></select> <span class="inputRequirement">* Required information</span></td>
</tr>
<tr>
<td class="infoBoxContents"></td>
<td class="infoBoxContents"><input type="image" src="includes/languages/english/images/buttons/button_process_quote.gif" border="0" alt="Click to get a shipping quote" title=" Click to get a shipping quote "></td>
</tr>
</table></td>
</tr>
</table></form></td>
</tr>
<!-- ship-to_form_eof //-->
</table></td>
</tr>
</table></td>
</tr>
<!-- quote_eof //-->
<!-- close_window //-->
<tr>
<td><img src="images/pixel_trans.gif" border="0" alt="" width="100%" height="10" /></td>
</tr>
<tr>
<td>
<p class="smallText" align="center">
<a href="http://www.trexgenerators.com/ship_estimator.php?action=end&osCsid=11faa9761efcfedb575056e31e0523e3"></a> </p>
</td>
</tr>
<!-- close_window_eof //-->
</table>
</body>
</html>
#14
Posted 26 April 2010, 00:34
The additional closing Table tags appear in the working version as well. You can remove them, but I doubt that's the problem.
Oh, and ColdFusion appears to be inserting XHTML markup into a HTML 4.01 document. That's a sign of a broken editor.
Regards
Jim
Banners Box 2.3.1 Support
Categories Accordion Box 2.3.1 Support
Categories Images Box 2.2x 2.3.1 Support
Closest Shipper 2.2x Support
Document Manager 2.2x Support
Generic Box 2.3.1 Support
Get 1 Free 2.2x Support
Include HTML and Text Boxes 2.2x
jQuery Banner Rotator 2.2x 2.3.1 Support
Modular Front Page 2.3.1 Support
Modular SEO Header Tags 2.3.1 Support
More Pics 2.2x Support
MVS 2.2x Support
osC Catalog 2.2x Support
PDF Datasheet 2.3.1 Support
Price Updater 2.2x
Products Specifications 2.2x 2.3.1 Development Version Support Bugs/Suggestions
Request a Review 2.2x - 2.3.1 Support
Similar Products Box 2.2x
Theme Switcher 2.3.1 Support
#15
Posted 30 April 2010, 12:47
I am having the same issue with the pop-ups. I have added it to my product_info and shopping_cart but it only seems to work after I put an item in the cart and then click for an estimate. The button on the product info page opens the pop-up but creates an error when the zip and country are submitted.
Also, for the missing close button issue, I have found that the code calls for the button image as a .jpg but all the new images are .gif.
#16
Posted 30 April 2010, 15:58
Regards
Jim
Banners Box 2.3.1 Support
Categories Accordion Box 2.3.1 Support
Categories Images Box 2.2x 2.3.1 Support
Closest Shipper 2.2x Support
Document Manager 2.2x Support
Generic Box 2.3.1 Support
Get 1 Free 2.2x Support
Include HTML and Text Boxes 2.2x
jQuery Banner Rotator 2.2x 2.3.1 Support
Modular Front Page 2.3.1 Support
Modular SEO Header Tags 2.3.1 Support
More Pics 2.2x Support
MVS 2.2x Support
osC Catalog 2.2x Support
PDF Datasheet 2.3.1 Support
Price Updater 2.2x
Products Specifications 2.2x 2.3.1 Development Version Support Bugs/Suggestions
Request a Review 2.2x - 2.3.1 Support
Similar Products Box 2.2x
Theme Switcher 2.3.1 Support
#17
Posted 03 May 2010, 20:23
The error I get in product info is:Error: Product was not found. Please close this window and try again.
Hope this helps.
P.S. Any updates on the Product Specifications Mod?
#18
Posted 03 May 2010, 20:54
I need to post some updates on Product Specifications. I just don't have time right now to put the update together.
Regards
Jim
Banners Box 2.3.1 Support
Categories Accordion Box 2.3.1 Support
Categories Images Box 2.2x 2.3.1 Support
Closest Shipper 2.2x Support
Document Manager 2.2x Support
Generic Box 2.3.1 Support
Get 1 Free 2.2x Support
Include HTML and Text Boxes 2.2x
jQuery Banner Rotator 2.2x 2.3.1 Support
Modular Front Page 2.3.1 Support
Modular SEO Header Tags 2.3.1 Support
More Pics 2.2x Support
MVS 2.2x Support
osC Catalog 2.2x Support
PDF Datasheet 2.3.1 Support
Price Updater 2.2x
Products Specifications 2.2x 2.3.1 Development Version Support Bugs/Suggestions
Request a Review 2.2x - 2.3.1 Support
Similar Products Box 2.2x
Theme Switcher 2.3.1 Support
#19
Posted 10 May 2010, 22:31
kymation, on 03 May 2010, 20:54, said:
I need to post some updates on Product Specifications. I just don't have time right now to put the update together.
Regards
Jim
I'm having the exact same problem as lyonsperf (Matt). There are no PHP errors per se. Things seem to go downhill from this point in products_ship_estimator.php:
Line 30: $products_id = (int) $_GET['pid'];
The result is the empty string. If I can be of further assistance, let me know.
#20
Posted 10 May 2010, 22:36
Regards
Jim
Banners Box 2.3.1 Support
Categories Accordion Box 2.3.1 Support
Categories Images Box 2.2x 2.3.1 Support
Closest Shipper 2.2x Support
Document Manager 2.2x Support
Generic Box 2.3.1 Support
Get 1 Free 2.2x Support
Include HTML and Text Boxes 2.2x
jQuery Banner Rotator 2.2x 2.3.1 Support
Modular Front Page 2.3.1 Support
Modular SEO Header Tags 2.3.1 Support
More Pics 2.2x Support
MVS 2.2x Support
osC Catalog 2.2x Support
PDF Datasheet 2.3.1 Support
Price Updater 2.2x
Products Specifications 2.2x 2.3.1 Development Version Support Bugs/Suggestions
Request a Review 2.2x - 2.3.1 Support
Similar Products Box 2.2x
Theme Switcher 2.3.1 Support














