#StackBounty: #8 #views How to create a view printing the latest 3 nodes with unique entity reference values

Bounty: 50

I have two content types, CAR and DRIVER. The DRIVER content type contains a CAR entity reference field. So each DRIVER node creation page can reference a specific CAR.

The goal is to build a view to print out 3 of the most recent unique CARs referenced from a DRIVER node (created by the logged-in user).

Example… here are 6 of the most recently created DRIVERS by a particular user.

  • Driver 1 – BMW
  • Driver 2 – BMW
  • Driver 3 – Mercedes
  • Driver 4 – BMW
  • Driver 5 – Audi
  • Driver 6 – Mercedes

The goal is to display 3 of most recent unique CARS referenced, like so…

  • Driver 1 – BMW
  • Driver 3 – Mercedes
  • Driver 5 – Audi

The closest solution I’ve found is using Aggregation in views, but the sort order by Created Date doesn’t actually sort them correctly.

I’m open to building this outside of views also. Any suggestions? Thanks!


Get this bounty!!!

#StackBounty: #7 #views #entities #rules Set a Data Value from Text field to Term Reference field

Bounty: 50

Node has two fields:

  1. Text field
  2. Term reference field (autocomplete?)

The Text field is old and already has 500 nodes with 500 unique values.

The Term reference field is new and needs to contain same data.

So e.g. one node has Text field value of 123, the Term reference field also needs somehow to have it set to 123?

enter image description here

In Rules Set a value data only lets you copy content from term reference field into text field, but not vice versa.

Or on page save it does save a new term based on text field to the taxonomy vocabulary, but the term itself does not show up/gets saved in the node/its term field?

Rule in the making:

enter image description here

Under Actions we select Set a data value and in first screen we select our Taxonomy term reference field that needs to be modified:

enter image description here

And then on a next screen we are stuck, because we cannot select the source for data selector which is a Text field but all available options are only other Term reference fields.

The missing field is added under Conditions with Entity has field (the node:field-enter-product-name-)


Get this bounty!!!

#StackBounty: #8 #views #commerce #taxonomy-terms #blocks Display Block to retrieve information from Order Item's Product Variant a…

Bounty: 50

I am working on an e-commerce website development. I have the conventional Products -> Product Variants which goes through Order and payment gateway workflow. However, there is something different in this conventional scenario.

I have setup Product -> Product Variation to categorise the different type of fabrics which fall under a same style.

We have different kinds of fabric which we source from vendors in lots. It so happens that we do not get the same colour, pattern every time and so our Product and Product Variant will be obsolete once we have exhausted the stock.

For this reason, I have setup Taxonomy as per the product classification in our case and I am tagging each product variant with appropriate taxonomy.

This is my Taxonomy hierarchy for example:

enter image description here

And I have made provision to tag this Taxonomy to my Product Variant and this is how it looks:

enter image description here

Now, I would want the user to leave a rating and review for the Product variant after he/she places an order with us. I have added FiveStar rating module and jEditable modules (this is used to edit the field by user in display mode) so that user will be able to Rate and add a Review in "Order Item" as I want the user to be able to rate and review each line item which he/she buys from us. This is how it looks:

enter image description here

It’s all fine until now. But now I want to create a Block which will be placed below the product variant selected by user and it should do the following:

  1. Place a block below in the Product Variation Page.
  2. Fetch all Order Items (within Orders) placed by all users for the same taxonomy which is being shown in the Product Variant Page.
  3. Display the User Name, User profile picture, rating and review left by the user from the above fetched order item which contains the same taxonomy information.

enter image description here

I seem to be completely lost in this last step of fetching ratings & reviews by users on previously placed orders on the same taxonomy as the product variation which is being viewed by the user currently. I have tried to see if there is a module which I am trying to achieve but could not find any. Also tried to see how I can build blocks to achieve this but I seem to be lost. Do I need to do some custom coding to achieve this or is it possible to fetch this relationship somehow? Am I missing something?

Thanks!


Get this bounty!!!

#StackBounty: #8 #views #commerce #taxonomy-terms #blocks Display Block to retrieve information from Order Item's Product Variant a…

Bounty: 50

I am working on an e-commerce website development. I have the conventional Products -> Product Variants which goes through Order and payment gateway workflow. However, there is something different in this conventional scenario.

I have setup Product -> Product Variation to categorise the different type of fabrics which fall under a same style.

