I detected a bug in both Pavillion and Technopolis themes I own. So it seems to be a BurnEngine bug.
At template/tb/css/opencart.css.tpl we have:
.cart-info.tb_max_w_500 .name,
.cart-info.tb_max_w_500 .total,
.wishlist-info.tb_max_w_500 .price
{
width: auto;
padding-left: get(\’config_image_cart_width\’) + 20; ?>px !important;
padding-right: get(\’config_image_cart_width\’) + 20; ?>px !important;
}
The output main.css sets padding only with 20px. So it seems cannot find the variable $tbData[\'config\']->get(\’config_image_cart_width\’) . Even though I have se the image sizes at BurnEngine configuration.
.cart-info.tb_max_w_500 .name, .cart-info.tb_max_w_500 .total, .wishlist-info.tb_max_w_500 .price {
width: auto;
padding-left: 20px !important;
}
Have you guys detected it previously?
|
|
Hi,
Thanks for reporting this problem. Here is the solution:
1) Open catalog/view/theme/BurnEngine/template/tb/css/opencart.css.tpl
2) Insert this code line at the top:
<?php $cart_image_width = !empty($tbData['config']->get('config_image_cart_width')) ? $tbData['config']->get('config_image_cart_width') : $tbData->product['image']['cart_width']; ?>
3) Replace this string:
$tbData->product['image']['cart_width']
with this one:
$cart_image_width
BR,
ThemeBurn team
|
|