<?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>NemoPS &#187; shopping cart</title>
	<atom:link href="http://nemops.com/tag/shopping-cart/feed/" rel="self" type="application/rss+xml" />
	<link>http://nemops.com</link>
	<description>Prestashop Tutorials, Modules and More!</description>
	<lastBuildDate>Wed, 05 Dec 2018 13:25:23 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>https://wordpress.org/?v=4.1.35</generator>
	<item>
		<title>Creating a &#8220;Clear cart&#8221; button in PrestaShop</title>
		<link>http://nemops.com/clear-cart-button-prestashop/</link>
		<comments>http://nemops.com/clear-cart-button-prestashop/#comments</comments>
		<pubDate>Wed, 13 Jul 2016 13:08:49 +0000</pubDate>
		<dc:creator><![CDATA[Nemo]]></dc:creator>
				<category><![CDATA[Tips n Tricks]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[prestashop]]></category>
		<category><![CDATA[shopping cart]]></category>

		<guid isPermaLink="false">http://nemops.com/?p=2824</guid>
		<description><![CDATA[<p>In this tutorial, we will see how to add a button to empty the PrestaShop Cart in one click. Adding the button to the cart page The first thing we need is, of course, a button to play with. The ideal place where to add it is shopping-cart.tpl, specifically right after the order summary table. [&#8230;]</p>
<p>The post <a rel="nofollow" href="http://nemops.com/clear-cart-button-prestashop/">Creating a &#8220;Clear cart&#8221; button in PrestaShop</a> appeared first on <a rel="nofollow" href="http://nemops.com">NemoPS</a>.</p>
]]></description>
				<content:encoded><![CDATA[<p>In this tutorial, we will see how to add a button to empty the PrestaShop Cart in one click.<br />
<span id="more-2824"></span></p>
<h2>Adding the button to the cart page</h2>
<p>The first thing we need is, of course, a button to play with. The ideal place where to add it is <strong>shopping-cart.tpl</strong>, specifically right after the order summary table. Therefore, open up the file, located in the theme folder, and read the end of the table, around line 454 of the default template:</p>
<pre class="brush: php; html-script: true; title: ; notranslate">
					{/foreach}
				&lt;/tbody&gt;
			{/if}
		&lt;/table&gt;
</pre>
<p>Right after the table, let&#8217;s add a simple button:</p>
<pre class="brush: xml; title: ; notranslate">
		&lt;a class=&quot;btn btn-default pull-right&quot; id=&quot;removeAll&quot; href=&quot;javascript:void(0)&quot;&gt;
			Empty Cart
		&lt;/a&gt;
</pre>
<p>Then, we need it to do something. We could use a submit, inside a form, but modern standards require speed, and nothing beats ajax in this.<br />
Right after the button, let&#8217;s add a script tag:</p>
<pre class="brush: xml; title: ; notranslate">
&lt;script&gt;
			$(document).ready(function() {
				$('#removeAll').click(function(e) {
				});
			});
				
&lt;/script&gt;
</pre>
<p>We want to target the click event of our new button, and fire an ajax request to the cart controller:</p>
<pre class="brush: jscript; title: ; notranslate">
$(document).ready(function() {
	$('#removeAll').click(function(e) {
		e.preventDefault()
		$.ajax({
			type: 'POST',
			headers: { &quot;cache-control&quot;: &quot;no-cache&quot; },
			url: baseUri + '?rand=' + new Date().getTime(),
			async: true,
			cache: false,
			dataType : &quot;json&quot;,
			data: 'controller=cart&amp;deleteAll=1&amp;token=' + static_token + '&amp;ajax=true',
			success: function(data){
				$('.opc-main-block, .step-num, #HOOK_SHOPPING_CART_EXTRA').fadeOut('fast');
				$('#order-detail-content').fadeOut('fast', function() {
					$('#emptyCartWarning').fadeIn('slow');	
				});
				ajaxCart.refresh();
			}
		})
	});
});
</pre>
<p><strong>Explanation:</strong> The url we call is simply the base one, plus a random value with the date, to avoid the request being cached. In terms of data, we need to pass in the controller (cart), and action (deleteAll, which doesn&#8217;t exist yet, but we will create in a second), the security token, and then ajax=true.<br />
On success, we fade out the page content, making sure any stuff from the One Page Checkout is hidden as well, and we also refresh the cart block.</p>
<p>The next step is to create something to handle the new deleteAll command.</p>
<div class="separator"></div>
<h2>Editing the CartController</h2>
<p>As always, instead of modifying the core file, make sure you use an override for this method. The function we are interested in is <strong>postProcess</strong>:</p>
<pre class="brush: php; title: ; notranslate">
    public function postProcess()
    {
        // Update the cart ONLY if $this-&gt;cookies are available, in order to avoid ghost carts created by bots
        if ($this-&gt;context-&gt;cookie-&gt;exists() &amp;&amp; !$this-&gt;errors &amp;&amp; !($this-&gt;context-&gt;customer-&gt;isLogged() &amp;&amp; !$this-&gt;isTokenValid())) {
            if (Tools::getIsset('add') || Tools::getIsset('update')) {
                $this-&gt;processChangeProductInCart();
            } elseif (Tools::getIsset('delete')) {
                $this-&gt;processDeleteProductInCart();
            } elseif (Tools::getIsset('changeAddressDelivery')) {
                $this-&gt;processChangeProductAddressDelivery();
            } elseif (Tools::getIsset('allowSeperatedPackage')) {
                $this-&gt;processAllowSeperatedPackage();
            } elseif (Tools::getIsset('duplicate')) {
                $this-&gt;processDuplicateProduct();
            }
            // Make redirection
            if (!$this-&gt;errors &amp;&amp; !$this-&gt;ajax) {
                $queryString = Tools::safeOutput(Tools::getValue('query', null));
                if ($queryString &amp;&amp; !Configuration::get('PS_CART_REDIRECT')) {
                    Tools::redirect('index.php?controller=search&amp;search='.$queryString);
                }

                // Redirect to previous page
                if (isset($_SERVER['HTTP_REFERER'])) {
                    preg_match('!http(s?)://(.*)/(.*)!', $_SERVER['HTTP_REFERER'], $regs);
                    if (isset($regs[3]) &amp;&amp; !Configuration::get('PS_CART_REDIRECT')) {
                        $url = preg_replace('/(\?)+content_only=1/', '', $_SERVER['HTTP_REFERER']);
                        Tools::redirect($url);
                    }
                }

                Tools::redirect('index.php?controller=order&amp;'.(isset($this-&gt;id_product) ? 'ipa='.$this-&gt;id_product : ''));
            }
        } elseif (!$this-&gt;isTokenValid()) {
            Tools::redirect('index.php');
        }
    }
</pre>
<p>See all those <strong>elseif</strong>s? We need another condition to target our deleteAll command. Therefore, at the end of the stack, add another:</p>
<pre class="brush: php; title: ; notranslate">
...
} elseif (Tools::getIsset('duplicate')) {
    $this-&gt;processDuplicateProduct();
} elseif (Tools::getIsset('deleteAll')) {

}
// Make redirection
if (!$this-&gt;errors &amp;&amp; !$this-&gt;ajax) {
...
</pre>
<p>Inside it, we do not need fancy stuff, only:</p>
<pre class="brush: php; title: ; notranslate">
elseif (Tools::getIsset('deleteAll')) {
                
    $this-&gt;context-&gt;cart-&gt;delete();
    $this-&gt;context-&gt;cookie-&gt;id_cart = 0;
    die(1);


}
</pre>
<p>This will clear the cart for good, and reset the id for the current user. You can also avoid resetting it, if you prefer.<br />
Save and test the button now. Make sure you clear the class_index.php file inside <em>cache/</em>, if you used an override.<br />
We are done!</p>
<p>The post <a rel="nofollow" href="http://nemops.com/clear-cart-button-prestashop/">Creating a &#8220;Clear cart&#8221; button in PrestaShop</a> appeared first on <a rel="nofollow" href="http://nemops.com">NemoPS</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://nemops.com/clear-cart-button-prestashop/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Automatically remove Out of Stock products from the Prestashop Cart</title>
		<link>http://nemops.com/auto-remove-products-prestashop-cart/</link>
		<comments>http://nemops.com/auto-remove-products-prestashop-cart/#comments</comments>
		<pubDate>Wed, 22 Apr 2015 12:38:23 +0000</pubDate>
		<dc:creator><![CDATA[Nemo]]></dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[prestashop]]></category>
		<category><![CDATA[products]]></category>
		<category><![CDATA[shopping cart]]></category>
		<category><![CDATA[stock]]></category>

		<guid isPermaLink="false">http://nemops.com/?p=2384</guid>
		<description><![CDATA[<p>In this video tutorial we will see how to automatically remove out of stock products from the Prestashop cart, and display a message about it as well. Watch the screencast Steps Breakdown File: modules/blockcart/blockcart.php Around line 64, change: To Around line 133, add the following to the Smarty assign: File: themes/default-bootstrap/modules/blockcart/blockcart.tpl Add the following at [&#8230;]</p>
<p>The post <a rel="nofollow" href="http://nemops.com/auto-remove-products-prestashop-cart/">Automatically remove Out of Stock products from the Prestashop Cart</a> appeared first on <a rel="nofollow" href="http://nemops.com">NemoPS</a>.</p>
]]></description>
				<content:encoded><![CDATA[<p>In this video tutorial we will see how to automatically remove out of stock products from the Prestashop cart, and display a message about it as well.<br />
<span id="more-2384"></span></p>
<h2>Watch the screencast</h2>

	<div class="video-embed">
		<iframe width="640" height="360" src="http://www.youtube.com/embed/Dq2J0vqGA-A" frameborder="0" allowfullscreen></iframe><p><a href="https://www.youtube.com/user/NemoPostScriptum/videos" rel="nofollow" title="Subscribe Post Scriptum's Youtube Channel">Subscribe Post Scriptum's Youtube Channel</a></p>	</div>
<h2>Steps Breakdown</h2>
<p><strong>File: modules/blockcart/blockcart.php</strong></p>
<p>Around line 64, change:</p>
<pre class="brush: php; title: ; notranslate">
		$nbTotalProducts = 0;
		foreach ($products as $pk =&gt; $product)
		{
			$nbTotalProducts += (int)$product['cart_quantity'];
		}
</pre>
<p>To</p>
<pre class="brush: php; title: ; notranslate">
		$nbTotalProducts = 0;
		$removed = array();
		foreach ($products as $pk =&gt; $product)
		{
			if($product['quantity_available'] &lt;= 0 &amp;&amp; !Product::isAvailableWhenOutOfStock($product['out_of_stock']))
			{
				$this-&gt;context-&gt;cart-&gt;deleteProduct($product['id_product'],$product['id_product_attribute'], $product['id_customization'], $product['id_address_delivery']);
				$removed[] = $product['name'];
				unset($product[$pk]);
				continue;
			}
			$nbTotalProducts += (int)$product['cart_quantity'];
		}
</pre>
<p>Around line 133, add the following to the Smarty assign:</p>
<pre class="brush: php; title: ; notranslate">
			'removed_products' =&gt; $removed,
			'cart_qties' =&gt; (int)$this-&gt;context-&gt;cart-&gt;nbProducts(),
</pre>
<p><strong>File: themes/default-bootstrap/modules/blockcart/blockcart.tpl</strong><br />
Add the following at the very beginning</p>
<pre class="brush: php; title: ; notranslate">
&lt;script&gt;
{if $removed_products}
	var removed_products = new Array();
	{foreach from=$removed_products item=prd}
		removed_products.push('{$prd}');
	{/foreach}
	var products_string = removed_products.join(', ');
	alert(&quot;{l s='The following products have been removed from your cart as they are out of stock:' mod='blockcart'}&quot; + products_string);
{/if}
&lt;/script&gt;

</pre>
<p>The post <a rel="nofollow" href="http://nemops.com/auto-remove-products-prestashop-cart/">Automatically remove Out of Stock products from the Prestashop Cart</a> appeared first on <a rel="nofollow" href="http://nemops.com">NemoPS</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://nemops.com/auto-remove-products-prestashop-cart/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Smart Shopping Cart Summary for Prestashop</title>
		<link>http://nemops.com/smart-shopping-cart-for-prestashop/</link>
		<comments>http://nemops.com/smart-shopping-cart-for-prestashop/#comments</comments>
		<pubDate>Wed, 03 Jul 2013 07:58:10 +0000</pubDate>
		<dc:creator><![CDATA[Nemo]]></dc:creator>
				<category><![CDATA[Theming]]></category>
		<category><![CDATA[availability]]></category>
		<category><![CDATA[prestashop]]></category>
		<category><![CDATA[shopping cart]]></category>

		<guid isPermaLink="false">http://nemops.com/?p=1374</guid>
		<description><![CDATA[<p>In this tutorial, we will see how to create a smart shopping cart summary for Prestashop, and allow customers to know if any of the products they are buying went of stock (much like amazon) The out of stock problem in Prestashop If you have a running Prestashop Store and work with stock management and [&#8230;]</p>
<p>The post <a rel="nofollow" href="http://nemops.com/smart-shopping-cart-for-prestashop/">Smart Shopping Cart Summary for Prestashop</a> appeared first on <a rel="nofollow" href="http://nemops.com">NemoPS</a>.</p>
]]></description>
				<content:encoded><![CDATA[<p>In this tutorial, we will see how to create a smart shopping cart summary for Prestashop, and allow customers to know if any of the products they are buying went of stock (much like amazon)</p>
<p><span id="more-1374"></span><br />
<a class="download-files button style1" href="http://nemops.com/wp-content/uploads/2013/07/smart_shopping_cart_project_files.zip" title="Download Project Files">Download Project Files</a></p>
<h2>The out of stock problem in Prestashop</h2>
<p>If you have a running Prestashop Store and work with stock management and small stocks of products, you may have encountered the case when a person adds a product to the cart, but leaves the site and eventually comes back and buy the next day. In the meantime, the product went out of stock but there was no notice of this in the cart summary, and the customer proceeded with the checkout. Big trouble for you, at this point!</p>
<p>Prestashop does not have any &#8216;Smart Shopping Cart&#8217; features, thus there is no way for the customer to be informed when a product in his basket is not available anymore. In this short tutorial, we will add an availability status to the cart summary table with 3 statuses: available, on back-order, and out of stock. Then, based on these data we will eventually display an alert box so that even the most distracted person would notice the issue.</p>
<div class="separator"></div>
<h2>The cart summary Page</h2>
<p>First, we need to add the relevant column to the cart summary page. To keep the tutorial simple I will replace the reference column that seems to be useless for most people. If you need it and need all the other columns as well, I will add a small notice on how to modify the table. Also, notice that your code might be different, depending on the theme you use. I will go for the default one, as always.</p>
<p>Open up <strong>shopping-cart.tpl</strong>, that you can find in the theme&#8217;s folder. Look for the following code, at about line 77:</p>
<pre class="brush: php; html-script: true; title: ; notranslate">
				&lt;th class=&quot;cart_ref item&quot;&gt;{l s='Ref.'}&lt;/th&gt;
</pre>
<p>Change it into</p>
<pre class="brush: php; html-script: true; title: ; notranslate">
				&lt;th class=&quot;cart_ref item&quot;&gt;{l s='Avail.'}&lt;/th&gt;
</pre>
<p><strong>If you want to add a new column:</strong> add the code above instead of replacing the reference column. Now, some cells have a column span, which will in this case break your design. Based on the number of columns you have, it will behave differently. For the default theme, if you look a couple of lines below, you&#8217;ll see</p>
<pre class="brush: php; html-script: true; title: ; notranslate">
&lt;tr class=&quot;cart_total_price&quot;&gt;
					&lt;td colspan=&quot;5&quot;&gt;
</pre>
<p>If you add a column, simply find <strong>all occurrences</strong> of that colspan=&#8221;5&#8243; in this file, and change it to 6. Again, take note of the number and add 1 if yours is different. Also, depending on the design it might break somewhere else, so, if it does, just look for colspans and adjust them accordingly.</p>
<div class="separator"></div>
<h2>The product lines template</h2>
<p>Now we need to tell Prestashop to actually display the product availability instead of the reference (or again, consider adding the cell instead of replacing it if you want to). Place the images that are part of the project files inside the <em>/img</em> folder of your theme, then locate the following at about line 34 of <strong>shopping-cart-product-line.tpl</strong></p>
<pre class="brush: php; html-script: true; title: ; notranslate">

	&lt;td class=&quot;cart_ref&quot;&gt;
		{if $product.reference}{$product.reference|escape:'htmlall':'UTF-8'}{else}--{/if}
	&lt;/td&gt;
</pre>
<p>Change it to (or add)</p>
<pre class="brush: php; html-script: true; title: ; notranslate">
	&lt;td class=&quot;cart_ref&quot;&gt;
		{if $product.quantity_available &gt; 0}
			&lt;img src=&quot;{$img_dir}pr_avail.png&quot; alt=&quot;{l s='Available'}&quot; title=&quot;{l s='Available'}&quot;&gt;
		{else if $product.quantity_available &lt;= 0 &amp;&amp; $product.allow_oosp}
			&lt;img src=&quot;{$img_dir}pr_preorder.png&quot; alt=&quot;{l s='On Backorder'}&quot; title=&quot;{l s='On Backorder'}&quot;&gt;
		{else if $product.quantity_available &lt;= 0 &amp;&amp; !$product.allow_oosp}
			&lt;img src=&quot;{$img_dir}pr_oost.png&quot; alt=&quot;{l s='Out Of Stock'}&quot; title=&quot;{l s='Out Of Stock'}&quot;&gt;
		{/if}
	&lt;/td&gt;
</pre>
<p><strong>Explanation:</strong> We are using the if statement to check if the current product is available. We have 3 options here: if the current product&#8217;s quantity is positive, it is of course available. If it has 0 or less as quantity, but the <strong>allow out of stock preorder</strong> option is active for this product or it has a general &#8216;use default behavior&#8217; set, and it is set to accept out of stock orders, it will add the preorder image. Else, the unavailable one will be shown.</p>
<div class="separator"></div>
<h2>The floating feedback box</h2>
<p>At this point, you might even decide to stop, but to bring the feedback further, we will explicitly tell the customer to remove the unavailable product prom the cart. To do this, we need to write a couple of simple lines of javascript. Open again <strong>shopping-cart.tpl</strong>. Locate the following javascript block at the beginning of the file</p>
<pre class="brush: jscript; title: ; notranslate">

	&lt;script type=&quot;text/javascript&quot;&gt;
	// &lt;![CDATA[
	var currencySign = '{$currencySign|html_entity_decode:2:&quot;UTF-8&quot;}';
	var currencyRate = '{$currencyRate|floatval}';
	var currencyFormat = '{$currencyFormat|intval}';
	var currencyBlank = '{$currencyBlank|intval}';
	var txtProduct = &quot;{l s='product' js=1}&quot;;
	var txtProducts = &quot;{l s='products' js=1}&quot;;
	var deliveryAddress = {$cart-&gt;id_address_delivery|intval};
	// ]]&gt;
	&lt;/script&gt;

</pre>
<p>At the end (before closing the cdata tag), add the following</p>
<pre class="brush: jscript; title: ; notranslate">
	var unavailable_products = new Array;
</pre>
<p>This array will store all of the unavailable products, whose names will be shown to the customer. Back to our <strong>shopping-cart-product-line.tpl</strong> file, change our previous if switch as follows</p>
<pre class="brush: php; html-script: true; title: ; notranslate">
	&lt;td class=&quot;cart_ref&quot;&gt;
		{if $product.quantity_available &gt; 0}
			&lt;img src=&quot;{$img_dir}pr_avail.png&quot; alt=&quot;{l s='Available'}&quot; title=&quot;{l s='Available'}&quot;&gt;
		{else if $product.quantity_available &lt;= 0 &amp;&amp; $product.allow_oosp}
			&lt;img src=&quot;{$img_dir}pr_preorder.png&quot; alt=&quot;{l s='On Backorder'}&quot; title=&quot;{l s='On Backorder'}&quot;&gt;
		{else if $product.quantity_available &lt;= 0 &amp;&amp; !$product.allow_oosp}
			&lt;img src=&quot;{$img_dir}pr_oost.png&quot; alt=&quot;{l s='Out Of Stock'}&quot; title=&quot;{l s='Out Of Stock'}&quot;&gt;
			&lt;script type=&quot;text/javascript&quot;&gt;
				// &lt;![CDATA[
				var prod_name = &quot;{$product.name}&quot;;
				{if isset($product.attributes) &amp;&amp; $product.attributes}
					prod_name += ' - ' + &quot;{$product.attributes|escape:'htmlall':'UTF-8'}&quot;
				{/if}

				unavailable_products.push(prod_name);

				// ]]&gt;
			&lt;/script&gt;	
		{/if}
	&lt;/td&gt;
</pre>
<p>So that the product name is added to the list, and, eventually, if the product has attributes, the attributes names are added too.</p>
<p>Finally, we need to display the box. Add the following at the very end of <strong>shopping-cart.tpl</strong>.</p>
<pre class="brush: jscript; title: ; notranslate">

&lt;script type=&quot;text/javascript&quot;&gt;


if(unavailable_products.length &gt; 0)	
{
	// &lt;![CDATA[
	var unavail_text = &quot;{l s='The following products are not available any more, please remove them from the cart before proceeding with the checkout'}&quot;;
	var floatbox_close_text = &quot;[{l s='Click To Close'}]&quot;;
	// ]]&gt;
	
	/* Creating the floating box */

	var floating_box = $('&lt;div&gt;&lt;/div&gt;')
	                    .addClass('add-to-cart-popup')
	                    .css({
	                        position: 'fixed',
	                        left: '50%',
	                        top: '30%',
	                        display: 'none',
	                        width: '450px',
	                        padding: '20px',
	                        'margin-left': '-225px',
	                        backgroundColor : 'white',
	                        'box-shadow' : '0 0 15px rgba(0,0,0,.4)',
	                        'z-index' : 100
	                    })
	
	// Add the products list to the box!
	
	floating_box.append($('&lt;h3&gt;'+unavail_text+'&lt;/h3&gt;'))

	$.each(unavailable_products, function(index, val) {
		 floating_box.append('&lt;strong&gt;' + val + '&lt;/strong&gt;&lt;br /&gt;')
	});


	floating_box.append($('&lt;br/&gt;&lt;p style=&quot;text-align:center; padding-bottom:0&quot;&gt;&lt;small&gt;'+floatbox_close_text+'&lt;/small&gt;&lt;/p&gt;'))

	{literal}
	floating_box.click(function(){$(this).fadeOut()});
	{/literal}
	floating_box.appendTo($('body')).fadeIn();	
}


&lt;/script&gt;

</pre>
<p><strong>Explanation:</strong>: Sca-ree! Lots of stuff going on, but it is actually simpler than it seems: first, we check that there are unavailable products. No sense to show the floating box if all are available! Then, we create translatable strings to be used in the box itself.</p>
<p>Next, we create the floating box object with some arbitrary styling (you can use css for this; I added inline style to be quicker). Then, we append: the text to inform customers those products are unavailable; all unavailable products in the list (using <strong>$.each()</strong>); a small text to inform on how to close the floating box.</p>
<p>Lastly, we append the box to the body right away. Save &#038; refresh, if you have unavailable products, the box will pop out!</p>
<p>The post <a rel="nofollow" href="http://nemops.com/smart-shopping-cart-for-prestashop/">Smart Shopping Cart Summary for Prestashop</a> appeared first on <a rel="nofollow" href="http://nemops.com">NemoPS</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://nemops.com/smart-shopping-cart-for-prestashop/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
	</channel>
</rss>
