Custom Magento admin URL

To protect your Magento backend against hackers and brute-force attacks, it’s often recommended that you change the default URL of the Magento Admin Panel. Follow these steps to change the admin URL/path: Step 1 – Change Path Open the local.xml configuration file. The file is usually located in the app/etc/ directory under your Magento installation. […]

Read Article

How To: Change order number sequence in Magento

1. Take a backup of your database as explained here. 2. Find out the entity_id value for orders and invoices by opening the table eav_entity_type: 3. Open the table eav_entity_store and change the value in the increment_last_id field to the number to want to use:  

Read Article

WordPress – Fatal error: Allowed memory size….

This error usually shows up in WordPress in scenarios like changing hosting servers or adding extra plugins that put a strain on your server’s initial php memory limit. The solution is to allocate more PHP memory to your server (don’t confuse this with physical memory like RAM, this is simply a setting that your hosting […]

Read Article

Magento – add CSS / JS per category or CMS page

Here’s a very simple solution to adding custom CSS or JS to a specific category or CMS page . The example below shows how to add a reference to a custom CSS file, let’s name it custom.css and assume that we’ve copied it in /skin/frontend/default/your_theme/css. The CSS file inside would look something like (just an example): .category-description { […]

Read Article

Magento – set product price per customer

To set a custom price for only for some of your Magento customers you have two ways of doing it. Both methods rely on creating a customer group. Go to Admin – Customer – Customer Groups then Add New Customer Group. Go to Customers – Manage Customers and manage the customers you want to add to the new group. Now decide if […]

Read Article

Delete files and folders via SSH

To delete a file using SSH, you’ll need to execute the appropriate command – rm. The command looks like this: rm myFile.txt myFile1.txt myFile2.txt …etc… However, listing all files/folders that need to be deleted can be quite time consuming. Fortunately rm accepts several arguments which can make your job easier. In the above example you […]

Read Article

Transfer Magento from one server to another

If you’re developing your store on a staging server and need to move to a different production environment or you’re simply changing hosting providers, here’s a quick step by step tutorial that will help: Step 1 – Create a database First, you need to create a new MySQL database for the new server location. Log […]

Read Article

Reset Magento admin password using MySQL

Here’s an easy way to reset an admin user password in Magento with the user of MySQL: – log into PHPMyadmin and click on the DB used by your Magento installation – find the admin_user table – change the email associated to your admin user to one that you can access – go to Magento […]

Read Article

Set up Magento discount per customer

1. Add a new customer’s group through the Magento backend area: Customers ->Customer Groups -> Add New Customer Group. 2. Set the discount for the newly created group through the Magento backend area: Promotions -> Catalog Price Rules -> Add New Rule. Using the Customer Groups field you can select the customer groups for which […]

Read Article