<?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>EYEMAGINE &#187; ecommerce</title>
	<atom:link href="http://www.eyemaginetech.com/blog/category/ecommerce/feed" rel="self" type="application/rss+xml" />
	<link>http://www.eyemaginetech.com/blog</link>
	<description>Discover the latest news in Web Design, Online Marketing, and Magento Development at EYEMAGINE&#039;s blog. For more information visit eyemaginetech.com</description>
	<lastBuildDate>Sat, 04 Feb 2012 01:49:40 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.4</generator>
		<item>
		<title>Professional &#8211; OUT, Enterprise &#8211; UP</title>
		<link>http://www.eyemaginetech.com/blog/ecommerce/professional-out-enterprise-up</link>
		<comments>http://www.eyemaginetech.com/blog/ecommerce/professional-out-enterprise-up#comments</comments>
		<pubDate>Sat, 04 Feb 2012 00:47:13 +0000</pubDate>
		<dc:creator>cluu</dc:creator>
				<category><![CDATA[ecommerce]]></category>
		<category><![CDATA[e-commerce special]]></category>
		<category><![CDATA[Magento E-Commerce Development]]></category>
		<category><![CDATA[magento enterprise edition]]></category>
		<category><![CDATA[magento professional edition]]></category>

		<guid isPermaLink="false">http://www.eyemaginetech.com/blog/?p=365</guid>
		<description><![CDATA[Magento announces plans to phase out Professional Edition and increase price for Enterprise Edition. <a href="http://www.eyemaginetech.com/blog/ecommerce/professional-out-enterprise-up">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Magento announces plans to phase out the Professional Edition and increase the price for the Enterprise Edition.<br />
<span id="more-365"></span></p>
<p><a href="http://www.eyemaginetech.com/blog/wp-content/uploads/2012/02/Screen-Shot-2012-02-03-at-4.42.54-PM.png"><img src="http://www.eyemaginetech.com/blog/wp-content/uploads/2012/02/Screen-Shot-2012-02-03-at-4.42.54-PM.png" alt="magento development" title="magento development" width="575" height="374" class="aligncenter size-full wp-image-385" /></a></p>
<p>In an effort to focus on enhancing its Enterprise, Community, and Go editions, Magento announced this week that it is phasing out Magento Professional.</p>
<h3>Different Magento Editions</h3>
<p>If you are currently using the Magento Professional Edition, you will have a few available options when your license comes up for renewal.</p>
<p><em>1. Maintain your existing license for another year, after which you will need to switch to Magento Go or Enterprise editions ($2,995)</em></p>
<p><em>2. Remain on Magento Professional in perpetuity ($5,995)<br />
     Note: You will not be provided with any support and maintenance by the Magento team.</em></p>
<p><em>3. Upgrade to Magento Enterprise at an introductory price of $5,995</em></p>
<p>Magento also announced that as of March 1, the price for the Enterprise Edition will increase 11%. If you are currently using Magento Community or Professional editions and you’re considering moving to Enterprise, there’s never been a better time to upgrade! Contact <a href="http://www.eyemaginetech.com/" target="_blank">Eyemagine</a>, a Magento web development agency, today to learn how we can help you take advantage of all the features offered by Enterprise and secure your license before the price increase.</p>
<p>Likewise, if you currently use the Magento Professional Edition and have any questions about how Magento’s announcement could impact your business, <a href="http://www.eyemaginetech.com/contact-us/" target="_blank">contact us </a> and we’ll gladly go over all your options in detail.</p>
<h3>Your Opinion</h3>
<p><strong>Give us <a href="https://docs.google.com/a/eyemaginetech.com/spreadsheet/viewform?hl=en_US&#038;formkey=dFNfazZMcWlOc1V4V19xQlgycWgxMUE6MQ#gid=0" target="_blank">your opinion</a> about the retirement of Magento Professional and the 11% rate increase of Magento Enterprise.  Thanks so much for your contribution!</strong></p>
<h3>E-Commerce Special Offer</h3>
<p>For a <strong>limited time only</strong>, we will install Magento Enterprise on your server(s) for <strong>FREE</strong> if you sign up for Magento Enterprise.  <a href="http://www.eyemaginetech.com/contact-us/" target="_blank">Contact us today</a>!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.eyemaginetech.com/blog/ecommerce/professional-out-enterprise-up/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>X.commerce and the future of Magento</title>
		<link>http://www.eyemaginetech.com/blog/ecommerce/x-commerce-and-the-future-of-magento</link>
		<comments>http://www.eyemaginetech.com/blog/ecommerce/x-commerce-and-the-future-of-magento#comments</comments>
		<pubDate>Sun, 16 Oct 2011 22:00:05 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[ecommerce]]></category>
		<category><![CDATA[innovate]]></category>
		<category><![CDATA[magento]]></category>
		<category><![CDATA[x.commerce]]></category>
		<category><![CDATA[Dickie Ochoa]]></category>
		<category><![CDATA[The Shins]]></category>

		<guid isPermaLink="false">http://www.eyemaginetech.com/blog/?p=329</guid>
		<description><![CDATA[X.commerce welcomed Magento as the latest addition to the global online commerce movement initiated by eBay. At the X.commerce Innovate conference last week (October 12-14), eBay announced ground-breaking integration across multiple platforms that will ultimately benefit Magento store owners by &#8230; <a href="http://www.eyemaginetech.com/blog/ecommerce/x-commerce-and-the-future-of-magento">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>X.commerce welcomed Magento as the latest addition to the global online commerce movement initiated by eBay.<br />
<span id="more-329"></span></p>
<p>At the X.commerce Innovate conference last week (October 12-14), eBay announced ground-breaking integration across multiple platforms that will ultimately benefit Magento store owners by tighter integration with PayPal and eBay, increased sales channels, additional tools for payment processing and online marketing, and much more.</p>
<p>We are excited about the announcement because merchants on the Magento platform will be fully integrated with eBay, PayPal, and other sales channels without making a single investment in integration software; it will all be included.</p>
<div id="attachment_344" class="wp-caption alignleft" style="width: 282px"><a href="https://www.x.com/corporate"><img class="size-full wp-image-344" title="We took the X.commerce Pledge" src="http://www.eyemaginetech.com/blog/wp-content/uploads/2011/10/pledge_0.jpg" alt="We took the X.commerce Pledge" width="272" height="256" /></a><p class="wp-caption-text">We took the X.commerce Pledge</p></div>
<p>We are so excited about X.commerce, we took the pledge to optimize customer experience across the entire commerce ecosystem.</p>
<p>Along with powerful new developments in commerce, The Shins played an amazing set to bring the first night of the conference to a close.</p>
<p>Stay tuned for more developments regarding Magento, x.commerce, eBay, and PayPal.</p>
<div id="attachment_332" class="wp-caption alignnone" style="width: 310px"><img class="size-medium wp-image-332 " title="The tunnel into the evening's festivities" src="http://www.eyemaginetech.com/blog/wp-content/uploads/2011/10/innovate_tunnel-300x204.jpg" alt="The tunnel into the evening's festivities" width="300" height="204" /><p class="wp-caption-text">The tunnel into the evening&#39;s festivities</p></div>
<div id="attachment_333" class="wp-caption alignleft" style="width: 310px"><img class="size-medium wp-image-333 " title="Developers and Merchants Mingling at Innovate" src="http://www.eyemaginetech.com/blog/wp-content/uploads/2011/10/innovate_party-300x125.jpg" alt="Developers and Merchants Mingling at Innovate" width="300" height="125" /><p class="wp-caption-text">Developers and Merchants Mingling at Innovate</p></div>
<div id="attachment_335" class="wp-caption alignleft" style="width: 650px"><img class="size-full wp-image-335  " title="The Shins were the Headliners at this year's x.commerce Innovate Conference" src="http://www.eyemaginetech.com/blog/wp-content/uploads/2011/10/innovate_the_shins1.jpg" alt="The Shins were the Headliners at this year's x.commerce Innovate Conference" width="640" height="416" /><p class="wp-caption-text">The Shins were the Headliners at this year&#39;s x.commerce Innovate Conference</p></div>
]]></content:encoded>
			<wfw:commentRss>http://www.eyemaginetech.com/blog/ecommerce/x-commerce-and-the-future-of-magento/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>FREE Magento Enterprise Installation</title>
		<link>http://www.eyemaginetech.com/blog/ecommerce/free-magento-enterprise-installation</link>
		<comments>http://www.eyemaginetech.com/blog/ecommerce/free-magento-enterprise-installation#comments</comments>
		<pubDate>Wed, 12 Oct 2011 03:45:01 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[ecommerce]]></category>
		<category><![CDATA[magento]]></category>

		<guid isPermaLink="false">http://www.eyemaginetech.com/blog/?p=324</guid>
		<description><![CDATA[That&#8217;s right.  Free Magento Enterprise Edition installation. EYEMAGINE is offering free installation of the latest stable release of Magento Enterprise Edition to customers that purchase or upgrade Magento Enterprise Edition. Contact us to find out how.]]></description>
			<content:encoded><![CDATA[<p>That&#8217;s right.  Free Magento Enterprise Edition installation.</p>
<p>EYEMAGINE is offering free installation of the latest stable release of Magento Enterprise Edition to customers that purchase or upgrade Magento Enterprise Edition. <a title="Contact Us" href="/contact-us/">Contact us</a> to find out how.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.eyemaginetech.com/blog/ecommerce/free-magento-enterprise-installation/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Excellent example of physical presence supporting online presence</title>
		<link>http://www.eyemaginetech.com/blog/ecommerce/excellent-example-of-online-plus-physical-presence</link>
		<comments>http://www.eyemaginetech.com/blog/ecommerce/excellent-example-of-online-plus-physical-presence#comments</comments>
		<pubDate>Mon, 02 May 2011 16:46:56 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[ecommerce]]></category>
		<category><![CDATA[merchandising]]></category>

		<guid isPermaLink="false">http://www.eyemaginetech.com/blog/?p=314</guid>
		<description><![CDATA[INKnBURN has done an amazing job presenting their high-performance athletic apparel both online and offline.  Their physical presentation at the Orange County Marathon on May 1, 2011 gave their customers an experience that most online stores can&#8217;t: the ability to &#8230; <a href="http://www.eyemaginetech.com/blog/ecommerce/excellent-example-of-online-plus-physical-presence">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.inknburn.com/">INKnBURN</a> has done an amazing job presenting their high-performance athletic apparel both online and offline.  Their physical presentation at the Orange County Marathon on May 1, 2011 gave their customers an experience that most online stores can&#8217;t: the ability to touch and feel the high-performance fabric.</p>
<p><span id="more-314"></span></p>
<div id="attachment_315" class="wp-caption alignleft" style="width: 310px"><a title="INKnBURN at the OC Marathon" href="http://www.inknburn.com/" target="_blank"><img class="size-medium wp-image-315 " title="INKnBURN at the OC Marathon" src="http://www.eyemaginetech.com/blog/wp-content/uploads/2011/05/photo-300x224.jpg" alt="INKnBURN at the OC Marathon" width="300" height="224" /></a><p class="wp-caption-text">INKnBURN at the OC Marathon</p></div>
<p>Other e-tailers are seeing similar success with a powerful e-commerce presence supported by a physical storefront.  Although not a guaranteed formula, the combination does boost sales and raise brand awareness.</p>
<p>As Google optimizes search results for local results, a physical store can boost consumer confidence, especially when it comes to purchasing apparel.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.eyemaginetech.com/blog/ecommerce/excellent-example-of-online-plus-physical-presence/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Magento Enterprise Edition and Customer Segmenting</title>
		<link>http://www.eyemaginetech.com/blog/ecommerce/magento-enterprise-edition-and-customer-segmenting</link>
		<comments>http://www.eyemaginetech.com/blog/ecommerce/magento-enterprise-edition-and-customer-segmenting#comments</comments>
		<pubDate>Thu, 28 Apr 2011 02:02:33 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[ecommerce]]></category>
		<category><![CDATA[magento]]></category>

		<guid isPermaLink="false">http://www.eyemaginetech.com/blog/?p=308</guid>
		<description><![CDATA[In Magento's latest release of its Enterprise Edition software, customer records can be segmented based on customer attributes (name, address, gender, etc.) as well as purchase behavior. <a href="http://www.eyemaginetech.com/blog/ecommerce/magento-enterprise-edition-and-customer-segmenting">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>In Magento&#8217;s latest release of its Enterprise Edition software, version 1.10, customer records can be segmented based on customer attributes (name, address, gender, etc.) as well as purchase behavior.</p>
<p><span id="more-308"></span></p>
<p>As you can imagine, this level of control over customer lists can be incredibly powerful for targeted email campaigns.</p>
<p>In addition to being able to separate lists of customers with Magento Enterprise Edition, customers can be provided with targeted content based on their customer attributes and/or past purchase behavior.  If you want to promote a certain product to a customer that has not yet purchased it, Magento Enterprise Edition makes it easy as a few mouse-clicks.</p>
<p><a title="Contact Us" href="/contact-us">Contact us</a> to find out how Magento Enterprise can help your business target customers accurately and effectively.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.eyemaginetech.com/blog/ecommerce/magento-enterprise-edition-and-customer-segmenting/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Magento Invoiced Sales Report for Magento v 1.4</title>
		<link>http://www.eyemaginetech.com/blog/ecommerce/magento-invoiced-sales-report-for-magento-v-14</link>
		<comments>http://www.eyemaginetech.com/blog/ecommerce/magento-invoiced-sales-report-for-magento-v-14#comments</comments>
		<pubDate>Thu, 11 Nov 2010 23:16:58 +0000</pubDate>
		<dc:creator>Andy Etemadi</dc:creator>
				<category><![CDATA[ecommerce]]></category>
		<category><![CDATA[extension]]></category>
		<category><![CDATA[magento]]></category>
		<category><![CDATA[sales invoice]]></category>

		<guid isPermaLink="false">http://www.eyemaginetech.com/our-thoughts/?p=264</guid>
		<description><![CDATA[Have you ever needed a report of the actual sales that your Magento store has completed? <a href="http://www.eyemaginetech.com/blog/ecommerce/magento-invoiced-sales-report-for-magento-v-14">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Have you ever needed a report of the actual sales that your Magento store has completed?</p>
<p>Would you like to see all of your closed/completed sales in a single Magento report that includes: Order ID, Order Date, Shipping Date, Merchandise Amount, Tax Amount, Shipping Amount, Tracking Number, Refunded Amount, Net Amount?<span id="more-264"></span></p>
<p>We have created a custom Magento report that includes all of the information above for each report within a time frame that you can specify.</p>
<p>Now available for Magento v1.4.</p>
<p style="overflow:hidden;"><a class="pink-btn" title="Magento Invoiced Sales Report for Magento v 1.4" href="/store/invoiced-sales-reports.html" style="float:left; display:block;">Buy Now</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.eyemaginetech.com/blog/ecommerce/magento-invoiced-sales-report-for-magento-v-14/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Magento Product Merchandising Made Easy</title>
		<link>http://www.eyemaginetech.com/blog/ecommerce/magento-product-merchandising-made-easy</link>
		<comments>http://www.eyemaginetech.com/blog/ecommerce/magento-product-merchandising-made-easy#comments</comments>
		<pubDate>Thu, 30 Sep 2010 06:04:52 +0000</pubDate>
		<dc:creator>Andy Etemadi</dc:creator>
				<category><![CDATA[ecommerce]]></category>
		<category><![CDATA[magento]]></category>
		<category><![CDATA[merchandising]]></category>

		<guid isPermaLink="false">http://www.eyemaginetech.com/our-thoughts/?p=238</guid>
		<description><![CDATA[Product merchandising is an art form mastered by top notch e-commerce managers.  Now there is a new way to easily merchandise products in Magento that makes merchandising quick, easy, and effective. <a href="http://www.eyemaginetech.com/blog/ecommerce/magento-product-merchandising-made-easy">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Product merchandising is an art form mastered by top notch e-commerce managers. Now there is a new way to merchandise products in Magento that is quick, easy, and effective.<span id="more-238"></span></p>
<p>If you have lots of products to manage in a single category, this module is going to save you hours of sorting and organizing. Instead of tediously tracking position values, simply drag and drop the product to automatically change the position and see instant results. View the screencast below for a visual demo.</p>
<p>Merchandising Made Easy: <strong>$299 USD</strong></p>
<p style="overflow:hidden;"><a class="pink-btn" href="/store/merchandising-made-easy.html" style="float:left; display:block;">BUY NOW</a></p>
<p><script type="text/javascript">// <![CDATA[
$(document).ready(function(){
$(".lightbox").colorbox();
});
// ]]&gt;</script></p>
<p><a href="#video-popup" id="video-popup-btn"><img src="http://www.eyemaginetech.com/blog/wp-content/uploads/2010/09/thumb_merchandisingvideo.jpg" width="645" height="308" alt="Merchandising Made Easy" /></a></p>
<div id="video-popup">
<span class="gotham jqmClose">CLOSE X</span><br />
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0" width="1400" height="737" id="mymoviename"><param name="movie" value="http://c3025642.cdn.cloudfiles.rackspacecloud.com/assets/flash/merchandising.swf" /><param name="quality" value="high" /><param name="bgcolor" value="#ffffff" /><embed src="http://c3025642.cdn.cloudfiles.rackspacecloud.com/assets/flash/merchandising.swf" quality="high" bgcolor="#ffffff" width="1400" height="737" name="mymoviename" align="" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"></embed></object>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.eyemaginetech.com/blog/ecommerce/magento-product-merchandising-made-easy/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>OneStepCheckout</title>
		<link>http://www.eyemaginetech.com/blog/ecommerce/onestepcheckout</link>
		<comments>http://www.eyemaginetech.com/blog/ecommerce/onestepcheckout#comments</comments>
		<pubDate>Tue, 31 Aug 2010 21:24:19 +0000</pubDate>
		<dc:creator>Andy Etemadi</dc:creator>
				<category><![CDATA[ecommerce]]></category>
		<category><![CDATA[magento]]></category>
		<category><![CDATA[online store]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://www.eyemaginetech.com/our-thoughts/?p=234</guid>
		<description><![CDATA[Everybody is doing it. <a href="http://www.eyemaginetech.com/blog/ecommerce/onestepcheckout">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>OneStepCheckout is a Magento module that enhances the customer shopping experience by combining multiple steps during checkout into a single, well-formatted checkout page.</p>
<p>EyeMagine is an authorized OneStepCheckout partner and we highly recommend the OSC to all our clients. The OSC is the new must-have Magento extension that is taking the market by storm.</p>
<p>OSC is a total revamp of the standard checkout process in Magento. The core feature is that it reduces the six standard Magento checkout steps down to one. Totals and prices are dynamically updated via AJAX when shipping/payment method is selected. The user simply fills in their address and chooses delivery/payment methods on the same page, rather than having to do a separate step for each.</p>
<p>Improving the checkout process results in more customers completing their sales, and this has an immediate impact on your bottom line. It is the single most effective technical change you can make to reduce shopping cart abandonment.</p>
<p><a href="/contact-us/">Contact us</a> to find out how to add OneStepCheckout to your Magento store today!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.eyemaginetech.com/blog/ecommerce/onestepcheckout/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Taking the Guesswork out of User Experience</title>
		<link>http://www.eyemaginetech.com/blog/ecommerce/taking-the-guesswork-out-of-user-experience</link>
		<comments>http://www.eyemaginetech.com/blog/ecommerce/taking-the-guesswork-out-of-user-experience#comments</comments>
		<pubDate>Wed, 21 Apr 2010 00:01:01 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[ecommerce]]></category>
		<category><![CDATA[search engine optimization]]></category>
		<category><![CDATA[user experience]]></category>
		<category><![CDATA[web design]]></category>

		<guid isPermaLink="false">http://www.eyemaginetech.com/our-thoughts/?p=221</guid>
		<description><![CDATA[For many designers, there used to be a bit of mystery and guesswork to finding the sweet spot in a website's design between beautiful and functional. <a href="http://www.eyemaginetech.com/blog/ecommerce/taking-the-guesswork-out-of-user-experience">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Finding the sweet spot between a beautiful design and a functional design used to be a mysterious challenge left to designers crack.</p>
<p><span id="more-221"></span> Currently, there are entire institutions dedicated to performing usability tests that serve to demystify the user experience and explain how a website visitor interacts with a site. Several years ago, virtualhosting.com posted a fascinating article about website visitor eye tracking studies that revealed some very interesting tidbits on how your website design affects your visitors. Despite its age, I feel that many of its findings are quite relevant to the modern web and how visitors interact with websites. I hand picked several of their main points to discuss further here, you may view the list and their explanations in full at: <a href="http://www.virtualhosting.com/blog/2007/scientific-web-design-23-actionable-lessons-from-eye-tracking-studies/" target="_blank">23 Actionable Lessons from Eye-Tracking Studies</a></p>
<ol>
<li>
<h3>1. Text attracts attention before graphics.</h3>
<p>I instinctively want to disagree with this one. After all, everyone loves pictures and good photography can make or break a website&#8217;s design. However, when a visitor is coming to your website, the majority of the time they are looking for information about what you do, who you are, or how you can make them better informed. Your visitors want real substance, not just visual fluff.</li>
<li>
<h3>2. Users initially look at the top left and upper portion of the page before moving down and to the right.</h3>
<p>This point touches on the F shape of a user&#8217;s eye movements over a website. You can use this to your advantage and lay out important calls to action and headlines along this shape to maximize their visibility.</li>
<li>
<h3>3. Readers ignore banners.</h3>
<p>This should come as no surprise to many of you, users have been bombarded with banner ads on many of their favorite sites, and users are learning to completely tune these out. Because of this, it isn&#8217;t wise to design calls to action that resemble banner ads too closely in either shape or design.</li>
<li>
<h3>4. People generally scan lower portions of the page.</h3>
<p>This is a big one in my experience with client relations. All too frequently I get requests to try and stuff everything up on the page to keep the information “above the fold.” With the invention of the scroll wheel on mouses, it has become normal behavior for a user to scroll through a page. An excellent article that expounds on this point can be found at: <a href="http://www.iampaddy.com/lifebelow600/" target="_blank">Life Below 600px</a></li>
<li>
<h3>5. Shorter paragraphs perform better than long ones.</h3>
<p>Your visitors are lazy, they want to get the answer to their question as quickly and easily as possible. There is a challenge in balancing the need for text for SEO purposes, and the need to present your information as plainly as possible for your visitors. Users don&#8217;t read big blocks of text, the shorter and more succinct you can state your point, the more likely it is going to be read. In short, use lists.</li>
<li>
<h3>6. Lists hold reader attention longer.</h3>
<p>Lists present information in short phrases that make it easy for users to scan and find what they want quickly. Lists are the most efficient way to get your information to your users.</li>
<li>
<h3>7. White space is good.</h3>
<p>White space is vital to making your content more digestible for the user. By giving your information space to denote its importance, you make it easier for the user to find what they are looking for.</li>
</ol>
<p>The main goal of user experience studies are to determine how to make your content more accessible and readable by your users. If you would like to find out how EyeMagine can optimize your site&#8217;s content to allow you to better communicate with your audience, please <a href="/contact-us">contact us today</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.eyemaginetech.com/blog/ecommerce/taking-the-guesswork-out-of-user-experience/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Magento: Tax By City</title>
		<link>http://www.eyemaginetech.com/blog/ecommerce/magento-tax-by-city</link>
		<comments>http://www.eyemaginetech.com/blog/ecommerce/magento-tax-by-city#comments</comments>
		<pubDate>Wed, 14 Apr 2010 18:59:29 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[ecommerce]]></category>
		<category><![CDATA[magento]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[web development]]></category>

		<guid isPermaLink="false">http://www.eyemaginetech.com/our-thoughts/?p=183</guid>
		<description><![CDATA[Tax rules can be complicated; they can be even more complicated if you need tax rules based on the city while your online store tax rules are based on postal codes. <a href="http://www.eyemaginetech.com/blog/ecommerce/magento-tax-by-city">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Tax rules can be complicated; they can be even more complicated if you need tax rules based on the city while your online store tax rules are based on postal codes.<span id="more-183"></span> For example, districts in California have a higher sales tax rate than the state base tax rate.  Magento&#8217;s built-in tax rate system supports tax rates by country, state/region, and postal code. This will suffice for most stores, but the California Board Of Equalization advises against tax rate rules based on a mailing address because postal codes may cross district boundaries.  As suggested in <a title="Magento  - Tax per city - Can Magento Do... - eCommerce Software for Growth" href="http://www.magentocommerce.com/boards/viewthread/11641/" target="_blank">this Magento message board discussion</a>, store owners need another way to calculate taxes.</p>
<p>Calculating taxes based on city instead of postal code can be a straightforward process as we show in this article. We will take advantage of the tax_postcode column in the tax_calculation_rate table. This is a relatively quick and simple solution for creating a new database column and modifying the Admin HTML blocks.</p>
<h2>Directory Structure:</h2>
<pre>app/
  code/
    local/
      Eyemagine/
        Taxbycity/
          etc/
            config.xml
          Model/
            Calculation.php
            Mysql4/
              Calculation.php
          sql/
            taxbycity_setup/
              mysql-install-0.1.0.php</pre>
<h2>Configuration</h2>
<p>File: app/code/local/Eyemagine/Taxbycity/etc/config.xml</p>

<div class="wp_syntax"><div class="code"><pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;?xml</span> <span style="color: #000066;">version</span>=<span style="color: #ff0000;">&quot;1.0&quot;</span><span style="color: #000000; font-weight: bold;">?&gt;</span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;config<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;modules<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
   <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Eyemagine_Taxbycity<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
     <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;version<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>0.1.0<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/version<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
   <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Eyemagine_Taxbycity<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/modules<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;global<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
   <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;resources<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
     <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;taxbycity_setup<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;setup<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
         <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;module<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>Eyemagine_Taxbycity<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/module<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/setup<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;connection<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
         <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;use<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>core_setup<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/use<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/connection<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
     <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/taxbycity_setup<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
   <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/resources<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
   <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;models<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
     <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;tax<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;rewrite<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
         <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;calculation<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>Eyemagine_Taxbycity_Model_Calculation<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/calculation<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/rewrite<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
     <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/tax<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
     <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;tax_mysql4<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;rewrite<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
         <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;calculation<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>Eyemagine_Taxbycity_Model_Mysql4_Calculation<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/calculation<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/rewrite<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
     <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/tax_mysql4<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
   <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/models<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/global<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/config<span style="color: #000000; font-weight: bold;">&gt;</span></span></span></pre></div></div>

<p>Mage_Tax_Model_Calculation and Mage_Tax_Model_Mysql4_Calculation are the one two classes we will overload. This module will affect how the tax rate is queried from the database and the criteria used to search for the tax rate.</p>
<h2>The Setup</h2>
<p>File: app/code/local/Eyemagine/Taxbycity/sql/taxbycity_setup/mysql-install-0.1.0.php</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #009933; font-style: italic;">/**
 * mysql-install-0.1.0.php
 * @author EyeMagine
 */</span>
<span style="color: #666666; font-style: italic;">/* @var $this Mage_Core_Model_Resource_Setup */</span>
<span style="color: #000088;">$installer</span>  <span style="color: #339933;">=</span> <span style="color: #000088;">$this</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$db</span>         <span style="color: #339933;">=</span> <span style="color: #000088;">$installer</span><span style="color: #339933;">-&amp;</span>gt<span style="color: #339933;">;</span>getConnection<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$installer</span><span style="color: #339933;">-&amp;</span>gt<span style="color: #339933;">;</span>startSetup<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$installer</span><span style="color: #339933;">-&amp;</span>gt<span style="color: #339933;">;</span>run<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;
ALTER TABLE {<span style="color: #006699; font-weight: bold;">$installer</span>-&amp;gt;getTable('tax_calculation_rate')} CHANGE `tax_postcode` `tax_postcode` VARCHAR( 32 ) NOT NULL
&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<p>The tax_postcode column by default has a 12-character limit, which presents problems for city names such as &#8220;Rancho Santa Margarita.&#8221; The setup for this module simply increases the limit to 32 characters.</p>
<h2>The Request</h2>
<p>File: app/code/local/Eyemagine/Taxbycity/Mode/Calculation.php</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #009933; font-style: italic;">/**
 * Calculation.php
 * @author EyeMagine
 *
 */</span>
<span style="color: #009933; font-style: italic;">/**
 * Overload the tax calculation class
 * @author EyeMagine
 *
 */</span>
<span style="color: #000000; font-weight: bold;">class</span> Eyemagine_Taxbycity_Model_Calculation <span style="color: #000000; font-weight: bold;">extends</span> Mage_Tax_Model_Calculation
<span style="color: #009900;">&#123;</span>
    <span style="color: #009933; font-style: italic;">/**
     * override the getRateRequest to add the city information to the request
     * @see Mage_Tax_Model_Calculation::getRateRequest
     */</span>
    <span style="color: #000000; font-weight: bold;">public</span> <span style="color: #000000; font-weight: bold;">function</span> getRateRequest<span style="color: #009900;">&#40;</span><span style="color: #000088;">$shippingAddress</span> <span style="color: #339933;">=</span> <span style="color: #009900; font-weight: bold;">null</span><span style="color: #339933;">,</span> <span style="color: #000088;">$billingAddress</span> <span style="color: #339933;">=</span> <span style="color: #009900; font-weight: bold;">null</span><span style="color: #339933;">,</span> <span style="color: #000088;">$customerTaxClass</span> <span style="color: #339933;">=</span> <span style="color: #009900; font-weight: bold;">null</span><span style="color: #339933;">,</span> <span style="color: #000088;">$store</span> <span style="color: #339933;">=</span> <span style="color: #009900; font-weight: bold;">null</span><span style="color: #009900;">&#41;</span>
    <span style="color: #009900;">&#123;</span>
        <span style="color: #000088;">$address</span> <span style="color: #339933;">=</span> <span style="color: #000000; font-weight: bold;">new</span> Varien_Object<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
        <span style="color: #000088;">$session</span> <span style="color: #339933;">=</span> Mage<span style="color: #339933;">::</span><span style="color: #004000;">getSingleton</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'customer/session'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
        <span style="color: #000088;">$basedOn</span> <span style="color: #339933;">=</span> Mage<span style="color: #339933;">::</span><span style="color: #004000;">getStoreConfig</span><span style="color: #009900;">&#40;</span>Mage_Tax_Model_Config<span style="color: #339933;">::</span><span style="color: #004000;">CONFIG_XML_PATH_BASED_ON</span><span style="color: #339933;">,</span> <span style="color: #000088;">$store</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
        <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$shippingAddress</span> <span style="color: #339933;">===</span> <span style="color: #009900; font-weight: bold;">false</span> <span style="color: #339933;">&amp;</span>amp<span style="color: #339933;">;&amp;</span>amp<span style="color: #339933;">;</span> <span style="color: #000088;">$basedOn</span> <span style="color: #339933;">==</span> <span style="color: #0000ff;">'shipping'</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">||</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$billingAddress</span> <span style="color: #339933;">===</span> <span style="color: #009900; font-weight: bold;">false</span> <span style="color: #339933;">&amp;</span>amp<span style="color: #339933;">;&amp;</span>amp<span style="color: #339933;">;</span> <span style="color: #000088;">$basedOn</span> <span style="color: #339933;">==</span> <span style="color: #0000ff;">'billing'</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
            <span style="color: #000088;">$basedOn</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">'default'</span><span style="color: #339933;">;</span>
        <span style="color: #009900;">&#125;</span> <span style="color: #b1b100;">else</span> <span style="color: #009900;">&#123;</span>
            <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$billingAddress</span> <span style="color: #339933;">===</span> <span style="color: #009900; font-weight: bold;">false</span> <span style="color: #339933;">||</span> <span style="color: #990000;">is_null</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$billingAddress</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">||</span> <span style="color: #339933;">!</span><span style="color: #000088;">$billingAddress</span><span style="color: #339933;">-&amp;</span>gt<span style="color: #339933;">;</span>getCountryId<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">&amp;</span>amp<span style="color: #339933;">;&amp;</span>amp<span style="color: #339933;">;</span> <span style="color: #000088;">$basedOn</span> <span style="color: #339933;">==</span> <span style="color: #0000ff;">'billing'</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">||</span> <span style="color: #009900;">&#40;</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$shippingAddress</span> <span style="color: #339933;">===</span> <span style="color: #009900; font-weight: bold;">false</span> <span style="color: #339933;">||</span> <span style="color: #990000;">is_null</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$shippingAddress</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">||</span> <span style="color: #339933;">!</span><span style="color: #000088;">$shippingAddress</span><span style="color: #339933;">-&amp;</span>gt<span style="color: #339933;">;</span>getCountryId<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">&amp;</span>amp<span style="color: #339933;">;&amp;</span>amp<span style="color: #339933;">;</span> <span style="color: #000088;">$basedOn</span> <span style="color: #339933;">==</span> <span style="color: #0000ff;">'shipping'</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
                <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #339933;">!</span><span style="color: #000088;">$session</span><span style="color: #339933;">-&amp;</span>gt<span style="color: #339933;">;</span>isLoggedIn<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
                    <span style="color: #000088;">$basedOn</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">'default'</span><span style="color: #339933;">;</span>
                <span style="color: #009900;">&#125;</span> <span style="color: #b1b100;">else</span> <span style="color: #009900;">&#123;</span>
                    <span style="color: #000088;">$defBilling</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$session</span><span style="color: #339933;">-&amp;</span>gt<span style="color: #339933;">;</span>getCustomer<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">-&amp;</span>gt<span style="color: #339933;">;</span>getDefaultBillingAddress<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
                    <span style="color: #000088;">$defShipping</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$session</span><span style="color: #339933;">-&amp;</span>gt<span style="color: #339933;">;</span>getCustomer<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">-&amp;</span>gt<span style="color: #339933;">;</span>getDefaultShippingAddress<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
                    <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$basedOn</span> <span style="color: #339933;">==</span> <span style="color: #0000ff;">'billing'</span> <span style="color: #339933;">&amp;</span>amp<span style="color: #339933;">;&amp;</span>amp<span style="color: #339933;">;</span> <span style="color: #000088;">$defBilling</span> <span style="color: #339933;">&amp;</span>amp<span style="color: #339933;">;&amp;</span>amp<span style="color: #339933;">;</span> <span style="color: #000088;">$defBilling</span><span style="color: #339933;">-&amp;</span>gt<span style="color: #339933;">;</span>getCountryId<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
                        <span style="color: #000088;">$billingAddress</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$defBilling</span><span style="color: #339933;">;</span>
                    <span style="color: #009900;">&#125;</span> <span style="color: #b1b100;">else</span> <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$basedOn</span> <span style="color: #339933;">==</span> <span style="color: #0000ff;">'shipping'</span> <span style="color: #339933;">&amp;</span>amp<span style="color: #339933;">;&amp;</span>amp<span style="color: #339933;">;</span> <span style="color: #000088;">$defShipping</span> <span style="color: #339933;">&amp;</span>amp<span style="color: #339933;">;&amp;</span>amp<span style="color: #339933;">;</span> <span style="color: #000088;">$defShipping</span><span style="color: #339933;">-&amp;</span>gt<span style="color: #339933;">;</span>getCountryId<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
                        <span style="color: #000088;">$shippingAddress</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$defShipping</span><span style="color: #339933;">;</span>
                    <span style="color: #009900;">&#125;</span> <span style="color: #b1b100;">else</span> <span style="color: #009900;">&#123;</span>
                        <span style="color: #000088;">$basedOn</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">'default'</span><span style="color: #339933;">;</span>
                    <span style="color: #009900;">&#125;</span>
                <span style="color: #009900;">&#125;</span>
            <span style="color: #009900;">&#125;</span>
        <span style="color: #009900;">&#125;</span>
&nbsp;
        <span style="color: #b1b100;">switch</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$basedOn</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
            <span style="color: #b1b100;">case</span> <span style="color: #0000ff;">'billing'</span><span style="color: #339933;">:</span>
                <span style="color: #000088;">$address</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$billingAddress</span><span style="color: #339933;">;</span>
                <span style="color: #b1b100;">break</span><span style="color: #339933;">;</span>
&nbsp;
            <span style="color: #b1b100;">case</span> <span style="color: #0000ff;">'shipping'</span><span style="color: #339933;">:</span>
                <span style="color: #000088;">$address</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$shippingAddress</span><span style="color: #339933;">;</span>
                <span style="color: #b1b100;">break</span><span style="color: #339933;">;</span>
&nbsp;
            <span style="color: #b1b100;">case</span> <span style="color: #0000ff;">'origin'</span><span style="color: #339933;">:</span>
                <span style="color: #000088;">$address</span>
                    <span style="color: #339933;">-&amp;</span>gt<span style="color: #339933;">;</span>setCountryId<span style="color: #009900;">&#40;</span>Mage<span style="color: #339933;">::</span><span style="color: #004000;">getStoreConfig</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'shipping/origin/country_id'</span><span style="color: #339933;">,</span> <span style="color: #000088;">$store</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span>
                    <span style="color: #339933;">-&amp;</span>gt<span style="color: #339933;">;</span>setRegionId<span style="color: #009900;">&#40;</span>Mage<span style="color: #339933;">::</span><span style="color: #004000;">getStoreConfig</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'shipping/origin/region_id'</span><span style="color: #339933;">,</span> <span style="color: #000088;">$store</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span>
                    <span style="color: #339933;">-&amp;</span>gt<span style="color: #339933;">;</span>setPostcode<span style="color: #009900;">&#40;</span>Mage<span style="color: #339933;">::</span><span style="color: #004000;">getStoreConfig</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'shipping/origin/postcode'</span><span style="color: #339933;">,</span> <span style="color: #000088;">$store</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
                <span style="color: #b1b100;">break</span><span style="color: #339933;">;</span>
&nbsp;
            <span style="color: #b1b100;">case</span> <span style="color: #0000ff;">'default'</span><span style="color: #339933;">:</span>
                <span style="color: #000088;">$address</span>
                    <span style="color: #339933;">-&amp;</span>gt<span style="color: #339933;">;</span>setCountryId<span style="color: #009900;">&#40;</span>Mage<span style="color: #339933;">::</span><span style="color: #004000;">getStoreConfig</span><span style="color: #009900;">&#40;</span>Mage_Tax_Model_Config<span style="color: #339933;">::</span><span style="color: #004000;">CONFIG_XML_PATH_DEFAULT_COUNTRY</span><span style="color: #339933;">,</span> <span style="color: #000088;">$store</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span>
                    <span style="color: #339933;">-&amp;</span>gt<span style="color: #339933;">;</span>setRegionId<span style="color: #009900;">&#40;</span>Mage<span style="color: #339933;">::</span><span style="color: #004000;">getStoreConfig</span><span style="color: #009900;">&#40;</span>Mage_Tax_Model_Config<span style="color: #339933;">::</span><span style="color: #004000;">CONFIG_XML_PATH_DEFAULT_REGION</span><span style="color: #339933;">,</span> <span style="color: #000088;">$store</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span>
                    <span style="color: #339933;">-&amp;</span>gt<span style="color: #339933;">;</span>setPostcode<span style="color: #009900;">&#40;</span>Mage<span style="color: #339933;">::</span><span style="color: #004000;">getStoreConfig</span><span style="color: #009900;">&#40;</span>Mage_Tax_Model_Config<span style="color: #339933;">::</span><span style="color: #004000;">CONFIG_XML_PATH_DEFAULT_POSTCODE</span><span style="color: #339933;">,</span> <span style="color: #000088;">$store</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
                <span style="color: #b1b100;">break</span><span style="color: #339933;">;</span>
        <span style="color: #009900;">&#125;</span>
&nbsp;
        <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #990000;">is_null</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$customerTaxClass</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">&amp;</span>amp<span style="color: #339933;">;&amp;</span>amp<span style="color: #339933;">;</span> <span style="color: #000088;">$session</span><span style="color: #339933;">-&amp;</span>gt<span style="color: #339933;">;</span>isLoggedIn<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
            <span style="color: #000088;">$customerTaxClass</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$session</span><span style="color: #339933;">-&amp;</span>gt<span style="color: #339933;">;</span>getCustomer<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">-&amp;</span>gt<span style="color: #339933;">;</span>getTaxClassId<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
        <span style="color: #009900;">&#125;</span> <span style="color: #b1b100;">elseif</span> <span style="color: #009900;">&#40;</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$customerTaxClass</span> <span style="color: #339933;">===</span> <span style="color: #009900; font-weight: bold;">false</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">||</span> <span style="color: #339933;">!</span><span style="color: #000088;">$session</span><span style="color: #339933;">-&amp;</span>gt<span style="color: #339933;">;</span>isLoggedIn<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
            <span style="color: #000088;">$defaultCustomerGroup</span> <span style="color: #339933;">=</span> Mage<span style="color: #339933;">::</span><span style="color: #004000;">getStoreConfig</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'customer/create_account/default_group'</span><span style="color: #339933;">,</span> <span style="color: #000088;">$store</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
            <span style="color: #000088;">$customerTaxClass</span> <span style="color: #339933;">=</span> Mage<span style="color: #339933;">::</span><span style="color: #004000;">getModel</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'customer/group'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">-&amp;</span>gt<span style="color: #339933;">;</span>getTaxClassId<span style="color: #009900;">&#40;</span><span style="color: #000088;">$defaultCustomerGroup</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
        <span style="color: #009900;">&#125;</span>
        <span style="color: #000088;">$request</span> <span style="color: #339933;">=</span> <span style="color: #000000; font-weight: bold;">new</span> Varien_Object<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
        <span style="color: #000088;">$request</span>
            <span style="color: #339933;">-&amp;</span>gt<span style="color: #339933;">;</span>setCountryId<span style="color: #009900;">&#40;</span><span style="color: #000088;">$address</span><span style="color: #339933;">-&amp;</span>gt<span style="color: #339933;">;</span>getCountryId<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span>
            <span style="color: #339933;">-&amp;</span>gt<span style="color: #339933;">;</span>setRegionId<span style="color: #009900;">&#40;</span><span style="color: #000088;">$address</span><span style="color: #339933;">-&amp;</span>gt<span style="color: #339933;">;</span>getRegionId<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span>
            <span style="color: #339933;">-&amp;</span>gt<span style="color: #339933;">;</span>setPostcode<span style="color: #009900;">&#40;</span><span style="color: #000088;">$address</span><span style="color: #339933;">-&amp;</span>gt<span style="color: #339933;">;</span>getPostcode<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span>
            <span style="color: #339933;">-&amp;</span>gt<span style="color: #339933;">;</span>setStore<span style="color: #009900;">&#40;</span><span style="color: #000088;">$store</span><span style="color: #009900;">&#41;</span>
            <span style="color: #339933;">-&amp;</span>gt<span style="color: #339933;">;</span>setCustomerClassId<span style="color: #009900;">&#40;</span><span style="color: #000088;">$customerTaxClass</span><span style="color: #009900;">&#41;</span>
            <span style="color: #339933;">-&amp;</span>gt<span style="color: #339933;">;</span>setCity<span style="color: #009900;">&#40;</span><span style="color: #000088;">$address</span><span style="color: #339933;">-&amp;</span>gt<span style="color: #339933;">;</span>getCity<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
        <span style="color: #b1b100;">return</span> <span style="color: #000088;">$request</span><span style="color: #339933;">;</span>
    <span style="color: #009900;">&#125;</span>
<span style="color: #009900;">&#125;</span></pre></div></div>

<p>The calculation method, getRateRequest(), is nearly identical to the core method.  We will add the city to the request object from the address object.</p>
<h2>The Look Up</h2>
<p>File: app/code/local/Eyemagine/Taxbycity/Mode/Mysql4/Calculation.php</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #009933; font-style: italic;">/**
 * Calculation.php
 * @author EyeMagine
 *
 */</span>
<span style="color: #009933; font-style: italic;">/**
 * Overload the mysql4 calculation class
 * @author EyeMagine
 *
 */</span>
<span style="color: #000000; font-weight: bold;">class</span> Eyemagine_Taxbycity_Model_Mysql4_Calculation <span style="color: #000000; font-weight: bold;">extends</span> Mage_Tax_Model_Mysql4_Calculation
<span style="color: #009900;">&#123;</span>
    <span style="color: #009933; font-style: italic;">/**
     * override getRates method to add city to where clause
     * @see Mage_Tax_Model_Mysql4_Calculation::_getRates
     */</span>
    protected <span style="color: #000000; font-weight: bold;">function</span> _getRates<span style="color: #009900;">&#40;</span><span style="color: #000088;">$request</span><span style="color: #009900;">&#41;</span>
    <span style="color: #009900;">&#123;</span>
        <span style="color: #000088;">$storeId</span> <span style="color: #339933;">=</span> Mage<span style="color: #339933;">::</span><span style="color: #004000;">app</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">-&amp;</span>gt<span style="color: #339933;">;</span>getStore<span style="color: #009900;">&#40;</span><span style="color: #000088;">$request</span><span style="color: #339933;">-&amp;</span>gt<span style="color: #339933;">;</span>getStore<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">-&amp;</span>gt<span style="color: #339933;">;</span>getId<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
        <span style="color: #000088;">$select</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$this</span><span style="color: #339933;">-&amp;</span>gt<span style="color: #339933;">;</span>_getReadAdapter<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">-&amp;</span>gt<span style="color: #339933;">;</span>select<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
        <span style="color: #000088;">$select</span>
            <span style="color: #339933;">-&amp;</span>gt<span style="color: #339933;">;</span>from<span style="color: #009900;">&#40;</span><span style="color: #990000;">array</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'main_table'</span><span style="color: #339933;">=&amp;</span>gt<span style="color: #339933;">;</span><span style="color: #000088;">$this</span><span style="color: #339933;">-&amp;</span>gt<span style="color: #339933;">;</span>getMainTable<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span>
            <span style="color: #339933;">-&amp;</span>gt<span style="color: #339933;">;</span>where<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'customer_tax_class_id = ?'</span><span style="color: #339933;">,</span> <span style="color: #000088;">$request</span><span style="color: #339933;">-&amp;</span>gt<span style="color: #339933;">;</span>getCustomerClassId<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span>
            <span style="color: #339933;">-&amp;</span>gt<span style="color: #339933;">;</span>where<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'product_tax_class_id = ?'</span><span style="color: #339933;">,</span> <span style="color: #000088;">$request</span><span style="color: #339933;">-&amp;</span>gt<span style="color: #339933;">;</span>getProductClassId<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
        <span style="color: #000088;">$select</span><span style="color: #339933;">-&amp;</span>gt<span style="color: #339933;">;</span>join<span style="color: #009900;">&#40;</span><span style="color: #990000;">array</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'rule'</span><span style="color: #339933;">=&amp;</span>gt<span style="color: #339933;">;</span><span style="color: #000088;">$this</span><span style="color: #339933;">-&amp;</span>gt<span style="color: #339933;">;</span>getTable<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'tax/tax_calculation_rule'</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'rule.tax_calculation_rule_id = main_table.tax_calculation_rule_id'</span><span style="color: #339933;">,</span> <span style="color: #990000;">array</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'rule.priority'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'rule.position'</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
        <span style="color: #000088;">$select</span><span style="color: #339933;">-&amp;</span>gt<span style="color: #339933;">;</span>join<span style="color: #009900;">&#40;</span><span style="color: #990000;">array</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'rate'</span><span style="color: #339933;">=&amp;</span>gt<span style="color: #339933;">;</span><span style="color: #000088;">$this</span><span style="color: #339933;">-&amp;</span>gt<span style="color: #339933;">;</span>getTable<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'tax/tax_calculation_rate'</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'rate.tax_calculation_rate_id = main_table.tax_calculation_rate_id'</span><span style="color: #339933;">,</span> <span style="color: #990000;">array</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'value'</span><span style="color: #339933;">=&amp;</span>gt<span style="color: #339933;">;</span><span style="color: #0000ff;">'rate.rate'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'rate.tax_country_id'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'rate.tax_region_id'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'rate.tax_postcode'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'rate.tax_calculation_rate_id'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'rate.code'</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
        <span style="color: #000088;">$select</span>
            <span style="color: #339933;">-&amp;</span>gt<span style="color: #339933;">;</span>where<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;rate.tax_country_id = ?&quot;</span><span style="color: #339933;">,</span> <span style="color: #000088;">$request</span><span style="color: #339933;">-&amp;</span>gt<span style="color: #339933;">;</span>getCountryId<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span>
            <span style="color: #339933;">-&amp;</span>gt<span style="color: #339933;">;</span>where<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;rate.tax_region_id in ('*', '', ?)&quot;</span><span style="color: #339933;">,</span> <span style="color: #000088;">$request</span><span style="color: #339933;">-&amp;</span>gt<span style="color: #339933;">;</span>getRegionId<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
        <span style="color: #000088;">$city</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$request</span><span style="color: #339933;">-&amp;</span>gt<span style="color: #339933;">;</span>getCity<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
        <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #339933;">!</span><span style="color: #990000;">empty</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$city</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span><span style="color: #666666; font-style: italic;">//add city only if we know we have it, default to old behavior otherwise</span>
            <span style="color: #000088;">$select</span><span style="color: #339933;">-&amp;</span>gt<span style="color: #339933;">;</span>where<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;LOWER(rate.tax_postcode) in ('*', '', ?)&quot;</span><span style="color: #339933;">,</span> <span style="color: #990000;">array</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$request</span><span style="color: #339933;">-&amp;</span>gt<span style="color: #339933;">;</span>getPostcode<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span><span style="color: #990000;">strtolower</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$request</span><span style="color: #339933;">-&amp;</span>gt<span style="color: #339933;">;</span>getCity<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
        <span style="color: #009900;">&#125;</span> <span style="color: #b1b100;">else</span> <span style="color: #009900;">&#123;</span>
            <span style="color: #000088;">$select</span><span style="color: #339933;">-&amp;</span>gt<span style="color: #339933;">;</span>where<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;rate.tax_postcode in ('*', '', ?)&quot;</span><span style="color: #339933;">,</span> <span style="color: #000088;">$request</span><span style="color: #339933;">-&amp;</span>gt<span style="color: #339933;">;</span>getPostcode<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
        <span style="color: #009900;">&#125;</span>
&nbsp;
        <span style="color: #000088;">$select</span><span style="color: #339933;">-&amp;</span>gt<span style="color: #339933;">;</span>joinLeft<span style="color: #009900;">&#40;</span><span style="color: #990000;">array</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'title_table'</span><span style="color: #339933;">=&amp;</span>gt<span style="color: #339933;">;</span><span style="color: #000088;">$this</span><span style="color: #339933;">-&amp;</span>gt<span style="color: #339933;">;</span>getTable<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'tax/tax_calculation_rate_title'</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">&quot;rate.tax_calculation_rate_id = title_table.tax_calculation_rate_id AND title_table.store_id = '<span style="color: #006699; font-weight: bold;">{$storeId}</span>'&quot;</span><span style="color: #339933;">,</span> <span style="color: #990000;">array</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'title'</span><span style="color: #339933;">=&amp;</span>gt<span style="color: #339933;">;</span><span style="color: #0000ff;">'IFNULL(title_table.value, rate.code)'</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
        <span style="color: #000088;">$order</span> <span style="color: #339933;">=</span> <span style="color: #990000;">array</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'rule.priority ASC'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'rule.tax_calculation_rule_id ASC'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'rate.tax_country_id DESC'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'rate.tax_region_id DESC'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'rate.tax_postcode DESC'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'rate.rate DESC'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
        <span style="color: #000088;">$select</span><span style="color: #339933;">-&amp;</span>gt<span style="color: #339933;">;</span>order<span style="color: #009900;">&#40;</span><span style="color: #000088;">$order</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
        <span style="color: #b1b100;">return</span> <span style="color: #000088;">$this</span><span style="color: #339933;">-&amp;</span>gt<span style="color: #339933;">;</span>_getReadAdapter<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">-&amp;</span>gt<span style="color: #339933;">;</span>fetchAll<span style="color: #009900;">&#40;</span><span style="color: #000088;">$select</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #009900;">&#125;</span>
<span style="color: #009900;">&#125;</span></pre></div></div>

<p>Minor modifications to the _getRates() method, in the Mysql Calculation Model, will be required. In this method, we will ensure that the city has been set in the request and add it to the list of values to search for in the tax_postcode column.</p>
<p>A side affect of this is that the Estimated Shipping and Tax result will no longer be as accurate. The input for this form is a postal code, which is passed to the shipping module. Taking advantage of Magento&#8217;s flexibility makes it simple to enhance its core functionality without too much code modification.</p>
<p>If this article was helpful or if you would like assistance with your customizations, please feel free to <a title="Contact Us" href="/contact-us/">contact us</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.eyemaginetech.com/blog/ecommerce/magento-tax-by-city/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

