Re: Shop By Brand module for X-Cart 5
The link to the template file is defined here:
\XLite\Module\QSL\ShopByBrand\View\Product\Details \Brand::getDefaultTemplate()
The logic is as follows:
1. The "@ListChild" tag in the product/details/parts/brand.tpl template makes this template appear on the product page (and in the quick look).
2. This template renders the XLite\Module\QSL\ShopByBrand\View\Product\Details\ Brand widget. "Renders" means that it calls the "display()" method of the specified widget class. However, in most cases this method does the only thing: it renders the template that is specified in the getDefaultTemplate() method of the widget class. So, "rendering a widget class" will likely show the template file the method defines.
|