Commit 286ac081 by dhn

购物车支付方式bug

parent f7d87db6
......@@ -32,6 +32,10 @@ if(strpos($block->escapeUrl($block->getImageUrl()),'checkout-logo-medium') !== f
$imgsrc = $block->getViewFileUrl('Magento_Paypal::images/paypal-color.svg');
$class = 'checkout-logo-medium';
$classFirst = '';
} else if(strpos($block->escapeUrl($block->getImageUrl()),'btn_xpressCheckout') !== false){
$imgsrc = $block->getViewFileUrl('Magento_Paypal::images/paypal-color.svg');
$class = 'checkout-logo-medium';
$classFirst = '';
} else {
$imgsrc = $block->getViewFileUrl('Magento_Paypal::images/paypal-credit.png');
$class = 'paypal-credit displayno';
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment