Home » Archive

Articles Archive for May 2009

javascript »

[28 May 2009 | No Comment | 969 views]

There are a few thoughts we have to take note about Javascript Associative Arrays:

Arrays (which act as hash tables) have nothing to do with the built-in Array object. They simply rely on the fact that object.property is the same as object["property"]. This means that the length property is not used, nor do any Array methods (such as join) do anything.
The way to iterate over the items in an associate array is to use the for (value in array) construct, allowing you to access each item’s value via array[value].

Initialize a Javascript …

Magento »

[26 May 2009 | 7 Comments | 2,033 views]

Got this from the Magento Forum. Here are the downsides for this method
1. These modifications WILL be overwritten if you try to upgrade.
2. This is a pain to do– and a bit mathy.
3 files in question to customize the invoice PDF are:
/app/code/core/Mage/Sales/Model/Order/Pdf/Invoice.php
/app/code/core/Mage/Sales/Model/Order/Pdf/Abstract.php
/app/code/core/Mage/Sales/Model/Order/Pdf/Items/Abstract.php
If ALL you want to do is change the font size, then it’s quite easy. If, however, you want to change the font (I changed it to helvetica for a smaller PDF file size since Helvetica does not have to be embedded) or change the paper size to US …

Featured, Magento »

[14 May 2009 | One Comment | 1,171 views]

By default, Magento doesn’t allow you to delete Orders on the backend.  Well, there is no option in the admin for now.  But guess what? there is a work around (yeah~ I know you’ve already expected this.).  Boutik Circus created this “Delete Orders” extension which allows you to delete cancelled orders.
Why can we delete cancel order only?
That’s because deleting a complete order breaks links with invoices and shipments and could creates a lot of troubles.
Go to Delete Orders Extension.
Install this extension via Magento Connect Manager.
Magento Connect -> Magento Connect Manager

Headline, IT News »

[11 May 2009 | No Comment | 771 views]

Companies outsource mainly to cut cost. There is an imbalanced supply and demand of IT talent in top IT countries like the United States and it is driving many corporations to rely on offshore outsourcing as the solution. This cost-effective and quality pool of IT talent from offshore outsourcing services provides a much better value in terms of flexibility and scalability.
With dozens of areas around the world that are trying to grab a slice of the outsourcing business. Iloilo City, Philippines is popularly considered a Hot Spot for Outsourcing Companies. …