Preview bar is not appearing on foorter when I preview theme

On my shopify store on ubpublished theme when i preview the theme, previewbar is not appearing on bottom so I am unable to share the preview with someone with done changes un unpublished theme, so i am forced to do the changes to live site to show to someone. How can I get it back?

hey @mnad.dev Welcome to Community for that problem you have to check your internet connection in to system i just thing so there is some net work issues in your site

This is due to two problems: Your cache is not accepting this, or you have scripts in your theme (including apps!) that always exit the preview directly.

Open the preview link in another browser to exclude the cache of your current browser. If this does not work, you will have to exclude your apps or scripts one by one.

@Nordalux I dont have such apps preventing preview bar, I doubt it might be embedded in theme , but how can I check where its embeded, or is there any way where i can overide the code in theme which is preventing the preview bar to appear ?

Have you already tested the preview in another browser?

yes I tested in multiple browsers and computers it does not show the preview bar including incognito window.

Please click ‘…’ on your unpublished theme and you can see the copy preview link icon


on footer you see black bar in your second image , its not appearing to me , i checked multiple times on different browsers and even incognito window as well.

If your website is live, sometimes “preview” is just the live site. That’s just the way it is, especially if the browser caches your page. Nothing wrong with that. Even if you download a new theme and preview, sometimes it just goes to the live site.

I think there is some code in theme which is preventing footer preview bar, however its little diffcult for me to find the right place to allow the preview bar.

Does it really hurt anything? It’s an information bar that just gets in the way when trying to see the footer. :man_shrugging:

You can always replace it

because it does not appear , I have to perform all changes to live to show to client, else i can generage a preview link to show to client to get approval befor i can make the changes live.