<?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>E-Commerce Development</title>
	<atom:link href="http://www.imagedia.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.imagedia.com</link>
	<description>Imagedia - Maximizing and developing ecommerce applications</description>
	<lastBuildDate>Mon, 11 Mar 2013 02:47:23 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Set the max pop3 connections simutaneously for one ip</title>
		<link>http://www.imagedia.com/2013/03/set-the-max-pop3-connections-simutaneously-for-one-ip/</link>
		<comments>http://www.imagedia.com/2013/03/set-the-max-pop3-connections-simutaneously-for-one-ip/#comments</comments>
		<pubDate>Mon, 11 Mar 2013 02:47:23 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Web Development Help - General]]></category>

		<guid isPermaLink="false">http://www.imagedia.com/?p=632</guid>
		<description><![CDATA[<p>If you have more than 4 email accounts on a single domain, it&#8217;s very common you won&#8217;t be able to retrieve email from all of your accounts. By default, many servers have a MAXPERIP=4 setting in the pop3d file on the server. If you are having this problem, go to the /etc/courier-imap/ directory and vi [...]]]></description>
			<content:encoded><![CDATA[<p>If you have more than 4 email accounts on a single domain, it&#8217;s very common you won&#8217;t be able to retrieve email from all of your accounts. By default, many servers have a MAXPERIP=4 setting in the pop3d file on the server. If you are having this problem, go to the /etc/courier-imap/ directory and vi the pop3d file. Find the line that reads MAXPERIP=4 and edit that line to read MAXPERIP=40. Escape out and :wq the edit.</p>
<p>Next restart the service with: /etc/init.d/courier-imap restart</p>
<p>Problem of too many simulataneous email connections should now be solved.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.imagedia.com/2013/03/set-the-max-pop3-connections-simutaneously-for-one-ip/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How To Make A Custom Page Not Found Page for Opencart</title>
		<link>http://www.imagedia.com/2012/10/how-to-make-a-custom-page-not-found-page-for-opencart/</link>
		<comments>http://www.imagedia.com/2012/10/how-to-make-a-custom-page-not-found-page-for-opencart/#comments</comments>
		<pubDate>Sun, 14 Oct 2012 20:09:09 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Opencart Help]]></category>

		<guid isPermaLink="false">http://www.imagedia.com/?p=626</guid>
		<description><![CDATA[<p>Making a custom &#8220;Page Not Found&#8221; page for Opencart is actually fairly simple once you figure it out. The only real tricky part to this is that you have to modify three files to make it work instead of just two files like you might use in osCommerce.</p>
<p>It&#8217;s fairly straightforward that you would modify your [...]]]></description>
			<content:encoded><![CDATA[<p>Making a custom &#8220;Page Not Found&#8221; page for Opencart is actually fairly simple once you figure it out. The only real tricky part to this is that you have to modify three files to make it work instead of just two files like you might use in osCommerce.</p>
<p>It&#8217;s fairly straightforward that you would modify your language page which is here:</p>
<p>/catalog/language/english/error/not_found.php</p>
<p>What we did was under the line:</p>
<p>// Text</p>
<p>$_['text_error']    = &#8216;The work truck hardware and equipment page you requested cannot be found.&#8217;;</p>
<p>we added a line like this one:</p>
<p>// Text Page</p>
<p>$_['text_page']    = &#8216;The page you requested cannot be found. WorkTruck Outfitters was completely rebuilt on October 14th, 2012. If you are seeing this page, you may have been brought here by a search engine or one of your bookmarks. We apologize for the inconvenience! That exact url does not exist.&lt;br&gt;&lt;b&gt;There are quite a few options to find the work truck product you were looking for.&lt;/b&gt;&lt;br&gt;First off, you can call us. 877-360-7278.&lt;br&gt; You can try using our search box in the top left area of our web page.&lt;br&gt;You may find our sitemap very helpful. &lt;li&gt;&lt;a href=&#8221;index.php?route=information/sitemap&#8221;&gt;&lt;b&gt;Work Truck Outfitters Sitemap&lt;/b&gt;&lt;/a&gt;&lt;/li&gt;&lt;br&gt; Or, you may want to try one of these popular links:&lt;br&gt;&lt;br&gt;&lt;li&gt;&lt;a href=&#8221;backup-cameras-trucks&#8221;&gt;&lt;b&gt;Backup Cameras For Trucks&lt;/b&gt;&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href=&#8221;air-compressors-trucks&#8221;&gt;&lt;b&gt;Air Compressors For Trucks&lt;/b&gt;&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href=&#8221;crane-pallet-forks&#8221;&gt;&lt;b&gt;Crane Pallet Forks&lt;/b&gt;&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href=&#8221;jump-start-equipment/goodall-startalls&#8221;&gt;&lt;b&gt;Goodall StartAlls&lt;/b&gt;&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href=&#8221;hardware-work-trucks&#8221;&gt;&lt;b&gt;Hardware For Work Trucks&lt;/b&gt;&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href=&#8221;outrigger-pads&#8221;&gt;&lt;b&gt;Outrigger Pads For Crane Trucks&lt;/b&gt;&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href=&#8221;power-inverters-for-trucks&#8221;&gt;&lt;b&gt;Power Inverters For Trucks&lt;/b&gt;&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href=&#8221;utility-body-bed-covers&#8221;&gt;&lt;b&gt;Utlity Body Bed Covers&lt;/b&gt;&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href=&#8221;warn-winches&#8221;&gt;&lt;b&gt;Warn Winches and Hoists&lt;/b&gt;&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href=&#8221;wheel-chocks&#8221;&gt;&lt;b&gt;Wheel Chocks&lt;/b&gt;&lt;/a&gt;&lt;/li&gt;&#8217;;</p>
<p>That adds the text and links in the &#8220;Page Not Found&#8221; page. But to call that line into action, you have to call it in the template page found here:</p>
<p>/catalog/view/theme/default/template/error/not_found.tpl</p>
<p>So, under this line:</p>
<p>&lt;div class=&#8221;content&#8221;&gt;&lt;?php echo $text_error; ?&gt;&lt;/div&gt;</p>
<p>We added this line:</p>
<p>&lt;div class=&#8221;content&#8221;&gt;&lt;?php echo $text_page; ?&gt;&lt;/div&gt;</p>
<p>In osCommerce, that&#8217;s all it would have taken. But in Opencart, we have to do one more edit to make this work. If not, you&#8217;re going to get an &#8220;Undefined variable&#8221; error message that looks like this:</p>
<p>Notice: Undefined variable: text_page in /yoursite.com/httpdocs/catalog/view/theme/default/template/error/not_found.tpl on line 10</p>
<p>So, we now need to modify one more line:</p>
<p>In /catalog/controller/error/not_found.php</p>
<p>Find the line that reads:</p>
<p>$this-&gt;data['text_error'] = $this-&gt;language-&gt;get(&#8217;text_error&#8217;);</p>
<p>and add under that this:</p>
<p>$this-&gt;data['text_page'] = $this-&gt;language-&gt;get(&#8217;text_page&#8217;);</p>
<p>That&#8217;s it. Now when a visitor get&#8217;s your &#8220;Page Not Found&#8221; page on your Opencart site, they&#8217;ll be able to get the full message you want to get accross so they can find the product they were looking for.</p>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 44px; width: 1px; height: 1px; overflow: hidden;">// Text</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 44px; width: 1px; height: 1px; overflow: hidden;">$_['text_error']    = &#8216;The work truck hardware and equipment page you requested cannot be found.&#8217;;</div>
]]></content:encoded>
			<wfw:commentRss>http://www.imagedia.com/2012/10/how-to-make-a-custom-page-not-found-page-for-opencart/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SQLSTATE[HY000]: General error: 1205 Lock wait timeout exceeded try restarting transaction</title>
		<link>http://www.imagedia.com/2011/09/sqlstatehy000-general-error-1205-lock-wait-timeout-exceeded-try-restarting-transaction/</link>
		<comments>http://www.imagedia.com/2011/09/sqlstatehy000-general-error-1205-lock-wait-timeout-exceeded-try-restarting-transaction/#comments</comments>
		<pubDate>Tue, 27 Sep 2011 00:19:14 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Magento E-Commerce Help]]></category>

		<guid isPermaLink="false">http://www.imagedia.com/?p=623</guid>
		<description><![CDATA[<p>Today we ran into this error message using Magento: SQLSTATE[HY000]: General error: 1205 Lock wait timeout exceeded; try restarting transaction</p>
<p>We searched around a bit and found this solution that seems to work.</p>
<p>In lib/Zend/Db/Statement/Pdo.php find the public function _execute and replace the function with this code:</p>
<p>public function _execute(array $params = null)</p>
<p>{</p>
<p>// begin changes</p>
<p>$tries = 0;</p>
<p>do {</p>
<p>$retry [...]]]></description>
			<content:encoded><![CDATA[<p>Today we ran into this error message using Magento: SQLSTATE[HY000]: General error: 1205 Lock wait timeout exceeded; try restarting transaction</p>
<p>We searched around a bit and found this solution that seems to work.</p>
<p>In lib/Zend/Db/Statement/Pdo.php find the public function _execute and replace the function with this code:</p>
<p>public function _execute(array $params = null)</p>
<p>{</p>
<p>// begin changes</p>
<p>$tries = 0;</p>
<p>do {</p>
<p>$retry = false;</p>
<p>try {</p>
<p>if ($params !== null) {</p>
<p>return $this-&gt;_stmt-&gt;execute($params);</p>
<p>} else {</p>
<p>return $this-&gt;_stmt-&gt;execute();</p>
<p>}</p>
<p>} catch (PDOException $e) {</p>
<p>#require_once &#8216;Zend/Db/Statement/Exception.php&#8217;;</p>
<p>if ($tries &lt; 10 and $e-&gt;getMessage()==&#8217;SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction&#8217;) {</p>
<p>$retry = true;</p>
<p>} else {</p>
<p>throw new Zend_Db_Statement_Exception($e-&gt;getMessage());</p>
<p>}</p>
<p>$tries++;</p>
<p>}</p>
<p>} while ($retry);</p>
<p>// end changes</p>
<p>}</p>
<p>Then in lib/Varien/Db/Adapter/Mysqli.php find the raw_query with:</p>
<p>$tries = 0;</p>
<p>do {</p>
<p>$retry = false;</p>
<p>try {</p>
<p>$this-&gt;clear_result();</p>
<p>$result = $this-&gt;getConnection()-&gt;query($sql);</p>
<p>$this-&gt;clear_result();</p>
<p>}</p>
<p>catch (Exception $e) {</p>
<p>if ($tries &lt; 10 and $e-&gt;getMessage()==&#8217;SQLSTATE[HY000]: General error: 1205 Lock wait timeout exceeded; try restarting transaction&#8217;) {</p>
<p>$retry = true;</p>
<p>} else {</p>
<p>throw $e;</p>
<p>}</p>
<p>$tries++;</p>
<p>}</p>
<p>} while ($retry);</p>
<p>return $result;</p>
<p>}</p>
<p>Hopefully, that will take care of the error message &#8220;SQLSTATE[HY000]: General error: 1205 Lock wait timeout exceeded; try restarting transaction&#8221; for you.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.imagedia.com/2011/09/sqlstatehy000-general-error-1205-lock-wait-timeout-exceeded-try-restarting-transaction/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Custom Design Layout Update Not Working On Child Elements In Magento</title>
		<link>http://www.imagedia.com/2011/07/custom-design-layout-update-not-working-on-child-elements-in-magento/</link>
		<comments>http://www.imagedia.com/2011/07/custom-design-layout-update-not-working-on-child-elements-in-magento/#comments</comments>
		<pubDate>Sat, 16 Jul 2011 16:47:10 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Magento E-Commerce Help]]></category>

		<guid isPermaLink="false">http://www.imagedia.com/?p=618</guid>
		<description><![CDATA[<p>Related to our recent post &#8220;How To Use The Custom Layout Update In Magento&#8220;, it turns out Magento has a bug that keeps design layouts from working on child elements. So if you did the custom layout update to your category as described, it worked fine in that category, but would not go down to [...]]]></description>
			<content:encoded><![CDATA[<p>Related to our recent post &#8220;<strong><a href="http://www.imagedia.com/2011/07/how-to-use-the-custom-layout-update-in-magento/" target="_blank">How To Use The Custom Layout Update In Magento</a></strong>&#8220;, it turns out Magento has a bug that keeps design layouts from working on child elements. So if you did the custom layout update to your category as described, it worked fine in that category, but would not go down to the product level even though that was selected. So if you wanted, you could put in that custom layout update on every product manually, but for us that would be a huge undertaking because of the number of products in the category. Besides, that&#8217;s just not the way it should be.</p>
<p>So after wasting tons of time researching the forums, we finally came up with this great fix. It comes from another website out there, called Exanto.de. Under Exanto.de/magento-module-und-hacks.html, this guy has made a complete package to fix this bug. Problem is (nothing&#8217;s easy), the site is in German or Dutch, not sure which. If you speak whatever language it is, I guess it&#8217;s not a problem. Unfortunately I only know english and a little bit of spanish &#8220;Una mas cervesa, pour some more&#8221; (haha).</p>
<p>Anyway, back to the solution. I went ahead and got brave. I clicked on a few of the links and figured I would try the one here:</p>
<p>http://www.exanto.de/svn/magento-free/trunk/modules/mod_reclayup/</p>
<p>I&#8217;m not going to spend the time explaining from here, but basically, if you&#8217;ll drill down through all the links in that section, he has provided all the files you need to fix this bug.</p>
<p>Thanks modman for showing us how to fix the bug, &#8220;Custom Design Layout Update Not Working On Child Elements In Magento&#8221;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.imagedia.com/2011/07/custom-design-layout-update-not-working-on-child-elements-in-magento/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How To Use The Custom Layout Update In Magento</title>
		<link>http://www.imagedia.com/2011/07/how-to-use-the-custom-layout-update-in-magento/</link>
		<comments>http://www.imagedia.com/2011/07/how-to-use-the-custom-layout-update-in-magento/#comments</comments>
		<pubDate>Sat, 16 Jul 2011 16:32:43 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Magento E-Commerce Help]]></category>

		<guid isPermaLink="false">http://www.imagedia.com/?p=616</guid>
		<description><![CDATA[<p>As anyone who uses Magento may know, getting a grasp on how things work with Magento can be pretty mind boggling at times. But along with that, I have to say it&#8217;s pretty nice when things work out for you. One of those cases is figuring out how to use custom layout updates on categories [...]]]></description>
			<content:encoded><![CDATA[<p>As anyone who uses Magento may know, getting a grasp on how things work with Magento can be pretty mind boggling at times. But along with that, I have to say it&#8217;s pretty nice when things work out for you. One of those cases is figuring out <strong>how to use custom layout updates on categories or products in magento.</strong> Turns out it can be pretty simple.</p>
<p>Recently, we wanted to do a custom layout update to <a href="http://www.realworktrucks.com" target="_blank">Real Work Trucks.com</a> that announced an <strong><a href="http://www.realworktrucks.com/winches-and-hoists/electric-winches-and-hoists.html" target="_blank">$80 rebate on select Warn Winches</a></strong>. We wanted it to appear on the applicable category as well as all of the products in that category.</p>
<p>First, we went to Magento Admin &gt; CMS &gt; Static Blocks</p>
<p>Select Add New Block</p>
<p>Put in you block title. In this case we named it Warn Rebate</p>
<p>Next enter the identifier. This is what will be used in you actual code. This one for us is warn_rebate</p>
<p>Make status &#8220;Enabled&#8221;</p>
<p>For content we made it &lt;h1&gt;$80 Mail In Rebate on select Warn Winches. Offer ends 7-31-11&lt;/h1&gt;</p>
<p>Save your block.</p>
<p>Next go to your category under Catalog &gt; Mange Categories</p>
<p>Select the category, in this case it was &#8220;<strong><a href="http://www.realworktrucks.com/winches-and-hoists/electric-winches-and-hoists.html" target="_blank">Warn Winches and Hoists</a></strong>&#8220;. Under the &#8220;Custom Design&#8221; tab, you&#8217;ll see the box called &#8220;Custom Layout Update&#8221;. Put your code in that box to call your CMS Static Block. The code we used looks like this:</p>
<p>&lt;reference name=&#8221;left&#8221;&gt;&lt;block type=&#8221;cms/block&#8221; name=&#8221;warn_rebate&#8221; before=&#8221;-&#8221;&gt;&lt;action method=&#8221;setBlockId&#8221;&gt;&lt;block_id&gt;warn_rebate&lt;/block_id&gt;&lt;/action&gt;&lt;/block&gt;&lt;/reference&gt;</p>
<p>With the &#8220;Apply To&#8221; drop down menu, we selected &#8220;This category and it&#8217;s products only&#8221;</p>
<p>Click save category. There you go, you&#8217;re all set. Refresh your cache in Magento Admin then go to your website category to see the changes.</p>
<p>That&#8217;s it, that&#8217;s how you &#8220;<strong>Use The Custom Layout Update In Magento</strong>&#8221;</p>
<p>That&#8217;s how</p>
]]></content:encoded>
			<wfw:commentRss>http://www.imagedia.com/2011/07/how-to-use-the-custom-layout-update-in-magento/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Categories Don&#8217;t Show Up In Layered Navigation in Magento</title>
		<link>http://www.imagedia.com/2011/05/categories-dont-show-up-in-layered-navigation-in-magento/</link>
		<comments>http://www.imagedia.com/2011/05/categories-dont-show-up-in-layered-navigation-in-magento/#comments</comments>
		<pubDate>Tue, 10 May 2011 20:43:57 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Magento E-Commerce Help]]></category>

		<guid isPermaLink="false">http://www.imagedia.com/?p=614</guid>
		<description><![CDATA[<p>If you want to make sure layered navigation shows all your categories and sub categories in your search results in Magento, make sure you select the parent category as an anchor. This will cause the category where a product resides to show up in the &#8220;Shopping Options&#8221; box.</p>
]]></description>
			<content:encoded><![CDATA[<p>If you want to make sure layered navigation shows all your categories and sub categories in your search results in Magento, make sure you select the parent category as an anchor. This will cause the category where a product resides to show up in the &#8220;Shopping Options&#8221; box.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.imagedia.com/2011/05/categories-dont-show-up-in-layered-navigation-in-magento/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How To Add Recently Viewed in Left Column in Magento</title>
		<link>http://www.imagedia.com/2011/05/how-to-add-recently-viewed-in-left-column-in-magento/</link>
		<comments>http://www.imagedia.com/2011/05/how-to-add-recently-viewed-in-left-column-in-magento/#comments</comments>
		<pubDate>Mon, 09 May 2011 19:33:38 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Magento E-Commerce Help]]></category>

		<guid isPermaLink="false">http://www.imagedia.com/?p=611</guid>
		<description><![CDATA[<p>We wanted to add the &#8220;Recently Viewed&#8221; box in the left column to one of our Magento sites. Magento by default has the recently viewed box in the right.</p>
<p>Here&#8217;s what we did:</p>
<p>In page.xml we added this line under the &#8220;left&#8221; reference:</p>
<p>&#60;block type=&#8221;reports/product_viewed&#8221; name=&#8221;product.recently.viewed&#8221; as=&#8221;product_recently_viewed&#8221; template=&#8221;reports/product_viewed.phtml&#8221;/&#62;</p>
<p>Next, in template/page/2columns-left.phtml we added:</p>
<p>&#60;?php echo $this-&#62;getChildHtml(&#8217;product_recently_viewed&#8217;) ?&#62;</p>
<p>Where we wanted it [...]]]></description>
			<content:encoded><![CDATA[<p>We wanted to add the &#8220;Recently Viewed&#8221; box in the left column to one of our Magento sites. Magento by default has the recently viewed box in the right.</p>
<p>Here&#8217;s what we did:</p>
<p>In page.xml we added this line under the &#8220;left&#8221; reference:</p>
<p>&lt;block type=&#8221;reports/product_viewed&#8221; name=&#8221;product.recently.viewed&#8221; as=&#8221;product_recently_viewed&#8221; template=&#8221;reports/product_viewed.phtml&#8221;/&gt;</p>
<p>Next, in template/page/2columns-left.phtml we added:</p>
<p>&lt;?php echo $this-&gt;getChildHtml(&#8217;product_recently_viewed&#8217;) ?&gt;</p>
<p>Where we wanted it to appear in the left column.</p>
<p>There you go, that&#8217;s how to add the &#8220;Recently Viewed&#8221; box in the left column of your Magento site</p>
]]></content:encoded>
			<wfw:commentRss>http://www.imagedia.com/2011/05/how-to-add-recently-viewed-in-left-column-in-magento/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using the Magento getSkinUrl Call For Images</title>
		<link>http://www.imagedia.com/2011/05/using-the-magento-getskinurl-call-for-images/</link>
		<comments>http://www.imagedia.com/2011/05/using-the-magento-getskinurl-call-for-images/#comments</comments>
		<pubDate>Mon, 09 May 2011 14:28:50 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Magento E-Commerce Help]]></category>

		<guid isPermaLink="false">http://www.imagedia.com/?p=609</guid>
		<description><![CDATA[<p>If you&#8217;re trying to figure out how to call an image up in one of your design template files in Magento, here&#8217;s the correct code to make it happen:</p>
<p>echo $this-&#62;getSkinUrl(&#8217;images/your-image.jpg&#8217;);</p>
<p>So for instance, if you&#8217;re creating a new left column phtml file for your Magento store and need to call an image from your skin images [...]]]></description>
			<content:encoded><![CDATA[<p>If you&#8217;re trying to figure out how to call an image up in one of your design template files in Magento, here&#8217;s the correct code to make it happen:</p>
<p>echo $this-&gt;getSkinUrl(&#8217;images/your-image.jpg&#8217;);</p>
<p>So for instance, if you&#8217;re creating a new left column phtml file for your Magento store and need to call an image from your skin images directory, that command will do it. If you want to do the same thing but calling it from elsewhere, use this command:</p>
<p>echo Mage::getDesign()-&gt;getSkinUrl(&#8217;images/your-image.jpg&#8217;);</p>
<p>That&#8217;s it. Hope it helps.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.imagedia.com/2011/05/using-the-magento-getskinurl-call-for-images/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Add Text Before Price In Magento Cart</title>
		<link>http://www.imagedia.com/2011/04/add-text-before-price-in-magento-cart/</link>
		<comments>http://www.imagedia.com/2011/04/add-text-before-price-in-magento-cart/#comments</comments>
		<pubDate>Sat, 30 Apr 2011 22:55:29 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Magento E-Commerce Help]]></category>

		<guid isPermaLink="false">http://www.imagedia.com/?p=606</guid>
		<description><![CDATA[<p>Here was another toughy. We wanted to add the text &#8220;Regular Price:&#8221; in front of the price on one of our sites running Magento, and after a bit of searching, found the correct file and line to add it to.</p>
<p>Go to /app/design/frontend/default/yourtheme/template/catalog/product/price.phtml and find this line:</p>
<p>&#60;span class=&#8221;regular-price&#8221; id=&#8221;product-price-&#60;?php echo $_id ?&#62;&#60;?php echo $this-&#62;getIdSuffix() ?&#62;&#8221;&#62;&#60;?php echo Mage::helper(&#8217;core&#8217;)-&#62;currency($_price,true,true) [...]]]></description>
			<content:encoded><![CDATA[<p>Here was another toughy. We wanted to add the text &#8220;Regular Price:&#8221; in front of the price on one of our sites running Magento, and after a bit of searching, found the correct file and line to add it to.</p>
<p>Go to /app/design/frontend/default/yourtheme/template/catalog/product/price.phtml and find this line:</p>
<p>&lt;span class=&#8221;regular-price&#8221; id=&#8221;product-price-&lt;?php echo $_id ?&gt;&lt;?php echo $this-&gt;getIdSuffix() ?&gt;&#8221;&gt;&lt;?php echo Mage::helper(&#8217;core&#8217;)-&gt;currency($_price,true,true) ?&gt;&lt;/span&gt;</p>
<p>And change it to read:</p>
<p>&lt;span class=&#8221;regular-price&#8221; id=&#8221;product-price-&lt;?php echo $_id ?&gt;&lt;?php echo $this-&gt;getIdSuffix() ?&gt;&#8221;&gt;&lt;?php echo $this-&gt;__(&#8217;Regular Price: &#8216;), Mage::helper(&#8217;core&#8217;)-&gt;currency($_price,true,true) ?&gt;&lt;/span&gt;</p>
<p>Save your file and have a look at your results.</p>
<p>You should now have &#8220;Regular Price: in front of your price in Magento</p>
]]></content:encoded>
			<wfw:commentRss>http://www.imagedia.com/2011/04/add-text-before-price-in-magento-cart/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How To Add A Close Button To Magento Product Image Pop-ups</title>
		<link>http://www.imagedia.com/2011/04/how-to-add-a-close-button-to-magento-product-image-pop-ups/</link>
		<comments>http://www.imagedia.com/2011/04/how-to-add-a-close-button-to-magento-product-image-pop-ups/#comments</comments>
		<pubDate>Tue, 26 Apr 2011 21:38:46 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Magento E-Commerce Help]]></category>

		<guid isPermaLink="false">http://www.imagedia.com/?p=602</guid>
		<description><![CDATA[<p>We wanted to add a &#8220;Close Window&#8221; button to a Magento store for one of our clients. Turns out, it&#8217;s one of the easiest things to do with Magento!</p>
<p>Open /app/design/frontend/default/yourtheme/template/catalog/product/gallery.phtml.</p>
<p>Just under the first line of code: &#60;?php $_width=$this-&#62;getImageWidth() ?&#62;</p>
<p>Add this line of code and save the file.</p>
<p>&#60;div-left&#8221;&#62;&#60;a href=&#8221;javascript:window.close()&#8221;&#62;&#60;img border=&#8221;0&#8243; src=&#8221;/images/btn-close.png&#8221;&#62;&#60;/a&#62;&#60;/div&#62;</p>
<p>Make sure you create an image [...]]]></description>
			<content:encoded><![CDATA[<p>We wanted to add a &#8220;Close Window&#8221; button to a Magento store for one of our clients. Turns out, it&#8217;s one of the easiest things to do with Magento!</p>
<p>Open /app/design/frontend/default/yourtheme/template/catalog/product/gallery.phtml.</p>
<p>Just under the first line of code: &lt;?php $_width=$this-&gt;getImageWidth() ?&gt;</p>
<p>Add this line of code and save the file.</p>
<p>&lt;div-left&#8221;&gt;&lt;a href=&#8221;javascript:window.close()&#8221;&gt;&lt;img border=&#8221;0&#8243; src=&#8221;/images/btn-close.png&#8221;&gt;&lt;/a&gt;&lt;/div&gt;</p>
<p>Make sure you create an image for the close button, name it btn-close.png and put it in your images directory.</p>
<p>If you wanted to just do a link instead, use this code: &lt;a href=&#8221;javascript:window.close()&#8221;&gt;Close Window&lt;/a&gt;</p>
<p>You should be done. <strong>That&#8217;s how we added a &#8220;Close Button&#8221; to our Magento product images.</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://www.imagedia.com/2011/04/how-to-add-a-close-button-to-magento-product-image-pop-ups/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
