By default, the list of products on the cart page and the dropdown cart of the Prestashop 1.7 shop is sorted by the date of adding – the last product added lands at the end of the cart – a free modification, thanks to which the last product added to the cart lands at the top of the list, we described in the article on our blog – you will find it here.
Based on the experience of our customers, we have developed a dedicated modification that allows you to sort the list of products on the cart page and in the pull-out cart by product supplier, product brand, product manufacturer with the possibility of prioritization.
How are the products in the cart sorted thanks to this modification?
– first according to the supplier of the product
– then by product manufacturer / brand
If the products do not have an assigned supplier or manufacturer / brand – they end up at the end of the list.
ATTENTION! If you want the products to be sorted not only in the cart but also on the list of products after placing the order (in the shop panel, on the order confirmation page or e.g. in the e-mail confirming the order) and the list of products from the cart was saved in the order in the right order to the shop’s database, you need to buy additional this modification. The combination of both modifications means a double scale of benefits:
– properly sorted products, thanks to the entry in the database, can be sent already sorted, e.g. to the ERP / accounting program
– the customer will be able to view the already sorted products in the cart before placing the order against the new sorting method.