Absolute Pricing in Magento

For some reason, Magento will only allow you to show the difference an option will have on the price of a configurable product. For example, if you are selling a shirt for $15, but the extra larges cost $17, the extra large option would show (+$2). And, while this makes sense to me, it does not make sense to everyone. So, some clients prefer to have absolutely pricing in the options. In this case, the example above would show $17 for the extra large option.

People have been working on solutions for this on the boards for a while. However, they all involved editing core files, and a lot of them. I try never to edit core files, just because of the nightmares it creates in upgrading. And, I did not want to put the time investment into writing a whole module for it. So, I just whipped up a script to change the presentation to absolute.

You can view my solution, as well as many others on the relevant thread over on the magneto forums:

http://www.magentocommerce.com/boards/viewreply/182869/

Shadowbox is Undefined

If you are experiencing this error in Internet Explorer, I think it is related to bug in the base Shadowbox adapter. So, I like to solve this by using the jquery adapter. If you are using version 3.0b, this can be done simply by loading jquery before loading shadowbox. I like to pull jquery from google’s CDN, which can be accomplished with the following line:


<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js" type="text/javascript"></script>