I see. Did you add a "premiumcost" column to table adopts_adoptables? If not, that's a contributor to your problem. Then in admincp->adopts.php, make sure you change this line under public function add():
$mysidia->db->insert("adoptables", array("id" => NULL, "type" => $mysidia->input->post("type"), "class" => $mysidia->input->post("class"), "description" => $mysidia->input->post("description"), "eggimage" => $eggimage, "whenisavail" => $mysidia->input->post("cba"),
"alternates" => $mysidia->input->post("alternates"), "altoutlevel" => $mysidia->input->post("altoutlevel"), "altchance" => $mysidia->input->post("altchance"), "shop" => $mysidia->input->post("shop"), "cost" => $mysidia->input->post("cost")));
to this:
$mysidia->db->insert("adoptables", array("id" => NULL, "type" => $mysidia->input->post("type"), "class" => $mysidia->input->post("class"), "description" => $mysidia->input->post("description"), "eggimage" => $eggimage, "whenisavail" => $mysidia->input->post("cba"),
"alternates" => $mysidia->input->post("alternates"), "altoutlevel" => $mysidia->input->post("altoutlevel"), "altchance" => $mysidia->input->post("altchance"), "shop" => $mysidia->input->post("shop"), "cost" => $mysidia->input->post("cost"), "premiumcost" => $mysidia->input->post("premiumcost")));
(Make sure you do the same for public function edit() too).
In admincp->view->adoptview.php, make sure you have the text field properly set up like:
$shopSettings->add(new Comment("Premium Price: ", FALSE));
$shopSettings->add(new TextField("premiumcost", 0, 10));
Finally, in classes->class_adoptable.php, you need to add this to the list of protected variables:
protected $premiumcost;
and this with the other public functions:
public function getPremiumcost(){
return $this->premiumcost;
}
I'm not sure if you did all this, but it's necessary for what you're trying to do.