9 replies [Last post]
zptoth's picture
Offline
Joined: 02/05/2008
Juice: 74
Was this information Helpful?

Hi,

I've set my catalog, to display products in grid style.

I have this result at the moment: http://www.lingvini.com/files/products_grid_display.png

(needs some further styling... Eye-wink

Question: is there any way to display some additional text in grid view (eg. a short description = node body) without to much hacking?

By default these fields can be set:

- Display product title
- Display product model (SKU)
- Display product sell price
- Display product add To cart
- Display attributes

Both the grid view and the list table view are somewhat limited this way.

Thanks,

Zsigmond

zptoth's picture
Offline
Joined: 02/05/2008
Juice: 74
like in teaser view

Actually I'm looking for something like this: http://www.lingvini.com/files/teaser_view.png
This is a default teaser view on the front page.
Catalog can be organized based on categories, teasers on frontpage can display additional text. Now what...? Smiling

Other thing is the catalog page.
Category picture + category name looks somewhat poor information. Is there any way to display some additional description here too?

Lyle's picture
Offline
AdministratoreLiTe!
Joined: 08/07/2007
Juice: 6846
Re: like in teaser view

I think your best bet is to learn Views. Views can do just about anything already, so we don't need to figure out how to do the same thing.

This will override all of the content on the category pages, so it'll be a little bit of extra work.

Without Views, you can edit the description of your taxonomy terms through the Drupal pages, and they'll be displayed in the catalog.

zptoth's picture
Offline
Joined: 02/05/2008
Juice: 74
why not

if it's similar to theme override functions, i'll go for it!
Or like content tempates. That makes life real easy and fun Smiling

Thanks,

Zsigmond

zptoth's picture
Offline
Joined: 02/05/2008
Juice: 74
Ease of Catalog + Power of Views

Thanks Lyle! I have checked Views, it seems to be quite powerful. I really like it! Smiling

But, is there any way to combine the power of Views with the ease of Catalog?

Now I know how to create a page (catalog teaser), that looks exactly how it should.
But how could I just apply this to the catalog view and continue to organize the shop based on categories defined under Administer >> Categories >> Catalog >> list terms?

What do I mean under 'the ease of Catalog'? Well...the basic features, except for the limited content display capabilities.

- to place/move products to the right place with a single click by selecting one or more categories
- to create/maintain a hierarchical tree of products by adding/deleting/renaming taxonomy terms to/from/at the catalog

I would like to avoid maintaining all the queries in Views for all catalog-sub-categories, if possible.

Thanks in advance,

Zsigmond

zptoth's picture
Offline
Joined: 02/05/2008
Juice: 74
Catalog + Views

Actually from this comment the topic is not about 'grid view' but about Catalog + Views.

I've found some possibilities to import/export views that have already been created.
Good idea, but again, not a confortable way to replace the automatism of Catalog module.
It's rather for cross-site view transport. (Might be useful!)

zptoth's picture
Offline
Joined: 02/05/2008
Juice: 74
Wind of freedom

Some basic steps with Views + Ubercart can be viewed at www.lingvini.com
From one side, using Views gives a powerful toy in my hands, but from the other side, drawing HTML tables and typeing HTML links manually is somewhat stoneage.
Just like codeing static html in Dreamwaver. Smiling

Anyway, one step forward...

svihel's picture
Offline
Joined: 05/29/2008
Juice: 140
Hello, I have similar

Hello,
I have similar situation, so using Views probably could be solution, but I have like 100+ categories and creating each one manually seems to by really like dark ages :] Especially since I probably would want them some times changed, etc...
So did you find any more automated solution?

Ryan's picture
Offline
Joined: 08/07/2007
Juice: 15438
Re: Hello, I have similar

No need to create an individual View for each category. You can do something like use an Argument in the View so that it grabs a value from the URL to filter the nodes displayed in the View. This is probably a lesser known feature of Views. You might search d.o for more info.

svihel's picture
Offline
Joined: 05/29/2008
Juice: 140
Thanks for answer. (BTW if

Thanks for answer.
(BTW if anyone look for that too, there is a great handbook for using this http://drupal.org/node/144725, and for multiple galeries folow link Multiple galleries and taxonomy - using Viewfield could be even better in some cases.)

Anyway even if this is a solid solution, its little too complicated to change the categories (you have to change categories itself, you will have to create menu structure manually, and probably even url alliases). I was looking for something that even a dumb store administrator could use. I'm afraid that if I let someone take care of the store he is going to be confused with the amount of settings.

But thats not too big problem, and I guess there are more important issues to focus on. But still, if someone could figure out how to make Views better cooperate with Ubercart, please leave a comment.