Skip to content

Get Product details in catalog-add-to-cart-mixin.js in Magento 2

I have override catalog-add-to-cart-mixin.js and able to get SKU form.data().productSku in ajaxSubmit Submit function. I need more details like product name, qty and price those are added to the cart.

It should be same for Listing and View page AddToCart action.

Any help would be appreciated.

Thanks in advance.