We will work on Apr 26th (Saturday) and will be off from Apr 30th (Wednesday) until May 2nd (Friday) for public holiday 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,9 +36,11 @@ $_info = $this->getInfo();
<dt class="title"><?php echo $block->escapeHtml($block->getMethod()->getTitle()) ?></dt>
<?php else: ?>
<?php if ($_brandCode = $_info->getAdditionalInformation('brand_code')):?>
<dt class="title"><?php echo $_brandCode; ?></dt>
<?php endif;?>
<?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>
<?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