All files / src/app/shared/components/product/product-tile product-tile.component.html

100% Statements 1/1
100% Branches 0/0
100% Functions 0/0
100% Lines 1/1

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 302x                                                          
<ng-container *ngIf="product$ | async as product">
  <div *ngIf="!product.failed" class="product-tile" [attr.data-testing-sku]="product.sku">
    <div class="product-image-container">
      <ish-product-image imageType="M" [link]="true" />
      <ish-product-label />
    </div>
 
    <ish-product-name />
 
    <ish-lazy-product-rating [hideNumberOfReviews]="true" />
 
    <ish-product-promotion displayType="simple" />
 
    <div *ngIf="configuration$('price') | async" class="price-container">
      <ish-product-price [showInformationalPrice]="true" />
    </div>
 
    <ish-product-item-variations />
 
    <div class="product-tile-actions btn-group">
      <ish-lazy-tacton-configure-product displayType="icon" />
      <ish-lazy-product-add-to-quote displayType="icon" cssClass="btn-link" />
      <ish-lazy-product-add-to-compare displayType="icon" cssClass="btn-link" />
      <ish-lazy-product-add-to-order-template [cssClass]="'btn btn-link mr-0'" displayType="icon" />
      <ish-lazy-product-add-to-wishlist cssClass="btn-link" displayType="icon" />
      <ish-product-add-to-basket displayType="icon" cssClass="btn-link" />
    </div>
  </div>
</ng-container>