Fix My Computer, Mark! - Knowledge Base - How to remove Powered By Phoca Cart in Joomla 

Knowledge Base - How to remove Powered By Phoca Cart in Joomla

Open: utils.php
Located here:
public_html/administrator/components/com_phocacart/libraries/phocacart/utils/

Line: 101, or 121

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 ;
}
}


Open: info.php
Located here:
public_html/administrator/components/com_phocacart/libraries/phocacart/utils/

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 ;
}

Details

Created : 2017-06-18 00:20:58, Last Modified : 2022-10-01 10:36:40

Click to listen highlighted text!