Connects line_times to cart and products.