Why does the app load so slow?

Add quick load code

To top
Please note that you will have to manually delete this code if you uninstall the app. You can also easily remove all our apps code with one click in our installation section.

Our app may load slowly because it needs to wait for other resources on your page to load before our app loads.

To the load our options faster follow these instructions.

  • Under your published theme click on Actions > Edit Code
  • In the theme.liquid file add this code just right after our two lines of code that are located after the <head> tag
<script src="https://obscure-escarpment-2240.herokuapp.com/js/best_custom_product_options.js?shop={{shop.permanent_domain}}"></script>

It will be located near the top of the page

 

Hide theme’s original options.

To top
If you are using our options on all your products you can use the code below. This will hide your themes original options (may not work on all themes).

In the theme.liquid file add this code just right after the <head> tag.

<style>
.selector-wrapper.product-form__item {
display: none;
}
</style>
If you aren’t using our app on all your products then this code will hide your theme’s options and they won’t be able to see them or select them.

If you need help setting this up, contact us and we’ll add the code for you.

Was this article helpful?
Dislike 7

Pin It on Pinterest