We have different kinds of fabric which we source from vendors in lots. It so happens that we do not get the same colour, pattern every time and so our Product and Product Variant will be obsolete once we have exhausted the stock.

For this reason, I have setup Taxonomy as per the product classification in our case and I am tagging each product variant with appropriate taxonomy.

This is my Taxonomy hierarchy for example:

enter image description here

And I have made provision to tag this Taxonomy to my Product Variant and this is how it looks:

enter image description here

Now, I would want the user to leave a rating and review for the Product variant after he/she places an order with us. I have added FiveStar rating module and jEditable modules (this is used to edit the field by user in display mode) so that user will be able to Rate and add a Review in "Order Item" as I want the user to be able to rate and review each line item which he/she buys from us. This is how it looks:

enter image description here

It’s all fine until now. But now I want to create a Block which will be placed below the product variant selected by user and it should do the following:

  1. Place a block below in the Product Variation Page.
  2. Fetch all Order Items (within Orders) placed by all users for the same taxonomy which is being shown in the Product Variant Page.
  3. Display the User Name, User profile picture, rating and review left by the user from the above fetched order item which contains the same taxonomy information.

enter image description here

I seem to be completely lost in this last step of fetching ratings & reviews by users on previously placed orders on the same taxonomy as the product variation which is being viewed by the user currently. I have tried to see if there is a module which I am trying to achieve but could not find any. Also tried to see how I can build blocks to achieve this but I seem to be lost. Do I need to do some custom coding to achieve this or is it possible to fetch this relationship somehow? Am I missing something?

Thanks!


Get this bounty!!!

#StackBounty: #8 #views #commerce #taxonomy-terms #blocks Display Block to retrieve information from Order Item's Product Variant a…

Bounty: 50

I am working on an e-commerce website development. I have the conventional Products -> Product Variants which goes through Order and payment gateway workflow. However, there is something different in this conventional scenario.

I have setup Product -> Product Variation to categorise the different type of fabrics which fall under a same style.

We have different kinds of fabric which we source from vendors in lots. It so happens that we do not get the same colour, pattern every time and so our Product and Product Variant will be obsolete once we have exhausted the stock.

For this reason, I have setup Taxonomy as per the product classification in our case and I am tagging each product variant with appropriate taxonomy.

This is my Taxonomy hierarchy for example:

enter image description here

And I have made provision to tag this Taxonomy to my Product Variant and this is how it looks:

enter image description here

Now, I would want the user to leave a rating and review for the Product variant after he/she places an order with us. I have added FiveStar rating module and jEditable modules (this is used to edit the field by user in display mode) so that user will be able to Rate and add a Review in "Order Item" as I want the user to be able to rate and review each line item which he/she buys from us. This is how it looks:

enter image description here

It’s all fine until now. But now I want to create a Block which will be placed below the product variant selected by user and it should do the following:

  1. Place a block below in the Product Variation Page.
  2. Fetch all Order Items (within Orders) placed by all users for the same taxonomy which is being shown in the Product Variant Page.
  3. Display the User Name, User profile picture, rating and review left by the user from the above fetched order item which contains the same taxonomy information.

enter image description here

I seem to be completely lost in this last step of fetching ratings & reviews by users on previously placed orders on the same taxonomy as the product variation which is being viewed by the user currently. I have tried to see if there is a module which I am trying to achieve but could not find any. Also tried to see how I can build blocks to achieve this but I seem to be lost. Do I need to do some custom coding to achieve this or is it possible to fetch this relationship somehow? Am I missing something?

Thanks!


Get this bounty!!!

#StackBounty: #8 #views #commerce #taxonomy-terms #blocks Display Block to retrieve information from Order Item's Product Variant a…

Bounty: 50

I am working on an e-commerce website development. I have the conventional Products -> Product Variants which goes through Order and payment gateway workflow. However, there is something different in this conventional scenario.

I have setup Product -> Product Variation to categorise the different type of fabrics which fall under a same style.

We have different kinds of fabric which we source from vendors in lots. It so happens that we do not get the same colour, pattern every time and so our Product and Product Variant will be obsolete once we have exhausted the stock.

For this reason, I have setup Taxonomy as per the product classification in our case and I am tagging each product variant with appropriate taxonomy.

This is my Taxonomy hierarchy for example:

enter image description here

And I have made provision to tag this Taxonomy to my Product Variant and this is how it looks:

enter image description here

