$query =
$this->
getRepository()->
getRemoveAttributesQuery($articleDetailId);
$query->
execute();
} /**
* Internal helper function to remove the detail esd configuration quickly.
*
* @param int $articleId
*/
protected function removeArticleEsd($articleId) { $query =
$this->
getRepository()->
getRemoveESDQuery($articleId);
$query->
execute();
} /**
* @param Product $article
*/
protected function removeArticleDetails($article) { $sql = 'SELECT id FROM s_articles_details WHERE articleID = ? AND kind != 1';
$details =
Shopware()->
Db()->
fetchAll($sql,
[$article->
getId()]);