Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot read properties of undefined (reading 'backUrl') #94

Closed
osedigital opened this issue Nov 22, 2024 · 3 comments
Closed

Cannot read properties of undefined (reading 'backUrl') #94

osedigital opened this issue Nov 22, 2024 · 3 comments
Assignees

Comments

@osedigital
Copy link

Preconditions (*)

  1. Adobe Commerce ver. 2.4.6-p6
  2. Install meta's Facebook & Instagram Extension.
  3. Due to the expectation that the response will be data.response.backUrl on add to cart - but we use a popular 3rd party cart that returns slightly different.

Steps to reproduce (*)

  1. Add to Cart after after enabling and connecting to the Facebook account.

Expected result (*)

  1. Successful Add to cart.

Actual result (*)

  1. On adding to cart, the loader would load infinitely, with a type error showing.
    Error
@zlik zlik self-assigned this Dec 2, 2024
@zlik
Copy link
Contributor

zlik commented Dec 2, 2024

@osedigital, can you please share which 3p cart plugin you're using so we could test it out? Thank you!

@osedigital
Copy link
Author

@zlik, we are using "Ajax Shopping Cart by Amasty". Regards

@zlik
Copy link
Contributor

zlik commented Dec 11, 2024

We have a fix in #95. It will be released early next year. It does address the undefined TypeError, however, it does not solve for the 3p cart compatibility yet. We will consider reviewing Amasty's implementation and possibly refactoring our code next year. I'll close the issue for now, @osedigital, but the fix is unsatisfactory for you please feel free to comment or open a new one. Thank you.

@zlik zlik closed this as completed Dec 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants