4 replies [Last post]
chum's picture
Offline
Joined: 02/27/2009
Juice: 151
Was this information Helpful?

Is it possible to re-order the items displayed in product grid views?

Example, the grid view shows:
PRODUCT TITLE
PRODUCT IMAGE
PRODUCT PRICE

I'd like to re-order to display:
PRODUCT IMAGE
PRODUCT TITLE
PRODUCT PRICE

Thanks,
Chum

manatwo's picture
Offline
Joined: 02/19/2008
Juice: 235
Re: Possible to re-order items displayed in grid view?

In views, you have the ability to reorder the fields. The reason you are seeing them in that way is because that's how they were added originally. In the "Fields" pane, look for the arrows on the right hand side.

chum's picture
Offline
Joined: 02/27/2009
Juice: 151
Re: Re: Possible to re-order items displayed in grid view?

Does this require the Views module? I don't have that module installed and don't see any options about Views.

stephthegeek's picture
Offline
Theminator
Joined: 10/20/2007
Juice: 575
Re: Possible to re-order items displayed in grid view?

Yes, he means to use the Views module to create your own grid view of products.

Gorgeous original Drupal themes (and Ubercart themes!) ~ Psst: more Ubercart themes on our new site

ryan_courtnage's picture
Offline
Joined: 04/20/2009
Juice: 24
Theme it

I just ran into this myself (In my case I wanted to *add* an item).

If you don't want to use Views, then you'll just have to override the "theme_uc_catalog_product_grid()" function from uc_catalog.module.

http://www.ubercart.org/faq/617