Prestashop – Argument 4 passed to PrestaShop\PrestaShop\Core\Domain\Order\QueryResult\OrderCustomerForViewing::__construct()

Argument 4 passed to PrestaShop\PrestaShop\Core\Domain\Order\QueryResult\OrderCustomerForViewing::__construct() must be of the type string, null given, called in /home/……/……/src/Adapter/Order/QueryHandler/GetOrderForViewingHandler.php on line 236  

  Source : https://github.com/PrestaShop/PrestaShop/issues/22215  

Prestashop – Bigger Products Images on Order

I case someone it’s interested to do this on PS1.7.7… you have to look at file: /src/Adapter/Order/QueryHandler/GetOrderProductsForViewingHandler.php Search for ImageManager::thumbnail and replace with the desidered value (the value it’s the size of the thumbnail in pixel). This should be these two lines: $product[‘image_tag’] = ImageManager::thumbnail(_PS_IMG_DIR_ . ‘p/’ . $product[‘image’]->getExistingImgPath() . Lire la suite…

Display selected attribute color name on Prestashop for Warehouse theme

Source: https://mypresta.eu/prestashop-17/show-selected-color-attribute-name.html Modification of custom.css File is located in this directory: themes/warehouse/assets/css/custom.css (if you use different theme than « classic » theme – open your theme directory instead). At the end of this file paste code attached below:

Modification of custom.js File is located in this directory: themes/warehouse/assets/js/custom.js (the same as Lire la suite…

[Update 2021] Guide Ultime d’Installation d’une Boutique Prestashop 1.7 – Partie 4

Configuration du back-office *J’utilise le thème Warehouse Store disponible sur themeforest.net. Réglages de la bannière et de la favicon Apparence > Thème et logo > Logo de l’en-tête Apparence > Thème et logo > Logo des mails Apparence > Thème et logo > Favicon Supprimer les données inutiles

Catalogue Lire la suite…

[Update 2021] Guide Ultime d’Installation d’une Boutique Prestashop 1.7 – Importation, Store Commander, Akeneo PIM, Importation entre deux PrestaShop – Partie 3

Import de vos données pour Prestashop avec Store Commander et Akeneo PIM Pour ma part, j’utilise Akeneo PIM pour m’aider à importer mes données dans mes sites internet. Je vais supposer que vous avez vos catégories, vos produits, vos déclinaisons, vos clients et vos adresses déjà prêts à importer dans Lire la suite…