Skip to content

Frequently Asked Questions

How often is the feed updated?

The feed is only updated when you manually click “Generate feed” or when the cron URL is triggered.

For automatic updates, set up a cron job that will regularly call the URL listed in the module settings.

Where can I find the feed URL?

You can find the feed URL in the module settings in the “Generate feed” section. It is a link in the format:

https://yourshop.com/wp-content/uploads/wpify-woo/heureka-feed.xml
Does the module support Slovak Heureka?

Yes. In the “Map categories” tab, you can select both CZ and SK categories. The feed is compatible with both versions of Heureka.

Can I have different shipping prices for different products?

Yes. Use the wpify_woo_xml_feed_heureka_item_data filter to adjust shipping prices per product - see developer documentation.

How to set up automatic feed generation?
  1. In the module settings, you will find the cron URL (below the “Generate feed” button)
  2. Set up a cron job on your hosting that will call this URL
  3. Recommended frequency: 1-4 times daily

Example cron command:

Terminal window
0 */6 * * * curl -s "https://yourshop.com/wp-json/wpify-woo/v1/feed/generate/heureka" > /dev/null
How to exclude certain products from the feed?

Options:

  1. Out of stock products: Enable “Exclude out of stock items”

  2. By ID or category: Use a filter:

    add_filter( 'wpify_woo_xml_heureka_skip_product', function( $skip, $product ) {
    return in_array( $product->get_id(), array( 1, 2, 3 ) );
    }, 10, 2 );
How to change the source for EAN?

By default, SKU is used. To change:

  1. Go to the module settings
  2. In the “EAN custom field” field, enter the slug of the custom field
  3. Save changes and regenerate the feed
Can I add additional tags to the feed?

Yes. Use the wpify_woo_xml_feed_heureka_item_data filter:

add_filter( 'wpify_woo_xml_feed_heureka_item_data', function( $data, $product ) {
$data['MANUFACTURER'] = array( '_cdata' => 'Manufacturer name' );
return $data;
}, 10, 2 );

You can find the complete list of tags in the Heureka specification.

How to add alternative images?
add_filter( 'wpify_woo_xml_feed_heureka_item_data', function( $data, $product ) {
foreach ( $product->get_gallery_image_ids() as $id ) {
$data['__custom:IMGURL_ALTERNATIVE:' . $id] = array(
'_cdata' => wp_get_attachment_url( $id )
);
}
return $data;
}, 10, 2 );
Feed generation is slow or failing

Reduce the number of products processed in one step:

add_filter( 'wpify_woo_feed_products_per_page', function() {
return 20; // Default is 100
} );
Feed cannot be saved

Check:

  1. Permissions for the wp-content/uploads/ folder (755)
  2. Free disk space
  3. Error message in module settings (red text)
How can I find out which products are in the feed?
  1. Generate the feed
  2. Open the feed URL in a browser
  3. Each <SHOPITEM> contains the product’s <ITEM_ID>
Does the module work with WPML?

Yes. The module supports WPML. Categories are mapped according to the default language.