Tested Updated Bestseller Documented

Product XML Feeds for WooCommerce

(11 customer reviews)

From: $29.99 / year

Automatic product XML feeds for WooCommerce.

$29.99 Single site1 year of updates and support30-day money-back guaranteeBuy
$34.99 Unlimited sites1 year of updates and support30-day money-back guaranteeBuy
$59.99Unlimited sitesLifetime updates and support30-day money-back guaranteeBuy
Clear

Description

Product XML Feeds for WooCommerce plugin lets you add multiple WooCommerce product XML feeds. Each feed can be configured separately. Feeds are automatically periodically regenerated using crons.

You can set custom XML templates for the feed – this way you can create XML feed according to any specifications. Feeds are created using plugin’s shortcodes. Different templates can be set for:

  • XML header.
  • XML item.
  • XML footer.

In addition you can set custom XML file path and name.

To include only certain products in feed, you can use these options:

  • Products to include/exclude.
  • Product categories to include/exclude.
  • Product tags to include/exclude.
  • Variable products: Variable products only; Variation products only; Both variable and variation products.
  • Products scope: All products; Only products that are on sale; Only products that are not on sale; Only products that are featured; Only products that are not featured.
  • Stock status: In stock products; Out of stock products; On backorder products.
  • Min and max product prices.
  • Catalog visibility: Shop and search results; Shop only; Search results only; Hidden products.
  • Custom taxonomy to include.
  • Attribute to include.

You can also choose the update (i.e. regeneration) period (weekly by default): Every minute; Hourly; Twice daily; Daily; Weekly.

Plugin is WPML compatible. I.e. you can create separate product feeds for each language.



Examples

Here is the example of “Google Merchant” compatible XML feed:

XML header

<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:g="http://base.google.com/ns/1.0">
	<channel>
		<title>The name of your data feed</title>
		<link>http://www.example.com</link> 
		<description>A description of your content</description>

XML item

		<item>
			<title>[alg_product_title]</title>
			<link>[alg_product_url]</link>
			<description>[alg_product_short_description]</description>
			<g:image_link>[alg_product_image_url]</g:image_link>
			<g:price>[alg_product_price]</g:price>
			<g:condition>new</g:condition>
			<g:id>[alg_product_sku]</g:id>
		</item>

XML footer

	</channel>
</rss>

Another similar example with CDATA:

XML header

<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:g="http://base.google.com/ns/1.0">
	<channel>
		<title><![CDATA[ The name of your data feed ]]></title>
		<link><![CDATA[ http://www.example.com ]]></link> 
		<description><![CDATA[ A description of your content ]]></description>

XML item

		<item>
			<g:id>[alg_product_sku]</g:id>
			<title>[alg_product_title cdata="yes"]</title>
			<description>[alg_product_short_description cdata="yes"]</description>
			<g:google_product_category>[alg_product_categories cdata="yes"]</g:google_product_category>
			<link>[alg_product_url]</link>
			<g:image_link>[alg_product_image_url]</g:image_link>
			<g:price>[alg_product_price]</g:price>
			<g:condition>new</g:condition>
		</item>

XML footer

	</channel>
</rss>
Although plugin is designed to create XML feeds, you can also output it in different formats, e.g. CSV, by setting XML item option to something like this (don’t forget to add a new line symbol at the end):

[alg_product_sku];[alg_product_title];[alg_product_url];[alg_product_price];

With “Product XML Feeds for WooCommerce” plugin you can create XML feeds for any specifications. For example, below you can see settings for a Facebook XML feed. Specifications can be found here and feed debug (validation) tool is here.

XML header

<?xml version="1.0"?>
<rss xmlns:g="http://base.google.com/ns/1.0" version="2.0">
	<channel>
		<title>The name of your data feed</title>
		<link>http://www.example.com</link> 
		<description>A description of your content</description>

XML item

		<item>
			<g:id>[alg_product_id]</g:id>
			<g:title>[alg_product_name cdata="yes"]</g:title>
			<g:description>[alg_product_short_description cdata="yes"]</g:description>
			<g:link>[alg_product_url]</g:link>
			<g:image_link>[alg_product_image_url]</g:image_link>
			<g:brand>Example</g:brand>
			<g:condition>new</g:condition>
			<g:availability>in stock</g:availability>
			<g:price>[alg_product_price] GBP</g:price>
		</item>

XML footer

	</channel>
</rss>

Shortcodes

Global Shortcode Attributes

In addition to shortcode specific attributes, which are listed in section below, there are common (i.e. global) shortcode attributes, which can be used with any of the shortcodes:

  • before – Will be added at the beginning of final result in case if the resulting value is not empty. Default value: None.
  • after – Will be added at the end of final result in case if the resulting value is not empty. Default value: None.
  • find – Should be used with “replace” attribute to make replacements in final result. Default value: None.
  • replace – Should be used with “find” attribute to make replacements in final result. Default value: None.
  • find_replace_sep – Should be used with “find” and “replace” attributes in case if you want to find and replace multiple values at once. Default value: None.
  • on_empty – Will be outputted instead of empty string, in case if final shortcode’s result is empty. Default value: None.
  • on_empty_apply_shortcodes – Set to yes if you want to process shortcodes in on_empty attribute. If set to yes, you need to replace [ and ] with { and }. Default value: no. E.g.:
    [alg_product_meta name="_some_meta_key" on_empty="{alg_product_name}" on_empty_apply_shortcodes="yes"]
  • strip_tags – Strips HTML and PHP tags from a shortcode output. Uses PHP strip_tags() function. Default value: yes.
  • strip_shortcodes – Deletes all shortcode tags from a shortcode output. When set to yes uses WordPress strip_shortcodes() function. When set to yes-force will delete all that “looks” like shortcodes, i.e. is wrapped in square brackets. Differently from yes this option will delete inactive shortcodes as well. Also it will leave the content inside shortcodes. Default value: no.
  • cdata – Wraps shortcode output in CDATA. Default value: no.
  • custom_function – If set will apply any custom function on a shortcode output. For example, you can make an output uppercase by setting custom_function="strtoupper". Default value: None.
  • product_id – Can be used in products shortcodes. Default value: current product’s ID.
  • use_parent_id – Can be used in products shortcodes. If set to yes will use parent’s ID instead of child’s ID for variations. Default value: no.
  • convert_currency_from – Currency to convert from. Can be used in numeric results only. Default value: None.
  • convert_currency_to – Currency to convert to. Default value: None.
  • convert_currency_precision – Defines the number of decimals when rounding the final result. Default value: 2.
  • When converting currency, the exchange rates are automatically retrieved from European Central Bank (ECB). Currency conversion example:

    <price_usd>[alg_product_price convert_currency_from="EUR" convert_currency_to="USD" convert_currency_precision="2"]</price_usd>

Shortcodes List

Dimensions
Taxonomies
Taxes
Shipping
Stock
Price & Currency
Title & Descriptions
Images
Custom Fields
Attributes
Formatting
Variations
General

Shortcode Descriptions

[alg_current_datetime]

Displays current date & time.

Attributes

datetime_format – Date & time format. Default value: your site date & time format.

Example
<time>[alg_current_datetime datetime_format="Y-m-d H:i:s"]</time>

[alg_shop_currency]

Displays shop’s currency code.

Example
<currency>[alg_shop_currency]</currency>

[alg_product_id]

Displays product’s ID.

Example
<product_id>[alg_product_id]</product_id>

[alg_product_type]

Displays product’s type, e.g.: simple, variable, external etc.

Example
<product_type>[alg_product_type]</product_type>

[alg_product_image_url]

Displays product’s image URL.

Attributes

image_size – Registered image size to retrieve. Default value: shop_thumbnail.

Example
<product_image_url>[alg_product_image_url image_size="full"]</product_image_url>

Displays product’s gallery image URL. In case if there is no image available, empty string will be outputted.

Attributes

image_nr – Number of gallery image to retrieve URL for. Default value: 1.

Example
<gallery_image_1>[alg_product_gallery_image_url image_nr="1"]</gallery_image_1>
<gallery_image_2>[alg_product_gallery_image_url image_nr="2"]</gallery_image_2>
<gallery_image_3>[alg_product_gallery_image_url image_nr="3"]</gallery_image_3>

[alg_product_url]

Displays product’s URL (i.e. permalink).

Example
<product_url>[alg_product_url]</product_url>

[alg_product_price]

Displays product’s price.

Attributes

multiply_by – Multiply price by this value before displaying. Default value: None.
hide_currency – Display price as number only, or format it with currency code. Default value: yes.
variable_price_type – Display variable product’s price as lowest variation price only (simple), or as all variations price range (range). Default value: range.

Example
<product_price>[alg_product_price multiply_by="1.25" hide_currency="no"]</product_price>

[alg_product_sku]

Displays product’s SKU.

Example
<product_sku>[alg_product_sku]</product_sku>

[alg_product_title]

Displays product’s title.

Example
<product_title>[alg_product_title]</product_title>

[alg_product_weight]

Displays product’s weight.

Example
<product_weight>[alg_product_weight]</product_weight>

[alg_product_excerpt]

Displays product’s excerpt.

Attributes

length – If not zero, will limit the excerpt length. Default value: 0.

Example
<product_excerpt>[alg_product_excerpt length="10"]</product_excerpt>

[alg_product_short_description]

Displays product’s short description.

Attributes

length – If not zero, will limit the short description length. Default value: 0.
apply_filters – Sets if woocommerce_short_description should be applied. Default value: no.

Example
<short_description>[alg_product_short_description length="10"]</short_description>

[alg_product_description]

Displays product’s (full) description.

Example
<description>[alg_product_description]</description>

[alg_product_custom_field]

Displays product’s custom field.

Attributes

name – Custom field’s name. Default value: None.

Example
<total_sales>[alg_product_custom_field name="total_sales"]</total_sales>

[alg_product_meta]

Displays product’s meta.

Attributes

name – Meta name (i.e. key). Default value: None.

Example
<total_sales>[alg_product_meta name="total_sales"]</total_sales>

[alg_product_you_save]

Displays product’s savings amount (i.e. regular price minus sale price amount).

Attributes

hide_if_zero – If set to yes will output empty string instead of numerical zero for products that are not on sale. Default value: no.
hide_currency – Display price as number only, or format it with currency code. Default value: yes.

Example
<you_save>[alg_product_you_save]</you_save>

[alg_product_you_save_percent]

Displays product’s savings amount in percent (i.e. regular price minus sale price amount in percent).

Attributes

hide_if_zero – If set to yes will output empty string instead of numerical zero for products that are not on sale. Default value: no.
reverse – If set to yes will reverse final result (i.e. 100 – percent). Default value: no.

Example
<you_save_percent>[alg_product_you_save_percent]</you_save_percent>

[alg_product_tags]

Displays product’s tags.

Attributes

add_links – Will add links to the tags page. Default value: yes.
sep – Separator. Default value: , .

Example
<tags>[alg_product_tags add_links="no"]</tags>

[alg_product_total_sales]

Displays product’s total sales number.

Attributes

hide_if_zero – If set to yes will output empty string instead of numerical zero. Default value: no.
offset – Will be added to final result. Default value: 0.

Example
<total_sales>[alg_product_total_sales]</total_sales>

[alg_product_shipping_class]

Displays product’s shipping class. “Standard” class is outputted as an empty string – if you want to change that, you can use on_empty attribute (which is available in all plugin’s shortcodes).

Example
<shipping_class>[alg_product_shipping_class on_empty="Standard"]</shipping_class>

[alg_product_dimensions]

Displays product’s dimensions.

Example
<dimensions>[alg_product_dimensions]</dimensions>

[alg_product_length]

Displays product’s length.

Attributes

to_unit – Will convert final result to this units. Default value: None.
round – Will round the final result. Default value: no.
precision – If round is set to yes, you can define rounding precision (i.e. number of decimals) here. Default value: 2.

Example
<length>[alg_product_length]</length>

[alg_product_width]

Displays product’s width.

Attributes

to_unit – Will convert final result to this units. Default value: None.
round – Will round the final result. Default value: no.
precision – If round is set to yes, you can define rounding precision (i.e. number of decimals) here. Default value: 2.

Example
<width>[alg_product_width]</width>

[alg_product_height]

Displays product’s height.

Attributes

to_unit – Will convert final result to this units. Default value: None.
round – Will round the final result. Default value: no.
precision – If round is set to yes, you can define rounding precision (i.e. number of decimals) here. Default value: 2.

Example
<height>[alg_product_height]</height>

[alg_product_formatted_name]

Displays product’s formatted name.

Example
<formatted_name>[alg_product_formatted_name]</formatted_name>

[alg_product_name]

Displays product’s name.

Example
<name>[alg_product_name]</name>

[alg_product_stock_availability]

Displays product’s stock availability.

Example
<stock_availability>[alg_product_stock_availability]</stock_availability>

[alg_product_tax_class]

Displays product’s tax class.

Example
<tax_class>[alg_product_tax_class]</tax_class>

[alg_product_average_rating]

Displays product’s average rating.

Example
<average_rating>[alg_product_average_rating]</average_rating>

[alg_product_categories]

Displays product’s categories.

Example
<categories>[alg_product_categories]</categories>

[alg_product_categories_names]

Displays product’s category names.

Attributes

sep – Separator. Default value: , .

Example
<categories_names>[alg_product_categories_names]</categories_names>

[alg_product_categories_urls]

Displays product’s category URLs.

Attributes

sep – Separator. Default value: , .

Example
<categories_urls>[alg_product_categories_urls]</categories_urls>

[alg_product_list_attributes]

Displays product’s attributes.

Example
<product_attributes>[alg_product_list_attributes]</product_attributes>

[alg_product_list_attribute]

Displays product’s (single) attribute.

Attributes

name – Required name of the attribute to display. Default value: None.

Examples
<product_attribute_size>[alg_product_list_attribute name="size"]</product_attribute_size>
<product_attribute_color>[alg_product_list_attribute name="pa_color"]</product_attribute_color>

[alg_product_stock_quantity]

Displays product’s stock quantity.

Example
<stock_quantity>[alg_product_stock_quantity]</stock_quantity>

[alg_product_sale_price]

Displays product’s sale price.

Attributes

hide_currency – Display price as number only, or format it with currency code. Default value: yes.

Example
<sale_price>[alg_product_sale_price]</sale_price>

[alg_product_regular_price]

Displays product’s regular price.

Attributes

hide_currency – Display price as number only, or format it with currency code. Default value: yes.
show_always – If set to no will display regular price only for products that are on sale. Default value: yes.

Example
<regular_price>[alg_product_regular_price]</regular_price>

[alg_product_time_since_last_sale]

Displays product’s time since last sale.

Attributes

order_status – Sets which order statuses to count as sale. Default value: wc-completed.
days_to_cover – Sets maximum number of days to check. Default value: 90.
hide_if_no_sales – If set to yes will display empty string, if there were no sales found. Otherwise will output “No sales yet.” string. Default value: no.

Example
<time_since_last_sale>[alg_product_time_since_last_sale]</time_since_last_sale>

[alg_product_price_including_tax]

Displays product’s price including tax.

Attributes

multiply_by – Optional multiplication coefficient. Default value: None.
hide_currency – Display price as number only, or format it with currency code. Default value: yes.
variable_price_type – Display variable product’s price as lowest variation price only (simple), or as all variations price range (range). Default value: range.

Example
<price_including_tax>[alg_product_price_including_tax]</price_including_tax>

[alg_product_price_excluding_tax]

Displays product’s price excluding tax.

Attributes

multiply_by – Optional multiplication coefficient. Default value: None.
hide_currency – Display price as number only, or format it with currency code. Default value: yes.
variable_price_type – Display variable product’s price as lowest variation price only (simple), or as all variations price range (range). Default value: range.

Example
<price_excluding_tax>[alg_product_price_excluding_tax]</price_excluding_tax>

[alg_product_available_variations]

Displays product’s available variations.

Attributes

sep – Separator for variation attributes. Default value: , .
sep2 – Separator for variation attributes and price. Default value: : .
sep3 – Separator for variations. Default value: | .

Example
<available_variations>[alg_product_available_variations]</available_variations>
Example Output
<available_variations>red, Any: €20.00 | green, Any: €20.00 | blue, Any: €15.00</available_variations>

[alg_product_terms]

Displays product’s taxonomy terms.

Attributes

taxonomy – Required name of the taxonomy to display. Default value: None.
sep – Separator. Default value: , .
parent – Optional parent ID. For example, to output top level terms only, set it to 0. Default value: None.
orderby – Sorts terms. Possible values: name, parent_id, term_id, hierarchy. Default value: name.

Examples
<brands>[alg_product_terms taxonomy="brand"]</brands>
<brands>[alg_product_terms taxonomy="pwb-brand"]</brands>

[alg_product_function]

Displays any product function’s result. For a list of available functions please check WC_Product class documentation.

Attributes

function – Required name of the function to call. Default value: None.

Examples
<description>[alg_product_function function="get_description"]</description>
<visible>[alg_product_function function="is_visible"]</visible>
<purchasable>[alg_product_function function="is_purchasable"]</purchasable>
<catalog_visibility>[alg_product_function function="get_catalog_visibility"]</catalog_visibility>

[alg_format_date]

Formats value as a date.

Attributes

format – Date format. Default value: your site’s date & time format.
is_timestamp – Is input value a timestamp (yes), or date/time string no. Default value: no.
do_localize – Do we need to localize outputted date. When set to yes, then date_i18n() function is used instead of date() function (no). Default value: no.

Example
<my_date>[alg_format_date format="m-d-Y"][alg_product_meta name="your_custom_field_name"][/alg_format_date]</my_date>

[alg_format_number]

Formats value as a number.

Attributes

decimals – Sets the number of decimal points. Default value: 0.
dec_point – Sets the separator for the decimal point. Default value: ..
thousands_sep – Sets the thousands separator. Default value: ,.

Example
<my_number>[alg_format_number decimals="2"][alg_product_meta name="your_custom_field_name"][/alg_format_number]</my_number>

[alg_to_timestamp]

Converts date/time string to timestamp.

Example
<my_timestamp>[alg_to_timestamp][alg_product_meta name="your_custom_field_name"][/alg_to_timestamp]</my_timestamp>

Options

Plugin options are located in “WooCommerce > Settings > Product XML Feeds”.

General Options

Product XML Feeds for WooCommerce - General Options

Total XML files (feeds)
Sets the number of different feeds you wish to create.
Default: 1
Block size for products query
Sets the number of products feed file creation script should process in single loop.
Default: 512
PHP memory limit
Sets PHP memory limit (in megabytes). Ignored if set to zero. In addition to this you may need to increase WP memory limit by setting WP_MEMORY_LIMIT and WP_MAX_MEMORY_LIMIT in your wp-config.php file.
Default: 0
PHP time limit
Sets the number of seconds feed file creation script is allowed to run. Set to zero for no time limit. Ignored if set to -1 (and server’s default time limit is used). Check set_time_limit() function documentation for more info. There is a number of other solutions for increasing PHP time limit.
Default: -1
'Raw' input
Affects “Template Options”. If disabled, use { and } instead of < and > accordingly.
Default: yes

XML Feed #X Options

Product XML Feeds for WooCommerce - Feed Main Options

Enabled
Enables/disables the current feed.
Default: yes
Admin title
Sets admin title for the current feed.
Default: XML Feed #X

Template Options

Product XML Feeds for WooCommerce - Template Options

XML header
Sets XML header template.
Default:

<?xml version = "1.0" encoding = "utf-8" ?>
<root>
<time>[alg_current_datetime]</time>
<title><![CDATA[ Products Feed ]]></title>
XML item
Sets each XML item template.
Default:

<item>
	<name>[alg_product_name cdata="yes"]</name>
	<short_description>[alg_product_short_description cdata="yes"]</short_description>
	<link>[alg_product_url]</link>
	<price>[alg_product_price]</price>
	<currency>[alg_shop_currency]</currency>
	<image_url>[alg_product_image_url]</image_url>
	[alg_product_gallery_image_url image_nr="1" before="<image_url_1>" after="</image_url_1>"]
	<sku>[alg_product_sku]</sku>
	<stock_quantity>[alg_product_stock_quantity]</stock_quantity>
	<categories>[alg_product_categories]</categories>
	<tags>[alg_product_tags]</tags>
	<total_sales>[alg_product_meta name="total_sales"]</total_sales>
</item>
XML footer
Sets XML footer template.
Default:

</root>

General Options

Product XML Feeds for WooCommerce - Feed General Options

XML file path and name
Please note that destination folder must be writable.
Default: products.xml or products_X.xml
Update period
Possible values: Update every minute; Update hourly; Update twice daily; Update daily; Update weekly.
Default: Update weekly
WPML language
Option is shown only if you have multiple (WPML) languages installed on your site.
Default: None
Sorting: Order by
Possible values: Product ID; Title; Slug; Date; Last modified date; Number of comments; Author; Random; None.
Default: Date
Sorting: Order
Possible values: Ascending; Descending.
Default: Descending

Products Filtering Options

Product XML Feeds for WooCommerce - Products Filtering Options

Products to include
To include selected products only, enter products here. Leave blank to include all products.
Default: None
Products to exclude
To exclude selected products, enter products here. Leave blank to include all products.
Default: None
Categories to include
To include products from selected categories only, enter categories here. Leave blank to include all products.
Default: None
Categories to exclude
To exclude products from selected categories, enter categories here. Leave blank to include all products.
Default: None
Tags to include
To include products from selected tags only, enter tags here. Leave blank to include all products.
Default: None
Tags to exclude
To exclude products from selected tags, enter tags here. Leave blank to include all products.
Default: None
Variable products
Possible values: Variable product only; Variation products only; Both variable and variations products.
Default: Variable product only
Products scope
Possible values: All products; Only products that are on sale; Only products that are not on sale; Only products that are featured; Only products that are not featured.
Default: All products
Offset products
Number of products to pass over.
Default: 0
Total products
Set to zero to include all products.
Default: 0
Stock status
Possible values (multiselect): In stock, Out of stock, On backorder. Leave blank to include all products.
Default: None
Min price
Ignored if empty.
Default: None
Max price
Ignored if empty.
Default: None
Catalog visibility
If empty, then all products will be included in the feed. Possible values: Shop and search results (i.e. visible); Shop only; Search results only; Hidden.
Default: None
Custom taxonomy to include
To include products from selected taxonomy only, enter taxonomy slug here. Leave blank to include all products. E.g.: pwb-brand
Default: None
Custom taxonomy to include: slugs
Set as comma separated list of slugs. E.g.: sony,lg,samsung
Default: None
Attribute to include
To include products from selected attribute only, enter attribute slug here. Leave blank to include all products. E.g.: color
Default: None
Attribute to include: values
Attribute values (comma separated). E.g.: Red,Green
Default: None

11 reviews for Product XML Feeds for WooCommerce

  1. blank

    David

    Hi there, I just installed the plugin to my multisite wp installation but when I try to access the xml feed at https://www.tokentrezor.com/products.xml it shows “The page doesn’t exist”. Have any clue?

    • blank

      WPWhale

      Hi David,

      Sorry to hear the trouble, please note that this is the reviews section.

      Contact me at [email protected] with details on what you’ve done after installing the plugin (you should build & generate the XML file first).

      Omar

  2. blank

    endre (verified owner)

    Great plugin!
    However I would like an option to disable the bottom comment saying:

    <!--  Product XML Feeds for WooCommerce  -->
    <!-- Served from: https://wpfactory.com/item/product-xml-feeds-woocommerce/ @ 2020-09-14 11:27:53 -->

    I have purchased the lifetime unlimited license so I think I did my best for supporting you.
    I know this is just a comment and does not matter for parsers, but it is misleading as the feed is not server from wpfactory.com server.
    Besides this it is a really useful tool with good options to create just about any kind of feeds.
    Thank you!
    🙂

    • blank

      WPWhale

      Hi Endre,

      Thanks for the feedback, we listened 🙂

      You have now an option to remove that part from the XML, please upgrade to 1.9.4 to have that option.

      Sorry for any convenience made, very thankful for the feedback.

      Omar

  3. blank

    Dimitrios Fekas (verified owner)

    The best plugin for creating xml feeds… Basically you can build whatever you want for any platform…It’s for simple and also experienced users with a very good documentation…Just read it and you can build everything. The support is awsome and very quick.

  4. blank

    Florin (verified owner)

    Purchased this plugin a while ago and I want to share with the rest of the community that it makes its purpose. It is very easy to generate different feeds for different platforms using all sorts of shortcode combinations. The only thing I would like to see is the option of saving the feed in another format like .txt, beside this everything is good.

    • blank

      WPWhale

      Thanks Florin for the great feedback, and actually your request is on our roadmap for the plugin, expect it to be available soon.

      Omar

  5. blank

    Pluisher

    Great plugin!
    Great support!
    The guys added some complicated shortcodes for me.
    Thank you for your patience and special thanks to Omar!

  6. blank

    poysit

    Bu eklenti çok pahalı dostum. Türkiye’de dolar 7 TL oldu mk . Kupon ver bana satın alayım :+

  7. blank

    George Kantze (verified owner)

    Great plugin. It does the job and it is very easy to customize it. Also too cheap! (I ‘m developing websites/eshops and the full version with lifetime support/updates is very cheap).

    It supports wpml, it exports as many xml files as you want. It supports many currencies. It works with shortcodes that are so easy to understand and to put them in place.
    I have bought it yesterday and today I am ready to give the final xml to my client!

  8. blank

    napat (verified owner)

    not have support

  9. blank

    Dimitris Georgiadis (verified owner)

    Great plugin! Excellent support.

  10. blank

    alexandroskast (verified owner)

    Simple, fast , custom batch size for slow servers, super customization options!

  11. blank

    Alex

    Great plugin! Documentation could be better… but still I would give it 6 stars!!!!! Thank you!

    • blank

      Tom Anbinder

      Hi,

      Thanks. We’ve recently expanded the documentation – hope it’s better now.

Add a review

Your email address will not be published. Required fields are marked *

237 thoughts on "Product XML Feeds for WooCommerce"

  1. Hi there again 🙂
    seems like it’s not allowed here to add tags, so I will try to explain without:

    open_tag.categories
    open_tag.category (with attribute categoryId and name within tags) name closed_tag.category
    closed_tag.categories
    open_tag.items
    open_tag.item (same as you already have) closed_tag.item
    closed_tag.items

  2. Hi there!
    I like your XML feed, but need a little bit more complexity.
    Example:

    name

    ….

    Is it possible to extend your plugin?
    Thanks in advance!

  3. Hi,
    Plugin is great with one major flow which makes im unusable for 99% refferals. If there are multiple parent categories for one product the plugin just throws all categories randomly in, instead picking the primary category and using path for subcategories of only primary category while discarding all other categories and subcategories that are not marked as primary in WooCommerce product.

    This is major flow in all other XML feed plugins I found for WooCommerce also. To be precise, European and Asian feeds need to have this feature. At this point there is not even one plugin that solves this issues which is big problem, mostly for WooCommerce stores, because it is not possible to create feeds for European and Asian stores if product is part of multiple category paths since category path based on primary category is not avoidable option during export. At this point all categories and subcategories are outputed, primary and secondary, which makes a mess for refferal online stores to use such xml for creating correct category path and names.

    Will this feature be added in next few days? If not, I think I will need to recommend clients to stay away from WooCommerce because this is major flow that really impacts how stores are connecting with other refferal stores to push and market their products online. And as I said, not even one XML feed generator that exists at this moment has this solved.

    Wish you a good day,
    Zeljko

    1. Or if you could extend the support for “functions” outside WC Product Class so that we are able to grab breadcrumb with “get_breadcrumb” for products, that would probably simplify things even more. Because breadcrumbs use only primary category path automatically.

    2. Hi,

      Thanks for your detailed post, to start, I’m assuming you’re referring to Yoast primary category since WP & WC don’t define a primary cateogry by default.

      For the hierarchy part, can you try this shortcode:

      [alg_product_terms taxonomy="product_cat" orderby="hierarchy"]

      It should get you the categories in hierarchical order, once this is solved, please send me at [email protected] to see how specifying the primary category can be done.

      Omar

    3. Thank you very much on your response. I already use that shortcode, I mean whole plugin works beautifully and does what is said it does, that is why I am writing this because if product is part of multiple parent categories that are on the same level it outputs all the trails, and we need just one to send to referral store (they can’t accept more then one trail – which is how things are with 99% of them), the one Yoast marks as primary as you mentioned.

      I also tried to eliminate other parent categories that are on the same level, because it was said to our client to use just parent category first to mark it as a primary, but you know how clients are, they forget, do not mention things they do and so on so they partially did that, so when other categories are excluded except one which should be the main, part of products are also excluded, that is why I asked if it was possible somehow to have an option for which category trail to include in the output.

      It would be great if that would be the public update because I would like to use your pro version of plugin on other sites and shops, because your is the only one that at this point offers maximum customizations. and I would like to stick with it in the future.

  4. Hello i have a coplex question. I have a product with 2 attributes
    1. Colour
    2. Size
    I want to display the title and the colour in the same row in the xml Fille. Somethin like “Lonsdale Tshirt – Black”
    One sollution i try, was to conbine the [alg_product_name] and the [alg_product_terms taxonomy=”pa_colour”] but this returns all the colour variations in the title.
    Second sollution i try was to display Variable products only in the settings but this returns all the combinations.. For example “Lonsdale Tshirt- Smal- Black” , “Lonsdale Tshirt- Medium- Black” etc.
    Its possible to display only variable products as seperate but only based on the colour variation?

    1. Hi Dimitrios ,

      Yes, you can use shortcode [alg_product_list_attribute name=”color”] and use the filters (plugin setting >> bottom) to filter based on a specific attribute (color in your case).

      I hope this helps.

      Omar

  5. Hello.
    Look at this: 1
    I want to replace the 750 ml with the following shortcode:
    [alg_product_list_attribute name=”flaschengroesse”]
    Like this:
    1

    But it doesn’t work. Can you help me? What am I doing wrong?
    Thanks.

    Best,
    Mathias

    1. Hi Mathias,

      Sorry I don’t think I got it, where is the 750ml initially to be replaced? Can you please give me a bit more details?

      Feel free to reach me at [email protected] for further troubelshooting.

      Omar

  6. I have custom made fields, and since today some fields are not updated in the feed..but in the product post the meta is there…why is this?

    1. Hi Hans,

      Actually we haven’t updated the plugin since 22/9 so I doubt it’s something from the plugin itself, but maybe with WooCommerce 4.6? Did you get the issue after the update?

      We haven’t yet fully-tested the plugin for it, any more info will be helpful on this.

      Omar

  7. Hi,
    I am getting a page not found 404? I have created the xml!

    Moreover where do I put my Lisence number?

    1. Hi Paschalis,

      Can you send a link to the website? And settings of the plugin as well?

      Or just give us a temp. access to your store to check, reach at [email protected] please.

      Omar

  8. Hi, I need a structure like below.

    
    11111_1
    11
    33.90
    Renk
    Kırmızı
    Beden
    36
    
    
    add_shortcode( 'alg_product_variations_multiplied_by_variant', 'alg_product_variations_multiplied_by_variant' );
    if ( ! function_exists( 'alg_product_variations_multiplied_by_variant' ) ) {
        function alg_product_price_multiplied_by_stock( $atts ) {
    		global $product;
        	if ( $product->is_type( 'variable' ) ) {
    			$available_variations = $product->get_available_variations();
    			foreach ( $available_variations as $key => $value ) {
    				print ''.$value["variation_id"].''; 
    				print 'Renk';
    				print ''.$value["attributes"]["attribute_pa_renk-secimi"].'';
    				print '';
    			}
    			return;
    		}
    		
    	}
    }
    

    I wrote the following function. But it doesn’t work with this plugin. How can we integrate it?

    1. I guess html and xml tags are blocked here.
      This is example link: https://i.hizliresim.com/qnJpQe.jpg

      How can I make part of the Variants here?

    2. Hi Kadir,

      Sorry but the plugin can’t generate this code by default, I need to understand what you’re trying to get (result XML) so I can see if it’s doable through the plugin or no.

      Please send me the details to [email protected]

      Omar

  9. Hi,

    Please help me figure out what can cause the duplicated products in this feed:
    https://www.noirot.hu/products.xml

    Thank you!

    Endre

    1. Hi Endre,

      I need to check the settings you’ve defined in the plugin feed tab, can you please share access to your store? Reach me at [email protected]

      Omar

  10. Hello i face a very strange issue …. I want to include in my xml the [alg_product_regular_price] and the [alg_product_sale_price] in regular and discount price in my xml..Althought it works fine when is a simple product…In a variable product ist isn’t working (it returns empty result…Only the [alg_product_price] is working)…Is it possibble to use these shortcodes in a variable product?

    1. Hi Dimitrios,

      I think you’re referring to the variable (parent) product here, and yes those two shortcodes return blank results, I will include a fix in the next update to show range for regular & sale price for the variable (which will be taken from cheapest & most expensive variations).

      Will let you know once it’s out.

      Omar

    2. Hi Dimitrios,

      Thanks for holding on this, I’ve just released 1.9.3 where these two shortcodes will show a range of prices based on variations created under that variable.

      Please test it and let me know if you have any feedback, if you found the plugin / support useful, it will be great if you can review the plugin.

      Omar

  11. hello.

    i want to display value of “img_url” from meta key “_bdroppy_url”

    example – https://i.imgur.com/MCUfEM2.png

    [alg_product_meta name=”img_url”] not working

    how can i do this? thanks.

    1. Hi Art,

      Two things here, a fix from our side will be done to show product without including ID (which currently happens in the user-defined meta_key, this will be released in an update tomorrow or the day after.

      The other thing is that the meta_key you used _bdroppy_url returns an array and not a single text (img_url), I think you need to define a new meta key that returns ONLY the image url and not in an array.

      Will let you know once an update is out.
      Omar

    2. Hi again,

      Hope I’m not late on you, please update to 1.9.3 and use the following shortcode:

      [alg_product_meta name=”_bdroppy_url” array_key=”0″ array_key_child=”img_url”]

      I created these two attributes for your case, which should read the values from the array, please test and let me know if you have any feedback.

      A review will be great if you’re happy with the plugin 😉

      Omar

  12. Hi,

    I am trying to resolve an issue – we are changing prices for sales and back using imports. The issue is that when we import blank sales price field, it is sometimes 0 in woo.
    The issue is that the 0 is also in feeds as a sale price. I have tried to use hide_if_zero attribute with [alg_product_sale_price] but it not working. Is there any other way how to achieve this?

    Thanks!

    1. Hi Petr,

      Sorry for the trouble, the hide_if_zero attribute doesn’t work with sale_price (because usually it’s not needed there), I will include it in the next update and let you know.

      Omar

  13. Hi, my plugin says that it doesn’t have access to my public_html how to do I fix that?

    1. Hi,

      If your WP installation has access to that folder, the plugin should do this as well!

      However, can you please try ticking “User Site Address” under the path field?

      Omar

  14. Hi

    I am having trouble getting an attribute field to display for both simple and variation products. I am using [alg_product_list_attribute name=’brand’] to get the product brand, but this only displays for simple products and not for variations, I also tried [alg_product_list_attribute name”brand” use_parent_id=”yes”] but still this doesn;t work.

    Wonder if you could help with this, please?

    Thank you

    1. Hello Andy,

      Sorry for the trouble, I’m working on a fix that will be released very soon, will keep you posted.

      Omar

  15. Hi, I’m having a problem with the description. I have both variable and simple-products in my webshop. But the description is not showing for the variable products. I have tried the use_parent_id=”yes” on both short and long description but it’s not working.

    Please help me!
    Thank you!

    1. Hi Christine,

      You’re correct, the current desc shortcodes are set to read the standard descriptions for simple & variable (parent) products, the short description for variations is a separate field and can’t be called using the current shortcodes.

      I will get this fixed very soon and update you.

      Omar

    2. Hi Omar,

      Did you manage to release an update on this?

      I am having the same problem. I only have description and short description set for the main product.

      But I am building a feed only with variations. So the short and long description are both empty. They are displayed only for the parent product when I choose that type of feed.

      Thanks,

      Andrei

    3. Hi Andrei,

      Very sorry about this, it looks I missed this fix in the past updates, I’m releasing an update today (it’s already done QA), and I will include a fix for this one in the next round.

      Omar

  16. Hello.
    How do I fix it if the plugin doesn’t sync daily as I asked to?
    I have put it in 2 different sites that belong in 2 different web servers.

    On 1st server it works fine and it says : X hours till next update.
    On 2nd server it doesn’t work and it doesn’t say when next update will be.
    Is there a trick to put time based proccess to run on the problematic server?

    1. Hi George,

      That’s weird behavior actually, if you don’t mind, can I take a look on the 2nd server? If yes, you can use [email protected] for the user.

      Omar

  17. Hello,

    I need to make a variation only feed with some attributes pulled from the parent and others from the variation itself.

    Snippet:
    [alg_product_list_attribute name=”pa_color” use_parent_id=”yes”]
    [alg_product_list_attribute name=”pa_size”]

    However, this pulls the parent data for both attributes, i.e: Color: Red / Size: 40, 41, 42, etc
    I have also tried use_parent_id=”no” for Size with the same result.

    Whereas if use:
    [alg_product_list_attribute name=”pa_color”]
    [alg_product_list_attribute name=”pa_size”]

    It returns Color: [empty] / Size: 40

    What this feed requires is color pulled from the parent and size pulled from the variation and then the same for several other attributes, but no matter how much I play around with use_parent_id it always gives me all data from parent or all data from variation.

    Best regards

    1. Hi Pareidolia,

      Is Color in this case an attribute that’s used for variation? Or just in the parent product?

      I mean having 2 colors & 2 sizes will produce 4 product variations? Just trying to understand how the final feed should look like.

      Omar

    2. Only size is used for variations, color and every other attribute are just for the parent.

      For example the parent attributes might be:
      Size: 40, 41, 42
      Color: Red
      Material: Leather
      Brand: ABC

      The variations in that case are:
      40
      41
      42

      And what I’m trying to get in the variation only feed is just one size per item with some parent attributes. If I don’t attach use_parent_id to any shortcode I get the correct size attribute but all parent-only attributes are empty. If I do attach use_parent_id in even one shortcode then all shortcodes output the parent attribute, including the one for size which means it lists all sizes instead of one for each item.

      I hope that makes sense.

    3. Quick update:

      I deleted that feed and started again and it just works, I’m not sure what I missed the first time.

    4. Glad to know it works fine now.

      Let me know if you need any further help.

      Omar

  18. Hello!
    I need help.
    I have a product attribute:
    name=”name_attr1″ (slug=”slug_attr1″)
    terms=”name_term1″ (slug=”slug_term1″), “name_term2″ (slug=”slug_term2”), “name_term3″ (slug=”slug_term3”)

    I need to get a tag like this:
    name_term1, name_term2, name_term3

    How can I do this with a plugin?

    1. I need to get a tag like this:

      param name=”name_attr1″ paramid=”slug_attr1″ valueid=”slug_term1, slug_term2, slug_term3″>name_term1, name_term2, name_term3</param

    2. Hello Plunisher,

      Do all tags (for the same product) needs to be in the same feed output? I mean for product A (variable), do these attributes create new variations, and thus are separate products?

      It would be easier if you can send me details about the current XML file you have, and maybe a link to the product so I can better understand how attributes change the product.

      If possible, send me at [email protected] please.

      Omar

    3. Hello Alex,

      I responded to your email with the solution, but it’s bouncing back, can you please try sending me from a different email?

      Omar

    4. Hello Omar,
      I send to you new letter from gmail.
      Please check.

    5. Got it and replied.

      Omar

  19. Hello!

    Here i get the name of the product category:

    [alg_product_categories_names]
    [alg_product_categories]

    How do I get category id?

    1. Hello,

      The plugin currently doesn’t exports category id, I will make sure to include it in the nearest update.

      Omar

    2. Thanks!
      I will be grateful.

  20. I want to have in my custom XML a “size” attibute set like:
    1

    The size is saved as a Woocommerce Product attribute.
    I can get this Product attribute with [alg_product_list_attribute name=”inhoud”]

    But if I use it like:
    1

    It does not generate the value (it generates: 1)

    How to set an XML attribute with an Product Attribute?

    1. The XML in my question was not correctly saved…. It should be:

      I want to have in my custom XML a “size” attribute set like:
      <bottles size=”[alg_product_list_attribute name=”inhoud”]”>1</bottles>

      The size is saved as a Woocommerce Product attribute.
      I can get this Product attribute with [alg_product_list_attribute name=”inhoud”]

      But if I use it like:
      <bottles size=&quot;[alg_product_list_attribute name=”inhoud”]&quot;>1</bottles>

      It does not generate the attribute value..

      How to set an XML attribute with an Product Attribute?

    2. Hi Pat,

      I think you just need to use this instead:

      &lt;bottles size="[alg_product_list_attribute name='inhoud']">1</bottles>

      Omar

  21. Hello,

    i’ve bought this plugin for a customer of mine so he can use the XML-productfeed for Google shopping/Google Merchant. But now Google Merchant gives a XML
    formatting error. I have no clue what i’m doing wrong. Can you help me?
    Google give the following link for an asnwer but still no clue:
    https://support.google.com/merchants/answer/160039?hl=nl

    With kind regards,
    Almar

    1. Hello Almar,

      Yes sure, would love to help.

      I have to look at the feed setting and result as well, can you please send us more details (screenshots & links) about the issue to [email protected]?

      Thanks,
      Omar

  22. Hello,

    I have a custom field (advanced custom fields) that I want to filter the products by. The field is accessible and shows up in the XML feed when I use [alg_product_custom_field name=”sample_custom_field”].

    However, how can I filter the products that have values for “sample_custom_field”? I’ve tried putting that in the ‘custom taxonomy’ field to include, but no luck.

    I need to filter by this custom field for this plugin to work for us, thanks!

    1. I tried creating a new taxonomy, since that what it seems to really want. Not just a custom field. I was certain this would work… but it’s not.

      I registered a custom taxonomny:
      register_taxonomy(‘gundealtax’)

      I’m then using advanced custom fields to use that taxonomy to show fields on WooCommerce products. I populated 1 product with a ‘gundealtax’ taxonomy. I then place ‘gundealtax’ (without quotes) in the Custom taxonomy to include field, and it returns a list of all products, instead of 1.

    2. Darn, I updated my taxonomy code to:

      register_taxonomy( ‘gundealtaxonomy’, ‘product’, $args );
      register_taxonomy_for_object_type( ‘gundealtaxonomy’, ‘product’ );

      Seems to save the taxonomy values correctly through ACF. But placing neither the ACF field name “gun_deals_taxonomy” nor “gundealtaxonomny” works for filtering. So either I’m doing something very wrong… or the filtering by custom taxonmy doesn’t seem to wrok.

    3. Hello Thrive Team,
      Sorry to know you’re having a trouble using this feature.
      To create a feed based on a taxonomy (named color for example), you will need something like this:
      <size>[alg_product_terms taxonomy=”size”]</size>
      So now let’s assume you have 3 values for the size (S,M,L), and you want the XML feed to contain the products that have a value of S or M for the size taxonomy, you will need to enter ‘size’ (without quotes) in “Custom Taxonomy to Include”, and then enter ‘s,m’ in “Custom Taxonomy Slug” field.
      I’ve just applied the same exact steps and here is the XML file generated.
      The store has other products of course, but these two (appearing in the XML) are the only ones with small & medium values for that taxonomy (there is a product with large value, but not included in custom tax slugs so it’s not in the feed).
      I’ve used WCK plugin to create the taxonomy, while you used ACF, not sure if it could be an issue.
      If possible, grant me access to your store ([email protected]) I can take a look at the settings you have.
      Omar

    4. Hello, thanks for the reply but- I’ve already done exactly as you suggested- I placed the custom taxonomy field to include. I shouldn’t need to do anything further based on your documentation.

      In your example, you shouldn’t need to put in “M” or “S”. If you put in “size” as the attribute, it should grab all products WITH a size attribute. But nevertheless, I have put in the exact name of the attribute, it still doesn’t work.

      I’m not using ACF to create a custom taxonomy. I’ve created a custom taxonomy through standard WordPress register functions. The only thing ACF is being used for is to create an easy interface to select taxonomies. (You could add them in the sidebar via the standard wordpress method- makes no difference. The taxonomy is being saved correctly on the post, but the plugin cannot filter by it.)

      In my scenario, the custom taxonomy name is ‘gundealtaxonomy ‘and the attribute is ‘Ammunition’. When I put both of those into the settings as you have suggested like Size and S/M- it still produces an XML document with every product, whereas it should only be returning a single product since that’s all that is entered in the backend so far.

      How did you create the custom taxonomny Size, how did you populate it with data?

      I could give you access to a clone of the site, but i’ll need to create it first and I’ll also need a secure method of communication.

    5. Just saw you included your e-mail- I’ll get a clone set up so I can grant access.

    6. Hello again,

      I used WCK to create the taxonomy, and it allows you to create values from the product page itself.

      For communications, yes please contact me at that email .

      Omar

    7. Omar- just sent you an email with Clone access and associated details!

  23. Hi,

    Following our conversation in wp.org forum, I am writing my issue here as well.

    We would like to separate the products by color and show all the available sizes for each color, i.e. Black>S, M, L etc…

    1. Hello @Dimath,

      Sorry for all the trouble you had.

      For the “In Stock” showing variations that are out of stock, it’s being fixed now and I expect to have a release tomorrow.

      For the other part, where you have to show an attribute as a single product, but other attributes to be part of it, I’m still working to find a way to accomplish this, because as we’ve discussed, every mix of two attributes creates a new variation in your setup.

      I will get back to you at the earliest on this.

      Omar

    2. Hi again,

      Just to confirm, having a mix of two attributes values (green & small for example) as a separate variations will produce a new variation for the product.

      So if you have an attribute for color (that contains 2 values; blue & green), another one for size (S,M,L), you will end up in 6 separate variations, and WooCommerce treats them this way (because you can add a different price, image, etc.. for each one).

      Unfortunately, the plugin (and all similar plugins that I’m aware of) can’t produce only 2 variations out of these 6.

      Sorry about that.
      Omar

    3. Hi,

      I am still waiting for you to fix the out of stock bug.

      Also, I found a similar plugin that does the thing with the color and so on.

      If I select to add the size attribute as a dynamic attribute in https://rextheme.com/best-woocommerce-product-feed/ it brings all the available sizes.

      Maybe it is something that you can consider?

    4. Hi,

      The fix is still in progress, it was almost done today but caused another bug, hopefully tomorrow.

      As for the other plugin, honestly it’s a good one, and a lot of efforts have been done to make it.

      As for this update, I doubt I will be able to customize this feature, it needs a lot of coding work since it will affect all variable products attributes, but I have it on my features requests, and I will try my best to do it soon.

      Sorry about this.
      Omar

    5. One last thing, can you please send me at [email protected], I would love to find the best solution for you.

      Omar

  24. I need a user guide for this plugin. I am getting all kinds of errors. Do you have more detailed instructions somewhere?

    1. Hi Shelly,

      Sorry to hear you’re getting a lot of troubles with this plugin, the use method is covered in the plugin page here, but if you still don’t feel comfortable using the plugin, I would be more than happy to assist you and walk you through the plugin details.

      Can you please contact us at [email protected] with a little more info about your needs?

      Omar

  25. Hi, we have store with 16000 products – and we are getting error when we try to generate feed. Is there any way to generate it? We have paid app already. Thx!

    1. Hi Marek,

      We’ve responded to your email.

      Thank you,
      Omar

  26. Hi

    Ι purchase the pro edition and I’m getting the following error:
    “The gateway did not receive a timely response from the upstream server or application.”

    1. Any help please?

    2. Hello Angelos,

      Sorry we missed your first comment.

      Can you please give more details about the error, where & when do you see it? Are you using latest PHP? It seems like a timeout issue that’s related to the server (hosting) response.

      If you can share more details (feel free to send us directly at [email protected]) that would help us troubleshoot.

      Best,
      Omar

  27. I have problem displaying “regular price” multiplied by a number.

    While this one is working:
    [alg_product_price multiply_by=”1.20″]

    This one is not:
    [alg_product_regular_price multiply_by=”1.20″]

    So, multiplication works only with the “final price” and not with “regular price”?
    Tested with woocommerce 3.8 and 3.7.1

    1. Any help please? Is this a bug? Wil it be fixed?

    2. Hello George,

      Sorry for missing your first comment, we’ve responded to your email with the solution, we will add the fix in the next update.

      Best,
      Omar

  28. Hello and thank you for your great plugin.
    Is there an option to include a product’s parent category in the xml file?
    I’m only checking the child category in every product.

    Let’s say we have a “vehicles” category and a “cars” subcategory.
    I need this in xml file.
    vehicles > cars
    (both parent and child category are shown)

    1. I have found a workaround. I have checked the parent category too in the product’s edit page. Is there another option without having to check the parent category? (I have 1.500+ products with only child-category checked!)

      Also, is there a way to change the separator?
      I don want : vehicles, cars
      I want: vehicles > cars

    2. Hi,

      Regarding changing the separator:

      [alg_product_terms taxonomy="product_cat" sep=" > " orderby="hierarchy"]

      This will also sort categories hierarchically.

      As for including category’s parent – unfortunately, I’m not sure if we can do that. The problem is that parent category is not really a product’s category unless you actually check it for the product.

  29. Hello,

    Is there a way to make find/replace only trigger on exact full string match while doing multiple cases? My issue arises when trying to find and replace values that contain each other, like – find=”x,xy,xyz” replace=”1,2,3″ – output ends up being 1, 1y, 1yz instead of 1,2,3.

    Regards

    1. Hi,

      Could you please try changing the order of your values by listing longer ones first, i.e.:

      find="xyz,xy,x" replace="3,2,1"
    2. Thank you, that worked.

    3. Also, is there a way to get the result of multiple shortcodes inside one CDATA tag?

    4. Yes, you can put it inside one CDATA tag.

      To do that, instead of adding cdata="yes" attribute to the shortcodes, like you would normally do:

      [alg_product_name cdata="yes"]
      [alg_product_short_description cdata="yes"]

      you will have to use the “ugly” form:

      &lt;![CDATA[ [alg_product_name] [alg_product_short_description] ]]>

      i.e. wrap it in &lt;![CDATA[ ]]>

      Hope that helps. And if you like the plugin, please consider leaving me a rating.

    5. Thank you, it sure did. I didnt realise I’d have to substitute &lt to [. Tried it with [ but that killed the shortcodes.

    6. Yes, we need to substitute, because it seems that shortcodes are not allowed inside HTML tags in WordPress.

      Anyway, glad it helped 🙂

    7. Hello, is there a way to put a hard cap on the number of products in the feed?

    8. Hi,

      Unfortunately no, at the moment there is no hard cap on number of products, but I will try to add this option in the next plugin version.

    9. Hi,

      As promised, we’ve released new plugin version 1.7.1 today, where I’ve added “Total products” option to “Products Filtering Options” section in plugin settings. This should solve the task, i.e. adding hard cap on number of products in feed.

      Please let me know if you have any questions. And if you like the plugin, please consider leaving me a rating.

  30. I would like to ask if “Stock status” in Product XML Feeds for WooCommerce Pro is taking into account variations not in stock. So if I have both simple and variable products and the Product XML Feeds for WooCommerce Pro setting is “In Stock” then I would expect to be included in the XML feed only simple products in stock and only variations of the variable products in stock. Am I right?

  31. Error 524 Ray A timeout occurred

    My product about 3000

    Thank you

  32. Hello, I ordered XML feeds, how to import products into woocomerce?

  33. Hello,

    I have installed the extension but I keep having timeout issues.

    I have tried reducing the “Block size for products query” and the “PHP time limit” but I always get the same result :
    “Gateway Timeout
    The gateway did not receive a timely response from the upstream server or application.”

    Do you have any advice on how to solve this ?
    Information :
    – I cannot change the request time allowed on my server.
    – I have +10000 products

    Thank you for your help.

    Regards.
    Antoine

  34. Hello, I’m trying to generate a CSV file using this plugin, but I’m having trouble with line breaks. How do you suggest I should proceed? More precisely, in product description, there are line breaks. Every product should be on 1 line in order for the CSV file to be valid.

    Thank you for your support!

    1. Hi,

      As far as I know, wrapping output in quotes should solve the issue, so please try something like:

      [alg_product_sku];[alg_product_title];[alg_product_url];[alg_product_price];"[alg_product_description]";

      Please let me know if that helped.

    2. P.S. You may also want to replace the original double quotes in your product description with single quotes, e.g.:

      [alg_product_sku];[alg_product_title];[alg_product_url];[alg_product_price];"[alg_product_description find='"' replace="'"]";
    3. Hello, I solved the problem with the following shortcode –
      [alg_product_description find=”
      ” replace=””]

      I have inserted the newline as a character to be replaced with a . I’m having some issues with some special characters now – ă, â, î, ș, ț – they are displayed weird
      Are those supported?

      Example – lână is displayed lână

      How should I proceed? Thank you!

    4. Coming back with an update – it seems that opening the CSV file in a text editor (Sublime Text, for example) renders the characters just fine. If I try to import the CSV into Excel, the characters get garbled like stated before. I believe it is not related to the plugin, but to Excel. My mistake 🙂

  35. Hi, I’m using Product XML Feeds for WooCommerce Pro. Worked perfectly, but a few weeks ago stopped to create XML feed automatically (creates only manually). Any help would be apriciated. Thank you.

    1. Hi Radim,

      Could you please check if crons are enabled on your server? You can check that in “WooCommerce > Status > WordPress cron”.

    2. Hi Tom, WordPress crons are enabled and always were. I found it is caused by Currency Switcher Plugin. When the plugin is deactivated, Product XML Feeds for WooCommerce Pro works perfectly… Any idea? Thanks.

  36. Hi, when i try to create the xml feed after a while give me a error 404.
    Can you help ?

    1. i’m waiting for your support on this .

    2. Hi Filipa,

      Would it be possible for me to login to your site? If yes – my email is [email protected]

  37. Hi,

    I am using the free version of the plugin and I am trying to get an url link to images. I am using this code:

    It is working fine, except all the images are 100×100. I want to use full size images and when I add image_size there is a error:

    Any ideas?

    regards,
    Leon

    1. Figured it out myself. Used shortcode < instead of <

  38. Hi,

    We have the PRO version and we are trying to make a Localization Feed for our Facebook Shop.

    We have the shop synced with the Facebook for Woocommerce plugin.

    We have WPML that translates products in 2 languages, RO default and EN secondary.

    Out FB plugin only makes the shop in RO default language.

    Facebook lets us upload a feed that “translates” the shop.

    But for that to work we need to list the ID’s of the RO products and then put all the info fom the EN products.

    Is there a way to make a feed take the ID from the RO product and all the other info from the EN translated product? (the EN product has a different ID)

    Thanks

    Andrei

    1. Hi,

      You don’t provide any support for the product you sold?

      Thanks,

      Andrei

  39. I am getting an HTTP Error 500 when attempting to create a feed with default options… Does this plugin have any minimum requirements in PHP etc.?

    1. Seems woocommerce needed to be updated for it to work? Is there any way to get category tree for a product alg_product_categories seems to return just one category, not the whole structure?

      If this can happen then we will gladly buy this plugin so that we can get out of stock filtering and custom update periods. 🙂

    2. Hi Terry,

      Sorry for a late reply.

      1. Generally we do try to maintain backward compatibility with older WooCommerce versions. Which WooCommerce version did you have before updating?

      2. Actually [alg_product_categories] should return all the categories separated by comma. Are you sure your product(s) have multiple categories set? If that’s not the case – could you please try using more general [alg_product_terms] shortcode, i.e.:

      [alg_product_terms taxonomy="product_cat"]
    3. Hi, thanks for taking the time to reply.

      Was using WooCommerce 2.6.14, and yes you were right, some products had not been created with all the necessary categories selected.

      However, now there is another issue. The parent category appears last, e.g. sub_category_1 > sub_category_2 > parent_category, when it should come first. Is there any way to order them?

    4. Hi Terry,

      You are correct – categories should be outputted in alphabetical order (i.e. not hierarchical). Not sure if this will be good enough, but we’ve just released new plugin version 1.5.3, where I’ve added orderby attribute to the [alg_product_terms] shortcode. You can now sort it by parent_id, i.e.:

      [alg_product_terms taxonomy="product_cat" orderby="parent_id"]

      If you were creating your categories in ascending order, this should give you the required results. Please take a look and let me know what you think.

    5. Hi, you have been of very helpful and I appreciate it.

      However the fix you suggested is not working for us. Categories are displayed in the same way as before despite using the orderby option.

    6. Hi Terry,

      Hmm… That’s a bit weird. Unless your parent IDs match alphabetical order (which is unlikely) you should see different results in resulting XML. Are you sure you’ve updated the plugin to v1.5.3 (if you are using Pro version, you need to update Pro, not free)?

    7. Hi,
      yes, the plugin is updated to the latest version. I am confused as well.

      I experimented by creating a completely new category hierarchy of six entries and a test product and it works correctly there. But all the existing products experience problems.

      Could this be a database issue? Or a plugin conflict?

    8. I may have found a very inelegant solution, but if it works I am going to use. Just one question though, is there a limit to the number of value pairs for find/replace in case of multiple items?

    9. Hi Terry,

      No, there is no limit on find/replace pairs, however, I think I’ve managed to implement the hierarchical sorting. Please update the plugin to v1.5.4 and try this:

      [alg_product_terms taxonomy="product_cat" orderby="hierarchy"]

      Let me know if something is not working as expected.

      P.S. If you like the plugin, please consider leaving me a rating.

    10. After the last update and using the hierarchy ordering categories display properly on our staging environment.

      However, we had to revert woocommerce version on the live site and we are back too error 500. when trying to create the feed. We will figure it out eventually.

      One last request, could you give an example of using multiple find/replace, is there any non allowed characters in-between the separators, etc. I have a suspicion I was doing it wrong. The reason I am asking is that before you updated to 1.5.4 and solved my issue, I was trying to recreate the category hierarchy using the category_url shortcode and replacing strings there with actual category names, but sometimes even if the number of pairs was correct, the find/replace mechanism skipped items, i.e. the first element of the, say 15th pair, would match to the second element of the 17th pair.

  40. I am interested in purchasing but i don’t understand how to use the software is there any tutorial? is there any examples?

    1. Hi,

      All we have is info in the Description tab.

      Basically what you need to do (after installing the plugin) is go to “WooCommerce > Settings > Product XML Feeds > XML Feed #1” and (if you leave the default settings) click “Create now” – feed will be created instantly (i.e. so you won’t need to wait until automatical scheduled creation is run) and you will be able to check the resulting XML feed in http://yoursite/products.xml.

      Hope that helps – please let me know if you have any questions. Also if you wish, you can share an admin account to your server (my email is [email protected]), so I could log in and help you setting up the plugin.

  41. Hi,
    we are using your plugin in our eshop for a while now. These days we created a google merchant xml and we have some errors. The site is in greek and i have stated that in the settings.
    http://prntscr.com/nxuo3m

    What do you recommend?

    the code i am using is this one

    [alg_product_title]
    [alg_product_url]
    [alg_product_stock_availability]
    [alg_product_short_description]
    [alg_product_image_url]
    [alg_product_price hide_currency=”no”]
    new
    [alg_product_sku]

    1. Hi,

      Maybe I could log in to your site to check what’s going on? If sharing an account is not possible, then maybe you can send me the link or attach the resulting XML file? My email is [email protected].

  42. Hello,
    I am using Product XML Feeds For WooCommerce Pro. Why doesnt the plugin generate category names hiearchically? The parent category name is always the last… Any help would be appreciated. Thank you.

    1. So sorry to bother you. The problem has just been solved – mistake in product category order.

    2. Hi Radim,

      Happy to hear you’ve figured it out. Please let me know if you have any more questions.

    3. Hi again, Radim,

      I’ve just tested it on my server and now I’m not sure if I understood the issue in the first place. It seems that categories (e.g. with [alg_product_categories] shortcode) are always outputted sorted by name, from A to Z. So this is not what you actually need (i.e. not hierarchically)?

  43. Hello there,

    I have a question I can’t figure out about XML. I would be glad if you help me.

    I’m using the free version of your plugin. I want [alg_product_list_attributes] or [alg_product_available_variations] to look like this:

    Color – Quantity – Price – Photo
    White – 3 – 10.00 – website.com/photo1.jpg | Black – 4 – 10.00 – website.com/photo2.jpg

    Is there any way I can make a setting?

    1. Hi,

      Sorry for a late reply. Not sure if this will be good enough, but I would suggest separating variations into separate items. First you need to set “Variable products” option to “Variation products only” in “WooCommerce > Settings > Product XML Feeds > XML Feed #X > Products Filtering Options”. Then you can set “XML item” option to something like this:

      <item>
          <variation_data>[alg_product_list_attribute name="color"] - [alg_product_price] - [alg_product_image_url]</variation_data>
      </item>
      
  44. Hello

    Can this plugin or the pro version create the following XML scenario?

    We want the XML file to have every variation of the product as seperate product listing.

    For example.

    We have a variable product with

    SKU 111

    and has

    3 Variations

    Color Blue, Size 01, SKU 11101
    Color Blue, Size 02, SKU 11102
    Color Blue, Size 03, SKU 11103

    We want each variation to show in the xml as different product.

    Now the XML version shows only the parent product with the SKU 111 and the shortcode available_variations shows the available variations.

    But we want to treat every variation as different product in xml so that the XML file will have

    11101
    111

    [alg_product_title]
    [alg_product_formatted_name]
    [alg_product_url]
    [alg_product_type]
    [alg_product_price]

    Etc.

    Is this possible? In free or paid version.

    We want this badly.

    Thank you.

    1. VariationSku: 11101
      ParentSku: 111

      [alg_product_title]
      [alg_product_formatted_name]
      [alg_product_url]
      [alg_product_type]
      [alg_product_price]

    2. Hi Michael,

      Yes, that is possible. What you need is “Variable products” option in each feed’s settings (i.e. “WooCommerce > Settings > Product XML Feeds > XML Feed #X > Products Filtering Options”). By default it is set to “Variable product only” and for your task you should set it to “Variation products only” (or maybe to “Both variable and variations products” if you want both parent and child products listed).

      Hope that helps. Please let me know if you have any more questions.

    3. Something is wrong.

      I leave all the settings by default and enable only

      Variable products > Variation products only

      and from

      Categories to include > I select one category that has variable products

      but the feed is empty.

      If i choose a category with simple products the feed return results but this is not how is suppose to work right?

    4. Hi Michael,

      I’ve just rechecked and you are correct – the problem is that variations don’t really have a category (only their parent variable product has a category), so when filtering products by category, variations are skipped. Already fixing this. Will get back to you as soon as possible.

    5. Hi Michael,

      As promised, we’ve released new plugin version 1.4.4 today. After the update, you will find new “Query post type” option in each feed’s settings (in “WooCommerce > Settings > Product XML Feeds > XML Feed #X > Advanced Options”). Please set it to “Products only” – this should solve the issue with variations filtering by product’s category.

      The reason why we have added this as an option (and didn’t just make it the default behavior) is that in this case XML creation is a little bit slower (as we need to check every variation of a variable product manually). Anyway please try it out, the difference in time should be minimal.

      Please let me know if something is not working as expected. And if you like the plugin, please consider leaving us a rating.

    6. Yes thank you.

      Now it seems to work. I will try to produce the right xml config that we want to see if it’s possible with your plug-in.

      For the SKU the default one now is bringing the products variation SKU that we want alright but there is no shortcode to also bring the parent SKU.

      We want something like that

      alg_product_title alg_product_sku alg_product_sku_parent

      etc.

      Will we have to create a custom shortcode for that or it is in the codebase?

      Thank you again

    7. I mean something like that.

      [item]
      [alg_product_title] Product Name
      [alg_product_sku] Variation SKU
      [alg_product_sku_parent] Parent SKU
      [etc]
      [item]

      Thank you

    8. Hello.

      Sorry to bother you again.

      I’m still testing the new update.

      Like i said before now it works but the following shortcode

      [alg_product_stock_quantity]

      does not bring the stock quantity for each variation.

      I think this shortcode gets the parent stock quantity but now that we want to display each individual variations the stock quantity is not working with this shortcode.

      Thank you.

    9. Hi Michael,

      Sorry for a late reply.

      1. Parent SKU – that’s easy, you just need to add use_parent_id="yes" attribute to the shortcode, i.e.:

      [alg_product_sku] – variation’s SKU,
      [alg_product_sku use_parent_id="yes"] – parent’s (i.e. variable product’s) SKU.

      2. [alg_product_stock_quantity] – this one seems to be working fine on my test server, i.e. it brings variation’s stock, as it should. The only thing that I have noticed – if you haven’t set stock for variation, the shortcode will try to get the stock for the parent (in case if you have set it for the parent). And as with any other shortcode, you can also use use_parent_id="yes" attribute. Could you please recheck it once again. If it’s still not working as expected – maybe it’s possible for me to log in to your site’s admin to check it out? My private email is [email protected].

    10. Sorry i re checked it.

      You are right, we were having problem with the staging test environment and our stock.

      I will keep testing.

      Thank you.

    11. Sure, no problem. Please let me know if you have any more questions.

  45. Hi, I have some problems:

    I’m using this shortcode to add GTIN/EAN to feed:

    [alg_product_terms taxonomy=”_wpm_gtin_code”] but it doesn´t do nothing.

    I have checked that the GTIN was correctly added to product in inventory section at all.

    Also, would like to show “0” quantity if stock is “0 units” but it doesn´t show nothing.

    Could you help me please?

    1. Hi Gabriel,

      1. For GTIN please try using [alg_product_meta] shortcode, e.g.:

      [alg_product_meta name="_wpm_gtin_code"]

      2. To show zero instead of an empty string in any shortcode, please try adding on_empty attribute, e.g.:

      [alg_product_stock_quantity on_empty="0"]
  46. Hello Tom,
    I reply to that question fo “dynamic attributes”.
    Yes, I’d like to use them in your plugin too, but it seems not to working.

    What are dynamic attributes:
    I have two of them by WooCommerce products.
    The first one “Brand” was created from the “Perfect WooCommerce Brands” plugin. I use this plugin to define and assign Brands to my products.

    The second one was defined through standard WooCommerce menu Products/Attributes. When I create such new Attribute, other plugins show them as “dynamic attributes”.

    I tried to use both this “dynamic” attributes in product-xml-feeds plugin, but with no success.
    I used the alg_product_terms shortcode and the alg_product_meta shortcode, but they didn’t work.

    Thank you
    Radomir

    1. Hi Radomir,

      1. Brands – I’ve checked the “Perfect WooCommerce Brands” plugin and what you need is:

      [alg_product_terms taxonomy="pwb-brand"]

      2. Product attributes – if, for example, you have a product attribute with size slug, then what you need is:

      [alg_product_list_attribute name="size"]

      Hope that helps. Please let me know if something is not working as expected or if you have any questions. And if you like the plugin, please consider leaving us a rating.

    2. Thank you very much Tom!
      It both works (brands, product attributes)!
      I used propabbly improper shortcode or improper taxonomy name.

      Can I have another question?
      Is it possible (ist there some shortcode) to ommit whole XML tag or even whole XML block, when is some attribute empty?
      Then would this plugin be perfect!

      But I know – such a feature is not so easy to implement, because it should work together with all other shortcodes.

      Such a
      [omit_if_empty_start][some_test_shortcode]
      some xml text and other shortcodes here
      [omit_if_empty_end]

      or
      [omit_if_empty_start test_shortcode=”some_test_shortcode”]
      some xml text and other shortcodes here
      [omit_if_empty_end]

      Thank you, Radomir

    3. Hi Radomir,

      Happy to hear it’s working.

      Regarding omitting empty tags – actually this is already possible. What you need to do is to add before and after attributes to the shortcodes. These attributes are available in all plugin’s shortcodes. So instead of the standard:

      <brands>[alg_product_terms taxonomy="pwb-brand"]</brands>

      you need to add:

      [alg_product_terms taxonomy="pwb-brand" before="<brands>" after="</brands>"]

      This way the tag will be omitted in case if the resulting value is empty.

    4. Thank you Tom,
      this is little bit tricky to ommit whole xml tag with before and after – but perfect.
      May be, you can describe this usecase on yours plugin page for others too.
      I am really amazed, what I can do with your plugin!
      Radomir

    5. Happy to help 🙂

      As for description – I agree, we need to expand the documentation, will do that as soon as possible. There is short description of all common (i.e. global) shortcode attributes (including before and after) at the beginning of the Shortcodes section in description, but we definetely need to add more examples etc.

  47. Product price and sale price are always the same. Can you fix that?

    .50
    .50

    1. Hi,

      What you need is to use these two shortcodes:
      [alg_product_regular_price]
      [alg_product_sale_price]

      The [alg_product_price] shortcode, which you were probably using, displays product’s “active” price (i.e. sale price for products on sale, and regular price for other products).

  48. Hi,
    do You have or could make possibility to select product import by price limit, lets say, all products >30?
    Thanks Janis

    1. Hi Janis,

      Not possible at the moment, but seems quite easy to add. Will be adding it in next version. Will get back to you as soon as possible.

      P.S. By “… product import…” you mean adding products to the XML feed, correct?

    2. Hi Janis,

      As promised, we’ve just released new plugin version 1.4.2. There I’ve added new “Min price” and “Max price” options to each feed’s settings section. Unfortunately these options are available in Pro version only.

      Please let me know if something is not working as expected.

      P.S. If you like the plugin, please consider leaving us a rating.

  49. Hi,

    In my feed I would like to include Single and Variation products – without showing the Variable parents.
    When I select “Variation products only”, the Single products are excluded.
    When I select “Both variable and variations products” everything is included, but I do not need the Variable parents.
    When I select “Variable product only”, the Variations are missing.
    It seems that there is no setting to display Single products and Variation products.
    🙁
    Can you please help me solve this problem?
    Thank you very much indeed.
    Best regards,
    Endre

    1. Hi,

      I’ve just checked and you are correct – this is a bug. “Variation products only” option should do exactly what you’ve described, i.e. add variations as well as simple products to the feed and it incorrectly adds variations only. Already fixing this – new version will be released today.

      P.S. Thanks for pointing that out.

    2. Hi again,

      As promised, we’ve just released new version 1.4.1. Now “Variation products only” option should be fixed. Please let me know if there are still any issues.

      P.S. If you like the plugin, please consider leaving us a rating.

    3. Hi Tom,

      It seems now when I select “Variation products only” the single products are in the feed but the variations are missing.

      🙁

    4. I have double checked on another site and it seems to be OK.
      However, on the first site the variation products are still missing – even if I select to show both variable and variation products. In this case only the parents and the simple products are in the xml.
      I do not know what is wrong here, but I am tried now, I will let it have some rest for the weekend.
      Kind regards,
      Endre

    5. Hi Endre,

      Thanks for the feedback.

      I’ve just re-checked on my test server and it seems to be working fine here. Could you please make sure that latest plugin version is installed on both your sites. Also please make sure that you click “Save changes” after you change “Variable products” option’s value (i.e. before clicking “Create now” button).

      P.S. We’ve just released new plugin version 1.4.2. Not sure if this will make any difference, but there I’ve re-wrote some parts of the code related to “Variable products” option, so I would suggest trying with this new version.

  50. How do I add the stock for variable products.
    Ex: Size 10: stock 2

    1. Hi,

      If you select either “Both variable and variations products” or “Variation products only” value for the Variable products option in your feed settings, then quantity for each variation can be retrieved with standard [alg_product_stock_quantity] shortcode (otherwise it will retrieve quantity at variable product level), i.e.:

      <stock_quantity>[alg_product_stock_quantity]</stock_quantity>

      Hope that helps and please let me know if that is not what you need.

  51. Hi there, is there a way to have the category path of the product displayed? EX: Technology->communications->mobile phones.
    Changing the seperator of categories from ‘,’ to ‘->’ doesnt do the trick because products might be in more categories than one.
    Thanks in advanced

  52. I activated a google feed, but the result was xml error. I don’t understand anything of how attributes or this plugin works. Is there any documentation? Please help, because as it is i would like my money back (as it says on the site is possible). Thanks in advance.

  53. oh wait i think it already does this automatically?

  54. I just bought your lifetime key. I would like to know how to have the feed display the regular price WITH VAT
    and how to add shipping costs based on shipping classes ‘heavy’ and ‘lightweight’. But I don’t know how to. I’m a beginner at this. Can you explain at beginner level? Any type of video would have been great. Thanks in advance.

  55. Hello,
    I’ve purchased the PRO version, but I have problem with the description field, it generates server error. The code I’m using is as it follows:

    [alg_product_title]
    [alg_product_sku]
    [alg_product_price]
    <![CDATA[ [alg_product_description] ]]>
    [alg_product_image_url]
    [alg_product_gallery_image_url image_nr=”1″]
    [alg_product_gallery_image_url image_nr=”1″]
    [alg_product_gallery_image_url image_nr=”1″]
    [alg_product_list_attribute name=”Размер”]

    Any sugestion, how to fix it?

    Best regards

  56. Hello!

    I need to make a feed, where it has specific fields, all shortcodes meet me, minus 1. I need to insert the whole description of the product and not just the short description. How can I do it? Is there any specific shortcode for this?

    thankful

    Valdemir

    1. Hi Valdemir,

      Thanks for the idea. We’ve just released new plugin version 1.4.0. After update you can use new [alg_product_description] shortcode in your feed, e.g.:

      <description>[alg_product_description]</description>

      Also in v1.4.0 we’ve added more general [alg_product_function] shrotcode – you can get the description with this shortcode as well, e.g.:

      <description>[alg_product_function function="get_description"]</description>

      Hope that helps. Please let me know if something is not working correctly.

      P.S. If you like the plugin, please leave us a rating.

    2. Hello Tom Anbinder!

      I used the short description [alg_product_description] and also tried the shortcode [alg_product_function function = “get_description”] , and continue with the error.

      I already upgraded to version v1.4.0. You are loading the feed, but with error. Can you help me?

      The error that is showing the time that loads the feed is described below:

      This page contains the following errors:
      error on line 3167 at column 31: StartTag: invalid element name
      Below is a rendering of the page up to the first error.

    3. Hi Valdemir,

      Maybe you could give me the link to your generated XML file, or send it to me directly to [email protected]?

    4. In case if anyone else has similar issue – as we’ve figured out in private conversation – the problem was that inside a product description there were “less than” signs (e.g.: <20dBm...), which are incorrectly parsed as XML tags. Wrapping the shortcode in CDATA seems to solve the problem, i.e.:

      <description>&lt;![CDATA[ [alg_product_description] ]]></description>
  57. Hi,

    Is it possible to get additional images to xml feed?

    1. Hi,

      Unfortunately not possible at the moment, but please give me a couple of days to implement it. Will get back to you asap.

    2. Hi Nikolaos,

      As promised we’ve just released new plugin version 1.4.0. After update you can use new [alg_product_gallery_image_url] shortcode in your feed, e.g.:

      <image_1>[alg_product_gallery_image_url image_nr="1"]</image_1>
      <image_2>[alg_product_gallery_image_url image_nr="2"]</image_2>
      <image_3>[alg_product_gallery_image_url image_nr="3"]</image_3>
      

      and so on…

      In case if there is no image available, empty string will be outputted.

      Hope that helps. Please let me know if something is not working correctly.

      P.S. If you like the plugin, please leave us a rating.

  58. Want to but the full version but in the free one the plugin keeps timing out when processing the xml. The xml is empty. How can I resolve this issue? Over 3000 products.

    1. Also, I think it would be great if you could add an option to exclude SOLD out products.

    2. Hi,

      We’ve just released new plugin version 1.4.0:

      1. Regarding time limit – please try settings new “PHP time limit” option in “WooCommerce > Settings > Product XML Feeds > General > Advanced Options” to some larger number, e.g. 600 seconds.

      2. Regarding excluding “Sold Out” products – please go to “WooCommerce > Settings > Product XML Feeds > XML Feed #X” and there at the bottom of the page there is new “Stock status” option. You should set it to “In stock”.

      Hope that helps. Please let me know if something is not working as expected.

      P.S. If you like the plugin, please leave us a rating.

    3. AWESOME!!! Thanks! got it working.

    4. Hi,

      Happy to hear it helped!

      Please let me know if you need anything else.

  59. Hi,

    Can I add [alg_product_id] shortcode into element id

    Thanks.

    1. Hi Aidas,

      Sorry for a late reply. Yes, you can. To do that, you need to replace quotes " with HTML symbol code &quot; (as in WordPress shortcodes are not allowed in HTML attributes), so:

      <item id=&quot;[alg_product_id]&quot;>

      And it will produce “normal” quotes in resulting XML, e.g.:

      <item id="123">

      Hope that helps.

    2. Why isn’t this working with a custom attribute name?

  60. I installed the program but the products are not running.If you can release the products I will get the paid version.Can you help me publish the products?

    https://i.hizliresim.com/8zpAyr.png

    https://i.hizliresim.com/g6mEQL.png

    1. Hi,

      Not sure I understood you correctly. You mean that XML feeds are not being created? If that’s correct – maybe can create/share an admin account to your server (WP and preferably FTP), so I could login and check what’s going on (my email is [email protected])?

      P.S. And screenshots you posted are not accessible.

  61. How to list custom field from product in variation products only mode?

    For example: i add custom field named: warranty with one value for each product and i want to show same result for each variant of this product in XML.

    1. Same problem with [alg_product_excerpt]. How to show it on each variation ?

    2. Hi Tomek,

      I’ve just replied to you by email, but in case if anyone else has similar task – I’ve just added new use_parent_id attribute in our development version. It can be used in all “products” shortcodes. Attribute is set to no by default, but if you will set it to yes it should solve your task, e.g.:

      [alg_product_meta name="total_sales" use_parent_id="yes"]

      Hope that helps.

      Best regards,
      Tom

    3. This made my day sunnier:
      use_parent_id=”yes” can be used in all “products” shortcodes.
      Attribute is set to no by default, but if you will set it to yes it should solve your task.

    4. Happy to help 🙂

  62. Hello Can i Use CDATA ? Because i get &amp insted & ?

    1. Hi,

      Please try replacing it with HTML codes, e.g.:

      [alg_product_title before="&#60;!&#91;CDATA&#91;" after="&#93;&#93;>"]

      This should produce something like:

      <![CDATA[Some Product Title]]>
  63. Hello i have a Pro version..
    Block Size for Products Query: 2048.
    Update period: Update hourly..

    But .xml file doesnt updates automatic.. everything work when i press “create now”. can some one help me with that?

    1. Hi,

      Could you please check if crons are enabled on your site? Please go to “WooCommerce > Status” from your admin dashboard and there check the “WordPress cron” option.

      If crons are enabled and automatic XML updates still not working – maybe I could login to your server and check what’s going on? My email is [email protected]

      Best regards,
      Tom

  64. Hi,

    Is it possible to get additional images to xml feed?

    1. Hi,

      In case if anyone else has similar question – [alg_product_gallery_image_url] shortcode was added in plugin version 1.4.0, e.g.:

      <image_1>[alg_product_gallery_image_url image_nr="1"]</image_1>
      <image_2>[alg_product_gallery_image_url image_nr="2"]</image_2>
      <image_3>[alg_product_gallery_image_url image_nr="3"]</image_3>
      

      Hope that helps.

  65. Hi! how can i add brand to my xml feed?

    ex:

    [alg_product_title]
    [alg_product_price]
    ?????

    Thanks!

  66. Hello again,

    On top of my previous comment I would like to ask you
    Currently variation name is
    if it would be possible to add a shortcode for variation product titles to be like “Parent product name – variation attributes (separated by space)”

    thank you

  67. Hello,

    First of all thank you for this plugin,
    I would like to make an enhancement request.
    Currently there is choice to include “variation” or “variable” products or both.
    “Variable only” option will include “Simple” and “Variable” products together.
    Could you please make it possible to be able to differentiate between those two as well ?
    ending up being possible to choose any or all between “Simple”, “Variable” (which is basically the variation parent product) and “Variation” ?

    thank you

  68. I along with my colleague have created a custom taxonomy called Brands (with slug called ‘brand’) and have associated it to Woocommerce Products. Can the Product XML Feeds for WooCommerce plugin display Brands in the xml from the (Brands) custom taxonomy? If yes, then how?

    1. Hi,

      As replied in private email: since plugin v1.2.2, you can now get any custom taxonomy for the products with [alg_product_terms] shortcode, e.g.:

      [alg_product_terms taxonomy="brand"]

      In case if there will be more than one brand, you can use sep attribute to set how brands should be “glued”, e.g.:

      [alg_product_terms taxonomy="brand" sep=", "]

      Hope that helps.

      Best regards,
      Tom

  69. Hello,
    My xml makes the product image 180×180 size. I want to use the default image size.
    Thanks

    1. Hi,

      Sorry not replying earlier. If you are referring to the [alg_product_image_url] shortcode – it’s using standard WordPress get_the_post_thumbnail_url() function to get image URL, and shortcode has image_size attribute (it’s set to post-thumbnail by default), so please try one of these:

      [alg_product_image_url image_size="medium"]
      [alg_product_image_url image_size="large"]
      [alg_product_image_url image_size="full"]
      [alg_product_image_url image_size="thumbnail"]

      Hope that helps.

      Best regards,
      Tom

  70. Hi there, is there a possibility to get single attributes???

    [alg_product_list_attributes] is working fine and lists all attributes next to eachother.

    But [alg_product_list_attribute] gives no feedback, no values,… Did I miss something??? Is there a possibility to list only a certain attribute?

    Thanks

    PS: otherwise its working great so far!

    1. Some blind testing and I found a solution:

      [alg_product_list_attribute name=”pa_vintage”]

      So you need to put the attribute’s name in there… Problem solved!

    2. if we want to add dynamic attributes ?

    3. Hi,

      Not really sure I understood “dynamic” attributes correctly. Maybe you could give me some example?

    4. I am having the same issue.

      But it doesnt work even when I use the attribute´s name.

      [alg_product_list_attribute name=”pa_resolucao-tela”]
      [alg_product_list_attribute name=”pa_fabricante-marca”]

      Am I missing something?

    5. Hi Daniel,

      I will have to recheck this, but could you please try removing the pa_ prefix, i.e.:

      [alg_product_list_attribute name="resolucao-tela"]
  71. Hello,

    Why my xml makes the product image only 180×180 size?

    1. Hi,

      Sorry not replying earlier. If you are referring to the [alg_product_image_url] shortcode – it’s using standard WordPress get_the_post_thumbnail_url() function to get image URL, and shortcode has image_size attribute (it’s set to post-thumbnail by default), so please try one of these:

      [alg_product_image_url image_size="medium"]
      [alg_product_image_url image_size="large"]
      [alg_product_image_url image_size="full"]
      [alg_product_image_url image_size="thumbnail"]

      Hope that helps.

      Best regards,
      Tom

  72. Hello!
    We have yith brand plugin, how can we add it to our product feed?

    1. tax:yith_product_brand

      That is how it calls in csv exported products

    2. Hi,

      Sorry for not replying earlier. Since plugin v1.2.2, you can now get any custom taxonomy for the products with [alg_product_terms] shortcode, e.g.:

      [alg_product_terms taxonomy="yith_product_brand"]

      In case if there will be more than one brand, you can use sep attribute to set how brands should be “glued”, e.g.:

      [alg_product_terms taxonomy="yith_product_brand" sep=", "]

      Hope that helps.

      Best regards,
      Tom

  73. hello,
    i am interested in buying you plugin, i have the simple version already configured on my site, but i would need to update my products.xml file after every minute,so i have to buy the paid plugin, i just have one query, my client requests that i need to specify some additional parameters other than what the plugin gives by default which are “brand, mpn or gtin, google_ product_ category” now i looked over the shortcode list of your plugin and these attributes are not defined in there my question is can i somehow add the above mentioned attributes to the plugin? and please i am in a hurry the client is really catchy i need to get this done asap, waiting for your reply!
    regards,
    Uneeb

  74. When i click on create new feed i get error 500, why?

    1. Hi,

      Sorry for not replying earlier. We’ve just released new v1.2.2, where we’ve added new “Block Size for Products Query” option to plugin settings (it’s in “WooCommerce > Settings > Product XML Feeds > General”). Could you please try setting it to larger number, e.g. 2048.

      Best regards,
      Tom

  75. Hello.
    I have the pro version and would like to make a small enhancement request.
    instead of XML Feed #1 | XML Feed #2 ….. it would be great if I could give a different name.
    thanks

    1. Hi,

      In case anyone else has similar question – in plugin version 1.4.0 we’ve added “Admin title” option to “WooCommerce > Settings > Product XML Feeds > XML Feed #X”.

      Hope that helps.

  76. Hello, i have the pro version and i have a problem with [alg_product_image_url]
    It takes the smallest image or thumbnail and not the default image.
    I need your help to fix this issue immediately cause the site is live.
    Thanks in advance

    1. Hi,

      Sorry not replying earlier. Shortcode is using standard WordPress get_the_post_thumbnail_url() function to get image URL, and shortcode has image_size attribute (it’s set to post-thumbnail by default), so please try one of these:

      [alg_product_image_url image_size="medium"]
      [alg_product_image_url image_size="large"]
      [alg_product_image_url image_size="full"]
      [alg_product_image_url image_size="thumbnail"]

      Hope that helps.

      Best regards,
      Tom

  77. …and also category path

  78. Hello i want to buy your plugin but i have a question,
    i insert MPN in a field created by a plugin named “Cart Product Feed Additional Product Fields”
    Is it possible to show the MPN in the feed with your plugin

    1. Hi,

      I’m not really sure what is MPN, but there is a universal [alg_product_meta] shortcode, that can get any data saved in product, e.g.:

      [alg_product_meta name="_some_meta_id"]

      You should change _some_meta_id to meta name that “Cart Product Feed Additional Product Fields” plugin creates.

      Hope I made it little more clear, and please let me know if you have any more questions.

      Best regards,
      Tom

    2. this solution is working great and i just bought the plugin.
      1 more question, I need to show the category id as well…
      Is it possible?

    1. Hi Firuz,

      Will check that first thing tomorrow morning.

      Best regards,
      Tom

    2. Hi again,

      I’ve just tested on my server and I’m not sure I can reproduce the issue. I’ve tried some different configurations, and basically the result of [alg_product_stock_availability] shortcode depends on what you set in product’s edit page “Inventory” tab. “Out of stock” is shown always as it should be, and “In stock” depends on “Enable stock management at product level” and “Stock quantity” options. As far as I figured out – depending on those settings sometimes shortcode outputs empty string if product is in stock (but for example no “Stock quantity” is set). So as a solution, I’m thinking about adding on_empty attribute to the shortcode, so you could use it something like:

      [alg_product_stock_availability on_empty="In stock"]

      Please let me know what you think.

      Best regards,
      Tom

    3. Here settings “Invertory” page.
      http://prntscr.com/g23ryn
      And:
      http://prntscr.com/g23sdw
      http://prntscr.com/g23sjs
      Please help me, i can give you admin page access, if you have a free time.
      Sorry for my bad english. Thank you for answer. Best support.

    4. I meant “Inventory” tab on each product’s edit page.

      I’ve just sent you an email.

      Best regards,
      Tom

    5. Hi,

      As suggested on_empty attribute was added to all shortcodes in plugin v1.2.1.

      Best regards,
      Tom

  79. Hello, please help me to resolve this problem:

    [alg_product_stock_quantity] – this shortcode don’t work.

    Please help me!
    Thank you, Great plugin!

    1. Olá!

      Preciso fazer um feed, onde tem campos específicos, todos os shortcodes me atendem, menos 1. Preciso inserir a descrição toda do produto e não apenas a descrição curta. Como posso fazer? Existe algum shortcode específico para isso?

      Grato

      Valdemir

Leave a Reply

Your email address will not be published. Required fields are marked *

Changelog

1.9.6 - 15/11/2020

  • Bug fix for fatal error that appears in some stores
  • Tested compatibility with WC 4.7

1.9.5 - 22/09/2020

  • Created a new option to export a .txt version for the output file
  • Variations product will now read the parent long and short description by default

1.9.4 - 18/09/2020

  • Added an option to remove plugin branding (XML footer) in Pro version

1.9.3 - 13/09/2020

  • Added optional attributes to read from arrays
  • [alg_product_sale_price] & [alg_product_regular_price] now show price ranges for variations of variable product
  • Added a link to plugin homepage in XML footer
  • Tested compatibility with WC 4.5

1.9.2 - 26/08/2020

  • Bug fix: Plugin was showing instead of in shortcodes.
  • Verified compatibility with WC 4.4 & WP 5.5

1.9.1 - 28/04/2020

  • Fixed a bug that showed all attributes slugs in cases where it should show empty (no attributes value)

1.9 - 24/04/2020

  • Feature: new shortcode added: [alg_product_categories_ids] to retrieve product category ids

1.8.2 - 15/04/2020

  • Feature: Two new shortcodes added to show attribute slug & att. values slugs
  • Tested compatibility with WC 4 & WP 5.4

1.8.1 - 01/03/2020

  • Dev: Fixed a bug that showed variations twice in specific scenarios

1.8 - 08/02/2020

  • Dev: Fixed filtering options bug for variation & variable products
  • Overall code enhancement

1.7.6 - 29/01/2020

  • Dev: Changed site_url to home_url in XML file path

1.7.4 - 02/01/2020

  • Text updates over the plugin pages.
  • Copyrights Update
  • Added a section to review the plugin

1.7.3 - 20/11/2019

  • Plugin author changed.

1.7.3 - 20/11/2019

  • Plugin author changed.

1.7.2 - 17/11/2019

  • Dev - General - Advanced Options - '"Raw" input' option added.
  • Tested up to: 5.3.

1.7.1 - 10/11/2019

  • Fix - "Total XML files (feeds)" option fixed.

1.7.0 - 10/11/2019

  • Dev - Feeds - Products Filtering Options - "Offset products" and "Total products" options added.
  • Dev - Feeds - General Options - "Sorting" options added.
  • Dev - Feeds - Admin settings descriptions updated.
  • Dev - Code refactoring.
  • WC tested up to: 3.8.

1.6.0 - 01/11/2019

  • Dev - Advanced Options - PHP time limit - Now applied to each block size in query loop. Default and min values are set to -1 now.
  • Dev - Code refactoring.
  • WC tested up to: 3.7.

1.5.4 - 22/07/2019

  • Dev - Shortcodes - [alg_product_terms] - orderby - hierarchy value added.
  • Dev - Shortcodes - [alg_product_terms] - orderby - term_id value added.
  • Dev - Shortcodes - [alg_product_terms] - Code refactoring.

1.5.3 - 20/07/2019

  • Dev - Shortcodes - [alg_product_terms] - orderby attribute (and parent_id value) added.
  • Dev - Feeds - Admin settings restyled ("Extra Products Filtering Options" section added).

1.5.2 - 19/07/2019

  • Dev - Shortcodes - strip_shortcodes - yes-force - Pattern updated in preg_replace().

1.5.1 - 18/07/2019

  • Dev - Feeds - Template Options - Default values for "XML header" and "XML item" updated.
  • Dev - Feeds - Products Filtering Options - "Attribute to include" options added.
  • Dev - Shortcodes - cdata attribute added to all shortcodes (defaults to no).
  • Dev - Shortcodes - strip_shortcodes attribute added to all shortcodes (defaults to no) (other possible values: yes and yes-force).
  • Dev - Shortcodes - [alg_product_variation_meta] shortcode added.
  • Dev - Shortcodes - [alg_product_variation_data] shortcode added.

1.5.0 - 17/06/2019

  • Dev - Shortcodes - on_empty_apply_shortcodes attribute added to all shortcodes (defaults to no).
  • Dev - Shortcodes - variable_price_type attribute (defaults to range) added to alg_product_price, alg_product_price_excluding_tax and alg_product_price_including_tax shortcodes.

1.4.9 - 07/06/2019

  • Fix - Feeds - Products Filtering Options - Stock status - Fixed for variations which have "Manage stock?" option enabled.
  • Dev - Shortcodes - [alg_product_terms] - Optional parent attribute added.
  • Dev - Shortcodes - [alg_product_terms] - Code refactoring.

1.4.8 - 20/05/2019

  • Fix - Shortcodes - [alg_product_stock_quantity] - Returning empty string instead of boolean false (fixes the issue with on_empty attribute).

1.4.7 - 15/05/2019

  • Fix - Feeds - Template Options - Default templates are now correctly retrieved even if "Save changes" button was never clicked.
  • Dev - Feeds - Template Options - XML item - Default template changed (CDATA added; less shortcodes included).
  • Dev - Feeds - Advanced Options - "Query post type" option removed (now always set to "Products only"). This fixes the issue with "Products and variations" option and some "Products Filtering" section options.
  • Dev - Shortcodes - custom_function global attribute added.
  • Dev - Shortcodes - strip_tags global attribute added (defaults to yes).

1.4.6 - 09/05/2019

  • Fix - Advanced Options - Set correct min values in settings.
  • Dev - Feeds - Products Filtering Options - "Custom taxonomy to include" options added.
  • Dev - Advanced Options - "PHP memory limit" option added.
  • Dev - Tested up to: 5.2.

1.4.5 - 26/04/2019

  • Dev - Shortcodes - General - [alg_format_date] shortcode added.
  • Dev - Shortcodes - General - [alg_format_number] shortcode added.
  • Dev - Shortcodes - General - [alg_to_timestamp] shortcode added.
  • Dev - Settings - IDs added to product lists (in "Products Filtering Options > Products to include / exclude").
  • Dev - "WC tested up to" updated.

1.4.4 - 05/04/2019

  • Dev - Advanced - "Query post type" option added.

1.4.3 - 27/03/2019

  • Dev - Shortcodes - convert_currency_from, convert_currency_to and convert_currency_precision global shortcode attributes added.
  • Dev - Shortcodes - find_replace_sep global shortcode attribute added. Now find and replace global shortcode attributes can find and replace multiple values.
  • Dev - Shortcodes - [alg_product_available_variations] - sep, sep2 and sep3 attributes added.
  • Dev - Feeds - Products Filtering Options - "Catalog visibility" option added.
  • Dev - Feeds - General Options - "WPML language" option added.

1.4.2 - 28/01/2019

  • Dev - Variable products - "Variation products only" code rewritten (get_the_ID() added etc.).
  • Dev - Feeds - Product "Min price" and "Max price" options added.
  • Dev - Code refactoring.
  • Dev - Admin settings restyled (subsections added).

1.4.1 - 24/01/2019

  • Fix - Variable products - "Variation products only" option fixed.
  • Dev - Shortcodes - [alg_product_name] shortcode added.

1.4.0 - 26/11/2018

  • Dev - Shortcodes - [alg_product_description] shortcode added.
  • Dev - Shortcodes - [alg_product_gallery_image_url] shortcode added.
  • Dev - Shortcodes - [alg_product_function] shortcode added.
  • Dev - Feeds - Product "Stock status" options added.
  • Dev - Feeds - "Admin title" option added (to set custom feed title (instead of "XML Feed #X")).
  • Dev - General - "PHP time limit" option added.
  • Dev - General - Block size for products query default value changed to 512.
  • Dev - Admin settings descriptions updated.
  • Dev - Minor code refactoring.

1.3.1 - 18/10/2018

  • Fix - Shortcodes - [alg_product_time_since_last_sale] - days_to_cover attribute fixed.
  • Dev - Shortcodes - [alg_product_time_since_last_sale] - Code refactoring.

1.3.0 - 10/10/2018

  • Fix - "Total XML files (feeds)" option fixed (new feeds settings are displayed at once now).
  • Dev - use_parent_id attribute added to all "products" shortcodes.
  • Dev - "Reset section settings" options added.
  • Dev - Code refactoring.
  • Dev - Admin settings restyled and descriptions updated.
  • Dev - Plugin URI updated.

1.2.2 - 23/03/2018

  • Dev - [alg_product_terms] shortcode added.
  • Dev - General - Advanced - "Block Size for Products Query" option added.
  • Dev - includes/shortcodes folder added.
  • Dev - "WC tested up to" added to plugin header.

1.2.1 - 31/07/2017

  • Dev - on_empty attribute added to all shortcodes.

1.2.0 - 27/07/2017

  • Dev - WooCommerce v3 compatibility - Getting product ID and short description with functions (instead of accessing properties directly).
  • Dev - WooCommerce v3 compatibility - get_price_including_tax() and get_price_excluding_tax() replaced with wc_get_price_including_tax() and wc_get_price_excluding_tax().
  • Dev - WooCommerce v3 compatibility - get_tags() and get_categories() replaced with wc_get_product_tag_list() and wc_get_product_category_list().
  • Dev - WooCommerce v3 compatibility - list_attributes() replaced with wc_display_product_attributes().
  • Dev - WooCommerce v3 compatibility - $_product->get_dimensions( true ) replaced with wc_format_dimensions( $_product->get_dimensions( false ) ).
  • Fix - [alg_product_available_variations] - "Glued" attributes bug fixed etc.
  • Dev - [alg_product_id] shortcode added.
  • Dev - [alg_product_time_since_last_sale] - Code refactoring.
  • Dev - Link updated from http://coder.fm to https://wpcodefactory.com.
  • Dev - Plugin header ("Text Domain" etc.) updated.
  • Dev - Code cleanup and minor fixes.
  • Dev - POT file added.

1.1.1 - 15/01/2017

  • Fix - "If plugin is enabled" check fixed.

1.1.0 - 12/01/2017

  • Fix - "Variable Products" option description and attributes fixed.
  • Dev - Settings for each feed moved to separate section.
  • Dev - [alg_current_datetime] shortcode added.
  • Dev - Link to all available shortcodes added.

1.0.0 - 10/01/2017

  • Initial Release.

Frequently Asked Questions

Q. How to include custom fields in the feed?

A. What you need is [alg_product_meta] shortcode, e.g.:

<my_custom_field>[alg_product_meta name="my_custom_field"]</my_custom_field>

Q. How do I find and replace multiple values in shortcode's output?

A. You need to use find_replace_sep global attribute in a shortcode. E.g.: in the example below find1 will be replaced with replace1 and find2 will be replaced with replace2:

<product_short_description>[alg_product_short_description find_replace_sep="," find="find1,find2" replace="replace1,replace2"]</product_short_description>

Q. By default all HTML tags are removed from the product's description in XML feed. How can I change that?

A. You need to set strip_tags attribute to no and cdata attribute to yes:

<description>[alg_product_description strip_tags="no" cdata="yes"]</description>

Free vs Pro

This plugin is a premium version of free "Product XML Feeds for WooCommerce" plugin.

Free VersionPro Version
Template optionsyesyes
Advanced optionsyesyes
Admin title, file path and nameyesyes
WPML compatibilityyesyes
Filtering by productsyesyes
Filtering by categoriesyesyes
Filtering by tagsyesyes
Filtering by variable productsyesyes
Filtering by products scopeyesyes
Filtering by stock statusnoyes
Filtering by min/max pricenoyes
Filtering by catalog visibilitynoyes
Filtering by custom taxonomynoyes
Filtering by attributenoyes
Maximum number of feeds1Unlimited
Update periodWeekly onlyEvery minute
Hourly
Twice daily
Daily
Weekly

Developers

If you need some specific product property to be outputted in XML feed and it's not covered by one of plugin's shortcodes, you can add your own custom shortcodes to be used in plugin's XML templates. For example, if you need to output product's shipping price for "Flat rate" method, based on product's shipping class, you could add something like this to your (child) theme's functions.php file:

add_shortcode( 'my_alg_product_shipping_cost_flat_rate', 'my_alg_product_shipping_cost_flat_rate' );
if ( ! function_exists( 'my_alg_product_shipping_cost_flat_rate' ) ) {
    /*
     * my_alg_product_shipping_cost_flat_rate.
     */
    function my_alg_product_shipping_cost_flat_rate( $atts, $content = '' ) {
        if ( isset( $atts['shipping_instance_id'] ) ) {
            global $product;
            if ( $product ) {
                $shipping_class       = $product->get_shipping_class();
                $shipping_class_term  = get_term_by( 'slug', $shipping_class, 'product_shipping_class' );
                $shipping_method      = new WC_Shipping_Flat_Rate( $atts['shipping_instance_id'] );
                $shipping_class_cost  = $shipping_class_term && $shipping_class_term->term_id ?
                    $shipping_method->get_option( 'class_cost_' . $shipping_class_term->term_id, $shipping_method->get_option( 'class_cost_' . $shipping_class, '' ) ) :
                    $shipping_method->get_option( 'no_class_cost', '' );
                return $shipping_class_cost;
            }
        }
        return '';
    }
}

And then use [my_alg_product_shipping_cost_flat_rate] shortcode in plugin's settings (i.e. in "XML item" template):

<shipping_price_flat_rate_zone_X>[my_alg_product_shipping_cost_flat_rate shipping_instance_id="28"]</shipping_price_flat_rate_zone_X>

Installation and Updates

  • Buy the plugin 🙂
  • Download plugin's zip to your computer (you will receive an email with download link, or you can always download the plugin from your account).
  • Go to "Admin Dashboard > Plugins > Add New > Upload Plugin" and browse for downloaded zip file.
  • If plugin is successfully installed - you should see it added to the Plugins list.
  • To keep WPFactory items up to date, please install WPFactory Helper plugin and enter your site key.

Refunds

We want to ensure that you are 100% happy with your purchase, so if you feel the product(s) you purchased are not the best fit for your requirements and you attempted to resolve issues with product's author, we are offering 30 day money back guarantee refund policy.