Skip to main content
added 229 characters in body
Source Link

I created a views to show all my products, in each product have a field named "Color", so now I want to group all product has same color. So now how can I get all grouping values,

For exam we have 6 results but just only has 2 colors : Red and Blue without Black one. 

My question is how can I get grouping values in this views (Red, Blue)

$view->some_thing->some_how ?

I want to put those values in View footer for my personal purpose

My View should displayed like this

--- View Content ----
[RED]
Product 1
Produc 2
[Blue]
Product 3
Product 4

--- View footer
[RED] - [BLUE]

Thanks

I created a views to show all my products, in each product have a field named "Color", so now I want to group all product has same color. So now how can I get all grouping values,

For exam we have 6 results but just only has 2 colors : Red and Blue without Black one. 

My question is how can I get grouping values in this views (Red, Blue)

$view->some_thing->some_how ?

Thanks

I created a views to show all my products, in each product have a field named "Color", so now I want to group all product has same color. So now how can I get all grouping values,

For exam we have 6 results but just only has 2 colors : Red and Blue without Black one. 

My question is how can I get grouping values in this views (Red, Blue)

$view->some_thing->some_how ?

I want to put those values in View footer for my personal purpose

My View should displayed like this

--- View Content ----
[RED]
Product 1
Produc 2
[Blue]
Product 3
Product 4

--- View footer
[RED] - [BLUE]

Thanks

Source Link

How to get grouping values in views

I created a views to show all my products, in each product have a field named "Color", so now I want to group all product has same color. So now how can I get all grouping values,

For exam we have 6 results but just only has 2 colors : Red and Blue without Black one. 

My question is how can I get grouping values in this views (Red, Blue)

$view->some_thing->some_how ?

Thanks