SilverCart\Model\Product\Product::addWidgetAreaIfNotExists
Adds a new WidgetArea to the product if not existing yet.
- Author: Sebastian Diel <sdiel@pixeltricks.de>
Signature
public function addWidgetAreaIfNotExists([WidgetArea
$widgetArea = NULL] )
Parameters
$widgetArea
— object- Optional WidgetArea to use as fallback
Returns
- WidgetArea