Sale!

Product XML Feeds for WooCommerce

Rated 5.00 out of 5 based on 1 customer rating
(1 customer review)

Automatic product XML feeds for WooCommerce.

Clear
Author: Tom Anbinder SKU: N/A Category: Tags: , Version: 1.4.0; Last updated: 3 weeks ago; Requires WordPress version: 4.4; Tested up to: 4.9

Description

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

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. 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.

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



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

Please note that when you are using a shortcode in CDATA, you need to replace first “less than sign” with its code, i.e.: <![CDATA to &lt;![CDATA.

		<item>
			<g:id>[alg_product_sku]</g:id>
			<title>&lt;![CDATA[ [alg_product_title] ]] ]]></title>
			<description>&lt;![CDATA[ [alg_product_short_description] ]]></description>
			<g:google_product_category>&lt;![CDATA[ [alg_product_categories] ]]></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>
Shortcodes are not allowed in HTML attributes in WordPress, so in case if you need to use the shortcodes in e.g. element’s ID, you need to replace quotes " with HTML symbol code &quot;, e.g.:

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

This will output “normal” quotes in resulting XML, e.g.:

<item id="123456">

Shortcodes

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. Default value: None.
after – Will be added at the end of final result. 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.
on_empty – Will be outputted instead of empty string, in case if final shortcode’s result is empty. 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.

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.

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.

Example
<shipping_class>[alg_product_shipping_class]</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_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.

Example
<product_attribute_size>[alg_product_list_attribute name="size"]</product_attribute_size>

