<?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: Quick Tip: Display unit price (price per&#8230;) in the Prestashop product list</title>
	<atom:link href="http://nemops.com/unit-price-in-prestashop-product-list/feed/" rel="self" type="application/rss+xml" />
	<link>http://nemops.com/unit-price-in-prestashop-product-list/</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: Yep</title>
		<link>http://nemops.com/unit-price-in-prestashop-product-list/comment-page-1/#comment-46313</link>
		<dc:creator><![CDATA[Yep]]></dc:creator>
		<pubDate>Tue, 29 Mar 2016 21:58:00 +0000</pubDate>
		<guid isPermaLink="false">http://nemops.com/?p=819#comment-46313</guid>
		<description><![CDATA[Also it does not show special or discounted price - BUG!]]></description>
		<content:encoded><![CDATA[<p>Also it does not show special or discounted price &#8211; BUG!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Satinder Satsangi</title>
		<link>http://nemops.com/unit-price-in-prestashop-product-list/comment-page-1/#comment-45850</link>
		<dc:creator><![CDATA[Satinder Satsangi]]></dc:creator>
		<pubDate>Wed, 31 Dec 2014 04:25:00 +0000</pubDate>
		<guid isPermaLink="false">http://nemops.com/?p=819#comment-45850</guid>
		<description><![CDATA[Your code works on Prestashop 1.6,  I used it to show Per Kg Rates...]]></description>
		<content:encoded><![CDATA[<p>Your code works on Prestashop 1.6,  I used it to show Per Kg Rates&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Moh Baswan de Gorie</title>
		<link>http://nemops.com/unit-price-in-prestashop-product-list/comment-page-1/#comment-45692</link>
		<dc:creator><![CDATA[Moh Baswan de Gorie]]></dc:creator>
		<pubDate>Sun, 15 Jun 2014 10:18:00 +0000</pubDate>
		<guid isPermaLink="false">http://nemops.com/?p=819#comment-45692</guid>
		<description><![CDATA[any solotuion for invoice with ratio unit ?]]></description>
		<content:encoded><![CDATA[<p>any solotuion for invoice with ratio unit ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: wan</title>
		<link>http://nemops.com/unit-price-in-prestashop-product-list/comment-page-1/#comment-45641</link>
		<dc:creator><![CDATA[wan]]></dc:creator>
		<pubDate>Tue, 22 Apr 2014 23:19:00 +0000</pubDate>
		<guid isPermaLink="false">http://nemops.com/?p=819#comment-45641</guid>
		<description><![CDATA[Any solution for prestashop 1.6 ? thanks]]></description>
		<content:encoded><![CDATA[<p>Any solution for prestashop 1.6 ? thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lexcis</title>
		<link>http://nemops.com/unit-price-in-prestashop-product-list/comment-page-1/#comment-45628</link>
		<dc:creator><![CDATA[Lexcis]]></dc:creator>
		<pubDate>Tue, 15 Apr 2014 16:32:00 +0000</pubDate>
		<guid isPermaLink="false">http://nemops.com/?p=819#comment-45628</guid>
		<description><![CDATA[Works fine! Thank you! (PrestaShop 1.5.6.2)]]></description>
		<content:encoded><![CDATA[<p>Works fine! Thank you! (PrestaShop 1.5.6.2)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dinova</title>
		<link>http://nemops.com/unit-price-in-prestashop-product-list/comment-page-1/#comment-45597</link>
		<dc:creator><![CDATA[dinova]]></dc:creator>
		<pubDate>Wed, 26 Feb 2014 11:22:00 +0000</pubDate>
		<guid isPermaLink="false">http://nemops.com/?p=819#comment-45597</guid>
		<description><![CDATA[Hello,

In the page &quot;product&quot; it indicates the price in m2 with the reduction?  I would want to have the same price on the page product that in the categories and the homepage.?
Have you one solutions?
Thank you]]></description>
		<content:encoded><![CDATA[<p>Hello,</p>
<p>In the page &#8220;product&#8221; it indicates the price in m2 with the reduction?  I would want to have the same price on the page product that in the categories and the homepage.?<br />
Have you one solutions?<br />
Thank you</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Maury Markowitz</title>
		<link>http://nemops.com/unit-price-in-prestashop-product-list/comment-page-1/#comment-13689</link>
		<dc:creator><![CDATA[Maury Markowitz]]></dc:creator>
		<pubDate>Thu, 28 Feb 2013 16:25:58 +0000</pubDate>
		<guid isPermaLink="false">http://nemops.com/?p=819#comment-13689</guid>
		<description><![CDATA[One last one... :-)

In your code you have:

{$product.unity}

But this doesn&#039;t work on my 1.5.3.1 install. I changed it to...

{$product-&gt;unity}]]></description>
		<content:encoded><![CDATA[<p>One last one&#8230; <img src="http://nemops.com/wp-includes/images/smilies/icon_smile.gif" alt=":-)" class="wp-smiley" /></p>
<p>In your code you have:</p>
<p>{$product.unity}</p>
<p>But this doesn&#8217;t work on my 1.5.3.1 install. I changed it to&#8230;</p>
<p>{$product-&gt;unity}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Maury Markowitz</title>
		<link>http://nemops.com/unit-price-in-prestashop-product-list/comment-page-1/#comment-13680</link>
		<dc:creator><![CDATA[Maury Markowitz]]></dc:creator>
		<pubDate>Thu, 28 Feb 2013 13:06:11 +0000</pubDate>
		<guid isPermaLink="false">http://nemops.com/?p=819#comment-13680</guid>
		<description><![CDATA[BTW, there appears to be a bug in 1.5.3.1&#039;s product.tpl support for price/unit…

{if !empty($product-&gt;unity) &amp;&amp; $product-&gt;unit_price_ratio &gt; 0.000000}
	{math equation=&quot;pprice / punit_price&quot;  pprice=$productPrice punit_price=$product-&gt;unit_price_ratio assign=unit_price}
{/if}

Generally speaking, if you want something to appear on the screen, you need to output it. *rolleyes*

I changed this to…


			{if !empty($product-&gt;unity) &amp;&amp; $product-&gt;unit_price_ratio &gt; 0.000000}
				 {math equation=&quot;pprice / punit_price&quot;  pprice=$productPrice punit_price=$product-&gt;unit_price_ratio assign=unit_price}
				 {convertPrice price=$unit_price} {l s=&quot;per&quot;} {$product-&gt;unity}
			{/if}

Doesn&#039;t look great, but it works!]]></description>
		<content:encoded><![CDATA[<p>BTW, there appears to be a bug in 1.5.3.1&#8217;s product.tpl support for price/unit…</p>
<p>{if !empty($product-&gt;unity) &amp;&amp; $product-&gt;unit_price_ratio &gt; 0.000000}<br />
	{math equation=&#8221;pprice / punit_price&#8221;  pprice=$productPrice punit_price=$product-&gt;unit_price_ratio assign=unit_price}<br />
{/if}</p>
<p>Generally speaking, if you want something to appear on the screen, you need to output it. *rolleyes*</p>
<p>I changed this to…</p>
<p>			{if !empty($product-&gt;unity) &amp;&amp; $product-&gt;unit_price_ratio &gt; 0.000000}<br />
				 {math equation=&#8221;pprice / punit_price&#8221;  pprice=$productPrice punit_price=$product-&gt;unit_price_ratio assign=unit_price}<br />
				 {convertPrice price=$unit_price} {l s=&#8221;per&#8221;} {$product-&gt;unity}<br />
			{/if}</p>
<p>Doesn&#8217;t look great, but it works!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Maury Markowitz</title>
		<link>http://nemops.com/unit-price-in-prestashop-product-list/comment-page-1/#comment-13678</link>
		<dc:creator><![CDATA[Maury Markowitz]]></dc:creator>
		<pubDate>Thu, 28 Feb 2013 12:52:12 +0000</pubDate>
		<guid isPermaLink="false">http://nemops.com/?p=819#comment-13678</guid>
		<description><![CDATA[Quick suggestion… when I tried the code above I got the static text &quot;per&quot; on every product in the list, even those without the price/unit set. Maybe a change in 1.5.3.1? Anyway, here&#039;s my simple fix…

{if $product.unit_price_ratio &amp;&amp; $product.unit_price_ratio &gt; 0}]]></description>
		<content:encoded><![CDATA[<p>Quick suggestion… when I tried the code above I got the static text &#8220;per&#8221; on every product in the list, even those without the price/unit set. Maybe a change in 1.5.3.1? Anyway, here&#8217;s my simple fix…</p>
<p>{if $product.unit_price_ratio &amp;&amp; $product.unit_price_ratio &gt; 0}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nemo</title>
		<link>http://nemops.com/unit-price-in-prestashop-product-list/comment-page-1/#comment-13371</link>
		<dc:creator><![CDATA[Nemo]]></dc:creator>
		<pubDate>Thu, 21 Feb 2013 09:57:16 +0000</pubDate>
		<guid isPermaLink="false">http://nemops.com/?p=819#comment-13371</guid>
		<description><![CDATA[You mean displaying combinations in the products list? it&#039;s am lot harder than it seems, you&#039;d have to edit categorycontroller and get all product combinations before the products list is assigned. I&#039;ll do a tut about this maybe, even though it&#039;s a no-no practice, being a huge stress for the database (image how long it would take to load 1000 combinations for 10 products)]]></description>
		<content:encoded><![CDATA[<p>You mean displaying combinations in the products list? it&#8217;s am lot harder than it seems, you&#8217;d have to edit categorycontroller and get all product combinations before the products list is assigned. I&#8217;ll do a tut about this maybe, even though it&#8217;s a no-no practice, being a huge stress for the database (image how long it would take to load 1000 combinations for 10 products)</p>
]]></content:encoded>
	</item>
</channel>
</rss>
