'; //Begin Main settings
echo $tab;
echo 'General Options
';
}
function xoo_cp_sy_cb(){
echo 'Style Options
';
}
function xoo_cp_begad_cb(){
$tab = ''; // End Main Settings
$tab .= '';
echo $tab;
}
function xoo_cp_endad_cb(){
ob_start();
include(plugin_dir_path(__FILE__).'/xoo-cp-fvsp-template.php');
$html = ob_get_clean();
$html .= '
'; // End Advanced settings
echo $html;
}
//General Options Callback
//Enable on Mobile Devices
$xoo_cp_gl_atcem_value = sanitize_text_field(get_option('xoo-cp-gl-atcem','true'));
function xoo_cp_gl_atcem_cb(){
global $xoo_cp_gl_atcem_value;
$html = '';
$html .= '';
echo $html;
}
//Show product details
$xoo_cp_gl_pden_value = sanitize_text_field(get_option('xoo-cp-gl-pden','true'));
function xoo_cp_gl_pden_cb(){
global $xoo_cp_gl_pden_value;
$html = '';
$html .= '';
echo $html;
}
//Enable +/- button
$xoo_cp_gl_ibtne_value = sanitize_text_field(get_option('xoo-cp-gl-ibtne','true'));
function xoo_cp_gl_ibtne_cb(){
global $xoo_cp_gl_ibtne_value;
$html = '';
$html .= '';
echo $html;
}
//Allow Quantity Update
$xoo_cp_gl_qtyen_value = sanitize_text_field(get_option('xoo-cp-gl-qtyen','true'));
function xoo_cp_gl_qtyen_cb(){
global $xoo_cp_gl_qtyen_value;
$html = '';
$html .= '';
echo $html;
}
//View Cart button
$xoo_cp_gl_vcbtne_value = sanitize_text_field(get_option('xoo-cp-gl-vcbtne','true'));
function xoo_cp_gl_vcbtne_cb(){
global $xoo_cp_gl_vcbtne_value;
$html = '';
$html .= '';
echo $html;
}
//Checkout button
$xoo_cp_gl_chbtne_value = sanitize_text_field(get_option('xoo-cp-gl-chbtne','true'));
function xoo_cp_gl_chbtne_cb(){
global $xoo_cp_gl_chbtne_value;
$html = '';
$html .= '';
echo $html;
}
//Enable spin icon
$xoo_cp_gl_spinen_value = sanitize_text_field(get_option('xoo-cp-gl-spinen','true'));
function xoo_cp_gl_spinen_cb(){
global $xoo_cp_gl_spinen_value;
$html = '';
$html .= '';
echo $html;
}
//Reset cart form
$xoo_cp_gl_resetbtn_value = sanitize_text_field(get_option('xoo-cp-gl-resetbtn'));
function xoo_cp_gl_resetbtn_cb(){
global $xoo_cp_gl_resetbtn_value;
$html = '';
$html .= '';
echo $html;
}
//Style Options Callback
//Popup Width
$xoo_cp_sy_pw_value = sanitize_text_field(get_option('xoo-cp-sy-pw','650'));
function xoo_cp_sy_pw_cb(){
global $xoo_cp_sy_pw_value;
$html = '';
$html .= '';
echo $html;
}
//Image Width
$xoo_cp_sy_imgw_value = sanitize_text_field(get_option('xoo-cp-sy-imgw','20'));
function xoo_cp_sy_imgw_cb(){
global $xoo_cp_sy_imgw_value;
$html = '';
$html .= '';
echo $html;
}
//Button Background Color
$xoo_cp_sy_btnbg_value = sanitize_text_field(get_option('xoo-cp-sy-btnbg','#777777'));
function xoo_cp_sy_btnbg_cb(){
global $xoo_cp_sy_btnbg_value;
$html = '';
$html .= '';
echo $html;
}
//Button Border Radius
$xoo_cp_sy_btnbr_value = sanitize_text_field(get_option('xoo-cp-sy-btnbr','5'));
function xoo_cp_sy_btnbr_cb(){
global $xoo_cp_sy_btnbr_value;
$html = '';
$html .= '';
echo $html;
}
//Table Border Size
$xoo_cp_sy_tbs_value = sanitize_text_field(get_option('xoo-cp-sy-tbs','0'));
function xoo_cp_sy_tbs_cb(){
global $xoo_cp_sy_tbs_value;
$html = '';
$html .= '';
echo $html;
}
//Table Border Color
$xoo_cp_sy_tbc_value = sanitize_text_field(get_option('xoo-cp-sy-tbc','#ebe9eb'));
function xoo_cp_sy_tbc_cb(){
global $xoo_cp_sy_tbc_value;
$html = '';
echo $html;
}
?>