Warehouse theme

Contents

1. How to check theme version

2. [1.6] Theme installer gives me error

3. [1.6] How to translate theme

4. [1.6] Search return undefinied price without and no picture, no second image on hover

5. My Prestashop is slow

6. [1.7] Elementor not load

7. [1.7] Elementor and themeeditor live module in multistore

8. [1.6] Website brakes on mobile

9. "Colissimo point de retrait" modal not visible

10. Instagram feed not working

11. ps_categoryproducts/ps_viewedproducts - price only on first product

12. [1.7] Removing sale or new labels on products

13. [1.6] Broken product list grid/blanks spaces

14. [PS 1.7] Page not found on modules controllers

15. Revolution Slider - activation

16. [PS 1.7] Cart is not refresh or showed twice

17. How to change header icons

18. [1.7] How to hide titles on CMS pages

19. [1.7] Elementor module is missing/not show content of CMS/Homepage/Product/Blog

20. [1.7] Viewed products or category products

21. [PS 1.7] Category page is empty

22. [PS 1.6] Layered navigation urls problems

23. Checkout page broken - customer is logged out

24. [1.7] Elementor widgets do no loaad on edit/problem with saving

25. How to enable debug mode Prestashop

26. [1.7] Filtering not work - ps_facatedsearch

27. How to create mutilanguage revolution slider

28. [1.7] Elementor product description tab not visible when default description field empty

1. How to check theme version

In backoffice go to modules > look for iqitthemeeditor module and check version. 
Theme version should also be visible in your backoffice dashboard. 


Theme version in design > themes shuld not be considered, since it is cached value during install of tempalte.

2. [1.6] Theme installer gives me error

1. Make shure that you uploading theme .zip, not full zip package from themeforest 

2. Connect to your FTP server and check the CHMOD of the folder: your_eshop/themes and set it to 777. Try to import. 

3. Increase max upload size in php configuration 

4. If non of this help then using ftp client copy theme_x_x.zip(example theme_3_8.zip) to your_eshop/themes then instead uploading theme_x_x.zip in installer select in from ftp

3. [1.6] How to translate theme

You can use default prestashop translation: http://www.prestashop.com/en/translations Extract downloaded package and change theme name from “default-bootstrap” to “warehouse” and then upload it on ftp

Guide about translations: http://doc.prestashop.com/display/PS16/Translations Login to your back-office and go to “ localization ” → “ Translations ”.

1. Warehouse Theme Translation

2. Installed Module

*Product listing are translatable with point 1 even if included in module like iqitcontentcreator. Files: - product-list.tpl - product-slider.tpl - product-list-small.tpl

4. [1.6] Search return undefinied price without and no picture, no second image on hover

Go to backoffice
1. Advanced paramets >  Performance > Debug mode > disable all ovverides, set to no (and keep it that way)

2. Clear prestashop cache in Adnanced parametrs > pefrofmance

and then if still will not work do following

3. Make shure you have write access to

\override\classes\
override\controllers\front

*It may be needed to set chmod 777 permission on some server configs

4. Reinstall pluginadder module

5. Clear prestashop cache in Advanced paramets  > performance

5. My Prestashop is slow

Theme performance level is on same level as default theme. It follows all prestashop recomendations about cache etc. Speed issues, assets loads etc are not theme related and they are not covered by support. 

You can check following articles to solve some problems https://canonicalized.com/prestashop-speed-optimization/?section=prestashop-performance-options

PS

You can get good or even exelent results with theme(as example check demo of page hosted on cheap shared hosting with lite speed cache)

https://developers.google.com/speed/pagespeed/insights/?hl=pl&url=https%3A%2F%2Fiqit-commerce.com%2Fps17%2Fdemo16%2Fen%2F&tab=desktop

It have very high 99/100 score for desktop and 80+ for mobile which is really high for software like prestashop.


6. [1.7] Elementor not load

If you use UPS shipping module, it is needed to change its settins as on screenshot


7. [1.7] Elementor and themeeditor live module in multistore

Since elementor and themeedifor-front use frontoffice preview as iframe it must be loaded on correct domain.


for example if you have multistore with two domain

www.shop1.com

www.shop2.com


and your backoffice url is www.shop1.com/admin


to edit shop 1 login to backoffice with  www.shop1.com/admin and in topbar select shop1 shop context and you can edit


if you want to edit shop2 then login to backoffie with www.shop2.com/admin  and in topbar select shop2 shop context and you can edit

8. [1.6] Website brakes on mobile

To fix you need to enable all CCC options for JS and CSS in backoffice > Advanced parametrs > performance




9. "Colissimo point de retrait" modal not visible

It is becouse this module with own css files ovveride default css classes for boostrap,

to fix it it is needed to ovveride it css file

To do that create files in path

themes/warehouse/modules/colissimo/views/css/colissimo.modal.css


with content

/* empty*/
.colissimo-front-widget-17.modal.in .modal-content {
    transform: scale(1);
    opacity: 1;
}
.colissimo-front-widget-17.modal.in  {
    opacity: 1 !important;
}
#checkout .modal-backdrop.fade.in {
    opacity: 1 !important;
}

Then clear prestashop and browser cache

10. Instagram feed not working

You need have theme version 4.4.2 or higher(make sure sure you use compatible prestashop version) - for ps 1.7.7

or theme 4.3.8 for ps 1.7.6


Then connect your instagram account


Allow access to access token generator app


Verify connection - token have expiration date but it will be auto renewed ~15 days before it's expiration


Then go to page builder, edit instagram widget and change connection type to "with access token"


11. ps_categoryproducts/ps_viewedproducts - price only on first product

It is bug with prestashop cache itself, to fix it is needed to disable cache for module


For

ps_categoryproducts

modules/ps_categoryproducts/ps_categoryproducts.php

change renderWidget method to


public function renderWidget($hookName = null, array $configuration = array())
    {
        $params = $this->getInformationFromConfiguration($configuration);
        if ($params) {
            if ((int)Configuration::get('CATEGORYPRODUCTS_DISPLAY_PRODUCTS') > 0) {
                // Need variables only if this template isn't cached
                //if (!$this->isCached($this->templateFile, $params['cache_id'])) {
                    if (!empty($params['id_category'])) {
                        $category = new Category($params['id_category']);
                    }
                    if (empty($category) || !Validate::isLoadedObject($category) || !$category->active) {
                        return false;
                    }
                    $variables = $this->getWidgetVariables($hookName, $configuration);
                    if (empty($variables)) {
                        return false;
                    }
                    $this->smarty->assign($variables);
              //  }
                return $this->fetch(
                    $this->templateFile
                );
            }
        }
        return false;
    }

ps_viewedproducts

modules/ps_viewedproducts/ps_viewedproducts.php

change renderWidget method to

public function renderWidget($hookName = null, array $configuration = array())
    {
        if (isset($configuration['product']['id_product'])) {
            $this->currentProductId = $configuration['product']['id_product'];
        }
        if ('displayProductButtons' === $hookName || 'displayProductAdditionalInfo' === $hookName) {
            $this->addViewedProduct($this->currentProductId);
            return;
        }
        if (!isset($this->context->cookie->viewed) || empty($this->context->cookie->viewed)) {
            return;
        }
       // if (!$this->isCached($this->templateFile, $this->getCacheId())) {
            $variables = $this->getWidgetVariables($hookName, $configuration);
            if (empty($variables)) {
                return false;
            }
            $this->smarty->assign($variables);
       // }
       // return $this->fetch($this->templateFile, $this->getCacheId());
        return $this->fetch($this->templateFile);
    }



12. [1.7] Removing sale or new labels on products

You can do that with custom css in theme editor


.sale-label, .new-label{

display: none !important;

}

13. [1.6] Broken product list grid/blanks spaces

Screenshot of problem

Go to backoffice > preferences > images > scroll down and regenerate image thumbails for products and home_default image size, then clear browser cache

14. [PS 1.7] Page not found on modules controllers

Sometimes(mostly if installation of template was made on ps version older than 1.7.4) there is a problem with module controllers in backoffice.


To fix it perform following

1. Upgrade ps to latest version

2. Put fix_tabs.php https://github.com/iqit-commerce/tabs-fix/blob/master/fix_tabs.php file in your root prestashop folder and then run script in your browser by www.yourdomain.com/fix_tabs.php

3. Remove file from server

15. Revolution Slider - activation

Revolution Slider is included in template thanks to extended license. With this license it is not possible to activate revolution slider module by Prestashop backoffice, but module without activation is FULLY FUNCTIONAL - except access to premium slider sample and addons!

Free sliders should be importet from local computer. If you need access to Online library of revolution slider then you need to purschase separate license for revolution slider From CodeCanyon

16. [PS 1.7] Cart is not refresh or showed twice

If shopping cart do not work corectly in your shop then make sure ps_shoppingcart module is installed, enabled and inside module configuration ajax cart is enabled

--------------------------

If your shopping cart is visible twice on header, then do not disable ps_shoppingcart but instead go to design > positions and unhoook ps_shoppingcart from displayTop or/and displayNav2 module

17. How to change header icons

you need to change them with own custom css

Example for cart icon


#header .fa-shopping-bag:before{

content: " code of icon" !important;

}

or with background

#header .fa-shopping-bag:before{

content: url(image.jpg) !important;

}

18. [1.7] How to hide titles on CMS pages

you can hide with custom css code(you can paste code in backoffice > themeeditor > custom css field)

#cms .page-header {

display: none;

}

or if you want to hide only for one cms page then you need to base on cms page id. Ecxample

#cms.cms-id-2 .page-header {

display: none;

}

19. [1.7] Elementor module is missing/not show content of CMS/Homepage/Product/Blog

In backoffice > design > positions You need to hook elementor module to following hooks

20. [1.7] Viewed products or category products

Module which show products from the same category on product page is

https://github.com/PrestaShop/ps_categoryproducts

Module which show viewed products on product page is

https://github.com/PrestaShop/ps_viewedproduct/


They are ps core modules if you want to use them you need to download from github and upload to your prestashop or you can instll directly from backoffice by typing in modules catalog their names ps_categoryproducts or ps_viewedproduct

21. [PS 1.7] Category page is empty

The list of products per category is not displayed with the theme Warehouse.


It is due the fact you probably have theme version 4.1.8 or newer and using prestashop older than 1.7.4.

To solve you need to upgrade your prestashop to 1.7.4.x

22. [PS 1.6] Layered navigation urls problems

1. uninstall blocklayered module

2. uninstall blocklayered_mod module

3. remove themes/warehouse/modules/blocklayered_mod folder

4. install blocklayered_mod module only

5. translate https://iqitcommerce.ticksy.com/article/10031 * 

6. regenerate all indexes of blocklayered_mod module and and reeneration to cron

23. Checkout page broken - customer is logged out


go to translations in backoffice , and find logut string translation(shop - theme - custommeraccount), it is broken

it have [/ 1] instead [/1] in translated string, that cause checkput page is corrupted

rGugCD.jpg

24. [1.7] Elementor widgets do no loaad on edit/problem with saving

This problem need to be solved on server configuration. Please check yourself or ask your host support about


<IfModule LiteSpeed>

LSPHP_Workers 100 </IfModule>
ref. https://www.litespeedtech.com/support/wiki/doku.php/litespeed_wiki:php:concurrency#reached_max_children_process_limit



If above not helps ask server provider support to check error logs

25. How to enable debug mode Prestashop

Enable dev mode to check actual error instead white page

On your server, open the /config/defines.inc.php file.
Find this line: define('_PS_MODE_DEV_', false);
In this line, change "false" to "true".
Save your changes.

26. [1.7] Filtering not work - ps_facatedsearch

1. Filtering is core part of prestashop, it is module ps_facatedsearch in which you need to configure filter template

2. If you configured filter template and it is visible but not working it is very possible that it is doubled(displayed twice) so then please

27. How to create mutilanguage revolution slider

It is needed to enaable multilang feature as on image



28. [1.7] Elementor product description tab not visible when default description field empty

You need to add fake desciption to default description field. To add fake invisible description add code like in html editor

<p class="d-none">.</p>