Any filter to change attribute values before sync
-
Hi!
Is there any filter to manipulate the attribute value before sync on variations?
We have comma ‘,’ in our attribute values and by looking at the source code for the plugin (facebook-for-woocommerce/includes/Products/Sync/Background.php line 299 to 304) you guys do an implode on attributes by comma sign to convert all attributes to a string for “additional_variant_attribute”. This breaks our import by, i guess, on facebooks end, explode by comma sign aswell.
An example how are attribute values are written: processor:1,8 GHz Fyrk\u00e4rnig Core i7 so the whole additional_variant_attribute becomes
"additional_variant_attribute":"bildskarm:HD 1920x1080,processor:1,8 GHz Fyrk\u00e4rnig Core i7,minne:16GB RAM,4g-cellular:Med 4G Cellular,lagring:512GB SSD"
Is there any workaround for this?
- The topic ‘Any filter to change attribute values before sync’ is closed to new replies.