Now, I would want the user to leave a rating and review for the Product variant after he/she places an order with us. I have added FiveStar rating module and jEditable modules (this is used to edit the field by user in display mode) so that user will be able to Rate and add a Review in "Order Item" as I want the user to be able to rate and review each line item which he/she buys from us. This is how it looks:

enter image description here

It’s all fine until now. But now I want to create a Block which will be placed below the product variant selected by user and it should do the following:

  1. Place a block below in the Product Variation Page.
  2. Fetch all Order Items (within Orders) placed by all users for the same taxonomy which is being shown in the Product Variant Page.
  3. Display the User Name, User profile picture, rating and review left by the user from the above fetched order item which contains the same taxonomy information.

enter image description here

I seem to be completely lost in this last step of fetching ratings & reviews by users on previously placed orders on the same taxonomy as the product variation which is being viewed by the user currently. I have tried to see if there is a module which I am trying to achieve but could not find any. Also tried to see how I can build blocks to achieve this but I seem to be lost. Do I need to do some custom coding to achieve this or is it possible to fetch this relationship somehow? Am I missing something?

Thanks!


Get this bounty!!!

#StackBounty: #8 #views #commerce #taxonomy-terms #blocks Display Block to retrieve information from Order Item's Product Variant a…

Bounty: 50

I am working on an e-commerce website development. I have the conventional Products -> Product Variants which goes through Order and payment gateway workflow. However, there is something different in this conventional scenario.

I have setup Product -> Product Variation to categorise the different type of fabrics which fall under a same style.

We have different kinds of fabric which we source from vendors in lots. It so happens that we do not get the same colour, pattern every time and so our Product and Product Variant will be obsolete once we have exhausted the stock.

For this reason, I have setup Taxonomy as per the product classification in our case and I am tagging each product variant with appropriate taxonomy.

This is my Taxonomy hierarchy for example:

enter image description here

And I have made provision to tag this Taxonomy to my Product Variant and this is how it looks:

enter image description here

Now, I would want the user to leave a rating and review for the Product variant after he/she places an order with us. I have added FiveStar rating module and jEditable modules (this is used to edit the field by user in display mode) so that user will be able to Rate and add a Review in "Order Item" as I want the user to be able to rate and review each line item which he/she buys from us. This is how it looks:

enter image description here

It’s all fine until now. But now I want to create a Block which will be placed below the product variant selected by user and it should do the following:

  1. Place a block below in the Product Variation Page.
  2. Fetch all Order Items (within Orders) placed by all users for the same taxonomy which is being shown in the Product Variant Page.
  3. Display the User Name, User profile picture, rating and review left by the user from the above fetched order item which contains the same taxonomy information.

enter image description here

I seem to be completely lost in this last step of fetching ratings & reviews by users on previously placed orders on the same taxonomy as the product variation which is being viewed by the user currently. I have tried to see if there is a module which I am trying to achieve but could not find any. Also tried to see how I can build blocks to achieve this but I seem to be lost. Do I need to do some custom coding to achieve this or is it possible to fetch this relationship somehow? Am I missing something?

Thanks!


Get this bounty!!!

#StackBounty: #8 #views #commerce #taxonomy-terms #blocks Display Block to retrieve information from Order Item's Product Variant a…

Bounty: 50

I am working on an e-commerce website development. I have the conventional Products -> Product Variants which goes through Order and payment gateway workflow. However, there is something different in this conventional scenario.

I have setup Product -> Product Variation to categorise the different type of fabrics which fall under a same style.

We have different kinds of fabric which we source from vendors in lots. It so happens that we do not get the same colour, pattern every time and so our Product and Product Variant will be obsolete once we have exhausted the stock.

For this reason, I have setup Taxonomy as per the product classification in our case and I am tagging each product variant with appropriate taxonomy.

This is my Taxonomy hierarchy for example:

enter image description here

And I have made provision to tag this Taxonomy to my Product Variant and this is how it looks:

enter image description here

Now, I would want the user to leave a rating and review for the Product variant after he/she places an order with us. I have added FiveStar rating module and jEditable modules (this is used to edit the field by user in display mode) so that user will be able to Rate and add a Review in "Order Item" as I want the user to be able to rate and review each line item which he/she buys from us. This is how it looks:

enter image description here

It’s all fine until now. But now I want to create a Block which will be placed below the product variant selected by user and it should do the following:

  1. Place a block below in the Product Variation Page.
  2. Fetch all Order Items (within Orders) placed by all users for the same taxonomy which is being shown in the Product Variant Page.
  3. Display the User Name, User profile picture, rating and review left by the user from the above fetched order item which contains the same taxonomy information.

