-
-
Notifications
You must be signed in to change notification settings - Fork 80
Description
Hi @jissereitsma,
We're using the Yireo module for one of our clients and I've noticed that the item_variant parameter is missing on the add_to_cart event even though it's mentioned in the code (here). Example of the add to cart event:
Also, I've noticed that the item_id in the add_to_cart event for a configurable product is the SKU of the child product instead of the parent / configurable itself. Usually it's recommended to use the parent SKU in the item_id as that's the consistent one. The item_variant is only available for some specific events like add_to_cart and in the checkout events as only then you know the exact variant that was chosen. In those cases, you want item_id to always be the parent ID and item_variant to contain the variant SKU.
I'm not a Magento developer myself, but if there is anything I can do to help you with this, please let me know.