Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more
HI!
Hope you're well!
Anybody have the original development version of this 'options_selection.js' file?
i know, we have the public version thats variable names doesn't makes sense when reading.
{{ 'option_selection.js' | shopify_asset_url | script_tag }}
anybody can provide the development version of the shopify asset file?
Thanks!
Hi @arifursdev,
You can refer: https://github.com/osiset/Shopify-OptionSelectorsCustom
Or if you want to check the file, you can refer to the link: https://cdn.shopify.com/shopifycloud/shopify/assets/themes_support/option_selection-fe6b72c2bbdd3369...
Hope it helps!
Thanks for you reply!
But i was actually looking for the original file, as mentioned i know this minified version or i have it.
but that would have really helped me if Shopify could include the development version of the file.
// outputs the minified version
{{ 'option_selection.js' | shopify_asset_url | script_tag }}
// is this possible to add development version or unminified version of this? there is no way shopify developers write there code in unreadable way
{{ 'option_selection.dev.js' | shopify_asset_url | script_tag }}
its public so it makes sense to have a development version of the file for readability.
Hi @arifursdev,
You can create it yourself, then add the following code directly, it will work fine.
Hope it helps!
What he's saying is that the code at that url: https://cdn.shopify.com/shopifycloud/shopify/assets/themes_support/option_selection-fe6b72c2bbdd3369...
Is minified. He wants the _development_ version, so the code is readable. As do I! Any idea where a _readable_ version of that code is, that isn't minified?