<?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… Read More »Reindex via Php script (Magento)
php -f shell/indexer.php reindexall
For this to work, you will need a USB drive (4gig or more) which is formatted to NTFS, I sacrificed my system restore USB… ouch.
Now, the information on the page is pretty good – but we followed it to the letter, for each of the update files with no success.
So here’s the approach that worked – I probably don’t have to tell you this, but the steps worked for us, they may not work for you YMMV!
Nice and quick and simple, just replace the dodgy code with the right one. Also works with text strings: UPDATE catalog_product_entity_varchar SET value = REPLACE(value,’Ã‚Â’,”)… Read More »Updating Value in MySQL to replace dodgy UTF8 Characters
Unfortunately the RWD theme contact form contains an invalid link on the post target of the form. Currently the link is: <form action=”<?php echo $this->getFormAction(); ?>”… Read More »Magento 184.108.40.206 – Contact Form Not Sending
With jQuery you can watch for the error when the browser can’t find an image – then do what you want with it 🙂
Snippet: Simple form to pop up a google maps page with directions.
Finding that your breadcrumbs aren’t working in 1.9? Replace the call with <?php echo $this->getLayout()->getBlock(“breadcrumbs”)->toHtml()?>