After doing this all day I finally figured most of it out. In case anyone is ever trying to do the same thing here is what I did in /includes/templates/CUSTOM/templates/tpl_shopping_cart_default.php
This below section places the headings in the shopping cart header in order. From top down, the headings shop up left to right on the shopping cart. The code in red is what I added.
<table border="0" width="100%" cellspacing="0" cellpadding="0" id="cartContentsDisplay">
<tr class="tableHeading">
<th scope="col" id="scUpdateQuantity"> </th>
<th scope="col" id="scQuantityHeading"><?php echo TABLE_HEADING_QUANTITY; ?></th>
<th scope="col" id="scProductsHeading"><?php echo TABLE_HEADING_PRODUCTS; ?></th>
<th scope="col" id="Size"><?php echo "Size"; ?></th>
<th scope="col" id="Color"><?php echo "Color"; ?></th>
<th scope="col" id="scUnitHeading"><?php echo TABLE_HEADING_PRICE; ?></th>
<th scope="col" id="scTotalHeading"><?php echo TABLE_HEADING_TOTAL; ?></th>
<th scope="col" id="scRemoveHeading"> </th>
Then this below section incldes the shoppers selected option within the attribute. The code in red is what I changed. Note that I also deleted some code.
<?php
echo $product['attributeHiddenField'];
if (isset($product['attributes']) && is_array($product['attributes'])) {
echo '<div class="cartAttribsList">';
reset($product['attributes']);
foreach ($product['attributes'] as $option => $value) {
?>
<th class="cartAttribsList"><?php echo nl2br($value['products_options_values_name']); ?></th>
<?php
}
echo '</div>';
}
?>
I hope this helps someone


Reply With Quote