enter image description here

I seem to be completely lost in this last step of fetching ratings & reviews by users on previously placed orders on the same taxonomy as the product variation which is being viewed by the user currently. I have tried to see if there is a module which I am trying to achieve but could not find any. Also tried to see how I can build blocks to achieve this but I seem to be lost. Do I need to do some custom coding to achieve this or is it possible to fetch this relationship somehow? Am I missing something?

Thanks!


Get this bounty!!!

#StackBounty: #8 #views #commerce #taxonomy-terms #blocks Display Block to retrieve information from Order Item's Product Variant a…

Bounty: 50

I am working on an e-commerce website development. I have the conventional Products -> Product Variants which goes through Order and payment gateway workflow. However, there is something different in this conventional scenario.

I have setup Product -> Product Variation to categorise the different type of fabrics which fall under a same style.

We have different kinds of fabric which we source from vendors in lots. It so happens that we do not get the same colour, pattern every time and so our Product and Product Variant will be obsolete once we have exhausted the stock.

For this reason, I have setup Taxonomy as per the product classification in our case and I am tagging each product variant with appropriate taxonomy.

This is my Taxonomy hierarchy for example:

enter image description here

And I have made provision to tag this Taxonomy to my Product Variant and this is how it looks:

enter image description here

Now, I would want the user to leave a rating and review for the Product variant after he/she places an order with us. I have added FiveStar rating module and jEditable modules (this is used to edit the field by user in display mode) so that user will be able to Rate and add a Review in "Order Item" as I want the user to be able to rate and review each line item which he/she buys from us. This is how it looks:

enter image description here

It’s all fine until now. But now I want to create a Block which will be placed below the product variant selected by user and it should do the following:

  1. Place a block below in the Product Variation Page.
  2. Fetch all Order Items (within Orders) placed by all users for the same taxonomy which is being shown in the Product Variant Page.
  3. Display the User Name, User profile picture, rating and review left by the user from the above fetched order item which contains the same taxonomy information.

enter image description here

I seem to be completely lost in this last step of fetching ratings & reviews by users on previously placed orders on the same taxonomy as the product variation which is being viewed by the user currently. I have tried to see if there is a module which I am trying to achieve but could not find any. Also tried to see how I can build blocks to achieve this but I seem to be lost. Do I need to do some custom coding to achieve this or is it possible to fetch this relationship somehow? Am I missing something?

Thanks!


Get this bounty!!!

#StackBounty: #8 #views #commerce #taxonomy-terms #blocks Display Block to retrieve information from Order Item's Product Variant a…

Bounty: 50

I am working on an e-commerce website development. I have the conventional Products -> Product Variants which goes through Order and payment gateway workflow. However, there is something different in this conventional scenario.

I have setup Product -> Product Variation to categorise the different type of fabrics which fall under a same style.

We have different kinds of fabric which we source from vendors in lots. It so happens that we do not get the same colour, pattern every time and so our Product and Product Variant will be obsolete once we have exhausted the stock.

For this reason, I have setup Taxonomy as per the product classification in our case and I am tagging each product variant with appropriate taxonomy.

This is my Taxonomy hierarchy for example:

enter image description here

And I have made provision to tag this Taxonomy to my Product Variant and this is how it looks:

enter image description here

Now, I would want the user to leave a rating and review for the Product variant after he/she places an order with us. I have added FiveStar rating module and jEditable modules (this is used to edit the field by user in display mode) so that user will be able to Rate and add a Review in "Order Item" as I want the user to be able to rate and review each line item which he/she buys from us. This is how it looks:

enter image description here

It’s all fine until now. But now I want to create a Block which will be placed below the product variant selected by user and it should do the following:

  1. Place a block below in the Product Variation Page.
  2. Fetch all Order Items (within Orders) placed by all users for the same taxonomy which is being shown in the Product Variant Page.
  3. Display the User Name, User profile picture, rating and review left by the user from the above fetched order item which contains the same taxonomy information.

enter image description here

I seem to be completely lost in this last step of fetching ratings & reviews by users on previously placed orders on the same taxonomy as the product variation which is being viewed by the user currently. I have tried to see if there is a module which I am trying to achieve but could not find any. Also tried to see how I can build blocks to achieve this but I seem to be lost. Do I need to do some custom coding to achieve this or is it possible to fetch this relationship somehow? Am I missing something?

Thanks!


Get this bounty!!!