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: /httpdocs/src/Adapter/Order/QueryHandler/GetOrderProductsForViewingHandler.php Search for 45 and replace with the desidered value (the value it’s the size of the thumbnail in pixel). After this modify probably you should delete all the images that start with « product_mini_ » Lire la suite…

Par admin, il y a

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…