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…

Subversion (SVN) sur Ubuntu 20.04

Subversion est un logiciel de gestion de versions, distribué sous licence Apache. Installation de Subversion On crée l’utilisateur svn

On installe subversion

Faire son premier dépôt Tout d’abord, créez un dépôt (nous considérerons le répertoire user1). On se connecte à l’utilisateur svn

Et on crée le dépôt

Et on Lire la suite…