Post by jillc » Fri Jul 20, 2018 11:04 am

I'm using Opencart Version 3.0.2.0 with default theme. How can I remove the Reviews tab from the product page or anywhere else it might appear?
Also, I want to remove the "Availability: In Stock" under the product code as everything is subject to quote and mostly manufactured when ordered.
Thanks.

New member

Posts

Joined
Sat Sep 07, 2013 11:55 am

Post by NDemidov » Fri Jul 20, 2018 12:59 pm


Newbie

Posts

Joined
Fri Jul 20, 2018 12:52 pm

Post by DigitCart » Fri Jul 20, 2018 1:59 pm

Hi,
You can do it here:
admin panel / system / settings / option tab

My Extensions / DigitCart


User avatar
Active Member

Posts

Joined
Thu Jun 22, 2017 5:32 pm


Post by jillc » Fri Jul 20, 2018 2:35 pm

Thanks. Too easy! That worked for the Reviews tab. How do I remove the availability line?

New member

Posts

Joined
Sat Sep 07, 2013 11:55 am

Post by DigitCart » Fri Jul 20, 2018 2:50 pm

You need to edit this file:

Code: Select all

catalog\view\theme\default\template\product\product.twig
Remove this line:

Code: Select all

<li>{{ text_stock }} {{ stock }}</li>
And then clear your caches.

My Extensions / DigitCart


User avatar
Active Member

Posts

Joined
Thu Jun 22, 2017 5:32 pm


Post by jillc » Fri Jul 20, 2018 3:52 pm

ok, thanks. I tried and tried and couldn't get it to work. Eventually I found a product.twig file in storage and when I removed the line from that file it worked. Thanks for your help.

New member

Posts

Joined
Sat Sep 07, 2013 11:55 am

Post by DigitCart » Sat Jul 21, 2018 12:02 am

You're welcome.

My Extensions / DigitCart


User avatar
Active Member

Posts

Joined
Thu Jun 22, 2017 5:32 pm

Who is online

Users browsing this forum: No registered users and 15 guests