opencart3 简单记录
//获取购物车内的商品 $data['cartDate'] = $this->cart->getProducts();
//PayPal Express Checkou 按钮支付(可以把这个放在你要放的地方即可,后台要有此功能插件)
<div class="pull-right"><a href="{{ checkout }}" class="btn btn-primary">{{ button_checkout }}</a>
<a href="/index.php?route=extension/payment/pp_express/express" title="PayPal Express Checkout" style="text-decoration:none;">
<img src="https:// www.paypalobjects.com/webstatic/en_US/i/buttons/checkout-logo-medium.png" alt="PayPal Express Checkout" style="float:left;">
</a>
</div>