{capture assign="_settings_button"} [`Settings`] {/capture}
{* Render checkout settings sidebar *} {$checkout_sidebar} {if $redirect_hash} {/if} {* Render content *}

{* TODO: DEPRECATE PERMANENTlY *} {if $wa->locale() == 'ru_RU'} Раздел упразднен в Shop-Script 10.0. Для настройки упраздненного пошагового оформления заказа используйте старый интерфейс или переключите витрину в новый режим оформления заказа в корзине в настройках витрины (поселения). {else} Deprecated in Shop-Script 10.0. To set up the deprecated multi-step checkout, use the old UI mode. Or enable the in-cart checkout mode in the storefront (routing) settings. {/if}

{if empty($old_storefronts)}
{sprintf('[`No storefronts with multi-step checkout. Go to the storefronts settings.`]', '?action=storefronts#/design/action=settings')}
{else}

[`Multi-step checkout setup`]

[`Common settings for all storefronts with multi-step checkout.`]
{$text = str_replace('icon16 new-window', 'fas fa-external-link-alt smaller', _w('In storefront settings you can switch between multi-step checkout and in-cart checkout.'))}
{sprintf_wp($text, "`$wa_app_url`?action=storefronts#/design/action=settings")}

[`Define the checkout step order and each step settings using the form below.`]

{foreach $steps as $step_id => $step} {/foreach}

{$step.name}

[`Guest checkout`]
  • {if $auth_alert}
  • {/if}
{sprintf('[`Setup of required fields validation in backend, order spam filter, and web push notifications is available in “General settings” section.`]', '?action=settings#/general/')}
{/if}
{* !!! move to layout? *}