Modify ↓
#1206 closed Erweiterung (fixed)
product_info.php - $product->buildDataArray auch als eigenständes Array
| 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.
Attachments (0)
Change History (4)
comment:1 by , 9 years ago
| Description: | modified (diff) |
|---|
comment:2 by , 9 years ago
| Milestone: | modified-shop-2.0.2.3 → modified-shop-2.0.2.4 |
|---|
comment:3 by , 9 years ago
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
comment:4 by , 9 years ago
| Milestone: | modified-shop-2.0.2.4 → modified-shop-2.0.2.3 |
|---|
Note:
See TracTickets
for help on using tickets.

In 10780: