There is an issue with PrestaShop 1.44 back office shopping cart page.
When you access Back office - Customers tab - Shopping carts tag - click any cart entry
The shopping cart detailed page is broken and it does not display correctly,
if you enable error displaying by changing "display_errors" to "on" in file /config/config.inc.php, then you will see following error displayed.
Fatal error: Cannot use object of type Image as array in C:\wamp\www\prestashop\agilemultipleseller.dev\adminDEV\tabs\AdminCarts.php on line 269
See following screen image. o
How to fix the problem
in order to fix the problem you need to make a small change in file
YourStoreRoot/admin/tabs/AdminOrders.php
Change Line 269
From
'.(isset($image['id_image']) ? cacheImage(_PS_IMG_DIR_.'p/'.$image->getExistingImgPath().'.jpg',
TO
'.(isset($image->id_image) ? cacheImage(_PS_IMG_DIR_.'p/'.$image->getExistingImgPath().'.jpg',
Agile Modules blog is a place to announce and discuss about agile modules provided Addons-Modules.com - a developer of modules and addons for PrestaShop shopping cart systems. Our market place solution - Agile Multiple Sellers/Vendors Module - and its accessory modules are quite simply the best solution to build marketplace based on PrestaShop. These modules have helped many of our clients realize their dream of starting, managing, and generating profits from their own online marketplace.
1 comment:
Worked for me. Thanks Alvin.
Post a Comment