I new to cscart. I need to fill the settings from database for my new addon.
I have below code in my addon.xml
header info fn_add_setting_info
selectbox fn_add_setting_info In func.php
function fn_add_setting_info()
{
$all_datas=get_feature_description();
foreach($all_datas as $val){
$arr_sett[$val[‘feature_id’]]=$val[‘description’];
}
Registry::get(‘view’)->assign(‘option_details’,@$arr_sett);}
Here the select box does not fill fn_add_setting_info() data. How can I do . Please help me.
Thanks & Regards
Amelia