<?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>PhishThis! &#187; Zen Cart</title>
	<atom:link href="http://www.phishthis.com/category/e-commerce/zen-cart/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.phishthis.com</link>
	<description></description>
	<lastBuildDate>Tue, 22 Feb 2011 05:48:38 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.1</generator>
		<item>
		<title>Importing product descriptions into ZenCart using PowerShell, Excel, and phpmyadmin &#8211; Part 2</title>
		<link>http://www.phishthis.com/2008/01/17/importing-product-descriptions-into-zencart-using-powershell-excel-and-phpmyadmin/</link>
		<comments>http://www.phishthis.com/2008/01/17/importing-product-descriptions-into-zencart-using-powershell-excel-and-phpmyadmin/#comments</comments>
		<pubDate>Thu, 17 Jan 2008 06:12:48 +0000</pubDate>
		<dc:creator>Tom</dc:creator>
				<category><![CDATA[E-Commerce]]></category>
		<category><![CDATA[PowerShell]]></category>
		<category><![CDATA[Zen Cart]]></category>
		<category><![CDATA[chaoscollectibles]]></category>
		<category><![CDATA[Excel]]></category>
		<category><![CDATA[Import Products Into ZenCart with PowerShell]]></category>
		<category><![CDATA[www.chaoscollectibles.com]]></category>
		<category><![CDATA[ZenCart]]></category>

		<guid isPermaLink="false">http://www.phishthis.com/2008/01/17/importing-product-descriptions-into-zencart-using-powershell-excel-and-phpmyadmin/</guid>
		<description><![CDATA[<p>If you followed the last post, this one is a continuation.</p> <p>So, you&#8217;ve imported all of your products into the products table with the last script. Next, you need to add the information about the products to products_to_categories, so the categories are properly mapped, and to products_descriptions, so you have a name, etc. </p> [...]]]></description>
			<content:encoded><![CDATA[<p>If you followed the last post, this one is a continuation.</p>
<p>So, you&#8217;ve imported all of your products into the products table with the last script. Next, you need to add the information about the products to products_to_categories, so the categories are properly mapped, and to products_descriptions, so you have a name, etc. </p>
<p> You&#8217;ll need the products_id of the FIRST product you inserted with the last script.</p>
<p align="center">Check out this PowerShell script:<span id="more-19"></span> <a rel="attachment wp-att-21" target="scriptwindow" href="http://www.phishthis.com/2008/01/17/importing-product-descriptions-into-zencart-using-powershell-excel-and-phpmyadmin/powershell-script-to-generate-zencart-products-descriptions-and-link-categories/" title="PowerShell script to generate ZenCart products descriptions and link categories">PowerShell script to generate ZenCart products descriptions and link categories</a></p>
<p>Edit that and set $i equal to whatever that first products_id was. Run the script from the directory will all of your image files (assuming you&#8217;ve formatted the names), and you&#8217;ll end up with a CSV that contains two columns. The first is the almost-nicely-formatted product name, and the second is the corresponding products_id. The problem is, unless you capitalized each word in the name (EPIC FAIL on my part), you&#8217;ll have all lower case. Doesn&#8217;t look so hot.</p>
<p>I read about this neat feature in Excel tonight.  It&#8217;s called PROPER and it will convert the first letter of each word in a cell to upper case. So, open your CSV in Rxcel, create a formula in C1 that looks like this: =PROPER(A1)</p>
<p>Copy that down column C, and suddenly you&#8217;ll find yourself with nicely formatted and capitalize product titles. Save that CSV somewhere, and check out the next script.</p>
<p align="center"><a href="http://www.phishthis.com/wp-content/uploads/2008/01/build-productcsv.ps1" title="PowerShell script to generate ZenCart products descriptions for import to Excel">PowerShell script to generate ZenCart products descriptions SQL statements</a></p>
<p>This one generates two files, one for the products_description table and one for products_to_categories.  </p>
<p>Import both of those files into PHPMyAdmin, and you&#8217;ve just saved yourself about 10 hours of data entry. Check out <a href="http://www.chaoscollectibles.com/">www.chaoscollectibles.com</a> and see how that hour of scripting saved me all that time :) Work Smart.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.phishthis.com/2008/01/17/importing-product-descriptions-into-zencart-using-powershell-excel-and-phpmyadmin/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

