cart = $cart; } public function render($withWrapper = true) { if (!$this->cart) { return ''; } ?>
renderOrderSummarySectionHeading(); ?>
renderItemsLists(); ?>
renderItemsFooter(); ?>

cart->getEstimatedTotal())); ?>
cart->cart_data; if (!$items) { return ''; } ?>
cart))->render(); } ?>
get('hide_coupon_field') === 'yes'; $hideCouponField = $hideCouponField || Arr::get($this->cart->checkout_data, 'disable_coupons', 'no') === 'yes'; ?>
  • > cart->getItemsSubtotal())); ?>
  • '; } else { echo '
  • '; } ?> cart->getShippingTotal())); ?> '; } public function renderFees() { $fees = $this->cart->getFees(); if (empty($fees)) { return; } foreach ($fees as $fee) { ?>
  • > cart->getEstimatedTotal())); ?>
  • cart->checkout_data, 'custom_checkout') === 'yes'; if (!$isCustomCheckout) { return ''; } $customerDiscountAmount = Arr::get($this->cart->checkout_data, 'custom_checkout_data.discount_total', 0); $formattedCustomDiscountAmount = Helper::toDecimal($customerDiscountAmount); $customShippingAmount = Arr::get($this->cart->checkout_data, 'custom_checkout_data.shipping_total', 0); $formattedCustomShippingAmount = Helper::toDecimal($customShippingAmount); $checkoutShippingData = $this->cart->checkout_data['shipping_data'] ?? []; $shippingMethodId = Arr::get($checkoutShippingData, 'shipping_method_id', ''); $shippingCharge = Arr::get($checkoutShippingData, 'shipping_charge', 0); // checking if shipping charge is again set from checkout ?> renderDiscountDetailRow(); } if ($customShippingAmount && !$shippingCharge){ $this->renderShippingDetailRow(); } } public function renderDiscountDetailRow() { $customerDiscountAmount = Arr::get($this->cart->checkout_data, 'custom_checkout_data.discount_total', 0); $formattedCustomDiscountAmount = Helper::toDecimal($customerDiscountAmount); ?>
  • -
  • cart->checkout_data, 'custom_checkout_data.shipping_total', 0); $formattedCustomShippingAmount = Helper::toDecimal($customShippingAmount); ?>
  • cart->getDiscountLines(); if (!$discounts) { return; } ?>
    $discount_data): ?>
    –
    cart->checkout_data, 'manual_discount', []); if (!$manualDiscount || !Arr::get($manualDiscount, 'amount', 0)) { return; } $title = Arr::get($manualDiscount, 'title', __('Manual Discount', 'fluent-cart')); $amount = Arr::get($manualDiscount, 'amount', 0); $formattedAmount = Helper::toDecimal($amount); ?>
  • -