I am trying to create a txt file for a client shop with entries in the following way: Channel TAG: {exp:cartthrob:order_items order_id="1937" variable_prefix="items_"}
{items_title} {items_quantity} {items_price_numeric}
{/exp:cartthrob:order_items}
Other Php needed variables: $order_id = XXXX -> This one must be the first one on every book row.
I want that for each entry ( book in the channel ) a ROW to be created one above the other with the $order_id in front of each one like this :
XXXX Book Title 1 50
XXXX boook2 tiitle 2 100
I don’t know how to do that in PHP so that to be FOR EACH entry to get a new line :(