Nosto / nosto-magento

Magento extension for Nosto
https://marketplace.magento.com/nosto-nosto-tagging.html
Open Software License 3.0
27 stars 24 forks source link

Hotfix 3.11.1 - Fix Add Multiple Products To Cart Javascript Function #529

Closed supercid closed 5 years ago

supercid commented 5 years ago

Description

Fixes an error on the add multiple products to cart javascript function, where the SKU would be added instead of the parent configurable product with super attributes.

Related Issue

Fixes #528

Motivation and Context

In some setups, the added product can have no image or link to the product page.

How Has This Been Tested?

Run

Nosto.addMultipleProductsToCart([
        {'productId' : '425', 'skuId' : '310'},
        {'productId' : '425', 'skuId' : '314'},
        {'productId' : '425', 'skuId' : '312'},
        {'productId' : '425', 'skuId' : '313'},
    ], this);

And observe that the products are correctly added to cart with images and links to the product page.

Documentation:

N/A

Checklist: