Jump to content

Custom CSS - hide this in frontend lists (theme Warehouse)


paulroland

Recommended Posts

Hi all, in our shop we work with variants and the main product picture is sometimes a picture of all variants of the product. But you can buy only one of them, so we set the stock number to "0". In the product page, you have to choose a variant first, that's all.

But we want to hide the badge ("product only available in other variants") in all listings (see pic).

The html code is like:
 

Zitat

<span id="product-availability" class="js-product-availability badge badge-danger product-unavailable">
                                        <i class="fa fa-ban" aria-hidden="true"></i>
                              Artikel nur noch in anderer Variante erhältlich
                                                                                                </span>

 Can we hide this in the custom CSS and how?
Thanks for your help

Screenshot 2022-02-15 at 09-55-06 MyCottonQueen_ergebnis.jpg

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...