67 lines
4.3 KiB
Smarty
67 lines
4.3 KiB
Smarty
{**
|
|
* Copyright since 2007 PrestaShop SA and Contributors
|
|
* PrestaShop is an International Registered Trademark & Property of PrestaShop SA
|
|
*
|
|
* NOTICE OF LICENSE
|
|
*
|
|
* This source file is subject to the Academic Free License version 3.0
|
|
* that is bundled with this package in the file LICENSE.md.
|
|
* It is also available through the world-wide-web at this URL:
|
|
* https://opensource.org/licenses/AFL-3.0
|
|
* If you did not receive a copy of the license and are unable to
|
|
* obtain it through the world-wide-web, please send an email
|
|
* to license@prestashop.com so we can send you a copy immediately.
|
|
*
|
|
* @author PrestaShop SA and Contributors <contact@prestashop.com>
|
|
* @copyright Since 2007 PrestaShop SA and Contributors
|
|
* @license https://opensource.org/licenses/AFL-3.0 Academic Free License version 3.0
|
|
*}
|
|
|
|
<div class="blockreassurance_product" t="1">
|
|
{* {if $product.delivery_in_stock}
|
|
<div class="item-999 item-custom">
|
|
<span class="item-product">
|
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" data-img-url="/modules/blockreassurance/views/img/img_perso/Package.svg" class="svg replaced-svg">
|
|
<g clip-path="url(#clip0_6241_8999)">
|
|
<path d="M12 12.1016V21.7466" stroke="#462D26" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" style="fill: rgb(241, 157, 118);"></path>
|
|
<path d="M3.06641 7.21094L12.0008 12.1009L20.9352 7.21094" stroke="#462D26" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" style="fill: rgb(241, 157, 118);"></path>
|
|
<path d="M20.61 17.1415L12.36 21.6584C12.2496 21.7188 12.1258 21.7504 12 21.7504C11.8742 21.7504 11.7504 21.7188 11.64 21.6584L3.39 17.1415C3.2722 17.077 3.17386 16.9821 3.10526 16.8667C3.03666 16.7513 3.0003 16.6195 3 16.4853V7.51713C3.0003 7.38284 3.03666 7.25111 3.10526 7.13567C3.17386 7.02023 3.2722 6.92533 3.39 6.86088L11.64 2.344C11.7504 2.28361 11.8742 2.25195 12 2.25195C12.1258 2.25195 12.2496 2.28361 12.36 2.344L20.61 6.86088C20.7278 6.92533 20.8261 7.02023 20.8947 7.13567C20.9633 7.25111 20.9997 7.38284 21 7.51713V16.4834C21 16.618 20.9638 16.7501 20.8952 16.8659C20.8266 16.9817 20.7281 17.0769 20.61 17.1415Z" stroke="#462D26" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" style="fill: rgb(241, 157, 118);"></path>
|
|
<path d="M7.64648 4.5293L16.5002 9.37523V14.2502" stroke="#462D26" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" style="fill: rgb(241, 157, 118);"></path>
|
|
</g>
|
|
<defs>
|
|
<clipPath id="clip0_6241_8999">
|
|
<rect width="24" height="24" fill="white"></rect>
|
|
</clipPath>
|
|
</defs>
|
|
</svg>
|
|
|
|
</span>
|
|
|
|
<span class="block-title" style="color:#000000;">Darmowa wysyłka w:</span>
|
|
<p class="block-description" style="color:#000000;">{$product.delivery_in_stock}</p>
|
|
<p class="block-description" style="color:#000000; display:none;">{$product.delivery_out_stock}</p>
|
|
</div>
|
|
{/if} *}
|
|
|
|
|
|
{foreach from=$blocks item=$block key=$key}
|
|
<div class="item-{$key}" {if $block['type_link'] !== $LINK_TYPE_NONE && !empty($block['link'])}
|
|
style="cursor:pointer;" onclick="window.open('{$block['link']}')" {/if}>
|
|
<span class="item-product">
|
|
{if $block['icon'] != 'undefined'}
|
|
{if $block['custom_icon']}
|
|
<img {if $block['is_svg']}class="svg invisible" {/if}src="{$block['custom_icon']}">
|
|
{elseif $block['icon']}
|
|
<img class="svg invisible" src="{$block['icon']}">
|
|
{/if}
|
|
{/if}
|
|
</span>
|
|
{if empty($block['description'])}
|
|
<p class="block-title" style="color:{$textColor};">{$block['title']}</p>
|
|
{else}
|
|
<span class="block-title" style="color:{$textColor};">{$block['title']}</span>
|
|
<p class="block-description" style="color:{$textColor};">{$block['description'] nofilter}</p>
|
|
{/if}
|
|
</div>
|
|
{/foreach}
|
|
</div> |