How can I add social media icons to my order thank you page?

How can I add social media icons to my order thank you page?

sangok420
Excursionist
39 0 11

Hello, how to add social media icons that would redirect them to my Instagram and Facebook pages on Thank you page when they place an order?

Replies 3 (3)

Akibhusen
Shopify Partner
715 121 148

hi @sangok420,

 

YOu can add it by just adding script code to your checkout script section. Please refer to the below steps to add the script.

Shopify Admin -> Click on settings -> click on Checkout

 

After that scroll down up to the "Additional Script" section and add the below line of code. Add the icon URL using img tag instead of text.

<script>
Shopify.Checkout.OrderStatus.addContentBox(
'<h2>Social Icons</h2>',
'<a href="https://facebook.com/" target="_blank" >Facebook</a>',
'<a href="https://instagram.com/" target="_blank" >Instagram</a>',
)
</script>

 

For more please refer to the below screenshots:

Akibhusen_0-1644743165317.png

 

It'll look like this on the order page:

Akibhusen_1-1644743195616.png

 

sangok420
Excursionist
39 0 11

Thank you! Maybe it's possible to change words "Facebook" and "Instagram" with icons?

Monkata05
New Member
4 0 0

can you help me this look better

Monkata05_0-1717005665381.png