Advertising sustains the DA. Ads are hidden for members. Join today

Making custom store pages using Views

Last updated on
30 April 2025

The Amazon module offers excellent views support, and with Amazon Store installed, the links all go to the Amazon Store product detail page.

Here's how to use Views and CCK with Amazon Store:

  • Enable Amazon Store, Amazon, and the "Amazon Field" module
  • Create a content type and add Amazon Field to it
  • Add a couple of nodes of the content type
  • Create a view of type node
    • Filter on node type = <your node type>
    • Add a relationship on <your CCK field>. Make sure to check "require this relationship"
    • Add whatever fields you want.

Note that Amazon module generally gets the links correct to the Amazon Store product page on the "Content" widget, but not on the DetailPageURL, etc. But you can use a custom text fields to do whatever you want with links.

Here is a sample CCK export and a Sample View to get you started.

One caveat: Creating a store this way has a bit of risk. Amazon may discontinue your item, and your view will then link to an error page for the Amazon Store item detail page.

Help improve this page

Page status: Not set

You can: