close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

eCart GetShipping() never resets

Thread began 4/16/2015 10:31 am by rod431909 | Last modified 4/22/2015 5:30 pm by Ray Borduin | 2519 views | 10 replies |

rod431909

eCart GetShipping() never resets

In eCart 5.0.7 my checkout page has a drop down to populate the shipping from UPS called UPS_Service. When it takes me to the confirm page there is a variable called GetShipping() and on the page there is a button (auto generated) that says Modify Information. No matter if I use this button, or clear the cart, or add products, nothing changes the value. It's like it's hard coded, even though it's not.

Anybody know what's going on with this?

Sign in to reply to this post

Ray BorduinWebAssist

I'd have to look at your shopping cart rules. Perhaps you have a flat rate or per item shipping rate added to the cart? That wouldn't change based on modifying information.

Sign in to reply to this post
Did this help? Tips are appreciated...

rod431909

Hi Ray. Thanks for your reply. I checked the cart and it is not set to use flat rate shipping. More poking around and I have more details for you. Interestingly if I dump the cart and start over I can select any shipping method and it takes. I can even add more products and it will increase the amount of shipping. However, there does not appear to be a way to change the shipping method after it is selected the first time. If I select Ground it will be ground until I kill the cart. If I select 2nd day, it will remain 2nd day, etc. Any ideas? Would it be a cookie or session variable?

Sign in to reply to this post

Ray BorduinWebAssist

Please send a copy of the page where you initially select the shipping type. I have a feeling the trigger may be set wrong so that it will only set it once based on your description, but I'd have to take a look to be sure.

Sign in to reply to this post
Did this help? Tips are appreciated...

rod431909

Please see the private message.

Sign in to reply to this post

Ray BorduinWebAssist

I don't see the shipping being calculated on this page at all... How is the shipping calculated? Are you doing a USPS or UPS lookup? I'd need to look at the page that does the lookup... maybe the cart.php page or the confirm.php page or possibly the pp_confirm.php page?

The page you sent doesn't actually do the calculation at all. I think the confirm.php page is the one I need to see.

Sign in to reply to this post
Did this help? Tips are appreciated...

rod431909

Please see the private message

Attached Files
confirm.php
Sign in to reply to this post

Ray BorduinWebAssist

The code looks like it would work. Can you give me a URL, ftp access, and detailed steps to reproduce the problem you are referring to? I'll debug and figure out what the issue is.

Sign in to reply to this post
Did this help? Tips are appreciated...

rod431909

Hi Ray. Please see the private message.

Sign in to reply to this post

Ray BorduinWebAssist

It looks like you forgot to add a user name with the other connection information in the previous post...

But it looks like it is set to always use ground...

Update line 426 of confirm.php from:

php:
$Shipping_Parameters["CarrierCode"] = "03";



to:

php:
$Shipping_Parameters["CarrierCode"] = "".((isset($_SESSION["eCartCheckoutForm_UPS_Service"]))?$_SESSION["eCartCheckoutForm_UPS_Service"]:"03")  ."";



Then it should be using the shipping type selected on the previous page.

Sign in to reply to this post
Did this help? Tips are appreciated...
loading

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