Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

nehiac

Members
  • Content count

    1
  • Joined

  • Last visited

Everything posted by nehiac

  1. The fix is by tgely Posted November 5, 2013 Make Easy Populate add new products when using mysqli in database.php and PHP7 change: // determine processing status based on dropdown choice on EP menu if ((sizeof($row) > 1) && ($_POST['imput_mode'] == "normal" || $_POST['imput_mode'] == "update")) { $process_product = true; } elseif ((sizeof($row) == 1) && ($_POST['imput_mode'] == "normal" || $_POST['imput_mode'] == "addnew")) { $process_product = true; } else { $process_product = false; } to: // determine processing status based on dropdown choice on EP menu if ((sizeof($row) > 1) && ($_POST['imput_mode'] == "normal" || $_POST['imput_mode'] == "update")) { $process_product = true; } elseif ((is_null($row) || sizeof($row) == 1) && ($_POST['imput_mode'] == "normal" || $_POST['imput_mode'] == "addnew")) { $process_product = true; } else { $process_product = false; }
×