Viewing 15 replies - 1 through 15 (of 33 total)
  • Hi,

    Thanks for using our plugin and reaching out to us. Most likely you are running into this well-know WooCommerce structured data bug: https://adtribes.io/woocommerce-structured-data-bug/

    If you like we can verify this is the case. Please share with us your product feed URL so we can have a look for you.

    Thread Starter joelmellin

    (@joelmellin)

    Thanks for this.

    Prices in the feed do match with the prices on your website. See for example this product variation from your original screenshot:

    Price on your website is SEK 1299: https://www.dropbox.com/s/8ck5lc6wupacuye/Struct1.png?dl=0

    Price in your feed is also SEK 1299: https://www.dropbox.com/s/4xjvar5o299im62/Struct2.png?dl=0

    So the prices in the feed are correct.

    When however checking the structured data/JSON for the above product variation it shows this: https://www.dropbox.com/s/wd43swl762y7vdh/Struct3.png?dl=0, which is a different price and the cause for your products being disapproved. I however expected the price in your structured data to be SEK 46 as that is shown in your Google Merchant Center screenshot. Now looking at the structured data on your website it seems there is a lot more than the default WooCommerce structured data, so most likely you are using a 3th party plugin that does things to the structured data of your website?

    Thread Starter joelmellin

    (@joelmellin)

    I have the WPSSO plugin installed to get GTIN and some other things that I could map inProduct Feed PRO. But I have not uploaded the WPSSO xml-file to Google merchant.

    Is the WPSSO plugin making changes to the JSON/structured data on your product pages?

    Thread Starter joelmellin

    (@joelmellin)

    I looked it up for you as we have no experience with WPSSO but it does indeed seem they are responsible for making the changes to the structured data: https://wordpress.org/plugins/wpsso/

    Thread Starter joelmellin

    (@joelmellin)

    Ok, then I will contact them and see what they can do.

    Good morning.

    I am the author of WPSSO and thought I’d jump in with some insights into the Schema markup created by WPSSO in the https://mellins.nu/produkter/konserver/granovita-nut-luncheon-nuttolene/ webpage. I see 5 offers / variations in the Schema markup, and the offer prices match those of the variations I can select: 46, 499, 929, 1299, and 2239. I’m not seeing any errors or issues with the Schema markup.

    "@context": "https://schema.org",
    "@type": "Offer",
    "url": "https://mellins.nu/produkter/konserver/granovita-nut-luncheon-nuttolene/?attribute_pa_matlagervariant=storpack-12-st",
    "name": "GranoVita Nut luncheon Nuttolene \u2013 965",
    "description": "Nuttolene i storpack 12 st.",
    "category": "Food, Beverages & Tobacco",
    "sku": "965",
    "availability": "https://schema.org/InStock",
    "itemCondition": "https://schema.org/NewCondition",
    "priceValidUntil": "2024-01-03T19:18:54+00:00",
    "priceSpecification": {
        "@context": "https://schema.org",
        "@type": "UnitPriceSpecification",
        "priceType": "https://schema.org/ListPrice",
        "price": "499.00",
        "priceCurrency": "SEK"
    },
    
    
    "@context": "https://schema.org",
    "@type": "Offer",
    "url": "https://mellins.nu/produkter/konserver/granovita-nut-luncheon-nuttolene/?attribute_pa_matlagervariant=styck",
    "name": "GranoVita Nut luncheon Nuttolene \u2013 965",
    "category": "Food, Beverages & Tobacco",
    "sku": "965",
    "availability": "https://schema.org/InStock",
    "itemCondition": "https://schema.org/NewCondition",
    "priceValidUntil": "2024-01-03T19:18:54+00:00",
    "priceSpecification": {
        "@context": "https://schema.org",
        "@type": "UnitPriceSpecification",
        "priceType": "https://schema.org/ListPrice",
        "price": "46.00",
        "priceCurrency": "SEK"
    },
    
    "@context": "https://schema.org",
    "@type": "Offer",
    "url": "https://mellins.nu/produkter/konserver/granovita-nut-luncheon-nuttolene/?attribute_pa_matlagervariant=storpack-24-st",
    "name": "GranoVita Nut luncheon Nuttolene \u2013 965",
    "description": "Nuttolene i storpack 24 st.",
    "category": "Food, Beverages & Tobacco",
    "sku": "965",
    "availability": "https://schema.org/InStock",
    "itemCondition": "https://schema.org/NewCondition",
    "priceValidUntil": "2024-01-03T19:18:54+00:00",
    "priceSpecification": {
        "@context": "https://schema.org",
        "@type": "UnitPriceSpecification",
        "priceType": "https://schema.org/ListPrice",
        "price": "929.00",
        "priceCurrency": "SEK"
    },
    
    
    "@context": "https://schema.org",
    "@type": "Offer",
    "url": "https://mellins.nu/produkter/konserver/granovita-nut-luncheon-nuttolene/?attribute_pa_matlagervariant=storpack-36-st",
    "name": "GranoVita Nut luncheon Nuttolene \u2013 965",
    "description": "Nuttolene i storpack 36 st.",
    "category": "Food, Beverages & Tobacco",
    "sku": "965",
    "availability": "https://schema.org/InStock",
    "itemCondition": "https://schema.org/NewCondition",
    "priceValidUntil": "2024-01-03T19:18:54+00:00",
    "priceSpecification": {
        "@context": "https://schema.org",
        "@type": "UnitPriceSpecification",
        "priceType": "https://schema.org/ListPrice",
        "price": "1299.00",
        "priceCurrency": "SEK"
    },
    
    "@context": "https://schema.org",
    "@type": "Offer",
    "url": "https://mellins.nu/produkter/konserver/granovita-nut-luncheon-nuttolene/?attribute_pa_matlagervariant=storpack-66-st",
    "name": "GranoVita Nut luncheon Nuttolene \u2013 965",
    "description": "Nuttolene i storpack 66 st (OBS! paketvikt \u00f6ver 30 kg)",
    "category": "Food, Beverages & Tobacco",
    "sku": "965",
    "availability": "https://schema.org/InStock",
    "itemCondition": "https://schema.org/NewCondition",
    "priceValidUntil": "2024-01-03T19:18:54+00:00",
    "priceSpecification": {
        "@context": "https://schema.org",
        "@type": "UnitPriceSpecification",
        "priceType": "https://schema.org/ListPrice",
        "price": "2239.00",
        "priceCurrency": "SEK"
    },

    Thread Starter joelmellin

    (@joelmellin)

    Ok! What could then the problem be why Google merchant is not getting it correct?

    Hi JS,

    Thanks for jumping in.

    The issue is as follows. Product variations are added to the user product feed with the parameters attached to the landing page so it lands on the correct product variation immediately. This is required as Google will check the price of the product variation in the feed versus the price of the variation on the website itself. When those prices do not match Google will disapprove of the product.

    Hence, for a product variation URL like this: https://mellins.nu/produkter/konserver/granovita-nut-luncheon-nuttolene/?attribute_pa_matlagervariant=storpack-36-st

    The price in the product feed is SEK 1299, the price on the website shows SEK 1299 the schema markup should show SEK 1299 too. Instead, like you explain, it shows the prices of ALL product variations. That is confusing Google, it will get the price of the lowest priced product variation which in this case is different than the SEK 1299. As a result Google will disapprove of the product. You need to make sure to show the price of only the relevant product variation.

    As you probably know, WooCommerce and WordPress do not offer different webpages for variations – the attribute URL query argument(s) allows WooCommerce javascript to change the default values shown, but it does not affect the webpage HTML content itself – there is only one webpage for the main product and all its variations. Any crawler reading the Schema markup for that webpage will read the variation information from the Schema Product offers. As you probably also know, Google suggests using a unique identifier for products and their variations (ie. mpn, upc, ean, etc.), which allows Google to uniquely identify each variation. Although the Google Merchant crawler is different than the Google Search crawler, I believe it also looks for unique product identifiers.

    js.

    Still, you need to show only the price of the specific product variation when those arguments are added to the URL, otherwise Google will disapprove of the products. This can be done (we do it), see: https://adtribes.io/woocommerce-structured-data-bug/

    Changing the webpage content HTML itself based on URL query argument(s) is not a good idea – most caching plugins either ignore query arguments or turn caching off when there are query arguments. Search engines also behave differently when query arguments are present – some ignore them, some consider them – it’s a crap shoot. There is no standard for which query arguments to use and which to ignore, although most search engines will ignore the ‘utm_’ arguments, but that’s still a crap shoot. The way WooCommerce handles query arguments is correct – the web browser executes javascript and changes the attribute drop-downs to match the desired variation requested. Those drop-downs can still be changed, which will change the price shown – the query arguments are only a default used by the web browser. There is only one webpage for a WooCommerce product, which includes drop-down options to select variations. The Schema markup for the product includes information for the variations of that product.

    js.

    Hi Joel,

    See the answer of WPSSO support, they are unwilling to solve the issue at hand unfortunatelty.

Viewing 15 replies - 1 through 15 (of 33 total)
  • The topic ‘Problem in feed with price variations’ is closed to new replies.