Skip to content

Instantly share code, notes, and snippets.

@leotop
Last active August 29, 2015 14:05
Show Gist options
  • Save leotop/d0ff04f8743b59a5f517 to your computer and use it in GitHub Desktop.
Save leotop/d0ff04f8743b59a5f517 to your computer and use it in GitHub Desktop.
opencart информация о продукте
<?php
$this->load->model('catalog/product');
//$product_id = 103;
$product_id = $this->request->get['product_id'];
$product_info = $this->model_catalog_product->getProduct($product_id);
print_r($product_info);
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment