Hiding all product tags from product listing except for specific ones

Hiding all product tags from product listing except for specific ones

ineedcsshelp
Visitor
3 0 2

Hello,

My site is: eccommerce.us

Is there a way hide all tags except for certain ones that we want?

In this case we want to hide everything except tags with: New, Open Box, or Used

ineedcsshelp_0-1636739071563.png

 

 

Reply 1 (1)

LitCommerce
Astronaut
2860 684 757

Hi @ineedcsshelp,

Please follow these steps:
- Step 1: Go to Online store > Themes > Actions > Edit code.
- Step 2: Go to Assets > theme.scss.liquid and paste this at the bottom of the file:

.tags-list a{
    display: none;
}
.tags-list [href="/collections/all/new"],
.tags-list [href="/collections/all/open-box"],
.tags-list [href="/collections/all/used"]{
    display: block !important;
}

Hope it helps!

LitCommerce - The Most Simple & Affordable Multi-channel Selling Tool.
Effortlessly sell on biggest marketplaces like Amazon, Etsy, eBay, Facebook etc with bulk listing tool, real-time sync & smart order management. Use LitCommerce free for 1-year now!