How to modify Contact Us meta tags of X-cart 5?

For seo purpose, we need to modify default contact up page meta tags, follow me, and you will know how I have modified this for  www.cheapglasses.net

First, create a file called ContactUs.php, and place it under classes/XLite/Module/XC/CustomSkin/Controller/Customer, add the following content within this file:

<?php
namespace XLite\Module\XC\CustomSkin\Controller\Customer;
/**
* Decorated controller class.
*
* @LC_Dependencies (“CDev\ContactUs”)
*/
class ContactUs extends \XLite\Module\CDev\ContactUs\Controller\Customer\ContactUs implements \XLite\Base\IDecorator
{/**
* Get meta title
*
* @return string
*/
public function getPageTitle()
{
return ‘Contact Cheapglasses.net’;
}
/**
* Get meta description
*
* @return string
*/
public function getMetaDescription()
{
return ‘Discount prices on prescription eyeglasses and sunglasses online.’;
}

    /**
* Get meta keywords
*
* @return string
*/
public function getKeywords()
{
return ‘eyeglasses,sunglasses,eyeglass lenses,eyeglass,glasses,eye glasses,sun glasses,prescription eyeglasses, prescription eye glasses,cheap eyeglasses,cheap eye glasses,eye doctor,eye doctors,eyeglass prescription,eye glass prescription,prescription glasses,cheap glasses,discount eye glasses,discount eyeglasses,discount eyewear,discount glasses,eyeglass frame,eye glass frame,eyeglasses online,eye glasses online,rimless eyeglasses,rimless eye glasses,progressive lens,progressive lenses,prescription sunglasses,prescription sun glasses, prescription sunglass,prescription sun glass,polarized lens,polarized sunglasses,polarized sun glasses,metal eyeglasses,metal eye glasses,plastic eyeglasses,plastic eye glasses,titanium eyeglasses,titanium eye glasses,bendable eyeglasses,bendable eye glasses,kids eyeglasses,kids eye glasses,child eyeglasses,child eye glasses’;
}
}
Second, create a file called Main.php, and place it under classes/XLite/Module/XC/CustomSkin, add the following code with this new file:
<?php
// vim: set ts=4 sw=4 sts=4 et:
/**
* X-Cart
*
* NOTICE OF LICENSE
*
* This source file is subject to the software license agreement
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://www.x-cart.com/license-agreement.html
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to licensing@x-cart.com so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not modify this file if you wish to upgrade X-Cart to newer versions
* in the future. If you wish to customize X-Cart for your needs please
* refer to http://www.x-cart.com/ for more information.
*
* @category  X-Cart 5
* @author    Qualiteam software Ltd <info@x-cart.com>
* @copyright Copyright (c) 2011-2015 Qualiteam software Ltd <info@x-cart.com>. All rights reserved
* @license   http://www.x-cart.com/license-agreement.html X-Cart 5 License Agreement
* @link      http://www.x-cart.com/
*/
namespace XLite\Module\XC\CustomSkin;
/**
* Main module
*/
abstract class Main extends \XLite\Module\AModule
{
/**
* Author name
*
* @return string
*/
public static function getAuthorName()
{
return ‘www.cheapglasses.net’;
}
    /**
* Module name
*
* @return string
*/
public static function getModuleName()
{
return ‘Custom Skin’;
}
    /**
* Module description
*
* @return string
*/
public static function getDescription()
{
return ‘Modify Contat Us meta tags’;
}
    /**
* Get module major version
*
* @return string
*/
public static function getMajorVersion()
{
return ‘5.2’;
}
    /**
* Module version
*
* @return string
*/
public static function getMinorVersion()
{
return ‘9’;
}
    /**
* Display settings form
*
* @return boolean
*/
public static function showSettingsForm()
{
return true;
}
}
Third, upload these two files;
Forth, login your admin panel, active this new module, which name is ‘Custom Skin’;
Fifth,  go to ‘System Settings–> Cache management’, and Click ‘Re-deploy the store’.
Done
Many thanks qualiteam gives me the idea how to modify!!!
King Php Science Welcome, you are from: 40.77.167.68