ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Create a row for each entry PhP/ or EE ?

September 18, 2013 6:32pm

Subscribe [1]
  • #1 / Sep 18, 2013 6:32pm

    Klauss

    33 posts

    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 :(

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases