Cut-and-paste purchase to create purchase_product, needs editing still
Fixed purchase_product so it should work.