mirror of
https://github.com/OpenXE-org/OpenXE.git
synced 2024-11-14 20:17:14 +01:00
Shopware6: remove "v2" part from URL in Client-lib as well, set pseudolager default to 0 instead of empty string
This commit is contained in:
parent
76c770aba3
commit
4dd8b01ea9
@ -73,7 +73,7 @@ final class Shopware6Client
|
||||
|
||||
$request = new ClientRequest(
|
||||
$method,
|
||||
$this->url . 'v2/' . $endpoint,
|
||||
$this->url . $endpoint,
|
||||
$headerInformation,
|
||||
empty($body) ? null : json_encode($body)
|
||||
);
|
||||
|
@ -22527,7 +22527,7 @@ function ChargenMHDAuslagern($artikel, $menge, $lagerplatztyp, $lpid,$typ,$wert,
|
||||
$pseudolager = !empty($shopAricleArr['pseudolager'])?(float)$shopAricleArr['pseudolager']:0;
|
||||
}
|
||||
else {
|
||||
$pseudolager = '';
|
||||
$pseudolager = 0;
|
||||
}
|
||||
$this->app->erp->RunHook('remote_send_article_list_pseudostorage', 3, $shop, $artikelid, $pseudolager);
|
||||
if(is_numeric($pseudolager) && $pseudolager < 0) {
|
||||
|
Loading…
Reference in New Issue
Block a user