{"id":1930,"date":"2024-07-01T07:30:31","date_gmt":"2024-07-01T07:30:31","guid":{"rendered":"https:\/\/meetanshi.com\/blog\/integrate-facebook-shop-with-magento-2\/"},"modified":"2025-04-24T09:28:50","modified_gmt":"2025-04-24T03:58:50","slug":"integrate-facebook-shop-with-magento-2","status":"publish","type":"post","link":"https:\/\/meetanshi.com\/blog\/integrate-facebook-shop-with-magento-2\/","title":{"rendered":"How to Integrate Facebook Shop with Magento 2?"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Using social media for e-commerce is among the top ways to get sales.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">In this post, learn how to integrate Facebook Shop with Magento 2 and sell your products on Facebook. This integration also makes your products available on Instagram.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"why\">Why Integrate Magento 2 with Facebook Shop?<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The Magento Facebook integration comes with the following benefits:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Directly <strong>sell your products on Facebook and Instagram<\/strong> via the Meta Business suite<\/li>\n\n\n\n<li>A <strong>cost-effective solution<\/strong> for growing businesses that are not heavily looking to spend on marketing and promotion.<\/li>\n\n\n\n<li>Better <strong>customer engagemen<\/strong>t as it increases brand visibility and improves the chances of reaching potential customers.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">This integration scales your business within your budget and makes your store accessible to a million users actively using Facebook and Instagram.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"steps\">Steps on How to Integrate Facebook Shop with Magento 2<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">You can use the Magento 2 Facebook Shop Integration extension to generate a product feed for the Commerce Manager.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"install\">Step 1: Install Facebook Shop Extension<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Go to <a title=\"Magento 2 Facebook Shop Integration\" href=\"https:\/\/meetanshi.com\/magento-2-facebook-shop-integration.html\" target=\"_blank\" rel=\"noopener\">Magento 2 Facebook Shop Integration<\/a> and download the extension for your store.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img decoding=\"async\" src=\"https:\/\/meetanshi.com\/blog\/wp-content\/uploads\/2021\/10\/1-magento-2-facebook-shop-by-meetanshi.png\" alt=\"Magento 2 Facebook Shop by Meetanshi\" class=\"wp-image-47119\"\/><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">You\u2019ll get a ZIP file.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Extract it to your Magento installation\u2019s root directory and run the following commands one after the other:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><code>php bin\/magento setup:upgrade<\/code><\/li>\n\n\n\n<li><code>php bin\/magento setup:static-content:deploy \u2013f<\/code><\/li>\n\n\n\n<li><code>php bin\/magento cache:flush<\/code><\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">Now, the Magento 2 Facebook Shop extension will be installed.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"configure\">Step 2: Configure General Settings<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">In your Magento 2 admin, go to <strong>Stores &gt; Configuration &gt; Meetanshi &gt; Facebook Store Integration.<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Here, you can find an option to generate the product data feed CSV.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">But first, let\u2019s configure the settings.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><span style=\"font-weight: 400;\">You can choose to add all or specific products, generate store-specific feeds, and also schedule the datafeed generation. For e.g., you can automatically update the product datafeed every hour and keep your Facebook Shop up-to-date.<\/span><\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img decoding=\"async\" src=\"https:\/\/meetanshi.com\/blog\/wp-content\/uploads\/2021\/10\/2-general-configuration-settings.png\" alt=\"General configuration settings\" class=\"wp-image-47120\"\/><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">You can also set preferences for out of stock products, catalog rules, add-to-cart redirections, etc. Once you\u2019re done with the configuration, save it.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"set-product-category\">Step 3: Set Google Product Category<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">In Facebook Shop, you need to specify the product condition and <a title=\"Google product category\" href=\"https:\/\/support.google.com\/merchants\/answer\/6324436?hl=en\" target=\"_blank\" rel=\"noopener\">Google product category<\/a> for your listings.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">To define these details individually, go to <strong>Catalog &gt; Products<\/strong> and select the product. Define these details in the <strong>Facebook Shop Product section<\/strong> and save it.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img decoding=\"async\" src=\"https:\/\/meetanshi.com\/blog\/wp-content\/uploads\/2021\/10\/3-set-google-product-category.png\" alt=\"Set Google Product Category\" class=\"wp-image-47121\"\/><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">Or you can also bulk update these details. To do that, go to <strong>Catalog &gt; Products<\/strong> and select multiple products. Click the<strong> Actions<\/strong> dropdown and select \u201c<strong>Update Attributes<\/strong>\u201d to update these details in bulk.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img decoding=\"async\" src=\"https:\/\/meetanshi.com\/blog\/wp-content\/uploads\/2021\/10\/4-bulk-edit-product-attributes.png\" alt=\"Buld edit product attributes\" class=\"wp-image-47122\"\/><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">Update the Google Product Category and product condition and click \u201c<strong>Save.<\/strong>\u201d<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img decoding=\"async\" src=\"https:\/\/meetanshi.com\/blog\/wp-content\/uploads\/2021\/10\/5-bulk-edit-google-product-category.png\" alt=\"Bulk edit Google product category\" class=\"wp-image-47123\"\/><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\"><em><strong>Note: <\/strong>It might take some time to reflect the product status action.<\/em><\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"map-product-attributes\">Step 4: Map Product Attributes<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">The extension automatically maps the default Magento attributes with Facebook fields.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">You can modify them or add new ones from the Facebook Store <strong>Integration &gt; Facebook Attribute Mapping grid.<\/strong><\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img decoding=\"async\" src=\"https:\/\/meetanshi.com\/blog\/wp-content\/uploads\/2021\/10\/6-magento-2-facebook-shop-attribute-mapping.png\" alt=\"Magento 2 Facebook Shop attribute mapping\" class=\"wp-image-47124\"\/><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">For example, you can select the Facebook and Magento attribute codes to map them.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img decoding=\"async\" src=\"https:\/\/meetanshi.com\/blog\/wp-content\/uploads\/2021\/10\/7-edit-modify-magento-2-facebook-attributes.png\" alt=\"Edit modify Magento 2 Facebook attributes\" class=\"wp-image-47125\"\/><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">Once done with the mapping, review them so that correct information is sent from Magento to Facebook Shop.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"generate-product-data\">Step 5: Generate Product Data Feed CSV File<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Once you\u2019re done with the configuration settings, you can come back to <strong>Stores &gt; Configuration &gt; Meetanshi &gt; Facebook Store Integration.<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Click the \u201c<strong>Generate Now<\/strong>\u201d button.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img decoding=\"async\" src=\"https:\/\/meetanshi.com\/blog\/wp-content\/uploads\/2021\/10\/8-generate-datafeed-csv-file.png\" alt=\"Generate datafeed CSV file\" class=\"wp-image-47126\"\/><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Once the Facebook datafeed is generated successfully, you\u2019ll get a success message like the one shown below.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img decoding=\"async\" src=\"https:\/\/meetanshi.com\/blog\/wp-content\/uploads\/2021\/10\/9-success-message.png\" alt=\"Success message\" class=\"wp-image-47127\"\/><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">Now, go to <strong>Facebook Store Integration &gt; Product Feed CSV Log.<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Copy the URL of the CSV file from the log grid.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img decoding=\"async\" src=\"https:\/\/meetanshi.com\/blog\/wp-content\/uploads\/2021\/10\/10-copy-datafeed-url-from-magento-2.png\" alt=\"Copy datafeed URL from Magento 2\" class=\"wp-image-47128\"\/><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">We\u2019ll use this datafeed URL to add products to Facebook Shop.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"upload-product-csv\">Step 6: Upload Products Feed CSV to Facebook Shop<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Go to <a title=\"Meta Commerce Manager\" href=\"https:\/\/business.facebook.com\/commerce\" target=\"_blank\" rel=\"noopener\">Meta Commerce Manager<\/a> and select your catalog.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">In the <strong>Assets &gt; Catalogues<\/strong>, click the \u201c<strong>Add Catalogue<\/strong>\u201d button.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img decoding=\"async\" src=\"https:\/\/meetanshi.com\/blog\/wp-content\/uploads\/2021\/10\/11-add-new-catalogue-in-commerce-manager.png\" alt=\"Add new catalogue in commerce manager\" class=\"wp-image-47129\"\/><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">Complete the basic information, set tracking preferences, and permissions. In the final step, select data feed as the option and click \u201c<strong>Connect data feed.<\/strong>\u201d<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img decoding=\"async\" src=\"https:\/\/meetanshi.com\/blog\/wp-content\/uploads\/2021\/10\/12-connect-to-datafeed.png\" alt=\"Connect to datafeed\" class=\"wp-image-47130\"\/><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">Now, paste the URL of the CSV datafeed file that we copied in Step 5.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img decoding=\"async\" src=\"https:\/\/meetanshi.com\/blog\/wp-content\/uploads\/2021\/10\/13-enter-datafeed-csv-url.png\" alt=\"Enter datafeed CSV URL\" class=\"wp-image-47131\"\/><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">And click the \u201c<strong>Next<\/strong>\u201d button.&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Now, set the auto-update schedule for the datafeed. For e.g., hourly in this case. Make sure that the update schedule is same as that you configured in the Magento admin.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Finally, click the \u201c<strong>Upload<\/strong>\u201d button.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img decoding=\"async\" src=\"https:\/\/meetanshi.com\/blog\/wp-content\/uploads\/2021\/10\/14-upload-datafeed-to-commerce-manager.png\" alt=\"upload datafeed to commerce manager\" class=\"wp-image-47132\"\/><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">Once done, the Magento 2 products will appear in your Facebook Shop as shown below.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img decoding=\"async\" src=\"https:\/\/meetanshi.com\/blog\/wp-content\/uploads\/2021\/10\/15-magento-2-products-in-facebook-commerce-catalogue.png\" alt=\"Magento 2 products in Facebook Commerce Catalogue\" class=\"wp-image-47133\"\/><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">Further, the extension will automatically update the datafeed with the latest information so that your Facebook Shop remains up to date.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><div class=\"meetanshi-cta\">\r\n<div class=\"cta-content-wrapper\">\r\n<span>Magento 2 Facebook Shop Integration<\/span>\r\n<p>Sync your store products with Facebook Shop to start selling.<\/p>\r\n<a href=\"https:\/\/meetanshi.com\/magento-2-facebook-shop-integration.html\" target=\"_blank\" class=\"btn-primary\">Sync Today<\/a>\r\n<\/div>\r\n<div class=\"cta-image-new\">\r\n<img decoding=\"async\" src=\"https:\/\/meetanshi.com\/blog\/wp-content\/uploads\/2025\/11\/magento-2-facebook-shop-integration.png\" alt=\"Magento 2 Facebook Shop Integration\">\r\n<\/div>\r\n<\/div><\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"full-advantage\">Take Full Advantage of Magento 2 Facebook Shop<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The Meetanshi Magento 2 Facebook Shop Integration simplifies the steps to connect your Magento store with Facebook and Instagram simultaneously. Making it possible for you to offer your products to the right people at the right time and exactly where they are.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Using social media for e-commerce is among the top ways to get sales. In this post, learn how to integrate Facebook Shop with Magento 2&#8230;<\/p>\n","protected":false},"author":7,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[34],"tags":[],"class_list":["post-1930","post","type-post","status-publish","format-standard","hentry","category-magento"],"acf":[],"_links":{"self":[{"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/posts\/1930","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/users\/7"}],"replies":[{"embeddable":true,"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/comments?post=1930"}],"version-history":[{"count":3,"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/posts\/1930\/revisions"}],"predecessor-version":[{"id":22120,"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/posts\/1930\/revisions\/22120"}],"wp:attachment":[{"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/media?parent=1930"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/categories?post=1930"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/tags?post=1930"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}