Opened 9 years ago
Last modified 9 years ago
#1206 closed Erweiterung
product_info.php - $product->buildDataArray auch als eigenständes Array — at Version 1
| Reported by: | Ronald Parcinski | Owned by: | somebody |
|---|---|---|---|
| Priority: | normal | Milestone: | modified-shop-2.0.3.0 |
| Component: | Shop | Version: | 2.0.2.2 |
| Keywords: | Cc: | ||
| Blocked By: | Blocking: |
Description (last modified by )
Bisher:
// load all definitions from product class
foreach ($product->buildDataArray($product->data, 'info') as $key => $value) {
$info_smarty->assign($key, $value);
}
Verschlag neu:
$productDataArray = $product->buildDataArray($product->data, 'info');
// load all definitions from product class
foreach ($productDataArray as $key => $value) {
$info_smarty->assign($key, $value);
}
Damit lässt sich dann leichter auf die Einträge von $productDataArray zugreifen. Zur Zeit ist das nur über das Smarty Objekt möglich.
Note:
See TracTickets
for help on using tickets.
