<?xml version="1.0"?>
<rss version="2.0"><channel><title>1.7.2.x [Current] Latest Topics</title><link>https://forum.prestashop.com/forum/273-172x-current/</link><description>1.7.2.x [Current] Latest Topics</description><language>en</language><item><title>AH01071: Got error 'PHP message: PHP Fatal error: Uncaught Error: Call to undefined method Configuration::getMultiShopValues()</title><link>https://forum.prestashop.com/topic/1103220-ah01071-got-error-php-message-php-fatal-error-uncaught-error-call-to-undefined-method-configurationgetmultishopvalues/</link><description><![CDATA[<p>
	Hello, I have a problem with PrestaShop.<br />
	My store isn’t working, and I’ve already tried many fixes but nothing has helped so far.<br />
	Here’s the error message I’m getting:
</p>

<p>
	AH01071: Got error 'PHP message: PHP Fatal error: Uncaught Error: Call to undefined method Configuration::getMultiShopValues() in /var/www/vhosts/suwmet.pl/suwmet.pl/classes/shop/Shop.php:399<br />
	Stack trace:<br />
	#0 /var/www/vhosts/suwmet.pl/suwmet.pl/config/config.inc.php(118): ShopCore::initialize()<br />
	#1 /var/www/vhosts/suwmet.pl/suwmet.pl/index.php(27): require('/var/www/vhosts...')<br />
	#2 {main}<br />
	  thrown in /var/www/vhosts/suwmet.pl/suwmet.pl/classes/shop/Shop.php on line 399<br />
	Can you please help me figure out which file or issue is causing this and how to fix it?
</p>
]]></description><guid isPermaLink="false">1103220</guid><pubDate>Thu, 06 Nov 2025 10:03:43 +0000</pubDate></item><item><title>Error: ERR_TOO_MANY_REDIRECTS Prestashop 1.7</title><link>https://forum.prestashop.com/topic/589937-error-err_too_many_redirects-prestashop-17/</link><description><![CDATA[
<p style="font-size:15px;color:rgb(36,39,41);font-family:Arial, 'Helvetica Neue', Helvetica, sans-serif;">Hi,</p>
<br /><p style="font-size:15px;color:rgb(36,39,41);font-family:Arial, 'Helvetica Neue', Helvetica, sans-serif;">I get the ERR_TOO_MANY_REDIRECTS error just modules and products page on the prestashop admin panel. When i try to connect pages url is contain ...security/compromised.... I was changed the all modules names for the making disable. But its not help to me.</p>
<br /><p style="font-size:15px;color:rgb(36,39,41);font-family:Arial, 'Helvetica Neue', Helvetica, sans-serif;">How can i fix? Which methods can I try?</p>
<br /><p style="font-size:15px;color:rgb(36,39,41);font-family:Arial, 'Helvetica Neue', Helvetica, sans-serif;">Thanks</p>
<br />]]></description><guid isPermaLink="false">589937</guid><pubDate>Wed, 18 Jan 2017 12:49:12 +0000</pubDate></item><item><title>[Prestashop 1.7.8.11] Display number of products near category name in PS 1.7.8.11 - Category tree module</title><link>https://forum.prestashop.com/topic/1095005-prestashop-17811-display-number-of-products-near-category-name-in-ps-17811-category-tree-module/</link><description><![CDATA[<p>
	Hi all
</p>

<p>
	I would like display the numbers items in categorie tree, i try the ps_category module on the forum and activated the switch in back office but not show the numbers items in front office, somebody help me
</p>

<p>
	very thanks <span class="ipsEmoji">?</span>
</p>
]]></description><guid isPermaLink="false">1095005</guid><pubDate>Tue, 04 Feb 2025 17:04:36 +0000</pubDate></item><item><title>PrestaShop GDPR module does not use translations</title><link>https://forum.prestashop.com/topic/1023917-prestashop-gdpr-module-does-not-use-translations/</link><description><![CDATA[
<p>
	Hi fellow Presta users!
</p>

<p>
	I am trying to translate my site. Otherwise things have been going decently, but for some reason I can't get GDPR translations to show in Front Office. In Back Office they are saved and showed OK. I have only 1 language in my shop, and translations are made in my currently used theme. I also tried to edit template file to use the new way of finding translations (mod='psgdpr' =&gt; d='Modules.Gdpr.Front'), but it does not fix the issue. I also tried to empty cache, but no difference.
</p>

<p>
	PrestaShop version: 1.7.6.4
</p>

<p>
	Official GDPR Compliance version: 1.1.3
</p>

<p>
	Has anybody come across the same issue and found a solution? Any kind of help would be greatly appreciated! <span><img alt=":)" data-emoticon="" height="20" src="https://media.invisioncic.com/t336404/emoticons/default_smile.png" srcset="https://media.invisioncic.com/t336404/emoticons/smile@2x.png 2x" title=":)" width="20" /></span>
</p>
]]></description><guid isPermaLink="false">1023917</guid><pubDate>Fri, 22 May 2020 13:54:23 +0000</pubDate></item><item><title>Fatal error: Class 'Smarty_Internal_Undefined' not found in</title><link>https://forum.prestashop.com/topic/901436-fatal-error-class-smarty_internal_undefined-not-found-in/</link><description><![CDATA[
<p>
	Hi everybody,
</p>

<p>
	I just tryed to install prestashop 1.7.4.2 
</p>

<p>
	I got this error :
</p>

<p>
	<br style="color:#000000;font-size:medium;" /><b style="color:#000000;font-size:medium;">Fatal error</b><span style="color:#000000;font-size:medium;">: Class 'Smarty_Internal_Undefined' not found in<span> </span></span><b style="color:#000000;font-size:medium;">/var/www/vhosts/kartal.in/httpdocs/vendor/smarty/smarty/libs/sysplugins/smarty_internal_extension_handler.php</b><span style="color:#000000;font-size:medium;"><span> </span>on line<span> </span></span><b style="color:#000000;font-size:medium;">164</b>
</p>

<p>
	 
</p>

<p>
	<b style="color:#000000;font-size:medium;">Can you help me ?</b>
</p>
]]></description><guid isPermaLink="false">901436</guid><pubDate>Tue, 11 Sep 2018 06:59:05 +0000</pubDate></item><item><title>Display number of products near category name in PS 1.7 - Category tree module</title><link>https://forum.prestashop.com/topic/1065522-display-number-of-products-near-category-name-in-ps-17-category-tree-module/</link><description><![CDATA[<p>
	Hi everyone!
</p>

<p>
	I'm trying to display the number of products near the category name in the left sidebar using the module Category Tree.
</p>

<p>
	Here is an example of what i would like to obtain:
</p>

<p>
	• Category (50)<br />
	- - Subcategory (27)<br />
	- - Subcategory (3)<br />
	- - Subcategory (12)<br />
	- - Subcategory (8)
</p>

<p>
	I'm using the code found here <a href="https://blog.prestatuts.com/show-number-of-products-next-to-each-category-in-category-tree-menu/" rel="external nofollow">https://blog.prestatuts.com/show-number-of-products-next-to-each-category-in-category-tree-menu/</a>
</p>

<p>
	But i'm facing two problems: the main category shows 0 products but I would like to show the sum of all products in subcategories, this is what I got:
</p>

<p>
	• Category <strong>(0)</strong><br />
	- - Subcategory (27)<br />
	- - Subcategory (3)<br />
	- - Subcategory (12)<br />
	- - Subcategory (8)
</p>

<p>
	The worst thing is that when the code is implemented the loading of the category page becomes extremely slow, like 20 seconds everytime.
</p>

<p>
	This is the edited file modules/ps_categorytree/ps_categorytree.php
</p>

<pre class="ipsCode prettyprint lang-php prettyprinted"><span class="pun">&lt;?</span><span class="pln">php
</span><span class="com">/**
 * Copyright since 2007 PrestaShop SA and Contributors
 * PrestaShop is an International Registered Trademark &amp; Property of PrestaShop SA
 *
 * NOTICE OF LICENSE
 *
 * This source file is subject to the Academic Free License 3.0 (AFL-3.0)
 * that is bundled with this package in the file LICENSE.md.
 * It is also available through the world-wide-web at this URL:
 * https://opensource.org/licenses/AFL-3.0
 * If you did not receive a copy of the license and are unable to
 * obtain it through the world-wide-web, please send an email
 * to license@prestashop.com so we can send you a copy immediately.
 *
 * DISCLAIMER
 *
 * Do not edit or add to this file if you wish to upgrade PrestaShop to newer
 * versions in the future. If you wish to customize PrestaShop for your
 * needs please refer to https://devdocs.prestashop.com/ for more information.
 *
 * @author    PrestaShop SA and Contributors &lt;contact@prestashop.com&gt;
 * @copyright Since 2007 PrestaShop SA and Contributors
 * @license   https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0)
 */</span><span class="pln">
</span><span class="kwd">if</span><span class="pln"> </span><span class="pun">(!</span><span class="kwd">defined</span><span class="pun">(</span><span class="str">'_PS_VERSION_'</span><span class="pun">))</span><span class="pln"> </span><span class="pun">{</span><span class="pln">
    </span><span class="kwd">exit</span><span class="pun">;</span><span class="pln">
</span><span class="pun">}</span><span class="pln">

</span><span class="kwd">use</span><span class="pln"> </span><span class="typ">PrestaShop</span><span class="pln">\PrestaShop\Core\Module\WidgetInterface</span><span class="pun">;</span><span class="pln">

