Step 1: Create a duplicate database, so changes made will not affect data on the main production site. As well as duplicating the main folder of the production site. Step 2: Edit the duplicate database, in table: magento_core_config_data Changing “web/unsecure/base_url” and “web/secure/base_url” so they reference the new location of the test “server / folder”. Step 3: Within the local.xml found: app/etc/local.xml Change the following to the new information: <username><![CDATA[magento_username]]></username> <password><![CDATA[magento_password]]></password> <dbname><![CDATA[magento_db]]></dbname> Voila!
Month: July 2012
Hiding Payment Methods on the FrontEnd in Magento
This is pretty easy to do! Just add the following, to which ever method you require: appcodecoreMagePaymentModelMethodCheckmo.php protected $_canUseCheckout = false; protected $_canUseForMultishipping = false; Underneath: protected $_code = ‘checkmo’; See original post on: http://www.magentocommerce.com/boards/viewthread/79242/
So the I thought I’d use this space here as a place to put all my thoughts of all the projects I’m currently working on. Things that I am researching, things that I want to implement and even just things I think are cool!