cancel
Showing results for 
Search instead for 
Did you mean: 

how can change discount price color in cart total grid

how can change discount price color in cart total grid

Hi All,

 

My magento ver: 1.9. I want to chagne color of discount price in cart total grid. I am using coupon for discount. 

Any one let me know which template or controller is responsible to get below balue of discount coupon.

<?php echo $this->helper('checkout')->formatPrice($this->getTotal()->getValue()) ?>

3 REPLIES

Re: how can change discount price color in cart total grid

rewrite Mage_Tax_Block_Checkout_Discount, redefine protected $_template to your own tempalte (you can copy tax/checkout/subtotal.phtml to your own template) and change style in that tempalte

 

Re: how can change discount price color in cart total grid

We added a css in /checkout/total/default.phtml:
    <td style="<?php echo $this->getTotal()->getStyle() ?>" class="a-right">
to
   <td style="<?php echo $this->getTotal()->getStyle() ?>" class="a-right discount_price">

Re: how can change discount price color in cart total grid

Avoid Coding Use Extension named "Magento Color Swatches Plus Size Grid View" and choose multiple colors.

 

Look at this Image

2-admin-colorswatch-sizegridview-colorimages.png

And find this extension here https://codecanyon.net/item/magento-color-swatches-plus-size-grid-view/11294675

Want Magento Professionals ?
& Get FREE 3 hour development today with ClapCreative - Building a Better User interface with http://clapcreative.com