WPSSO Google Merchant Feed XML

تفصیل

Google Merchant Feed XMLs for WooCommerce, Easy Digital Downloads, and Custom Product Pages.

E-Commerce Plugin Not Required:

A supported e-commerce plugin, like WooCommerce or Easy Digital Downloads, is suggested but not required — the WPSSO Google Merchant Feed XML add-on also retrieves custom product information entered in the Document SSO metabox when editing a product page.

Complete WooCommerce Support:

WooCommerce product variations, attributes, meta data, and custom fields are all fully supported.

No Add-on Settings to Configure:

The WPSSO Google Merchant Feed XML add-on automatically retrieves all available product information in the language (aka locale) requested.

Automatic Multilingual Support:

The Google merchant product feed XMLs are automatically created in your site’s language(s) from Polylang, WPML, or the installed WordPress languages.

After activating the WPSSO Google Merchant Feed XML add-on, see the SSO > Google Merchant settings page for your feed URLs.

Google Merchant Feed XML Attributes:

The following XML product attributes are automatically created based on your WooCommerce, Easy Digital Downloads, and custom products (including WooCommerce product variations):

  • Additional image link [additional_image_link]
  • Adult oriented [adult]
  • Age group [age_group]
  • Availability [availability]
  • Brand [brand]
  • Condition [condition]
  • Color [color]
  • Description [description]
  • Energy efficiency class [energy_efficiency_class]
  • Gender [gender]
  • Google product category [google_product_category]
  • Google search index [canonical_link]
  • GTIN [gtin] (inluding UPC, EAN, and ISBN)
  • ID [id]
  • Image link [image_link]
  • Item group ID [item_group_id]
  • Link [link]
  • Material [material]
  • Maximum energy efficiency class [max_energy_efficiency_class]
  • Minimum energy efficiency class [min_energy_efficiency_class]
  • MPN [mpn]
  • Pattern [pattern]
  • Price [price]
  • Product length [product_length]
  • Product height [product_height]
  • Product type [product_type]
  • Product weight [product_weight]
  • Product width [product_width]
  • Sale price [sale_price]
  • Sale price effective date [sale_price_effective_date]
  • Shipping length [shipping_length]
  • Shipping height [shipping_height]
  • Shipping weight [shipping_weight]
  • Shipping width [shipping_width]
  • Size [size]
  • Size system [size_system]
  • Size type [size_type]
  • Title [title]

WPSSO Core Required

WPSSO Google Merchant Feed XML (WPSSO GMF) is an add-on for the WPSSO Core plugin, which provides complete structured data for WordPress to present your content at its best on social sites and in search results – no matter how URLs are shared, reshared, messaged, posted, embedded, or crawled.

سکرین شاٹاں

  • The WPSSO GMF settings page shows a complete list of available XML feed URLs.

ریویو

سارے 1 ریویو پڑھو

Contributors & Developers

“WPSSO Google Merchant Feed XML” is open source software. The following people have contributed to this plugin.

حصہ پاوݨ آلے

“WPSSO Google Merchant Feed XML” has been translated into 1 locale. Thank you to the translators for their contributions.

“WPSSO Google Merchant Feed XML” دا آپݨی زبان وچ ترجمہ کرو۔

ڈیویلپمنٹ وچ دلچسپی ہے؟

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

تبدیلی لاگ

Version Numbering

Version components: {major}.{minor}.{bugfix}[-{stage}.{level}]

  • {major} = Major structural code changes and/or incompatible API changes (ie. breaking changes).
  • {minor} = New functionality was added or improved in a backwards-compatible manner.
  • {bugfix} = Backwards-compatible bug fixes or small improvements.
  • {stage}.{level} = Pre-production release: dev < a (alpha) < b (beta) < rc (release candidate).

Standard Edition Repositories

Development Version Updates

WPSSO Core Premium edition customers have access to development, alpha, beta, and release candidate version updates:

Under the SSO > Update Manager settings page, select the “Development and Up” (for example) version filter for the WPSSO Core plugin and/or its add-ons. When new development versions are available, they will automatically appear under your WordPress Dashboard > Updates page. You can reselect the “Stable / Production” version filter at any time to reinstall the latest stable version.

