Post by hydrowire » Tue Aug 08, 2017 12:03 am

What's the recommended way to overwrite certain lines of code in .tpl template files using Event System without the help of vQmod or OCMOD?

Right now I could only think of using

Code: Select all

str_replace()
to the &$output parameter in Event callback function, but sometimes it is not ideal when you have many lines of code needed to be replaced.

Developing Quality OpenCart Extensions since 2011.
View my extensions


User avatar
Active Member

Posts

Joined
Wed Jan 26, 2011 5:41 pm


Post by straightlight » Sat Dec 02, 2017 4:25 am

The override engine from the marketplace could probably do this: https://www.opencart.com/index.php?rout ... on_id=8588

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON
Who is online

Users browsing this forum: No registered users and 33 guests