How to remove Powered By Phoca Cart in Joomla

mark , November 09 2021 - 8:42 am
M
Open: utils.php
Located here: public_html/administrator/components/com_phocacart/libraries/phocacart/utils/
Goto Line: 101
Change this:
public static function getInfo($mode = 1) {
if ($mode == 0) {
return "\n\n" . 'Powered by Phoca Cart' . "\n" . 'http://www.phoca.cz/phocacart';
} else {
return '<div style="text-align:right;color:#ccc;display:block">Powered by <a href="http://www.phoca.cz/phocacart">Phoca Cart</a></div>';
}
}
To This:
public static function getInfo($mode = 1) {
if ($mode == 0) {
return ;
} else {
return ;
}
}
Next...
Open: info.php
Located here: public_html/administrator/components/com_phocacart/libraries/phocacart/utils/
Goto Line: 25
Change this:
if ($mode === 0) {
return "\n\n" . 'Powered by Phoca Cart' . "\n" . 'https://www.phoca.cz/phocacart';
} else if ($mode === 2) {
return '<div>Powered by <a href="https://www.phoca.cz/phocacart"><img src="'.JURI::root(true).'/media/com_phocacart/images/phoca-cart.png" alt="Phoca Cart" style="height:1.2em;width:auto;margin-bottom: 3px;" /></a> & <a
href="https://www.phoca.cz/phocacart"><img src="'.JURI::root(true).'/media/com_phocacart/images/phoca-pos.png" alt="Phoca POS" style="height:1.2em;width:auto;margin-bottom: 3px;" /></a></div>';
} else {
return '<div style="text-align:right;display:block">Powered by <a href="https://www.phoca.cz/phocacart">Phoca Cart</a></div>';
}
To This:
if ($mode === 0) {
return ;
} else if ($mode === 2) {
return ;
} else {
return ;
}