</span><span class="kwd">class</span><span class="pln"> </span><span class="typ">Ps_CategoryTree</span><span class="pln"> </span><span class="kwd">extends</span><span class="pln"> </span><span class="typ">Module</span><span class="pln"> </span><span class="kwd">implements</span><span class="pln"> </span><span class="typ">WidgetInterface</span><span class="pln">
</span><span class="pun">{</span><span class="pln">
    </span><span class="com">/**
     * @var string Name of the module running on PS 1.6.x. Used for data migration.
     */</span><span class="pln">
    </span><span class="kwd">const</span><span class="pln"> PS_16_EQUIVALENT_MODULE </span><span class="pun">=</span><span class="pln"> </span><span class="str">'blockcategories'</span><span class="pun">;</span><span class="pln">

    </span><span class="kwd">public</span><span class="pln"> </span><span class="kwd">function</span><span class="pln"> __construct</span><span class="pun">()</span><span class="pln">
    </span><span class="pun">{</span><span class="pln">
        $this</span><span class="pun">-&gt;</span><span class="pln">name </span><span class="pun">=</span><span class="pln"> </span><span class="str">'ps_categorytree'</span><span class="pun">;</span><span class="pln">
        $this</span><span class="pun">-&gt;</span><span class="pln">tab </span><span class="pun">=</span><span class="pln"> </span><span class="str">'front_office_features'</span><span class="pun">;</span><span class="pln">
        $this</span><span class="pun">-&gt;</span><span class="pln">version </span><span class="pun">=</span><span class="pln"> </span><span class="str">'2.0.2'</span><span class="pun">;</span><span class="pln">
        $this</span><span class="pun">-&gt;</span><span class="pln">author </span><span class="pun">=</span><span class="pln"> </span><span class="str">'PrestaShop'</span><span class="pun">;</span><span class="pln">

        $this</span><span class="pun">-&gt;</span><span class="pln">bootstrap </span><span class="pun">=</span><span class="pln"> </span><span class="kwd">true</span><span class="pun">;</span><span class="pln">
        parent</span><span class="pun">::</span><span class="pln">__construct</span><span class="pun">();</span><span class="pln">

        $this</span><span class="pun">-&gt;</span><span class="pln">displayName </span><span class="pun">=</span><span class="pln"> $this</span><span class="pun">-&gt;</span><span class="pln">getTranslator</span><span class="pun">()-&gt;</span><span class="pln">trans</span><span class="pun">(</span><span class="str">'Category tree links'</span><span class="pun">,</span><span class="pln"> </span><span class="pun">[],</span><span class="pln"> </span><span class="str">'Modules.Categorytree.Admin'</span><span class="pun">);</span><span class="pln">
        $this</span><span class="pun">-&gt;</span><span class="pln">description </span><span class="pun">=</span><span class="pln"> $this</span><span class="pun">-&gt;</span><span class="pln">getTranslator</span><span class="pun">()-&gt;</span><span class="pln">trans</span><span class="pun">(</span><span class="str">'Help navigation on your store, show your visitors current category and subcategories.'</span><span class="pun">,</span><span class="pln"> </span><span class="pun">[],</span><span class="pln"> </span><span class="str">'Modules.Categorytree.Admin'</span><span class="pun">);</span><span class="pln">
        $this</span><span class="pun">-&gt;</span><span class="pln">ps_versions_compliancy </span><span class="pun">=</span><span class="pln"> </span><span class="pun">[</span><span class="str">'min'</span><span class="pln"> </span><span class="pun">=&gt;</span><span class="pln"> </span><span class="str">'1.7.1.0'</span><span class="pun">,</span><span class="pln"> </span><span class="str">'max'</span><span class="pln"> </span><span class="pun">=&gt;</span><span class="pln"> _PS_VERSION_</span><span class="pun">];</span><span class="pln">
    </span><span class="pun">}</span><span class="pln">

    </span><span class="kwd">public</span><span class="pln"> </span><span class="kwd">function</span><span class="pln"> install</span><span class="pun">()</span><span class="pln">
    </span><span class="pun">{</span><span class="pln">
        </span><span class="com">// If the PS 1.6 module wasn't here, set the default values</span><span class="pln">
        </span><span class="kwd">if</span><span class="pln"> </span><span class="pun">(!</span><span class="pln">$this</span><span class="pun">-&gt;</span><span class="pln">uninstallPrestaShop16Module</span><span class="pun">())</span><span class="pln"> </span><span class="pun">{</span><span class="pln">
            </span><span class="typ">Configuration</span><span class="pun">::</span><span class="pln">updateValue</span><span class="pun">(</span><span class="str">'BLOCK_CATEG_MAX_DEPTH'</span><span class="pun">,</span><span class="pln"> </span><span class="lit">4</span><span class="pun">);</span><span class="pln">
            </span><span class="typ">Configuration</span><span class="pun">::</span><span class="pln">updateValue</span><span class="pun">(</span><span class="str">'BLOCK_CATEG_ROOT_CATEGORY'</span><span class="pun">,</span><span class="pln"> </span><span class="lit">1</span><span class="pun">);</span><span class="pln">
        </span><span class="pun">}</span><span class="pln">

        </span><span class="kwd">return</span><span class="pln"> parent</span><span class="pun">::</span><span class="pln">install</span><span class="pun">()</span><span class="pln">
            </span><span class="pun">&amp;&amp;</span><span class="pln"> $this</span><span class="pun">-&gt;</span><span class="pln">registerHook</span><span class="pun">(</span><span class="str">'displayLeftColumn'</span><span class="pun">)</span><span class="pln">
        </span><span class="pun">;</span><span class="pln">
    </span><span class="pun">}</span><span class="pln">

    </span><span class="com">/**
     * Migrate data from 1.6 equivalent module (if applicable), then uninstall
     */</span><span class="pln">
    </span><span class="kwd">public</span><span class="pln"> </span><span class="kwd">function</span><span class="pln"> uninstallPrestaShop16Module</span><span class="pun">()</span><span class="pln">
    </span><span class="pun">{</span><span class="pln">
        </span><span class="kwd">if</span><span class="pln"> </span><span class="pun">(!</span><span class="typ">Module</span><span class="pun">::</span><span class="pln">isInstalled</span><span class="pun">(</span><span class="kwd">self</span><span class="pun">::</span><span class="pln">PS_16_EQUIVALENT_MODULE</span><span class="pun">))</span><span class="pln"> </span><span class="pun">{</span><span class="pln">
            </span><span class="kwd">return</span><span class="pln"> </span><span class="kwd">false</span><span class="pun">;</span><span class="pln">
        </span><span class="pun">}</span><span class="pln">
        $oldModule </span><span class="pun">=</span><span class="pln"> </span><span class="typ">Module</span><span class="pun">::</span><span class="pln">getInstanceByName</span><span class="pun">(</span><span class="kwd">self</span><span class="pun">::</span><span class="pln">PS_16_EQUIVALENT_MODULE</span><span class="pun">);</span><span class="pln">
        </span><span class="kwd">if</span><span class="pln"> </span><span class="pun">(</span><span class="pln">$oldModule</span><span class="pun">)</span><span class="pln"> </span><span class="pun">{</span><span class="pln">
            </span><span class="com">// This closure calls the parent class to prevent data to be erased</span><span class="pln">
            </span><span class="com">// It allows the new module to be configured without migration</span><span class="pln">
            $parentUninstallClosure </span><span class="pun">=</span><span class="pln"> </span><span class="kwd">function</span><span class="pln"> </span><span class="pun">()</span><span class="pln"> </span><span class="pun">{</span><span class="pln">
                </span><span class="kwd">return</span><span class="pln"> parent</span><span class="pun">::</span><span class="pln">uninstall</span><span class="pun">();</span><span class="pln">
            </span><span class="pun">};</span><span class="pln">
            $parentUninstallClosure </span><span class="pun">=</span><span class="pln"> $parentUninstallClosure</span><span class="pun">-&gt;</span><span class="pln">bindTo</span><span class="pun">(</span><span class="pln">$oldModule</span><span class="pun">,</span><span class="pln"> get_class</span><span class="pun">(</span><span class="pln">$oldModule</span><span class="pun">));</span><span class="pln">
            $parentUninstallClosure</span><span class="pun">();</span><span class="pln">
        </span><span class="pun">}</span><span class="pln">

        </span><span class="kwd">return</span><span class="pln"> </span><span class="kwd">true</span><span class="pun">;</span><span class="pln">
    </span><span class="pun">}</span><span class="pln">

    </span><span class="kwd">public</span><span class="pln"> </span><span class="kwd">function</span><span class="pln"> uninstall</span><span class="pun">()</span><span class="pln">
    </span><span class="pun">{</span><span class="pln">
        </span><span class="kwd">if</span><span class="pln"> </span><span class="pun">(!</span><span class="pln">parent</span><span class="pun">::</span><span class="pln">uninstall</span><span class="pun">()</span><span class="pln"> </span><span class="pun">||</span><span class="pln">
            </span><span class="pun">!</span><span class="typ">Configuration</span><span class="pun">::</span><span class="pln">deleteByName</span><span class="pun">(</span><span class="str">'BLOCK_CATEG_MAX_DEPTH'</span><span class="pun">)</span><span class="pln"> </span><span class="pun">||</span><span class="pln">
            </span><span class="pun">!</span><span class="typ">Configuration</span><span class="pun">::</span><span class="pln">deleteByName</span><span class="pun">(</span><span class="str">'BLOCK_CATEG_ROOT_CATEGORY'</span><span class="pun">))</span><span class="pln"> </span><span class="pun">{</span><span class="pln">
            </span><span class="kwd">return</span><span class="pln"> </span><span class="kwd">false</span><span class="pun">;</span><span class="pln">
        </span><span class="pun">}</span><span class="pln">

        </span><span class="kwd">return</span><span class="pln"> </span><span class="kwd">true</span><span class="pun">;</span><span class="pln">
    </span><span class="pun">}</span><span class="pln">

    </span><span class="kwd">public</span><span class="pln"> </span><span class="kwd">function</span><span class="pln"> getContent</span><span class="pun">()</span><span class="pln">
    </span><span class="pun">{</span><span class="pln">
        $output </span><span class="pun">=</span><span class="pln"> </span><span class="str">''</span><span class="pun">;</span><span class="pln">
        </span><span class="kwd">if</span><span class="pln"> </span><span class="pun">(</span><span class="typ">Tools</span><span class="pun">::</span><span class="pln">isSubmit</span><span class="pun">(</span><span class="str">'submitBlockCategories'</span><span class="pun">))</span><span class="pln"> </span><span class="pun">{</span><span class="pln">
            $maxDepth </span><span class="pun">=</span><span class="pln"> </span><span class="pun">(</span><span class="kwd">int</span><span class="pun">)</span><span class="pln"> </span><span class="pun">(</span><span class="typ">Tools</span><span class="pun">::</span><span class="pln">getValue</span><span class="pun">(</span><span class="str">'BLOCK_CATEG_MAX_DEPTH'</span><span class="pun">));</span><span class="pln">
            </span><span class="kwd">if</span><span class="pln"> </span><span class="pun">(</span><span class="pln">$maxDepth </span><span class="pun">&lt;</span><span class="pln"> </span><span class="lit">0</span><span class="pun">)</span><span class="pln"> </span><span class="pun">{</span><span class="pln">
                $output </span><span class="pun">.=</span><span class="pln"> $this</span><span class="pun">-&gt;</span><span class="pln">displayError</span><span class="pun">(</span><span class="pln">$this</span><span class="pun">-&gt;</span><span class="pln">getTranslator</span><span class="pun">()-&gt;</span><span class="pln">trans</span><span class="pun">(</span><span class="str">'Maximum depth: Invalid number.'</span><span class="pun">,</span><span class="pln"> </span><span class="pun">[],</span><span class="pln"> </span><span class="str">'Admin.Notifications.Error'</span><span class="pun">));</span><span class="pln">
            </span><span class="pun">}</span><span class="pln"> </span><span class="kwd">else</span><span class="pln"> </span><span class="pun">{</span><span class="pln">
                </span><span class="typ">Configuration</span><span class="pun">::</span><span class="pln">updateValue</span><span class="pun">(</span><span class="str">'BLOCK_CATEG_MAX_DEPTH'</span><span class="pun">,</span><span class="pln"> </span><span class="pun">(</span><span class="kwd">int</span><span class="pun">)</span><span class="pln"> $maxDepth</span><span class="pun">);</span><span class="pln">
                </span><span class="typ">Configuration</span><span class="pun">::</span><span class="pln">updateValue</span><span class="pun">(</span><span class="str">'BLOCK_CATEG_SORT_WAY'</span><span class="pun">,</span><span class="pln"> </span><span class="typ">Tools</span><span class="pun">::</span><span class="pln">getValue</span><span class="pun">(</span><span class="str">'BLOCK_CATEG_SORT_WAY'</span><span class="pun">));</span><span class="pln">
                </span><span class="typ">Configuration</span><span class="pun">::</span><span class="pln">updateValue</span><span class="pun">(</span><span class="str">'BLOCK_CATEG_SORT'</span><span class="pun">,</span><span class="pln"> </span><span class="typ">Tools</span><span class="pun">::</span><span class="pln">getValue</span><span class="pun">(</span><span class="str">'BLOCK_CATEG_SORT'</span><span class="pun">));</span><span class="pln">
                </span><span class="typ">Configuration</span><span class="pun">::</span><span class="pln">updateValue</span><span class="pun">(</span><span class="str">'BLOCK_CATEG_ROOT_CATEGORY'</span><span class="pun">,</span><span class="pln"> </span><span class="typ">Tools</span><span class="pun">::</span><span class="pln">getValue</span><span class="pun">(</span><span class="str">'BLOCK_CATEG_ROOT_CATEGORY'</span><span class="pun">));</span><span class="pln">

                </span><span class="com">//$this-&gt;_clearBlockcategoriesCache();</span><span class="pln">

                </span><span class="typ">Tools</span><span class="pun">::</span><span class="pln">redirectAdmin</span><span class="pun">(</span><span class="typ">AdminController</span><span class="pun">::</span><span class="pln">$currentIndex </span><span class="pun">.</span><span class="pln"> </span><span class="str">'&amp;configure='</span><span class="pln"> </span><span class="pun">.</span><span class="pln"> $this</span><span class="pun">-&gt;</span><span class="pln">name </span><span class="pun">.</span><span class="pln"> </span><span class="str">'&amp;token='</span><span class="pln"> </span><span class="pun">.</span><span class="pln"> </span><span class="typ">Tools</span><span class="pun">::</span><span class="pln">getAdminTokenLite</span><span class="pun">(</span><span class="str">'AdminModules'</span><span class="pun">)</span><span class="pln"> </span><span class="pun">.</span><span class="pln"> </span><span class="str">'&amp;conf=6'</span><span class="pun">);</span><span class="pln">
            </span><span class="pun">}</span><span class="pln">
        </span><span class="pun">}</span><span class="pln">

        </span><span class="kwd">return</span><span class="pln"> $output </span><span class="pun">.</span><span class="pln"> $this</span><span class="pun">-&gt;</span><span class="pln">renderForm</span><span class="pun">();</span><span class="pln">
    </span><span class="pun">}</span><span class="pln">

    </span><span class="kwd">private</span><span class="pln"> </span><span class="kwd">function</span><span class="pln"> getCategories</span><span class="pun">(</span><span class="pln">$category</span><span class="pun">)</span><span class="pln">
    </span><span class="pun">{</span><span class="pln">
        $range </span><span class="pun">=</span><span class="pln"> </span><span class="str">''</span><span class="pun">;</span><span class="pln">
        $maxdepth </span><span class="pun">=</span><span class="pln"> </span><span class="typ">Configuration</span><span class="pun">::</span><span class="kwd">get</span><span class="pun">(</span><span class="str">'BLOCK_CATEG_MAX_DEPTH'</span><span class="pun">);</span><span class="pln">
        </span><span class="kwd">if</span><span class="pln"> </span><span class="pun">(</span><span class="typ">Validate</span><span class="pun">::</span><span class="pln">isLoadedObject</span><span class="pun">(</span><span class="pln">$category</span><span class="pun">))</span><span class="pln"> </span><span class="pun">{</span><span class="pln">
            </span><span class="kwd">if</span><span class="pln"> </span><span class="pun">(</span><span class="pln">$maxdepth </span><span class="pun">&gt;</span><span class="pln"> </span><span class="lit">0</span><span class="pun">)</span><span class="pln"> </span><span class="pun">{</span><span class="pln">
                $maxdepth </span><span class="pun">+=</span><span class="pln"> $category</span><span class="pun">-&gt;</span><span class="pln">level_depth</span><span class="pun">;</span><span class="pln">
            </span><span class="pun">}</span><span class="pln">
            $range </span><span class="pun">=</span><span class="pln"> </span><span class="str">'AND nleft &gt;= '</span><span class="pln"> </span><span class="pun">.</span><span class="pln"> </span><span class="pun">(</span><span class="kwd">int</span><span class="pun">)</span><span class="pln"> $category</span><span class="pun">-&gt;</span><span class="pln">nleft </span><span class="pun">.</span><span class="pln"> </span><span class="str">' AND nright &lt;= '</span><span class="pln"> </span><span class="pun">.</span><span class="pln"> </span><span class="pun">(</span><span class="kwd">int</span><span class="pun">)</span><span class="pln"> $category</span><span class="pun">-&gt;</span><span class="pln">nright</span><span class="pun">;</span><span class="pln">
        </span><span class="pun">}</span><span class="pln">

        $resultIds </span><span class="pun">=</span><span class="pln"> </span><span class="pun">[];</span><span class="pln">
        $resultParents </span><span class="pun">=</span><span class="pln"> </span><span class="pun">[];</span><span class="pln">
        $result </span><span class="pun">=</span><span class="pln"> </span><span class="typ">Db</span><span class="pun">::</span><span class="pln">getInstance</span><span class="pun">((</span><span class="kwd">bool</span><span class="pun">)</span><span class="pln"> _PS_USE_SQL_SLAVE_</span><span class="pun">)-&gt;</span><span class="pln">executeS</span><span class="pun">(</span><span class="str">'
			SELECT c.id_parent, c.id_category, cl.name, cl.description, cl.link_rewrite
			FROM `'</span><span class="pln"> </span><span class="pun">.</span><span class="pln"> _DB_PREFIX_ </span><span class="pun">.</span><span class="pln"> </span><span class="str">'category` c
			INNER JOIN `'</span><span class="pln"> </span><span class="pun">.</span><span class="pln"> _DB_PREFIX_ </span><span class="pun">.</span><span class="pln"> </span><span class="str">'category_lang` cl ON (c.`id_category` = cl.`id_category` AND cl.`id_lang` = '</span><span class="pln"> </span><span class="pun">.</span><span class="pln"> </span><span class="pun">(</span><span class="kwd">int</span><span class="pun">)</span><span class="pln"> $this</span><span class="pun">-&gt;</span><span class="pln">context</span><span class="pun">-&gt;</span><span class="pln">language</span><span class="pun">-&gt;</span><span class="pln">id </span><span class="pun">.</span><span class="pln"> </span><span class="typ">Shop</span><span class="pun">::</span><span class="pln">addSqlRestrictionOnLang</span><span class="pun">(</span><span class="str">'cl'</span><span class="pun">)</span><span class="pln"> </span><span class="pun">.</span><span class="pln"> </span><span class="str">')
			INNER JOIN `'</span><span class="pln"> </span><span class="pun">.</span><span class="pln"> _DB_PREFIX_ </span><span class="pun">.</span><span class="pln"> </span><span class="str">'category_shop` cs ON (cs.`id_category` = c.`id_category` AND cs.`id_shop` = '</span><span class="pln"> </span><span class="pun">.</span><span class="pln"> </span><span class="pun">(</span><span class="kwd">int</span><span class="pun">)</span><span class="pln"> $this</span><span class="pun">-&gt;</span><span class="pln">context</span><span class="pun">-&gt;</span><span class="pln">shop</span><span class="pun">-&gt;</span><span class="pln">id </span><span class="pun">.</span><span class="pln"> </span><span class="str">')
			WHERE (c.`active` = 1 OR c.`id_category` = '</span><span class="pln"> </span><span class="pun">.</span><span class="pln"> </span><span class="pun">(</span><span class="kwd">int</span><span class="pun">)</span><span class="pln"> </span><span class="typ">Configuration</span><span class="pun">::</span><span class="kwd">get</span><span class="pun">(</span><span class="str">'PS_HOME_CATEGORY'</span><span class="pun">)</span><span class="pln"> </span><span class="pun">.</span><span class="pln"> </span><span class="str">')
			AND c.`id_category` != '</span><span class="pln"> </span><span class="pun">.</span><span class="pln"> </span><span class="pun">(</span><span class="kwd">int</span><span class="pun">)</span><span class="pln"> </span><span class="typ">Configuration</span><span class="pun">::</span><span class="kwd">get</span><span class="pun">(</span><span class="str">'PS_ROOT_CATEGORY'</span><span class="pun">)</span><span class="pln"> </span><span class="pun">.</span><span class="pln"> </span><span class="str">'
			'</span><span class="pln"> </span><span class="pun">.</span><span class="pln"> </span><span class="pun">((</span><span class="kwd">int</span><span class="pun">)</span><span class="pln"> $maxdepth </span><span class="pun">!=</span><span class="pln"> </span><span class="lit">0</span><span class="pln"> </span><span class="pun">?</span><span class="pln"> </span><span class="str">' AND `level_depth` &lt;= '</span><span class="pln"> </span><span class="pun">.</span><span class="pln"> </span><span class="pun">(</span><span class="kwd">int</span><span class="pun">)</span><span class="pln"> $maxdepth </span><span class="pun">:</span><span class="pln"> </span><span class="str">''</span><span class="pun">)</span><span class="pln"> </span><span class="pun">.</span><span class="pln"> </span><span class="str">'
			'</span><span class="pln"> </span><span class="pun">.</span><span class="pln"> $range </span><span class="pun">.</span><span class="pln"> </span><span class="str">'
			AND c.id_category IN (
				SELECT id_category
				FROM `'</span><span class="pln"> </span><span class="pun">.</span><span class="pln"> _DB_PREFIX_ </span><span class="pun">.</span><span class="pln"> </span><span class="str">'category_group`
				WHERE `id_group` IN ('</span><span class="pln"> </span><span class="pun">.</span><span class="pln"> pSQL</span><span class="pun">(</span><span class="pln">implode</span><span class="pun">(</span><span class="str">', '</span><span class="pun">,</span><span class="pln"> </span><span class="typ">Customer</span><span class="pun">::</span><span class="pln">getGroupsStatic</span><span class="pun">((</span><span class="kwd">int</span><span class="pun">)</span><span class="pln"> $this</span><span class="pun">-&gt;</span><span class="pln">context</span><span class="pun">-&gt;</span><span class="pln">customer</span><span class="pun">-&gt;</span><span class="pln">id</span><span class="pun">)))</span><span class="pln"> </span><span class="pun">.</span><span class="pln"> </span><span class="str">')
			)
			ORDER BY `level_depth` ASC, '</span><span class="pln"> </span><span class="pun">.</span><span class="pln"> </span><span class="pun">(</span><span class="typ">Configuration</span><span class="pun">::</span><span class="kwd">get</span><span class="pun">(</span><span class="str">'BLOCK_CATEG_SORT'</span><span class="pun">)</span><span class="pln"> </span><span class="pun">?</span><span class="pln"> </span><span class="str">'cl.`name`'</span><span class="pln"> </span><span class="pun">:</span><span class="pln"> </span><span class="str">'cs.`position`'</span><span class="pun">)</span><span class="pln"> </span><span class="pun">.</span><span class="pln"> </span><span class="str">' '</span><span class="pln"> </span><span class="pun">.</span><span class="pln"> </span><span class="pun">(</span><span class="typ">Configuration</span><span class="pun">::</span><span class="kwd">get</span><span class="pun">(</span><span class="str">'BLOCK_CATEG_SORT_WAY'</span><span class="pun">)</span><span class="pln"> </span><span class="pun">?</span><span class="pln"> </span><span class="str">'DESC'</span><span class="pln"> </span><span class="pun">:</span><span class="pln"> </span><span class="str">'ASC'</span><span class="pun">));</span><span class="pln">
        </span><span class="kwd">foreach</span><span class="pln"> </span><span class="pun">(</span><span class="pln">$result </span><span class="kwd">as</span><span class="pln"> </span><span class="pun">&amp;</span><span class="pln">$row</span><span class="pun">)</span><span class="pln"> </span><span class="pun">{</span><span class="pln">
            $resultParents</span><span class="pun">[</span><span class="pln">$row</span><span class="pun">[</span><span class="str">'id_parent'</span><span class="pun">]][]</span><span class="pln"> </span><span class="pun">=</span><span class="pln"> </span><span class="pun">&amp;</span><span class="pln">$row</span><span class="pun">;</span><span class="pln">
            $resultIds</span><span class="pun">[</span><span class="pln">$row</span><span class="pun">[</span><span class="str">'id_category'</span><span class="pun">]]</span><span class="pln"> </span><span class="pun">=</span><span class="pln"> </span><span class="pun">&amp;</span><span class="pln">$row</span><span class="pun">;</span><span class="pln">
        </span><span class="pun">}</span><span class="pln">

        </span><span class="kwd">return</span><span class="pln"> $this</span><span class="pun">-&gt;</span><span class="pln">getTree</span><span class="pun">(</span><span class="pln">$resultParents</span><span class="pun">,</span><span class="pln"> $resultIds</span><span class="pun">,</span><span class="pln"> $maxdepth</span><span class="pun">,</span><span class="pln"> </span><span class="pun">(</span><span class="pln">$category </span><span class="pun">?</span><span class="pln"> $category</span><span class="pun">-&gt;</span><span class="pln">id </span><span class="pun">:</span><span class="pln"> </span><span class="kwd">null</span><span class="pun">));</span><span class="pln">
    </span><span class="pun">}</span><span class="pln">

    </span><span class="kwd">public</span><span class="pln"> </span><span class="kwd">function</span><span class="pln"> getTree</span><span class="pun">(</span><span class="pln">$resultParents</span><span class="pun">,</span><span class="pln"> $resultIds</span><span class="pun">,</span><span class="pln"> $maxDepth</span><span class="pun">,</span><span class="pln"> $id_category </span><span class="pun">=</span><span class="pln"> </span><span class="kwd">null</span><span class="pun">,</span><span class="pln"> $currentDepth </span><span class="pun">=</span><span class="pln"> </span><span class="lit">0</span><span class="pun">)</span><span class="pln">
    </span><span class="pun">{</span><span class="pln">
        </span><span class="kwd">if</span><span class="pln"> </span><span class="pun">(</span><span class="pln">is_null</span><span class="pun">(</span><span class="pln">$id_category</span><span class="pun">))</span><span class="pln"> </span><span class="pun">{</span><span class="pln">
            $id_category </span><span class="pun">=</span><span class="pln"> $this</span><span class="pun">-&gt;</span><span class="pln">context</span><span class="pun">-&gt;</span><span class="pln">shop</span><span class="pun">-&gt;</span><span class="pln">getCategory</span><span class="pun">();</span><span class="pln">
        </span><span class="pun">}</span><span class="pln">

        $children </span><span class="pun">=</span><span class="pln"> </span><span class="pun">[];</span><span class="pln">

        </span><span class="kwd">if</span><span class="pln"> </span><span class="pun">(</span><span class="pln">isset</span><span class="pun">(</span><span class="pln">$resultParents</span><span class="pun">[</span><span class="pln">$id_category</span><span class="pun">])</span><span class="pln"> </span><span class="pun">&amp;&amp;</span><span class="pln"> count</span><span class="pun">(</span><span class="pln">$resultParents</span><span class="pun">[</span><span class="pln">$id_category</span><span class="pun">])</span><span class="pln"> </span><span class="pun">&amp;&amp;</span><span class="pln"> </span><span class="pun">(</span><span class="pln">$maxDepth </span><span class="pun">==</span><span class="pln"> </span><span class="lit">0</span><span class="pln"> </span><span class="pun">||</span><span class="pln"> $currentDepth </span><span class="pun">&lt;</span><span class="pln"> $maxDepth</span><span class="pun">))</span><span class="pln"> </span><span class="pun">{</span><span class="pln">
            </span><span class="kwd">foreach</span><span class="pln"> </span><span class="pun">(</span><span class="pln">$resultParents</span><span class="pun">[</span><span class="pln">$id_category</span><span class="pun">]</span><span class="pln"> </span><span class="kwd">as</span><span class="pln"> $subcat</span><span class="pun">)</span><span class="pln"> </span><span class="pun">{</span><span class="pln">
                $children</span><span class="pun">[]</span><span class="pln"> </span><span class="pun">=</span><span class="pln"> $this</span><span class="pun">-&gt;</span><span class="pln">getTree</span><span class="pun">(</span><span class="pln">$resultParents</span><span class="pun">,</span><span class="pln"> $resultIds</span><span class="pun">,</span><span class="pln"> $maxDepth</span><span class="pun">,</span><span class="pln"> $subcat</span><span class="pun">[</span><span class="str">'id_category'</span><span class="pun">],</span><span class="pln"> $currentDepth </span><span class="pun">+</span><span class="pln"> </span><span class="lit">1</span><span class="pun">);</span><span class="pln">
            </span><span class="pun">}</span><span class="pln">
        </span><span class="pun">}</span><span class="pln">

        </span><span class="kwd">if</span><span class="pln"> </span><span class="pun">(</span><span class="pln">isset</span><span class="pun">(</span><span class="pln">$resultIds</span><span class="pun">[</span><span class="pln">$id_category</span><span class="pun">]))</span><span class="pln"> </span><span class="pun">{</span><span class="pln">
            $link </span><span class="pun">=</span><span class="pln"> $this</span><span class="pun">-&gt;</span><span class="pln">context</span><span class="pun">-&gt;</span><span class="pln">link</span><span class="pun">-&gt;</span><span class="pln">getCategoryLink</span><span class="pun">(</span><span class="pln">$id_category</span><span class="pun">,</span><span class="pln"> $resultIds</span><span class="pun">[</span><span class="pln">$id_category</span><span class="pun">][</span><span class="str">'link_rewrite'</span><span class="pun">]);</span><span class="pln">
            $name </span><span class="pun">=</span><span class="pln"> $resultIds</span><span class="pun">[</span><span class="pln">$id_category</span><span class="pun">][</span><span class="str">'name'</span><span class="pun">];</span><span class="pln">
            $desc </span><span class="pun">=</span><span class="pln"> $resultIds</span><span class="pun">[</span><span class="pln">$id_category</span><span class="pun">][</span><span class="str">'description'</span><span class="pun">];</span><span class="pln">
        </span><span class="pun">}</span><span class="pln"> </span><span class="kwd">else</span><span class="pln"> </span><span class="pun">{</span><span class="pln">
            $link </span><span class="pun">=</span><span class="pln"> $name </span><span class="pun">=</span><span class="pln"> $desc </span><span class="pun">=</span><span class="pln"> </span><span class="str">''</span><span class="pun">;</span><span class="pln">
        </span><span class="pun">}</span><span class="pln">

        </span><span class="kwd">return</span><span class="pln"> </span><span class="pun">[</span><span class="pln">
            </span><span class="str">'id'</span><span class="pln"> </span><span class="pun">=&gt;</span><span class="pln"> $id_category</span><span class="pun">,</span><span class="pln">
            </span><span class="str">'link'</span><span class="pln"> </span><span class="pun">=&gt;</span><span class="pln"> $link</span><span class="pun">,</span><span class="pln">
            </span><span class="str">'name'</span><span class="pln"> </span><span class="pun">=&gt;</span><span class="pln"> $name</span><span class="pun">,</span><span class="pln">
            </span><span class="str">'desc'</span><span class="pln"> </span><span class="pun">=&gt;</span><span class="pln"> $desc</span><span class="pun">,</span><span class="pln">
            </span><span class="str">'children'</span><span class="pln"> </span><span class="pun">=&gt;</span><span class="pln"> $children</span><span class="pun">,</span><span class="pln">
        </span><span class="pun">];</span><span class="pln">
    </span><span class="pun">}</span><span class="pln">

    </span><span class="kwd">public</span><span class="pln"> </span><span class="kwd">function</span><span class="pln"> renderForm</span><span class="pun">()</span><span class="pln">
    </span><span class="pun">{</span><span class="pln">
        $fields_form </span><span class="pun">=</span><span class="pln"> </span><span class="pun">[</span><span class="pln">
            </span><span class="str">'form'</span><span class="pln"> </span><span class="pun">=&gt;</span><span class="pln"> </span><span class="pun">[</span><span class="pln">
                </span><span class="str">'legend'</span><span class="pln"> </span><span class="pun">=&gt;</span><span class="pln"> </span><span class="pun">[</span><span class="pln">
                    </span><span class="str">'title'</span><span class="pln"> </span><span class="pun">=&gt;</span><span class="pln"> $this</span><span class="pun">-&gt;</span><span class="pln">getTranslator</span><span class="pun">()-&gt;</span><span class="pln">trans</span><span class="pun">(</span><span class="str">'Settings'</span><span class="pun">,</span><span class="pln"> </span><span class="pun">[],</span><span class="pln"> </span><span class="str">'Admin.Global'</span><span class="pun">),</span><span class="pln">
                    </span><span class="str">'icon'</span><span class="pln"> </span><span class="pun">=&gt;</span><span class="pln"> </span><span class="str">'icon-cogs'</span><span class="pun">,</span><span class="pln">
                </span><span class="pun">],</span><span class="pln">
                </span><span class="str">'input'</span><span class="pln"> </span><span class="pun">=&gt;</span><span class="pln"> </span><span class="pun">[</span><span class="pln">
                    </span><span class="pun">[</span><span class="pln">
                        </span><span class="str">'type'</span><span class="pln"> </span><span class="pun">=&gt;</span><span class="pln"> </span><span class="str">'radio'</span><span class="pun">,</span><span class="pln">
                        </span><span class="str">'label'</span><span class="pln"> </span><span class="pun">=&gt;</span><span class="pln"> $this</span><span class="pun">-&gt;</span><span class="pln">getTranslator</span><span class="pun">()-&gt;</span><span class="pln">trans</span><span class="pun">(</span><span class="str">'Category root'</span><span class="pun">,</span><span class="pln"> </span><span class="pun">[],</span><span class="pln"> </span><span class="str">'Modules.Categorytree.Admin'</span><span class="pun">),</span><span class="pln">
                        </span><span class="str">'name'</span><span class="pln"> </span><span class="pun">=&gt;</span><span class="pln"> </span><span class="str">'BLOCK_CATEG_ROOT_CATEGORY'</span><span class="pun">,</span><span class="pln">
                        </span><span class="str">'hint'</span><span class="pln"> </span><span class="pun">=&gt;</span><span class="pln"> $this</span><span class="pun">-&gt;</span><span class="pln">getTranslator</span><span class="pun">()-&gt;</span><span class="pln">trans</span><span class="pun">(</span><span class="str">'Select which category is displayed in the block. The current category is the one the visitor is currently browsing.'</span><span class="pun">,</span><span class="pln"> </span><span class="pun">[],</span><span class="pln"> </span><span class="str">'Modules.Categorytree.Admin'</span><span class="pun">),</span><span class="pln">
                        </span><span class="str">'values'</span><span class="pln"> </span><span class="pun">=&gt;</span><span class="pln"> </span><span class="pun">[</span><span class="pln">
                            </span><span class="pun">[</span><span class="pln">
                                </span><span class="str">'id'</span><span class="pln"> </span><span class="pun">=&gt;</span><span class="pln"> </span><span class="str">'home'</span><span class="pun">,</span><span class="pln">
                                </span><span class="str">'value'</span><span class="pln"> </span><span class="pun">=&gt;</span><span class="pln"> </span><span class="lit">0</span><span class="pun">,</span><span class="pln">
                                </span><span class="str">'label'</span><span class="pln"> </span><span class="pun">=&gt;</span><span class="pln"> $this</span><span class="pun">-&gt;</span><span class="pln">getTranslator</span><span class="pun">()-&gt;</span><span class="pln">trans</span><span class="pun">(</span><span class="str">'Home category'</span><span class="pun">,</span><span class="pln"> </span><span class="pun">[],</span><span class="pln"> </span><span class="str">'Modules.Categorytree.Admin'</span><span class="pun">),</span><span class="pln">
                            </span><span class="pun">],</span><span class="pln">
                            </span><span class="pun">[</span><span class="pln">
                                </span><span class="str">'id'</span><span class="pln"> </span><span class="pun">=&gt;</span><span class="pln"> </span><span class="str">'current'</span><span class="pun">,</span><span class="pln">
                                </span><span class="str">'value'</span><span class="pln"> </span><span class="pun">=&gt;</span><span class="pln"> </span><span class="lit">1</span><span class="pun">,</span><span class="pln">
                                </span><span class="str">'label'</span><span class="pln"> </span><span class="pun">=&gt;</span><span class="pln"> $this</span><span class="pun">-&gt;</span><span class="pln">getTranslator</span><span class="pun">()-&gt;</span><span class="pln">trans</span><span class="pun">(</span><span class="str">'Current category'</span><span class="pun">,</span><span class="pln"> </span><span class="pun">[],</span><span class="pln"> </span><span class="str">'Modules.Categorytree.Admin'</span><span class="pun">),</span><span class="pln">
                            </span><span class="pun">],</span><span class="pln">
                            </span><span class="pun">[</span><span class="pln">
                                </span><span class="str">'id'</span><span class="pln"> </span><span class="pun">=&gt;</span><span class="pln"> </span><span class="str">'parent'</span><span class="pun">,</span><span class="pln">
                                </span><span class="str">'value'</span><span class="pln"> </span><span class="pun">=&gt;</span><span class="pln"> </span><span class="lit">2</span><span class="pun">,</span><span class="pln">
                                </span><span class="str">'label'</span><span class="pln"> </span><span class="pun">=&gt;</span><span class="pln"> $this</span><span class="pun">-&gt;</span><span class="pln">getTranslator</span><span class="pun">()-&gt;</span><span class="pln">trans</span><span class="pun">(</span><span class="str">'Parent category'</span><span class="pun">,</span><span class="pln"> </span><span class="pun">[],</span><span class="pln"> </span><span class="str">'Modules.Categorytree.Admin'</span><span class="pun">),</span><span class="pln">
                            </span><span class="pun">],</span><span class="pln">
                            </span><span class="pun">[</span><span class="pln">
                                </span><span class="str">'id'</span><span class="pln"> </span><span class="pun">=&gt;</span><span class="pln"> </span><span class="str">'current_parent'</span><span class="pun">,</span><span class="pln">
                                </span><span class="str">'value'</span><span class="pln"> </span><span class="pun">=&gt;</span><span class="pln"> </span><span class="lit">3</span><span class="pun">,</span><span class="pln">
                                </span><span class="str">'label'</span><span class="pln"> </span><span class="pun">=&gt;</span><span class="pln"> $this</span><span class="pun">-&gt;</span><span class="pln">getTranslator</span><span class="pun">()-&gt;</span><span class="pln">trans</span><span class="pun">(</span><span class="str">'Current category, unless it has no subcategories, in which case the parent category of the current category is used'</span><span class="pun">,</span><span class="pln"> </span><span class="pun">[],</span><span class="pln"> </span><span class="str">'Modules.Categorytree.Admin'</span><span class="pun">),</span><span class="pln">
                            </span><span class="pun">],</span><span class="pln">
                        </span><span class="pun">],</span><span class="pln">
                    </span><span class="pun">],</span><span class="pln">
                    </span><span class="pun">[</span><span class="pln">
                        </span><span class="str">'type'</span><span class="pln"> </span><span class="pun">=&gt;</span><span class="pln"> </span><span class="str">'text'</span><span class="pun">,</span><span class="pln">
                        </span><span class="str">'label'</span><span class="pln"> </span><span class="pun">=&gt;</span><span class="pln"> $this</span><span class="pun">-&gt;</span><span class="pln">getTranslator</span><span class="pun">()-&gt;</span><span class="pln">trans</span><span class="pun">(</span><span class="str">'Maximum depth'</span><span class="pun">,</span><span class="pln"> </span><span class="pun">[],</span><span class="pln"> </span><span class="str">'Modules.Categorytree.Admin'</span><span class="pun">),</span><span class="pln">
                        </span><span class="str">'name'</span><span class="pln"> </span><span class="pun">=&gt;</span><span class="pln"> </span><span class="str">'BLOCK_CATEG_MAX_DEPTH'</span><span class="pun">,</span><span class="pln">
                        </span><span class="str">'desc'</span><span class="pln"> </span><span class="pun">=&gt;</span><span class="pln"> $this</span><span class="pun">-&gt;</span><span class="pln">getTranslator</span><span class="pun">()-&gt;</span><span class="pln">trans</span><span class="pun">(</span><span class="str">'Set the maximum depth of category sublevels displayed in this block (0 = infinite).'</span><span class="pun">,</span><span class="pln"> </span><span class="pun">[],</span><span class="pln"> </span><span class="str">'Modules.Categorytree.Admin'</span><span class="pun">),</span><span class="pln">
                    </span><span class="pun">],</span><span class="pln">
                    </span><span class="pun">[</span><span class="pln">
                        </span><span class="str">'type'</span><span class="pln"> </span><span class="pun">=&gt;</span><span class="pln"> </span><span class="str">'radio'</span><span class="pun">,</span><span class="pln">
                        </span><span class="str">'label'</span><span class="pln"> </span><span class="pun">=&gt;</span><span class="pln"> $this</span><span class="pun">-&gt;</span><span class="pln">getTranslator</span><span class="pun">()-&gt;</span><span class="pln">trans</span><span class="pun">(</span><span class="str">'Sort'</span><span class="pun">,</span><span class="pln"> </span><span class="pun">[],</span><span class="pln"> </span><span class="str">'Admin.Actions'</span><span class="pun">),</span><span class="pln">
                        </span><span class="str">'name'</span><span class="pln"> </span><span class="pun">=&gt;</span><span class="pln"> </span><span class="str">'BLOCK_CATEG_SORT'</span><span class="pun">,</span><span class="pln">
                        </span><span class="str">'values'</span><span class="pln"> </span><span class="pun">=&gt;</span><span class="pln"> </span><span class="pun">[</span><span class="pln">
                            </span><span class="pun">[</span><span class="pln">
                                </span><span class="str">'id'</span><span class="pln"> </span><span class="pun">=&gt;</span><span class="pln"> </span><span class="str">'name'</span><span class="pun">,</span><span class="pln">
                                </span><span class="str">'value'</span><span class="pln"> </span><span class="pun">=&gt;</span><span class="pln"> </span><span class="lit">1</span><span class="pun">,</span><span class="pln">
                                </span><span class="str">'label'</span><span class="pln"> </span><span class="pun">=&gt;</span><span class="pln"> $this</span><span class="pun">-&gt;</span><span class="pln">getTranslator</span><span class="pun">()-&gt;</span><span class="pln">trans</span><span class="pun">(</span><span class="str">'By name'</span><span class="pun">,</span><span class="pln"> </span><span class="pun">[],</span><span class="pln"> </span><span class="str">'Admin.Global'</span><span class="pun">),</span><span class="pln">
                            </span><span class="pun">],</span><span class="pln">
                            </span><span class="pun">[</span><span class="pln">
                                </span><span class="str">'id'</span><span class="pln"> </span><span class="pun">=&gt;</span><span class="pln"> </span><span class="str">'position'</span><span class="pun">,</span><span class="pln">
                                </span><span class="str">'value'</span><span class="pln"> </span><span class="pun">=&gt;</span><span class="pln"> </span><span class="lit">0</span><span class="pun">,</span><span class="pln">
                                </span><span class="str">'label'</span><span class="pln"> </span><span class="pun">=&gt;</span><span class="pln"> $this</span><span class="pun">-&gt;</span><span class="pln">getTranslator</span><span class="pun">()-&gt;</span><span class="pln">trans</span><span class="pun">(</span><span class="str">'By position'</span><span class="pun">,</span><span class="pln"> </span><span class="pun">[],</span><span class="pln"> </span><span class="str">'Admin.Global'</span><span class="pun">),</span><span class="pln">
                            </span><span class="pun">],</span><span class="pln">
                        </span><span class="pun">],</span><span class="pln">
                    </span><span class="pun">],</span><span class="pln">
                    </span><span class="pun">[</span><span class="pln">
                        </span><span class="str">'type'</span><span class="pln"> </span><span class="pun">=&gt;</span><span class="pln"> </span><span class="str">'radio'</span><span class="pun">,</span><span class="pln">
                        </span><span class="str">'label'</span><span class="pln"> </span><span class="pun">=&gt;</span><span class="pln"> $this</span><span class="pun">-&gt;</span><span class="pln">getTranslator</span><span class="pun">()-&gt;</span><span class="pln">trans</span><span class="pun">(</span><span class="str">'Sort order'</span><span class="pun">,</span><span class="pln"> </span><span class="pun">[],</span><span class="pln"> </span><span class="str">'Admin.Actions'</span><span class="pun">),</span><span class="pln">
                        </span><span class="str">'name'</span><span class="pln"> </span><span class="pun">=&gt;</span><span class="pln"> </span><span class="str">'BLOCK_CATEG_SORT_WAY'</span><span class="pun">,</span><span class="pln">
                        </span><span class="str">'values'</span><span class="pln"> </span><span class="pun">=&gt;</span><span class="pln"> </span><span class="pun">[</span><span class="pln">
                            </span><span class="pun">[</span><span class="pln">
                                </span><span class="str">'id'</span><span class="pln"> </span><span class="pun">=&gt;</span><span class="pln"> </span><span class="str">'name'</span><span class="pun">,</span><span class="pln">
                                </span><span class="str">'value'</span><span class="pln"> </span><span class="pun">=&gt;</span><span class="pln"> </span><span class="lit">1</span><span class="pun">,</span><span class="pln">
                                </span><span class="str">'label'</span><span class="pln"> </span><span class="pun">=&gt;</span><span class="pln"> $this</span><span class="pun">-&gt;</span><span class="pln">getTranslator</span><span class="pun">()-&gt;</span><span class="pln">trans</span><span class="pun">(</span><span class="str">'Descending'</span><span class="pun">,</span><span class="pln"> </span><span class="pun">[],</span><span class="pln"> </span><span class="str">'Admin.Global'</span><span class="pun">),</span><span class="pln">
                            </span><span class="pun">],</span><span class="pln">
                            </span><span class="pun">[</span><span class="pln">
                                </span><span class="str">'id'</span><span class="pln"> </span><span class="pun">=&gt;</span><span class="pln"> </span><span class="str">'position'</span><span class="pun">,</span><span class="pln">
                                </span><span class="str">'value'</span><span class="pln"> </span><span class="pun">=&gt;</span><span class="pln"> </span><span class="lit">0</span><span class="pun">,</span><span class="pln">
                                </span><span class="str">'label'</span><span class="pln"> </span><span class="pun">=&gt;</span><span class="pln"> $this</span><span class="pun">-&gt;</span><span class="pln">getTranslator</span><span class="pun">()-&gt;</span><span class="pln">trans</span><span class="pun">(</span><span class="str">'Ascending'</span><span class="pun">,</span><span class="pln"> </span><span class="pun">[],</span><span class="pln"> </span><span class="str">'Admin.Global'</span><span class="pun">),</span><span class="pln">
                            </span><span class="pun">],</span><span class="pln">
                        </span><span class="pun">],</span><span class="pln">
                    </span><span class="pun">],</span><span class="pln">
                </span><span class="pun">],</span><span class="pln">
                </span><span class="str">'submit'</span><span class="pln"> </span><span class="pun">=&gt;</span><span class="pln"> </span><span class="pun">[</span><span class="pln">
                    </span><span class="str">'title'</span><span class="pln"> </span><span class="pun">=&gt;</span><span class="pln"> $this</span><span class="pun">-&gt;</span><span class="pln">getTranslator</span><span class="pun">()-&gt;</span><span class="pln">trans</span><span class="pun">(</span><span class="str">'Save'</span><span class="pun">,</span><span class="pln"> </span><span class="pun">[],</span><span class="pln"> </span><span class="str">'Admin.Actions'</span><span class="pun">),</span><span class="pln">
                </span><span class="pun">],</span><span class="pln">
            </span><span class="pun">],</span><span class="pln">
        </span><span class="pun">];</span><span class="pln">

        $helper </span><span class="pun">=</span><span class="pln"> </span><span class="kwd">new</span><span class="pln"> </span><span class="typ">HelperForm</span><span class="pun">();</span><span class="pln">
        $helper</span><span class="pun">-&gt;</span><span class="pln">show_toolbar </span><span class="pun">=</span><span class="pln"> </span><span class="kwd">false</span><span class="pun">;</span><span class="pln">
        $helper</span><span class="pun">-&gt;</span><span class="pln">table </span><span class="pun">=</span><span class="pln"> $this</span><span class="pun">-&gt;</span><span class="pln">table</span><span class="pun">;</span><span class="pln">
        $helper</span><span class="pun">-&gt;</span><span class="pln">submit_action </span><span class="pun">=</span><span class="pln"> </span><span class="str">'submitBlockCategories'</span><span class="pun">;</span><span class="pln">
        $helper</span><span class="pun">-&gt;</span><span class="pln">currentIndex </span><span class="pun">=</span><span class="pln"> $this</span><span class="pun">-&gt;</span><span class="pln">context</span><span class="pun">-&gt;</span><span class="pln">link</span><span class="pun">-&gt;</span><span class="pln">getAdminLink</span><span class="pun">(</span><span class="str">'AdminModules'</span><span class="pun">,</span><span class="pln"> </span><span class="kwd">false</span><span class="pun">)</span><span class="pln"> </span><span class="pun">.</span><span class="pln"> </span><span class="str">'&amp;configure='</span><span class="pln"> </span><span class="pun">.</span><span class="pln"> $this</span><span class="pun">-&gt;</span><span class="pln">name </span><span class="pun">.</span><span class="pln"> </span><span class="str">'&amp;tab_module='</span><span class="pln"> </span><span class="pun">.</span><span class="pln"> $this</span><span class="pun">-&gt;</span><span class="pln">tab </span><span class="pun">.</span><span class="pln"> </span><span class="str">'&amp;module_name='</span><span class="pln"> </span><span class="pun">.</span><span class="pln"> $this</span><span class="pun">-&gt;</span><span class="pln">name</span><span class="pun">;</span><span class="pln">
        $helper</span><span class="pun">-&gt;</span><span class="pln">token </span><span class="pun">=</span><span class="pln"> </span><span class="typ">Tools</span><span class="pun">::</span><span class="pln">getAdminTokenLite</span><span class="pun">(</span><span class="str">'AdminModules'</span><span class="pun">);</span><span class="pln">
        $helper</span><span class="pun">-&gt;</span><span class="pln">tpl_vars </span><span class="pun">=</span><span class="pln"> </span><span class="pun">[</span><span class="pln">
            </span><span class="str">'fields_value'</span><span class="pln"> </span><span class="pun">=&gt;</span><span class="pln"> $this</span><span class="pun">-&gt;</span><span class="pln">getConfigFieldsValues</span><span class="pun">(),</span><span class="pln">
        </span><span class="pun">];</span><span class="pln">

        </span><span class="kwd">return</span><span class="pln"> $helper</span><span class="pun">-&gt;</span><span class="pln">generateForm</span><span class="pun">([</span><span class="pln">$fields_form</span><span class="pun">]);</span><span class="pln">
    </span><span class="pun">}</span><span class="pln">

    </span><span class="kwd">public</span><span class="pln"> </span><span class="kwd">function</span><span class="pln"> getConfigFieldsValues</span><span class="pun">()</span><span class="pln">
    </span><span class="pun">{</span><span class="pln">
        </span><span class="kwd">return</span><span class="pln"> </span><span class="pun">[</span><span class="pln">
            </span><span class="str">'BLOCK_CATEG_MAX_DEPTH'</span><span class="pln"> </span><span class="pun">=&gt;</span><span class="pln"> </span><span class="typ">Tools</span><span class="pun">::</span><span class="pln">getValue</span><span class="pun">(</span><span class="str">'BLOCK_CATEG_MAX_DEPTH'</span><span class="pun">,</span><span class="pln"> </span><span class="typ">Configuration</span><span class="pun">::</span><span class="kwd">get</span><span class="pun">(</span><span class="str">'BLOCK_CATEG_MAX_DEPTH'</span><span class="pun">)),</span><span class="pln">
            </span><span class="str">'BLOCK_CATEG_SORT_WAY'</span><span class="pln"> </span><span class="pun">=&gt;</span><span class="pln"> </span><span class="typ">Tools</span><span class="pun">::</span><span class="pln">getValue</span><span class="pun">(</span><span class="str">'BLOCK_CATEG_SORT_WAY'</span><span class="pun">,</span><span class="pln"> </span><span class="typ">Configuration</span><span class="pun">::</span><span class="kwd">get</span><span class="pun">(</span><span class="str">'BLOCK_CATEG_SORT_WAY'</span><span class="pun">)),</span><span class="pln">
            </span><span class="str">'BLOCK_CATEG_SORT'</span><span class="pln"> </span><span class="pun">=&gt;</span><span class="pln"> </span><span class="typ">Tools</span><span class="pun">::</span><span class="pln">getValue</span><span class="pun">(</span><span class="str">'BLOCK_CATEG_SORT'</span><span class="pun">,</span><span class="pln"> </span><span class="typ">Configuration</span><span class="pun">::</span><span class="kwd">get</span><span class="pun">(</span><span class="str">'BLOCK_CATEG_SORT'</span><span class="pun">)),</span><span class="pln">
            </span><span class="str">'BLOCK_CATEG_ROOT_CATEGORY'</span><span class="pln"> </span><span class="pun">=&gt;</span><span class="pln"> </span><span class="typ">Tools</span><span class="pun">::</span><span class="pln">getValue</span><span class="pun">(</span><span class="str">'BLOCK_CATEG_ROOT_CATEGORY'</span><span class="pun">,</span><span class="pln"> </span><span class="typ">Configuration</span><span class="pun">::</span><span class="kwd">get</span><span class="pun">(</span><span class="str">'BLOCK_CATEG_ROOT_CATEGORY'</span><span class="pun">)),</span><span class="pln">
        </span><span class="pun">];</span><span class="pln">
    </span><span class="pun">}</span><span class="pln">

    </span><span class="kwd">public</span><span class="pln"> </span><span class="kwd">function</span><span class="pln"> setLastVisitedCategory</span><span class="pun">()</span><span class="pln">
    </span><span class="pun">{</span><span class="pln">
        </span><span class="kwd">if</span><span class="pln"> </span><span class="pun">(</span><span class="pln">method_exists</span><span class="pun">(</span><span class="pln">$this</span><span class="pun">-&gt;</span><span class="pln">context</span><span class="pun">-&gt;</span><span class="pln">controller</span><span class="pun">,</span><span class="pln"> </span><span class="str">'getCategory'</span><span class="pun">)</span><span class="pln"> </span><span class="pun">&amp;&amp;</span><span class="pln"> </span><span class="pun">(</span><span class="pln">$category </span><span class="pun">=</span><span class="pln"> $this</span><span class="pun">-&gt;</span><span class="pln">context</span><span class="pun">-&gt;</span><span class="pln">controller</span><span class="pun">-&gt;</span><span class="pln">getCategory</span><span class="pun">()))</span><span class="pln"> </span><span class="pun">{</span><span class="pln">
            $this</span><span class="pun">-&gt;</span><span class="pln">context</span><span class="pun">-&gt;</span><span class="pln">cookie</span><span class="pun">-&gt;</span><span class="pln">last_visited_category </span><span class="pun">=</span><span class="pln"> $category</span><span class="pun">-&gt;</span><span class="pln">id</span><span class="pun">;</span><span class="pln">
        </span><span class="pun">}</span><span class="pln"> elseif </span><span class="pun">(</span><span class="pln">method_exists</span><span class="pun">(</span><span class="pln">$this</span><span class="pun">-&gt;</span><span class="pln">context</span><span class="pun">-&gt;</span><span class="pln">controller</span><span class="pun">,</span><span class="pln"> </span><span class="str">'getProduct'</span><span class="pun">)</span><span class="pln"> </span><span class="pun">&amp;&amp;</span><span class="pln"> </span><span class="pun">(</span><span class="pln">$product </span><span class="pun">=</span><span class="pln"> $this</span><span class="pun">-&gt;</span><span class="pln">context</span><span class="pun">-&gt;</span><span class="pln">controller</span><span class="pun">-&gt;</span><span class="pln">getProduct</span><span class="pun">()))</span><span class="pln"> </span><span class="pun">{</span><span class="pln">
            </span><span class="kwd">if</span><span class="pln"> </span><span class="pun">(!</span><span class="pln">isset</span><span class="pun">(</span><span class="pln">$this</span><span class="pun">-&gt;</span><span class="pln">context</span><span class="pun">-&gt;</span><span class="pln">cookie</span><span class="pun">-&gt;</span><span class="pln">last_visited_category</span><span class="pun">)</span><span class="pln">
                </span><span class="pun">||</span><span class="pln"> </span><span class="pun">!</span><span class="typ">Product</span><span class="pun">::</span><span class="pln">idIsOnCategoryId</span><span class="pun">(</span><span class="pln">$product</span><span class="pun">-&gt;</span><span class="pln">id</span><span class="pun">,</span><span class="pln"> </span><span class="pun">[[</span><span class="str">'id_category'</span><span class="pln"> </span><span class="pun">=&gt;</span><span class="pln"> $this</span><span class="pun">-&gt;</span><span class="pln">context</span><span class="pun">-&gt;</span><span class="pln">cookie</span><span class="pun">-&gt;</span><span class="pln">last_visited_category</span><span class="pun">]])</span><span class="pln">
                </span><span class="pun">||</span><span class="pln"> </span><span class="pun">!</span><span class="typ">Category</span><span class="pun">::</span><span class="pln">inShopStatic</span><span class="pun">(</span><span class="pln">$this</span><span class="pun">-&gt;</span><span class="pln">context</span><span class="pun">-&gt;</span><span class="pln">cookie</span><span class="pun">-&gt;</span><span class="pln">last_visited_category</span><span class="pun">,</span><span class="pln"> $this</span><span class="pun">-&gt;</span><span class="pln">context</span><span class="pun">-&gt;</span><span class="pln">shop</span><span class="pun">)</span><span class="pln">
            </span><span class="pun">)</span><span class="pln"> </span><span class="pun">{</span><span class="pln">
                $this</span><span class="pun">-&gt;</span><span class="pln">context</span><span class="pun">-&gt;</span><span class="pln">cookie</span><span class="pun">-&gt;</span><span class="pln">last_visited_category </span><span class="pun">=</span><span class="pln"> </span><span class="pun">(</span><span class="kwd">int</span><span class="pun">)</span><span class="pln"> $product</span><span class="pun">-&gt;</span><span class="pln">id_category_default</span><span class="pun">;</span><span class="pln">
            </span><span class="pun">}</span><span class="pln">
        </span><span class="pun">}</span><span class="pln">
    </span><span class="pun">}</span><span class="pln">

    </span><span class="kwd">public</span><span class="pln"> </span><span class="kwd">function</span><span class="pln"> renderWidget</span><span class="pun">(</span><span class="pln">$hookName </span><span class="pun">=</span><span class="pln"> </span><span class="kwd">null</span><span class="pun">,</span><span class="pln"> array $configuration </span><span class="pun">=</span><span class="pln"> </span><span class="pun">[])</span><span class="pln">
    </span><span class="pun">{</span><span class="pln">
        $this</span><span class="pun">-&gt;</span><span class="pln">setLastVisitedCategory</span><span class="pun">();</span><span class="pln">
        $this</span><span class="pun">-&gt;</span><span class="pln">smarty</span><span class="pun">-&gt;</span><span class="pln">assign</span><span class="pun">(</span><span class="pln">$this</span><span class="pun">-&gt;</span><span class="pln">getWidgetVariables</span><span class="pun">(</span><span class="pln">$hookName</span><span class="pun">,</span><span class="pln"> $configuration</span><span class="pun">));</span><span class="pln">

        </span><span class="kwd">return</span><span class="pln"> $this</span><span class="pun">-&gt;</span><span class="pln">fetch</span><span class="pun">(</span><span class="str">'module:ps_categorytree/views/templates/hook/ps_categorytree.tpl'</span><span class="pun">);</span><span class="pln">
    </span><span class="pun">}</span><span class="pln">

    </span><span class="kwd">public</span><span class="pln"> </span><span class="kwd">function</span><span class="pln"> getWidgetVariables</span><span class="pun">(</span><span class="pln">$hookName </span><span class="pun">=</span><span class="pln"> </span><span class="kwd">null</span><span class="pun">,</span><span class="pln"> array $configuration </span><span class="pun">=</span><span class="pln"> </span><span class="pun">[])</span><span class="pln">
    </span><span class="pun">{</span><span class="pln">
        $category </span><span class="pun">=</span><span class="pln"> </span><span class="kwd">new</span><span class="pln"> </span><span class="typ">Category</span><span class="pun">((</span><span class="kwd">int</span><span class="pun">)</span><span class="pln"> </span><span class="typ">Configuration</span><span class="pun">::</span><span class="kwd">get</span><span class="pun">(</span><span class="str">'PS_HOME_CATEGORY'</span><span class="pun">),</span><span class="pln"> $this</span><span class="pun">-&gt;</span><span class="pln">context</span><span class="pun">-&gt;</span><span class="pln">language</span><span class="pun">-&gt;</span><span class="pln">id</span><span class="pun">);</span><span class="pln">

        </span><span class="kwd">if</span><span class="pln"> </span><span class="pun">(</span><span class="typ">Configuration</span><span class="pun">::</span><span class="kwd">get</span><span class="pun">(</span><span class="str">'BLOCK_CATEG_ROOT_CATEGORY'</span><span class="pun">)</span><span class="pln"> </span><span class="pun">&amp;&amp;</span><span class="pln"> isset</span><span class="pun">(</span><span class="pln">$this</span><span class="pun">-&gt;</span><span class="pln">context</span><span class="pun">-&gt;</span><span class="pln">cookie</span><span class="pun">-&gt;</span><span class="pln">last_visited_category</span><span class="pun">)</span><span class="pln"> </span><span class="pun">&amp;&amp;</span><span class="pln"> $this</span><span class="pun">-&gt;</span><span class="pln">context</span><span class="pun">-&gt;</span><span class="pln">cookie</span><span class="pun">-&gt;</span><span class="pln">last_visited_category</span><span class="pun">)</span><span class="pln"> </span><span class="pun">{</span><span class="pln">
            $category </span><span class="pun">=</span><span class="pln"> </span><span class="kwd">new</span><span class="pln"> </span><span class="typ">Category</span><span class="pun">(</span><span class="pln">$this</span><span class="pun">-&gt;</span><span class="pln">context</span><span class="pun">-&gt;</span><span class="pln">cookie</span><span class="pun">-&gt;</span><span class="pln">last_visited_category</span><span class="pun">,</span><span class="pln"> $this</span><span class="pun">-&gt;</span><span class="pln">context</span><span class="pun">-&gt;</span><span class="pln">language</span><span class="pun">-&gt;</span><span class="pln">id</span><span class="pun">);</span><span class="pln">
            </span><span class="kwd">if</span><span class="pln"> </span><span class="pun">(</span><span class="typ">Configuration</span><span class="pun">::</span><span class="kwd">get</span><span class="pun">(</span><span class="str">'BLOCK_CATEG_ROOT_CATEGORY'</span><span class="pun">)</span><span class="pln"> </span><span class="pun">==</span><span class="pln"> </span><span class="lit">2</span><span class="pln"> </span><span class="pun">&amp;&amp;</span><span class="pln"> </span><span class="pun">!</span><span class="pln">$category</span><span class="pun">-&gt;</span><span class="pln">is_root_category </span><span class="pun">&amp;&amp;</span><span class="pln"> $category</span><span class="pun">-&gt;</span><span class="pln">id_parent</span><span class="pun">)</span><span class="pln"> </span><span class="pun">{</span><span class="pln">
                $category </span><span class="pun">=</span><span class="pln"> </span><span class="kwd">new</span><span class="pln"> </span><span class="typ">Category</span><span class="pun">(</span><span class="pln">$category</span><span class="pun">-&gt;</span><span class="pln">id_parent</span><span class="pun">,</span><span class="pln"> $this</span><span class="pun">-&gt;</span><span class="pln">context</span><span class="pun">-&gt;</span><span class="pln">language</span><span class="pun">-&gt;</span><span class="pln">id</span><span class="pun">);</span><span class="pln">
            </span><span class="pun">}</span><span class="pln"> elseif </span><span class="pun">(</span><span class="typ">Configuration</span><span class="pun">::</span><span class="kwd">get</span><span class="pun">(</span><span class="str">'BLOCK_CATEG_ROOT_CATEGORY'</span><span class="pun">)</span><span class="pln"> </span><span class="pun">==</span><span class="pln"> </span><span class="lit">3</span><span class="pln"> </span><span class="pun">&amp;&amp;</span><span class="pln"> </span><span class="pun">!</span><span class="pln">$category</span><span class="pun">-&gt;</span><span class="pln">is_root_category </span><span class="pun">&amp;&amp;</span><span class="pln"> </span><span class="pun">!</span><span class="pln">$category</span><span class="pun">-&gt;</span><span class="pln">getSubCategories</span><span class="pun">(</span><span class="pln">$category</span><span class="pun">-&gt;</span><span class="pln">id</span><span class="pun">,</span><span class="pln"> </span><span class="kwd">true</span><span class="pun">))</span><span class="pln"> </span><span class="pun">{</span><span class="pln">
                $category </span><span class="pun">=</span><span class="pln"> </span><span class="kwd">new</span><span class="pln"> </span><span class="typ">Category</span><span class="pun">(</span><span class="pln">$category</span><span class="pun">-&gt;</span><span class="pln">id_parent</span><span class="pun">,</span><span class="pln"> $this</span><span class="pun">-&gt;</span><span class="pln">context</span><span class="pun">-&gt;</span><span class="pln">language</span><span class="pun">-&gt;</span><span class="pln">id</span><span class="pun">);</span><span class="pln">
            </span><span class="pun">}</span><span class="pln">
        </span><span class="pun">}</span><span class="pln">

        $categories </span><span class="pun">=</span><span class="pln"> $this</span><span class="pun">-&gt;</span><span class="pln">getCategories</span><span class="pun">(</span><span class="pln">$category</span><span class="pun">);</span><span class="pln">
</span><span class="kwd">return</span><span class="pln"> </span><span class="pun">[</span><span class="pln">
</span><span class="str">'categories'</span><span class="pln"> </span><span class="pun">=&gt;</span><span class="pln"> $categories</span><span class="pun">,</span><span class="pln">
</span><span class="str">'c_tree_path'</span><span class="pln"> </span><span class="pun">=&gt;</span><span class="pln"> isset</span><span class="pun">(</span><span class="pln">$categories</span><span class="pun">[</span><span class="str">'children'</span><span class="pun">])</span><span class="pln"> </span><span class="pun">&amp;&amp;</span><span class="pln"> count</span><span class="pun">(</span><span class="pln">$categories</span><span class="pun">[</span><span class="str">'children'</span><span class="pun">])</span><span class="pln"> </span><span class="pun">&amp;&amp;</span><span class="pln"> method_exists</span><span class="pun">(</span><span class="pln">$this</span><span class="pun">-&gt;</span><span class="pln">context</span><span class="pun">-&gt;</span><span class="pln">controller</span><span class="pun">,</span><span class="pln"> </span><span class="str">'getCategory'</span><span class="pun">)</span><span class="pln"> </span><span class="pun">&amp;&amp;</span><span class="pln"> </span><span class="pun">(</span><span class="pln">$curr_category </span><span class="pun">=</span><span class="pln"> $this</span><span class="pun">-&gt;</span><span class="pln">context</span><span class="pun">-&gt;</span><span class="pln">controller</span><span class="pun">-&gt;</span><span class="pln">getCategory</span><span class="pun">())</span><span class="pln"> </span><span class="pun">?</span><span class="pln"> </span><span class="kwd">self</span><span class="pun">::</span><span class="pln">getTreePath</span><span class="pun">(</span><span class="pln">$categories</span><span class="pun">[</span><span class="str">'children'</span><span class="pun">],</span><span class="pln"> $curr_category</span><span class="pun">-&gt;</span><span class="pln">id</span><span class="pun">)</span><span class="pln"> </span><span class="pun">:</span><span class="pln"> </span><span class="kwd">false</span><span class="pun">,</span><span class="pln">
</span><span class="str">'currentCategory'</span><span class="pln"> </span><span class="pun">=&gt;</span><span class="pln"> $category</span><span class="pun">-&gt;</span><span class="pln">id</span><span class="pun">,</span><span class="pln">
</span><span class="pun">];</span><span class="pln">
    </span><span class="pun">}</span><span class="pln">
	
	</span><span class="kwd">public</span><span class="pln"> </span><span class="kwd">static</span><span class="pln"> </span><span class="kwd">function</span><span class="pln"> getTreePath</span><span class="pun">(</span><span class="pln">$categories</span><span class="pun">,</span><span class="pln"> $id</span><span class="pun">,</span><span class="pln"> array $path </span><span class="pun">=</span><span class="pln"> </span><span class="pun">[])</span><span class="pln">
</span><span class="pun">{</span><span class="pln">
    </span><span class="kwd">foreach</span><span class="pln"> </span><span class="pun">(</span><span class="pln">$categories </span><span class="kwd">as</span><span class="pln"> $cate</span><span class="pun">)</span><span class="pln"> </span><span class="pun">{</span><span class="pln">
        </span><span class="kwd">if</span><span class="pln"> </span><span class="pun">(</span><span class="pln">$cate</span><span class="pun">[</span><span class="str">'id'</span><span class="pun">]</span><span class="pln"> </span><span class="pun">==</span><span class="pln"> $id</span><span class="pun">){</span><span class="pln">
            </span><span class="kwd">if</span><span class="pun">(</span><span class="pln">is_array</span><span class="pun">(</span><span class="pln">$cate</span><span class="pun">[</span><span class="str">'children'</span><span class="pun">])</span><span class="pln"> </span><span class="pun">&amp;&amp;</span><span class="pln"> count</span><span class="pun">(</span><span class="pln">$cate</span><span class="pun">[</span><span class="str">'children'</span><span class="pun">]))</span><span class="pln">
                $path</span><span class="pun">[]</span><span class="pln"> </span><span class="pun">=</span><span class="pln"> $cate</span><span class="pun">[</span><span class="str">'id'</span><span class="pun">];</span><span class="pln">
            </span><span class="kwd">return</span><span class="pln"> $path</span><span class="pun">;</span><span class="pln">
        </span><span class="pun">}</span><span class="pln">
        $path</span><span class="pun">[]</span><span class="pln"> </span><span class="pun">=</span><span class="pln"> $cate</span><span class="pun">[</span><span class="str">'id'</span><span class="pun">];</span><span class="pln">
        </span><span class="kwd">if</span><span class="pun">(</span><span class="pln">is_array</span><span class="pun">(</span><span class="pln">$cate</span><span class="pun">[</span><span class="str">'children'</span><span class="pun">])</span><span class="pln"> </span><span class="pun">&amp;&amp;</span><span class="pln"> count</span><span class="pun">(</span><span class="pln">$cate</span><span class="pun">[</span><span class="str">'children'</span><span class="pun">]))</span><span class="pln"> </span><span class="pun">{</span><span class="pln">
            </span><span class="kwd">if</span><span class="pln"> </span><span class="pun">(</span><span class="pln">$result </span><span class="pun">=</span><span class="pln"> </span><span class="kwd">self</span><span class="pun">::</span><span class="pln">getTreePath</span><span class="pun">(</span><span class="pln">$cate</span><span class="pun">[</span><span class="str">'children'</span><span class="pun">],</span><span class="pln"> $id</span><span class="pun">,</span><span class="pln"> $path</span><span class="pun">))</span><span class="pln">
                </span><span class="kwd">return</span><span class="pln"> $result</span><span class="pun">;</span><span class="pln">
        </span><span class="pun">}</span><span class="pln">
        array_pop</span><span class="pun">(</span><span class="pln">$path</span><span class="pun">);</span><span class="pln">
    </span><span class="pun">}</span><span class="pln">
    </span><span class="kwd">return</span><span class="pln"> </span><span class="kwd">false</span><span class="pun">;</span><span class="pln">
</span><span class="pun">}</span><span class="pln">
	
</span><span class="kwd">public</span><span class="pln"> </span><span class="kwd">static</span><span class="pln"> </span><span class="kwd">function</span><span class="pln"> countProductInCat</span><span class="pun">(</span><span class="pln">$idCategory</span><span class="pun">){</span><span class="pln">
$category</span><span class="pun">=</span><span class="kwd">new</span><span class="pln"> </span><span class="typ">Category</span><span class="pun">((</span><span class="kwd">int</span><span class="pun">)</span><span class="pln">$idCategory</span><span class="pun">);</span><span class="pln">
$id_lang</span><span class="pun">=</span><span class="typ">Context</span><span class="pun">::</span><span class="pln">getContext</span><span class="pun">()-&gt;</span><span class="pln">language</span><span class="pun">-&gt;</span><span class="pln">id</span><span class="pun">;</span><span class="pln">
$productCount</span><span class="pun">=</span><span class="pln">$category</span><span class="pun">-&gt;</span><span class="pln">getProducts</span><span class="pun">(</span><span class="pln">$id_lang</span><span class="pun">,</span><span class="pln"> </span><span class="lit">1</span><span class="pun">,</span><span class="pln"> </span><span class="lit">10000</span><span class="pun">,</span><span class="pln"> </span><span class="kwd">null</span><span class="pun">,</span><span class="pln"> </span><span class="kwd">null</span><span class="pun">,</span><span class="pln"> </span><span class="kwd">false</span><span class="pun">);</span><span class="pln">
</span><span class="kwd">return</span><span class="pln"> $productCount</span><span class="pun">;</span><span class="pln">
</span><span class="pun">}</span><span class="pln">
	
	
</span><span class="pun">}</span></pre>

<p>
	And this is the edited (and overrided) file modules/ps_categorytree/views/templates/hook/ps_categorytree.tpl
</p>

<pre class="ipsCode prettyprint lang-php prettyprinted"><span class="pun">{</span><span class="kwd">function</span><span class="pln"> name</span><span class="pun">=</span><span class="str">"categories"</span><span class="pln"> nodes</span><span class="pun">=[]</span><span class="pln"> depth</span><span class="pun">=</span><span class="lit">0</span><span class="pun">}</span><span class="pln">
  </span><span class="pun">{</span><span class="pln">strip</span><span class="pun">}</span><span class="pln">
    </span><span class="pun">{</span><span class="kwd">if</span><span class="pln"> $nodes</span><span class="pun">|</span><span class="pln">count</span><span class="pun">}</span><span class="pln">
	
      </span><span class="pun">&lt;</span><span class="pln">ul </span><span class="kwd">class</span><span class="pun">=</span><span class="str">"category-sub-menu"</span><span class="pun">&gt;</span><span class="pln">
        </span><span class="pun">{</span><span class="kwd">foreach</span><span class="pln"> </span><span class="kwd">from</span><span class="pun">=</span><span class="pln">$nodes item</span><span class="pun">=</span><span class="pln">node</span><span class="pun">}</span><span class="pln">
		
		</span><span class="pun">{</span><span class="pln">assign </span><span class="kwd">var</span><span class="pun">=</span><span class="pln">category_products </span><span class="kwd">value</span><span class="pun">=</span><span class="typ">Module</span><span class="pun">::</span><span class="pln">getInstanceByName</span><span class="pun">(</span><span class="str">'ps_categorytree'</span><span class="pun">)-&gt;</span><span class="pln">countProductInCat</span><span class="pun">(</span><span class="pln">$node</span><span class="pun">.</span><span class="pln">id</span><span class="pun">)}</span><span class="pln">
		
          </span><span class="pun">&lt;</span><span class="pln">li data</span><span class="pun">-</span><span class="pln">depth</span><span class="pun">=</span><span class="str">"{$depth}"</span><span class="pln">  </span><span class="kwd">class</span><span class="pun">=</span><span class="str">"{if (isset($category) &amp;&amp; is_array($category) &amp;&amp; isset($category.id) &amp;&amp; $category.id==$node.id) || (isset($id_category_current) &amp;&amp; $id_category_current==$node.id)} current_cate {/if}"</span><span class="pun">&gt;</span><span class="pln">
            </span><span class="pun">{</span><span class="kwd">if</span><span class="pln"> $depth</span><span class="pun">===</span><span class="lit">0</span><span class="pun">}</span><span class="pln">
              </span><span class="pun">&lt;</span><span class="pln">a href</span><span class="pun">=</span><span class="str">"{$node.link}"</span><span class="pun">&gt;{</span><span class="pln">$node</span><span class="pun">.</span><span class="pln">name</span><span class="pun">}</span><span class="pln"> </span><span class="pun">({</span><span class="pln">count</span><span class="pun">(</span><span class="pln">$category_products</span><span class="pun">)})&lt;/</span><span class="pln">a</span><span class="pun">&gt;</span><span class="pln">
              </span><span class="pun">{</span><span class="kwd">if</span><span class="pln"> $node</span><span class="pun">.</span><span class="pln">children</span><span class="pun">}</span><span class="pln">
                </span><span class="pun">&lt;</span><span class="pln">span </span><span class="kwd">class</span><span class="pun">=</span><span class="str">"collapse-icons{if $c_tree_path &amp;&amp; !in_array($node.id, $c_tree_path)} collapsed{/if}"</span><span class="pln"> data</span><span class="pun">-</span><span class="pln">toggle</span><span class="pun">=</span><span class="str">"collapse"</span><span class="pln"> data</span><span class="pun">-</span><span class="pln">target</span><span class="pun">=</span><span class="str">"#exCollapsingNavbar{$node.id}"</span><span class="pln"> aria</span><span class="pun">-</span><span class="pln">expanded</span><span class="pun">=</span><span class="str">"{if $c_tree_path &amp;&amp; in_array($node.id, $c_tree_path)}true{else}false{/if}"</span><span class="pun">&gt;</span><span class="pln">
                  </span><span class="pun">&lt;</span><span class="pln">i </span><span class="kwd">class</span><span class="pun">=</span><span class="str">"fa fa-angle-down add"</span><span class="pln"> aria</span><span class="pun">-</span><span class="pln">hidden</span><span class="pun">=</span><span class="str">"true"</span><span class="pun">&gt;&lt;/</span><span class="pln">i</span><span class="pun">&gt;</span><span class="pln">
                  </span><span class="pun">&lt;</span><span class="pln">i </span><span class="kwd">class</span><span class="pun">=</span><span class="str">"fa fa-angle-up remove"</span><span class="pln"> aria</span><span class="pun">-</span><span class="pln">hidden</span><span class="pun">=</span><span class="str">"true"</span><span class="pun">&gt;&lt;/</span><span class="pln">i</span><span class="pun">&gt;</span><span class="pln">
                </span><span class="pun">&lt;/</span><span class="pln">span</span><span class="pun">&gt;</span><span class="pln">
                </span><span class="pun">&lt;</span><span class="pln">div </span><span class="kwd">class</span><span class="pun">=</span><span class="str">"collapse{if $c_tree_path &amp;&amp; in_array($node.id, $c_tree_path)} show{/if}"</span><span class="pln"> id</span><span class="pun">=</span><span class="str">"exCollapsingNavbar{$node.id}"</span><span class="pun">&gt;</span><span class="pln">
                  </span><span class="pun">{</span><span class="pln">categories nodes</span><span class="pun">=</span><span class="pln">$node</span><span class="pun">.</span><span class="pln">children depth</span><span class="pun">=</span><span class="pln">$depth</span><span class="pun">+</span><span class="lit">1</span><span class="pun">}</span><span class="pln">
                </span><span class="pun">&lt;/</span><span class="pln">div</span><span class="pun">&gt;</span><span class="pln">
              </span><span class="pun">{/</span><span class="kwd">if</span><span class="pun">}</span><span class="pln">
            </span><span class="pun">{</span><span class="kwd">else</span><span class="pun">}</span><span class="pln">
              </span><span class="pun">&lt;</span><span class="pln">a </span><span class="kwd">class</span><span class="pun">=</span><span class="str">"category-sub-link"</span><span class="pln"> href</span><span class="pun">=</span><span class="str">"{$node.link}"</span><span class="pun">&gt;{</span><span class="pln">$node</span><span class="pun">.</span><span class="pln">name</span><span class="pun">}</span><span class="pln"> </span><span class="pun">({</span><span class="pln">count</span><span class="pun">(</span><span class="pln">$category_products</span><span class="pun">)})&lt;/</span><span class="pln">a</span><span class="pun">&gt;</span><span class="pln">
              </span><span class="pun">{</span><span class="kwd">if</span><span class="pln"> $node</span><span class="pun">.</span><span class="pln">children</span><span class="pun">}</span><span class="pln">
                </span><span class="pun">&lt;</span><span class="pln">span </span><span class="kwd">class</span><span class="pun">=</span><span class="str">"arrows{if $c_tree_path &amp;&amp; !in_array($node.id, $c_tree_path)} collapsed{/if} collapse-icons"</span><span class="pln"> data</span><span class="pun">-</span><span class="pln">toggle</span><span class="pun">=</span><span class="str">"collapse"</span><span class="pln"> data</span><span class="pun">-</span><span class="pln">target</span><span class="pun">=</span><span class="str">"#exCollapsingNavbar{$node.id}"</span><span class="pln"> aria</span><span class="pun">-</span><span class="pln">expanded</span><span class="pun">=</span><span class="str">"{if $c_tree_path &amp;&amp; in_array($node.id, $c_tree_path)}true{else}false{/if}"</span><span class="pun">&gt;</span><span class="pln">
                   </span><span class="pun">&lt;</span><span class="pln">i </span><span class="kwd">class</span><span class="pun">=</span><span class="str">"fa fa-angle-down add"</span><span class="pln"> aria</span><span class="pun">-</span><span class="pln">hidden</span><span class="pun">=</span><span class="str">"true"</span><span class="pun">&gt;&lt;/</span><span class="pln">i</span><span class="pun">&gt;</span><span class="pln">
                   </span><span class="pun">&lt;</span><span class="pln">i </span><span class="kwd">class</span><span class="pun">=</span><span class="str">"fa fa-angle-up remove"</span><span class="pln"> aria</span><span class="pun">-</span><span class="pln">hidden</span><span class="pun">=</span><span class="str">"true"</span><span class="pun">&gt;&lt;/</span><span class="pln">i</span><span class="pun">&gt;</span><span class="pln">
                </span><span class="pun">&lt;/</span><span class="pln">span</span><span class="pun">&gt;</span><span class="pln">
                </span><span class="pun">&lt;</span><span class="pln">div </span><span class="kwd">class</span><span class="pun">=</span><span class="str">"collapse{if $c_tree_path &amp;&amp; in_array($node.id, $c_tree_path)} show{/if}"</span><span class="pln"> id</span><span class="pun">=</span><span class="str">"exCollapsingNavbar{$node.id}"</span><span class="pun">&gt;</span><span class="pln">
                  </span><span class="pun">{</span><span class="pln">categories nodes</span><span class="pun">=</span><span class="pln">$node</span><span class="pun">.</span><span class="pln">children depth</span><span class="pun">=</span><span class="pln">$depth</span><span class="pun">+</span><span class="lit">1</span><span class="pun">}</span><span class="pln">
                </span><span class="pun">&lt;/</span><span class="pln">div</span><span class="pun">&gt;</span><span class="pln">
              </span><span class="pun">{/</span><span class="kwd">if</span><span class="pun">}</span><span class="pln">
            </span><span class="pun">{/</span><span class="kwd">if</span><span class="pun">}</span><span class="pln">
          </span><span class="pun">&lt;/</span><span class="pln">li</span><span class="pun">&gt;</span><span class="pln">
        </span><span class="pun">{/</span><span class="kwd">foreach</span><span class="pun">}</span><span class="pln">
      </span><span class="pun">&lt;/</span><span class="pln">ul</span><span class="pun">&gt;</span><span class="pln">
    </span><span class="pun">{/</span><span class="kwd">if</span><span class="pun">}</span><span class="pln">
  </span><span class="pun">{/</span><span class="pln">strip</span><span class="pun">}</span><span class="pln">
</span><span class="pun">{/</span><span class="kwd">function</span><span class="pun">}</span><span class="pln">


</span><span class="pun">{</span><span class="kwd">if</span><span class="pln"> $categories</span><span class="pun">.</span><span class="pln">children</span><span class="pun">|</span><span class="pln">count</span><span class="pun">}</span><span class="pln">

</span><span class="pun">{</span><span class="pln">assign </span><span class="kwd">var</span><span class="pun">=</span><span class="pln">category_products_dva </span><span class="kwd">value</span><span class="pun">=</span><span class="typ">Module</span><span class="pun">::</span><span class="pln">getInstanceByName</span><span class="pun">(</span><span class="str">'ps_categorytree'</span><span class="pun">)-&gt;</span><span class="pln">countProductInCat</span><span class="pun">(</span><span class="pln">$categories</span><span class="pun">.</span><span class="pln">id</span><span class="pun">)}</span><span class="pln">

  </span><span class="pun">&lt;</span><span class="pln">div </span><span class="kwd">class</span><span class="pun">=</span><span class="str">"block block-toggle block-categories block-links js-block-toggle"</span><span class="pun">&gt;</span><span class="pln">
    </span><span class="pun">&lt;</span><span class="pln">h5 </span><span class="kwd">class</span><span class="pun">=</span><span class="str">"block-title"</span><span class="pun">&gt;&lt;</span><span class="pln">span</span><span class="pun">&gt;&lt;</span><span class="pln">a href</span><span class="pun">=</span><span class="str">"{$categories.link nofilter}"</span><span class="pun">&gt;{</span><span class="pln">$categories</span><span class="pun">.</span><span class="pln">name</span><span class="pun">}</span><span class="pln"> </span><span class="pun">({</span><span class="pln">count</span><span class="pun">(</span><span class="pln">$category_products_dva</span><span class="pun">)})&lt;</span><span class="str">/a&gt;&lt;/</span><span class="pln">span</span><span class="pun">&gt;</span><span class="pln"> </span><span class="pun">&lt;/</span><span class="pln">h5</span><span class="pun">&gt;</span><span class="pln">
    </span><span class="pun">&lt;</span><span class="pln">div </span><span class="kwd">class</span><span class="pun">=</span><span class="str">"category-top-menu block-content"</span><span class="pun">&gt;</span><span class="pln">
      </span><span class="pun">{</span><span class="pln">categories nodes</span><span class="pun">=</span><span class="pln">$categories</span><span class="pun">.</span><span class="pln">children</span><span class="pun">}</span><span class="pln">
    </span><span class="pun">&lt;/</span><span class="pln">div</span><span class="pun">&gt;</span><span class="pln">
  </span><span class="pun">&lt;/</span><span class="pln">div</span><span class="pun">&gt;</span><span class="pln">
</span><span class="pun">{/</span><span class="kwd">if</span><span class="pun">}</span></pre>

<p>
	If anyone can help me I would really appreciate, this is an important function for my client and I can't get what I'm doing wrong.
</p>

<p>
	Thank you very much!
</p>
]]></description><guid isPermaLink="false">1065522</guid><pubDate>Mon, 27 Jun 2022 10:03:25 +0000</pubDate></item><item><title>'Contact us' link on header (solved)</title><link>https://forum.prestashop.com/topic/669895-contact-us-link-on-header-solved/</link><description><![CDATA[
<p>
	Hello!<br />
	Somehow on my header, at the top left position, where the "contact us" form is supposed to be, now there is only the words "Call us: 01234567) (our real tel. number).<br />
	I found out that the seo+url page "contact us" was missing, and I made a new one, which was added at the footer.
</p>

<p>
	How do I add the link on the header? (In trasplant hooks I wasn't able to locate it.)<br />
	Thank you
</p>

<p>
	(My theme is a child of the Classic theme.)
</p>
]]></description><guid isPermaLink="false">669895</guid><pubDate>Tue, 27 Feb 2018 13:25:46 +0000</pubDate></item><item><title>Rounding Problem</title><link>https://forum.prestashop.com/topic/649474-rounding-problem/</link><description><![CDATA[<p>
	Somebody has find a solution on price rounding problem, I'm tiret to search at google for nothing, I'm trying many ways, but problem is same, when I add 75 products per 7.00Eur final price is 525.44, not 525
</p>]]></description><guid isPermaLink="false">649474</guid><pubDate>Wed, 03 Jan 2018 13:07:49 +0000</pubDate></item><item><title>Backoffice language</title><link>https://forum.prestashop.com/topic/1093106-backoffice-language/</link><description><![CDATA[<p>
	I'm just in a process of migration from Prestashop 1.6.1.23 and have choosen to migrate to version 8.2
</p>

<p>
	The transfer of all data are made and seems to be OK.
</p>

<p>
	I have swedish as default language.
</p>

<p>
	Most of the translation is correct in frontoffice but there seems to be english translation despite my settings in backoffice.
