-
Notifications
You must be signed in to change notification settings - Fork 22
Open
Description
Unavailable items have the priced marked as 00,00 so when the parameter OrderByPriceASC is used, the first items to be displayed are unavailable.
Expected Behavior
Unavailable items should be displayed after the rest of the search results.
Current Behavior
Unavailable items are being displayed before the rest of the search results, due to their price being loaded as zero.
Steps to Reproduce (for bugs)
Create a shelf with the code below:
"shelf#ofertas": {
"props": {
"orderBy": "OrderByPriceAsc",
"productList": {
"maxItems": 4,
"itemsPerPage": 4,
"scroll": "BY_PAGE",
"arrows": false,
"titleText": "O patrão tá maluco",
"summary": {
"isOneClickBuy": false,
"showBadge": true,
"badgeText": "OFF",
"buyButtonText": "Leva agora meu!",
"displayBuyButton": "displayButtonHover",
"showCollections": false,
"showListPrice": true,
"showLabels": true,
"showInstallments": true,
"showSavings": true,
"name": {
"showBrandName": true,
"showSku": true,
"showProductReference": true
}
}
}
}
}
Context
The expected behavior is to display the results currently available, followed by the unavailable items. Displaying unavailable products can be frustrating to the customer.
Your Environment
This test was performed in the workspace novaloja--pilateslovers.myvtex.com.
IvanClementino
Metadata
Metadata
Assignees
Labels
No labels
