{$_cart_url = $wa->getUrl('shop/frontend/cart')} {if method_exists($wa->shop, 'checkout')} {$_cart_url = $wa->shop->checkout()->cartUrl()} {/if} {$_is_dialog = false} {if $wa->get('cart')}{$_is_dialog = true}{/if} {* THUMBS *} {$_images = []} {$_images["default"] = [ "id" => "default", "uri_200" => $wa->shop->productImgUrl($product, "200") ]} {if $product.images} {foreach $product.images as $_image} {$_images[$_image.id] = [ "id" => $_image.id, "uri_200" => $wa->shop->imgUrl($_image, "200") ]} {/foreach} {/if}