</p>

<p>
	My test invoice to customers when I collect them as a customer are in swedish translation but when I read the same invoice in backoffice as admin I get another type of invoice and in english translation.
</p>

<p>
	Is there a special language pack for backoffice or have I missed some settings?
</p>
]]></description><guid isPermaLink="false">1093106</guid><pubDate>Thu, 05 Dec 2024 11:15:04 +0000</pubDate></item><item><title>Not able to log on prestashop 1.7.3.2</title><link>https://forum.prestashop.com/topic/1092850-not-able-to-log-on-prestashop-1732/</link><description><![CDATA[<p>
	Hello i have been reseaving this sammege while trying to log in and cant seem to find anyone els with the same problem and would like to ask for help
</p>

<p>
	 
</p>

<p>
	<img alt="BA72C931-0053-42AC-9644-D4CBC067B795.png.81f74fea353ed673e1d6b7de8ba5b34c.png" class="ipsImage ipsImage_thumbnailed" data-fileid="329522" data-ratio="30.56" style="height:auto;" width="517" data-src="//media.invisioncic.com/t336404/monthly_2024_11/BA72C931-0053-42AC-9644-D4CBC067B795.png.81f74fea353ed673e1d6b7de8ba5b34c.png" src="https://forum.prestashop.com/applications/core/interface/js/spacer.png" /></p>
]]></description><guid isPermaLink="false">1092850</guid><pubDate>Wed, 27 Nov 2024 18:40:30 +0000</pubDate></item><item><title>can't add picture to new product and save button not active</title><link>https://forum.prestashop.com/topic/1091877-cant-add-picture-to-new-product-and-save-button-not-active/</link><description><![CDATA[<p>
	Hello!  When I add a new product, the image attachment section for the product does not appear, and the "Save" button remains inactive.  How can I resolve this issue?  I've attached a screenshot for clarification.  Your expertise and assistance would be greatly appreciated!<br />
	prestashop 8.2
</p>

<p><a href="//media.invisioncic.com/t336404/monthly_2024_10/no.jpg.fd713359a6e6633a982f6bebcbdb6f4d.jpg" class="ipsAttachLink ipsAttachLink_image" ><img data-fileid="328463" src="https://www.prestashop.com/forums/applications/core/interface/js/spacer.png" data-src="//media.invisioncic.com/t336404/monthly_2024_10/no.thumb.jpg.5dff5431eae5407a8b5ad8b3152f18af.jpg" data-ratio="48.8" width="1000" class="ipsImage ipsImage_thumbnailed" alt="no.jpg"></a></p>]]></description><guid isPermaLink="false">1091877</guid><pubDate>Mon, 28 Oct 2024 16:33:34 +0000</pubDate></item><item><title>How use "convertPrice" in template for PrestaShop 1.7?</title><link>https://forum.prestashop.com/topic/553820-how-use-convertprice-in-template-for-prestashop-17/</link><description><![CDATA[<p>Hello,<br /><br />In PrestaShop 1.7 this smarty code not work:<br /><br />{convertPrice price=$product.price}<br /><br />Appears this message:<br /><br />unknown tag "convertPrice"<br /><br />How use "convertPrice" in template for PrestaShop 1.7?<br /><br />Regards</p>]]></description><guid isPermaLink="false">553820</guid><pubDate>Wed, 07 Sep 2016 13:56:42 +0000</pubDate></item><item><title>How to resolve and disable "Check the IP address on the cookie"?</title><link>https://forum.prestashop.com/topic/953218-how-to-resolve-and-disable-check-the-ip-address-on-the-cookie/</link><description><![CDATA[
<p>
	I would like to go to  [ Administration &gt; Preferences &gt; and disable the option "Check the IP address on the cookie" ]
</p>

<p>
	<br />
	because I have to disable "Check the IP address on the cookie" 
</p>

<p>
	<br />
	but unfortunately, I'm throwen out from admin panel over and over when I want to do that
</p>

<p>
	<br />
	How can I change this Setting from "enable" to "disable"? 
</p>

<p>
	<br />
	I think I can do this from the database within the terminal or change PHP file to do that
</p>

<p>
	please say me How can I do this?
</p>
]]></description><guid isPermaLink="false">953218</guid><pubDate>Tue, 22 Jan 2019 14:40:53 +0000</pubDate></item><item><title>Display number of products near category name in PS 8.0 - Category tree module</title><link>https://forum.prestashop.com/topic/1075723-display-number-of-products-near-category-name-in-ps-80-category-tree-module/</link><description><![CDATA[<p>
	Hi,
</p>

<p>
	I'm trying to recreate in the latest version of Category Tree module this edit that was made from Ali Samie for Prestashop 1.7:
</p>
<iframe allowfullscreen="" data-embedauthorid="1725042" data-embedcontent="" data-embedid="embed9293566791" scrolling="no" style="height:298px;max-width:502px;" data-embed-src="https://forum.prestashop.com/topic/1065522-display-number-of-products-near-category-name-in-ps-17-category-tree-module/?do=embed&amp;comment=3402530&amp;embedComment=3402530&amp;embedDo=findComment"></iframe>

<p>
	I tried to use the same code and insert it in the new module but I keep getting errors as:
</p>

<p>
	2Notice: Undefined index: numberOfProducts in .../var/cache/dev/smarty/compile/tbitr/89/21/00/8921007f54626fc7fe42cbff53f1d70828d3393d_2.module.pscategorytreeviewstempla.php on line 39"
</p>

<p>
	Anyone can help? I've attached the module I'm working on.
</p>

<p>
	Thank you very much in advance!<br />
	Davide
</p>
<p>
<a class="ipsAttachLink" href="https://forum.prestashop.com/applications/core/interface/file/attachment.php?id=308338&amp;key=fb3a0a434629741a7e041f6ed20cdd55" data-fileExt='zip' data-fileid='308338' data-filekey='fb3a0a434629741a7e041f6ed20cdd55'>ps_categorytree.zip</a></p>]]></description><guid isPermaLink="false">1075723</guid><pubDate>Thu, 13 Apr 2023 09:21:45 +0000</pubDate></item><item><title>Update Price Per Unit</title><link>https://forum.prestashop.com/topic/1090083-update-price-per-unit/</link><description><![CDATA[<p>
	Hi everyone, i have a Problem.  I have round about 2000 Products to update via CSV. All i need is to set the unit-price to be save in the VND. But trying to import those via CSV seems to fail.  Current Prestashop Version 1.7.6.
</p>
]]></description><guid isPermaLink="false">1090083</guid><pubDate>Thu, 29 Aug 2024 09:03:57 +0000</pubDate></item><item><title>prestashop 1.7 show all products in category page</title><link>https://forum.prestashop.com/topic/585344-prestashop-17-show-all-products-in-category-page/</link><description><![CDATA[
<p>Hello, </p>
<p>in prestashop 1.7 in the category page, how can I show all products in the same page? now it is showing only 12 products per page. I need something like the show all button.</p>
<p>Thanks</p>
<p>Ester the ca</p>
]]></description><guid isPermaLink="false">585344</guid><pubDate>Thu, 29 Dec 2016 16:43:13 +0000</pubDate></item><item><title>How to make phone number mandatory</title><link>https://forum.prestashop.com/topic/604985-how-to-make-phone-number-mandatory/</link><description><![CDATA[
<p>Hello,</p>
<p>   I am looking to learn a bit of development for my site. One small project, is I'd like for the phone number field to be mandatory in my address blocks. Here are the steps taken so far.</p>
<ol><li>I was able to look in the theme and find that checkout/_partials/address-form.tpl seems to be responsible for the the checkout portion. It extends customer/_partials/address-form.tpl.</li>	<li>customer/_partials/address-form.tpl however does not seem to list out the fields here. Instead of iterates over a $formFields variable and then creates the fields from that. </li>	<li>This is where I am stuck. </li>
</ol><p>Question: How do I find out where the $formFields variable is defined? And how can I edit it in a way that does not affect updates\upgrades and follows the best coding standards?</p>
]]></description><guid isPermaLink="false">604985</guid><pubDate>Wed, 12 Apr 2017 13:24:49 +0000</pubDate></item><item><title>customs changes in admin panel or back office</title><link>https://forum.prestashop.com/topic/625774-customs-changes-in-admin-panel-or-back-office/</link><description><![CDATA[
<p style="color:rgb(104,115,127);font-family:'Open Sans', Verdana, sans-serif;">Hi, </p>
<p style="color:rgb(104,115,127);font-family:'Open Sans', Verdana, sans-serif;"> </p>
<p style="color:rgb(104,115,127);font-family:'Open Sans', Verdana, sans-serif;">I am new to perstashop development. i have to do some changes in prestashop 1.7 backoffice/ admin panel. </p>
<p style="color:rgb(104,115,127);font-family:'Open Sans', Verdana, sans-serif;"> </p>
<p style="color:rgb(104,115,127);font-family:'Open Sans', Verdana, sans-serif;">i want to remove prestashop version from the admin login page.<br>i want to disable/ remove the footer links of prestashop social network and contact when scroll to end of page.</p>
<p style="color:rgb(104,115,127);font-family:'Open Sans', Verdana, sans-serif;">i want to disable/ remove prestashop newsfeed, useful link shown in right side of admin panel</p>
<p style="color:rgb(104,115,127);font-family:'Open Sans', Verdana, sans-serif;">i want to disable/ remove prestashop help docs and other links of partner sites or modules shown in admin panel</p>
<p style="color:rgb(104,115,127);font-family:'Open Sans', Verdana, sans-serif;">i want to disable . remove demo button from the top right corner of admin panel.</p>
<p style="color:rgb(104,115,127);font-family:'Open Sans', Verdana, sans-serif;"> </p>
<p style="color:rgb(104,115,127);font-family:'Open Sans', Verdana, sans-serif;">i have tried to remvoe the footer that shows up when scroll to end of page by editing the content.tpl file of admin page from the blog post. but it does not work.  </p>
<p style="color:rgb(104,115,127);font-family:'Open Sans', Verdana, sans-serif;">may be these things are obvious, if already been discussed for the ps 1.7 version kindly refer me that links. </p>
<p style="color:rgb(104,115,127);font-family:'Open Sans', Verdana, sans-serif;"> </p>
<p style="color:rgb(104,115,127);font-family:'Open Sans', Verdana, sans-serif;">kindly help me out. i will be very thankful and waiting for your replies. </p>
<p style="color:rgb(104,115,127);font-family:'Open Sans', Verdana, sans-serif;"> </p>
<p style="color:rgb(104,115,127);font-family:'Open Sans', Verdana, sans-serif;">thanks alot for help in advance <a class="ipsAttachLink ipsAttachLink_image" href="//media.invisioncic.com/t336404/monthly_08_2017/post-1434954-0-24303800-1503957492.jpg" data-fileid="169695" rel=""><img src="https://www.prestashop.com/forums/applications/core/interface/js/spacer.png" data-fileid="169695" class="ipsImage ipsImage_thumbnailed" alt="post-1434954-0-24303800-1503957492_thumb.jpg" data-src="//media.invisioncic.com/t336404/monthly_08_2017/post-1434954-0-24303800-1503957492_thumb.jpg" width="100" data-ratio="15"></a><a class="ipsAttachLink ipsAttachLink_image" href="//media.invisioncic.com/t336404/monthly_08_2017/post-1434954-0-12755400-1503957497.jpg" data-fileid="169696" rel=""><img src="https://www.prestashop.com/forums/applications/core/interface/js/spacer.png" data-fileid="169696" class="ipsImage ipsImage_thumbnailed" alt="post-1434954-0-12755400-1503957497_thumb.jpg" data-src="//media.invisioncic.com/t336404/monthly_08_2017/post-1434954-0-12755400-1503957497_thumb.jpg" width="100" data-ratio="42"></a></p>
<p style="color:rgb(104,115,127);font-family:'Open Sans', Verdana, sans-serif;"> </p>
<p style="color:rgb(104,115,127);font-family:'Open Sans', Verdana, sans-serif;">if it has been already answered on the forum kindly refer the links.</p>
]]></description><guid isPermaLink="false">625774</guid><pubDate>Mon, 28 Aug 2017 21:58:36 +0000</pubDate></item><item><title><![CDATA[PS 1.7.8.10 Back office -> create new order -> product list too short]]></title><link>https://forum.prestashop.com/topic/1088746-ps-17810-back-office-create-new-order-product-list-too-short/</link><description><![CDATA[<p>
	Hi Guys,
</p>

<p>
	since updated to 1.7.8.10 I have problem with too short list in back office create order. Do you have any solution. how to extend it, or add slider and show more than 10 products? Maybe there is possibility to change searche form to simmilar like in stock management?
</p>

<p><a href="//media.invisioncic.com/t336404/monthly_2024_07/productlist.png.dce01d02acff94d3f9475206ab4900bd.png" class="ipsAttachLink ipsAttachLink_image" ><img data-fileid="324933" src="https://www.prestashop.com/forums/applications/core/interface/js/spacer.png" data-src="//media.invisioncic.com/t336404/monthly_2024_07/productlist.thumb.png.26ffbfafe7e84d9e7b0a2502877ca1ac.png" data-ratio="36.5" width="1000" class="ipsImage ipsImage_thumbnailed" alt="product list.png"></a></p>]]></description><guid isPermaLink="false">1088746</guid><pubDate>Tue, 09 Jul 2024 14:13:55 +0000</pubDate></item><item><title>Product Images not showing</title><link>https://forum.prestashop.com/topic/628921-product-images-not-showing/</link><description><![CDATA[
<p>Hi all,</p>
<p> </p>
<p>I'm new to prestashop, my product images are not showing at all, not even in the product preview, any ideas ?</p>
<p> </p>
<p>Regards,</p>
<p>José Carmo</p>
]]></description><guid isPermaLink="false">628921</guid><pubDate>Tue, 19 Sep 2017 15:23:14 +0000</pubDate></item><item><title>2 product columns for mobile? PS 1.7.1.2?</title><link>https://forum.prestashop.com/topic/619634-2-product-columns-for-mobile-ps-1712/</link><description><![CDATA[<p>I would like to change <span style="color:rgb(104,115,127);font-family:'Open Sans', Verdana, sans-serif;">my page to display two columns of products on mobile devices How to?</span></p>]]></description><guid isPermaLink="false">619634</guid><pubDate>Thu, 13 Jul 2017 06:24:10 +0000</pubDate></item><item><title>Related products do not display icons</title><link>https://forum.prestashop.com/topic/596478-related-products-do-not-display-icons/</link><description><![CDATA[
<p>Hello I have the following problem.</p>
<p>The Related products on the back end after SAVE are not showing correct the images. The image path that its trying to search for them is <span style="font-family:Menlo, monospace;font-size:11px;"><a href="https://www.domain.com/28-home_default/.jpg" rel="external nofollow">https://www.domain.com/28-home_default/.jpg</a> or something similar.</span></p>
<p>Can you help me on how to fix this or tell me why this does happen?</p>
<p> </p>
<p>Best Regards,</p>
<p>a.g.</p>
<div> </div>
<p><a class="ipsAttachLink ipsAttachLink_image" href="//media.invisioncic.com/t336404/monthly_03_2017/post-1033305-0-12331800-1488395104.png" data-fileid="162950" rel=""><img src="https://www.prestashop.com/forums/applications/core/interface/js/spacer.png" data-fileid="162950" class="ipsImage ipsImage_thumbnailed" alt="post-1033305-0-12331800-1488395104_thumb.png" data-src="//media.invisioncic.com/t336404/monthly_03_2017/post-1033305-0-12331800-1488395104_thumb.png" width="100" data-ratio="48"></a></p>
]]></description><guid isPermaLink="false">596478</guid><pubDate>Wed, 01 Mar 2017 19:05:05 +0000</pubDate></item><item><title>How Can I Change Field Label in Address Form</title><link>https://forum.prestashop.com/topic/628406-how-can-i-change-field-label-in-address-form/</link><description><![CDATA[
<p> </p>
<p>
	How Can I Change Field Label in Address Form as attached file</p>
<p>
</p>
<p><a class="ipsAttachLink ipsAttachLink_image" href="//media.invisioncic.com/t336404/monthly_09_2017/post-1440877-0-41995600-1505494604.jpg" data-fileid="170258" rel=""><img src="https://www.prestashop.com/forums/applications/core/interface/js/spacer.png" data-fileid="170258" class="ipsImage ipsImage_thumbnailed" alt="post-1440877-0-41995600-1505494604_thumb.jpg" data-src="//media.invisioncic.com/t336404/monthly_09_2017/post-1440877-0-41995600-1505494604_thumb.jpg" width="100" data-ratio="55"></a></p>
]]></description><guid isPermaLink="false">628406</guid><pubDate>Fri, 15 Sep 2017 16:56:49 +0000</pubDate></item><item><title>Error in my website!!!!!</title><link>https://forum.prestashop.com/topic/1085006-error-in-my-website/</link><description><![CDATA[<p>
	When I access the products tab from the admin dashboard and try to access a product, the following error is generated: (error attached)
</p>

<p><a href="//media.invisioncic.com/t336404/monthly_2024_02/WhatsAppImage2024-02-22at15_26_47.jpeg.587e3b3b60d51864d0a8018c9e51182f.jpeg" class="ipsAttachLink ipsAttachLink_image" ><img data-fileid="320370" src="https://www.prestashop.com/forums/applications/core/interface/js/spacer.png" data-src="//media.invisioncic.com/t336404/monthly_2024_02/WhatsAppImage2024-02-22at15_26_47.jpeg.587e3b3b60d51864d0a8018c9e51182f.jpeg" data-ratio="50.85" width="946" class="ipsImage ipsImage_thumbnailed" alt="WhatsApp Image 2024-02-22 at 15.26.47.jpeg"></a></p>]]></description><guid isPermaLink="false">1085006</guid><pubDate>Thu, 22 Feb 2024 19:21:24 +0000</pubDate></item><item><title>Category tree</title><link>https://forum.prestashop.com/topic/553910-category-tree/</link><description><![CDATA[
<p>Testing 1.7 and I see the category tree always collapse after selecting  a sub category, is there a way to have this remain open so you do not have to re-open menu to get to other sub categories as in 1.6.</p>
<p> </p>
<p>I have looked but do not see anything, any ideas.</p>
]]></description><guid isPermaLink="false">553910</guid><pubDate>Thu, 08 Sep 2016 03:38:07 +0000</pubDate></item><item><title>Elementor button doesn't appear on prestashop pages, how do i solve it?</title><link>https://forum.prestashop.com/topic/1082988-elementor-button-doesnt-appear-on-prestashop-pages-how-do-i-solve-it/</link><description><![CDATA[<p>
	i'm tryinng to edit the cms page with elementor, i tried to unhook and hook the module, di-activated but it doesn't seem to work
</p>

<p>
	someone pls can help me it's frustrating, 
</p>

<p>
	i'm using prestashop 1.7.8,warehouse 4.6.4 
</p>
]]></description><guid isPermaLink="false">1082988</guid><pubDate>Mon, 18 Dec 2023 14:52:29 +0000</pubDate></item><item><title>Getting Error when clicking on my products</title><link>https://forum.prestashop.com/topic/1082790-getting-error-when-clicking-on-my-products/</link><description><![CDATA[<p>
	Hi please someone help i got problem when clicking on my product i get a screen full of error but when i click on quick view it works fine please someone help i need it fast 
</p>

<p><a href="//media.invisioncic.com/t336404/monthly_2023_12/Screenshot2023-12-11171716.png.d98b9804179144fec55dedf8af4213e6.png" class="ipsAttachLink ipsAttachLink_image" ><img data-fileid="317504" src="https://www.prestashop.com/forums/applications/core/interface/js/spacer.png" data-src="//media.invisioncic.com/t336404/monthly_2023_12/Screenshot2023-12-11171716.thumb.png.464b42e01f0e26621f880a564125d6a1.png" data-ratio="44.1" width="1000" class="ipsImage ipsImage_thumbnailed" alt="Screenshot 2023-12-11 171716.png"></a></p>]]></description><guid isPermaLink="false">1082790</guid><pubDate>Mon, 11 Dec 2023 13:55:41 +0000</pubDate></item><item><title>It show error"There are several errors. Error found : StartTag: invalid element name in country_mod"</title><link>https://forum.prestashop.com/topic/613501-it-show-errorthere-are-several-errors-error-found-starttag-invalid-element-name-in-country_mod/</link><description><![CDATA[
<p>It show several error when I login Prestashop </p>
<p style="color:rgb(210,124,130);font-family:'Open Sans', Helvetica, Arial, sans-serif;font-size:12px;"><strong>There are several errors.</strong></p>
<ol><li>Error found : StartTag: invalid element name in country_module_list.xml file.</li>	<li>Error found : Premature end of data in tag badge line 1 in country_module_list.xml file.</li>	<li>Error found : Premature end of data in tag badges line 1 in country_module_list.xml file.</li>	<li>Error found : Premature end of data in tag module line 1 in country_module_list.xml file.</li>	<li>Error found : Premature end of data in tag modules line 1 in country_module_list.xml file.</li>	<li>Error found : CData section not finished <a href="http://addons.prestashop.com/en/referral-loy" rel="external nofollow">http://addons.prestashop.com/en/referral-loy</a> in must_have_module_list.xml file.</li>	<li>Error found : Premature end of data in tag url line 1 in must_have_module_list.xml file.</li>	<li>Error found : Premature end of data in tag module line 1 in must_have_module_list.xml file.</li>	<li>Error found : Premature end of data in tag modules line 1 in must_have_module_list.xml file.</li>
</ol><p>Prestashop version is 1.7.1.1</p>
<p> </p>
<p>How could i solve it?</p>
]]></description><guid isPermaLink="false">613501</guid><pubDate>Sun, 04 Jun 2017 10:09:13 +0000</pubDate></item><item><title>Cambia posizione ordine categorie Prestashop 1.7.8.9 funzione drag and drop</title><link>https://forum.prestashop.com/topic/1081454-cambia-posizione-ordine-categorie-prestashop-1789-funzione-drag-and-drop/</link><description><![CDATA[<p>
	Ciao a tutti chi mi può aiutare con questo problema ringrazio anticipatamente buona giornata a tutti 
</p>

<p>
	Cambia posizione ordine categorie Prestashop 1.7.8.9 funzione drag and drop
</p>
]]></description><guid isPermaLink="false">1081454</guid><pubDate>Fri, 27 Oct 2023 09:39:25 +0000</pubDate></item><item><title>Change Decimal separator from dot to comma</title><link>https://forum.prestashop.com/topic/836822-change-decimal-separator-from-dot-to-comma/</link><description><![CDATA[
<p>
	I can't find a way to change decimal separator from dot to comma.
</p>

<p>
	 
</p>

<p>
	I Use Techone Theme.
</p>
]]></description><guid isPermaLink="false">836822</guid><pubDate>Tue, 05 Jun 2018 16:50:24 +0000</pubDate></item><item><title>How to change text on product flags?</title><link>https://forum.prestashop.com/topic/837771-how-to-change-text-on-product-flags/</link><description><![CDATA[
<p>
	How can I change the wording on the product flag "ON SALE!"<br /><br />
	In previous PS it was in the product.tpl, but now I cant find where to do it.
</p>

<p>
	I know its a UL that is populated somewhere but I can not find it.
</p>

<p>
	Thanks in advance
</p>
]]></description><guid isPermaLink="false">837771</guid><pubDate>Wed, 06 Jun 2018 15:54:03 +0000</pubDate></item><item><title>Missing configuration file while installing theme</title><link>https://forum.prestashop.com/topic/1069750-missing-configuration-file-while-installing-theme/</link><description><![CDATA[<p>
	Hi team,
</p>

<p>
	I'm using PS 1.7. I created a child theme of the classic and got "Missing configuration file" while installing. If I put the file on the server the BO is seeing it and it's properly display as available theme.
</p>

<p>
	The theme.yml is there.
</p>

<p>
	While trying to find why I saw in the ThemeManager the following:
</p>

<p>
	        $sandboxPath = $this-&gt;getSandboxPath();<br />
	        Tools::ZipExtract($source, $sandboxPath);
</p>

<p>
	        $themeConfigurationFile = $sandboxPath . '/config/theme.yml';
</p>

<p>
	Shouldn't the name of the theme be added in the Path?
</p>

<p>
	Or I'm I doing something completely wrong?
</p>

<p>
	Thanks
</p>
]]></description><guid isPermaLink="false">1069750</guid><pubDate>Wed, 26 Oct 2022 15:43:57 +0000</pubDate></item><item><title>Any ideas what error "Server responded with 0 code." means when uploading module.</title><link>https://forum.prestashop.com/topic/624940-any-ideas-what-error-server-responded-with-0-code-means-when-uploading-module/</link><description><![CDATA[
<p>Any ideas what error  "Server responded with 0 code." means when uploading module.</p>
<p> </p>
<p>All modules in the past upload and install OK.</p>
<p> </p>
<p>But just one particular one, tries to install. But it comes back with error code.</p>
<p> </p>
<p>It has copied all the files into the correct module directory. But it has not run the sql commands in the program.</p>
<p> </p>
<p>But then after that all of BO works, until you go into modules, and you get a blank screen. The only way to get out of it is to manually delete the module directory.</p>
<p> </p>
<p>Anybody have similar problems and any work around.</p>
<p> </p>
<p>Thanks.</p>
]]></description><guid isPermaLink="false">624940</guid><pubDate>Wed, 23 Aug 2017 06:52:01 +0000</pubDate></item><item><title>Install Theme + custom modules at the same time</title><link>https://forum.prestashop.com/topic/566627-install-theme-custom-modules-at-the-same-time/</link><description><![CDATA[
<p>Hi,</p>
<p> </p>
<p>I'm struggling with this situation:</p>
<p> </p>
<p><strong>I would like to pack theme + my custom modules into one theme ZIP. </strong></p>
<p> </p>
<p>Is it even possible? I know it's possible to rewrite .tpl files of native modules in the theme ZIP, but how about importing new modules?</p>
<p> </p>
<p>Should I ask user to install each module separately?</p>
<p> </p>
<p>Thank you</p>
]]></description><guid isPermaLink="false">566627</guid><pubDate>Wed, 09 Nov 2016 12:52:16 +0000</pubDate></item><item><title>actionProductOutOfStock not fired up correctly on product page</title><link>https://forum.prestashop.com/topic/1032969-actionproductoutofstock-not-fired-up-correctly-on-product-page/</link><description><![CDATA[
<p>
	I would like to use the native mechanism of the <strong>ps_emailalerts</strong> addon, so that a customer can enter his email at the product page of an<strong> out of stock</strong> product and getting notified when it is back in stock. I think that everything is set up correctly, but the hook does not fire up.
</p>

<p>
	Firstly, I have enabled this feature at the addon settings page, ny enabling the "Product availability" option
</p>

<p>
	The code was already in the product.tpl template
</p>

<pre class="ipsCode prettyprint lang-html prettyprinted">
<span class="tag">&lt;div</span><span class="pln"> </span><span class="atn">class</span><span class="pun">=</span><span class="atv">"product-out-of-stock"</span><span class="tag">&gt;</span><span class="pln">
	{hook h='actionProductOutOfStock' product=$product}			
</span><span class="tag">&lt;/div&gt;</span></pre>

<p>
	On my positions page, ps_emailalert is the only module under the hook <strong>actionProductOutOfStock. </strong>It seems correct. (A thing I am not sure about: This hook is listed as "non-positionable hook".)
</p>

<p>
	<strong>But the hook is apparently not firing correctly. I am testing at the product page of an out of stock product and the html element shown above is completely empty.</strong>
</p>

<p>
	A similar issue had been reported in the past, <a href="https://forum.prestashop.com/topic/382634-out-of-stock-email-field-missing/" rel="">in this archived post</a>, but it didn't help me.
</p>

<p>
	Any clues? Thanks in advance
</p>
]]></description><guid isPermaLink="false">1032969</guid><pubDate>Fri, 02 Oct 2020 15:06:16 +0000</pubDate></item><item><title>[Guide] The new customization system in PrestaShop 1.7</title><link>https://forum.prestashop.com/topic/549666-guide-the-new-customization-system-in-prestashop-17/</link><description><![CDATA[
<p>Hello,</p>
<p> </p>
<p>As you might know, the customization system has been <a href="https://github.com/PrestaShop/PrestaShop/pull/5644" rel="external nofollow"><span style="color:#6666ff;">modified</span></a> in PrestaShop 1.7</p>
<p> </p>
<p>Now <strong>customizations can have a price and weight impact</strong> much like product combinations. This makes it easier for modules to include custom data in the client cart.<br>Plus, <strong>each customization will be displayed on a row of its own</strong>.<br><br><a class="ipsAttachLink ipsAttachLink_image" href="//media.invisioncic.com/t336404/monthly_08_2016/post-369615-0-05604600-1471264693.png" data-fileid="153551" rel=""><img src="https://www.prestashop.com/forums/applications/core/interface/js/spacer.png" data-fileid="153551" class="ipsImage ipsImage_thumbnailed" alt="post-369615-0-05604600-1471264693_thumb.png" data-src="//media.invisioncic.com/t336404/monthly_08_2016/post-369615-0-05604600-1471264693_thumb.png" width="100" data-ratio="71"></a></p>
<p> </p>
<p> </p>
<p>What has changed:</p>
<ul>
<li>
<strong>The table structure of `ps_customization_field`</strong><br>A new column was added: <strong>`is_module`</strong> which means that the field belongs to a module<br>When this column has a value of <strong>1</strong>, the field won't be displayed on the front<br>Make sure to set the value to <strong>1</strong> if your module creates a custom field for the product<br>Your module can set the value of the input <strong>`#product_customization_id` </strong>to include the customization in the cart<br>Ideal scenario:<br>- The client makes a customization and saves it via ajax<br>- Your module returns an <strong>`id_customization`</strong> and puts it in `#product_customization_id`<br>- Your module clicks the add to cart button<br> </li>
<li>
<strong>The table structure of `ps_customized_data`</strong><br>New columns: <strong>`id_module`, `price`, `weight`</strong><br>When you save a customization, set the `id_module` to the value of your module ID<br>Set the <strong>`price`</strong> and <strong>`weight`</strong> to the corresponding price &amp; weight of the customization<br>Set the <strong>`value`</strong> to a row ID in your module's custom table where extra data about the customization is stored<br>When PrestaShop system finds a customization that has an <strong>`id_module` </strong>it will trigger a hook<br>This hook will be only passed to the concerned module (having an ID equal to the value in <strong>`id_module`</strong>)<br>More on the hook below..<br> </li>
<li>
<strong>Saving the customization</strong><br>When saving the customization, set the quantity to 0. It will be updated by PrestaShop when the product is added to cart. In fact, the customization will always have the same quantity as the product row because each customization will be assigned to a separate product row in the cart.<br> </li>
<li>
<strong>Using the new hook</strong><br>This how to register the new hook<br><pre class="ipsCode prettyprint">
$this-&gt;registerHook('displayCustomization')</pre>
<div>
<p> </p>
<p>You can alter the displayed customization by returning some content related to the <strong>`value` </strong>(html allowed)</p>
<pre class="ipsCode prettyprint">
public function hookDisplayCustomization($params)
{
    $id_row = (int)$params['customization']['value'];
    return $this-&gt;functionToDisplayASummaryOf($id_row);
}</pre>
</div>
</li>
</ul>
<ul><li>
<strong>Changes on methods</strong><br>Here are some method which were modified (Declaration And/Or Body)<br><pre class="ipsCode prettyprint">
Product::getPriceStatic
Product::getAllCustomizedDatas
</pre>
<p> </p>
</li></ul>
<p>I hope this is helpful if you're developing a new module or adapting your module for PrestaShop 1.7.</p>
<p>Feel free to ask if you encounter any difficulty. Your feedback will improve this guide.</p>
<p> </p>
<p> </p>
]]></description><guid isPermaLink="false">549666</guid><pubDate>Mon, 15 Aug 2016 12:38:37 +0000</pubDate></item><item><title>Change encoding settings in settings.ini.php</title><link>https://forum.prestashop.com/topic/1077719-change-encoding-settings-in-settingsiniphp/</link><description><![CDATA[<p>
	I see that settings.inc.php has been deprecated. 
</p>

<p>
	I am using Prestashop 1.7.8.6
</p>

<p>
	I need to change encoding settings define('_PSENCODING', 'UTF-8'); define('_PS_CACHINGSYSTEM', 'CacheMemcache');<br />
	Where is that constant defined?
</p>
]]></description><guid isPermaLink="false">1077719</guid><pubDate>Wed, 21 Jun 2023 13:18:47 +0000</pubDate></item><item><title>redirect after login - Prestashop 1.7</title><link>https://forum.prestashop.com/topic/622034-redirect-after-login-prestashop-17/</link><description><![CDATA[
<p>I would like to be able to redirect customers to the home page after login, instead of going to the my-account page. This forum post talks about that, but, it doesn't work in Prestatshop 1.7.</p>
<p> </p>
<p>Forum post: <a href="https://forum.prestashop.com/topic/266211-solved-redirect-to-last-page-after-login-15/" rel="">https://www.prestashop.com/forums/topic/266211-solved-redirect-to-last-page-after-login-15/</a></p>
<p> </p>
<p>Thanks.</p>
]]></description><guid isPermaLink="false">622034</guid><pubDate>Mon, 31 Jul 2017 14:16:42 +0000</pubDate></item><item><title>PS 1.7 multistore does not work. Shop's URL always redirected to default shop URL</title><link>https://forum.prestashop.com/topic/633064-ps-17-multistore-does-not-work-shops-url-always-redirected-to-default-shop-url/</link><description><![CDATA[
<p>
	Well.... I have been using PS1.5 and 1.6 for over 4 years with multistore setup. So I would say I do know how to configure this feature.
</p>

<p>
	 
</p>

<p>
	Now I am doing a new project using latest PS 1.7.2.x with multistore.
</p>

<p>
	I have two shop groups set with one shop in each group:
</p>

<p>
	-. <strong>Group A</strong> with <strong>shopa.com</strong> (default shop)
</p>

<p>
	- <strong>Group B</strong> with <strong>shopb.com</strong>.
</p>

<p>
	 
</p>

<p>
	Shopa.com (main Prestashop installation) is in server main folder (/).
</p>

<p>
	Shopb.com has been pointed on a DNS to resolve to <a href="http://shopa.com." rel="external nofollow">http://shopa.com.</a>
</p>

<p>
	 
</p>

<p>
	Friendly url, etc is set correctly.
</p>

<p>
	When I go to <a href="http://shopb.com" rel="external nofollow">http://shopb.com</a> the browser gets redirected to <a href="http://shopa.com" rel="external nofollow">http://shopa.com</a>.
</p>

<p>
	 
</p>

<p>
	With multistore <strong>shopb.com/adminpanel</strong> should work same as <strong>shopa.com/adminpanel</strong>. But in my case when I try to load <strong><a href="http://shopb.com/adminpanel" rel="external nofollow">http://shopb.com/adminpanel</a> </strong>the browser says ERROR 404.
</p>

<p>
	 
</p>

<p>
	On admin panel on the top of the screen there is small multistore drop-down menu showing stores name. On the right side of each store name there is a small ,eye' icon which is the link to each store domain name opened in a new browser window/tab. 
</p>

<p>
	An 'eye' icons for second shop should go to shopb.com address. But instead, the second link (second store icon) goes to shopa.com which is the main store domain name.
</p>

<p>
	 
</p>

<p>
	Realy PS Team. I do not know what you did wrong to such handy feature as the multistore is - But on PS 1.7.x.x it SIMPLE DOES NOT WORK....
</p>

<p>
	 
</p>

<p>
	Any help/ideas from the community??!
</p>
]]></description><guid isPermaLink="false">633064</guid><pubDate>Sat, 28 Oct 2017 16:14:05 +0000</pubDate></item><item><title>Names in Product List appear as N/A</title><link>https://forum.prestashop.com/topic/596480-names-in-product-list-appear-as-na/</link><description><![CDATA[
<p>I have an issue with the product list.</p>
<p>All the product names seem to have no name (N/A) [see the screenshot].</p>
<p>They were uploaded using either Greek language as profile language or English but their names are not visible if the profile language is english and not Greek.</p>
<p> </p>
<p>How may I fix that so that in all of the profile languages the names will be the correct strings and not N/A??</p>
<p> </p>
<p>Thanks in advance for the help</p>
<p><a class="ipsAttachLink ipsAttachLink_image" href="//media.invisioncic.com/t336404/monthly_03_2017/post-1033305-0-51770500-1488396659.png" data-fileid="162951" rel=""><img src="https://www.prestashop.com/forums/applications/core/interface/js/spacer.png" data-fileid="162951" class="ipsImage ipsImage_thumbnailed" alt="post-1033305-0-51770500-1488396659_thumb.png" data-src="//media.invisioncic.com/t336404/monthly_03_2017/post-1033305-0-51770500-1488396659_thumb.png" width="60" data-ratio="166.67"></a></p>
]]></description><guid isPermaLink="false">596480</guid><pubDate>Wed, 01 Mar 2017 19:31:19 +0000</pubDate></item><item><title>how to remove "Optional" field on register form, or how to set a field required</title><link>https://forum.prestashop.com/topic/1076313-how-to-remove-optional-field-on-register-form-or-how-to-set-a-field-required/</link><description><![CDATA[<p>
	I wanna set up this field to required and remove the 'Optional' text on the right side :<br /><br /><span></span><a class="ipsAttachLink ipsAttachLink_image" href="//media.invisioncic.com/t336404/monthly_2023_05/image.png.cc6e20556b6f05a54928f06f29118f4e.png" data-fileid="309168" data-fileext="png" rel=""><img class="ipsImage ipsImage_thumbnailed" data-fileid="309168" data-ratio="60.50" width="1000" alt="image.thumb.png.9b05a692c4d6c44adf8682664089129d.png" data-src="//media.invisioncic.com/t336404/monthly_2023_05/image.thumb.png.9b05a692c4d6c44adf8682664089129d.png" src="https://forum.prestashop.com/applications/core/interface/js/spacer.png" /></a>I also tryed this in the backoffice but nothing really happens when i change the settings:<br /><br /><a class="ipsAttachLink ipsAttachLink_image" href="//media.invisioncic.com/t336404/monthly_2023_05/image.png.21cb495e0e6d0a86efe0d2d0b0d5f604.png" data-fileid="309161" data-fileext="png" rel=""><img class="ipsImage ipsImage_thumbnailed" data-fileid="309161" data-ratio="42.90" width="1000" alt="image.thumb.png.0933cb6d9d91d7926fd3d3a7fb66332b.png" data-src="//media.invisioncic.com/t336404/monthly_2023_05/image.thumb.png.0933cb6d9d91d7926fd3d3a7fb66332b.png" src="https://forum.prestashop.com/applications/core/interface/js/spacer.png" /></a><br /><br />
	can anyone please help me with my problem?<br />
	Thanks
</p>
]]></description><guid isPermaLink="false">1076313</guid><pubDate>Tue, 02 May 2023 08:47:07 +0000</pubDate></item><item><title>Prestashop 1.7.  - how setup 4 products in row in product list, when is used also left column?</title><link>https://forum.prestashop.com/topic/598932-prestashop-17-how-setup-4-products-in-row-in-product-list-when-is-used-also-left-column/</link><description><![CDATA[
<p>In VS 1.7. how can I make in product list 4 products in row, when I have activated also left column? There is default 3 products, but want 4. Is there some easy way to fix it?</p>
<p> </p>
<p>Let me know please.</p>
]]></description><guid isPermaLink="false">598932</guid><pubDate>Sun, 12 Mar 2017 08:54:59 +0000</pubDate></item><item><title>Prestashop 1.7.2.4 search results issue</title><link>https://forum.prestashop.com/topic/646232-prestashop-1724-search-results-issue/</link><description><![CDATA[
<p>
	<span style="background-color:#ffffff;color:#333333;font-size:14px;">I use Prestashop 1.7.2.4. When searching for certain words, it produces a lot of results, even when searching for exact phrases and product sentences, it produces hundreds of unnecessary results (version 1.7.1.2 did not have this problem). To bypass a problem I changed the class /Search.php with old version. at the same time does not show the product category in the search box as it was in version 1.7.1.2 ... .. For snippets I will upload photos</span>
</p>

<p>
	 
</p>

<p>
	<span style="background-color:#ffffff;color:#333333;font-size:14px;"><a href="https://hoptuning.bg" rel="external nofollow">https://hoptuning.bg</a></span>
</p>

<p><a href="//media.invisioncic.com/t336404/monthly_2017_12/presta.png.4027797f266ebf556e77687f7efb773d.png" class="ipsAttachLink ipsAttachLink_image"><img data-fileid="175481" src="https://www.prestashop.com/forums/applications/core/interface/js/spacer.png" class="ipsImage ipsImage_thumbnailed" alt="presta.png" data-src="//media.invisioncic.com/t336404/monthly_2017_12/presta.thumb.png.0ff31e88e440eba7d6bc3933d7b7af76.png" width="1000" data-ratio="57"></a></p>
<p><a href="//media.invisioncic.com/t336404/monthly_2017_12/presta2.png.89cdde8d6eabe0ec35790731ca14d46a.png" class="ipsAttachLink ipsAttachLink_image"><img data-fileid="175482" src="https://www.prestashop.com/forums/applications/core/interface/js/spacer.png" class="ipsImage ipsImage_thumbnailed" alt="presta2.png" data-src="//media.invisioncic.com/t336404/monthly_2017_12/presta2.thumb.png.c99b1adbc1d25cc500f368bb61dceafb.png" width="1000" data-ratio="55.8"></a></p>
]]></description><guid isPermaLink="false">646232</guid><pubDate>Tue, 26 Dec 2017 18:31:34 +0000</pubDate></item><item><title>Where to change text for Free Shipping? [PrestaShop 1.7.2.4]</title><link>https://forum.prestashop.com/topic/640460-where-to-change-text-for-free-shipping-prestashop-1724/</link><description><![CDATA[
<p>
	Where are the translations located for the word "Free" in the Ajax Cart and on the Checkout pages.<br>
	Looked everywhere, but I could not find it.<br>
	How to change "Free" to something else, and keep this when upgrading?<br><br>
	Thanks for the help.<br>
	 
</p>

<p>
	<strong>Version used of PS:</strong> Prestashop 1.7.2.4 (stable branche, or so they say...)
</p>

<p><a href="//media.invisioncic.com/t336404/monthly_2017_12/PrintScreen002.jpg.371933e4c0e0b3b2acc2b9d1539ae6c0.jpg" class="ipsAttachLink ipsAttachLink_image"><img data-fileid="174587" src="https://www.prestashop.com/forums/applications/core/interface/js/spacer.png" class="ipsImage ipsImage_thumbnailed" alt="PrintScreen002.jpg" data-src="//media.invisioncic.com/t336404/monthly_2017_12/PrintScreen002.jpg.371933e4c0e0b3b2acc2b9d1539ae6c0.jpg" width="314" data-ratio="119.75"></a></p>
<p><a href="//media.invisioncic.com/t336404/monthly_2017_12/PrintScreen003.jpg.f4f602239b4bb6b9dc21e3dc22d3e747.jpg" class="ipsAttachLink ipsAttachLink_image"><img data-fileid="174588" src="https://www.prestashop.com/forums/applications/core/interface/js/spacer.png" class="ipsImage ipsImage_thumbnailed" alt="PrintScreen003.jpg" data-src="//media.invisioncic.com/t336404/monthly_2017_12/PrintScreen003.jpg.f4f602239b4bb6b9dc21e3dc22d3e747.jpg" width="597" data-ratio="47.57"></a></p>
]]></description><guid isPermaLink="false">640460</guid><pubDate>Fri, 08 Dec 2017 16:01:20 +0000</pubDate></item><item><title>PS 1.7.8.7 payment problems via Mollie</title><link>https://forum.prestashop.com/topic/1075004-ps-1787-payment-problems-via-mollie/</link><description><![CDATA[<p>
	In 2022 I used PS 1.7.8.7 on PHP 7.4 and Mollie's payment module. Now that I'm working on the accounting and administration for 2022, I discovered the following problem:
</p>

<p>
	some payment notifications in Back Office &gt; Orders at the bottom of Payment show the following for a payment: (see image)
</p>

<p>
	the amount to be paid is transferred in 2 parts to Mollie from the customer's account on the same date and at the same time; not a problem in itself, because the total amount is equal to both parts. So far so good...
</p>

<p>
	<strong>However, with Mollie only the first part of the payment is registered!! The 2nd part is not listed with Mollie and will not be paid to you later!!</strong>
</p>

<p>
	I approached Mollie about this and was turned down:<br />
	first it would be up to Prestashop, and after a screenshot of the payments I have to ask my customers for a copy of the bank statement of the transfer, and only then do they want to investigate further.
</p>

<p>
	The problem is that it is not a one-off error/problem, but a much more frequent occurrence.<br />
	My question is:<br />
	1. why a payment is read or created by Prestashop in 2 parts,<br />
	2. how the customer has paid from his account,<br />
	3. why Mollie does not register that 2nd partial payment,<br />
	4. this problem A. lies with the bank, B. lies with Prestashop, C. lies with Mollie or with Mollie's module.
</p>

<p>
	---
</p>

<p>
	I'm really not going to bother my customers after months and sadly ask for a copy of their bank statement; I have more to do and I don't want to sound like a jerk. For the time being, I'll take those losses for granted and adjust my invoices with an extra discount; It is what it is.
</p>

<p>
	What I am furious about is that Mollie is laying the problem with Prestashop and with me as a webshop owner.<br />
	I want to know:<br />
	A. if this only happens to me<br />
	B. how often this happens to others<br />
	C. what causes the error 1. Prestashop, 2. the Mollie module, 3. banking or, 4. Mollie itself<br />
	D. how this can be solved Mollie is not done with me yet, because this is costing me a lot of time and money now.
</p>

<p><a href="//media.invisioncic.com/t336404/monthly_2023_03/probleem.jpg.a4aa813e91546516d1f84e13634200d2.jpg" class="ipsAttachLink ipsAttachLink_image"><img data-fileid="307131" src="https://www.prestashop.com/forums/applications/core/interface/js/spacer.png" data-src="//media.invisioncic.com/t336404/monthly_2023_03/probleem.thumb.jpg.913a208f41f85efe2aad294b8ee8849f.jpg" data-ratio="25" width="1000" class="ipsImage ipsImage_thumbnailed" alt="probleem.jpg"></a></p>]]></description><guid isPermaLink="false">1075004</guid><pubDate>Wed, 22 Mar 2023 14:43:26 +0000</pubDate></item><item><title>aktualizacja ceny</title><link>https://forum.prestashop.com/topic/1075628-aktualizacja-ceny/</link><description><![CDATA[<p>
	Mam problem z aktulizacją cenu w sklepie presta 1.7.* 
</p>

<p>
	Po zmianie ceny w bazie danych w tablli produkt kolumna price cena produktu w sklepie na przeglądarce się nie zmienia. Podejżewam że są to jakieś pliki cache. Czyściłem te pliki w panaelu administaratora i ręcznie ale to nadal nie działa. Jakie metody muszę uruchomić aby cena produktu się zaktualizowana?
</p>

<p>
	Z góry dziękuje za opowiedź.
</p>
]]></description><guid isPermaLink="false">1075628</guid><pubDate>Mon, 10 Apr 2023 18:29:34 +0000</pubDate></item><item><title>PS 1.7.8.2 big database space problem</title><link>https://forum.prestashop.com/topic/1075603-ps-1782-big-database-space-problem/</link><description><![CDATA[<p>
	Good evening everyone. I have a big problem with my Prestashop site. The inode limit of my hosting is unfortunately very low, 262,000 and I'm struggling to reduce them but I promptly reach the limit and nothing works anymore. The solution of course is to move on to something else, but I've already searched and haven't found anything that fits my situation.
</p>

<p>
	So I would like to find a solution to stay as they are, for example I would like to find all those useless files and remove them, does anyone know what can be removed from the database or via phpadmin or via ftp, which can be done without, avoiding damage? I have prestasthop 1.7.8.2
</p>

<p>
	I only know img/tmp and var/cache, the latter is a palliative because it promptly recreates the thousands of useless files, and I don't know how to prevent it.
</p>

<p>
	I hope for a miracle.
</p>
]]></description><guid isPermaLink="false">1075603</guid><pubDate>Sun, 09 Apr 2023 15:30:33 +0000</pubDate></item><item><title>PS 1.7.8.8 unable to create new products</title><link>https://forum.prestashop.com/topic/1075166-ps-1788-unable-to-create-new-products/</link><description><![CDATA[<p>
	Hi,
</p>

<p>
	I have update my version to 1.7.8.8, but when i go to create or edit and save a new or existing product he stuck and dont save or create anything, and he stays forever thinking... i have update from 1.7.8.7 to 1.7.8.8 and the problem continues, i can´t find solution for this and now i have to create new products and i can´t or edit the old ones.
</p>

<p>
	This only happens on products because on category i can create or edit with no problems.
</p>

<p>
	Regards
</p>

<p>
	Luis
</p>
]]></description><guid isPermaLink="false">1075166</guid><pubDate>Tue, 28 Mar 2023 07:38:22 +0000</pubDate></item><item><title>prestashop 1.7 subcategories images</title><link>https://forum.prestashop.com/topic/585345-prestashop-17-subcategories-images/</link><description><![CDATA[
<p>Hello, </p>
<p>in prestashop 1.7, in the category page, how can I show the subcategories images under the category image? Now I only have the subcategory list in the left column.</p>
<p>Thanks</p>
<p>Ester</p>
]]></description><guid isPermaLink="false">585345</guid><pubDate>Thu, 29 Dec 2016 16:45:59 +0000</pubDate></item><item><title>Products details total weight from the cart</title><link>https://forum.prestashop.com/topic/1074622-products-details-total-weight-from-the-cart/</link><description><![CDATA[<p>
	Iam using 1.7.8.6.
</p>

<p>
	I followed the tutorial <a href="https://blog.hostonnet.com/how-to-show-total-weight-on-cart-in-pretashop" rel="external nofollow">https://blog.hostonnet.com/how-to-show-total-weight-on-cart-in-pretashop</a> to show the weight and its working. But there is one small mistake it is taking to products details total weight from the cart. It should show here single item weight. One product weight is 1.65kg all of them. If you add some items to shopping basked then product weight is changing too on product view. Screenshot attached here.
</p>

<p><a href="//media.invisioncic.com/t336404/monthly_2023_03/preta.png.5ca9897e37406662da6f4bd3059c20fb.png" class="ipsAttachLink ipsAttachLink_image"><img data-fileid="306623" src="https://www.prestashop.com/forums/applications/core/interface/js/spacer.png" data-src="//media.invisioncic.com/t336404/monthly_2023_03/preta.thumb.png.33779afd7b8d4264acb594de32627fa6.png" data-ratio="42.5" width="1000" class="ipsImage ipsImage_thumbnailed" alt="preta.png"></a></p>]]></description><guid isPermaLink="false">1074622</guid><pubDate>Sat, 11 Mar 2023 07:40:35 +0000</pubDate></item><item><title>How to make field as required field?</title><link>https://forum.prestashop.com/topic/663610-how-to-make-field-as-required-field/</link><description><![CDATA[<p>
	Hi. How to make existing field to be required? I checked Localization/Country but I can't or don't know how to make it required. I'm trying to bypass hard-coding if possible, to not scramble my project. Thanks for replies.<a class="ipsAttachLink ipsAttachLink_image" href="//media.invisioncic.com/t336404/monthly_2018_02/pic2.png.61a2225dd5be0680e4ea2e275d01bc4e.png" data-fileid="178939" rel=""><img class="ipsImage ipsImage_thumbnailed" data-fileid="178939" src="https://www.prestashop.com/forums/applications/core/interface/js/spacer.png" alt="pic2.thumb.png.7c6711d7db20b6851c0b8fa1d98de35b.png" data-src="//media.invisioncic.com/t336404/monthly_2018_02/pic2.thumb.png.7c6711d7db20b6851c0b8fa1d98de35b.png" width="1000" data-ratio="14.3"></a>
</p>]]></description><guid isPermaLink="false">663610</guid><pubDate>Fri, 09 Feb 2018 12:13:21 +0000</pubDate></item><item><title>PHP 7.3 and prestashop 1.7</title><link>https://forum.prestashop.com/topic/1005402-php-73-and-prestashop-17/</link><description><![CDATA[
<p>
	Hello,
</p>

<p>
	can anyone know approximately when Prestashop will be compatible with PHP version 7.3?
</p>

<p>
	with regard
</p>
]]></description><guid isPermaLink="false">1005402</guid><pubDate>Fri, 25 Oct 2019 10:35:13 +0000</pubDate></item><item><title>Configure Custom text blocks ? How do you change text height</title><link>https://forum.prestashop.com/topic/566710-configure-custom-text-blocks-how-do-you-change-text-height/</link><description><![CDATA[
<p> Configure Custom text blocks ? How do you change text height as there is no menu item. Ok you can go into the code, but thats not right.</p>
<p> </p>
<p>any ideas plz</p>
<p> </p>
<p>PS v1.7.0.0.0 official release.</p>
]]></description><guid isPermaLink="false">566710</guid><pubDate>Wed, 09 Nov 2016 21:07:51 +0000</pubDate></item><item><title>Problems search in backoffice!</title><link>https://forum.prestashop.com/topic/906511-problems-search-in-backoffice/</link><description><![CDATA[
<p>
	I have a problem, when i want to find a product in backoffice.
</p>

<p>
	Vers. 1.7.3.3
</p>

<p>
	1. The last products is duplicate every time.
</p>

<p>
	2. Dont show me all products with same name. Example, i want to find all products with name "cars", and search products show me only 2, 3 but i have 10 prodcuts with that name.
</p>

<p>
	IMG: <a href="https://imgur.com/wEak0zd" rel="external nofollow">https://imgur.com/wEak0zd</a>
</p>

<p>
	 
</p>
]]></description><guid isPermaLink="false">906511</guid><pubDate>Tue, 25 Sep 2018 20:41:41 +0000</pubDate></item><item><title>Disable product QuickView on Prestashop 1.7</title><link>https://forum.prestashop.com/topic/577512-disable-product-quickview-on-prestashop-17/</link><description><![CDATA[
<p>Hello, I am running PS 1.7.0.2:</p>
<p> </p>
<p>I do not see any option to disable product QuickView, as on PS 1.6.</p>
<p> </p>
<p>Might you please clear this out: is this option going to be enables during 1.7 development ?</p>
<p> </p>
<p>As a fix, is there any way to manually disble product quick view on home and category pages ?</p>
<p> </p>
<p>Thanks in advance</p>
]]></description><guid isPermaLink="false">577512</guid><pubDate>Thu, 08 Dec 2016 11:12:53 +0000</pubDate></item><item><title>Displaying the minimum and maximum price for combination products</title><link>https://forum.prestashop.com/topic/1071992-displaying-the-minimum-and-maximum-price-for-combination-products/</link><description><![CDATA[<p>
	I tried to displaying the minimum and maximum price for combination not its not working.
</p>

<p>
	Can any one help to display the price in the format of $95 - $102 format for combination products on listing page and on home page
</p>

<p>
	 
</p>
]]></description><guid isPermaLink="false">1071992</guid><pubDate>Thu, 29 Dec 2022 05:00:21 +0000</pubDate></item><item><title>Display the category description on product detail page</title><link>https://forum.prestashop.com/topic/1071814-display-the-category-description-on-product-detail-page/</link><description><![CDATA[<p>
	Hello 
</p>

<p>
	I had tried to display the category description on product detail page but it is not displaying and mess up all page below syntax i have use to display description
</p>

<p>
	{if $category.description}<br />
	       &lt;div id="category-description" class="text-muted"&gt;{$category.description nofilter}&lt;/div&gt;<br />
	{/if}
</p>

<p>
	I have to display on product detail page can you help me how can I show it and in which file need to do modification
</p>

<p>
	 
</p>

<p>
	<a class="ipsAttachLink ipsAttachLink_image" href="//media.invisioncic.com/t336404/monthly_2022_12/image.png.aa723a17c708269d6e5ee11c441ed5df.png" data-fileid="301623" data-fileext="png" rel=""><img class="ipsImage ipsImage_thumbnailed" data-fileid="301623" data-ratio="37.80" width="1000" alt="image.thumb.png.18593d810edec7ba0c01929151d3603e.png" data-src="//media.invisioncic.com/t336404/monthly_2022_12/image.thumb.png.18593d810edec7ba0c01929151d3603e.png" src="https://forum.prestashop.com/applications/core/interface/js/spacer.png" /></a>
</p>
]]></description><guid isPermaLink="false">1071814</guid><pubDate>Thu, 22 Dec 2022 07:26:42 +0000</pubDate></item><item><title>Displaying the categories details on product detail page in pop up</title><link>https://forum.prestashop.com/topic/1071866-displaying-the-categories-details-on-product-detail-page-in-pop-up/</link><description><![CDATA[<p>
	Hello 
</p>

<p>
	I need an help to displaying the category description on popup box or fancy box on product detail page below is an attached media to reference.
</p>

<p>
	 
</p>

<p>
	<a class="ipsAttachLink ipsAttachLink_image" href="//media.invisioncic.com/t336404/monthly_2022_12/image.png.fc9b6f57144c7a5f907f02d22c93d0c3.png" data-fileid="301671" data-fileext="png" rel=""><img class="ipsImage ipsImage_thumbnailed" data-fileid="301671" data-ratio="42.00" width="1000" alt="image.thumb.png.85f84e2c62c16587c33278c4557ffc80.png" data-src="//media.invisioncic.com/t336404/monthly_2022_12/image.thumb.png.85f84e2c62c16587c33278c4557ffc80.png" src="https://forum.prestashop.com/applications/core/interface/js/spacer.png" /></a>
</p>
]]></description><guid isPermaLink="false">1071866</guid><pubDate>Fri, 23 Dec 2022 06:42:20 +0000</pubDate></item><item><title>24 hour BitNinja firewall block caused by Prestashop v1.7.8.7</title><link>https://forum.prestashop.com/topic/1071535-24-hour-bitninja-firewall-block-caused-by-prestashop-v1787/</link><description><![CDATA[<p>
	Had an incident where Prestashop was missing a customer address in the address database (that was my fault) and it errored with [ERROR 500 Customer Address missing (something like that I didn't record it)] when I went to view that customers order. Prestashop asked if I wanted to enable debug mode and I clicked YES. I was then blocked by BitNinja on my hosting providers server from my shop, all emails and FTP for the next 24 hours.
</p>

<p>
	I connected via a VPN and contacted my hosting provider support who said that my IP had been grey listed in the BitNinja software. They asked that I provide the domain name of my website, I replied and that was the last I heard from support.
</p>

<p>
	I couldn't access the admin of my shop as it was configured to only allow my IP and as I was connected via a VPN I no longer had access. After a few hours of being blocked I contacted BitNinja support via chat and was provided a log of what triggered the firewall block. 
</p>

<p>
	He said "The description of rule 408001 says that: You can disable some Symfony directory access with this rule (_preview_error /_wdt /_profiler*) which should never be deployed in production.  Also, I should mention that this rule is not among our recommended low false positive ruleset."
</p>

<p>
	He told me that my hosting provider had to manually remove my IP from BitNinja grey list.  I then contacted my hosting provider again and again with no response and then after 24 hours I was able to access Prestashop, emails and FTP directly from my IP.
</p>

<p>
	Someone needs to know that BitNinja is out there watching Prestashop.
</p>

<p>
	Is the Symfony directory access from a default Prestashop installation? Is there something I should change?
</p>
]]></description><guid isPermaLink="false">1071535</guid><pubDate>Wed, 14 Dec 2022 11:12:26 +0000</pubDate></item><item><title>Display the min and max price for combination products</title><link>https://forum.prestashop.com/topic/1071224-display-the-min-and-max-price-for-combination-products/</link><description><![CDATA[<p>
	Hello,
</p>

<p>
	I have tired the customization for displaying the price in range like min and max price for combination product but it doesn't work for me is their any solution or another way to display the price in min max way
</p>
]]></description><guid isPermaLink="false">1071224</guid><pubDate>Tue, 06 Dec 2022 07:03:11 +0000</pubDate></item><item><title>[GUIDE] How to configure/customize your currency in Prestashop 1.7</title><link>https://forum.prestashop.com/topic/608078-guide-how-to-configurecustomize-your-currency-in-prestashop-17/</link><description><![CDATA[
<p>Hi,<br> <br>I was struggling to find a solution in my previous thread and I couldn't find any help:<br><a href="https://forum.prestashop.com/topic/601623-how-to-change-currency-symbol-that-appears-next-to-the-price-prestashop-v1706/" rel="">https://www.prestashop.com/forums/topic/601623-how-to-change-currency-symbol-that-appears-next-to-the-price-prestashop-v1706/</a><br> <br><strong><span style="color:#008000;">Before we begin, let me explain to you what's going on here...</span></strong><br> <br>As you all know, in previous Prestashop versions like 1.6, you were able to fully customize your currency in your back office as you can see:<br><a class="ipsAttachLink ipsAttachLink_image" href="//media.invisioncic.com/t336404/monthly_05_2017/post-1302518-0-29173000-1493808435.png" data-fileid="165884" rel=""><img src="https://www.prestashop.com/forums/applications/core/interface/js/spacer.png" data-fileid="165884" class="ipsImage ipsImage_thumbnailed" alt="post-1302518-0-29173000-1493808435_thumb.png" data-src="//media.invisioncic.com/t336404/monthly_05_2017/post-1302518-0-29173000-1493808435_thumb.png" width="100" data-ratio="45"></a><br> <br>But currently, the new Prestashop 1.7 doesn't allow you to customize your currency in your own liking as you can see below:<br><a class="ipsAttachLink ipsAttachLink_image" href="//media.invisioncic.com/t336404/monthly_05_2017/post-1302518-0-42010900-1493808627.png" data-fileid="165885" rel=""><img src="https://www.prestashop.com/forums/applications/core/interface/js/spacer.png" data-fileid="165885" class="ipsImage ipsImage_thumbnailed" alt="post-1302518-0-42010900-1493808627_thumb.png" data-src="//media.invisioncic.com/t336404/monthly_05_2017/post-1302518-0-42010900-1493808627_thumb.png" width="100" data-ratio="48"></a><br> <br>They decided to use cldr framework for currency formatting which basically means that they used default settings from an external database (or something like that), and you can't customize that easily. Like me and many others, we can't wait for an official update to fix this so we have to find a workaround for now until they decide to fix it in the next updates. Since PS1.7 is still fairly new and not many people have moved to it yet, I wasn't able to find help about how to configure the currency for my language. Also just to eliminate any confusion in the steps below, my store language is in Arabic and my currency is in Saudi Riyal or SAR. Our language is RTL (right to left) unlike most languages, so it is usually harder to find solutions that also works for our language, but you can relax as all the steps below should remain the same for every language.<br> <br>Anyway now that I have finally found a way to customize my currency, I decided to write this post as I'm sure there are plenty of people out there looking for solutions and were struggling too just like me.<br> <br><strong>***IMPORTANT: PLEASE BACK UP THE FILES BEFORE YOU EDIT THEM IN CASE YOU MESS UP. I'M NOT RESPONSIBLE IF SOMETHING GOES WRONG IN YOUR STORE OR YOUR PRICES. ALWAYS REMEMBER TO SWITCH YOUR STORE TO MAINTENANCE MODE WHEN YOU ARE CUSTOMIZING ANYTHING RELATED TO PRICES/CURRENCY, AND CHECK YOUR PRICES AFTER YOU FINISH TO MAKE SURE EVERYTHING IS WORKING OK BEFORE YOUR STORE GOES LIVE.</strong></p>
<p> </p>
<p><span style="color:#008000;"><strong>Now let's begin...</strong></span><br> <br>In my case, the price in my store looks like this:<br><a class="ipsAttachLink ipsAttachLink_image" href="//media.invisioncic.com/t336404/monthly_05_2017/post-1302518-0-26023700-1493808934.png" data-fileid="165886" rel=""><img src="https://www.prestashop.com/forums/applications/core/interface/js/spacer.png" data-fileid="165886" class="ipsImage ipsImage_thumbnailed" alt="post-1302518-0-26023700-1493808934_thumb.png" data-src="//media.invisioncic.com/t336404/monthly_05_2017/post-1302518-0-26023700-1493808934_thumb.png" width="100" data-ratio="77"></a><br> <br>There are a couple of things wrong about the default price/currency formatting for my ar-sa language.<br> <br>1- We use decimals instead of commas (it should be 0.00 instead of 0,00).<br>2- We mostly round up the price meaning there's no need for decimals, so they have to give us the option to enable/disable decimals (it should be 0 instead of 0.00).<br>​3- We don't usually use letters in the currency, we use the word Riyal instead (just like Euro).<br>4- The currency is placed before the price, but it should be after the price (to the left).<br> </p>
<p>​Forgive me as I'm not interested in using decimals in my store so I didn't bother to try and fix #1, but you can find all the other fixes below.</p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p><strong>- How to fix #2: Disabling decimals. </strong>(Thanks to <a href="https://forum.prestashop.com/user/883396-poppy381/" rel="">Poppy381</a>)<br><a href="https://forum.prestashop.com/topic/573475-tips-to-round-prices-with-no-decimals-displayed-with-prestashop-17/" rel="">https://www.prestashop.com/forums/topic/573475-tips-to-round-prices-with-no-decimals-displayed-with-prestashop-17/</a></p>
<p> </p>
<p>NOTE: Please only do this when you want to completely remove decimals in your store and you don't plan to use them ever again because it will change the pricing for your store (example: if you set a product price to 99.99 it will show as 100 in your front office so be careful).</p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p><strong>- How to fix #3: Configuring currency letters/symbol.</strong><br> <br>First open the file: <strong>translations/cldr/main--<span style="color:#b22222;">ar-SA</span>--currencies</strong>​ (choose the language file that you want to edit, in my case it's ar-sa).<br>Now search for the currency that you want to customize (example USD, EUR, GBP...etc) for me it's SAR and this is the entire code that corresponds to it:<br><a class="ipsAttachLink ipsAttachLink_image" href="//media.invisioncic.com/t336404/monthly_05_2017/post-1302518-0-59302500-1493811455.png" data-fileid="165893" rel=""><img src="https://www.prestashop.com/forums/applications/core/interface/js/spacer.png" data-fileid="165893" class="ipsImage ipsImage_thumbnailed" alt="post-1302518-0-59302500-1493811455_thumb.png" data-src="//media.invisioncic.com/t336404/monthly_05_2017/post-1302518-0-59302500-1493811455_thumb.png" width="100" data-ratio="14"></a></p>
<pre class="ipsCode prettyprint">
"SAR":{"displayName":"\u0631\u064a\u0627\u0644 \u0633\u0639\u0648\u062f\u064a","displayName-count-zero":"\u0631\u064a\u0627\u0644 \u0633\u0639\u0648\u062f\u064a","displayName-count-one":"\u0631\u064a\u0627\u0644 \u0633\u0639\u0648\u062f\u064a","displayName-count-two":"\u0631\u064a\u0627\u0644 \u0633\u0639\u0648\u062f\u064a","displayName-count-few":"\u0631\u064a\u0627\u0644 \u0633\u0639\u0648\u062f\u064a","displayName-count-many":"\u0631\u064a\u0627\u0644 \u0633\u0639\u0648\u062f\u064a","displayName-count-other":"\u0631\u064a\u0627\u0644 \u0633\u0639\u0648\u062f\u064a","symbol":"\u0631.\u0633.\u200f"}
</pre>
<p>However we are only interested in the code at the last of the line, right after "symbol":</p>
<pre class="ipsCode prettyprint">
"symbol":"\u0631.\u0633.\u200f"
</pre>
<p>It is using Unicode characters and you can use this website to find the right characters for yourself <a href="http://graphemica.com" rel="external nofollow">http://graphemica.com</a></p>
<p>The above default symbol for my currency will show as "<strong>ر.س.</strong>" and to change that to "<strong>ريال</strong>" replace the characters with the following:</p>
<pre class="ipsCode prettyprint">
"symbol":"\u0631\u064a\u0627\u0644\u200f"
</pre>
<p>Now save the file. It will now look like this:</p>
<p><a class="ipsAttachLink ipsAttachLink_image" href="//media.invisioncic.com/t336404/monthly_05_2017/post-1302518-0-80573600-1493812267.png" data-fileid="165894" rel=""><img src="https://www.prestashop.com/forums/applications/core/interface/js/spacer.png" data-fileid="165894" class="ipsImage ipsImage_thumbnailed" alt="post-1302518-0-80573600-1493812267_thumb.png" data-src="//media.invisioncic.com/t336404/monthly_05_2017/post-1302518-0-80573600-1493812267_thumb.png" width="100" data-ratio="12"></a></p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p><strong>- How to fix #4: Changing currency position.</strong> (Right/left and with/without spaces).</p>
<p> </p>
<p>First open the file: <strong>translations/cldr/main--<span style="color:#b22222;">ar-SA</span>--numbers</strong>​ (choose the language file that you want to edit, in my case it's ar-sa).</p>
<p>This is similar to fix #3, all you have to do is search for the following "<span style="color:#b22222;"><strong>currencyFormats-numberSystem-latn</strong></span>" -OR- "<strong><span style="color:#b22222;">currencyFormats-numberSystem-arab</span></strong>" (it's the second one for me because I'm using Arabic language, but most people should edit latn instead).</p>
<p> </p>
<p>Now in the same line that corresponds to it look for the code "standard" because that's the only thing we have to edit:</p>
<pre class="ipsCode prettyprint">
"standard":"\u00a4\u00a0#,##0"
</pre>
<p>The above default position for my currency will be before the price, and to correct that and make it appear after the price just replace the characters with the following:</p>
<pre class="ipsCode prettyprint">
"standard":"#,##0\u00a0\u00a4\u00a0"
</pre>
<p>Now don't forget to save the file. It will now look like this:</p>
<p><a class="ipsAttachLink ipsAttachLink_image" href="//media.invisioncic.com/t336404/monthly_05_2017/post-1302518-0-57797900-1493810601.png" data-fileid="165892" rel=""><img src="https://www.prestashop.com/forums/applications/core/interface/js/spacer.png" data-fileid="165892" class="ipsImage ipsImage_thumbnailed" alt="post-1302518-0-57797900-1493810601_thumb.png" data-src="//media.invisioncic.com/t336404/monthly_05_2017/post-1302518-0-57797900-1493810601_thumb.png" width="58" data-ratio="172.41"></a></p>
<p> </p>
<p>Perfect! and that's it! everything about numbers and currency formatting in PS1.7 will be related to both files "currencies" &amp; "numbers", so don't waste your time looking elsewhere.</p>
<p> </p>
<p>Congratulations...now you finally know how to customize your currency in Prestashop 1.7! I hope this works for everybody and I hope I was able to provide some help for this community <img src="https://www.prestashop.com/forums/applications/core/interface/js/spacer.png" alt=":D" data-emoticon="" srcset="https://media.invisioncic.com/t336404/emoticons/biggrin@2x.png 2x" width="20" height="20" data-src="//media.invisioncic.com/t336404/emoticons/default_biggrin.png"></p>
]]></description><guid isPermaLink="false">608078</guid><pubDate>Wed, 03 May 2017 12:10:27 +0000</pubDate></item><item><title>display weight in prestashop 1.7</title><link>https://forum.prestashop.com/topic/664371-display-weight-in-prestashop-17/</link><description><![CDATA[
<p>
	Hi all,
</p>

<p>
	i need to display weight in product inner page in prestashop 1.7 . please help to solve this.
</p>
]]></description><guid isPermaLink="false">664371</guid><pubDate>Thu, 15 Feb 2018 12:00:44 +0000</pubDate></item><item><title>Frontside category issue (Notice: Trying to access array offset on value of type null)</title><link>https://forum.prestashop.com/topic/1070311-frontside-category-issue-notice-trying-to-access-array-offset-on-value-of-type-null/</link><description><![CDATA[<p>
	I had created the new category from admin panel but when i try to access it from frontside it gives the below error can any one help me for solution.
</p>

<p><a href="//media.invisioncic.com/t336404/monthly_2022_11/image.png.2bb29943e46f8aec7c8b2beeb269b5e6.png" class="ipsAttachLink ipsAttachLink_image"><img data-fileid="299287" src="https://www.prestashop.com/forums/applications/core/interface/js/spacer.png" data-src="//media.invisioncic.com/t336404/monthly_2022_11/image.thumb.png.83da308757b785b7c2724d94e3bc5a40.png" data-ratio="183.82" width="408" class="ipsImage ipsImage_thumbnailed" alt="image.png"></a></p>]]></description><guid isPermaLink="false">1070311</guid><pubDate>Fri, 11 Nov 2022 05:53:17 +0000</pubDate></item><item><title>Prestashop Migrate using SQL query, is it possible?</title><link>https://forum.prestashop.com/topic/1069890-prestashop-migrate-using-sql-query-is-it-possible/</link><description><![CDATA[<p>
	Is it possible to migrate prestashop products and categories via SQL query. Then copy images via FTP.
</p>

<p>
	Is it gonna work?
</p>
]]></description><guid isPermaLink="false">1069890</guid><pubDate>Mon, 31 Oct 2022 03:55:04 +0000</pubDate></item><item><title>Back Office Product Catalog with tax-included prices?</title><link>https://forum.prestashop.com/topic/674528-back-office-product-catalog-with-tax-included-prices/</link><description><![CDATA[
<p>
	Hello devs and merchs!
</p>

<p>
	Sorry to see so many negative posts and comments, I appreciate all the hard work put into 1.7, it really looks great, a lot more user friendly. I hope module developers can keep up.  
</p>

<p>
	Has anyone figured out how to display prices with taxes included in the Back Office Product Catalog in PrestaShop 1.7+?
</p>

<p>
	Is it an SQL thing? what does " 0 AS `price_final` " mean in the query? Does it make an empty column? And where does that column go if it does? The query is exactly the same in 1.6 so it's weird the output is different in 1.7
</p>

