<?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>That PHP Girl &#187; ecommerce</title>
	<atom:link href="http://thatphpgirl.com/tag/ecommerce/feed/" rel="self" type="application/rss+xml" />
	<link>http://thatphpgirl.com</link>
	<description>PHP, WordPress, and Theme Development</description>
	<lastBuildDate>Mon, 15 Mar 2010 13:57:07 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Navigating Your Dreams &#8230; LIVE!</title>
		<link>http://thatphpgirl.com/navigating-your-dreams-live/</link>
		<comments>http://thatphpgirl.com/navigating-your-dreams-live/#comments</comments>
		<pubDate>Tue, 02 Feb 2010 02:18:40 +0000</pubDate>
		<dc:creator>Nikole</dc:creator>
				<category><![CDATA[Portfolio]]></category>
		<category><![CDATA[abstract]]></category>
		<category><![CDATA[blog development]]></category>
		<category><![CDATA[ciara daykin]]></category>
		<category><![CDATA[custom template]]></category>
		<category><![CDATA[daykin productions]]></category>
		<category><![CDATA[ecommerce]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[plugins]]></category>
		<category><![CDATA[rockstar wedding planner]]></category>
		<category><![CDATA[shopping cart]]></category>
		<category><![CDATA[that php girl]]></category>
		<category><![CDATA[theme]]></category>
		<category><![CDATA[theme customization]]></category>
		<category><![CDATA[web development]]></category>
		<category><![CDATA[website]]></category>
		<category><![CDATA[woo themes]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://thatphpgirl.com/?p=314</guid>
		<description><![CDATA[This fun and flirty version of the Woo Theme &#34;Abstract&#34; has gone through several versions since its launch &#8212; from brochure site to long-form sales page, it has retained its sense of style and marketing power.]]></description>
			<content:encoded><![CDATA[<p>In my latest installment for Rockstar Wedding Planner, Ciara Daykin &amp; crew needed a brochure site for their premiere wedding event for wedding planners, <a href="http://www.rockstarweddingplanner.com/live/" target="_new">Rockstar Wedding Planner LIVE!</a>. This site started out as the <a href="http://www.woothemes.com/2008/12/abstract/" target="_new">Abstract Theme by WooThemes</a>, to which I &#8230;</p>
<ul>
<li>Removed the decorative sidebar and shifted the content left.</li>
<li>Dropped the sidebar lower, modified it to randomly select testimonials, and added a logo to the top of the page on that side.</li>
<li>Created custom backgrounds for the page, header and footer.</li>
<li>Swapped out the footer widgets for a special announcement and a link list (using WordPress links).</li>
<li>Used a structure of pages instead of posts.</li>
<li>Connected to an existing shopping cart to create purchase options.</li>
<li>Changed color schemes and some font treatments to achieve the right look.</li>
<li>Created a graphic for the slogan to connect the elegance and star power of the event.</li>
<li>Formatted the content and pictures for flow.</li>
</ul>
<p>The end result is a flirty and fun site featuring the site owner&#8217;s favorite colors that does a great job in getting across the feel of the event itself. It is a big departure from the original format of the <a href="http://www.rockstarweddingplanner.com/live/" target="_new">Rockstar Wedding Planner LIVE!</a> site, which was more of a long sales form &mdash; and the folks at RSWP couldn&#8217;t be happier with their new design! The event (and the site) are sure to be another smashing success for Daykin Productions.</p>
]]></content:encoded>
			<wfw:commentRss>http://thatphpgirl.com/navigating-your-dreams-live/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>WordPress for E-Commerce, Part 1</title>
		<link>http://thatphpgirl.com/wordpress-for-e-commerce-part-1/</link>
		<comments>http://thatphpgirl.com/wordpress-for-e-commerce-part-1/#comments</comments>
		<pubDate>Wed, 16 Sep 2009 18:37:35 +0000</pubDate>
		<dc:creator>Nikole</dc:creator>
				<category><![CDATA[DIY]]></category>
		<category><![CDATA[categories]]></category>
		<category><![CDATA[cms]]></category>
		<category><![CDATA[custom template]]></category>
		<category><![CDATA[ecommerce]]></category>
		<category><![CDATA[online store]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[shopping cart]]></category>
		<category><![CDATA[web development]]></category>
		<category><![CDATA[website]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[WordPress functions]]></category>

		<guid isPermaLink="false">http://thatphpgirl.com/?p=243</guid>
		<description><![CDATA[Today is part one of a three-part article on using Wordpress for E-Commerce. My goal is to create a sort of how-is-that-done series on using Wordpress as an easy content management tool for selling actual products. Some of these techniques can be implemented by anyone, whether you are an advanced programmer or a beginner to [...]]]></description>
			<content:encoded><![CDATA[<p>Today is part one of a three-part article on using Wordpress for E-Commerce. My goal is to create a sort of how-is-that-done series on using Wordpress as an easy content management tool for selling actual products. Some of these techniques can be implemented by anyone, whether you are an advanced programmer or a beginner to WordPress. Today&#8217;s example is from <a href="http://rockstarweddingplanner.com" target="_new">Rockstar Wedding Planner</a>, a recently relaunched site by <a href="http://www.thatphpgirl.com">That PHP Girl</a>.</p>
<h3>Why Use WordPress for E-Commerce?</h3>
<p>I have yet to find an e-commerce solution that I really like and that will do everything I need. Most of them are very complicated to do custom design on, or they are limited in terms of custom design in order to maintain functionality. The time-consuming nature of customizing e-commerce software is what makes an e-commerce site so expensive to make &#8230; and to be honest, most people don&#8217;t need a full-blown e-commerce solution because they won&#8217;t use most of the functionality, and/or they have very few products. Many people also don&#8217;t want a real store&mdash;they just want a way to throw in a few products into their content. So for those reasons, along with the ease of use and development of WordPress, finding a way to make WordPress work for e-commerce purposes makes sense.</p>
<h3>Anatomy of a Products Post</h3>
<p><a href="http://rockstarweddingplanner.com" target="_new">Rockstar Wedding Planner</a> has two main shopping areas: The products section and the coaching section.  <a href="http://rockstarweddingplanner.com/products/" target="_new">The products section</a> is just a category listing disguised as a page &mdash; it uses <a href="http://codex.wordpress.org/Function_Reference/WP_Query" target="_new">WP_Query</a> to pull all the posts from the products posting category and orders them by title. The loop then starts to display all the posts.</p>
<p>The first section is just a simple call to the <a href="http://codex.wordpress.org/Template_Tags/the_title" target="_new">the_title();</a> function in an h3 wrapper:</p>
<p><img src="http://thatphpgirl.com/wp-content/uploads/2009/09/post_anatomy1.png" alt="the_title();" /></p>
<p>The second section calls <a href="http://codex.wordpress.org/Template_Tags/the_content" target="_new">the_content();</a>, using the &lt;!&#8211;more&#8211;&gt; quicktag to control what is displayed on the page and what is displayed after the link.</p>
<p><img src="http://thatphpgirl.com/wp-content/uploads/2009/09/post_anatomy2.png" alt="the_content();" /></p>
<p>The third section calls a price for the product, and a description for that price if it is available (which it is when there is more than one price option). It starts out by finding out if a price is listed using a <a href="http://codex.wordpress.org/Using_Custom_Fields" target="_new">custom field</a>, displaying the description if there is one, and then displaying the price.</p>
<p><img src="http://thatphpgirl.com/wp-content/uploads/2009/09/post_anatomy3.png" alt="the_content();" /></p>
<p>The code for that looks like this:</p>
<blockquote><p>&lt;?php if (post_custom(&#8216;bundle_price&#8217;) == true) { ?&gt;&lt;p&gt;&lt;?php if (post_custom(&#8216;bundle_price_descrip&#8217;) == true) { ?&gt;&lt;?php echo post_custom(&#8216;bundle_price_descrip&#8217;); ?&gt; | &lt;?php } ?&gt;Price: &lt;?php echo post_custom(&#8216;bundle_price&#8217;); ?&gt;&lt;/p&gt;&lt;?php } ?&gt;</p>
</blockquote>
<p>The fourth block is the actual add to cart button. Because the button and the surrounding code for the display stays the same for all products, I opted to just pull the link for this button from a custom field. The admin for the site simply pulls the store link for this product from their payment processor and adds it to the custom field.</p>
<p><img src="http://thatphpgirl.com/wp-content/uploads/2009/09/post_anatomy4.png" alt="Add to Cart Button" /></p>
<p>Code:</p>
<blockquote><p>&lt;?php if (post_custom(&#8216;bundle_link&#8217;) == true) { ?&gt;&lt;div class=&#8221;btn-buy&#8221;&gt;&lt;a href=&#8221;&lt;?php echo post_custom(&#8216;bundle_link&#8217;); ?&gt;&#8221;&gt;&lt;img src=&#8221;http://www.mcssl.com/netcart/images/cart_buttons/cart_button_12.gif&#8221; style=&#8221;border:none; background:none;&#8221; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;?php } ?&gt;</p>
</blockquote>
<p>The final block is a learn more link, which could possibly go to the rest of that post, or it could go to another page entirely.</p>
<p><img src="http://thatphpgirl.com/wp-content/uploads/2009/09/post_anatomy5.png" alt="Add to Cart Button" /></p>
<p>This is also accomplished through custom fields, using an if statement to determine if there is a special link, or if <a href="http://codex.wordpress.org/Template_Tags/the_permalink" target="_new">the_permalink();</a> should just be called:</p>
<blockquote><p>&lt;div class=&#8221;btn-continue&#8221;&gt;&lt;?php if (post_custom(&#8216;bundle_learnmore_link&#8217;) == true) { ?&gt;&lt;a href=&#8221;&lt;?php echo post_custom(&#8216;bundle_learnmore_link&#8217;); ?&gt;&#8221;&gt;&lt;?php echo post_custom(&#8216;bundle_learnmore_text&#8217;); ?&gt;&lt;?php } else { ?&gt;&lt;a href=&#8221;&lt;?php the_permalink(); ?&gt;&#8221;&gt;Learn More&lt;?php } ?&gt;&lt;/a&gt;&lt;/div&gt;</p>
</blockquote>
<p>The coaching section pretty much follows the same functionality, with the biggest exception being that no link is display if a learn more link is not entered as a custom field, instead of using the_permalink(); as the else alternative.</p>
<h3>Want a code-free version?</h3>
<p>WordPress is built upon the structure of categories, posts and pages. Most modern E-Commerce software is built with categories, products and extra content pages. So why can&#8217;t &quot;products&quot; just be posts in the category of &quot;products&quot;? If you want to simplify this whole thing, you could just purchase an existing theme (or use whatever you are using now), and create a category of products. Inside this category, you would use a new post for every one of your products including the description, price, and a Buy It Now button. (Buy It Now buttons can easily be created through services like <a href="http://www.google.com/checkout" target=_new">Google Checkout</a>, <a href="http://www.paypal.com" target=_new">PayPal</a> and <a href="http://www.1shoppingcart.com" target=_new">1ShoppingCart</a>.) Once you have all your products in, your &quot;store&quot; would then just be your category listing, for example /category/products/.</p>
<p>One note: Depending on your version of WordPress and how you edit your pages, it may not work to paste in button code for the visual editor. To solve this problem, enter your text into the visual editor, save the post, and then click on the HTML editor to put the button code in, clicking update post after you are done.</p>
<p>Hopefully I have given my readers some good ideas about what they can do with their own sites, but remember&mdash;if you get stuck, <a href="http://thatphpgirl.com/please-assist-me/">I&#8217;m always here to help!</a></p>
<p>Coming up: Part 2 will be on using WordPress with a custom, on-site cart solution. Part 3 will be about using a plugin to create a shopping solution.</p>
]]></content:encoded>
			<wfw:commentRss>http://thatphpgirl.com/wordpress-for-e-commerce-part-1/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
