Dawn theme view in your space button not appearing despite having a 3d model

I’m just setting up Dawn ready to move across from a different theme. The view in your space button isn’t appearing below the product images on mobile despite having 3d models included on products.

The view in your space button appears on the demo Dawn site but doesn’t seem to be included on the theme version that is actually downloaded.

I’ve found a temporary fix for this by adding the following code to the ‘product-media-gallery.liquid’ snippet just above line 150 {%- if first_3d_model -%} :

{%- assign first_3d_model = product.media | where: ‘media_type’, ‘model’ | first -%}

The view in your space button now appears.

Is it possible that the demo Dawn store has different coding to the latest theme version that I downloaded and an equivalent line of code is missing?

Before code change:

After adding extra line of code:

Thanks for this. It’s working for me after adding the code. But it’s working only on safari not on chrome. Any suggestions?

1 Like

did you find a solution to this?

Hello, did you resolve the issue with chrome?

I am not sure about this but as per my research, I found that the “View in your space” functionality only works on iPhone+Safari, not on iPhone+chrome or any other browser

I am not sure about this but as per my research, I found that the “View in your space” functionality only works on iPhone+Safari, not on iPhone+chrome or any other browser.

It is written in their document that “you can use the Shopify-XR library to support AR Quick Look in iOS’s Safari, and Android’s Scene Viewer.”

1 Like

Thank you for your kind response!