<?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 pagination to the Prestashop Order History</title>
	<atom:link href="https://nemops.com/prestashop-order-history-pagination/feed/" rel="self" type="application/rss+xml" />
	<link>https://nemops.com/prestashop-order-history-pagination/</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: fran</title>
		<link>https://nemops.com/prestashop-order-history-pagination/comment-page-1/#comment-46832</link>
		<dc:creator><![CDATA[fran]]></dc:creator>
		<pubDate>Wed, 08 Apr 2020 11:15:00 +0000</pubDate>
		<guid isPermaLink="false">http://nemops.com/?p=2145#comment-46832</guid>
		<description><![CDATA[Buenisimo! muchas gracias, me ha servido para prestashop 1.7 tambien.
Very Good! tanks a lots! it&#039;s work with Prestashop 1.7 too.]]></description>
		<content:encoded><![CDATA[<p>Buenisimo! muchas gracias, me ha servido para prestashop 1.7 tambien.<br />
Very Good! tanks a lots! it&#8217;s work with Prestashop 1.7 too.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Krystian Raj</title>
		<link>https://nemops.com/prestashop-order-history-pagination/comment-page-1/#comment-46737</link>
		<dc:creator><![CDATA[Krystian Raj]]></dc:creator>
		<pubDate>Fri, 11 May 2018 21:29:00 +0000</pubDate>
		<guid isPermaLink="false">http://nemops.com/?p=2145#comment-46737</guid>
		<description><![CDATA[Many thanks bro! This solved my problem very well. The explanation is excelent! Good JOB!]]></description>
		<content:encoded><![CDATA[<p>Many thanks bro! This solved my problem very well. The explanation is excelent! Good JOB!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: KevinNash</title>
		<link>https://nemops.com/prestashop-order-history-pagination/comment-page-1/#comment-46474</link>
		<dc:creator><![CDATA[KevinNash]]></dc:creator>
		<pubDate>Fri, 16 Dec 2016 13:38:00 +0000</pubDate>
		<guid isPermaLink="false">http://nemops.com/?p=2145#comment-46474</guid>
		<description><![CDATA[Hi,
There is a problem with your order.php override, it causes the customer order number to be wrong when we go in the customer detail.

Can you tahe a look and correct it please ?]]></description>
		<content:encoded><![CDATA[<p>Hi,<br />
There is a problem with your order.php override, it causes the customer order number to be wrong when we go in the customer detail.</p>
<p>Can you tahe a look and correct it please ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jose Ramon Guzman Sobrino</title>
		<link>https://nemops.com/prestashop-order-history-pagination/comment-page-1/#comment-46328</link>
		<dc:creator><![CDATA[Jose Ramon Guzman Sobrino]]></dc:creator>
		<pubDate>Mon, 18 Apr 2016 07:16:00 +0000</pubDate>
		<guid isPermaLink="false">http://nemops.com/?p=2145#comment-46328</guid>
		<description><![CDATA[This change also affects the back office and does pagination, what would change?]]></description>
		<content:encoded><![CDATA[<p>This change also affects the back office and does pagination, what would change?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: raknjak</title>
		<link>https://nemops.com/prestashop-order-history-pagination/comment-page-1/#comment-46256</link>
		<dc:creator><![CDATA[raknjak]]></dc:creator>
		<pubDate>Wed, 10 Feb 2016 10:11:00 +0000</pubDate>
		<guid isPermaLink="false">http://nemops.com/?p=2145#comment-46256</guid>
		<description><![CDATA[Great and still works for me on 1.6.1.4.
For my multistore I had to change the getCustomerNbOrders() method as I want to see all orders in all shops:

public static function getCustomerNbOrders($id_customer)
    {
        $sql = &#039;SELECT COUNT(`id_order`) AS nb
                FROM `&#039;._DB_PREFIX_.&#039;orders`
                WHERE `id_customer` = &#039;.(int)$id_customer;
        $result = Db::getInstance(_PS_USE_SQL_SLAVE_)-&gt;getRow($sql);

        return isset($result[&#039;nb&#039;]) ? $result[&#039;nb&#039;] : 0;
    }]]></description>
		<content:encoded><![CDATA[<p>Great and still works for me on 1.6.1.4.<br />
For my multistore I had to change the getCustomerNbOrders() method as I want to see all orders in all shops:</p>
<p>public static function getCustomerNbOrders($id_customer)<br />
    {<br />
        $sql = &#8216;SELECT COUNT(`id_order`) AS nb<br />
                FROM `&#8217;._DB_PREFIX_.&#8217;orders`<br />
                WHERE `id_customer` = &#8216;.(int)$id_customer;<br />
        $result = Db::getInstance(_PS_USE_SQL_SLAVE_)-&gt;getRow($sql);</p>
<p>        return isset($result[&#8216;nb&#8217;]) ? $result[&#8216;nb&#8217;] : 0;<br />
    }</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chandra Wangsa S</title>
		<link>https://nemops.com/prestashop-order-history-pagination/comment-page-1/#comment-46196</link>
		<dc:creator><![CDATA[Chandra Wangsa S]]></dc:creator>
		<pubDate>Fri, 20 Nov 2015 03:53:00 +0000</pubDate>
		<guid isPermaLink="false">http://nemops.com/?p=2145#comment-46196</guid>
		<description><![CDATA[thank you so much.
works perfectly.]]></description>
		<content:encoded><![CDATA[<p>thank you so much.<br />
works perfectly.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: lordbdp</title>
		<link>https://nemops.com/prestashop-order-history-pagination/comment-page-1/#comment-45837</link>
		<dc:creator><![CDATA[lordbdp]]></dc:creator>
		<pubDate>Thu, 18 Dec 2014 21:53:00 +0000</pubDate>
		<guid isPermaLink="false">http://nemops.com/?p=2145#comment-45837</guid>
		<description><![CDATA[Are there some modifications to do for PS 1.5.6.2 ?]]></description>
		<content:encoded><![CDATA[<p>Are there some modifications to do for PS 1.5.6.2 ?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
