klaviyo / magento2-klaviyo

38 stars 51 forks source link

Added to Cart m2 initial commit #115

Closed siddwarkhedkar closed 2 years ago

siddwarkhedkar commented 3 years ago

In addition to the method of capturing the event outlined in the RFC, I am also creating a variable in the checkout session to be used after the Sales Quote is save. The reason for this >> the quote is empty and not created when the cart is empty, making it difficult to send over the MaskedQuoteId to Klaviyo.

Creating a session variable and using this after the sales quote is saved. The Sales_quote_save_after event has an observer which will make use of this data and then make a track request to Klaviyo

siddwarkhedkar commented 2 years ago

Closing in favor of #142