After a few days of hunting for a solution, I finally bumped into this snippet and boy did I feel dumb. Anyway, I hope someone will find this useful. 1 2 3 4 5 6 7 8 9 10 try{ $cart = new Mage_Checkout_Model_Cart(); $cart->truncate();//clear existing cart items $cart->init(); $cart->addProductsByIds($productIds); $cart->save(); } catch(Exception $e){ echo [...]
Buzz-er canned, is social networking really beneficial?
by munyah on 21. Dec, 2010 in Blog
More than 3 months ago I decided to call it quits on google buzz. I just didn’t see the relevance of it all. Any who, I only realised today that I still had a feed and icon running on my site (kind of gives you an idea of how many visitors I actually get, coz [...]
Joomla Auto-Blogging with K2 & Feed Gator
by munyah on 02. Sep, 2010 in Blog, Joomla
Having been working on auto-blogging with WordPress for a few months now and I wondered aloud as to whether there was anything that could match some of the auto-blogging plugins available in Joomla. I was quite chuffed to discover a tool called Feed Gator. Apparently its been around since Joomla 1.0 days; I didn’t know that, [...]
Magento Extension | WDCA Enhanced Product Grid Extension
by munyah on 21. Aug, 2010 in Magento
An excellent extension that allows you to view product thumbnails and customise the columns to what you need and what is relevant. Its a shame that its not compatible with the Enterprise Edition. Extension key : magento-community/TBT_Enhancedgrid Download: http://www.magentocommerce.com/magento-connect/WDCA/extension/748/enhanced-product-grid
Magento Connect 404 Error – in Magento CE 1.4.x
by munyah on 14. Jul, 2010 in Magento
If we were to count the number of annoying errors one encounters in Magento; we’d need an entire century. 1 of them comes after you upgrade Magento CE to 1.4.x. This happens when you try to access the Magento Connector. You get a 404 Error page no matter how you try to access the Connector. [...]
Changing the currency symbol
by munyah on 25. Mar, 2010 in Magento
I donno why things have to be so difficult to do in magento . Displaying a currency is simple enough, you go into the admin section and modify the currency as you want. However if you want to change the symbol, then its another typical magento nightmare. Having chosen my site to use Zim Dollar [...]
Joomla – fetching ‘GET’ Variable the proper way
by munyah on 23. Mar, 2010 in Joomla
So apparently there’s a lot of security risks in using our traditional $_GET['item'] within our custom developed modules / extensions. I for one am guilty of using a lot of GETs simply because they’re easy and pretty straight forward. So in order to dispense the ‘risk’ and combat some known exploits we’re advised to use [...]
Magento – Proper use of the ‘GET’ Variable
by munyah on 07. Mar, 2010 in Magento, Snippets
Once you start doing some Magento coding, you may be faced with loads of errors if you try to use the $_GET['variable'] within functions or some views. So instead try using 1 $this->getRequest()->getParam(’variable’);
WPMU
by munyah on 08. Jan, 2010 in WPMU
WPMU [Wordpress Multi-User]: With WordPress we took blogging to the next level by creating powerful self-hosted software that anyone could install and have a blog within minutes. Now with MU we’re making it as easy to create a thousand blogs as it was to create a single blog with WordPress 3 years ago. By building [...]
- Changing the currency symbol 25. Mar, 2010
- Joomla Auto-Blogging with K2 & Feed Gator 02. Sep, 2010
- First of many 03. Jan, 2010
- Magento 07. Jan, 2010
- Joomla 07. Jan, 2010
- Programatically add multiple products to a cart 12. Sep, 2011
- Buzz-er canned, is social networking really beneficial? 21. Dec, 2010
- Joomla Auto-Blogging with K2 & Feed Gator 02. Sep, 2010
- Magento Extension | WDCA Enhanced Product Grid Extension 21. Aug, 2010
- Magento Connect 404 Error – in Magento CE 1.4.x 14. Jul, 2010
-
munyah: Sorry I saw this late: Its going to depend on y...
-
sahil: I want to show INr symbol in my website but instea...
-
Kosa: How did you do that? I would like to know if there...



Comments on your Desktop with WP-Comments-Notifier
by munyah on 21. Mar, 2010 in Wordpress, WPMU
I love tools that make life easier and in some way efficient. This little desktop tool is perfect for high traffic; high comments blogs. Give it a try on your blogs and life will be that much more easier without having to login to the backend to approve/ delete user comments. wp-comments-notifier is an open [...]