How to remove "view in your space" mobile AR button on Dawn theme

Hi, I’m looking to remove this functionality from supported mobile devices and would solely like to rely on the online built-in Shopify 3d viewer. Is there any code I could paste/modify to do so?

1 Like

Hello There,

Please share your store URL and password.
So that I will check and let you know the exact solution here.

@ZestardTech
Hi, sent in pm. Thanks.

@moh_a

Welcome to the Shopify community!
Thanks for your good question.

Please share your site URL,
I will check out the issue and provide you a solution here.

Thank you

1 Like

@Zworthkey URL & pass sent in pm. Thank you.

I can’t see where is this which you have mentioned.

@Zworthkey

Hi, it doesn’t appear on the chrome inspect mobile viewer since it requires an AR-supported mobile device such as the recent iPhones.

ok Add this code in the bottom of the component-product.css

button.button.button--full-width.product__xr-button {
    display: none !important;
}

@moh_a
I hope it will works if you need any more help let me know.

Thank you.

1 Like

@Zworthkey

That did the trick. Thank you very much!

1 Like

@moh_a
if you need any more help then let me know.

1 Like

Hey,

I am also want to remove this button from my store. I just want to remove this button - VIEW IN YOUR SPACE

Store Link: https://www.voyageeyewear.com/products/black-rectangular-sunglasses-voymg02a3

Theme name: Impact Theme

Any help would be highly appreciated.