<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Bryansammon&#039;s Blog</title>
	<atom:link href="http://bryansammon.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://bryansammon.wordpress.com</link>
	<description>My Magento eCommerce Blog:: Over my head, and probably yours</description>
	<lastBuildDate>Wed, 25 Aug 2010 19:03:04 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='bryansammon.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Bryansammon&#039;s Blog</title>
		<link>http://bryansammon.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://bryansammon.wordpress.com/osd.xml" title="Bryansammon&#039;s Blog" />
	<atom:link rel='hub' href='http://bryansammon.wordpress.com/?pushpress=hub'/>
		<item>
		<title>if statement for if product text field does not equal a certain expression</title>
		<link>http://bryansammon.wordpress.com/2010/08/25/if-statement-for-if-product-text-field-equals-certain-expression/</link>
		<comments>http://bryansammon.wordpress.com/2010/08/25/if-statement-for-if-product-text-field-equals-certain-expression/#comments</comments>
		<pubDate>Wed, 25 Aug 2010 18:58:18 +0000</pubDate>
		<dc:creator>bryansammon</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://bryansammon.wordpress.com/?p=131</guid>
		<description><![CDATA[&#60;?php if ($_product-&#62;getSku()!=='what it says in text field'):?&#62; &#60;?php endif; ?&#62;<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bryansammon.wordpress.com&amp;blog=10603130&amp;post=131&amp;subd=bryansammon&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<pre>&lt;?php if ($_product-&gt;getSku()!=='what it says in text field'):?&gt;
&lt;?php endif; ?&gt;
</pre>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/bryansammon.wordpress.com/131/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/bryansammon.wordpress.com/131/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/bryansammon.wordpress.com/131/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/bryansammon.wordpress.com/131/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/bryansammon.wordpress.com/131/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/bryansammon.wordpress.com/131/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/bryansammon.wordpress.com/131/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/bryansammon.wordpress.com/131/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/bryansammon.wordpress.com/131/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/bryansammon.wordpress.com/131/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/bryansammon.wordpress.com/131/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/bryansammon.wordpress.com/131/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/bryansammon.wordpress.com/131/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/bryansammon.wordpress.com/131/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bryansammon.wordpress.com&amp;blog=10603130&amp;post=131&amp;subd=bryansammon&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://bryansammon.wordpress.com/2010/08/25/if-statement-for-if-product-text-field-equals-certain-expression/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/7eb059797c88b0c3c46230eee469e170?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">bryansammon</media:title>
		</media:content>
	</item>
		<item>
		<title>Magento eCommerce 1.3.2.4 :: Hover Rollover Mouse Effect on the Add-to-cat button and info buttons</title>
		<link>http://bryansammon.wordpress.com/2010/01/20/magento-ecommerce-1-3-2-4-hover-rollover-mouse-effect-on-the-add-to-cat-button-and-info-buttons/</link>
		<comments>http://bryansammon.wordpress.com/2010/01/20/magento-ecommerce-1-3-2-4-hover-rollover-mouse-effect-on-the-add-to-cat-button-and-info-buttons/#comments</comments>
		<pubDate>Wed, 20 Jan 2010 16:43:30 +0000</pubDate>
		<dc:creator>bryansammon</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://bryansammon.wordpress.com/?p=125</guid>
		<description><![CDATA[This was kinda easy, but I didnt know what to do for the longest time. I could not find any info on how to do this. Here is what I did. Just add this to your boxes.css file in your skin/frontend/default/[theme]/css folder /*The background color is the effect I had for mine when I rolled [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bryansammon.wordpress.com&amp;blog=10603130&amp;post=125&amp;subd=bryansammon&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>This was kinda easy, but I didnt know what to do for the longest time. I could not find any info on how to do this.</p>
<p>Here is what I did.</p>
<p>Just add this to your boxes.css file in your skin/frontend/default/[theme]/css folder</p>
<p>/*The background color is the effect I had for mine when I rolled my mouse over the button*/<br />
</p>
<div id="_mcePaste" style="font-weight:bold;">.form-button:hover, .form-button-alt:hover { background:#cc9900; }</div>
<p></p>
<div>
<div>If you want a different background color, change the background: to what ever you want, if you want to add border or whatever, this is where it is done.</div>
<div>Just add that to your css page, if you dont know which one to add it to, then add it to skin/frontend/default/[your theme]/css/boxes.css</div>
<div>&#8211;Hope this helps someone else too</div>
<div>Magento 1.3.2.4</div>
</div>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/bryansammon.wordpress.com/125/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/bryansammon.wordpress.com/125/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/bryansammon.wordpress.com/125/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/bryansammon.wordpress.com/125/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/bryansammon.wordpress.com/125/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/bryansammon.wordpress.com/125/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/bryansammon.wordpress.com/125/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/bryansammon.wordpress.com/125/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/bryansammon.wordpress.com/125/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/bryansammon.wordpress.com/125/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/bryansammon.wordpress.com/125/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/bryansammon.wordpress.com/125/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/bryansammon.wordpress.com/125/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/bryansammon.wordpress.com/125/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bryansammon.wordpress.com&amp;blog=10603130&amp;post=125&amp;subd=bryansammon&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://bryansammon.wordpress.com/2010/01/20/magento-ecommerce-1-3-2-4-hover-rollover-mouse-effect-on-the-add-to-cat-button-and-info-buttons/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/7eb059797c88b0c3c46230eee469e170?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">bryansammon</media:title>
		</media:content>
	</item>
		<item>
		<title>Magento eCommerce 1.3.2.4:: Or statement based on variable input on attribute.phtml page &#8211; using static block as includes</title>
		<link>http://bryansammon.wordpress.com/2010/01/11/magento-ecommerce-1-3-2-4-or-statement-based-on-variable-input-on-attribute-phtml-page-using-static-block-as-includes/</link>
		<comments>http://bryansammon.wordpress.com/2010/01/11/magento-ecommerce-1-3-2-4-or-statement-based-on-variable-input-on-attribute-phtml-page-using-static-block-as-includes/#comments</comments>
		<pubDate>Mon, 11 Jan 2010 17:25:19 +0000</pubDate>
		<dc:creator>bryansammon</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://bryansammon.wordpress.com/?p=117</guid>
		<description><![CDATA[I used this statement below to get either static block for a variable input on the attributes.phtml page &#60;?php if ($_product-&#62;getData(&#8216;upac_features&#8217;)): ?&#62; &#60;?php $_upac_features= $_product-&#62;getResource()-&#62;getAttribute(&#8216;upac_features&#8217;)-&#62;getFrontend()-&#62;getValue($_product); ?&#62; &#60;?php if (($_upac_features==&#8217;ipod_sat_hd&#8217;) or ($_upac_features==&#8217;ipod_hd&#8217;)){ echo $this-&#62;getLayout()-&#62;createBlock(&#8216;cms/block&#8217;)-&#62;setBlockId(&#8216;upac-ipod-no-sirius&#8217;)-&#62;toHtml() ; } else { echo $this-&#62;getLayout()-&#62;createBlock(&#8216;cms/block&#8217;)-&#62;setBlockId(&#8216;upac-ipod-sirius&#8217;)-&#62;toHtml() ; } ?&#62; &#60;?php endif; ?&#62;<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bryansammon.wordpress.com&amp;blog=10603130&amp;post=117&amp;subd=bryansammon&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<div id="_mcePaste">I used this statement below to get either static block for a variable input on the attributes.phtml page</div>
<div></div>
<div>&lt;?php if ($_product-&gt;getData(&#8216;upac_features&#8217;)): ?&gt;</div>
<div id="_mcePaste">&lt;?php $_upac_features= $_product-&gt;getResource()-&gt;getAttribute(&#8216;upac_features&#8217;)-&gt;getFrontend()-&gt;getValue($_product); ?&gt;</div>
<div id="_mcePaste">&lt;?php if (($_upac_features==&#8217;ipod_sat_hd&#8217;) or ($_upac_features==&#8217;ipod_hd&#8217;)){</div>
<div id="_mcePaste">echo $this-&gt;getLayout()-&gt;createBlock(&#8216;cms/block&#8217;)-&gt;setBlockId(&#8216;upac-ipod-no-sirius&#8217;)-&gt;toHtml()</div>
<div id="_mcePaste">; }</div>
<div id="_mcePaste">else {</div>
<div id="_mcePaste">echo $this-&gt;getLayout()-&gt;createBlock(&#8216;cms/block&#8217;)-&gt;setBlockId(&#8216;upac-ipod-sirius&#8217;)-&gt;toHtml()</div>
<div id="_mcePaste">; } ?&gt;</div>
<div id="_mcePaste">&lt;?php endif; ?&gt;</div>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/bryansammon.wordpress.com/117/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/bryansammon.wordpress.com/117/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/bryansammon.wordpress.com/117/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/bryansammon.wordpress.com/117/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/bryansammon.wordpress.com/117/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/bryansammon.wordpress.com/117/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/bryansammon.wordpress.com/117/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/bryansammon.wordpress.com/117/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/bryansammon.wordpress.com/117/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/bryansammon.wordpress.com/117/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/bryansammon.wordpress.com/117/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/bryansammon.wordpress.com/117/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/bryansammon.wordpress.com/117/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/bryansammon.wordpress.com/117/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bryansammon.wordpress.com&amp;blog=10603130&amp;post=117&amp;subd=bryansammon&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://bryansammon.wordpress.com/2010/01/11/magento-ecommerce-1-3-2-4-or-statement-based-on-variable-input-on-attribute-phtml-page-using-static-block-as-includes/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/7eb059797c88b0c3c46230eee469e170?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">bryansammon</media:title>
		</media:content>
	</item>
		<item>
		<title>Magento eCommerce:: Change the size of the Price (font-size) on various pages like catalog, related, view.phtml</title>
		<link>http://bryansammon.wordpress.com/2010/01/07/magento-ecommerce-change-the-size-of-the-price-font-size-on-various-pages-like-catalog-related-view-phtml/</link>
		<comments>http://bryansammon.wordpress.com/2010/01/07/magento-ecommerce-change-the-size-of-the-price-font-size-on-various-pages-like-catalog-related-view-phtml/#comments</comments>
		<pubDate>Thu, 07 Jan 2010 02:20:18 +0000</pubDate>
		<dc:creator>bryansammon</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://bryansammon.wordpress.com/?p=112</guid>
		<description><![CDATA[Like I said before I am really a novice at web dev. But I could not find this info anywhere, so here it is. It took me a a little while to figure this out. Too change the price size on the catalog page: /* Catalog pricing */ .product-info-box .price { font-weight:bold; font-size:20px; } Too [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bryansammon.wordpress.com&amp;blog=10603130&amp;post=112&amp;subd=bryansammon&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Like I said before I am really a novice at web dev. But I could not find this info anywhere, so here it is. It took me a a little while to figure this out.</p>
<p>Too change the price size on the catalog page:</p>
<div id="_mcePaste">/* Catalog pricing */</div>
<div id="_mcePaste">.product-info-box .price { font-weight:bold; font-size:20px; }</div>
<div></div>
<p></p>
<div>Too change the price size, and make text color black on the related products block (on the category page):</div>
<p></p>
<div id="_mcePaste">/* Related products */</div>
<div id="_mcePaste">.product-details .price { font-weight:bold; font-size:14px; color:#000000; }</div>
<div id="_mcePaste"></div>
<p></p>
<div>If you want a different font size, change the font-size: to what ever you want, if you want to add color or whever, this is where it is done.</div>
<div></div>
<div>Just add that to your css page, if you dont know which one to add it to, then add it to skin/frontend/default/[your theme]/css/boxes.css</div>
<div></div>
<div>&#8211;Hope this helps someone else too</div>
<div>Magento 1.3.2.4</div>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/bryansammon.wordpress.com/112/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/bryansammon.wordpress.com/112/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/bryansammon.wordpress.com/112/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/bryansammon.wordpress.com/112/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/bryansammon.wordpress.com/112/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/bryansammon.wordpress.com/112/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/bryansammon.wordpress.com/112/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/bryansammon.wordpress.com/112/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/bryansammon.wordpress.com/112/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/bryansammon.wordpress.com/112/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/bryansammon.wordpress.com/112/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/bryansammon.wordpress.com/112/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/bryansammon.wordpress.com/112/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/bryansammon.wordpress.com/112/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bryansammon.wordpress.com&amp;blog=10603130&amp;post=112&amp;subd=bryansammon&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://bryansammon.wordpress.com/2010/01/07/magento-ecommerce-change-the-size-of-the-price-font-size-on-various-pages-like-catalog-related-view-phtml/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/7eb059797c88b0c3c46230eee469e170?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">bryansammon</media:title>
		</media:content>
	</item>
		<item>
		<title>Magento 1.3.2.4 :: or statement based on variable input on available.phtml -&gt;getMethodTitle</title>
		<link>http://bryansammon.wordpress.com/2010/01/05/magento-1-3-2-4-or-statement-based-on-variable-input-on-available-phtml-getmethodtitle/</link>
		<comments>http://bryansammon.wordpress.com/2010/01/05/magento-1-3-2-4-or-statement-based-on-variable-input-on-available-phtml-getmethodtitle/#comments</comments>
		<pubDate>Tue, 05 Jan 2010 15:20:12 +0000</pubDate>
		<dc:creator>bryansammon</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://bryansammon.wordpress.com/2010/01/05/magento-1-3-2-4-or-statement-based-on-variable-input-on-available-phtml-getmethodtitle/</guid>
		<description><![CDATA[I used this staement below on the available.phtml page to add some text if the shipping method was either UPS next day air or UPS 2nd day air &#60;?php if(($_rate-&#62;getMethodTitle()==&#8217;UPS Second Day Air&#8217;) or ($_rate-&#62;getMethodTitle()==&#8217;UPS Next Day Air&#8217;)):?&#62;or statement&#60;?php endif ;?&#62; &#8211;Bryan Sammon<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bryansammon.wordpress.com&amp;blog=10603130&amp;post=109&amp;subd=bryansammon&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I used this staement below on the available.phtml page to add some text if the shipping method was either UPS next day air or UPS 2nd day air</p>
<p>&lt;?php if(($_rate-&gt;getMethodTitle()==&#8217;UPS Second Day Air&#8217;) or ($_rate-&gt;getMethodTitle()==&#8217;UPS Next Day Air&#8217;)):?&gt;or statement&lt;?php endif ;?&gt;</p>
<p>&#8211;Bryan Sammon</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/bryansammon.wordpress.com/109/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/bryansammon.wordpress.com/109/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/bryansammon.wordpress.com/109/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/bryansammon.wordpress.com/109/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/bryansammon.wordpress.com/109/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/bryansammon.wordpress.com/109/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/bryansammon.wordpress.com/109/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/bryansammon.wordpress.com/109/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/bryansammon.wordpress.com/109/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/bryansammon.wordpress.com/109/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/bryansammon.wordpress.com/109/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/bryansammon.wordpress.com/109/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/bryansammon.wordpress.com/109/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/bryansammon.wordpress.com/109/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bryansammon.wordpress.com&amp;blog=10603130&amp;post=109&amp;subd=bryansammon&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://bryansammon.wordpress.com/2010/01/05/magento-1-3-2-4-or-statement-based-on-variable-input-on-available-phtml-getmethodtitle/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/7eb059797c88b0c3c46230eee469e170?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">bryansammon</media:title>
		</media:content>
	</item>
		<item>
		<title>Magento 1.3.2.4 &#8212; Add a shipping map to your checkout page (one page checkout)</title>
		<link>http://bryansammon.wordpress.com/2010/01/05/magento-1-3-2-4-add-a-shipping-map-to-your-checkout-page-one-page-checkout/</link>
		<comments>http://bryansammon.wordpress.com/2010/01/05/magento-1-3-2-4-add-a-shipping-map-to-your-checkout-page-one-page-checkout/#comments</comments>
		<pubDate>Tue, 05 Jan 2010 01:09:22 +0000</pubDate>
		<dc:creator>bryansammon</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://bryansammon.wordpress.com/?p=99</guid>
		<description><![CDATA[I wanted to add a UPS shipping map to my checkout page in magento 1.3.2.4. The file that needs to be edited is: app/frontend/design/default (or other theme) /[Choose your template]/checkout/onepage/shipping_method/available.phtml This statement below will add whatever html you want to add to the UPS ground line on the checkout page. &#60;?php if($_rate-&#62;getMethodTitle()==&#8217;UPS Ground&#8217;):?&#62;&#60;span&#62;INSERT YOUR HTML [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bryansammon.wordpress.com&amp;blog=10603130&amp;post=99&amp;subd=bryansammon&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I wanted to add a UPS shipping map to my checkout page in magento 1.3.2.4.</p>
<p>The file that needs to be edited is: <strong>app/frontend/design/default (or other theme) /[Choose your template]/checkout/onepage/shipping_method/available.phtml </strong></p>
<p>This statement below will add whatever html you want to add to the UPS ground line on the checkout page.</p>
<p><strong>&lt;?php if($_rate-&gt;getMethodTitle()==&#8217;UPS Ground&#8217;):?&gt;&lt;span&gt;</strong><em><strong>INSERT YOUR HTML HERE</strong></em><strong>&lt;/span&gt;&lt;?php endif ;?&gt;</strong></p>
<p>I wanted this to go on the same line as the UPS Ground and price.</p>
<p>Here is what my code ending up looking like:</p>
<p>From line 35:</p>
<p>&lt;?php foreach ($_rates as $_rate): ?&gt;</p>
<div id="_mcePaste">&lt;li&gt;</div>
<div id="_mcePaste">&lt;?php if ($_rate-&gt;getErrorMessage()): ?&gt;</div>
<div id="_mcePaste">&lt;ul&gt;&lt;li&gt;&lt;ul&gt;&lt;li&gt;&lt;?php echo $_rate-&gt;getErrorMessage() ?&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/li&gt;&lt;/ul&gt;</div>
<div id="_mcePaste">&lt;?php else: ?&gt;</div>
<div id="_mcePaste">&lt;input name=&#8221;shipping_method&#8221; type=&#8221;radio&#8221; value=&#8221;&lt;?php echo $_rate-&gt;getCode() ?&gt;&#8221; id=&#8221;s_method_&lt;?php echo $_rate-&gt;getCode() ?&gt;&#8221;&lt;?php if($_rate-&gt;getCode()===$this-&gt;getAddressShippingMethod()) echo &#8216; checked=&#8221;checked&#8221;&#8216; ?&gt; /&gt;</div>
<div id="_mcePaste">&lt;label for=&#8221;s_method_&lt;?php echo $_rate-&gt;getCode() ?&gt;&#8221;&gt;&lt;?php echo $_rate-&gt;getMethodTitle() ?&gt;</div>
<div id="_mcePaste">&lt;strong&gt;</div>
<div id="_mcePaste">&lt;?php $_excl = $this-&gt;getShippingPrice($_rate-&gt;getPrice(), $this-&gt;helper(&#8216;tax&#8217;)-&gt;displayShippingPriceIncludingTax()); ?&gt;</div>
<div id="_mcePaste">&lt;?php $_incl = $this-&gt;getShippingPrice($_rate-&gt;getPrice(), true); ?&gt;</div>
<div id="_mcePaste">&lt;?php echo $_excl; ?&gt;</div>
<div id="_mcePaste">&lt;?php if ($this-&gt;helper(&#8216;tax&#8217;)-&gt;displayShippingBothPrices() &amp;&amp; $_incl != $_excl): ?&gt;</div>
<div id="_mcePaste">(&lt;?php echo $this-&gt;__(&#8216;Incl. Tax&#8217;); ?&gt; &lt;?php echo $_incl; ?&gt;)</div>
<div id="_mcePaste">&lt;?php endif; ?&gt;</div>
<div id="_mcePaste">&lt;/strong&gt;</div>
<div id="_mcePaste">&lt;/label&gt;<strong>&lt;?php if($_rate-&gt;getMethodTitle()==&#8217;UPS Ground&#8217;):?&gt;&lt;span&gt;DOES this work&lt;/span&gt;&lt;?php endif ;?&gt;</strong></div>
<div id="_mcePaste">&lt;?php endif ?&gt;</div>
<div id="_mcePaste">&lt;/li&gt;</div>
<div id="_mcePaste">&lt;?php endforeach; ?&gt;</div>
<div></div>
<p></p>
<div>I used UPS ground, for my example. But you can put in any method you want from your checkout page. For example, Priority Mail or USPS Next Day Air work too etc..</div>
<div>You will need one of these statements for each method you want to put text by. Add style or class to your span tag to add a custom design to it.</div>
<div></div>
<div>You may need to change out the &#8221; quotes for ones that actually work in html, depending on how this copies.</div>
<div></div>
<div>Hope this helps.</div>
<div>&#8211;Bryan</div>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/bryansammon.wordpress.com/99/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/bryansammon.wordpress.com/99/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/bryansammon.wordpress.com/99/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/bryansammon.wordpress.com/99/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/bryansammon.wordpress.com/99/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/bryansammon.wordpress.com/99/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/bryansammon.wordpress.com/99/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/bryansammon.wordpress.com/99/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/bryansammon.wordpress.com/99/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/bryansammon.wordpress.com/99/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/bryansammon.wordpress.com/99/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/bryansammon.wordpress.com/99/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/bryansammon.wordpress.com/99/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/bryansammon.wordpress.com/99/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bryansammon.wordpress.com&amp;blog=10603130&amp;post=99&amp;subd=bryansammon&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://bryansammon.wordpress.com/2010/01/05/magento-1-3-2-4-add-a-shipping-map-to-your-checkout-page-one-page-checkout/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/7eb059797c88b0c3c46230eee469e170?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">bryansammon</media:title>
		</media:content>
	</item>
		<item>
		<title>If and else statement on Attributes.phtml</title>
		<link>http://bryansammon.wordpress.com/2010/01/03/if-and-else-statement-on-attributes-phtml/</link>
		<comments>http://bryansammon.wordpress.com/2010/01/03/if-and-else-statement-on-attributes-phtml/#comments</comments>
		<pubDate>Sun, 03 Jan 2010 03:11:14 +0000</pubDate>
		<dc:creator>bryansammon</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://bryansammon.wordpress.com/?p=93</guid>
		<description><![CDATA[&#60;?php if ($_product-&#62;getData(&#8216;title_info&#8217;)): ?&#62; &#60;?php $_title_info= $_product-&#62;getResource()-&#62;getAttribute(&#8216;title_info&#8217;)-&#62;getFrontend()-&#62;getValue($_product); ?&#62; &#60;?php if ($_title_info==&#8221;upac-videos&#8221;): ?&#62; &#60;p&#62;Videos shown below also may also show operation with the optional &#60;a href=&#8221;/pac-hdrt-hd-radio-tuner.html&#8221; title=&#8221;optional HDRT HD Radio Tuner&#8221;&#62;HD Radio&#60;/a&#62; or &#60;a href=&#8221;/scc1-sirius-connect-tuner.html&#8221; title=&#8221;optional SCC1 Sirius Connect Radio Tuner&#8221;&#62;Sirius Radio Tuner&#60;/a&#62;. If you do not want the HD/Sirius Tuner, you can use the included [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bryansammon.wordpress.com&amp;blog=10603130&amp;post=93&amp;subd=bryansammon&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<div id="_mcePaste">&lt;?php if ($_product-&gt;getData(&#8216;title_info&#8217;)): ?&gt;</div>
<div id="_mcePaste">&lt;?php $_title_info= $_product-&gt;getResource()-&gt;getAttribute(&#8216;title_info&#8217;)-&gt;getFrontend()-&gt;getValue($_product); ?&gt;</div>
<div id="_mcePaste">&lt;?php if ($_title_info==&#8221;upac-videos&#8221;): ?&gt;</div>
<div id="_mcePaste">&lt;p&gt;Videos shown below also may also show operation with the optional &lt;a href=&#8221;/pac-hdrt-hd-radio-tuner.html&#8221; title=&#8221;optional HDRT HD Radio Tuner&#8221;&gt;HD Radio&lt;/a&gt; or &lt;a 		href=&#8221;/scc1-sirius-connect-tuner.html&#8221; title=&#8221;optional SCC1 Sirius Connect Radio Tuner&#8221;&gt;Sirius Radio Tuner&lt;/a&gt;. If you do not want the HD/Sirius Tuner, you can use the included aux input 	instead.&lt;/p&gt;</div>
<div id="_mcePaste">&lt;?php else:?&gt;</div>
<div id="_mcePaste">&lt;?php echo $_product-&gt;getVideoTitleText() ?&gt;</div>
<div id="_mcePaste">&lt;?php endif;?&gt;</div>
<div id="_mcePaste">&lt;?php endif; ?&gt;</div>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/bryansammon.wordpress.com/93/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/bryansammon.wordpress.com/93/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/bryansammon.wordpress.com/93/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/bryansammon.wordpress.com/93/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/bryansammon.wordpress.com/93/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/bryansammon.wordpress.com/93/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/bryansammon.wordpress.com/93/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/bryansammon.wordpress.com/93/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/bryansammon.wordpress.com/93/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/bryansammon.wordpress.com/93/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/bryansammon.wordpress.com/93/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/bryansammon.wordpress.com/93/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/bryansammon.wordpress.com/93/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/bryansammon.wordpress.com/93/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bryansammon.wordpress.com&amp;blog=10603130&amp;post=93&amp;subd=bryansammon&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://bryansammon.wordpress.com/2010/01/03/if-and-else-statement-on-attributes-phtml/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/7eb059797c88b0c3c46230eee469e170?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">bryansammon</media:title>
		</media:content>
	</item>
		<item>
		<title>Attribute include based on custom Design &#8211; useful tip on attribute.phtml</title>
		<link>http://bryansammon.wordpress.com/2010/01/02/attribute-include-based-on-custom-design-useful-tip-on-attribute-phtml/</link>
		<comments>http://bryansammon.wordpress.com/2010/01/02/attribute-include-based-on-custom-design-useful-tip-on-attribute-phtml/#comments</comments>
		<pubDate>Sat, 02 Jan 2010 20:12:15 +0000</pubDate>
		<dc:creator>bryansammon</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://bryansammon.wordpress.com/?p=89</guid>
		<description><![CDATA[This will do a include based on the custom design. &#60;?php if ($_product-&#62;getData('custom_design')): ?&#62; &#60;?php $_custom_design= $_product-&#62;getResource()-&#62;getAttribute('custom_design')-&#62;getFrontend()-&#62;getValue($_product); ?&#62; &#60;?php if ($_custom_design=="default/your theme name"){ echo $this-&#62;getLayout()-&#62;createBlock('cms/block')-&#62;setBlockId('static block id1')-&#62;toHtml() ; } else { echo $this-&#62;getLayout()-&#62;createBlock('cms/block')-&#62;setBlockId('static block id2')-&#62;toHtml() ; } ?&#62; &#60;?php endif; ?&#62;<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bryansammon.wordpress.com&amp;blog=10603130&amp;post=89&amp;subd=bryansammon&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>This will do a include based on the custom design.<br />
<code></p>
<div id="_mcePaste">&lt;?php if ($_product-&gt;getData('custom_design')): ?&gt;</div>
<div id="_mcePaste">&lt;?php $_custom_design= $_product-&gt;getResource()-&gt;getAttribute('custom_design')-&gt;getFrontend()-&gt;getValue($_product); ?&gt;</div>
<div id="_mcePaste">&lt;?php if ($_custom_design=="default/your theme name"){</div>
<div id="_mcePaste">echo $this-&gt;getLayout()-&gt;createBlock('cms/block')-&gt;setBlockId('static block id1')-&gt;toHtml()</div>
<div id="_mcePaste">; }</div>
<div id="_mcePaste">else {</div>
<div id="_mcePaste">echo $this-&gt;getLayout()-&gt;createBlock('cms/block')-&gt;setBlockId('static block id2')-&gt;toHtml()</div>
<div id="_mcePaste">; } ?&gt;</div>
<div id="_mcePaste">&lt;?php endif; ?&gt;</div>
<p></code></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/bryansammon.wordpress.com/89/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/bryansammon.wordpress.com/89/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/bryansammon.wordpress.com/89/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/bryansammon.wordpress.com/89/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/bryansammon.wordpress.com/89/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/bryansammon.wordpress.com/89/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/bryansammon.wordpress.com/89/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/bryansammon.wordpress.com/89/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/bryansammon.wordpress.com/89/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/bryansammon.wordpress.com/89/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/bryansammon.wordpress.com/89/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/bryansammon.wordpress.com/89/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/bryansammon.wordpress.com/89/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/bryansammon.wordpress.com/89/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bryansammon.wordpress.com&amp;blog=10603130&amp;post=89&amp;subd=bryansammon&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://bryansammon.wordpress.com/2010/01/02/attribute-include-based-on-custom-design-useful-tip-on-attribute-phtml/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/7eb059797c88b0c3c46230eee469e170?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">bryansammon</media:title>
		</media:content>
	</item>
		<item>
		<title>Magento eCommerce:: Best advice I could ever give anyone with alot of products</title>
		<link>http://bryansammon.wordpress.com/2009/12/30/magento-ecommerce-best-advice-i-could-ever-give-anyone-with-alot-of-products/</link>
		<comments>http://bryansammon.wordpress.com/2009/12/30/magento-ecommerce-best-advice-i-could-ever-give-anyone-with-alot-of-products/#comments</comments>
		<pubDate>Wed, 30 Dec 2009 04:13:07 +0000</pubDate>
		<dc:creator>bryansammon</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://bryansammon.wordpress.com/?p=87</guid>
		<description><![CDATA[Edit the attributes.phtml file. Set the description separate from the (foreach) statement. This will help a ton.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bryansammon.wordpress.com&amp;blog=10603130&amp;post=87&amp;subd=bryansammon&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Edit the attributes.phtml file. Set the description separate from the (foreach) statement. This will help a ton. </p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/bryansammon.wordpress.com/87/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/bryansammon.wordpress.com/87/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/bryansammon.wordpress.com/87/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/bryansammon.wordpress.com/87/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/bryansammon.wordpress.com/87/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/bryansammon.wordpress.com/87/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/bryansammon.wordpress.com/87/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/bryansammon.wordpress.com/87/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/bryansammon.wordpress.com/87/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/bryansammon.wordpress.com/87/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/bryansammon.wordpress.com/87/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/bryansammon.wordpress.com/87/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/bryansammon.wordpress.com/87/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/bryansammon.wordpress.com/87/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bryansammon.wordpress.com&amp;blog=10603130&amp;post=87&amp;subd=bryansammon&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://bryansammon.wordpress.com/2009/12/30/magento-ecommerce-best-advice-i-could-ever-give-anyone-with-alot-of-products/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/7eb059797c88b0c3c46230eee469e170?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">bryansammon</media:title>
		</media:content>
	</item>
		<item>
		<title>Magento eCommerce::If and else statement when using static block includes</title>
		<link>http://bryansammon.wordpress.com/2009/12/30/magento-ecommerceif-and-else-statement-when-using-static-block-includes/</link>
		<comments>http://bryansammon.wordpress.com/2009/12/30/magento-ecommerceif-and-else-statement-when-using-static-block-includes/#comments</comments>
		<pubDate>Wed, 30 Dec 2009 03:54:31 +0000</pubDate>
		<dc:creator>bryansammon</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://bryansammon.wordpress.com/?p=81</guid>
		<description><![CDATA[I did this on the attributes.phtml file: &#60;?php if ($_product-&#62;CompatibleIpods2 ==1){ echo $this-&#62;getLayout()-&#62;createBlock(&#8216;cms/block&#8217;)-&#62;setBlockId(&#8216;upac-compatible-ipods-3g&#8217;)-&#62;toHtml() ; } else { echo $this-&#62;getLayout()-&#62;createBlock(&#8216;cms/block&#8217;)-&#62;setBlockId(&#8216;upac-compatible-ipods-without-3g&#8217;)-&#62;toHtml() ; } ?&#62; Worked nicely. This way I can use one statement if the attribute: CompatibleIpods2 (type: yes/no) was set to yes (1) or no (2) Magento 1.3.2.4<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bryansammon.wordpress.com&amp;blog=10603130&amp;post=81&amp;subd=bryansammon&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I did this on the attributes.phtml file:</p>
<div id="_mcePaste">&lt;?php if ($_product-&gt;CompatibleIpods2 ==1){</div>
<div id="_mcePaste">echo $this-&gt;getLayout()-&gt;createBlock(&#8216;cms/block&#8217;)-&gt;setBlockId(&#8216;upac-compatible-ipods-3g&#8217;)-&gt;toHtml()</div>
<div id="_mcePaste">; }</div>
<div id="_mcePaste">else {</div>
<div id="_mcePaste">echo $this-&gt;getLayout()-&gt;createBlock(&#8216;cms/block&#8217;)-&gt;setBlockId(&#8216;upac-compatible-ipods-without-3g&#8217;)-&gt;toHtml()</div>
<div id="_mcePaste">; } ?&gt;</div>
<p></p>
<p>Worked nicely. This way I can use one statement if the attribute: CompatibleIpods2 (type: yes/no) was set to yes (1) or no (2)<br />
<br />
Magento 1.3.2.4</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/bryansammon.wordpress.com/81/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/bryansammon.wordpress.com/81/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/bryansammon.wordpress.com/81/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/bryansammon.wordpress.com/81/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/bryansammon.wordpress.com/81/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/bryansammon.wordpress.com/81/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/bryansammon.wordpress.com/81/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/bryansammon.wordpress.com/81/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/bryansammon.wordpress.com/81/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/bryansammon.wordpress.com/81/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/bryansammon.wordpress.com/81/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/bryansammon.wordpress.com/81/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/bryansammon.wordpress.com/81/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/bryansammon.wordpress.com/81/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bryansammon.wordpress.com&amp;blog=10603130&amp;post=81&amp;subd=bryansammon&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://bryansammon.wordpress.com/2009/12/30/magento-ecommerceif-and-else-statement-when-using-static-block-includes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/7eb059797c88b0c3c46230eee469e170?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">bryansammon</media:title>
		</media:content>
	</item>
	</channel>
</rss>
