Delete and remove all products in Magento

run this sql script with command line or phpmyadmin. I’m using Magento 1.5x SET FOREIGN_KEY_CHECKS = 0; TRUNCATE TABLE `catalog_product_bundle_option`; TRUNCATE TABLE `catalog_product_bundle_option_value`; TRUNCATE TABLE `catalog_product_bundle_selection`; TRUNCATE TABLE `catalog_product_entity_datetime`; TRUNCATE TABLE `catalog_product_entity_decimal`; TRUNCATE TABLE `catalog_product_entity_gallery`; TRUNCATE TABLE `catalog_product_entity_int`; TRUNCATE TABLE `catalog_product_entity_media_gallery`; TRUNCATE TABLE `catalog_product_entity_media_gallery_value`; TRUNCATE TABLE `catalog_product_entity_text`; TRUNCATE TABLE `catalog_product_entity_tier_price`; TRUNCATE TABLE `catalog_product_entity_varchar`; TRUNCATE TABLE…

Install NewRelic for PHP in Mac OSX with XAMPP

download the file .tar.gz from NewRelic site http://download.newrelic.com/php_agent/release/ you must download the osx version before installing the NewRelic unzip the files then get into the directory using terminal run this command: $sudo NR_INSTALL_PHPLIST=’/Applications/XAMPP/xamppfiles/bin’ ./newrelic-install install when the installer asking to install Daemon, choose ‘y’ (yes) .. wait until the installation complete. In this process the…

Simple way to Reset Magento Password

This script below using Magento 1.5, maybe work for other version the simple and quick way to change the password is to change the password in the database using mysql command line or using phpmyadmin. to generate your new password, head to¬†http://m4tt.io/tools/magento-admin-generator/ all you have todo is fill that form, the most important field is…