Purging or Deleting All Magento Orders

Done some test orders on your new site, and need them gone? Here's the script we ran for one of our clients. The actual tables required may vary, because each extension can add its own tables you'll need to consider. In this case, beyond core, we had a table from the Amasty Order Attributes extension. Remember, always backup your database before making changes.

Tags: 

Find custom attributes on magento orders

Need to find out what attributes changed from base in your magento install? The kind that aren't defined through the standard admin, meaning you've got a custom extension to deal with? Here's your search:

Tags: 

Vhosts authentication fragments

I know this is beyond simple, but sometimes it's nice to have a copy paste resource for setting up a vhost password protected site.

  1. AuthName "Restricted Area"
  2. AuthType Basic
  3. AuthUserFile /var/www/vhosts/{site}/security/.htpasswd
  4. AuthGroupFile /dev/null
  5. require valid-user
Tags: 

Pages

Subscribe to Fragmented Thought RSS