Tag Archives: Scripts

Magento 500 Error When Saving Shipping Methods

Magento Community Edition 1.7.0.2, CentOS 5.7 64-bit The Problem In the Magento admin interface, you click on System/Configuration and then choose the Shipping Methods option from the left column. If you try to change any of the shipping methods, such as disabling Flat Rate shipping or enabling Table Rates, you get a nasty 500 error […]

Stock Quantity on Magento Product Page

Magento Community Edition 1.7.0.2 Warning: This is a quick-n-dirty hack and will not work on all product types. Instead of just showing the “in stock” and “out of stock” messages, we want to have an in-between message to show that stock levels are running low. This is easily done, by editing the following file: app/design/frontend/base/default/template/catalog/product/view/type/default.phtml […]

MySQL Dump Script For Database Backups

Mac OS X (10.6.8), CentOS, Linux Do you perform regular database backups? Maybe you take copies of your live database and push that data somewhere else (like, your staging site)? And maybe you’ve accidentally overwritten your live database coz you typed something wrong? Yeah, well I have. And after the second time, I decided to […]