From version 4.0.0, you can go file cirilla/lib/constants/product_list.dart to setting defaultSort with values:
Values | Description |
{ 'key': 'product_list_default', 'query': { 'orderby': 'menu_order', 'order': 'asc', } } | Default sorting |
{ 'key': 'product_list_popular', 'query': { 'orderby': 'popularity', 'order': 'desc', }, } | Popular |
{ 'key': 'product_list_rating', 'query': { 'orderby': 'rating', 'order': 'desc', } } | Rating |
{ 'key': 'product_list_latest', 'query': { 'orderby': 'date', 'order': 'desc', } } | Lasest |
{ 'key': 'product_list_low_to_high', 'query': { 'orderby': 'price', 'order': 'asc', } } | Low to high |
{ 'key': 'product_list_high_to_low', 'query': { 'orderby': 'price', 'order': 'desc', } } | High to low |
Was this article helpful to you?
Yes
No