Vote up!
Vote down!

Sorting the default product thumbnail list by newest added?

I just inherited our Drupal 7 + Commerce store from our web development company. I did not previously have administrative access to the system, but I am now learning my way around it (no previous Drupal experience).

Right now our site does not have any way for customers to see the products most recently added beyond a few on the front page. We have a /products/ link which simply outputs all products to the customer, and I have not yet found where to edit that. I would like to have it show the products from newest to oldest until they use the faceted search to narrow down what they are looking for.

Asked by: yerbamate
on June 18, 2012

2 Answers

Vote up!
Vote down!

Make sure that the Views UI module is enabled and look for the view that references /product. Edit that view and add a Sort Criteria that filters by "Commerce Product: Created date" or "Content: Post date". If you're new to Drupal, Views can be very intimidating and come with a steep learning curve. Once you wrap your head around how the views UI works, it will make much more sense. Also, there is a bit of added complexity with the way that Drupal Commerce displays products. I'd suggest reviewing all of the videos http://vimeo.com/channels/commerceguys and going through a few Views tutorials to get your feet wet.

Andy Giles
Answer by: Andy Giles
Posted: Jun 18, 2012
Vote up!
Vote down!

Can you guide if we wanted to sort products manually within a category (taxonomy term reference)?


Answer by: Mastap
Posted: Jan 27, 2014