Facebook Shop Integration

Magento 2 Extension — User Guide & Documentation

Magento 2.3.x / 2.4.xBy MagepowAdmin + Frontend
Vendor
Magepow Extensions
Online docs
docs.magepow.com

1 · Installation

Two ways to install — via Composer or by uploading the app folder. Both end with the same Magento CLI steps.

Before you begin: install the extension on a staging/test server first, and take a full backup of your files and database — especially on a live store.

System requirements

  • Magento 2.3.x / 2.4.x installed and working
  • PHP, MySQL/MariaDB and web server meeting Magento 2 system requirements
  • SSH access to run Magento CLI commands

Method 1 — Install via Composer (recommended)

  1. Open a terminal in your Magento 2 root directory and require the package:
    composer require magepow/facebookshopintegration
  2. Run the Magento setup upgrade:
    php bin/magento setup:upgrade
  3. Deploy static content (production mode):
    php bin/magento setup:static-content:deploy -f
  4. Flush the cache:
    php bin/magento cache:flush

Method 2 — Manual install (upload app folder)

  1. Download the extension package and unzip it. Upload the app folder to your Magento 2 root so it merges with the existing app directory.
  2. Run the following commands from the Magento 2 root:
    php bin/magento setup:upgrade
    php bin/magento setup:static-content:deploy -f
    php bin/magento cache:flush
  3. Log out of the Admin panel and log back in to refresh access permissions, then clear the cache under System > Cache Management.
Tip: while configuring the store, disable full-page and additional PHP caches (Varnish, Redis, OPcache/APCu) so changes appear immediately. Re-enable them when you are done.

2 · Configuration & Usage

All settings live in the Magento Admin panel. Screenshots below match the default Admin theme.

1 - Key features of Magento 2 Facebook Shop Integration Extension:

  • Integrates store products with the Facebook shop.
  • Redirect customers directly from the shop on Facebook to payment in the Magento 2 store.
  • Bulk product upload via CSV in the admin config.
  • Use the "Add New Mapping" button to create new attribute mapping for the required and other missing fields.
  • The required fields for which the extension cannot create the mapping, create it by adding new attribute code.
  • Select the Facebook attribute code and the Magento attribute code to add a new mapping for Facebook fields.
  • The "Product Feed CSV Log" grid lists the CSV generation log details like start date, finished at, triggered by, product IDs, status and message.

2 - General configuration

After Enable the modul,tTo setting and config the module. Go toAdmin Panel > Stores > Settings > Configuration > Magepow > Facebook Shop Integration > General Configuration

admin config

  • Generate CSV for Facebook Shop: Choose Yes to create a product CSV automatically according to settings.
  • Generate CSV on Schedule: Show/hide Show number of products beside tags.
  • Frequency of Schedule CSV: Set the frequency to schedule automatic product CSV generation by day, month, or year.
  • Time of Schedule CSV: Set the time for schedule automatic product csv generation.
  • Apply Catalog Price Rules: Select Yes to apply catalog price rules for product prices on facebook.
  • Add Out Of Stock Products to CSV: Select Yes to display out of stock products on facebook.

2.1: List Facebook attribute and add new attribute Facebook shop integration.

Login to Magento Admin > Magepow > Facebook Attribute Mapping > Add New Attribute, choose the Facebook attribute code and Magento attribute code you want => Click Save.

add new attribute

  • After when add a new attribute and save will backlist facebook attribute mapping. you can edit, delete, and mass deletes the facebook attribute mapping.

facebook attribute

2.2: Add products and google product category.

Login to Magento Admin > Catalog > Products > Choose edit products > Facebook Shop Integration.

add product on facebook

  • Show Product On Facebook: Choose yes to display products on the Facebook shop.
  • Facebook Product Condition: Product condition for the product in a Facebook shop. Select new, refurbished, used (fair), used (good), and used (like new).
  • Google Product Category: Set product item category based on standard taxonomy defined by Google: https://support.google.com/merchants/answer/6324436. You can specify either the string representation or the numeric representation of your category.

Login to Magento Admin > Catalog > Categories > Choose category > Facebook Shop Integration.

google product category

  • Google Product Category: Set category based on standard taxonomy defined by Google: https://support.google.com/merchants/answer/6324436. You can specify either the string representation or the numeric representation of your category.

2.3: Facebook feed CSV Log

When configuring, add product and google product category, we create CSV file by.

Magepow > Configurations > General Configuration > Generate CSV for Facebook Shop > Click Generate CSV.

After generating the file CSV it will save in the Facebook feed CSV log.

product feed csvlog

2.4: Facebook commerce manager and Facebook store.

Step 1: Click Catelog_products or can create a new one if not already in website Commerce_manager

config facebook

Step 2: Click add items.

add items

Step 3: Data Source.

data sources

Step 4: Choose upload option.

choose upload option

Step 5: Choose file upload.

choose file

Step 6: Complete settings, find and verify uploaded products as shown below.

products upload

Step 7: Product details in facebook shop.

details

On clicking of the “Checkout on website”, it will add the product to the cart and redirect the Facebook user to your website.

checkout

3 · Support

Found a bug or need customization? Contact us — we usually reply within 24–48 hours.

Need help?

Bug reports

If you find a bug, please report it via the ticket system with steps to reproduce, expected vs. actual behavior, and any relevant logs (var/log/system.log, var/log/exception.log).