Home > Shopify Development > How to include the toggle button snippet

How to include the toggle button snippet in Shopify

Sam Nguyen
Sam Updated: April 01, 2024

Share:

Drive 20-40% of your revenue with Avada
avada email marketing

Many Shopify store owners face challenges when trying to include the toggle button snippet. This feature is essential for enhancing your store’s user experience, making navigation easier and more efficient. In this guide, we’ll walk you through a simple process to add the toggle button snippet, ensuring your Shopify store runs smoothly and efficiently.

How to include the toggle button snippet in Shopify

Step 1: Open the themes

After accessing to the Shopify account, admins go to Theme Editor then click to theme.liquid to open it.

how to set up currency options in shopify

Step 2: Paste the code

In this step, the users can copy this following code and paste it at the closing of theme.liquid file.


{% include 'currencies' %}

After pasting these code, the theme.liquid file will be like this: How to include the toggle button snippet in Shopify

Step 3: Click Save

ClickSave to finish and save the changes.

Step 4: Locate the button

In addition, if the store owners want to locate the button on the page they want by using CSS.

Conclusion

In conclusion, adding the toggle button snippet to your Shopify store is a simple yet effective way to improve the customer experience, especially for international buyers. By following the steps outlined in this guide, you can seamlessly install the snippet and customize its placement in your store. This small addition can make a big difference in increasing customer satisfaction and boosting sales. Take action today and enhance your store’s functionality with the toggle button snippet.

Furthermore, even the beginners can have more understanding about topic currencies with this chain of blogs such as How to insert a Continue shopping link to your cart page, How to insert a delivery date picker to your cart template and How to generate a gift-wrap product.


Sam Nguyen is the CEO and founder of Avada Commerce, an e-commerce solution provider headquartered in Singapore. He is an expert on the Shopify e-commerce platform for online stores and retail point-of-sale systems. Sam loves talking about e-commerce and he aims to help over a million online businesses grow and thrive.

Stay in the know

Get special offers on the latest news from AVADA.