Magento – get controller name, action name, router name and module name in template file or in any class file
From Mukesh Chapagain's Blog (http://blog.chapagain.com.np/) - Copied below in case of Link Death
From Mukesh Chapagain's Blog (http://blog.chapagain.com.np/) - Copied below in case of Link Death
In my previous post I showed you some code discovered in a website, which would show you how much you were saving in both currency… Read More »Magento 1.7 – Hiding Part of Price.phtml
An interesting snippet of code landed on my desk today: <?php if($_finalPrice < $_price): ?> <?php <?php $_savePercent = 100 – round(($_finalPrice / $_price) *… Read More »Magento 1.7 – Show Amount Saved as Currency and Percentage per product
This was bugging me at work today, found the answer at Stack Overflow http://stackoverflow.com/questions/13504056/magento-tier-prices-class-declaration-for-tier-price-in-buy-x-for-y-javascri/16022796#16022796 Essentially, when you have a product set up for tiered pricing… Read More »Magento 1.7 Product with Options and Tiered pricing showing wrong percentage discount (100%)
My biggest unexpected surprise this Chrimbo was a Raspberry Pi development kit, from my lovely fiance Fi. Now; being a dreamer with a long list… Read More »Making A Start