WPSSO Core Standard edition users (ie. the plugin hosted on WordPress.org) have access to the latest development version under the Advanced Options section.

Changelog / Release Notes

Version 6.0.0-b.3 (2023/02/02)

  • New Features
    • Added support for the new ‘product:variants’ meta tags array in WPSSO Core v15.0.0.
  • Improvements
    • Removed the filter hook to sort the WooCommerce variations array (no longer needed).
  • Bugfixes
    • None.
  • Developer Notes
    • Removed support for the ‘product:offers’ meta tags array.
    • Removed the WPSSO_FEED_XML_QUERY_CACHE_DISABLE constant.
    • Removed the ‘wpsso_request_url_query_attrs_cache_disable’ filter hook.
    • Renamed the WpssoGmfActions->get_product_image_url() method to check_product_image_urls().
    • Refactored the WpssoGmfXml::add_feed_product() method.
    • Refactored the WpssoGmfXml::add_product_data() method.
  • Requires At Least
    • PHP v7.2.
    • WordPress v5.4.
    • WPSSO Core v15.0.0-b.3.

Version 5.2.1 (2023/01/26)

  • New Features
    • None.
  • Improvements
    • Added compatibility declaration for WooCommerce HPOS.
    • Updated the minimum WordPress version from v5.2 to v5.4.
  • Bugfixes
    • Fixed possible incorrect locale for the “Refresh Feed XML Cache” button text on sites with multiple languages.
  • Developer Notes
    • Added support for a new WPSSO_FEED_XML_QUERY_CACHE_DISABLE constant (false by default).
    • Updated the WpssoAbstractAddOn library class.
  • Requires At Least
    • PHP v7.2.
    • WordPress v5.4.
    • WPSSO Core v14.7.0.

Version 5.2.0 (2023/01/22)

  • New Features
    • None.
  • Improvements
    • Added a filter hook to sort the WooCommerce variations array (moving the requested variation first).
  • Bugfixes
    • None.
  • Developer Notes
    • Added a ‘wpsso_request_url_query_attrs_cache_disable’ filter hook to return true.
  • Requires At Least
    • PHP v7.2.
    • WordPress v5.2.
    • WPSSO Core v14.6.0.

Version 5.1.0 (2023/01/20)

  • New Features
    • None.
  • Improvements
    • Added a “Refresh Feed XML Cache” button in the Google Merchant settings page.
    • Added the number of items, image links, and size for each feed XML in the Google Merchant settings page.
    • Removed the “Save Plugin Settings” and “Change to View” buttons from the Google Merchant settings page.
    • Increased feed XML cache expiration time from 1 day to 1 week.
  • Bugfixes
    • None.
  • Developer Notes
    • Updated the SucomAbstractAddOn common library class.
  • Requires At Least
    • PHP v7.2.
    • WordPress v5.2.
    • WPSSO Core v14.5.0.

Version 5.0.0 (2023/01/11)

  • New Features
    • None.
  • Improvements
    • Changed the default feed URL from ‘/merchant-feed/’ to ‘/google-merchant/feed/rss2/’ (the old default feed URLs continue to be supported).
    • Renamed the SSO settings page from “Merchant Feed” to “Google Merchant”.
  • Bugfixes
    • None.
  • Developer Notes
    • Added a new filters-advanced.php library file.
    • Added a new filters-edit.php library file.
    • Updated the ‘vitalybaev/google-merchant-feed’ library to v2.6.0.
    • Renamed the ‘gmflang’ query variable to ‘locale’.
    • Refactored the WpssoGmfRewrite::add_rules() static method.
  • Requires At Least
    • PHP v7.2.
    • WordPress v5.2.
    • WPSSO Core v14.4.0.

Version 4.2.0 (2023/01/03)

  • New Features
    • None.
  • Improvements
    • Added support for a second ‘size_type’ value.
  • Bugfixes
    • None.
  • Developer Notes
    • Added a new WpssoGmfXml::sanitize_mt_value() method.
    • Refactored the WpssoGmfXml::add_product_data() method.
    • Refactored the WpssoGmfXml::sanitize_mt_array() method.
  • Requires At Least
    • PHP v7.2.
    • WordPress v5.2.
    • WPSSO Core v14.2.0.

