
Originally Posted by
Ingar
Hi! How can I alter the product page layout? I'd like the left side boxes such as categories and whatever else status is ON not to be shown on product pages, shopping cart, basically anywhere where the categories for instance are not necessary and space can be used more efficiently.
Open file :-
includes/templates/fluorspar/common/tpl_main_page.php
Find this line :-
// the following IF statement can be duplicated/modified as needed to set additional flags
Insert this code below and modify the array to suit your requirements :-
Code:
if (in_array($current_page_base,explode(",",'shopping_cart,login,product_info,checkout_shipping,checkout_payment,checkout_confirmation')) ) {
$flag_disable_left = true;
}
if ($this_is_home_page) {
$flag_disable_left = true;
}
I have modified my demo site as an example. http://www.zenofobe.com/demos/?skin=fluorspar
Regards,
Peejay
https://zenofobe.com
Bookmarks