Skip to content

Helmets

  • by

I’m sure people are sick of my rant about open faced helmets… So I’m not going to give you one. Instead… here’s an image 🙂

Back on Two Wheels

  • by

There’s a small creature that lives in many of us. It sits at the back of your mind, resting its head against the rawest parts of your soul, tiny, helpless and waiting. This little creature… 

Magento – Configurable Products, get children, get children’s attributes

  • by

//Clear cache first! Mage::getModel(‘catalog/product_type_configurable’)-> getProduct($product)->unsetData(‘_cache_instance_products’); $_product = Mage::getModel(‘catalog/product’)->load(5525); $childProducts = Mage::getModel(‘catalog/product_type_configurable’)->getUsedProducts(null, $product);

Load Product by SKU or ID

  • by

<?php $_product = Mage::getModel(‘catalog/product’)->load(5525); $_product = Mage::getModel(‘catalog/product’)->loadByAttribute(‘sku’,’hypnotherapy-cd-weightloss’);

Reindex via Php script (Magento)

  • by

<?php // clear cache Mage::app()->removeCache(‘catalog_rules_dirty’); // Reindex prices Mage::getModel(‘index/process’)->load(2)->reindexEverything(); /* You can reindex specific items as below: 1 = Product Attributes 2 = Product Attributes 3 = Catalog URL Rewrites 4 = Product Flat Data… 

So… I switched

One sunday morning, in March 2014, I saw an advert on tv that said “How will you tell your child about your lung cancer?  How will you tell them that you chose this death over… 

Making A Start

  • by

My biggest unexpected surprise this Chrimbo was a Raspberry Pi development kit, from my lovely fiance Fi.  Now; being a dreamer with a long list of devices I want to build (most of which run… 

And Here It Begins

  • by

I’ve smoked since I was far too young to.  My father smoked, my aunties, uncles, grandparents smoked, my sisters smoke and all of my friends smoke. For a life time it has been part of… 

s2Member®