Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 | 4x | <div *ngIf="basket?.lineItems" class="cart-summary">
<div *ngFor="let pli of basket.lineItems; index as i" class="row cart-summary-checkout">
<ng-container *ngIf="isItemVisible(i)">
<!-- product name and price -->
<div class="col-8">
<ish-product-name ishProductContext [sku]="pli.productSKU" />
</div>
<div class="col-4 text-end pt-1">{{ pli.totals.total | ishPrice }}</div>
<!-- quantity and undiscounted price -->
<div class="col-8 cart-pli-data">
<span> {{ 'checkout.pli.qty.label' | translate }} {{ pli.quantity.value }} </span>
</div>
<div class="col-4 text-end">
<div *ngIf="pli.totals.valueRebatesTotal" class="old-price">
<span class="price-value">{{ pli.totals.undiscountedTotal | ishPrice }}</span>
</div>
<div *ngIf="pli.isFreeGift" class="list-item-promo">{{ 'checkout.pli.freegift.text' | translate }}</div>
</div>
<!-- promotions -->
<div *ngIf="pli.valueRebates?.length" class="col-12">
<ng-container *ngFor="let rebate of pli.valueRebates">
<ish-basket-promotion [rebate]="rebate" />
</ng-container>
</div>
<!-- warranty -->
<ng-container *ngIf="pli.warranty">
<div class="col-8">{{ pli.warranty.sku }}</div>
<div class="col-4 text-end">{{ pli.warranty.price | ishPrice }}</div>
</ng-container>
</ng-container>
</div>
<!-- 'Show All' and 'Hide All' links -->
<button
*ngIf="isShowAllLinkVisible()"
type="button"
class="btn btn-link btn-content-toggle mt-3"
(click)="toggleCollapse()"
>
{{ 'checkout.show_all.link' | translate : { '0': basket.lineItems.length } }}
<fa-icon [icon]="['fas', 'angle-down']" class="float-end" />
</button>
<button
*ngIf="isHideLinkVisible()"
type="button"
class="btn btn-link btn-content-toggle mt-3"
(click)="toggleCollapse()"
>
{{ 'checkout.hide_all.link' | translate }}
<fa-icon [icon]="['fas', 'angle-up']" class="float-end" />
</button>
</div>
|