close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

confirm_cart.php no longer appearing when clicking "Continue" after completing address fields.

Thread began 4/17/2014 8:15 am by Nathon Jones Web Design | Last modified 4/28/2014 8:47 am by Jason Byrnes | 1658 views | 6 replies |

Nathon Jones Web Design

confirm_cart.php no longer appearing when clicking "Continue" after completing address fields.

Inexplicably, again, we are experiencing issues...

confirm_cart.php is no longer appearing when we complete address details and click "Continue" so we are unable to enter our payment details:

https://www.ledwarehouseuk.com/LED-Lights-Bulbs.php?lbid=333 > Add to Basket > Checkout > Complete Billing and Delivery Addresses > Click Continue

Hope you can help. Thank you.
NJ

Sign in to reply to this post

Nathon Jones Web Design

Have run through my other posts and simply reinstated one of the older confirm_cart.php pages when it did work.
I don't have time to work out these bugs any more - I just want to get things up and running.

Regarding what happens when you press "Continue" though, after filling the address details in, it appears to be jumping back to a hotspot at the "Order Confirmation" section so, if there are a few items in the cart, you can't see the payment entry section unless you scroll down.
Is there any way to have this jump to the Payment Info section instead?

Sign in to reply to this post

Jason ByrnesWebAssist

in the webassist/ecart/checkout/js/paymentoptions.js file, try changing the wa_scrollToCartOnce() function to this:

function wa_scrollToCartOnce() {
wa_ScrollToID("cart_wrapper");
if (document.getElementById("Shipping")) {
var shippingWrapper = document.getElementById("Shipping").parentNode;
wa_removeEvent(shippingWrapper, "transitionend", wa_scrollToCartOnce);
}
if (document.getElementById("Billing")) {
var billingWrapper = document.getElementById("Billing").parentNode;
wa_removeEvent(billingWrapper, "transitionend", wa_scrollToCartOnce);
}
if (document.getElementById("payment_wrapper")) {
wa_ScrollToID("payment_wrapper");
}
}
Sign in to reply to this post

Nathon Jones Web Design

That works in IE11 but not in Firefox.

Sign in to reply to this post

Jason ByrnesWebAssist

I've tried on 3 computers using Fire fox and it works for me.

make sure you clear the browsers cache, javascript changes wont take effect immediately, browsers cache javascript functions so to see changes, you often need to clear the cache.

Sign in to reply to this post

Nathon Jones Web Design

Jason, how would I change this back just to see which works best?
Thank you.
NJ

Sign in to reply to this post

Jason ByrnesWebAssist

the original function was:

function wa_scrollToCartOnce() {
wa_ScrollToID("cart_wrapper");
if (document.getElementById("Shipping")) {
var shippingWrapper = document.getElementById("Shipping").parentNode;
wa_removeEvent(shippingWrapper, "transitionend", wa_scrollToCartOnce);
}
if (document.getElementById("Billing")) {
var billingWrapper = document.getElementById("Billing").parentNode;
wa_removeEvent(billingWrapper, "transitionend", wa_scrollToCartOnce);
}
}
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...