Subscribe To RSS Feed


Mike D's SharpBlog

Just another Sharpdot weblog

Magento: How to create a fragment url(pound sign in the url)

- Monday, November 21st, 2011 -

This is just a quick information post. If you use Magento and want to “bookmark” parts of a page that is all well and good, but how do you generate a url to go to it? there is a good question. Here is the simple answer.
You just need to pass the “_fragment” parameter to the [...]

Magento: Disable Sending Emails

- Friday, October 28th, 2011 -

Have you ever wanted to disable email sending on Magento so that you do not need to worry about accidentally sending emails out when you are testing your store. Well there is an easy way to do this.
Log into the admin of you store and go to: System -> Configuration -> System -> Mail Sending [...]

Magento Meetup: WYSIWYG Widgets

- Tuesday, October 18th, 2011 -

Here is a link to the Widgets Install zip.

Magento: How to add an image for a custom widget in the admin wysiwyg

- Wednesday, August 10th, 2011 -

This is just a quick How-to, I do not detail how to create a new widget.
All you need to do is add a gif with the correct file name to the following directory:
/skin/adminhtml/default/default/images/widget/
Now, to name the gif. In you widgets.xml file you set the widget “type”, which is the block class for the widget. Just [...]

Magento: Authorize .Net Refunds

- Friday, July 8th, 2011 -

In most releases of magento the auth.net payment module has online refunds disabled by default. This post is not about how to enable online refunds for auth.net, but how to fix bug that I have hit after enabling online refunds.
If you just edit the Authorizenet Class and enable refunds and partial refunds, you may still [...]

Dual Boot Ubuntu and Windows

- Thursday, June 23rd, 2011 -

I recently decided to wipe my old windows xp laptop and install Windows 7 and a version of Ubuntu(backtrack 4r2). I ran into an issue after installing both OS’s. Grub was throwing an error 18. After quite a bit of digging here is what I found.
The version of Ubuntu I was installing used Grub Legacy [...]

Magento: How to Delete a credit memo

- Tuesday, June 7th, 2011 -

If you find yourself in the unfortunate position of having to delete a credit memo or order in Magento then take a deep breath and keep reading. I found my self in this very position. At first I was just going to run some sql to remove the orders and credit memo, but that started [...]

Magetno: Display out of stock products

- Tuesday, May 10th, 2011 -

This article was written using Magento version 1.4.1.1.
Somewhere along the line Magento added a config setting called “Display Out of Stock Products”. This setting will remove products from the sites search and category lists, if the product is out of stock. You can still go directly to the products details page if you know the [...]

Magento: How to Log UPS Rate Requests

- Tuesday, March 29th, 2011 -

If you have ever needed to debug UPS shipping prices then this may come in handy. I will show you how to log the xml request you send to UPS to generate rate quotes, and also log the response from ups.

Enable Logging in the admin
Copy /app/code/core/Mage/Usa/Model/Shipping/Carrier/Ups.php             to      /app/code/local/Mage/Usa/Model/Shipping/Carrier/Ups.php
Now make the following edits to the file [...]

Magento: Bulk Update Product Attribute (using sql file or from a controller)

- Tuesday, March 29th, 2011 -

After creating a New Module to add special functionality to catalog products I needed to set the value for this product to all downloadable products that were already created because this is a required attribute and the site would not function correctly with out it. So here is how you can update an attribute(s) for [...]