Skip to content

Filters for developers

The WordPress filters of XML feed for price, availability, EAN, categories or for adding your own tags, with ready code from the plugin.

Applies to v2.1.0 Updated 5 Nov 2026 1 min read Step 13 of 14
v2.1.0 · WooCommerce 7.1+ · PHP 7.4+ Buy Support

When a setting is not enough, your developer changes the output with filters in functions.php of child theme or its own plugin. The Advanced → Available Filters plugin shows ready code with correct prefix and button Copy.

The "Available Filters" section of the "Advanced" tab with ready-made code and "Copy" button
"Available Filters" in the "Advanced" tab: ready code with the "Copy" button.

The prefix is obs_skroutz_xml_ for Skroutz; and obs_bestprice_xml_ for BestPrice.

FilterWhat changes?
…_custom_price, …_custom_sale_priceFinal price or bid price
…_custom_availabilityAvailability text
…_custom_stock_quantity, …_custom_stock_statusQuantity and available/not
…_custom_ean, …_custom_mpn, …_custom_brandCodes and Manufacturer
…_custom_categories, …_custom_name, …_custom_idCategory, title, identifier
…_append_xmlAdd your own tags to each product
…_bulk_flush_intervalEvery how many products the file is written (default 100)
…_product_localeWhich translation of the product is exported (WPML/Polylang)

The plugin already supports WooCommerce Dynamic Pricing & Discounts. For other discount plugins that do not change the price of the product at the base, the correct value passes with …_custom_price.

Did this article help you?
It's not solved?

Send a request; the plugin and the article are automatically completed.

Request support