- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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()) ?>
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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">
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
And find this extension here https://codecanyon.net/item/magento-color-swatches-plus-size-grid-view/11294675
& Get FREE 3 hour development today with ClapCreative - Building a Better User interface with http://clapcreative.com