Filters for developers
OBS Google Shopping XML filters for excluding products, prices, additional tags such as g:gtin and custom_label, description and identifiers.
The filters enter a child theme or your own small plugin, so that they don't get lost with updates. The Tab Advanced shows at the end ready examples.
Especially for Google feed#
obs_google_shopping_xml_skip_product($skip, $product): returntrueto exclude a product, e.g. when it has no picture.obs_google_shopping_xml_append_xml($tags, $product, $parent): adds tags for each product. Each array element hasname,valueand optionallycdata_wrapper. So addedg:gtin,g:custom_label_0et al.obs_google_shopping_xml_custom_product_identifierPrice ofg:identifier_exists(default) no).obs_google_shopping_xml_custom_product_conditionPrice ofg:condition(default) New).obs_google_shopping_xml_custom_group_idPrice ofg:item_group_id.
Common filters of the machine#
obs_google_shopping_xml_custom_price,_custom_regular_price,_custom_sale_price(iii) price change.obs_google_shopping_xml_custom_description: description cleaning, e.g. shortcodes removal.obs_google_shopping_xml_custom_name,_custom_id,_custom_link,_custom_image,_custom_gallery,_custom_brand,_custom_color,_custom_size,_custom_mpn,_custom_ean.obs_woo_export_enable_product_metabox: returnfalseto hide the frame Product Visibility from products.
After changing to filter run Test export and then full Generate feed now. If you do not have a developer, OBS implements such adjustments upon request.
It's not solved?
Request support
Send a request; the plugin and the article are automatically completed.