klaviyo / magento2-klaviyo

37 stars 51 forks source link

adding require for customer library specific to v 2.4+ #171

Closed klaviyojad closed 2 years ago

klaviyojad commented 2 years ago

currently Magento customers on versions < 2.4.x that install v 4.0.0 of extension will experience errors like this in their website appearing for their users:

main.min.js:2 TypeError: customerData.getInitCustomerData is not a function

the fix ensures that customers on versions < 2.4.x will not be able to install the latest extension and should instead revert to v 3.0.11 of the klaviyo extension.

klaviyobot commented 2 years ago

https://klaviyo.tpondemand.com/entity/117198