Feeds by language (Facebook)
-
Dear Support,
Ive been enjoying your plugin, its very simple to use.
I have run into a problem where i have 2 languages (WPML) in my website and the plugin generates a single feed with products and their translations, Usually this would not be a problem but I am using the Feed for facebook Catalogue.
The problem is that facebook does not allow item ID to be duplicated. so ive been trying to set rules to change the ID to SKU + Language code. I have tried several variables/conditions such as WPML_Language, ive even searched in my database what the values are (en for english, th for thai) but it doesnt work.
looking at the WPML documentation it seems that they use
language_code – language code of the item
source_language_code – if translated, the language of the original item
(https://wpml.org/documentation/support/wpml-tables/)but im not sure how to get your plugin to look these up and separate the products using them.
The other obvious solution is to buy your premium plugin and remove all the items that are of another language, but if it also uses only WPML_Language then im afraid that it also might not work.
SO for the meanwhile ive just made the ID point to the name of the product (because they have different names in each language) but have been rejected by facebook because they too long, maybe i will try post id next as a temporary workaround.
I also have the paid version of WPML but i cant seem to find the addon in the downloads section for this plug in? perhaps its not necessary anymore?
The page I need help with: [log in to see the link]
The topic ‘Feeds by language (Facebook)’ is closed to new replies.