Magento Forum

Set different price styles for product, home and related products
 
criatweb
Jr. Member
 
Total Posts:  13
Joined:  2012-07-09
 

So, I\\\’ve edited special-prices and old-prices css, to look like this:

Product Page, styling was made to fit here:
http://i46.tinypic.com/21jdus0.jpg

Home Page, I would like to set a different price style for home:
http://i46.tinypic.com/2mham1c.jpg

Related Products, I MUST set a different price style for related products:
http://i49.tinypic.com/118n2hd.jpg

The problem is, all of them get their price style from /www/app/design/frontend/base/default/template/catalog/product/prices.phtml

<class="old-price">
                <
span class="price-label"><?php echo $this->__(''?></span>
                <
span class="price" id="old-price-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
                    
de <?php echo $_coreHelper->currency($_regularPrice,true,false?>
                por
</span>
            </
p>

I would like to set old-price-home, old-price-product, old-price-catalog, etc

How can I do that? I can\\\\\\\’t simply go to related products and change the p class to another one, because it\\\\\\\’s a php code, this code:

<?php echo $this->getPriceHtml($_itemtrue\\\\\\\'-related\\\\\\\'?>

I don\\\\\\\’t know where to change the styles rasberry what should I do guys? Thanks a lot!!!

 
Magento Community Magento Community
Magento Community
Magento Community
 
criatweb
Jr. Member
 
Total Posts:  13
Joined:  2012-07-09
 

Up topic

 
Magento Community Magento Community
Magento Community
Magento Community
 
criatweb
Jr. Member
 
Total Posts:  13
Joined:  2012-07-09
 

up topic =p

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top