formatting products purchased