__init__($conn); // Get the latest registered customer's table name. $table = $customer->get_table_name(true); // Obtain the list of the products added to the cart from the customer's database table. $product_names = []; $product_ids = []; $product_prices = []; list($product_names, $product_ids, $product_prices) = $customer->get_purchased_product_list($table); $list = "Product NameProduct IDProduct Price"; for($i=0; $i '.$product_ids[$i].' '.$product_prices[$i].' '; } // Return the generated product list. echo($list); ?>