{include file="./SettingsCheckout2Blocks.inc.html" inline} {$_title = "[`Checkout`]"|cat:" — ":{$wa->accountName(false)}|escape:'javascript'} {$_class = 's-settings-checkout-content'} {$_id = uniqid($_class)} {* Render checkout settings sidebar *} {$checkout_sidebar} {if $route && $checkout_config}

{sprintf('[`In-cart checkout setting for %s/%s`]', {$route.domain}, {$route.url|default:null|escape})}

{$_storefront_settings_path = sprintf("?action=storefronts#/design/theme=%s&domain=%s&route=%s&action=settings", $route.theme|default:'default'|urlencode, waIdna::enc($route.domain)|urlencode, $route.route_id|urlencode)}
{sprintf('[`In storefront settings you can switch between multi-step checkout and in-cart checkout.`]', $_storefront_settings_path)}
{* DESIGN SETTINGS *} {design_block settings=$checkout_config.design} {*
[`Checkout page demo`]
*} {* CART SETTINGS *} {* RECOMMENDATIONS SETTINGS *} {* ORDER SETTINGS *} {* CUSTOMER SETTINGS *} {* SHIPPING SETTINGS *} {* PAYMENT SETTINGS *} {* CONFIRMATION SETTINGS *}
{* Show/hide settings *}

[`Cart`]

{* Show/hide settings *}

[`Recommendations`]

{* Show/hide settings *}

[`General checkout settings`]

{* Show/hide settings *}

[`Customer`]

{* Show/hide settings *}
{if !empty($shipping_plugins)}
{else} {sprintf('[`Add a shipping method`]', '?action=settings#/shipping/')}
{/if}

[`Shipping`]

{if !empty($shipping_plugins)} {/if}
{* Show/hide settings *}
{if !empty($payment_plugins)}
{else} {sprintf('[`Add a payment method`]', '?action=settings#/payment/')}
{/if}

[`Payment`]

{if !empty($payment_plugins)} {/if}
{* Show/hide settings *}

[`Confirmation`]

{* FIXED Buttons *}
{else}
[`Storefront not found.`]
{/if}