1
Answers
Vote up!
0
Vote down!

How do customize user's "Orders" page and Commerce File "Files" page? specifics

I am trying to organize the Commerce File "Files" page in a different more intuitive way.

I have multiple products that are bundled into one product and also many customers purchase multiple files at one time. I need to figure out a way to display the table within the view by order. So The view would have many tables with downloadable licensed files within each table instead of one table for every file ever purchased.

Any ideas how to separate out the fields so they are grouped by order rather than one long list?

Thanks in advance

Asked by: Tim Jones
on July 11, 2013

1 Answer

Vote up!
0
Vote down!

I assume that your view's format is a table. under the format settings (if it's a table), there's a "Grouping Field" setting. Just configure that setting to group your files. You would have to use relationships to expose the fields in an order and set the order ID or order number as the grouping field.

Answer by: akosipax
Posted: Jul 12, 2013

Comments

Thanks for the tip,

What i am trying to do is have all of the fields within my product available within this view. I have created an image field, album title, song name, artist name, and song number fields and i want to be able to pull them into this view and use them.

I cannot seem to figure out which relationship will work. Since the only relationships that are originally available are "file:...." relationships. When i drill down and make a few different relationships (3-4) i get the options im looking for but then the results are doubled or trippled and i am getting multiples of everything.

Any hints to about relationships to not get repeat items?

- Tim Jones on July 15, 2013

In case you haven't figured it out yet.... You just need the following relationships:

Commerce File License: Licensed file:fid
Commerce File License: Line item references
(Line Item) Commerce Line item: Product

Tell me if it works.

- akosipax on July 22, 2013