Skip to content

Commit c84638e

Browse files
authored
Retrieve customer prices
Adding 'price' to $params-array makes it possible to read customer prices that include taxes or any reductions as described by: http://doc.prestashop.com/display/PS15/Chapter+10+-+Price+management
1 parent d23cd41 commit c84638e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/PrestashopWebServiceLibrary.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -350,7 +350,7 @@ public function get($options)
350350
$url .= '/'.$options['id'];
351351
}
352352

353-
$params = array('filter', 'display', 'sort', 'limit', 'id_shop', 'id_group_shop','date');
353+
$params = array('filter', 'display', 'sort', 'limit', 'id_shop', 'id_group_shop','date', 'price');
354354
foreach ($params as $p) {
355355
foreach ($options as $k => $o) {
356356
if (strpos($k, $p) !== false) {

0 commit comments

Comments
 (0)