I want to add a 'free shipping' image to product pages (where products qualify for free shipping). What is the best way to go about this?
I have a good understanding of theming Magento but am still coming to terms with developing extensions for it. I had hoped that I'd be able to get a products raw price and have a basic if statement like below:
if($product_price > 75.00)
echo "<img src="free-shipping.png" />";
But the product price calculations are all hidden away inside their own classes/module and I was hoping to be able to do this purely from my theme template files.
- Can it be done this way (if so, how)?
- How would I go about creating a module to do this - I understand how to create a basic module (file structure and registering it in the Magento system) but I think I'm going to get completely lost when I try and interact with the database - I'm reading through Alan Storm's very comprehensive Magento development tutorials, but it's taking some time. :-)
Thanks.
P.s - I'm running the latest version of Magento CE.