Hide Vendors Card on My Own Products

Hide Vendors Card on My Own Products

Courtneybrb
Tourist
8 0 0

Hi,

 

I run a multi vendor dress rental marketplace, but I also rent my own products that don't go through the 'Multi Vendor Marketplace App'.

 

I have a vendor card that shows on each product,  but for my own products I don't want the card to be shown.

 

My website is momentarywardrobe.com.au

 

A vendors product which shows the vendor card correctly. 

Vendors Product.png

 

My own product. Which I want the pink box to be removed.

My Own Products.png

Screenshot 2024-08-18 141200.png

 

Replies 3 (3)

niraj_patel
Shopify Partner
2378 514 511

Hello @Courtneybrb 

You can add code by following these steps

1. Go to Online Store -> Theme -> Edit code.
2. Open your theme.liquid file

3. Paste the below code before </body> on theme.liquid
<style>
   .bls__template-main-product .card {
        display: none !important;
    }
</style>

niraj_patel_0-1723954928977.png

Was my reply helpful? Click Like to let me know!
Was your question answered? Mark it as an Accepted Solution.

Shopify Partner || Helping eCommerce Stores
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution.
- For further discussion contact: Email ID- [email protected]
Courtneybrb
Tourist
8 0 0

It hides it on all products. I still need it to be visible on my vendors products.

 

niraj_patel
Shopify Partner
2378 514 511

You have both same classes in your card, so to hide them you will have to add class to them.

Shopify Partner || Helping eCommerce Stores
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution.
- For further discussion contact: Email ID- [email protected]