Tuesday, 25 August 2009
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.