0

I am stuck in one problem with Magento.

When I click Addtocart button on product page of Magento, Product successfully adds in Cart and than I open the Customer Login Page in New Tab of same browser and than I Login successfully in that New Tab, But now the problem is when I go back the Product Page Tab and click AddtoCart button than product is not adding into Cart until I refresh the product page.

How I can add product in cart without refreshing the page after Login the customer account in another Tab of same browser?

Will appreciate any help please.

Thanks

1
  • any one please help. any idea will be highly appreciated please
    – zubair
    Commented Jul 24, 2017 at 16:40

1 Answer 1

0

This is not a problem the product page must be reloaded to take the new cookies and session created in the customer loggin page

For exemple if you loggin in stackexchange in a new tab but not in this tab you will see that you are still not logged in this tab.

7
  • thanks for the reply but many of the other ecommerce sites and even magento platform sites are not needed to be refreshed and successfully adds the product in Cart once after login in another Tab of same browser.
    – zubair
    Commented Jul 24, 2017 at 8:37
  • if you use ajax to add product might be happened
    – M0ns1f
    Commented Jul 24, 2017 at 9:02
  • But i have an examples of Magento Site which is using Ajax for adding product in Cart and That is also adding the product in cart after login in another Tab in same browser.
    – zubair
    Commented Jul 24, 2017 at 10:40
  • can you share a link to see what's happend
    – M0ns1f
    Commented Jul 24, 2017 at 10:47
  • am i allowed to share the url here?
    – zubair
    Commented Jul 24, 2017 at 10:50

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.