Allow to query price infos from conrad

This commit is contained in:
Jan Böhmer 2026-01-31 21:15:35 +01:00
parent 6f4dad98d9
commit 98937974c9
3 changed files with 117 additions and 26 deletions

View file

@ -53,5 +53,6 @@ class ConradSettings
)]
public ConradShopIDs $shopID = ConradShopIDs::COM_B2B;
#[SettingsParameter(label: new TM("settings.ips.reichelt.include_vat"))]
public bool $includeVAT = true;
}

View file

@ -100,6 +100,10 @@ enum ConradShopIDs: string implements TranslatableInterface
*/
public function getShopID(): string
{
if ($this === self::CH_B2C_FR || $this === self::CH_B2C_DE) {
return 'CQ_CH_B2C';
}
return $this->value;
}