Skip to content

Commit

Permalink
Merge pull request #29 from basjac/master
Browse files Browse the repository at this point in the history
Retrieve customer prices
  • Loading branch information
Silentscripter authored May 19, 2019
2 parents d23cd41 + c84638e commit cfff739
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/PrestashopWebServiceLibrary.php
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,7 @@ public function get($options)
$url .= '/'.$options['id'];
}

$params = array('filter', 'display', 'sort', 'limit', 'id_shop', 'id_group_shop','date');
$params = array('filter', 'display', 'sort', 'limit', 'id_shop', 'id_group_shop','date', 'price');
foreach ($params as $p) {
foreach ($options as $k => $o) {
if (strpos($k, $p) !== false) {
Expand Down

0 comments on commit cfff739

Please sign in to comment.