There are a few ways of doing this. I do not think that it is possible without some coding but hey I've been wrong before.
One way is this:
You are going to have to edit a file called includes/modules/pages/shopping_cart/header.php
At about line 132 you will find:
Code:
$linkProductsName = zen_href_link(zen_get_info_page($products[$i]['id']), 'products_id=' . $products[$i]['id']);
Add underneath it like so:
Code:
$linkProductsName = zen_href_link(zen_get_info_page($products[$i]['id']), 'products_id=' . $products[$i]['id']);
$productsDescription= zen_get_products_description($products[$i]['id']);
Then about line 145 you'll find where the array is built under product name add this:
Code:
'linkProductsName'=>$linkProductsName,
'productsDescription'=>$productsDescription,
'productsImage'=>$productsImage,
What you have done so far is add the product description to the array that is used to create the page.
Now you can reference this wherever you wish in the page. So in includes/templates/yourtemplate/templates/tpl_shopping_cart_default.php (if this file does not exist then you need to create it as an override)
Find line 85 ish:
Code:
<a href="<?php echo $product['linkProductsName']; ?>"><span id="cartImage" class="back"><?php echo $product['productsImage']; ?></span><span id="cartProdTitle"><?php echo $product['productsName'] . '<span class="alert bold">' . $product['flagStockCheck'] . '</span>'; ?></span></a>
You are going to add the description under the name and the out off stock warning for instance. So change that to:
Code:
<a href="<?php echo $product['linkProductsName']; ?>"><span id="cartImage" class="back"><?php echo $product['productsImage']; ?></span><span id="cartProdTitle"><?php echo $product['productsName'] . '<span class="alert bold">' . $product['flagStockCheck'] . '</span>'.'<br/>'.$product['productsDescription']; ?></span></a>
Then you can repeat that process for any other fields you want to use. Product ID is easier because it is already in the array as $product['id']so you don't have to do the first steps. Skill type - huh?
Bookmarks