function nzshpcrt_editvariations() { $nzshpcrt = new wp_shopping_cart(); $nzshpcrt->editvariations(); //$GLOBALS['nzshpcrt_activateshpcrt'] = true; }