Shopify themes, liquid, logos, and UX
These few scripts you see above /shopifycloud/payment-sheet/assets/latest with different endings are blocking other important components like images, etc to load - other than that it's quite a lot of unused JS.
The problem here is that the defer/async function does not work on those scripts, so I assume they have some kind of default code written into it that disobeys the defer functions and I assume it's something payment-related based on the URL name. I've tried using:
<script defer src="link"> or /> or ></script>
and
<script src="link" defer></script>
and
<script src="{{ 'spb.js' | asset_url }}" defer="defer"></script>
Any ideas on how can I take care of these unused JS you see above?
I'm using Sense theme btw
bump
Shopify and our financial partners regularly review and update verification requiremen...
By Jacqui Mar 14, 2025Unlock the potential of marketing on your business growth with Shopify Academy's late...
By Shopify Mar 12, 2025Learn how to increase conversion rates in every stage of the customer journey by enroll...
By Shopify Mar 5, 2025