Home Forums WoodMart support forum Split: Hide prices in google search (Locked for unlogin users)

Split: Hide prices in google search (Locked for unlogin users)

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #427775

    WASIPLtd_Website
    Participant

    Hi Artem,

    How do I hide the pricing from Google?

    Everything is up-to-date but pricing is still appearing on Google and is causing confusion for some of my customers.

    Thanks.

    #428087

    Artem Temos
    Keymaster

    Hello,

    Could you please send us an example of the product which still has a visible price on Google search?

    Kind Regards

    #428241

    WASIPLtd_Website
    Participant

    Hi Artem,

    It’s pretty much all of my products which have a price attached to them.

    However, for an example – please view my private content

    #428255

    Artem Temos
    Keymaster

    Have you added the code we gave in the previous topic? Please, send us a screenshot of where you placed it.

    Kind Regards

    #428256

    WASIPLtd_Website
    Participant

    No…

    You said that this issue was going to be addressed in an upcoming update (which is already released).

    Didn’t think there was any reason for custom code when an update resolving the issue was supposed to be released.

    Thanks.

    #428264

    Artem Temos
    Keymaster

    As we can see, you don’t have Login to see add to cart and prices enabled on your website now. That is why the fix doesn’t work on your website https://gyazo.com/ae9059dfa045b398603be4f861999e51

    #428265

    WASIPLtd_Website
    Participant

    I have to have this enabled because previously to me purchasing the theme I was told that the catalogue mode would act as I needed it..

    Turns out I wasn’t told the complete truth and now have to use CSS to hide anything related to shopping.

    So now you’re saying, due to being told misinformation I now can’t hide pricing from Google?

    You can view the thread here outlining the issues I had pre-purchase and right after purchasing and trying to use catalogue mode:

    https://xtemos.com/forums/topic/major-issue-with-pricing-being-shown-urgent/

    Please advise.

    #428266

    Artem Temos
    Keymaster

    Sorry, I posted a wrong reply and corrected it soon. It is not related to Catalog mode at all. It is about hiding price for non-logged in users.
    In this case, try to add the following code snippet to the functions.php in the child theme

    			add_filter(
    				'woocommerce_structured_data_product',
    				function ( $markup ) {
    					unset( $markup['offers'] );
    					return $markup;
    				}
    			);
Viewing 8 posts - 1 through 8 (of 8 total)