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.
Error on a fresh `yarn create slate-theme` product page, adding a single variant product to the cart. Perhaps related to #85 ? Console output: ``` Error: is empty. at _validateSerializedArray...
How would you feel about adding Typescript type definitions to these packages?
The default country of the logged in user isn't selected on page load. Issue seems to be here: ` if (countrySelect.dataset.default) { countrySelect.value = countrySelect.dataset.default; }` The value should be...
Bumps [hosted-git-info](https://github.com/npm/hosted-git-info) from 2.7.1 to 2.8.9. Changelog Sourced from hosted-git-info's changelog. 2.8.9 (2021-04-07) Bug Fixes backport regex fix from #76 (29adfe5), closes #84 2.8.8 (2020-02-29) Bug Fixes #61 & #65...
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.11 to 4.17.21. Commits f299b52 Bump to v4.17.21 c4847eb Improve performance of toNumber, trim and trimEnd on large input strings 3469357 Prevent command injection through _.template's variable...
Bumps [handlebars](https://github.com/wycats/handlebars.js) from 4.0.12 to 4.7.7. Changelog Sourced from handlebars's changelog. v4.7.7 - February 15th, 2021 fix weird error in integration tests - eb860c0 fix: check prototype property access in...
Can we get some proper documentation for these packages? theme-currency source was easy enough to read through and figure out but it would still be helpful for others. Overall these...
At the moment the request to the cart.js doesn't fetch the translated content of the products such as the title. Would it be possible to prefix the request url with...
As title suggests, the [cartAdd](https://github.com/Shopify/theme-scripts/blob/a83382de644959c5bcc22bf83b1659fe6966eeb2/packages/theme-cart/request.js#L26) endpoint doesn't support the `selling_plan_id` for adding a subscription product to cart. See here: https://shopify.dev/docs/themes/ajax-api/reference/cart#add-a-selling-plan
Bumps [y18n](https://github.com/yargs/y18n) from 3.2.1 to 3.2.2. Commits See full diff in compare view Maintainer changes This version was pushed to npm by oss-bot, a new releaser for y18n since your...