Closed (fixed)
Project:
Amazon Store
Version:
6.x-2.0-rc1
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
9 Feb 2010 at 08:22 UTC
Updated:
11 Mar 2010 at 23:40 UTC
Jump to comment: Most recent file
Comments
Comment #1
bcrawl commentedI meant to include that, within the view, the product image link takes me to my store but title link takes me to my post. And I would like to know if its possible to direct the title link to my store aswell.
Thanks.
Comment #2
rfayYou can construct any kind of link you want in views by just
1. Including the ASIN as a field (hide it)
2. Say "output this field as a link" and then use [asin] as part of the link. Like /amazon_store/item/[asin].
In the example, the bottom field is an example of link construction.
Only one thing is confusing me... I thought I had already built the capability to choose to link to the Amazon store page right into views. Anyway, it's easy enough to do with this technique.
-Randy
Comment #3
bcrawl commentedHi,
I tried your suggestion and I am still not able to get the link to go to store directly. I tried the -> output this field as a link -> amazon_store/item/[asin]
I have attached my cck and view along with this post.
When I include amazon product image in my view, I get an option; "A link to the product's Amazon Store page (Amazon Store Module)".
But when I include the amazon title, the only options are no link, link to amazon store page [amazons] and node link.
I apologize but I remember the last time I was messing with the module, it did give me the option like you mentioned.....I have spent some time and I cant figure out. :(
Comment #4
rfayThis is really a views question, but I will take a look at your cck/view if you do in fact attach it (you forgot it :-)
Comment #5
rfayComment #6
joe_pixelrow commentedIn order to make the image a link to my store page I replaced the original text in the Global:Custom text field:
Example link/image: <a href="[detailpageurl]"><img src="[product_image]"></a>with this
<a href="/amazon_store/item/[asin]"><img src="[product_image]"></a>and now the images link to my store page for the product.
Comment #7
rfayCongratulations, and thanks for sharing it with us! If you would be willing to share your cck type and view for others to learn from, please export them and attach them to this issue.
It would be much appreciated if you could add this to http://drupal.org/node/524296 as well.
Thanks,
-Randy