View Single Post
  #29  
Old 12-19-2016, 06:20 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

Quote:
Originally Posted by atclarkson
Hello, Great work I really love the mod.

I would like for the brand logo to appear above the product title on my product description pages. Is this possible?

Thank you for the feedback!

It is possible with a tweak implemented as a custom module.

Shop By Brand module displays the brand logo via this template file:
skins/customer/modules/QSL/ShopByBrand/product/parts/brand.twig

The template uses the @ListChild directive to make the logo appear in the "product.details.page.info" and "product.details.quicklook.info" widget lists (that are displayed below the product title).

So, to move the logo to a different place you should "substitute" this file with a custom one that will attach it to different "widget lists" by changing names of the lists in @ListChild directives (or the weight parameters).

In your case changing the weight will likely be enough.

You can enable the Webmaster mode (Look & Feel -> Layout) to see what displays in which "widget list" appear on your site pages.
Reply With Quote