GTIN For WooCommerce – Migrating from Yoast SEO to RankMath

#587033
  • Resolved Anonymous
    Rank Math free

    Good afternoon team,

    I have been looking at RankMath as a possible tool to take over our YoastSEO.

    I have been looking over your Knowledge Base, and have read quite a lot of your documentation.

    Unfortunately, there is no mention as to whether or not YoastSEO WooCommerce fields will be merged over to RankMath – as YoastSEO has multiple fields in the product.

    For example, YoastSEO allows me to visually add/remove/modify: GTIN8, GTIN12/UPC, GTIN13/EAN, GTIN14/ITF-14 as well as MPN. Whereas it seems RankMath can only support one global identifier.

    YoastSEO also allows me to serialize the fields from my WP All Import plugin, allowing me to quickly modify and bulk-edit all of the values – for example, some products will have both MPN and EAN, or MPN and UPC.

    My concern is that if I were to pick GTIN13 in RankMath, I have a few thousand products that use EAN, and a few thousand products that use UPC. Nearly all products have an MPN.

    I wouldn’t want to set the GTIN as EAN in my store, and display UPC (12-digit) codes, as that will cause issues with Google Merchant Center.

    I wanted to know the following:

    1. Will RankMath merge ALL of the GTIN data from Yoast (MPN, EAN, UPC, etc)?

    2. If no to the above, is there a way to set the GTIN to MPN, but also add a EAN/UPC field in WooCommerce product editor? That way, we can keep using MPN as per normal, but then add a UPC or EAN as necessary for the product, depending on whether it has an EAN or UPC code.

    3. Is it possible to use AFC to add custom schema fields for WooCommerce products if #2 can’t be done in RankMath? If so is there any documentation on this? Perhaps I could add a dropdown with UPC/EAN, and then the value in a separate field – that way, UPC or EAN can be picked, along with its barcode.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hello,

    Thanks for contacting us and sorry for the inconvenience caused.

    Our plugin should import all the Schema data from Yoast’s Schema including the additional fields. If it doesn’t then you can use the following filter to add additional values to the Product Schema: https://rankmath.com/kb/filters-hooks-api-developer/#change-post-schema-data

    The Free version of our plugin doesn’t support the GTIN option of our plugin so it won’t add the GTIN field in the product editor, you will have to purchase the PRO version for that: https://rankmath.com/kb/gtin-mpn-woocommerce/

    If you want to use ACF fields to add the data to the products then you can use the get_field() function in the filter shared above to get the value from the fields and add them to the Schema: https://www.advancedcustomfields.com/resources/get_field/

    Hope that helps. Let us know if you need any other assistance.

    Anonymous
    Rank Math free

    Based on the documentation I’ve read and community forum posts, it doesn’t appear RankMath ports over YoastSEO WooCommerce additional fields. Please clarify.

    Hello,

    I checked with the devs and they confirmed that the additional fields like GTIN/MPN/UPC will not be imported from Yoast. You will have to add them manually using the methods mentioned in my previous reply.

    Don’t hesitate to get in touch in case you need our assistance with anything else.

    Thanks.

    Anonymous
    Rank Math free

    Thanks for clarifying, so if I purchase RankMath Pro, I will most likely need a developer to help me merge the Yoast WooCommerce SEO fields over?

    May I ask, is it necessary to have both UPC/EAN as well as MPN?

    I need to know this as most of our products have both a barcode (UPC/EAN) as well as the MPN filled. Is this optimal for SEO purposes? I need to ascertain how much work is going to take to migrate from YoastSEO WooCommerce to RankMath.

    I understand that YoastSEO WooCommerce uses serialized fields to store the GTIN’s & MPN, so I suppose a PHP script I can put the serialized data into array and merge over Yoast fields to RankMath.

    But I just need to clarify before I make the final decision to merge to RankMath Pro.

    Hello,

    The guidelines for Google in terms of Product Schema, where the codes would get added, don’t have any information on whether it’s required to have both the EAN and MPN included. The guidelines only mention the fact that is recommended to have one global identifier.

    Regarding the switch from Yoast SEO to our plugin, if the data for the global identifiers is saved in custom fields on the database a SQL statement can be created, either directly or by using a PHP script to add the fields to our global identifier wich has the key of rank_math_gtin_code.

    Please note that even though the field contains the name “GTIN” it’s used for any other variation of the global identifier as well.

    Don’t hesitate to get in touch if you have any other questions.

    Hello,

    Since we did not hear back from you for 15 days, we are assuming that you found the solution. We are closing this support ticket.

    If you still need assistance or any other help, please feel free to open a new support ticket, and we will be more than happy to assist.

    Thank you.

Viewing 5 replies - 1 through 5 (of 5 total)

The ticket ‘GTIN For WooCommerce – Migrating from Yoast SEO to RankMath’ is closed to new replies.