Advertisement
handoyo

array

May 28th, 2014
199
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.89 KB | None | 0 0
  1. $this->data['products'][] = array(
  2.                 'product_id'        => $result['product_id'],
  3.                 'name'                  => $result['name'],
  4.                 'model'                 => $result['model'],
  5.                 'rating'                => $rating,
  6.                 'stars'                 => sprintf($this->language->get('text_stars'), $rating),
  7.                 'price'                 => $price,
  8.                 'call_to_order'     => $result['call_to_order'],
  9.                 'options'           => $options,
  10.                 'special'               => $special,
  11.                 'thumb'                 => $thumbnail,
  12.                 'href'                  => $this->html->getSEOURL('product/product', '&product_id=' . $result['product_id'], '&encode'),
  13.                 'add'                   => $add,
  14.         // i want to add this new item
  15.         'count'         => xxx
  16.                         );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement