It looks like you've entered the linking HTML code in your custom field by mistake. You only need to enter the link location URL and tracking variables.
That's why you've got too many "<a href="" and " >" segments showing up.
Your source code SHOULD look like this when it's done:
Post edited 3:24 pm - October 13, 2009 by EuniceC Post edited 3:30 pm - October 13, 2009 by EuniceC
Thanks, I'm still a little confused. Do I fix this in the single.php part or in my custom field?
Because my custom field looks fine. And I can't find it in the single.php file. I noticed that when I click the "buy Now" link to see if it takes me to the order page on my affiliate site, it stays on my blog and goes to a page that says "sorry but you are looking for something that isn't here."
There's also some weird characters under my "Buy Now" button. And the url on the Adobe Fireworks page has a < href= after it in the address bar. I see the problem is in the "Buy Now" code. All I did was click a button to get it to use the Buy Now button. I don't know where to go to fix it.
I know this is a real mess.
Thanks for your help and patience.
Advice and tips for internet marketing newbies and small businesses online at http://www.simple-internet-strategies.com
Post edited 4:23 pm - October 14, 2009 by Market Admin Post edited 4:24 pm - October 14, 2009 by Market Admin
The problem appears to be the affiliate link data that's contained in your custom field. I believe all you need to do is edit your custom field entry, so that instead of showing:
So, go to your test product (Adobe fireworks) in the Wordpress administration area (edit post), and change the custom field entry you have on that product to the second link above. The one without the "<a href" stuff.
Have the custom field entry begin with "http://" and end with "subid=0".
I think the random code you have showing up will go away too, because this extra code that's in there now is a big reason that there are issues.
I thought I should just start over so I took out my changes and the links for the moment. My first question is, do you - or anyone out there - have a code modification that's working for the current version so I can sell affiliate products and my own products? The one I was trying to use from Ingrusmedia was for version 3.00, I 'm guessing that's why I ran into problems. He/she had worked out a way to have the shopping cart work for own products, and a buy now link for the affilliate products.
Thanks, it got rid of the random code but I still have that "not sold out" symbol. Can you help me change this back to what it was originally? I think that will finally clear it all up.
Advice and tips for internet marketing newbies and small businesses online at http://www.simple-internet-strategies.com
Su -- Currently, I don't have a way to offer you that'll let you sell both physical items and affiliate items at the same time, other than you just entering the affiliate button and link into your specific product's "description" box.
If you did that, then you'd probably want to alter the code so that the regular "buy" button doesn't show up. To do that, you'd need to insert some sort of "test" so the page could make a decision whether or not to show the button. I don't have the actual code to offer you, otherwise it would be in the "How to" forum section.
In the future, we'll hoping to add a new field in the product entry form that'll allow you to put in an affiliate link for the product. The webpage would then display a button with that link instead of the shopping cart link. This is a few months out though.
Post edited 12:42 pm - May 3, 2010 by Market Admin
Hi, I've followed these steps but it's not working for me.
When I click the 'buy now' button, it just refreshes the post. Hovering over the link shows it links to the post, not to the affiliate url. I'm pasting in my entire single.php file so can someone please tell me what I'm doing wrong? Admittedly I'm not techie, but I'm usually pretty good at copying and pasting, lol.
yes, i set everything up and put in the affiliate url, but still nothing. The site is on a subdomain just while I'm testing the theme. You can view it athttp://www.sanssecret.com/Mark.....uperstore/