Opened 9 years ago

Last modified 9 years ago

#1206 closed Erweiterung

product_info.php - $product->buildDataArray auch als eigenständes Array — at Initial Version

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

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. Zu Zeit ist das nur über das smarty Objekt möglich.

Change History (0)

Note: See TracTickets for help on using tickets.