We will be off from 27/1 (Monday) to 31/1 (Friday) (GMT +7) for our Tet Holiday (Lunar New Year) in our country

Commit e83dd2f8 authored by alessandroniciforo's avatar alessandroniciforo Committed by GitHub

Use the nicer method_title for adyen_hpp payment info

method_title (e.g.: "PayPal") is nicer than brand_code (e.g.: "paypal") to show as payment method info
parent deeb9a4e
...@@ -36,7 +36,9 @@ $_info = $this->getInfo(); ...@@ -36,7 +36,9 @@ $_info = $this->getInfo();
<dt class="title"><?php echo $block->escapeHtml($block->getMethod()->getTitle()) ?></dt> <dt class="title"><?php echo $block->escapeHtml($block->getMethod()->getTitle()) ?></dt>
<?php else: ?> <?php else: ?>
<?php if ($_brandCode = $_info->getAdditionalInformation('brand_code')):?> <?php if ($_methodTitle = $_info->getAdditionalInformation('method_title')):?>
<dt class="title"><?php echo $_methodTitle; ?></dt>
<?php elseif ($_brandCode = $_info->getAdditionalInformation('brand_code')):?>
<dt class="title"><?php echo $_brandCode; ?></dt> <dt class="title"><?php echo $_brandCode; ?></dt>
<?php endif;?> <?php endif;?>
......
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