• Resolved shawaj

    (@shawaj)


    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://www.ads-software.com/plugins/pixelyoursite/

Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘add option for appending currency to end of content id’ is closed to new replies.