Moving Magento site To Another Server

MySQL Dump.

backup all files (make sure to archive on a .zip file).

Now you need to create a blank database and import the MySQL dump file to it.
Note: load the SQL dump into Editplus or something similar and search and replace the URLs before importing for example: “http://www.domain.com/test/” replace with “http://www.test.com/”.
(more…)

Continue ReadingMoving Magento site To Another Server

Getting and Using Categories and Sub Categories

Magento ver: 1.3.2.4
——————–
The code below does a couple of things, first it will get all the store’s categories – it then checks to see if they are active before continuing.
Also – it might be helpful to have the sub categories displayed, right? Well, in my case, I only wanted the subcategory for the current category displayed – so I put a check in to do so.
(more…)

Continue ReadingGetting and Using Categories and Sub Categories

Magento: Print Labels

A quick fix to add a pop up print label print window in the orders page. Uses the default admin template, so you need to refresh on Magento upgrade. Have left red css border so you can use to position the label. (EDITORS PLEASE NOTE: if you edit this make sure to use 3 backslashes to get one output when using before the “n” character in code section.()
Edit info.phtml
(more…)

Continue ReadingMagento: Print Labels