Hello Everyone!
I want to add a payment icon or image inside the Collapsible Row on the product page. I don’t see the option to add a payment icon here, I only see the option to add text. Please help me. Thank you.
https://2fs5oaq1iizkjx86-60604383299.shopifypreview.com
Password: Admin
Now
I want to have the payment icon exactly like this
Hi @dreamtechzone_5 ,
I have created custom script to add icons to the product page. Please follow below steps and let me know your feedback.
Follow these Steps:
-
Go to Online Store
-
Edit Code
-
Find theme.liquid file
-
Add the following code just above tag
{% if product %}
{% endif %}
If you require further help to optimize your store, please don’t hesitate to reach out. If you find this information useful, a Like would be greatly appreciated. And if this solves the problem, please Mark it as Solution!
Best Regards,
Makka
You can add Payment Icons manually collapsible Row on your Shopify product page by editing your product Liquid code.
- Go to Online Store > Themes
- Click … (three dots) next to your theme and select Edit Code
- Locate the file main-product.liquid
- Insert the following code (product Liquid code) where you want the payment icons to appear:
- Save the changes and check if the icons appear on your store.
{%- for type in shop.enabled_payment_types -%}
- {{ type | payment_type_svg_tag: class: 'icon icon--full-color' }}
{%- endfor -%}
Please do not hesitate to reach out to us in the future if you have any further questions or concerns regarding the issue.
I hope this answer will be helpful