{strip} {if $wa->shop} {$_phone = $wa->shop->settings('phone')} {$_cart_url = $wa->getUrl('shop/frontend/cart')} {if method_exists($wa->shop, 'checkout')} {$_cart_url = $wa->shop->checkout()->cartUrl()} {/if} {/if}
{if $wa_app === "shop" && !empty($theme_settings.currency_toggle) && !empty($currencies) && count($currencies) > 1}
{/if} {if $wa_app === "shop" && !empty($theme_settings.language_toggle)}
{/if} {if $wa->shop && (!empty($theme_settings.show_product_actions_on_main_page) || !empty($theme_settings.enable_compare))} {$_is_active = $wa->globals("isComparePage")} {$_compare_item_classes = []} {if !empty($_is_active)} {$_compare_item_classes[] = "is-active"} {/if}
[`Compare`] 0
{/if} {if !empty($_phone)}
{$_phone}
{/if}
{if $wa->shop} {$_cart_total = $wa->shop->cart->total()} {$_cart_count = $wa->shop->cart->count()} {$_price = "[`Empty`]"} {if !empty($_cart_total)} {$_price = wa_currency_html($_cart_total, $wa->shop->currency())} {elseif !empty($_cart_count)} {$_price = wa_currency_html(0, $wa->shop->currency())} {/if}
[`Cart`] {if !empty($_cart_count)}{$_cart_count}{else}0{/if} {$_price} [`Place order`] {strip} {capture assign="_loading_template"}
{/capture} {/strip}
{/if}
{/strip}