<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss xmlns:content="http://purl.org/rss/1.0/modules/content/" 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:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">
<channel>
	<title>Comments for A danish blog about Javascript and Webdevelopment</title>
	
	<link>http://rune.gronkjaer.dk/en-US</link>
	<description>Rune Grønkjær</description>
	<lastBuildDate>Wed, 21 Mar 2012 07:27:45 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/CommentsForADanishBlogAboutJavascriptAndWebdevelopment" /><feedburner:info uri="commentsforadanishblogaboutjavascriptandwebdevelopment" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item>
		<title>Comment on Tea Commerce JavaScript API in general by snyxius</title>
		<link>http://feedproxy.google.com/~r/CommentsForADanishBlogAboutJavascriptAndWebdevelopment/~3/PDqxLzvZmP0/</link>
		<dc:creator>snyxius</dc:creator>
		<pubDate>Wed, 21 Mar 2012 07:27:45 +0000</pubDate>
		<guid isPermaLink="false">http://rune.gronkjaer.dk/en-US/?p=198#comment-591</guid>
		<description>i will subscribe to your blog because you blog gives informative is very good.....</description>
		<content:encoded><![CDATA[<p>i will subscribe to your blog because you blog gives informative is very good&#8230;..</p>
]]></content:encoded>
	<feedburner:origLink>http://rune.gronkjaer.dk/en-US/2010/11/12/tea-commerce-javascript-api-in-general/#comment-591</feedburner:origLink></item>
	<item>
		<title>Comment on Tea Commerce. NET API electronic product example by Rune Gronkjaer</title>
		<link>http://feedproxy.google.com/~r/CommentsForADanishBlogAboutJavascriptAndWebdevelopment/~3/o5wJvxjZZwQ/</link>
		<dc:creator>Rune Gronkjaer</dc:creator>
		<pubDate>Sat, 18 Feb 2012 15:07:31 +0000</pubDate>
		<guid isPermaLink="false">http://rune.gronkjaer.dk/en-US/?p=309#comment-587</guid>
		<description>Cool, thanks.

/Rune</description>
		<content:encoded><![CDATA[<p>Cool, thanks.</p>
<p>/Rune</p>
]]></content:encoded>
	<feedburner:origLink>http://rune.gronkjaer.dk/en-US/2011/03/07/tea-commerce-net-api-electronic-product-example/#comment-587</feedburner:origLink></item>
	<item>
		<title>Comment on How to make a License webshop by Rune Gronkjaer</title>
		<link>http://feedproxy.google.com/~r/CommentsForADanishBlogAboutJavascriptAndWebdevelopment/~3/fqrhqQv68VQ/</link>
		<dc:creator>Rune Gronkjaer</dc:creator>
		<pubDate>Sat, 18 Feb 2012 15:06:34 +0000</pubDate>
		<guid isPermaLink="false">http://rune.gronkjaer.dk/en-US/?p=364#comment-586</guid>
		<description>Thanks for the kind words. Glad you can use it :-)

