I have installed Product Description V1.5 and its works fine, im using the oscommerce with SPPC. Now i want to show the description in the shopping_cart.php too
I have made the necessary changes in classes\shopping_cart.php as follows:
---------------------------------------
$products_query = tep_db_query("select p.products_id, pd.products_name, p.products_model, pd.products_description, p.products_image, p.products_price, p.products_weight, p.products_tax_class_id from " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_DESCRIPTION . " pd where p.products_id = '" . (int)$products_id . "' and pd.products_id = p.products_id and pd.language_id = '" . (int)$languages_id . "'");
and here
'image' => $products['products_image'],
'description' => $products_description['products_description'],
'price' => $products_price,
'quantity' => $this->contents[$products_id]['qty'],
--------------------------------------------
Now in catalog/shopping_cart.php i have made the following changes:
' <td class="productListing-data" valign="top"><a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $products[$i]['id']) . '"><b>' . $products[$i]['name'] . '</b></a></td>' .
' <td class="productListing-data" valign="top">' . tep_flatten_product_description($products['description'], '<br><a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $products[$i]['id']) . '">' . TEXT_MORE . '</a>') . '</td></tr>';
I thought this was enough to work but it displays only more>>>> the (' . TEXT_MORE . ') part
Can someone help me fix this..i know im so close. thanks