Need help with Joomla? We are available for hire to help with Joomla customization, upgrades, maintenance, and custom development.
Explore our services

Alternative layouts for product or choose eshop template within the product

  • Marck Goran Lorencin
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
6 years 2 months ago #134697 by Marck Goran Lorencin
Similarly to what was done here I would really apprechiate if same thing could be implemented for individual products.

Matija Trček wrote: Please add option for alternative layouts for product filter module.

I have managed to do that myself by adding this field to XML file:

Code:
<field name="layout" type="modulelayout" label="JFIELD_ALT_LAYOUT_LABEL" description="JFIELD_ALT_MODULE_LAYOUT_DESC" />

and this to end of mod_eshop_products_filter.php
Code:
require JModuleHelper::getLayoutPath('mod_eshop_products_filter', $params->get('layout', 'default'));


I have installed an additional template, depending on the the product I would like to have an option to choose which template is to be "called" for a specific product. I assume this could be a "simple" fix similar to above?

Kind regards,
Marck

Please Log in or Create an account to join the conversation.

Moderators: Giang Dinh Truong