swell-js
swell-js copied to clipboard
JS library for building storefronts and checkouts with Swell ecommerce.
I've been messing my brain around filtering products on client side by using `swell-js` sdk but it doesn't work. ```` const productsList = await swell.products.list({ $filters: { featured_products: 'yes', },...
This allows us to have the [element](https://stripe.com/docs/js/elements_object/get_element) in stripe events: ```ts swell.payment.createElements({ card: { onReady: function() { // context requires function (not arrow functions) console.log('card element ready') this.focus() // this...
I'm writing my application in TypeScript and would like to see TypeScript typing support.
I have products like this: ``` [ { name: 'Product 1', attributes: { width: '15', height: '20', channels: ['web', 'mobile'] } }, { name: 'Product 2', attributes: { width: '25',...
Hi there, If I want to only fetch the required fields then there is no documentation of how we can implement this on swell-js documentation. `https://{{swell-id}}:{{publicKey}}@api.swell.store/products?fields=slug` **I'm using this custom...
I added a New custom field "sort_order" under Product.Variants and its not being return with the other variant values. ``` typescript { id: "61bda8f4eee7af013d7950e9" name: "large" option_value_ids: ['61bda2b02af2a172378242f1'] price: 25.5...
Login in with correct username and password works perfect. Just if there passwords are incorrect there is no indication that the passwords or username is incorrect.
We really want to use Swell for multiple sites, but we still can't do so because your Braintree checkout on your checkout page is broken because it does not send...
Rationale: use stripe methods that are not proxied / facaded by Swell (e.g `elements` to specify custom font face for credit card inputs).