UPS instead of USPS in PowerStore
I purchased power store 1.0.2 The Globals file only has a shipping option for USPS. How can I change that to UPS.
I purchased power store 1.0.2 The Globals file only has a shipping option for USPS. How can I change that to UPS.
You can remove the shipping server behavior on the confirm.php page and apply the UPS server behavior that comes with eCart in its place.
Thanks for the response Ray. I did as instructed and now the confirm page comes up with
Call to undefined function wa_ecart_ups_setsessiondefaults() in /webroot/a/d/adose001/www/confirm.php on line 61
Line 61 is as follows
59 }
60 else if (!isset($_SESSION["WA_Store_Cart_UPS_Success"])) {
61 WA_eCart_UPS_SetSessionDefaults($WA_Store_Cart);
62 }
It soundes like the include file for UPS was maybe added too low on the page. It defines that function.
Thank you Ray. I Found the problem. The eCart Shipping behavoir (version 4.5.0) did not put in the following line <?php require_once("WA_eCart/WA_eCart_UPS_PHP.php"); ?>
The confirm page displayed but when I hit submit order the following error comes up
Fatal error: Call to undefined function wa_ecart_formatnumber() in /webroot/a/d/adose001/www/confirm.php on line 42
Line 42 is as follows
$Shipping_PackageArray[$Shipping_PackageIndex]["PackageWeight"] = "".WA_eCart_FormatNumber($WA_Store_Cart->TotalColumn("TotalWeight"), true, 1) ."";
That means that the cart object include is too low on the page. The cart object should be above this code and would define that function.
For some reason you are having trouble with includes being placed properly it would seem.
Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.
These out-of-the-box solutions provide you proven, tested applications that can be up and running now. Build a store, a gallery, or a web-based email solution.