<?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>Nancy Fusco &#187; Web Projects</title>
	<atom:link href="http://nancyfusco.com/wp/index.php/category/webprojects/feed/" rel="self" type="application/rss+xml" />
	<link>http://nancyfusco.com/wp</link>
	<description></description>
	<lastBuildDate>Sun, 05 Feb 2012 14:47:14 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.4</generator>
		<item>
		<title>PHP script for calculating shipping based on weight and destination</title>
		<link>http://nancyfusco.com/wp/index.php/2009/02/php-script-for-calculating-shipping/</link>
		<comments>http://nancyfusco.com/wp/index.php/2009/02/php-script-for-calculating-shipping/#comments</comments>
		<pubDate>Mon, 23 Feb 2009 14:20:46 +0000</pubDate>
		<dc:creator>Nancy</dc:creator>
				<category><![CDATA[web design]]></category>
		<category><![CDATA[Web Projects]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[scripts]]></category>
		<category><![CDATA[shopping cart]]></category>

		<guid isPermaLink="false">http://nancyfusco.com/wp/?p=446</guid>
		<description><![CDATA[Developed this php script for one of my clients eCommerce sites. They needed their shopping cart to calculate shipping costs based on the weight of the item and the destination. And all US shipping was to be Free. Best application for this code is in Click Cart Pro version 6+ but here is the stand [...]]]></description>
			<content:encoded><![CDATA[<p>Developed this php script for one of my clients eCommerce sites. They needed their shopping cart to calculate shipping costs based on the weight of the item and the destination. And all US shipping was to be Free.  Best application for this code is in Click Cart Pro version 6+ but here is the stand alone code if you can benefit from it, go for it. I just ask that the credit stays in the comments. Just enclose the following code in php tags:</p>
<p>/* This script is a modification of the default Calculation On Total Item Weight. Script setup for FREE Shipping to all US delivery locations. All other delivery locations, worldwide, are calculated by Price Groups/Zones and Weight of the product. If the specific delivery location is not specified, the closing part of the script will include a flat rate. */</p>
<p>/* Code mods by themonarch with thanks to fazman at the CCP forums for the basic structure http://forum.kryptronic.com/viewtopic.php?id=18218 and this site for excellent php tutorials http://www.tizag.com */</p>
<p>// Definitions</p>
<p>$info = $this-&gt;globals(&#8216;ecom.customship&#8217;);</p>
<p>$method = &#8216;USPS/UPS Standard Shipping&#8217;;</p>
<p>$weight = $info['weight'];</p>
<p>// FREE SHIPPING USA ONLY</p>
<p>if ($info['country'] == &#8216;United States&#8217;) {</p>
<p>$custom = array($method =&gt; &#8217;0.00&#8242;);</p>
<p>// Price Group 1</p>
<p>} elseif (($weight &lt;= &#8217;3&#8242;) &amp;&amp; ($info['country'] == &#8216;Canada&#8217; || $info['country'] == &#8216;Virgin Islands     British&#8217; || $info['country'] == &#8216;Virgin Islands     US&#8217;)) {</p>
<p>$custom = array($method =&gt; &#8217;19.99&#8242;);<br />
<span id="more-446"></span><br />
} elseif (($weight &lt;= &#8217;7&#8242;) &amp;&amp; ($info['country'] == &#8216;Canada&#8217; || $info['country'] == &#8216;Virgin Islands     British&#8217; || $info['country'] == &#8216;Virgin Islands     US&#8217;)) {</p>
<p>$custom = array($method =&gt; &#8217;25.99&#8242;);</p>
<p>} elseif (($weight &lt;= &#8217;11&#8242;) &amp;&amp; ($info['country'] == &#8216;Canada&#8217; || $info['country'] == &#8216;Virgin Islands     British&#8217; || $info['country'] == &#8216;Virgin Islands     US&#8217;)) {</p>
<p>$custom = array($method =&gt; &#8217;27.99&#8242;);</p>
<p>} elseif (($weight &lt;= &#8217;20&#8242;) &amp;&amp; ($info['country'] == &#8216;Canada&#8217; || $info['country'] == &#8216;Virgin Islands     British&#8217; || $info['country'] == &#8216;Virgin Islands     US&#8217;)) {</p>
<p>$custom = array($method =&gt; &#8217;44.99&#8242;);</p>
<p>} elseif (($weight &lt;= &#8217;90&#8242;) &amp;&amp; ($info['country'] == &#8216;Canada&#8217; || $info['country'] == &#8216;Virgin Islands     British&#8217; || $info['country'] == &#8216;Virgin Islands US&#8217;)) {</p>
<p>$custom = array($method =&gt; &#8217;84.99&#8242;);</p>
<p>// Price Group 2</p>
<p>} elseif (($weight &lt;= &#8217;3&#8242;) &amp;&amp; ($info['country'] == &#8216;Mexico&#8217;)) {</p>
<p>$custom = array($method =&gt; &#8217;23.99&#8242;);</p>
<p>} elseif (($weight &lt;= &#8217;7&#8242;) &amp;&amp; ($info['country'] == &#8216;Mexico&#8217;)) {</p>
<p>$custom = array($method =&gt; &#8217;34.99&#8242;);</p>
<p>} elseif (($weight &lt;= &#8217;11&#8242;) &amp;&amp; ($info['country'] == &#8216;Mexico&#8217;)) {</p>
<p>$custom = array($method =&gt; &#8217;44.99&#8242;);</p>
<p>} elseif (($weight &lt;= &#8217;20&#8242;) &amp;&amp; ($info['country'] == &#8216;Mexico&#8217;)) {</p>
<p>$custom = array($method =&gt; &#8217;64.99&#8242;);</p>
<p>} elseif (($weight &lt;= &#8217;90&#8242;) &amp;&amp; ($info['country'] == &#8216;Mexico&#8217;)) {</p>
<p>$custom = array($method =&gt; &#8217;118.99&#8242;);</p>
<p>// Price Group 3</p>
<p>} elseif (($weight &lt;= &#8217;3&#8242;) &amp;&amp; ($info['country'] == &#8216;Australia&#8217; || $info['country'] ==</p>
<p>&#8216;China&#8217; || $info['country'] == &#8216;Hong Kong&#8217; || $info['country'] == &#8216;Japan&#8217;)) {</p>
<p>$custom = array($method =&gt; &#8217;31.99&#8242;);</p>
<p>} elseif (($weight &lt;= &#8217;7&#8242;) &amp;&amp; ($info['country'] == &#8216;Australia&#8217; || $info['country'] ==</p>
<p>&#8216;China&#8217; || $info['country'] == &#8216;Hong Kong&#8217; || $info['country'] == &#8216;Japan&#8217;)) {</p>
<p>$custom = array($method =&gt; &#8217;48.99&#8242;);</p>
<p>} elseif (($weight &lt;= &#8217;11&#8242;) &amp;&amp; ($info['country'] == &#8216;Australia&#8217; || $info['country'] ==</p>
<p>&#8216;China&#8217; || $info['country'] == &#8216;Hong Kong&#8217; || $info['country'] == &#8216;Japan&#8217;)) {</p>
<p>$custom = array($method =&gt; &#8217;51.99&#8242;);</p>
<p>} elseif (($weight &lt;= &#8217;20&#8242;) &amp;&amp; ($info['country'] == &#8216;Australia&#8217; || $info['country'] ==</p>
<p>&#8216;China&#8217; || $info['country'] == &#8216;Hong Kong&#8217; || $info['country'] == &#8216;Japan&#8217;)) {</p>
<p>$custom = array($method =&gt; &#8217;92.99&#8242;);</p>
<p>} elseif (($weight &lt;= &#8217;91&#8242;) &amp;&amp; ($info['country'] == &#8216;Australia&#8217; || $info['country'] ==</p>
<p>&#8216;China&#8217; || $info['country'] == &#8216;Hong Kong&#8217; || $info['country'] == &#8216;Japan&#8217;)) {</p>
<p>$custom = array($method =&gt; &#8217;186.99&#8242;);</p>
<p>// Price Group 4</p>
<p>} elseif (($weight &lt;= &#8217;3&#8242;) &amp;&amp; ($info['country'] == &#8216;Czech Republic&#8217; || $info['country'] == &#8216;Hungary&#8217; || $info['country'] == &#8216;Romania&#8217; || $info['country'] == &#8216;Poland&#8217;)) {</p>
<p>$custom = array($method =&gt; &#8217;27.99&#8242;);</p>
<p>} elseif (($weight &lt;= &#8217;7&#8242;) &amp;&amp; ($info['country'] == &#8216;Czech Republic&#8217; || $info['country'] == &#8216;Hungary&#8217; || $info['country'] == &#8216;Romania&#8217; || $info['country'] == &#8216;Poland&#8217;)) {</p>
<p>$custom = array($method =&gt; &#8217;39.99&#8242;);</p>
<p>} elseif (($weight &lt;= &#8217;11&#8242;) &amp;&amp; ($info['country'] == &#8216;Czech Republic&#8217; || $info['country'] == &#8216;Hungary&#8217; || $info['country'] == &#8216;Romania&#8217; || $info['country'] == &#8216;Poland&#8217;)) {</p>
<p>$custom = array($method =&gt; &#8217;44.99&#8242;);</p>
<p>} elseif (($weight &lt;= &#8217;20&#8242;) &amp;&amp; ($info['country'] == &#8216;Czech Republic&#8217; || $info['country'] == &#8216;Hungary&#8217; || $info['country'] == &#8216;Romania&#8217; || $info['country'] == &#8216;Poland&#8217;)) {</p>
<p>$custom = array($method =&gt; &#8217;84.99&#8242;);</p>
<p>} elseif (($weight &lt;= &#8217;91&#8242;) &amp;&amp; ($info['country'] == &#8216;Czech Republic&#8217; || $info['country'] == &#8216;Hungary&#8217; || $info['country'] == &#8216;Romania&#8217; || $info['country'] == &#8216;Poland&#8217;)) {</p>
<p>$custom = array($method =&gt; &#8217;178.99&#8242;);</p>
<p>// Price Group 5</p>
<p>} elseif (($weight &lt;= &#8217;3&#8242;) &amp;&amp; ($info['country'] == &#8216;Austria&#8217; || $info['country'] == &#8216;Belgium&#8217; || $info['country'] == &#8216;Denmark&#8217; || $info['country'] == &#8216;Finland&#8217; || $info['country'] == &#8216;France&#8217; || $info['country'] == &#8216;Germany&#8217; || $info['country'] == &#8216;United Kingdom&#8217; || $info['country'] == &#8216;Greece&#8217; || $info['country'] == &#8216;Ireland&#8217; || $info['country'] == &#8216;Netherlands&#8217; || $info['country'] == &#8216;Norway&#8217; || $info['country'] == &#8216;Spain&#8217; || $info['country'] == &#8216;Sweden&#8217; || $info['country'] == &#8216;Liechtenstein&#8217; || $info['country'] == &#8216;Switzerland&#8217;)) {</p>
<p>$custom = array($method =&gt; &#8217;25.99&#8242;);</p>
<p>} elseif (($weight &lt;= &#8217;7&#8242;) &amp;&amp; ($info['country'] == &#8216;Austria&#8217; || $info['country'] == &#8216;Belgium&#8217; || $info['country'] == &#8216;Denmark&#8217; || $info['country'] == &#8216;Finland&#8217; || $info['country'] == &#8216;France&#8217; || $info['country'] == &#8216;Germany&#8217; || $info['country'] == &#8216;United Kingdom&#8217; || $info['country'] == &#8216;Greece&#8217; || $info['country'] == &#8216;Ireland&#8217; || $info['country'] == &#8216;Netherlands&#8217; || $info['country'] == &#8216;Norway&#8217; || $info['country'] == &#8216;Spain&#8217; || $info['country'] == &#8216;Sweden&#8217; || $info['country'] == &#8216;Liechtenstein&#8217; || $info['country'] == &#8216;Switzerland&#8217;)) {</p>
<p>$custom = array($method =&gt; &#8217;25.99&#8242;);</p>
<p>} elseif (($weight &lt;= &#8217;11&#8242;) &amp;&amp; ($info['country'] == &#8216;Austria&#8217; || $info['country'] == &#8216;Belgium&#8217; || $info['country'] == &#8216;Denmark&#8217; || $info['country'] == &#8216;Finland&#8217; || $info['country'] == &#8216;France&#8217; || $info['country'] == &#8216;Germany&#8217; || $info['country'] == &#8216;United Kingdom&#8217; || $info['country'] == &#8216;Greece&#8217; || $info['country'] == &#8216;Ireland&#8217; || $info['country'] == &#8216;Netherlands&#8217; || $info['country'] == &#8216;Norway&#8217; || $info['country'] == &#8216;Spain&#8217; || $info['country'] == &#8216;Sweden&#8217; || $info['country'] == &#8216;Liechtenstein&#8217; || $info['country'] == &#8216;Switzerland&#8217;)) {</p>
<p>$custom = array($method =&gt; &#8217;25.99&#8242;);</p>
<p>} elseif (($weight &lt;= &#8217;20&#8242;) &amp;&amp; ($info['country'] == &#8216;Austria&#8217; || $info['country'] == &#8216;Belgium&#8217; || $info['country'] == &#8216;Denmark&#8217; || $info['country'] == &#8216;Finland&#8217; || $info['country'] == &#8216;France&#8217; || $info['country'] == &#8216;Germany&#8217; || $info['country'] == &#8216;United Kingdom&#8217; || $info['country'] == &#8216;Greece&#8217; || $info['country'] == &#8216;Ireland&#8217; || $info['country'] == &#8216;Netherlands&#8217; || $info['country'] == &#8216;Norway&#8217; || $info['country'] == &#8216;Spain&#8217; || $info['country'] == &#8216;Sweden&#8217; || $info['country'] == &#8216;Liechtenstein&#8217; || $info['country'] == &#8216;Switzerland&#8217;)) {</p>
<p>$custom = array($method =&gt; &#8217;25.99&#8242;);<br />
} elseif (($weight &lt;= &#8217;91&#8242;) &amp;&amp; ($info['country'] == &#8216;Austria&#8217; || $info['country'] == &#8216;Belgium&#8217; || $info['country'] == &#8216;Denmark&#8217; || $info['country'] == &#8216;Finland&#8217; || $info['country'] == &#8216;France&#8217; || $info['country'] == &#8216;Germany&#8217; || $info['country'] == &#8216;United Kingdom&#8217; || $info['country'] == &#8216;Greece&#8217; || $info['country'] == &#8216;Ireland&#8217; || $info['country'] == &#8216;Netherlands&#8217; || $info['country'] == &#8216;Norway&#8217; || $info['country'] == &#8216;Spain&#8217; || $info['country'] == &#8216;Sweden&#8217; || $info['country'] == &#8216;Liechtenstein&#8217; || $info['country'] == &#8216;Switzerland&#8217;)) {</p>
<p>$custom = array($method =&gt; &#8217;25.99&#8242;);</p>
<p>// Price Group 6</p>
<p>} elseif (($weight &lt;= &#8217;3&#8242;) &amp;&amp; ($info['country'] == &#8216;India&#8217; || $info['country'] == &#8216;Indonesia&#8217; || $info['country'] == &#8216;New Zealand&#8217; || $info['country'] == &#8216;Singapore&#8217; || $info['country'] == &#8216;Taiwan&#8217; || $info['country'] == &#8216;Vietnam&#8217; || $info['country'] == &#8216;Thailand&#8217;)) {</p>
<p>$custom = array($method =&gt; &#8217;25.99&#8242;);</p>
<p>} elseif (($weight &lt;= &#8217;7&#8242;) &amp;&amp; ($info['country'] == &#8216;India&#8217; || $info['country'] == &#8216;Indonesia&#8217; || $info['country'] == &#8216;New Zealand&#8217; || $info['country'] == &#8216;Singapore&#8217; || $info['country'] == &#8216;Taiwan&#8217; || $info['country'] == &#8216;Vietnam&#8217; || $info['country'] == &#8216;Thailand&#8217;)) {</p>
<p>$custom = array($method =&gt; &#8217;25.99&#8242;);</p>
<p>} elseif (($weight &lt;= &#8217;11&#8242;) &amp;&amp; ($info['country'] == &#8216;India&#8217; || $info['country'] == &#8216;Indonesia&#8217; || $info['country'] == &#8216;New Zealand&#8217; || $info['country'] == &#8216;Singapore&#8217; || $info['country'] == &#8216;Taiwan&#8217; || $info['country'] == &#8216;Vietnam&#8217; || $info['country'] == &#8216;Thailand&#8217;)) {</p>
<p>$custom = array($method =&gt; &#8217;25.99&#8242;);</p>
<p>} elseif (($weight &lt;= &#8217;20&#8242;) &amp;&amp; ($info['country'] == &#8216;India&#8217; || $info['country'] == &#8216;Indonesia&#8217; || $info['country'] == &#8216;New Zealand&#8217; || $info['country'] == &#8216;Singapore&#8217; || $info['country'] == &#8216;Taiwan&#8217; || $info['country'] == &#8216;Vietnam&#8217; || $info['country'] == &#8216;Thailand&#8217;)) {</p>
<p>$custom = array($method =&gt; &#8217;25.99&#8242;);</p>
<p>} elseif (($weight &lt;= &#8217;91&#8242;) &amp;&amp; ($info['country'] == &#8216;India&#8217; || $info['country'] == &#8216;Indonesia&#8217; || $info['country'] == &#8216;New Zealand&#8217; || $info['country'] == &#8216;Singapore&#8217; || $info['country'] == &#8216;Taiwan&#8217; || $info['country'] == &#8216;Vietnam&#8217; || $info['country'] == &#8216;Thailand&#8217;)) {</p>
<p>$custom = array($method =&gt; &#8217;25.99&#8242;);</p>
<p>// Price Group 7</p>
<p>} elseif (($weight &lt;= &#8217;3&#8242;) &amp;&amp; ($info['country'] == &#8216;South Africa&#8217;)) {</p>
<p>$custom = array($method =&gt; &#8217;25.99&#8242;);</p>
<p>} elseif (($weight &lt;= &#8217;7&#8242;) &amp;&amp; ($info['country'] == &#8216;South Africa&#8217;)) {</p>
<p>$custom = array($method =&gt; &#8217;25.99&#8242;);</p>
<p>} elseif (($weight &lt;= &#8217;11&#8242;) &amp;&amp; ($info['country'] == &#8216;South Africa&#8217;)) {</p>
<p>$custom = array($method =&gt; &#8217;25.99&#8242;);</p>
<p>} elseif (($weight &lt;= &#8217;20&#8242;) &amp;&amp; ($info['country'] == &#8216;South Africa&#8217;)) {</p>
<p>$custom = array($method =&gt; &#8217;25.99&#8242;);</p>
<p>} elseif (($weight &lt;= &#8217;91&#8242;) &amp;&amp; ($info['country'] == &#8216;South Africa&#8217;)) {</p>
<p>$custom = array($method =&gt; &#8217;25.99&#8242;);</p>
<p>// Price Group 8</p>
<p>} elseif (($weight &lt;= &#8217;3&#8242;) &amp;&amp; ($info['country'] == &#8216;Egypt&#8217; || $info['country'] ==</p>
<p>&#8216;Israel&#8217; || $info['country'] == &#8216;Saudi Arabia&#8217; || $info['country'] == &#8216;United Arab Emirates&#8217;)) {</p>
<p>$custom = array($method =&gt; &#8217;25.99&#8242;);</p>
<p>} elseif (($weight &lt;= &#8217;7&#8242;) &amp;&amp; ($info['country'] == &#8216;Egypt&#8217; || $info['country'] ==</p>
<p>&#8216;Israel&#8217; || $info['country'] == &#8216;Saudi Arabia&#8217; || $info['country'] == &#8216;United Arab Emirates&#8217;)) {</p>
<p>$custom = array($method =&gt; &#8217;25.99&#8242;);</p>
<p>} elseif (($weight &lt;= &#8217;11&#8242;) &amp;&amp; ($info['country'] == &#8216;Egypt&#8217; || $info['country'] ==</p>
<p>&#8216;Israel&#8217; || $info['country'] == &#8216;Saudi Arabia&#8217; || $info['country'] == &#8216;United Arab Emirates&#8217;)) {</p>
<p>$custom = array($method =&gt; &#8217;25.99&#8242;);</p>
<p>} elseif (($weight &lt;= &#8217;20&#8242;) &amp;&amp; ($info['country'] == &#8216;Egypt&#8217; || $info['country'] ==</p>
<p>&#8216;Israel&#8217; || $info['country'] == &#8216;Saudi Arabia&#8217; || $info['country'] == &#8216;United Arab Emirates&#8217;)) {</p>
<p>$custom = array($method =&gt; &#8217;25.99&#8242;);</p>
<p>} elseif (($weight &lt;= &#8217;91&#8242;) &amp;&amp; ($info['country'] == &#8216;Egypt&#8217; || $info['country'] ==</p>
<p>&#8216;Israel&#8217; || $info['country'] == &#8216;Saudi Arabia&#8217; || $info['country'] == &#8216;United Arab Emirates&#8217;)) {</p>
<p>$custom = array($method =&gt; &#8217;25.99&#8242;);</p>
<p>// Price Group 9</p>
<p>} elseif (($weight &lt;= &#8217;3&#8242;) &amp;&amp; ($info['country'] == &#8216;Argentina&#8217; || $info['country'] ==<br />
&#8216;Bahamas&#8217; || $info['country'] == &#8216;Bermuda&#8217; || $info['country'] == &#8216;Brazil&#8217; || $info['country'] == &#8216;Chile&#8217;<br />
|| $info['country'] == &#8216;Colombia&#8217; || $info['country'] == &#8216;Jamaica&#8217; || $info['country'] == &#8216;Panama&#8217; || $info['country'] == &#8216;Peru&#8217; || $info['country'] == &#8216;Venezuela&#8217;)) {</p>
<p>$custom = array($method =&gt; &#8217;25.99&#8242;);</p>
<p>} elseif (($weight &lt;= &#8217;7&#8242;) &amp;&amp; ($info['country'] == &#8216;Argentina&#8217; || $info['country'] ==<br />
&#8216;Bahamas&#8217; || $info['country'] == &#8216;Bermuda&#8217; || $info['country'] == &#8216;Brazil&#8217; || $info['country'] == &#8216;Chile&#8217;<br />
|| $info['country'] == &#8216;Colombia&#8217; || $info['country'] == &#8216;Jamaica&#8217; || $info['country'] == &#8216;Panama&#8217; || $info['country'] == &#8216;Peru&#8217; || $info['country'] == &#8216;Venezuela&#8217;)) {</p>
<p>$custom = array($method =&gt; &#8217;25.99&#8242;);</p>
<p>} elseif (($weight &lt;= &#8217;11&#8242;) &amp;&amp; ($info['country'] == &#8216;Argentina&#8217; || $info['country'] ==<br />
&#8216;Bahamas&#8217; || $info['country'] == &#8216;Bermuda&#8217; || $info['country'] == &#8216;Brazil&#8217; || $info['country'] == &#8216;Chile&#8217;<br />
|| $info['country'] == &#8216;Colombia&#8217; || $info['country'] == &#8216;Jamaica&#8217; || $info['country'] == &#8216;Panama&#8217; || $info['country'] == &#8216;Peru&#8217; || $info['country'] == &#8216;Venezuela&#8217;)) {</p>
<p>$custom = array($method =&gt; &#8217;25.99&#8242;);</p>
<p>} elseif (($weight &lt;= &#8217;20&#8242;) &amp;&amp; ($info['country'] == &#8216;Argentina&#8217; || $info['country'] ==<br />
&#8216;Bahamas&#8217; || $info['country'] == &#8216;Bermuda&#8217; || $info['country'] == &#8216;Brazil&#8217; || $info['country'] == &#8216;Chile&#8217;<br />
|| $info['country'] == &#8216;Colombia&#8217; || $info['country'] == &#8216;Jamaica&#8217; || $info['country'] == &#8216;Panama&#8217; || $info['country'] == &#8216;Peru&#8217; || $info['country'] == &#8216;Venezuela&#8217;)) {</p>
<p>$custom = array($method =&gt; &#8217;25.99&#8242;);</p>
<p>} elseif (($weight &lt;= &#8217;91&#8242;) &amp;&amp; ($info['country'] == &#8216;Argentina&#8217; || $info['country'] ==<br />
&#8216;Bahamas&#8217; || $info['country'] == &#8216;Bermuda&#8217; || $info['country'] == &#8216;Brazil&#8217; || $info['country'] == &#8216;Chile&#8217;<br />
|| $info['country'] == &#8216;Colombia&#8217; || $info['country'] == &#8216;Jamaica&#8217; || $info['country'] == &#8216;Panama&#8217; || $info['country'] == &#8216;Peru&#8217; || $info['country'] == &#8216;Venezuela&#8217;)) {</p>
<p>$custom = array($method =&gt; &#8217;25.99&#8242;);</p>
<p>// Default Shipping Cost Any Other Country</p>
<p>} else {</p>
<p>$custom = array($method =&gt; &#8217;55.00&#8242;);</p>
<p>}</p>
<p>// Closing Returns</p>
<p>$this-&gt;globals(&#8216;ecom.customship_response&#8217;,$custom);</p>
]]></content:encoded>
			<wfw:commentRss>http://nancyfusco.com/wp/index.php/2009/02/php-script-for-calculating-shipping/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Leone Interiors project</title>
		<link>http://nancyfusco.com/wp/index.php/2009/01/leone-interiors-project/</link>
		<comments>http://nancyfusco.com/wp/index.php/2009/01/leone-interiors-project/#comments</comments>
		<pubDate>Mon, 19 Jan 2009 20:23:31 +0000</pubDate>
		<dc:creator>Nancy</dc:creator>
				<category><![CDATA[Web Projects]]></category>
		<category><![CDATA[design]]></category>
		<category><![CDATA[dreamweaver]]></category>
		<category><![CDATA[fireworks]]></category>
		<category><![CDATA[gallery]]></category>
		<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://nancyfusco.com/wp/?p=85</guid>
		<description><![CDATA[Clean and elegant website for Orlando based interior designer, Barbara Leone for Leone Interiors, Inc. Site was developed in Dreamweaver with Fireworks as the graphics editor. Style elements controlled with CSS. Gallery scripts from gallery.menalto.com.]]></description>
			<content:encoded><![CDATA[<p>Clean and elegant website for Orlando based interior designer, Barbara Leone for <a href="http://www.leoneinteriors.com/index.html" target="_blank">Leone Interiors, Inc</a>. Site was developed in Dreamweaver with Fireworks as the graphics editor. Style elements controlled with CSS. Gallery scripts from <a href="http://gallery.menalto.com" target="_blank">gallery.menalto.com</a>.</p>
<p><img class="alignnone size-full wp-image-86" title="leoneinteriors" src="http://nancyfusco.com/wp/wp-content/uploads/2009/01/leoneinteriors.png" alt="leoneinteriors" width="500" height="268" /></p>
]]></content:encoded>
			<wfw:commentRss>http://nancyfusco.com/wp/index.php/2009/01/leone-interiors-project/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>wvoheater project</title>
		<link>http://nancyfusco.com/wp/index.php/2009/01/wvoheater-project/</link>
		<comments>http://nancyfusco.com/wp/index.php/2009/01/wvoheater-project/#comments</comments>
		<pubDate>Mon, 19 Jan 2009 19:03:25 +0000</pubDate>
		<dc:creator>Nancy</dc:creator>
				<category><![CDATA[Web Projects]]></category>
		<category><![CDATA[cart]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[project]]></category>
		<category><![CDATA[shopping]]></category>

		<guid isPermaLink="false">http://nancyfusco.com/wp/?p=51</guid>
		<description><![CDATA[Web Development project completed in July 2008 for wvoheater.com. Following is the specifications outline of the project. I like to make these outlines before typing one line of code to make sure that the customer and I are on the same page for accomplishing the target objectives. Implementation Project Plan Shopping Cart System Introduction PHP [...]]]></description>
			<content:encoded><![CDATA[<p>Web Development project completed in July 2008 for <a href="http://www.wvoheater.com/store/index.php" target="_blank">wvoheater.com</a>. Following is the specifications outline of the project. <span id="more-51"></span> I like to make these outlines before typing one line of code to make sure that the customer and I are on the same page for accomplishing the target objectives.</p>
<h2>Implementation Project Plan<br />
Shopping Cart System</h2>
<h3>Introduction</h3>
<p>PHP Code, Database setup &amp; population, UI graphics, XHTML, and CSS design and development of web based shopping cart front-end and web based shopping cart administration area back-end.</p>
<h3>Project Timeline</h3>
<p>1.Design/color-scheme, CSS style sheets, layout structures, html text and graphics for UI, can commence on Thursday, XXXXX, 2008 and be completed by Friday, XXXXX, 2008.<br />
2.Database setup, population of categories/products, assignment of categories, featured products, cross-selling of products, can commence on Monday, XXXXX, 2008 and can be completed by Thursday, July XXXXX, 2008.<br />
3.Shopping cart code outline, writing, implementation and testing can commence on Monday, XXXXX, 2008 and be completed by Wednesday, XXXXX, 2008.<br />
4.Optimizing UI, code simplification, menu systems, and breadcrumbs throughout site can commence on Sunday, XXXXX, 2008 and can be completed by Monday, XXXXX, 2008.<br />
5.Shipping costs/rates configuration and specific code scripts for real-time calculation can commence on Monday, XXXXX, 2008 and can be completed by Wednesday, XXXXX, 2008.<br />
6.Final edits/adjustments/changes to any aspect of the shopping cart implementation to be completed by Tuesday, XXXXX, 2008.</p>
<h3>Project Specifications</h3>
<p>Discounts, Sales and Taxes<br />
Support for the entry of discount codes at checkout.<br />
Discount codes are set up using the web-based management interface.<br />
Discount codes can be set to expire one use or be of the non-expiring type.<br />
Discount codes can include/exclude certain items at the administrator&#8217;s discretion.<br />
Discounts can be done as a currency amount or percentage of the items ordered.<br />
Unused portions of currency amount discounts are saved for future use.<br />
Custom sale logic allows the administrator to use custom scripts to calculate sales at checkout.<br />
Taxes can be calculated for both State/Provinces and Countries.<br />
Items can be marked individually as tax exempt.<br />
Multiple taxation localities are supported.<br />
Payment processed securely thru PayPal API.</p>
<h4>Order Management, Reporting and Accounting Exports</h4>
<p>Order management functions include a fully searchable database table, the ability to enter shipping tracking numbers for ordered items and the ability to include comments.<br />
Customers have the ability to track their orders realtime using the front-end.<br />
Administrator based reports include: Administrator Access Log, Page View Reports and Daily, Month and Yearly Activity Reports<br />
Accounting exports are available for both Quickbooks &amp; Peachtree.<br />
Customer Care and Retention<br />
The program uses both cookies and URL management to ensure customer shopping carts are retained throughout the shopping experience.<br />
Customer account functions allow customers to set up accounts, edit them and retrieve lost passwords.<br />
Customers with accounts can save wishlists and address books as well as have full management of their accounts.<br />
Both the front-end and management interface have contact modules that allow for email based communication between customers and administrators.<br />
The program is delivered with a full-blown mail list program that allows the administrator to send text-only and/or XHTML-based email messages to subscribers.<br />
The mail list function allows customers to subscribe/unsubscribe via simple account links.</p>
<h4>Wholesale and Affiliate Systems</h4>
<p>The program comes with built-in affiliate and wholesale systems.<br />
At the administrator&#8217;s discretion, maximum payouts per order based on a currency amount or percentage can be set.<br />
The management interface has functions to activate affiliates and wholesalers and assign commission levels.<br />
Affiliate front-end functions include account upgrade requests, lost password retrieval, linking information and order &amp; sales reports.<br />
Set affiliate commissions and wholesale prices on either the product level or globally per-affiliate or per-wholesaler</p>
<h4>Dynamic Forms and Remote APIs</h4>
<p>Dynamic form function that allows for the setup of web-based forms using a simple management interface.<br />
Choose what types of form fields to present, the questions asked and the email address to which results from each form are sent.<br />
The shopping cart function has a remote API that allows for shopping cart additions to originate from outside HTML pages.</p>
<h4>Order Management, Reporting and Accounting Exports</h4>
<p>Order management functions include a fully searchable database table, the ability to enter shipping tracking numbers for ordered items and the ability to include comments.<br />
Customers have the ability to track their orders realtime using the front-end.<br />
Administrator based reports include: Administrator Access Log, Page View Reports and Daily, Month and Yearly Activity Reports<br />
Accounting exports are available for both Quickbooks &amp; Peachtree.</p>
<h4>Customer Care and Retention</h4>
<p>The program uses both cookies and URL management to ensure customer shopping carts are retained throughout the shopping experience.<br />
Customer account functions allow customers to set up accounts, edit them and retrieve lost passwords.<br />
Customers with accounts can save wishlists and address books as well as have full management of their accounts.<br />
Both the front-end and management interface have contact modules that allow for email based communication between customers and administrators.<br />
The program is delivered with a full-blown mail list program that allows the administrator to send text-only and/or XHTML-based email messages to subscribers.<br />
The mail list function allows customers to subscribe/unsubscribe via simple account links.</p>
<h4>Wholesale and Affiliate Systems</h4>
<p>The program comes with built-in affiliate and wholesale systems.<br />
At the administrator&#8217;s discretion, maximum payouts per order based on a currency amount or percentage can be set.<br />
The management interface has functions to activate affiliates and wholesalers and assign commission levels.<br />
Affiliate front-end functions include account upgrade requests, lost password retrieval, linking information and order &amp; sales reports.<br />
Set affiliate commissions and wholesale prices on either the product level or globally per-affiliate or per-wholesaler</p>
<h4>Web-Based Management Interface</h4>
<p>All configuration and modifications to the shopping cart will be web-based, thru a secure administration area off the main website.<br />
Password-protected, MD5 hash encryption, administrative access.<br />
Manage your site from anywhere &#8211; all you need is an Internet connection.<br />
Set up multiple users and user groups with different levels of access.<br />
Make changes to the site in real time.</p>
<h4>File Management Functions</h4>
<p>Full file management functions will be available within the web-based management interface.<br />
The management interface will have functions to upload and manage image and media files and to associated these files with specific products.<br />
The management interface will have functions to upload and manage downloadable files available for purchase as a product.</p>
<h4>Operating/Web Server Platform</h4>
<p>Unix/Linux Apache Server</p>
<h4>Database/Language Platform</h4>
<p>MySQL/PHP</p>
<h4>PHP Configuration</h4>
<p>PHP version: PHP 4.3.0 or newer including PHP5.<br />
PHP.ini: safe_mode set to Off.<br />
PHP.ini: magic_quotes_runtime set to Off.<br />
PHP.ini: file_uploads set to On.<br />
PHP extension: cURL must be loaded.</p>
<h4>Mail Configuration</h4>
<p>Sending mail via an SMTP server (authorization supported) and as a backup sending mail via the sendmail executable.</p>
]]></content:encoded>
			<wfw:commentRss>http://nancyfusco.com/wp/index.php/2009/01/wvoheater-project/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Darden Restaurants Project &#8211; Olivegarden.com</title>
		<link>http://nancyfusco.com/wp/index.php/2009/01/darden-restaurants-project-olivegardencom/</link>
		<comments>http://nancyfusco.com/wp/index.php/2009/01/darden-restaurants-project-olivegardencom/#comments</comments>
		<pubDate>Mon, 19 Jan 2009 18:59:27 +0000</pubDate>
		<dc:creator>Nancy</dc:creator>
				<category><![CDATA[Web Projects]]></category>
		<category><![CDATA[asp]]></category>
		<category><![CDATA[sql]]></category>

		<guid isPermaLink="false">http://nancyfusco.com/wp/?p=151</guid>
		<description><![CDATA[6 month project as a contractor with Darden Restaurants, primarily working on the olivegarden.com website. Overview of project responsibilities: Updated asp web pages to pull new menu and updated menu prices from a SQL database. Menu web pages would customize based on the site visitor&#8217;s zipcode in the cookie.  These asp web pages would be [...]]]></description>
			<content:encoded><![CDATA[<p>6 month project as a contractor with Darden Restaurants, primarily working on the olivegarden.com website. Overview of project responsibilities:</p>
<p>Updated asp web pages to pull new menu and updated menu prices from a SQL database. <span id="more-151"></span> Menu web pages would customize based on the site visitor&#8217;s zipcode in the cookie.  These asp web pages would be edited with conditional query strings, pulling from different sql tables to display correct prices, items, and locations.</p>
<p>Input changes and new content directly into the SQL tables. Used those id&#8217;s in the asp pages to generate new location pages and/or updates in menu pricing that was displayed to the site visitor.</p>
<p>Edited graphics sent from the Marketing team to fit on the webpages layout. For example, during the Christmas marketing campaign, they sent over the holiday gift card designs. I cropped, resized and sliced the graphics to fit on the olivegarden.com homepage. Modified the html to link to the shopping area, where visitors could purchase these gift cards.</p>
<p>Used Teamsite to create, edit and publish web pages to the live site.</p>
]]></content:encoded>
			<wfw:commentRss>http://nancyfusco.com/wp/index.php/2009/01/darden-restaurants-project-olivegardencom/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Site concept for bookyourartist.com</title>
		<link>http://nancyfusco.com/wp/index.php/2009/01/site-concept-for-bookyourartistcom/</link>
		<comments>http://nancyfusco.com/wp/index.php/2009/01/site-concept-for-bookyourartistcom/#comments</comments>
		<pubDate>Mon, 19 Jan 2009 18:34:26 +0000</pubDate>
		<dc:creator>Nancy</dc:creator>
				<category><![CDATA[Web Projects]]></category>
		<category><![CDATA[concept]]></category>
		<category><![CDATA[design]]></category>

		<guid isPermaLink="false">http://nancyfusco.com/wp/?p=90</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<p><a href="http://nancyfusco.com/wp/wp-content/uploads/2009/01/bookyourartist.png"><img class="alignnone size-full wp-image-103" title="bookyourartist" src="http://nancyfusco.com/wp/wp-content/uploads/2009/01/bookyourartist.png" alt="bookyourartist" width="550" height="413" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://nancyfusco.com/wp/index.php/2009/01/site-concept-for-bookyourartistcom/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Lakehart Training Lab project</title>
		<link>http://nancyfusco.com/wp/index.php/2009/01/lakehart-training-lab-project/</link>
		<comments>http://nancyfusco.com/wp/index.php/2009/01/lakehart-training-lab-project/#comments</comments>
		<pubDate>Mon, 19 Jan 2009 13:38:46 +0000</pubDate>
		<dc:creator>Nancy</dc:creator>
				<category><![CDATA[Web Projects]]></category>
		<category><![CDATA[asp]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[project]]></category>
		<category><![CDATA[sql]]></category>

		<guid isPermaLink="false">http://nancyfusco.com/wp/?p=56</guid>
		<description><![CDATA[Here&#8217;s a summary of a project I worked on while at Campus Crusade. We worked on NT/IIS web servers with ASP, SQL and Access. I did several of these types of projects for different internal departments. For this project we used Microsoft Visual Interdev for development. The available classes, schedules, instructors, number of seats available, [...]]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s a summary of a project I worked on while at Campus Crusade. We worked on NT/IIS web servers with ASP, SQL and Access. I did several of these types of projects for different internal departments.</p>
<p>For this project we used Microsoft Visual Interdev for development. The available classes, schedules, instructors, number of seats available, and costs were stored in a SQL database. We used ASP web pages to display a current list of classes. Then a user could register for a class thru the online site and it would update the database with the information. <span id="more-56"></span></p>
<p>This was also tied into a SQL database of the company library, where users (employees) could search for a book, verify its availability, and check it out via the website.</p>
<p>Then, we setup a web-based administration. Where training lab employees could add, edit, and delete information in these databases right from a web page, using ASP.</p>
<p>Here are a few screen shots of this project as it was being developed:</p>
<p><img class="alignnone size-medium wp-image-57" title="lh_training_lab1" src="http://nancyfusco.com/wp/wp-content/uploads/2009/01/lh_training_lab1-300x225.png" alt="lh_training_lab1" width="300" height="225" /></p>
<p><img class="alignnone size-medium wp-image-58" title="lh_training_lab2" src="http://nancyfusco.com/wp/wp-content/uploads/2009/01/lh_training_lab2-284x300.png" alt="lh_training_lab2" width="284" height="300" /></p>
]]></content:encoded>
			<wfw:commentRss>http://nancyfusco.com/wp/index.php/2009/01/lakehart-training-lab-project/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Site concept for inspiredbynoel.com</title>
		<link>http://nancyfusco.com/wp/index.php/2009/01/site-concept-for-inspiredbynoelcom/</link>
		<comments>http://nancyfusco.com/wp/index.php/2009/01/site-concept-for-inspiredbynoelcom/#comments</comments>
		<pubDate>Mon, 19 Jan 2009 12:57:58 +0000</pubDate>
		<dc:creator>Nancy</dc:creator>
				<category><![CDATA[Web Projects]]></category>
		<category><![CDATA[concept]]></category>
		<category><![CDATA[design]]></category>

		<guid isPermaLink="false">http://nancyfusco.com/wp/?p=95</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<p><a href="http://nancyfusco.com/wp/wp-content/uploads/2009/01/inspiredbynoel.png"><img class="alignnone size-full wp-image-96" title="inspiredbynoel" src="http://nancyfusco.com/wp/wp-content/uploads/2009/01/inspiredbynoel.png" alt="inspiredbynoel" width="550" height="413" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://nancyfusco.com/wp/index.php/2009/01/site-concept-for-inspiredbynoelcom/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Human Resources Applicant Tracking project</title>
		<link>http://nancyfusco.com/wp/index.php/2009/01/human-resources-applicant-tracking-project/</link>
		<comments>http://nancyfusco.com/wp/index.php/2009/01/human-resources-applicant-tracking-project/#comments</comments>
		<pubDate>Sun, 18 Jan 2009 19:09:27 +0000</pubDate>
		<dc:creator>Nancy</dc:creator>
				<category><![CDATA[Web Projects]]></category>
		<category><![CDATA[asp]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[hr]]></category>
		<category><![CDATA[human resources]]></category>
		<category><![CDATA[project]]></category>
		<category><![CDATA[sql]]></category>

		<guid isPermaLink="false">http://nancyfusco.com/wp/?p=71</guid>
		<description><![CDATA[Here&#8217;s another project I worked on at Campus Crusade. This was also developed in ASP/SQL. The internal department was Human Resources. I developed a system for them to track applicants and jobs. Here&#8217;s a few screenshots of this project in process: The search page, where a HR team member could search by date, last name, [...]]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s another project I worked on at Campus Crusade. This was also developed in ASP/SQL. The internal department was Human Resources. I developed a system for them to track applicants and jobs. <span id="more-71"></span> Here&#8217;s a few screenshots of this project in process:</p>
<p>The search page, where a HR team member could search by date, last name, job title, etc. This would then query the SQL database from this ASP page. Also when they clicked on a tab, it would display only that portion of an applicant&#8217;s record.</p>
<p><img class="alignnone size-full wp-image-74" title="hr_app21" src="http://nancyfusco.com/wp/wp-content/uploads/2009/01/hr_app21.png" alt="hr_app21" width="500" height="306" /></p>
<p>Then if the HR team member wanted to add notes about contacting or hiring this individual they would edit the record from the Applicant Tracking tab. Clicking on the edit button would retrieve the record in writeable format and once the HR team member added information and clicked Save, the record would be instantly updated in the SQL database.</p>
<p><img class="alignnone size-full wp-image-75" title="hr_app3" src="http://nancyfusco.com/wp/wp-content/uploads/2009/01/hr_app3.png" alt="hr_app3" width="498" height="307" /></p>
]]></content:encoded>
			<wfw:commentRss>http://nancyfusco.com/wp/index.php/2009/01/human-resources-applicant-tracking-project/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>911 NYC Volunteer project</title>
		<link>http://nancyfusco.com/wp/index.php/2009/01/911-ny-volunteer-project/</link>
		<comments>http://nancyfusco.com/wp/index.php/2009/01/911-ny-volunteer-project/#comments</comments>
		<pubDate>Sun, 18 Jan 2009 15:15:55 +0000</pubDate>
		<dc:creator>Nancy</dc:creator>
				<category><![CDATA[Web Projects]]></category>
		<category><![CDATA[asp]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[project]]></category>
		<category><![CDATA[sql]]></category>

		<guid isPermaLink="false">http://nancyfusco.com/wp/?p=78</guid>
		<description><![CDATA[This was also developed in ASP/SQL. Campus Crusade published a magazine to reach out to people and organize volunteers in NYC after the 911 tragedy. This was a real-time database coordinating the volunteers and their outreach efforts throughout the city and metro NY area.]]></description>
			<content:encoded><![CDATA[<p>This was also developed in ASP/SQL. Campus Crusade published a magazine to reach out to people and organize volunteers in NYC after the 911 tragedy. This was a real-time database coordinating the volunteers and their outreach efforts throughout the city and metro NY area.<br />
<img src="http://nancyfusco.com/wp/wp-content/uploads/2009/01/vol_connect1.png" alt="vol_connect1" title="vol_connect1" width="407" height="238" class="alignnone size-full wp-image-79" /></p>
]]></content:encoded>
			<wfw:commentRss>http://nancyfusco.com/wp/index.php/2009/01/911-ny-volunteer-project/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

