mirror of
https://github.com/OpenXE-org/OpenXE.git
synced 2024-11-14 12:07:15 +01:00
Shopware6: pass through "umsatzsteuer" for variants, fix "ermaessigt"
This commit is contained in:
parent
9eb958a1a6
commit
85c699f5ee
@ -1892,7 +1892,7 @@ class Remote
|
||||
'altersfreigabe' => $eigenschaft['altersfreigabe'], 'ean' => $eigenschaft['ean'],
|
||||
'lag' => $matrixStock,
|
||||
'pseudolager' => $matrixPseudoStorage, 'pseudopreis' => $eigenschaft['pseudopreis'],
|
||||
'restmenge' => $eigenschaft['restmenge'], 'steuersatz' => ($steuer - 1) * 100,
|
||||
'restmenge' => $eigenschaft['restmenge'], 'steuersatz' => ($steuer - 1) * 100, 'umsatzsteuer' => $eigenschaft['umsatzsteuer'],
|
||||
'bruttopreis' => $eigenschaft['preis'] * $steuer, 'inaktiv' => $eigenschaft['inaktiv'],
|
||||
'name_de' => $eigenschaft['name_de'], 'name_en' => $eigenschaft['name_en'],
|
||||
'uebersicht_de' => $eigenschaft['uebersicht_de'], 'uebersicht_en' => $eigenschaft['uebersicht_en']);
|
||||
|
@ -944,7 +944,7 @@ class Shopimporter_Shopware6 extends ShopimporterBase
|
||||
|
||||
if (!empty($this->normalTaxId) && $article['umsatzsteuer'] == 'normal')
|
||||
$taxId = $this->normalTaxId;
|
||||
else if (!empty($this->reducedTaxId) && $article['umsatzsteuer'] == 'ermäßigt')
|
||||
else if (!empty($this->reducedTaxId) && $article['umsatzsteuer'] == 'ermaessigt')
|
||||
$taxId = $this->reducedTaxId;
|
||||
else
|
||||
$taxId = $this->getTaxIdByRate($taxRate);
|
||||
@ -2800,7 +2800,7 @@ class Shopimporter_Shopware6 extends ShopimporterBase
|
||||
|
||||
if ($variant['umsatzsteuer'] == 'normal' && !empty($this->normalTaxId))
|
||||
$taxId = $this->normalTaxId;
|
||||
else if ($variant['umsatzsteuer'] == 'ermäßigt' && !empty($this->reducedTaxId))
|
||||
else if ($variant['umsatzsteuer'] == 'ermaessigt' && !empty($this->reducedTaxId))
|
||||
$taxId = $this->reducedTaxId;
|
||||
else
|
||||
$taxId = $this->getTaxIdByRate($variant['steuersatz']);
|
||||
|
Loading…
Reference in New Issue
Block a user