Documentation
Back to website >

Facebook Shop Documentation

With the Nop Facebook Shop plugin, you can get your store up on Facebook, where everybody can see it. This plugin comes with styling for all our themes.

IMPORTANT: Recently Facebook changed their policy for page tabs and now you can use them only if you have at least 2000 likes on your Facebook page. So you won't be able to integrate the plugin unless you have at least 2000 likes on your facebook page.
Live DEMO - see how the Nop Facebook Shop plugin would look like.

To enable Nop Facebook Shop just install it. You can access it via this path: http(s)://www.yourStore.com/facebook/store/. The plugin supports nopCommerce 3.5 or higher versions.

GENERAL SETTINGS

  1. Home Page Products - Select the products, which will be shown on the home page.
  2. Number Of Item Boxes Per Row - Set how many products to be shown on each row in the product grid.
  3. Catalog Page Size - Set how many products to be shown on catalog pages.
  4. Main Banner Image - Select an image that will show up at the top of your Facebook store.
  5. Show Main Banner On All Pages - Check this setting to show the main banner on all pages. Otherwise, it will be shown only on the home page.

MAIN MENU SETTINGS

  1. Main Menu Categories - Select the categories, which will be shown in the menu.
  2. Number Of Top Level Menu Category Items - Set the number of categories to be shown as top-level items on the menu. The rest will be shown in "More" menu item.
  3. Include Manufacturers Item In The Main Menu - Check this setting to show a manufacturer's item in the main menu.

PRODUCT PAGE SETTINGS

  1. Show Short Description - Show short description on the product details page.
  2. Show Full Description - Show full description on the product details page.
  3. Number Of Related Products - Set how many related products to be shown on the product page.

CONFIGURATION

HTTPS requirement

The server you are using has to be secure - it should have a valid SSL Security Certificate for the domain under which it's hosted. This is required by Facebook. 

Facebook Developer Application

  • The first step is creating an application on Facebook. You can do this by going to https://developers.facebook.com/. Click on My Apps on the top right -> Create App.

  • Choose a Name for your app and provide a contact email, then click Create App ID

  • Once you confirm, you will be redirected to your app page. Now go to Settings -> Basic from the left navigation

Facebook App created.

  • On the next page, you have to specify your Privacy Policy URL and select a category for your Facebook shop. Your Display Name and Contact Email should already be populated.

Facebook App basic settings page

  • Scroll to the bottom of the page and click the Add Platform

  • Select Page Tab platform. 

  • In the newly created section enter the URL of your website in the format "https://www.yourstore.com/facebook/store/". NOTE that the URL should be with HTTPS and the suffix /facebook/store.

  • Now at the top of the screen, click the gray button OFF (next to the Status: Development). After you confirm, your App should be accessible by the public.

By default, the "Page Admin Control" and the "Wide Page Tab" are enabled. Leave them this way and save the changes.
From the left navigation > App Details, you can add images and icons for your app.

Including your app on your Fan Page

Navigate to the following URL in your browser: https://www.facebook.com/dialog/pagetab?app_id=YOUR_APP_ID&redirect_uri=YOUR_URL 

8
Replace "YOUR_APP_ID" with your App ID and "YOUR_URL" with your app's URL, both of which values are available in your app settings. 
You'll see an "Add page tab" page. After selecting your Facebook page from the dropdown menu and clicking "Add Page Tab" your iFrame app should appear on your Fan Page.

10

For more information, you can check the Facebook documentation.

NOTE: You need to change your Web.config file in nopCommerce 4.30 in order to allow showing your store in an iframe from Facebook.

Change this line:
<add name="X-Frame-Options" value="SAMEORIGIN" />

To be like this:
<add name="X-Frame-Options" value="allow-from https://www.facebook.com/" />