vuestorefront / vue-storefront-1

The open-source frontend for any eCommerce. Built with a PWA and headless approach, using a modern JS stack. We have custom integrations with Magento, commercetools, Shopware and Shopify and total coverage is just a matter of time. The API approach also allows you to merge VSF with any third-party tool like CMS, payment gateways or analytics. Newest updates: https://blog.vuestorefront.io. Always Open Source, MIT license.
https://www.vuestorefront.io
MIT License
18 stars 13 forks source link

Fixed the code to display the unique images and media_gallery on the product page(#404) #490

Open ymaheshwari1 opened 2 years ago

ymaheshwari1 commented 2 years ago

Related Issues

404

closes #404

Short Description of the PR

When changing the value of mergeConfigurableChildren to false the product gallery is not displayed as it should. Using the uniqBy method to display only the unique images in the gallery and also added the media_gallery in the gallery to display all the images in the product gallery.

Screenshots of Visual Changes before/after (if There Are Any)

Pull Request Checklist

Upgrade Notes and Changelog

Contribution and Currently Important Rules Acceptance