Breakfast in Capetown
Tag Archives: magento tricks

Programatically add multiple products to a cart

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 [...]

Read full storyComments { 0 }

Magento Connect 404 Error – in Magento CE 1.4.x

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. [...]

Read full storyComments { 0 }
magento_logo

Magento

Officially, Magento [Varien] says : Magento is a feature-rich eCommerce platform built on open-source technology that provides online merchants with unprecedented flexibility and control over the look, content and functionality of their eCommerce store… bla bla bla Well I think Magento is an incredibly huge, feature packed eCommerce Platform. Its not for mickey mouse shops [...]

Read full storyComments { 0 }