close ad
WARNING: Do Not Install the DREAMWEAVER CC 2017 or 2018 Update »
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

UPS instead of USPS in PowerStore

Thread began 7/10/2009 1:31 pm by mark286077 | Last modified 7/10/2009 4:31 pm by Ray Borduin | 1927 views | 5 replies |

mark286077

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.

Sign in to reply to this post

Ray BorduinWebAssist

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.

Sign in to reply to this post

mark286077

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 }

Sign in to reply to this post

Ray BorduinWebAssist

It soundes like the include file for UPS was maybe added too low on the page. It defines that function.

Sign in to reply to this post

mark286077

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) ."";

Sign in to reply to this post

Ray BorduinWebAssist

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.

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

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.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...