at the moment you’d have to take/copy
wppizza/ajax/get-json.php
and use the whole bit
$options=$this->pluginOptions;
/*
you might want to / have to change the above to
$options=get_option('wppizza');
**/
global $blog_id;
/****************************************************************
* [add / remove item from cart session]
***************************************************************/
if(isset($_POST['vars']['type']) && (($_POST['vars']['type']=='add' || $_POST['vars']['type']=='remove' || $_POST['vars']['type']=='removeall' || $_POST['vars']['type']=='increment') && $_POST['vars']['id']!='') || $_POST['vars']['type']=='refresh' || $_POST['vars']['type']=='wppizza-update-order'){
/**code**/
}
and pass the relevant variables to it as the whole thing is only only available via ajax
one day i might make that whole thing into it’s own class, but for the moment it is what it is