<p>
	Does anybody have any resources to share about how the databases/tables are thought out/work in PrestaShop? I see that products have a single price field in the product database which is tax excluded, and I can understand why, things would get messy if it didn't... But then where is the final price kept, or how is it calculated? Could it be calculated with an SQL query or is it done with Javascript? I could ignore tax rules, I only have one tax so a simple calculation would suffice...
</p>

<p>
	Or  better yet, would it be logical/doable to have a feature where the user chooses if the price in the database includes the tax or not, and then the site changes calculations accordingly?  
</p>

<p>
	Anybody any thoughts on the matter?  
</p>

<p>
	 
</p>

<p>
	 
</p>

<p>
	<a class="ipsAttachLink ipsAttachLink_image" href="//media.invisioncic.com/t336404/monthly_2018_03/prices.jpg.486b3c7f1fe688a9c4e20c02b96f5b8c.jpg" data-fileid="181029" rel=""><img alt="prices.jpg" class="ipsImage ipsImage_thumbnailed" data-fileid="181029" src="https://www.prestashop.com/forums/applications/core/interface/js/spacer.png" data-src="//media.invisioncic.com/t336404/monthly_2018_03/prices.thumb.jpg.316f54fb9a768a324a39ff383a28751c.jpg" width="1000" data-ratio="45.6"></a>
</p>

<p>
	 
</p>

<p>
	 
</p>

<p>
	Update: A wonderful man posted the solution to displaying price_final here:
</p>

<p>
	<a href="https://forum.prestashop.com/topic/626192-17-how-to-display-product-price-include-tax-in-backoffice-catalog/?tab=comments#comment-2720226" rel="">https://www.prestashop.com/forums/topic/626192-17-how-to-display-product-price-include-tax-in-backoffice-catalog/?tab=comments#comment-2720226</a>
</p>

<p>
	The filters don't work though, So the remaining question is how do we get the filters to work?
</p>

<p>
	 
</p>
]]></description><guid isPermaLink="false">674528</guid><pubDate>Sun, 04 Mar 2018 19:35:40 +0000</pubDate></item><item><title>blank square under my original product picture</title><link>https://forum.prestashop.com/topic/1069338-blank-square-under-my-original-product-picture/</link><description><![CDATA[<p>
	Hi,
</p>

<p>
	I made some Products and in the product list, there is like a white square after the product picture.<br />
	When i hover with the mouse on it, then there comes the second picture of the product.<br />
	How can i remove that?
</p>

<p>
	<img class="ipsImage ipsImage_thumbnailed" data-fileid="297763" data-ratio="233.21" width="268" alt="image.png.9478ea54195066e603bb711a2fddf286.png" data-src="//media.invisioncic.com/t336404/monthly_2022_10/image.png.9478ea54195066e603bb711a2fddf286.png" src="https://forum.prestashop.com/applications/core/interface/js/spacer.png" /><img class="ipsImage ipsImage_thumbnailed" data-fileid="297758" data-ratio="196.68" width="301" alt="image.png.c0d6bc819cc5f6943bc3199675220dd8.png" data-src="//media.invisioncic.com/t336404/monthly_2022_10/image.png.c0d6bc819cc5f6943bc3199675220dd8.png" src="https://forum.prestashop.com/applications/core/interface/js/spacer.png" /></p>
]]></description><guid isPermaLink="false">1069338</guid><pubDate>Sat, 15 Oct 2022 14:31:22 +0000</pubDate></item><item><title>Edit how many products displayed in row</title><link>https://forum.prestashop.com/topic/1069566-edit-how-many-products-displayed-in-row/</link><description><![CDATA[<p>
	Hi, I am looking how to change products  in row from 3 to any desired number. 
</p>

<p>
	website is <a href="https://www.alphazoo.lt/produkto-kategorija/katems/sausas-maistas" rel="external nofollow">https://www.alphazoo.lt/produkto-kategorija/katems/sausas-maistas</a>
</p>

<p>
	Here is my product.tpl -&gt;
</p>

<p>
	<a href="https://hastebin.com/ojuzohigom.csharp" rel="external nofollow">https://hastebin.com/ojuzohigom.csharp</a>
</p>
]]></description><guid isPermaLink="false">1069566</guid><pubDate>Fri, 21 Oct 2022 13:18:13 +0000</pubDate></item><item><title>Backend search in products - resulting empty blank page how to reset last search?</title><link>https://forum.prestashop.com/topic/1069495-backend-search-in-products-resulting-empty-blank-page-how-to-reset-last-search/</link><description><![CDATA[<p>
	Hi, <br />
	I have wired problem after I search some word in backend on products I got empty white page, can not see any information.
</p>

<p>
	Re-login clear cache empty store cache doesn't help. What's the way to reset search in products ? 
</p>

<p>
	When I turn shop in debug mode I can see searched products, and on debug model search works well. Only when I disable debug model then I got empty white page. Maybe this problem cased some special characters used in products name because is only persists if I search this products.
</p>

<p>
	On debug mode I have warning like this:<br /><br />
	Using array_key_exists() on objects is deprecated. Use isset() or property_exists() instead in public_html/src/Adapter/EntityMapper.php on line 99<br /><br />
	My shop was update from 1.6 to 1.7 long time ago but there was no problem before
</p>
]]></description><guid isPermaLink="false">1069495</guid><pubDate>Thu, 20 Oct 2022 08:18:16 +0000</pubDate></item><item><title>E-shop logo is too small</title><link>https://forum.prestashop.com/topic/589640-e-shop-logo-is-too-small/</link><description><![CDATA[
<div><div> </div></div>
<div><div><div><span>I put a company logo with dimensions of 414 x 162px . But e-shop logo is too small.</span></div></div></div>
<p> </p>
<p><a class="ipsAttachLink ipsAttachLink_image" href="//media.invisioncic.com/t336404/monthly_01_2017/post-1319188-0-77583300-1484639952.png" data-fileid="160758" rel=""><img src="https://www.prestashop.com/forums/applications/core/interface/js/spacer.png" data-fileid="160758" class="ipsImage ipsImage_thumbnailed" alt="post-1319188-0-77583300-1484639952_thumb.png" data-src="//media.invisioncic.com/t336404/monthly_01_2017/post-1319188-0-77583300-1484639952_thumb.png" width="100" data-ratio="19"></a></p>
]]></description><guid isPermaLink="false">589640</guid><pubDate>Tue, 17 Jan 2017 08:00:06 +0000</pubDate></item><item><title>Product Access for Groups module fails in activation</title><link>https://forum.prestashop.com/topic/1037739-product-access-for-groups-module-fails-in-activation/</link><description><![CDATA[
<p>
	Hi,
</p>

<p>
	I've installed the "Product access for groups" module in a clean installation to test it and everything goes well. But I really need to install in my current website but the activation fails. Can anyone helps me? Bellow is the log from dev.log. Thanks!
</p>

<p>
	 
</p>

<p>
	[2020-12-07] request.INFO: Matched route "admin_module_manage_action". {"route_parameters":{"_controller":"PrestaShopBundle\\Controller\\Admin\\ModuleController::moduleAction","action":"enable","module_name":"psproductaccess","_route":"admin_module_manage_action"},"request_uri":"http://localhost/****/admin_*****/index.php/module/manage/action/enable/psproductaccess?_token=xxxxxxxxxxxxxxxxxxxxxxxxxxxxx"} []<br />
	[2020-12-07] security.DEBUG: Read existing security token from the session. {"key":"_security_main"} []<br />
	[2020-12-07] security.DEBUG: User was reloaded from a user provider. {"username":"l***@**.com","provider":"PrestaShopBundle\\Security\\Admin\\EmployeeProvider"} []<br />
	[2020-12-07] doctrine.DEBUG: SELECT p0_.id AS id_0, p0_.id_employee AS id_employee_1, p0_.id_module AS id_module_2, p0_.date_add AS date_add_3, p0_.date_upd AS date_upd_4 FROM ps_module_history p0_ WHERE p0_.id_employee = ? [7] []<br />
	[2020-12-07] php.DEBUG: mkdir(): File exists {"type":2,"file":"C:\\wamp64\\www\\******\\classes\\PrestaShopAutoload.php","line":216,"level":28928} []<br />
	[2020-12-07 ] php.DEBUG: mkdir(): File exists {"type":2,"file":"C:\\wamp64\\www\\******\\classes\\PrestaShopAutoload.php","line":216,"level":28928} []<br />
	[2020-12-071] doctrine.DEBUG: SELECT name FROM ps_module WHERE active = 1 [] []<br />
	[2020-12-07] security.DEBUG: Stored the security token in the session. {"key":"_security_main"} []
</p>
]]></description><guid isPermaLink="false">1037739</guid><pubDate>Mon, 07 Dec 2020 14:34:28 +0000</pubDate></item><item><title>[Solved]Removing/editing Ecommerce software by PrestaShop&#x2122;</title><link>https://forum.prestashop.com/topic/571795-solvedremovingediting-ecommerce-software-by-prestashop%E2%84%A2/</link><description><![CDATA[
<p>I would like to edit the link at the bottom of the footer (<a href="http://www.prestashop.com" rel="external nofollow">© 2016 - Ecommerce software by PrestaShop™).</a></p>
<p>As much as I like to give credit to PrestaShop, it doesn't look as professional as if I put my own company information in this space. I have edited it in previous versions but can't find the correct file or translation in the back office. Can anyone tell me the correct way to change it?</p>
]]></description><guid isPermaLink="false">571795</guid><pubDate>Thu, 24 Nov 2016 16:41:59 +0000</pubDate></item><item><title>Cant go beyond personal information in Chrome Browser</title><link>https://forum.prestashop.com/topic/1068186-cant-go-beyond-personal-information-in-chrome-browser/</link><description><![CDATA[<p>
	When i try to continue after filling personal information, it again comes back to Personal information
</p>

<p>
	It happens only in chrome browser
</p>

<p>
	I am using current version 1.7.8.7
</p>
]]></description><guid isPermaLink="false">1068186</guid><pubDate>Tue, 13 Sep 2022 06:07:57 +0000</pubDate></item><item><title>Subcategories with same name (Prestashop 1.7.0.4)</title><link>https://forum.prestashop.com/topic/588523-subcategories-with-same-name-prestashop-1704/</link><description><![CDATA[<p><span><span>Hello,</span><br /><span>I installed</span> <span>Prestashop</span> <span>1.7.0.4</span> <span>in Italian and</span> <span>English</span><span>.</span><br /><br /><span>I built</span> <span>this tree</span> <span>of categories</span> <span>without any</span> <span>error</span><span>:</span><br /><span>Products</span><br /><span>-Footwear</span><br /><span>--Man</span><br /><span>---</span> <span>sneaker</span><br /><span>--Woman</span><br /><span>---</span> <span>sneaker</span><br /><br /><span>If I create</span> <span>a product</span> <span>and</span> <span>I check</span> <span>both categories</span> <span>"sneaker"</span> <span>the system give me this error</span> <span><strong>Unable to update settings</strong>.</span><br /><br /><span>Why? Is it a bug?</span><br /><br /><span>Thanks in advance!</span></span></p>]]></description><guid isPermaLink="false">588523</guid><pubDate>Fri, 13 Jan 2017 19:37:58 +0000</pubDate></item><item><title>Prestashop multistore shared shopping cart does not display images and does not redirect to correct page</title><link>https://forum.prestashop.com/topic/1054390-prestashop-multistore-shared-shopping-cart-does-not-display-images-and-does-not-redirect-to-correct-page/</link><description><![CDATA[<p>
	<img class="ipsImage ipsImage_thumbnailed" data-fileid="278932" data-ratio="36.94" width="758" alt="image.png.082265f8d35ef60f16f0146235898ad1.png" data-src="//media.invisioncic.com/t336404/monthly_2021_09/image.png.082265f8d35ef60f16f0146235898ad1.png" src="https://forum.prestashop.com/applications/core/interface/js/spacer.png" /></p>

<p>
	As you can see, it says no image available (this is because product is from another store, the stores share shopping carts).
</p>

<p>
	Also the page it redirects to when clicking on ourProduct is not the actual product page on the other store but on the same page as I am currently (i am on myshop.com, product is originally from myshop.com/store2 and when clicking on it it redirects to myshop.com/ourProduct not myshop.com/store2/ourProduct.
</p>

<p>
	Have searched for solutions but have not found any working ones.
</p>

<p>
	 
</p>

<p>
	Prestashop version is 1.7.7
</p>
]]></description><guid isPermaLink="false">1054390</guid><pubDate>Tue, 21 Sep 2021 15:05:04 +0000</pubDate></item><item><title>Changing order reference to order ID</title><link>https://forum.prestashop.com/topic/586544-changing-order-reference-to-order-id/</link><description><![CDATA[
<p>Hi everyone,</p>
<p> </p>
<p>I would like to ask which way is the easiest for changing the order reference from random letters to the order ID.</p>
<p> </p>
<p>Will this <a href="http://nemops.com/prestashop-replace-order-references-with-ids/#.WG49KPnhCUk" rel="external nofollow">http://nemops.com/prestashop-replace-order-references-with-ids/#.WG49KPnhCUk</a> work for PS 1.7 (1.7.0.3 exactly)?</p>
<p> </p>
<p>THX!</p>
]]></description><guid isPermaLink="false">586544</guid><pubDate>Thu, 05 Jan 2017 12:35:50 +0000</pubDate></item><item><title>How to show Brands as filter in the faceted search block</title><link>https://forum.prestashop.com/topic/616325-how-to-show-brands-as-filter-in-the-faceted-search-block/</link><description><![CDATA[
<p>How to show Brands as filter in the faceted search block?</p>
<p>Its showing the product features (like Size, Color..) but no Brand.</p>
<p> </p>
<p>I tried to go to Module "Faceted search" configuration:<br><a href="https://postimg.org/image/nr5twaa2n/" rel="external nofollow"><img src="https://www.prestashop.com/forums/applications/core/interface/js/spacer.png" alt="faceted_search.png" data-src="https://s19.postimg.org/nr5twaa2n/faceted_search.png"></a></p>
<p> </p>
<p>But still it <strong>does not show</strong>, What I am missing?</p>
]]></description><guid isPermaLink="false">616325</guid><pubDate>Tue, 20 Jun 2017 21:29:00 +0000</pubDate></item><item><title>Notification on new orders</title><link>https://forum.prestashop.com/topic/1028274-notification-on-new-orders/</link><description><![CDATA[
<p>
	Maybe I'm missing this in a dropdown or a page of preferences.
</p>

<p>
	Is there a setting where an email would be sent to the admin if there was a new order? It seems obvious but I can't find it.<br /><br />
	Thank you all.
</p>
]]></description><guid isPermaLink="false">1028274</guid><pubDate>Wed, 22 Jul 2020 12:46:21 +0000</pubDate></item><item><title>Attempted to call an undefined method named "getControllersPhpselfList" of class "Dispatcher".</title><link>https://forum.prestashop.com/topic/1066638-attempted-to-call-an-undefined-method-named-getcontrollersphpselflist-of-class-dispatcher/</link><description><![CDATA[<p>
	Hello to all, i get these error on my prestashop. Any help?
</p>

<p>
	 
</p>

<p>
	 
</p>

<p>
	 
</p>

<p>
	Symfony\Component\Debug\Exception\UndefinedMethodException
</p>

<p>
	in controllers/admin/AdminModulesPositionsController.php (line 449)
</p>

<p>
	                    &lt;select size="25" id="em_list_' . $shop_id . '" multiple="multiple"&gt;
</p>

<p>
	                    &lt;option disabled="disabled"&gt;'
</p>

<p>
	                    . $this-&gt;trans('___________ CUSTOM ___________', [], 'Admin.Design.Feature')
</p>

<p>
	                    . '&lt;/option&gt;';
</p>

<p>
	        $controllers = Dispatcher::getControllersPhpselfList(_PS_FRONT_CONTROLLER_DIR_);
</p>

<p>
	        asort($controllers);
</p>

<p>
	        foreach ($file_list as $k =&gt; $v) {
</p>

<p>
	            if (!in_array($v, $controllers)) {
</p>

<p>
	                $content .= '&lt;option value="' . $v . '"&gt;' . $v . '&lt;/option&gt;';
</p>

<p>
	AdminModulesPositionsControllerCore-&gt;displayModuleExceptionList(array(), 0)in controllers/admin/AdminModulesPositionsController.php (line 404)
</p>

<p>
	AdminModulesPositionsControllerCore-&gt;renderForm()in controllers/admin/AdminModulesPositionsController.php (line 255)
</p>

<p>
	AdminModulesPositionsControllerCore-&gt;initContent()in classes/controller/Controller.php (line 306)
</p>

<p>
	ControllerCore-&gt;run()in override/classes/Dispatcher.php (line 509)
</p>

<p>
	DispatcherCore-&gt;dispatch()in admin211/index.php (line 93)
</p>
]]></description><guid isPermaLink="false">1066638</guid><pubDate>Thu, 28 Jul 2022 20:03:04 +0000</pubDate></item><item><title>How to add custom CSS file in stylesheets.tpl</title><link>https://forum.prestashop.com/topic/598436-how-to-add-custom-css-file-in-stylesheetstpl/</link><description><![CDATA[<p>How to add some custom CSS files in stylesheets.tpl?</p>]]></description><guid isPermaLink="false">598436</guid><pubDate>Thu, 09 Mar 2017 16:45:55 +0000</pubDate></item><item><title>Warehouse Location in 1.7.2.2</title><link>https://forum.prestashop.com/topic/626414-warehouse-location-in-1722/</link><description><![CDATA[
<p>As far as I can see there is not possible to add a warehouse location for each products in prestashop 1.7.2.2<br />(ie. on which shelf you keep your product, so you easily can find it when your packing your orders).</p>
<p> </p>
<p>I'm aware of the rebuild of Advanced Stock Management, but just having a warehouse location should be something a lot of shops would find useful.<br /><br />Is there any module to achieve this, or is it any plans to add this in the core Prestashop?</p>
]]></description><guid isPermaLink="false">626414</guid><pubDate>Sat, 02 Sep 2017 00:32:04 +0000</pubDate></item><item><title>Prestashop 1.7.1.1 can not stop loading. It is not work correctly.</title><link>https://forum.prestashop.com/topic/610978-prestashop-1711-can-not-stop-loading-it-is-not-work-correctly/</link><description><![CDATA[
<p>Hi guys, this is my first post on prestashop forum. Expecting to get help and answer with my fresh installation. My installation, prestashop is not working correctly, Some of button, like add file (in add theme) and demo button, is not work. Initially I suspect that it will be related with memory limit, which is I've already change it to 128 M, and uploading size to 16 M. But the problem is still persist. And when I look at the top left corner, Every time, the problem occur there is a loading icon, rotating and never stop, as if the content of the program is not loaded entirely.</p>
<p> </p>
<p>For information, I use softaculous auto installer.</p>
<p>I hope there is some of you who can shed some light. I 've been stuck for days with this problem.</p>
<p> </p>
<p>Thank You.</p>
<p> </p>
<p><a class="ipsAttachLink ipsAttachLink_image" href="//media.invisioncic.com/t336404/monthly_05_2017/post-1274452-0-15266900-1495440255.png" data-fileid="166577" rel=""><img src="https://www.prestashop.com/forums/applications/core/interface/js/spacer.png" data-fileid="166577" class="ipsImage ipsImage_thumbnailed" alt="post-1274452-0-15266900-1495440255_thumb.png" data-src="//media.invisioncic.com/t336404/monthly_05_2017/post-1274452-0-15266900-1495440255_thumb.png" width="100" data-ratio="89"></a></p>
]]></description><guid isPermaLink="false">610978</guid><pubDate>Mon, 22 May 2017 08:04:41 +0000</pubDate></item><item><title>Is there  a hooks positions overview somwhere?</title><link>https://forum.prestashop.com/topic/611530-is-there-a-hooks-positions-overview-somwhere/</link><description><![CDATA[
<p>Coming from Joomla and Virtuemart, what i liked about most template sellers, is a preview of each module position within their template. Something like this: <a href="https://demo.gavick.com/joomla3/box/images/demo/module_positions.png" rel="external nofollow">https://demo.gavick.com/joomla3/box/images/demo/module_positions.png</a></p>
<p> </p>
<p>Modules in Joomla are what a hook is for Prestashop.</p>
<p> </p>
<p>Does anyone know if this exists for the starter-theme?</p>
<p> </p>
<p>I am absolutely new to Prestashop so please bare with me if what i am saying sounds weird to you.</p>
<p>But i think that such an overview would be helpfuel to understand where what hook is set, thoug in the backend those hooks are described like "Area above header".</p>
<p> </p>
<p>The point is, that i am creating my own template i have read in the documentation that i can create my own hooks, but i could not find out how to start this from within a blank page. As i said, i am new to PrestaShop <img src="https://www.prestashop.com/forums/applications/core/interface/js/spacer.png" alt=":)" data-emoticon="" srcset="https://media.invisioncic.com/t336404/emoticons/smile@2x.png 2x" width="20" height="20" data-src="//media.invisioncic.com/t336404/emoticons/default_smile.png"></p>
<p> </p>
<p>Hugs and greetings and thanks for your help in advance.</p>
]]></description><guid isPermaLink="false">611530</guid><pubDate>Thu, 25 May 2017 11:24:52 +0000</pubDate></item><item><title>Modify the My Account Block</title><link>https://forum.prestashop.com/topic/691239-modify-the-my-account-block/</link><description><![CDATA[
<p>
	Hello
</p>

<p>
	I am using Prestashop 1.7.3
</p>

<p>
	On the bottom of the front page there is a block called My Account.
</p>

<p>
	I find the My Account Block on my module list but there is only possible to deactivate or activate.
</p>

<p>
	I want to edit the information: Remove "Credit note" and keep the rest.
</p>

<p>
	Can anyone help me were to remove this link ?
</p>

<p>
	 
</p>

<p>
	Thank you
</p>

<p>
	Petter
</p>

<p>
	 
</p>
]]></description><guid isPermaLink="false">691239</guid><pubDate>Fri, 16 Mar 2018 14:27:14 +0000</pubDate></item><item><title>After next page - go to top</title><link>https://forum.prestashop.com/topic/586607-after-next-page-go-to-top/</link><description><![CDATA[<p>Hi I would like to change the theme a abit, how to make after paging to the next or previous page in products, to show page top? Not to stay in the same place?</p>]]></description><guid isPermaLink="false">586607</guid><pubDate>Thu, 05 Jan 2017 18:35:40 +0000</pubDate></item><item><title>How to add a new field in registration form?</title><link>https://forum.prestashop.com/topic/663591-how-to-add-a-new-field-in-registration-form/</link><description><![CDATA[
<p>
	Hi. I just want to add new field in registration form. That field will be filled with phone or mobile phone number. I'm using Prestashop 1.7.2.4. Can I apply this simply for guest and user? Is it possible through module? Thanks for replies.
</p>
<p><a href="//media.invisioncic.com/t336404/monthly_2018_02/1.jpg.9e8db7084404c050a7a9c3436644a545.jpg" class="ipsAttachLink ipsAttachLink_image"><img data-fileid="178917" src="https://www.prestashop.com/forums/applications/core/interface/js/spacer.png" class="ipsImage ipsImage_thumbnailed" alt="1.jpg" data-src="//media.invisioncic.com/t336404/monthly_2018_02/1.thumb.jpg.433a5bc46145f23806626450f7c2c86b.jpg" width="894" data-ratio="83.89"></a></p>
]]></description><guid isPermaLink="false">663591</guid><pubDate>Fri, 09 Feb 2018 10:03:25 +0000</pubDate></item><item><title>Order confirmation no products only total</title><link>https://forum.prestashop.com/topic/676309-order-confirmation-no-products-only-total/</link><description><![CDATA[
<p>
	Hi,
</p>

<p>
	i'm using PS 1.7.2.5 with php 7.0.27 and a commercial theme
</p>

<p>
	I ahve an issue with the pdf sent for order confirmation. It is the same than the one described here =&gt; <a href="https://forum.prestashop.com/topic/395882-order-confirmation-email-no-products-or-date/" rel="">https://www.prestashop.com/forums/topic/395882-order-confirmation-email-no-products-or-date/</a>
</p>

<p>
	I have tried several things (check translation, add tpl files to /mail/fr, tried with classic theme, disable purifier, disable ssl), nothing works.
</p>

<p>
	Any help should be really appreciate :-), i am turning crazy.
</p>

<p>
	Thanks by advance
</p>

<p>
	<a class="ipsAttachLink ipsAttachLink_image" href="//media.invisioncic.com/t336404/monthly_2018_03/5a9eb7b02b901_Capturedecran2018-03-06a16_45_17.png.fa3a31be7bb6c3eb109a0d6be2d782a9.png" data-fileid="181259" rel=""><img alt="Capture d’écran 2018-03-06 à 16.45.17.png" class="ipsImage ipsImage_thumbnailed" data-fileid="181259" src="https://www.prestashop.com/forums/applications/core/interface/js/spacer.png" data-src="//media.invisioncic.com/t336404/monthly_2018_03/5a9eb7b06a818_Capturedecran2018-03-06a16_45_17.thumb.png.8c2f58006a3e611f2a9585c0675d03c4.png" width="623" data-ratio="120.39"></a>
</p>
]]></description><guid isPermaLink="false">676309</guid><pubDate>Tue, 06 Mar 2018 15:46:35 +0000</pubDate></item><item><title>how to change email</title><link>https://forum.prestashop.com/topic/1062327-how-to-change-email/</link><description><![CDATA[<p>
	i wrote a fake email named ammar@ammar 
</p>

<p>
	and i forgot to type .com 
</p>

<p>
	now i can't sign in 
</p>

<p>
	is there a way to modify it or change it 
</p>

<p>
	i also removed install file 
</p>

<p>
	 
</p>

<p><a href="//media.invisioncic.com/t336404/monthly_2022_03/1764070425_Screenshot2022-03-27234046.png.ef14a6e3b9b143fe3b26f0888dd21946.png" class="ipsAttachLink ipsAttachLink_image"><img data-fileid="287618" src="https://www.prestashop.com/forums/applications/core/interface/js/spacer.png" data-src="//media.invisioncic.com/t336404/monthly_2022_03/1764070425_Screenshot2022-03-27234046.png.ef14a6e3b9b143fe3b26f0888dd21946.png" data-ratio="85.21" width="507" class="ipsImage ipsImage_thumbnailed" alt="Screenshot 2022-03-27 234046.png"></a></p>]]></description><guid isPermaLink="false">1062327</guid><pubDate>Sun, 27 Mar 2022 20:41:22 +0000</pubDate></item><item><title>Drop-down subcategories in top menu</title><link>https://forum.prestashop.com/topic/939817-drop-down-subcategories-in-top-menu/</link><description><![CDATA[
<p>
	 
</p>

<p>
	<span style="background-color:#ffffff;color:#212121;font-size:16px;text-align:left;">Hello,<br><br>
	I am using ps_mainmenu top menu with default Prestashop theme, but only performs the action of the drop-down menu with the parent category but not with the subcategories, as it appears in the attached image and the HTML code with Chrome. I would like to be able to display the menu of subcategories. Somebody could help me? Thanks! This is my ps_mainmenu.tpl code:</span>
</p>

<p>
	 
</p>

