PhotoPost Community

PhotoPost Community (http://www.photopost.com/forum/)
-   ReviewPost How do I...? (http://www.photopost.com/forum/reviewpost-how-do-i/)
-   -   Change Amazon-Link (http://www.photopost.com/forum/reviewpost-how-do-i/143668-change-amazon-link.html)

MotMann August 15th, 2010 04:32 AM

Change Amazon-Link
 
I need to change the amazonlink to my own affilinet.

Is that affili-code correct in showproduct.php?

$dealtime_link = "<div align=\"center\">
<span class=\"{$Style['medium']}\"><b><a href=\"http://www.amazon.de/exec/obidos/search-handle-url/index=blended&amp;field-keywords=$product_key/ref=nosim/XXXXXXXXXX\" target=\"_blank\">
<span style=\"color:#FF0000;\">{$rp_phrase['dealtime']} $manu $title</span></a></b></span>
</div><br />";

XXXXX is my own affillicode and i need only the product key and not the Manufacturer in the searchstring.

How i must change the code?

Chuck S August 15th, 2010 06:30 AM

Honestly have you viewed the amazon support site to ask where an affiliate link would go and be formatted in a url to them? I would think you need to add this in there

Code:

Content visible to verified customers only.
Like maybe so? You might need to ask them the correct format

Code:

Content visible to verified customers only.

MotMann August 15th, 2010 10:23 AM

Quote:

ref=nosim/XXXXXXXXXX
that is my ID :)

And what happened with delete of the manufacture searchstring? Just the Product?

Chuck S August 15th, 2010 10:27 AM

well like I said you need to follow whatever amazon tells you. I did a quick search on amazon and they tell have posted there that you pass your affiliate link like I posted so who is right.

Your free to modify anything you wish in the code. I would assume that if you dont want the manufacturer in the search then maybe try replacing $product_key in that line with just $title.

MotMann August 15th, 2010 12:50 PM

Quote:

Originally Posted by Chuck S (Post 1274277)
well like I said you need to follow whatever amazon tells you. I did a quick search on amazon and they tell have posted there that you pass your affiliate link like I posted so who is right.

Sorry, but than i have two Amazon IDs in the URL. So the code is wrong ;)

http://www.amazon.de/exec/obidos/search-handle-url/index=blended&amp;field-keywords=$product_key/ref=nosim/XXXXXXXXXX/tag=yourid\

xxx stand for my ID. and now as second after /tag? ;)

Quote:

Originally Posted by Chuck S (Post 1274277)
I would assume that if you dont want the manufacturer in the search then maybe try replacing $product_key in that line with just $title.

If the manufacture in the URL, then comes to much mistakes in the searchresults on amazon... just the titel is for me much more better.. even in Games.

So the right URL must be (i hope):

href=\"http://www.amazon.de/exec/obidos/search-handle-url/index=blended&amp;field-keywords=$title/tag=XXXXXX\" target=\"_blank\">

xxxx stand for my ID. I'm still waiting for an answer from Amazon.de

Thank you.

Chuck S August 15th, 2010 03:56 PM

Like I said I know nothing about amazon's policies. You would need to follow whatever rules they tell you.

I just came up with that info right off the amazon site

Code:

Content visible to verified customers only.

MotMann August 21st, 2010 04:49 PM

grrrr.... in the Linktester from amazon does the link not work.

Amazon.de don't support links...

My last URL:

http://www.amazon.de/exec/obidos/redirect?link_code=ur2&tag=XXXXXXXinassociw&camp=1789&creative=9325&path=external-search%3Fsearch-type=ss%26index=blended%26keyword=$product_key\" target=\"_blank\

Not correct

Chuck S August 21st, 2010 05:49 PM

well cant comment on amazon.de but I know the links we include in the program work fine.

MotMann August 22nd, 2010 10:06 AM

Does you test your link? What is the result in the linktester?

Chuck S August 22nd, 2010 10:15 AM

If I do a link like this which comes from our program it goes to amazon and returns search results based on the keywords

Amazon.com: Centropyge bispinosus Coral Beauty Angelfish

MotMann August 22nd, 2010 12:04 PM

Yes.. but you must test the url, or the result, if you click on the link. Than you must test the URL, if the Product is tagged to your ID.. and that is the Problem ;)

Searching works correct, but did the tagging with your ID work correct?

Chuck S August 22nd, 2010 01:10 PM

I do not have not an id

As I have previously stated you can edit your link as you wish but you must check with amazon on the proper formation of any url with there affiliation stuff.

From what I see it is the tag thing but you can check yourself what there rules are.

MotMann August 22nd, 2010 01:31 PM

yes, i know. but amazon. de don't support questions about Links :(

Chuck S August 22nd, 2010 02:04 PM

well search amazon.com and ask about your affiliate link there has to be a customer center right. amazon.de is just amazon.com in german

MotMann August 22nd, 2010 02:13 PM

I found the correct Link:

Quote:

elseif ( $Globals['dealtype'] == "amazon" )
{
$dealtime_link = "<div align=\"center\">
<span class=\"{$Style['medium']}\"><b><a href=\"http://www.amazon.de/exec/obidos/external-search?tag=XXXXXXXXXXXX&keyword=$title&mode=blended\" target=\"_blank\">
<span style=\"color:#FF0000;\">{$rp_phrase['dealtime']} $manu $title</span></a></b></span>
</div><br />";

xxxxx. for own Amazon ID. That works even in the Testlinkutil. from Amazon direct B=0

Chuck S August 22nd, 2010 05:33 PM

so as I stated way above in post 6 you must do it as I posted ;)

MotMann August 23rd, 2010 01:11 AM

No... the "& " and the url was wrong :)

Chuck S August 23rd, 2010 06:19 AM

well your using amazon.de so of course its a different url


All times are GMT -5. The time now is 01:13 PM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97