Products OLD

get_row(“SELECT * FROM wp_wp_eStore_tbl WHERE id = ‘$item_id'”, OBJECT);
$item = $wpdb->get_row(“SELECT * FROM wp_wp_eStore_tbl WHERE id = ‘$item_id'”, ARRAY_A);
$category = $wpdb->get_results(“SELECT wp_wp_eStore_cat_tbl.cat_name, wp_wp_eStore_cat_tbl.cat_url FROM wp_wp_eStore_tbl, wp_wp_eStore_cat_prod_rel_tbl, wp_wp_eStore_cat_tbl WHERE wp_wp_eStore_tbl.id = wp_wp_eStore_cat_prod_rel_tbl.prod_id AND wp_wp_eStore_cat_prod_rel_tbl.cat_id = wp_wp_eStore_cat_tbl.cat_id AND wp_wp_eStore_tbl.id = ‘$item_id'”, ARRAY_A);
?>

“;
if(!empty($item[‘additional_images’])) {
echo ““;
} ?>


” . $cat[‘cat_name’] . ” “;
}
else {
echo $cat[‘cat_name’] . ” “;
} }
?>

Price: $” . $item[‘price’]; ?>


 
 

Leave a Reply

Your email address will not be published.