@if ((loadingStatus$ | async)) { }
{{ '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 (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 ((selectedUser$ | async) && checkoutTotal && (selectedUser$ | async)!.point?.balance) {
  • {{ 'points' | translate }}

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

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

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

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

    {{ 'have_a_promo_code?' | translate }}

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

    {{ '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 }}