All files / src/app/shared/components/product/product-row product-row.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 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 57 58 59 60 61 62 63 64 65 66 67 68 69 702x                                                                                                                                          
<ng-container *ngIf="product$ | async as product">
  <div *ngIf="!product.failed" class="product-tile-list row" [attr.data-testing-sku]="product.sku">
    <div class="col-3 col-md-2">
      <div class="product-image-container">
        <ish-product-image imageType="S" [link]="true" />
        <ish-product-label />
      </div>
    </div>
 
    <div class="col-9 col-md-10">
      <div class="row">
        <div class="col-md-7">
          <ish-product-name />
 
          <ish-lazy-product-rating [hideNumberOfReviews]="true" />
 
          <ish-product-id />
 
          <div
            *ngIf="configuration$('description') | async"
            class="product-description"
            [ishServerHtml]="product.shortDescription"
          ></div>
 
          <ish-product-promotion displayType="simpleWithDetail" />
 
          <div class="product-tile-actions btn-group">
            <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-wishlist displayType="icon" cssClass="btn-link" />
            <ish-lazy-product-add-to-order-template displayType="icon" cssClass="btn-link" />
          </div>
        </div>
 
        <div class="col-12 col-md-5 text-md-right">
          <ish-product-price [showInformationalPrice]="true" />
          <ish-product-inventory />
          <ish-product-shipment />
 
          <ish-product-item-variations />
 
          <div class="product-list-actions-container">
            <ish-lazy-tacton-configure-product displayType="list-button" />
 
            <div class="product-form form-horizontal row">
              <ng-container *ngIf="configuration$('readOnly') | async; else quantityInput">
                <div class="action-container col-12 col-xl-7">
                  <span *ngIf="configuration$('quantity') | async"
                    >{{ 'product.quantity.label' | translate }}: {{ quantity$ | async }}</span
                  >
                </div>
              </ng-container>
              <ng-template #quantityInput>
                <div class="action-container col-6 offset-md-6 col-lg-5 offset-lg-0">
                  <ish-product-quantity />
                </div>
              </ng-template>
 
              <div class="action-container addtocart-container col-12 col-lg-7">
                <ish-product-add-to-basket />
                <ish-product-choose-variation />
              </div>
            </div>
          </div>
        </div>
      </div>
    </div>
  </div>
</ng-container>