Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
Hi!
Our website is loading slow all of a sudden and seems that sometimes it is ok but sometimes is taking quite a while. And this issue seems to occur only recently. There is this particular thing "https://shopoe.net/app.js" that is taking up quite a bit of loading time but I noticed this does not occur everytime. I am not sure which Shopify app is causing this or how to solve this. Please refer to attachment for the screenshot.
The store theme is Turbo Theme from Out of the Sandbox.
Website: https://estore.novita.com.sg/
Hope to have some advice! Thank you in advance!!
It loads quite fast on my browser at home.
But it might be the shopoe.net/app.js
I've ran your site through gtmetrix which is a speed testing service.
https://gtmetrix.com/reports/estore.novita.com.sg/SS6czsTQ
That 500 error you are seeing is definitely the cause for the slowness.
And what's worse is it is blocking the page from rendering. I'm not entirely sure what that app does, but you can consider 3 options:
Let me know if I can help further.
Cheers,
Gab
Hi Gab,
Thank you for your reply and for sharing the gtmetrix site!
The issue is that I'm totally clueless which app is causing this script to run.
Is there any way that I can find out which particular app is causing this?
Thanks!!
That script is called in your theme.liquid's header which may or may not be related to a popapp script in the same area|line.
You should be running tests before and after installing apps and trying to note related files.
Additionally keep track of any file changes using version control.
I think the poster above mentioned that you can look at that to see which app is causing it.
If you need help with that let me know.
Hi @ui-gab , I just posted a screenshot of where the script is located at, not sure whether is that the correct place I should be looking.
That script is called in your theme.liquid's header which may or may not be related to a popapp script in the same area|line.
You should be running tests before and after installing apps and trying to note related files.
Additionally keep track of any file changes using version control.
Contact paull.newton+shopifyforum@gmail.com for the solutions you need
Save time & money ,Ask Questions The Smart Way
Problem Solved? ✔Accept and Like solutions to help future merchants
Answers powered by coffee Thank Paul with a ☕ Coffee for more answers or donate to eff.org
Hi @PaulNewton,
Thanks!!! I tried to access the theme.liquid file and saw that this script coding is appearing below this "sca.storepickup" and "sca-customerinfo" codings.
I'm not very familar with this but do you mean that this error may be related to these app?
I do have this "Intuitive Shipping" App that have store pickup function, while the other "sca-customerinfo" not sure is it related to this app as well or is this some other app?
This is the screenshot of where the "shopoe.net/app.js" script is found under my theme.liquid file.
comment it out and test your site
{% comment%} .... {% endcomment %}
Then to try and track down the source click "Older versions" and find the time/date when that code appeared and try to correlate it to a change or app install.
Following the domain name doesn't reveal anything that helps identify the app itself, nor does the javascript it loads.
Contact paull.newton+shopifyforum@gmail.com for the solutions you need
Save time & money ,Ask Questions The Smart Way
Problem Solved? ✔Accept and Like solutions to help future merchants
Answers powered by coffee Thank Paul with a ☕ Coffee for more answers or donate to eff.org
So sorry I'm not really savvy in this, may I confirm, do you mean that i should do the following, save it and see whether this error occur again?
{% comment%} <script src="https://shopoe.net/app.js"></script> {% endcomment %}
I believe he is saying to try and narrow it down which app it came from and if it is still being used.
If it doesn't break anything you weren't really using that code to begin with and doesn't belong to an app you are currently using, you can probably just get rid of it.
Some low quality app developers will leave code inside of your theme.liquid file even after it has been uninstalled. There are much better methods for app developers to install code onto your website.
Cheers,
I believe he is saying to try and narrow it down which app it came from and if it is still being used.
Yes commenting out such a change can help identify apps by then testing the theme for changes, missing features or errors
As can going through the older versions to correlate when the change occured
Contact paull.newton+shopifyforum@gmail.com for the solutions you need
Save time & money ,Ask Questions The Smart Way
Problem Solved? ✔Accept and Like solutions to help future merchants
Answers powered by coffee Thank Paul with a ☕ Coffee for more answers or donate to eff.org
Thank you so much for both of your help and advices! @ui-gab @PaulNewton
I have looked through the older version of the theme.liquid file and this code has been there ever since the very 1st version of the code.
So I still could not figure out which is the app that is causing this.
I tried to comment out the code and now the site loading improved so much!
Shall leave it as it is and monitor whether it affected any app.
Thank you both!!!
I have looked through the older version of the theme.liquid file and this code has been there ever since the very 1st version of the code
Hrrrm keep in mind file versions don't propagate when you duplicate a theme so if you have unpublished version you'd have to dig.
There's also the option of getting a copy of the latest version of the theme and checking if its' there.
Overall seems a little suspicious to me since a basic search turns up zero indications of what app is using that domain.
If it's not a sloppy app uninstall it could also be tracking code someone added to have I.P address data on your customers.
I'd definately contact the theme developers for clarification if this is supposed to be in there and if they say no remove it permanently eventually.
No need to reply.
Contact paull.newton+shopifyforum@gmail.com for the solutions you need
Save time & money ,Ask Questions The Smart Way
Problem Solved? ✔Accept and Like solutions to help future merchants
Answers powered by coffee Thank Paul with a ☕ Coffee for more answers or donate to eff.org
hi @nov_sg
I am facing the same problem.
Did you manage to identify which app is behind shopoe.net? It seems that isn't loading anymore on your website.
Thanks in advance.
@Ismaelo find the relevant line in your theme and either delete it or comment it out by wrapping it with comment tags:
{%-comment-%} ... {%endcomment%}
Contact paull.newton+shopifyforum@gmail.com for the solutions you need
Save time & money ,Ask Questions The Smart Way
Problem Solved? ✔Accept and Like solutions to help future merchants
Answers powered by coffee Thank Paul with a ☕ Coffee for more answers or donate to eff.org
Hi @Ismaelo, unfortunately I have not identify which app is causing this but after using the method that @PaulNewton mentioned about commenting it out, I managed to stop it from loading anymore.
I see that the last reply is more than a year old, but suddenly someone will find this information useful.
var appElement = document.getElementById('beappjs-wrapper-ct');if (appElement) {appElement.style.display = 'block';}
This line, which you see in PageSpeed Insights and in the theme code, appeared after installing the contact form app.
We recently spoke with Zopi developers @Zopi about how dropshipping businesses can enha...
By JasonH Oct 23, 2024A big shout out to all of the merchants who participated in our AMA with 2H Media: Holi...
By Jacqui Oct 21, 2024We want to take a moment to celebrate the incredible ways you all engage with the Shopi...
By JasonH Oct 15, 2024