Categories

Facebook. How to link PayPal to Facebook HTML Eshop Template

Ray Taylor February 21, 2012
No votes yet.
Please wait...

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 = "info@demolink.org";
	simpleCart.checkoutTo = PayPal;
	simpleCart.currency = USD;
	simpleCart.cartHeaders = ["Thumb_image_noHeader", "name" , "remove_noHeader", "Total", "increment", "Quantity_input", "decrement"];	
	
	simpleCart.update();
    

Replace “info@demolink.org”; 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.

This entry was posted in Facebook HTML tutorials and tagged cart, e-commerce, Facebook, PayPal. Bookmark the permalink.

Submit a ticket

If you are still unable to find a sufficient tutorial regarding your issue please use the following link to submit a request to our technical support team. We'll provide you with our help and assistance within next 24 hours: Submit a ticket