/Rune</description>
		<content:encoded><![CDATA[<p>Thanks for the kind words. Glad you can use it <img src='http://rune.gronkjaer.dk/en-US/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>/Rune</p>
]]></content:encoded>
	<feedburner:origLink>http://rune.gronkjaer.dk/en-US/2011/04/20/how-to-make-a-license-webshop/#comment-586</feedburner:origLink></item>
	<item>
		<title>Comment on Tea Commerce. NET API electronic product example by Nicky Donnelley</title>
		<link>http://feedproxy.google.com/~r/CommentsForADanishBlogAboutJavascriptAndWebdevelopment/~3/PO6kPtthOps/</link>
		<dc:creator>Nicky Donnelley</dc:creator>
		<pubDate>Sat, 18 Feb 2012 13:43:13 +0000</pubDate>
		<guid isPermaLink="false">http://rune.gronkjaer.dk/en-US/?p=309#comment-585</guid>
		<description>Simply desire to say your article is as astonishing. The clearness for your put up is simply nice and that i can suppose you're an expert on this subject. Well with your permission let me to seize your RSS feed to keep updated with imminent post. Thanks 1,000,000 and please carry on the gratifying work.</description>
		<content:encoded><![CDATA[<p>Simply desire to say your article is as astonishing. The clearness for your put up is simply nice and that i can suppose you&#8217;re an expert on this subject. Well with your permission let me to seize your RSS feed to keep updated with imminent post. Thanks 1,000,000 and please carry on the gratifying work.</p>
]]></content:encoded>
	<feedburner:origLink>http://rune.gronkjaer.dk/en-US/2011/03/07/tea-commerce-net-api-electronic-product-example/#comment-585</feedburner:origLink></item>
	<item>
		<title>Comment on How to make a License webshop by Saturnina Gruhn</title>
		<link>http://feedproxy.google.com/~r/CommentsForADanishBlogAboutJavascriptAndWebdevelopment/~3/czrJuhAcwzA/</link>
		<dc:creator>Saturnina Gruhn</dc:creator>
		<pubDate>Sat, 18 Feb 2012 07:47:02 +0000</pubDate>
		<guid isPermaLink="false">http://rune.gronkjaer.dk/en-US/?p=364#comment-584</guid>
		<description>I feel this is among the so much significant info for me. And i'm satisfied studying your article. However wanna remark on few normal things, The website taste is ideal, the articles is really great :D. Excellent activity, cheers.</description>
		<content:encoded><![CDATA[<p>I feel this is among the so much significant info for me. And i&#8217;m satisfied studying your article. However wanna remark on few normal things, The website taste is ideal, the articles is really great <img src='http://rune.gronkjaer.dk/en-US/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> . Excellent activity, cheers.</p>
]]></content:encoded>
	<feedburner:origLink>http://rune.gronkjaer.dk/en-US/2011/04/20/how-to-make-a-license-webshop/#comment-584</feedburner:origLink></item>
	<item>
		<title>Comment on How to use variants in Tea Commerce by Ryan Graham</title>
		<link>http://feedproxy.google.com/~r/CommentsForADanishBlogAboutJavascriptAndWebdevelopment/~3/a1253LjhduY/</link>
		<dc:creator>Ryan Graham</dc:creator>
		<pubDate>Wed, 16 Nov 2011 01:22:09 +0000</pubDate>
		<guid isPermaLink="false">http://rune.gronkjaer.dk/en-US/?p=354#comment-581</guid>
		<description>Thanks for the reply Rune, it makes perfect sense. I just wanted to make sure I wasn't going to cause myself headaches down the road by not having a content node for each variant - and it doesn't seem like that's the case.

Thanks again!
Ryan</description>
		<content:encoded><![CDATA[<p>Thanks for the reply Rune, it makes perfect sense. I just wanted to make sure I wasn&#8217;t going to cause myself headaches down the road by not having a content node for each variant &#8211; and it doesn&#8217;t seem like that&#8217;s the case.</p>
<p>Thanks again!<br />
Ryan</p>
]]></content:encoded>
	<feedburner:origLink>http://rune.gronkjaer.dk/en-US/2011/04/04/how-to-use-variants-in-tea-commerce/#comment-581</feedburner:origLink></item>
	<item>
		<title>Comment on How to use variants in Tea Commerce by Rune Gronkjaer</title>
		<link>http://feedproxy.google.com/~r/CommentsForADanishBlogAboutJavascriptAndWebdevelopment/~3/3vDLCObas_I/</link>
		<dc:creator>Rune Gronkjaer</dc:creator>
		<pubDate>Mon, 14 Nov 2011 08:00:40 +0000</pubDate>
		<guid isPermaLink="false">http://rune.gronkjaer.dk/en-US/?p=354#comment-580</guid>
		<description>Hi Ryan,

With Tea Commerce you have a huge amount of freedom in how you can to do things. The variant model I explain in this blogpost is the most simple way to do it, but it also gets impractical when you want two or more layers of variants, as you need.

With a small amount of .NET coding against the Tea Commerce .NET API, you will be able to do some crazy stuff. Everything on the order and orderline can be edited, which mean you can add the variant information to the orderline just like you want.

You will have two obstacles (which will have many possible solutions):
1. How do you store the information about the possible variants for each product.
2. How do you keep track of the stock of each variant.

Some solutions:
1. You can store this information anyway you like as long as you can loop them out in the UI and make it possible for the user to select them somehow. When the user have them selected you can just use the Tea Commerce javascript API to send the choices to the server with either one of the add orderline methods or the add orderline property method.
When you have the data on the server, you can use the .NET api to change the product id, product name or whatever, on the product node. You will only need ONE product node per product this way and just add the variant information afterwards.

2. This one is harder. In Tea Commerce we have a pretty advanced system for handling stock. You will probably need to store the stock of the individual variants somewhere and then change it in the .NET order finalized event.

Just to sum up the process:
1. Store the variant possibilities somewhere. On the product or anywhere else.
2. Show the product to the customer and make him choose what variant he wants.
3. Add the product and the variant choice information to the cart/order using the javascript API
4. Handle any changes of the order and orderline in the .NET api. Maybe in the orderlineadded event.

Hope this helps.

/Rune</description>
		<content:encoded><![CDATA[<p>Hi Ryan,</p>
<p>With Tea Commerce you have a huge amount of freedom in how you can to do things. The variant model I explain in this blogpost is the most simple way to do it, but it also gets impractical when you want two or more layers of variants, as you need.</p>
<p>With a small amount of .NET coding against the Tea Commerce .NET API, you will be able to do some crazy stuff. Everything on the order and orderline can be edited, which mean you can add the variant information to the orderline just like you want.</p>
<p>You will have two obstacles (which will have many possible solutions):<br />
1. How do you store the information about the possible variants for each product.<br />
2. How do you keep track of the stock of each variant.</p>
<p>Some solutions:<br />
1. You can store this information anyway you like as long as you can loop them out in the UI and make it possible for the user to select them somehow. When the user have them selected you can just use the Tea Commerce javascript API to send the choices to the server with either one of the add orderline methods or the add orderline property method.<br />
When you have the data on the server, you can use the .NET api to change the product id, product name or whatever, on the product node. You will only need ONE product node per product this way and just add the variant information afterwards.</p>
<p>2. This one is harder. In Tea Commerce we have a pretty advanced system for handling stock. You will probably need to store the stock of the individual variants somewhere and then change it in the .NET order finalized event.</p>
<p>Just to sum up the process:<br />
1. Store the variant possibilities somewhere. On the product or anywhere else.<br />
2. Show the product to the customer and make him choose what variant he wants.<br />
3. Add the product and the variant choice information to the cart/order using the javascript API<br />
4. Handle any changes of the order and orderline in the .NET api. Maybe in the orderlineadded event.</p>
<p>Hope this helps.</p>
<p>/Rune</p>
]]></content:encoded>
	<feedburner:origLink>http://rune.gronkjaer.dk/en-US/2011/04/04/how-to-use-variants-in-tea-commerce/#comment-580</feedburner:origLink></item>
	<item>
		<title>Comment on How to use variants in Tea Commerce by Ryan Graham</title>
		<link>http://feedproxy.google.com/~r/CommentsForADanishBlogAboutJavascriptAndWebdevelopment/~3/PYoyZxyiYVY/</link>
		<dc:creator>Ryan Graham</dc:creator>
		<pubDate>Mon, 14 Nov 2011 00:17:57 +0000</pubDate>
		<guid isPermaLink="false">http://rune.gronkjaer.dk/en-US/?p=354#comment-579</guid>
		<description>Hi Rune,

Thanks for providing these blog posts on setting up Tea Commerce - they're a big help! Being completely new to Umbraco and Tea Commerce, I was curious how you'd handle the situation of a product having multiple variant types. For example, I'm setting up a product catalog that contains t-shirts which can have different sizes and colors.

Ideally I don't want to create a product for size small and color black and another for size small and color red. Having said that, I'm curious if Tea Commerce requires the product to actually exist as a content node if I don't care about inventory. If it doesn't care, can I just append the selected size and color to the end of a base product ide?

For example, if I had a product with product ID: MT0001, could I append the size and color to the end of the product ID (MT0001_S_Black) when adding it to the cart?

Thanks in advance for your response!

Best,
Ryan</description>
		<content:encoded><![CDATA[<p>Hi Rune,</p>
<p>Thanks for providing these blog posts on setting up Tea Commerce &#8211; they&#8217;re a big help! Being completely new to Umbraco and Tea Commerce, I was curious how you&#8217;d handle the situation of a product having multiple variant types. For example, I&#8217;m setting up a product catalog that contains t-shirts which can have different sizes and colors.</p>
<p>Ideally I don&#8217;t want to create a product for size small and color black and another for size small and color red. Having said that, I&#8217;m curious if Tea Commerce requires the product to actually exist as a content node if I don&#8217;t care about inventory. If it doesn&#8217;t care, can I just append the selected size and color to the end of a base product ide?</p>
<p>For example, if I had a product with product ID: MT0001, could I append the size and color to the end of the product ID (MT0001_S_Black) when adding it to the cart?</p>
<p>Thanks in advance for your response!</p>
<p>Best,<br />
Ryan</p>
]]></content:encoded>
	<feedburner:origLink>http://rune.gronkjaer.dk/en-US/2011/04/04/how-to-use-variants-in-tea-commerce/#comment-579</feedburner:origLink></item>
	<item>
		<title>Comment on Tea Commerce JavaScript API by Upgrading to Tea Commerce 1.4</title>
		<link>http://feedproxy.google.com/~r/CommentsForADanishBlogAboutJavascriptAndWebdevelopment/~3/xBNc0M47m60/</link>
		<dc:creator>Upgrading to Tea Commerce 1.4</dc:creator>
		<pubDate>Wed, 29 Jun 2011 12:04:44 +0000</pubDate>
		<guid isPermaLink="false">http://rune.gronkjaer.dk/en-US/?p=205#comment-429</guid>
		<description>[...] API documentation has been updated  The JavaScript API documentation  have been updated to show how to use the new API. So here you can find info about all methods that [...]</description>
		<content:encoded><![CDATA[<p>[...] API documentation has been updated  The JavaScript API documentation  have been updated to show how to use the new API. So here you can find info about all methods that [...]</p>
]]></content:encoded>
	<feedburner:origLink>http://rune.gronkjaer.dk/en-US/2010/11/16/tea-commerce-javascript-api/#comment-429</feedburner:origLink></item>
	<item>
		<title>Comment on Upgrading to Tea Commerce 1.3 by Rune Gronkjaer</title>
		<link>http://feedproxy.google.com/~r/CommentsForADanishBlogAboutJavascriptAndWebdevelopment/~3/znyRE-7meTs/</link>
		<dc:creator>Rune Gronkjaer</dc:creator>
		<pubDate>Fri, 24 Jun 2011 11:00:25 +0000</pubDate>
		<guid isPermaLink="false">http://rune.gronkjaer.dk/en-US/?p=432#comment-427</guid>
		<description>Just the next release. It will be a large minor release :)

