Woocommerce meta tags

#293473
Viewing 6 replies - 1 through 6 (of 6 total)
  • Hello,

    Thank you for contacting Rank Math and bringing your concern to our attention. I’m sorry for any inconvenience this issue may have caused you.

    I’ve checked your product using Google’s Rich Results test, and the product’s price and currency are already added to your product’s schema.

    Please clear your website’s cache and check again.

    I hope that helps.

    Thank you.

    Yes, I had already seen that Google Rich Results display correctly but Google images and Pinterest do not.

    Hello,

    I have updated the sensitive data as requested. Can you please check further?

    Thank you.

    Hello,

    I checked the URL you have shared with the Rich Pin Validator tool and it is being recognized as a Product Pin:

    You can check that here: https://developers.pinterest.com/tools/url-debugger/

    Please check and let us know if you need any other assistance.

    Thanks.

    It is showing the higher price of the variable items ($26.00) I want to show the standard price of ($22.00)

    Hello,

    You can use this filter in your theme’s function.php to that:

    add_action( 'rank_math/head', function() {
        if ( ! is_product() ) {
            return;
        }
        echo '<meta property="product:price:amount" content="22" />';
    }, 99 );

    This needs to be edited to fetch the appropriate values depending on the product and the content of that meta tag needs to be fetched dynamically for each product.

    Hope this helps. Looking forward to helping you.

    Thank you.

    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 6 replies - 1 through 6 (of 6 total)

The ticket ‘Woocommerce meta tags’ is closed to new replies.