close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

shipping not adding on to checkout

Thread began 7/26/2023 9:10 am by NWak04030229 | Last modified 9/02/2023 5:05 am by NWak04030229 | 744 views | 11 replies |

NWak04030229

shipping not adding on to checkout

My shipping doesn't appear to be adding on to the cart after 'State' selected in checkout. I am using Total Items as my formula for calculating the shipping. I have attached what the other sites look like but on the one I am working on there is no Order Confirmation at the bottom of the screen with shipping, etc. I have a feeling it is something to do with my previous post where the line of code was showing up as incorrect but can't figure out what it is - really appreciate any help on this as needing to get website up and running Thanks

Sign in to reply to this post

Ray BorduinWebAssist

Can you provide FTP access? I'll have to look at your checkout page and cart object code to find the problem.

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

NWak04030229

hope this is what you need

Sign in to reply to this post

Ray BorduinWebAssist

Unfortunately that ftp information isn't working for me. Please test it for typos and make sure there are no IP address restrictions keeping me out.

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

NWak04030229

See PM

Sign in to reply to this post

Ray BorduinWebAssist

I got in.

In your shipping rules instead of using:
$_SESSION['eCartCheckoutForm_shipping_state']

try using:
$_SESSION["WASF_CheckoutWizard_NewFromBlank_Default"]["Country_2"]

The new ecart checkout uses different session variables.

You could also use:
WA_getSavedFormValue('CheckoutWizard_NewFromBlank_Default','Country_2')

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

NWak04030229

I did that - I replaced them in the weebooks_PHP.php. But the shipping still doesn't show up I'm afraid. When I put in the second one above - I get an error logging on to site on line 89:
if (true && ((sizeof($this->Items) == 1) && (isset(WA_getSavedFormValue('CheckoutWizard_NewFromBlank_Default','Country_2'))) && ((isset(WA_getSavedFormValue('CheckoutWizard_NewFromBlank_Default','Country_2'))?WA_getSavedFormValue('CheckoutWizard_NewFromBlank_Default','Country_2'):"") != "EU") && ((isset(WA_getSavedFormValue('CheckoutWizard_NewFromBlank_Default','Country_2'))?WA_getSavedFormValue('CheckoutWizard_NewFromBlank_Default','Country_2'):"") != "GB"))) {

Sign in to reply to this post

Ray BorduinWebAssist

Use this syntax:
$_SESSION["WASF_CheckoutWizard_NewFromBlank_Default"]["Country_2"]

The other one uses a function that may not be defined on all pages the cart is on, so that is probably the source of errors.

If it doesn't work, attach a copy of your cart .php page so I can see the code in place.

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

NWak04030229

Did that and I can now get into the shopping cart but still no shipping prices coming up. Have attached cart.php

Sign in to reply to this post

Ray BorduinWebAssist

Is there a url I can use to test and see the issue? That will allow me to debug. Also include the address you are using, what you have in the cart, and the charge you would expect to see.

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