Page 1 of 1
Hide manufacturer
Posted: 27 Sep 2023, 19:04
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
Re: Hide manufacturer
Posted: 27 Sep 2023, 19:26
by Benno
Re: Hide manufacturer
Posted: 27 Sep 2023, 20:00
by landed
No front end. So CSS the only option? TY
Re: Hide manufacturer
Posted: 27 Sep 2023, 20:46
by Nidzo
That is the least complicated way.
Re: Hide manufacturer
Posted: 27 Sep 2023, 22:34
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.
Re: Hide manufacturer
Posted: 28 Sep 2023, 13:05
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
Re: Hide manufacturer
Posted: 28 Sep 2023, 13:26
by landed
Thank you, I will prefer this way as more maintainable.