Hallo fiedsch,
Code:
$items[0]['configuration']['tl_iso_attribute']['formatted']
Danke, das hat so funktioniert
ich hoffe, das du mir noch eine Frage beantworten kannst.
Hier ist noch mal ein größerer Ausschnitt aus dem Template.
Dort habe ich eine Stelle gekennzeichnet "[name] => ISOTOPE Steuerklasse (#####Variabel####)"
Wie kann ich die Variabel "[name]" ermitteln.
Code:
Code:
Array
(
[items] => Array
(
[0] => Array
(
[id] => 926
[sku] => H300001
[name] => Herrenschuh
[options] => Array
(
[tl_iso_attribute] => Array
(
[label] => Größe
[value] => 6
)
)
[configuration] => Array
(
[tl_iso_attribute] => Haste\Data\Plain Object
(
[storage:ArrayObject:private] => Array
(
[value] => Array
(
)
[label] => Größe
[formatted] => Größe 40
)
)
)
[quantity] => 4
[price] => 30,00 €
[tax_free_price] => 30,00 €
[total] => 120,00 €
[tax_free_total] => 120,00 €
[tax_id] =>
[href] => index.php/herrenschuhe/herrenschuh.html
[hasProduct] => 1
[product] => Isotope\Model\Product\Standard Object
(
[objPrice:protected] => Isotope\Collection\ProductPrice Object
(
[strTable:protected] => tl_iso_product_price
[intIndex:protected] => 0
[arrModels:protected] => Array
(
[0] => Isotope\Model\ProductPrice Object
(
[arrTiers:protected] => Array
(
[1] => 30.00
)
[arrData:protected] => Array
(
[id] => 12
[pid] => 8
[tstamp] => 1419503345
[tax_class] => 1
[config_id] => 0
[member_group] => 0
[start] =>
[stop] =>
)
[arrModified:protected] => Array
(
)
[arrRelations:protected] => Array
(
[pid] => Array
(
[table] => tl_iso_product
[field] => id
[type] => belongsTo
[load] => lazy
)
[tax_class] => Array
(
[table] => tl_iso_tax_class
[field] => id
[type] => hasOne
[load] => lazy
)
[config_id] => Array
(
[table] => tl_iso_config
[field] => id
[type] => hasOne
[load] => lazy
)
[member_group] => Array
(
[table] => tl_member_group
[field] => id
[type] => hasOne
[load] => lazy
)
)
[arrRelated:protected] => Array
(
[pid] => Isotope\Model\Product\Standard Object
*RECURSION*
[tax_class] => Isotope\Model\TaxClass Object
(
[arrData:protected] => Array
(
[id] => 1
[tstamp] => 1424878509
[name] => ISOTOPE Steuerklasse (#####Variabel####)
[fallback] => 1
[includes] => 0
[label] => 19
[rates] => a:1:{i:0;s:1:"1";}
[applyRoundingIncrement] => 1
[notNegative] =>
)
[arrModified:protected] => Array
(
)
Gruß Klaus
Lesezeichen