Hello, conglatourations for this blog, it's very useful for me so I thank you very much. I've tried this code but it dosn't work, could you help about it. It's very important to me to show tier prices in list view.
Works great - but how can I change the UL and LI styling of the output? I currently have it in enclosed in a span with a class called 'grid_tier_price' but I cannot get it to override the .product-pricing, .tier-prices styling!
Hello I think you ca change the template of the tier prices like this. Instead of <php echo $this->getTierPriceHtml() ?> Do this: <?php echo $this->setTierPriceTemplate('catalog/product/view/tierprices_custom.phtml')->getTierPriceHtml() ?>
Create the file catalog/product/view/tierprices_custom.phtml (you can copy the content from catalog/product/view/tierprices.phtml) aned etit that file and make it look like you want. Cheers, Marius.
Hello, conglatourations for this blog, it's very useful for me so I thank you very much. I've tried this code but it dosn't work, could you help about it. It's very important to me to show tier prices in list view.
ReplyDeleteThanks in advance and best regards,
Sorry about that. I forgot to replace some > and < with > and < and the code appeared broken.
ReplyDeleteI think I fixed it. You can try it now
Great!!, thanks a lot, you help me. Thank you very much.
ReplyDeleteBR Jose.
Hi tzyganu,
ReplyDeleteWorks like a charm!!!
Keep up the good work ;-)
Cheers,
Steve
Works great - but how can I change the UL and LI styling of the output? I currently have it in enclosed in a span with a class called 'grid_tier_price' but I cannot get it to override the .product-pricing, .tier-prices styling!
ReplyDeleteThanks!
Hello
DeleteI think you ca change the template of the tier prices like this.
Instead of <php echo $this->getTierPriceHtml() ?>
Do this:
<?php echo $this->setTierPriceTemplate('catalog/product/view/tierprices_custom.phtml')->getTierPriceHtml() ?>
Create the file catalog/product/view/tierprices_custom.phtml (you can copy the content from catalog/product/view/tierprices.phtml) aned etit that file and make it look like you want.
Cheers,
Marius.