View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Failure with "$WAGLOBAL_Shipping_Enabled = true;"

Thread began 8/11/2009 3:27 pm by mick106153 | Last modified 9/23/2009 7:52 pm by mick106153 | 2050 views | 11 replies

mick106153

Did as you suggested and when I processed the order I got an error something like "unexpected T_CONCAT_EQUAL yada yada yada at line 49 of WA_eCart_USPS_PHP.php"
Closer inspection showed that at lines 49, 52 and 53 you had "$USPS_XML ..= etc." .
So I changed line 49 to "$USPS_XML .= etc." and when I processed the order I got "unexpected T_CONCAT_EQUAL yada yada yada at line 52 of WA_eCart_USPS_PHP.php".
So I changed lines 52 and 53 to "$USPS_XML .= etc." and this time it worked as expected.
My order was processed and showed the rate for the small flat rate box. I'm hoping that was the right thing to do – not being a code monkey.
I'm curious as to why it was necessary to upload this revised file. Couldn't I have just changed to ["PackageType"] = "Sm Flat Rate Box"; on confirm.php and be done with it?

I placed an order for 6 mugs 3 tees of one type and 2 tees of another and shipping was still only $4.95.
How do we address that problem?
Obviously I can't fit all that into one small flat rate box.

Mick

Just reread and I see that the revised file was to enable other shipping types like PARCEL. Correct?

Just changed WA_Globals.php to PARCEL and now I get different rates depending on the number/weight/zip of the total or some such. Don't know if results RE: shipping cost are appropriate but they look to be. TOO Tired –MUST Sleep!

Mick

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