{assign var="result_ids" value="cart*,checkout*"}

{__("cart_contents")}

{hook name="checkout:cart_content_top_left_buttons"} {include file="buttons/continue_shopping.tpl" but_href=$continue_url|fn_url } {/hook}
{hook name="checkout:cart_content_top_right_buttons"} {include file="buttons/update_cart.tpl" but_id="button_cart" but_meta="ty-btn--recalculate-cart hidden hidden-phone hidden-tablet" but_name="dispatch[checkout.update]" } {if $payment_methods} {include file="buttons/proceed_to_checkout.tpl"} {/if} {/hook}
{include file="views/checkout/components/cart_items.tpl" disable_ids="button_cart"}
{include file="views/checkout/components/checkout_totals.tpl" location="cart"}
{hook name="checkout:cart_content_bottom_left_buttons"} {include file="buttons/continue_shopping.tpl" but_href=$continue_url|fn_url} {include file="buttons/clear_cart.tpl" but_href="checkout.clear" but_role="text" but_meta="cm-confirm ty-cart-content__clear-button"} {/hook}
{hook name="checkout:cart_content_bottom_right_buttons"} {if $payment_methods} {assign var="link_href" value="checkout.checkout"} {include file="buttons/proceed_to_checkout.tpl"} {/if} {/hook}
{if $checkout_add_buttons}
{__("or_use")} {foreach from=$checkout_add_buttons item="checkout_add_button"} {/foreach}
{$checkout_add_button nofilter}
{/if}