public function check_sku($id)
{
if(empty($id))
return true;
$query = $this->db->placehold("SELECT v.sku FROM s_variants v WHERE v.sku ===".$id);
$this->db->query($query);
$variant = $this->db->result();
if(empty($variant))
return true;
return false;
}