|
@@ -2,7 +2,7 @@
|
|
|
.purchase-step
|
|
|
.products-selector
|
|
|
searcher(:items='products' :keys="['name', 'displayName', 'ean13']" @onSearch='filterProducts')
|
|
|
- card-grid(:items='visibleProducts' :loading='loadingProducts' :details="['price:c']" @onSelect='selectProduct')
|
|
|
+ card-grid(:items='visibleProducts' :loading='loadingProducts' :details="['price:c']" :options='selectedCurrency' @onSelect='selectProduct')
|
|
|
variant-modal(:items='productWithVariant && productWithVariant.variants' :show='!!productWithVariant' @onSelect='selectProduct' @onClose='selectProduct')
|
|
|
price-modal(:item='itemPriced' :options='selectedCurrency' :show='!!itemPriced' @onAccept='changePrice' @onCancel='changePrice')
|
|
|
cart(:items='cartItems' @onIncrementQty='addToCart' @onChangePrice='changePrice' @onUndoPrice='undoPrice' @onDecrementQty='decreaseFromCart' @onDeleteItem='removeFromCart' @onTotalComputed='updateCartTotal' :options='selectedCurrency')
|