Commit d6818c77 by lmf

购物车屏蔽信用卡支付

parent c5061a1c
...@@ -8,6 +8,11 @@ ...@@ -8,6 +8,11 @@
* @var \Magento\Paypal\Block\Express\Shortcut $block * @var \Magento\Paypal\Block\Express\Shortcut $block
*/ */
?> ?>
<style type="text/css">
.displayno{
display: none;
}
</style>
<?php <?php
$labelPosition = ''; $labelPosition = '';
if ($block->isOrPositionBefore()) { if ($block->isOrPositionBefore()) {
...@@ -37,7 +42,7 @@ if ($block->getIsInCatalogProduct()) { ...@@ -37,7 +42,7 @@ if ($block->getIsInCatalogProduct()) {
$class = 'checkout-logo-medium'; $class = 'checkout-logo-medium';
} else { } else {
$imgsrc = $block->getViewFileUrl('Magento_Paypal::images/paypal-credit.png'); $imgsrc = $block->getViewFileUrl('Magento_Paypal::images/paypal-credit.png');
$class = 'paypal-credit'; $class = 'paypal-credit displayno';
} }
?> ?>
<div class="<?= $class ?>"> <div class="<?= $class ?>">
......
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