Stephen De Chellis
Customer
Can we get a basic template to edit for an item that executes an SQL query when purchased?
protected function pre_purchase(&$buyer, &$recipient)
{
global $vbphrase;
$this->registry->db->query_write("
### YOUR SQL QUERY HERE ###
");
}
We use essential cookies to make this site work, and optional cookies to enhance your experience.