Sunday, March 13, 2011

K2 override k2mart templates

In Joomla and K2 with K2 mart for virtuemart it was difficult for me to find/discover how best to customize the plugin templates. It turns out to be really simple though.

Create a folder called k2mart in your templates html overrides folder. TEMPLATE/html/k2mart

Then copy the 4 files from plugins/k2/k2mart/tmpl folder into your new overrides.


Specifically I needed to change the listing plugin to build a product grid. The listing template is actually calling the module.php file.


Stumble Upon CodePyro

1 comment:

Anonymous said...

Hello,
I installed k2mart on site. its working fine. but i want to add some extra fields. i added it on extra fields groups. i select dropdown fror values. but it shows only first value. on product.

Post a Comment