<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	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/"
	
	>
<channel>
	<title>Comments on: Adding a &#8216;sort by sales&#8217; option to Prestashop</title>
	<atom:link href="http://nemops.com/sort-by-sales-prestashop/feed/" rel="self" type="application/rss+xml" />
	<link>http://nemops.com/sort-by-sales-prestashop/</link>
	<description>Prestashop Tutorials, Modules and More!</description>
	<lastBuildDate>Fri, 10 Mar 2023 23:25:00 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>https://wordpress.org/?v=4.1.35</generator>
	<item>
		<title>By: The Crew Game</title>
		<link>http://nemops.com/sort-by-sales-prestashop/comment-page-1/#comment-46814</link>
		<dc:creator><![CDATA[The Crew Game]]></dc:creator>
		<pubDate>Fri, 11 Oct 2019 07:08:00 +0000</pubDate>
		<guid isPermaLink="false">http://nemops.com/?p=1676#comment-46814</guid>
		<description><![CDATA[Well, he actually did. Edit sql query as same as in tutorial but in blocklayered.php in getProductByFilters and edit Tools.php in getProductsOrder to add 8 =&gt; &#039;sales&#039;. Everything works.]]></description>
		<content:encoded><![CDATA[<p>Well, he actually did. Edit sql query as same as in tutorial but in blocklayered.php in getProductByFilters and edit Tools.php in getProductsOrder to add 8 =&gt; &#8216;sales&#8217;. Everything works.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daniel</title>
		<link>http://nemops.com/sort-by-sales-prestashop/comment-page-1/#comment-46449</link>
		<dc:creator><![CDATA[Daniel]]></dc:creator>
		<pubDate>Fri, 11 Nov 2016 10:40:00 +0000</pubDate>
		<guid isPermaLink="false">http://nemops.com/?p=1676#comment-46449</guid>
		<description><![CDATA[Very very awesome!
Thanks for sharing. You helped me a lot! It works like a charm!
Best regards]]></description>
		<content:encoded><![CDATA[<p>Very very awesome!<br />
Thanks for sharing. You helped me a lot! It works like a charm!<br />
Best regards</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nathan</title>
		<link>http://nemops.com/sort-by-sales-prestashop/comment-page-1/#comment-46423</link>
		<dc:creator><![CDATA[Nathan]]></dc:creator>
		<pubDate>Fri, 30 Sep 2016 13:08:00 +0000</pubDate>
		<guid isPermaLink="false">http://nemops.com/?p=1676#comment-46423</guid>
		<description><![CDATA[Hello,
Indeed, you explained what I&#039;m looking for weeks.
Alas, this does not visibly running on version 1.6?
Indeed, when I click sorting by &quot;Bestsellers&gt; Worst&quot; For example, this poster nothing. Some more products is displayed.

Do you know why ? thank you very much]]></description>
		<content:encoded><![CDATA[<p>Hello,<br />
Indeed, you explained what I&#8217;m looking for weeks.<br />
Alas, this does not visibly running on version 1.6?<br />
Indeed, when I click sorting by &#8220;Bestsellers&gt; Worst&#8221; For example, this poster nothing. Some more products is displayed.</p>
<p>Do you know why ? thank you very much</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Albert</title>
		<link>http://nemops.com/sort-by-sales-prestashop/comment-page-1/#comment-46400</link>
		<dc:creator><![CDATA[Albert]]></dc:creator>
		<pubDate>Fri, 26 Aug 2016 16:20:00 +0000</pubDate>
		<guid isPermaLink="false">http://nemops.com/?p=1676#comment-46400</guid>
		<description><![CDATA[Tried this in 1.6.2 and it didn&#039;t work for me. Just a random sort order.

Downloaded your files. Added Category.php to override/classes, added CategoryController.php to override/controllers/front, added the 2 lines of option values to my product-sort.tpl file and then I deleted the class_index.php file. So I think I did everything correct. Any ideas?]]></description>
		<content:encoded><![CDATA[<p>Tried this in 1.6.2 and it didn&#8217;t work for me. Just a random sort order.</p>
<p>Downloaded your files. Added Category.php to override/classes, added CategoryController.php to override/controllers/front, added the 2 lines of option values to my product-sort.tpl file and then I deleted the class_index.php file. So I think I did everything correct. Any ideas?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: raknjak</title>
		<link>http://nemops.com/sort-by-sales-prestashop/comment-page-1/#comment-46385</link>
		<dc:creator><![CDATA[raknjak]]></dc:creator>
		<pubDate>Tue, 05 Jul 2016 14:09:00 +0000</pubDate>
		<guid isPermaLink="false">http://nemops.com/?p=1676#comment-46385</guid>
		<description><![CDATA[Has this ever worked with layered navigation? Because without it this is quite useless wouldn&#039;t you agree? Half the work = no work.]]></description>
		<content:encoded><![CDATA[<p>Has this ever worked with layered navigation? Because without it this is quite useless wouldn&#8217;t you agree? Half the work = no work.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: lupillus</title>
		<link>http://nemops.com/sort-by-sales-prestashop/comment-page-1/#comment-46342</link>
		<dc:creator><![CDATA[lupillus]]></dc:creator>
		<pubDate>Mon, 16 May 2016 09:28:00 +0000</pubDate>
		<guid isPermaLink="false">http://nemops.com/?p=1676#comment-46342</guid>
		<description><![CDATA[Hi, can you please explain more how to do it if using Blocklayered module? Thanks!]]></description>
		<content:encoded><![CDATA[<p>Hi, can you please explain more how to do it if using Blocklayered module? Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Peter PanPan</title>
		<link>http://nemops.com/sort-by-sales-prestashop/comment-page-1/#comment-46254</link>
		<dc:creator><![CDATA[Peter PanPan]]></dc:creator>
		<pubDate>Mon, 08 Feb 2016 21:23:00 +0000</pubDate>
		<guid isPermaLink="false">http://nemops.com/?p=1676#comment-46254</guid>
		<description><![CDATA[In case you use Blocklayered Module, your method can be done BUT using different files

The QUERY has to be modified into an override of &quot;blocklayered.php&quot; into the function getProductByFilters line 1779.

And the value : 8 =&gt; &#039;sales&#039; has to be added into an override of ./classes/Tools.php
into the function getProductsOrder

I am trying now these overrides...]]></description>
		<content:encoded><![CDATA[<p>In case you use Blocklayered Module, your method can be done BUT using different files</p>
<p>The QUERY has to be modified into an override of &#8220;blocklayered.php&#8221; into the function getProductByFilters line 1779.</p>
<p>And the value : 8 =&gt; &#8216;sales&#8217; has to be added into an override of ./classes/Tools.php<br />
into the function getProductsOrder</p>
<p>I am trying now these overrides&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: NemoPS</title>
		<link>http://nemops.com/sort-by-sales-prestashop/comment-page-1/#comment-46094</link>
		<dc:creator><![CDATA[NemoPS]]></dc:creator>
		<pubDate>Mon, 31 Aug 2015 19:52:00 +0000</pubDate>
		<guid isPermaLink="false">http://nemops.com/?p=1676#comment-46094</guid>
		<description><![CDATA[Hard to tell. You have to make sure the sortname column is grabbed at the time products are retrieved in the database, and it&#039;s used in the ORDER BY clause as well]]></description>
		<content:encoded><![CDATA[<p>Hard to tell. You have to make sure the sortname column is grabbed at the time products are retrieved in the database, and it&#8217;s used in the ORDER BY clause as well</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: iLifehackNL</title>
		<link>http://nemops.com/sort-by-sales-prestashop/comment-page-1/#comment-46084</link>
		<dc:creator><![CDATA[iLifehackNL]]></dc:creator>
		<pubDate>Thu, 27 Aug 2015 14:53:00 +0000</pubDate>
		<guid isPermaLink="false">http://nemops.com/?p=1676#comment-46084</guid>
		<description><![CDATA[Hi there. I tried your tutorial (version 1.6) and want to sort by manufacturer name. For example the manufacturer name = &quot;John Doe&quot; and I want to sort it with &quot;Doe&quot;


 I added another column in my database called &quot;sortname&quot;. But I still have not succeeded in sorting on this column. Any tips on how to do this?

Thank you in advance.]]></description>
		<content:encoded><![CDATA[<p>Hi there. I tried your tutorial (version 1.6) and want to sort by manufacturer name. For example the manufacturer name = &#8220;John Doe&#8221; and I want to sort it with &#8220;Doe&#8221;</p>
<p> I added another column in my database called &#8220;sortname&#8221;. But I still have not succeeded in sorting on this column. Any tips on how to do this?</p>
<p>Thank you in advance.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sancoLgates</title>
		<link>http://nemops.com/sort-by-sales-prestashop/comment-page-1/#comment-45983</link>
		<dc:creator><![CDATA[sancoLgates]]></dc:creator>
		<pubDate>Thu, 30 Apr 2015 04:05:00 +0000</pubDate>
		<guid isPermaLink="false">http://nemops.com/?p=1676#comment-45983</guid>
		<description><![CDATA[Hi, Nemo is it works for PS. 1.6.0.9 ?
i don&#039;t have any difference...]]></description>
		<content:encoded><![CDATA[<p>Hi, Nemo is it works for PS. 1.6.0.9 ?<br />
i don&#8217;t have any difference&#8230;</p>
]]></content:encoded>
	</item>
</channel>
</rss>
