|
@@ -145,20 +145,21 @@ use fec\helpers\CRequest;
|
|
|
<div class="totals cart-totals">
|
|
|
<div class="proceed_to_checkout">
|
|
|
<div class="row no-gutter">
|
|
|
- <div class="col-100">
|
|
|
+ <?php if ($enablePaypalExpress): ?>
|
|
|
+ <div class="col-50">
|
|
|
+ <a external class="express_paypal" href="<?= Yii::$service->url->getUrl('payment/paypal/express/start'); ?>">
|
|
|
+ <img src="<?= Yii::$service->image->getImgUrl('/images/pay.png') ?>" />
|
|
|
+ </a>
|
|
|
+ </div>
|
|
|
+ <?php endif; ?>
|
|
|
+ <div class="col-50">
|
|
|
|
|
|
<button onclick="location.href='<?= Yii::$service->url->getUrl('checkout/onepage'); ?>'" type="button" title="Proceed to Checkout" class="button btn-proceed-checkout btn-checkout"><span><span><?= Yii::$service->page->translate->__('Proceed to Pay');?></span></span></button>
|
|
|
|
|
|
</div>
|
|
|
- <!--
|
|
|
- <?php if ($enablePaypalExpress): ?>
|
|
|
- <div class="col-50">
|
|
|
- <a external class="express_paypal" href="<?= Yii::$service->url->getUrl('payment/paypal/express/start'); ?>">
|
|
|
- <img src="<?= Yii::$service->image->getImgUrl('/images/pay.png') ?>" />
|
|
|
- </a>
|
|
|
- </div>
|
|
|
- <?php endif; ?>
|
|
|
- -->
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|