Witty and insightful observations on the world? Sorry to disappoint, this is a techie blog purely for self reference - published online in the hope it will help others!

Magento – displaying a custom attribute in a static block

Here's the scenario: I have used Template Master Easy Tabs in my Magento installation, it's working fine. I'm also using the Red Stage 'Shipping Price Per Product' extension so that the products can have their delivery individually priced (it's handmade hardwood furniture, so it need shipped by a removals firm rather than a courier/ delviery company). So there's a custom attribute called 'shipping_price' which is added to the default attribute set, and set to be able to be displayed on the front end. Easy tabs is very good, there is a section specifically allowing you to add an specified attribute to one of the tabs. There's also a different section allowing you to ... Read more

Magneto Fishpig – Adding Blog Categories to top level nav

The Magento Fishpig extension is great, but in fully integrated mode it's not that easy to use - put it this way, you have to be a lot better at Magento than at Wordpress to get it all working. Let's say you want more than one of the top level Magento navigation items to link to a blog category. Lets assume that you've set up your Magento navigation, and you have pointed two of the main links to Magento CMS pages 'testimonials' and 'news'. You can refer to this post for more info on that. You would create categories in the Wordpress installation for Testimonials and News and ... Read more

Script management via local.xml and Design tab

OK, I decided to write this post because it pulls together some useful information from disparate sources (Google, the Magento Boards and Stackoverflow) which when put together should be a useful resource. So the topic - how you make sure that Magento only includes certain scripts on specific CMS pages, or all CMS Pages, or removes them from the checkout pages etc etc. First of all - why would you want to do this? Well the immediate answer is for efficiency reasons. If only your contact page uses the Google Maps API script then why would you load it in every other page, the user might not even view the contact page. Similarly for more chunky scripts ... Read more

‘Email a Friend’ link outwith product view in Magento

How to add an 'Email a Friend' link to the footer.phtml template in Magento. This is well worth a blog post - for the simple reason that despite searching extensively on Google, I came up with very little. One of those areas where the results for searches like 'Magento email friend in cms page' and such like just threw up loads of results relating to people not able to get Magento to send out any emails at all. First of all the code that would normally be used in the product view.phtml template to allow the user to send a link to the product via email would be; Read more

Categories