When syncing products from WebToffee Product Feed & Sync Manager for WooCommerce to a Facebook (Meta) catalog, products may appear successfully in the catalog. However, the Facebook or Instagram Shop may not become visible if a valid checkout URL format is not generated.
Meta requires the checkout URL in a specific format (for example: ?products=PRODUCT_ID). This can be achieved by adding a custom code snippet to the active theme’s functions.php file.
Follow the steps mentioned below:
- From the WordPress admin dashboard, navigate to Appearance > Theme File Editor.
- Under Theme Files, select Theme Functions (functions.php).
- Paste the code snippet at the end of the functions.php file of your active child theme.
Code snippet: