View Single Post
  #2  
Old 03-19-2014, 09:46 PM
  qualiteam's Avatar 
qualiteam qualiteam is offline
 

X-Guru
  
Join Date: Dec 2010
Posts: 6,373
 

Default Re: Remove the "Powered By"

You are to create a custom module (it is really easy!) and "decorate" the \XLite\View\PoweredBy class as follows:

PHP Code:
<?php

namespace XLite\Module\[YourDevID]\[YourModuleID]\View;

class 
PoweredBy extends \XLite\View\PoweredBy implements \XLite\Base\IDecorator

{
    protected function 
isVisible()
    {
        return 
false;
    }
}

This should disable the "Powered By" widget. Or you can customize other class methods to replace the line with your message.
__________________
Alex Solovev,
Qualiteam

---

User manual Video tutorials X-Cart FAQ

You are welcome to press "Thanks" button
if you find this post useful

Click here to learn how to apply patches

X-Cart Extensions
Reply With Quote