Tags/topics: 
5
Answers
Vote up!
1
Vote down!

Refresh problem with Continue Shopping

Hi! I've installed the DrupalCommerce.org Kickstart 2 with example data.

When I choose a product and add it to the cart I get the popup asking if I want to check out or continue shopping. Well when I choose Continue shopping, nothing happens and I have to press F5 to refresh the screen.

I'm developping a bilingual demo site for a potential customer. fpdevel.ca, if you want to give it a try.

BTW, When there is an item in the cart, "Procéder au paiement" goes underneath.

Tks in advance for any tips on the matter and have a great day!

François

Asked by: Francois P
on November 8, 2012

Comments

Hi,

add to "commerce_add-to_cart_confirmation.js"

this line --> $('.commerce_add_to_cart_confirmation_overlay').remove();

after:
// Enable the close link.
$('.commerce-add-to-cart-confirmation-close').live('click', function() {
$('.commerce-add-to-cart-confirmation').remove();

Daniel

- DanielNBG on November 12, 2012

5 Answers

Vote up!
1
Vote down!

Hi,

add to "commerce_add-to_cart_confirmation.js"

this line --> $('.commerce_add_to_cart_confirmation_overlay').remove();

after:
// Enable the close link.
$('.commerce-add-to-cart-confirmation-close').live('click', function() {
$('.commerce-add-to-cart-confirmation').remove();

Daniel

Answer by: Anonymous (not verified)
Posted: Nov 12, 2012
Vote up!
0
Vote down!

Actually, I tested this on the demo site and it does the same bug

Answer by: Francois P
Posted: Nov 9, 2012
Vote up!
0
Vote down!

the same thing. can't find in google the explanation

Answer by: ulia
Posted: Nov 11, 2012
Vote up!
0
Vote down!

The solution posted worked. Thanks !!

Answer by: Anonymous (not verified)
Posted: Dec 8, 2012
Vote up!
0
Vote down!

If yu still have the same problem even after add the patch code of.

this line --> $('.commerce_add_to_cart_confirmation_overlay').remove();

after:
// Enable the close link.
$('.commerce-add-to-cart-confirmation-close').live('click', function() {
$('.commerce-add-to-cart-confirmation').remove();

Just like mentioned by Daniel.

In my site it just work after i totally delete the line that mention the overlay function

// Add the background overlay.
$('body').append("");

Gutus

Answer by: gutus
Posted: Jan 9, 2013