Skip to content

Commit 119a377

Browse files
committed
[Checkout] Depend directives updated in failed payement template
1 parent 592c792 commit 119a377

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

app/code/Magento/Checkout/view/adminhtml/email/failed_payment.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ <h1>{{trans "Payment Transaction Failed"}}</h1>
4646
<strong>{{trans "Billing Address:"}}</strong><br />
4747
{{var billingAddressHtml|raw}}
4848
</li>
49+
{{depend shippingMethod}}
4950
<li>
5051
<strong>{{trans "Shipping Address:"}}</strong><br />
5152
{{var shippingAddressHtml|raw}}
@@ -54,6 +55,7 @@ <h1>{{trans "Payment Transaction Failed"}}</h1>
5455
<strong>{{trans "Shipping Method:"}}</strong><br />
5556
{{var shippingMethod}}
5657
</li>
58+
{{/depend}}
5759
<li>
5860
<strong>{{trans "Payment Method:"}}</strong><br />
5961
{{var paymentMethod}}

0 commit comments

Comments
 (0)