<?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>Free Web Resources - Web Resources Depot &#187; E-Commerce</title>
	<atom:link href="http://www.webresourcesdepot.com/category/extras/e-commerce/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.webresourcesdepot.com</link>
	<description>Free Web Resources</description>
	<lastBuildDate>Sat, 21 Nov 2009 10:00:46 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Open Source ASP.NET Shopping Cart: nopCommerce</title>
		<link>http://www.webresourcesdepot.com/open-source-asp-net-shopping-cart-nopcommerce/</link>
		<comments>http://www.webresourcesdepot.com/open-source-asp-net-shopping-cart-nopcommerce/#comments</comments>
		<pubDate>Thu, 05 Nov 2009 06:36:17 +0000</pubDate>
		<dc:creator>Umut M.</dc:creator>
				<category><![CDATA[E-Commerce]]></category>
		<category><![CDATA[Extras]]></category>
		<category><![CDATA[Other License]]></category>
		<category><![CDATA[Asp.Net]]></category>
		<category><![CDATA[MSSQL]]></category>

		<guid isPermaLink="false">http://www.webresourcesdepot.com/?p=1261</guid>
		<description><![CDATA[
	nopCommerce is an open source shopping cart software that is built with ASP.NET &#38; uses MSSQL for storing the data.

	It comes with a powerful backend &#38; highly customizable frontend.

	

	nopCommerce has all the features of a standard e-commerce websites &#38; offers more like:


		support for kit products (e.g. build your own computer)

		real-time currency exchange rates

		multilingual interface

		compare selected [...]]]></description>
			<content:encoded><![CDATA[<p>
	<a href="http://www.nopcommerce.com/" target="_blank"><strong>nopCommerce</strong></a> is an <strong>open source shopping cart software</strong> that is built with <strong>ASP.NET</strong> &amp; uses <strong>MSSQL</strong> for storing the data.</p>
<p>
	It comes with a powerful backend &amp; highly customizable frontend.</p>
<p>
	<a href="Open Source ASP.NET Shopping Cart" target="_blank"><img alt="Open Source ASP.NET Shopping Cart" height="184" src="http://www.webresourcesdepot.com/wp-content/uploads/image/open-source-asp-net-cart.jpg" width="480" /></a></p>
<p>
	<strong>nopCommerce</strong> has all the features of a standard e-commerce websites &amp; offers more like:</p>
<ul>
<li>
		<span id="ctl00_ctl00_cph1_cph1_topicFeatureList_lblBody">support for kit products (e.g. build your own computer)</span></li>
<li>
		<span id="ctl00_ctl00_cph1_cph1_topicFeatureList_lblBody">real-time currency exchange rates</span></li>
<li>
		<span>multilingual interface</span></li>
<li>
		<span>compare selected products</span></li>
<li>
		highly flexible shipping calculation (integrated providers, width/height/order total based &amp; more)</li>
<li>
		tax calculations by country/state/product &amp; more</li>
<li>
		built-in forum &amp; polls</li>
<li>
		wishlist</li>
</ul>
<p>
	One of the most impressive parts of the software is the <strong>integrated marketing capabilities</strong> it has. You can customize the design of a product or category page, create <strong>any type of discounts</strong> &amp; even activate an <strong>affiliate system</strong>.</p>
<p>
	<strong>nopCommerce</strong> supports most of the popular payment gateways &amp; with <span id="ctl00_ctl00_cph1_cph1_topicFeatureList_lblBody">its pluggable modular/layered architecture, new ones can be added with ease (<a href="http://www.webresourcesdepot.com/" target="_blank">some are already created</a>).<br />
	</span></p>
<p><strong>Special Downloads:</strong><br />
<a href="http://www.webresourcesdepot.com/?download=jBasket" target="_blank">Ajaxed Add-To-Basket Scenarios With jQuery And PHP</a><br />
<a href="http://www.webresourcesdepot.com/?download=Free-Admin-Template" target="_blank">Free Admin Template For Web Applications</a><br />
<a href="http://www.webresourcesdepot.com/?download=jQuery-Dynamic-Drag-Drop" target="_blank">jQuery Dynamic Drag&#8217;n Drop</a><br />
<a href="http://www.webresourcesdepot.com/?download=sTwitter-1-0" target="_blank">ScheduledTweets</a></p>
<p><strong>Advertisements:</strong><br />
<a href="http://www.sslmatic.com" target="_blank">SSLmatic &#8211; Cheap SSL Certificates (from $19.99/year)</a><br />
<a href="http://twitter.com/umutm" target="_blank">Follow WebResourcesDepot At Twitter And Get More Resources!</a></p>

	Tags: <a href="http://www.webresourcesdepot.com/tag/aspnet/" title="Asp.Net" rel="tag">Asp.Net</a>, <a href="http://www.webresourcesdepot.com/tag/mssql/" title="MSSQL" rel="tag">MSSQL</a><br />

	<h4>Related posts</h4>
	<ul class='st-related-posts'>
	<li><a href="http://www.webresourcesdepot.com/powerful-cms-for-asp-net-kentico-cms/" title="Powerful CMS For ASP.NET: Kentico CMS (September 14, 2009)">Powerful CMS For ASP.NET: Kentico CMS</a></li>
	<li><a href="http://www.webresourcesdepot.com/open-source-cms-with-aspnet-umbraco/" title="Open Source CMS With ASP.NET: Umbraco (April 2, 2008)">Open Source CMS With ASP.NET: Umbraco</a></li>
	<li><a href="http://www.webresourcesdepot.com/free-lifestream-application-amplifeeder/" title="Free Lifestream Application: AmpliFeeder (May 27, 2009)">Free Lifestream Application: AmpliFeeder</a></li>
	<li><a href="http://www.webresourcesdepot.com/free-aspnet-shopping-cart-dashcommerce/" title="Free ASP.NET Shopping Cart: dashCommerce (February 15, 2008)">Free ASP.NET Shopping Cart: dashCommerce</a></li>
	<li><a href="http://www.webresourcesdepot.com/9-free-and-open-source-bug-tracking-softwares/" title="9 Free And Open Source Bug Tracking Softwares (March 16, 2009)">9 Free And Open Source Bug Tracking Softwares</a></li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://www.webresourcesdepot.com/open-source-asp-net-shopping-cart-nopcommerce/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Ajaxed Drag&#8217;n Drop Shopping Cart With jQuery &amp; PHP</title>
		<link>http://www.webresourcesdepot.com/ajaxed-dragn-drop-shopping-cart-with-jquery-php/</link>
		<comments>http://www.webresourcesdepot.com/ajaxed-dragn-drop-shopping-cart-with-jquery-php/#comments</comments>
		<pubDate>Sun, 20 Sep 2009 07:44:16 +0000</pubDate>
		<dc:creator>Umut M.</dc:creator>
				<category><![CDATA[E-Commerce]]></category>
		<category><![CDATA[Extras]]></category>
		<category><![CDATA[License Free]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Mysql]]></category>
		<category><![CDATA[Php]]></category>

		<guid isPermaLink="false">http://www.webresourcesdepot.com/?p=1172</guid>
		<description><![CDATA[Tutorialzine is sharing a beautiful tutorial (with source) on creating an Ajaxed drag&#8217;n drop shopping cart with jQuery &#38; PHP.
It uses MySQL for storing the data &#38; simpleTip plugin for displaying information about the products with style.

It takes advantage of the jQuery UI&#8217;s draggable &#38; droppable behaviours to accomplish the flawless experience.
The shopping cart is [...]]]></description>
			<content:encoded><![CDATA[<p><a target="_blank" href="http://tutorialzine.com/"><strong>Tutorialzine</strong></a> is <a target="_blank" href="http://tutorialzine.com/2009/09/shopping-cart-php-jquery/">sharing a beautiful tutorial (with source)</a> on creating an <strong>Ajaxed drag&#8217;n drop shopping cart with jQuery &amp; PHP</strong>.</p>
<p>It uses <strong>MySQL</strong> for storing the data &amp; <a target="_blank" href="http://craigsworks.com/projects/simpletip/">simpleTip plugin</a> for displaying information about the products with style.</p>
<p><a href="http://tutorialzine.com/2009/09/shopping-cart-php-jquery/" target="_blank"><img width="480" height="211" src="http://www.webresourcesdepot.com/wp-content/uploads/image/dragn-drop-shopping-cart.jpg" alt="Drag'n Drop Shopping Cart" /></a></p>
<p>It takes advantage of the <strong>jQuery UI&#8217;s draggable &amp; droppable behaviours</strong> to accomplish the flawless experience.</p>
<p>The shopping cart is not a ready-to-go one for an e-commerce website but it is a nice base for creating one by improving the features.</p>
<p><strong>Tip:</strong> <strong>Tutorialzine</strong> provides other nice tutorials which you may be interested in like:</p>
<ul>
<li><a target="_blank" href="http://tutorialzine.com/2009/09/stylish-navigation-menu-jquery/">A Stylish Navigation Menu With jQuery</a></li>
<li><a href="http://tutorialzine.com/2009/08/creating-a-facebook-like-registration-form-with-jquery/" target="_blank">Creating a Facebook-like Registration Form with jQuery</a></li>
</ul>
<p><strong>Special Downloads:</strong><br />
<a href="http://www.webresourcesdepot.com/?download=jBasket" target="_blank">Ajaxed Add-To-Basket Scenarios With jQuery And PHP</a><br />
<a href="http://www.webresourcesdepot.com/?download=Free-Admin-Template" target="_blank">Free Admin Template For Web Applications</a><br />
<a href="http://www.webresourcesdepot.com/?download=jQuery-Dynamic-Drag-Drop" target="_blank">jQuery Dynamic Drag&#8217;n Drop</a><br />
<a href="http://www.webresourcesdepot.com/?download=sTwitter-1-0" target="_blank">ScheduledTweets</a></p>
<p><strong>Advertisements:</strong><br />
<a href="http://www.sslmatic.com" target="_blank">SSLmatic &#8211; Cheap SSL Certificates (from $19.99/year)</a><br />
<a href="http://twitter.com/umutm" target="_blank">Follow WebResourcesDepot At Twitter And Get More Resources!</a></p>

	Tags: <a href="http://www.webresourcesdepot.com/tag/javascript/" title="Javascript" rel="tag">Javascript</a>, <a href="http://www.webresourcesdepot.com/tag/mysql/" title="Mysql" rel="tag">Mysql</a>, <a href="http://www.webresourcesdepot.com/tag/php/" title="Php" rel="tag">Php</a><br />

	<h4>Related posts</h4>
	<ul class='st-related-posts'>
	<li><a href="http://www.webresourcesdepot.com/testswarm-continious-distributed-js-testing/" title="TestSwarm: Continious &#038; Distributed JS Testing (August 27, 2009)">TestSwarm: Continious &#038; Distributed JS Testing</a></li>
	<li><a href="http://www.webresourcesdepot.com/php-shoutbox-script-wtag/" title="PHP Shoutbox Script: wTag (June 22, 2008)">PHP Shoutbox Script: wTag</a></li>
	<li><a href="http://www.webresourcesdepot.com/display-mysql-data-in-google-maps-using-drasticmap/" title="Display MySQL Data In Google Maps Using DrasticMap (February 27, 2008)">Display MySQL Data In Google Maps Using DrasticMap</a></li>
	<li><a href="http://www.webresourcesdepot.com/creating-a-slick-ajaxed-add-to-basket-with-jquery-and-php/" title="Creating A Slick Ajaxed Add-To-Basket With jQuery And PHP (July 27, 2009)">Creating A Slick Ajaxed Add-To-Basket With jQuery And PHP</a></li>
	<li><a href="http://www.webresourcesdepot.com/ajax-star-rating-with-php-mysql/" title="Ajax Star Rating With PHP &#038; MySQL (January 19, 2009)">Ajax Star Rating With PHP &#038; MySQL</a></li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://www.webresourcesdepot.com/ajaxed-dragn-drop-shopping-cart-with-jquery-php/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Flexible, Feature-Rich &amp; Instant E-Commerce Websites: BigCommerce</title>
		<link>http://www.webresourcesdepot.com/flexible-feature-rich-instant-e-commerce-websites-bigcommerce/</link>
		<comments>http://www.webresourcesdepot.com/flexible-feature-rich-instant-e-commerce-websites-bigcommerce/#comments</comments>
		<pubDate>Mon, 07 Sep 2009 09:01:27 +0000</pubDate>
		<dc:creator>Umut M.</dc:creator>
				<category><![CDATA[E-Commerce]]></category>
		<category><![CDATA[Extras]]></category>
		<category><![CDATA[Other License]]></category>
		<category><![CDATA[Reviews & Giveaways]]></category>
		<category><![CDATA[2Checkout]]></category>
		<category><![CDATA[Google Checkout]]></category>
		<category><![CDATA[PayPal]]></category>

		<guid isPermaLink="false">http://www.webresourcesdepot.com/?p=1151</guid>
		<description><![CDATA[BigCommerce is an easy-to-use hosted e-commerce software which makes your store up &#38; running so quickly.
It can be totally customized as you have full access to HTML/CSS via FTP &#38; there are 50+ ready-to-use store designs that can be applied with few clicks.
BigCommerce is integrated with almost every payment, shipping &#38; accounting system you can [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.bigcommerce.com/" target="_blank"><img height="36" width="160" align="left" src="http://www.webresourcesdepot.com/wp-content/uploads/image/bigcommerce-logo.gif" alt="BigCommerce Logo" style="margin-right: 5px;" /></a><a href="http://www.bigcommerce.com/" target="_blank"><strong>BigCommerce</strong></a> is an easy-to-use hosted e-commerce software which makes your store up &amp; running so quickly.</p>
<p>It can be totally customized as you <strong>have full access to HTML/CSS via FTP</strong> &amp; there are <strong>50+ ready-to-use store designs</strong> that can be applied with few clicks.</p>
<p><strong>BigCommerce</strong> is <strong>integrated with almost every payment, shipping &amp; accounting system</strong> you can think of. Optionally, it offers <a href="http://www.bigcommerce.com/merchant-accounts.php" target="_blank">its own merchant account system</a> with under-the-market rates.</p>
<p>The software is <strong>fully optimized for SEO</strong> from valid W3C templates to automatically generated sitemap XML file &amp; SEO-firendly links.</p>
<p><a href="http://www.bigcommerce.com/" target="_blank"><img height="161" width="480" src="http://www.webresourcesdepot.com/wp-content/uploads/image/bigcommerce.jpg" alt="BigCommerce" /></a></p>
<p>Besides the products, it is possible to create &amp; share any content (like return policies, promotion details) with its <strong>CMS functionality</strong>.</p>
<p>The software <strong>offers a quality usability experience to customers</strong> with features like:</p>
<ul>
<li>one-click adding to cart</li>
<li>ability to compare products</li>
<li>tracking orders</li>
<li>wishlists (public &amp; private)</li>
<li>single page &amp; guest checkout</li>
<li>powerful search system (suggestions, filtering by price/availability, etc.)</li>
<li>&amp; many more</li>
</ul>
<p>It has <strong>everything to market the products easily</strong> like</p>
<ul>
<li>trackable coupon codes</li>
<li>bulk discounts per product</li>
<li>ability to create custom discount rules</li>
<li>free shipping for purchases over $x</li>
<li>affiliate system</li>
<li>&amp; more..</li>
</ul>
<p>As <strong>BigCommerce</strong> is a hosted software, <strong>it comes with an included premium hosting</strong> with daily offsite backups, unlimited e-mails &amp; top-notch security.</p>
<p>To sum up,<strong> the software offers more than anything a store owner can expect</strong>. It is a great choice for anyone who wants to run their stores without any  technical hassle &amp; get official support.</p>
<p><strong>P.S.</strong> This post is a sponsored review.</p>
<p><strong>Special Downloads:</strong><br />
<a href="http://www.webresourcesdepot.com/?download=jBasket" target="_blank">Ajaxed Add-To-Basket Scenarios With jQuery And PHP</a><br />
<a href="http://www.webresourcesdepot.com/?download=Free-Admin-Template" target="_blank">Free Admin Template For Web Applications</a><br />
<a href="http://www.webresourcesdepot.com/?download=jQuery-Dynamic-Drag-Drop" target="_blank">jQuery Dynamic Drag&#8217;n Drop</a><br />
<a href="http://www.webresourcesdepot.com/?download=sTwitter-1-0" target="_blank">ScheduledTweets</a></p>
<p><strong>Advertisements:</strong><br />
<a href="http://www.sslmatic.com" target="_blank">SSLmatic &#8211; Cheap SSL Certificates (from $19.99/year)</a><br />
<a href="http://twitter.com/umutm" target="_blank">Follow WebResourcesDepot At Twitter And Get More Resources!</a></p>

	Tags: <a href="http://www.webresourcesdepot.com/tag/2checkout/" title="2Checkout" rel="tag">2Checkout</a>, <a href="http://www.webresourcesdepot.com/tag/google-checkout/" title="Google Checkout" rel="tag">Google Checkout</a>, <a href="http://www.webresourcesdepot.com/tag/paypal/" title="PayPal" rel="tag">PayPal</a><br />

	<h4>Related posts</h4>
	<ul class='st-related-posts'>
	<li><a href="http://www.webresourcesdepot.com/simplecartjs-v2-still-simple-but-more-powerful/" title="simpleCart(js) V2: Still Simple But More Powerful (August 11, 2009)">simpleCart(js) V2: Still Simple But More Powerful</a></li>
	<li><a href="http://www.webresourcesdepot.com/simplecartjs-instant-e-commerce-with-paypal-support/" title="simpleCart(js): Instant E-Commerce With PayPal Support (November 5, 2008)">simpleCart(js): Instant E-Commerce With PayPal Support</a></li>
	<li><a href="http://www.webresourcesdepot.com/open-source-shopping-cart-opencart/" title="Open Source Shopping Cart: OpenCart (April 19, 2009)">Open Source Shopping Cart: OpenCart</a></li>
	<li><a href="http://www.webresourcesdepot.com/free-file-hosting-script-xtraupload/" title="Free File Hosting Script: XtraUpload (March 20, 2009)">Free File Hosting Script: XtraUpload</a></li>
	<li><a href="http://www.webresourcesdepot.com/create-flash-websites-with-ease-wix/" title="Create Flash Websites With Ease: Wix (June 23, 2009)">Create Flash Websites With Ease: Wix</a></li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://www.webresourcesdepot.com/flexible-feature-rich-instant-e-commerce-websites-bigcommerce/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>simpleCart(js) V2: Still Simple But More Powerful</title>
		<link>http://www.webresourcesdepot.com/simplecartjs-v2-still-simple-but-more-powerful/</link>
		<comments>http://www.webresourcesdepot.com/simplecartjs-v2-still-simple-but-more-powerful/#comments</comments>
		<pubDate>Tue, 11 Aug 2009 06:20:39 +0000</pubDate>
		<dc:creator>Umut M.</dc:creator>
				<category><![CDATA[CC License]]></category>
		<category><![CDATA[E-Commerce]]></category>
		<category><![CDATA[Extras]]></category>
		<category><![CDATA[Google Checkout]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[PayPal]]></category>

		<guid isPermaLink="false">http://www.webresourcesdepot.com/?p=1103</guid>
		<description><![CDATA[simpleCart(js), a very simple but smart shopping cart that was shared on WRD, now has a new version with more features.
The application is an upload &#38; use shopping cart where no database is required and can be integrated into any website so easily.

It works by including a JavaScript file into the webpages and usage of [...]]]></description>
			<content:encoded><![CDATA[<p><a target="_blank" href="http://simplecartjs.com/"><strong>simpleCart(js)</strong></a>, a very simple but smart shopping cart that was <a href="http://www.webresourcesdepot.com/simplecartjs-instant-e-commerce-with-paypal-support/">shared on WRD</a>, now has a new version with more features.</p>
<p>The application is an <strong>upload &amp; use shopping cart</strong> where no database is required and can be integrated into any website so easily.</p>
<p><a target="_blank" href="http://simplecartjs.com/"><img height="170" width="480" alt="JavaScript Shopping Cart - simpleCart(js)" src="http://www.webresourcesdepot.com/wp-content/uploads/image/javascript-shopping-cart.jpg" /></a></p>
<p>It works by including a JavaScript file into the webpages and <strong>usage of special <code>class</code>es</strong>. As an example:</p>
<p><code>&lt;div class=&quot;simpleCart_items&quot;&gt;&lt;/div&gt;</code></p>
<p>will display the full cart, no other code needed.</p>
<p>With the V2, it supports both <strong>PayPal + Google Checkout</strong> as the payment providers &amp; <strong>multiple currencies/tax rates</strong> can be used.</p>
<p><strong>Special Downloads:</strong><br />
<a href="http://www.webresourcesdepot.com/?download=jBasket" target="_blank">Ajaxed Add-To-Basket Scenarios With jQuery And PHP</a><br />
<a href="http://www.webresourcesdepot.com/?download=Free-Admin-Template" target="_blank">Free Admin Template For Web Applications</a><br />
<a href="http://www.webresourcesdepot.com/?download=jQuery-Dynamic-Drag-Drop" target="_blank">jQuery Dynamic Drag&#8217;n Drop</a><br />
<a href="http://www.webresourcesdepot.com/?download=sTwitter-1-0" target="_blank">ScheduledTweets</a></p>
<p><strong>Advertisements:</strong><br />
<a href="http://www.sslmatic.com" target="_blank">SSLmatic &#8211; Cheap SSL Certificates (from $19.99/year)</a><br />
<a href="http://twitter.com/umutm" target="_blank">Follow WebResourcesDepot At Twitter And Get More Resources!</a></p>

	Tags: <a href="http://www.webresourcesdepot.com/tag/google-checkout/" title="Google Checkout" rel="tag">Google Checkout</a>, <a href="http://www.webresourcesdepot.com/tag/javascript/" title="Javascript" rel="tag">Javascript</a>, <a href="http://www.webresourcesdepot.com/tag/paypal/" title="PayPal" rel="tag">PayPal</a><br />

	<h4>Related posts</h4>
	<ul class='st-related-posts'>
	<li><a href="http://www.webresourcesdepot.com/flexible-feature-rich-instant-e-commerce-websites-bigcommerce/" title="Flexible, Feature-Rich &#038; Instant E-Commerce Websites: BigCommerce (September 7, 2009)">Flexible, Feature-Rich &#038; Instant E-Commerce Websites: BigCommerce</a></li>
	<li><a href="http://www.webresourcesdepot.com/zoom-script-with-a-smart-interface-tjpzoom/" title="Zoom Script With A Smart Interface: TJPzoom (September 4, 2008)">Zoom Script With A Smart Interface: TJPzoom</a></li>
	<li><a href="http://www.webresourcesdepot.com/yui-slideshow-customizable-and-animated-slideshows/" title="YUI Slideshow: Customizable And Animated Slideshows (August 12, 2009)">YUI Slideshow: Customizable And Animated Slideshows</a></li>
	<li><a href="http://www.webresourcesdepot.com/what-you-see-is-what-you-ajax-wavemaker/" title="What You See Is What You Ajax: WaveMaker (March 5, 2008)">What You See Is What You Ajax: WaveMaker</a></li>
	<li><a href="http://www.webresourcesdepot.com/wforms-easy-javascript-form-controls/" title="wForms: Easy JavaScript Form Controls (April 25, 2008)">wForms: Easy JavaScript Form Controls</a></li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://www.webresourcesdepot.com/simplecartjs-v2-still-simple-but-more-powerful/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Open Source E-Commerce Software: CRE Loaded PCI CE</title>
		<link>http://www.webresourcesdepot.com/open-source-e-commerce-software-cre-loaded-pci-ce/</link>
		<comments>http://www.webresourcesdepot.com/open-source-e-commerce-software-cre-loaded-pci-ce/#comments</comments>
		<pubDate>Mon, 10 Aug 2009 06:53:56 +0000</pubDate>
		<dc:creator>Umut M.</dc:creator>
				<category><![CDATA[E-Commerce]]></category>
		<category><![CDATA[Extras]]></category>
		<category><![CDATA[GPL License]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[Mysql]]></category>
		<category><![CDATA[Php]]></category>

		<guid isPermaLink="false">http://www.webresourcesdepot.com/?p=1100</guid>
		<description><![CDATA[CRE Loaded PCI CE is an open source e-commerce software which is the lighter, but still strong, version of a paid solution.
It is designed to run on a LAMP (Linux, Apache, MySQL, PHP) server and offers lots of features which you can add more as it comes with the source.

The application has an unlimited category [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.creloaded.com/pages.php?ref=331&amp;pID=247&amp;CDpath=179" target="_blank"><strong>CRE Loaded PCI CE</strong></a> is an <strong>open source e-commerce software</strong> which is the lighter, but still strong, version of a paid solution.</p>
<p>It is designed to run on a LAMP (Linux, Apache, MySQL, PHP) server and offers lots of features which you can add more as it comes with the source.</p>
<p><a href="http://www.creloaded.com/pages.php?ref=331&amp;pID=247&amp;CDpath=179" target="_blank"><img height="165" width="480" src="http://www.webresourcesdepot.com/wp-content/uploads/image/cre-loaded-e-commerce.jpg" alt="Cre Loaded E-Commerce" /></a></p>
<p>The application has an <strong>unlimited category system</strong>, comes with several shipping provider (free shipping logic is integrated) &amp; payment modules.</p>
<p>It is possible to define &quot;<strong>special products</strong>&quot; on the main page &amp; per category. Products can be sorted by price, manufacturer, etc.</p>
<h3>Some features of CRE Loaded PCI CE:</h3>
<ul>
<li>article manager</li>
<li>faq manager</li>
<li>banner manager</li>
<li>multilanguage support</li>
<li>wishlists</li>
<li>ability to checkout without registration</li>
<li>cross-selling</li>
<li>&amp; more</li>
</ul>
<p>It also has a <strong>strong admin interface</strong> where the store can be managed easily (by multiple admins when needed with the access-level based user system).</p>
<p>A very significant feature of the product is the <strong>importance it gives to the security</strong>. <strong>CRE Loaded PCI CE</strong> is compliant with all <a target="_blank" href="https://www.pcisecuritystandards.org/">PCI data security</a> standards (&amp; has a &quot;order fraud screen&quot; in the backend).</p>
<p><strong>Special Downloads:</strong><br />
<a href="http://www.webresourcesdepot.com/?download=jBasket" target="_blank">Ajaxed Add-To-Basket Scenarios With jQuery And PHP</a><br />
<a href="http://www.webresourcesdepot.com/?download=Free-Admin-Template" target="_blank">Free Admin Template For Web Applications</a><br />
<a href="http://www.webresourcesdepot.com/?download=jQuery-Dynamic-Drag-Drop" target="_blank">jQuery Dynamic Drag&#8217;n Drop</a><br />
<a href="http://www.webresourcesdepot.com/?download=sTwitter-1-0" target="_blank">ScheduledTweets</a></p>
<p><strong>Advertisements:</strong><br />
<a href="http://www.sslmatic.com" target="_blank">SSLmatic &#8211; Cheap SSL Certificates (from $19.99/year)</a><br />
<a href="http://twitter.com/umutm" target="_blank">Follow WebResourcesDepot At Twitter And Get More Resources!</a></p>

	Tags: <a href="http://www.webresourcesdepot.com/tag/apache/" title="Apache" rel="tag">Apache</a>, <a href="http://www.webresourcesdepot.com/tag/mysql/" title="Mysql" rel="tag">Mysql</a>, <a href="http://www.webresourcesdepot.com/tag/php/" title="Php" rel="tag">Php</a><br />

	<h4>Related posts</h4>
	<ul class='st-related-posts'>
	<li><a href="http://www.webresourcesdepot.com/web-server-that-runs-on-cd-rom-server2go/" title="Web Server That Runs On CD-Rom: Server2Go (November 29, 2008)">Web Server That Runs On CD-Rom: Server2Go</a></li>
	<li><a href="http://www.webresourcesdepot.com/wiki-like-project-management-tool-streber/" title="Wiki-Like Project Management Tool: Streber (May 26, 2008)">Wiki-Like Project Management Tool: Streber</a></li>
	<li><a href="http://www.webresourcesdepot.com/web-based-mysql-management-with-only-1-file-adminer/" title="Web-Based MySQL Management With Only 1 File: Adminer (August 17, 2009)">Web-Based MySQL Management With Only 1 File: Adminer</a></li>
	<li><a href="http://www.webresourcesdepot.com/web-based-task-manager-taskfreak/" title="Web Based Task Manager: TaskFreak! (February 29, 2008)">Web Based Task Manager: TaskFreak!</a></li>
	<li><a href="http://www.webresourcesdepot.com/voice-enabled-powerful-web-chat-software-ajax-chat/" title="Voice Enabled Powerful Web Chat Software: Ajax Chat (February 21, 2008)">Voice Enabled Powerful Web Chat Software: Ajax Chat</a></li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://www.webresourcesdepot.com/open-source-e-commerce-software-cre-loaded-pci-ce/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ajaxed Sliding Shopping Cart With jQuery</title>
		<link>http://www.webresourcesdepot.com/ajaxed-sliding-shopping-cart-with-jquery/</link>
		<comments>http://www.webresourcesdepot.com/ajaxed-sliding-shopping-cart-with-jquery/#comments</comments>
		<pubDate>Fri, 31 Jul 2009 08:53:24 +0000</pubDate>
		<dc:creator>Umut M.</dc:creator>
				<category><![CDATA[E-Commerce]]></category>
		<category><![CDATA[Extras]]></category>
		<category><![CDATA[MIT License]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Php]]></category>

		<guid isPermaLink="false">http://www.webresourcesdepot.com/?p=1084</guid>
		<description><![CDATA[With this 5th &#38; last post of the &#34;WRD E-Commerce Week&#34; we will be modifying &#34;our Ajaxed shopping cart&#34; to create a one which is very ideal for designs with limited spaces.
The shopping cart will:

be hidden at the top of the page that can be displayed with a show/hide link
open when an item is added [...]]]></description>
			<content:encoded><![CDATA[<p>With this 5th &amp; last post of the &quot;<a href="http://www.webresourcesdepot.com/e-commerce-week-at-webresourcesdepot-want-to-sponsor/">WRD E-Commerce Week</a>&quot; we will be modifying &quot;<a href="http://www.webresourcesdepot.com/creating-a-slick-ajaxed-add-to-basket-with-jquery-and-php/">our Ajaxed shopping cart</a>&quot; to create a one which is very <strong>ideal for designs with limited spaces</strong>.</p>
<h3>The shopping cart will:</h3>
<ul>
<li>be hidden at the top of the page that can be displayed with a show/hide link</li>
<li>open when an item is added to the basket &amp; auto-close</li>
<li>require a manual &quot;hide&quot; click if opened manually</li>
<li>enable us to delete products</li>
</ul>
<p><img height="176" width="480" src="http://www.webresourcesdepot.com/wp-content/uploads/image/ajax-sliding-cart.gif" alt="Ajaxed Sliding Shopping Cart" /></p>
<p><a target="_blank" href="http://webresourcesdepot.com/wp-content/uploads/file/jbasket/sliding-basket/"><img height="48" width="480" src="http://www.webresourcesdepot.com/wp-content/uploads/image/demo-button.gif" alt="Ajaxed Sliding Shopping Cart With jQuery Demo" style="border: 0px none ;" /></a><a target="_blank" href="http://feeds2.feedburner.com/webresourcesdepot"><img src="http://www.webresourcesdepot.com/wp-content/uploads/image/download-button.gif" alt="Ajaxed Sliding Shopping Cart With jQuery Download" style="border: 0px none ;" /></a></p>
<p><span id="more-1084"></span></p>
<div class="featured">
<h3>Sponsors Of E-Commerce Week:</h3>
<p><script type="text/javascript">
Vertical1240387 = false;
ShowAdHereBanner1240387 = false;
RepeatAll1240387 = false;
NoFollowAll1240387 = false;
BannerStyles1240387 = new Array(
    "a{display:block;font-size:11px;color:#888;font-family:verdana,sans-serif;margin:0 4px 10px 0;text-align:center;text-decoration:none;overflow:hidden;}",
    "img{border:0;clear:right;}",
    "a.adhere{color:#666;font-weight:bold;font-size:12px;border:1px solid #ccc;background:#e7e7e7;text-align:center;}",
    "a.adhere:hover{border:1px solid #999;background:#ddd;color:#333;}"
);
document.write(unescape("%3Cscript src='"+document.location.protocol+"//s3.buysellads.com/1240387/1240387.js?v="+Date.parse(new Date())+"' type='text/javascript'%3E%3C/script%3E"));
</script> <a target="_blank" href="http://www.sslmatic.com/"><img height="60" width="468" style="border: 0px none ; padding: 0px;" alt="SSLmatic - Cheap SSL Certificates" src="http://www.webresourcesdepot.com/wp-content/uploads/image/sslmatic-468x60.jpg" /></a></p>
<p><a target="_blank" href="http://buysellads.com/buy/detail/325">Want To Sponsor?</a></p>
</div>
<h3>The HTML</h3>
<p><strong>For The Sliding Basket:</strong></p>
<pre class="brush: php">
&lt;div id=&quot;slidingTopWrap&quot;&gt;
	&lt;div id=&quot;slidingTopContent&quot;&gt;
		&lt;div id=&quot;basketWrap&quot;&gt;
			&lt;div id=&quot;basketTitleWrap&quot;&gt;
				Your Basket &lt;span id=&quot;notificationsLoader&quot;&gt;&lt;/span&gt;
			&lt;/div&gt;
			&lt;div id=&quot;basketItemsWrap&quot;&gt;
				&lt;ul&gt;
				&lt;li&gt;&lt;/li&gt;
				&lt;?php getBasket(); ?&gt;
				&lt;/ul&gt;
			&lt;/div&gt;
		&lt;/div&gt;
	&lt;/div&gt;
	&lt;div id=&quot;slidingTopFooter&quot;&gt;
		&lt;div id=&quot;slidingTopFooterLeft&quot;&gt;
			&lt;img src=&quot;images/arrow-down.png&quot; alt=&quot;Show Basket&quot; /&gt; &lt;a href=&quot;no-js.htm&quot; onclick=&quot;return false;&quot; id=&quot;slidingTopTrigger&quot;&gt;Show Basket&lt;/a&gt;
		&lt;/div&gt;
	&lt;/div&gt;
&lt;/div&gt;
</pre>
<p>The Highlights</p>
<ul>
<li>the div <code>slidingTopWrap</code> is positioned absolutely with top: 0 CSS value to stick to the top of the page</li>
<li>the div <code>slidingTopContent</code> is hided via JavaScript when the page loads &amp; it is actually the part which slides</li>
<li>the div <code>basketWrap</code>, nothing unusual, wraps the contents of the basket</li>
</ul>
<h3>The JavaScript (jQuery)</h3>
<p><strong>Manual Show/Hide Part</strong></p>
<pre class="brush: javascript">
$(&quot;#slidingTopContent&quot;).hide();

$(&quot;#slidingTopTrigger&quot;).live(&quot;click&quot;, function(event) {
	$(&quot;#slidingTopContent&quot;).slideToggle(&quot;slow&quot;, function(){
		if ($(&quot;#slidingTopContent&quot;).is(&quot;:visible&quot;)) {
			$(&quot;#slidingTopFooterLeft&quot;).html(&#039;&lt;img src=&quot;images/arrow-up.png&quot; alt=&quot;Hide Basket&quot; /&gt; &lt;a href=&quot;no-js.htm&quot; onclick=&quot;return false;&quot; id=&quot;slidingTopTrigger&quot;&gt;Hide Basket&lt;/a&gt;&#039;);
		} else {
			$(&quot;#slidingTopFooterLeft&quot;).html(&#039;&lt;img src=&quot;images/arrow-down.png&quot; alt=&quot;Show Basket&quot; /&gt; &lt;a href=&quot;no-js.htm&quot; onclick=&quot;return false;&quot; id=&quot;slidingTopTrigger&quot;&gt;Show Basket&lt;/a&gt;&#039;);
		}
	});
}); 
</pre>
<p>The Highlights:</p>
<ul>
<li>we have <code>$(&quot;#slidingTopContent&quot;).hide();</code> in the beginning to hide the div in the initial load</li>
<li>when the #slidingTopTrigger is clicked, we use the <code>slideToggle</code> function to show/hide the #slidingTopContent. To understand whether it is open or not, we have an if then else clause as <code>if ($(&quot;#slidingTopContent&quot;).is(&quot;:visible&quot;)) {</code>
<ul>
<li>if the #slidingTopContent is visible, we insert the &quot;hide HTML&quot;</li>
<li>if the #slidingTopContent is <strong>not</strong> visible, we insert the &quot;show HTML&quot;</li>
</ul>
</li>
<li>you&#8217;ll see that we used the <code>$(&quot;#slidingTopTrigger&quot;).live(&quot;click&quot;, function(event) {</code> rather than a standard click function. The reason is adding the new created HTMLs to the DOM</li>
</ul>
<p><strong>Adding Products</strong></p>
<pre class="brush: javascript">
$(&quot;.productPriceWrapRight a img&quot;).click(function() {
	var productIDValSplitter 	= (this.id).split(&quot;_&quot;);
	var productIDVal 			= productIDValSplitter[1];

	if ($(&quot;#slidingTopContent&quot;).is(&quot;:visible&quot;)) {

		$(&quot;#notificationsLoader&quot;).html(&#039;&lt;img src=&quot;images/loader.gif&quot;&gt;&#039;);

		$.ajax({
		type: &quot;POST&quot;,
		url: &quot;inc/functions.php&quot;,
		data: { productID: productIDVal, action: &quot;addToBasket&quot;},
		success: function(theResponse) {

		if( $(&quot;#productID_&quot; + productIDVal).length &gt; 0){
			$(&quot;#productID_&quot; + productIDVal).animate({ opacity: 0 }, 500);
			$(&quot;#productID_&quot; + productIDVal).before(theResponse).remove();
			$(&quot;#productID_&quot; + productIDVal).animate({ opacity: 0 }, 500);
			$(&quot;#productID_&quot; + productIDVal).animate({ opacity: 1 }, 500);
			$(&quot;#notificationsLoader&quot;).empty();

		} else {
			$(&quot;#basketItemsWrap li:first&quot;).before(theResponse);
			$(&quot;#basketItemsWrap li:first&quot;).hide();
			$(&quot;#basketItemsWrap li:first&quot;).show(&quot;slow&quot;);
			$(&quot;#notificationsLoader&quot;).empty();
		}

		}
		}); 

	} else {

		$(&quot;#slidingTopContent&quot;).slideToggle(&quot;slow&quot;, function(){		

			$(&quot;#slidingTopFooterLeft&quot;).html(&#039;&lt;img src=&quot;images/arrow-up.png&quot; alt=&quot;Hide Basket&quot; /&gt; &lt;a href=&quot;aaa.htm&quot; onclick=&quot;return false;&quot; id=&quot;slidingTopTrigger&quot;&gt;Hide Basket&lt;/a&gt;&#039;);
			$(&quot;#notificationsLoader&quot;).html(&#039;&lt;img src=&quot;images/loader.gif&quot;&gt;&#039;);

			$.ajax({
			type: &quot;POST&quot;,
			url: &quot;inc/functions.php&quot;,
			data: { productID: productIDVal, action: &quot;addToBasket&quot;},
			success: function(theResponse) {

			if( $(&quot;#productID_&quot; + productIDVal).length &gt; 0){
				$(&quot;#productID_&quot; + productIDVal).animate({ opacity: 0 }, 500);
				$(&quot;#productID_&quot; + productIDVal).before(theResponse).remove();
				$(&quot;#productID_&quot; + productIDVal).animate({ opacity: 0 }, 500);
				$(&quot;#productID_&quot; + productIDVal).animate({ opacity: 1 }, 500);
				$(&quot;#notificationsLoader&quot;).empty();

			} else {
				$(&quot;#basketItemsWrap li:first&quot;).before(theResponse);
				$(&quot;#basketItemsWrap li:first&quot;).hide();
				$(&quot;#basketItemsWrap li:first&quot;).show(&quot;slow&quot;);
				$(&quot;#notificationsLoader&quot;).empty();
			}

			}
			}); 

			$(&quot;#slidingTopTrigger&quot;).fadeTo(4000, 1, function(){
				$(&quot;#slidingTopContent&quot;).slideToggle(&quot;slow&quot;, function(){
					$(&quot;#slidingTopFooterLeft&quot;).html(&#039;&lt;img src=&quot;images/arrow-down.png&quot; alt=&quot;Show Basket&quot; /&gt; &lt;a href=&quot;aaa.htm&quot; onclick=&quot;return false;&quot; id=&quot;slidingTopTrigger&quot;&gt;Show Basket&lt;/a&gt;&#039;);
				});

			});

		});
	}

});
</pre>
<p>The Highlights:</p>
<p>As &quot;how-to&quot; on sending the Ajax query &amp; fading animations are described in the <a href="http://www.webresourcesdepot.com/creating-a-slick-ajaxed-add-to-basket-with-jquery-and-php/">previous post</a>, we won&#8217;t repeating the same info here &amp; focus on the effects.</p>
<ul>
<li>we again run the same if-then-else clause
<ul>
<li>if the #slidingTopContent is open send an Ajax query to functions.php and add-the-products to basket</li>
<li>if the #slidingTopContent is closed:
<ul>
<li>slideToggle the div</li>
<li>insert the &quot;hide HTML&quot; to #slidingTopFooterLeft&quot;</li>
<li>send an Ajax query to functions.php and add-the-products to basket</li>
<li>wait for x seconds:&nbsp;<code>$(&quot;#slidingTopTrigger&quot;).fadeTo(4000, 1, function(){</code></li>
<li>slideToggle the div</li>
<li>insert the &quot;show HTML&quot; to #slidingTopFooterLeft&quot;</li>
</ul>
</li>
</ul>
</li>
</ul>
<p><strong>P.S.</strong> To make the example work on your side, you should be creating a new database with the jBasket.sql file inside the download package &amp; configure the database connection information inside &ldquo;inc/db.php&rdquo; file.</p>
<p><strong>Special Downloads:</strong><br />
<a href="http://www.webresourcesdepot.com/?download=jBasket" target="_blank">Ajaxed Add-To-Basket Scenarios With jQuery And PHP</a><br />
<a href="http://www.webresourcesdepot.com/?download=Free-Admin-Template" target="_blank">Free Admin Template For Web Applications</a><br />
<a href="http://www.webresourcesdepot.com/?download=jQuery-Dynamic-Drag-Drop" target="_blank">jQuery Dynamic Drag&#8217;n Drop</a><br />
<a href="http://www.webresourcesdepot.com/?download=sTwitter-1-0" target="_blank">ScheduledTweets</a></p>
<p><strong>Advertisements:</strong><br />
<a href="http://www.sslmatic.com" target="_blank">SSLmatic &#8211; Cheap SSL Certificates (from $19.99/year)</a><br />
<a href="http://twitter.com/umutm" target="_blank">Follow WebResourcesDepot At Twitter And Get More Resources!</a></p>

	Tags: <a href="http://www.webresourcesdepot.com/tag/javascript/" title="Javascript" rel="tag">Javascript</a>, <a href="http://www.webresourcesdepot.com/tag/php/" title="Php" rel="tag">Php</a><br />

	<h4>Related posts</h4>
	<ul class='st-related-posts'>
	<li><a href="http://www.webresourcesdepot.com/use-php-functions-in-javascript-phpjs/" title="Use PHP Functions In JavaScript: PHP.JS (May 28, 2009)">Use PHP Functions In JavaScript: PHP.JS</a></li>
	<li><a href="http://www.webresourcesdepot.com/use-any-font-in-your-websites-with-flir/" title="Use Any Font In Your Websites With FLIR (August 5, 2008)">Use Any Font In Your Websites With FLIR</a></li>
	<li><a href="http://www.webresourcesdepot.com/track-mouse-activities-with-js-and-php-smt/" title="Track Mouse Activities With JS And PHP: (smt) (June 29, 2009)">Track Mouse Activities With JS And PHP: (smt)</a></li>
	<li><a href="http://www.webresourcesdepot.com/tiny-content-management-system-onefilecms/" title="Tiny Content Management System: OneFileCMS (September 30, 2009)">Tiny Content Management System: OneFileCMS</a></li>
	<li><a href="http://www.webresourcesdepot.com/testswarm-continious-distributed-js-testing/" title="TestSwarm: Continious &#038; Distributed JS Testing (August 27, 2009)">TestSwarm: Continious &#038; Distributed JS Testing</a></li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://www.webresourcesdepot.com/ajaxed-sliding-shopping-cart-with-jquery/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
		<item>
		<title>13 Tips For A Better E-Commerce Website</title>
		<link>http://www.webresourcesdepot.com/13-tips-for-a-better-e-commerce-website/</link>
		<comments>http://www.webresourcesdepot.com/13-tips-for-a-better-e-commerce-website/#comments</comments>
		<pubDate>Thu, 30 Jul 2009 09:16:08 +0000</pubDate>
		<dc:creator>Umut M.</dc:creator>
				<category><![CDATA[E-Commerce]]></category>
		<category><![CDATA[Extras]]></category>
		<category><![CDATA[Info]]></category>
		<category><![CDATA[Other License]]></category>
		<category><![CDATA[Shopping]]></category>
		<category><![CDATA[SSL]]></category>
		<category><![CDATA[Support]]></category>

		<guid isPermaLink="false">http://www.webresourcesdepot.com/?p=1083</guid>
		<description><![CDATA[E-commerce has its own dynamics when compared to the standard shopping experiences. It:

is faster
requires collection of data
includes shipping more frequently
has different ways of supporting users
&#38; more..


If the product sold is not something unique, then it probably exists in 100s of other e-commerce websites. So, to differentiate your stores from others, here are 13 tips for [...]]]></description>
			<content:encoded><![CDATA[<p><strong>E-commerce has its own dynamics</strong> when compared to the standard shopping experiences. It:</p>
<ul>
<li>is faster</li>
<li>requires collection of data</li>
<li>includes shipping more frequently</li>
<li>has different ways of supporting users</li>
<li>&amp; more..</li>
</ul>
<p><img height="138" width="480" src="http://www.webresourcesdepot.com/wp-content/uploads/image/tips-for-ecommerce.jpg" alt="E-Commerce Tips" /></p>
<p>If the product sold is not something unique, then it probably exists in 100s of other e-commerce websites. So, <strong>to differentiate your stores from others</strong>, here are <strong>13 tips for a better e-commerce website</strong>:</p>
<p><span id="more-1083"></span></p>
<div class="featured">
<h3>Sponsors Of E-Commerce Week:</h3>
<p><script type="text/javascript">
Vertical1240387 = false;
ShowAdHereBanner1240387 = false;
RepeatAll1240387 = false;
NoFollowAll1240387 = false;
BannerStyles1240387 = new Array(
    "a{display:block;font-size:11px;color:#888;font-family:verdana,sans-serif;margin:0 4px 10px 0;text-align:center;text-decoration:none;overflow:hidden;}",
    "img{border:0;clear:right;}",
    "a.adhere{color:#666;font-weight:bold;font-size:12px;border:1px solid #ccc;background:#e7e7e7;text-align:center;}",
    "a.adhere:hover{border:1px solid #999;background:#ddd;color:#333;}"
);
document.write(unescape("%3Cscript src='"+document.location.protocol+"//s3.buysellads.com/1240387/1240387.js?v="+Date.parse(new Date())+"' type='text/javascript'%3E%3C/script%3E"));
</script> <a target="_blank" href="http://www.sslmatic.com/"><img height="60" width="468" style="border: 0px none ; padding: 0px;" alt="SSLmatic - Cheap SSL Certificates" src="http://www.webresourcesdepot.com/wp-content/uploads/image/sslmatic-468x60.jpg" /></a></div>
<p>&nbsp;</p>
<h2>Software</h2>
<hr />
<h3>1.- Use A Well-Tested Software</h3>
<p>Many websites / applications can handle the risk of &quot;developing while online&quot;. E-commerce is not one of them, at least the core parts.</p>
<p>You may be using a ready-to-go software or built a new one from scratch. In both cases, <strong>test how it works very well on every level</strong>: browsing, cart functions, payments. and make sure they work. A bug in payments or a product that can&#8217;t be added to basket will not only result in un-completed sales but also lost future customers and bad word-of-mouth.</p>
<h3>2.- Have Scenarios In Case An Unexpected Thing Occurs</h3>
<p>E-commerce has its own risks like:</p>
<ul>
<li>communication problems with payment processors</li>
<li>hosting / server problems</li>
</ul>
<p>In such situations, rather than offering the customers a buggy usage, you must be able to take an action with a &quot;click&quot; &amp; display friendly notifications like: &quot;for a short time we can&#8217;t accept credit card payments, we can let you know when it will be available or you can use these payment methods&quot;.</p>
<p>Simply, show the customer you&#8217;re aware of the problem and have an alternative solution.</p>
<p>&nbsp;</p>
<h2>Presentation</h2>
<hr />
<h3>3.- Adding To Cart Without Registering</h3>
<p><img height="128" width="122" align="left" style="margin-right: 5px;" alt="Sign-In" src="http://www.webresourcesdepot.com/wp-content/uploads/image/sign-in.jpg" />Forcing users to &quot;register first then start shopping&quot; is probably one of the best ways to lose them. Many users who add products to their shopping carts are still not sure to buy them. They want to see what the sum will be, if there will be shipping fees, etc.</p>
<p>Rather than placing barriers in front of them from the beginning, easing the ways to explore the website/products and collecting any information when needed is much better.</p>
<p>And, don&#8217;t forget, there is always a risk in losing a customer who didn&#8217;t pay yet.</p>
<h3>4.- Reaching To The Product With Less Clicks</h3>
<p>There are multiple ways to help users reach the products with less clicks:</p>
<ul>
<li>well-planned categories where sub-categories can be viewed just by hovering them</li>
<li>ability to narrow products by price, product features (like screen sizes for monitors), brands, etc.</li>
<li>an easily reachable product search form</li>
</ul>
<h3>5.- There Is Never &quot;Too Detailed Products&quot;</h3>
<p>In contrast to the famous and funny <a href="http://www.youtube.com/watch?v=EUXnJraKM3k" target="_blank">Microsoft Re-Designs the Ipod Packaging video</a>, providing as many details as you can on a product is a great thing.</p>
<p>You can always make this uncomplicated by presenting the basic information as a standard and having a &quot;detailed information&quot; as an option.</p>
<h3>6.- More And High-Quality Photos</h3>
<p><strong><img height="68" width="128" align="left" style="margin-right: 5px;" alt="Camera" src="http://www.webresourcesdepot.com/wp-content/uploads/image/camera.jpg" />Seeing is believing</strong>. As users won&#8217;t be able to touch the products, <strong>the more photos provided is the easier they decide</strong> if that is the product they need.</p>
<p>And, always use high-quality images as it will be perceived as &quot;sloppy&quot; if otherwise.</p>
<h3>7.- Show Related, Alternative And Complimentary Products Better</h3>
<p>A widely seen mistake in e-commerce websites is showing both the alternative and related products all mixed up. But they are not the same thing and will be confusing to the customer as well.</p>
<p>If you&#8217;re about to purchase a camera:</p>
<ul>
<li>an other camera</li>
<li>the dock that is built specially built for that camera</li>
<li>case for cameras</li>
</ul>
<p>are all different stuff and a better presentation will be displaying them under their own titles.</p>
<h3>8.- Use SSL In Every Page When Collecting Critical Data</h3>
<p>When collecting information such as:</p>
<ul>
<li>registration forms</li>
<li>editing account details</li>
<li>credit card details</li>
</ul>
<p>make sure you switch the website to the SSL URLs as it is measure of security and shows that you pay attention to your data.</p>
<p><strong>P.S.</strong> <a href="http://www.sslmatic.com/" target="_blank">Check SSLmatic.com for RapidSSL, Geotrust and Verisign certificates with much cheaper prices</a>.</p>
<p>&nbsp;</p>
<h2>Order Processing</h2>
<hr />
<h3>9.- Notify Users On Every Level</h3>
<p>With the good ones, many people also have bad experiences with e-commerce specially on the delivery part.</p>
<p>Due to the nature of e-commerce no or few stock is kept and a sold product can not be delivered because it does not exist anymore or delivered later than expected. Also, specially for international orders, payments need to be approved manually. To sum up, there are various things that may go wrong from the users point of view.</p>
<p>So, <strong>it is a &quot;must&quot; to notify users on every level</strong> like:</p>
<ul>
<li>when the payment is approved</li>
<li>a delay occured</li>
<li>when the product is shipped</li>
</ul>
<h3>10.- If Something Goes Wrong, Contact With Phone Besides E-mail</h3>
<p><img height="128" width="128" align="left" style="margin-right: 5px;" alt="Phone" src="http://www.webresourcesdepot.com/wp-content/uploads/image/phone.jpg" />Like mentioned above, things can go wrong. The product may be no longer available, the system didn&#8217;t write the &quot;shipping address to the database&quot; &amp; more.</p>
<p>In a such position, <strong>contacting the customer is a must but e-mail is mostly not enough</strong>. A customer, who doesn&#8217;t check e-mails frequently, waiting the product to be delivered yesterday but have a notification in the inbox saying &quot;there is a problem with the order&quot; is not a good experience.</p>
<p>Using <strong>phone or SMS is a better choice</strong> to make sure customer knows what&#8217;s going on.</p>
<p>&nbsp;</p>
<h2>Support</h2>
<hr />
<h3>11.- Detailed Knowledgebase</h3>
<p>Whether the website is a fresh one or not, a knowledgebase covering the most required titles is a must. These can be the &quot;shipping &amp; handling&quot; &amp; &quot;refund policy&quot; in the beginning.</p>
<p>A detailed knowledgebase shows that there are procedures within the company &amp; is a sign of trust.</p>
<h3>12.- Provide Live Chat Support</h3>
<p>E-commerce customers generally require a help instantly &amp; online as they are about to buy a product, their sessions may expire, etc.</p>
<p><strong>Live chat support</strong>, which <strong>exists on every page with a clear link or image</strong> is a great way to meet this need. And, it is better on the administration side as you can already see &quot;in which page the customer is&quot;, &quot;what browser, OS they use&quot;, &quot;their country/city&quot;, etc.</p>
<p>Also, every chat can be recorded for reporting &amp; analysis. Besides the paid ones, there are various free live chat softwares which can be found in <a href="http://www.webresourcesdepot.com/category/extras/customer-support/">WebResourcesDepot&#8217;s &quot;Customer Support&quot;category</a>.</p>
<h3>13.- Do Your Best To Prevent Support Calls But Have A Phone Number</h3>
<p>Thinking that &quot;this is an e-commerce website&quot; and no phone support is needed is mostly not true. At the end, it is a business &amp; from the perception of users, a business requires a phone number.</p>
<p>But, do your best to prevent support calls coming in like the options mentioned above as telephone is a time killer and there is always a risk that no enough number support personels exist at a given time.</p>
<p>&nbsp;</p>
<p>Have your tips / experiences? Please share them.</p>
<p><strong>Special Downloads:</strong><br />
<a href="http://www.webresourcesdepot.com/?download=jBasket" target="_blank">Ajaxed Add-To-Basket Scenarios With jQuery And PHP</a><br />
<a href="http://www.webresourcesdepot.com/?download=Free-Admin-Template" target="_blank">Free Admin Template For Web Applications</a><br />
<a href="http://www.webresourcesdepot.com/?download=jQuery-Dynamic-Drag-Drop" target="_blank">jQuery Dynamic Drag&#8217;n Drop</a><br />
<a href="http://www.webresourcesdepot.com/?download=sTwitter-1-0" target="_blank">ScheduledTweets</a></p>
<p><strong>Advertisements:</strong><br />
<a href="http://www.sslmatic.com" target="_blank">SSLmatic &#8211; Cheap SSL Certificates (from $19.99/year)</a><br />
<a href="http://twitter.com/umutm" target="_blank">Follow WebResourcesDepot At Twitter And Get More Resources!</a></p>

	Tags: <a href="http://www.webresourcesdepot.com/tag/shopping/" title="Shopping" rel="tag">Shopping</a>, <a href="http://www.webresourcesdepot.com/tag/ssl/" title="SSL" rel="tag">SSL</a>, <a href="http://www.webresourcesdepot.com/tag/support/" title="Support" rel="tag">Support</a><br />

	<h4>Related posts</h4>
	<ul class='st-related-posts'>
	<li><a href="http://www.webresourcesdepot.com/winners-of-sslmatic-5-rapidssl-certificates-giveaway/" title="Winners Of SSLmatic &#8211; 5 RapidSSL Certificates Giveaway (January 14, 2009)">Winners Of SSLmatic &#8211; 5 RapidSSL Certificates Giveaway</a></li>
	<li><a href="http://www.webresourcesdepot.com/data-encryption-with-javascript-jcryption/" title="Data Encryption With JavaScript: jCryption (August 8, 2009)">Data Encryption With JavaScript: jCryption</a></li>
	<li><a href="http://www.webresourcesdepot.com/customer-support-with-a-free-help-desk-software/" title="Customer Support With A Free Help Desk Software (February 12, 2008)">Customer Support With A Free Help Desk Software</a></li>
	<li><a href="http://www.webresourcesdepot.com/cheap-ssl-certificates-from-sslmatic-5-rapidssl-certificates-giveaway/" title="Cheap SSL Certificates From SSLmatic &#8211; 5 RapidSSL Certificates Giveaway (January 6, 2009)">Cheap SSL Certificates From SSLmatic &#8211; 5 RapidSSL Certificates Giveaway</a></li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://www.webresourcesdepot.com/13-tips-for-a-better-e-commerce-website/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>Fly-To-Basket Effect With jQuery</title>
		<link>http://www.webresourcesdepot.com/fly-to-basket-effect-with-jquery/</link>
		<comments>http://www.webresourcesdepot.com/fly-to-basket-effect-with-jquery/#comments</comments>
		<pubDate>Wed, 29 Jul 2009 07:52:37 +0000</pubDate>
		<dc:creator>Umut M.</dc:creator>
				<category><![CDATA[E-Commerce]]></category>
		<category><![CDATA[Extras]]></category>
		<category><![CDATA[MIT License]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Php]]></category>

		<guid isPermaLink="false">http://www.webresourcesdepot.com/?p=1080</guid>
		<description><![CDATA[In this 3rd day of the &#34;WRD E-Commerce Week&#34;, we will be adding a chic fly-to-basket effect to our previously created Ajaxed shopping cart using jQuery.
Rather than the complete HTML structure &#38; PHP code that adds/removes the products, we&#8217;ll be focusing on the details related with&#160; the effect.

To findout the details of the complete HTML [...]]]></description>
			<content:encoded><![CDATA[<p>In this 3rd day of the &quot;<a href="http://www.webresourcesdepot.com/e-commerce-week-at-webresourcesdepot-want-to-sponsor/">WRD E-Commerce Week</a>&quot;, we will be adding a chic <strong>fly-to-basket effect</strong> to our <a href="http://www.webresourcesdepot.com/creating-a-slick-ajaxed-add-to-basket-with-jquery-and-php/">previously created Ajaxed shopping cart</a> using <strong>jQuery</strong>.</p>
<p>Rather than the complete HTML structure &amp; PHP code that adds/removes the products, <strong>we&#8217;ll be focusing on the details related with&nbsp; the effect</strong>.</p>
<p><img height="156" width="480" alt="Fly To Basket With jQuery" src="http://www.webresourcesdepot.com/wp-content/uploads/image/fly-to-basket-jquery.jpg" /></p>
<p>To findout the details of the complete HTML structure &amp; PHP code, please check our post: <a href="http://www.webresourcesdepot.com/creating-a-slick-ajaxed-add-to-basket-with-jquery-and-php/">Creating A Slick Ajaxed Add-To-Basket With jQuery And PHP</a>. And, a full working example can be found in the download package.</p>
<p><a href="http://webresourcesdepot.com/wp-content/uploads/file/jbasket/fly-to-basket/" target="_blank"><img height="48" width="480" style="border: 0px none ;" alt="Fly-To-Basket Effect With jQuery Demo" src="http://www.webresourcesdepot.com/wp-content/uploads/image/demo-button.gif" /></a><a href="http://feeds2.feedburner.com/webresourcesdepot" target="_blank"><img style="border: 0px none ;" alt="Fly-To-Basket Effect With jQuery Download" src="http://www.webresourcesdepot.com/wp-content/uploads/image/download-button.gif" /></a></p>
<p><span id="more-1080"></span></p>
<div class="featured">
<h3>Sponsors Of E-Commerce Week:</h3>
<p><script type="text/javascript">
Vertical1240387 = false;
ShowAdHereBanner1240387 = false;
RepeatAll1240387 = false;
NoFollowAll1240387 = false;
BannerStyles1240387 = new Array(
    "a{display:block;font-size:11px;color:#888;font-family:verdana,sans-serif;margin:0 4px 10px 0;text-align:center;text-decoration:none;overflow:hidden;}",
    "img{border:0;clear:right;}",
    "a.adhere{color:#666;font-weight:bold;font-size:12px;border:1px solid #ccc;background:#e7e7e7;text-align:center;}",
    "a.adhere:hover{border:1px solid #999;background:#ddd;color:#333;}"
);
document.write(unescape("%3Cscript src='"+document.location.protocol+"//s3.buysellads.com/1240387/1240387.js?v="+Date.parse(new Date())+"' type='text/javascript'%3E%3C/script%3E"));
</script> <a href="http://www.sslmatic.com/" target="_blank"><img width="468" height="60" src="http://www.webresourcesdepot.com/wp-content/uploads/image/sslmatic-468x60.jpg" alt="SSLmatic - Cheap SSL Certificates" style="border: 0px none ; padding: 0px;" /></a></p>
<p><a href="http://buysellads.com/buy/detail/325" target="_blank">Want To Sponsor?</a></p>
</div>
<h3>The HTML</h3>
<p><strong>HTML For The Product&#8217;s Wrapper:</strong></p>
<pre class="brush: php">
&lt;div class=&quot;productWrap&quot;&gt;
	&lt;div class=&quot;productImageWrap&quot;&gt;
		&lt;img src=&quot;images/product1.jpg&quot; alt=&quot;Product1&quot; /&gt;
	&lt;/div&gt;
	&lt;div class=&quot;productNameWrap&quot;&gt;
		Krups Coffee Maker
	&lt;/div&gt;
	&lt;div class=&quot;productPriceWrap&quot;&gt;
		&lt;div class=&quot;productPriceWrapLeft&quot;&gt;
			$95
		&lt;/div&gt;
		&lt;div class=&quot;productPriceWrapRight&quot;&gt;
			&lt;a href=&quot;inc/functions.php?action=addToBasket&amp;productID=1&quot; onClick=&quot;return false;&quot;&gt;
				&lt;img src=&quot;images/add-to-basket.gif&quot; alt=&quot;Add To Basket&quot; width=&quot;111&quot; height=&quot;32&quot; id=&quot;featuredProduct_1&quot; /&gt;
			&lt;/a&gt;
		&lt;/div&gt;
	&lt;/div&gt;
&lt;/div&gt;
</pre>
<p>The part we&#8217;ll focus is the contents inside <code>&lt;div class=&quot;productPriceWrapRight&quot;&gt;</code> which wraps the &quot;add-to-basket&quot; button.</p>
<p>The Highlights:</p>
<ul>
<li>a link with <code>onClick=&quot;return false;</code> value which means it won&#8217;t be active if JavaScript is active (to make the script unobtrusive)</li>
<li>add-to-basket image has an unique ID: <code>id=&quot;featuredProduct_1&quot;</code> which we&#8217;ll use to understand the button of which product is clicked</li>
</ul>
<p><strong>HTML For The Basket:</strong></p>
<pre class="brush: php">
&lt;div id=&quot;basketWrap&quot;&gt;
	&lt;div id=&quot;basketTitleWrap&quot;&gt;
		Your Basket &lt;span id=&quot;notificationsLoader&quot;&gt;&lt;/span&gt;
	&lt;/div&gt;
	&lt;div id=&quot;basketItemsWrap&quot;&gt;
		&lt;ul&gt;
		&lt;li&gt;&lt;/li&gt;
		&lt;?php getBasket(); ?&gt;
		&lt;/ul&gt;
	&lt;/div&gt;
&lt;/div&gt;
</pre>
<p>The Highlights:</p>
<ul>
<li>we have an empty <code>&lt;span&gt;</code> with <code>id=&quot;notificationsLoader&quot;</code> to show a loading image</li>
<li>we keep an empty div to be able to insert any data before/after them</li>
<li>we call a PHP function: <code>&lt;?php getBasket(); ?&gt;</code> to get the basket data when the page is first loaded.</li>
</ul>
<h3>The JavaScript (jQuery)</h3>
<pre class="brush: javascript">
$(&quot;#basketItemsWrap li:first&quot;).hide();

$(&quot;.productPriceWrapRight a img&quot;).click(function() {
	var productIDValSplitter 	= (this.id).split(&quot;_&quot;);
	var productIDVal 			= productIDValSplitter[1];

	var productX 		= $(&quot;#productImageWrapID_&quot; + productIDVal).offset().left;
	var productY 		= $(&quot;#productImageWrapID_&quot; + productIDVal).offset().top;

	if( $(&quot;#productID_&quot; + productIDVal).length &gt; 0){
		var basketX 		= $(&quot;#productID_&quot; + productIDVal).offset().left;
		var basketY 		= $(&quot;#productID_&quot; + productIDVal).offset().top;
	} else {
		var basketX 		= $(&quot;#basketTitleWrap&quot;).offset().left;
		var basketY 		= $(&quot;#basketTitleWrap&quot;).offset().top;
	}

	var gotoX 			= basketX - productX;
	var gotoY 			= basketY - productY;

	var newImageWidth 	= $(&quot;#productImageWrapID_&quot; + productIDVal).width() / 3;
	var newImageHeight	= $(&quot;#productImageWrapID_&quot; + productIDVal).height() / 3;

	$(&quot;#productImageWrapID_&quot; + productIDVal + &quot; img&quot;)
	.clone()
	.prependTo(&quot;#productImageWrapID_&quot; + productIDVal)
	.css({&#039;position&#039; : &#039;absolute&#039;})
	.animate({opacity: 0.4}, 100 )
	.animate({opacity: 0.1, marginLeft: gotoX, marginTop: gotoY, width: newImageWidth, height: newImageHeight}, 1200, function() {
																																																																												$(this).remove();

		$(&quot;#notificationsLoader&quot;).html(&#039;&lt;img src=&quot;images/loader.gif&quot;&gt;&#039;);

		$.ajax({
		type: &quot;POST&quot;,
		url: &quot;inc/functions.php&quot;,
		data: { productID: productIDVal, action: &quot;addToBasket&quot;},
		success: function(theResponse) {

		if( $(&quot;#productID_&quot; + productIDVal).length &gt; 0){
			$(&quot;#productID_&quot; + productIDVal).animate({ opacity: 0 }, 500);
			$(&quot;#productID_&quot; + productIDVal).before(theResponse).remove();
			$(&quot;#productID_&quot; + productIDVal).animate({ opacity: 0 }, 500);
			$(&quot;#productID_&quot; + productIDVal).animate({ opacity: 1 }, 500);
			$(&quot;#notificationsLoader&quot;).empty();

		} else {
			$(&quot;#basketItemsWrap li:first&quot;).before(theResponse);
			$(&quot;#basketItemsWrap li:first&quot;).hide();
			$(&quot;#basketItemsWrap li:first&quot;).show(&quot;slow&quot;);
			$(&quot;#notificationsLoader&quot;).empty();
		}

		}
		});  

	});

});
</pre>
<p>Highlights:</p>
<ul>
<li><strong>splitting the ID&nbsp;of the clicked &quot;add-to-basket&quot; image</strong> which is &quot;featuredProduct_1&quot; from the &quot;_&quot; character &amp; get the databaseID of the product</li>
<li>using <a target="_blank" href="http://docs.jquery.com/CSS/offset">jQuery&#8217;s offset</a>, we get the current x-y position of the product</li>
<li>run a &quot;if-then-else&quot; clause which:
<ul>
<li><strong>if that product is already in the basket:</strong> <code>if( $(&quot;#productID_&quot; + productIDVal).length &gt; 0){</code> (if an element with that ID exists in the basket), if exists, then we get the x-y positions of that element using &quot;offset&quot; again, so we can target that element while flying our product</li>
<li><strong>if that product isn&#8217;t in the basket:</strong> then we get the x-y positions of a static element in the basket HTMl area (#basketTitleWrap in our case)</li>
</ul>
</li>
<li><strong>very important</strong>:&nbsp;we create 2 variables; gotoX &amp; gotoY by subtracting the element in the basket&#8217;s position from the product&#8217;s position. And we get the distance product needs to animate (fly) in x&#8217;s &amp; y&#8217;s</li>
<li>again create 2 variables named newImageWidth &amp; newImageHeight which are x times (3 in our case) smaller the size of our product&#8217;s image. This is used to create a resizing effect while flying the product to the basket</li>
<li><strong>and, let&#8217;s fly the product</strong>: targeting the product image to be flied;&nbsp;<code>$(&quot;#productImageWrapID_&quot; + productIDVal + &quot; img&quot;)</code>. We clone it with <a target="_blank" href="http://docs.jquery.com/Manipulation/clone">jQuery&#8217;s clone,</a> place inside the same element where the original image exists with <a target="_blank" href="http://docs.jquery.com/Manipulation/prependTo">prependTo</a> &amp; set it&#8217;s position to <code>absolute</code>. The next thing, we decrease its opacity so it starts in a little transparent look before the animation. And, we fly it by mentioning the <code>marginLeft</code> &amp; <code>marginTop</code> values we calculated. At the same time, we make it more transparent &amp; resize it. Also, we set the duration of the animation (1200 in our case).</li>
<li>As a callback function (after the animation ends), we remove the cloned image from the DOM, show the Ajax loader &amp; post a query to our PHP page. That&#8217;s all.</li>
</ul>
<p><strong>P.S.</strong> To make the example work on your side, you should be creating a new database with the jBasket.sql file inside the download package &amp; configure the database connection information inside “inc/db.php” file.</p>
<p><strong>Special Downloads:</strong><br />
<a href="http://www.webresourcesdepot.com/?download=jBasket" target="_blank">Ajaxed Add-To-Basket Scenarios With jQuery And PHP</a><br />
<a href="http://www.webresourcesdepot.com/?download=Free-Admin-Template" target="_blank">Free Admin Template For Web Applications</a><br />
<a href="http://www.webresourcesdepot.com/?download=jQuery-Dynamic-Drag-Drop" target="_blank">jQuery Dynamic Drag&#8217;n Drop</a><br />
<a href="http://www.webresourcesdepot.com/?download=sTwitter-1-0" target="_blank">ScheduledTweets</a></p>
<p><strong>Advertisements:</strong><br />
<a href="http://www.sslmatic.com" target="_blank">SSLmatic &#8211; Cheap SSL Certificates (from $19.99/year)</a><br />
<a href="http://twitter.com/umutm" target="_blank">Follow WebResourcesDepot At Twitter And Get More Resources!</a></p>

	Tags: <a href="http://www.webresourcesdepot.com/tag/javascript/" title="Javascript" rel="tag">Javascript</a>, <a href="http://www.webresourcesdepot.com/tag/php/" title="Php" rel="tag">Php</a><br />

	<h4>Related posts</h4>
	<ul class='st-related-posts'>
	<li><a href="http://www.webresourcesdepot.com/use-php-functions-in-javascript-phpjs/" title="Use PHP Functions In JavaScript: PHP.JS (May 28, 2009)">Use PHP Functions In JavaScript: PHP.JS</a></li>
	<li><a href="http://www.webresourcesdepot.com/use-any-font-in-your-websites-with-flir/" title="Use Any Font In Your Websites With FLIR (August 5, 2008)">Use Any Font In Your Websites With FLIR</a></li>
	<li><a href="http://www.webresourcesdepot.com/track-mouse-activities-with-js-and-php-smt/" title="Track Mouse Activities With JS And PHP: (smt) (June 29, 2009)">Track Mouse Activities With JS And PHP: (smt)</a></li>
	<li><a href="http://www.webresourcesdepot.com/tiny-content-management-system-onefilecms/" title="Tiny Content Management System: OneFileCMS (September 30, 2009)">Tiny Content Management System: OneFileCMS</a></li>
	<li><a href="http://www.webresourcesdepot.com/testswarm-continious-distributed-js-testing/" title="TestSwarm: Continious &#038; Distributed JS Testing (August 27, 2009)">TestSwarm: Continious &#038; Distributed JS Testing</a></li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://www.webresourcesdepot.com/fly-to-basket-effect-with-jquery/feed/</wfw:commentRss>
		<slash:comments>21</slash:comments>
		</item>
		<item>
		<title>E-Commerce Icons Collection</title>
		<link>http://www.webresourcesdepot.com/e-commerce-icons-collection/</link>
		<comments>http://www.webresourcesdepot.com/e-commerce-icons-collection/#comments</comments>
		<pubDate>Tue, 28 Jul 2009 07:13:30 +0000</pubDate>
		<dc:creator>Umut M.</dc:creator>
				<category><![CDATA[Design]]></category>
		<category><![CDATA[E-Commerce]]></category>
		<category><![CDATA[Extras]]></category>
		<category><![CDATA[Icons]]></category>
		<category><![CDATA[No License]]></category>
		<category><![CDATA[AI]]></category>
		<category><![CDATA[Basket]]></category>
		<category><![CDATA[Credit Card]]></category>
		<category><![CDATA[GIF]]></category>
		<category><![CDATA[PNG]]></category>
		<category><![CDATA[Shopping Cart]]></category>

		<guid isPermaLink="false">http://www.webresourcesdepot.com/?p=1075</guid>
		<description><![CDATA[Using icons in e-commerce websites is almost a standard as users generally search for a shopping cart icon to view the items in the basket or credit card icons to findout if such a payment option exists.
With this 2nd post of E-Commerce Week, here is a collection of free e-commerce icons that you can use [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Using icons in e-commerce websites is almost a standard</strong> as users generally search for a shopping cart icon to view the items in the basket or credit card icons to findout if such a payment option exists.</p>
<p>With this 2nd post of <a href="http://www.webresourcesdepot.com/e-commerce-week-at-webresourcesdepot-want-to-sponsor/"><strong>E-Commerce Week</strong></a>, here is a <strong>collection of free e-commerce icons</strong> that you can use in your projects.</p>
<h3>WebResourcesDepot E-Commerce Icons (Vectors Included)</h3>
<p><img width="480" height="329" alt="E-Commerce Icons" src="http://www.webresourcesdepot.com/wp-content/uploads/image/ecommerce-icons.jpg" /></p>
<p>The <strong>free e-commerce icon set</strong> is created <strong>exclusively for WebResourcesDepot</strong> by the talented team at <a href="http://www.iconshock.com/index.php?prd=affcomm63789" target="_blank"><strong>IconShock</strong></a> (<a href="http://www.webresourcesdepot.com/what-kind-of-icons-do-you-need-poll/">like promised</a>).</p>
<p>The set comes with <strong>5 icons</strong> both in PNG&nbsp;&amp; <strong>AI (Illustrator) files</strong> so, if wanted, they can be resized or modified easily.</p>
<p><a target="_blank" href="http://www.webresourcesdepot.com/?download=Ecommerce-icons"><strong>Click here to download WebResourcesDepot E-Commerce Icons!</strong></a>.</p>
<p><span id="more-1075"></span></p>
<div class="featured">
<h3>Sponsors Of E-Commerce Week:</h3>
<p><script type="text/javascript">
Vertical1240387 = false;
ShowAdHereBanner1240387 = false;
RepeatAll1240387 = false;
NoFollowAll1240387 = false;
BannerStyles1240387 = new Array(
    "a{display:block;font-size:11px;color:#888;font-family:verdana,sans-serif;margin:0 4px 10px 0;text-align:center;text-decoration:none;overflow:hidden;}",
    "img{border:0;clear:right;}",
    "a.adhere{color:#666;font-weight:bold;font-size:12px;border:1px solid #ccc;background:#e7e7e7;text-align:center;}",
    "a.adhere:hover{border:1px solid #999;background:#ddd;color:#333;}"
);
document.write(unescape("%3Cscript src='"+document.location.protocol+"//s3.buysellads.com/1240387/1240387.js?v="+Date.parse(new Date())+"' type='text/javascript'%3E%3C/script%3E"));
</script> <a target="_blank" href="http://www.sslmatic.com/"><img width="468" height="60" style="border: 0px none ; padding: 0px;" alt="SSLmatic - Cheap SSL Certificates" src="http://www.webresourcesdepot.com/wp-content/uploads/image/sslmatic-468x60.jpg" /></a></div>
<h3><a target="_blank" href="http://cssglobe.com/post/3949/interview-with-logo-designer-luka-pensa/">Vector Shopping Cart Icons</a></h3>
<p><a target="_blank" href="http://cssglobe.com/post/3949/interview-with-logo-designer-luka-pensa/"><img width="480" height="158" alt="Vector Shopping Cart Icons" src="http://www.webresourcesdepot.com/wp-content/uploads/image/vector-cart-icons.gif" /></a></p>
<p>The set has 12 icons in vector formats:&nbsp;AI, EPS, PDF &amp; XAR.</p>
<h3><a target="_blank" href="http://www.bartelme.at/journal/archive/shopping_cart_icon">Shopping Cart Icon</a></h3>
<p><a target="_blank" href="http://www.bartelme.at/journal/archive/shopping_cart_icon"><img width="375" height="158" alt="Shopping Cart Icon" src="http://www.webresourcesdepot.com/wp-content/uploads/image/shopping-cart-icon.jpg" /></a></p>
<p>A single &amp; detailed icon which comes in ICO, ICNS &amp; PNG formats with 16*16px, 32*32px, 48*48px &amp; 128*128px sizes.</p>
<h3><a target="_blank" href="http://www.starfishwebconsulting.co.uk/articles/free-ecommerce-icons?/ecommerce-icons">Glossy E-Commerce Icons</a></h3>
<p><a target="_blank" href="http://www.starfishwebconsulting.co.uk/articles/free-ecommerce-icons?/ecommerce-icons"><img width="350" height="370" alt="Glossy E-Commerce Icons" src="http://www.webresourcesdepot.com/wp-content/uploads/image/glossy-ecommerce-icons.jpg" /></a></p>
<p>32 glossy icons in PNG&nbsp;format &amp; 32*32px size.</p>
<h3><a href="http://kyo-tux.deviantart.com/art/Basket-129616195" target="_blank">Basket Icons</a></h3>
<p><a href="http://kyo-tux.deviantart.com/art/Basket-129616195" target="_blank"><img width="320" height="158" src="http://www.webresourcesdepot.com/wp-content/uploads/image/basket-icons.jpg" alt="Basket Icons" /></a></p>
<p>2 huge basket icons with emtpy/full scenarios in PNG format &amp; 128*128px, 256*256px, 512*512px sizes.</p>
<h3><a target="_blank" href="http://klepas.deviantart.com/art/Tango-styled-Shopping-cart-57705895">Tango-Styled Shopping Cart</a></h3>
<p><a target="_blank" href="http://klepas.deviantart.com/art/Tango-styled-Shopping-cart-57705895"><img width="169" height="158" alt="Shopping Cart" src="http://www.webresourcesdepot.com/wp-content/uploads/image/shopping-cart.jpg" /></a></p>
<p>This is an icon in PNG format.</p>
<h3><a href="http://www.iconspedia.com/icon/christmas-shopping-cart-7-30.html" target="_blank">Christmas Shopping Basket</a></h3>
<p><a href="http://www.iconspedia.com/icon/christmas-shopping-cart-7-30.html" target="_blank"><img width="169" height="158" src="http://www.webresourcesdepot.com/wp-content/uploads/image/christmas-shopping-basket.jpg" alt="Christmas Shopping Basket" /></a></p>
<p>1 icon that comes in both PNG &amp; ICO formats. PNG formats are in 32*32px, 48*48px, 64*64px, 128*128px, 256*256px sizes.</p>
<h3><a target="_blank" href="http://www.iconarchive.com/show/finance-icons-by-visualpharm/shopping-cart-icon.html">Cart Icon</a></h3>
<p><a target="_blank" href="http://www.iconarchive.com/show/finance-icons-by-visualpharm/shopping-cart-icon.html"><img width="169" height="158" alt="Cart Icon" src="http://www.webresourcesdepot.com/wp-content/uploads/image/cart-icon.jpg" /></a></p>
<p>1 icon in PNG, ICO &amp; ICNS formats. PNG&nbsp;format comes in 16*16px, 24*24px, 32*32px, 48*48px, 64*64px, 128*128px sizes.</p>
<h3><a href="http://benrulz.deviantart.com/art/icons-Shopping-Cart-101976308" target="_blank">Full Shopping Cart Icon</a></h3>
<p><a href="http://benrulz.deviantart.com/art/icons-Shopping-Cart-101976308" target="_blank"><img width="169" height="158" src="http://www.webresourcesdepot.com/wp-content/uploads/image/full-shopping-cart-icon.jpg" alt="Full Shopping Cart Icon" /></a></p>
<p>The icon is in PNG format &amp; 512*512px size.</p>
<h3><a href="http://www.mezzoblue.com/icons/chalkwork/payments/" target="_blank">Chalkwork Payments</a></h3>
<p><a href="http://www.mezzoblue.com/icons/chalkwork/payments/" target="_blank"><img width="480" height="158" src="http://www.webresourcesdepot.com/wp-content/uploads/image/payment-icons.jpg" alt="Payment Icons" /></a></p>
<p>The set includes <strong>21 original icons</strong> and 105 variations. They are available in 3 sizes and 6 file formats: transparent PNG, TIF, GIF, BMP, Windows ICO and Mac ICNS.</p>
<h3><a target="_blank" href="http://www.fineicons.com/en/free-icons/credit-cards/">Credit Cards Icon Set</a></h3>
<p><a target="_blank" href="http://www.fineicons.com/en/free-icons/credit-cards/"><img width="480" height="158" alt="Credit Card Icons" src="http://www.webresourcesdepot.com/wp-content/uploads/image/credit-card-icons.jpg" /></a></p>
<p>20 icons in GIF format with sizes: 50px*30px or 30px*30px.</p>
<h3><a href="http://www.credit-card-logos.com/" target="_blank">Credit Card Logos &amp; Images</a></h3>
<p><a href="http://www.credit-card-logos.com/" target="_blank"><img width="480" height="158" src="http://www.webresourcesdepot.com/wp-content/uploads/image/credit-card-logos.gif" alt="Credit Card Logos" /></a></p>
<p>A collection of credit card logos, related images &amp; variations.</p>
<h3><a href="http://www.virtuallnk.com/credit-card-icons.aspx" target="_blank">3D Credit Card Icons</a></h3>
<p><a href="http://www.virtuallnk.com/credit-card-icons.aspx" target="_blank"><img width="204" height="85" src="http://www.webresourcesdepot.com/wp-content/uploads/image/3d-credit-card-icons.jpg" alt="3D Credit Card Icons" /></a></p>
<p>Six <strong>3D icons</strong> in GIF, JPG, PNG, ICO &amp; Mac ICNS formats. They are sized 48*48px &amp; 72*72px.</p>
<p><strong>Special Downloads:</strong><br />
<a href="http://www.webresourcesdepot.com/?download=jBasket" target="_blank">Ajaxed Add-To-Basket Scenarios With jQuery And PHP</a><br />
<a href="http://www.webresourcesdepot.com/?download=Free-Admin-Template" target="_blank">Free Admin Template For Web Applications</a><br />
<a href="http://www.webresourcesdepot.com/?download=jQuery-Dynamic-Drag-Drop" target="_blank">jQuery Dynamic Drag&#8217;n Drop</a><br />
<a href="http://www.webresourcesdepot.com/?download=sTwitter-1-0" target="_blank">ScheduledTweets</a></p>
<p><strong>Advertisements:</strong><br />
<a href="http://www.sslmatic.com" target="_blank">SSLmatic &#8211; Cheap SSL Certificates (from $19.99/year)</a><br />
<a href="http://twitter.com/umutm" target="_blank">Follow WebResourcesDepot At Twitter And Get More Resources!</a></p>

	Tags: <a href="http://www.webresourcesdepot.com/tag/ai/" title="AI" rel="tag">AI</a>, <a href="http://www.webresourcesdepot.com/tag/basket/" title="Basket" rel="tag">Basket</a>, <a href="http://www.webresourcesdepot.com/tag/credit-card/" title="Credit Card" rel="tag">Credit Card</a>, <a href="http://www.webresourcesdepot.com/tag/gif/" title="GIF" rel="tag">GIF</a>, <a href="http://www.webresourcesdepot.com/tag/png/" title="PNG" rel="tag">PNG</a>, <a href="http://www.webresourcesdepot.com/tag/shopping-cart/" title="Shopping Cart" rel="tag">Shopping Cart</a><br />

	<h4>Related posts</h4>
	<ul class='st-related-posts'>
	<li><a href="http://www.webresourcesdepot.com/free-weather-icons-collection/" title="Free Weather Icons Collection (November 13, 2008)">Free Weather Icons Collection</a></li>
	<li><a href="http://www.webresourcesdepot.com/simple-and-nice-icon-set-simplicio/" title="Simple And Nice Icon Set: Simplicio (September 3, 2008)">Simple And Nice Icon Set: Simplicio</a></li>
	<li><a href="http://www.webresourcesdepot.com/get-color-palette-by-uploading-an-image/" title="Get Color Palette By Uploading An Image (February 16, 2009)">Get Color Palette By Uploading An Image</a></li>
	<li><a href="http://www.webresourcesdepot.com/free-web-development-icons-from-icojoy/" title="Free Web Development Icons From Icojoy (June 26, 2008)">Free Web Development Icons From Icojoy</a></li>
	<li><a href="http://www.webresourcesdepot.com/free-w3c-validation-icons-with-psd-file/" title="Free W3C Validation Icons (With PSD File) (October 21, 2008)">Free W3C Validation Icons (With PSD File)</a></li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://www.webresourcesdepot.com/e-commerce-icons-collection/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Creating A Slick Ajaxed Add-To-Basket With jQuery And PHP</title>
		<link>http://www.webresourcesdepot.com/creating-a-slick-ajaxed-add-to-basket-with-jquery-and-php/</link>
		<comments>http://www.webresourcesdepot.com/creating-a-slick-ajaxed-add-to-basket-with-jquery-and-php/#comments</comments>
		<pubDate>Mon, 27 Jul 2009 07:05:40 +0000</pubDate>
		<dc:creator>Umut M.</dc:creator>
				<category><![CDATA[E-Commerce]]></category>
		<category><![CDATA[Extras]]></category>
		<category><![CDATA[MIT License]]></category>
		<category><![CDATA[No License]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Mysql]]></category>
		<category><![CDATA[Php]]></category>

		<guid isPermaLink="false">http://www.webresourcesdepot.com/?p=1071</guid>
		<description><![CDATA[It is a clear fact that Ajaxed interfaces, if not overused, eases using websites so much.
For an e-commerce website, this can mean a better shopping experience for customers where they can concentrate more on the products which may result in better sales.

This is a detailed tutorial which shows creating an unobtrusive Ajaxed shopping cart using [...]]]></description>
			<content:encoded><![CDATA[<p>It is a clear fact that Ajaxed interfaces, if not overused, eases using websites so much.</p>
<p>For an e-commerce website, this can mean <strong>a better shopping experience for customers</strong> where they can concentrate more on the products which may result in better sales.</p>
<p><img width="480" height="160" alt="jQuery Ajax Shopping Cart" src="http://www.webresourcesdepot.com/wp-content/uploads/image/jquery-ajax-shopping-cart.jpg" /></p>
<p>This is a detailed tutorial which shows creating an <strong>unobtrusive Ajaxed shopping cart using <strong>jQuery</strong> &amp; <strong>PHP</strong> </strong>and can guide you to Ajaxify any e-commerce software you may already be using or coding.</p>
<p>The main functions of the cart will be adding/removing items to the basket without the need of refreshing the page &amp; displaying the actions with effects.</p>
<h3>Other Add-To-Basket Tutorials Built on This Example:</h3>
<ul>
<li><a href="http://www.webresourcesdepot.com/fly-to-basket-effect-with-jquery/">Fly-To-Basket Effect With jQuery</a></li>
<li><a href="http://www.webresourcesdepot.com/ajaxed-sliding-shopping-cart-with-jquery/">Ajaxed Sliding Shopping Cart With jQuery</a></li>
</ul>
<p><span id="more-1071"></span></p>
<p>To try the demo or download the script:</p>
<p><a target="_blank" href="http://webresourcesdepot.com/wp-content/uploads/file/jbasket/standard/"><img width="480" height="48" src="http://www.webresourcesdepot.com/wp-content/uploads/image/demo-button.gif" alt="Slick Add-To-Basket With jQuery And PHP Demo" style="border: 0px none ;" /></a><a target="_blank" href="http://feeds2.feedburner.com/webresourcesdepot"><img src="http://www.webresourcesdepot.com/wp-content/uploads/image/download-button.gif" alt="Slick Add-To-Basket With jQuery And PHP Download" style="border: 0px none ;" /></a></p>
<div class="featured">
<h3>Sponsors Of E-Commerce Week:</h3>
<p><script type="text/javascript">
Vertical1240387 = false;
ShowAdHereBanner1240387 = false;
RepeatAll1240387 = false;
NoFollowAll1240387 = false;
BannerStyles1240387 = new Array(
    "a{display:block;font-size:11px;color:#888;font-family:verdana,sans-serif;margin:0 4px 10px 0;text-align:center;text-decoration:none;overflow:hidden;}",
    "img{border:0;clear:right;}",
    "a.adhere{color:#666;font-weight:bold;font-size:12px;border:1px solid #ccc;background:#e7e7e7;text-align:center;}",
    "a.adhere:hover{border:1px solid #999;background:#ddd;color:#333;}"
);
document.write(unescape("%3Cscript src='"+document.location.protocol+"//s3.buysellads.com/1240387/1240387.js?v="+Date.parse(new Date())+"' type='text/javascript'%3E%3C/script%3E"));
</script> <a href="http://www.sslmatic.com/" target="_blank"><img width="468" height="60" src="http://www.webresourcesdepot.com/wp-content/uploads/image/sslmatic-468x60.jpg" alt="SSLmatic - Cheap SSL Certificates" style="border: 0px none ; padding: 0px;" /></a></p>
<p><a href="http://buysellads.com/buy/detail/325" target="_blank">Want To Sponsor?</a></p>
</div>
<h3>The HTML</h3>
<p>Rather than the formatting of the page, as you can design it however you prefer, we&#8217;ll be focusing on the vital parts which does all the tricks.</p>
<p><strong>HTML For The Product&#8217;s Wrapper:</strong></p>
<pre class="brush: php">
&lt;div class=&quot;productWrap&quot;&gt;
	&lt;div class=&quot;productImageWrap&quot;&gt;
		&lt;img src=&quot;images/product1.jpg&quot; alt=&quot;Product1&quot; /&gt;
	&lt;/div&gt;
	&lt;div class=&quot;productNameWrap&quot;&gt;
		Krups Coffee Maker
	&lt;/div&gt;
	&lt;div class=&quot;productPriceWrap&quot;&gt;
		&lt;div class=&quot;productPriceWrapLeft&quot;&gt;
			$95
		&lt;/div&gt;
		&lt;div class=&quot;productPriceWrapRight&quot;&gt;
			&lt;a href=&quot;inc/functions.php?action=addToBasket&amp;productID=1&quot; onClick=&quot;return false;&quot;&gt;
				&lt;img src=&quot;images/add-to-basket.gif&quot; alt=&quot;Add To Basket&quot; width=&quot;111&quot; height=&quot;32&quot; id=&quot;featuredProduct_1&quot; /&gt;
			&lt;/a&gt;
		&lt;/div&gt;
	&lt;/div&gt;
&lt;/div&gt;
</pre>
<p>The part we&#8217;ll focus is the contents inside <code>&lt;div class=&quot;productPriceWrapRight&quot;&gt;</code> which wraps the &quot;add-to-basket&quot; button.</p>
<p>The Highlights:</p>
<ul>
<li>a link with <code>onClick=&quot;return false;</code> value which means it won&#8217;t be active if JavaScript is active (to make the script unobtrusive)</li>
<li>add-to-basket image has an unique ID: <code>id=&quot;featuredProduct_1&quot;</code> which we&#8217;ll use to understand the button of which product is clicked</li>
</ul>
<p><strong>HTML For The Basket:</strong></p>
<pre class="brush: php">
&lt;div id=&quot;basketWrap&quot;&gt;
	&lt;div id=&quot;basketTitleWrap&quot;&gt;
		Your Basket &lt;span id=&quot;notificationsLoader&quot;&gt;&lt;/span&gt;
	&lt;/div&gt;
	&lt;div id=&quot;basketItemsWrap&quot;&gt;
		&lt;ul&gt;
		&lt;li&gt;&lt;/li&gt;
		&lt;?php getBasket(); ?&gt;
		&lt;/ul&gt;
	&lt;/div&gt;
&lt;/div&gt;
</pre>
<p>The Highlights:</p>
<ul>
<li>we have an empty <code>&lt;span&gt;</code> with <code>id=&quot;notificationsLoader&quot;</code> to show a loading image</li>
<li>we keep an empty div to be able to insert any data before/after them</li>
<li>we call a PHP function: <code>&lt;?php getBasket(); ?&gt;</code> to get the basket data when the page is first loaded.</li>
</ul>
<h3>The JavaScript (jQuery)</h3>
<p>We have 2 main jQuery functions:</p>
<p><strong>Function For Adding To Basket:</strong></p>
<pre class="brush: javascript">
$(&quot;.productPriceWrapRight a img&quot;).click(function() {
	var productIDValSplitter 	= (this.id).split(&quot;_&quot;);
	var productIDVal 			= productIDValSplitter[1];

	$(&quot;#notificationsLoader&quot;).html(&#039;&lt;img src=&quot;images/loader.gif&quot;&gt;&#039;);

	$.ajax({
	type: &quot;POST&quot;,
	url: &quot;inc/functions.php&quot;,
	data: { productID: productIDVal, action: &quot;addToBasket&quot;},
	success: function(theResponse) {

		if( $(&quot;#productID_&quot; + productIDVal).length &gt; 0){
			$(&quot;#productID_&quot; + productIDVal).animate({ opacity: 0 }, 500, function() {
				$(&quot;#productID_&quot; + productIDVal).before(theResponse).remove();
			});
			$(&quot;#productID_&quot; + productIDVal).animate({ opacity: 0 }, 500);
			$(&quot;#productID_&quot; + productIDVal).animate({ opacity: 1 }, 500);
			$(&quot;#notificationsLoader&quot;).empty();
		} else {
			$(&quot;#basketItemsWrap li:first&quot;).before(theResponse);
			$(&quot;#basketItemsWrap li:first&quot;).hide();
			$(&quot;#basketItemsWrap li:first&quot;).show(&quot;slow&quot;);
			$(&quot;#notificationsLoader&quot;).empty();
		}

	}
	});  

});
</pre>
<p>The Highlights:</p>
<ul>
<li><strong>splitting the ID&nbsp;of the clicked &quot;add-to-basket&quot; image</strong> which is &quot;featuredProduct_1&quot; from the &quot;_&quot; character &amp; get the databaseID of the product (1)</li>
<li>inserting the <code>loader.gif</code>image inside the element with <code>id=&quot;notificationsLoader&quot;</code></li>
<li>posting a data with Ajax to our functions.php fil which handles all the server-side jobs. 2 data are posted: <code>productID</code> and the action to be done which is <code>addToBasket</code></li>
<li>There are 2 possibilities when the data is posted, the items may already be inside the basket or it may be a new item. So, we have an if clause: <code>if( $(&quot;#productID_&quot; + productIDVal).length &gt; 0){</code> which checks if an element with ID: productID<strong>1</strong> (1 is a variable) exists in the page
<ul>
<li>&nbsp;if it exist:
<ul>
<li>we change the opacity of that object to 0 (make it invisible)</li>
<li>load the new <code>&lt;li&gt;product info&lt;/li&gt;</code> response that comes from the functions.php</li>
<li>remove the original <code>&lt;li&gt;product info&lt;/li&gt;</code> object whose opacity was 0</li>
<li>and play with the new <code>&lt;li&gt;product info&lt;/li&gt;</code> object&#8217;s opacity to create a blinking effect</li>
<li>empty the contents inside<code> id=&quot;notificationsLoader&quot;</code> to stop the loading animation</li>
</ul>
</li>
<li>if it does not exist:
<ul>
<li>we insert the response from the functions.php before the first hidden &lt;li&gt; and hide it</li>
<li>then use <strong>jQuery&#8217;s show function</strong> to display it with an effect</li>
<li>empty the contents inside<code> id=&quot;notificationsLoader&quot;</code> to stop the loading animation</li>
</ul>
</li>
</ul>
</li>
</ul>
<p><strong>Function For Removing From Basket:</strong></p>
<pre class="brush: javascript">
$(&quot;#basketItemsWrap li img&quot;).live(&quot;click&quot;, function(event) { 

	var productIDValSplitter 	= (this.id).split(&quot;_&quot;);
	var productIDVal 			= productIDValSplitter[1];	

	$(&quot;#notificationsLoader&quot;).html(&#039;&lt;img src=&quot;images/loader.gif&quot;&gt;&#039;);

	$.ajax({
	type: &quot;POST&quot;,
	url: &quot;inc/functions.php&quot;,
	data: { productID: productIDVal, action: &quot;deleteFromBasket&quot;},
	success: function(theResponse) {

		$(&quot;#productID_&quot; + productIDVal).hide(&quot;slow&quot;,  function() {$(this).remove();});
		$(&quot;#notificationsLoader&quot;).empty();

	}
	});  

});
</pre>
<p>The Highlights:</p>
<ul>
<li>As the objects are inserted to basket via Ajax, the new HTML items inside the basket are normally not loaded to the DOM and we can&#8217;t reach them via JavaScript. <strong>jQuery offers an event named &quot;live&quot;</strong> (starting from jQuery 1.3) which loads the new created items to the DOM. So we used this event.</li>
<li>All other tasks are similar to adding an item, we splitted the HTML element from the &quot;_&quot; character and got the <code>productID</code> to be deleted and sent it to functions.php via Ajax.</li>
</ul>
<h3>The Database</h3>
<p>We have used a MySQL database in this example with 2 tables:</p>
<p><strong>Products</strong>:</p>
<p><img width="480" height="90" src="http://www.webresourcesdepot.com/wp-content/uploads/image/add-to-basket-db-table2.jpg" alt="Add To Basket Products Table" /></p>
<p><strong>Baskets</strong> (for keeping the shopping cart of every different session)</p>
<p><img width="480" height="90" src="http://www.webresourcesdepot.com/wp-content/uploads/image/add-to-basket-db-table1.jpg" alt="Add To Basket Sessions Table" /></p>
<h3>The PHP</h3>
<p>There is nothing complicated on the PHP part.</p>
<p><strong>Handle The Variables:</strong></p>
<pre class="brush: php">
session_start();
$sessionID = $_COOKIE[&#039;PHPSESSID&#039;];

if($_POST[&#039;action&#039;] != &#039;&#039; || $_GET[&#039;action&#039;] != &#039;&#039;) {
	if($_POST[&#039;action&#039;] == &#039;&#039;)
	{
		$action 	= $_GET[&#039;action&#039;];
		$productID	= $_GET[&#039;productID&#039;];
		$noJavaScript = 1;
	} else {
		$action 	= $_POST[&#039;action&#039;];
		$productID	= $_POST[&#039;productID&#039;];
		$noJavaScript = 0;
	}
}
</pre>
<p>The Highlights:</p>
<ul>
<li>we <strong>create a session variable</strong> so every different user will have their own baskets</li>
<li>understand if the request comes from a POST (Ajax) or GET (JS disabled) request and get the <code>action</code> &amp; <code>productID</code> variables</li>
<li>if it is a GET request we change the value of a variable named <code>$noJavaScript</code> to 1</li>
</ul>
<p><strong>PHP For Add To Basket:</strong></p>
<pre class="brush: php">
if ($action == &quot;addToBasket&quot;){

	$productInBasket 	= 0;
	$productTotalPrice	= 0;

	$query  = &quot;SELECT * FROM products WHERE productID = &quot; . $productID;
	$result = mysql_query($query);
	$row = mysql_fetch_array( $result );

	$productPrice 		= $row[&#039;productPrice&#039;];
	$productName		= $row[&#039;productName&#039;];	

	$query = &quot;INSERT INTO baskets (productID, productPrice, basketSession) VALUES (&#039;$productID&#039;, &#039;$productPrice&#039;, &#039;$sessionID&#039;)&quot;;
	mysql_query($query) or die(&#039;Error, insert query failed&#039;);	

	$query  = &quot;SELECT * FROM baskets WHERE productID = &quot; . $productID . &quot; AND basketSession = &#039;&quot; . $sessionID . &quot;&#039;&quot;;
	$result = mysql_query($query) or die(mysql_error());;

	while($row = mysql_fetch_array($result, MYSQL_ASSOC))
	{
		$totalItems 	= $totalItems + 1;
		$productTotalPrice 	= $productTotalPrice + $row[&#039;productPrice&#039;];
	}

	if ($noJavaScript == 1) {
		header(&quot;Location: ../index.php&quot;);
	} else {
		echo (&#039;&lt;li id=&quot;productID_&#039; . $productID . &#039;&quot;&gt;&lt;a href=&quot;inc/functions.php?action=deleteFromBasket&amp;productID=&#039; . $productID . &#039;&quot; onClick=&quot;return false;&quot;&gt;&lt;img src=&quot;images/delete.png&quot; id=&quot;deleteProductID_&#039; . $productID . &#039;&quot;&gt;&lt;/a&gt; &#039; . $productName . &#039;(&#039; . $totalItems . &#039; items) - $&#039; . $productTotalPrice . &#039;&lt;/li&gt;&#039;);
	}

}
</pre>
<p>The Highlights:</p>
<ul>
<li>we insert the product to the database. If <code>$noJavaScript</code> to 1 we redirect to the index.php else <strong>we create a &lt;li&gt; element</strong> including the product&#8217;s details &amp; <strong><code>echo</code> it so we can insert it via jQuery</strong>.</li>
</ul>
<p><strong>PHP For Delete From Basket:</strong></p>
<pre class="brush: php">
if ($action == &quot;deleteFromBasket&quot;){

	$query = &quot;DELETE FROM baskets WHERE productID = &quot; . $productID . &quot; AND basketSession = &#039;&quot; . $sessionID . &quot;&#039;&quot;;
	mysql_query($query) or die(&#039;Error, delete query failed&#039;);

	if ($noJavaScript == 1) {
		header(&quot;Location: ../index.php&quot;);
	}
}
</pre>
<p>The Highlights:</p>
<ul>
<li>we delete the product to the database. If <code>$noJavaScript</code> to 1 we redirect to the index.php</li>
</ul>
<p><strong>PHP For Getting The Basket (For Initial Load)</strong></p>
<p>Like mentioned before, we create a function to get the basket&#8217;s current situation, so it can be loaded in the initial loading of the page.</p>
<pre class="brush: php">
function getBasket(){

	session_start();
	$sessionID = $_COOKIE[&#039;PHPSESSID&#039;];

	$query  = &quot;SELECT * FROM baskets WHERE basketSession = &#039;&quot; . $sessionID . &quot;&#039; GROUP BY productID ORDER By basketID DESC&quot;;
	$result = mysql_query($query);
	//echo $query;

	while($row = mysql_fetch_array($result, MYSQL_ASSOC))
	{

		$query2  = &quot;SELECT * FROM products WHERE productID = &quot; . $row[&#039;productID&#039;];
		$result2 = mysql_query($query2);
		$row2 = mysql_fetch_array( $result2 );

		$productID	 		= $row2[&#039;productID&#039;];
		$productPrice 		= $row2[&#039;productPrice&#039;];
		$productName		= $row2[&#039;productName&#039;];	

		$query2  = &quot;SELECT COUNT(*) AS totalItems FROM baskets WHERE basketSession = &#039;&quot; . $sessionID . &quot;&#039; AND productID = &quot; . $productID;
		$result2 = mysql_query($query2);
		$row2 = mysql_fetch_array( $result2 );
		$totalItems = $row2[&#039;totalItems&#039;];
		$basketText = $basketText . &#039;&lt;li id=&quot;productID_&#039; . $productID . &#039;&quot;&gt;&lt;a href=inc/functions.php?action=deleteFromBasket&amp;productID=&#039; . $productID . &#039; onClick=&quot;return false;&quot;&gt;&lt;img src=&quot;images/delete.png&quot; id=&quot;deleteProductID_&#039; . $productID . &#039;&quot;&gt;&lt;/a&gt; &#039; . $productName . &#039;(&#039; . $totalItems . &#039; items) - $&#039; . ($totalItems * $productPrice) . &#039;&lt;/li&gt;&#039;;

	}
	echo $basketText;
}
</pre>
<p>The Highlights:</p>
<ul>
<li>This is a standard PHP function which creates the HTML for the items in the basket with a loop</li>
</ul>
<p>And, the <strong>Ajaxed basket built with jQuery &amp; PHP</strong> is ready-to-use.</p>
<p><strong>P.S.</strong> To make the example work on your side, you should be creating a new database with the jBasket.sql file inside the download package &#038; configure the database connection information inside &#8220;inc/db.php&#8221; file.</p>
<p><strong>Special Downloads:</strong><br />
<a href="http://www.webresourcesdepot.com/?download=jBasket" target="_blank">Ajaxed Add-To-Basket Scenarios With jQuery And PHP</a><br />
<a href="http://www.webresourcesdepot.com/?download=Free-Admin-Template" target="_blank">Free Admin Template For Web Applications</a><br />
<a href="http://www.webresourcesdepot.com/?download=jQuery-Dynamic-Drag-Drop" target="_blank">jQuery Dynamic Drag&#8217;n Drop</a><br />
<a href="http://www.webresourcesdepot.com/?download=sTwitter-1-0" target="_blank">ScheduledTweets</a></p>
<p><strong>Advertisements:</strong><br />
<a href="http://www.sslmatic.com" target="_blank">SSLmatic &#8211; Cheap SSL Certificates (from $19.99/year)</a><br />
<a href="http://twitter.com/umutm" target="_blank">Follow WebResourcesDepot At Twitter And Get More Resources!</a></p>

	Tags: <a href="http://www.webresourcesdepot.com/tag/javascript/" title="Javascript" rel="tag">Javascript</a>, <a href="http://www.webresourcesdepot.com/tag/mysql/" title="Mysql" rel="tag">Mysql</a>, <a href="http://www.webresourcesdepot.com/tag/php/" title="Php" rel="tag">Php</a><br />

	<h4>Related posts</h4>
	<ul class='st-related-posts'>
	<li><a href="http://www.webresourcesdepot.com/testswarm-continious-distributed-js-testing/" title="TestSwarm: Continious &#038; Distributed JS Testing (August 27, 2009)">TestSwarm: Continious &#038; Distributed JS Testing</a></li>
	<li><a href="http://www.webresourcesdepot.com/php-shoutbox-script-wtag/" title="PHP Shoutbox Script: wTag (June 22, 2008)">PHP Shoutbox Script: wTag</a></li>
	<li><a href="http://www.webresourcesdepot.com/display-mysql-data-in-google-maps-using-drasticmap/" title="Display MySQL Data In Google Maps Using DrasticMap (February 27, 2008)">Display MySQL Data In Google Maps Using DrasticMap</a></li>
	<li><a href="http://www.webresourcesdepot.com/ajaxed-dragn-drop-shopping-cart-with-jquery-php/" title="Ajaxed Drag&#8217;n Drop Shopping Cart With jQuery &#038; PHP (September 20, 2009)">Ajaxed Drag&#8217;n Drop Shopping Cart With jQuery &#038; PHP</a></li>
	<li><a href="http://www.webresourcesdepot.com/ajax-star-rating-with-php-mysql/" title="Ajax Star Rating With PHP &#038; MySQL (January 19, 2009)">Ajax Star Rating With PHP &#038; MySQL</a></li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://www.webresourcesdepot.com/creating-a-slick-ajaxed-add-to-basket-with-jquery-and-php/feed/</wfw:commentRss>
		<slash:comments>32</slash:comments>
		</item>
	</channel>
</rss>

<!-- Dynamic Page Served (once) in 2.001 seconds -->
