wickes-css2 2.103.0-develop.9 → 2.103.0-et-774-filter-whisk.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/css/category-main.css +1 -1
- package/build/css/homepage-main.css +1 -1
- package/build/css/kitchen-plp-main.css +1 -1
- package/build/css/main.css +1 -1
- package/build/css/my-account-main-v2.css +1 -1
- package/build/css/my-account-main.css +1 -1
- package/build/css/pdp-main-before-combine.css +1 -1
- package/build/css/pdp-main-non-critical.css +1 -1
- package/build/css/pdp-main.css +1 -1
- package/build/css/plp-main.css +1 -1
- package/build/css/store-locator-main.css +1 -1
- package/build/js/basket.min.js +2 -2
- package/build/js/bundle.min.js +1 -1
- package/build/js/checkout.min.js +2 -2
- package/build/js/emulation.min.js +10 -954
- package/build/js/general.bundle.min.js +1 -1
- package/build/js/kitchen/kitchen-plp.min.js +1 -1
- package/build/js/merged-checkout.min.js +2 -2
- package/build/js/page/basket-v2.js +244 -138
- package/build/js/page/components/discounts.js +6 -6
- package/build/js/page/kitchen/plp-filters.js +12 -0
- package/build/js/pdp.bundle.min.js +1 -1
- package/build/js/plp.bundle.min.js +1 -1
- package/build/js/project-list.min.js +1 -1
- package/package.json +2 -2
- package/src/components/mini-basket/mini-basket-empty.hbs +13 -3
- package/src/components/mini-basket/mini-basket.hbs +13 -32
- package/src/components/mini-basket/product-item.hbs +16 -37
- package/src/data/data_confirmation-summary.json +2 -4
- package/src/data/data_mini-basket.json +80 -4
- package/src/js/components/general/cart-slider.js +0 -4
- package/src/js/components/general/create-popup-slider.js +2 -5
- package/src/js/components/general/mini-basket-slider.js +8 -0
- package/src/js/emulation/custom-slider-emulation.js +10 -4
- package/src/js/page/basket-v2.js +244 -138
- package/src/js/page/components/discounts.js +6 -6
- package/src/js/page/kitchen/plp-filters.js +12 -0
- package/src/layouts/base.hbs +6 -0
- package/src/partials/scripts.hbs +0 -1
- package/src/scss/components/_custom-slider.scss +3 -131
- package/src/scss/components/_popover-mini-basket.scss +4 -0
- package/build/js/mini-basket-slider.min.js +0 -1
- package/build/js/page/basket/basket-update-cart-action.js +0 -59
- package/build/js/page/basket/basket-update-cart.js +0 -29
- package/build/js/page/basket/basket-utils.js +0 -50
- package/build/js/page/basket/mini-basket-total.js +0 -97
- package/build/js/page/basket/quantity-change-handler.js +0 -64
- package/build/js/page/basket/update-quantity-operation.js +0 -37
- package/build/js/page/basket/update-quantity.js +0 -65
- package/build/js/page/components/mini-basket-slider.js +0 -569
- package/src/components/mini-basket/mini-basket-order-item.hbs +0 -73
- package/src/js/emulation/mini-basket-data.js +0 -949
- package/src/js/page/basket/basket-update-cart-action.js +0 -59
- package/src/js/page/basket/basket-update-cart.js +0 -29
- package/src/js/page/basket/basket-utils.js +0 -50
- package/src/js/page/basket/mini-basket-total.js +0 -97
- package/src/js/page/basket/quantity-change-handler.js +0 -64
- package/src/js/page/basket/update-quantity-operation.js +0 -37
- package/src/js/page/basket/update-quantity.js +0 -65
- package/src/js/page/components/mini-basket-slider.js +0 -569
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
<div class="card product-card-preview" data-id="{{item.entryNumber}}">
|
|
2
|
-
<div
|
|
3
|
-
class="products__item card__inner"
|
|
4
|
-
data-name="{{item.product.name}}"
|
|
5
|
-
data-id="{{item.product.code}}"
|
|
6
|
-
data-price="{{item.product.price.formattedPriceWithoutCurrencySymbol}}"
|
|
7
|
-
data-brand="{{item.product.brandName}}"
|
|
8
|
-
data-category="{{removeFirst item.product.categoryPath 'Products/'}}"
|
|
9
|
-
data-position="{{position}}"
|
|
10
|
-
data-quantity="{{item.quantity}}"
|
|
11
|
-
>
|
|
12
|
-
<a href="{{item.product.url}}" class="card__img-wrap card__img-wrap_link products__image">
|
|
13
|
-
<img
|
|
14
|
-
class="product-img"
|
|
15
|
-
src="{{item.product.image.url}}"
|
|
16
|
-
alt="{{item.product.image.altText}}">
|
|
17
|
-
</a>
|
|
18
|
-
<div class="products__details product-card__content">
|
|
19
|
-
<div class="products__details-header">
|
|
20
|
-
<a href="{{item.product.url}}" class="title product-card__title product-card__title_link">
|
|
21
|
-
{{item.product.name}}
|
|
22
|
-
</a>
|
|
23
|
-
<button class="btn btn--remove {{#unless item.updateable}}d-none{{/unless}}" data-action="remove">
|
|
24
|
-
<i class="fas fa-trash remove-icon"></i>
|
|
25
|
-
</button>
|
|
26
|
-
</div>
|
|
27
|
-
<div class="products__details-body">
|
|
28
|
-
{{#if item.deliveryPointOfService.name}}
|
|
29
|
-
<p class="item">Click & Collect: <span class="value">{{item.deliveryPointOfService.description}}</span></p>
|
|
30
|
-
{{else}}
|
|
31
|
-
<p class="item">Added for delivery</p>
|
|
32
|
-
{{/if}}
|
|
33
|
-
</div>
|
|
34
|
-
|
|
35
|
-
{{{promotionsHtml}}}
|
|
36
|
-
|
|
37
|
-
<div class="products__details-footer">
|
|
38
|
-
<div class="products__quantity-control">
|
|
39
|
-
<button class="btn btn--quantity" data-action="minus"
|
|
40
|
-
{{#unless item.updateable}}disabled{{/unless}} {{#if (eq item.quantity 1)}}disabled{{/if}}>
|
|
41
|
-
<i class="fal fa-minus quantity-cta-icon"></i>
|
|
42
|
-
</button>
|
|
43
|
-
<div class="quantity product-card__quantity-label">
|
|
44
|
-
<span class="value product-card__quantity-value" value="{{item.quantity}}">{{item.quantity}}</span>
|
|
45
|
-
</div>
|
|
46
|
-
<button class="btn btn--quantity" data-action="plus" {{#unless item.updateable}}disabled{{/unless}}>
|
|
47
|
-
<i class="fal fa-plus quantity-cta-icon"></i>
|
|
48
|
-
</button>
|
|
49
|
-
</div>
|
|
50
|
-
{{#if (eq item.basePrice.value 0)}}
|
|
51
|
-
<span class="order-item__value product-card__price-value">FREE</span>
|
|
52
|
-
{{else}}
|
|
53
|
-
{{#if (isToggleVatAvailable)}}
|
|
54
|
-
<div class="price including-vat-inherit">
|
|
55
|
-
<span class="product-card__price-value">
|
|
56
|
-
<span class="order-item__value">{{item.basePrice.formattedValue}}</span>
|
|
57
|
-
<span class="inc">Inc.VAT</span>
|
|
58
|
-
</span>
|
|
59
|
-
</div>
|
|
60
|
-
<div class="price excluding-vat-inherit">
|
|
61
|
-
<span class="product-card__price-value">
|
|
62
|
-
<span class="order-item__value">{{item.basePriceExcVat.formattedValue}}</span>
|
|
63
|
-
<span class="inc">Exc.VAT</span>
|
|
64
|
-
</span>
|
|
65
|
-
</div>
|
|
66
|
-
{{else}}
|
|
67
|
-
<span class="price product-card__price-value">{{item.basePrice.formattedValue}}</span>
|
|
68
|
-
{{/if}}
|
|
69
|
-
{{/if}}
|
|
70
|
-
</div>
|
|
71
|
-
</div>
|
|
72
|
-
</div>
|
|
73
|
-
</div>
|