<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Magento Go Review</title>
	<atom:link href="http://www.magentogoreview.com/feed" rel="self" type="application/rss+xml" />
	<link>http://www.magentogoreview.com</link>
	<description>Magento Go reviewed. Learn Magento, master it and start selling online!</description>
	<lastBuildDate>Sat, 05 Jan 2013 01:47:53 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
		<item>
		<title>Force HTTPS on Magento Shopping Cart Pages &amp; Admin Backend</title>
		<link>http://www.magentogoreview.com/force-https-on-magento-shopping-cart-pages-admin-backend~304</link>
		<comments>http://www.magentogoreview.com/force-https-on-magento-shopping-cart-pages-admin-backend~304#comments</comments>
		<pubDate>Sat, 08 Dec 2012 11:23:56 +0000</pubDate>
		<dc:creator>Yang</dc:creator>
				<category><![CDATA[Magento Backend]]></category>
		<category><![CDATA[Magento Security]]></category>
		<category><![CDATA[Magento Shopping Cart]]></category>
		<category><![CDATA[cart]]></category>
		<category><![CDATA[https]]></category>
		<category><![CDATA[SSL]]></category>

		<guid isPermaLink="false">http://www.magentogoreview.com/?p=304</guid>
		<description><![CDATA[After you have installed SSL certificate for your eCommerce site and the HTTPS version of your domain is successfully accessible, Magento doesn&#8217;t automatically use HTTPS for some of the important pages across the site, such as /checkout/cart/, /customer/account/, etc. Enable &#8230; <a href="http://www.magentogoreview.com/force-https-on-magento-shopping-cart-pages-admin-backend~304">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>After you have installed SSL certificate for your eCommerce site and the HTTPS version of your domain is successfully accessible, Magento doesn&#8217;t automatically use HTTPS for some of the important pages across the site, such as /checkout/cart/, /customer/account/, etc.</p>
<h2>Enable HTTPS for your Magento store</h2>
<p>You have to explicitly enable HTTPS for your Magento store if you didn&#8217;t select HTTPS during installation.</p>
<p>In the Admin panel: <strong>System</strong> -&gt; <strong>Configuration</strong> -&gt; <strong>General</strong> -&gt; <strong>Web</strong> -&gt; <strong>Secure</strong></p>
<ol>
<li>Base URL &#8211; <strong>https</strong>://www.yoursite.com</li>
<li>Use Secure URLs in Frontend &#8211; <strong>Yes</strong></li>
<li>Use Secure URLs in Admin &#8211; <strong>Yes</strong></li>
</ol>
<p>Now Magento should be using HTTPS:// for all the important frontend pages (/customer/account/, /checkout/onepage/, etc.) and across the entire backend Admin pane.</p>
<h2>Wait, /checkout/cart/ is still not HTTPS!</h2>
<p>Yep. You have to do one more thing to make sure /checkout/cart/ is also automatically HTTPS.</p>
<p>Edit app/code/core/Mage/Checkout/etc/config.xml, find this:</p>
<pre><code>&lt;frontend&gt;
&lt;secure_url&gt;</code></pre>
<p>And add this line immediately below:</p>
<pre><code>&lt;checkout_cart&gt;/checkout/cart&lt;/checkout_cart&gt;</code></pre>
<p>So that it looks like this:</p>
<pre><code>&lt;frontend&gt;
&lt;secure_url&gt;
&lt;checkout_cart&gt;/checkout/cart&lt;/checkout_cart&gt;
&lt;checkout_onepage&gt;/checkout/onepage&lt;/checkout_onepage&gt;
&lt;checkout_multishipping&gt;/checkout/multishipping&lt;/checkout_multishipping&gt;
&lt;/secure_url&gt;</code></pre>
<p>Refresh all the cache and Magento should be using HTTPS on /checkout/cart/ now.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.magentogoreview.com/force-https-on-magento-shopping-cart-pages-admin-backend~304/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Add Sort by &quot;Date&quot; to Magento Catalog Products List</title>
		<link>http://www.magentogoreview.com/add-sort-by-date-to-magento-catalog-products-list~296</link>
		<comments>http://www.magentogoreview.com/add-sort-by-date-to-magento-catalog-products-list~296#comments</comments>
		<pubDate>Wed, 19 Sep 2012 12:42:29 +0000</pubDate>
		<dc:creator>Yang</dc:creator>
				<category><![CDATA[Magento Catalog]]></category>
		<category><![CDATA[Magento Core]]></category>
		<category><![CDATA[Store Design & User Experience]]></category>
		<category><![CDATA[created at]]></category>
		<category><![CDATA[creation date]]></category>
		<category><![CDATA[newest products]]></category>
		<category><![CDATA[products list]]></category>
		<category><![CDATA[sort by]]></category>

		<guid isPermaLink="false">http://www.magentogoreview.com/?p=296</guid>
		<description><![CDATA[Magento has only 3 pre-defined sort methods for catalog products list, namely by Position, Name, and Price. It’s not unusual that the customers or catalog editors would want to sort the products by creation date so that the newest products &#8230; <a href="http://www.magentogoreview.com/add-sort-by-date-to-magento-catalog-products-list~296">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>Magento has only 3 pre-defined sort methods for catalog products list, namely by Position, Name, and Price. It’s not unusual that the customers or catalog editors would want to sort the products by creation date so that the newest products are displayed at the forefront. We will make this happen in this article.</p>
<h2>Step 1</h2>
<p>Find file /app/code/<strong>core</strong>/Mage/Catalog/Model/Config.php and copy it to /app/code/<strong>local</strong>/Mage/Catalog/Model/Config.php. Open the copied file (open it still if it already exists before the copy) and find this function. </p>
<p>Add the bolded line:</p>
<pre><code>public function getAttributeUsedForSortByArray()
{
    $options = array(
        'position'  =&gt; Mage::helper('catalog')-&gt;__('Position'),
        // This line that adds the 'Date' option to the Sort By dropdown methods.
        <strong>'created_at' =&gt; Mage::helper('catalog')-&gt;__('Date')</strong>
    );
    foreach ($this-&gt;getAttributesUsedForSortBy() as $attribute) {
        /* @var $attribute Mage_Eav_Model_Entity_Attribute_Abstract */
        $options[$attribute-&gt;getAttributeCode()] = $attribute-&gt;getStoreLabel();
    }

    return $options;
}
</code></pre>
<h2>Step 2</h2>
<p>Create and upload this file <strong>/app/etc/modules/SortByDate_Catalog.xml</strong></p>
<pre><code>&lt;?xml version="1.0"?&gt;
&lt;config&gt;
    &lt;modules&gt;
    &lt;SortByDate_Catalog&gt;
        &lt;active&gt;true&lt;/active&gt;
        &lt;codePool&gt;local&lt;/codePool&gt;
        &lt;depends&gt;
            &lt;Mage_Catalog /&gt;
        &lt;/depends&gt;
    &lt;/SortByDate_Catalog&gt;
&lt;/modules&gt;
&lt;/config&gt;
</code></pre>
<h2>Step 3</h2>
<p>Create and upload this file <strong>/app/code/local/SortByDate/Catalog/etc/config.xml</strong></p>
<pre><code>&lt;?xml version="1.0"?&gt;
&lt;config&gt;
&lt;global&gt;
    &lt;models&gt;
        &lt;catalog&gt;
            &lt;rewrite&gt;
                &lt;config&gt;SortByDate_Catalog_Model_Config&lt;/config&gt;
            &lt;/rewrite&gt;
        &lt;/catalog&gt;
    &lt;/models&gt;
&lt;/global&gt;
</code></pre>
<h2>Step 4</h2>
<p>Create and upload this file <strong>/app/code/local/SortByDate/Catalog/Model/Config.php</strong></p>
<pre><code>&lt;?php

class SortByDate_Catalog_Model_Config extends Mage_Catalog_Model_Config {

	public function getAttributeUsedForSortByArray()
	{
		$options = parent::getAttributeUsedForSortByArray();
		if (!isset($options['created_at'])) {
			$options['created_at'] = Mage::helper('catalog')-&gt;__('Date');
		}
		return $options;
	}

}
</code></pre>
<p>That’s it. </p>
<p>Now refresh your category pages and you would see an additional sort method ‘Date’ in the ‘Sort By’ dropdown list and selecting it would make the catalog display the items by creation date. Clicking the small arrow to the right would toggle between <strong>descending</strong> order and <strong>ascending</strong> order.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.magentogoreview.com/add-sort-by-date-to-magento-catalog-products-list~296/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Add &#8220;View&#8221; Product Page Link in Backend at Catalog =&gt; Manage Products List</title>
		<link>http://www.magentogoreview.com/add-view-product-page-link-to-products-list-at-catalog-manage-products~280</link>
		<comments>http://www.magentogoreview.com/add-view-product-page-link-to-products-list-at-catalog-manage-products~280#comments</comments>
		<pubDate>Tue, 11 Sep 2012 06:30:21 +0000</pubDate>
		<dc:creator>Yang</dc:creator>
				<category><![CDATA[Inventory Management]]></category>
		<category><![CDATA[Magento Backend]]></category>
		<category><![CDATA[Magento CMS]]></category>
		<category><![CDATA[Magento Core]]></category>
		<category><![CDATA[Magento Productivity]]></category>

		<guid isPermaLink="false">http://www.magentogoreview.com/?p=280</guid>
		<description><![CDATA[The current version of Magento is not editor-friendly in many regards and one of them is that the products list at Catalog =&#62; Manage Products doesn&#8217;t have any &#8220;View&#8221; link at the end of each product row for the catalog editor &#8230; <a href="http://www.magentogoreview.com/add-view-product-page-link-to-products-list-at-catalog-manage-products~280">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>The current version of Magento is not editor-friendly in many regards and one of them is that the products list at <strong>Catalog</strong> =&gt; <strong>Manage Products</strong> doesn&#8217;t have any &#8220;<strong>View</strong>&#8221; link at the end of each product row for the catalog editor (human) to easily click on to open up the frontend product page to see what the users are actually seeing.</p>
<p>Rather, it has only the &#8220;<strong>Edit</strong>&#8221; link to open up the editor to edit the product. If one has to view a frontend product page from the backend, he or she&#8217;d have to copy the SKU and then search it in frontend to arrive at the product page which is very unhandy and annoying. Sometimes the results don&#8217;t even turn out any entries at all.</p>
<p>WordPress and lots of other famous CMS have this feature and I&#8217;m totally at a loss why Magento doesn&#8217;t have this ready for the convenience of the backend editors.</p>
<h2>So how to add a &#8220;View&#8221; product link beside the &#8220;Edit&#8221; link for each product record?</h2>
<p>At the end of article, you will have something similar to this:</p>
<p><a href="http://www.magentogoreview.com/wp-content/uploads/2012/09/view_links1.png" rel="lightbox[280]" title="Add view product links to the end of each product row in Magento"><img src="http://www.magentogoreview.com/wp-content/uploads/2012/09/view_links1-1024x260.png" alt="Add view product links to the end of each product row in Magento" title="Add view product links to the end of each product row in Magento" width="584" height="148" class="alignnone size-large wp-image-284" /></a></p>
<p>That is, &#8220;View&#8221; product links on each product row that you can click to open up the frontend product page. Screenshot taken from my <a href="http://www.princessly.com/">wedding dresses</a> store.</p>
<p>To do this, find this file:</p>
<pre><code>/app/code/<strong>core</strong>/Mage/Adminhtml/Block/Catalog/Product/Grid.php</code></pre>
<p>And copy it to:</p>
<pre><code>/app/code/<strong>local</strong>/Mage/Adminhtml/Block/Catalog/Product/Grid.php</code></pre>
<p>Open and edit the copied file /app/code/<strong>local</strong>/Mage/Adminhtml/Block/Catalog/Product/Grid.php, find a block like this:</p>
<pre><code>$this-&gt;addColumn('action',
            array(
                'header'    =&gt; Mage::helper('catalog')-&gt;__('Action'),
                'width'     =&gt; '50px',
                'type'      =&gt; 'action',
                'getter'     =&gt; 'getId',
                'actions'   =&gt; array(
                    array(
                        'caption' =&gt; Mage::helper('catalog')-&gt;__('Edit'),
                        'url'     =&gt; array(
                            'base'=&gt;'*/*/edit',
                            'params'=&gt;array('store'=&gt;$this-&gt;getRequest()-&gt;getParam('store'))
                        ),
                        'field'   =&gt; 'id'
                    )
                ),
                'filter'    =&gt; false,
                'sortable'  =&gt; false,
                'index'     =&gt; 'stores',
        ));</code></pre>
<p>Which is the code for the &#8220;<strong>action</strong>&#8221; column of the products list. In the same manner, add an extra column named &#8220;<strong>view</strong>&#8221; by adding the code below immediately after &#8220;<strong>action</strong>&#8220;:</p>
<pre><code>$this-&gt;addColumn('view',
            array(
                'header'    =&gt; Mage::helper('catalog')-&gt;__('View'),
                'width'     =&gt; '40px',
                'type'      =&gt; 'action',
                'getter'     =&gt; 'getId',
                'actions'   =&gt; array(
                    array(
                        'caption' =&gt; Mage::helper('catalog')-&gt;__('View'),
                        'url'     =&gt; array(
                            'base'=&gt;'<strong>catalog/product/view</strong>',
                            'params'=&gt;array('store'=&gt;$this-&gt;getRequest()-&gt;getParam('store'))
                        ),
                        'field'   =&gt; 'id'
                    )
                ),
                'filter'    =&gt; false,
                'sortable'  =&gt; false,
                'index'     =&gt; 'stores',
        ));</code></pre>
<p>That&#8217;s it. Now refresh your Manage Products page and you should see a &#8220;View&#8221; link at the end of each product row. Clicking them would lead you to the frontend page of that particular product. I&#8217;m not sure how to force it to open in new window or new tab but I guess you can always do this yourself by holding Ctrl key in Firefox and Chrome.</p>
<p>Bolded part is the key difference of the &#8220;view&#8221; block from the &#8220;action&#8221; block.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.magentogoreview.com/add-view-product-page-link-to-products-list-at-catalog-manage-products~280/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Add Stats Script Code before Closing  in Magento</title>
		<link>http://www.magentogoreview.com/add-stats-script-code-before-closing-in-magento~273</link>
		<comments>http://www.magentogoreview.com/add-stats-script-code-before-closing-in-magento~273#comments</comments>
		<pubDate>Sun, 29 Jul 2012 10:59:57 +0000</pubDate>
		<dc:creator>Yang</dc:creator>
				<category><![CDATA[Magento Administration]]></category>
		<category><![CDATA[Magento Configuration]]></category>

		<guid isPermaLink="false">http://www.magentogoreview.com/?p=273</guid>
		<description><![CDATA[Not surprisingly, most people believe the right way to do this is to find the *footer* template in the Magento theme and then include the analytics code at the end of the file. While this approach works, it&#8217;s not the &#8230; <a href="http://www.magentogoreview.com/add-stats-script-code-before-closing-in-magento~273">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>Not surprisingly, most people believe the right way to do this is to find the *footer* template in the Magento theme and then include the analytics code at the end of the file. While this approach works, it&#8217;s not the best, because it&#8217;s NOT immediately before &lt;/body&gt;&lt;/html&gt;.</p>
<p>What if you really need to add the code <strong>IMMEDIATELY before</strong> the page closing tags &lt;/body&gt;&lt;/html&gt;?</p>
<h2>Add code immediately before &lt;/body&gt;&lt;/html&gt; in your Magento store</h2>
<p>The best intended approach is to supply the code in your Magento System Configuration. Just go to:</p>
<blockquote><p>System -&gt; Configuration -&gt; Design -&gt; <strong>Footer</strong>.</p></blockquote>
<p>Here you will find a textarea field that reads <strong>Miscellaneous HTML</strong>. Just put the analytics code there and it will appear immediately before the closing &lt;/body&gt;&lt;/html&gt; on every page of your Magento store.</p>
<h2>Similarly, add code immediately before closing &lt;/head&gt;</h2>
<p>Follow the configuration path:</p>
<blockquote><p>System -&gt; Configuration -&gt; Design -&gt; <strong>HTML Head</strong></p></blockquote>
<p>And you will find a textarea field named <strong>Miscellaneous Scripts</strong>. Just put any head meta or scripts code there and they will appear immediately before &lt;/head&gt; on every page of your Magento store.</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.magentogoreview.com/add-stats-script-code-before-closing-in-magento~273/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Set Default Weight, Set Status to be &#8216;Enabled&#8217; by Default and Tax Class to be &#8216;None&#8217;</title>
		<link>http://www.magentogoreview.com/pre-populated-default-weight-enabled-selected-status-and-none-selected-tax-class~257</link>
		<comments>http://www.magentogoreview.com/pre-populated-default-weight-enabled-selected-status-and-none-selected-tax-class~257#comments</comments>
		<pubDate>Fri, 11 May 2012 07:48:50 +0000</pubDate>
		<dc:creator>Yang</dc:creator>
				<category><![CDATA[Magento Administration]]></category>
		<category><![CDATA[Magento Backend]]></category>
		<category><![CDATA[Magento Productivity]]></category>

		<guid isPermaLink="false">http://www.magentogoreview.com/?p=257</guid>
		<description><![CDATA[Just like the points made from this post: Auto-generated SKU for new product, it&#8217;s annoying to have to enter some of the fields every time you create a new product because apparently, we want it &#8216;Enabled&#8217; in status; weight doesn&#8217;t &#8230; <a href="http://www.magentogoreview.com/pre-populated-default-weight-enabled-selected-status-and-none-selected-tax-class~257">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>Just like the points made from this post: <a href="http://www.magentogoreview.com/auto-generated-product-sku-when-adding-new-product~253">Auto-generated SKU for new product</a>, it&#8217;s annoying to have to enter some of the fields every time you create a new product because apparently, we want it &#8216;Enabled&#8217; in status; weight doesn&#8217;t matter so much; and most of the products belong to one tax class or simply &#8216;None&#8217;.</p>
<p>To reduce repeatedly wasted time and increase productivity when creating products, just edit <strong>/app/design/adminhtml/default/default/template/catalog/product/edit.phtml</strong> and add the following JavaScript to the end of the file:</p>
<pre><code>&lt;script type=&quot;text/javascript&quot;&gt;
if(document.getElementById('status').value == &quot;&quot;){
    document.getElementById('status').options[1].selected = true;
}
if(document.getElementById('weight').value == &quot;&quot;){
    document.getElementById('weight').value = &quot;1.0&quot;;
}
if(document.getElementById('tax_class_id').value == &quot;&quot;){
    document.getElementById('tax_class_id').options[1].selected = true;
}
&lt;/script&gt;</code></pre>
<p>Now the Weight field will have a default value of &#8217;1.0&#8242;, the Status field is selected &#8216;Enable&#8217; by default and the Tax Class is selected as &#8216;None&#8217; by default.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.magentogoreview.com/pre-populated-default-weight-enabled-selected-status-and-none-selected-tax-class~257/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Auto-generated Product SKU when Adding New Product</title>
		<link>http://www.magentogoreview.com/auto-generated-product-sku-when-adding-new-product~253</link>
		<comments>http://www.magentogoreview.com/auto-generated-product-sku-when-adding-new-product~253#comments</comments>
		<pubDate>Fri, 11 May 2012 06:55:42 +0000</pubDate>
		<dc:creator>Yang</dc:creator>
				<category><![CDATA[Magento Administration]]></category>
		<category><![CDATA[Magento Backend]]></category>
		<category><![CDATA[Magento Productivity]]></category>

		<guid isPermaLink="false">http://www.magentogoreview.com/?p=253</guid>
		<description><![CDATA[SKU isn&#8217;t needed in all stores and it&#8217;s sometimes annoying to have to enter it for every new product. Is there any way for Magento to automatically generate new SKU for new products? There is. Open /app/design/adminhtml/default/default/template/catalog/product/edit.phtml and add the following &#8230; <a href="http://www.magentogoreview.com/auto-generated-product-sku-when-adding-new-product~253">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>SKU isn&#8217;t needed in all stores and it&#8217;s sometimes annoying to have to enter it for every new product. Is there any way for Magento to automatically generate new SKU for new products?</p>
<p>There is.</p>
<p>Open <strong>/app/design/adminhtml/default/default/template/catalog/product/edit.phtml</strong> and add the following snippet to the bottom of the file:</p>
<pre><code>&lt;?php
    $dbread = Mage::getSingleton('core/resource')-&gt;getConnection('core_read');
    $sql = $dbread-&gt;query(&quot;SELECT * FROM catalog_product_entity ORDER BY created_at DESC LIMIT 1&quot;);
    $res = $sql-&gt;fetch();
?&gt;
&lt;script type=&quot;text/javascript&quot;&gt;
if(document.getElementById('sku').value == &quot;&quot;){
    document.getElementById('sku').value = &lt;?php echo (int)$res[&quot;sku&quot;] + 1; ?&gt;;
}
&lt;/script&gt;</code></pre>
<p>What this code does:</p>
<ol>
<li>Read the SKU (must be an integer) of the last added product.</li>
<li>Increment the SKU by 1.</li>
<li>Pre-populate the incremented new SKU to the SKU field by JavaScript.</li>
</ol>
<p>Therefore, you don&#8217;t have to manually enter the SKU yourself when adding the product.</p>
<h2>You can do more with this</h2>
<p>By adding extra JavaScript code to edit.phtml in a similar way, you can set <a href="http://www.magentogoreview.com/pre-populated-default-weight-enabled-selected-status-and-none-selected-tax-class~257">default values for text input fields and make options selected by default</a> for drop-down selections in the product editor.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.magentogoreview.com/auto-generated-product-sku-when-adding-new-product~253/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>SEO Friendly Tag URLs for Your Magento Store</title>
		<link>http://www.magentogoreview.com/seo-friendly-tag-urls-for-your-magento-store~249</link>
		<comments>http://www.magentogoreview.com/seo-friendly-tag-urls-for-your-magento-store~249#comments</comments>
		<pubDate>Wed, 02 May 2012 02:10:19 +0000</pubDate>
		<dc:creator>Yang</dc:creator>
				<category><![CDATA[Magento Extensions]]></category>
		<category><![CDATA[SEO for Magento]]></category>
		<category><![CDATA[Store Design & User Experience]]></category>

		<guid isPermaLink="false">http://www.magentogoreview.com/?p=249</guid>
		<description><![CDATA[By default, you would have a tag URL such as this for your Magento store: http://www.example.com/tag/product/list/tagId/3/ While it&#8217;s perfectly static, it doesn&#8217;t look good without tag names in the URL nor does it inspire trust. We want it to be &#8230; <a href="http://www.magentogoreview.com/seo-friendly-tag-urls-for-your-magento-store~249">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>By default, you would have a tag URL such as this for your Magento store:</p>
<blockquote><p>http://www.example.com/tag/product/list/tagId/3/</p></blockquote>
<p>While it&#8217;s perfectly static, it doesn&#8217;t look good without tag names in the URL nor does it inspire trust. We want it to be more neater as:</p>
<blockquote><p>http://www.example.com/tag/royal/</p></blockquote>
<p>It&#8217;s actually a very simple problem that&#8217;s ready to be solved if you are willing to spend $39 bucks. Iceberg Commerce has the exact solution: <a href="http://icebergcommerce.com/software/magento-search-engine-friendly-product-tag-urls.html">Magento SEO Product Tag Urls</a></p>
<p>Simply purchase the package, download it, uncompress and upload the <strong>app</strong> directory to your store installation. It&#8217;s upgrade-proof because they are well separated from the rest of the system. You don&#8217;t even have to overwrite any files.</p>
<p>Clear your Magento cache and you would see SEO-friendly tag URLs all over your store: individual product page, tags list page, etc.</p>
<p>They&#8217;ve got also a lot of other interesting and useful <a href="http://icebergcommerce.com/software/magento-extensions">extensions</a> for your Magento store.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.magentogoreview.com/seo-friendly-tag-urls-for-your-magento-store~249/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Malicious / Spam Search Terms in Magento Popular Search Terms</title>
		<link>http://www.magentogoreview.com/malicious-spam-search-terms-in-magento-popular-search-terms~243</link>
		<comments>http://www.magentogoreview.com/malicious-spam-search-terms-in-magento-popular-search-terms~243#comments</comments>
		<pubDate>Tue, 01 May 2012 10:26:53 +0000</pubDate>
		<dc:creator>Yang</dc:creator>
				<category><![CDATA[Magento Security]]></category>
		<category><![CDATA[Magento Templates]]></category>
		<category><![CDATA[Magento Themes]]></category>
		<category><![CDATA[SEO for Magento]]></category>
		<category><![CDATA[Store Design & User Experience]]></category>

		<guid isPermaLink="false">http://www.magentogoreview.com/?p=243</guid>
		<description><![CDATA[If you&#8217;ve got a fairly popular Magento store, you&#8217;ve probably got the problem of spam or malicious search terms showing up on the Popular Search Terms page. It&#8217;s ugly and you want to get rid of them once and for &#8230; <a href="http://www.magentogoreview.com/malicious-spam-search-terms-in-magento-popular-search-terms~243">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>If you&#8217;ve got a fairly popular Magento store, you&#8217;ve probably got the problem of spam or malicious search terms showing up on the Popular Search Terms page. It&#8217;s ugly and you want to get rid of them once and for all, but at the same time leaving legitimate search terms performed by good-will users intact.</p>
<p>Of course you do. Me too. Look at this:</p>
<p><a href="http://www.magentogoreview.com/wp-content/uploads/2012/05/Magento-store-spam-searches.png" rel="lightbox[243]" title="Magento store spam searches"><img src="http://www.magentogoreview.com/wp-content/uploads/2012/05/Magento-store-spam-searches-300x130.png" alt="Magento store spam searches" title="Magento store spam searches" width="300" height="130" class="alignnone size-medium wp-image-244" /></a></p>
<h2>So how to delete spam search terms from Popular Search Terms page?</h2>
<p>What I&#8217;ve done is to edit the /app/design/frontend/<strong>default/your_theme</strong>/template/catalogsearch/term.phtml until it looks something like this:</p>
<pre><code>		&lt;?php
		$princessly_search_term = $this-&gt;htmlEscape($_term-&gt;getName());
		if (strpos($princessly_search_term, '%') !== false
			|| strpos($princessly_search_term, &quot;'&quot;) !== false
			|| strpos($princessly_search_term, '`') !== false
			|| strpos($princessly_search_term, '=') !== false) {
			continue;
		}
		?&gt;
            &lt;li&gt;&lt;a href=&quot;&lt;?php echo $this-&gt;getSearchUrl($_term) ?&gt;&quot; style=&quot;font-size:&lt;?php echo $_term-&gt;getRatio()*70+75 ?&gt;%;&quot;&gt;&lt;?php echo $princessly_search_term ?&gt;&lt;/a&gt;&lt;/li&gt;</code></pre>
<p>The PHP function strpos() checks if a specific character is existent in the string $princessly_search_term which contains the originally raw search phrase. If it does, it&#8217;s not displayed (continue to the next phrase and check it to see if it does). </p>
<p>Most malicious / spam search attempts contain &#8216;%&#8217;, &#8220;&#8216;&#8221;, or &#8216;=&#8217; which normal users wouldn&#8217;t use in a legitimate search for your products. Now the <a href="http://www.princessly.com/catalogsearch/term/popular/">Popular Search Terms</a> page is a lot more clean and user friendly.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.magentogoreview.com/malicious-spam-search-terms-in-magento-popular-search-terms~243/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Display all product images on the product page (view.phtml)</title>
		<link>http://www.magentogoreview.com/display-all-product-images-on-the-product-page-view-phtml~234</link>
		<comments>http://www.magentogoreview.com/display-all-product-images-on-the-product-page-view-phtml~234#comments</comments>
		<pubDate>Sat, 14 Apr 2012 10:01:00 +0000</pubDate>
		<dc:creator>Yang</dc:creator>
				<category><![CDATA[Magento Helper]]></category>
		<category><![CDATA[Magento Images]]></category>
		<category><![CDATA[Magento Templates]]></category>
		<category><![CDATA[Magento Themes]]></category>
		<category><![CDATA[Store Design & User Experience]]></category>

		<guid isPermaLink="false">http://www.magentogoreview.com/?p=234</guid>
		<description><![CDATA[Lots of online stores nowadays are blatantly showing all the sharp and tempting images of the product on the product page. They are all there for you and the visitors to examine one after another simply by window scrolling &#8211; &#8230; <a href="http://www.magentogoreview.com/display-all-product-images-on-the-product-page-view-phtml~234">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>Lots of online stores nowadays are blatantly showing all the sharp and tempting images of the product on the product page. They are all there for you and the visitors to examine one after another simply by window scrolling &#8211; no gimmicks such as <a href="http://www.magentocommerce.com/magento-connect/customer-experience/images-media/cloud-zoom-4634.html">cloud zooming</a> or <a href="http://stackoverflow.com/questions/63454/what-is-the-single-best-javascript-lightbox-script-currently-available">lightbox</a>, etc. While technical cleverness such as cloud zooming or lightbox may seem pretty, they are hardly any more usable than the plain old way of just splashing the product images by simple HTML code.</p>
<p>I prefer the old way which would actually engage the visitors.</p>
<p>However, by default Magento has only narrowly arranged thumbnails of the product images, the visitor has to click those thumbnails to see the large version &#8211; waste of user attention and they could leave because it costs more to get what they want (to see a larger picture). What we want to do is to simply display all the product images in large versions on the product page where the visitors are instantly satisfied.</p>
<h2>Display all product images WITHOUT watermarks</h2>
<p>To do this, find /app/design/frontend/<strong>default/your_theme</strong>/template/catalog/product/view.phtml and add this snippet anywhere appropriate (change the bold part to your own theme path):</p>
<pre><code>&lt;div class=&quot;product_images_exhibit&quot;&gt;
	&lt;h2&gt;&lt;?php echo $this-&gt;__('Product Images') ?&gt;&lt;/h2&gt;
	&lt;?php $_images = Mage::getModel('catalog/product')-&gt;load($_product-&gt;getId())-&gt;getMediaGalleryImages(); ?&gt;
	&lt;?php if($_images) {?&gt;            
		&lt;?php foreach($_images as $_image) {?&gt;
			&lt;p&gt;&lt;img src=&quot;&lt;?php echo $this-&gt;helper('catalog/image')-&gt;init($_product, 'image', $_image-&gt;getFile())-&gt;constrainOnly(TRUE)-&gt;keepAspectRatio(TRUE)-&gt;keepFrame(FALSE)-&gt;setWatermarkImageOpacity(0)-&gt;resize(848, null);?&gt;&quot; alt=&quot;&lt;?php echo $this-&gt;htmlEscape($_image-&gt;getLabel());?&gt;&quot; title=&quot;&lt;?php echo $this-&gt;htmlEscape($_image-&gt;getLabel());?&gt;&quot; /&gt;&lt;/p&gt;
		&lt;?php } ?&gt;
	&lt;?php } ?&gt;
&lt;/div&gt;</code></pre>
<p>That&#8217;s it! See what I&#8217;ve done for my store: <a href="http://www.princessly.com/trumpet-a-line-v-neck-asym-drop-waist-sleeveless-straps-wedding-dress-w-court-train.html">http://www.princessly.com/trumpet-a-line-v-neck-asym-drop-waist-sleeveless-straps-wedding-dress-w-court-train.html</a></p>
<h2>Display all product images WITH watermarks</h2>
<p>With &#8220;<strong>->setWatermarkImageOpacity(0)</strong>&#8221; the displayed images will not have watermarks on them. This is better for user experience but may enable image stealing. To add the watermarks, just get rid of &#8220;<strong>->setWatermarkImageOpacity(0)</strong>&#8220;:</p>
<pre><code>&lt;div class=&quot;product_images_exhibit&quot;&gt;
	&lt;h2&gt;&lt;?php echo $this-&gt;__('Product Images') ?&gt;&lt;/h2&gt;
	&lt;?php $_images = Mage::getModel('catalog/product')-&gt;load($_product-&gt;getId())-&gt;getMediaGalleryImages(); ?&gt;
	&lt;?php if($_images) {?&gt;            
		&lt;?php foreach($_images as $_image) {?&gt;
			&lt;p&gt;&lt;img src=&quot;&lt;?php echo $this-&gt;helper('catalog/image')-&gt;init($_product, 'image', $_image-&gt;getFile())-&gt;constrainOnly(TRUE)-&gt;keepAspectRatio(TRUE)-&gt;keepFrame(FALSE)-&gt;resize(848, null);?&gt;&quot; alt=&quot;&lt;?php echo $this-&gt;htmlEscape($_image-&gt;getLabel());?&gt;&quot; title=&quot;&lt;?php echo $this-&gt;htmlEscape($_image-&gt;getLabel());?&gt;&quot; /&gt;&lt;/p&gt;
		&lt;?php } ?&gt;
	&lt;?php } ?&gt;
&lt;/div&gt;</code></pre>
<p>You would still need to configure watermarks in <strong>System</strong> -> <strong>Configuration</strong> -> <strong>Design</strong> to make this work.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.magentogoreview.com/display-all-product-images-on-the-product-page-view-phtml~234/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Get Canonical URL of A Product in .PHTML</title>
		<link>http://www.magentogoreview.com/get-canonical-url-of-a-product-in-phtml~225</link>
		<comments>http://www.magentogoreview.com/get-canonical-url-of-a-product-in-phtml~225#comments</comments>
		<pubDate>Tue, 28 Feb 2012 03:59:51 +0000</pubDate>
		<dc:creator>Yang</dc:creator>
				<category><![CDATA[Magento Templates]]></category>

		<guid isPermaLink="false">http://www.magentogoreview.com/?p=225</guid>
		<description><![CDATA[Canonical URL is a great way to focus SEO power. Without it, search engines would have no idea which particular page among all the similar pages are the most important. Magento, as sophisticated as it can get, does have lots of similar &#8230; <a href="http://www.magentogoreview.com/get-canonical-url-of-a-product-in-phtml~225">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>Canonical URL is a great way to focus SEO power. Without it, search engines would have no idea which particular page among all the similar pages are the most important. Magento, as sophisticated as it can get, does have lots of similar pages regarding the same piece of content such as a product.</p>
<p>When you are adding social buttons, it may not be enough to just add the button and let it detect the current page URL itself. For example, when the user clicks &#8220;Edit&#8221; of a cart item and gets to the edit page of that item, it&#8217;s almost the same as the canonical item page.</p>
<p>If you have social buttons on that page then chances are they won&#8217;t be useful at all because they would be promoting the edit page rather than the canonical page. Thus, we need to feed canonical URL rather than the current page URL to them.</p>
<h2>How to get the canonical URL of a product programmatically?</h2>
<p>It&#8217;s as simple as this:</p>
<pre><code>echo $product-&gt;getUrlModel()-&gt;getUrl($product, array('_ignore_category'=&gt;true));</code></pre>
<p>Make sure you change $product to whatever you are using for the product in your PHTML template.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.magentogoreview.com/get-canonical-url-of-a-product-in-phtml~225/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