<pre class="ipsCode prettyprint lang-html prettyprinted">
<span class="pln">{assign var=_counter value=0}
{function name="menu" nodes=[] depth=0 parent=null}
    {if $nodes|count}
      </span><span class="tag">&lt;ul</span><span class="pln"> </span><span class="atn">class</span><span class="pun">=</span><span class="atv">"top-menu"</span><span class="pln"> {</span><span class="atn">if</span><span class="pln"> $</span><span class="atn">depth</span><span class="pln"> </span><span class="atv">=</span><span class="pun">=</span><span class="pln"> 0}</span><span class="atn">id</span><span class="pun">=</span><span class="atv">"top-menu"</span><span class="pln">{</span><span class="pun">/</span><span class="atn">if</span><span class="pln">} </span><span class="atn">data-depth</span><span class="pun">=</span><span class="atv">"{$depth}"</span><span class="tag">&gt;</span><span class="pln">
        {foreach from=$nodes item=node}
            </span><span class="tag">&lt;li</span><span class="pln"> </span><span class="atn">class</span><span class="pun">=</span><span class="atv">"{$node.type}{if $node.current} current {/if}"</span><span class="pln"> </span><span class="atn">id</span><span class="pun">=</span><span class="atv">"{$node.page_identifier}"</span><span class="tag">&gt;</span><span class="pln">
            {assign var=_counter value=$_counter+1}
              </span><span class="tag">&lt;a</span><span class="pln">
                </span><span class="atn">class</span><span class="pun">=</span><span class="atv">"{if $depth &gt;</span><span class="pln">= 0}dropdown-item{/if}{if $depth === 1} dropdown-submenu{/if}"
                href="{$node.url}" data-depth="{$depth}"
                {if $node.open_in_new_window} target="_blank" {/if}
              &gt;
                {if $node.children|count}
                  {* Cannot use page identifier as we can have the same page several times *}
                  {assign var=_expand_id value=10|mt_rand:100000}
                  </span><span class="tag">&lt;span</span><span class="pln"> </span><span class="atn">class</span><span class="pun">=</span><span class="atv">"float-xs-right hidden-md-up"</span><span class="tag">&gt;</span><span class="pln">
                    </span><span class="tag">&lt;span</span><span class="pln"> </span><span class="atn">data-target</span><span class="pun">=</span><span class="atv">"#top_sub_menu_{$_expand_id}"</span><span class="pln"> </span><span class="atn">data-toggle</span><span class="pun">=</span><span class="atv">"collapse"</span><span class="pln"> </span><span class="atn">class</span><span class="pun">=</span><span class="atv">"navbar-toggler collapse-icons"</span><span class="tag">&gt;</span><span class="pln">
                      </span><span class="tag">&lt;i</span><span class="pln"> </span><span class="atn">class</span><span class="pun">=</span><span class="atv">"material-icons add"</span><span class="tag">&gt;</span><span class="pln">&amp;#xE313;</span><span class="tag">&lt;/i&gt;</span><span class="pln">
                      </span><span class="tag">&lt;i</span><span class="pln"> </span><span class="atn">class</span><span class="pun">=</span><span class="atv">"material-icons remove"</span><span class="tag">&gt;</span><span class="pln">&amp;#xE316;</span><span class="tag">&lt;/i&gt;</span><span class="pln">
                    </span><span class="tag">&lt;/span&gt;</span><span class="pln">
                  </span><span class="tag">&lt;/span&gt;</span><span class="pln">
                {/if}
                {$node.label}
              </span><span class="tag">&lt;/a&gt;</span><span class="pln">
              {if $node.children|count}
              </span><span class="tag">&lt;div</span><span class="pln"> {</span><span class="atn">if</span><span class="pln"> $</span><span class="atn">depth</span><span class="pln"> </span><span class="atv">==</span><span class="pun">=</span><span class="pln"> 0} </span><span class="atn">class</span><span class="pun">=</span><span class="atv">"popover sub-menu js-sub-menu collapse"</span><span class="pln">{</span><span class="atn">else</span><span class="pln">} </span><span class="atn">class</span><span class="pun">=</span><span class="atv">"collapse"</span><span class="pln">{</span><span class="pun">/</span><span class="atn">if</span><span class="pln">} </span><span class="atn">id</span><span class="pun">=</span><span class="atv">"top_sub_menu_{$_expand_id}"</span><span class="tag">&gt;</span><span class="pln">
                {menu nodes=$node.children depth=$node.depth parent=$node}
              </span><span class="tag">&lt;/div&gt;</span><span class="pln">
              {/if}
            </span><span class="tag">&lt;/li&gt;</span><span class="pln">
        {/foreach}
      </span><span class="tag">&lt;/ul&gt;</span><span class="pln">
    {/if}
{/function}

</span><span class="tag">&lt;div</span><span class="pln"> </span><span class="atn">class</span><span class="pun">=</span><span class="atv">"menu js-top-menu position-static hidden-sm-down"</span><span class="pln"> </span><span class="atn">id</span><span class="pun">=</span><span class="atv">"_desktop_top_menu"</span><span class="tag">&gt;</span><span class="pln">
    {menu nodes=$menu.children}
    </span><span class="tag">&lt;div</span><span class="pln"> </span><span class="atn">class</span><span class="pun">=</span><span class="atv">"clearfix"</span><span class="tag">&gt;&lt;/div&gt;</span><span class="pln">
</span><span class="tag">&lt;/div&gt;</span></pre>

<p>
	<br><br>
	 
</p>

<p>
	<a class="ipsAttachLink ipsAttachLink_image" href="//media.invisioncic.com/t336404/monthly_2018_11/439764801_Sinttulo.png.2e425865f3285d4662fc421e2defcd0e.png" data-fileid="208121" rel=""><img alt="Sin título.png" class="ipsImage ipsImage_thumbnailed" data-fileid="208121" src="https://www.prestashop.com/forums/applications/core/interface/js/spacer.png" data-src="//media.invisioncic.com/t336404/monthly_2018_11/2096768992_Sinttulo.thumb.png.5a5892b32d6521e6a9cca17d31ddb40c.png" width="1000" data-ratio="46.3"></a>
</p>

<p>
	<a class="ipsAttachLink ipsAttachLink_image" href="//media.invisioncic.com/t336404/monthly_2018_11/534323597_Sinttulo2.png.22ec350c8e400c20dfe6d63ebdda945d.png" data-fileid="208122" rel=""><img alt="Sin título2.png" class="ipsImage ipsImage_thumbnailed" data-fileid="208122" src="https://www.prestashop.com/forums/applications/core/interface/js/spacer.png" data-src="//media.invisioncic.com/t336404/monthly_2018_11/534323597_Sinttulo2.png.22ec350c8e400c20dfe6d63ebdda945d.png" width="841" data-ratio="82.4"></a>
</p>
]]></description><guid isPermaLink="false">939817</guid><pubDate>Tue, 20 Nov 2018 18:22:00 +0000</pubDate></item><item><title>Can't upgrade modules after upgrading to 1.7.1</title><link>https://forum.prestashop.com/topic/604868-cant-upgrade-modules-after-upgrading-to-171/</link><description><![CDATA[
<div>I upgraded the core from 1.7.0.5 to 1.7.1.0 by 1-Click Upgrade (with many problems...)</div>
<br /><div>Now I can't to upgrade modules.</div>
<br /><div> </div>
<br /><div>1. Press UPGRADE button.</div>
<br /><div>2. Got the message: "Notice! Операция Upgrade на модуле &lt;бла-бла-бла&gt; прошла успешно." (succesful upgrading)</div>
<br /><div> </div>
<br /><div>But...</div>
<br /><div>The "Upgrade" button was not change to "Configure".</div>
<br /><div>I tried to press the "UPGRADE ALL" button too. The same...</div>
<br /><div> </div>
<br /><div>29 modules are not upgradable...  o_O</div>
<br />]]></description><guid isPermaLink="false">604868</guid><pubDate>Tue, 11 Apr 2017 23:07:55 +0000</pubDate></item><item><title>Error codes 302 200</title><link>https://forum.prestashop.com/topic/1020925-error-codes-302-200/</link><description><![CDATA[
<p>
	Hello, 
</p>

<p>
	Same website, same domain. Version 1.7.6.4 These are under main directory / and /test/ 
</p>

<p>
	test is fresh, empty, basic orders and customer / is old one updated. I dont know what did happened but but i have problems about some save situations. For example these are changing order status. Please check the attachment. 
</p>

<p>
	It stops under 200 code, not taking 302 to redirect to refreshed page, what should i do ?  Some other admin related controllers also stops like this. it also saves if i refresh. no problem, just not takin 302 after 200. or somethin like this. No error codes, i investigate all of them..  But same domain and under /test/ works good, without problem.
</p>

<p>
	PLEASE PLEASE HELP
</p>

<p>
	 
</p>

<p>
	 
</p>

<p>
	<a class="ipsAttachLink ipsAttachLink_image" href="//media.invisioncic.com/t336404/monthly_2020_04/new302200.jpg.615057431854f2d19c8576befbb042cf.jpg" data-fileid="242462" data-fileext="jpg" rel=""><img alt="new302200.jpg" class="ipsImage ipsImage_thumbnailed" data-fileid="242462" data-ratio="85.13" style="height:auto;" width="881" data-src="https://forum.prestashop.com/uploads/monthly_2020_04/new302200.thumb.jpg.d5f1f76bab54e7ad1b75ba31abe531ea.jpg" src="https://forum.prestashop.com/applications/core/interface/js/spacer.png" /></a>
</p>
]]></description><guid isPermaLink="false">1020925</guid><pubDate>Wed, 22 Apr 2020 16:32:20 +0000</pubDate></item><item><title>Image Path wrong direction</title><link>https://forum.prestashop.com/topic/598909-image-path-wrong-direction/</link><description><![CDATA[
<p>Hi there i jsut instal a full clean prestashop 1.7</p>
<p> </p>
<p>I just configure the store, change url friendly, and update a product. THe product image gives me this. </p>
<p><a href="http://puntohobby.cl/27-home_default/saint-seiya-daizenshuu-leo-aiolia.jpg" rel="external nofollow">http://puntohobby.cl/27-home_default/saint-seiya-daizenshuu-leo-aiolia.jpg</a> 404 (Not Found)</p>
<p> </p>
<p>instead of the Path of the image, shows me the NAME OF THE MINIATURE o CONFIG that is using, someone knows how to fix it ? becouse in the back office.when i see the product list i got this. </p>
<p><a href="http://puntohobby.cl/img/p/2/7/27.jpg" rel="external nofollow">http://puntohobby.cl/img/p/2/7/27.jpg</a></p>
<p> </p>
<p>so the image is indeed on the correct folder but the path of the "front office" and product image in the front are wrong, any idea ?</p>
]]></description><guid isPermaLink="false">598909</guid><pubDate>Sat, 11 Mar 2017 19:17:43 +0000</pubDate></item><item><title>Custom translations</title><link>https://forum.prestashop.com/topic/940756-custom-translations/</link><description><![CDATA[
<p>
	Hello!
</p>

<p>
	What is the best and easiest way to make custom, new translations?<br />
	I found information that if You want to translate missing lines of module, it is good way to:
</p>

<blockquote class="ipsQuote" data-ipsquote="">
	<div class="ipsQuote_citation">
		Quote
	</div>

	<div class="ipsQuote_contents">
		<p style="background-color:#ffffff;color:#24292e;font-size:14px;">
			you can copy the templete file in the theme directory like:
		</p>

		<p style="background-color:#ffffff;color:#24292e;font-size:14px;">
			themes/your_theme/modules/ps_wirepayment/views/templates/hook/payment_return.tpl
		</p>

		<p style="background-color:#ffffff;color:#24292e;font-size:14px;">
			And then change the domain for all strings, instead of {l s="My string" mod="ps_bankwire"} use something like {l s="My string" d="Modules.Wirepayment.Shop"}
		</p>

		<p style="background-color:#ffffff;color:#24292e;font-size:14px;">
			You will then be able to translate all strings as part of your theme (International -&gt; Translations -&gt; Theme)
		</p>
	</div>
</blockquote>

<p>
	I changed this line in my tpl, but translation did not show at BO translations. Do i have to reload translations somehow, to make it appear? Whenever I edit file app/resources/translations/pl-PL/ModulesWirepaymentShop.pl-PL and put at the end:
</p>

<blockquote class="ipsQuote" data-ipsquote="">
	<div class="ipsQuote_citation">
		Quote
	</div>

	<div class="ipsQuote_contents">
		<p>
			  &lt;file original="modules/ps_wirepayment/views/templates/hook/payment_return.tpl" source-language="en" target-language="pl" datatype="plaintext"&gt;<br />
			    &lt;body&gt;<br />
			      &lt;trans-unit id="b2f40691858b401ed10e62bdf022c705"&gt;<br />
			        &lt;source&gt;Please specify your order reference %s in the bankwire description.&lt;/source&gt;<br />
			        &lt;target&gt;Translated %s example.&lt;/target&gt;<br />
			        &lt;note&gt;Context:<br />
			File: modules/ps_wirepayment/views/templates/hook/payment_return.tpl:34&lt;/note&gt;<br />
			      &lt;/trans-unit&gt;<br />
			     &lt;/body&gt;<br />
			  &lt;/file&gt; 
		</p>
	</div>
</blockquote>

<p>
	And replace it via FTP - shop crashes and there is error 500. Translating payment_return.tpl is just example, I would like to know how to add new translations at any place of my shop.
</p>

<p>
	 
</p>

<p>
	 
</p>

<p>
	 
</p>
]]></description><guid isPermaLink="false">940756</guid><pubDate>Fri, 23 Nov 2018 07:24:37 +0000</pubDate></item><item><title>Product combination pictures not updating in v1.7.1.0</title><link>https://forum.prestashop.com/topic/603856-product-combination-pictures-not-updating-in-v1710/</link><description><![CDATA[
<p>Hello,</p>
<p>  I upgraded my test store from 1.7.0.5 to 1.7.1.0. During validation, I found that when I change from one product combination to another, the available product pictures no longer update to show the new combination. The pictures for the default combination still remain. This works fine in my production 1.7.0.5 build, where changing the combinations will cause the product photos to update. I checked in this product configuration and it does still have the correct photos chosen for each combination. Is this a bug with 1.7.1.0, or have I missed a step during upgrade.</p>
<p> </p>
<p>Steps taken:</p>
<ul><li>1 Click Upgrade from 1.7.0.5 to 1.7.1.0</li>
<li>Clear Cache</li>
<li>Flip SEO-Friendly-URLs back and forth</li>
<li>Reindex my attributes, features</li>
<li>Ctrl+F5 to reload the page</li>
</ul><p>I am using my own theme, but its SUPER close to the classic theme. I forked my own from CLASSIC 1.7.0.5 to make a few small changes. </p>
<p> </p>
<p>Anyone else seeing this?</p>
<p> </p>
<p>Thanks,</p>
<p>Vinnie</p>
]]></description><guid isPermaLink="false">603856</guid><pubDate>Wed, 05 Apr 2017 22:48:08 +0000</pubDate></item><item><title>Cantidad de fotos en un producto</title><link>https://forum.prestashop.com/topic/1060542-cantidad-de-fotos-en-un-producto/</link><description><![CDATA[<p>
	Hola, mi pregunta es si se puede hacer que en cada producto solo haya una sola foto. Subo un csv todos los días para actualizar el catálogo y las fotos se duplican y si no cojo la casilla de url de imagen los productos nuevo salen sin foto.
</p>

<p>
	Se puede programar para que los productos solo tengan una sola imagen por defecto. 
</p>

<p>
	 
</p>

<p>
	La web es www.a4comercio.es
</p>

<p>
	Un saludo y muchas gracias
</p>
]]></description><guid isPermaLink="false">1060542</guid><pubDate>Fri, 11 Feb 2022 16:07:39 +0000</pubDate></item><item><title>Quick view on 1.7</title><link>https://forum.prestashop.com/topic/594662-quick-view-on-17/</link><description><![CDATA[
<p>Hello,</p>
<p> </p>
<p>please how to disable quick view on prestashop 1.7?</p>
<p> </p>
<p>Thanks for the answer.</p>	 ]]></description><guid isPermaLink="false">594662</guid><pubDate>Fri, 17 Feb 2017 17:33:23 +0000</pubDate></item><item><title>Cr&#xE9;er un produit PrestaShop avec un post</title><link>https://forum.prestashop.com/topic/1060166-cr%C3%A9er-un-produit-prestashop-avec-un-post/</link><description><![CDATA[<p>
	 
</p>

<p>
	Bonjour,
</p>

<p>
	Je veux effectuer ajouter un produit avec un post PrestaShop mais celui-ci me renvoi cette erreur.
</p>

<pre class="ipsCode prettyprint lang-xml prettyprinted"><span class="pun">&lt;?</span><span class="pln">xml version</span><span class="pun">=</span><span class="str">"1.0"</span><span class="pln"> encoding</span><span class="pun">=</span><span class="str">"UTF-8"</span><span class="pun">?&gt;</span><span class="pln">
</span><span class="tag">&lt;prestashop</span><span class="pln"> </span><span class="atn">xmlns:xlink</span><span class="pun">=</span><span class="atv">"http://www.w3.org/1999/xlink"</span><span class="tag">&gt;</span><span class="pln">
    </span><span class="tag">&lt;errors&gt;</span><span class="pln">
        </span><span class="tag">&lt;error&gt;</span><span class="pln">
      		</span><span class="tag">&lt;code&gt;</span><span class="pln">
                &lt;![CDATA[3]]&gt;
            </span><span class="tag">&lt;/code&gt;</span><span class="pln">
            </span><span class="tag">&lt;message&gt;</span><span class="pln">
                  &lt;![CDATA[[PHP Warning #2] Trying to access array offset on value of type bool
                  (C:\wamp64\www\...\Product.php, line 7170)]]&gt;
            </span><span class="tag">&lt;/message&gt;</span><span class="pln">
          </span><span class="tag">&lt;/error&gt;</span><span class="pln">
    </span><span class="tag">&lt;/errors&gt;</span><span class="pln">
</span><span class="tag">&lt;/prestashop&gt;</span></pre>

<p>
	Voici mon code xml pour le post:
</p>

<pre class="ipsCode prettyprint lang-xml prettyprinted"><span class="pun">&lt;?</span><span class="pln">xml version</span><span class="pun">=</span><span class="str">"1.0"</span><span class="pln"> encoding</span><span class="pun">=</span><span class="str">"UTF-8"</span><span class="pun">?&gt;</span><span class="pln">
</span><span class="tag">&lt;prestashop</span><span class="pln"> </span><span class="atn">xmlns:xlink</span><span class="pun">=</span><span class="atv">"http://www.w3.org/1999/xlink"</span><span class="tag">&gt;</span><span class="pln">
    </span><span class="tag">&lt;product&gt;</span><span class="pln">
        </span><span class="tag">&lt;name&gt;</span><span class="pln">
            </span><span class="tag">&lt;language</span><span class="pln"> </span><span class="atn">id</span><span class="pun">=</span><span class="atv">"1"</span><span class="tag">&gt;</span><span class="pln">Coussin renard</span><span class="tag">&lt;/language&gt;</span><span class="pln">
        </span><span class="tag">&lt;/name&gt;</span><span class="pln">
        </span><span class="tag">&lt;description&gt;</span><span class="pln">
            </span><span class="tag">&lt;language</span><span class="pln"> </span><span class="atn">id</span><span class="pun">=</span><span class="atv">"1"</span><span class="tag">&gt;</span><span class="pln">
            Ce coussin imprimé renard ajoutera une touche graphique et colorée à votre canapé, fauteuil ou lit.
            </span><span class="tag">&lt;/language&gt;</span><span class="pln">
        </span><span class="tag">&lt;/description&gt;</span><span class="pln">
        </span><span class="tag">&lt;description_short&gt;</span><span class="pln">
            </span><span class="tag">&lt;language</span><span class="pln"> </span><span class="atn">id</span><span class="pun">=</span><span class="atv">"1"</span><span class="tag">&gt;</span><span class="pln">
            Coussin déhoussable avec zip invisible au dos. 32x32cm
            </span><span class="tag">&lt;/language&gt;</span><span class="pln">
        </span><span class="tag">&lt;/description_short&gt;</span><span class="pln">
        </span><span class="tag">&lt;price&gt;</span><span class="pln">15.50</span><span class="tag">&lt;/price&gt;</span><span class="pln">
        </span><span class="tag">&lt;minimal_quantity&gt;</span><span class="pln">10</span><span class="tag">&lt;/minimal_quantity&gt;</span><span class="pln">
    </span><span class="tag">&lt;/product&gt;</span><span class="pln">
</span><span class="tag">&lt;/prestashop&gt;</span></pre>

<p>
	Merci d'avance de vos réponses
</p>
]]></description><guid isPermaLink="false">1060166</guid><pubDate>Thu, 03 Feb 2022 13:32:50 +0000</pubDate></item><item><title>Product position inside category does not work - Prestashop 1.7.2.4</title><link>https://forum.prestashop.com/topic/633015-product-position-inside-category-does-not-work-prestashop-1724/</link><description><![CDATA[
<p>
	I have problem with product position when I migrate from 1.6.x to 1.7.x
</p>

<p>
	 
</p>

<p>
	When I have one product associated in two categories then product position inside the category get confused. For example:
</p>

<p>
	Product with ID 1269 is associated with Category:  <a href="http://mywebsite.com/CATEGORY" rel="external nofollow">http://mywebsite.com/<strong>18-C</strong></a><strong>ARS</strong> and when the product is associated with Category: <a href="http://mywebsite.com/CATEGORY" rel="external nofollow">http://mywebsite.com/</a><strong>CARS</strong>/<strong><span style="color:#c0392b;">87-TOOLS  </span></strong><span style="color:#000000;">then products</span><strong><span style="color:#c0392b;"> </span></strong>Position inside category get confused only in category: <a href="http://mywebsite.com/CATEGORY" rel="external nofollow">http://mywebsite.com/<strong>18-C</strong></a><strong>ARS</strong><br><br>
	Product positions inside: ps_category_product:   product 1268 position in category 18 -- &gt; 101  ; product 1268 position in category 87 --&gt; 1  . And the result is: product 1268 position inside category 87 --&gt; 1 BUT in category 18 - POSITION 2<br><br><strong><span style="color:#e74c3c;">Example</span></strong>: <a href="http://dressqueen7.com/iskam222/18-zdrave-i-krasota" rel="external nofollow">http://dressqueen7.com/iskam222/<strong>18-zdrave-i-krasota</strong></a>   <span style="color:#e74c3c;"><strong>and</strong> </span><a href="http://dressqueen7.com/iskam222/87-%D1%87%D0%B5%D1%82%D0%BA%D0%B8-%D0%B7%D0%B0-%D0%B3%D1%80%D0%B8%D0%BC%D0%B8%D1%80%D0%B0%D0%BD%D0%B5" rel="external nofollow">http://dressqueen7.com/iskam222/<strong>87-четки-за-гримиране</strong></a>
</p>

<p>
	 
</p>

<p>
	I will attach screenshots of database and back office<br><br><strong>Here is what I made:</strong><br><br>
	1. Default order by: Position inside category  -  Default order method: Ascending<br><br>
	2. Disabled the module Category tree links v2.0.0 - by PrestaShop<br><br>
	3. Advanced Parameters --&gt; Performance --&gt;  Clear cache<br><br>
	4. Open the website with Chrome and IE edge<br><br>
	5. Tried to move and disable products inside the category<br><br>
	6. I checked database - all looks good.
</p>

<p>
	 
</p>

<p>
	None of this helped <img alt=":(" data-emoticon="" height="20" src="https://www.prestashop.com/forums/applications/core/interface/js/spacer.png" srcset="https://media.invisioncic.com/t336404/emoticons/sad@2x.png 2x" title=":(" width="20" data-src="//media.invisioncic.com/t336404/emoticons/default_sad.png"> 
</p>

<p>
	 
</p>

<p>
	The problem occurs with all products which are associated in 2 consecutive categories
</p>

<p>
	<a class="ipsAttachLink ipsAttachLink_image" href="//media.invisioncic.com/t336404/monthly_2017_10/59f42a4beb5b9_databaseps_category_product.jpg.b336381caf7d31b370cfd92f1a0a9a2c.jpg" data-fileid="171609" rel=""><img alt="database ps_category_product.jpg" class="ipsImage ipsImage_thumbnailed" data-fileid="171609" src="https://www.prestashop.com/forums/applications/core/interface/js/spacer.png" data-src="//media.invisioncic.com/t336404/monthly_2017_10/59f42a4c26200_databaseps_category_product.thumb.jpg.86ab4bd822727a850a9bf149948aebc2.jpg" width="1000" data-ratio="46.7"></a>
</p>

<p>
	 
</p>

<p>
	 
</p>

<p><a href="//media.invisioncic.com/t336404/monthly_2017_10/59f43495d1236_FOcategory18.jpg.01e0460a74e11e81dd046502ecc6661c.jpg" class="ipsAttachLink ipsAttachLink_image"><img data-fileid="171616" src="https://www.prestashop.com/forums/applications/core/interface/js/spacer.png" class="ipsImage ipsImage_thumbnailed" alt="FO category 18.jpg" data-src="//media.invisioncic.com/t336404/monthly_2017_10/59f434960afaa_FOcategory18.thumb.jpg.e4c888f130548be6c0c2267a4a5ad2ba.jpg" width="886" data-ratio="84.65"></a></p>
<p><a href="//media.invisioncic.com/t336404/monthly_2017_10/59f4348f6d0b8_BOpositionsincategory18.jpg.ba46adfbd9240f4672b8a7378135dcad.jpg" class="ipsAttachLink ipsAttachLink_image"><img data-fileid="171615" src="https://www.prestashop.com/forums/applications/core/interface/js/spacer.png" class="ipsImage ipsImage_thumbnailed" alt="BO positions in category 18.jpg" data-src="//media.invisioncic.com/t336404/monthly_2017_10/59f4348fa8f9d_BOpositionsincategory18.thumb.jpg.9a6674314eaed6ff39bece901a592907.jpg" width="1000" data-ratio="56.2"></a></p>
<p><a href="//media.invisioncic.com/t336404/monthly_2017_10/59f434a165ef6_BOpositionsincategory87.jpg.dbda4c3568e715512a5c452760b7bf44.jpg" class="ipsAttachLink ipsAttachLink_image"><img data-fileid="171617" src="https://www.prestashop.com/forums/applications/core/interface/js/spacer.png" class="ipsImage ipsImage_thumbnailed" alt="BO positions in category 87.jpg" data-src="//media.invisioncic.com/t336404/monthly_2017_10/59f434a19fc41_BOpositionsincategory87.thumb.jpg.439bf7120f404acd904e049d1dabc550.jpg" width="1000" data-ratio="56.2"></a></p>
<p><a href="//media.invisioncic.com/t336404/monthly_2017_10/59f434a62c518_FOcategory87.jpg.c04617cbff07b0431ae98a1a06a6d46f.jpg" class="ipsAttachLink ipsAttachLink_image"><img data-fileid="171618" src="https://www.prestashop.com/forums/applications/core/interface/js/spacer.png" class="ipsImage ipsImage_thumbnailed" alt="FO category 87.jpg" data-src="//media.invisioncic.com/t336404/monthly_2017_10/59f434a65cb45_FOcategory87.thumb.jpg.a6390b82e859d934f515ca9368679dbd.jpg" width="900" data-ratio="83.33"></a></p>
]]></description><guid isPermaLink="false">633015</guid><pubDate>Sat, 28 Oct 2017 07:02:16 +0000</pubDate></item><item><title>Hi guys, i am developing first time prestashop in my server enviroment and i hit on a problem, how slove it please help me.</title><link>https://forum.prestashop.com/topic/1053840-hi-guys-i-am-developing-first-time-prestashop-in-my-server-enviroment-and-i-hit-on-a-problem-how-slove-it-please-help-me/</link><description><![CDATA[<p>
	<a class="ipsAttachLink ipsAttachLink_image" href="//media.invisioncic.com/t336404/monthly_2021_09/image.png.2ad19b04c9b982e4077ce11932805518.png" data-fileid="278307" data-fileext="png" rel=""><img class="ipsImage ipsImage_thumbnailed" data-fileid="278307" data-ratio="56.30" width="1000" alt="image.thumb.png.418eb12b9c519d10de082368d06b17d7.png" data-src="//media.invisioncic.com/t336404/monthly_2021_09/image.thumb.png.418eb12b9c519d10de082368d06b17d7.png" src="https://forum.prestashop.com/applications/core/interface/js/spacer.png" /></a>
</p>
]]></description><guid isPermaLink="false">1053840</guid><pubDate>Thu, 09 Sep 2021 14:11:41 +0000</pubDate></item><item><title>Changing names in footer menu</title><link>https://forum.prestashop.com/topic/651707-changing-names-in-footer-menu/</link><description><![CDATA[
<p>
	I hope there is an obvious way to do this, but I can't find it! Using PS 1.7.2 all I want to do is change the names of a couple of menu items under Products on the footer menu, ie change 'Prices drop' to' Sale' and 'Best sales' to 'Best Sellers'. I don't need to change the page names, just alter the names that appear in the menu. I've searched everywhere but can't find an answer - it was much easier in older versions. Any advice much appreciated, thanks.
</p>

<p>
	(I know I asked this question in a different part of the forum, but I didn't get an answer - I think I should have posted in this section!)
</p>
]]></description><guid isPermaLink="false">651707</guid><pubDate>Mon, 08 Jan 2018 12:27:45 +0000</pubDate></item><item><title>How can I change text "This pack contains"</title><link>https://forum.prestashop.com/topic/1052191-how-can-i-change-text-this-pack-contains/</link><description><![CDATA[<p>
	Hi, I want to change text "This pack contains" but I don't see this in translations. Somebody know where it is? Also i want remove Pack label from picture. How to do this?
</p>

<p>
	<a class="ipsAttachLink ipsAttachLink_image" href="//media.invisioncic.com/t336404/monthly_2021_08/image.png.2583e645c2fac84f44eec232d38018f5.png" data-fileid="276495" data-fileext="png" rel=""><img class="ipsImage ipsImage_thumbnailed" data-fileid="276495" data-ratio="45.50" width="1000" alt="image.thumb.png.36c50c527c7a4fba12633df2c6bdd56d.png" data-src="//media.invisioncic.com/t336404/monthly_2021_08/image.thumb.png.36c50c527c7a4fba12633df2c6bdd56d.png" src="https://forum.prestashop.com/applications/core/interface/js/spacer.png" /></a>
</p>
]]></description><guid isPermaLink="false">1052191</guid><pubDate>Sun, 01 Aug 2021 15:13:51 +0000</pubDate></item></channel></rss>
