Post by kirra2 » Mon Jun 22, 2015 1:11 pm

vqmod/ocmod replace dont work when a template view is included in another template view

for example, in opencart 2.0.3.1 "product_grid.tpl" is included in "category.tpl" using

Code: Select all

<?php include('catalog/view/theme/'.$config->get('config_template').'/template/themeglobal/product_grid.tpl'); ?>
I need to replace some text i.e. "Add to cart" to "Buy Now" but its not working for that particular file only.

Newbie

Posts

Joined
Mon Jun 22, 2015 1:06 pm

Post by qahar » Mon Jun 22, 2015 5:55 pm

I answer similiar question few days ago.

User avatar
Expert Member

Posts

Joined
Tue Jun 29, 2010 10:24 pm
Location - Indonesia
Who is online

Users browsing this forum: No registered users and 5 guests