Prestashop 1.5.6.X - Webservice error
This article explains how to fix the communication between Prestashop 1.5.6.X and Boostmyshop.
Prestashop 1.5.6.X has a bug regarding API call when we try to load a collection for a specific range (for example get all products with ID between 0 and 99)
In such case, you will see the following error in the feed executions :
To fix it, follow these instructions :
- Edit file classes/webservice/WebserviceRequest.php
- Search for function getSQLRetrieveFilter
- Replace : elseif (preg_match('/^([\d\.:-\s]+),([\d\.:-\s]+)$/', $matches[2], $matches3))
- With : elseif (preg_match('/^([\d\.:\-\s]+),([\d\.:\-\s]+)$/', $matches[2], $matches3))
Unlock your online store's potential
Whatever your e-commerce business, discover how to streamline your operations and boost your business growth with Boostmyshop.