Hi,
Following is classic example of Drupal node reference display. I followed it successfully. The content songs is a product type in my example application.
I tried to display "add to cart" & "checkout" links within blocks by selecting additional fields such as - Product:Checkout links, Node:Teasure, Node:Body etc but could not enable the display of links "add to cart" & "checkout" in blocks. These links are showing on individual product pages but not in blocks view using node reference.
Checkout links in Teasure option is already enabled.
Kindly help
Rugman
Example:
1.Create a content type 'Song' which is a product.
2.Add several Song nodes.
3.Create a content type 'Artist' with a node reference field referencing the Song content type. (You can set the 'Number of values' to more than 1). Let's call the field field_reference_song.
4.Add an Artist node and in the node reference field add all the Song nodes.
5.Add a view with view type 'node.
6.In Relationships section select the node reference field and enable 'Require this relationship'.
7.In Arguments section select 'Node:nid' - this will be used to enter the Artist's node id.
8.In Fields section select 'Node:Title'. In the Relationships select list select your node reference field.
9.In Sort section criteria select Node:title.
Comments
Comment #1
gordon commentedThanks for this, I have fixed this so that these will work with aliases now.