Help

Magento: Changing Font Style in Invoices

Fonts: The invoice uses Libertine. To change this ( I usually change it to helvetica), follow the steps outlined below. in /app/code/local/Mage/Sales/Model/Order/Pdf/Invoice.php I changed all the references to Libertine to Helvetica with cut and paste. In /app/code/local/Mage/Sales/Model/Order/Pdf/Items/Abstract.php I changed     protected function _setFontRegular($size = 7)    {         $font = Zend_Pdf_Font::fontWithPath(Mage::getBaseDir() . '/lib/LinLibertineFont/LinLibertineC_Re-2.8.0.ttf');        $this->getPage()->setFont($font, $size); return $font;     }     protected function _setFontBold($size = 7)     {         $font = Zend_Pdf_Font::fontWithPath(Mage::getBaseDir() . '/lib/LinLibertineFont/LinLibertine_Bd-2.8.1.ttf');         $this->getPage()->setFont($font, $size);      return $font;     }     protected function _setFontItalic($size = 7)     {         $font = Zend_Pdf_Font::fontWithPath(Mage::getBaseDir() . '/lib/LinLibertineFont/LinLibertine_It-2.8.2.ttf');         $this->getPage()->setFont($font, $size);         return $font;… Read More »Magento: Changing Font Style in Invoices

Checking/Installing Magento System Requirements / Add-Ons

Go to the following link to view what Magentos requirements are for your Server; http://www.magentocommerce.com/system-requirements/ • Login to WHM • Find “easyapache (apache update)” from the left hand panel • Click on “Start customizing based on profile” • Select the Apache version you require. I would advise 2.2 • Seclect the PHP verson. I would recommend PHP 5. • Seclect the PHP Build, I would advise 5.2.17 • Now scroll down to the bottom and select “Exhaustive Options List” • Select all “add-ons” that are required for Magento to function properly. • Proceed with the recompile • DONE!! 😀

Magento – 404 error on product page

Log in to PHP MyAdmin and execute the following command;   INSERT INTO `report_event_types` (`event_type_id`, `event_name`, `customer_login`) VALUES (1, ‘catalog_product_view’, 1), (2, ‘sendfriend_product’, 1), (3, ‘catalog_product_compare_add_product’, 1), (4, ‘checkout_cart_add_product’, 1), (5, ‘wishlist_add_product’, 1), (6, ‘wishlist_share’, 1);

Firefox: Searching With Google using URL Bar

Lot of people I know keep having issues when installing toolbars (they never seem to check what they are installing) and kick up a fuss because there default search using the URL changes to AVG Secure or some other crazy toolbar. I’m sure there are hundreds that cause issue. This short page will help you to get rid of the horrible search providers and stick with Google. Start Mozilla Firefox, and type about:config into the url. This will bring up the following page. If you have any warranty that may be void – please DO NOT proceed, and I am… Read More »Firefox: Searching With Google using URL Bar