Home / Why ISO 4217 is Used for Google, Facebook, and Bing in XML Feeds (snippet 1)
Duplicate Snippet

Embed Snippet on Your Site

Why ISO 4217 is Used for Google, Facebook, and Bing in XML Feeds (snippet 1)

First is to add this snippet so all your feed/templates will following the your preferred decimal and thousands separator

<10
Code Preview
php
<?php
// Force localization for all feeds
add_filter('adt_product_feed_localize_price_args', function($args) {
    $args['decimal_separator'] = '.';
    $args['thousand_separator'] = ',';
    return $args;
});

Comments

Add a Comment