<?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>Webmaster Bulletin &#187; prestashop</title>
	<atom:link href="http://www.webmasterbulletin.net/tag/prestashop/feed" rel="self" type="application/rss+xml" />
	<link>http://www.webmasterbulletin.net</link>
	<description>Rambling around the web publishing industry</description>
	<lastBuildDate>Wed, 21 Jul 2010 09:48:58 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Prestashop : quote module  (devis)</title>
		<link>http://www.webmasterbulletin.net/2009/11/prestashop-quote-module-devis/1059</link>
		<comments>http://www.webmasterbulletin.net/2009/11/prestashop-quote-module-devis/1059#comments</comments>
		<pubDate>Thu, 26 Nov 2009 08:50:17 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Tips & Tricks]]></category>
		<category><![CDATA[devis]]></category>
		<category><![CDATA[prestashop]]></category>

		<guid isPermaLink="false">http://www.webmasterbulletin.net/?p=1059</guid>
		<description><![CDATA[
The quote feature  is  an implementation of a shopping cart within prestashop framework, without the price : we have designed this feature for specific groups, for which we deactivate the price display on the shop.

Deactivating price display for specific user group (below : group 2) is a long task that involves 2 different steps 

in [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.webmasterbulletin.net/wp-content/uploads/2009/11/ScreenshotPrestashopDevis.jpg" rel="lightbox[1059]"><img class="aligncenter size-full wp-image-1061" title="ScreenshotPrestashopDevis" src="http://www.webmasterbulletin.net/wp-content/uploads/2009/11/ScreenshotPrestashopDevis.jpg" alt="ScreenshotPrestashopDevis" width="490" height="176" /></a></p>
<p>The quote feature  is  an implementation of a shopping cart within prestashop framework, without the price : we have designed this feature for specific groups, for which we deactivate the price display on the shop.</p>
<ul>
<li><strong>Deactivating price display for specific user group (below : group 2) is a long task that involves 2 different steps </strong>
<ul>
<li>in init.php : set the smarty variable around line 116
<div class="dean_ch" style="white-space: wrap;">
<ol>
<li class="li1">
<div class="de1"><span class="re0">$priceDisplayConfig</span> = <a href="http://www.php.net/intval"><span class="kw3">intval</span></a><span class="br0">&#40;</span>Configuration::<span class="me2">get</span><span class="br0">&#40;</span><span class="st0">&#8216;PS_PRICE_DISPLAY&#8217;</span><span class="br0">&#41;</span><span class="br0">&#41;</span>;</div>
</li>
<li class="li1">
<div class="de1"><span class="kw1">if</span><span class="br0">&#40;</span><span class="re0">$tmpCust</span>-&gt;<span class="me1">isMemberOfGroup</span><span class="br0">&#40;</span><span class="nu0">2</span><span class="br0">&#41;</span><span class="br0">&#41;</span> <span class="re0">$priceDisplayConfig</span> = <span class="nu0">3</span>;</div>
</li>
</ol>
</div>
<p>And around line 155</p>
<div class="dean_ch" style="white-space: wrap;">
<ol>
<li class="li1">
<div class="de1"><span class="st0">&#8216;priceDisplay&#8217;</span> =&gt; <span class="re0">$priceDisplayConfig</span></div>
</li>
</ol>
</div>
</li>
<li>use the smarty $priceDisplay variable in the templates to hide prices and change the &#8220;cart&#8217; (panier in french) to &#8220;quote&#8221; (devis), example from homefeature.tpl
<div class="dean_ch" style="white-space: wrap;">
<ol>
<li class="li1">
<div class="de1"><span class="br0">&#123;</span><span class="kw1">if</span> <span class="re0">$priceDisplay</span>&lt;<span class="nu0">3</span><span class="br0">&#125;</span><span class="br0">&#123;</span>l s=<span class="st0">&#8216;Add to cart&#8217;</span> mod=<span class="st0">&#8216;homefeatured&#8217;</span><span class="br0">&#125;</span><span class="br0">&#123;</span><span class="kw1">else</span><span class="br0">&#125;</span> Ajouter au devis <span class="br0">&#123;</span>/<span class="kw1">if</span><span class="br0">&#125;</span></div>
</li>
</ol>
</div>
</li>
</ul>
</li>
<li><strong>Quote / Devis module and status : </strong>
<ul>
<li>Download and install the &#8220;devis&#8221; module <a class="downloadlink" href="http://www.webmasterbulletin.net/wp-content/plugins/download-monitor/download.php?id=7" title=" downloaded 559 times" >Module Devis pour prestashop (559)</a></li>
<li>create the mails/devis.html and mail/devis.txt and change texts according to your business</li>
<li>create the order status &#8220;devis en cours&#8221; in BackOffice &gt;&gt; Orders &gt;&gt; statuses, check the created id (12 here) and add the following line to config.inc.php :
<div class="dean_ch" style="white-space: wrap;">
<ol>
<li class="li1">
<div class="de1"><a href="http://www.php.net/define"><span class="kw3">define</span></a><span class="br0">&#40;</span><span class="st0">&#8216;_PS_OS_DEVIS_EN_COURS&#8217;</span>, <span class="nu0">12</span><span class="br0">&#41;</span>;</div>
</li>
</ol>
</div>
</li>
<li>You can optionnally deactivate the order confirmation email in classes/PaymentModule.php, line 288-290, replace the send email to customer test by adding a new condition :
<div class="dean_ch" style="white-space: wrap;">
<ol>
<li class="li1">
<div class="de1">&nbsp; &nbsp; &nbsp; &nbsp; <span class="co1">// Send an e-mail to customer</span></div>
</li>
<li class="li1">
<div class="de1"><span class="kw1">if</span> <span class="br0">&#40;</span><span class="re0">$id_order_state</span> != _PS_OS_ERROR_ AND <span class="re0">$id_order_state</span> != _PS_OS_CANCELED_ AND <span class="re0">$customer</span>-&gt;<span class="me1">id</span></div>
</li>
<li class="li1">
<div class="de1">AND <span class="re0">$id_order_state</span> != _PS_OS_DEVIS_EN_COURS<span class="br0">&#41;</span></div>
</li>
</ol>
</div>
</li>
</ul>
</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.webmasterbulletin.net/2009/11/prestashop-quote-module-devis/1059/feed</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>10 eshops built with prestashop</title>
		<link>http://www.webmasterbulletin.net/2009/11/10-eshop-buit-with-prestashop/1032</link>
		<comments>http://www.webmasterbulletin.net/2009/11/10-eshop-buit-with-prestashop/1032#comments</comments>
		<pubDate>Mon, 02 Nov 2009 15:04:53 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Web Applications]]></category>
		<category><![CDATA[prestashop]]></category>

		<guid isPermaLink="false">http://www.webmasterbulletin.net/?p=1032</guid>
		<description><![CDATA[In spite of its remarquable popularity, Prestashop still suffers from a complex layout design that makes it quite hard to customize, especially when one  compares with the flexibility of zend framework layouts as they are implemented in Magento. This is why a shop built with prestashop often bears a strong resemblance with the default design, [...]]]></description>
			<content:encoded><![CDATA[<p>In spite of its remarquable popularity, Prestashop still suffers from a complex layout design that makes it quite hard to customize, especially when one  compares with the flexibility of zend framework layouts as they are implemented in Magento. This is why a shop built with prestashop often bears a strong resemblance with the default design, and designers find it hard to get away from the usual 3 column layout with rounded corners block that&#8217;s presented by default. Below you&#8217;ll find 10 shop sthat display a good work on prestashop, customized  to a level where  one wonders if this is still Prsetashop behind : yes  is it possible to do opensource ecommerce at a fraction the cost of setting up a Magento shop, and do it well too. It&#8217; s intersting to notice that most of these  shops share the common love for the top horizontal drop down menu.</p>
<p><strong><br />
</strong></p>
<ul>
<li><strong>Shops with free template by djcraft</strong>
<ul>
<li><strong><span style="font-weight: normal;"><a href="http://www.photos-art-decoration.com/">http://www.photos-art-decoration.com/</a></span></strong></li>
<li><strong><span style="font-weight: normal;"><a href="http://www.photos-art-decoration.com/"></a><a href="http://grainmagique.free.fr/ipnotik/">http://grainmagique.free.fr/ipnotik/</a></span></strong></li>
<li><strong><span style="font-weight: normal;"><a href="http://grainmagique.free.fr/ipnotik/"></a><a href="http://photosalgerie.free.fr/wallcraft/">http://photosalgerie.free.fr/wallcraft/</a></span></strong></li>
<li><strong><span style="font-weight: normal;"><a href="http://photosalgerie.free.fr/wallcraft/"></a><a href="http://kamel.kelkoul.free.fr/prestashop/">http://kamel.kelkoul.free.fr/prestashop/</a></span></strong></li>
<li><strong><span style="font-weight: normal;"><a href="http://kamel.kelkoul.free.fr/prestashop/"></a><a href="http://ipno.tik.free.fr/blackwhite/">http://ipno.tik.free.fr/blackwhite/</a></span></strong></li>
</ul>
</li>
<li><strong>Professionnal work of djcraft</strong>
<ul>
<li><a href="http://www.biquinimodapraia.com.br/">http://www.biquinimodapraia.com.br/</a></li>
</ul>
</li>
<li><strong>Professionnal work by Other designers</strong>
<ul>
<li><a href="http://dedikate.com/eshop/">http://dedikate.com/eshop/</a></li>
<li><a href="http://www.dieet-afvallen-lijnen.nl/">http://www.dieet-afvallen-lijnen.nl/</a></li>
</ul>
</li>
<li><strong>Professionnal work by me (<a href="http://www.poleouest.com">PoleOuest</a>)</strong>
<ul>
<li><a href="http://groupetournon.com/vpc/">http://groupetournon.com/vpc/</a></li>
<li><a href="http://prayandcomfort.co.uk/">http://prayandcomfort.co.uk/</a></li>
</ul>
</li>
<li><strong>Nice try (find the bug on product category page)</strong></li>
</ul>
<ul>
<li>
<ul>
<li><strong><span style="font-weight: normal;"><a href="http://www.sayann.com/">http://www.sayann.com/</a></span></strong></li>
</ul>
</li>
</ul>
<div>
<ul>
<li><strong>Update 1 : work by Atchwork</strong>
<ul>
<li><strong><span style="font-weight: normal;"><a href="http://atchworks.free.fr/grunge/">http://atchworks.free.fr/grunge/</a></span></strong></li>
<li><strong><span style="font-weight: normal;"><a href="http://atchworks.free.fr/grunge/"></a>Free template : <a href="http://www.prestashop.com/forums/viewthread/11775/graphisme/nouveau_theme_gratuit__2_colonnes">2 columns </a></span></strong></li>
<li><a href="http://www.prestastore.com/themes-prestashop/209-themes-prestashop-atchbrown.html">atchbrown template</a> available for 35 €</li>
<li><a href="http://www.prestastore.com/templates-prestashop/268-atchgrunge.html">AtchGrunge </a>is available for 80 €</li>
</ul>
</li>
<li><strong>Update 2 :</strong> <a href="http://www.timefy.com/fr/index.php">http://www.timefy.com/fr/index.php</a></li>
</ul>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.webmasterbulletin.net/2009/11/10-eshop-buit-with-prestashop/1032/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Prestashop : How to setup thumbnail / combination link</title>
		<link>http://www.webmasterbulletin.net/2008/12/prestashop-how-to-setup-thumbnail-combination-link/570</link>
		<comments>http://www.webmasterbulletin.net/2008/12/prestashop-how-to-setup-thumbnail-combination-link/570#comments</comments>
		<pubDate>Tue, 23 Dec 2008 13:42:57 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[E commerce]]></category>
		<category><![CDATA[Web Applications]]></category>
		<category><![CDATA[prestashop]]></category>

		<guid isPermaLink="false">http://www.webmasterbulletin.net/?p=570</guid>
		<description><![CDATA[The ability to make mulitple products out on one for size, color or other speicifications, is a great feature of Prestashop, but on small display trick is missing. Prestashop&#8217;s default template (v1.1) includes the automatic resizing of multiple images for a product. It also allows the administrator / editor to specify one of the product [...]]]></description>
			<content:encoded><![CDATA[<p>The ability to make mulitple products out on one for size, color or other speicifications, is a great feature of Prestashop, but on small display trick is missing. Prestashop&#8217;s default template (v1.1) includes the automatic resizing of multiple images for a product. It also allows the administrator / editor to specify one of the product images for each combination. As a result, the front end display of the product will let the combination select box interact with the mbig image display : here we explain how to modify the product template to let the thumbnail click act onthe combination choice.</p>
<p><span id="more-570"></span></p>
<p><strong>For jquery experts only !</strong></p>
<p>the first hing to know with prestashop front end is that the nice functions your customer experiences each times he pays a visit to your shop are all implmented via jquery calls. Jquery is a nice and very efficient library  but it is  a little difficult to understand when looked over by someone who has not been involved in the development. Everything here happens in your theme javascript folder, in the product.js file.</p>
<p>First thing to do is deactivate the link on the thumbnail : this cannot be done by removing the url because it used for hover effect that displays the big image. We only want to stop the popup from popping and replace the click action by an option change : just remove the THICKBOX class attribute (line 209 of a 1.1 product template page). the trick then is to add a javascript handler on the click event :</p>
<p>onclick=&#8221;setCombination{$image.id_image}();return false;&#8221;</p>
<p>we declare here on function per image id. A cleaner way to do this would be to builld an array instead of multiple functions. Please go ahead and send us the code.</p>
<p><strong>Very specific functions !</strong></p>
<p>the code below does the job of changing the selcet value when the thumbnail is clicked. Please note this is done with static variables names and WILL NOT WORK on your prestashop theme and product combinations : modify the group_4 reference (check the gnerated product page for select box identifyer)</p>
<p><a href="http://prayandcomfort.co.uk/10-pray-and-comfort-kneepads.html" target="_blank"><strong>DEMO </strong>: on prayandcomfort religious product shop</a> (created by&#8230; the <a title="website ecommerce brittany" href="http://www.poleouest.com" target="_blank"><strong>usual suspect</strong></a>).</p>
<div class="dean_ch" style="white-space: wrap;">
<ol>
<li class="li1">
<div class="de1">&nbsp; &nbsp; &nbsp; &nbsp; </div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; &nbsp; &nbsp; <span class="br0">&#123;</span><span class="kw1">foreach</span> from=<span class="re0">$combinations</span> <a href="http://www.php.net/key"><span class="kw3">key</span></a>=idCombination item=combination<span class="br0">&#125;</span></div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="kw2">function</span> setCombination<span class="br0">&#123;</span><span class="re0">$combination</span>.id_image<span class="br0">&#125;</span><span class="br0">&#40;</span><span class="br0">&#41;</span></div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; &nbsp; &nbsp; <span class="br0">&#123;</span>literal<span class="br0">&#125;</span>&nbsp; &nbsp; &nbsp; &nbsp;<span class="br0">&#123;</span>&nbsp; &nbsp; &nbsp; &nbsp;<span class="br0">&#123;</span>/literal<span class="br0">&#125;</span></div>
</li>
<li class="li2">
<div class="de2">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="kw2">var</span> chosenSelection = <span class="br0">&#123;</span><span class="re0">$combination</span>.<a href="http://www.php.net/list"><span class="kw3">list</span></a><span class="br0">&#125;</span>;</div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="kw2">var</span> idChosen = <span class="br0">&#123;</span><span class="re0">$idCombination</span>|intval<span class="br0">&#125;</span>;</div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; &nbsp; &nbsp; <span class="br0">&#123;</span>literal<span class="br0">&#125;</span></div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; $<span class="br0">&#40;</span><span class="st0">&quot;#group_4&quot;</span><span class="br0">&#41;</span>.val<span class="br0">&#40;</span>chosenSelection<span class="br0">&#41;</span>;</div>
</li>
<li class="li2">
<div class="de2">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; <span class="co1">//$(&quot;#group_4&quot;).trigger(&#8217;change&#8217;);</span></div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; $<span class="br0">&#40;</span><span class="st0">&#8216;#idCombination&#8217;</span><span class="br0">&#41;</span>.val<span class="br0">&#40;</span>idChosen<span class="br0">&#41;</span>;</div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="br0">&#125;</span>&nbsp; &nbsp; &nbsp; &nbsp;</div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</div>
</li>
<li class="li2">
<div class="de2">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="br0">&#123;</span>/literal<span class="br0">&#125;</span></div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; &nbsp; &nbsp; <span class="br0">&#123;</span>/<span class="kw1">foreach</span><span class="br0">&#125;</span></div>
</li>
</ol>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.webmasterbulletin.net/2008/12/prestashop-how-to-setup-thumbnail-combination-link/570/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Wysiwyg image mapping with Prestashop</title>
		<link>http://www.webmasterbulletin.net/2008/12/wysiwyg-image-mapping-with-prestashop/506</link>
		<comments>http://www.webmasterbulletin.net/2008/12/wysiwyg-image-mapping-with-prestashop/506#comments</comments>
		<pubDate>Mon, 01 Dec 2008 13:08:18 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[E commerce]]></category>
		<category><![CDATA[prestashop]]></category>

		<guid isPermaLink="false">http://www.webmasterbulletin.net/?p=506</guid>
		<description><![CDATA[
Prestashop is an amazing example of very specific features that benefit large audiences : the new version 1.1 is still in beta stage but the image mapping feature is really impressive.  The objective  described in the products section of prestashop admin manager,  allows the administrator to select portions of a category image, link areas to [...]]]></description>
			<content:encoded><![CDATA[<p><img class="aligncenter size-full wp-image-507" title="prestashop-imagemapping-adm" src="http://www.webmasterbulletin.net/wp-content/uploads/2008/12/prestashop-imagemapping-adm.jpg" alt="" width="500" height="185" /></p>
<p>Prestashop is an amazing example of very specific features that benefit large audiences : the new version 1.1 is still in beta stage but the image mapping feature is really impressive.  The objective  described in the products section of prestashop admin manager,  allows the administrator to select portions of a category image, link areas to a specific product,  all this stuff is linked to the products database, in a process that saves thousands of repetitive work  : &#8220;<em>When a customer hovers over the image with the mouse, a pop-up appears displaying a brief description of the product. The customer can then click to open the product&#8217;s full product page. To achieve this, please define the &#8216;mapping zone&#8217; that, when hovered over, will display the pop-up. Left-click with your mouse to draw the four-sided mapping zone, then release. Then, begin typing the name of the associated product. A list of products appears. Click the appropriate product, then click OK. Repeat these steps for each mapping zone you wish to create. When you have finished mapping zones, click Save Image Map.</em>&#8221; The interface uses the<a href="http://www.webmasterbulletin.net/2008/07/online-image-editing-jquerys-way/92"> jquery imgareaslect plugin</a> and the result below proves that Rich Application Interface is not any more for the rich only.</p>
<p><img class="aligncenter size-full wp-image-508" title="prestashop-imagemapping-fro" src="http://www.webmasterbulletin.net/wp-content/uploads/2008/12/prestashop-imagemapping-fro.jpg" alt="" width="450" height="237" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.webmasterbulletin.net/2008/12/wysiwyg-image-mapping-with-prestashop/506/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
