@if((cartItem$ | async)?.length){
@for(item of cartItem$ | async; track item){ }
product
  • {{item?.variation ? item.variation.name : item?.product?.name}}
  • @if(item?.product && item?.product?.unit){
  • {{ 'unit' | translate }}: {{item.product.unit}}
  • }
  • {{ 'price' | translate }} :
    {{ (item?.variation ? item?.variation?.sale_price : item?.product && item?.wholesale_price ? item?.wholesale_price! : item?.product?.sale_price) | currencySymbol }} @if(item?.product?.discount){ {{ (item?.variation ? item?.variation?.price : item?.product?.price) | currencySymbol }} }
  • @if(item?.product?.discount){
  • {{ 'saving' | translate }}: {{ ((item?.variation ? item?.variation!.price : item.product.price) - (item.variation ? item?.variation!.sale_price : item.product.sale_price)) | currencySymbol }}
  • }
  • {{ 'total' | translate }}: {{ (item?.variation ? item.variation.sale_price : item.product.sale_price) * item?.quantity! | currencySymbol }}

{{ 'price' | translate }}

{{ (item?.variation ? item?.variation?.sale_price : item?.product && item?.wholesale_price ? item?.wholesale_price! : item?.product?.sale_price) | currencySymbol }} @if(item?.product?.discount){ {{ (item.variation ? item.variation.price : item.product.price) | currencySymbol }} }
@if(item.product.discount){
{{ 'you_save' | translate }} : {{ ((item.variation ? item.variation.price : item.product.price) - (item.variation ? item.variation.sale_price : item?.product && item?.wholesale_price ? item?.wholesale_price! : item?.product?.sale_price!)) | currencySymbol }}
}

{{ 'quantity' | translate }}

{{ 'total' | translate }}

{{ (item.variation ? item.variation.sale_price : item?.product && item?.wholesale_price ? item?.wholesale_price! : item?.product?.sale_price!) * item.quantity | currencySymbol }}

{{ 'action' | translate }}

{{ 'save_for_later' | translate }} {{ 'remove' | translate }}

{{ 'cart_total' | translate }}

  • {{ 'subtotal' | translate }}

    {{ (cartTotal$ | async) || 0 | currencySymbol }}

  • @if(!(cartDigital$ | async)){
  • {{ 'shipping' | translate}}

    {{ 'cost_at_checkout' | translate }}

  • }
  • {{ 'tax' | translate }}

    {{ 'cost_at_checkout' | translate }}

  • {{ 'total' | translate }}

    {{ (cartTotal$ | async) || 0 | currencySymbol }}

} @if(!(cartItem$ | async)?.length){ }