Skip to content

Instantly share code, notes, and snippets.

@zakirsajib
Last active September 7, 2022 21:34
Show Gist options
  • Save zakirsajib/0bfd7552508cd8c4656440e48888c827 to your computer and use it in GitHub Desktop.
Save zakirsajib/0bfd7552508cd8c4656440e48888c827 to your computer and use it in GitHub Desktop.
How to copy payment image from footer to product single page in shopify.
# First copy this code from footer.liquid file
<img src="{{ 'payment.png' | asset_url }}" alt="Payment" />
and then go to `snippets` and find the `single-product-layout-type-1.liquid` file
And go to line #250
and add the code:
<img src="{{ 'payment.png' | asset_url }}" alt="Payment" />
To add spacing, we can add this:
<div class="grid__item" style="margin-top:10px;">
<img src="{{ 'payment.png' | asset_url }}" alt="Payment" />
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment