How to show Frequently Bought items of a user

4 posts / 0 new
Last post
sakar
sakar's picture
How to show Frequently Bought items of a user

HI,

I want to maintain and display a list of most frequetly bought items in a block or on the page after a user login in.

The products have to be the ones that particular logged in person has bought before.

With Regards,

Sakar Panse

support
support's picture
Hi there Sakar:

Hi there Sakar:

Here are some solutions related to what you need:

Add default View for a user's Order history
https://www.drupal.org/node/1032332

View Block of Order history(authenticated user)
https://drupalcommerce.org/questions/4405/view-block-order-historyauthen...

Add Views fields that count products sold and a user's orders
https://www.drupal.org/node/1031386

Best!!!!

sakar
sakar's picture
Hi,

Hi,
Thanks For Your Prompt response.

I am referring to following forum:
View Block of Order history(authenticated user)
https://drupalcommerce.org/questions/4405/view-block-order-historyauthen...

What all is said over here, my requirement is exactly the same.
But because of less explanation I am not able to achieve the output.

particularly,
"To do that, you would need a relationship set up in the view for each of the line items and then you would want to list all of the unique line items that appear on each order".
I am not understanding with whom and what all is about setting up the relationship .

I am stuck in between can you please help me with all detail steps.

With Regards,
sakar

support
support's picture
Hi there Sakar:

Hi there Sakar:

The relationship is a feature you can setup on the right column (at the second level, under the CONTEXTUAL FILTERS) of the View Edit panel.

Best!!!

Log in to post comments