x

Hide category product price

Hi,  looking for some help on adding code to SEO Header Code - currently I am able to hide price, qty, and Buy button

from indivduale product page as per below code

https://www.prestoprecisionplus.com/store/p8/SS-35-1%2F3-T.html

below is the code:

<style>
#wsite-com-product-buy, #wsite-com-product-inventory, #wsite-com-product-price-area { display:none; }
</style>

but now I would like to hide price from here as well: https://www.prestoprecisionplus.com/store/c8/Manual_Injectors.html

please help..

4,454 Views
Message 1 of 14
Report
1 Best Answer

Best Answer

This is what I did and it works, but thanks for your help.

(this will remove buy button, remove price from category, remove price from products)

<style>

#wsite-com-product-buy, #wsite-com-product-inventory, #wsite-com-product-price-area { display:none; }

</style>
<style>
.wsite-com-product-price .wsite-com-price {
     display:none !important;
}
</style>

View Best Answer >

4,409 Views
Message 14 of 14
Report
13 REPLIES 13

according to my template
wsite-com-price wsite-com-category-product-price

I added this on same line but didn't work??

4,448 Views
Message 3 of 14
Report
Square

Try adding just this (including the period) .wsite-com-price

If that doesn't seem to do anything, add an important declaration to the rule so you have

display: none !important;
4,420 Views
Message 14 of 14
Report

Best Answer

This is what I did and it works, but thanks for your help.

(this will remove buy button, remove price from category, remove price from products)

<style>

#wsite-com-product-buy, #wsite-com-product-inventory, #wsite-com-product-price-area { display:none; }

</style>
<style>
.wsite-com-product-price .wsite-com-price {
     display:none !important;
}
</style>

4,410 Views
Message 14 of 14
Report
Square

Thanks for letting us know. Smiley Happy

4,406 Views
Message 14 of 14
Report

Hi, I'm really struggling with this and its' been bugging me for days, where do i insert this code onto my website? It's wholesale so the prices need to go really.

4,376 Views
Message 14 of 14
Report
Square

Add that code to Settings > SEO > Header Code, @evans97.

4,372 Views
Message 14 of 14
Report

Good to know we can hide price in editing page(To some people it's not necessary)
But where should I type it?

4,295 Views
Message 14 of 14
Report
Square

Hi @Mitch_mooh Settings > SEO > Header Code is where it should be placed. Make sure to save and publish. Also keep in mind it may not show in the editor, but should show on the live site. 

4,291 Views
Message 14 of 14
Report

Got it,thank you!

4,286 Views
Message 14 of 14
Report

Hi,

Can this code be adapted so that only specific categories no londer show a price?

TIA

1,856 Views
Message 14 of 14
Report

Dear all, 

i am totally new to weebly, and i can not code.

But I would like to remove Price, buy and quantity from my article lists as well.

How can i do it?


Thank you in advance.
Jule

1,541 Views
Message 14 of 14
Report
Square

Hi Jule. This thread might have some options you can try. If you see a suggestion to add a specific code you will place it under Settings>SEO>Header. Sometimes code does not work/show within the editor, so the best thing to do is copy/paste the code where I suggested, save & publish, then check the live site to see if it worked. If it did not work, go back to the settings area and delete the code before trying an alternative. 

1,534 Views
Message 14 of 14
Report

Just to help other people. I add a bit more code so that the buttons and cart dissappear as well.

<style>

#wsite-com-product-buy, #wsite-com-product-inventory, #wsite-com-product-price-area, #wsite-cart-bottom, #wsite-mini-cart, #wsite-nav-cart-a{ display:none; }

</style>
<style>
.wsite-com-product-price .wsite-com-price{
display:none !important;
}
</style>

1,833 Views
Message 15 of 14
Report
This thread has been archived and locked. Please start a new thread if you would like to continue the conversation.