Hi to all!
i ve found today this beautiful script and customizing for my need.
Any idea how create a view product page with image?
i try to do but i cannot show image, i retrive all data...
thx
best regards
``<?php
$page_title = 'View product';
require_once('includes/load.php');
// Checkin What level user has permission to view this page
page_require_level(2);
?>
<?php
$product = find_by_id('products',(int)$_GET['id']);
$all_categories = find_all('categories');
$all_photo = find_all('media');
if(!$product){
$session->msg("d","Missing product id.");
redirect('product.php');
}
?>
Hi to all! i ve found today this beautiful script and customizing for my need. Any idea how create a view product page with image? i try to do but i cannot show image, i retrive all data... thx
best regards
``<?php $page_title = 'View product'; require_once('includes/load.php'); // Checkin What level user has permission to view this page page_require_level(2); ?> <?php $product = find_by_id('products',(int)$_GET['id']); $all_categories = find_all('categories'); $all_photo = find_all('media'); if(!$product){ $session->msg("d","Missing product id."); redirect('product.php'); } ?>
<?php include_once('layouts/header.php'); ?>
NAME:
COD:
Q.TY
ACQ
EBAY
DATA_ENTRY