I want to add a new custom function to fn.cart .php.Can we do that?what linking we need to provide for that?Can anybody help me with this?
Thankyou
[quote name='madhuri' timestamp='1419234380' post='200522']
I want to add a new custom function to fn.cart .php.Can we do that?what linking we need to provide for that?Can anybody help me with this?
[/quote]
You can start from here
Welcome to CS-Cart Documentation! — CS-Cart 4.2.x documentation
Or hire someone to perform this modification for you
Thanks
Hi @madhuri,
You don't need to add a custom function to fn.cart.php, because if you add you custom function to my changes add-on can be called from any place.
To add a custom function to my changes please follow:
#add file (if missing)
app/addons/my_changes/func.php
#with content
use Tygh\Registry;
if (!defined('BOOTSTRAP')) { die('Access denied'); }
function fn_my_changes_custom_function(){
...
}
PS: You will need to have My Changes add-on active.
I hope that helps,
—
Valentin
[color=#808080][size=2]part of hungryweb.net[/size][/color]
Ok thanks i will check this.