This wordpress plugin can be installed as any other wordpress plugin. Installation is simple.
- Extract the zip file you have downloaded.
- Login to your administration panel (ex. http://www.yourdomain.com/wp-admin).
- Go to Plugins → Add New.
- At the top of the page click the "Upload Plugin" link
- Click choose file (or what your browser uses to navigate to your files)
- From the extracted files of step one (1) navigate to and select woo_xml_feed.zip and click "Install Now"
- You may be asked to confirm your wish to install the Plugin.
- If this is the first time you've installed a WordPress Plugin, you may need to enter the FTP login credential information. If you've installed a Plugin before, it will still have the login information. This information is available through your web server host.
- Click Proceed to continue with the installation. The resulting installation screen will list the installation as successful or note any problems during the install.
- If successful, please click Activate Plugin to activate it.
Upon installation, an example feed will be created.
- User friendly and self-explanatory entries management.
- 44 available values to be used and exported
- Supports Variations attributes
- Supports custom meta
- Supports WooCommerce Brands
- Option to exclude product(s).
- Extensible / developer friendly. You can alter the plugin without hacking it, but via WordPress filters and actions.
- Easily translatable via .po / .mo files.
- Available translations: English, Greek.
- WordPress 4.0+
- Woocommerce 2.4+
- PHP 5.3+
In order to use the Woocommerce Product XML / CSV Feed Export plugin, please navigate from your WordPress administration panel to "WOO Feeds and click the "Add New" Button as you would normally do in order to add a post, product etc."
Options
- Title: Add a title (this is just for you and it will not be output anywhere)
- Feed Header: Anything you would like to prepend on you feed output
- Feed Main: The main content, the loop of the products data
- Feed Images: This will replace the
{images}
tag on the main feed content. The {image}
can be used here.
- Feed Attributes: This will replace the
{attributes}
tag on the main feed content. The {attribute_label}
and {attribute_value}
can be used here.
- Feed Footer: Anything you would like to append on you feed output
- Availability message when in stock: Message to display when the product is in stock. This will replace the
{stock_status}
tag.
- Availability message when NOT in stock: Message to display when the product is out of stock. This will replace the
{stock_status}
tag.
- Default brand: Set the brand to display when non is set on the product.
- Display product when out of stock: Uncheck this to skip out of stock products.
- Display parent categories: It will display parent categories of the main product category.
- Seperator character for parent categories: This character(s) will display between the parent categories
- Cached filename: Enter the filename and path of the auto created feed file
- Output as plain text / remove xml headers: ThHe plugin by default adds xml headers. Check this to remove the XML headers.
- Save cached file on publish/update: Check this to force the plugin create the cached file on save.
- You are ready to go! *** Publish *** your feed
You may create multiple feeds and edit them at any time.
The plugin creates a daily wp cron to refresh the cached file. Use a plugin as WP Crontrol if you would like to edit the cron.
Many hooks are in place. Please search the code for a full list. Below are some of them with examples.
Filters
Add a replaceable tag for header and footer, eg.
add_filter( 'wxf_gensearch', 'my_wxf_gensearch');
function my_wxf_gensearch($search, $post_id) {
$search[] = '{title}';
return ($search);
}
add_filter( 'wxf_genreplace', 'my_wxf_genreplace');
function my_wxf_genreplace($replace, $post_id) {
$replace[] = get_the_title($post_id);
return ($replace);
}
Does it work with variable products?
Yes, it does.
Can I use it to import products?
No, you can not.
Will it export my custom meta?
Yes, it can do this.
1.1.14 6 Jan 2023
- Feature: Added the shipping class label tag
- Fix: On some case the product meta list needed to be json decoded
1.1.13 16 Dec 2022
- Fix: availability message value match flexibility
1.1.12 21 Nov 2022
- Fix: better product stock management
1.1.11 31 Mar 2022
- Fix: in some cases variations slugs were displaying instead of labels
1.1.10 05 Mar 2022
- Fix: some options when editing the feed settings would not save if empty
- Fix: Removed PHP 8.0 deprecation warning
1.0.9 04 Mar 2022
- Fix: single product overrides could be edited but not be removed
- Fix: "one product based on the parent for variable products" now checks for stock settings
1.0.8 16 Feb 2022
- Feature: added backorder custom message
1.0.7 30 Jul 2021
- Feature: added the option to add the parent product excerpt and description if the variation's does not exists
- Feature: The file path can now handle directories
- Fix: Checkboxes would not store unchecked status on save
1.0.6 03 May 2021
- Feature: Added ajax XML generation
- Feature: Added Facebook product feed XML tags
- Feature: Added Facebook product feed XML sample entry
- Fix: Condition to avoid various PHP notices and warnings
1.0.4 02 Apr 2019
- Feature: Converted from select2 to selectWoo
- Fix: Condition to avoid PHP warning for product brands
- Fix: Decoding of url encoded attributes
1.0.3 03 Jun 2018
- Fix: Removed Woocommerce v3.0+ deprecation warnings
1.0.2 09 Aug 2017
- Feature: Added list with all scanned meta keys
- Fix: Prevent error if brands plugin is not installed
1.0.1 02 May 2017
- Feature: Woocommerce version 3.0.x support
- Feature: Product taxonomies detection and tags, all product taxonomies are supported
- Feature: Option to merge attributes
- Feature: Include / exclude products by category
1.0.0 27 Mar 2017
This plugin does not use any 3rd party libraries