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 – Deleted Shop view causes Category 404

Right, that is the best title I can come up with so that any poor soul who was struggling with what I've just been struggling with can hopefully find this and get some answers. There wasn't much else out there on this that I could find. Magento Website/Store Name/Store View issues. One of the biggest selling points of Magento is the ability to run what, from the outside, look like multiple e-commerce installations all from the same base installation. By this we mean different stores which can look totally different, possibly have different urls but can also potentially share a cart, share account details, promotional info, customer groups. All good stuff. I've just completed a site that used ... Read more

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

Custom Attribute Tab in Magento Easy Tabs

This is a post to pull together info from a whole bunch of different threads and sources (Magento boards, Stackoverflow and some other random blogs I found). Template Master Easy Tabs are quite widely used in Magento installations (30K+ downloads, I see from Magento Connect). It's a good free module that allows you to control and customise the tabbed collateral information section on a Magento product view page. You can active the standard Magento tabs - description, additional, tags, reviews etc. You can also add custom tabs listing a specific attribute, this is handy is you have a text area attribute such as 'Features' that allows the client to add in a list of free-form bullet points. There is also ... Read more

Magento Analytics Conversion Tracking

When you do e-commerce sites it's pretty obvious how to track your conversions - they will appear in sales in the Dashboard! However, sometimes you also get asked to add Google Analytics conversion tracking code just because the client wants all their statistics in one place. So the analytics guy will send through a request asking you to place a specific piece of code on the successful transaction 'Thank You' page. Very easy to do. You need to add an new before_body_end block in the one_page_checkout_success section of checkout.xml in your layouts folder. One Page Checkout Success ... Read more

Adding a ‘New Product’ icon in Magento for new products

This is actually quick and easy but if you are new to Magento custom attributes you might struggle to work out how to set things up and then access the value of your attribute on the front end. What I am talking about here is setting up a flag for the product, if it's set to 'Yes' (ie the product is a new product) then a little icon or banner appears in the corner of the image. Like this; So, first things first. You need to set up a new Attribute in Catalogue -> Attributes -> Manage Attributes . Set is as a boolean, give it an id of new_product. ... Read more

Magento & Campaign Monitor

Fontis produced and now support a Magento module which integrates the standard Magento newsletter features with Campaign Monitor. I like it, it's a lot more lightweight than the ebizmarts MailChimp integration, and easier to implement. My reasoning for this is that you don't have to install and configure separate newsletter templates and tweak with a million settings. Whilst I am sure there are some users who take advantage of all the config options in the MailChimp module, for the vast majority a simple 'Add an API key and it just goes onto the mailing list' is the way forward. Fontis have also produced some good documentation for the module. I always refer ... Read more

Shopatron & Magento integration

At the moment I'm in in the middle of integrating a Magento installation with the Shopatron fulfilment and ordering system. Shopatron - so far I've decided that it sounds either like; Megatron's high maintenance Transformer mistress (who he wines and dines whilst poor old Mumatron is at home minding the Kidatrons). Magento vs Shopatron - that was Wrestlemania 7, right? Some kind of unscary android baddie from a cheap eighties Sci-Fi show, that maybe looks a bit like Metal Mickey or the aliens from the Smash adverts. Anyway, it's quite an interesting concept - basically it's a system which allows manufacturers to start selling online without cannibalising the sales in their distribution chain, pissing off off the retailer clients who they are ... Read more

Categories