Open mthiebaut opened 2 years ago
In the function getFirstProduct of the viewLoader.php, change the second param "start" of the prestashop Product::getProducts(...) to 0 instead of 1.
Try to have only one product in you shop store, and you will get an error. For now, with start 1, you will get the second element, and not the first.
Hello, abandoned project?
In the function getFirstProduct of the viewLoader.php, change the second param "start" of the prestashop Product::getProducts(...) to 0 instead of 1.
Try to have only one product in you shop store, and you will get an error. For now, with start 1, you will get the second element, and not the first.