Hi! Looking for Original Option_Selection.js file

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-fe6b72c2bbdd3369ac0bfefe8648e3c889efca213baefd4cfb0dd9363563831f.js

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.

https://cdn.shopify.com/shopifycloud/shopify/assets/themes_support/option_selection-fe6b72c2bbdd3369ac0bfefe8648e3c889efca213baefd4cfb0dd9363563831f.js

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-fe6b72c2bbdd3369ac0bfefe8648e3c889efca213baefd4cfb0dd9363563831f.js

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?