As you may have noticed some Facebook templates has the shopping cart functionality included. You have great opportunity to promote and sell your goods through Facebook.
This short tutorial will show you how to link the Facebook HTML template shopping cart to your PayPal account.
Open the facebook_site/js folder from the template package;
Open the “scripts.js” file with your HTML/XML editor (Adobe Dreamweaver, notepad etc);
Locate the line:
// simple cart scripts simpleCart.email = "[email protected]"; simpleCart.checkoutTo = PayPal; simpleCart.currency = USD; simpleCart.cartHeaders = ["Thumb_image_noHeader", "name" , "remove_noHeader", "Total", "increment", "Quantity_input", "decrement"]; simpleCart.update();
Replace “[email protected]”; address with your own email address and upload the modified file to the server.
That’s all. Now your shopping cart is linked to your PayPal account and you can process payments.