<{t section="Basket"}>Basket<{/t}>
<{if $basket}> <{include file="components/button.html" variant="action" size="md" text="Go to checkout"|t type="link" href="/address"}> <{/if}> <{if $get.s == "NaN"}> <{include file="components/alert.html" variant="error" icon="x" text="One or more items are not in stock"|t}> <{/if}>-
<{section name="i" loop=$basket}>
- <{include file="components/product-card-list.html" class="product-card-list--lg"}> <{/section}>
<{t}>Others also bought<{/t}>
<{if $settings.integrations.enable_clerk && $settings.integrations.clerk_api_key && $settings.integrations.clerk_basket }> <{include file="components/external-products.html" list_class="product-grid product-grid--basket-upsell" list_item_class="product-grid__item" external="clerk" max="4" endpoint="recommendations/most_sold_with" current_product=$products[0]->getProductId()}> <{else}>-
<{section name="i" loop=$products max=4}>
<{assign var="profile" value=$products[i]->getProfile()}>
<{assign var="profile_tag" value=$profile->getTag()}>
<{if $profile_tag != "credit"}>
- <{include file="components/product-card.html" class="product-card--sm" show_add_to_cart="true" product=$products[i]}> <{/if}> <{/section}>
<{t}>Your basket is empty. What about one of these popular products?<{/t}>
<{assign var="products" value=$webshop->getPopularProducts()}> <{if !$products}> <{assign var="products" value=$webshop->getOnlineProducts()}> <{/if}>-
<{section name="i" loop=$products max=4}>
<{assign var="profile" value=$products[i]->getProfile()}>
<{assign var="profile_tag" value=$profile->getTag()}>
<{if $profile_tag != "credit"}>
- <{include file="components/product-card.html" product=$products[i] class="product-card--sm" show_add_to_cart="true" }> <{/if}> <{/section}>
<{capture name="hasLoyaltyProgram"}> <{t x=$customer->getActivePoints()|number_format:0:",":"."}>Du har {x} aktive point.<{/t}> <{/capture}> <{include file="components/alert.html" variant="info" text=$smarty.capture.hasLoyaltyProgram}> <{/if}> <{include file="components/button.html" variant="action" class="btn--block basket__order-button" size="md" text="Go to checkout"|t type="link" href="/address"}> <{if $settings.shipping_alert.enable && $settings.shipping_alert.time && $settings.shipping_alert.days}>