Skip to content

Commit

Permalink
Default image for carrier and payment option
Browse files Browse the repository at this point in the history
  • Loading branch information
Oksydan committed Jun 2, 2021
1 parent d0f51d8 commit f81889c
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 1 deletion.
4 changes: 4 additions & 0 deletions assets/img/checkout/carrier_default.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions assets/img/checkout/payment_default.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion templates/checkout/_partials/steps/payment.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
{if $option.logo}
<img src="{$option.logo}" class="checkout-option__img" />
{else}
<img src="{$urls.img_url}payment/bankwire.svg" class="checkout-option__img" />
<img src="{$urls.img_url}checkout/payment_default.svg" class="checkout-option__img" />
{/if}
</div>
</div>
Expand Down
2 changes: 2 additions & 0 deletions templates/checkout/_partials/steps/shipping.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@
<div class="checkout-option__thumb mb-2">
{if $carrier.logo}
<img src="{$carrier.logo}" alt="{$carrier.name}" class="checkout-option__img" />
{else}
<img src="{$urls.img_url}checkout/carrier_default.svg" class="checkout-option__img" />
{/if}
</div>
<div class="checkout-option__delay text-muted small">{$carrier.delay}</div>
Expand Down

0 comments on commit f81889c

Please sign in to comment.