Hello
Joomla 6.0.2/Phoca Cart 6.1.0Beta2
What CSS code should I add to hide the price but keep the Unit Price visible on the category list pages, product pages, and Comparison page?
hide the price, keep the Unit Price
- Jan
- Phoca Hero

- Posts: 49199
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: hide the price, keep the Unit Price
Hi, the prices in Phoca Cart have own CSS class, so just open devtools and see the class the the current part - to hide it then e.g. in user.css
Jan
Jan
If you find Phoca extensions useful, please support the project
- Slava
- Phoca Member

- Posts: 31
- Joined: 07 Nov 2025, 18:39
Re: hide the price, keep the Unit Price
Thank you, Jan, to hide the standard price in the category list, I added it to user.css. It works
Slava
Code: Select all
/*hide the standard price label*/
.pc-category-view .ph-standard-txt {
display: none;
}
/*hide the standard price value*/
.pc-category-view .ph-standard {
display: none;
}- Slava
- Phoca Member

- Posts: 31
- Joined: 07 Nov 2025, 18:39
Re: hide the price, keep the Unit Price
hide both the label and the value of the standard price on the product page.
hide standard price label and value on comparison page.
Code: Select all
.pc-item-view .ph-standard-txt {
display: none;
}
.pc-item-view .ph-standard {
display: none;
}Code: Select all
.pc-comparison-view .ph-standard-txt {
display: none;
}
.pc-comparison-view .ph-standard {
display: none;
}