- Web templates
- E-commerce Templates
- Loaded Commerce
- E-Commerce Comparison
- E-commerce Comparison: Payment and Shipping methods
- E-commerce templates compatibility table
- CMS & Blog Templates
- CMS Comparison
- CMS templates versions compatibility
- Facebook Templates
- Website Builders
Facebook. How to link PayPal to Facebook HTML Eshop Template
February 21, 2012
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 = "firstname.lastname@example.org"; simpleCart.checkoutTo = PayPal; simpleCart.currency = USD; simpleCart.cartHeaders = ["Thumb_image_noHeader", "name" , "remove_noHeader", "Total", "increment", "Quantity_input", "decrement"]; simpleCart.update();
Replace “email@example.com”; 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.