Hide manufacturer
- landed
- Phoca Professional
- Posts: 121
- Joined: 15 Sep 2023, 10:51
Hide manufacturer
Is there an option to hide manufacturer and SKU? I know I could with css but prefer a parameter if it exists. TY
- Benno
- Phoca Hero
- Posts: 9435
- Joined: 04 Dec 2008, 11:58
- Location: Germany
- Contact:
Re: Hide manufacturer
Hi,
if you mean in Backend see: https://www.phoca.cz/documentation/115- ... nistration
Kind regards,
Benno
if you mean in Backend see: https://www.phoca.cz/documentation/115- ... nistration
Kind regards,
Benno
- landed
- Phoca Professional
- Posts: 121
- Joined: 15 Sep 2023, 10:51
Re: Hide manufacturer
No front end. So CSS the only option? TY
- Nidzo
- Phoca Professional
- Posts: 387
- Joined: 07 Nov 2018, 14:55
Re: Hide manufacturer
That is the least complicated way.
- landed
- Phoca Professional
- Posts: 121
- Joined: 15 Sep 2023, 10:51
Re: Hide manufacturer
I would disagree on a few levels! Realise I am being pedantic. The CSS isn't of course hard just breaks coding standards and patterns. Having to maintain CSS 2 years down the line for example. And for certain types of category I would want the manufacturer showing just not for this one. Also not good to load hidden html. I do understand that it makes for more options in the backend though. So I take it there is no option? Thanks.
- Jan
- Phoca Hero
- Posts: 48400
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Hide manufacturer
Hi, if you don't want to use the simplest way (CSS) then of course, there is a solution. Like in whole Joomla system. You can override the HTML output in your template. So just select the output you want to override and make template override for this output and customize your HTML based on your needs.
In your case, if you mean product view, then the override will be based on this output:
components/com_phocacart/views/item/tmpl/default.php
Jan
In your case, if you mean product view, then the override will be based on this output:
components/com_phocacart/views/item/tmpl/default.php
Jan
If you find Phoca extensions useful, please support the project
- landed
- Phoca Professional
- Posts: 121
- Joined: 15 Sep 2023, 10:51
Re: Hide manufacturer
Thank you, I will prefer this way as more maintainable.