| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Increase brand image on product pages (Shop By Brand module) | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
Increase brand image on product pages (Shop By Brand module)
I am using the Shop By Brand module. I would like to increase the size brand logo on individual product pages without losing quality. I uploaded a very large version of the logo for the brand, but it is being resized to 100px wide before being displayed on the page. I want it to be at least 160px.
How can I get a larger, high-quality version of the brand image on product pages?
__________________
X-Cart version 5.2 |
|||||||
#2
|
|||||||
|
|||||||
Re: Increase brand image on product pages (Shop By Brand module)
I solved this problem by overriding the module's View/Product/Details/Brand.php file's getLogoWidth() and getLogoHeight() methods.
This is the file I created at classes/XLite/Module/<dev_id>/<module_id>/Module/QSL/ShopByBrand/View/Product/Details/Brand.php: PHP Code:
I then redeployed the store, and the brand images were now bigger on individual product pages.
__________________
X-Cart version 5.2 |
|||||||
|
|
|||
X-Cart forums © 2001-2020
|