Features>Brands - Page Layout *solved*

Is there a way to change the default product layout on the Brand pages without effecting the category layout?



I would like the brand default to be “layout=products_without_options” .





Thanks!

Hello,



Unfortunately, some code modifications are required for this.

[quote name='nathand' timestamp='1408399883' post='189895']

Is there a way to change the default product layout on the Brand pages without effecting the category layout?



I would like the brand default to be “layout=products_without_options” .





Thanks!

[/quote]



It is very simple. Open the app/controllers/frontend/product_features.php and replace:



$selected_layout = fn_get_products_layout($_REQUEST);




with



if (empty($_REQUEST['layout'])) {
$_REQUEST['layout'] = 'products_without_options';
}
$selected_layout = fn_get_products_layout($_REQUEST);




Hope that helps.

THANK YOU!


[quote name='eComLabs' timestamp='1408432105' post='189919']

It is very simple. Open the app/controllers/frontend/product_features.php and replace:



$selected_layout = fn_get_products_layout($_REQUEST);




with



if (empty($_REQUEST['layout'])) {
$_REQUEST['layout'] = 'products_without_options';
}
$selected_layout = fn_get_products_layout($_REQUEST);




Hope that helps.

[/quote]

We are glad to help you!