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.
From vue-storefront created by ymaheshwari1: vuestorefront/vue-storefront#5462
Current behavior
In the case of configurable products, we check for the variant with the lowest price to display it on the initial load of the product page.
If the product variant does not contain an original_price_incl_tax field and only contains a price_incl_tax field then the function returns the last variant to be displayed on the product page.
This causes a mismatch between the product gallery prepared and the currently selected color on initial load.
Expected behavior
There should not be a mismatch between the color and the product image on the initial load.
Steps to reproduce the issue
If your product variants in case of configurable products does not contain an original_price_incl_tax field.
Go to any product
You will see the image is not the same as the currently selected color.
Version of Vue Storefront
[x] Vue Storefront
[ ] Vue Storefront Next
Can you handle fixing this bug by yourself?
[x] YES
[ ] NO
Which Release Cycle state this refers to? Info for developer. (doesn't apply to Next)
Pick one option.
[x] This is a bug report for test version on https://test.storefrontcloud.io - In this case Developer should create branch from develop branch and create Pull Request 2. Feature / Improvement back to develop.
[ ] This is a bug report for current Release Candidate version on https://next.storefrontcloud.io - In this case Developer should create branch from release branch and create Pull Request 3. Stabilisation fix back to release.
[ ] This is a bug report for current Stable version on https://demo.storefrontcloud.io and should be placed in next stable version hotfix - In this case Developer should create branch from hotfix or master branch and create Pull Request 4. Hotfix back to hotfix.
From vue-storefront created by ymaheshwari1: vuestorefront/vue-storefront#5462
Current behavior
In the case of configurable products, we check for the variant with the lowest price to display it on the initial load of the product page. If the product variant does not contain an original_price_incl_tax field and only contains a price_incl_tax field then the function returns the last variant to be displayed on the product page. This causes a mismatch between the product gallery prepared and the currently selected color on initial load.
Expected behavior
There should not be a mismatch between the color and the product image on the initial load.
Steps to reproduce the issue
Version of Vue Storefront
Can you handle fixing this bug by yourself?
Which Release Cycle state this refers to? Info for developer. (doesn't apply to Next)
Pick one option.
develop
branch and create Pull Request2. Feature / Improvement
back todevelop
.release
branch and create Pull Request3. Stabilisation fix
back torelease
.hotfix
ormaster
branch and create Pull Request4. Hotfix
back tohotfix
.Environment details
Additional information