Home Forums WoodMart support forum price of product in google result

price of product in google result

Viewing 15 posts - 1 through 15 (of 15 total)
  • Author
    Posts
  • #372664

    manuel-logika
    Participant

    i have already open a ticket some month ago and it’s ok for some time, now it’s alreay a problem.

    I have set up to hide the price from not logged users, and that works correctly. But there is a problem on google research thats not understand why, i see the product with the price and thats not correct. How to resolve? Image on attach

    Your answer:

    Hello,

    In order to hide product price from Google search, try to add the below code to the functions.php file in your child theme.

    if ( function_exists(‘wd_remove_some_structured_data’) ) {
    function wd_remove_some_structured_data( $markup ) {
    unset( $markup[‘offers’] );
    return $markup;
    }

    add_filter( ‘woocommerce_structured_data_product’, ‘wd_remove_some_structured_data’ );
    }
    Please feel welcome to reach out to me with any questions you may have and I would be more than happy to help.

    ——–

    Now this code doesn’t work. Can you help me?

    Attachments:
    You must be logged in to view attached files.
    #372695

    Artem Temos
    Keymaster

    Hello,

    We searched this product on Google but didn’t see the price there https://gyazo.com/e42bda4f911caea629770da49120af3f
    Maybe you disabled that option temporarily and google indexed that price but should hide it soon.

    Kind Regards

    #372705

    manuel-logika
    Participant

    the option si always active.

    #372743

    manuel-logika
    Participant

    i attach the screen that the problem is not resolved. I need an answer

    Attachments:
    You must be logged in to view attached files.
    #372746

    manuel-logika
    Participant

    here our function php screen

    Attachments:
    You must be logged in to view attached files.
    #372757

    Artem Temos
    Keymaster

    Could you please clarify what word exactly do you use for Google search? Also, check how it works in different browsers and incognito tab.

    Kind Regards

    #372779

    manuel-logika
    Participant

    i would like to hide the price of product in search result.

    #372780

    manuel-logika
    Participant

    Do you see the price? I need to hide price
    i insert this snippet on function.php month ago:

    if ( function_exists(‘wd_remove_some_structured_data’) ) {
    function wd_remove_some_structured_data( $markup ) {
    unset( $markup[‘offers’] );
    return $markup;
    }

    add_filter( ‘woocommerce_structured_data_product’, ‘wd_remove_some_structured_data’ );
    }

    but doesn’t work, do yo understand?

    Attachments:
    You must be logged in to view attached files.
    #372785

    Artem Temos
    Keymaster

    Yes, we checked and the code works as expected but the problem is different. Please, answer our previous question

    Could you please clarify what word exactly do you use for Google search? Also, check how it works in different browsers and incognito tab.

    #372792

    manuel-logika
    Participant

    map evo antenna top is the keyword.
    In chrome, opera, firefox and safari (incognito tab) is the same like screen i already send,

    #372806

    Artem Temos
    Keymaster

    Here is a screenshot of how it works for us https://gyazo.com/6e50e649dc50f5f41fe45cddf292f47f

    #372808

    manuel-logika
    Participant

    wher do you search?
    I see the price

    Attachments:
    You must be logged in to view attached files.
    #372971

    Artem Temos
    Keymaster

    Here is a screenshot of the Google search page https://gyazo.com/d5eb0a1b2944100aa9c975c80b3ee9cb

    #372972

    manuel-logika
    Participant

    We and our client see price on google. Why? is there cache? wich browser do you use?

    #373014

    Artem Temos
    Keymaster

    We don’t know why you see the price. We checked your product page source code and it doesn’t have the price value anywhere in the code.

    We are using the Google Chrome browser for testing.

Viewing 15 posts - 1 through 15 (of 15 total)