If you would like to hide the left-hand bar for static pages only, but still want it displayed for other pages, just follow the below guide.
Step-by-step guide
Here are the steps involved:
Install and activate "Custom Skin" module
Create the following custom script in your X-Cart installation:
classes/XLite/Module/XC/CustomSkin/Core/Layout.php
Add the following code to the custom script:
<?php
namespace XLite\Module\XC\CustomSkin\Core;
class Layout extends \XLite\Core\Layout implements \XLite\Base\IDecorator
{
/**
* @return array
*/
protected function getSidebarFirstHiddenTargets()
{
return array_merge(
parent::getSidebarFirstHiddenTargets(),
array('page')
);
}
}Rebuild the X-Cart cache.