Post by Khal » Wed May 24, 2017 6:14 pm

I wanted to remove the Product descriptions and the Add to Cart buttons, etc from the Latest module, so I commented out the relevant code in the Latest.tpl file. I have achieved the desired result on the front end, but now my error log is filling up with these two error messages:

Code: Select all

Undefined index: notify_enable in /.../public_html/system/modification/catalog/view/theme/default/template/module/latest.tpl on line 35
Undefined index: button_cart in /.../public_html/system/modification/catalog/view/theme/default/template/module/latest.tpl on line 35
I think that at least one of these errors (notify_enable variable) is due to a module that I have installed, which sends out a notification email when a product is out of stock. The extension developer is not getting back to me so I was hoping to resolve this issue myself.

I assume that I will also need to remove the lines of code from the extension which address the Latest module? The extension is OCMOD so where can I find the files that need changing?

I have OC2.0.1.1

Thank you for your help

Active Member

Posts

Joined
Thu May 24, 2012 9:24 pm
Location - Teesside, UK

Post by IP_CAM » Thu May 25, 2017 9:06 am

if OcMods are used, you'll find their Content in the Database, as shown on the image below.
But some OcMod Editors also exist, to easier make changes directly from the Admin Section:
https://www.opencart.com/index.php?rout ... d%20editor
Good Luck ;)
Ernie
---
Image

My Github OC Site: https://github.com/IP-CAM
5'600 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.


User avatar
Legendary Member

Posts

Joined
Tue Mar 04, 2014 1:37 am
Location - Switzerland

Post by Khal » Thu May 25, 2017 5:13 pm

Thank you IP_CAM, that's great :)

OC 2.0.1.1


Active Member

Posts

Joined
Thu May 24, 2012 9:24 pm
Location - Teesside, UK
Who is online

Users browsing this forum: No registered users and 3 guests