mirror of
https://github.com/OpenXE-org/OpenXE.git
synced 2024-11-14 20:17:14 +01:00
Merge pull request #104 from exciler/shopware-multiVersion
Make Shopware-Lib compatible with 6.x
This commit is contained in:
commit
aabdc74af6
@ -73,7 +73,7 @@ final class Shopware6Client
|
|||||||
|
|
||||||
$request = new ClientRequest(
|
$request = new ClientRequest(
|
||||||
$method,
|
$method,
|
||||||
$this->url . 'v2/' . $endpoint,
|
$this->url . $endpoint,
|
||||||
$headerInformation,
|
$headerInformation,
|
||||||
empty($body) ? null : json_encode($body)
|
empty($body) ? null : json_encode($body)
|
||||||
);
|
);
|
||||||
|
@ -21095,7 +21095,7 @@ function ChargenMHDAuslagern($artikel, $menge, $lagerplatztyp, $lpid,$typ,$wert,
|
|||||||
$pseudolager = !empty($shopAricleArr['pseudolager'])?(float)$shopAricleArr['pseudolager']:0;
|
$pseudolager = !empty($shopAricleArr['pseudolager'])?(float)$shopAricleArr['pseudolager']:0;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
$pseudolager = '';
|
$pseudolager = 0;
|
||||||
}
|
}
|
||||||
$this->app->erp->RunHook('remote_send_article_list_pseudostorage', 3, $shop, $artikelid, $pseudolager);
|
$this->app->erp->RunHook('remote_send_article_list_pseudostorage', 3, $shop, $artikelid, $pseudolager);
|
||||||
if(is_numeric($pseudolager) && $pseudolager < 0) {
|
if(is_numeric($pseudolager) && $pseudolager < 0) {
|
||||||
|
Loading…
Reference in New Issue
Block a user