How to delay loading of price

Highlighted
Tourist
6 0 0

I would like to briefly delay the loading of the price in our shop. This is because we are blocking visitors from certain countries so that our global customers aren't able to access our regional pricing. However, there is a brief lapse before the country blocker redirects the visitor during which the visitor could see the price. I'd like to delay the price load by about half a second to account for this. Any suggestions of the code I can add to accomplish this?

0 Likes
Highlighted
Shopify Staff
Shopify Staff
429 47 96

Hey, @kchart 

This would be experts territory since if possible, it would require some custom coding within your store pages. You can find and hire a Shopify developer expert by visiting our directory here

If there is anything else I can help you with, please let me know.

 

 

Dirk | Social Care @ Shopify 
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit the Shopify Help Center or the Shopify Blog

0 Likes
Highlighted
Shopify Partner
1012 209 254

Hello 

Pass inline style to price html 

style="visibility:hidden;"

And with JS timeout-function load it accordingly e.g

setTimeout(function(){document.getElementById('ID_of_price_html').style.visibility = "visible";
},30000);

Note:  Solution will not work if you don't know how to add inline css and JS
Thanks

Want to modify or custom changes on store hire me.
My Email: guleriathakur43@gmail.com
Skype: navrocks1
If helpful then please Like and Accept Solution.
If you are happy and want to donate small Click here (Its my paypal)
0 Likes