first commit
This commit is contained in:
14
web/templates/x/product/bonus-points.tpl
Normal file
14
web/templates/x/product/bonus-points.tpl
Normal file
@@ -0,0 +1,14 @@
|
||||
{if !$product}
|
||||
{$product = $body.product}
|
||||
{/if}
|
||||
|
||||
{if $product.bonus_points and $product.bonus_points->isPositive()}
|
||||
<div class="bonus-points bonus-points-product">{* @formatter:off *}
|
||||
<p>
|
||||
{t body=$product.bonus_points->asFloat() url={url s=page label="bonus-program"} escape=false}
|
||||
Za nákup tohoto zboží získáte
|
||||
<strong><span data-bonus data-bonus-points="{body}">{body}</span> bodů</strong>
|
||||
do <a href="{url}">věrnostního programu</a>.{/t}
|
||||
</p>{* @formatter:on *}
|
||||
</div>
|
||||
{/if}
|
||||
Reference in New Issue
Block a user