Cart-info Mobile breaks

ThemeBurn SupportForumsOpenCart ThemesBurnEngineCart-info Mobile breaks

This topic has been marked as not resolved.

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?

 tecoad
November 13, 2017 at 8:37 pm #62540

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

November 24, 2017 at 5:32 pm #62652
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.