Zen Follower
- Join Date:
- Aug 2010
- Location:
- Grand Blanc, MI
- Posts:
- 305
- Plugin Contributions:
- 1
Add a column to the shopping cart page
I have been trying to change the shopping cart layout from
QTY - ITEM NAME - UNIT - TOTAL
to
QTY - MODEL - ITEM NAME - UNIT - TOTAL
for about the last few hours.
I'm pretty sure I'm going to need to edit the pages/shopping_cart/header_php.php file as well as the tpl_shopping_cart_default.php (both in overrides, of course!) but I have been running into a dead end on exactly how to do this. :frusty:
I added this:
<span id="cartProdModel"><?php echo $products['productsModel']; ?></span>
``` to the <td class="cartProductDisplay"> section of the tpl and
this:
line 85: $productsModel = $products[$i]['model'];
line 156: 'productsModel'=>$productsModel,
Any ideas???