1. Home
  2. Knowledge Base
  3. Common Feed Problems
  4. Fix Facebook Product Catalog Showing Duplicate Products for WPML Translations

Fix Facebook Product Catalog Showing Duplicate Products for WPML Translations

If you run a WooCommerce store with multiple languages using WPML, you might have noticed a problem: Facebook shows each translated product as a separate item in your product catalog. This causes duplicates and can mess up your ads and reporting.

Here’s a simple way to fix that by making Facebook treat all translations of the same product as one single product, using a small piece of code for the Product Feed Elite plugin.

Why Does This Happen?

  • WPML creates a different product ID for each language version of your product.
  • Facebook expects all versions (translations) to share the same product ID to group them properly.
  • Without this, Facebook thinks your translated products are totally different items.

The Easy Fix: Unify Product IDs in Your Feed

This code tells Product Feed Elite to use the original product’s ID (the one in your main language) for all translations when creating the Facebook feed.

What The Code Does:

  • Checks if the feed is for Facebook dynamic ads.
  • Finds the original product ID behind your translated product.
  • Replaces the translated product’s ID with the original product ID.
  • Makes Facebook see all translations as the same product.

Why It Matters

  • Stops duplicate products from showing in your Facebook catalog.
  • Keeps your ads cleaner and better targeted.
  • Improves tracking so Facebook knows which product users see and buy, no matter the language.
  • Helps your store look professional on Facebook and Instagram shops.

How to Use It

  • Add the code to your child theme’s functions.php file or use a plugin like WPCode.
  • Make sure you’re using WPML and Product Feed Elite.
  • Regenerate your product feed for Facebook.
  • Check your Facebook Catalog — translated products will now share the same ID.

This quick tweak makes sure your multilingual WooCommerce store’s Facebook feed works correctly, showing each product once with all its translations grouped together. It’s a must-have if you want clean catalogs and smooth multilingual ad campaigns.

Was this article helpful?

Related Articles

Complete Your Purchase
AdTribes WooCommerce Product Feed

The best WooCommerce product feed plugin

  • AdTribes Pty Ltd
    ABN: 40 675 636 816