public function new_product()
 {
     if (!isset($_POST['title'])) {
         die;
     }
     check_ajax_referer('fpd_ajax_nonce', '_ajax_nonce');
     if (class_exists('Fancy_Product')) {
         $id = Fancy_Product::create($_POST['title']);
         header('Content-Type: application/json');
         echo json_encode(array('id' => $id, 'message' => $id ? __('Product successfully created!', 'radykal') : __('Product could not be created. Please try again!', 'radykal'), 'html' => FPD_Admin_Manage_Fancy_Products::get_product_item_html($id, $_POST['title'], '', '')));
     }
     die;
 }