WebSite X5Help Center

 
V. Boros
V. Boros
User

Product page (hide button add)  en

Autor: V. Boros
Visited 1127, Followers 1, Udostępniony 0  

I want to ask if it is possible to add some feature to settings to hide button add to cart - on the product page, where is description of the products. Or is it possible to use some script to hide that button?
We have seasonal sales of products, so we want to have the goods published, but we do not want customers to order them out of the season (so we want to hide "add" button, or hide "basket").
The attached screenshot. 01 shows what the product page looks like now, and second screenshot. 02 shows how we want it to be.

Posted on the
5 ODPOWIEDZI - 3 USEFUL - 1 PRAWIDłOWA ODPOWIEDź
Andreas S.
Andreas S.
Moderator

This is only possible with individual CSS code!

<style>
.product-add {display: none;}
</style>

Insert this at the bottom of "Online Store: Product Page" on "Properties" and "Advanced" tab.

Czytaj więcej
Posted on the from Andreas S.
Axel  
Axel  
User
Najlepszy Użytkownik miesiąca FR

Hello,

Into the properties of the product sheet page put this code

And the display is:

Enjoy!
Axel

Czytaj więcej
Posted on the from Axel  
Axel  
Axel  
User
Najlepszy Użytkownik miesiąca FR

And to hide stock availability adds

<style>

.product-available.m-b.small-font {
display: none !important;

</style>

Czytaj więcej
Posted on the from Axel  
V. Boros
V. Boros
User
Autor

Thank you!

Super! 

Czytaj więcej
Posted on the from V. Boros
Axel  
Axel  
User
Najlepszy Użytkownik miesiąca FR

If the answer is correct please mark it by this way like correct

And close the ticket by here to elp other users

Enjoy!
Axel

Czytaj więcej
Posted on the from Axel