Hiding the content when redirecting to another URL.

Hiding the content when redirecting to another URL.

harukajmickey
Shopify Partner
119 0 9

Hi,

I am using Dawn theme.

 

I set the javascript to redirect from valid URLs 

 

https://0ssjyuvox4gmyu1y-62809473262.shopifypreview.com/search

https://0ssjyuvox4gmyu1y-62809473262.shopifypreview.com/collections

to this URL.

https://0ssjyuvox4gmyu1y-62809473262.shopifypreview.com/collections/all?pf_st_fan_mai_zhuang_kuang=i...

 

The website shows the valid page instantly and then redirects to a new URL.

Could you hide the pages?

 

Thanks in advance!

 

Reply 1 (1)

gr_trading
Shopify Partner
1998 147 205

Hi @harukajmickey ,

 

You can add a black overlay with the loader image via reading a query param, or cookie which you will add/create on clicking on desired content. Overlay will hide all the content present on the page.

For any custom development WhatsApp or connect at Email ID: gr.trading15@gmail.com for quick consultation. | Shopify Free codes
To support Buy Me a Coffee