
Originally Posted by
gjh42
You need to keep the short description echo out of the loop, since it doesn't have a configuration key for that listing, so put it like this if you want it at the bottom of the left or right column:
PHP Code:
if ($disp_sort_order->fields['configuration_key'] == 'PRODUCT_ALL_LIST_DATE_ADDED') {
echo $display_products_date_added;
}
$disp_sort_order->MoveNext();
} //end of while loop
echo $display_products_short_desc;
Alternatively, you could put it in with another element if you want it grouped that way:
PHP Code:
if ($disp_sort_order->fields['configuration_key'] == 'PRODUCT_ALL_LIST_DATE_ADDED') {
echo $display_products_short_desc;
echo $display_products_date_added;
}
$disp_sort_order->MoveNext();
} //end of while loop
Thanks, I will try this..
As I was looking into files of Short Desc., I noticed that in admin/include/modules/products/collect_info.php (part of it bellow) it does not select "pd.products_short_desc" but I don't know if it should be pd.xx or just p.xx
if (isset($_GET['pID']) && empty($_POST)) {
$product = $db->Execute("select pd.products_name, pd.products_description, pd.products_url,
p.products_id, p.products_quantity, p.products_model,
Also this file has
$products_short_description = $_POST['products_short_description'];
I am guessing it should be
$products_short_desc = $_POST['products_short_desc'];
Am I correct?