Open bohdan-karapet opened 3 years ago
When you choose to sort the category products by price, the "finalPrice" property of each product object is taken into consideration. The "Didi Sport Watch" product object simply has no "finalPrice" property and is therefore fetched at the end of the list. So I believe the bug is not in the code itself but in the data fetched from the api.
Looks like it is already solved on the develop
: https://test.storefrontcloud.io/default-category-2?sort=final_price
Could you check it just for sure @bohdan-karapet ?
Current behavior
Products at the end on Category page are not sorted by price.
Expected behavior
All products should be sorted properly.
Steps to reproduce the issue
1) go to https://demo.vuestorefront.io/default-category-2 2) pick sorting "Price: Low to high" 3) scroll to the end of products list (after last products lazy load)
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