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:

  1. Install and activate “Custom Skin” module

  2. Create the following custom script in your X-Cart installation:


  3. Add the following code to the custom script:

    namespace XLite\Module\XC\CustomSkin\Core;
    class Layout extends \XLite\Core\Layout implements \XLite\Base\IDecorator
         * @return array
        protected function getSidebarFirstHiddenTargets()
            return array_merge(
  4. Rebuild the X-Cart cache.