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.

Why same title for Php variable?

September 18, 2013 6:50pm

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

    Klauss

    33 posts

    {exp:cartthrob:order_items order_id="1937" variable_prefix="items_"} $titlu_carte =’{items_title} ‘;
    $gestiune_id =’{product_sku} ‘; $cantitate_carte =’{items_quantity}’; $pret_numeric_carte = ‘{items_price_numeric}’;

    {/exp:cartthrob:order_items}

    echo $titlu_carte; echo $gestiune_id; echo $cantitate_carte; echo $pret_numeric_carte;

    Result:TITLE1 012L000001 2 12 TITLE1 ( again ? why not the next title? ) 2 12

    Why is it giving me the same book and not the next one in the entry?
    I want to have:
    TITLE1 012L000001 2 12
    TITLE2 ....( so on )

    Any help please?

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

ExpressionEngine News!

#eecms, #events, #releases