{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?