Tuesday, 25 August 2009

Paypal troubleshooting: Add to cart button


Paypal offers web masters a fast, secure and free service to add a full e-commerce shopping cart to your site. Sometimes when you implement a paypal add to cart button on your online store the link takes you directly to the home page of paypal and not to your online shopping cart where it should be.

For a solution you do not need to change the button, just slightly change the source code. This is a common problem with Dreamweaver CS3 and involves taking away the number next to the "cmd values" and the "hosted_botton_id." Once you have located the words "cmd" and "hosted_button_id" in your code editor, look to see if there is a numeric number directly after each word. It could be a 2, 3 or 5. If you see a number next to both words - simply delete and refresh/save the html.

By doing this you will not be editing the paypal code which is not recommended by paypal, you are simply deleted two numeric characters that shouldn't be there. For some reason Dreamweaver seems to add the digits when the html code is pasted in to the site.

14 comments:

  1. Hi, thanks for doing this it really helped me out as I am building a Mysql database with full e-commerce for a pet clothing site, this has saved me a lot of time. Thank you so much!!!

    ReplyDelete
  2. Great. Now i can say thank you!,

    ReplyDelete
  3. Great site. Keep up the good work!

    ReplyDelete
  4. If you have to do it, you might as well do it right.,

    ReplyDelete
  5. I want to say - thank you for this!

    ReplyDelete
  6. Very cute :-)))),

    ReplyDelete
  7. Great work, webmaster, nice design!,

    ReplyDelete
  8. It is the coolest site, keep so!,

    ReplyDelete
  9. I bookmarked this site. Thank you for good job!,

    ReplyDelete
  10. I bookmarked this link. Thank you for good job!

    ReplyDelete
  11. I want to say - thank you for this!

    ReplyDelete