How I can edit the checkout review table

6.2k Views Asked by At

Where exactly the item prices, taxes and shipping costs are defined? I want to highlight only prices not other text.

Up to now I tried several quick&dirty changes in item, info and totals.phtml. For e.g. in info.phtml I added bgcolor='#ff0000'. This is just an example I added it in many places in item, info and totals.phtml. But I never got the price column.

<tr><th bgcolor='#ff0000'><?php echo $this->helper('tax')->getIncExcTaxLabel(false) ?></th> <th><?php echo $this->helper('tax')->getIncExcTaxLabel(true) ?></th> <th class="a-right"><?php echo $this->helper('tax')->getIncExcTaxLabel(false) ?></th> <th><?php echo $this->helper('tax')->getIncExcTaxLabel(true) ?></th> </tr>

Any advice or hints?

3

There are 3 best solutions below

1
On

This answer will depend on which theme you're using, but most themes won't change a lot regarding the CSS-classes of the order review table. The price column of the order review table is the last column, most themes (e.g., the default theme) add the class 'last' to the td-elements of the table.

Your CSS code could look like this:

#checkout-review-table td.last { background-color: #ff0000; }
3
On

Make changes to these two files.

\frontend\default\YOUR-THEME-FOLDER\template\checkout\cart\render\simple.phtml

and

\frontend\default\YOUR-THEME-FOLDER\template\checkout\cart\render\default.phtml
0
On

Was dealing with this same problem when I came across your question.

You should change

 app/design/frontend/base/default/template/checkout/onepage/review/item.phtml

the rows for products come from this file.

if you are using your own theme then modify that theme

 app/design/frontend/enterprise/YOUR-THEME-FOLDER/template/checkout/onepage/review/item.phtml