Support » Plugin: Product Feed PRO for WooCommerce » Schema Errors

  • Resolved crishaz

    (@crishaz)


    Hello, I’m trying to resolve some schema errors that I’m getting when using the plugin (with a variable product).

    When I disable the plugin, the value for “warningpriceValidUntil” comes through with the standard Woo schema, but with the plugin, there is no value.

    I have an MPN in the product but am getting this schema error: “This Product is missing a global identifier (e.g. isbn, mpn or gtin8). Please see documentation for valid identifiers.”

    And I have brand filled in for the product, but am getting: “The brand field is recommended. Please provide a value if available.”

    Can I resolve these errors with the plugin / configuration?

    Schema errors:
    https://ibb.co/k6k590y

    These are my plugin settings:
    https://ibb.co/nr4Dk5Y

    And this is my (variable) product data:
    https://ibb.co/gdwdZKJ

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Contributor evavangelooven

    (@evavangelooven)

    Hi Chris,

    Thanks for using our plugin and reaching out to us.

    As far as we are aware of the standard Woo markup doesn’t have the ‘warningpriceValidUntil’ field? We have tried testing this by putting a product on sale with an end date but are not getting to see this markup field (also not when our plugin has been disabled). Hence, are you sure this markup field is not being added by another plugin you are using?

    With regards to the brand and MPN values. Our plugin is not adding those to the structured data. The plugin mainly fixes the Woo bug with regards to wrong prices being shown in the markup for variants. We will however add this feature to our wish/to-do list.

    Best,
    Eva

    Thread Starter crishaz

    (@crishaz)

    First off, thanks so much for the quick reply, I appreciate it.

    Second, thanks for adding brand and MPN/etc to the wish list.

    Third, for the priceValidUntil field. I did a test with all plugins disabled except yours and Woocommerce.

    Also a note, it looks like the last Woocommerce plugin update (3.5.6) addressed some schema errors that were being thrown. It might make sense to see if those changes impacted the plugin.

    Here’s the schema with just Woocommerce (your plugin disabled). priceValidUntil is a value that Woo is putting in automatically, it’s not data entered in my product anywhere.
    https://ibb.co/Gpst16y

    Here’s what the schema looks like with your plugin on but “Increase the number of products that will be approved in Google’s Merchant Center:” OFF:
    https://ibb.co/JKyq0KR

    Here’s what the schema looks like with your plugin on but “Increase the number of products that will be approved in Google’s Merchant Center:” ON:
    https://ibb.co/0XBz6D0

    Plugin Contributor evavangelooven

    (@evavangelooven)

    Hi Chris,

    Thanks for the detailed reply, much appreciated.

    We have just pushed out a new release of the plugin, version 5.0.4, that should solve the issue at hand. Can you download it and give it a try?

    All the best
    Eva

    Thread Starter crishaz

    (@crishaz)

    Nice, thank you.

    It appears when the setting “Increase the number of products that will be approved in Google’s Merchant Center:” is OFF, but when that’s switched ON, it does not appear.

    Plugin Contributor evavangelooven

    (@evavangelooven)

    It should. Have you cleared the cache of your website/browser and or caching plugin you are using?

    Best
    Eva

    Thread Starter crishaz

    (@crishaz)

    Still getting the error. I ended up just writing some code in my functions file to fix it. I appreciate your help and quick response time.

    // priceValidUntil
    
    function func_woocommerce_structured_data_product_offer( $markup, $product ) {
    
    	if ( empty( $markup[ 'priceValidUntil' ] ) ) {
    		$markup[ 'priceValidUntil' ] = '2050-01-01';
    	}		
    	return $markup;
    
    }
    
    add_filter( 'woocommerce_structured_data_product_offer', 'func_woocommerce_structured_data_product_offer', 10, 2 );
    
    Plugin Contributor evavangelooven

    (@evavangelooven)

    Hi Chris,

    Could you try the newest release, version 5.0.6. It should solve the issue at hand.

    All the best
    Eva

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Schema Errors’ is closed to new replies.