<?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; prestashop 1.6</title>
	<atom:link href="http://nemops.com/tag/prestashop-1-6/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>How to create a &#8220;Go back to the category&#8221; button in PrestaShop and thirty bees</title>
		<link>http://nemops.com/how-to-create-a-go-back-to-the-category-button-in-prestashop-and-thirty-bees/</link>
		<comments>http://nemops.com/how-to-create-a-go-back-to-the-category-button-in-prestashop-and-thirty-bees/#comments</comments>
		<pubDate>Mon, 09 Apr 2018 10:56:55 +0000</pubDate>
		<dc:creator><![CDATA[Nemo]]></dc:creator>
				<category><![CDATA[Tips n Tricks]]></category>
		<category><![CDATA[button]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[navigation]]></category>
		<category><![CDATA[prestashop 1.6]]></category>
		<category><![CDATA[thirtybees]]></category>

		<guid isPermaLink="false">http://nemops.com/?p=3125</guid>
		<description><![CDATA[<p>In this video we will make a handy button to let our customers navigate back to the previously visited category from the product page, in PrestaShop 1.6 and thirty bees Watch the screencast Text Version To start with, open up global.js, located in your theme folder /js. At the very end, add the following: Then, [&#8230;]</p>
<p>The post <a rel="nofollow" href="http://nemops.com/how-to-create-a-go-back-to-the-category-button-in-prestashop-and-thirty-bees/">How to create a &#8220;Go back to the category&#8221; button in PrestaShop and thirty bees</a> appeared first on <a rel="nofollow" href="http://nemops.com">NemoPS</a>.</p>
]]></description>
				<content:encoded><![CDATA[<p>In this video we will make a handy button to let our customers navigate back to the previously visited category from the product page, in PrestaShop 1.6 and thirty bees<br />
<span id="more-3125"></span></p>
<h2>Watch the screencast</h2>

	<div class="video-embed">
		<iframe width="640" height="360" src="http://www.youtube.com/embed/nOR7f_76LHE" 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>Text Version</h2>
<p>To start with, open up <strong>global.js</strong>, located in your theme folder <em>/js</em>. At the very end, add the following:</p>
<pre class="brush: jscript; title: ; notranslate">

$(document).ready(function() {
	if($('body').hasClass('category'))
	{
		$('.product_img_link').click(function(e) {
			$.totalStorage('last_visited_category', window.location.href);
		});
	}
});
</pre>
<p>Then, in <strong>product.tpl</strong>, again in the theme folder, find a proper spot for the button, then add the following inside a &lt;script&gt; tag:</p>
<pre class="brush: jscript; title: ; notranslate">
	$(document).ready(function() {
		if(previous_category = $.totalStorage('last_visited_category'))
		{
			$('#goback').attr('href', previous_category);
			$.totalStorage('last_visited_category', '');
		} else $('#goback').hide();
	});
</pre>
<p>Right after id, add our button:</p>
<pre class="brush: xml; title: ; notranslate">

&lt;a href=&quot;javascript:void(0)&quot; class=&quot;btn btn-default&quot; id=&quot;goback&quot;&gt;
	&lt;i class=&quot;icon-chevron-left left&quot;&gt;&lt;/i&gt; {l s='Go Back to the last category'}
&lt;/a&gt;
</pre>
<p>Here is the final code for product.tpl</p>
<pre class="brush: xml; title: ; notranslate">
&lt;script&gt;

	$(document).ready(function() {
		if(previous_category = $.totalStorage('last_visited_category'))
		{
			$('#goback').attr('href', previous_category);
			$.totalStorage('last_visited_category', '');
		} else $('#goback').hide();
	});
&lt;/script&gt;

&lt;a href=&quot;javascript:void(0)&quot; class=&quot;btn btn-default&quot; id=&quot;goback&quot;&gt;
	&lt;i class=&quot;icon-chevron-left left&quot;&gt;{l s='Go Back to the last category'}&lt;/i&gt;
&lt;/a&gt;

</pre>
<p><strong>Notice:</strong> If you want to keep a record of the visited category across pages, you can remove <strong>$.totalStorage(&#8216;last_visited_category&#8217;, &#8221;);</strong> from the code in product.tpl.</p>
<p>The post <a rel="nofollow" href="http://nemops.com/how-to-create-a-go-back-to-the-category-button-in-prestashop-and-thirty-bees/">How to create a &#8220;Go back to the category&#8221; button in PrestaShop and thirty bees</a> appeared first on <a rel="nofollow" href="http://nemops.com">NemoPS</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://nemops.com/how-to-create-a-go-back-to-the-category-button-in-prestashop-and-thirty-bees/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Mark orders with returned products in the order list of ThirtyBees and PrestaShop</title>
		<link>http://nemops.com/thirtybees-prestashop-mark-returned-orders/</link>
		<comments>http://nemops.com/thirtybees-prestashop-mark-returned-orders/#comments</comments>
		<pubDate>Mon, 02 Oct 2017 10:34:33 +0000</pubDate>
		<dc:creator><![CDATA[Nemo]]></dc:creator>
				<category><![CDATA[Tips n Tricks]]></category>
		<category><![CDATA[orders]]></category>
		<category><![CDATA[prestashop 1.6]]></category>
		<category><![CDATA[products]]></category>
		<category><![CDATA[return]]></category>
		<category><![CDATA[thirtybees]]></category>

		<guid isPermaLink="false">http://nemops.com/?p=3085</guid>
		<description><![CDATA[<p>In this video for ThirtyBees and Prestashop 1.6, we will see how to add a checkmark for orders that contain returned products, so that they are easy to spot in the back office order list Watch the screencast Text Version All of the modifications need to be applied to AdminOrdersController.php, located in controllers/admin Add to [&#8230;]</p>
<p>The post <a rel="nofollow" href="http://nemops.com/thirtybees-prestashop-mark-returned-orders/">Mark orders with returned products in the order list of ThirtyBees and PrestaShop</a> appeared first on <a rel="nofollow" href="http://nemops.com">NemoPS</a>.</p>
]]></description>
				<content:encoded><![CDATA[<p>In this video for ThirtyBees and Prestashop 1.6, we will see how to add a checkmark for orders that contain returned products, so that they are easy to spot in the back office order list<br />
<span id="more-3085"></span></p>
<h2>Watch the screencast</h2>

	<div class="video-embed">
		<iframe width="640" height="360" src="http://www.youtube.com/embed/fpuJEs8oo84" 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>Text Version</h2>
<p>All of the modifications need to be applied to <strong>AdminOrdersController.php</strong>, located in <em>controllers/admin</em><br />
Add to $this->_select (do not forget the comma!):</p>
<pre class="brush: php; title: ; notranslate">
od.product_quantity_return as has_returned,
</pre>
<p>Add to $this->_join:</p>
<pre class="brush: php; title: ; notranslate">
LEFT JOIN `'._DB_PREFIX_.'order_detail` od ON (od.`id_order` = a.`id_order`)
</pre>
<p>Right after the join variable is set, add:</p>
<pre class="brush: php; title: ; notranslate">
$this-&gt;_group = 'GROUP BY a.id_order';
</pre>
<p>This way we avoid duplicates in the order list.</p>
<p>In the next step we will add the actual column, scroll down to around line 130, and add the following to the $this->fields_list variable:</p>
<pre class="brush: php; title: ; notranslate">
                'has_returned'            =&gt; [
                    'title'      =&gt; $this-&gt;l('Return'),
                    'align'      =&gt; 'text-center',
                    'type'       =&gt; 'bool',
                    'callback'       =&gt; 'getIsReturned',
                ],
</pre>
<p>Lastly, out of the construct method (it can be anywhere, right after it or at the end of the file) we will add the callback function:</p>
<pre class="brush: php; title: ; notranslate">
    public function getIsReturned($a, $order)
    {
        $has_returned = Db::getInstance()-&gt;getValue('SELECT product_quantity_return FROM '._DB_PREFIX_.'order_detail WHERE id_order =' .(int)$order['id_order'] .' AND product_quantity_return &gt; 0');

        $class = $has_returned ? 'icon-check' : 'icon-remove';
        return '&lt;i class=&quot;'.$class.'&quot;&gt;&lt;/i&gt;';

    }
</pre>
<p>The post <a rel="nofollow" href="http://nemops.com/thirtybees-prestashop-mark-returned-orders/">Mark orders with returned products in the order list of ThirtyBees and PrestaShop</a> appeared first on <a rel="nofollow" href="http://nemops.com">NemoPS</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://nemops.com/thirtybees-prestashop-mark-returned-orders/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Filter orders by employee in the PrestaShop Back Office</title>
		<link>http://nemops.com/filter-orders-by-employee-in-the-prestashop-back-office/</link>
		<comments>http://nemops.com/filter-orders-by-employee-in-the-prestashop-back-office/#comments</comments>
		<pubDate>Mon, 03 Jul 2017 09:40:23 +0000</pubDate>
		<dc:creator><![CDATA[Nemo]]></dc:creator>
				<category><![CDATA[Tips n Tricks]]></category>
		<category><![CDATA[employee]]></category>
		<category><![CDATA[filter]]></category>
		<category><![CDATA[orders]]></category>
		<category><![CDATA[prestashop 1.6]]></category>
		<category><![CDATA[thirtybees]]></category>

		<guid isPermaLink="false">http://nemops.com/?p=3043</guid>
		<description><![CDATA[<p>In this quick tip we will explore methods to filter the PrestaShop back office orders list by employee profile. Watch the screencast Text Version This tutorial can be applied to ThirtyBees as well! To filter the PrestaShop order list we simply have to add conditions to the &#8220;where&#8221; clause of the AdminOrdersController.php, located at controllers/admin. [&#8230;]</p>
<p>The post <a rel="nofollow" href="http://nemops.com/filter-orders-by-employee-in-the-prestashop-back-office/">Filter orders by employee in the PrestaShop Back Office</a> appeared first on <a rel="nofollow" href="http://nemops.com">NemoPS</a>.</p>
]]></description>
				<content:encoded><![CDATA[<p>In this quick tip we will explore methods to filter the PrestaShop back office orders list by employee profile.</p>
<p><span id="more-3043"></span></p>
<h2>Watch the screencast</h2>

	<div class="video-embed">
		<iframe width="640" height="360" src="http://www.youtube.com/embed/eR-MLFnQr7k" 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>Text Version</h2>
<p>This tutorial can be applied to <strong><a href="http://thirtybees.com" title="ThirtyBees e-commerce software" target="_blank">ThirtyBees</a></strong> as well!</p>
<p>To filter the PrestaShop order list we simply have to add conditions to the &#8220;where&#8221; clause of the <strong>AdminOrdersController.php</strong>, located at <em>controllers/admin</em>.<br />
What we want to do is append the extra conditions to the construct method, around line 68:</p>
<pre class="brush: php; title: ; notranslate">
if($this-&gt;context-&gt;employee-&gt;id_profile == 1)
        {
            $this-&gt;_where .= ' AND os.id_order_state = 2';
            $this-&gt;_where .= ' AND country.id_country = 21';
            $this-&gt;_where .= ' AND a.module = &quot;bankwire&quot;';
        }
</pre>
<p>The first condition will filter orders by current status, in this case &#8220;Payment Accepted&#8221;; The second will only display orders shipping to the United States; the third one will narrow the results to the ones paid by bank wire.<br />
We are using the employee&#8217;s profile ID to trigger the conditions, so that only the selected department will be affected.</p>
<p>These snippets will be enough in most cases, but if you want to be extra careful, it&#8217;s better to also prevent direct access to the single order view, by editing the <strong>renderView</strong> method:</p>
<pre class="brush: php; title: ; notranslate">
// At the beginning of the renderView method, after the $order variable has been validated, we can use this to prevent access if the order is not set to payment accepted. We can do the same with the bankwire method as we saw above, by simply changing the property name from current_state to module
if($this-&gt;context-&gt;employee-&gt;id_profile == 1)
        {

            if($order-&gt;current_state != 2)
            {
                $this-&gt;errors[] = Tools::displayError('You are not authorized to see this page.');
                return;
            }
        }
</pre>
<p>We can also do the same for the country condition, around line 1650, after $addressDelivery has been declared:</p>
<pre class="brush: php; title: ; notranslate">
        if($this-&gt;context-&gt;employee-&gt;id_profile == 1) 
        {
            if($addressDelivery-&gt;id_country != 21)
            {
                $this-&gt;errors[] = Tools::displayError('You are not authorized to see this page.');
                return;
            }
        }
</pre>
<p>The post <a rel="nofollow" href="http://nemops.com/filter-orders-by-employee-in-the-prestashop-back-office/">Filter orders by employee in the PrestaShop Back Office</a> appeared first on <a rel="nofollow" href="http://nemops.com">NemoPS</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://nemops.com/filter-orders-by-employee-in-the-prestashop-back-office/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Display products from subcategories in PrestaShop 1.6</title>
		<link>http://nemops.com/prestashop-16-display-products-from-subcategories/</link>
		<comments>http://nemops.com/prestashop-16-display-products-from-subcategories/#comments</comments>
		<pubDate>Wed, 25 Jan 2017 11:52:29 +0000</pubDate>
		<dc:creator><![CDATA[Nemo]]></dc:creator>
				<category><![CDATA[Tips n Tricks]]></category>
		<category><![CDATA[category]]></category>
		<category><![CDATA[prestashop 1.6]]></category>
		<category><![CDATA[products]]></category>
		<category><![CDATA[subcategories]]></category>

		<guid isPermaLink="false">http://nemops.com/?p=2970</guid>
		<description><![CDATA[<p>Are you wondering how to display products from subcategories, without using the layered navigation module? Let&#8217;s see it for PrestaShop 1.6!</p>
<p>The post <a rel="nofollow" href="http://nemops.com/prestashop-16-display-products-from-subcategories/">Display products from subcategories in PrestaShop 1.6</a> appeared first on <a rel="nofollow" href="http://nemops.com">NemoPS</a>.</p>
]]></description>
				<content:encoded><![CDATA[<p>Are you wondering how to display products from subcategories, without using the layered navigation module? Let&#8217;s see it for PrestaShop 1.6!</p>
<p><span id="more-2970"></span></p>

	<div class="video-embed">
		<iframe width="640" height="360" src="http://www.youtube.com/embed/6BBM62S6I08" 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>
<p>The post <a rel="nofollow" href="http://nemops.com/prestashop-16-display-products-from-subcategories/">Display products from subcategories in PrestaShop 1.6</a> appeared first on <a rel="nofollow" href="http://nemops.com">NemoPS</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://nemops.com/prestashop-16-display-products-from-subcategories/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Images in PrestaShop 1.6&#8217;s Ajax Search</title>
		<link>http://nemops.com/prestashop-1-6-ajax-search-images/</link>
		<comments>http://nemops.com/prestashop-1-6-ajax-search-images/#comments</comments>
		<pubDate>Mon, 19 Dec 2016 11:51:25 +0000</pubDate>
		<dc:creator><![CDATA[Nemo]]></dc:creator>
				<category><![CDATA[Tips n Tricks]]></category>
		<category><![CDATA[ajax]]></category>
		<category><![CDATA[images]]></category>
		<category><![CDATA[prestashop 1.6]]></category>
		<category><![CDATA[search]]></category>

		<guid isPermaLink="false">http://nemops.com/?p=2934</guid>
		<description><![CDATA[<p>Let&#8217;s make the default ajax search more interesting by adding images to it, it&#8217;s not overly complicated!</p>
<p>The post <a rel="nofollow" href="http://nemops.com/prestashop-1-6-ajax-search-images/">Images in PrestaShop 1.6&#8217;s Ajax Search</a> appeared first on <a rel="nofollow" href="http://nemops.com">NemoPS</a>.</p>
]]></description>
				<content:encoded><![CDATA[<p>Let&#8217;s make the default ajax search more interesting by adding images to it, it&#8217;s not overly complicated!</p>
<p><span id="more-2934"></span></p>

	<div class="video-embed">
		<iframe width="640" height="360" src="http://www.youtube.com/embed/bkMFRX519zY" 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>
<p>The post <a rel="nofollow" href="http://nemops.com/prestashop-1-6-ajax-search-images/">Images in PrestaShop 1.6&#8217;s Ajax Search</a> appeared first on <a rel="nofollow" href="http://nemops.com">NemoPS</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://nemops.com/prestashop-1-6-ajax-search-images/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Update price on quantity change in PrestaShop 1.6</title>
		<link>http://nemops.com/update-price-on-quantity-change-in-prestashop-1-6/</link>
		<comments>http://nemops.com/update-price-on-quantity-change-in-prestashop-1-6/#comments</comments>
		<pubDate>Wed, 07 Dec 2016 11:51:50 +0000</pubDate>
		<dc:creator><![CDATA[Nemo]]></dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[prestashop 1.6]]></category>
		<category><![CDATA[price]]></category>
		<category><![CDATA[products]]></category>

		<guid isPermaLink="false">http://nemops.com/?p=2924</guid>
		<description><![CDATA[<p>Let&#8217;s give our customers some more feedback when they change quantity! In this video, we will see how to change the price on the product page based on the user&#8217;s chosen quantity in PrestaShop 1.6 Watch the Screencast</p>
<p>The post <a rel="nofollow" href="http://nemops.com/update-price-on-quantity-change-in-prestashop-1-6/">Update price on quantity change in PrestaShop 1.6</a> appeared first on <a rel="nofollow" href="http://nemops.com">NemoPS</a>.</p>
]]></description>
				<content:encoded><![CDATA[<p>Let&#8217;s give our customers some more feedback when they change quantity! In this video, we will see how to change the price on the product page based on the user&#8217;s chosen quantity in PrestaShop 1.6<br />
<span id="more-2924"></span></p>
<h2>Watch the Screencast</h2>

	<div class="video-embed">
		<iframe width="640" height="360" src="http://www.youtube.com/embed/6znHv0zUao0" 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>
<p>The post <a rel="nofollow" href="http://nemops.com/update-price-on-quantity-change-in-prestashop-1-6/">Update price on quantity change in PrestaShop 1.6</a> appeared first on <a rel="nofollow" href="http://nemops.com">NemoPS</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://nemops.com/update-price-on-quantity-change-in-prestashop-1-6/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Overriding Modules Controllers in PrestaShop 1.6</title>
		<link>http://nemops.com/overriding-modules-controllers-in-prestashop-1-6/</link>
		<comments>http://nemops.com/overriding-modules-controllers-in-prestashop-1-6/#comments</comments>
		<pubDate>Wed, 02 Mar 2016 11:39:49 +0000</pubDate>
		<dc:creator><![CDATA[Nemo]]></dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[modules]]></category>
		<category><![CDATA[overrides]]></category>
		<category><![CDATA[prestashop]]></category>
		<category><![CDATA[prestashop 1.6]]></category>

		<guid isPermaLink="false">http://nemops.com/?p=2723</guid>
		<description><![CDATA[<p>Thanks to a PrestaShop forums&#8217; user, we can now easily extend modules&#8217; controllers without any hardcoded modification. Let&#8217;s see how do do it! Last Week, forum user alexdee2007 posted an interesting override: it allows us to extend PrestaShop Modules&#8217; controllers. Previously, we would have had to hardcode any modification within the originals, because the core [&#8230;]</p>
<p>The post <a rel="nofollow" href="http://nemops.com/overriding-modules-controllers-in-prestashop-1-6/">Overriding Modules Controllers in PrestaShop 1.6</a> appeared first on <a rel="nofollow" href="http://nemops.com">NemoPS</a>.</p>
]]></description>
				<content:encoded><![CDATA[<p>Thanks to a PrestaShop forums&#8217; user, we can now easily extend modules&#8217; controllers without any hardcoded modification. Let&#8217;s see how do do it!</p>
<p><span id="more-2723"></span></p>
<a class="download-files button style1" href="http://nemops.com/wp-content/uploads/2016/03/Dispatcher.zip" title="Download Project Files">Download Project Files</a>
<p>Last Week, forum user <strong>alexdee2007</strong> posted an interesting override: it allows us to extend PrestaShop Modules&#8217; controllers. Previously, we would have had to hardcode any modification within the originals, because the core system didn&#8217;t allow for such overrides. You can find a link to the original thread at the end of the tutorial.</p>
<div class="separator"></div>
<h2>What does the override do?</h2>
<p>Its concept is very simple, yet smart. It extends the <strong>Dispatcher</strong> class&#8217; <strong>Dispatch()</strong> method, modifying what the system looks for, once loading modules front controllers. Here is the core part:</p>
<pre class="brush: php; title: ; notranslate">
if (file_exists(_PS_OVERRIDE_DIR_ . 'modules/' . $module_name . '/controllers/front/' . $this-&gt;controller . '.php')) {
    include_once(_PS_OVERRIDE_DIR_ . 'modules/' . $module_name . '/controllers/front/' . $this-&gt;controller . '.php');
    $controller_class = $module_name . $this-&gt;controller . 'ModuleFrontControllerOverride';
} else {

    $controller_class = $module_name . $this-&gt;controller . 'ModuleFrontController';
}
</pre>
<p>Basically, it looks for the existence of any file, in the override directory, with the same path and name of the original controller. If it exists, it assigns the name plus &#8220;Override&#8221; to the current class name (which is what PrestaShop does already, for modules).<br />
This way, to extend any Module&#8217;s controller, we can simply create a file inside <em>override/modules/*modulename*/controllers/front</em>, named the same as the original, and then append Override to its Class name.</p>
<div class="separator"></div>
<h2>Video &#8211; A practical example</h2>

	<div class="video-embed">
		<iframe width="640" height="360" src="http://www.youtube.com/embed/nvVgbQZS-Eg" 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>
<div class="separator"></div>
<h3>Additional Recources</h3>
<ul>
<li><a href="http://nemops.com/prestashop-modules-course" title="PrestaShop Modules Course">PrestaShop Modules Course</a></li>
<li><a href="https://www.prestashop.com/forums/topic/480523-override-front-controller-of-modules/?p=2262437" title="The original Forum Thread">The original Forum Thread</a></li>
</ul>
<p>The post <a rel="nofollow" href="http://nemops.com/overriding-modules-controllers-in-prestashop-1-6/">Overriding Modules Controllers in PrestaShop 1.6</a> appeared first on <a rel="nofollow" href="http://nemops.com">NemoPS</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://nemops.com/overriding-modules-controllers-in-prestashop-1-6/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>How to show &#8220;spend X to get Free Shipping&#8221; in Prestashop</title>
		<link>http://nemops.com/prestashop-show-free-shipping/</link>
		<comments>http://nemops.com/prestashop-show-free-shipping/#comments</comments>
		<pubDate>Mon, 04 Aug 2014 10:07:28 +0000</pubDate>
		<dc:creator><![CDATA[Nemo]]></dc:creator>
				<category><![CDATA[Tips n Tricks]]></category>
		<category><![CDATA[cart]]></category>
		<category><![CDATA[free shipping]]></category>
		<category><![CDATA[order]]></category>
		<category><![CDATA[prestashop 1.6]]></category>

		<guid isPermaLink="false">http://nemops.com/?p=2107</guid>
		<description><![CDATA[<p>In this Prestashop tutorial, we will see how to boost our sales by letting customers know how much they still have to spend in order to be eligible for free shipping. Version used: Prestashop 1.6 Setting the Free Shipping amount To keep thing simple, in this tutorial we will only consider the &#8220;Free shipping starts [&#8230;]</p>
<p>The post <a rel="nofollow" href="http://nemops.com/prestashop-show-free-shipping/">How to show &#8220;spend X to get Free Shipping&#8221; in Prestashop</a> appeared first on <a rel="nofollow" href="http://nemops.com">NemoPS</a>.</p>
]]></description>
				<content:encoded><![CDATA[<p>In this Prestashop tutorial, we will see how to boost our sales by letting customers know how much they still have to spend in order to be eligible for free shipping.</p>
<p><span id="more-2107"></span></p>
<p>Version used: Prestashop 1.6</p>
<h2>Setting the Free Shipping amount</h2>
<p>To keep thing simple, in this tutorial we will only consider the &#8220;<strong>Free shipping starts at</strong>&#8221; value that we can configure in the back office, instead of dealing with all the 0-fee weight or price ranges that it&#8217;s possible to setup for each carrier.</p>
<p>Therefore, before starting, head to <strong>Shipping -> Preferences</strong> and set &#8220;<strong>Free shipping starts at</strong>&#8221; to any value you like. Please notice this represent the price in the default currency, and it&#8217;s not possible to set up one for each, at the time being.</p>
<div class="separator"></div>
<h2>Retrieving the Free shipping value &#8211; 2 approaches</h2>
<p>When dealing with an MVC pattern, the best approach is usually to keep logic and display code separated. Prestashop, however, allows us to retrieve the previously set configuration value in templates too, saving us the trouble to create an override and extend the default <strong>OrderController</strong>, in order to assign the value we need. </p>
<p>Therefore, given that <strong>the best way to go would be to create an override, grab the configuration value, and assign it to the template</strong>, for simplicity reasons I will get it directly in the template, so it&#8217;s ready to use.</p>
<div class="separator"></div>
<h2>Amending the template: shopping-cart.tpl</h2>
<p>Reach your theme folder and open up <strong>shopping-cart.tpl</strong>. We will be adding our small advertisement right below the cart summary. This is the perfect chance to apply some cross-selling principles; therefore, if you use the cross-selling module in the cart page, <strong>the best spot to maximize your cross-selling rate is right above it, before the shopping cart hook </strong>.</p>
<p>Locate:</p>
<pre class="brush: php; html-script: true; title: ; notranslate">
&lt;div id=&quot;HOOK_SHOPPING_CART&quot;&gt;{$HOOK_SHOPPING_CART}&lt;/div&gt;
</pre>
<p>And right before it, add the following</p>
<pre class="brush: php; html-script: true; title: ; notranslate">
{assign var='freeshipping_price' value=Configuration::get('PS_SHIPPING_FREE_PRICE')}
</pre>
<p><strong>Explanation</strong>: as I mentioned before, I am grabbing the free shipping value directly from the tpl file, and assigning it to a variable that can be used within our Prestashop template.</p>
<p>Then, we need to check if it is actually holding a value</p>
<pre class="brush: php; html-script: true; title: ; notranslate">

	{assign var='freeshipping_price' value=Configuration::get('PS_SHIPPING_FREE_PRICE')}
	{if $freeshipping_price}
		{assign var='freeshipping_price_converted' value={toolsConvertPrice price=$freeshipping_price}}	
	{/if}


</pre>
<p><strong>Explanation:</strong> if the value exists, we need to convert it to the current currency (which might be other than the default). Therefore, we use the very handy <strong>toolsConvertPrice</strong> method to make sure the value is correctly set to the actual customer currency.</p>
<p>What&#8217;s next? We need to compare the total cart value without shipping to the free shipping one, and display a message in case it&#8217;s positive:</p>
<pre class="brush: php; html-script: true; title: ; notranslate">
	
	{assign var='freeshipping_price' value=Configuration::get('PS_SHIPPING_FREE_PRICE')}

	{if $freeshipping_price}
		{assign var='freeshipping_price_converted' value={toolsConvertPrice price=$freeshipping_price}}


		{math equation='a-b' a=$total_price b=$total_shipping assign='total_without_shipping'}
		{math equation='a-b' a=$freeshipping_price_converted b=$total_without_shipping assign='remaining_to_spend'}

		{if $remaining_to_spend &gt; 0}
			&lt;p&gt;{l s='Your total (without shipping) is'} {convertPrice price=$total_without_shipping}&lt;/p&gt;
			&lt;p&gt;&lt;strong&gt;{l s='You will be eligible for free shipping if you spend another'} {convertPrice price=$remaining_to_spend}&lt;/strong&gt;&lt;/p&gt;
		{/if}
	

	{/if}

</pre>
<p><strong>Explanation:</strong> first, we subtract the total shipping price from the overall total, which is the value taken in consideration by Prestashop when deciding if a cart is eligible or not, and then we simply subtract it from our minimum free shipping threshold. If the result is positive, we tell our customers how much is left to get rid of the shipping charge!</p>
<p>The post <a rel="nofollow" href="http://nemops.com/prestashop-show-free-shipping/">How to show &#8220;spend X to get Free Shipping&#8221; in Prestashop</a> appeared first on <a rel="nofollow" href="http://nemops.com">NemoPS</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://nemops.com/prestashop-show-free-shipping/feed/</wfw:commentRss>
		<slash:comments>13</slash:comments>
		</item>
		<item>
		<title>How to add new Color Schemes to the Prestashop 1.6 Theme</title>
		<link>http://nemops.com/new-color-schemes-prestashop-16-theme/</link>
		<comments>http://nemops.com/new-color-schemes-prestashop-16-theme/#comments</comments>
		<pubDate>Tue, 08 Jul 2014 09:58:42 +0000</pubDate>
		<dc:creator><![CDATA[Nemo]]></dc:creator>
				<category><![CDATA[Theming]]></category>
		<category><![CDATA[color schemes]]></category>
		<category><![CDATA[free module]]></category>
		<category><![CDATA[prestashop 1.6]]></category>
		<category><![CDATA[prestashop theme]]></category>

		<guid isPermaLink="false">http://nemops.com/?p=2088</guid>
		<description><![CDATA[<p>The Prestashop 1.6 theme configurator comes with 8 built in color schemes. That said, it might be worth knowing how to add new ones, when needed! Let&#8217;s see how to do it manually, and also with the help of a free module I created. DOWNLOAD HERE &#8211; Prestashop Theme Extender module Prestashop 1.6 color schemes [&#8230;]</p>
<p>The post <a rel="nofollow" href="http://nemops.com/new-color-schemes-prestashop-16-theme/">How to add new Color Schemes to the Prestashop 1.6 Theme</a> appeared first on <a rel="nofollow" href="http://nemops.com">NemoPS</a>.</p>
]]></description>
				<content:encoded><![CDATA[<p>The Prestashop 1.6 theme configurator comes with 8 built in color schemes. That said, it might be worth knowing how to add new ones, when needed! Let&#8217;s see how to do it manually, and also with the help of a free module I created.</p>
<p><span id="more-2088"></span></p>
<p><a class="button style1" href="http://store.nemops.com/free-modules/37-themextender.html#.U7u6TPna6r0" title="Prestashop 1.6 theme extender module free">DOWNLOAD HERE &#8211;  Prestashop Theme Extender module</a></p>
<h2>Prestashop 1.6 color schemes structure</h2>
<p>As a first step, it is fundamental to understand the file structure of color schemes in Prestashop 1.6. They are not located in the default-bootstrap theme folder, as we might think, but come as part of the <strong>Theme Configurator</strong> module. Therefore, to locate all the default ones, we must reach out the <em>/css/</em> folder inside <em>/modules/themeconfigurator/</em>.</p>
<p>By default, it will contain one css file for each of the default fonts, and one for each of the color schemes. Notice that, if you want to use SASS, it worth having a look at the <em>/scss</em> folder instead, and create a ruby compiler in the main module&#8217;s folder, as it&#8217;s missing. In this tutorial we will be editing .css files anyway.</p>
<p>Before proceeding: color schemes are named theme# where # is a number, but notice number 1 is missing, and, for that reason, we have 8 themes, instead of 9.</p>
<div class="separator"></div>
<h2>Adding a new color scheme</h2>
<h3>The scheme&#8217;s file</h3>
<p>The easiest way to add a new color scheme is, of, course, to clone one of the existing ones. Therefore, grab the one you wish to use as a starting point (I will use theme9), clone and rename it <strong>theme10</strong>.</p>
<h3>The database entry: 2 routes</h3>
<p>Now that we have the file in place, we need the configurator to know it&#8217;s actually there. How to? If we inspect the source code, we will see it grabs the selectable variation from a serialized array, added to the database upon install:</p>
<pre class="brush: php; title: ; notranslate">
		$themes_colors = array(
			'theme1',
			'theme2',
			'theme3',
			'theme4',
			'theme5',
			'theme6',
			'theme7',
			'theme8',
			'theme9'
		);

		...
		!Configuration::updateValue('PS_TC_THEMES', serialize($themes_colors)) ||
		...
</pre>
<p>We are facing two routes at this point: we can manually edit the array, and reset the module so that the database entry is updated. Or, we can directly modify the serialized array. Please notice that this second way is risky, and if you edit it the wrong way, you will not be able to use the theme switcher unless you reinstall the theme configurator module. That said, resetting the module means losing all of the other customizations that might have been added, and I will therefore cover both methods.</p>
<p><strong>METHOD 1: Modifying the php file, and resetting the module</strong></p>
<p>Head over to <em>/modules/themeconfigurator/</em> and open <strong>themeconfigurator.php</strong>. Find the array mentioned above, and add the name of the .css file you cloned. In this case, theme10:</p>
<pre class="brush: php; title: ; notranslate">
		$themes_colors = array(
			'theme1',
			'theme2',
			'theme3',
			'theme4',
			'theme5',
			'theme6',
			'theme7',
			'theme8',
			'theme9',
			'theme10'
		);
</pre>
<p><a href="http://nemops.com/wp-content/uploads/2014/07/new_color_schemes_reset.jpg"><img src="http://nemops.com/wp-content/uploads/2014/07/new_color_schemes_reset.jpg" alt="How to add new Color Schemes to the Prestashop 1.6 Theme - Resetting the live configurator module" width="596" height="313" class="aligncenter size-full wp-image-2092" /></a></p>
<p>Save, login to the back office and hit <strong>Reset</strong> on the right hand side dropdown menu. <strong>Doing this will erase your current customizations and images added using this module!</strong> Therefore, make sure you have a backup, if you need them.</p>
<p><strong>METHOD 2: Manually editing the database entry</strong></p>
<p>Login to your database and reach the ps_configuration table (your prefix might be other than ps_). Look for the entry named <strong>PS_TC_THEMES</strong>, and click to modify it. At this point, the value column will look like this:</p>
<pre class="brush: php; title: ; notranslate">
a:9:{i:0;s:6:&quot;theme1&quot;;i:1;s:6:&quot;theme2&quot;;i:2;s:6:&quot;theme3&quot;;i:3;s:6:&quot;theme4&quot;;i:4;s:6:&quot;theme5&quot;;i:5;s:6:&quot;theme6&quot;;i:6;s:6:&quot;theme7&quot;;i:7;s:6:&quot;theme8&quot;;i:8;s:6:&quot;theme9&quot;;}
</pre>
<p>How does a serialized array works? It&#8217;s important to understand it, in order to avoid breaking serialization, making it impossible to use it later. <strong>a:9</strong> declares the size of the array. It contains 9 elements, so we need to change it to <strong>a:10</strong> as we are adding another one.</p>
<p>Then, let&#8217;s take a closer look at the last element:</p>
<pre class="brush: php; title: ; notranslate">
i:8;s:6:&quot;theme9&quot;;
</pre>
<p><strong>i:8</strong> represents the index of this entry, which is 8; <strong>s:6</strong> means it&#8217;s a 6-chars long string; <strong>&#8220;theme9&#8243;</strong> is the value of this array entry.</p>
<p><strong>Make sure to copy and save the original value somewhere, before modifying it!</strong></p>
<p>Now that we know it, we can add our new element after the last semicolon:</p>
<pre class="brush: php; title: ; notranslate">
i:9;s:7:&quot;theme10&quot;;
</pre>
<p><strong>Explanation:</strong> i:9 means that this element has 9 as index; s:7 indicates the length of it, as it&#8217;s one more character compared to the other ones, it needs to be 7, not 6. Lastly, the name of our file.</p>
<p>The final entry:</p>
<pre class="brush: php; title: ; notranslate">
a:10:{i:0;s:6:&quot;theme1&quot;;i:1;s:6:&quot;theme2&quot;;i:2;s:6:&quot;theme3&quot;;i:3;s:6:&quot;theme4&quot;;i:4;s:6:&quot;theme5&quot;;i:5;s:6:&quot;theme6&quot;;i:6;s:6:&quot;theme7&quot;;i:7;s:6:&quot;theme8&quot;;i:8;s:6:&quot;theme9&quot;;i:9;s:7:&quot;theme10&quot;;}
</pre>
<p>Once more, this is a risky procedure, so if you have doubts, you can follow method 1 instead!</p>
<div class="separator"></div>
<h2>Editing CSS files</h2>
<p>At this point, it&#8217;s time for some pure CSS fun! Click on the shop link from the back office to activate the live configurator, it should look like this:</p>
<p><a href="http://nemops.com/wp-content/uploads/2014/07/new_color_schemes_livecfg.jpg"><img src="http://nemops.com/wp-content/uploads/2014/07/new_color_schemes_livecfg.jpg" alt="How to add new Color Schemes to the Prestashop 1.6 Theme - Live Configurator" width="299" height="776" class="aligncenter size-full wp-image-2090" /></a></p>
<p>That last black entry is our new color scheme! Why is it dark? Because the color is (sadly) saved in a separate file: <em>/modules/themesconfigurator/css/</em><strong>live_configurator.css</strong>. It&#8217;s not strictly necessary to add it, but in case you want, locate the following:</p>
<pre class="brush: css; title: ; notranslate">
#tool_customization #color-box .theme9 .color1{
	border: 13px solid #f9f6ed;
}
#tool_customization #color-box .theme9 .color2{
	background: #eea200;
}

</pre>
<p>Clone these lines and rename them to match the new theme&#8217;s name, then change the color to something that will help you identify the new scheme (mine is an electric blue, leaving the lighter color as it was):</p>
<pre class="brush: css; title: ; notranslate">
#tool_customization #color-box .theme10 .color1{
	border: 13px solid #f9f6ed;
}
#tool_customization #color-box .theme10 .color2{
	background: #3982ef;
}

</pre>
<p>Then, open up the <strong>theme10.css</strong> file and start modifying colors! If you are happy to only change the main color, like in the example of the original theme9, #f9f6ed, locate all entries of it, and replace them with your hex.</p>
<p>Of course, a completely new world opens up now. It would be boring to go through all boxes and colors. Instead, as the current way is troublesome and might generate issues, let&#8217;s have a look at n easier (and FREE!) alternative to manual modifications, using a module I created!</p>
<div class="separator"></div>
<h2>Alternative method: Adding new color schemes using my Free Prestashop Theme Extender module</h2>
<p><a class="button style1" href="http://store.nemops.com/free-modules/37-themextender.html#.U7u6TPna6r0" title="Prestashop 1.6 theme extender module free">DOWNLOAD HERE &#8211;  Prestashop Theme Extender module</a></p>
<p><a href="http://nemops.com/wp-content/uploads/2014/07/new_color_schemes_module.jpg"><img src="http://nemops.com/wp-content/uploads/2014/07/new_color_schemes_module-680x482.jpg" alt="How to add new Color Schemes to the Prestashop 1.6 Theme - Prestashop Themextender Module" width="680" height="482" class="aligncenter size-large wp-image-2091" /></a></p>
<p>Adding new color schemes using this module is as simple as editing a .css file. Because that is all you need to do, of course! My suggestion is, once more, to use one of the default color schemes as a basis. Once you are done with modifications, simply grab my module, install it, choose your .css file, and, optionally main and secondary colors (they have the only purpose of helping you recognize the scheme in the live configurator). Then, click add. And you have the new color scheme!</p>
<p>THis way, there will be no need or resetting the live configurator module, nor doing any complex modification in the database, or to any .php files. And of course, <strong>it&#8217;s completely free!</strong></p>
<p>The post <a rel="nofollow" href="http://nemops.com/new-color-schemes-prestashop-16-theme/">How to add new Color Schemes to the Prestashop 1.6 Theme</a> appeared first on <a rel="nofollow" href="http://nemops.com">NemoPS</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://nemops.com/new-color-schemes-prestashop-16-theme/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
		<item>
		<title>Quick Tip: Add product features to the Prestashop 1.6 Quick View box</title>
		<link>http://nemops.com/quick-tip-add-product-features-prestashop-1-6-quick-view-box/</link>
		<comments>http://nemops.com/quick-tip-add-product-features-prestashop-1-6-quick-view-box/#comments</comments>
		<pubDate>Mon, 16 Jun 2014 09:54:08 +0000</pubDate>
		<dc:creator><![CDATA[Nemo]]></dc:creator>
				<category><![CDATA[Tips n Tricks]]></category>
		<category><![CDATA[features]]></category>
		<category><![CDATA[prestashop 1.6]]></category>
		<category><![CDATA[quick view]]></category>

		<guid isPermaLink="false">http://nemops.com/?p=2074</guid>
		<description><![CDATA[<p>We already saw how to add features to the products list. It&#8217;s now time to implement then into the quick view box! In a recent tutorial, we saw How to add features to the product list in Prestashop 1.6. However, if you want to save some space, and take full advantage of Prestashop 1.6, you [&#8230;]</p>
<p>The post <a rel="nofollow" href="http://nemops.com/quick-tip-add-product-features-prestashop-1-6-quick-view-box/">Quick Tip: Add product features to the Prestashop 1.6 Quick View box</a> appeared first on <a rel="nofollow" href="http://nemops.com">NemoPS</a>.</p>
]]></description>
				<content:encoded><![CDATA[<p>We already saw how to add features to the products list. It&#8217;s now time to implement then into the quick view box!</p>
<p><span id="more-2074"></span></p>
<p>In a recent tutorial, we saw <a target="_blank" href="http://nemops.com/features-to-product-list-prestashop-16/" title="How to add features to the product list in Prestashop 1.6">How to add features to the product list in Prestashop 1.6</a>.</p>
<p>However, if you want to save some space, and take full advantage of Prestashop 1.6, you might want to add them to the QuickView box instead. The procedure is quite simple, and only involves editing one file!</p>
<div class="separator"></div>
<h2>Understanding the Quick View box in Prestashop 1.6</h2>
<p>What is this Quick View box, exactly? Where is it pulling data from? Simply put, it fetches the <strong>product.tpl</strong> file by sending an ajax request to the ProductController, and returns a portion of the page, instead of the whole. <br />
How does it do it? It uses the <strong>{$content_only}</strong> variable in Smarty, which allows Prestashop to know if we are trying to display the content inside a lightbox, or generally picking it using ajax. Therefore, to add content to the Quick View, it&#8217;s enough to use a condition in the product.tpl file.
</p>
<div class="separator"></div>
<h2>Editing product.tpl</h2>
<p>As always, it&#8217;s best practice not to edit files directly, but cloning the default template and proceeding from there. Once you have a clean copy, enable it, then open <strong>product.tpl</strong>.</p>
<p>The spot where to add feature is entirely up to your discretion, I chose the one right below quantities, as shown below.</p>
<p><img src="http://nemops.com/wp-content/uploads/2014/06/quickview_features_spot-680x375.jpg" alt="Adding product features to quick view in prestashop 1.6, spot" width="680" height="375" class="aligncenter size-large wp-image-2076" /></p>
<p>To add them over there, locate the following inside product.tpl</p>
<pre class="brush: php; html-script: true; title: ; notranslate">
	{if isset($HOOK_EXTRA_RIGHT) &amp;&amp; $HOOK_EXTRA_RIGHT}{$HOOK_EXTRA_RIGHT}{/if}
</pre>
<p>Right before it, add</p>
<pre class="brush: php; html-script: true; title: ; notranslate">
			{if $content_only}
				{if isset($features) &amp;&amp; $features}
					&lt;!-- Data sheet --&gt;
					&lt;section class=&quot;page-product-box&quot;&gt;
						&lt;p&gt;&lt;strong&gt;{l s='Features'}&lt;/strong&gt;&lt;/p&gt;
				
							{foreach from=$features item=feature}
							&lt;div class=&quot;{cycle values=&quot;odd,even&quot;}&quot;&gt;
								{if isset($feature.value)}			    
									{$feature.name|escape:'html':'UTF-8'} :
									{$feature.value|escape:'html':'UTF-8'}
								{/if}
							&lt;/div&gt;
							{/foreach}

					&lt;/section&gt;
					&lt;!--end Data sheet --&gt;
				{/if}
			{/if}


</pre>
<p><strong>Explanation</strong>: What are we doing here? As explained above, we need to tell prestashop to show this content only if it&#8217;s grabbing the template in &#8220;content_only&#8221; mode. Otherwise, the features list would be added to the normal product page as well. Then, we make sure there actually are features, and if so, we add the box with them inside. I used a slightly modified version of the original features table that you can find in the very same product.tpl file, so that it doesn&#8217;t look as big as that one. {cycle values=&#8221;odd,even&#8221;} allows you to style each row separately, in case you need to.</p>
<p>We are done!</p>
<p><img src="http://nemops.com/wp-content/uploads/2014/06/features_quickview-680x375.jpg" alt="Adding product features to quick view in prestashop 1.6, added" width="680" height="375" class="aligncenter size-large wp-image-2078" /></p>
<p>The post <a rel="nofollow" href="http://nemops.com/quick-tip-add-product-features-prestashop-1-6-quick-view-box/">Quick Tip: Add product features to the Prestashop 1.6 Quick View box</a> appeared first on <a rel="nofollow" href="http://nemops.com">NemoPS</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://nemops.com/quick-tip-add-product-features-prestashop-1-6-quick-view-box/feed/</wfw:commentRss>
		<slash:comments>14</slash:comments>
		</item>
	</channel>
</rss>
