theme-scripts icon indicating copy to clipboard operation
theme-scripts copied to clipboard

Theme Scripts is a collection of utility libraries which help theme developers with problems unique to Shopify Themes.

Results 69 theme-scripts issues
Sort by recently updated
recently updated
newest added

Webpack reports a warning: ` @shopify/[email protected]" has incorrect peer dependency "@shopify/theme-product@^1.0.0"`

Bumps [elliptic](https://github.com/indutny/elliptic) from 6.4.1 to 6.5.4. Commits 43ac7f2 6.5.4 f4bc72b package: bump deps 441b742 ec: validate that a point before deriving keys e71b2d9 lib: relint using eslint 8421a01 build(deps): bump...

dependencies

There is a discrepancy between JSON returned from `fetch('/products/PRODUCT_HANDLE.js')` and `{{ product | json }}`. In first one, _options_ property contains array of objects: ``` options: [ {name: "Option1", position:...

In multilingual stores, searching resource type 'product' returns product items with 'title' and 'body' fields containing all languages combined in a single string without any meaningful delimiter, which makes these...

with .js endpoint: onoptionchange callback is setting variant to null and breaking the website when it encounters a variant which contains an option title that has a   hidden in...

cart.getShippingRates().then(rates => { console.log('Got shipping rates:', rates); }); ![image](https://user-images.githubusercontent.com/22297863/108328157-f279b500-71d4-11eb-8469-8f7acb760903.png) Could you help me to fix this error, please

Add currency formatting for `amount_with_apostrophe_separator` according to [docs](https://help.shopify.com/en/manual/payments/currency-formatting).

Add support for `.jpeg.webp` & `.jpg.webp` images in the `getSizedImageUrl` function. Shopify outputs images in WEBP format which need to be able to have sizes added, for example this real...

## Purpose The goal of this PR is to add an optional parameter to pass custom selectors to theme-product-form. Currenly, it is always default to fixed selector. This would open...

The [official docs](https://shopify.dev/docs/themes/theme-templates/customers-addresses-liquid) suggest to import this class from `@shopify/theme-addresses`, but it hasn't existed in the package for years. Why was it removed? See [other comment](https://github.com/Shopify/starter-theme/issues/74#issuecomment-771236366)