nanogioia Posted April 22, 2014 Share Posted April 22, 2014 Hi, I am a newbie in Prestashop and I am having some problems trying to adapt Prestashop to my needs. In this case I would like to sort and group the products in the cart by supplier. I would like to separate the products of different suppliers just with a line or something like that, separating products from different supplier. I would like to achieve this in blockcart module and also when yo enter to cart in the shopping-cart.tpl if possible. Thanks a lot for your help! Link to comment Share on other sites More sharing options...
nanogioia Posted April 29, 2014 Author Share Posted April 29, 2014 Can anyone help me? Is this even possible to do? Link to comment Share on other sites More sharing options...
Dev Franco Posted May 13, 2015 Share Posted May 13, 2015 Hi, I am facing the same problem. Did you got a solution? Link to comment Share on other sites More sharing options...
EdEichman Posted October 30, 2015 Share Posted October 30, 2015 My solution for sorting the cart without changing the core code can be found here. In the getSummaryDetails function, you could add variables that you can later use in the template (like I add original_date_add), which can later be used in the template to add separators by suppliers. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now