forked from WHMCS/orderforms-standard_cart
-
Notifications
You must be signed in to change notification settings - Fork 0
/
marketconnect-promo.tpl
40 lines (40 loc) · 1.41 KB
/
marketconnect-promo.tpl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
<div class="mc-promo {$promotion->getClass()}">
<div class="header">
<div class="cta">
<div class="price">
{if $product->isFree()}
{lang key="orderfree"}
{elseif $product->pricing()->first()}
{$product->pricing()->first()->breakdownPrice()}
{/if}
</div>
<button type="button" class="btn btn-sm btn-add" data-product-key="{$product->productKey}">
<span class="text">
{lang key="addtocart"}
</span>
<span class="arrow">
<i class="fas fa-chevron-right"></i>
</span>
</button>
</div>
<div class="expander">
<i class="fas fa-chevron-right rotate" data-toggle="tooltip" data-placement="right" title="Click to learn more"></i>
</div>
<div class="icon">
<img src="{$promotion->getImagePath()}">
</div>
<div class="content">
<div class="headline truncate">{$promotion->getHeadline()}</div>
<div class="tagline truncate">{$promotion->getTagline()}</div>
</div>
</div>
<div class="body clearfix">
{if $promotion->hasFeatures()}
<ul>
{foreach $promotion->getFeatures() as $feature}
<li><i class="fas fa-check"></i> {$feature}</li>
{/foreach}
</ul>
{/if}
</div>
</div>