HI all,
I am trying to hide Gift Wrapping as a product when click Shop All. I tried to move Gift Wrapping to another vendor, and create a collection for the other products, then input a condition where “Vendor” and set it to “is not equal to” and then enter “Wrapped” in the field next to it.
However, it is still not working. Below is the image and link to preview of the store.
https://608ll4z28sc4w0vq-65617789080.shopifypreview.com
Many thanks
Hi @cheriesapparel
- Go to Online Store → Theme → Edit code.
- Open your theme.css / based.css file and paste the code in the bottom of the file.
.card__heading {
display: none !important;
}
If my reply is helpful, kindly click like and mark it as an accepted solution.
If you are happy with my help, you can help me buy a COFFEE
Thanks!
Hello, @cheriesapparel
- Go to Online Store
- Edit Code
- Find theme.css/base.css file
- Add the following code in the bottom
This Hide Gift Wrapping as a product when click Shop All
a#HeaderDrawer-shop-all span.needsclick.go681896951.kl-private-reset-css-Xuajs1 {
display: none !important;
}
Thanks!
Doing this will still show the money value despite the product already hidden.
Hello,
I tried but it does not change anything.
Thank you
Hi @cheriesapparel
To fulfill your request, please follow these steps:
-
Check if the “Gift” products have the same product type as shown here: screenshot link.
If not, update the product type for the gifts to match this.
-
Go to the main-collection.liquid file and add this piece of code:
screenshot link
{% if product.type == "giftcard" %}
{% continue %}
{% else %}
Then, add this snippet: screenshot link
{% endif %}
Make sure to insert the code above and below the
tag as shown in the screenshot.
I hope this helps
Best,
Daisy
Hello,
The Gift here means Gift Wrapping Service, it is not gift card, so can I put the product type as giftwrap instead of giftcard? Do I still need to create a collection for the rest of the products before I do all of these? I delete my collection yesterday because it did not work out for me.
Many thanks