shippingMethods = $shippingMethods; $this->selectedId = $selectedId; } public function render() { $errorId = 'shipping-methods-error'; ?>

renderBody(); ?>
shippingMethods)) { $this->renderEmpty($this->shippingMethods->get_error_message()); } else if ($this->shippingMethods) { $this->renderMethods(); } else { $this->renderEmptyState(); } } public function renderEmptyState() { ?> shippingMethods)) { return; } $errorId = 'shipping-methods-error'; ?>
renderLoader(); ?> shippingMethods as $shippingMethod) : ?>
selectedId, $shippingMethod->id); ?> name="fc_shipping_method" id="shipping_method_id); ?>" value="id); ?>" />
'', 'envelope' => '', 'soft_package' => '', ]; return $icons[$type] ?? $icons['box']; } }