13 replies [Last post]
Boletus's picture
Offline
Joined: 09/09/2007
Juice: 117
Was this information Helpful?

Is it possible to add what is listed in the uc_product_table list? I would like to show manufacturer as well as a Designer category.

oslinux's picture
Offline
Joined: 09/06/2007
Juice: 461
Re: Change and add columns/fields in the uc_product_table

install views? Maybe then you can filter by that already?

@Ryan, how far is ubercart linked/tied with views anyhow in 7e and 8 alpha?

TR
TR's picture
Offline
Bug FinderFAQ ModeratorGetting busy with the Ubercode.
Joined: 11/05/2007
Juice: 3424
Re: Re: Change and add columns/fields in the uc_product_table

I'm finding that the reliance on uc_product_table to display the product catalog is very limiting. I would like to add a number of things, like a teaser, a selection box for options, and a few other things, but it seems the only way I can do that is to throw out the product table and create my own view. Others have done it that way. So why doesn't Ubercart just use Views to begin with?

<tr>.
kcoworks's picture
Offline
Joined: 11/22/2007
Juice: 103
Re: Re: Re: Change and add columns/fields in the uc_product_tabl

I'm on the most recent uc release and views is supported basically. The uc_views which was an add-on before, is added to core since 7c (cfr this)

I added a few things as well, (over here. Imho, it will be nescessary to implement more views compatibility into the basic uc setup, but the product table 'as is' provides a very nice out of the box availability.

In our shop, we use taxonomy_menu in combination with views. We had to rewrite/hack taxonomy_menu a little as it seems no longer maintained and not really compatible with pathauto. The catalog included in uc has this functionality from the start...

TR
TR's picture
Offline
Bug FinderFAQ ModeratorGetting busy with the Ubercode.
Joined: 11/05/2007
Juice: 3424
Re: Re: Re: Re: Change and add columns/fields in the uc_product_

I agree that the default product table is great place to start. But what I'm finding is that if you want to do any customization at all, you need to throw it out and start from scratch? If so, I would argue that this indicates the architecture is wrong - it should be designed to be easy to extend or customize, because a large percentage of stores will need to do something other than the default.

<tr>.
Ryan's picture
Offline
Joined: 08/07/2007
Juice: 15438
Re: Re: Re: Re: Re: Change and add columns/fields in the uc_prod

I like the idea of the /products just being a default View, too. Mostly b/c we have the catalog module if people want an out of the box product listing, and if a newbie comes along and just wants a product list, it would be better for us and them if they used the Views module from the start (less support for us, more options for them as they get more comfortable with Drupal/Views). I'd like to see this on a to-do list somewhere unless there are any good objections. Puzzled

Lyle's picture
Offline
AdministratoreLiTe!
Joined: 08/07/2007
Juice: 6846
Re: Re: Re: Re: Re: Re: Change and add columns/fields in the uc_

The only objection I can see is that it adds another requirement to using Übercart. It's not a big objection because I think everyone should learn how to use Views anyway, but it's there.

The reason we didn't start off using Views is because I didn't know what it was. I was still learning Drupal at that point, and Ryan was working on TAPIr, so I decided to use that.

Ryan's picture
Offline
Joined: 08/07/2007
Juice: 15438
Re: Re: Re: Re: Re: Re: Re: Change and add columns/fields in the

hehe "I didn't know what it was." Inconceivable. We've learned a lot working on this project, eh? Well, I'd say it wouldn't add another requirement. Project nodes would still show up in the list at /node like any other module's nodes. And the catalog module could still be used to list them specially. For everything else, there's Views.

Lyle's picture
Offline
AdministratoreLiTe!
Joined: 08/07/2007
Juice: 6846
"You keep using that word.

Smiling "You keep using that word. I do not think it means what you think it means."

I thought we were talking about replacing the uc_product_table on the catalog pages with a View. If not, I won't worry about it. If I need to change something, just let me know.

Ryan's picture
Offline
Joined: 08/07/2007
Juice: 15438
Re: "You keep using that word.

Nein - referring to /products. Making that a default View instead of a TAPIr thingummy.

TR
TR's picture
Offline
Bug FinderFAQ ModeratorGetting busy with the Ubercode.
Joined: 11/05/2007
Juice: 3424
Re: Re: "You keep using that word.

I was talking about the catalog. I personally don't use /products, I present my products to the customer through the catalog. So it's the catalog I'd like to have the ability to customize a lot, and I'm finding the current scheme to be a little rigid.

<tr>.
Ryan's picture
Offline
Joined: 08/07/2007
Juice: 15438
Re: Re: Re: "You keep using that word.

My bad, then. Shocked Sorry for hijacking the thread.

TutusForToddlers's picture
Offline
Joined: 11/17/2007
Juice: 158
Re: Re: "You keep using that word.

I would like to have more flexability in customizing the Catalog as well.

Thanks,
Claire
Tutus for Toddlers sells Tutus using UberCart for e-commerce with Drupal.

zptoth's picture
Offline
Joined: 02/05/2008
Juice: 74
Catalog - customization

Actually some possibility for customization would be a great idea!
For example, i'd be happy to be able to display a model(SKU) culomn in the catalog.
(or brutto price) ((or else))