In the checkout phase (the step.php file) I want to display certain text based on what products are in the cart.
What would be the best way to do this (to get the products from the cart). In other words, WHERE should I do this? Currently I am trying to get the products with $this->rows but it's kind of messy.
I need to run some logic on the cart and set a single variable which will then trigger a text block to be displayed in the show.php file. Currently I'm trying to get the products in the view (shop.php) but that's too messy to understand. I just need the product names.
Any ideas?