Version 4.1.0 (2022/12/29)

  • New Features
    • None.
  • Improvements
    • Updated the WP posts query to exclude noindex and redirected post meta as part of the query (instead of checking post metadata afterwards).
  • Bugfixes
    • None.
  • Developer Notes
    • Added a private WpssoGmfXml::get_meta_query() static method.
  • Requires At Least
    • PHP v7.2.
    • WordPress v5.2.
    • WPSSO Core v14.1.0.

Version 4.0.0 (2022/12/28)

  • New Features
    • None.
  • Improvements
    • Added new XML product attributes:
      • “energy_efficiency_class”
      • “min_energy_efficiency_class”
      • “max_energy_efficiency_class”
      • “product_length”
      • “product_height”
      • “product_weight”
      • “product_width”
      • “shipping_length”
      • “shipping_height”
      • “shipping_weight”
      • “shipping_width”
      • “size_system”
  • Bugfixes
    • None.
  • Developer Notes
    • None.
  • Requires At Least
    • PHP v7.2.
    • WordPress v5.2.
    • WPSSO Core v14.0.0.

Version 3.4.0 (2022/12/07)

  • New Features
    • None.
  • Improvements
    • Added an action hook to clear the locale feed XML when a product is updated.
  • Bugfixes
    • None.
  • Developer Notes
    • Added a new WpssoGmfActions->action_refresh_post_cache() method.
  • Requires At Least
    • PHP v7.2.
    • WordPress v5.2.
    • WPSSO Core v13.13.0.

Version 3.3.2 (2022/11/04)

  • New Features
    • None.
  • Improvements
    • None.
  • Bugfixes
    • None.
  • Developer Notes
    • Added a check for WpssoUtilRobots->is_enabled() before checking for noindex.
  • Requires At Least
    • PHP v7.2.
    • WordPress v5.2.
    • WPSSO Core v13.8.0.

Version 3.3.1 (2022/10/04)

  • New Features
    • None.
  • Improvements
    • Minor message string updates.
  • Bugfixes
    • None.
  • Developer Notes
    • None.
  • Requires At Least
    • PHP v7.2.
    • WordPress v5.2.
    • WPSSO Core v13.5.0.

Version 3.3.0 (2022/09/25)

  • New Features
    • None.
  • Improvements
    • Added support for Age group [age_group] and Adult oriented [adult].
  • Bugfixes
    • None.
  • Developer Notes
    • None.
  • Requires At Least
    • PHP v7.2.
    • WordPress v5.2.
    • WPSSO Core v13.4.0.

Version 3.2.1 (2022/09/16)

  • New Features
    • None.
  • Improvements
    • None.
  • Bugfixes
    • Fixed XML markup by removing esc_xml() which creates invalid XML.
  • Developer Notes
    • None.
  • Requires At Least
    • PHP v7.2.
    • WordPress v5.2.
    • WPSSO Core v13.3.0.

Version 3.2.0 (2022/09/15)

  • New Features
    • None.
  • Improvements
    • None.
  • Bugfixes
    • None.
  • Developer Notes
    • Added support for the new ‘product:size:type’ enumeration values from WPSSO Core v13.3.0.
  • Requires At Least
    • PHP v7.2.
    • WordPress v5.2.
    • WPSSO Core v13.3.0.

Version 3.1.0 (2022/08/26)

  • New Features
    • None.
  • Improvements
    • French language translation updates.
  • Bugfixes
    • None.
  • Developer Notes
    • None.
  • Requires At Least
    • PHP v7.2.
    • WordPress v5.2.
    • WPSSO Core v13.1.0.

Version 3.0.1 (2022/08/24)

  • New Features
    • None.
  • Improvements
    • None.
  • Bugfixes
    • None.
  • Developer Notes
    • Added esc_xml() and esc_html() to the feed XML content.
  • Requires At Least
    • PHP v7.2.
    • WordPress v5.2.
    • WPSSO Core v13.0.0.

Version 3.0.0 (2022/08/24)

  • New Features
    • Removed dependency on the WPSSO Core Premium edition plugin.
  • Improvements
    • None.
  • Bugfixes
    • None.
  • Developer Notes
    • None.
  • Requires At Least
    • PHP v7.2.
    • WordPress v5.2.
    • WPSSO Core v13.0.0.