diff --git a/IntelliSenseHelper.php b/IntelliSenseHelper.php new file mode 100644 index 0000000..8e530b4 --- /dev/null +++ b/IntelliSenseHelper.php @@ -0,0 +1,21 @@ + + * @link http://www.oxidmodule.com + */ + +namespace D3\ManufacturerInformation\Modules\Application\Model{ + + use OxidEsales\Eshop\Application\Model\Manufacturer; + + class D3ManufacturerLongDesc_parent extends Manufacturer {} +} \ No newline at end of file diff --git a/Modules/Application/Model/D3ManufacturerLongDesc.php b/Modules/Application/Model/D3ManufacturerLongDesc.php new file mode 100644 index 0000000..73c3f2d --- /dev/null +++ b/Modules/Application/Model/D3ManufacturerLongDesc.php @@ -0,0 +1,31 @@ +getId() and $this->isLoaded()){ + try { + $this->assign([Constants::D3_OXMANUFACTURERS_LONGDESC_FIELDNAME => $sValue]); + $this->save(); + }catch (\Exception $exception){ + Registry::getLogger()->error($exception->getMessage()); + } + } + + return true; + } +} \ No newline at end of file