{{ 'checkout' | translate }}
@if(!(cartItem$ | async)?.length){ } @if((cartItem$ | async)?.length){
    @for(item of cartItem$ | async; track item){
  • product

    {{ item?.variation ? item?.variation?.name : item?.product?.name }}

    {{ (item?.variation ? item.variation.sale_price : item?.product && item?.wholesale_price ? item?.wholesale_price : item?.product?.sale_price)! | currencySymbol }} X {{ item.quantity }}
    {{ (item?.variation ? item.variation.sale_price : item?.product && item?.wholesale_price ? item?.wholesale_price : item?.product?.sale_price)! * item.quantity | currencySymbol }}
  • }
}
@if((cartItem$ | async)?.length){ @if(form){
@if(loading){
}
  • {{ 'subtotal' | translate }}

    {{ (checkoutTotal ? (checkoutTotal.total.sub_total | currencySymbol) : 'not_calculated_yet' | translate ) }}

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

    {{ (checkoutTotal ? (checkoutTotal.total.shipping_total | currencySymbol) : 'not_calculated_yet' | translate) }}

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

    {{ (checkoutTotal ? (checkoutTotal.total.tax_total | currencySymbol) : 'not_calculated_yet' | translate ) }}

  • @if((user$ | async) && checkoutTotal && (user$ | async)?.point?.balance){
  • {{ 'points' | translate }}

    {{ (checkoutTotal ? (checkoutTotal.total.convert_point_amount! | currencySymbol) : 'not_calculated_yet' | translate ) }}

  • } @if((user$ | async) && checkoutTotal && (user$ | async)?.point?.balance){
  • } @if((user$ | async) && checkoutTotal && (user$ | async)?.wallet?.balance){
  • {{ 'wallet_balance' | translate }}

    {{ (checkoutTotal ? (checkoutTotal.total.convert_wallet_balance! | currencySymbol) : 'not_calculated_yet' | translate ) }}

  • } @if((user$ | async) && checkoutTotal && (user$ | async)?.wallet?.balance){
  • } @if((user$ | async) && checkoutTotal){
  • @if(!coupon && !appliedCoupon){

    {{ 'have_a_promo_code?' | translate }}

    } @if(coupon && !appliedCoupon){
    {{ 'apply' | translate }} @if(couponError){
    {{ couponError }}
    }
    } @if(appliedCoupon){
    offer gif

    {{ 'you_saved' | translate }} {{ checkoutTotal.total.coupon_total_discount | currencySymbol }} {{ 'with_this_code' | translate }} 🎉

    {{ 'coupon_applied' | translate }}

    {{ 'remove' | translate}}
    }
  • }
  • {{ 'total' | translate }}

    {{ (checkoutTotal ? (checkoutTotal.total.total | currencySymbol) : 'not_calculated_yet' | translate ) }}

{{ 'place_order' | translate }}
} }