[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.

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.

Example
<price_excluding_tax>[alg_product_price_excluding_tax]</price_excluding_tax>

[alg_product_available_variations]

Displays product’s available variations.

Example
<available_variations>[alg_product_available_variations]</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: , .

Example
<brands>[alg_product_terms taxonomy="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.

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

Options

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

General Options

Product XML Feeds - 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 time limit
Sets the number of seconds feed file creation script is allowed to run. Ignored if set to zero. Check set_time_limit() function documentation for more info. There is a number of other solutions for increasing PHP time limit.
Default: 0

XML Feed #X Options

Product XML Feeds - Feed Options

Enabled
Enables/disables the current feed.
Default: yes
Admin title
Sets admin title for the current feed.
Default: XML Feed #X
XML header
Sets XML header template.
Default: None
XML item
Sets each XML item template.
Default: None
XML footer
Sets XML footer template.
Default: None
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
Variable products
Possible values: Variable product only; Variation products only; Both variable and variations products.
Default: Variable product only
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
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
Stock status
Possible values (multiselect): In stock, Out of stock, On backorder. Leave blank to include all products.
Default: None

Prices & Licenses

Single siteUnlimited sites
1 year$19.99 $9.99$49.99 $19.99
Lifetime$49.99 $21.99$99.99 $32.99

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.

1 review for Product XML Feeds for WooCommerce

  1. Rated 5 out of 5

    Alex

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

    • Tom Anbinder

      Hi,

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

Add a review

63 thoughts on "Product XML Feeds for WooCommerce"

  1. firuz July 29, 2017 at 6:42 pm #

    Hello, please help me to resolve this problem:

    [alg_product_stock_quantity] – this shortcode don’t work.

    Please help me!
    Thank you, Great plugin!

    Reply

    • Valdemir November 23, 2018 at 4:25 pm #

      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

      Reply

  2. firuz July 29, 2017 at 6:46 pm #

    Screenshots:
    https://prnt.sc/g1vu3i
    https://prnt.sc/g1vv33

    Reply

    • Algoritmika Ltd. July 29, 2017 at 7:31 pm #

      Hi Firuz,

      Will check that first thing tomorrow morning.

      Best regards,
      Tom

      Reply

    • Algoritmika Ltd. July 30, 2017 at 10:50 am #

      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

      Reply

      • firuz July 30, 2017 at 12:04 pm #

        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.

        Reply

        • Algoritmika Ltd. July 30, 2017 at 3:13 pm #

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

          I’ve just sent you an email.

          Best regards,
          Tom

          Reply

        • Algoritmika Ltd. July 31, 2017 at 7:39 pm #

          Hi,

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

          Best regards,
          Tom

          Reply

  3. Aris August 7, 2017 at 10:31 am #

    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

    Reply

    • Algoritmika Ltd. August 7, 2017 at 1:28 pm #

      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

      Reply

      • aris August 8, 2017 at 1:44 pm #

        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?

        Reply

  4. aris August 8, 2017 at 2:04 pm #

    …and also category path

    Reply

  5. Aris September 12, 2017 at 8:41 am #

    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

    Reply

    • Tom Anbinder March 23, 2018 at 6:42 pm #

      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

      Reply

  6. mitsakos999 October 10, 2017 at 9:20 am #

    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

    Reply

    • Tom Anbinder November 26, 2018 at 12:14 am #

      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.

      Reply

  7. ThomaS November 3, 2017 at 9:33 am #

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

    Reply

    • Tom Anbinder March 23, 2018 at 6:47 pm #

      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

      Reply

  8. uneeb December 1, 2017 at 9:48 pm #

    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

    Reply

  9. Yevgen December 12, 2017 at 2:00 pm #

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

    Reply

    • Yevgen December 12, 2017 at 2:39 pm #

      tax:yith_product_brand

      That is how it calls in csv exported products

      Reply

      • Tom Anbinder March 23, 2018 at 6:21 pm #

        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

        Reply

  10. Vasilis January 11, 2018 at 2:29 pm #

    Hello,

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

    Reply

    • Tom Anbinder March 23, 2018 at 6:33 pm #

      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

      Reply

  11. 4mengroup January 23, 2018 at 11:18 am #

    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!

    Reply

    • 4mengroup January 23, 2018 at 11:42 am #

      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!

      Reply

  12. jeeves February 13, 2018 at 3:02 pm #

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

    Reply

    • Tom Anbinder March 23, 2018 at 6:44 pm #

      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

      Reply

  13. Adolfus Adams March 23, 2018 at 4:06 pm #

    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?

    Reply

    • Tom Anbinder March 23, 2018 at 6:16 pm #

      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

      Reply

  14. mitsakos999 June 8, 2018 at 8:45 am #

    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

    Reply

  15. mitsakos999 June 8, 2018 at 8:52 am #

    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

    Reply

  16. gog0412 July 18, 2018 at 10:56 am #

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

    ex:

    [alg_product_title]
    [alg_product_price]
    ?????

    Thanks!

    Reply

  17. tarmo July 18, 2018 at 12:34 pm #

    Hi,

    Is it possible to get additional images to xml feed?

    Reply

    • Tom Anbinder November 26, 2018 at 12:01 am #

      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.

      Reply

  18. Andis September 4, 2018 at 7:57 pm #

    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?

    Reply

    • Tom Anbinder September 5, 2018 at 7:54 pm #

      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 tom@algoritmika.com

      Best regards,
      Tom

      Reply

  19. nziozas September 17, 2018 at 12:30 pm #

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

    Reply

    • Tom Anbinder September 17, 2018 at 12:43 pm #

      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]]>

      Reply

  20. Tomek October 7, 2018 at 12:09 pm #

    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.

    Reply

    • Tomek October 7, 2018 at 12:33 pm #

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

      Reply

      • Tom Anbinder October 9, 2018 at 9:58 pm #

        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

        Reply

  21. soniconas October 20, 2018 at 3:41 pm #

    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

    Reply

    • Tom Anbinder October 21, 2018 at 3:35 pm #

      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 tom@algoritmika.com)?

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

      Reply

  22. Aidas November 15, 2018 at 12:56 pm #

    Hi,

    Can I add [alg_product_id] shortcode into element id

    Thanks.

    Reply

    • Tom Anbinder November 23, 2018 at 1:44 am #

      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.

      Reply

  23. MrD November 16, 2018 at 8:14 pm #

    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.

    Reply

    • MrD November 16, 2018 at 8:52 pm #

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

      Reply

      • Tom Anbinder November 26, 2018 at 12:09 am #

        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.

        Reply

        • MrD December 4, 2018 at 5:19 am #

          AWESOME!!! Thanks! got it working.

          Reply

          • Tom Anbinder December 5, 2018 at 12:40 am #

            Hi,

            Happy to hear it helped!

            Please let me know if you need anything else.

  24. Nikolaos Tzorvas November 22, 2018 at 11:53 am #

    Hi,

    Is it possible to get additional images to xml feed?

    Reply

    • Tom Anbinder November 23, 2018 at 1:35 am #

      Hi,

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

      Reply

    • Tom Anbinder November 25, 2018 at 11:57 pm #

      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.

      Reply

  25. Valdemir November 23, 2018 at 4:31 pm #

    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

    Reply

    • Tom Anbinder November 25, 2018 at 11:50 pm #

      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.

      Reply

      • Valdemir November 28, 2018 at 10:31 pm #

        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.

        Reply

        • Tom Anbinder November 28, 2018 at 10:52 pm #

          Hi Valdemir,

          Maybe you could give me the link to your generated XML file, or send it to me directly to tom@algoritmika.com?

          Reply

        • Tom Anbinder November 28, 2018 at 11:41 pm #

          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>

          Reply

  26. Nikolay Todorov December 10, 2018 at 7:29 pm #

    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

    Reply

  27. Renate Hoornstra December 11, 2018 at 11:06 am #

    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.

    Reply

  28. Renate Hoornstra December 11, 2018 at 11:16 am #

    oh wait i think it already does this automatically?

    Reply

  29. Renate Hoornstra December 13, 2018 at 9:29 am #

    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.

    Reply

Leave a Reply

Changelog

= 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.

Installation

  • 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.

Updates

To keep WPCodeFactory items up to date, please install WPCodeFactory Helper plugin and enter your site key.