<{* Varekort i server-renderet HTML (Sidedesigneren, anbefalinger). Samme udseende og samme data-attributter som SPA'ens renderProductCard, så klik og "Tilføj til kurv" håndteres af SPA'en. *}> <{$pc_dec = $webshop->getDecimalSeparator(",")}> <{$pc_tho = $webshop->getThousandSeparator(".")}> <{$pc_url = $product->getRemoteUrl()}> <{$pc_image = $product->getImage()}> <{$pc_buyable = $product->getIsInStock() || $product->getAllowNegativeStock()}>
<{if $pc_image}> <{$product->getName()|escape}> <{/if}>

<{$product->getName()|escape}>

<{$product->getRealPrice()|number_format:2:$pc_dec:$pc_tho}> <{$webshop->getCurrency()}> <{if $product->getPrice() > $product->getRealPrice()}> <{$product->getPrice()|number_format:2:$pc_dec:$pc_tho}> <{$webshop->getCurrency()}> <{/if}>

<{if !$pc_buyable}> <{t}>Udsolgt<{/t}> <{elseif $product->hasRequiredCustomerInput()}> <{t}>Se produkt<{/t}> <{elseif $product->hasVariants()}> <{t}>Vælg variant<{/t}> <{else}> <{/if}>