<?php
/* Smarty version 3.1.48, created on 2025-06-07 08:07:57
  from '/home/servydhq/public_html/whmcs/templates/orderforms/standard_cart/marketconnect-promo.tpl' */

/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
  'version' => '3.1.48',
  'unifunc' => 'content_6843f35d77b2d4_69147160',
  'has_nocache_code' => false,
  'file_dependency' => 
  array (
    '3502f79bc31a1f6061795ad24370b765f484ba6c' => 
    array (
      0 => '/home/servydhq/public_html/whmcs/templates/orderforms/standard_cart/marketconnect-promo.tpl',
      1 => 1748871040,
      2 => 'file',
    ),
  ),
  'includes' => 
  array (
  ),
),false)) {
function content_6843f35d77b2d4_69147160 (Smarty_Internal_Template $_smarty_tpl) {
?><div class="mc-promo <?php echo $_smarty_tpl->tpl_vars['promotion']->value->getClass();?>
" id="promo_<?php echo $_smarty_tpl->tpl_vars['product']->value->productKey;?>
">
    <div class="header">
        <div class="cta">
            <div class="price">
                <?php if ($_smarty_tpl->tpl_vars['product']->value->isFree()) {?>
                    <?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['lang'][0], array( array('key'=>"orderfree"),$_smarty_tpl ) );?>

                <?php } elseif ($_smarty_tpl->tpl_vars['product']->value->pricing()->first()) {?>
                    <?php echo $_smarty_tpl->tpl_vars['product']->value->pricing()->setQuantity($_smarty_tpl->tpl_vars['cartItem']->value['qty'])->first()->breakdownPrice();?>

                <?php }?>
            </div>
            <button type="button" class="btn btn-sm btn-add" data-product-key="<?php echo $_smarty_tpl->tpl_vars['product']->value->productKey;?>
" data-upsell-from="<?php echo $_smarty_tpl->tpl_vars['cartItem']->value['productKey'];?>
">
                <span class="text">
                    <?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['lang'][0], array( array('key'=>"addtocart"),$_smarty_tpl ) );?>

                </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="<?php echo $_smarty_tpl->tpl_vars['promotion']->value->getImagePath();?>
">
        </div>
        <div class="content">
            <div class="headline truncate"><?php echo $_smarty_tpl->tpl_vars['promotion']->value->getHeadline();?>
</div>
            <div class="tagline truncate"><?php echo $_smarty_tpl->tpl_vars['promotion']->value->getTagline();?>
</div>
        </div>
    </div>
    <div class="body clearfix">
        <?php if ($_smarty_tpl->tpl_vars['promotion']->value->hasFeatures()) {?>
            <ul>
                <?php $_smarty_tpl->_assignInScope('promotionFeatures', $_smarty_tpl->tpl_vars['promotion']->value->getFeatures());?>
                <?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['promotionFeatures']->value, 'feature', false, 'key');
$_smarty_tpl->tpl_vars['feature']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['key']->value => $_smarty_tpl->tpl_vars['feature']->value) {
$_smarty_tpl->tpl_vars['feature']->do_else = false;
?>
                    <li class="<?php if ($_smarty_tpl->tpl_vars['key']->value < (count($_smarty_tpl->tpl_vars['promotionFeatures']->value)/2)) {?>left<?php } else { ?>right<?php }?>">
                        <i class="fas fa-check"></i> <?php echo $_smarty_tpl->tpl_vars['feature']->value;?>

                    </li>
                <?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
            </ul>
        <?php }?>
    </div>
</div>
<?php }
}
