public function sGetProductByOrdernumber($ordernumber) { if (Shopware()->
Events()->
notifyUntil( 'Shopware_Modules_Articles_sGetProductByOrdernumber_Start',
['subject' =>
$this, 'value' =>
$ordernumber] )) { return false;
} return Shopware()->
Events()->
filter( 'Shopware_Modules_Articles_sGetProductByOrdernumber_FilterResult',
$this->
getPromotion(null,
$ordernumber),
['subject' =>
$this, 'value' =>
$ordernumber] );
} /**
* Get basic product data in various modes (firmly defined by id, random, top, new)
*
* @param string $mode Modus (fix, random, top, new)
* @param int $category filter by category
* @param int|string|numeric-string $value product id / order number for firmly defined products
* @param bool $withImage
*
* @return array<string, mixed>|false
*/