<?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>EcomGoLive</title>
	<atom:link href="http://www.ecomgolive.ie/blog/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://www.ecomgolive.ie/blog</link>
	<description>Ecomgolive</description>
	<lastBuildDate>Tue, 03 Apr 2012 23:36:44 +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 api</title>
		<link>http://www.ecomgolive.ie/blog/?p=171</link>
		<comments>http://www.ecomgolive.ie/blog/?p=171#comments</comments>
		<pubDate>Tue, 03 Apr 2012 23:36:44 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Magento tips]]></category>

		<guid isPermaLink="false">http://www.ecomgolive.ie/blog/?p=171</guid>
		<description><![CDATA[Hi all,
Over the last week i have been developing scripts that use the magento api, The api works fine but a work of advice, if you plan to use the api for large
quantities of data your in for a nasty surprise!! IT DAMN SLOW,
Fine for exporting and import small quantities for records such as customer [...]]]></description>
			<content:encoded><![CDATA[<p>Hi all,</p>
<p>Over the last week i have been developing scripts that use the magento api, The api works fine but a work of advice, if you plan to use the api for large</p>
<p>quantities of data your in for a nasty surprise!! IT DAMN SLOW,</p>
<p>Fine for exporting and import small quantities for records such as customer orders etc.. but dont think of importing</p>
<p>30,000 product records or you will be old and gray before it finishes <img src='http://www.ecomgolive.ie/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>

<div class="like">
<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.ecomgolive.ie%2Fblog%2F%3Fp%3D171&amp;layout=standard&amp;show_faces=true&amp;width=450&amp;action=like&amp;font=&amp;colorscheme=light" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:450px; height:62px; "></iframe>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.ecomgolive.ie/blog/?feed=rss2&amp;p=171</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>magento log and var file cleanup script</title>
		<link>http://www.ecomgolive.ie/blog/?p=169</link>
		<comments>http://www.ecomgolive.ie/blog/?p=169#comments</comments>
		<pubDate>Wed, 08 Feb 2012 01:16:18 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Magento tips]]></category>

		<guid isPermaLink="false">http://www.ecomgolive.ie/blog/?p=169</guid>
		<description><![CDATA[Ok magento can grow massive, here is a script that will cleanup the files and database. as always please backup before running  
&#60;?php
$xml = simplexml_load_file(&#8217;./app/etc/local.xml&#8217;, NULL, LIBXML_NOCDATA);
$db['host'] = $xml-&#62;global-&#62;resources-&#62;default_setup-&#62;connection-&#62;host;
$db['name'] = $xml-&#62;global-&#62;resources-&#62;default_setup-&#62;connection-&#62;dbname;
$db['user'] = $xml-&#62;global-&#62;resources-&#62;default_setup-&#62;connection-&#62;username;
$db['pass'] = $xml-&#62;global-&#62;resources-&#62;default_setup-&#62;connection-&#62;password;
$db['pref'] = $xml-&#62;global-&#62;resources-&#62;db-&#62;table_prefix;
if($_GET['clean'] == &#8216;log&#8217;) clean_log_tables();
if($_GET['clean'] == &#8216;var&#8217;) clean_var_directory();
function clean_log_tables() {
global $db;
$tables = array(
&#8216;dataflow_batch_export&#8217;,
&#8216;dataflow_batch_import&#8217;,
&#8216;log_customer&#8217;,
&#8216;log_quote&#8217;,
&#8216;log_summary&#8217;,
&#8216;log_summary_type&#8217;,
&#8216;log_url&#8217;,
&#8216;log_url_info&#8217;,
&#8216;log_visitor&#8217;,
&#8216;log_visitor_info&#8217;,
&#8216;log_visitor_online&#8217;,
&#8216;report_event&#8217;
);
mysql_connect($db['host'], $db['user'], $db['pass']) or die(mysql_error());
mysql_select_db($db['name']) or die(mysql_error());
foreach($tables [...]]]></description>
			<content:encoded><![CDATA[<p>Ok magento can grow massive, here is a script that will cleanup the files and database. as always please backup before running <img src='http://www.ecomgolive.ie/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>&lt;?php<br />
$xml = simplexml_load_file(&#8217;./app/etc/local.xml&#8217;, NULL, LIBXML_NOCDATA);</p>
<p>$db['host'] = $xml-&gt;global-&gt;resources-&gt;default_setup-&gt;connection-&gt;host;<br />
$db['name'] = $xml-&gt;global-&gt;resources-&gt;default_setup-&gt;connection-&gt;dbname;<br />
$db['user'] = $xml-&gt;global-&gt;resources-&gt;default_setup-&gt;connection-&gt;username;<br />
$db['pass'] = $xml-&gt;global-&gt;resources-&gt;default_setup-&gt;connection-&gt;password;<br />
$db['pref'] = $xml-&gt;global-&gt;resources-&gt;db-&gt;table_prefix;</p>
<p>if($_GET['clean'] == &#8216;log&#8217;) clean_log_tables();<br />
if($_GET['clean'] == &#8216;var&#8217;) clean_var_directory();</p>
<p>function clean_log_tables() {<br />
global $db;</p>
<p>$tables = array(<br />
&#8216;dataflow_batch_export&#8217;,<br />
&#8216;dataflow_batch_import&#8217;,<br />
&#8216;log_customer&#8217;,<br />
&#8216;log_quote&#8217;,<br />
&#8216;log_summary&#8217;,<br />
&#8216;log_summary_type&#8217;,<br />
&#8216;log_url&#8217;,<br />
&#8216;log_url_info&#8217;,<br />
&#8216;log_visitor&#8217;,<br />
&#8216;log_visitor_info&#8217;,<br />
&#8216;log_visitor_online&#8217;,<br />
&#8216;report_event&#8217;<br />
);</p>
<p>mysql_connect($db['host'], $db['user'], $db['pass']) or die(mysql_error());<br />
mysql_select_db($db['name']) or die(mysql_error());</p>
<p>foreach($tables as $v =&gt; $k) {<br />
mysql_query(&#8217;TRUNCATE `&#8217;.$db['pref'].$k.&#8217;`') or die(mysql_error());<br />
}<br />
}</p>
<p>function clean_var_directory() {<br />
$dirs = array(<br />
&#8216;downloader/pearlib/cache/*&#8217;,<br />
&#8216;downloader/pearlib/download/*&#8217;,<br />
&#8216;var/cache/&#8217;,<br />
&#8216;var/log/&#8217;,<br />
&#8216;var/report/&#8217;,<br />
&#8216;var/session/&#8217;,<br />
&#8216;var/tmp/&#8217;<br />
);</p>
<p>foreach($dirs as $v =&gt; $k) {<br />
exec(&#8217;rm -rf &#8216;.$k);<br />
}<br />
}<br />
?&gt;</p>

<div class="like">
<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.ecomgolive.ie%2Fblog%2F%3Fp%3D169&amp;layout=standard&amp;show_faces=true&amp;width=450&amp;action=like&amp;font=&amp;colorscheme=light" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:450px; height:62px; "></iframe>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.ecomgolive.ie/blog/?feed=rss2&amp;p=169</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>new magento google api module</title>
		<link>http://www.ecomgolive.ie/blog/?p=166</link>
		<comments>http://www.ecomgolive.ie/blog/?p=166#comments</comments>
		<pubDate>Tue, 13 Dec 2011 23:06:49 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Magento tips]]></category>

		<guid isPermaLink="false">http://www.ecomgolive.ie/blog/?p=166</guid>
		<description><![CDATA[http://www.magentocommerce.com/magento-connect/Magento+Core/extension/6887/mage_googleshopping




]]></description>
			<content:encoded><![CDATA[<p>http://www.magentocommerce.com/magento-connect/Magento+Core/extension/6887/mage_googleshopping</p>

<div class="like">
<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.ecomgolive.ie%2Fblog%2F%3Fp%3D166&amp;layout=standard&amp;show_faces=true&amp;width=450&amp;action=like&amp;font=&amp;colorscheme=light" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:450px; height:62px; "></iframe>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.ecomgolive.ie/blog/?feed=rss2&amp;p=166</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>magento upgrade from 1.4 to 1.6.1</title>
		<link>http://www.ecomgolive.ie/blog/?p=164</link>
		<comments>http://www.ecomgolive.ie/blog/?p=164#comments</comments>
		<pubDate>Tue, 13 Dec 2011 22:53:57 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Magento tips]]></category>

		<guid isPermaLink="false">http://www.ecomgolive.ie/blog/?p=164</guid>
		<description><![CDATA[Well we all know that the upgrade of the magento system must be the worsed job to be handed,
Well there is a way and it seems to work!!
This is the most comprehensive description of the Magento 1.4  (1.4.1.1), 1.5 (1.5.1.0), 1.6 (1.6.0.0) upgrade process. It contains  step-by-step instructions and troubleshooting information. Hope this [...]]]></description>
			<content:encoded><![CDATA[<p>Well we all know that the upgrade of the magento system must be the worsed job to be handed,</p>
<p>Well there is a way and it seems to work!!</p>
<p>This is the most comprehensive description of the Magento 1.4  (1.4.1.1), 1.5 (1.5.1.0), 1.6 (1.6.0.0) upgrade process. It contains  step-by-step instructions and troubleshooting information. Hope this  information will help you to upgrade your Magento store up to the latest  version with no troubles.<img title="More..." src="http://turnkeye.com/blog/wp-includes/js/tinymce/plugins/wordpress/img/trans.gif" alt="" /></p>
<p><strong>Prepare for Magento upgrade</strong></p>
<p>Lets imaging that you have Magento 1.4.1.1. web store and you need to  upgrade it to 1.5. or 1.6 version. First of all it is highly  recommended to backup your live store files and database.</p>
<p>Next you need to get SSH access from your hosting provider and  connect to your server via SSH protocol. After connection via SSH go to  your store folder and execute these commands:</p>
<p>1 – Change permissions on <em>lib/pear</em> folder to writable (recursively):</p>
<blockquote><p>chmod -R 777 lib/PEAR</p></blockquote>
<p>2 – Execute this command to prepare Magento for upgrade:</p>
<blockquote><p>./pear mage-setup</p></blockquote>
<p>Most likely you will see this result after command execution:</p>
<blockquote><p>Channel “connect.magentocommerce.com/core” is already initialized</p></blockquote>
<p><strong>Upgrade from Magento 1.4.1.x to Magento 1.4.2.0</strong></p>
<p>This step is necessary even if you upgrade your Magento store to 1.5 or 1.6 versions.</p>
<p>3 – Execute Magento upgrade command:</p>
<blockquote><p>./pear upgrade -f magento-core/Mage_All_Latest-stable</p></blockquote>
<p>Output of the command will show you what core packages were upgraded:</p>
<blockquote><p>…<br />
upgrade ok: channel://connect.magentocommerce.com/core/Mage_Centinel-1.4.2.0<br />
upgrade ok: channel://connect.magentocommerce.com/core/Interface_Frontend_Base_Default-1.4.2.0<br />
upgrade ok: channel://connect.magentocommerce.com/core/Phoenix_Moneybookers-1.2.3<br />
upgrade ok: channel://connect.magentocommerce.com/core/Find_Feed-1.0.7<br />
upgrade ok: channel://connect.magentocommerce.com/core/Interface_Adminhtml_Default-1.4.2.0</p></blockquote>
<p>4 – When this part of the upgrade will be complete, enter these commands:</p>
<blockquote><p>chmod 550 ./mage<br />
./mage mage-setup .</p></blockquote>
<p>You will see this result after command execution:</p>
<blockquote><p>Successfully added: http://connect20.magentocommerce.com/community</p></blockquote>
<p>It means that Magento connect 2.0 channel was added to the channels list successfully.</p>
<p>5 – Next, enter this command:</p>
<blockquote><p>./mage sync</p></blockquote>
<p>The result will be:</p>
<blockquote><p>…<br />
Successfully added: community/Mage_Locale_en_US-1.4.2.0<br />
Successfully added: community/Interface_Install_Default-1.4.2.0<br />
Successfully added: community/Phoenix_Moneybookers-1.2.3<br />
Successfully added: community/Mage_Downloader-1.5.0.0<br />
Successfully added: community/Lib_Google_Checkout-1.4.2.0</p></blockquote>
<p>Upgrade to Magento 1.4.2.0 is complete and now you can proceed with upgrade to Magento 1.5.1.0 or 1.6.0.0 version.</p>
<p><strong>Upgrade from Magento 1.4.2.0 to Magento 1.5.10 or Magento 1.6.0.0</strong></p>
<p>Now you can upgrade your store to version 1.5 or 1.6.</p>
<p>Before proceeding with this part of Magento upgrade, it is very  important to see to what version Magento upgrade scripts will upgrade  your store. Enter this command to check this:</p>
<blockquote><p>./mage list-upgrades</p></blockquote>
<p>If you will see this result:</p>
<blockquote><p>Updates for community:<br />
Mage_All_Latest: 1.4.2.1 =&gt; 1.6.0.0<br />
Lib_Js_Mage: 1.4.2.0 =&gt; 1.6.0.0<br />
Lib_Varien: 1.4.2.0 =&gt; 1.6.0.0<br />
Lib_Phpseclib: 1.4.2.0 =&gt; 1.5.0.0</p></blockquote>
<p>It means that your Magento will be upgraded to version 1.6.0.0. If it is not what you need you can change upgrade channel to “<em>stable</em>” and upgrade your Magento to version 1.5.1.0.</p>
<p>6 – Enter this command to change the upgrade channel to stable:</p>
<blockquote><p>./mage config-set preferred_state stable</p></blockquote>
<p>After this the “<em>./mage list-upgrades</em>” command will show you this result:</p>
<blockquote><p>Updates for community:<br />
Mage_All_Latest: 1.4.2.1 =&gt; 1.5.1.0.1<br />
Lib_Js_Mage: 1.4.2.0 =&gt; 1.5.1.0<br />
Lib_Varien: 1.4.2.0 =&gt; 1.5.1.0<br />
Lib_Phpseclib: 1.4.2.0 =&gt; 1.5.0.0<br />
Mage_Core_Adminhtml: 1.4.2.0 =&gt; 1.5.1.0<br />
Mage_Core_Modules: 1.4.2.0 =&gt; 1.5.1.0</p></blockquote>
<p>7 – After channel selection you can upgrade your Magento to 1.5.1.0 (or to Magento 1.6.0.0) using this command:</p>
<blockquote><p>./mage upgrade-all –force</p></blockquote>
<p>You will see upgraded packages on your screen:</p>
<blockquote><p>…<br />
Package upgraded: community/Mage_Locale_en_US 1.6.0.0<br />
Package upgraded: community/Lib_Mage 1.6.0.0<br />
Package upgraded: community/Lib_ZF 1.11.1.0<br />
Package upgraded: community/Lib_Js_Prototype 1.7.0.0.1<br />
Package upgraded: community/Lib_ZF_Locale 1.11.1.0</p></blockquote>
<p>Now the upgrade is complete and you can execute database upgrade  visiting your Magento store in your browser. If everything was upgraded  correctly, you will see upgraded store in your browser.</p>
<p>You can check version of your store in the footer of Magento administration panel.</p>
<p><strong>Need any help with Magento upgrade?</strong></p>
<p><img style="margin-right: 10px; margin-left: 10px;" title="UpgradeHelp" src="http://turnkeye.com/blog/wp-content/uploads/2011/07/UpgradeHelp.png" alt="" width="48" height="48" /> Turnkeye.com offers professional Magento support services (including <a title="Magento development" href="http://turnkeye.com/magento_development.html">Magento development</a> and Magento upgrade service), feel free to <a href="http://turnkeye.com/request_quote.html">contact our team</a>.</p>
<p><strong>Troubleshooting</strong></p>
<p>1 – Magento upgrade script error:</p>
<blockquote><p><strong>upgrade-all: Please check for sufficient write file permissions.</strong><br />
<strong> Error: upgrade-all: Your Magento folder does not have sufficient write permissions, which downloader requires.</strong></p></blockquote>
<p>Execute this command to correct the error:</p>
<blockquote><p>chmod -R 777 Upgrade</p></blockquote>
<p>2 – Magento upgrade script error:</p>
<blockquote><p><strong>upgrade-all: Invalid stability in compareStabilities argument.</strong></p></blockquote>
<p>Execute these commands, it will fix the issue:</p>
<blockquote><p>./mage channel-add connect20.magentocommerce.com/community<br />
./mage channel-add connect20.magentocommerce.com/core<br />
./mage sync</p></blockquote>
<p>3 – Server error:</p>
<blockquote><p><strong>“Internal Server Error” instead of Magento storefront page or administration zone pages.</strong></p></blockquote>
<p>Most likely issue is connected with wrong permissions.</p>
<p>Fix this issue using these recursive commands:</p>
<blockquote><p>find . -type f -exec chmod 644 {} \;<br />
find . -type d -exec chmod 755 {} \;</p></blockquote>
<p>4 – Magento error: Different errors in Magento database.</p>
<p>Re-index your database in Magento administration panel and clear Magento cache.</p>
<p>5 – Magento error:</p>
<blockquote><p><strong>“Invalid mode for clean() method”.</strong></p></blockquote>
<p>Clear Zend cache (all files, including “Backend” folder) in [magento_folder]/app/code/core/Zend/Cache/</p>
<p><code>rm -rf  app/code/core/Zend/Cache var/cache/*  var/session/* (nice little command for you!!!)<br />
</code></p>
<p>6 – Magento error:</p>
<blockquote><p><strong>“Call to a member function toHtml() on a non-object in …/Layout.php”.</strong></p></blockquote>
<p>Open [magento_folder]/app/design/frontend/default/[your_theme]/layout/page.xml and replace this line of the code:</p>
<blockquote><p>&lt;block type=”core/profiler” output=”toHtml”/&gt;</p></blockquote>
<p>With:</p>
<blockquote><p>&lt;block type=”core/profiler” output=”toHtml” name=”core_profiler”/&gt;</p></blockquote>
<p>7 – Magento error:</p>
<blockquote><p><strong>“Maximum key size must be smaller 32″.</strong></p></blockquote>
<p>Clear Magento cache.</p>

<div class="like">
<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.ecomgolive.ie%2Fblog%2F%3Fp%3D164&amp;layout=standard&amp;show_faces=true&amp;width=450&amp;action=like&amp;font=&amp;colorscheme=light" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:450px; height:62px; "></iframe>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.ecomgolive.ie/blog/?feed=rss2&amp;p=164</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>magento featured products not displaying</title>
		<link>http://www.ecomgolive.ie/blog/?p=162</link>
		<comments>http://www.ecomgolive.ie/blog/?p=162#comments</comments>
		<pubDate>Tue, 13 Sep 2011 20:25:12 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Magento tips]]></category>

		<guid isPermaLink="false">http://www.ecomgolive.ie/blog/?p=162</guid>
		<description><![CDATA[I have noticed that sometimes with magento the the featured products on the home page
disappear for not reason, After checking the cms page and the block code all looked fine.
The simple solution to this problem is to reindex the complete site.
system &#8211;&#62; indexes and select all and re-index
Like magic the featured products re-appear




]]></description>
			<content:encoded><![CDATA[<p>I have noticed that sometimes with magento the the featured products on the home page<br />
disappear for not reason, After checking the cms page and the block code all looked fine.</p>
<p>The simple solution to this problem is to reindex the complete site.</p>
<p>system &#8211;&gt; indexes and select all and re-index</p>
<p>Like magic the featured products re-appear</p>

<div class="like">
<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.ecomgolive.ie%2Fblog%2F%3Fp%3D162&amp;layout=standard&amp;show_faces=true&amp;width=450&amp;action=like&amp;font=&amp;colorscheme=light" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:450px; height:62px; "></iframe>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.ecomgolive.ie/blog/?feed=rss2&amp;p=162</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>magento tax options on configurable products</title>
		<link>http://www.ecomgolive.ie/blog/?p=160</link>
		<comments>http://www.ecomgolive.ie/blog/?p=160#comments</comments>
		<pubDate>Mon, 05 Sep 2011 20:35:50 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Magento tips]]></category>

		<guid isPermaLink="false">http://www.ecomgolive.ie/blog/?p=160</guid>
		<description><![CDATA[Well after lots of testing i see magento takes the tax on the configurable product and ignores the associated products
which seems a bit odd but there  you go. I came across a entry in a blog that pointed me to the right file and a swap of code
can result moving the tax down to the [...]]]></description>
			<content:encoded><![CDATA[<p>Well after lots of testing i see magento takes the tax on the configurable product and ignores the associated products<br />
which seems a bit odd but there  you go. I came across a entry in a blog that pointed me to the right file and a swap of code<br />
can result moving the tax down to the child products.</p>
<p>file is located in app/code/core/Mage/Tax/Model/Sales/Total/Quote/tax.php</p>
<p>code change</p>
<div>
<div><code>$taxRateRequest</code><code>-&gt;setProductClassId(</code><code>$item</code><code>-&gt;getProduct()-&gt;getTaxClassId());</code></div>
<div></div>
<div>for</div>
</div>
<div></div>
<div>
<div>
<div><code>if</code> <code>(</code><code>$item</code><code>-&gt;getProductType() == Mage_Catalog_Model_Product_Type::TYPE_CONFIGURABLE) {</code></div>
<div><code> </code><code>$child</code> <code>= current(</code><code>$item</code><code>-&gt;getChildren());</code></div>
<div><code> </code><code>$taxRateRequest</code><code>-&gt;setProductClassId(</code><code>$child</code><code>-&gt;getProduct()-&gt;getTaxClassId());</code></div>
<div><code>}</code></div>
<div><code>else</code> <code>{</code></div>
<div><code> </code><code>$taxRateRequest</code><code>-&gt;setProductClassId(</code><code>$item</code><code>-&gt;getProduct()-&gt;getTaxClassId());</code></div>
<div><code>}</code></div>
</div>
</div>

<div class="like">
<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.ecomgolive.ie%2Fblog%2F%3Fp%3D160&amp;layout=standard&amp;show_faces=true&amp;width=450&amp;action=like&amp;font=&amp;colorscheme=light" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:450px; height:62px; "></iframe>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.ecomgolive.ie/blog/?feed=rss2&amp;p=160</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>magento paths and links</title>
		<link>http://www.ecomgolive.ie/blog/?p=158</link>
		<comments>http://www.ecomgolive.ie/blog/?p=158#comments</comments>
		<pubDate>Mon, 29 Aug 2011 08:52:03 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Magento tips]]></category>

		<guid isPermaLink="false">http://www.ecomgolive.ie/blog/?p=158</guid>
		<description><![CDATA[found this great bit for information , solved a problem I was having hope it helps you
URL paths in code file:
Magento had some very handy functions that easily allow you to find  some fundamental urls of your site from your phtml files so you can  avoid hardcoding them. These are:
$this-&#62;getBaseUrl() – returns the [...]]]></description>
			<content:encoded><![CDATA[<p>found this great bit for information , solved a problem I was having hope it helps you</p>
<h3>URL paths in code file:</h3>
<p>Magento had some very handy functions that easily allow you to find  some fundamental urls of your site from your phtml files so you can  avoid hardcoding them. These are:</p>
<p>$this-&gt;getBaseUrl() – returns the base url of your store (funnily enough)</p>
<p>$this-&gt;getSkinUrl() – returns the url of the folder containing  your css, images and local js files (eg  skin/frontend/default/your_theme, will vary depending on what package  and theme the page is using).</p>
<p><span id="more-547"> </span></p>
<p>So to find the image logo.gif in the images folder you would call</p>
<p><span style="color: #b45f06"> $this-&gt;getSkinUrl(’images/logo.gif’);</span></p>
<p>It should be noted that if getSkinUrl does not find the file that you  have specified (like images/logo.gif) then it will default to looking  in the default theme folders rather than your custom theme folders.</p>
<p>$this-&gt;getJsUrl() – returns the url of the main js folder. So if  you want to include a new js library from a template you can use this</p>
<h3>adding links to a static block</h3>
<h3><a id="media_url" name="media_url">{{media url=”}}</a></h3>
<div>Inserts the <acronym title="Uniform Resource Locator">URL</acronym> of the media directory, e.g., <code>http://www.example.com/media/</code>. Changing the value of the <code>url</code> attribute to a non-empty string will cause the string to be appended to this <acronym title="Uniform Resource Locator">URL</acronym>.</div>
<table border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td>
<h4><a id="example3" name="example3">Example:</a></h4>
</td>
</tr>
</tbody>
</table>
<div>
<div style="font-family: monospace">
<div>
<ol>
<li>
<div>{{media url=’catalog/product/l/a/large_phone.jpg’}}</div>
</li>
</ol>
</div>
</div>
<p>This will produce the output <code>http://www.example.com/media/catalog/product/l/a/large_phone.jpg</code>.</div>
<table border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td>
<h3><a id="skin_url" name="skin_url">{{skin url=”}}</a></h3>
</td>
</tr>
</tbody>
</table>
<div>Inserts the <acronym title="Uniform Resource Locator">URL</acronym> of the current theme’s skin directory, e.g., <code>http://www.example.com/skin/frontend/default/default/</code>. Changing the value of the <code>url</code> attribute to a non-empty string will cause the string to be appended to this <acronym title="Uniform Resource Locator">URL</acronym>.</div>
<table border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td>
<h4><a id="example4" name="example4">Example:</a></h4>
</td>
</tr>
</tbody>
</table>
<div>Assuming you’re using the default theme and the default interface, then</p>
<div style="font-family: monospace">
<div>
<ol>
<li>
<div>{{skin url=’images/media/about_us_img.jpg’}}</div>
</li>
</ol>
</div>
</div>
<p>will be converted to <code>http://www.example.com/skin/frontend/default/default/images/media/about_us_img.jpg</code>.</div>
<table border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td>
<h3><a id="store_url" name="store_url">{{store url=”}}</a></h3>
</td>
</tr>
</tbody>
</table>
<div>Inserts the store’s base <acronym title="Uniform Resource Locator">URL</acronym>, i.e., the <acronym title="Uniform Resource Locator">URL</acronym> of the store’s home page. (Sample output: <code>http://www.example.com/</code>.) Changing the value of the <code>url</code> attribute to a non-empty string will cause the string to be appended to the store’s base <acronym title="Uniform Resource Locator">URL</acronym> <strong>and a slash (<code>/</code>) to be tacked on to the end of the resulting <acronym title="Uniform Resource Locator">URL</acronym></strong>. This trailing slash makes the <code>url</code> attribute suitable for referencing directory-like paths, e.g. <code>customer/account</code>.</div>
<table border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td>
<h4><a id="example5" name="example5">Example:</a></h4>
</td>
</tr>
</tbody>
</table>
<div>
<div style="font-family: monospace">
<div>
<ol>
<li>
<div>{{store url=’about-magento-demo-store’}}</div>
</li>
</ol>
</div>
</div>
<p>This will be converted to <code>http://www.example.com/index.php/about-magento-demo-store/</code>. Note the terminating slash in this <acronym title="Uniform Resource Locator">URL</acronym>; this is what distinguishes the <code>url</code> attribute from the <code>direct_url</code> attribute.</div>
<table border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td>
<h3><a id="store_direct_url" name="store_direct_url">{{store direct_url=”}}</a></h3>
</td>
</tr>
</tbody>
</table>
<div>Does the same as <code>{{store url=''}}</code> but without appending a slash to the resulting <acronym title="Uniform Resource Locator">URL</acronym>. This is suitable for referencing file-like paths, e.g. <code>coffee/kona-fancy-whole-bean.html</code>.</div>
<p>This is roughly what happens when Magento encounters a template tag it understands:</p>
<div>
<ol>
<li>
<div>Magento uses the tag to populate an array with three elements. The first element is the whole tag (e.g., <code>{{store url='coffee/test.html'}})</code>. The second element is the keyword which follows immediately after the opening curly braces (e.g., <code>store</code>). The third element is the tag’s keyword=value pair (e.g., <code>url='coffee/test.html'</code>).</div>
</li>
<li>
<div>Magento passes the array to a method of the <code>Mage_Core_Model_Email_Template_Filter</code> class. The name of the method depends on the keyword within the tag: if the keyword is <code>store</code>, for instance, the <code>storeDirective</code> method will be called.</div>
</li>
<li>
<div>The method returns a value. This value is used instead of the template tag on the front end.</div>
</li>
</ol>
</div>

<div class="like">
<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.ecomgolive.ie%2Fblog%2F%3Fp%3D158&amp;layout=standard&amp;show_faces=true&amp;width=450&amp;action=like&amp;font=&amp;colorscheme=light" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:450px; height:62px; "></iframe>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.ecomgolive.ie/blog/?feed=rss2&amp;p=158</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>remove wishlist from magento</title>
		<link>http://www.ecomgolive.ie/blog/?p=156</link>
		<comments>http://www.ecomgolive.ie/blog/?p=156#comments</comments>
		<pubDate>Fri, 29 Jul 2011 09:22:32 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Magento tips]]></category>

		<guid isPermaLink="false">http://www.ecomgolive.ie/blog/?p=156</guid>
		<description><![CDATA[Hi all,
Asked this question more times than I care to remember, So login to your control panel , click on system &#8211;&#62; configuration
select wishlist from the customer tabs and diable it !!
Easy when you know how  




]]></description>
			<content:encoded><![CDATA[<p>Hi all,</p>
<p>Asked this question more times than I care to remember, So login to your control panel , click on system &#8211;&gt; configuration</p>
<p>select wishlist from the customer tabs and diable it !!</p>
<p>Easy when you know how <img src='http://www.ecomgolive.ie/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>

<div class="like">
<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.ecomgolive.ie%2Fblog%2F%3Fp%3D156&amp;layout=standard&amp;show_faces=true&amp;width=450&amp;action=like&amp;font=&amp;colorscheme=light" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:450px; height:62px; "></iframe>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.ecomgolive.ie/blog/?feed=rss2&amp;p=156</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>magento default newsletter text for input box</title>
		<link>http://www.ecomgolive.ie/blog/?p=154</link>
		<comments>http://www.ecomgolive.ie/blog/?p=154#comments</comments>
		<pubDate>Wed, 27 Jul 2011 22:05:14 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Magento tips]]></category>

		<guid isPermaLink="false">http://www.ecomgolive.ie/blog/?p=154</guid>
		<description><![CDATA[Most magento default websites do not have the text &#8220;Enter email address&#8221; in the input box, I keep forgetting the code
so here you go value=&#8221;Email address&#8221; onfocus=&#8221;if(this.value==&#8217;Email address&#8217;)this.value=&#8221;;&#8221; onblur=&#8221;if(this.value==&#8221;)this.value=&#8217;Email address&#8217;;&#8221;
This should do the job,




]]></description>
			<content:encoded><![CDATA[<p>Most magento default websites do not have the text &#8220;Enter email address&#8221; in the input box, I keep forgetting the code</p>
<p>so here you go value=&#8221;Email address&#8221; onfocus=&#8221;if(this.value==&#8217;Email address&#8217;)this.value=&#8221;;&#8221; onblur=&#8221;if(this.value==&#8221;)this.value=&#8217;Email address&#8217;;&#8221;</p>
<p>This should do the job,</p>

<div class="like">
<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.ecomgolive.ie%2Fblog%2F%3Fp%3D154&amp;layout=standard&amp;show_faces=true&amp;width=450&amp;action=like&amp;font=&amp;colorscheme=light" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:450px; height:62px; "></iframe>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.ecomgolive.ie/blog/?feed=rss2&amp;p=154</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>magento product image upload</title>
		<link>http://www.ecomgolive.ie/blog/?p=152</link>
		<comments>http://www.ecomgolive.ie/blog/?p=152#comments</comments>
		<pubDate>Mon, 25 Jul 2011 11:53:35 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Magento tips]]></category>

		<guid isPermaLink="false">http://www.ecomgolive.ie/blog/?p=152</guid>
		<description><![CDATA[problem when you browse file and select an product image to upload to the sever nothing happens after you select
the image from your drive.
This problem is caused when your base and secure url are incorrect.
login to the magento admin panel and under configuration select the web tab option and update your urls
Once you have update [...]]]></description>
			<content:encoded><![CDATA[<p>problem when you browse file and select an product image to upload to the sever nothing happens after you select</p>
<p>the image from your drive.</p>
<p>This problem is caused when your base and secure url are incorrect.</p>
<p>login to the magento admin panel and under configuration select the web tab option and update your urls</p>
<p>Once you have update the urls the upload should work !!!!</p>

<div class="like">
<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.ecomgolive.ie%2Fblog%2F%3Fp%3D152&amp;layout=standard&amp;show_faces=true&amp;width=450&amp;action=like&amp;font=&amp;colorscheme=light" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:450px; height:62px; "></iframe>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.ecomgolive.ie/blog/?feed=rss2&amp;p=152</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

