Shopify themes, liquid, logos, and UX
I would like to add acceptable payment options to my product page. Please let me know how to do so! Thank you. See attached for example.
Hi @Hercules99
To display accepted payment icons on your Shopify product pages, follow these steps:
1-Access Theme Customization:
2-Add a Custom Liquid Section:
3-Insert Payment Icons Code:
<ul class="payment-icons list--inline">
{% assign payment_types = 'visa,master,american_express,paypal' | split: ',' %}
{% for type in payment_types %}
<li class="payment-icon">
{{ type | payment_type_svg_tag: class: 'icon icon--full-color' }}
</li>
{% endfor %}
</ul>
This code displays icons for Visa, MasterCard, American Express, and PayPal. Modify the payment_types list to include the payment methods your store accepts.
4-Position the Icons:
5-Save and Review:
Note: If your theme doesn't support adding sections via the editor, you may need to edit the theme code directly. This involves modifying the product template file to include the payment icons code. Always back up your theme before making code changes.
For a visual guide, you can refer to this tutorial: https://youtu.be/TBhm3sZbej0
If you have other questions, I will also answer them.
Best regards,
Daisy
Hey Community! As the holiday season unfolds, we want to extend heartfelt thanks to a...
By JasonH Dec 6, 2024Dropshipping, a high-growth, $226 billion-dollar industry, remains a highly dynamic bus...
By JasonH Nov 27, 2024Hey Community! It’s time to share some appreciation and celebrate what we have accomplis...
By JasonH Nov 14, 2024