theme-scripts
theme-scripts copied to clipboard
Theme Scripts is a collection of utility libraries which help theme developers with problems unique to Shopify Themes.
This pull request reconciles the fact that address forms use 2-letter codes for country and zone as their option values, while Shopify's Liquid {{ form.country }} and {{ form.province }} ...
Propsed change in #110 - allows pending requests to be aborted via an `AbortController`.
This library is proving super helpful to the team I'm working with, thanks! Just one thing we've ran into - currently there is no way to cancel a pending request....
I am having trouble translating the form labels and values (e.g the country drop-down) into Norwegian. The "theme-addresses" package has defined which languages are supported (line 51 in theme-addresses/loader.js), so...
Feel like this may be more of a question than issue so please let me know if this is the wrong spot. As I understand the `import { AddressForm }...
We've recently found on a merchant of ours an issue were the Facebook pixel was firing twice. This was just a regular pixel install by supplying the id in the...
Shopify starter and Slate have a function that looks like the below. ``` import {cookiesEnabled} from '@shopify/theme-cart'; // Apply a specific class to the html element for browser support of...
I get it... the product has no variants so it shouldn't return a variant object. But I think it should return `null` so we can check for that easily. Or...
Is there any documentation for this entry point? https://github.com/Shopify/theme-scripts/blob/bcfb471f2a57d439e2f964a1bb65b67708cc90c3/packages/theme-addresses/loader.js#L27
Hi! I wasn't sure where to ask - but would the maintainers be open to a PR removing Jquery as a dependency? Didn't want to spend time on it if...