Jatin Sahani
Active Member
Here you go guys this is the modified code which will give you that look and feel, and yeah don't forget to add custom css as mentioned by @dodgedesigns Thanks to him.
PHP:
<div class="row">
<?php foreach ($pricePlans as $index => $plan) { ?>
<div class="col-lg-3 price-plan-box-wrapper">
<div class="box box-<?php echo $plan->group_id == $customer->group_id ? '' : '';?> price-plan-box borderless">
<ul class="price">
<li class="header" style="background-color:<?php echo $plan->group_id == $customer->group_id ? '#0176ff' : '#0176ff'; ?> "><?php echo $plan->name;?></li>
<li class="grey"> <?php echo $plan->formattedPrice;?>/Mo
<?php if ($plan->isRecommended) { ?>
<span class="badge bg-<?php echo $plan->group_id == $customer->group_id ? '#0176ff' : '#0176ff' ;?> "> <?php echo Yii::t('app', 'Recommended');?></span>
<?php } ?>
</li>
<div class="box-body" style="padding:5px 25px 5px 0px;">
<p> <?php echo $plan->description;?> </p>
</div>
<li class="grey"><a class="btn btn-<?php echo $plan->group_id == $customer->group_id ? 'primary' : 'success' ;?> btn-flat btn-do-order" href="#payment-options-modal" data-toggle="modal" data-plan-uid="<?php echo $plan->uid;?>">
<?php echo $plan->group_id == $customer->group_id ? Yii::t('app', 'Your current plan, renew it') : Yii::t('app', 'Purchase');?>
</a>
</li>
</ul>
</div>
<div class="clearfix"><!-- --></div>
</div>
<?php if (($index+1) % 4 === 0) { ?><div class="clearfix"><!-- --></div><?php } ?>
<?php } ?>
<div class="clearfix"><!-- --></div>
</div>