How to Delete Unwanted Tags in Shopify - A Complete Guide
Drive 20-40% of your revenue with Avada
Managing tags in Shopify can get overwhelming, especially when you have unnecessary ones cluttering your store. If you need to delete unwanted tags but aren’t sure where to start, this guide will walk you through the process step by step. Cleaning up your tags can help keep your store organized and improve your site’s overall performance.
Table of content
- What is the HTML element?
- Attention when you follow these steps
- How to delete the unwanted tags for sectioned theme
- How to delete the unwanted tags for non-sectioned theme
Related Posts:
- Generate a Cart Attribute Field in Shopify - A Definitive Guide
- 4 Steps to Generate a Gift-Wrap Product in Shopify
- How to Insert a Delivery Date Picker to your Cart Template in Shopify
- How to Notify Customers when Products are Out of Stock in Shopify
What is the HTML element?
An HTML element is a component of an HTML known as HyperText Markup Language. HTML consists of a tree of HTML nodes namely text nodes. Each node has content and HTML attributes.
Attention when you follow these steps
Steps mentioned in this tutorial is different depending on which theme you are using, sectioned or non-sectioned themes. The sectioned theme is released in 2016 so it contains files in Sections directory while the non-sectioned theme has no file. Be careful with which theme your website run on then you decide to follow the right procedure.
Let’s move to the next part to see how to delete the unwanted tags.
How to delete the unwanted tags for sectioned theme
Step 1: Go to Settings
Open Store > Settings on the Shopify app
Step 2: Click general
Click general on store settings
Step 3: Click Change formatting
You can see your current currency in Standards and formats, then click Change formatting
Step 4: Remove the HTML tags
Remove the HTML tags from the currency formats. Follow the example below:
After that, you delete the opening and closing HTML span tags from HTML with currency and without currency.
Step 5: Save
How to delete the unwanted tags for non-sectioned theme
Step 1: Open theme.liquid
Click theme.liquid
in the Layout directory.
Step 2: Find a script tag
Look for a script tag that references your theme’s JQuery source in the <head>
element. The tag looks like this:
<script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
Attention: the script tag below is available for the version 1.4.2
. If your theme is using a version which is older than 1.7
then you replace the version number in the URL with 1.7
. The result is:
<script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1.7/jquery.min.js"></script>
Step 3: Save
Conclusion
Deleting unwanted tags in Shopify is crucial for a professional-looking store, especially when dealing with international currencies. This guide has shown you how to remove these tags for both sectioned and non-sectioned themes. By following these steps, you can ensure your currency displays correctly, enhancing customer experience and trust. Take action now to clean up your store’s appearance. Remember, a well-presented shop leads to better customer engagement and potentially increased sales.