Open puntope opened 7 months ago
The fatal error should no longer be reproducible after #386
Since in add_to_cart
it will return an empty list if the product was not found.
That still doesn't take away from the problem that those products aren't found, and hence the other events can't be tracked, but that would have a lower priority.
Describe the bug:
In the Cart Empty page when clicking to Add To Cart a fatal error is shown.
https://github.com/woocommerce/woocommerce-google-analytics-integration/assets/5908855/5b325b33-461c-4497-a7ee-22a061495dce
⚠️ Aditionally, other events like "view_item_list", "select_content" are not being triggered.
Steps to reproduce:
Expected behavior: