<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>gj |</title>
	<atom:link href="https://blog.gaiterjones.com/category/magento/magento-facebook-store-front/feed/" rel="self" type="application/rss+xml" />
	<link>https://blog.gaiterjones.com/category/magento/magento-facebook-store-front/</link>
	<description>gaiterjones</description>
	<lastBuildDate>Fri, 03 Mar 2017 08:55:33 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.4.3</generator>
	<item>
		<title>Facebook Magento Store Front Shop Tab Application</title>
		<link>https://blog.gaiterjones.com/facebook-magento-store-front-tab/</link>
					<comments>https://blog.gaiterjones.com/facebook-magento-store-front-tab/#comments</comments>
		
		<dc:creator><![CDATA[PAJ]]></dc:creator>
		<pubDate>Sun, 28 Oct 2012 09:30:06 +0000</pubDate>
				<category><![CDATA[5 Minute Fix]]></category>
		<category><![CDATA[Facebook]]></category>
		<category><![CDATA[Magento]]></category>
		<category><![CDATA[Magento Facebook Store Front]]></category>
		<guid isPermaLink="false">http://blog.gaiterjones.com/?p=844</guid>

					<description><![CDATA[I saw an email last week from a company offering a Facebook store front tab application service for Magento that imports your Magento products and creates a basic Magento store...<a class="more-link" href="https://blog.gaiterjones.com/facebook-magento-store-front-tab/" title="Continue reading">Continue reading</a>]]></description>
										<content:encoded><![CDATA[<p><img decoding="async" class="hang-2-column alignnone" title="Facebook Store Front Magento Tab App" src="http://tommy.ismy.name/wp-content/uploads/2010/12/facebookapps.jpg" alt="" width="173" height="173" />I saw an email last week from a <a href="http://www.storeya.com/" target="_blank">company</a> offering a Facebook store front tab application service for Magento that imports your Magento products and creates a basic Magento store front presence in a Facebook tab application. I thought this was a pretty neat idea especially if you are using Facebook as a marketing tool for your Magento e-commerce site. What I did not find so neat was the price, they want upwards of $1000.00 per year for a fully dynamic storefront with up to date products and support.</p>
<p>Having recently done some work both with Facebook tab apps and exporting Magento product collections in PHP I thought that this is actually a pretty easy task to achieve and coded up an example Facebook Magento Store Front running in a Facebook tab that presents a simple view of your products, product information and a direct link to the product on your Magento web for customers to place orders.</p>
<p>The app talks directly to your Magento database so it will always be up to date. It supports multi language stores and will detect the customers browser language and switch languages accordingly.</p>
<p>This is really a quick win app, integrating quickly with your Magento installation and takes about 30mins to setup and get up and running in Facebook.</p>
<p>Check out my <a href="https://www.facebook.com/pages/gaiterjones/243428839036258?sk=app_366422776778014" target="_blank">demo Facebook storefront / shop tab app here</a>.</p>
<h1>Update</h1>
<p>This app has been replaced by version 2. You can see it working <a href="http://magento1.gaiterjones.com/MagentoFacebookStoreFront/">here</a>.</p>
<h1>DOWNLOAD</h1>
<p>Download the latest version of the application source code <a href="https://blog.gaiterjones.com/dev/extension.php?id=d97b5804dbc9391636a82e5f71ebd597" target="_blank">here</a>.</p>
<p>Basic installation and usage instructions below.</p>
<p>12.11.2012 &#8211; v0.97 &#8211; bug fixes and changes to user configuration setup, user config now held in .ini file.<br />
22.11.2012 &#8211; v1.0.1 &#8211; first public release</p>
<p>&nbsp;</p>
<figure id="attachment_852" aria-describedby="caption-attachment-852" style="width: 440px" class="wp-caption alignnone"><a href="https://blog.gaiterjones.com/wp-content/uploads/2012/10/Screen-Shot-2012-11-06-at-16.12.53.png"><img fetchpriority="high" decoding="async" class="size-medium wp-image-852" title="Magento Facebook Store Front Tab" src="https://blog.gaiterjones.com/wp-content/uploads/2012/10/Screen-Shot-2012-11-06-at-16.12.53-440x338.png" alt="" width="440" height="338" srcset="https://blog.gaiterjones.com/wp-content/uploads/2012/10/Screen-Shot-2012-11-06-at-16.12.53-440x338.png 440w, https://blog.gaiterjones.com/wp-content/uploads/2012/10/Screen-Shot-2012-11-06-at-16.12.53-620x477.png 620w, https://blog.gaiterjones.com/wp-content/uploads/2012/10/Screen-Shot-2012-11-06-at-16.12.53.png 829w" sizes="(max-width: 440px) 100vw, 440px" /></a><figcaption id="caption-attachment-852" class="wp-caption-text">Magento Facebook Store Front Tab</figcaption></figure>
<p>&nbsp;</p>
<p><a href="https://blog.gaiterjones.com/wp-content/uploads/2012/10/facebook-tab-analytics.jpg"><img decoding="async" class="alignnone size-medium wp-image-873" src="https://blog.gaiterjones.com/wp-content/uploads/2012/10/facebook-tab-analytics-440x295.jpg" alt="Conversions From the Tab" width="440" height="295" srcset="https://blog.gaiterjones.com/wp-content/uploads/2012/10/facebook-tab-analytics-440x295.jpg 440w, https://blog.gaiterjones.com/wp-content/uploads/2012/10/facebook-tab-analytics-620x416.jpg 620w, https://blog.gaiterjones.com/wp-content/uploads/2012/10/facebook-tab-analytics.jpg 800w" sizes="(max-width: 440px) 100vw, 440px" /></a></p>
<p>&nbsp;</p>
<p><strong>Magento Facebook Store Front Tab Application</strong></p>
<p>&nbsp;</p>
<ol>
<li>Introduction</li>
<li>Prerequisites</li>
<li>Installation</li>
<li>Configuration</li>
<li>Usage</li>
<li>Languages</li>
</ol>
<p>&nbsp;</p>
<p><strong>Introduction</strong></p>
<p>&nbsp;</p>
<p>Magento Facebook Store Front Tab is an object oriented PHP script that integrates with a Magento installation to render product HTML designed to be displayed within a Facebook Tab. The application is able to render various product views, all products, new products, categories etc. with a simple product description and link to your actual Magento web store for purchases.</p>
<p>&nbsp;</p>
<p>The application supports normal desktop clients.</p>
<p>&nbsp;</p>
<p><strong>Prerequisites</strong></p>
<p>&nbsp;</p>
<p>This application requires a configured Facebook Account, Facebook Page and a configured Facebook application. A good knowledge of your Magento installation and Operating System is assumed as well as some experience with Facebook applications and PHP.</p>
<p>&nbsp;</p>
<p><strong>Installation</strong></p>
<p>&nbsp;</p>
<p>Extract the source files ideally to a sub folder of your Magento installation. e.g. /home/www/magento/facebook</p>
<p>&nbsp;</p>
<p>A new folder ‘magentotab’ will be created. Feel free to rename this folder if required.</p>
<p>&nbsp;</p>
<p>The application will then be accessible from your browser via the following url</p>
<p>&nbsp;</p>
<p><a href="http://www.YOURSHOP.com/facebook/magentotab">http://www.YOURSHOP.com/facebook/magentotab</a></p>
<p>&nbsp;</p>
<p>Where <a href="http://www.YOURSHOP.com">www.YOURSHOP.com</a> is the url to your Magento shop frontend. If you install the application somewhere other than your Magento installation folder then you will need to browse to the application via your configured web server path.</p>
<p>&nbsp;</p>
<p><strong>Configuration</strong></p>
<p>&nbsp;</p>
<p>Edit the file applicationConfig.php in /magentotab/config.</p>
<p>&nbsp;</p>
<p>Edit</p>
<p>const PATH_TO_MAGENTO_INSTALLATION = &#8216;/home/www/dev/magento/&#8217;;</p>
<p>&nbsp;</p>
<p>With the actual path to your Magento installation.</p>
<p>&nbsp;</p>
<p>Edit fbAppID, fbAppSecret and fbUrl with the App ID, Secret and URL from your configured Facebook app.</p>
<p>&nbsp;</p>
<p>To display a menu on the product page set the showMenu constant to true. Depending on traffic and your hosting etc. the application may run faster when the menu is disabled.</p>
<p>&nbsp;</p>
<p>To exclude categories from being shown in the product menu, configure the excludedProductCategories constant with a list of category id’s separated by a comma, e.g.</p>
<p>&nbsp;</p>
<p>const excludedProductCategories=&#8217;4,5,16,17,18,19,22,23,25,27,28,29,30,31,32,33,34,35,37&#8242;;</p>
<p>For google UTM tagging configure the googleUTMTag constant with a valid Google UTM URI.</p>
<p>&nbsp;</p>
<p>The bannerImage constant holds the name of the graphic file used as the banner at the top of the Facebook Tab page.</p>
<p>&nbsp;</p>
<p>Set the productLimit constant to define the number of products that will appear per page. This should be divisible by 9.</p>
<p>&nbsp;</p>
<p>Set the defaultCollectionType constant. This defines the default product view that will be shown. Options are</p>
<p>&nbsp;</p>
<p>newfromdate &#8211; Products set with the NEW FROM attribute &#8211; i.e. New Products.</p>
<p>allproducts &#8211; All Products</p>
<p>categoryproducts &#8211; Products from a category.</p>
<p>&nbsp;</p>
<p>Determine which product description will be shown for the product</p>
<p>useShortDescription=true &#8211; Use short description</p>
<p>useLongDescription=true &#8211; Use long description</p>
<p>&nbsp;</p>
<p>Configure language options</p>
<p>&nbsp;</p>
<p>const storesConfigured=&#8217;1,2,3&#8242;;</p>
<p>const storesLanguage=&#8217;de,en,fr&#8217;;</p>
<p>const storeDefaultLanguage=&#8217;en&#8217;;</p>
<p>&nbsp;</p>
<p>In this example there are three stores configured with the id’s 1, 2 and 3. The store languages for store 1,2,3 are de, en, fr &#8211; German, English, French. And the default language is ‘en’ &#8211; English.</p>
<p>&nbsp;</p>
<p>The showContact and showAbout constants enable a Contact and About button on the menu when set to true. This is currently in development.</p>
<p>&nbsp;</p>
<p>The allowStandAlone constant lets the application run in a standalone browser when set to true. When set to false the application will redirect to the Facebook URL of the app. Set to true for debugging the app standalone outside of Facebook.</p>
<p>&nbsp;</p>
<p>Set the pageLikeRequired constant to true if visitors must first Like the Facebook page the tab is running in before they can access the application.</p>
<p>&nbsp;</p>
<p>Set the URIToApp value to the URI path of the app on your server.</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>Save the configuration file.</p>
<p>&nbsp;</p>
<p><strong>Usage</strong></p>
<p>&nbsp;</p>
<p>To run the script for the first time browse to the URL of the script as defined above</p>
<p>&nbsp;</p>
<p>i.e. <a href="http://www.YOURSHOP.com/facebook/magentotab">http://www.YOURSHOP.com/facebook/magentotab</a></p>
<p>&nbsp;</p>
<p>If the Magento configuration path is correct you should see a list of products displayed, with or without menu options as specified in the configuration.</p>
<p>&nbsp;</p>
<p>If the application works correctly standalone then you are ready to integrate it with Facebook.</p>
<p>&nbsp;</p>
<p>To install the application as a Facebook Tab ensure that your Facebook application has been created and configured with the correct canvas URL’s to the application and then goto the following link</p>
<p>&nbsp;</p>
<p><a href="http://www.YOURSHOP.com/facebook/magentotab?fbtab=true">http://www.YOURSHOP.com/facebook/magentotab?fbtab=true</a></p>
<p>&nbsp;</p>
<p>This will return a link that will start the Tab installation process via Facebook. Select the Facebook page to install the Tab on.</p>
<p>&nbsp;</p>
<p>When the Tab is installed goto your Facebook page to confirm that the app is working.</p>
<p>&nbsp;</p>
<p><strong>Languages</strong></p>
<p>&nbsp;</p>
<p>To translate some of the interface text used in the application to your language, simply create a new language file in the php/locale folder named XX.txt where XX is your two letter language code. Use an existing language file as a template and add your translations to the file in the format</p>
<p>&nbsp;</p>
<p>Text=TranslatedText.</p>
<p>&nbsp;</p>
<p>Make sure your language settings are configured correctly in the application. You can force the application to the language you want using the storeid variable in the url</p>
<p>&nbsp;</p>
<p>i.e. <a href="http://www.YOURSHOP/facebook/magentotab/?storeid=2">http://www.YOURSHOP/facebook/magentotab/?storeid=2</a></p>
<p>&nbsp;</p>
<p>Will force the application to the language configured for store id 2.</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
]]></content:encoded>
					
					<wfw:commentRss>https://blog.gaiterjones.com/facebook-magento-store-front-tab/feed/</wfw:commentRss>
			<slash:comments>23</slash:comments>
		
		
			</item>
	</channel>
</rss>
