<?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; product list</title>
	<atom:link href="http://nemops.com/tag/product-list/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>Taking back the Add To Cart button in the Product list (Prestashop 1.7)</title>
		<link>http://nemops.com/prestashop-1-7-product-list-add-to-cart-button/</link>
		<comments>http://nemops.com/prestashop-1-7-product-list-add-to-cart-button/#comments</comments>
		<pubDate>Thu, 15 Dec 2016 08:20:33 +0000</pubDate>
		<dc:creator><![CDATA[Nemo]]></dc:creator>
				<category><![CDATA[Tips n Tricks]]></category>
		<category><![CDATA[cart]]></category>
		<category><![CDATA[prestashop 1.7]]></category>
		<category><![CDATA[product list]]></category>

		<guid isPermaLink="false">http://nemops.com/?p=2929</guid>
		<description><![CDATA[<p>If you started using PrestaShop 1.7 (brave!) and you miss the Add to Cart button in the product list, let&#8217;s see how to take it back with 4 lines of code!</p>
<p>The post <a rel="nofollow" href="http://nemops.com/prestashop-1-7-product-list-add-to-cart-button/">Taking back the Add To Cart button in the Product list (Prestashop 1.7)</a> appeared first on <a rel="nofollow" href="http://nemops.com">NemoPS</a>.</p>
]]></description>
				<content:encoded><![CDATA[<p>If you started using PrestaShop 1.7 (brave!) and you miss the Add to Cart button in the product list, let&#8217;s see how to take it back with 4 lines of code!<br />
<span id="more-2929"></span></p>

	<div class="video-embed">
		<iframe width="640" height="360" src="http://www.youtube.com/embed/9E5NVZi1oCQ" 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-7-product-list-add-to-cart-button/">Taking back the Add To Cart button in the Product list (Prestashop 1.7)</a> appeared first on <a rel="nofollow" href="http://nemops.com">NemoPS</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://nemops.com/prestashop-1-7-product-list-add-to-cart-button/feed/</wfw:commentRss>
		<slash:comments>20</slash:comments>
		</item>
		<item>
		<title>Adding Tags to the product list in PrestaShop</title>
		<link>http://nemops.com/prestashop-product-list-tags/</link>
		<comments>http://nemops.com/prestashop-product-list-tags/#comments</comments>
		<pubDate>Wed, 07 Oct 2015 08:31:20 +0000</pubDate>
		<dc:creator><![CDATA[Nemo]]></dc:creator>
				<category><![CDATA[Tips n Tricks]]></category>
		<category><![CDATA[prestashop]]></category>
		<category><![CDATA[product list]]></category>
		<category><![CDATA[tags]]></category>

		<guid isPermaLink="false">http://nemops.com/?p=2575</guid>
		<description><![CDATA[<p>In this video tutorial, we will see how easily we can add product tags to both the product list and grid in PrestaShop 1.6 Watch the screencast</p>
<p>The post <a rel="nofollow" href="http://nemops.com/prestashop-product-list-tags/">Adding Tags to the product list in PrestaShop</a> appeared first on <a rel="nofollow" href="http://nemops.com">NemoPS</a>.</p>
]]></description>
				<content:encoded><![CDATA[<p>In this video tutorial, we will see how easily we can add product tags to both the product list and grid in PrestaShop 1.6<br />
<span id="more-2575"></span></p>
<h2>Watch the screencast</h2>

	<div class="video-embed">
		<iframe width="640" height="360" src="http://www.youtube.com/embed/9yNmktpHJv0#038;feature=youtu.be" 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-product-list-tags/">Adding Tags to the product list in PrestaShop</a> appeared first on <a rel="nofollow" href="http://nemops.com">NemoPS</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://nemops.com/prestashop-product-list-tags/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Prestashop Theme Configurator module overview</title>
		<link>http://nemops.com/prestashop-theme-configurator-overview/</link>
		<comments>http://nemops.com/prestashop-theme-configurator-overview/#comments</comments>
		<pubDate>Tue, 24 Feb 2015 10:47:19 +0000</pubDate>
		<dc:creator><![CDATA[Nemo]]></dc:creator>
				<category><![CDATA[Tips n Tricks]]></category>
		<category><![CDATA[configuration]]></category>
		<category><![CDATA[prestashop]]></category>
		<category><![CDATA[product list]]></category>
		<category><![CDATA[theme]]></category>

		<guid isPermaLink="false">http://nemops.com/?p=2336</guid>
		<description><![CDATA[<p>The Prestashop Theme Configurator comes with a few, sometimes overlooked options, that can make our lives a lot easier when customizing our web store. Let&#8217;s check them out! Version used: Prestashop 1.6 Watch the screencast</p>
<p>The post <a rel="nofollow" href="http://nemops.com/prestashop-theme-configurator-overview/">Prestashop Theme Configurator module overview</a> appeared first on <a rel="nofollow" href="http://nemops.com">NemoPS</a>.</p>
]]></description>
				<content:encoded><![CDATA[<p>The Prestashop Theme Configurator comes with a few, sometimes overlooked options, that can make our lives a lot easier when customizing our web store. Let&#8217;s check them out!<br />
<span id="more-2336"></span></p>
<ul>
<li>Version used: Prestashop 1.6</li>
</ul>
<h2>Watch the screencast</h2>

	<div class="video-embed">
		<iframe width="640" height="360" src="http://www.youtube.com/embed/a_SRPcpbyP0#038;feature=youtu.be" 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-theme-configurator-overview/">Prestashop Theme Configurator module overview</a> appeared first on <a rel="nofollow" href="http://nemops.com">NemoPS</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://nemops.com/prestashop-theme-configurator-overview/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Quick Tip: Display unit price (price per&#8230;) in the Prestashop product list</title>
		<link>http://nemops.com/unit-price-in-prestashop-product-list/</link>
		<comments>http://nemops.com/unit-price-in-prestashop-product-list/#comments</comments>
		<pubDate>Thu, 13 Dec 2012 14:30:42 +0000</pubDate>
		<dc:creator><![CDATA[Nemo]]></dc:creator>
				<category><![CDATA[Tips n Tricks]]></category>
		<category><![CDATA[prestashop]]></category>
		<category><![CDATA[price]]></category>
		<category><![CDATA[product list]]></category>

		<guid isPermaLink="false">http://nemops.com/?p=819</guid>
		<description><![CDATA[<p>Adding unit prices (also known as &#8220;price per&#8230;&#8221;) to your Prestashop store&#8217;s product list is not as easy as it might seem. Prestashop doesn&#8217;t assign the unit price in the list; luckily, there is an easy enough workaround Version used: Prestashop 1.5.2 Running time: 5 mins Watch the screencast &#160; Text Version First of all, [&#8230;]</p>
<p>The post <a rel="nofollow" href="http://nemops.com/unit-price-in-prestashop-product-list/">Quick Tip: Display unit price (price per&#8230;) in the Prestashop product list</a> appeared first on <a rel="nofollow" href="http://nemops.com">NemoPS</a>.</p>
]]></description>
				<content:encoded><![CDATA[<p>Adding unit prices (also known as &#8220;price per&#8230;&#8221;) to your Prestashop store&#8217;s product list is not as easy as it might seem. Prestashop doesn&#8217;t assign the unit price in the list; luckily, there is an easy enough workaround<span id="more-819"></span></p>
<ul>
<li><strong>Version used:</strong> Prestashop 1.5.2</li>
<li><strong>Running time:</strong> 5 mins</li>
</ul>
<h2>Watch the screencast</h2>
<p>
	<div class="video-embed">
		<iframe width="640" height="360" src="http://www.youtube.com/embed/CVl8rdn5Hv8" 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>&nbsp;
<div class="separator"></div>
<h2>Text Version</h2>
<p>First of all, if you don&#8217;t know exactly what unit prices are, think of a product as a flour sack, a huge one, 5 lbs. Now, the cost is displaying for the whole sack, but in Prestashop you can setup how much that thing costs <em>per</em> any measurement you choose (see picture below). In this case, you can display, for example <strong>$2 per lb</strong></p>
<p><a href="http://nemops.com/wp-content/uploads/2012/12/unity_price1.jpg"><img class="aligncenter size-full wp-image-820" title="Unit price in Prestashop product list" src="http://nemops.com/wp-content/uploads/2012/12/unity_price1.jpg" alt="Unit price in Prestashop product list" width="563" height="306" /></a></p>
<p>You might want to show this off in the product list, not only in the product page itself. The fact is, however, that Prestashop doesn&#8217;t actually assign the <strong>unit price</strong> variable in the product list page. How to deal with it? Let&#8217;s have a look: if you print out the product variable in the product list, you&#8217;ll notice an interesting property: <strong>$product.unit_price_ratio</strong></p>
<p>What is this? Basically, it gives you the unit price ratio based on the product&#8217;s total price (product price divided by unit price). That&#8217;s useful for us, since we can do some math and retrieve the value we need!</p>
<p>Inside the <strong>&#8220;foreach from=$products&#8221; loop, in the product-list.tpl</strong> file, add the following line. You can add it where you want, just be sure it&#8217;s inside the loop, before the unit price you want to print out</p>
<pre class="brush:php">	{if $product.unit_price_ratio}
		{math equation="b/a" a=$product.unit_price_ratio b=$product.price_without_reduction assign=realunit}
	{/if}</pre>
<p><strong>Explanation:</strong> First, we check that there actually is a unit price setup for this product, to prevent &#8220;division by zero&#8221; ltype errors. Then, we are dividing the product&#8217;s final price (without reduction to be more accurate) by the ratio, thus obtaining the real unit price value. If you want the taxless one, use $product.price_tax_exc as parameter b instead.</p>
<p>Let&#8217;s print out the final ratio, correctly formatted:</p>
<pre class="brush:php">	{convertPrice price=$realunit} {l s="per"} {$product.unity}</pre>
<p>We are basically formatting the variable so to get the price with currency, adding the &#8220;per&#8221; string, and, finally, the measurement. That&#8217;s it, here is the final code:</p>
<pre class="brush:php">	{if $product.unit_price_ratio}
		{math equation="b/a" a=$product.unit_price_ratio b=$product.price_without_reduction assign=realunit}
		{convertPrice price=$realunit} {l s="per"} {$product.unity}
	{/if}</pre>
<p>Of course, in order for this to show up, <strong>it has to be placed inside the main &lt;li&gt; element, if your list, like in the default theme, is an unordered list</strong>.</p>
<div class="separator"></div>
<p>&nbsp;</p>
<h3>Additional Resources</h3>
<ul>
<li><a href="http://www.smarty.net/documentation" alt="Smarty Documentation" title="Smarty Documentation">Smarty Documentation</li>
</ul>
<p>The post <a rel="nofollow" href="http://nemops.com/unit-price-in-prestashop-product-list/">Quick Tip: Display unit price (price per&#8230;) in the Prestashop product list</a> appeared first on <a rel="nofollow" href="http://nemops.com">NemoPS</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://nemops.com/unit-price-in-prestashop-product-list/feed/</wfw:commentRss>
		<slash:comments>14</slash:comments>
		</item>
	</channel>
</rss>
