The extra fields i've created shows up in views, but when i create a custom view the extra fields do not show up as one of the choices, i would just use the order views that comes with ubercart views, but then i can't get the content field to show up (the fields i've created using CCK). Does anyone know what i'm doing wrong?
Thanks

Comments

megachriz’s picture

The extra fields are linked with orders, not with nodes. CCK fields are linked with nodes, not with orders.

If you setup a node view, the extra fields won't show up, because you are not in order context.
If you setup an order view, CCK fields won't show up, because you are not in node context.

The only way to get fields from both contexts is to create a relationship in Views. I don't have the time right now to write a detailed description about this, I hope you can find the information elsewhere.

Here's a link to a page that goes about relationships in Views:
http://gotdrupal.com/videos/drupal-views-relationships

maurizio.ganovelli’s picture

Hi renthead1978, you can try to add a relation "Order product: Product NID" in a "Order Products" view to use Content group (CCK) in fields.
Let me know, if this helps.
Bye!

renthead1978’s picture

thanks for your prompt replies I will try it

renthead1978’s picture

unbelieveable, i can't believe something as that simple worked, thanks blackice, appreciate it

maurizio.ganovelli’s picture

Assigned: Unassigned » maurizio.ganovelli
Status: Active » Fixed

I am glad that you've solved! Mark this request as fixed. Bye.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.