Purchase view, using php variables