Closed mickname closed 9 years ago
By default products can be sorted by name or price and the default value is set by the setting LFS_PRODUCTS_SORTING. This only works on the category view, not on product pages which use the _productnavigation template tag.
https://github.com/diefenbach/django-lfs/blob/ff822090eb61b916d0a9031850a27b1d8637ec0a/lfs/core/templatetags/lfs_tags.py#L205
The sorting key is hard coded to _effectiveprice.
By default products can be sorted by name or price and the default value is set by the setting LFS_PRODUCTS_SORTING. This only works on the category view, not on product pages which use the _productnavigation template tag.
https://github.com/diefenbach/django-lfs/blob/ff822090eb61b916d0a9031850a27b1d8637ec0a/lfs/core/templatetags/lfs_tags.py#L205
The sorting key is hard coded to _effectiveprice.