These are chat archives for reactioncommerce/reaction
@PaulSavignano, ok, I see two ways: complex one, and the one you already know))
complex: you need to extend
addToCart method to allow arrays of variants with arrays of their quantity. It could be some kind of object instead of array.
then it will be good to expand product variant schema to allow it to accept several variants at once.
and you'll need to extend UI to hold all selected variants somewhere before adding to cart.
And the way you know is the last part from previous + loop over
addToCart method calls. This is from the first glance.
addToCartcallbacks without any changes on server side.
reaction/packages/reaction-core-theme/theme/dashboard/packages/grid/package/package.less:4:11: variable @brand-success is undefined reaction/packages/reaction-core-theme/theme/layout/header/tags/tags.less:8:2: .margin-left is undefined reaction/packages/reaction-core-theme/theme/cart/checkout/checkout.less:2:2: .flex is undefined reaction/packages/reaction-core-theme/theme/dashboard/orders/orders.less:13:2: .btn-success is undefined reaction/packages/reaction-core-theme/theme/layout/header/header.less:11: .ltr is undefined reaction/packages/my-custom-theme-template/styles/base.less:10:2: .margin-left is undefined reaction/packages/reaction-core-theme/default/panels.less:4:4: .flex is undefined