Theres no writing concerning the change of the javascript API anywhere. An example would be the addOrderline method which now looks like this:

/// &lt;summary&gt;
/// Adds an orderline to the current order.
/// If the product is already present in the order, the quantity will be added to the orderline
/// If async is set to false addOrderLine will return the newly added orderLine
/// &lt;/summary&gt;
/// &lt;param name="nodeId"&gt;Id of the product node&lt;/param&gt;
/// &lt;param name="quantity"&gt;Number of products to add&lt;/param&gt;
/// &lt;param name="settings"&gt;Extra settings for the call&lt;/param&gt;
/// &lt;setting name="async"&gt;Set to false if the call should be syncronous&lt;/setting&gt;
/// &lt;setting name="successfn"&gt;function to call when the command has been completet&lt;/setting&gt;
/// &lt;setting name="errorfn"&gt;function to call if the command has failed&lt;/setting&gt;
/// &lt;setting name="properties"&gt;Ekstra orderline properties. These will be added alongside the secure properties from the product node, but cannot overwrite the them.&lt;/setting&gt;
/// &lt;returns&gt;An OrderlinesUpdated Json object containing the affected orderLine&lt;/setting&gt;
TeaCommerce.addOrderLine(nodeId, quantity, settings)

When installing correctly Tea Commerce will remove the old package from the package list. I hate it when theres the same package a hundred times.

/Rune</description>
		<content:encoded><![CDATA[<p>Just the next release. It will be a large minor release <img src='http://rune.gronkjaer.dk/en-US/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Theres no writing concerning the change of the javascript API anywhere. An example would be the addOrderline method which now looks like this:</p>
<p>/// &lt;summary&gt;<br />
/// Adds an orderline to the current order.<br />
/// If the product is already present in the order, the quantity will be added to the orderline<br />
/// If async is set to false addOrderLine will return the newly added orderLine<br />
/// &lt;/summary&gt;<br />
/// &lt;param name=&#8221;nodeId&#8221;&gt;Id of the product node&lt;/param&gt;<br />
/// &lt;param name=&#8221;quantity&#8221;&gt;Number of products to add&lt;/param&gt;<br />
/// &lt;param name=&#8221;settings&#8221;&gt;Extra settings for the call&lt;/param&gt;<br />
/// &lt;setting name=&#8221;async&#8221;&gt;Set to false if the call should be syncronous&lt;/setting&gt;<br />
/// &lt;setting name=&#8221;successfn&#8221;&gt;function to call when the command has been completet&lt;/setting&gt;<br />
/// &lt;setting name=&#8221;errorfn&#8221;&gt;function to call if the command has failed&lt;/setting&gt;<br />
/// &lt;setting name=&#8221;properties&#8221;&gt;Ekstra orderline properties. These will be added alongside the secure properties from the product node, but cannot overwrite the them.&lt;/setting&gt;<br />
/// &lt;returns&gt;An OrderlinesUpdated Json object containing the affected orderLine&lt;/setting&gt;<br />
TeaCommerce.addOrderLine(nodeId, quantity, settings)</p>
<p>When installing correctly Tea Commerce will remove the old package from the package list. I hate it when theres the same package a hundred times.</p>
<p>/Rune</p>
]]></content:encoded>
	<feedburner:origLink>http://rune.gronkjaer.dk/en-US/2011/06/10/upgrading-to-tea-commerce-1-3/#comment-427</feedburner:origLink></item>
</channel>
</rss>

