For a future version of the plugin, a neat feature would be the ability to append the currency to the end of the contentid or contentsku.
I have achieved this manually by editing lines 2161 and 2162 of plugin-public.php to:
$args['contentids'] = "'".$product_id."_".$args['pricecurrency']."'";
$args['contentskus'] = "'".$product->get_sku()."_".$args['pricecurrency']."'";
This gives _XXX where XXX is the currency.
This is very useful because we have a shop which uses multi-currency and facebook needs to have unique product ids for every single product in order for the data to resolve correctly into the product fee and for dynamic product adverts.
I just thought I would mention it as a feature suggestion.
https://wordpress.org/plugins/pixelyoursite/
WordPress ...
ما را در سایت WordPress دنبال می کنید
برچسب : نویسنده : استخدام کار wpss بازدید : 115 تاريخ : يکشنبه 29 فروردين 1395 ساعت: 11:25