trustpilot / plugin-prestashop

Prestashop plugin for sending invitation data to Trustpilot & adding TrustBoxes
https://www.trustpilot.com/
MIT License
2 stars 4 forks source link

Search getFirstProduct start to 0 #6

Open mthiebaut opened 2 years ago

mthiebaut commented 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.

mthiebaut commented 1 year ago

Hello, abandoned project?