Help

Adding Google maps into Magento CMS Page

I have been asked to add Google Maps onto a clients website. This is easily done, and I am sure you will probably know various ways of doing this, however for Magento I have found this is by far the easiest way to do this. Firstly, create a CMS page, naming it appropriatly (or open the CMS page you are going to add this to – if you already have a page you want to add this to. I then took a visit google maps and searched for the shop location and clicked on the hyper link button this then… Read More »Adding Google maps into Magento CMS Page

Changing custom option pricing to display total price

I am currently designing a website where the clients requirement is to have the price for custom options to display as the price total, as opposed to adding to the base price.   e.g. Instead of; 1 Litre £5.99 2 Litres +£4.49 … etc The requirement is to have something like this; 1 Litre £5.99 2 Litres £9.49 … etc So after hours trying to find the solution, and having previously tried various methods, I found this amazing website which tells you how to do it in a few simple steps. Why not take a look, here; http://sourcelibrary.org/2011/04/21/magento-custom-options-change-the-option-to-show-total-price/

How to set column count for catalog search – Magento

Try this in your app/design/     your theme    /template/catalog/product/list.phtml <pre> <?php $_productCollection=$this->getLoadedProductCollection(); $_helper = $this->helper(‘catalog/output’); $this->setData(‘column_count’,5);            <—— add this line ?> </pre>

Redirect test(dot) to www(dot)

All you need to do for this is simply to create the subdomain required and create two files. The code within the files are below. .htaccess RewriteEngine on RewriteCond %{HTTP_HOST} ^test.yourdomain.co.uk$ [OR] RewriteCond %{HTTP_HOST} ^www.yourdomain.co.uk$ RewriteRule ^/?$ “http\:\/\/yourdomain\.co.uk” [R=301,L]   ErrorDocument 404 /notfound.php   notfound.php <?php header(‘HTTP/1.1 301 Moved Permanently’); header(‘Location: http://www.yourdomain.co.uk’.$_SERVER[“REQUEST_URI”]); ?>