Hide manufacturer

Phoca Cart - complex e-commerce extension
User avatar
landed
Phoca Professional
Phoca Professional
Posts: 121
Joined: 15 Sep 2023, 10:51

Hide manufacturer

Post by landed »

Is there an option to hide manufacturer and SKU? I know I could with css but prefer a parameter if it exists. TY
User avatar
Benno
Phoca Hero
Phoca Hero
Posts: 9435
Joined: 04 Dec 2008, 11:58
Location: Germany
Contact:

Re: Hide manufacturer

Post by Benno »

Hi,
if you mean in Backend see: https://www.phoca.cz/documentation/115- ... nistration

Kind regards,
Benno
User avatar
landed
Phoca Professional
Phoca Professional
Posts: 121
Joined: 15 Sep 2023, 10:51

Re: Hide manufacturer

Post by landed »

No front end. So CSS the only option? TY
User avatar
Nidzo
Phoca Professional
Phoca Professional
Posts: 387
Joined: 07 Nov 2018, 14:55

Re: Hide manufacturer

Post by Nidzo »

That is the least complicated way.
User avatar
landed
Phoca Professional
Phoca Professional
Posts: 121
Joined: 15 Sep 2023, 10:51

Re: Hide manufacturer

Post by landed »

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.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Hide manufacturer

Post by Jan »

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
If you find Phoca extensions useful, please support the project
User avatar
landed
Phoca Professional
Phoca Professional
Posts: 121
Joined: 15 Sep 2023, 10:51

Re: Hide manufacturer

Post by landed »

Thank you, I will prefer this way as more maintainable.
Post Reply