$routerProductTemplate =
$this->config->
get('sROUTERARTICLETEMPLATE'
);
if (empty($routerProductTemplate)) { return $lastUpdate;
} $this->db->
query( 'UPDATE `s_articles` SET `changetime`= NOW() WHERE `changetime`=?',
['0000-00-00 00:00:00'
] );
$sql =
$this->
getSeoArticleQuery();
$sql =
$this->db->
limit($sql,
$limit,
$offset);
$fallbackShop =
Shopware()->
Shop()->
getFallback();
$shopFallbackId =
($fallbackShop instanceof Shop
) ?
$fallbackShop->
getId() : null;
$result =
$this->db->
fetchAll( $sql,
[ Shopware()->
Shop()->
get('parentID'
),
Shopware()->
Shop()->
getId(),
$shopFallbackId,