Post by kevtheirish » Mon Jan 13, 2020 1:50 am

I was able to edit catalog\view\theme\default\template\product\product.tpl in 2.x and hide the "Brand" under the item title. How do I do this in catalog\view\theme\default\template\product\product.twig

I tried to remove lines 125-128
{% if manufacturer %}
<li>{{ text_manufacturer }} <a href="{{ manufacturers }}">{{ manufacturer }}</a></li>
{% endif %}
<li>{{ text_model }} {{ model }}</li>

But it still appears
Last edited by kevtheirish on Mon Jan 13, 2020 11:01 am, edited 1 time in total.

Active Member

Posts

Joined
Mon Jan 16, 2012 2:58 am

Post by by mona » Mon Jan 13, 2020 2:04 am

It is not recommended to edit files directly .. however

Have you refreshed your cache?
Dashboard => top right => cog
Extensions => Modifications => top right => refresh

Have you refreshed your browser?
Is your theme caching ? (you are suggesting you are using default theme and have knowledge of OC .. but here you can never be sure)
Are you editing the corrected file (i.e. you have theme and you are editing the default theme)?
Do you have caching on your server?

DISCLAIMER:
You should not modify core files .. if you would like to donate a cup of coffee I will write it in a modification for you.


https://www.youtube.com/watch?v=zXIxDoCRc84


User avatar
Expert Member

Posts

Joined
Mon Jun 10, 2019 9:31 am
Who is online

Users browsing this forum: No registered users and 2 guests