View Single Post
  #9  
Old 11-10-2014, 03:46 AM
  xplorer's Avatar 
xplorer xplorer is offline
 

X-Cart team
  
Join Date: Jul 2004
Posts: 925
 

Default Re: Shop By Brand module for X-Cart 5

Hi Jan,

Thanks for the clarifications!

Quote:
Originally Posted by JannieB
I have an amended version of the prodyct/details/parts/common.product.title.tpl

The "common.product.title.tpl" template renders the product name, not the product's brand.

The "product/details/parts/brand.tpl" is the template that injects the brand icon to the product page (but not renders it!).


Quote:
Originally Posted by JannieB
Code:
<h1 class="fn title">{product.name:h}</h1>

The same goes there: "product.name" is the product name, not the brand name


Quote:
Originally Posted by JannieB
Code:
<h1><a href="?target=brand&brand_id=18">Gubi</a></h1>

The link tag is added to the brand in this template file:
modules/QSL/ShopByBrand/brand/icon.tpl

So, if you want to remove the link, you should "override" this template file in your custom skin, not the one that you mentioned above.


Quote:
Originally Posted by JannieB
working with this version of x-cart is proving to be very frustrating

This is just the first impression that will go away once you get a bit more familiar with the code of X-Cart 5. Just don't give up!
Reply With Quote