<?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>WebCatch Digital</title>
	<atom:link href="http://www.webcatchdigital.com/blog/index.php/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.webcatchdigital.com/blog</link>
	<description>Just another WordPress weblog</description>
	<lastBuildDate>Wed, 11 Aug 2010 10:25:00 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Magento Q&amp;A: How to ship orders via the API?</title>
		<link>http://www.webcatchdigital.com/blog/index.php/2010/07/14/magento-qa-how-to-ship-orders-via-the-api/</link>
		<comments>http://www.webcatchdigital.com/blog/index.php/2010/07/14/magento-qa-how-to-ship-orders-via-the-api/#comments</comments>
		<pubDate>Wed, 14 Jul 2010 13:33:43 +0000</pubDate>
		<dc:creator>Jakub</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Ecommerce]]></category>
		<category><![CDATA[Magento]]></category>
		<category><![CDATA[Q&A]]></category>
		<category><![CDATA[API]]></category>

		<guid isPermaLink="false">http://www.webcatchdigital.com/blog/?p=87</guid>
		<description><![CDATA[
Difficulty: Easy
Q:
I want to mark orders as shipped after we import the  shipping feed from  our warehouse. Is there an API for this? Or do I  have to use the actual  classes?
A:
Yes, of course! You can use the shipment API, to which you can   connect using both SOAP and [...]]]></description>
			<content:encoded><![CDATA[<p><small><!-- by Jakub --></small></p>
<p>Difficulty:<span style="color:  #00ff00;"> <span style="color:  #008000;"><strong>Easy</strong></span></span></p>
<p><strong>Q:</strong></p>
<blockquote><p>I want to mark orders as shipped after we import the  shipping feed from  our warehouse. Is there an API for this? Or do I  have to use the actual  classes?</p></blockquote>
<p><strong>A:</strong></p>
<p>Yes, of course! You can use the shipment API, to which you can   connect using both SOAP and XML-RPC. The call that will be of most   interest to you is <a rel="nofollow" href="http://www.magentocommerce.com/wiki/doc/webservices-api/api/sales_order_shipment#sales_order_shipment.create">shipment.create</a>.</p>
<p>Here&#8217;s the sample code from magento&#8217;s site [php]:</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000088;">$proxy</span> <span style="color: #339933;">=</span> <span style="color: #000000; font-weight: bold;">new</span> SoapClient<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'http://magentohost/api/soap/?wsdl'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$sessionId</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$proxy</span><span style="color: #339933;">-&amp;</span>gt<span style="color: #339933;">;</span>login<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'apiUser'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'apiKey'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$notShipedOrderId</span>  <span style="color: #339933;">=</span> <span style="color: #0000ff;">'100000003'</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Create new shipment</span>
<span style="color: #000088;">$newShipmentId</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$proxy</span><span style="color: #339933;">-&amp;</span>gt<span style="color: #339933;">;</span>call<span style="color: #009900;">&#40;</span><span style="color: #000088;">$sessionId</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'sales_order_shipment.create'</span><span style="color: #339933;">,</span> <span style="color: #990000;">array</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$notShipedOrderId</span><span style="color: #339933;">,</span> <span style="color: #990000;">array</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'Shipment Created'</span><span style="color: #339933;">,</span> <span style="color: #009900; font-weight: bold;">true</span><span style="color: #339933;">,</span> <span style="color: #009900; font-weight: bold;">true</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<p>And here are the comments:</p>
<blockquote><p>sales_order_shipment.create</p>
<p>Create new shipment for order</p>
<p><strong>Return:</strong> string &#8211;  shipment increment id</p>
<p><strong>Arguments:</strong></p>
<p>string  orderIncrementId &#8211; order increment id</p>
<p>array itemsQty &#8211; items qty  to ship as associative array  (order_item_id ⇒ qty)</p>
<p>string  comment &#8211; shipment comment (optional)</p>
<p>boolean email &#8211; send e-mail  flag (optional)</p>
<p>boolean includeComment &#8211; include comment in  e-mail flag (optional)</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.webcatchdigital.com/blog/index.php/2010/07/14/magento-qa-how-to-ship-orders-via-the-api/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Magento Q&amp;A: Why are some of my scheduled tasks not executed?</title>
		<link>http://www.webcatchdigital.com/blog/index.php/2010/05/14/magento-qa-why-are-some-of-my-scheduled-tasks-not-executed/</link>
		<comments>http://www.webcatchdigital.com/blog/index.php/2010/05/14/magento-qa-why-are-some-of-my-scheduled-tasks-not-executed/#comments</comments>
		<pubDate>Fri, 14 May 2010 15:24:58 +0000</pubDate>
		<dc:creator>Jakub</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Ecommerce]]></category>
		<category><![CDATA[Magento]]></category>
		<category><![CDATA[Q&A]]></category>

		<guid isPermaLink="false">http://www.webcatchdigital.com/blog/?p=81</guid>
		<description><![CDATA[Difficulty: Medium
Modification: Linux crontab

Q:
I have my scheduled tasks set up in magento and cron.php is executed periodically, however, some of the scheduled tasks are not performed. Is there anything I can do about that?
A:
We had the same problem with one of our sites. All the tasks were performed apart from sending the scheduled emails. After [...]]]></description>
			<content:encoded><![CDATA[<p>Difficulty:<span style="color:   #00ff00;"> <span style="color:  #ffcc00;"><strong>Medium</strong></span></span></p>
<p>Modification:<strong> Linux crontab<br />
</strong></p>
<p><strong>Q:</strong></p>
<blockquote><p>I have my scheduled tasks set up in magento and cron.php is executed periodically, however, some of the scheduled tasks are not performed. Is there anything I can do about that?</p></blockquote>
<p><strong>A:</strong></p>
<p>We had the same problem with one of our sites. All the tasks were performed apart from sending the scheduled emails. After many discussions and when we have run out of all reasonable ideas we started looking at some more out of line ones. We noticed that the emails are sent when we access cron.php with a browser. It turns out that sometimes it is not enough to just execute your cron.php with a command line php interpretter in your linux crontab. We had to simulate a standard browser access to this php script by using wget. Here&#8217;s a sample line that you need to put in your crontab to make it work:</p>
<blockquote>
<div><code> <span style="color: #007700;">*/</span><span style="color: #0000bb;">5 </span><span style="color: #007700;">* * * * </span><span style="color: #0000bb;">wget </span><span style="color: #007700;">-</span><span style="color: #0000bb;">q </span><span style="color: #007700;">-</span><span style="color: #0000bb;">O </span><span style="color: #007700;">/</span><span style="color: #0000bb;">dev</span><span style="color: #007700;">/</span><span style="color: #0000bb;">null http://...</span><span style="color: #ff8000;">/cron.php</span></code></div>
</blockquote>
<p>This line uses wget to request the cron.php file from the server and then discards the output. After putting this in place the emails were sent and they have been sending nicely ever since.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.webcatchdigital.com/blog/index.php/2010/05/14/magento-qa-why-are-some-of-my-scheduled-tasks-not-executed/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Magento Q&amp;A: Where are my exported files? Where do I put import files?</title>
		<link>http://www.webcatchdigital.com/blog/index.php/2010/04/29/magento-qa-where-are-my-exported-files-where-do-i-put-import-files/</link>
		<comments>http://www.webcatchdigital.com/blog/index.php/2010/04/29/magento-qa-where-are-my-exported-files-where-do-i-put-import-files/#comments</comments>
		<pubDate>Thu, 29 Apr 2010 10:42:45 +0000</pubDate>
		<dc:creator>Jakub</dc:creator>
				<category><![CDATA[Ecommerce]]></category>
		<category><![CDATA[Magento]]></category>
		<category><![CDATA[Q&A]]></category>

		<guid isPermaLink="false">http://www.webcatchdigital.com/blog/?p=78</guid>
		<description><![CDATA[
Difficulty: Easy
Q:
I can’t figure out how to export my product database.  Is this  possible?  I figured out how to export my products, but now I can’t seem  to find the file.  Where do I go to find the file?
A:
When you use the magento export import features all the files are saved to and [...]]]></description>
			<content:encoded><![CDATA[<p><small><!-- by Jakub --></small></p>
<p>Difficulty:<span style="color: #00ff00;"> <span style="color: #008000;"><strong>Easy</strong></span></span></p>
<p><strong>Q:</strong></p>
<blockquote><p>I can’t figure out how to export my product database.  Is this  possible?  I figured out how to export my products, but now I can’t seem  to find the file.  Where do I go to find the file?</p></blockquote>
<p><strong>A:</strong></p>
<p>When you use the magento export import features all the files are saved to and read from the server&#8217;s filesystem. The files you want to import into the system need to copied (for example via (s)ftp) to /var/import/ directory inside your magento root directory. The files that you export from magento will be placed inside /var/export/.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.webcatchdigital.com/blog/index.php/2010/04/29/magento-qa-where-are-my-exported-files-where-do-i-put-import-files/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Magento Q&amp;A: How to redirect from simple product to configurable product</title>
		<link>http://www.webcatchdigital.com/blog/index.php/2010/04/01/magento-qa-how-to-redirect-from-simple-product-to-configurable-product/</link>
		<comments>http://www.webcatchdigital.com/blog/index.php/2010/04/01/magento-qa-how-to-redirect-from-simple-product-to-configurable-product/#comments</comments>
		<pubDate>Thu, 01 Apr 2010 15:54:49 +0000</pubDate>
		<dc:creator>Jakub</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Ecommerce]]></category>
		<category><![CDATA[Magento]]></category>
		<category><![CDATA[Q&A]]></category>

		<guid isPermaLink="false">http://www.webcatchdigital.com/blog/?p=72</guid>
		<description><![CDATA[Difficulty: Medium
Modification: Core Controller

Q:
I am trying to find a way to redirect the url for a simple product to go  to the corresponding configurable product. For example if I have a link  to a small blue t-shirt, it would go to the main t-shirt page where the  attributes are available to select.
A:
You [...]]]></description>
			<content:encoded><![CDATA[<p>Difficulty:<span style="color:  #00ff00;"> <span style="color: #ffcc00;"><strong>Medium</strong></span><span style="color:  #008000;"><strong></strong></span></span></p>
<p>Modification: <strong>Core Controller<br />
</strong></p>
<p><strong>Q:</strong></p>
<blockquote><p>I am trying to find a way to redirect the url for a simple product to go  to the corresponding configurable product. For example if I have a link  to a small blue t-shirt, it would go to the main t-shirt page where the  attributes are available to select.</p></blockquote>
<p><strong>A:</strong></p>
<p>You will need to modify the ProductController to make it look for a configurable product and display it when someone asks for a simple product.</p>
<p>The file you need to modify is  /app/code/core/Mage/Catalog/controllers/ProductController and the method  name is _initProduct().</p>
<p>Find the code which retrieves the product to be displayed:</p>
<p><span style="color: #0000bb;">$product </span><span style="color: #007700;">= </span><span style="color: #0000bb;">Mage</span><span style="color: #007700;">::</span><span style="color: #0000bb;">getModel</span><span style="color: #007700;">(</span><span style="color: #dd0000;">&#8216;catalog/product&#8217;</span>)</p>
<div><code><span style="color: #007700;"> -&gt;</span><span style="color: #0000bb;">setStoreId</span><span style="color: #007700;">(</span><span style="color: #0000bb;">Mage</span><span style="color: #007700;">::</span><span style="color: #0000bb;">app</span><span style="color: #007700;">()-&gt;</span><span style="color: #0000bb;">getStore</span><span style="color: #007700;">()-&gt;</span><span style="color: #0000bb;">getId</span><span style="color: #007700;">())<br />
-&gt;</span><span style="color: #0000bb;">load</span><span style="color: #007700;">(</span><span style="color: #0000bb;">$productId</span><span style="color: #007700;">);</span> </code></div>
<p>And add this code after it:</p>
<p><span style="color: #007700;">if(</span><span style="color: #0000bb;">$product</span><span style="color: #007700;">-&gt;</span><span style="color: #0000bb;">type_id</span><span style="color: #007700;">==</span><span style="color: #dd0000;">&#8220;simple&#8221;</span><span style="color: #007700;">)</span><code></code></p>
<p><code><span style="color: #0000bb;">{</span></code></p>
<div><code><span style="color: #0000bb;"> $parentId</span><span style="color: #007700;">=</span><span style="color: #0000bb;">$product</span><span style="color: #007700;">-&gt;</span><span style="color: #0000bb;">loadParentProductIds</span><span style="color: #007700;">()-&gt;</span><span style="color: #0000bb;">getData</span><span style="color: #007700;">(</span><span style="color: #dd0000;">'parent_product_ids'</span><span style="color: #007700;">);<br />
if(isset(</span><span style="color: #0000bb;">$parentId[0]</span><span style="color: #007700;">))<br />
</span><span style="color: #0000bb;">{<br />
$product</span><span style="color: #007700;">=</span><span style="color: #0000bb;">Mage</span><span style="color: #007700;">::</span><span style="color: #0000bb;">getModel</span><span style="color: #007700;">(</span><span style="color: #dd0000;">'catalog/product'</span><span style="color: #007700;">)-&gt;</span><span style="color: #0000bb;">load</span><span style="color: #007700;">(</span><span style="color: #0000bb;">$parentId[0]</span><span style="color: #007700;">);<br />
</span><span style="color: #0000bb;">}<br />
}</span> </code></div>
<p>That’s it, simple and elegant.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.webcatchdigital.com/blog/index.php/2010/04/01/magento-qa-how-to-redirect-from-simple-product-to-configurable-product/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Magento Q&amp;A: Why some customers can&#8217;t checkout</title>
		<link>http://www.webcatchdigital.com/blog/index.php/2010/03/12/magento-qa-why-some-customers-cant-checkout/</link>
		<comments>http://www.webcatchdigital.com/blog/index.php/2010/03/12/magento-qa-why-some-customers-cant-checkout/#comments</comments>
		<pubDate>Fri, 12 Mar 2010 16:53:42 +0000</pubDate>
		<dc:creator>Jakub</dc:creator>
				<category><![CDATA[Ecommerce]]></category>
		<category><![CDATA[Magento]]></category>
		<category><![CDATA[Q&A]]></category>

		<guid isPermaLink="false">http://www.webcatchdigital.com/blog/?p=69</guid>
		<description><![CDATA[Difficulty: Easy
Modification: Store Configuration
Q:
I keep getting complaints from potential customers that they are unable to use magento&#8217;s checkout. Instead of going to checkout they are logged out of the system and their cart is emptied. Why is this happening? What can I do about that?
A:
The issue in this case is that magento validates user sessions [...]]]></description>
			<content:encoded><![CDATA[<p>Difficulty:<span style="color: #00ff00;"> <span style="color: #008000;"><strong>Easy</strong></span></span></p>
<p>Modification: <strong>Store Configuration</strong></p>
<p><strong>Q:</strong></p>
<blockquote><p>I keep getting complaints from potential customers that they are unable to use magento&#8217;s checkout. Instead of going to checkout they are logged out of the system and their cart is emptied. Why is this happening? What can I do about that?</p></blockquote>
<p><strong>A:</strong></p>
<p>The issue in this case is that magento validates user sessions using their IP addresses. Validating customer’s IP address fails miserably when the customer’s ISP uses a proxy for http connections (and it seems many ISPs do that, at least in the UK). The problem occurs when switching from http to https. When on http, the customer connects through a proxy, so the session is created with the proxy’s IP address. When the customer is redirected to https (eg. goes to checkout) the connection is direct and the proxy is bypassed. Now the customer is connecting from his own IP address and not through a proxy, so his IP has changed. Magento detects this and invalidates the session.</p>
<p>The fix is fairly simple. You have to change the Session Validation settings in the Magento Admin. To do that go to <strong>System &gt; Configurations &gt; Web</strong> and choose ‘no’ on every option. After doing this,  go to <strong>System &gt; Cache Management </strong>and refresh the configuration cache to apply the changes.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.webcatchdigital.com/blog/index.php/2010/03/12/magento-qa-why-some-customers-cant-checkout/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Magento Q&amp;A: How to place a search box in the header</title>
		<link>http://www.webcatchdigital.com/blog/index.php/2010/03/12/magento-qa-how-to-place-a-search-box-in-the-header/</link>
		<comments>http://www.webcatchdigital.com/blog/index.php/2010/03/12/magento-qa-how-to-place-a-search-box-in-the-header/#comments</comments>
		<pubDate>Fri, 12 Mar 2010 16:42:25 +0000</pubDate>
		<dc:creator>Jakub</dc:creator>
				<category><![CDATA[Design]]></category>
		<category><![CDATA[Ecommerce]]></category>
		<category><![CDATA[Magento]]></category>
		<category><![CDATA[Q&A]]></category>

		<guid isPermaLink="false">http://www.webcatchdigital.com/blog/?p=63</guid>
		<description><![CDATA[Difficulty: Easy
Modification: Template File
Q:
I am a newbie at Magento and i need help. Can anyone guide me how to display the search form at the header?
A:
Put this code:
&#60;?php echo $this-&#62;getChildHtml(&#8216;topSearch&#8217;) ?&#62;
 
Inside /app/design/frontend/default/your_skin/template/page/html/header.phtml. Then style it so that it appears exactly where you want it. It&#8217;s as simple as that!
]]></description>
			<content:encoded><![CDATA[<p>Difficulty:<span style="color: #00ff00;"> <span style="color: #008000;"><strong>Easy</strong></span></span></p>
<p>Modification: <strong>Template File</strong></p>
<p><strong>Q:</strong></p>
<blockquote><p>I am a newbie at Magento and i need help. Can anyone guide me how to display the search form at the header?</p></blockquote>
<p><strong>A:</strong></p>
<p>Put this code:</p>
<p><span style="color: #0000bb;">&lt;?php </span><span style="color: #007700;">echo </span><span style="color: #0000bb;">$this</span><span style="color: #007700;">-&gt;</span><span style="color: #0000bb;">getChildHtml</span><span style="color: #007700;">(</span><span style="color: #dd0000;">&#8216;topSearch&#8217;</span><span style="color: #007700;">) </span><span style="color: #0000bb;">?&gt;</span></p>
<div><code> </code></div>
<p>Inside /app/design/frontend/default/your_skin/template/page/html/header.phtml. Then style it so that it appears exactly where you want it. It&#8217;s as simple as that!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.webcatchdigital.com/blog/index.php/2010/03/12/magento-qa-how-to-place-a-search-box-in-the-header/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Magento Q&amp;A: How to properly change the admin url</title>
		<link>http://www.webcatchdigital.com/blog/index.php/2010/03/01/magento-qa-how-to-properly-change-the-admin-url/</link>
		<comments>http://www.webcatchdigital.com/blog/index.php/2010/03/01/magento-qa-how-to-properly-change-the-admin-url/#comments</comments>
		<pubDate>Mon, 01 Mar 2010 10:21:43 +0000</pubDate>
		<dc:creator>Jakub</dc:creator>
				<category><![CDATA[Ecommerce]]></category>
		<category><![CDATA[Magento]]></category>
		<category><![CDATA[Q&A]]></category>

		<guid isPermaLink="false">http://www.webcatchdigital.com/blog/?p=58</guid>
		<description><![CDATA[Difficulty: Easy
Modification: Config files, Database
Q:
Ok so I went to SYSTEM &#124; ADVANCE and changed the path to log into the admin panel to another name.
Now, I can’t log in to the admin panel.
A:
First of all you would need to undo what you did &#8211; unset the custom admin url in the database. To do this, [...]]]></description>
			<content:encoded><![CDATA[<p>Difficulty: <span style="color: #00ff00;"><span style="color: #008000;"><strong>Easy</strong></span></span></p>
<p>Modification:<strong> Config files, Database</strong></p>
<p><strong>Q:</strong></p>
<blockquote><p>Ok so I went to SYSTEM | ADVANCE and changed the path to log into the admin panel to another name.</p>
<p>Now, I can’t log in to the admin panel.</p></blockquote>
<p><strong>A:</strong></p>
<p>First of all you would need to undo what you did &#8211; unset the custom admin url in the database. To do this, you would need to interact with the database. My preference is to use phpmyadmin, but you might also do it with the command line interface. Go to the table &#8216;core_config_data&#8217; and delete the rows:</p>
<ul>
<li>admin/url/use_custom</li>
<li>admin/url/custom</li>
</ul>
<p>After that you need to properly set your custom admin url in the config file /app/etc/local.xml. In this file change this:</p>
<blockquote><p>&lt;frontName&gt;&lt;![CDATA[admin]]&gt;&lt;/frontName&gt;</p></blockquote>
<p>to this:</p>
<blockquote><p>&lt;frontName&gt;&lt;![CDATA[your_custom_admin_url]]&gt;&lt;/frontName&gt;</p></blockquote>
<p>Now save the file and clear the cache (if you are using it). If you still don&#8217;t have access to the admin you may clear the cache by deleting the contentss of the /var/cache directory.</p>
<p>On thing to remember is that while hiding your admin url makes your site more secure, it is not the ultimate solution for all your security issues. If your magento version is lower than 1.4, your admin url is easily discoverable by anyone unless you do <a href="http://www.webcatchdigital.com/blog/index.php/2009/11/30/warning-an-important-security-issue-in-magento/" target="_blank">some additional tweaking</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.webcatchdigital.com/blog/index.php/2010/03/01/magento-qa-how-to-properly-change-the-admin-url/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Magento Q&amp;A: Hide the price for a free product</title>
		<link>http://www.webcatchdigital.com/blog/index.php/2010/02/26/magento-qa-hide-the-price-for-a-free-product/</link>
		<comments>http://www.webcatchdigital.com/blog/index.php/2010/02/26/magento-qa-hide-the-price-for-a-free-product/#comments</comments>
		<pubDate>Fri, 26 Feb 2010 10:00:54 +0000</pubDate>
		<dc:creator>Jakub</dc:creator>
				<category><![CDATA[Design]]></category>
		<category><![CDATA[Ecommerce]]></category>
		<category><![CDATA[Magento]]></category>
		<category><![CDATA[Q&A]]></category>
		<category><![CDATA[Development]]></category>

		<guid isPermaLink="false">http://www.webcatchdigital.com/blog/?p=53</guid>
		<description><![CDATA[Difficulty: Easy
Modification: Template File
Q:
I’m new to magento, and I would like to know if there is a way to hide the price of a product when it is 0?
I have a few free virtual product, and they have 0 as price. so the customer can order them for free. But I would like to hide [...]]]></description>
			<content:encoded><![CDATA[<p>Difficulty:<span style="color: #00ff00;"> <span style="color: #008000;"><strong>Easy</strong></span></span></p>
<p>Modification: <strong>Template File</strong></p>
<p><strong>Q:</strong></p>
<blockquote><p>I’m new to magento, and I would like to know if there is a way to hide the price of a product when it is 0?</p>
<p>I have a few free virtual product, and they have 0 as price. so the customer can order them for free. But I would like to hide the 0.</p></blockquote>
<p><strong>A:</strong></p>
<p>That is fairly easy to do. You will need to modify the template file <em>/app/design/forntend/default/your_skin/template/catalog/product/view.phtml</em>.</p>
<p>In there you need to look for the piece of code responsible for displaying the price and surround it with additional code:</p>
<blockquote><p><span style="color: #0000bb;">&lt;?php </span><span style="color: #007700;">if(</span><span style="color: #0000bb;">$_product</span><span style="color: #007700;">-&gt;</span><span style="color: #0000bb;">price</span><span style="color: #007700;">==</span><span style="color: #0000bb;">0</span><span style="color: #007700;">): </span>?&gt;</p>
<div><code><span style="color: #0000bb;"> &lt;?php </span><span style="color: #007700;">echo </span><span style="color: #dd0000;">'FREE'</span><span style="color: #007700;">; </span><span style="color: #0000bb;">?&gt;<br />
&lt;?php </span><span style="color: #007700;">else: </span><span style="color: #0000bb;">?&gt;<br />
</span><span style="color: #007700;">&lt;!-- </span><span style="color: #0000bb;">code that is currently displaying the price in your template </span><span style="color: #007700;">--&gt;<br />
</span><span style="color: #0000bb;">&lt;?php </span><span style="color: #007700;">endif; </span><span style="color: #0000bb;">?&gt;</span> </code></div>
</blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.webcatchdigital.com/blog/index.php/2010/02/26/magento-qa-hide-the-price-for-a-free-product/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Prepare your magento site for upgrade</title>
		<link>http://www.webcatchdigital.com/blog/index.php/2010/02/18/prepare-your-magento-site-for-upgrade-to-1-4/</link>
		<comments>http://www.webcatchdigital.com/blog/index.php/2010/02/18/prepare-your-magento-site-for-upgrade-to-1-4/#comments</comments>
		<pubDate>Thu, 18 Feb 2010 11:47:47 +0000</pubDate>
		<dc:creator>Jakub</dc:creator>
				<category><![CDATA[Design]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[Ecommerce]]></category>
		<category><![CDATA[Magento]]></category>

		<guid isPermaLink="false">http://www.webcatchdigital.com/blog/?p=50</guid>
		<description><![CDATA[You might have heard that there is a new version of magento out there. Magento Community Edition 1.4 has just been declared stable by its creators &#8211; Varien. If you want to upgrade you must bear in mind that by doing so you will overwrite all the modifications in your core files. Normally this should [...]]]></description>
			<content:encoded><![CDATA[<p>You might have heard that there is a new version of magento out there. Magento Community Edition 1.4 has just been declared stable by its creators &#8211; Varien. If you want to upgrade you must bear in mind that by doing so you will overwrite all the modifications in your core files. Normally this should not be a problem, as there shouldn&#8217;t be any core modifications. However, it is not uncommon that magento developers and designers do some quick changes in the core and then forget to move them to the local code pool or local template. The only way to make sure that your site will not loose the extra functionality or some custom styling is to track all the changes that have been applied to your core files and either move them to the local code/design files before upgrading or reapply them after the upgrade (though we would really recommend that you keep your core files free from any modifications). Now to the most important part: How to do this?</p>
<p>In order to find the core changes you would need to <a href="http://www.magentocommerce.com/download">download a clean copy of magento</a>. Be sure to download exactly the same version that you are currently running (you can check your current version in the admin panel&#8217;s footer). After download you need to extract the &#8216;app&#8217; folder and place it somewhere in your filesystem. For the purpose of this example, lets assume that you put the original <em>app </em>file in the magento root folder and rename it to <em>app.org</em>.</p>
<p>Now you will need to make use of the linux console. The tool you will use is <em>diff</em>. It is a standard program for comparing files that should be present in all linux distributions. The only parameter that would need to be added is <em>-r</em> which switches the tool to recursive mode. The final command looks as follows for:</p>
<blockquote><p>diff -r magento_root/app/code/core magento_root/app.org/code/core &gt; ~/core_code_modifications.txt</p>
<p>diff -r magento_root/app/design/frontend/default/default/ magento_root/app.org/design/frontend/default/default/ &gt; ~/core_design_modifications.txt</p></blockquote>
<p>After executing those two commands you will have two files created in your home directory:</p>
<ul>
<li><em>core_code_modifications.txt</em>, which will list all the modifications in your core code files</li>
<li><em>core_design_modifications.txt</em>, which will list all the modifications in your default template</li>
</ul>
<p>With that knowledge your job of upgrading magento will be much simpler. Again, after you have successfully upgraded your magento store to version 1.4, do take some extra time and move the changes to the local code pool and/or your custom template. This will save you a lot of time and trouble in future upgrades and will also ensure that your store is easier to maintain by your developers and designers.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.webcatchdigital.com/blog/index.php/2010/02/18/prepare-your-magento-site-for-upgrade-to-1-4/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>The perfect page rank</title>
		<link>http://www.webcatchdigital.com/blog/index.php/2010/02/15/the-perfect-page-rank/</link>
		<comments>http://www.webcatchdigital.com/blog/index.php/2010/02/15/the-perfect-page-rank/#comments</comments>
		<pubDate>Mon, 15 Feb 2010 17:01:39 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.webcatchdigital.com/blog/?p=46</guid>
		<description><![CDATA[I know we shouldn’t get too obsessed with page rank but I always like to keep a look out for websites that get a perfect 10 page rank, this changes each quarter and we should be due for an update very soon,  below is a list of all the sites that have a pr 10.
 




Title


PR


GBLs [...]]]></description>
			<content:encoded><![CDATA[<p>I know we shouldn’t get too obsessed with page rank but I always like to keep a look out for websites that get a perfect 10 page rank, this changes each quarter and we should be due for an update very soon,  below is a list of all the sites that have a pr 10.</p>
<p> </p>
<table border="0" cellpadding="0" width="100%">
<tbody>
<tr>
<td width="28%">
<p align="center"><strong>Title</strong></p>
</td>
<td width="6%">
<p align="center"><strong>PR</strong></p>
</td>
<td width="11%">
<p align="center"><strong>GBLs ( Google&#8217;s Fake representation refer webmaster tools for ) </strong></p>
</td>
<td width="14%">
<p align="center"><strong>YBLs</strong></p>
</td>
<td width="41%">
<p align="center"><strong>URL</strong></p>
</td>
</tr>
<tr>
<td>
<p align="center">Google Search</p>
</td>
<td>
<p align="center">10</p>
</td>
<td>
<p align="center">132,000</p>
</td>
<td>
<p align="center">1,041,958,589</p>
</td>
<td>
<p align="center"><a href="http://www.google.com/" target="_blank">http://www.google.com</a></p>
</td>
</tr>
<tr>
<td>
<p align="center">World Wide Web Consortium</p>
</td>
<td>
<p align="center">10</p>
</td>
<td>
<p align="center">33,000</p>
</td>
<td>
<p align="center">66,868,007</p>
</td>
<td>
<p align="center"><a href="http://www.w3.org/">http://www.w3.org/</a></p>
</td>
</tr>
<tr>
<td>
<p align="center">US Goverment website</p>
</td>
<td>
<p align="center">10</p>
</td>
<td>
<p align="center">29,800</p>
</td>
<td>
<p align="center">5,507,662</p>
</td>
<td>
<p align="center"><a href="http://www.usa.gov/index.shtml">http://www.usa.gov/</a></p>
</td>
</tr>
<tr>
<td>
<p align="center">Adobe &#8211; Adobe Reader Download</p>
</td>
<td>
<p align="center">10</p>
</td>
<td>          366,000</td>
<td>
<p align="center">1,426,347</p>
</td>
<td>
<p align="center"><a href="http://get.adobe.com/reader/">http://get.adobe.com/reader/</a></p>
</td>
</tr>
<tr>
<td>
<p align="center">National Portal of India</p>
</td>
<td>
<p align="center">10</p>
</td>
<td>
<p align="center">2,270</p>
</td>
<td>
<p align="center">250,770</p>
</td>
<td>
<p align="center"><a href="http://india.gov.in/">http://india.gov.in/</a></p>
</td>
</tr>
<tr>
<td>
<p align="center">United States Department of Health and Human Services</p>
</td>
<td>
<p align="center">10</p>
</td>
<td>
<p align="center">34,400</p>
</td>
<td>
<p align="center">2,528,270</p>
</td>
<td>
<p align="center"><a href="http://www.hhs.gov/" target="_blank">http://www.hhs.gov/ and http://www.dhhs.gov both redirects to same URL. </a></p>
</td>
</tr>
<tr>
<td>
<p align="center">Europeana</p>
</td>
<td>
<p align="center">10</p>
</td>
<td>
<p align="center">5,030</p>
</td>
<td>
<p align="center">458,308</p>
</td>
<td>
<p align="center"><a href="http://www.europeana.eu/portal/">http://www.europeana.eu/portal/</a></p>
</td>
</tr>
<tr>
<td>
<p align="center">CNN</p>
</td>
<td>
<p align="center">10</p>
</td>
<td>
<p align="center">46,100</p>
</td>
<td>
<p align="center">23,149,725</p>
</td>
<td>
<p align="center"><a href="http://www.cnn.com/">http://www.cnn.com/</a></p>
</td>
</tr>
<tr>
<td>
<p align="center">Miibeian</p>
</td>
<td>
<p align="center">10</p>
</td>
<td>
<p align="center">31,200</p>
</td>
<td>
<p align="center">824,087,644</p>
</td>
<td>
<p align="center"><a href="http://www.miibeian.gov.cn/">http://www.miibeian.gov.cn/</a></p>
</td>
</tr>
<tr>
<td>
<p align="center">Social Bookmarking Sharing Button Widget</p>
</td>
<td>
<p align="center">10</p>
</td>
<td>
<p align="center">151,000</p>
</td>
<td>
<p align="center">340,345,651</p>
</td>
<td>
<p align="center"><a href="http://www.addthis.com/bookmark.php">http://www.addthis.com/bookmark.php</a></p>
</td>
</tr>
<tr>
<td>
<p align="center">ScienceDirect</p>
</td>
<td>
<p align="center">10</p>
</td>
<td>
<p align="center">8,200</p>
</td>
<td>
<p align="center">1,539,714</p>
</td>
<td>
<p align="center"><a href="http://www.sciencedirect.com/">http://www.sciencedirect.com/</a></p>
</td>
</tr>
</tbody>
</table>
<p> </p>
<p>I will post the result of the next update. It will be interesting with the ever-changing parameters that Google puts in our way to see if this list increases or shrinks.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.webcatchdigital.com/blog/index.php/2010/02/15/the-perfect-page-rank/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
