<?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.5</title>
	<atom:link href="http://nemops.com/tag/prestashop-1-5/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>Quick Tip: Move Products inside a Category in Prestashop 1.5</title>
		<link>http://nemops.com/move-products-position-inside-category/</link>
		<comments>http://nemops.com/move-products-position-inside-category/#comments</comments>
		<pubDate>Tue, 23 Apr 2013 09:14:02 +0000</pubDate>
		<dc:creator><![CDATA[Nemo]]></dc:creator>
				<category><![CDATA[Tips n Tricks]]></category>
		<category><![CDATA[prestashop 1.5]]></category>
		<category><![CDATA[products. category]]></category>

		<guid isPermaLink="false">http://nemops.com/?p=1238</guid>
		<description><![CDATA[<p>It seems that some people can&#8217;t find a way to order products in Prestashop Categories. Let&#8217;s see how to display movement arrows in the back office! If you are a Prtestashop 1.4 user, now approaching to 1.5, you might have noticed those little arrows you used to move products are not there anymore, where they [&#8230;]</p>
<p>The post <a rel="nofollow" href="http://nemops.com/move-products-position-inside-category/">Quick Tip: Move Products inside a Category in Prestashop 1.5</a> appeared first on <a rel="nofollow" href="http://nemops.com">NemoPS</a>.</p>
]]></description>
				<content:encoded><![CDATA[<p>It seems that some people can&#8217;t find a way to order products in Prestashop Categories. Let&#8217;s see how to display movement arrows in the back office!</p>
<p><span id="more-1238"></span></p>
<p>If you are a Prtestashop 1.4 user, now approaching to 1.5, you might have noticed those little arrows you used to move products are not there anymore, where they used to be. This is because products and categories now have 2 different interfaces in the back office. So, how to move products within a category? Well, there is a hidden catch: <strong>you must first filter the product list by category.</strong> In short terms, here is what you have to do:</p>
<p><strong>1. In the admin panel, hover on Catalog, and click Products.</strong></p>
<div id="attachment_1245" style="width: 690px" class="wp-caption aligncenter"><a href="http://nemops.com/wp-content/uploads/2013/04/productcatalog.jpg"><img src="http://nemops.com/wp-content/uploads/2013/04/productcatalog-680x196.jpg" alt="Click on the products link under Catalog" width="680" height="196" class="size-large wp-image-1245" /></a><p class="wp-caption-text">Click on the products link under Catalog</p></div>
<p><strong>2. In this page, click &#8220;Filter by category&#8221;</strong></p>
<div id="attachment_1246" style="width: 690px" class="wp-caption aligncenter"><a href="http://nemops.com/wp-content/uploads/2013/04/product_filter_by_category.png"><img src="http://nemops.com/wp-content/uploads/2013/04/product_filter_by_category-680x475.png" alt="Click this link to filter products by category" width="680" height="475" class="size-large wp-image-1246" /></a><p class="wp-caption-text">Click this link to filter products by category</p></div>
<p><strong>3. Finally, select one category, and the product list will be filtered down to the ones belonging to the selected category. Not only, the movement arrows will also appear in the right side of the table.</strong></p>
<div id="attachment_1247" style="width: 690px" class="wp-caption aligncenter"><a href="http://nemops.com/wp-content/uploads/2013/04/move_products.png"><img src="http://nemops.com/wp-content/uploads/2013/04/move_products-680x475.png" alt="Select a category, and use the arrows to move them inside it" width="680" height="475" class="size-large wp-image-1247" /></a><p class="wp-caption-text">Select a category, and use the arrows to move them inside it</p></div>
<p>That&#8217;s it <img src="http://nemops.com/wp-includes/images/smilies/icon_wink.gif" alt=";)" class="wp-smiley" /></p>
<p>The post <a rel="nofollow" href="http://nemops.com/move-products-position-inside-category/">Quick Tip: Move Products inside a Category in Prestashop 1.5</a> appeared first on <a rel="nofollow" href="http://nemops.com">NemoPS</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://nemops.com/move-products-position-inside-category/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Quick Tip: Prestashop SSL (and some troubleshooting)</title>
		<link>http://nemops.com/prestashop-ssl/</link>
		<comments>http://nemops.com/prestashop-ssl/#comments</comments>
		<pubDate>Sat, 16 Mar 2013 11:30:43 +0000</pubDate>
		<dc:creator><![CDATA[Nemo]]></dc:creator>
				<category><![CDATA[Tips n Tricks]]></category>
		<category><![CDATA[prestashop]]></category>
		<category><![CDATA[prestashop 1.5]]></category>
		<category><![CDATA[SSL]]></category>

		<guid isPermaLink="false">http://nemops.com/?p=1141</guid>
		<description><![CDATA[<p>Some people seem to have trouble in enabling SSL in Prestashop, especially when they have custom themes. Let&#8217;s see how to do it properly, and eventually debug a couple of errors. Some words about SSL If you don&#8217;t know what SSL is, or have heard about but don&#8217;t grasp the concept, here it is: SSL [&#8230;]</p>
<p>The post <a rel="nofollow" href="http://nemops.com/prestashop-ssl/">Quick Tip: Prestashop SSL (and some troubleshooting)</a> appeared first on <a rel="nofollow" href="http://nemops.com">NemoPS</a>.</p>
]]></description>
				<content:encoded><![CDATA[<p>Some people seem to have trouble in enabling SSL in Prestashop, especially when they have custom themes. Let&#8217;s see how to do it properly, and eventually debug a couple of errors.</p>
<p><span id="more-1141"></span></p>
<h2>Some words about SSL</h2>
<p>
If you don&#8217;t know what SSL is, or have heard about but don&#8217;t grasp the concept, here it is: SSL is a cryptographic protocol, that basically secures data sent across pages with a cryptographic key. It&#8217;s basically used to secure credit card transactions, and sensible data like login details, or personal information. In Prestashop, the back office login, front office account pages and orders can be secured with SSL by default. Of course, you can secure other pages if you want, but this is beyond the scope of the quick tip.
</p>
<div class="separator"></div>
<h2>Get your certificate first!</h2>
<p>Before even thinking on implementing SSL in Prestashop, you must buy an <strong>SSL Certificate</strong>. It doesn&#8217;t come for free in any hosting plan I know, and it has to be bought <strong>separately for each domain</strong>. This means that if you have myshoes.com, and myshoes.net, 2 SSL Certificates will be needed. Most hosting providers also require you to buy an additional dedicated IP address. Let&#8217;s see how to buy an SSL Certificate with a popular and affordable hosting: <a href="http://arvixe.com">Arvixe.com</a>.</p>
<h3>Setting up an SSL Certificate with Arvixe</h3>
<p>I&#8217;m using Arvixe, but most of the providers offer about the same way to get an SSL certificate. I&#8217;ll also assume your already have a domain, without the SSL Certificate.</p>
<p>First, login to your Arvixe account, and navigate to the <strong>Support Center</strong>. In the knowledgebase section, you&#8217;ll find a link for <strong>SSL</strong>, with any additional information you may need. You can ask the certificate in many ways: using the live chat (just below Knlowledgebase), sending and email at ssl@arvixe.com, or opening a ticket. The important thing is that you provide the following information:</p>
<ul>
<li>Arvixe Username</li>
<li>Host to make cert for: (usually domain.com or www.domain.com)</li>
<li>City:</li>
<li>State:</li>
<li>Country (2 letter abbreviation):</li>
<li>Company Name:</li>
<li>Company Division:</li>
</ul>
<p>As they state in the knowledgebase, <strong>if you already have your own certificate, they&#8217;ll install that for FREE.</strong></p>
<p>As for their pricing, the SSL itself is $25.95/year, plus 2 additional bucks per month for the dedicated IP.</p>
<div class="separator"></div>
<h2>Check that the certificate is working</h2>
<p>After some time (usually, a couple of days) you&#8217;ll receive confirmation of the successful installation of your certificate. it&#8217;s time to test it out. Login to your prestashop admin panel, and navigate to <strong>Preferences -> General.</strong>. The very first option will allow you to test out your new SSL certificate:</p>
<p><a href="http://nemops.com/wp-content/uploads/2013/03/Untitled-1.jpg"><img src="http://nemops.com/wp-content/uploads/2013/03/Untitled-1-680x314.jpg" alt="Prestashop SSL settings page" width="680" height="314" class="aligncenter size-large wp-image-1147" /></a></p>
<p>Click on <strong>Please click here to use HTTPS protocol before enabling SSL.</strong><br />
If everything works out correctly, after the page refreshes your address bar will have <strong>https://</strong> at the beginning, with a padlock right in front:</p>
<p><a href="http://nemops.com/wp-content/uploads/2013/03/secured_page.jpg"><img src="http://nemops.com/wp-content/uploads/2013/03/secured_page.jpg" alt="Prestashop SSL activated, https is now visible" width="314" height="32" class="aligncenter size-full wp-image-1149" /></a></p>
<p>If, for some reason, you can&#8217;t access the page (Internal Server Error 500, 404 not found, 102 (net::ERR_CONNECTION_REFUSED) or anything else) your SSL certificate is not seup correctly. If this happens <strong>contact your hosting immediately</strong>, since you can&#8217;t do anything about it.</p>
<p>Else, if you can display the new page, set Enable SSL to yes, and save.</p>
<div class="separator"></div>
<h2>Troubleshooting</h2>
<p>At this point, your content should be secured. Access an account page, and try placing an order in your Prestashop front-office. You should get the https:// prefix for the url.</p>
<p>But this might not happen at times, even though the secure link was okay for your admin page. If you get some new 404, 500, or 102 errors, the only option is to contact the hosting. Let them also know if you use <strong>Pretty URLs</strong>, as this might conflict at times. A bunch of other issues can be solved anyway.</p>
<h3>The page at http://mysitesname.com ran insecure content from http://anotherpage.com/file.ext</h3>
<p>This usually happens if some files required in the page are not properly embedded. Most of the times, when you use a custom theme. If you run into this, take note of the file that is being embedded and try to locate it in the html structure. It usually is a javascript, stylesheet of image type file. If you use addthis, for example, you&#8217;ll need to include a secured version of their javascript to avoid this error. <br />
If your theme has a slider, you will need to change the prifix for those. </p>
<p>In all cases, when you use <strong>SSL</strong>, your image/stylesheets/javascripts references MUST begin with {$base_dir_ssl}.</p>
<h3>I can&#8217;t access my site (back nor front office) anymore!</h3>
<p>Your server&#8217;s SSL settings might be wrong. In this case, you must force Prestashop not to use SSL. Login to your phpMyAdmin (or any other database manager). Access the configuration table, and locate <strong>PS_SSL_ENABLED</strong>. It should be set to 1, crush it to zero. This way, you&#8217;ll be able to access your site again, but of course you&#8217;ll have no SSL. Be sure you further investigate the issue, before trying to turn it on again!</p>
<p>The post <a rel="nofollow" href="http://nemops.com/prestashop-ssl/">Quick Tip: Prestashop SSL (and some troubleshooting)</a> appeared first on <a rel="nofollow" href="http://nemops.com">NemoPS</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://nemops.com/prestashop-ssl/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Quick Tip: Adding hooks to Prestashop 1.5 (the new way)</title>
		<link>http://nemops.com/adding-hooks-to-prestashop-1-5/</link>
		<comments>http://nemops.com/adding-hooks-to-prestashop-1-5/#comments</comments>
		<pubDate>Mon, 11 Feb 2013 11:01:20 +0000</pubDate>
		<dc:creator><![CDATA[Nemo]]></dc:creator>
				<category><![CDATA[Tips n Tricks]]></category>
		<category><![CDATA[hooks]]></category>
		<category><![CDATA[prestashop]]></category>
		<category><![CDATA[prestashop 1.5]]></category>

		<guid isPermaLink="false">http://nemops.com/?p=1007</guid>
		<description><![CDATA[<p>Prestashop 1.5 introduced a new way to add hooks, which doesn&#8217;t involve overrides or database queries. Unfortunately, it&#8217;s not yet been documented in the offiacial Docs, so let&#8217;s see how to take advantage of it! Watch the screencast &#160; Text version The old VS the new hooks syntax If you were used to adding hooks [&#8230;]</p>
<p>The post <a rel="nofollow" href="http://nemops.com/adding-hooks-to-prestashop-1-5/">Quick Tip: Adding hooks to Prestashop 1.5 (the new way)</a> appeared first on <a rel="nofollow" href="http://nemops.com">NemoPS</a>.</p>
]]></description>
				<content:encoded><![CDATA[<p>Prestashop 1.5 introduced a new way to add hooks, which doesn&#8217;t involve overrides or database queries. Unfortunately, it&#8217;s not yet been documented in the offiacial Docs, so let&#8217;s see how to take advantage of it!</p>
<p><span id="more-1007"></span></p>
<h2>Watch the screencast</h2>

	<div class="video-embed">
		<iframe width="640" height="360" src="http://www.youtube.com/embed/E5F5Bqr7YMI" 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>
<h2>Text version</h2>
<h3>The old VS the new hooks syntax</h3>
<p>If you were used to adding  <a href="http://nemops.com/a-deeper-look-at-prestashop-hooks/" title="Prestashop Hooks tutorial">hooks to Prestashop 1.4</a>, you might remember having to write something like this</p>
<pre class="brush:php">
INSERT INTO `ps_hook` (`name`, `title`, `description`) 
VALUES ('category', 'Category', 'Hooks before the product list in a category');	
</pre>
<p>Into your database to add the hook, and then override one of the controllers to register its execution, like this:</p>
<pre class="brush:php">
Class FrontController extends FrontControllerCore
{
 
    public function displayHeader()
    {
        if (!self::$initialized)
             $this->init();
 
            self::$smarty->assign('HOOK_CATEGORY', Module::hookExec('category'));
 
        parent::displayHeader();        
    }
 
}
</pre>
<p>And this was SO bad, forcing us to use overrides for almost every place which didn&#8217;t have its own hook already.</p>
<p>Luckily, but &#8220;secretly&#8221; for some reason, a new and simpler way has been introduced, and that is, substantially, adding this to a template file:</p>
<pre class="brush:php">
	{hook h='nameOfTheHook'}
</pre>
<p>I discovered it by chance actually, scrabbing throughout the forums, from a post of one the Prestashop Core&#8217;s developers: Fabien Serny (<a href="http://www.prestashop.com/forums/topic/173027-solved-how-to-create-a-new-hook-in-15-am-i-doing-it-wrong/page__st__20" title="Original post on the new hook syntax in prestashop 1.5">reference</a>)</p>
<div class="separator">&nbsp;</div>
<h3>Example: adding a new hook for the first time</h3>
<p>For the sake of this example, we&#8217;ll just be writing some piece of text above the footer. Therefore, open up <em>themes/default/footer.tpl</em>, and right before {$HOOK_FOOTER}, add the following</p>
<pre class="brush:php">
	{hook h='beforeFooter'}	
</pre>
<p>The name is, of course, discretional. Nothing else has to be done actually, but registering the hook as any other existent hook. Open up any module you have installed, for example <strong>blocknewsletter.php</strong>. I&#8217;ll be using this for demonstrational purposes only, you can use any. At the end of the file, add a simple hooking function:</p>
<pre class="brush:php">	
public function hookBeforeFooter($params)
{
	return 'hi there!';
}
</pre>
<p>The function is now there, but this module is not registered as being part of this hook. We won&#8217;t be able to position it to the new hook from the back office yet. <strong>The first time you create the hook, it has to be registered at least once, from a module</strong>. We can use a regular registerHook for this, as any other hook. In the install() function of the module, add the registration, so it looks like this:</p>
<pre class="brush:php">
	if (parent::install() == false || $this->registerHook('leftColumn') == false ||  $this->registerHook('beforeFooter') == false || $this->registerHook('header') == false)
		return false;	
</pre>
<p>Again, this is just an example, the important part is the following one (it will look familiar if you know how to create modules and register hooks; if it doesn&#8217;t, have a look at my previous tutorial about <a href="http://nemops.com/a-deeper-look-at-prestashop-hooks/" title="Prestashop Hooks tutorial">Prestashop Hooks</a>, as the basic ideas are still valid):</p>
<pre class="brush:php">
	$this->registerHook('beforeFooter')
</pre>
<p>Go back to the modules panel and reset the module (or install it, if it wasn&#8217;t). Refresh the front office, and you&#8217;ll see the &#8220;Hi there!&#8221; text appear where it&#8217;s supposed to be.</p>
<p>Isn&#8217;t this a HUGE improvement? Yay, it is. But if you still use Prestashop 1.4, you can go the old way with my module <a href="http://store.nemops.com/17-ez-hook.html">EZ Hooks</a>, and create new hooks in 1 click.</p>
<p>The post <a rel="nofollow" href="http://nemops.com/adding-hooks-to-prestashop-1-5/">Quick Tip: Adding hooks to Prestashop 1.5 (the new way)</a> appeared first on <a rel="nofollow" href="http://nemops.com">NemoPS</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://nemops.com/adding-hooks-to-prestashop-1-5/feed/</wfw:commentRss>
		<slash:comments>21</slash:comments>
		</item>
		<item>
		<title>Quick Tip &#8211; Enable all tinyMCE commands in Prestashop 1.5</title>
		<link>http://nemops.com/enable-tinymce-commands-prestashop-1-5/</link>
		<comments>http://nemops.com/enable-tinymce-commands-prestashop-1-5/#comments</comments>
		<pubDate>Thu, 15 Nov 2012 10:36:33 +0000</pubDate>
		<dc:creator><![CDATA[Nemo]]></dc:creator>
				<category><![CDATA[Tips n Tricks]]></category>
		<category><![CDATA[prestashop 1.5]]></category>
		<category><![CDATA[tinymce]]></category>
		<category><![CDATA[visual editor]]></category>

		<guid isPermaLink="false">http://nemops.com/?p=739</guid>
		<description><![CDATA[<p>For some reason, Prestashop 1.5 has seen its visual editor fire power cut down drastically. But hey, no fear, in today&#8217;s quick tip we&#8217;ll see how easy it is to have all those styling buttons back and fully working Prestashop version: Prestashop 1.5.2. Useful for all 1.5.x so far Watch the screencast &#160; Text version [&#8230;]</p>
<p>The post <a rel="nofollow" href="http://nemops.com/enable-tinymce-commands-prestashop-1-5/">Quick Tip &#8211; Enable all tinyMCE commands in Prestashop 1.5</a> appeared first on <a rel="nofollow" href="http://nemops.com">NemoPS</a>.</p>
]]></description>
				<content:encoded><![CDATA[<p>For some reason, Prestashop 1.5 has seen its visual editor fire power cut down drastically. But hey, no fear, in today&#8217;s quick tip we&#8217;ll see how easy it is to have all those styling buttons back and fully working<span id="more-739"></span></p>
<p><strong>Prestashop version</strong>: Prestashop 1.5.2. Useful for all 1.5.x so far</p>
<h2>Watch the screencast</h2>

	<div class="video-embed">
		<iframe width="640" height="360" src="http://www.youtube.com/embed/LDCjo_y7AOg" 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>
<h2>Text version</h2>
<p>Please note that this fix applies up to the latest Prestashop 1.5 version, which, at the time I am writing, is 1.5.2. It&#8217;s not needed in Prestashop 1.4.<br />
Go to your admin folder, then<em> themes/default/template/helpers/form/</em> and open up <strong>form.tpl.</strong></p>
<p>At about line 400, you will find some javascript code. Change the following</p>
<pre class="brush:js">				theme_advanced_buttons1 : "bold,italic,underline,strikethrough,|,justifyleft,justifycenter,justifyright,justifyfull|cut,copy,paste,pastetext,pasteword,|,search,replace,|,bullist,numlist,|,undo,redo",
				theme_advanced_buttons2 : "link,unlink,anchor,image,cleanup,code,|,forecolor,backcolor,|,hr,removeformat,visualaid,|,charmap,media,|,ltr,rtl,|,fullscreen",
				theme_advanced_buttons3 : "",
				theme_advanced_buttons4 : ""</pre>
<p>Into this</p>
<pre class="brush:js">				theme_advanced_buttons1 : "newdocument,|,bold,italic,underline,strikethrough,|,justifyleft,justifycenter,justifyright,justifyfull,styleselect,formatselect,fontselect,fontsizeselect",
				theme_advanced_buttons2 : "cut,copy,paste,pastetext,pasteword,|,search,replace,|,bullist,numlist,|,outdent,indent,blockquote,|,undo,redo,|,link,unlink,anchor,image,cleanup,help,code,,|,forecolor,backcolor",
				theme_advanced_buttons3 : "tablecontrols,|,hr,removeformat,visualaid,|,sub,sup,|,charmap,media,|,ltr,rtl,|,fullscreen",
				theme_advanced_buttons4 : "styleprops,|,cite,abbr,acronym,del,ins,attribs,pagebreak",</pre>
<p>Of course, these are te default buttons. If you want to add only some of them, you can have a look at the <a title="TinyMCE documentation: buttons reference" href="http://www.tinymce.com/wiki.php/Buttons/controls" target="_blank">tinyMCE documentation</a>.&nbsp;</p>
<div class="separator"></div>
<p>&nbsp;</p>
<h3>Additional Resources</h3>
<ul>
<li><a title="Prestashop Module: Rich Text Footer" href="http://store.nemops.com/modules/23-rich-text-footer.html" target="_blank">Prestashop Module: Rich Text Footer</a> on my addons store</li>
<li><a title="TinyMce Documentation" href="http://www.tinymce.com/wiki.php/Configuration" target="_blank">TinyMCE Documentation</a></li>
</ul>
<p>The post <a rel="nofollow" href="http://nemops.com/enable-tinymce-commands-prestashop-1-5/">Quick Tip &#8211; Enable all tinyMCE commands in Prestashop 1.5</a> appeared first on <a rel="nofollow" href="http://nemops.com">NemoPS</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://nemops.com/enable-tinymce-commands-prestashop-1-5/feed/</wfw:commentRss>
		<slash:comments>17</slash:comments>
		</item>
		<item>
		<title>Quick tip: How to Debug Prestashop Error 500 (1.5)</title>
		<link>http://nemops.com/debug-prestashop-error-500/</link>
		<comments>http://nemops.com/debug-prestashop-error-500/#comments</comments>
		<pubDate>Thu, 20 Sep 2012 09:10:51 +0000</pubDate>
		<dc:creator><![CDATA[Nemo]]></dc:creator>
				<category><![CDATA[Tips n Tricks]]></category>
		<category><![CDATA[error]]></category>
		<category><![CDATA[prestashop]]></category>
		<category><![CDATA[prestashop 1.5]]></category>

		<guid isPermaLink="false">http://nemops.com/?p=437</guid>
		<description><![CDATA[<p>If you just upgraded Prestashop to version 1.5, or are trying to make your modules compatible with this new version, you might have run into the cryptic Internal Server Error (500). Let&#8217;s see how to make it more understandable in Prestashop. Watch the screencast UPDATE &#8211; Fixing Paypal error 500 in Prestashop 1.5 I am [&#8230;]</p>
<p>The post <a rel="nofollow" href="http://nemops.com/debug-prestashop-error-500/">Quick tip: How to Debug Prestashop Error 500 (1.5)</a> appeared first on <a rel="nofollow" href="http://nemops.com">NemoPS</a>.</p>
]]></description>
				<content:encoded><![CDATA[<p>If you just upgraded Prestashop to version 1.5, or are trying to make your modules compatible with this new version, you might have run into the cryptic Internal Server Error (500). Let&#8217;s see how to make it more understandable in Prestashop.<span id="more-437"></span></p>
<h2>Watch the screencast</h2>

	<div class="video-embed">
		<iframe width="640" height="360" src="http://www.youtube.com/embed/sFSg0WOvSzg" 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 class="separator"></h2>
<h2>UPDATE &#8211; Fixing Paypal error 500 in Prestashop 1.5</h2>
<p>I am just out of a hourly struggle with the Paypal module in 1.5. If you happen to get error 500, and can&#8217;t solve it in anyway, it&#8217;s mostly due to the url. The paypal module uses the following url to perform the payment (express checkout):</p>
<pre class="brush: php; title: ; notranslate">http://mystore.com/modules/paypal/express_checkout/submit.php</pre>
<p>And this is <strong>BAD, </strong>since Prestashop 1.5 uses the following structure:</p>
<pre class="brush: php; title: ; notranslate">http://mystore.com/index.php?fc=module&amp;amp;module=modulename&amp;amp;controller=modulecontroller</pre>
<p>So, it&#8217;s necessary to change the url that points to the first link, into something Presta 1.5 likes, using the second API reference. So! Here is an example if you use express checkout, like the link above.</p>
<p>Go to <strong>modules/paypal/views/templates/front/express_checkout/paypal.tpl </strong>and change the action of the form with ID <strong>paypal_payment_form</strong> from</p>
<pre class="brush: php; title: ; notranslate">action=&quot;&quot;{$base_dir_ssl}modules/paypal/express_checkout/submit.php&quot;</pre>
<p>to</p>
<pre class="brush: php; title: ; notranslate">action=&quot;{$base_dir_ssl}index.php?fc=module&amp;amp;module=paypal&amp;amp;controller=expresscheckoutsubmit&quot;</pre>
<p>Again, <strong>this is for the one page checkout! </strong>If you&#8217;re using 5 steps checkout, you will need to edit the links in <strong>modules/paypal/views/templates/front/paypal.tpl</strong></p>
<p>Now open up <strong>modules/paypal/express_checkout/paypal_express_checkout.php</strong>. Go to (approximately) line 223 and change this:</p>
<pre class="brush: php; title: ; notranslate">		$fields['RETURNURL'] = PayPal::getShopDomainSsl(true, true)._MODULE_DIR_.$this-&amp;gt;name.'/express_checkout/submit.php';</pre>
<p>Into this:<br />
&nbsp;</p>
<pre class="brush: php; title: ; notranslate">		$fields['RETURNURL'] = PayPal::getShopDomainSsl(true, true)._PS_DIRECTORY_.'index.php?fc=module&amp;amp;module=paypal&amp;amp;controller=expresscheckoutsubmit';</pre>
<p>This way, we ensure Paypal returns to the correct page when coming back to the site and confirming the order.</p>
<div class="separator"></div>
<h2>Text version &#8211; How to Debug Prestashop Error 500</h2>
<p>Error 500 is a nightmare for every developer, because it doesn&#8217;t tell you anything at all about what&#8217;s going on. It&#8217;s more or less like the scary Blank Page.</p>
<p>If you had this error with Prestashop 1.4, it was probably due to some .htaccess misconfiguration when activating friendly urls, or some folders permissions not set to <strong>0755</strong>. However, Prestashop was crystal clear about errors if the <strong>display_errors</strong> setting in <strong>config.inc.php</strong> was set to true. But now you already did it, and you also turned on <strong>ps_debug_sql</strong>! Plus, you are not using any htaccess special configuration, and you are whether set the folders permissions to 0755 or running the store on a local environment. So, what&#8217;s the catch?</p>
<p>Prestashop 1.5 comes with some new <strong>Exception</strong> classes, to help the developer have a better tracking of the errors&#8217; source. Howver, what Prestashop doesn&#8217;t tell you, since it does not have a decent user manual, is that <strong>you have to enable the development mode</strong> to take advantage of the new debugging features.</p>
<p>So, just head to<em> config/</em> and open up<strong> defines.inc.php</strong>. Then, set <strong>_PS_MODE_DEV_</strong> to <strong>TRUE</strong> as shown below</p>
<pre class="brush: php; title: ; notranslate">define('_PS_MODE_DEV_', true);
define('_PS_DEBUG_PROFILING_', false);
define('_PS_MODE_DEMO_', false);</pre>
<p>It should be at line 28.</p>
<p>Now go back to the error page and refresh, you should see something like this (may vary depending of the exception thrown)</p>
<p><a href="http://nemops.com/wp-content/uploads/2012/09/Prestashop-error-500.png"><img class="aligncenter size-large wp-image-447" title="Prestashop error 500 Debugged" src="http://nemops.com/wp-content/uploads/2012/09/Prestashop-error-500-680x496.png" alt="Prestashop error 500 Debugged" width="680" height="496" /></a></p>
<p>In this case, I can now see that a table I&#8217;m referencing doesn&#8217;t exist.</p>
<p>So, this is everything on how to debug prestashop error 500. Even if you don&#8217;t understand a single line of the error above, you might hopefully be able to fix it with your developer (by the way, if you need one, <a title="Hire me!" href="http://nemops.com/contact"><strong>you can hire me</strong></a>!).</p>
<p>The post <a rel="nofollow" href="http://nemops.com/debug-prestashop-error-500/">Quick tip: How to Debug Prestashop Error 500 (1.5)</a> appeared first on <a rel="nofollow" href="http://nemops.com">NemoPS</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://nemops.com/debug-prestashop-error-500/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Prestashop 1.5 Released! (updated)</title>
		<link>http://nemops.com/prestashop-1-5-released/</link>
		<comments>http://nemops.com/prestashop-1-5-released/#comments</comments>
		<pubDate>Fri, 14 Sep 2012 08:52:49 +0000</pubDate>
		<dc:creator><![CDATA[Nemo]]></dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[prestashop]]></category>
		<category><![CDATA[prestashop 1.5]]></category>

		<guid isPermaLink="false">http://nemops.com/?p=412</guid>
		<description><![CDATA[<p>Many of you may already have noticed, but at any rate, Prestashop 1.5 was released yesterday. I didn&#8217;t have time yet to go through all of the new features. However, since this version is claimed to be &#8220;production ready&#8221; I&#8217;ll start analyzing it right now and I&#8217;ll post my first impressions as soon as I [&#8230;]</p>
<p>The post <a rel="nofollow" href="http://nemops.com/prestashop-1-5-released/">Prestashop 1.5 Released! (updated)</a> appeared first on <a rel="nofollow" href="http://nemops.com">NemoPS</a>.</p>
]]></description>
				<content:encoded><![CDATA[<p>Many of you may already have noticed, but at any rate, Prestashop 1.5 was released yesterday.<span id="more-412"></span></p>
<p>I didn&#8217;t have time yet to go through all of the new features. However, since this version is claimed to be &#8220;production ready&#8221; I&#8217;ll start analyzing it right now and I&#8217;ll post my first impressions as soon as I know enough about the new software.</p>
<div class="separator"></div>
<h2>The &#8220;new&#8221; template</h2>
<p>I&#8217;ve put quotes around new just because it&#8217;s the very same design of the latest 1.4 template. The big difference is that it now comes as the default template with Prestashop 1.5. It has of course been improved to adapt to the new features. The Prestashop logo has been replaced by a &#8220;Your Logo&#8221; fancy text, and there finally is an image slider in the center of the homepage. Yes, Prestashop was kind of missing a basic slider!</p>
<p>Oh, it should also be mobile-friendly, but I haven&#8217;t tested this yet. Please comment and correct me if I am mistaken!</p>
<div class="separator"></div>
<h2>The new back office</h2>
<p><a style="font-style: normal; text-decoration: underline;" href="http://nemops.com/wp-content/uploads/2012/09/new_Back_office.png"><img class="aligncenter size-large wp-image-427" style="border-color: #bbbbbb; margin-top: 0.4em; background-color: #eeeeee;" title="Prestashop 1.5 Back office" src="http://nemops.com/wp-content/uploads/2012/09/new_Back_office-680x444.png" alt="Prestashop 1.5 Back office" width="680" height="444" /></a></p>
<p>This change will make a lot of people happy, and another whole lot <strong>really sad</strong>. Prestashop&#8217;s back office was simple to use, and most of the features were laid out in a pretty straightforward way. As always, it&#8217;s hard to adapt to a new interface after having had the same one for a lot of time, even with its problems!</p>
<p>With this new layout, it&#8217;s finally possible to list all categories or products (and filter these by category!). There is no more need to access a category to edit a product (or search). Just rollover the catalog in the top menu, then product, and filter the ones you want.. There is not yet a feature to bulk edit products, as a side note.</p>
<p>Overall, the blue style looks better than the pinkish-yellowish one, since it seems more professional. It looks like they tried to give the BO more of a Magento style. But as you might know, Magento&#8217;s Admin panel is a nighmare, and I have the strong impression that this new interface is far less intuitive than the previous one. It&#8217;s also liquid, making it a bit too stretched on large screens (especially if accessedat 1080p!).<br />
<blockquote><span class="bqstart">&#8220;</span>This change will make a lot of people happy, and another whole lot really sad<span class="bqend">&#8221;</span></p></blockquote>
<p>By the way, what are the &#8220;Taxes&#8221; and &#8220;Tax Rules&#8221; doing under the <strong>Localization </strong>tab? And, as a final note,<strong> the crappy way of setting up a carrier is still the same</strong>. i think they should have worked on this!</p>
<div class="separator"></div>
<h2>Orders creation from back office!</h2>
<p>Yeah, this really deserves an exclamation mark! I would say <strong>Finally! </strong>This is the answer to most of the shop owners requests, since it was so(so!) sad not to be able to create orders from the administration panel! It&#8217;s easy and quick, fully ajaxified. Should we ask for more?</p>
<div class="separator"></div>
<h2>Prestashop 1.5 biggest addition: The Multistore</h2>
<p>The Multistore (or Multishop) feature is probably the biggest change in Prestashop 1.5 in regards of the previous versions, along with being the most advertised, too.</p>
<p><a href="http://nemops.com/wp-content/uploads/2012/09/Prestashop-1.5-Multistore.png"><img class="aligncenter size-large wp-image-423" title="Prestashop 1.5 Multistore" src="http://nemops.com/wp-content/uploads/2012/09/Prestashop-1.5-Multistore-680x507.png" alt="Prestashop 1.5 Multistore" width="680" height="507" /></a></p>
<p>At any rate, we will now be able to manage different shops from a single prestashop installation.</p>
<p>This means that it is now possible to set up 2 different stores with a different configuration each. They’ll have their own logo, theme, products, categories, modules, <strong>orders and customers</strong>, if not specified that they should share some of these functionalities.</p>
<p>This, however, does not mean that we will be able to set up a ”totally” new shop from the back office. <strong>We will have to copy our Prestashop installation to the new server and folder</strong> if we plan to use the Multistore on different domains.</p>
<p>Let’s see an example:</p>
<p>I want to have my primary shop (Electronics) on <strong>www.coolelectronics.com</strong>. Then, I want to have another shop (SportsWear) and I want to be able to manage these 2 from the same admin. Of course, the sportswear shop will not be reached at the same domain as the first shop.  Instead, I’d like it to be at <strong>www.coolsportswear.com</strong>. What Prestashop doesn’t tell you, is that you <strong>will have to physically copy</strong> your Prestashop installation to the other domain. Once that is done, you’ll be able to set up the Multistore by setting the new domain name in back office. There is, of course, no need of another database.</p>
<p>Now, let’s say I’m looking far, far away. As an example, let’s assume that <strong>I want to create a general store</strong> like Amazon, and sell any kind of stuff from garden arches to art supplies. The Multistore functionality would be perfect, since all of the shops would be inside my own domain: <a href="http://www.coolgeneralstore.com/">www.coolgeneralstore.com</a>.</p>
<p>The Prestashop 1.5 Multistore allows me to do that without having to create subfolders in my domain and place new files there. There is an option, when a store is created, to set up a “Virtual URI”, that will trigger the new shop when reached. So, if my shop is <strong>www.coolgeneralstore.com</strong>, and I want a separate store for the “outdoors” department, I can set the <strong>Virtual URI</strong> of the corresponding store to <strong>outdoors/</strong>. It will then be possible to access that specific shop (again, with its own configuration, modules, catalog and so) by reaching www.coolgeneralstore.com/outdoors.</p>
<p>&nbsp;</p>
<p>Anyway, to enable the Multistore let’s go to Preferences -&gt; General and turn on <strong>Enable Multistore</strong>. Then, under “Advanced Parameters” a new link will appear: Multistore. Let’s click on it, and we’ll be able to add the new store. When doing that, keep in mind the above suggestions!</p>
<div class="separator"></div>
<h2>Conclusion</h2>
<p>There would be a lot more to say about this new version, but since this is only an introduction to announce the release, I will stop at this point. I am planning to launch a whole series of tutorials to analyze all the new features in depth,so, as always, stay tuned!</p>
<p><strong>p.s.</strong> Of course, DO NOT update your store right now, since there may be (and there shure are) tons of bugs. I think we&#8217;ll see 1.5.1 popping out soon enough.</p>
<h3>Additional Resources</h3>
<ul>
<li><a title="Download Prestashop 1.5" href="http://www.prestashop.com/en/download">Download Prestashop 1.5</a></li>
</ul>
<p>&nbsp;</p>
<p>The post <a rel="nofollow" href="http://nemops.com/prestashop-1-5-released/">Prestashop 1.5 Released! (updated)</a> appeared first on <a rel="nofollow" href="http://nemops.com">NemoPS</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://nemops.com/prestashop-1-5-released/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
