1 |
0.64 ms |
SELECT `value` FROM app_config WHERE `key` = :key
SELECT `value` FROM app_config WHERE `key` = 'cache-id';
array:7 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 734)"
2 => "Doctrine\DBAL\Connection::fetchOne (line 39)"
3 => "Shopware\Core\Framework\Adapter\Cache\CacheIdLoader::load (line 187)"
4 => "Shopware\Core\HttpKernel::createKernel (line 128)"
5 => "Shopware\Core\HttpKernel::doHandle (line 81)"
6 => "Shopware\Core\HttpKernel::handle (line 85)"
]
|
2 |
0.35 ms |
SELECT
`name`,
`base_class` AS baseClass,
IF(`active` = 1 AND `installed_at` IS NOT NULL, 1, 0) AS active,
`path`,
`version`,
`autoload`,
`managed_by_composer` AS managedByComposer,
composer_name as composerName
FROM `plugin`
ORDER BY `installed_at`;
SELECT
`name`,
`base_class` AS baseClass,
IF(`active` = 1 AND `installed_at` IS NOT NULL, 1, 0) AS active,
`path`,
`version`,
`autoload`,
`managed_by_composer` AS managedByComposer,
composer_name as composerName
FROM `plugin`
ORDER BY `installed_at`;;
array:7 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 41)"
2 => "Shopware\Core\Framework\Plugin\KernelPluginLoader\DbalKernelPluginLoader::loadPluginInfos (line 100)"
3 => "Shopware\Core\Framework\Plugin\KernelPluginLoader\KernelPluginLoader::initializePlugins (line 179)"
4 => "Shopware\Core\Kernel::boot (line 129)"
5 => "Shopware\Core\HttpKernel::doHandle (line 81)"
6 => "Shopware\Core\HttpKernel::handle (line 85)"
]
|
3 |
0.49 ms |
SELECT custom_entity.name, custom_entity.fields
FROM custom_entity
LEFT JOIN app ON app.id = custom_entity.app_id
WHERE custom_entity.app_id IS NULL OR app.active = 1
SELECT custom_entity.name, custom_entity.fields
FROM custom_entity
LEFT JOIN app ON app.id = custom_entity.app_id
WHERE custom_entity.app_id IS NULL OR app.active = 1
;
array:8 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 1042)"
2 => "Doctrine\DBAL\Connection::fetchAllAssociative (line 38)"
3 => "Shopware\Core\System\CustomEntity\CustomEntityRegistrar::register (line 57)"
4 => "Shopware\Core\System\System::boot (line 194)"
5 => "Shopware\Core\Kernel::boot (line 129)"
6 => "Shopware\Core\HttpKernel::doHandle (line 81)"
7 => "Shopware\Core\HttpKernel::handle (line 85)"
]
|
4 |
1.16 ms |
SELECT `creation_timestamp`
FROM `migration`
WHERE `update` IS NOT NULL AND `update_destructive` IS NULL
SELECT `creation_timestamp`
FROM `migration`
WHERE `update` IS NOT NULL AND `update_destructive` IS NULL
;
array:6 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 377)"
2 => "Shopware\Core\Kernel::initializeDatabaseConnectionVariables (line 197)"
3 => "Shopware\Core\Kernel::boot (line 129)"
4 => "Shopware\Core\HttpKernel::doHandle (line 81)"
5 => "Shopware\Core\HttpKernel::handle (line 85)"
]
|
5 |
0.25 ms |
SET @@group_concat_max_len = CAST(IF(@@group_concat_max_len > 320000, @@group_concat_max_len, 320000) AS UNSIGNED);SET sql_mode=(SELECT REPLACE(@@sql_mode,'ONLY_FULL_GROUP_BY',''));SET @MIGRATION_1590758953_IS_ACTIVE = TRUE;SET @MIGRATION_1591683158_IS_ACTIVE = TRUE;SET @MIGRATION_1592837424_IS_ACTIVE = TRUE;SET @MIGRATION_1593698606_IS_ACTIVE = TRUE;SET @MIGRATION_1595160327_IS_ACTIVE = TRUE;SET @MIGRATION_1595321666_IS_ACTIVE = TRUE;SET @MIGRATION_1595422169_IS_ACTIVE = TRUE;SET @MIGRATION_1595489705_IS_ACTIVE = TRUE;SET @MIGRATION_1595492052_IS_ACTIVE = TRUE;SET @MIGRATION_1595492053_IS_ACTIVE = TRUE;SET @MIGRATION_1595578253_IS_ACTIVE = TRUE;SET @MIGRATION_1595919251_IS_ACTIVE = TRUE;SET @MIGRATION_1596091744_IS_ACTIVE = TRUE;SET @MIGRATION_1596441551_IS_ACTIVE = TRUE;SET @MIGRATION_1597391970_IS_ACTIVE = TRUE;SET @MIGRATION_1597394241_IS_ACTIVE = TRUE;SET @MIGRATION_1597657689_IS_ACTIVE = TRUE;SET @MIGRATION_1597762808_IS_ACTIVE = TRUE;SET @MIGRATION_1597830237_IS_ACTIVE = TRUE;SET @MIGRATION_1597930227_IS_ACTIVE = TRUE;SET @MIGRATION_1598280548_IS_ACTIVE = TRUE;SET @MIGRATION_1598520424_IS_ACTIVE = TRUE;SET @MIGRATION_1598885384_IS_ACTIVE = TRUE;SET @MIGRATION_1599112309_IS_ACTIVE = TRUE;SET @MIGRATION_1599134496_IS_ACTIVE = TRUE;SET @MIGRATION_1599463278_IS_ACTIVE = TRUE;SET @MIGRATION_1599570560_IS_ACTIVE = TRUE;SET @MIGRATION_1599720163_IS_ACTIVE = TRUE;SET @MIGRATION_1599806584_IS_ACTIVE = TRUE;SET @MIGRATION_1599806595_IS_ACTIVE = TRUE;SET @MIGRATION_1599822061_IS_ACTIVE = TRUE;SET @MIGRATION_1600072779_IS_ACTIVE = TRUE;SET @MIGRATION_1600156989_IS_ACTIVE = TRUE;SET @MIGRATION_1600253602_IS_ACTIVE = TRUE;SET @MIGRATION_1600330846_IS_ACTIVE = TRUE;SET @MIGRATION_1600338271_IS_ACTIVE = TRUE;SET @MIGRATION_1600349343_IS_ACTIVE = TRUE;SET @MIGRATION_1600676671_IS_ACTIVE = TRUE;SET @MIGRATION_1600769357_IS_ACTIVE = TRUE;SET @MIGRATION_1600778848_IS_ACTIVE = TRUE;SET @MIGRATION_1601388975_IS_ACTIVE = TRUE;SET @MIGRATION_1601451838_IS_ACTIVE = TRUE;SET @MIGRATION_1601539530_IS_ACTIVE = TRUE;SET @MIGRATION_1601543829_IS_ACTIVE = TRUE;SET @MIGRATION_1601891339_IS_ACTIVE = TRUE;SET @MIGRATION_1602062376_IS_ACTIVE = TRUE;SET @MIGRATION_1602146868_IS_ACTIVE = TRUE;SET @MIGRATION_1602153572_IS_ACTIVE = TRUE;SET @MIGRATION_1602494493_IS_ACTIVE = TRUE;SET @MIGRATION_1602494495_IS_ACTIVE = TRUE;SET @MIGRATION_1602745374_IS_ACTIVE = TRUE;SET @MIGRATION_1602822727_IS_ACTIVE = TRUE;SET @MIGRATION_1603179023_IS_ACTIVE = TRUE;SET @MIGRATION_1603293043_IS_ACTIVE = TRUE;SET @MIGRATION_1603970276_IS_ACTIVE = TRUE;SET @MIGRATION_1604056363_IS_ACTIVE = TRUE;SET @MIGRATION_1604056421_IS_ACTIVE = TRUE;SET @MIGRATION_1604475913_IS_ACTIVE = TRUE;SET @MIGRATION_1604499476_IS_ACTIVE = TRUE;SET @MIGRATION_1604568928_IS_ACTIVE = TRUE;SET @MIGRATION_1604669773_IS_ACTIVE = TRUE;SET @MIGRATION_1605103533_IS_ACTIVE = TRUE;SET @MIGRATION_1605530777_IS_ACTIVE = TRUE;SET @MIGRATION_1605609309_IS_ACTIVE = TRUE;SET @MIGRATION_1605609477_IS_ACTIVE = TRUE;SET @MIGRATION_1605861407_IS_ACTIVE = TRUE;SET @MIGRATION_1606310257_IS_ACTIVE = TRUE;SET @MIGRATION_1607415095_IS_ACTIVE = TRUE;SET @MIGRATION_1607500561_IS_ACTIVE = TRUE;SET @MIGRATION_1607514878_IS_ACTIVE = TRUE;SET @MIGRATION_1607581275_IS_ACTIVE = TRUE;SET @MIGRATION_1607581276_IS_ACTIVE = TRUE;SET @MIGRATION_1608624028_IS_ACTIVE = TRUE;SET @MIGRATION_1609125144_IS_ACTIVE = TRUE;SET @MIGRATION_1609857999_IS_ACTIVE = TRUE;SET @MIGRATION_1610531188_IS_ACTIVE = TRUE;SET @MIGRATION_1610965670_IS_ACTIVE = TRUE;SET @MIGRATION_1610974673_IS_ACTIVE = TRUE;SET @MIGRATION_1611155140_IS_ACTIVE = TRUE;SET @MIGRATION_1614240671_IS_ACTIVE = TRUE;SET @MIGRATION_1595492054_IS_ACTIVE = TRUE;SET @MIGRATION_1604502151_IS_ACTIVE = TRUE;SET @MIGRATION_1594104496_IS_ACTIVE = TRUE;SET @MIGRATION_1604585230_IS_ACTIVE = TRUE;SET @MIGRATION_1609140710_IS_ACTIVE = TRUE;SET @MIGRATION_1610337444_IS_ACTIVE = TRUE;SET @MIGRATION_1610439375_IS_ACTIVE = TRUE;SET @MIGRATION_1610448012_IS_ACTIVE = TRUE;SET @MIGRATION_1610523204_IS_ACTIVE = TRUE;SET @MIGRATION_1610523548_IS_ACTIVE = TRUE;SET @MIGRATION_1610616655_IS_ACTIVE = TRUE;SET @MIGRATION_1610621999_IS_ACTIVE = TRUE;SET @MIGRATION_1610625925_IS_ACTIVE = TRUE;SET @MIGRATION_1610634383_IS_ACTIVE = TRUE;SET @MIGRATION_1610904608_IS_ACTIVE = TRUE;SET @MIGRATION_1611732852_IS_ACTIVE = TRUE;SET @MIGRATION_1611817467_IS_ACTIVE = TRUE;SET @MIGRATION_1612184092_IS_ACTIVE = TRUE;SET @MIGRATION_1612442685_IS_ACTIVE = TRUE;SET @MIGRATION_1612442686_IS_ACTIVE = TRUE;SET @MIGRATION_1612442786_IS_ACTIVE = TRUE;SET @MIGRATION_1612851765_IS_ACTIVE = TRUE;SET @MIGRATION_1612865237_IS_ACTIVE = TRUE;SET @MIGRATION_1612970642_IS_ACTIVE = TRUE;SET @MIGRATION_1612980753_IS_ACTIVE = TRUE;SET @MIGRATION_1613665555_IS_ACTIVE = TRUE;SET @MIGRATION_1614249488_IS_ACTIVE = TRUE;SET @MIGRATION_1614691876_IS_ACTIVE = TRUE;SET @MIGRATION_1614765170_IS_ACTIVE = TRUE;SET @MIGRATION_1614765785_IS_ACTIVE = TRUE;SET @MIGRATION_1615359964_IS_ACTIVE = TRUE;SET @MIGRATION_1615366708_IS_ACTIVE = TRUE;SET @MIGRATION_1615452749_IS_ACTIVE = TRUE;SET @MIGRATION_1615802866_IS_ACTIVE = TRUE;SET @MIGRATION_1615819992_IS_ACTIVE = TRUE;SET @MIGRATION_1616076922_IS_ACTIVE = TRUE;SET @MIGRATION_1616496610_IS_ACTIVE = TRUE;SET @MIGRATION_1616555956_IS_ACTIVE = TRUE;SET @MIGRATION_1617000878_IS_ACTIVE = TRUE;SET @MIGRATION_1617356092_IS_ACTIVE = TRUE;SET @MIGRATION_1617784658_IS_ACTIVE = TRUE;SET @MIGRATION_1617864895_IS_ACTIVE = TRUE;SET @MIGRATION_1617868381_IS_ACTIVE = TRUE;SET @MIGRATION_1617877887_IS_ACTIVE = TRUE;SET @MIGRATION_1617896006_IS_ACTIVE = TRUE;SET @MIGRATION_1617935350_IS_ACTIVE = TRUE;SET @MIGRATION_1617953690_IS_ACTIVE = TRUE;SET @MIGRATION_1617960456_IS_ACTIVE = TRUE;SET @MIGRATION_1617974402_IS_ACTIVE = TRUE;SET @MIGRATION_1618218491_IS_ACTIVE = TRUE;SET @MIGRATION_1618389817_IS_ACTIVE = TRUE;SET @MIGRATION_1618476427_IS_ACTIVE = TRUE;SET @MIGRATION_1618569201_IS_ACTIVE = TRUE;SET @MIGRATION_1618900427_IS_ACTIVE = TRUE;SET @MIGRATION_1618989442_IS_ACTIVE = TRUE;SET @MIGRATION_1619070236_IS_ACTIVE = TRUE;SET @MIGRATION_1619428555_IS_ACTIVE = TRUE;SET @MIGRATION_1619604605_IS_ACTIVE = TRUE;SET @MIGRATION_1619703075_IS_ACTIVE = TRUE;SET @MIGRATION_1620146632_IS_ACTIVE = TRUE;SET @MIGRATION_1620147234_IS_ACTIVE = TRUE;SET @MIGRATION_1620201616_IS_ACTIVE = TRUE;SET @MIGRATION_1620215586_IS_ACTIVE = TRUE;SET @MIGRATION_1620374229_IS_ACTIVE = TRUE;SET @MIGRATION_1620376945_IS_ACTIVE = TRUE;SET @MIGRATION_1620632460_IS_ACTIVE = TRUE;SET @MIGRATION_1620634856_IS_ACTIVE = TRUE;SET @MIGRATION_1620733405_IS_ACTIVE = TRUE;SET @MIGRATION_1620733405_IS_ACTIVE = TRUE;SET @MIGRATION_1620820321_IS_ACTIVE = TRUE;SET @MIGRATION_1621845357_IS_ACTIVE = TRUE;SET @MIGRATION_1621845370_IS_ACTIVE = TRUE;SET @MIGRATION_1622010069_IS_ACTIVE = TRUE;SET @MIGRATION_1622104463_IS_ACTIVE = TRUE;SET @MIGRATION_1622782058_IS_ACTIVE = TRUE;SET @MIGRATION_1623305620_IS_ACTIVE = TRUE;SET @MIGRATION_1623391399_IS_ACTIVE = TRUE;SET @MIGRATION_1623828962_IS_ACTIVE = TRUE;SET @MIGRATION_1624262862_IS_ACTIVE = TRUE;SET @MIGRATION_1624884801_IS_ACTIVE = TRUE;SET @MIGRATION_1624967118_IS_ACTIVE = TRUE;SET @MIGRATION_1625304609_IS_ACTIVE = TRUE;SET @MIGRATION_1625465756_IS_ACTIVE = TRUE;SET @MIGRATION_1625505190_IS_ACTIVE = TRUE;SET @MIGRATION_1625554302_IS_ACTIVE = TRUE;SET @MIGRATION_1625569667_IS_ACTIVE = TRUE;SET @MIGRATION_1625583596_IS_ACTIVE = TRUE;SET @MIGRATION_1625583619_IS_ACTIVE = TRUE;SET @MIGRATION_1625816310_IS_ACTIVE = TRUE;SET @MIGRATION_1625819412_IS_ACTIVE = TRUE;SET @MIGRATION_1625831469_IS_ACTIVE = TRUE;SET @MIGRATION_1626241110_IS_ACTIVE = TRUE;SET @MIGRATION_1626442868_IS_ACTIVE = TRUE;SET @MIGRATION_1626696809_IS_ACTIVE = TRUE;SET @MIGRATION_1626785125_IS_ACTIVE = TRUE;SET @MIGRATION_1627292049_IS_ACTIVE = TRUE;SET @MIGRATION_1627540693_IS_ACTIVE = TRUE;SET @MIGRATION_1627541488_IS_ACTIVE = TRUE;SET @MIGRATION_1627562945_IS_ACTIVE = TRUE;SET @MIGRATION_1627650101_IS_ACTIVE = TRUE;SET @MIGRATION_1627929168_IS_ACTIVE = TRUE;SET @MIGRATION_1627983652_IS_ACTIVE = TRUE;SET @MIGRATION_1628519513_IS_ACTIVE = TRUE;SET @MIGRATION_1628749113_IS_ACTIVE = TRUE;SET @MIGRATION_1629204538_IS_ACTIVE = TRUE;SET @MIGRATION_1629700169_IS_ACTIVE = TRUE;SET @MIGRATION_1629877210_IS_ACTIVE = TRUE;SET @MIGRATION_1630074081_IS_ACTIVE = TRUE;SET @MIGRATION_1630485317_IS_ACTIVE = TRUE;SET @MIGRATION_1631625055_IS_ACTIVE = TRUE;SET @MIGRATION_1631703921_IS_ACTIVE = TRUE;SET @MIGRATION_1631790054_IS_ACTIVE = TRUE;SET @MIGRATION_1631863869_IS_ACTIVE = TRUE;SET @MIGRATION_1632111590_IS_ACTIVE = TRUE;SET @MIGRATION_1632215760_IS_ACTIVE = TRUE;SET @MIGRATION_1632721037_IS_ACTIVE = TRUE;SET @MIGRATION_1633347511_IS_ACTIVE = TRUE;SET @MIGRATION_1633358879_IS_ACTIVE = TRUE;SET @MIGRATION_1633422057_IS_ACTIVE = TRUE;SET @MIGRATION_1634735841_IS_ACTIVE = TRUE;SET @MIGRATION_1635147952_IS_ACTIVE = TRUE;SET @MIGRATION_1635230747_IS_ACTIVE = TRUE;SET @MIGRATION_1635237551_IS_ACTIVE = TRUE;SET @MIGRATION_1635388654_IS_ACTIVE = TRUE;SET @MIGRATION_1635936029_IS_ACTIVE = TRUE;SET @MIGRATION_1636014089_IS_ACTIVE = TRUE;SET @MIGRATION_1636018970_IS_ACTIVE = TRUE;SET @MIGRATION_1636362839_IS_ACTIVE = TRUE;SET @MIGRATION_1636449347_IS_ACTIVE = TRUE;SET @MIGRATION_1636964297_IS_ACTIVE = TRUE;SET @MIGRATION_1636971615_IS_ACTIVE = TRUE;SET @MIGRATION_1638195971_IS_ACTIVE = TRUE;SET @MIGRATION_1638365464_IS_ACTIVE = TRUE;SET @MIGRATION_1638514913_IS_ACTIVE = TRUE;SET @MIGRATION_1638993987_IS_ACTIVE = TRUE;SET @MIGRATION_1639122665_IS_ACTIVE = TRUE;SET @MIGRATION_1639139581_IS_ACTIVE = TRUE;SET @MIGRATION_1639992771_IS_ACTIVE = TRUE;SET @MIGRATION_1641289204_IS_ACTIVE = TRUE;SET @MIGRATION_1642517958_IS_ACTIVE = TRUE;SET @MIGRATION_1642732351_IS_ACTIVE = TRUE;SET @MIGRATION_1642757286_IS_ACTIVE = TRUE;SET @MIGRATION_1643366069_IS_ACTIVE = TRUE;SET @MIGRATION_1643386819_IS_ACTIVE = TRUE;SET @MIGRATION_1643724178_IS_ACTIVE = TRUE;SET @MIGRATION_1643878976_IS_ACTIVE = TRUE;SET @MIGRATION_1643892702_IS_ACTIVE = TRUE;SET @MIGRATION_1645019769_IS_ACTIVE = TRUE;SET @MIGRATION_1645453538_IS_ACTIVE = TRUE;SET @MIGRATION_1646125417_IS_ACTIVE = TRUE;SET @MIGRATION_1646397836_IS_ACTIVE = TRUE;SET @MIGRATION_1646817331_IS_ACTIVE = TRUE;SET @MIGRATION_1647260673_IS_ACTIVE = TRUE;SET @MIGRATION_1647443222_IS_ACTIVE = TRUE;SET @MIGRATION_1647511158_IS_ACTIVE = TRUE;SET @MIGRATION_1648031611_IS_ACTIVE = TRUE;SET @MIGRATION_1648031636_IS_ACTIVE = TRUE;SET @MIGRATION_1648543185_IS_ACTIVE = TRUE;SET @MIGRATION_1648709176_IS_ACTIVE = TRUE;SET @MIGRATION_1648803451_IS_ACTIVE = TRUE;SET @MIGRATION_1649040981_IS_ACTIVE = TRUE;SET @MIGRATION_1649315608_IS_ACTIVE = TRUE;SET @MIGRATION_1649858046_IS_ACTIVE = TRUE;SET @MIGRATION_1650249241_IS_ACTIVE = TRUE;SET @MIGRATION_1650444800_IS_ACTIVE = TRUE;SET @MIGRATION_1650548599_IS_ACTIVE = TRUE;SET @MIGRATION_1650620993_IS_ACTIVE = TRUE;SET @MIGRATION_1650872291_IS_ACTIVE = TRUE;SET @MIGRATION_1650981517_IS_ACTIVE = TRUE;SET @MIGRATION_1651118773_IS_ACTIVE = TRUE;SET @MIGRATION_1652166447_IS_ACTIVE = TRUE;SET @MIGRATION_1652345915_IS_ACTIVE = TRUE;SET @MIGRATION_1652441129_IS_ACTIVE = TRUE;SET @MIGRATION_1652864153_IS_ACTIVE = TRUE;SET @MIGRATION_1653376989_IS_ACTIVE = TRUE;SET @MIGRATION_1653385302_IS_ACTIVE = TRUE;SET @MIGRATION_1654839361_IS_ACTIVE = TRUE;SET @MIGRATION_1654839361_IS_ACTIVE = TRUE;SET @MIGRATION_1654839361_IS_ACTIVE = TRUE;SET @MIGRATION_1655730949_IS_ACTIVE = TRUE;SET @MIGRATION_1656397126_IS_ACTIVE = TRUE;SET @MIGRATION_1656928097_IS_ACTIVE = TRUE;SET @MIGRATION_1657011337_IS_ACTIVE = TRUE;SET @MIGRATION_1657027979_IS_ACTIVE = TRUE;SET @MIGRATION_1657173907_IS_ACTIVE = TRUE;SET @MIGRATION_1658786605_IS_ACTIVE = TRUE;SET @MIGRATION_1659256999_IS_ACTIVE = TRUE;SET @MIGRATION_1659257296_IS_ACTIVE = TRUE;SET @MIGRATION_1659257396_IS_ACTIVE = TRUE;SET @MIGRATION_1659257496_IS_ACTIVE = TRUE;SET @MIGRATION_1660814397_IS_ACTIVE = TRUE;SET @MIGRATION_1661759290_IS_ACTIVE = TRUE;SET @MIGRATION_1661771388_IS_ACTIVE = TRUE;SET @MIGRATION_1663238480_IS_ACTIVE = TRUE;SET @MIGRATION_1664512574_IS_ACTIVE = TRUE;SET @MIGRATION_1664541794_IS_ACTIVE = TRUE;SET @MIGRATION_1664894872_IS_ACTIVE = TRUE;SET @MIGRATION_1665064823_IS_ACTIVE = TRUE;SET @MIGRATION_1665267882_IS_ACTIVE = TRUE;SET @MIGRATION_1667731399_IS_ACTIVE = TRUE;SET @MIGRATION_1667806582_IS_ACTIVE = TRUE;SET @MIGRATION_1667983492_IS_ACTIVE = TRUE;SET @MIGRATION_1668677456_IS_ACTIVE = TRUE;SET @MIGRATION_1669316067_IS_ACTIVE = TRUE;SET @MIGRATION_1672164687_IS_ACTIVE = TRUE;SET @MIGRATION_1672743034_IS_ACTIVE = TRUE;SET @MIGRATION_1673001912_IS_ACTIVE = TRUE;SET @MIGRATION_1673966228_IS_ACTIVE = TRUE;SET @MIGRATION_1675218708_IS_ACTIVE = TRUE;SET @MIGRATION_1675827655_IS_ACTIVE = TRUE;SET @MIGRATION_1632281097_IS_ACTIVE = TRUE;SET @MIGRATION_1636121186_IS_ACTIVE = TRUE;SET @MIGRATION_1660813696_IS_ACTIVE = TRUE;SET @MIGRATION_1641476963_IS_ACTIVE = TRUE;SET @MIGRATION_1632281097_IS_ACTIVE = TRUE;SET @MIGRATION_1636121186_IS_ACTIVE = TRUE;SET @MIGRATION_1660813696_IS_ACTIVE = TRUE;SET @MIGRATION_1595492054_IS_ACTIVE = TRUE;SET @MIGRATION_1604502151_IS_ACTIVE = TRUE;SET @MIGRATION_1584005462_IS_ACTIVE = TRUE;SET @MIGRATION_1589800641_IS_ACTIVE = TRUE;SET @MIGRATION_1589800704_IS_ACTIVE = TRUE;SET @MIGRATION_1589882802_IS_ACTIVE = TRUE;SET @MIGRATION_1589905764_IS_ACTIVE = TRUE;SET @MIGRATION_1591365484_IS_ACTIVE = TRUE;SET @MIGRATION_1626082072_IS_ACTIVE = TRUE;SET @MIGRATION_1675420139_IS_ACTIVE = TRUE;SET @MIGRATION_1605167857_IS_ACTIVE = TRUE;SET @MIGRATION_1580205548_IS_ACTIVE = TRUE;SET @MIGRATION_1651483531_IS_ACTIVE = TRUE
SET @@group_concat_max_len = CAST(IF(@@group_concat_max_len > 320000, @@group_concat_max_len, 320000) AS UNSIGNED);SET sql_mode=(SELECT REPLACE(@@sql_mode,'ONLY_FULL_GROUP_BY',''));SET @MIGRATION_1590758953_IS_ACTIVE = TRUE;SET @MIGRATION_1591683158_IS_ACTIVE = TRUE;SET @MIGRATION_1592837424_IS_ACTIVE = TRUE;SET @MIGRATION_1593698606_IS_ACTIVE = TRUE;SET @MIGRATION_1595160327_IS_ACTIVE = TRUE;SET @MIGRATION_1595321666_IS_ACTIVE = TRUE;SET @MIGRATION_1595422169_IS_ACTIVE = TRUE;SET @MIGRATION_1595489705_IS_ACTIVE = TRUE;SET @MIGRATION_1595492052_IS_ACTIVE = TRUE;SET @MIGRATION_1595492053_IS_ACTIVE = TRUE;SET @MIGRATION_1595578253_IS_ACTIVE = TRUE;SET @MIGRATION_1595919251_IS_ACTIVE = TRUE;SET @MIGRATION_1596091744_IS_ACTIVE = TRUE;SET @MIGRATION_1596441551_IS_ACTIVE = TRUE;SET @MIGRATION_1597391970_IS_ACTIVE = TRUE;SET @MIGRATION_1597394241_IS_ACTIVE = TRUE;SET @MIGRATION_1597657689_IS_ACTIVE = TRUE;SET @MIGRATION_1597762808_IS_ACTIVE = TRUE;SET @MIGRATION_1597830237_IS_ACTIVE = TRUE;SET @MIGRATION_1597930227_IS_ACTIVE = TRUE;SET @MIGRATION_1598280548_IS_ACTIVE = TRUE;SET @MIGRATION_1598520424_IS_ACTIVE = TRUE;SET @MIGRATION_1598885384_IS_ACTIVE = TRUE;SET @MIGRATION_1599112309_IS_ACTIVE = TRUE;SET @MIGRATION_1599134496_IS_ACTIVE = TRUE;SET @MIGRATION_1599463278_IS_ACTIVE = TRUE;SET @MIGRATION_1599570560_IS_ACTIVE = TRUE;SET @MIGRATION_1599720163_IS_ACTIVE = TRUE;SET @MIGRATION_1599806584_IS_ACTIVE = TRUE;SET @MIGRATION_1599806595_IS_ACTIVE = TRUE;SET @MIGRATION_1599822061_IS_ACTIVE = TRUE;SET @MIGRATION_1600072779_IS_ACTIVE = TRUE;SET @MIGRATION_1600156989_IS_ACTIVE = TRUE;SET @MIGRATION_1600253602_IS_ACTIVE = TRUE;SET @MIGRATION_1600330846_IS_ACTIVE = TRUE;SET @MIGRATION_1600338271_IS_ACTIVE = TRUE;SET @MIGRATION_1600349343_IS_ACTIVE = TRUE;SET @MIGRATION_1600676671_IS_ACTIVE = TRUE;SET @MIGRATION_1600769357_IS_ACTIVE = TRUE;SET @MIGRATION_1600778848_IS_ACTIVE = TRUE;SET @MIGRATION_1601388975_IS_ACTIVE = TRUE;SET @MIGRATION_1601451838_IS_ACTIVE = TRUE;SET @MIGRATION_1601539530_IS_ACTIVE = TRUE;SET @MIGRATION_1601543829_IS_ACTIVE = TRUE;SET @MIGRATION_1601891339_IS_ACTIVE = TRUE;SET @MIGRATION_1602062376_IS_ACTIVE = TRUE;SET @MIGRATION_1602146868_IS_ACTIVE = TRUE;SET @MIGRATION_1602153572_IS_ACTIVE = TRUE;SET @MIGRATION_1602494493_IS_ACTIVE = TRUE;SET @MIGRATION_1602494495_IS_ACTIVE = TRUE;SET @MIGRATION_1602745374_IS_ACTIVE = TRUE;SET @MIGRATION_1602822727_IS_ACTIVE = TRUE;SET @MIGRATION_1603179023_IS_ACTIVE = TRUE;SET @MIGRATION_1603293043_IS_ACTIVE = TRUE;SET @MIGRATION_1603970276_IS_ACTIVE = TRUE;SET @MIGRATION_1604056363_IS_ACTIVE = TRUE;SET @MIGRATION_1604056421_IS_ACTIVE = TRUE;SET @MIGRATION_1604475913_IS_ACTIVE = TRUE;SET @MIGRATION_1604499476_IS_ACTIVE = TRUE;SET @MIGRATION_1604568928_IS_ACTIVE = TRUE;SET @MIGRATION_1604669773_IS_ACTIVE = TRUE;SET @MIGRATION_1605103533_IS_ACTIVE = TRUE;SET @MIGRATION_1605530777_IS_ACTIVE = TRUE;SET @MIGRATION_1605609309_IS_ACTIVE = TRUE;SET @MIGRATION_1605609477_IS_ACTIVE = TRUE;SET @MIGRATION_1605861407_IS_ACTIVE = TRUE;SET @MIGRATION_1606310257_IS_ACTIVE = TRUE;SET @MIGRATION_1607415095_IS_ACTIVE = TRUE;SET @MIGRATION_1607500561_IS_ACTIVE = TRUE;SET @MIGRATION_1607514878_IS_ACTIVE = TRUE;SET @MIGRATION_1607581275_IS_ACTIVE = TRUE;SET @MIGRATION_1607581276_IS_ACTIVE = TRUE;SET @MIGRATION_1608624028_IS_ACTIVE = TRUE;SET @MIGRATION_1609125144_IS_ACTIVE = TRUE;SET @MIGRATION_1609857999_IS_ACTIVE = TRUE;SET @MIGRATION_1610531188_IS_ACTIVE = TRUE;SET @MIGRATION_1610965670_IS_ACTIVE = TRUE;SET @MIGRATION_1610974673_IS_ACTIVE = TRUE;SET @MIGRATION_1611155140_IS_ACTIVE = TRUE;SET @MIGRATION_1614240671_IS_ACTIVE = TRUE;SET @MIGRATION_1595492054_IS_ACTIVE = TRUE;SET @MIGRATION_1604502151_IS_ACTIVE = TRUE;SET @MIGRATION_1594104496_IS_ACTIVE = TRUE;SET @MIGRATION_1604585230_IS_ACTIVE = TRUE;SET @MIGRATION_1609140710_IS_ACTIVE = TRUE;SET @MIGRATION_1610337444_IS_ACTIVE = TRUE;SET @MIGRATION_1610439375_IS_ACTIVE = TRUE;SET @MIGRATION_1610448012_IS_ACTIVE = TRUE;SET @MIGRATION_1610523204_IS_ACTIVE = TRUE;SET @MIGRATION_1610523548_IS_ACTIVE = TRUE;SET @MIGRATION_1610616655_IS_ACTIVE = TRUE;SET @MIGRATION_1610621999_IS_ACTIVE = TRUE;SET @MIGRATION_1610625925_IS_ACTIVE = TRUE;SET @MIGRATION_1610634383_IS_ACTIVE = TRUE;SET @MIGRATION_1610904608_IS_ACTIVE = TRUE;SET @MIGRATION_1611732852_IS_ACTIVE = TRUE;SET @MIGRATION_1611817467_IS_ACTIVE = TRUE;SET @MIGRATION_1612184092_IS_ACTIVE = TRUE;SET @MIGRATION_1612442685_IS_ACTIVE = TRUE;SET @MIGRATION_1612442686_IS_ACTIVE = TRUE;SET @MIGRATION_1612442786_IS_ACTIVE = TRUE;SET @MIGRATION_1612851765_IS_ACTIVE = TRUE;SET @MIGRATION_1612865237_IS_ACTIVE = TRUE;SET @MIGRATION_1612970642_IS_ACTIVE = TRUE;SET @MIGRATION_1612980753_IS_ACTIVE = TRUE;SET @MIGRATION_1613665555_IS_ACTIVE = TRUE;SET @MIGRATION_1614249488_IS_ACTIVE = TRUE;SET @MIGRATION_1614691876_IS_ACTIVE = TRUE;SET @MIGRATION_1614765170_IS_ACTIVE = TRUE;SET @MIGRATION_1614765785_IS_ACTIVE = TRUE;SET @MIGRATION_1615359964_IS_ACTIVE = TRUE;SET @MIGRATION_1615366708_IS_ACTIVE = TRUE;SET @MIGRATION_1615452749_IS_ACTIVE = TRUE;SET @MIGRATION_1615802866_IS_ACTIVE = TRUE;SET @MIGRATION_1615819992_IS_ACTIVE = TRUE;SET @MIGRATION_1616076922_IS_ACTIVE = TRUE;SET @MIGRATION_1616496610_IS_ACTIVE = TRUE;SET @MIGRATION_1616555956_IS_ACTIVE = TRUE;SET @MIGRATION_1617000878_IS_ACTIVE = TRUE;SET @MIGRATION_1617356092_IS_ACTIVE = TRUE;SET @MIGRATION_1617784658_IS_ACTIVE = TRUE;SET @MIGRATION_1617864895_IS_ACTIVE = TRUE;SET @MIGRATION_1617868381_IS_ACTIVE = TRUE;SET @MIGRATION_1617877887_IS_ACTIVE = TRUE;SET @MIGRATION_1617896006_IS_ACTIVE = TRUE;SET @MIGRATION_1617935350_IS_ACTIVE = TRUE;SET @MIGRATION_1617953690_IS_ACTIVE = TRUE;SET @MIGRATION_1617960456_IS_ACTIVE = TRUE;SET @MIGRATION_1617974402_IS_ACTIVE = TRUE;SET @MIGRATION_1618218491_IS_ACTIVE = TRUE;SET @MIGRATION_1618389817_IS_ACTIVE = TRUE;SET @MIGRATION_1618476427_IS_ACTIVE = TRUE;SET @MIGRATION_1618569201_IS_ACTIVE = TRUE;SET @MIGRATION_1618900427_IS_ACTIVE = TRUE;SET @MIGRATION_1618989442_IS_ACTIVE = TRUE;SET @MIGRATION_1619070236_IS_ACTIVE = TRUE;SET @MIGRATION_1619428555_IS_ACTIVE = TRUE;SET @MIGRATION_1619604605_IS_ACTIVE = TRUE;SET @MIGRATION_1619703075_IS_ACTIVE = TRUE;SET @MIGRATION_1620146632_IS_ACTIVE = TRUE;SET @MIGRATION_1620147234_IS_ACTIVE = TRUE;SET @MIGRATION_1620201616_IS_ACTIVE = TRUE;SET @MIGRATION_1620215586_IS_ACTIVE = TRUE;SET @MIGRATION_1620374229_IS_ACTIVE = TRUE;SET @MIGRATION_1620376945_IS_ACTIVE = TRUE;SET @MIGRATION_1620632460_IS_ACTIVE = TRUE;SET @MIGRATION_1620634856_IS_ACTIVE = TRUE;SET @MIGRATION_1620733405_IS_ACTIVE = TRUE;SET @MIGRATION_1620733405_IS_ACTIVE = TRUE;SET @MIGRATION_1620820321_IS_ACTIVE = TRUE;SET @MIGRATION_1621845357_IS_ACTIVE = TRUE;SET @MIGRATION_1621845370_IS_ACTIVE = TRUE;SET @MIGRATION_1622010069_IS_ACTIVE = TRUE;SET @MIGRATION_1622104463_IS_ACTIVE = TRUE;SET @MIGRATION_1622782058_IS_ACTIVE = TRUE;SET @MIGRATION_1623305620_IS_ACTIVE = TRUE;SET @MIGRATION_1623391399_IS_ACTIVE = TRUE;SET @MIGRATION_1623828962_IS_ACTIVE = TRUE;SET @MIGRATION_1624262862_IS_ACTIVE = TRUE;SET @MIGRATION_1624884801_IS_ACTIVE = TRUE;SET @MIGRATION_1624967118_IS_ACTIVE = TRUE;SET @MIGRATION_1625304609_IS_ACTIVE = TRUE;SET @MIGRATION_1625465756_IS_ACTIVE = TRUE;SET @MIGRATION_1625505190_IS_ACTIVE = TRUE;SET @MIGRATION_1625554302_IS_ACTIVE = TRUE;SET @MIGRATION_1625569667_IS_ACTIVE = TRUE;SET @MIGRATION_1625583596_IS_ACTIVE = TRUE;SET @MIGRATION_1625583619_IS_ACTIVE = TRUE;SET @MIGRATION_1625816310_IS_ACTIVE = TRUE;SET @MIGRATION_1625819412_IS_ACTIVE = TRUE;SET @MIGRATION_1625831469_IS_ACTIVE = TRUE;SET @MIGRATION_1626241110_IS_ACTIVE = TRUE;SET @MIGRATION_1626442868_IS_ACTIVE = TRUE;SET @MIGRATION_1626696809_IS_ACTIVE = TRUE;SET @MIGRATION_1626785125_IS_ACTIVE = TRUE;SET @MIGRATION_1627292049_IS_ACTIVE = TRUE;SET @MIGRATION_1627540693_IS_ACTIVE = TRUE;SET @MIGRATION_1627541488_IS_ACTIVE = TRUE;SET @MIGRATION_1627562945_IS_ACTIVE = TRUE;SET @MIGRATION_1627650101_IS_ACTIVE = TRUE;SET @MIGRATION_1627929168_IS_ACTIVE = TRUE;SET @MIGRATION_1627983652_IS_ACTIVE = TRUE;SET @MIGRATION_1628519513_IS_ACTIVE = TRUE;SET @MIGRATION_1628749113_IS_ACTIVE = TRUE;SET @MIGRATION_1629204538_IS_ACTIVE = TRUE;SET @MIGRATION_1629700169_IS_ACTIVE = TRUE;SET @MIGRATION_1629877210_IS_ACTIVE = TRUE;SET @MIGRATION_1630074081_IS_ACTIVE = TRUE;SET @MIGRATION_1630485317_IS_ACTIVE = TRUE;SET @MIGRATION_1631625055_IS_ACTIVE = TRUE;SET @MIGRATION_1631703921_IS_ACTIVE = TRUE;SET @MIGRATION_1631790054_IS_ACTIVE = TRUE;SET @MIGRATION_1631863869_IS_ACTIVE = TRUE;SET @MIGRATION_1632111590_IS_ACTIVE = TRUE;SET @MIGRATION_1632215760_IS_ACTIVE = TRUE;SET @MIGRATION_1632721037_IS_ACTIVE = TRUE;SET @MIGRATION_1633347511_IS_ACTIVE = TRUE;SET @MIGRATION_1633358879_IS_ACTIVE = TRUE;SET @MIGRATION_1633422057_IS_ACTIVE = TRUE;SET @MIGRATION_1634735841_IS_ACTIVE = TRUE;SET @MIGRATION_1635147952_IS_ACTIVE = TRUE;SET @MIGRATION_1635230747_IS_ACTIVE = TRUE;SET @MIGRATION_1635237551_IS_ACTIVE = TRUE;SET @MIGRATION_1635388654_IS_ACTIVE = TRUE;SET @MIGRATION_1635936029_IS_ACTIVE = TRUE;SET @MIGRATION_1636014089_IS_ACTIVE = TRUE;SET @MIGRATION_1636018970_IS_ACTIVE = TRUE;SET @MIGRATION_1636362839_IS_ACTIVE = TRUE;SET @MIGRATION_1636449347_IS_ACTIVE = TRUE;SET @MIGRATION_1636964297_IS_ACTIVE = TRUE;SET @MIGRATION_1636971615_IS_ACTIVE = TRUE;SET @MIGRATION_1638195971_IS_ACTIVE = TRUE;SET @MIGRATION_1638365464_IS_ACTIVE = TRUE;SET @MIGRATION_1638514913_IS_ACTIVE = TRUE;SET @MIGRATION_1638993987_IS_ACTIVE = TRUE;SET @MIGRATION_1639122665_IS_ACTIVE = TRUE;SET @MIGRATION_1639139581_IS_ACTIVE = TRUE;SET @MIGRATION_1639992771_IS_ACTIVE = TRUE;SET @MIGRATION_1641289204_IS_ACTIVE = TRUE;SET @MIGRATION_1642517958_IS_ACTIVE = TRUE;SET @MIGRATION_1642732351_IS_ACTIVE = TRUE;SET @MIGRATION_1642757286_IS_ACTIVE = TRUE;SET @MIGRATION_1643366069_IS_ACTIVE = TRUE;SET @MIGRATION_1643386819_IS_ACTIVE = TRUE;SET @MIGRATION_1643724178_IS_ACTIVE = TRUE;SET @MIGRATION_1643878976_IS_ACTIVE = TRUE;SET @MIGRATION_1643892702_IS_ACTIVE = TRUE;SET @MIGRATION_1645019769_IS_ACTIVE = TRUE;SET @MIGRATION_1645453538_IS_ACTIVE = TRUE;SET @MIGRATION_1646125417_IS_ACTIVE = TRUE;SET @MIGRATION_1646397836_IS_ACTIVE = TRUE;SET @MIGRATION_1646817331_IS_ACTIVE = TRUE;SET @MIGRATION_1647260673_IS_ACTIVE = TRUE;SET @MIGRATION_1647443222_IS_ACTIVE = TRUE;SET @MIGRATION_1647511158_IS_ACTIVE = TRUE;SET @MIGRATION_1648031611_IS_ACTIVE = TRUE;SET @MIGRATION_1648031636_IS_ACTIVE = TRUE;SET @MIGRATION_1648543185_IS_ACTIVE = TRUE;SET @MIGRATION_1648709176_IS_ACTIVE = TRUE;SET @MIGRATION_1648803451_IS_ACTIVE = TRUE;SET @MIGRATION_1649040981_IS_ACTIVE = TRUE;SET @MIGRATION_1649315608_IS_ACTIVE = TRUE;SET @MIGRATION_1649858046_IS_ACTIVE = TRUE;SET @MIGRATION_1650249241_IS_ACTIVE = TRUE;SET @MIGRATION_1650444800_IS_ACTIVE = TRUE;SET @MIGRATION_1650548599_IS_ACTIVE = TRUE;SET @MIGRATION_1650620993_IS_ACTIVE = TRUE;SET @MIGRATION_1650872291_IS_ACTIVE = TRUE;SET @MIGRATION_1650981517_IS_ACTIVE = TRUE;SET @MIGRATION_1651118773_IS_ACTIVE = TRUE;SET @MIGRATION_1652166447_IS_ACTIVE = TRUE;SET @MIGRATION_1652345915_IS_ACTIVE = TRUE;SET @MIGRATION_1652441129_IS_ACTIVE = TRUE;SET @MIGRATION_1652864153_IS_ACTIVE = TRUE;SET @MIGRATION_1653376989_IS_ACTIVE = TRUE;SET @MIGRATION_1653385302_IS_ACTIVE = TRUE;SET @MIGRATION_1654839361_IS_ACTIVE = TRUE;SET @MIGRATION_1654839361_IS_ACTIVE = TRUE;SET @MIGRATION_1654839361_IS_ACTIVE = TRUE;SET @MIGRATION_1655730949_IS_ACTIVE = TRUE;SET @MIGRATION_1656397126_IS_ACTIVE = TRUE;SET @MIGRATION_1656928097_IS_ACTIVE = TRUE;SET @MIGRATION_1657011337_IS_ACTIVE = TRUE;SET @MIGRATION_1657027979_IS_ACTIVE = TRUE;SET @MIGRATION_1657173907_IS_ACTIVE = TRUE;SET @MIGRATION_1658786605_IS_ACTIVE = TRUE;SET @MIGRATION_1659256999_IS_ACTIVE = TRUE;SET @MIGRATION_1659257296_IS_ACTIVE = TRUE;SET @MIGRATION_1659257396_IS_ACTIVE = TRUE;SET @MIGRATION_1659257496_IS_ACTIVE = TRUE;SET @MIGRATION_1660814397_IS_ACTIVE = TRUE;SET @MIGRATION_1661759290_IS_ACTIVE = TRUE;SET @MIGRATION_1661771388_IS_ACTIVE = TRUE;SET @MIGRATION_1663238480_IS_ACTIVE = TRUE;SET @MIGRATION_1664512574_IS_ACTIVE = TRUE;SET @MIGRATION_1664541794_IS_ACTIVE = TRUE;SET @MIGRATION_1664894872_IS_ACTIVE = TRUE;SET @MIGRATION_1665064823_IS_ACTIVE = TRUE;SET @MIGRATION_1665267882_IS_ACTIVE = TRUE;SET @MIGRATION_1667731399_IS_ACTIVE = TRUE;SET @MIGRATION_1667806582_IS_ACTIVE = TRUE;SET @MIGRATION_1667983492_IS_ACTIVE = TRUE;SET @MIGRATION_1668677456_IS_ACTIVE = TRUE;SET @MIGRATION_1669316067_IS_ACTIVE = TRUE;SET @MIGRATION_1672164687_IS_ACTIVE = TRUE;SET @MIGRATION_1672743034_IS_ACTIVE = TRUE;SET @MIGRATION_1673001912_IS_ACTIVE = TRUE;SET @MIGRATION_1673966228_IS_ACTIVE = TRUE;SET @MIGRATION_1675218708_IS_ACTIVE = TRUE;SET @MIGRATION_1675827655_IS_ACTIVE = TRUE;SET @MIGRATION_1632281097_IS_ACTIVE = TRUE;SET @MIGRATION_1636121186_IS_ACTIVE = TRUE;SET @MIGRATION_1660813696_IS_ACTIVE = TRUE;SET @MIGRATION_1641476963_IS_ACTIVE = TRUE;SET @MIGRATION_1632281097_IS_ACTIVE = TRUE;SET @MIGRATION_1636121186_IS_ACTIVE = TRUE;SET @MIGRATION_1660813696_IS_ACTIVE = TRUE;SET @MIGRATION_1595492054_IS_ACTIVE = TRUE;SET @MIGRATION_1604502151_IS_ACTIVE = TRUE;SET @MIGRATION_1584005462_IS_ACTIVE = TRUE;SET @MIGRATION_1589800641_IS_ACTIVE = TRUE;SET @MIGRATION_1589800704_IS_ACTIVE = TRUE;SET @MIGRATION_1589882802_IS_ACTIVE = TRUE;SET @MIGRATION_1589905764_IS_ACTIVE = TRUE;SET @MIGRATION_1591365484_IS_ACTIVE = TRUE;SET @MIGRATION_1626082072_IS_ACTIVE = TRUE;SET @MIGRATION_1675420139_IS_ACTIVE = TRUE;SET @MIGRATION_1605167857_IS_ACTIVE = TRUE;SET @MIGRATION_1580205548_IS_ACTIVE = TRUE;SET @MIGRATION_1651483531_IS_ACTIVE = TRUE;
array:6 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 398)"
2 => "Shopware\Core\Kernel::initializeDatabaseConnectionVariables (line 197)"
3 => "Shopware\Core\Kernel::boot (line 129)"
4 => "Shopware\Core\HttpKernel::doHandle (line 81)"
5 => "Shopware\Core\HttpKernel::handle (line 85)"
]
|
6 |
0.70 ms |
SELECT CONCAT(TRIM(TRAILING '/' FROM domain.url), '/') `key`, CONCAT(TRIM(TRAILING '/' FROM domain.url), '/') url, LOWER(HEX(domain.id)) id, LOWER(HEX(sales_channel.id)) salesChannelId, LOWER(HEX(sales_channel.type_id)) typeId, LOWER(HEX(domain.snippet_set_id)) snippetSetId, LOWER(HEX(domain.currency_id)) currencyId, LOWER(HEX(domain.language_id)) languageId, LOWER(HEX(theme.id)) themeId, sales_channel.maintenance maintenance, sales_channel.maintenance_ip_whitelist maintenanceIpWhitelist, snippet_set.iso as locale, theme.technical_name as themeName, parentTheme.technical_name as parentThemeName FROM sales_channel INNER JOIN sales_channel_domain domain ON domain.sales_channel_id = sales_channel.id LEFT JOIN theme_sales_channel theme_sales_channel ON sales_channel.id = theme_sales_channel.sales_channel_id INNER JOIN snippet_set snippet_set ON snippet_set.id = domain.snippet_set_id LEFT JOIN theme theme ON theme_sales_channel.theme_id = theme.id LEFT JOIN theme parentTheme ON theme.parent_theme_id = parentTheme.id WHERE (sales_channel.type_id = UNHEX(:typeId)) AND (sales_channel.active)
SELECT CONCAT(TRIM(TRAILING '/' FROM domain.url), '/') `key`, CONCAT(TRIM(TRAILING '/' FROM domain.url), '/') url, LOWER(HEX(domain.id)) id, LOWER(HEX(sales_channel.id)) salesChannelId, LOWER(HEX(sales_channel.type_id)) typeId, LOWER(HEX(domain.snippet_set_id)) snippetSetId, LOWER(HEX(domain.currency_id)) currencyId, LOWER(HEX(domain.language_id)) languageId, LOWER(HEX(theme.id)) themeId, sales_channel.maintenance maintenance, sales_channel.maintenance_ip_whitelist maintenanceIpWhitelist, snippet_set.iso as locale, theme.technical_name as themeName, parentTheme.technical_name as parentThemeName FROM sales_channel INNER JOIN sales_channel_domain domain ON domain.sales_channel_id = sales_channel.id LEFT JOIN theme_sales_channel theme_sales_channel ON sales_channel.id = theme_sales_channel.sales_channel_id INNER JOIN snippet_set snippet_set ON snippet_set.id = domain.snippet_set_id LEFT JOIN theme theme ON theme_sales_channel.theme_id = theme.id LEFT JOIN theme parentTheme ON theme.parent_theme_id = parentTheme.id WHERE (sales_channel.type_id = UNHEX('8a243080f92e4c719546314b577cf82b')) AND (sales_channel.active);
array:12 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 242)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 70)"
3 => "Shopware\Storefront\Framework\Routing\DomainLoader::load (line 43)"
4 => "Shopware\Storefront\Framework\Routing\CachedDomainLoader::Shopware\Storefront\Framework\Routing\{closure} (line 72)"
5 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
6 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 45)"
7 => "Shopware\Storefront\Framework\Routing\CachedDomainLoader::load (line 295)"
8 => "Shopware\Storefront\Framework\Routing\RequestTransformer::findSalesChannel (line 142)"
9 => "Shopware\Storefront\Framework\Routing\RequestTransformer::transform (line 136)"
10 => "Shopware\Core\HttpKernel::doHandle (line 81)"
11 => "Shopware\Core\HttpKernel::handle (line 85)"
]
|
7 |
0.47 ms |
SELECT id, path_info pathInfo, is_canonical isCanonical FROM seo_url WHERE (language_id = :language_id) AND ((sales_channel_id = :sales_channel_id OR sales_channel_id IS NULL)) AND (seo_path_info = :seoPath) ORDER BY seo_path_info ASC, sales_channel_id IS NULL ASC LIMIT 1
SELECT id, path_info pathInfo, is_canonical isCanonical FROM seo_url WHERE (language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) AND ((sales_channel_id = 0x4EB9108BE4654CC9B140D14DE85579E9 OR sales_channel_id IS NULL)) AND (seo_path_info = 'account/order') ORDER BY seo_path_info ASC, sales_channel_id IS NULL ASC LIMIT 1;
array:13 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 242)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 54)"
3 => "Shopware\Core\Content\Seo\SeoResolver::resolve (line 42)"
4 => "Shopware\Core\Content\Seo\CachedSeoResolver::Shopware\Core\Content\Seo\{closure} (line 72)"
5 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
6 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 47)"
7 => "Shopware\Core\Content\Seo\CachedSeoResolver::resolve (line 38)"
8 => "Shopware\Core\Content\Seo\EmptyPathInfoResolver::resolve (line 357)"
9 => "Shopware\Storefront\Framework\Routing\RequestTransformer::resolveSeoUrl (line 156)"
10 => "Shopware\Storefront\Framework\Routing\RequestTransformer::transform (line 136)"
11 => "Shopware\Core\HttpKernel::doHandle (line 81)"
12 => "Shopware\Core\HttpKernel::handle (line 85)"
]
|
8 |
0.31 ms |
SELECT path_info pathInfo, seo_path_info seoPathInfo FROM seo_url WHERE (language_id = :language_id) AND (sales_channel_id = :sales_channel_id) AND (id != :id) AND (path_info = :pathInfo) AND (is_canonical = 1) LIMIT 1
SELECT path_info pathInfo, seo_path_info seoPathInfo FROM seo_url WHERE (language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) AND (sales_channel_id = 0x4EB9108BE4654CC9B140D14DE85579E9) AND (id != '') AND (path_info = '/account/order') AND (is_canonical = 1) LIMIT 1;
array:13 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 242)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 75)"
3 => "Shopware\Core\Content\Seo\SeoResolver::resolve (line 42)"
4 => "Shopware\Core\Content\Seo\CachedSeoResolver::Shopware\Core\Content\Seo\{closure} (line 72)"
5 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
6 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 47)"
7 => "Shopware\Core\Content\Seo\CachedSeoResolver::resolve (line 38)"
8 => "Shopware\Core\Content\Seo\EmptyPathInfoResolver::resolve (line 357)"
9 => "Shopware\Storefront\Framework\Routing\RequestTransformer::resolveSeoUrl (line 156)"
10 => "Shopware\Storefront\Framework\Routing\RequestTransformer::transform (line 136)"
11 => "Shopware\Core\HttpKernel::doHandle (line 81)"
12 => "Shopware\Core\HttpKernel::handle (line 85)"
]
|
9 |
0.82 ms |
SELECT configuration_key, configuration_value FROM system_config WHERE sales_channel_id IS NULL ORDER BY sales_channel_id ASC
SELECT configuration_key, configuration_value FROM system_config WHERE sales_channel_id IS NULL ORDER BY sales_channel_id ASC;
array:13 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 242)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 54)"
3 => "Shopware\Core\System\SystemConfig\SystemConfigLoader::load (line 38)"
4 => "Shopware\Core\System\SystemConfig\CachedSystemConfigLoader::Shopware\Core\System\SystemConfig\{closure} (line 72)"
5 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
6 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 43)"
7 => "Shopware\Core\System\SystemConfig\CachedSystemConfigLoader::load (line 39)"
8 => "Shopware\Core\System\SystemConfig\MemoizedSystemConfigLoader::load (line 83)"
9 => "Shopware\Core\System\SystemConfig\SystemConfigService::get (line 38)"
10 => "Shopware\Core\Framework\Routing\CanonicalRedirectService::getRedirect (line 140)"
11 => "Shopware\Core\HttpKernel::doHandle (line 81)"
12 => "Shopware\Core\HttpKernel::handle (line 85)"
]
|
10 |
0.41 ms |
SELECT * FROM sales_channel_api_context WHERE (sales_channel_id = :salesChannelId) AND (token = :token) LIMIT 1
SELECT * FROM sales_channel_api_context WHERE (sales_channel_id = 0x4EB9108BE4654CC9B140D14DE85579E9) AND (token = '7aSeDPr57A6wUfIr0nABc3OScHIxIHf5') LIMIT 1;
array:22 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 242)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 165)"
3 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextPersister::load (line 77)"
4 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::Shopware\Core\System\SalesChannel\Context\{closure} (line 59)"
5 => "Shopware\Core\Profiling\Profiler::trace (line 111)"
6 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::get (line 105)"
7 => "Shopware\Core\Framework\Routing\SalesChannelRequestContextResolver::resolve (line 38)"
8 => "Shopware\Core\Framework\Routing\ContextResolverListener::resolveContext (line 118)"
9 => "Symfony\Component\EventDispatcher\Debug\WrappedListener::__invoke (line 230)"
10 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
11 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
12 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
13 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
14 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
15 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
16 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 151)"
17 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
18 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
19 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
20 => "Shopware\Core\HttpKernel::doHandle (line 81)"
21 => "Shopware\Core\HttpKernel::handle (line 85)"
]
|
11 |
0.82 ms |
SELECT
sales_channel.id as sales_channel_id,
sales_channel.language_id as sales_channel_default_language_id,
sales_channel.currency_id as sales_channel_currency_id,
currency.factor as sales_channel_currency_factor,
GROUP_CONCAT(LOWER(HEX(sales_channel_language.language_id))) as sales_channel_language_ids
FROM sales_channel
INNER JOIN currency
ON sales_channel.currency_id = currency.id
LEFT JOIN sales_channel_language
ON sales_channel_language.sales_channel_id = sales_channel.id
WHERE sales_channel.id = :id
GROUP BY sales_channel.id, sales_channel.language_id, sales_channel.currency_id, currency.factor
SELECT
sales_channel.id as sales_channel_id,
sales_channel.language_id as sales_channel_default_language_id,
sales_channel.currency_id as sales_channel_currency_id,
currency.factor as sales_channel_currency_factor,
GROUP_CONCAT(LOWER(HEX(sales_channel_language.language_id))) as sales_channel_language_ids
FROM sales_channel
INNER JOIN currency
ON sales_channel.currency_id = currency.id
LEFT JOIN sales_channel_language
ON sales_channel_language.sales_channel_id = sales_channel.id
WHERE sales_channel.id = 0x4EB9108BE4654CC9B140D14DE85579E9
GROUP BY sales_channel.id, sales_channel.language_id, sales_channel.currency_id, currency.factor;
array:39 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 684)"
2 => "Doctrine\DBAL\Connection::fetchAssociative (line 242)"
3 => "Shopware\Core\System\SalesChannel\Context\BaseContextFactory::getContext (line 88)"
4 => "Shopware\Core\System\SalesChannel\Context\BaseContextFactory::create (line 74)"
5 => "Shopware\Core\System\SalesChannel\Context\CachedBaseContextFactory::Shopware\Core\System\SalesChannel\Context\{closure} (line 350)"
6 => "Shopware\Core\System\SystemConfig\SystemConfigService::trace (line 44)"
7 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 120)"
8 => "Shopware\Core\Framework\Adapter\Translation\Translator::trace (line 45)"
9 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 46)"
10 => "Shopware\Core\Framework\Adapter\Cache\CacheTagCollection::trace (line 46)"
11 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::trace (line 41)"
12 => "Shopware\Storefront\Framework\Cache\CacheTracer::Shopware\Storefront\Framework\Cache\{closure} (line 59)"
13 => "Shopware\Storefront\Theme\ThemeConfigValueAccessor::trace (line 42)"
14 => "Shopware\Storefront\Framework\Cache\CacheTracer::trace (line 75)"
15 => "Shopware\Core\System\SalesChannel\Context\CachedBaseContextFactory::Shopware\Core\System\SalesChannel\Context\{closure} (line 72)"
16 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
17 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 85)"
18 => "Shopware\Core\System\SalesChannel\Context\CachedBaseContextFactory::create (line 92)"
19 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextFactory::create (line 51)"
20 => "Shopware\Core\System\SalesChannel\Context\CachedSalesChannelContextFactory::create (line 103)"
21 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::Shopware\Core\System\SalesChannel\Context\{closure} (line 59)"
22 => "Shopware\Core\Profiling\Profiler::trace (line 111)"
23 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::get (line 105)"
24 => "Shopware\Core\Framework\Routing\SalesChannelRequestContextResolver::resolve (line 38)"
25 => "Shopware\Core\Framework\Routing\ContextResolverListener::resolveContext (line 118)"
26 => "Symfony\Component\EventDispatcher\Debug\WrappedListener::__invoke (line 230)"
27 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
28 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
29 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
30 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
31 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
32 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
33 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 151)"
34 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
35 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
36 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
37 => "Shopware\Core\HttpKernel::doHandle (line 81)"
38 => "Shopware\Core\HttpKernel::handle (line 85)"
]
|
12 |
3.13 ms |
SELECT `sales_channel`.`id` as `sales_channel.id`, `sales_channel`.`type_id` as `sales_channel.typeId`, `sales_channel`.`language_id` as `sales_channel.languageId`, `sales_channel`.`customer_group_id` as `sales_channel.customerGroupId`, `sales_channel`.`currency_id` as `sales_channel.currencyId`, `sales_channel`.`payment_method_id` as `sales_channel.paymentMethodId`, `sales_channel`.`shipping_method_id` as `sales_channel.shippingMethodId`, `sales_channel`.`country_id` as `sales_channel.countryId`, `sales_channel`.`analytics_id` as `sales_channel.analyticsId`, `sales_channel`.`navigation_category_id` as `sales_channel.navigationCategoryId`, `sales_channel`.`navigation_category_version_id` as `sales_channel.navigationCategoryVersionId`, `sales_channel`.`navigation_category_depth` as `sales_channel.navigationCategoryDepth`, `sales_channel`.`footer_category_id` as `sales_channel.footerCategoryId`, `sales_channel`.`footer_category_version_id` as `sales_channel.footerCategoryVersionId`, `sales_channel`.`service_category_id` as `sales_channel.serviceCategoryId`, `sales_channel`.`service_category_version_id` as `sales_channel.serviceCategoryVersionId`, `sales_channel`.`mail_header_footer_id` as `sales_channel.mailHeaderFooterId`, `sales_channel`.`hreflang_default_domain_id` as `sales_channel.hreflangDefaultDomainId`, `sales_channel`.`short_name` as `sales_channel.shortName`, `sales_channel`.`tax_calculation_type` as `sales_channel.taxCalculationType`, `sales_channel`.`access_key` as `sales_channel.accessKey`, `sales_channel`.`configuration` as `sales_channel.configuration`, `sales_channel`.`active` as `sales_channel.active`, `sales_channel`.`hreflang_active` as `sales_channel.hreflangActive`, `sales_channel`.`maintenance` as `sales_channel.maintenance`, `sales_channel`.`maintenance_ip_whitelist` as `sales_channel.maintenanceIpWhitelist`, `sales_channel`.`payment_method_ids` as `sales_channel.paymentMethodIds`, `sales_channel`.`home_cms_page_id` as `sales_channel.homeCmsPageId`, `sales_channel`.`home_cms_page_version_id` as `sales_channel.homeCmsPageVersionId`, `sales_channel.analytics`.`id` as `sales_channel.analytics.id`, `sales_channel.analytics`.`tracking_id` as `sales_channel.analytics.trackingId`, `sales_channel.analytics`.`active` as `sales_channel.analytics.active`, `sales_channel.analytics`.`track_orders` as `sales_channel.analytics.trackOrders`, `sales_channel.analytics`.`anonymize_ip` as `sales_channel.analytics.anonymizeIp`, `sales_channel.analytics`.`created_at` as `sales_channel.analytics.createdAt`, `sales_channel.analytics`.`updated_at` as `sales_channel.analytics.updatedAt`, `sales_channel`.`created_at` as `sales_channel.createdAt`, `sales_channel`.`updated_at` as `sales_channel.updatedAt`, `sales_channel.currency`.`id` as `sales_channel.currency.id`, `sales_channel.currency`.`factor` as `sales_channel.currency.factor`, `sales_channel.currency`.`symbol` as `sales_channel.currency.symbol`, `sales_channel.currency`.`iso_code` as `sales_channel.currency.isoCode`, `sales_channel.currency`.`position` as `sales_channel.currency.position`, `sales_channel.currency`.`item_rounding` as `sales_channel.currency.itemRounding`, `sales_channel.currency`.`total_rounding` as `sales_channel.currency.totalRounding`, `sales_channel.currency`.`tax_free_from` as `sales_channel.currency.taxFreeFrom`, `sales_channel.currency`.`created_at` as `sales_channel.currency.createdAt`, `sales_channel.currency`.`updated_at` as `sales_channel.currency.updatedAt`, `sales_channel.currency.translation.shortName`, COALESCE(`sales_channel.currency.translation.shortName`,`sales_channel.currency.translation.shortName`) as `sales_channel.currency.shortName`, `sales_channel.currency.translation.name`, COALESCE(`sales_channel.currency.translation.name`,`sales_channel.currency.translation.name`) as `sales_channel.currency.name`, `sales_channel.currency.translation.customFields`, COALESCE(`sales_channel.currency.translation.customFields`,`sales_channel.currency.translation.customFields`) as `sales_channel.currency.customFields`, `sales_channel.currency.translation.createdAt`, `sales_channel.currency.translation.updatedAt`, `sales_channel.currency.translation.currencyId`, `sales_channel.currency.translation.languageId`, `sales_channel.translation.name`, COALESCE(`sales_channel.translation.name`,`sales_channel.translation.name`) as `sales_channel.name`, `sales_channel.translation.homeSlotConfig`, COALESCE(`sales_channel.translation.homeSlotConfig`,`sales_channel.translation.homeSlotConfig`) as `sales_channel.homeSlotConfig`, `sales_channel.translation.homeEnabled`, COALESCE(`sales_channel.translation.homeEnabled`,`sales_channel.translation.homeEnabled`) as `sales_channel.homeEnabled`, `sales_channel.translation.homeName`, COALESCE(`sales_channel.translation.homeName`,`sales_channel.translation.homeName`) as `sales_channel.homeName`, `sales_channel.translation.homeMetaTitle`, COALESCE(`sales_channel.translation.homeMetaTitle`,`sales_channel.translation.homeMetaTitle`) as `sales_channel.homeMetaTitle`, `sales_channel.translation.homeMetaDescription`, COALESCE(`sales_channel.translation.homeMetaDescription`,`sales_channel.translation.homeMetaDescription`) as `sales_channel.homeMetaDescription`, `sales_channel.translation.homeKeywords`, COALESCE(`sales_channel.translation.homeKeywords`,`sales_channel.translation.homeKeywords`) as `sales_channel.homeKeywords`, `sales_channel.translation.customFields`, COALESCE(`sales_channel.translation.customFields`,`sales_channel.translation.customFields`) as `sales_channel.customFields`, `sales_channel.translation.createdAt`, `sales_channel.translation.updatedAt`, `sales_channel.translation.salesChannelId`, `sales_channel.translation.languageId` FROM `sales_channel` LEFT JOIN (SELECT `sales_channel.translation`.sales_channel_id, `sales_channel.translation`.name as `sales_channel.translation.name`, `sales_channel.translation`.home_slot_config as `sales_channel.translation.homeSlotConfig`, `sales_channel.translation`.home_enabled as `sales_channel.translation.homeEnabled`, `sales_channel.translation`.home_name as `sales_channel.translation.homeName`, `sales_channel.translation`.home_meta_title as `sales_channel.translation.homeMetaTitle`, `sales_channel.translation`.home_meta_description as `sales_channel.translation.homeMetaDescription`, `sales_channel.translation`.home_keywords as `sales_channel.translation.homeKeywords`, `sales_channel.translation`.custom_fields as `sales_channel.translation.customFields`, `sales_channel.translation`.created_at as `sales_channel.translation.createdAt`, `sales_channel.translation`.updated_at as `sales_channel.translation.updatedAt`, `sales_channel.translation`.sales_channel_id as `sales_channel.translation.salesChannelId`, `sales_channel.translation`.language_id as `sales_channel.translation.languageId` FROM `sales_channel_translation` `sales_channel.translation` WHERE `sales_channel.translation`.language_id = :languageId) `sales_channel.sales_channel_translation` ON `sales_channel.sales_channel_translation`.`sales_channel_id` = `sales_channel`.`id` LEFT JOIN `sales_channel_analytics` `sales_channel.analytics` ON `sales_channel`.`analytics_id` = `sales_channel.analytics`.`id` LEFT JOIN `currency` `sales_channel.currency` ON `sales_channel`.`currency_id` = `sales_channel.currency`.`id` LEFT JOIN (SELECT `sales_channel.currency.translation`.currency_id, `sales_channel.currency.translation`.short_name as `sales_channel.currency.translation.shortName`, `sales_channel.currency.translation`.name as `sales_channel.currency.translation.name`, `sales_channel.currency.translation`.custom_fields as `sales_channel.currency.translation.customFields`, `sales_channel.currency.translation`.created_at as `sales_channel.currency.translation.createdAt`, `sales_channel.currency.translation`.updated_at as `sales_channel.currency.translation.updatedAt`, `sales_channel.currency.translation`.currency_id as `sales_channel.currency.translation.currencyId`, `sales_channel.currency.translation`.language_id as `sales_channel.currency.translation.languageId` FROM `currency_translation` `sales_channel.currency.translation` WHERE `sales_channel.currency.translation`.language_id = :languageId) `sales_channel.currency.currency_translation` ON `sales_channel.currency.currency_translation`.`currency_id` = `sales_channel.currency`.`id` WHERE `sales_channel`.`id` IN (:ids)
SELECT
`sales_channel`.`id` as `sales_channel.id`,
`sales_channel`.`type_id` as `sales_channel.typeId`,
`sales_channel`.`language_id` as `sales_channel.languageId`,
`sales_channel`.`customer_group_id` as `sales_channel.customerGroupId`,
`sales_channel`.`currency_id` as `sales_channel.currencyId`,
`sales_channel`.`payment_method_id` as `sales_channel.paymentMethodId`,
`sales_channel`.`shipping_method_id` as `sales_channel.shippingMethodId`,
`sales_channel`.`country_id` as `sales_channel.countryId`,
`sales_channel`.`analytics_id` as `sales_channel.analyticsId`,
`sales_channel`.`navigation_category_id` as `sales_channel.navigationCategoryId`,
`sales_channel`.`navigation_category_version_id` as `sales_channel.navigationCategoryVersionId`,
`sales_channel`.`navigation_category_depth` as `sales_channel.navigationCategoryDepth`,
`sales_channel`.`footer_category_id` as `sales_channel.footerCategoryId`,
`sales_channel`.`footer_category_version_id` as `sales_channel.footerCategoryVersionId`,
`sales_channel`.`service_category_id` as `sales_channel.serviceCategoryId`,
`sales_channel`.`service_category_version_id` as `sales_channel.serviceCategoryVersionId`,
`sales_channel`.`mail_header_footer_id` as `sales_channel.mailHeaderFooterId`,
`sales_channel`.`hreflang_default_domain_id` as `sales_channel.hreflangDefaultDomainId`,
`sales_channel`.`short_name` as `sales_channel.shortName`,
`sales_channel`.`tax_calculation_type` as `sales_channel.taxCalculationType`,
`sales_channel`.`access_key` as `sales_channel.accessKey`,
`sales_channel`.`configuration` as `sales_channel.configuration`,
`sales_channel`.`active` as `sales_channel.active`,
`sales_channel`.`hreflang_active` as `sales_channel.hreflangActive`,
`sales_channel`.`maintenance` as `sales_channel.maintenance`,
`sales_channel`.`maintenance_ip_whitelist` as `sales_channel.maintenanceIpWhitelist`,
`sales_channel`.`payment_method_ids` as `sales_channel.paymentMethodIds`,
`sales_channel`.`home_cms_page_id` as `sales_channel.homeCmsPageId`,
`sales_channel`.`home_cms_page_version_id` as `sales_channel.homeCmsPageVersionId`,
`sales_channel.analytics`.`id` as `sales_channel.analytics.id`,
`sales_channel.analytics`.`tracking_id` as `sales_channel.analytics.trackingId`,
`sales_channel.analytics`.`active` as `sales_channel.analytics.active`,
`sales_channel.analytics`.`track_orders` as `sales_channel.analytics.trackOrders`,
`sales_channel.analytics`.`anonymize_ip` as `sales_channel.analytics.anonymizeIp`,
`sales_channel.analytics`.`created_at` as `sales_channel.analytics.createdAt`,
`sales_channel.analytics`.`updated_at` as `sales_channel.analytics.updatedAt`,
`sales_channel`.`created_at` as `sales_channel.createdAt`,
`sales_channel`.`updated_at` as `sales_channel.updatedAt`,
`sales_channel.currency`.`id` as `sales_channel.currency.id`,
`sales_channel.currency`.`factor` as `sales_channel.currency.factor`,
`sales_channel.currency`.`symbol` as `sales_channel.currency.symbol`,
`sales_channel.currency`.`iso_code` as `sales_channel.currency.isoCode`,
`sales_channel.currency`.`position` as `sales_channel.currency.position`,
`sales_channel.currency`.`item_rounding` as `sales_channel.currency.itemRounding`,
`sales_channel.currency`.`total_rounding` as `sales_channel.currency.totalRounding`,
`sales_channel.currency`.`tax_free_from` as `sales_channel.currency.taxFreeFrom`,
`sales_channel.currency`.`created_at` as `sales_channel.currency.createdAt`,
`sales_channel.currency`.`updated_at` as `sales_channel.currency.updatedAt`,
`sales_channel.currency.translation.shortName`,
COALESCE(
`sales_channel.currency.translation.shortName`,
`sales_channel.currency.translation.shortName`
) as `sales_channel.currency.shortName`,
`sales_channel.currency.translation.name`,
COALESCE(
`sales_channel.currency.translation.name`,
`sales_channel.currency.translation.name`
) as `sales_channel.currency.name`,
`sales_channel.currency.translation.customFields`,
COALESCE(
`sales_channel.currency.translation.customFields`,
`sales_channel.currency.translation.customFields`
) as `sales_channel.currency.customFields`,
`sales_channel.currency.translation.createdAt`,
`sales_channel.currency.translation.updatedAt`,
`sales_channel.currency.translation.currencyId`,
`sales_channel.currency.translation.languageId`,
`sales_channel.translation.name`,
COALESCE(
`sales_channel.translation.name`,
`sales_channel.translation.name`
) as `sales_channel.name`,
`sales_channel.translation.homeSlotConfig`,
COALESCE(
`sales_channel.translation.homeSlotConfig`,
`sales_channel.translation.homeSlotConfig`
) as `sales_channel.homeSlotConfig`,
`sales_channel.translation.homeEnabled`,
COALESCE(
`sales_channel.translation.homeEnabled`,
`sales_channel.translation.homeEnabled`
) as `sales_channel.homeEnabled`,
`sales_channel.translation.homeName`,
COALESCE(
`sales_channel.translation.homeName`,
`sales_channel.translation.homeName`
) as `sales_channel.homeName`,
`sales_channel.translation.homeMetaTitle`,
COALESCE(
`sales_channel.translation.homeMetaTitle`,
`sales_channel.translation.homeMetaTitle`
) as `sales_channel.homeMetaTitle`,
`sales_channel.translation.homeMetaDescription`,
COALESCE(
`sales_channel.translation.homeMetaDescription`,
`sales_channel.translation.homeMetaDescription`
) as `sales_channel.homeMetaDescription`,
`sales_channel.translation.homeKeywords`,
COALESCE(
`sales_channel.translation.homeKeywords`,
`sales_channel.translation.homeKeywords`
) as `sales_channel.homeKeywords`,
`sales_channel.translation.customFields`,
COALESCE(
`sales_channel.translation.customFields`,
`sales_channel.translation.customFields`
) as `sales_channel.customFields`,
`sales_channel.translation.createdAt`,
`sales_channel.translation.updatedAt`,
`sales_channel.translation.salesChannelId`,
`sales_channel.translation.languageId`
FROM
`sales_channel`
LEFT JOIN (
SELECT
`sales_channel.translation`.sales_channel_id,
`sales_channel.translation`.name as `sales_channel.translation.name`,
`sales_channel.translation`.home_slot_config as `sales_channel.translation.homeSlotConfig`,
`sales_channel.translation`.home_enabled as `sales_channel.translation.homeEnabled`,
`sales_channel.translation`.home_name as `sales_channel.translation.homeName`,
`sales_channel.translation`.home_meta_title as `sales_channel.translation.homeMetaTitle`,
`sales_channel.translation`.home_meta_description as `sales_channel.translation.homeMetaDescription`,
`sales_channel.translation`.home_keywords as `sales_channel.translation.homeKeywords`,
`sales_channel.translation`.custom_fields as `sales_channel.translation.customFields`,
`sales_channel.translation`.created_at as `sales_channel.translation.createdAt`,
`sales_channel.translation`.updated_at as `sales_channel.translation.updatedAt`,
`sales_channel.translation`.sales_channel_id as `sales_channel.translation.salesChannelId`,
`sales_channel.translation`.language_id as `sales_channel.translation.languageId`
FROM
`sales_channel_translation` `sales_channel.translation`
WHERE
`sales_channel.translation`.language_id = : languageId
) `sales_channel.sales_channel_translation` ON `sales_channel.sales_channel_translation`.`sales_channel_id` = `sales_channel`.`id`
LEFT JOIN `sales_channel_analytics` `sales_channel.analytics` ON `sales_channel`.`analytics_id` = `sales_channel.analytics`.`id`
LEFT JOIN `currency` `sales_channel.currency` ON `sales_channel`.`currency_id` = `sales_channel.currency`.`id`
LEFT JOIN (
SELECT
`sales_channel.currency.translation`.currency_id,
`sales_channel.currency.translation`.short_name as `sales_channel.currency.translation.shortName`,
`sales_channel.currency.translation`.name as `sales_channel.currency.translation.name`,
`sales_channel.currency.translation`.custom_fields as `sales_channel.currency.translation.customFields`,
`sales_channel.currency.translation`.created_at as `sales_channel.currency.translation.createdAt`,
`sales_channel.currency.translation`.updated_at as `sales_channel.currency.translation.updatedAt`,
`sales_channel.currency.translation`.currency_id as `sales_channel.currency.translation.currencyId`,
`sales_channel.currency.translation`.language_id as `sales_channel.currency.translation.languageId`
FROM
`currency_translation` `sales_channel.currency.translation`
WHERE
`sales_channel.currency.translation`.language_id = : languageId
) `sales_channel.currency.currency_translation` ON `sales_channel.currency.currency_translation`.`currency_id` = `sales_channel.currency`.`id`
WHERE
`sales_channel`.`id` IN (: ids)
SELECT `sales_channel`.`id` as `sales_channel.id`, `sales_channel`.`type_id` as `sales_channel.typeId`, `sales_channel`.`language_id` as `sales_channel.languageId`, `sales_channel`.`customer_group_id` as `sales_channel.customerGroupId`, `sales_channel`.`currency_id` as `sales_channel.currencyId`, `sales_channel`.`payment_method_id` as `sales_channel.paymentMethodId`, `sales_channel`.`shipping_method_id` as `sales_channel.shippingMethodId`, `sales_channel`.`country_id` as `sales_channel.countryId`, `sales_channel`.`analytics_id` as `sales_channel.analyticsId`, `sales_channel`.`navigation_category_id` as `sales_channel.navigationCategoryId`, `sales_channel`.`navigation_category_version_id` as `sales_channel.navigationCategoryVersionId`, `sales_channel`.`navigation_category_depth` as `sales_channel.navigationCategoryDepth`, `sales_channel`.`footer_category_id` as `sales_channel.footerCategoryId`, `sales_channel`.`footer_category_version_id` as `sales_channel.footerCategoryVersionId`, `sales_channel`.`service_category_id` as `sales_channel.serviceCategoryId`, `sales_channel`.`service_category_version_id` as `sales_channel.serviceCategoryVersionId`, `sales_channel`.`mail_header_footer_id` as `sales_channel.mailHeaderFooterId`, `sales_channel`.`hreflang_default_domain_id` as `sales_channel.hreflangDefaultDomainId`, `sales_channel`.`short_name` as `sales_channel.shortName`, `sales_channel`.`tax_calculation_type` as `sales_channel.taxCalculationType`, `sales_channel`.`access_key` as `sales_channel.accessKey`, `sales_channel`.`configuration` as `sales_channel.configuration`, `sales_channel`.`active` as `sales_channel.active`, `sales_channel`.`hreflang_active` as `sales_channel.hreflangActive`, `sales_channel`.`maintenance` as `sales_channel.maintenance`, `sales_channel`.`maintenance_ip_whitelist` as `sales_channel.maintenanceIpWhitelist`, `sales_channel`.`payment_method_ids` as `sales_channel.paymentMethodIds`, `sales_channel`.`home_cms_page_id` as `sales_channel.homeCmsPageId`, `sales_channel`.`home_cms_page_version_id` as `sales_channel.homeCmsPageVersionId`, `sales_channel.analytics`.`id` as `sales_channel.analytics.id`, `sales_channel.analytics`.`tracking_id` as `sales_channel.analytics.trackingId`, `sales_channel.analytics`.`active` as `sales_channel.analytics.active`, `sales_channel.analytics`.`track_orders` as `sales_channel.analytics.trackOrders`, `sales_channel.analytics`.`anonymize_ip` as `sales_channel.analytics.anonymizeIp`, `sales_channel.analytics`.`created_at` as `sales_channel.analytics.createdAt`, `sales_channel.analytics`.`updated_at` as `sales_channel.analytics.updatedAt`, `sales_channel`.`created_at` as `sales_channel.createdAt`, `sales_channel`.`updated_at` as `sales_channel.updatedAt`, `sales_channel.currency`.`id` as `sales_channel.currency.id`, `sales_channel.currency`.`factor` as `sales_channel.currency.factor`, `sales_channel.currency`.`symbol` as `sales_channel.currency.symbol`, `sales_channel.currency`.`iso_code` as `sales_channel.currency.isoCode`, `sales_channel.currency`.`position` as `sales_channel.currency.position`, `sales_channel.currency`.`item_rounding` as `sales_channel.currency.itemRounding`, `sales_channel.currency`.`total_rounding` as `sales_channel.currency.totalRounding`, `sales_channel.currency`.`tax_free_from` as `sales_channel.currency.taxFreeFrom`, `sales_channel.currency`.`created_at` as `sales_channel.currency.createdAt`, `sales_channel.currency`.`updated_at` as `sales_channel.currency.updatedAt`, `sales_channel.currency.translation.shortName`, COALESCE(`sales_channel.currency.translation.shortName`,`sales_channel.currency.translation.shortName`) as `sales_channel.currency.shortName`, `sales_channel.currency.translation.name`, COALESCE(`sales_channel.currency.translation.name`,`sales_channel.currency.translation.name`) as `sales_channel.currency.name`, `sales_channel.currency.translation.customFields`, COALESCE(`sales_channel.currency.translation.customFields`,`sales_channel.currency.translation.customFields`) as `sales_channel.currency.customFields`, `sales_channel.currency.translation.createdAt`, `sales_channel.currency.translation.updatedAt`, `sales_channel.currency.translation.currencyId`, `sales_channel.currency.translation.languageId`, `sales_channel.translation.name`, COALESCE(`sales_channel.translation.name`,`sales_channel.translation.name`) as `sales_channel.name`, `sales_channel.translation.homeSlotConfig`, COALESCE(`sales_channel.translation.homeSlotConfig`,`sales_channel.translation.homeSlotConfig`) as `sales_channel.homeSlotConfig`, `sales_channel.translation.homeEnabled`, COALESCE(`sales_channel.translation.homeEnabled`,`sales_channel.translation.homeEnabled`) as `sales_channel.homeEnabled`, `sales_channel.translation.homeName`, COALESCE(`sales_channel.translation.homeName`,`sales_channel.translation.homeName`) as `sales_channel.homeName`, `sales_channel.translation.homeMetaTitle`, COALESCE(`sales_channel.translation.homeMetaTitle`,`sales_channel.translation.homeMetaTitle`) as `sales_channel.homeMetaTitle`, `sales_channel.translation.homeMetaDescription`, COALESCE(`sales_channel.translation.homeMetaDescription`,`sales_channel.translation.homeMetaDescription`) as `sales_channel.homeMetaDescription`, `sales_channel.translation.homeKeywords`, COALESCE(`sales_channel.translation.homeKeywords`,`sales_channel.translation.homeKeywords`) as `sales_channel.homeKeywords`, `sales_channel.translation.customFields`, COALESCE(`sales_channel.translation.customFields`,`sales_channel.translation.customFields`) as `sales_channel.customFields`, `sales_channel.translation.createdAt`, `sales_channel.translation.updatedAt`, `sales_channel.translation.salesChannelId`, `sales_channel.translation.languageId` FROM `sales_channel` LEFT JOIN (SELECT `sales_channel.translation`.sales_channel_id, `sales_channel.translation`.name as `sales_channel.translation.name`, `sales_channel.translation`.home_slot_config as `sales_channel.translation.homeSlotConfig`, `sales_channel.translation`.home_enabled as `sales_channel.translation.homeEnabled`, `sales_channel.translation`.home_name as `sales_channel.translation.homeName`, `sales_channel.translation`.home_meta_title as `sales_channel.translation.homeMetaTitle`, `sales_channel.translation`.home_meta_description as `sales_channel.translation.homeMetaDescription`, `sales_channel.translation`.home_keywords as `sales_channel.translation.homeKeywords`, `sales_channel.translation`.custom_fields as `sales_channel.translation.customFields`, `sales_channel.translation`.created_at as `sales_channel.translation.createdAt`, `sales_channel.translation`.updated_at as `sales_channel.translation.updatedAt`, `sales_channel.translation`.sales_channel_id as `sales_channel.translation.salesChannelId`, `sales_channel.translation`.language_id as `sales_channel.translation.languageId` FROM `sales_channel_translation` `sales_channel.translation` WHERE `sales_channel.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `sales_channel.sales_channel_translation` ON `sales_channel.sales_channel_translation`.`sales_channel_id` = `sales_channel`.`id` LEFT JOIN `sales_channel_analytics` `sales_channel.analytics` ON `sales_channel`.`analytics_id` = `sales_channel.analytics`.`id` LEFT JOIN `currency` `sales_channel.currency` ON `sales_channel`.`currency_id` = `sales_channel.currency`.`id` LEFT JOIN (SELECT `sales_channel.currency.translation`.currency_id, `sales_channel.currency.translation`.short_name as `sales_channel.currency.translation.shortName`, `sales_channel.currency.translation`.name as `sales_channel.currency.translation.name`, `sales_channel.currency.translation`.custom_fields as `sales_channel.currency.translation.customFields`, `sales_channel.currency.translation`.created_at as `sales_channel.currency.translation.createdAt`, `sales_channel.currency.translation`.updated_at as `sales_channel.currency.translation.updatedAt`, `sales_channel.currency.translation`.currency_id as `sales_channel.currency.translation.currencyId`, `sales_channel.currency.translation`.language_id as `sales_channel.currency.translation.languageId` FROM `currency_translation` `sales_channel.currency.translation` WHERE `sales_channel.currency.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `sales_channel.currency.currency_translation` ON `sales_channel.currency.currency_translation`.`currency_id` = `sales_channel.currency`.`id` WHERE `sales_channel`.`id` IN (0x4EB9108BE4654CC9B140D14DE85579E9);
array:47 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 242)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 316)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetch (line 148)"
4 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 93)"
5 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::read (line 257)"
6 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::read (line 286)"
7 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::_search (line 110)"
8 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::Shopware\Core\Framework\DataAbstractionLayer\{closure} (line 59)"
9 => "Shopware\Core\Profiling\Profiler::trace (line 111)"
10 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::search (line 51)"
11 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepositoryForwardCompatibilityDecorator::search (line 96)"
12 => "Shopware\Core\System\SalesChannel\Context\BaseContextFactory::create (line 74)"
13 => "Shopware\Core\System\SalesChannel\Context\CachedBaseContextFactory::Shopware\Core\System\SalesChannel\Context\{closure} (line 350)"
14 => "Shopware\Core\System\SystemConfig\SystemConfigService::trace (line 44)"
15 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 120)"
16 => "Shopware\Core\Framework\Adapter\Translation\Translator::trace (line 45)"
17 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 46)"
18 => "Shopware\Core\Framework\Adapter\Cache\CacheTagCollection::trace (line 46)"
19 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::trace (line 41)"
20 => "Shopware\Storefront\Framework\Cache\CacheTracer::Shopware\Storefront\Framework\Cache\{closure} (line 59)"
21 => "Shopware\Storefront\Theme\ThemeConfigValueAccessor::trace (line 42)"
22 => "Shopware\Storefront\Framework\Cache\CacheTracer::trace (line 75)"
23 => "Shopware\Core\System\SalesChannel\Context\CachedBaseContextFactory::Shopware\Core\System\SalesChannel\Context\{closure} (line 72)"
24 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
25 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 85)"
26 => "Shopware\Core\System\SalesChannel\Context\CachedBaseContextFactory::create (line 92)"
27 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextFactory::create (line 51)"
28 => "Shopware\Core\System\SalesChannel\Context\CachedSalesChannelContextFactory::create (line 103)"
29 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::Shopware\Core\System\SalesChannel\Context\{closure} (line 59)"
30 => "Shopware\Core\Profiling\Profiler::trace (line 111)"
31 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::get (line 105)"
32 => "Shopware\Core\Framework\Routing\SalesChannelRequestContextResolver::resolve (line 38)"
33 => "Shopware\Core\Framework\Routing\ContextResolverListener::resolveContext (line 118)"
34 => "Symfony\Component\EventDispatcher\Debug\WrappedListener::__invoke (line 230)"
35 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
36 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
37 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
38 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
39 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
40 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
41 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 151)"
42 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
43 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
44 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
45 => "Shopware\Core\HttpKernel::doHandle (line 81)"
46 => "Shopware\Core\HttpKernel::handle (line 85)"
]
|
13 |
0.20 ms |
SELECT `name`, `type` FROM `custom_field` WHERE `active` = 1
SELECT `name`, `type` FROM `custom_field` WHERE `active` = 1;
array:55 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 1065)"
2 => "Doctrine\DBAL\Connection::fetchAllKeyValue (line 101)"
3 => "Shopware\Core\System\CustomField\CustomFieldService::getCustomFields (line 43)"
4 => "Shopware\Core\System\CustomField\CustomFieldService::getCustomField (line 109)"
5 => "Shopware\Core\Framework\DataAbstractionLayer\FieldSerializer\CustomFieldsSerializer::getFields (line 99)"
6 => "Shopware\Core\Framework\DataAbstractionLayer\FieldSerializer\CustomFieldsSerializer::decode (line 389)"
7 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityHydrator::customFields (line 243)"
8 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityHydrator::hydrateFields (line 169)"
9 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityHydrator::assign (line 546)"
10 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityHydrator::hydrateEntity (line 88)"
11 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityHydrator::hydrate (line 150)"
12 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 93)"
13 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::read (line 257)"
14 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::read (line 286)"
15 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::_search (line 110)"
16 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::Shopware\Core\Framework\DataAbstractionLayer\{closure} (line 59)"
17 => "Shopware\Core\Profiling\Profiler::trace (line 111)"
18 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::search (line 51)"
19 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepositoryForwardCompatibilityDecorator::search (line 96)"
20 => "Shopware\Core\System\SalesChannel\Context\BaseContextFactory::create (line 74)"
21 => "Shopware\Core\System\SalesChannel\Context\CachedBaseContextFactory::Shopware\Core\System\SalesChannel\Context\{closure} (line 350)"
22 => "Shopware\Core\System\SystemConfig\SystemConfigService::trace (line 44)"
23 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 120)"
24 => "Shopware\Core\Framework\Adapter\Translation\Translator::trace (line 45)"
25 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 46)"
26 => "Shopware\Core\Framework\Adapter\Cache\CacheTagCollection::trace (line 46)"
27 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::trace (line 41)"
28 => "Shopware\Storefront\Framework\Cache\CacheTracer::Shopware\Storefront\Framework\Cache\{closure} (line 59)"
29 => "Shopware\Storefront\Theme\ThemeConfigValueAccessor::trace (line 42)"
30 => "Shopware\Storefront\Framework\Cache\CacheTracer::trace (line 75)"
31 => "Shopware\Core\System\SalesChannel\Context\CachedBaseContextFactory::Shopware\Core\System\SalesChannel\Context\{closure} (line 72)"
32 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
33 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 85)"
34 => "Shopware\Core\System\SalesChannel\Context\CachedBaseContextFactory::create (line 92)"
35 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextFactory::create (line 51)"
36 => "Shopware\Core\System\SalesChannel\Context\CachedSalesChannelContextFactory::create (line 103)"
37 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::Shopware\Core\System\SalesChannel\Context\{closure} (line 59)"
38 => "Shopware\Core\Profiling\Profiler::trace (line 111)"
39 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::get (line 105)"
40 => "Shopware\Core\Framework\Routing\SalesChannelRequestContextResolver::resolve (line 38)"
41 => "Shopware\Core\Framework\Routing\ContextResolverListener::resolveContext (line 118)"
42 => "Symfony\Component\EventDispatcher\Debug\WrappedListener::__invoke (line 230)"
43 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
44 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
45 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
46 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
47 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
48 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
49 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 151)"
50 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
51 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
52 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
53 => "Shopware\Core\HttpKernel::doHandle (line 81)"
54 => "Shopware\Core\HttpKernel::handle (line 85)"
]
|
14 |
0.37 ms |
SELECT `sales_channel_domain`.`id` as `sales_channel_domain.id`, `sales_channel_domain`.`url` as `sales_channel_domain.url`, `sales_channel_domain`.`sales_channel_id` as `sales_channel_domain.salesChannelId`, `sales_channel_domain`.`language_id` as `sales_channel_domain.languageId`, `sales_channel_domain`.`currency_id` as `sales_channel_domain.currencyId`, `sales_channel_domain`.`snippet_set_id` as `sales_channel_domain.snippetSetId`, `sales_channel_domain`.`hreflang_use_only_locale` as `sales_channel_domain.hreflangUseOnlyLocale`, `sales_channel_domain`.`custom_fields` as `sales_channel_domain.customFields`, `sales_channel_domain`.`created_at` as `sales_channel_domain.createdAt`, `sales_channel_domain`.`updated_at` as `sales_channel_domain.updatedAt` FROM `sales_channel_domain` WHERE (`sales_channel_domain`.`sales_channel_id` IN (:param_6251f0d265034f7c827a6fc1004719ca))
SELECT `sales_channel_domain`.`id` as `sales_channel_domain.id`, `sales_channel_domain`.`url` as `sales_channel_domain.url`, `sales_channel_domain`.`sales_channel_id` as `sales_channel_domain.salesChannelId`, `sales_channel_domain`.`language_id` as `sales_channel_domain.languageId`, `sales_channel_domain`.`currency_id` as `sales_channel_domain.currencyId`, `sales_channel_domain`.`snippet_set_id` as `sales_channel_domain.snippetSetId`, `sales_channel_domain`.`hreflang_use_only_locale` as `sales_channel_domain.hreflangUseOnlyLocale`, `sales_channel_domain`.`custom_fields` as `sales_channel_domain.customFields`, `sales_channel_domain`.`created_at` as `sales_channel_domain.createdAt`, `sales_channel_domain`.`updated_at` as `sales_channel_domain.updatedAt` FROM `sales_channel_domain` WHERE (`sales_channel_domain`.`sales_channel_id` IN (0x4EB9108BE4654CC9B140D14DE85579E9));
array:51 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 242)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 316)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetch (line 148)"
4 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 503)"
5 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::loadOneToManyWithoutPagination (line 438)"
6 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::loadOneToMany (line 1210)"
7 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetchAssociations (line 152)"
8 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 93)"
9 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::read (line 257)"
10 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::read (line 286)"
11 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::_search (line 110)"
12 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::Shopware\Core\Framework\DataAbstractionLayer\{closure} (line 59)"
13 => "Shopware\Core\Profiling\Profiler::trace (line 111)"
14 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::search (line 51)"
15 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepositoryForwardCompatibilityDecorator::search (line 96)"
16 => "Shopware\Core\System\SalesChannel\Context\BaseContextFactory::create (line 74)"
17 => "Shopware\Core\System\SalesChannel\Context\CachedBaseContextFactory::Shopware\Core\System\SalesChannel\Context\{closure} (line 350)"
18 => "Shopware\Core\System\SystemConfig\SystemConfigService::trace (line 44)"
19 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 120)"
20 => "Shopware\Core\Framework\Adapter\Translation\Translator::trace (line 45)"
21 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 46)"
22 => "Shopware\Core\Framework\Adapter\Cache\CacheTagCollection::trace (line 46)"
23 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::trace (line 41)"
24 => "Shopware\Storefront\Framework\Cache\CacheTracer::Shopware\Storefront\Framework\Cache\{closure} (line 59)"
25 => "Shopware\Storefront\Theme\ThemeConfigValueAccessor::trace (line 42)"
26 => "Shopware\Storefront\Framework\Cache\CacheTracer::trace (line 75)"
27 => "Shopware\Core\System\SalesChannel\Context\CachedBaseContextFactory::Shopware\Core\System\SalesChannel\Context\{closure} (line 72)"
28 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
29 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 85)"
30 => "Shopware\Core\System\SalesChannel\Context\CachedBaseContextFactory::create (line 92)"
31 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextFactory::create (line 51)"
32 => "Shopware\Core\System\SalesChannel\Context\CachedSalesChannelContextFactory::create (line 103)"
33 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::Shopware\Core\System\SalesChannel\Context\{closure} (line 59)"
34 => "Shopware\Core\Profiling\Profiler::trace (line 111)"
35 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::get (line 105)"
36 => "Shopware\Core\Framework\Routing\SalesChannelRequestContextResolver::resolve (line 38)"
37 => "Shopware\Core\Framework\Routing\ContextResolverListener::resolveContext (line 118)"
38 => "Symfony\Component\EventDispatcher\Debug\WrappedListener::__invoke (line 230)"
39 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
40 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
41 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
42 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
43 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
44 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
45 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 151)"
46 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
47 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
48 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
49 => "Shopware\Core\HttpKernel::doHandle (line 81)"
50 => "Shopware\Core\HttpKernel::handle (line 85)"
]
|
15 |
0.53 ms |
SELECT `currency`.`id` as `currency.id`, `currency`.`factor` as `currency.factor`, `currency`.`symbol` as `currency.symbol`, `currency`.`iso_code` as `currency.isoCode`, `currency`.`position` as `currency.position`, `currency`.`item_rounding` as `currency.itemRounding`, `currency`.`total_rounding` as `currency.totalRounding`, `currency`.`tax_free_from` as `currency.taxFreeFrom`, `currency`.`created_at` as `currency.createdAt`, `currency`.`updated_at` as `currency.updatedAt`, `currency.translation.shortName`, COALESCE(`currency.translation.shortName`,`currency.translation.shortName`) as `currency.shortName`, `currency.translation.name`, COALESCE(`currency.translation.name`,`currency.translation.name`) as `currency.name`, `currency.translation.customFields`, COALESCE(`currency.translation.customFields`,`currency.translation.customFields`) as `currency.customFields`, `currency.translation.createdAt`, `currency.translation.updatedAt`, `currency.translation.currencyId`, `currency.translation.languageId` FROM `currency` LEFT JOIN (SELECT `currency.translation`.currency_id, `currency.translation`.short_name as `currency.translation.shortName`, `currency.translation`.name as `currency.translation.name`, `currency.translation`.custom_fields as `currency.translation.customFields`, `currency.translation`.created_at as `currency.translation.createdAt`, `currency.translation`.updated_at as `currency.translation.updatedAt`, `currency.translation`.currency_id as `currency.translation.currencyId`, `currency.translation`.language_id as `currency.translation.languageId` FROM `currency_translation` `currency.translation` WHERE `currency.translation`.language_id = :languageId) `currency.currency_translation` ON `currency.currency_translation`.`currency_id` = `currency`.`id` WHERE `currency`.`id` IN (:ids)
SELECT `currency`.`id` as `currency.id`, `currency`.`factor` as `currency.factor`, `currency`.`symbol` as `currency.symbol`, `currency`.`iso_code` as `currency.isoCode`, `currency`.`position` as `currency.position`, `currency`.`item_rounding` as `currency.itemRounding`, `currency`.`total_rounding` as `currency.totalRounding`, `currency`.`tax_free_from` as `currency.taxFreeFrom`, `currency`.`created_at` as `currency.createdAt`, `currency`.`updated_at` as `currency.updatedAt`, `currency.translation.shortName`, COALESCE(`currency.translation.shortName`,`currency.translation.shortName`) as `currency.shortName`, `currency.translation.name`, COALESCE(`currency.translation.name`,`currency.translation.name`) as `currency.name`, `currency.translation.customFields`, COALESCE(`currency.translation.customFields`,`currency.translation.customFields`) as `currency.customFields`, `currency.translation.createdAt`, `currency.translation.updatedAt`, `currency.translation.currencyId`, `currency.translation.languageId` FROM `currency` LEFT JOIN (SELECT `currency.translation`.currency_id, `currency.translation`.short_name as `currency.translation.shortName`, `currency.translation`.name as `currency.translation.name`, `currency.translation`.custom_fields as `currency.translation.customFields`, `currency.translation`.created_at as `currency.translation.createdAt`, `currency.translation`.updated_at as `currency.translation.updatedAt`, `currency.translation`.currency_id as `currency.translation.currencyId`, `currency.translation`.language_id as `currency.translation.languageId` FROM `currency_translation` `currency.translation` WHERE `currency.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `currency.currency_translation` ON `currency.currency_translation`.`currency_id` = `currency`.`id` WHERE `currency`.`id` IN (0xB7D2554B0CE847CD82F3AC9BD1C0DFCA);
array:47 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 242)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 316)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetch (line 148)"
4 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 93)"
5 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::read (line 257)"
6 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::read (line 286)"
7 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::_search (line 110)"
8 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::Shopware\Core\Framework\DataAbstractionLayer\{closure} (line 59)"
9 => "Shopware\Core\Profiling\Profiler::trace (line 111)"
10 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::search (line 51)"
11 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepositoryForwardCompatibilityDecorator::search (line 120)"
12 => "Shopware\Core\System\SalesChannel\Context\BaseContextFactory::create (line 74)"
13 => "Shopware\Core\System\SalesChannel\Context\CachedBaseContextFactory::Shopware\Core\System\SalesChannel\Context\{closure} (line 350)"
14 => "Shopware\Core\System\SystemConfig\SystemConfigService::trace (line 44)"
15 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 120)"
16 => "Shopware\Core\Framework\Adapter\Translation\Translator::trace (line 45)"
17 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 46)"
18 => "Shopware\Core\Framework\Adapter\Cache\CacheTagCollection::trace (line 46)"
19 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::trace (line 41)"
20 => "Shopware\Storefront\Framework\Cache\CacheTracer::Shopware\Storefront\Framework\Cache\{closure} (line 59)"
21 => "Shopware\Storefront\Theme\ThemeConfigValueAccessor::trace (line 42)"
22 => "Shopware\Storefront\Framework\Cache\CacheTracer::trace (line 75)"
23 => "Shopware\Core\System\SalesChannel\Context\CachedBaseContextFactory::Shopware\Core\System\SalesChannel\Context\{closure} (line 72)"
24 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
25 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 85)"
26 => "Shopware\Core\System\SalesChannel\Context\CachedBaseContextFactory::create (line 92)"
27 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextFactory::create (line 51)"
28 => "Shopware\Core\System\SalesChannel\Context\CachedSalesChannelContextFactory::create (line 103)"
29 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::Shopware\Core\System\SalesChannel\Context\{closure} (line 59)"
30 => "Shopware\Core\Profiling\Profiler::trace (line 111)"
31 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::get (line 105)"
32 => "Shopware\Core\Framework\Routing\SalesChannelRequestContextResolver::resolve (line 38)"
33 => "Shopware\Core\Framework\Routing\ContextResolverListener::resolveContext (line 118)"
34 => "Symfony\Component\EventDispatcher\Debug\WrappedListener::__invoke (line 230)"
35 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
36 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
37 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
38 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
39 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
40 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
41 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 151)"
42 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
43 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
44 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
45 => "Shopware\Core\HttpKernel::doHandle (line 81)"
46 => "Shopware\Core\HttpKernel::handle (line 85)"
]
|
16 |
0.63 ms |
SELECT `country`.`id` as `country.id`, `country`.`iso` as `country.iso`, `country`.`position` as `country.position`, `country`.`active` as `country.active`, `country`.`shipping_available` as `country.shippingAvailable`, `country`.`iso3` as `country.iso3`, `country`.`display_state_in_registration` as `country.displayStateInRegistration`, `country`.`force_state_in_registration` as `country.forceStateInRegistration`, `country`.`company_tax_free` as `country.companyTaxFree`, `country`.`check_vat_id_pattern` as `country.checkVatIdPattern`, `country`.`vat_id_required` as `country.vatIdRequired`, `country`.`tax_free` as `country.taxFree`, `country`.`vat_id_pattern` as `country.vatIdPattern`, `country`.`customer_tax` as `country.customerTax`, `country`.`company_tax` as `country.companyTax`, `country`.`postal_code_required` as `country.postalCodeRequired`, `country`.`check_postal_code_pattern` as `country.checkPostalCodePattern`, `country`.`check_advanced_postal_code_pattern` as `country.checkAdvancedPostalCodePattern`, `country`.`advanced_postal_code_pattern` as `country.advancedPostalCodePattern`, `country`.`default_postal_code_pattern` as `country.defaultPostalCodePattern`, `country`.`created_at` as `country.createdAt`, `country`.`updated_at` as `country.updatedAt`, `country.translation.name`, COALESCE(`country.translation.name`,`country.translation.name`) as `country.name`, `country.translation.addressFormat`, COALESCE(`country.translation.addressFormat`,`country.translation.addressFormat`) as `country.addressFormat`, `country.translation.customFields`, COALESCE(`country.translation.customFields`,`country.translation.customFields`) as `country.customFields`, `country.translation.createdAt`, `country.translation.updatedAt`, `country.translation.countryId`, `country.translation.languageId` FROM `country` LEFT JOIN (SELECT `country.translation`.country_id, `country.translation`.name as `country.translation.name`, `country.translation`.address_format as `country.translation.addressFormat`, `country.translation`.custom_fields as `country.translation.customFields`, `country.translation`.created_at as `country.translation.createdAt`, `country.translation`.updated_at as `country.translation.updatedAt`, `country.translation`.country_id as `country.translation.countryId`, `country.translation`.language_id as `country.translation.languageId` FROM `country_translation` `country.translation` WHERE `country.translation`.language_id = :languageId) `country.country_translation` ON `country.country_translation`.`country_id` = `country`.`id` WHERE `country`.`id` IN (:ids)
SELECT
`country`.`id` as `country.id`,
`country`.`iso` as `country.iso`,
`country`.`position` as `country.position`,
`country`.`active` as `country.active`,
`country`.`shipping_available` as `country.shippingAvailable`,
`country`.`iso3` as `country.iso3`,
`country`.`display_state_in_registration` as `country.displayStateInRegistration`,
`country`.`force_state_in_registration` as `country.forceStateInRegistration`,
`country`.`company_tax_free` as `country.companyTaxFree`,
`country`.`check_vat_id_pattern` as `country.checkVatIdPattern`,
`country`.`vat_id_required` as `country.vatIdRequired`,
`country`.`tax_free` as `country.taxFree`,
`country`.`vat_id_pattern` as `country.vatIdPattern`,
`country`.`customer_tax` as `country.customerTax`,
`country`.`company_tax` as `country.companyTax`,
`country`.`postal_code_required` as `country.postalCodeRequired`,
`country`.`check_postal_code_pattern` as `country.checkPostalCodePattern`,
`country`.`check_advanced_postal_code_pattern` as `country.checkAdvancedPostalCodePattern`,
`country`.`advanced_postal_code_pattern` as `country.advancedPostalCodePattern`,
`country`.`default_postal_code_pattern` as `country.defaultPostalCodePattern`,
`country`.`created_at` as `country.createdAt`,
`country`.`updated_at` as `country.updatedAt`,
`country.translation.name`,
COALESCE(
`country.translation.name`, `country.translation.name`
) as `country.name`,
`country.translation.addressFormat`,
COALESCE(
`country.translation.addressFormat`,
`country.translation.addressFormat`
) as `country.addressFormat`,
`country.translation.customFields`,
COALESCE(
`country.translation.customFields`,
`country.translation.customFields`
) as `country.customFields`,
`country.translation.createdAt`,
`country.translation.updatedAt`,
`country.translation.countryId`,
`country.translation.languageId`
FROM
`country`
LEFT JOIN (
SELECT
`country.translation`.country_id,
`country.translation`.name as `country.translation.name`,
`country.translation`.address_format as `country.translation.addressFormat`,
`country.translation`.custom_fields as `country.translation.customFields`,
`country.translation`.created_at as `country.translation.createdAt`,
`country.translation`.updated_at as `country.translation.updatedAt`,
`country.translation`.country_id as `country.translation.countryId`,
`country.translation`.language_id as `country.translation.languageId`
FROM
`country_translation` `country.translation`
WHERE
`country.translation`.language_id = : languageId
) `country.country_translation` ON `country.country_translation`.`country_id` = `country`.`id`
WHERE
`country`.`id` IN (: ids)
SELECT `country`.`id` as `country.id`, `country`.`iso` as `country.iso`, `country`.`position` as `country.position`, `country`.`active` as `country.active`, `country`.`shipping_available` as `country.shippingAvailable`, `country`.`iso3` as `country.iso3`, `country`.`display_state_in_registration` as `country.displayStateInRegistration`, `country`.`force_state_in_registration` as `country.forceStateInRegistration`, `country`.`company_tax_free` as `country.companyTaxFree`, `country`.`check_vat_id_pattern` as `country.checkVatIdPattern`, `country`.`vat_id_required` as `country.vatIdRequired`, `country`.`tax_free` as `country.taxFree`, `country`.`vat_id_pattern` as `country.vatIdPattern`, `country`.`customer_tax` as `country.customerTax`, `country`.`company_tax` as `country.companyTax`, `country`.`postal_code_required` as `country.postalCodeRequired`, `country`.`check_postal_code_pattern` as `country.checkPostalCodePattern`, `country`.`check_advanced_postal_code_pattern` as `country.checkAdvancedPostalCodePattern`, `country`.`advanced_postal_code_pattern` as `country.advancedPostalCodePattern`, `country`.`default_postal_code_pattern` as `country.defaultPostalCodePattern`, `country`.`created_at` as `country.createdAt`, `country`.`updated_at` as `country.updatedAt`, `country.translation.name`, COALESCE(`country.translation.name`,`country.translation.name`) as `country.name`, `country.translation.addressFormat`, COALESCE(`country.translation.addressFormat`,`country.translation.addressFormat`) as `country.addressFormat`, `country.translation.customFields`, COALESCE(`country.translation.customFields`,`country.translation.customFields`) as `country.customFields`, `country.translation.createdAt`, `country.translation.updatedAt`, `country.translation.countryId`, `country.translation.languageId` FROM `country` LEFT JOIN (SELECT `country.translation`.country_id, `country.translation`.name as `country.translation.name`, `country.translation`.address_format as `country.translation.addressFormat`, `country.translation`.custom_fields as `country.translation.customFields`, `country.translation`.created_at as `country.translation.createdAt`, `country.translation`.updated_at as `country.translation.updatedAt`, `country.translation`.country_id as `country.translation.countryId`, `country.translation`.language_id as `country.translation.languageId` FROM `country_translation` `country.translation` WHERE `country.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `country.country_translation` ON `country.country_translation`.`country_id` = `country`.`id` WHERE `country`.`id` IN (0xCD2C6B2001014249BEBF013D5B59245C);
array:48 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 242)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 316)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetch (line 148)"
4 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 93)"
5 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::read (line 257)"
6 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::read (line 286)"
7 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::_search (line 110)"
8 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::Shopware\Core\Framework\DataAbstractionLayer\{closure} (line 59)"
9 => "Shopware\Core\Profiling\Profiler::trace (line 111)"
10 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::search (line 51)"
11 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepositoryForwardCompatibilityDecorator::search (line 320)"
12 => "Shopware\Core\System\SalesChannel\Context\BaseContextFactory::loadShippingLocation (line 124)"
13 => "Shopware\Core\System\SalesChannel\Context\BaseContextFactory::create (line 74)"
14 => "Shopware\Core\System\SalesChannel\Context\CachedBaseContextFactory::Shopware\Core\System\SalesChannel\Context\{closure} (line 350)"
15 => "Shopware\Core\System\SystemConfig\SystemConfigService::trace (line 44)"
16 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 120)"
17 => "Shopware\Core\Framework\Adapter\Translation\Translator::trace (line 45)"
18 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 46)"
19 => "Shopware\Core\Framework\Adapter\Cache\CacheTagCollection::trace (line 46)"
20 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::trace (line 41)"
21 => "Shopware\Storefront\Framework\Cache\CacheTracer::Shopware\Storefront\Framework\Cache\{closure} (line 59)"
22 => "Shopware\Storefront\Theme\ThemeConfigValueAccessor::trace (line 42)"
23 => "Shopware\Storefront\Framework\Cache\CacheTracer::trace (line 75)"
24 => "Shopware\Core\System\SalesChannel\Context\CachedBaseContextFactory::Shopware\Core\System\SalesChannel\Context\{closure} (line 72)"
25 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
26 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 85)"
27 => "Shopware\Core\System\SalesChannel\Context\CachedBaseContextFactory::create (line 92)"
28 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextFactory::create (line 51)"
29 => "Shopware\Core\System\SalesChannel\Context\CachedSalesChannelContextFactory::create (line 103)"
30 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::Shopware\Core\System\SalesChannel\Context\{closure} (line 59)"
31 => "Shopware\Core\Profiling\Profiler::trace (line 111)"
32 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::get (line 105)"
33 => "Shopware\Core\Framework\Routing\SalesChannelRequestContextResolver::resolve (line 38)"
34 => "Shopware\Core\Framework\Routing\ContextResolverListener::resolveContext (line 118)"
35 => "Symfony\Component\EventDispatcher\Debug\WrappedListener::__invoke (line 230)"
36 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
37 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
38 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
39 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
40 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
41 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
42 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 151)"
43 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
44 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
45 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
46 => "Shopware\Core\HttpKernel::doHandle (line 81)"
47 => "Shopware\Core\HttpKernel::handle (line 85)"
]
|
17 |
0.54 ms |
SELECT `customer_group`.`id` as `customer_group.id`, `customer_group`.`display_gross` as `customer_group.displayGross`, `customer_group`.`registration_active` as `customer_group.registrationActive`, `customer_group`.`created_at` as `customer_group.createdAt`, `customer_group`.`updated_at` as `customer_group.updatedAt`, `customer_group.translation.name`, COALESCE(`customer_group.translation.name`,`customer_group.translation.name`) as `customer_group.name`, `customer_group.translation.registrationTitle`, COALESCE(`customer_group.translation.registrationTitle`,`customer_group.translation.registrationTitle`) as `customer_group.registrationTitle`, `customer_group.translation.registrationIntroduction`, COALESCE(`customer_group.translation.registrationIntroduction`,`customer_group.translation.registrationIntroduction`) as `customer_group.registrationIntroduction`, `customer_group.translation.registrationOnlyCompanyRegistration`, COALESCE(`customer_group.translation.registrationOnlyCompanyRegistration`,`customer_group.translation.registrationOnlyCompanyRegistration`) as `customer_group.registrationOnlyCompanyRegistration`, `customer_group.translation.registrationSeoMetaDescription`, COALESCE(`customer_group.translation.registrationSeoMetaDescription`,`customer_group.translation.registrationSeoMetaDescription`) as `customer_group.registrationSeoMetaDescription`, `customer_group.translation.customFields`, COALESCE(`customer_group.translation.customFields`,`customer_group.translation.customFields`) as `customer_group.customFields`, `customer_group.translation.createdAt`, `customer_group.translation.updatedAt`, `customer_group.translation.customerGroupId`, `customer_group.translation.languageId` FROM `customer_group` LEFT JOIN (SELECT `customer_group.translation`.customer_group_id, `customer_group.translation`.name as `customer_group.translation.name`, `customer_group.translation`.registration_title as `customer_group.translation.registrationTitle`, `customer_group.translation`.registration_introduction as `customer_group.translation.registrationIntroduction`, `customer_group.translation`.registration_only_company_registration as `customer_group.translation.registrationOnlyCompanyRegistration`, `customer_group.translation`.registration_seo_meta_description as `customer_group.translation.registrationSeoMetaDescription`, `customer_group.translation`.custom_fields as `customer_group.translation.customFields`, `customer_group.translation`.created_at as `customer_group.translation.createdAt`, `customer_group.translation`.updated_at as `customer_group.translation.updatedAt`, `customer_group.translation`.customer_group_id as `customer_group.translation.customerGroupId`, `customer_group.translation`.language_id as `customer_group.translation.languageId` FROM `customer_group_translation` `customer_group.translation` WHERE `customer_group.translation`.language_id = :languageId) `customer_group.customer_group_translation` ON `customer_group.customer_group_translation`.`customer_group_id` = `customer_group`.`id` WHERE `customer_group`.`id` IN (:ids)
SELECT `customer_group`.`id` as `customer_group.id`, `customer_group`.`display_gross` as `customer_group.displayGross`, `customer_group`.`registration_active` as `customer_group.registrationActive`, `customer_group`.`created_at` as `customer_group.createdAt`, `customer_group`.`updated_at` as `customer_group.updatedAt`, `customer_group.translation.name`, COALESCE(`customer_group.translation.name`,`customer_group.translation.name`) as `customer_group.name`, `customer_group.translation.registrationTitle`, COALESCE(`customer_group.translation.registrationTitle`,`customer_group.translation.registrationTitle`) as `customer_group.registrationTitle`, `customer_group.translation.registrationIntroduction`, COALESCE(`customer_group.translation.registrationIntroduction`,`customer_group.translation.registrationIntroduction`) as `customer_group.registrationIntroduction`, `customer_group.translation.registrationOnlyCompanyRegistration`, COALESCE(`customer_group.translation.registrationOnlyCompanyRegistration`,`customer_group.translation.registrationOnlyCompanyRegistration`) as `customer_group.registrationOnlyCompanyRegistration`, `customer_group.translation.registrationSeoMetaDescription`, COALESCE(`customer_group.translation.registrationSeoMetaDescription`,`customer_group.translation.registrationSeoMetaDescription`) as `customer_group.registrationSeoMetaDescription`, `customer_group.translation.customFields`, COALESCE(`customer_group.translation.customFields`,`customer_group.translation.customFields`) as `customer_group.customFields`, `customer_group.translation.createdAt`, `customer_group.translation.updatedAt`, `customer_group.translation.customerGroupId`, `customer_group.translation.languageId` FROM `customer_group` LEFT JOIN (SELECT `customer_group.translation`.customer_group_id, `customer_group.translation`.name as `customer_group.translation.name`, `customer_group.translation`.registration_title as `customer_group.translation.registrationTitle`, `customer_group.translation`.registration_introduction as `customer_group.translation.registrationIntroduction`, `customer_group.translation`.registration_only_company_registration as `customer_group.translation.registrationOnlyCompanyRegistration`, `customer_group.translation`.registration_seo_meta_description as `customer_group.translation.registrationSeoMetaDescription`, `customer_group.translation`.custom_fields as `customer_group.translation.customFields`, `customer_group.translation`.created_at as `customer_group.translation.createdAt`, `customer_group.translation`.updated_at as `customer_group.translation.updatedAt`, `customer_group.translation`.customer_group_id as `customer_group.translation.customerGroupId`, `customer_group.translation`.language_id as `customer_group.translation.languageId` FROM `customer_group_translation` `customer_group.translation` WHERE `customer_group.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `customer_group.customer_group_translation` ON `customer_group.customer_group_translation`.`customer_group_id` = `customer_group`.`id` WHERE `customer_group`.`id` IN (0xCFBD5018D38D41D8ADCA10D94FC8BDD6);
array:47 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 242)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 316)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetch (line 148)"
4 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 93)"
5 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::read (line 257)"
6 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::read (line 286)"
7 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::_search (line 110)"
8 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::Shopware\Core\Framework\DataAbstractionLayer\{closure} (line 59)"
9 => "Shopware\Core\Profiling\Profiler::trace (line 111)"
10 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::search (line 51)"
11 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepositoryForwardCompatibilityDecorator::search (line 134)"
12 => "Shopware\Core\System\SalesChannel\Context\BaseContextFactory::create (line 74)"
13 => "Shopware\Core\System\SalesChannel\Context\CachedBaseContextFactory::Shopware\Core\System\SalesChannel\Context\{closure} (line 350)"
14 => "Shopware\Core\System\SystemConfig\SystemConfigService::trace (line 44)"
15 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 120)"
16 => "Shopware\Core\Framework\Adapter\Translation\Translator::trace (line 45)"
17 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 46)"
18 => "Shopware\Core\Framework\Adapter\Cache\CacheTagCollection::trace (line 46)"
19 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::trace (line 41)"
20 => "Shopware\Storefront\Framework\Cache\CacheTracer::Shopware\Storefront\Framework\Cache\{closure} (line 59)"
21 => "Shopware\Storefront\Theme\ThemeConfigValueAccessor::trace (line 42)"
22 => "Shopware\Storefront\Framework\Cache\CacheTracer::trace (line 75)"
23 => "Shopware\Core\System\SalesChannel\Context\CachedBaseContextFactory::Shopware\Core\System\SalesChannel\Context\{closure} (line 72)"
24 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
25 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 85)"
26 => "Shopware\Core\System\SalesChannel\Context\CachedBaseContextFactory::create (line 92)"
27 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextFactory::create (line 51)"
28 => "Shopware\Core\System\SalesChannel\Context\CachedSalesChannelContextFactory::create (line 103)"
29 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::Shopware\Core\System\SalesChannel\Context\{closure} (line 59)"
30 => "Shopware\Core\Profiling\Profiler::trace (line 111)"
31 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::get (line 105)"
32 => "Shopware\Core\Framework\Routing\SalesChannelRequestContextResolver::resolve (line 38)"
33 => "Shopware\Core\Framework\Routing\ContextResolverListener::resolveContext (line 118)"
34 => "Symfony\Component\EventDispatcher\Debug\WrappedListener::__invoke (line 230)"
35 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
36 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
37 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
38 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
39 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
40 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
41 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 151)"
42 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
43 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
44 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
45 => "Shopware\Core\HttpKernel::doHandle (line 81)"
46 => "Shopware\Core\HttpKernel::handle (line 85)"
]
|
18 |
0.20 ms |
SELECT `tax`.`id` as `tax.id`, `tax`.`tax_rate` as `tax.taxRate`, `tax`.`name` as `tax.name`, `tax`.`position` as `tax.position`, `tax`.`custom_fields` as `tax.customFields`, `tax`.`created_at` as `tax.createdAt`, `tax`.`updated_at` as `tax.updatedAt` FROM `tax`
SELECT `tax`.`id` as `tax.id`, `tax`.`tax_rate` as `tax.taxRate`, `tax`.`name` as `tax.name`, `tax`.`position` as `tax.position`, `tax`.`custom_fields` as `tax.customFields`, `tax`.`created_at` as `tax.createdAt`, `tax`.`updated_at` as `tax.updatedAt` FROM `tax`;
array:48 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 242)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 316)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetch (line 148)"
4 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 93)"
5 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::read (line 257)"
6 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::read (line 286)"
7 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::_search (line 110)"
8 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::Shopware\Core\Framework\DataAbstractionLayer\{closure} (line 59)"
9 => "Shopware\Core\Profiling\Profiler::trace (line 111)"
10 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::search (line 51)"
11 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepositoryForwardCompatibilityDecorator::search (line 184)"
12 => "Shopware\Core\System\SalesChannel\Context\BaseContextFactory::getTaxRules (line 141)"
13 => "Shopware\Core\System\SalesChannel\Context\BaseContextFactory::create (line 74)"
14 => "Shopware\Core\System\SalesChannel\Context\CachedBaseContextFactory::Shopware\Core\System\SalesChannel\Context\{closure} (line 350)"
15 => "Shopware\Core\System\SystemConfig\SystemConfigService::trace (line 44)"
16 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 120)"
17 => "Shopware\Core\Framework\Adapter\Translation\Translator::trace (line 45)"
18 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 46)"
19 => "Shopware\Core\Framework\Adapter\Cache\CacheTagCollection::trace (line 46)"
20 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::trace (line 41)"
21 => "Shopware\Storefront\Framework\Cache\CacheTracer::Shopware\Storefront\Framework\Cache\{closure} (line 59)"
22 => "Shopware\Storefront\Theme\ThemeConfigValueAccessor::trace (line 42)"
23 => "Shopware\Storefront\Framework\Cache\CacheTracer::trace (line 75)"
24 => "Shopware\Core\System\SalesChannel\Context\CachedBaseContextFactory::Shopware\Core\System\SalesChannel\Context\{closure} (line 72)"
25 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
26 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 85)"
27 => "Shopware\Core\System\SalesChannel\Context\CachedBaseContextFactory::create (line 92)"
28 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextFactory::create (line 51)"
29 => "Shopware\Core\System\SalesChannel\Context\CachedSalesChannelContextFactory::create (line 103)"
30 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::Shopware\Core\System\SalesChannel\Context\{closure} (line 59)"
31 => "Shopware\Core\Profiling\Profiler::trace (line 111)"
32 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::get (line 105)"
33 => "Shopware\Core\Framework\Routing\SalesChannelRequestContextResolver::resolve (line 38)"
34 => "Shopware\Core\Framework\Routing\ContextResolverListener::resolveContext (line 118)"
35 => "Symfony\Component\EventDispatcher\Debug\WrappedListener::__invoke (line 230)"
36 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
37 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
38 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
39 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
40 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
41 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
42 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 151)"
43 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
44 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
45 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
46 => "Shopware\Core\HttpKernel::doHandle (line 81)"
47 => "Shopware\Core\HttpKernel::handle (line 85)"
]
|
19 |
0.73 ms |
SELECT `tax_rule`.`id` as `tax_rule.id`, `tax_rule`.`tax_rule_type_id` as `tax_rule.taxRuleTypeId`, `tax_rule`.`country_id` as `tax_rule.countryId`, `tax_rule`.`tax_rate` as `tax_rule.taxRate`, `tax_rule`.`data` as `tax_rule.data`, `tax_rule`.`tax_id` as `tax_rule.taxId`, `tax_rule.type`.`id` as `tax_rule.type.id`, `tax_rule.type`.`technical_name` as `tax_rule.type.technicalName`, `tax_rule.type`.`position` as `tax_rule.type.position`, `tax_rule.type`.`created_at` as `tax_rule.type.createdAt`, `tax_rule.type`.`updated_at` as `tax_rule.type.updatedAt`, `tax_rule.type.translation.typeName`, COALESCE(`tax_rule.type.translation.typeName`,`tax_rule.type.translation.typeName`) as `tax_rule.type.typeName`, `tax_rule.type.translation.createdAt`, `tax_rule.type.translation.updatedAt`, `tax_rule.type.translation.taxRuleTypeId`, `tax_rule.type.translation.languageId`, `tax_rule`.`created_at` as `tax_rule.createdAt`, `tax_rule`.`updated_at` as `tax_rule.updatedAt` FROM `tax_rule` LEFT JOIN `tax_rule_type` `tax_rule.type` ON `tax_rule`.`tax_rule_type_id` = `tax_rule.type`.`id` LEFT JOIN (SELECT `tax_rule.type.translation`.tax_rule_type_id, `tax_rule.type.translation`.type_name as `tax_rule.type.translation.typeName`, `tax_rule.type.translation`.created_at as `tax_rule.type.translation.createdAt`, `tax_rule.type.translation`.updated_at as `tax_rule.type.translation.updatedAt`, `tax_rule.type.translation`.tax_rule_type_id as `tax_rule.type.translation.taxRuleTypeId`, `tax_rule.type.translation`.language_id as `tax_rule.type.translation.languageId` FROM `tax_rule_type_translation` `tax_rule.type.translation` WHERE `tax_rule.type.translation`.language_id = :languageId) `tax_rule.type.tax_rule_type_translation` ON `tax_rule.type.tax_rule_type_translation`.`tax_rule_type_id` = `tax_rule.type`.`id` WHERE (`tax_rule`.`tax_id` IN (:param_8ec01fa9d4fc41d1a74f1c525e5d7780))
SELECT `tax_rule`.`id` as `tax_rule.id`, `tax_rule`.`tax_rule_type_id` as `tax_rule.taxRuleTypeId`, `tax_rule`.`country_id` as `tax_rule.countryId`, `tax_rule`.`tax_rate` as `tax_rule.taxRate`, `tax_rule`.`data` as `tax_rule.data`, `tax_rule`.`tax_id` as `tax_rule.taxId`, `tax_rule.type`.`id` as `tax_rule.type.id`, `tax_rule.type`.`technical_name` as `tax_rule.type.technicalName`, `tax_rule.type`.`position` as `tax_rule.type.position`, `tax_rule.type`.`created_at` as `tax_rule.type.createdAt`, `tax_rule.type`.`updated_at` as `tax_rule.type.updatedAt`, `tax_rule.type.translation.typeName`, COALESCE(`tax_rule.type.translation.typeName`,`tax_rule.type.translation.typeName`) as `tax_rule.type.typeName`, `tax_rule.type.translation.createdAt`, `tax_rule.type.translation.updatedAt`, `tax_rule.type.translation.taxRuleTypeId`, `tax_rule.type.translation.languageId`, `tax_rule`.`created_at` as `tax_rule.createdAt`, `tax_rule`.`updated_at` as `tax_rule.updatedAt` FROM `tax_rule` LEFT JOIN `tax_rule_type` `tax_rule.type` ON `tax_rule`.`tax_rule_type_id` = `tax_rule.type`.`id` LEFT JOIN (SELECT `tax_rule.type.translation`.tax_rule_type_id, `tax_rule.type.translation`.type_name as `tax_rule.type.translation.typeName`, `tax_rule.type.translation`.created_at as `tax_rule.type.translation.createdAt`, `tax_rule.type.translation`.updated_at as `tax_rule.type.translation.updatedAt`, `tax_rule.type.translation`.tax_rule_type_id as `tax_rule.type.translation.taxRuleTypeId`, `tax_rule.type.translation`.language_id as `tax_rule.type.translation.languageId` FROM `tax_rule_type_translation` `tax_rule.type.translation` WHERE `tax_rule.type.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `tax_rule.type.tax_rule_type_translation` ON `tax_rule.type.tax_rule_type_translation`.`tax_rule_type_id` = `tax_rule.type`.`id` WHERE (`tax_rule`.`tax_id` IN (0x272B53A25D8B4E32AA5AD7C12FBA6103, 0x38DF5FF7F4304F9CBA265A20555E7EC6, 0x4C75BBDBC32F44A4B679F206A3E07B8B, 0x5BC22060D21E476E9CDCEA30153F49D1, 0xC5221500DC954F0CAC1D3D53988CACD6));
array:52 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 242)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 316)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetch (line 148)"
4 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 503)"
5 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::loadOneToManyWithoutPagination (line 438)"
6 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::loadOneToMany (line 1210)"
7 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetchAssociations (line 152)"
8 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 93)"
9 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::read (line 257)"
10 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::read (line 286)"
11 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::_search (line 110)"
12 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::Shopware\Core\Framework\DataAbstractionLayer\{closure} (line 59)"
13 => "Shopware\Core\Profiling\Profiler::trace (line 111)"
14 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::search (line 51)"
15 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepositoryForwardCompatibilityDecorator::search (line 184)"
16 => "Shopware\Core\System\SalesChannel\Context\BaseContextFactory::getTaxRules (line 141)"
17 => "Shopware\Core\System\SalesChannel\Context\BaseContextFactory::create (line 74)"
18 => "Shopware\Core\System\SalesChannel\Context\CachedBaseContextFactory::Shopware\Core\System\SalesChannel\Context\{closure} (line 350)"
19 => "Shopware\Core\System\SystemConfig\SystemConfigService::trace (line 44)"
20 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 120)"
21 => "Shopware\Core\Framework\Adapter\Translation\Translator::trace (line 45)"
22 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 46)"
23 => "Shopware\Core\Framework\Adapter\Cache\CacheTagCollection::trace (line 46)"
24 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::trace (line 41)"
25 => "Shopware\Storefront\Framework\Cache\CacheTracer::Shopware\Storefront\Framework\Cache\{closure} (line 59)"
26 => "Shopware\Storefront\Theme\ThemeConfigValueAccessor::trace (line 42)"
27 => "Shopware\Storefront\Framework\Cache\CacheTracer::trace (line 75)"
28 => "Shopware\Core\System\SalesChannel\Context\CachedBaseContextFactory::Shopware\Core\System\SalesChannel\Context\{closure} (line 72)"
29 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
30 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 85)"
31 => "Shopware\Core\System\SalesChannel\Context\CachedBaseContextFactory::create (line 92)"
32 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextFactory::create (line 51)"
33 => "Shopware\Core\System\SalesChannel\Context\CachedSalesChannelContextFactory::create (line 103)"
34 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::Shopware\Core\System\SalesChannel\Context\{closure} (line 59)"
35 => "Shopware\Core\Profiling\Profiler::trace (line 111)"
36 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::get (line 105)"
37 => "Shopware\Core\Framework\Routing\SalesChannelRequestContextResolver::resolve (line 38)"
38 => "Shopware\Core\Framework\Routing\ContextResolverListener::resolveContext (line 118)"
39 => "Symfony\Component\EventDispatcher\Debug\WrappedListener::__invoke (line 230)"
40 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
41 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
42 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
43 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
44 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
45 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
46 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 151)"
47 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
48 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
49 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
50 => "Shopware\Core\HttpKernel::doHandle (line 81)"
51 => "Shopware\Core\HttpKernel::handle (line 85)"
]
|
20 |
1.44 ms |
SELECT `payment_method`.`id` as `payment_method.id`, `payment_method`.`plugin_id` as `payment_method.pluginId`, `payment_method`.`handler_identifier` as `payment_method.handlerIdentifier`, `payment_method`.`position` as `payment_method.position`, `payment_method`.`active` as `payment_method.active`, `payment_method`.`after_order_enabled` as `payment_method.afterOrderEnabled`, `payment_method`.`availability_rule_id` as `payment_method.availabilityRuleId`, `payment_method`.`media_id` as `payment_method.mediaId`, `payment_method.appPaymentMethod`.`id` as `payment_method.appPaymentMethod.id`, `payment_method.appPaymentMethod`.`app_name` as `payment_method.appPaymentMethod.appName`, `payment_method.appPaymentMethod`.`identifier` as `payment_method.appPaymentMethod.identifier`, `payment_method.appPaymentMethod`.`pay_url` as `payment_method.appPaymentMethod.payUrl`, `payment_method.appPaymentMethod`.`finalize_url` as `payment_method.appPaymentMethod.finalizeUrl`, `payment_method.appPaymentMethod`.`validate_url` as `payment_method.appPaymentMethod.validateUrl`, `payment_method.appPaymentMethod`.`capture_url` as `payment_method.appPaymentMethod.captureUrl`, `payment_method.appPaymentMethod`.`refund_url` as `payment_method.appPaymentMethod.refundUrl`, `payment_method.appPaymentMethod`.`app_id` as `payment_method.appPaymentMethod.appId`, `payment_method.appPaymentMethod`.`original_media_id` as `payment_method.appPaymentMethod.originalMediaId`, `payment_method.appPaymentMethod`.`payment_method_id` as `payment_method.appPaymentMethod.paymentMethodId`, `payment_method.appPaymentMethod`.`created_at` as `payment_method.appPaymentMethod.createdAt`, `payment_method.appPaymentMethod`.`updated_at` as `payment_method.appPaymentMethod.updatedAt`, `payment_method`.`created_at` as `payment_method.createdAt`, `payment_method`.`updated_at` as `payment_method.updatedAt`, `payment_method.media`.`id` as `payment_method.media.id`, `payment_method.media`.`user_id` as `payment_method.media.userId`, `payment_method.media`.`media_folder_id` as `payment_method.media.mediaFolderId`, `payment_method.media`.`mime_type` as `payment_method.media.mimeType`, `payment_method.media`.`file_extension` as `payment_method.media.fileExtension`, `payment_method.media`.`uploaded_at` as `payment_method.media.uploadedAt`, `payment_method.media`.`file_name` as `payment_method.media.fileName`, `payment_method.media`.`file_size` as `payment_method.media.fileSize`, `payment_method.media`.`media_type` as `payment_method.media.mediaTypeRaw`, `payment_method.media`.`meta_data` as `payment_method.media.metaData`, `payment_method.media`.`private` as `payment_method.media.private`, `payment_method.media`.`thumbnails_ro` as `payment_method.media.thumbnailsRo`, `payment_method.media`.`created_at` as `payment_method.media.createdAt`, `payment_method.media`.`updated_at` as `payment_method.media.updatedAt`, `payment_method.media.translation.title`, COALESCE(`payment_method.media.translation.title`,`payment_method.media.translation.title`) as `payment_method.media.title`, `payment_method.media.translation.alt`, COALESCE(`payment_method.media.translation.alt`,`payment_method.media.translation.alt`) as `payment_method.media.alt`, `payment_method.media.translation.customFields`, COALESCE(`payment_method.media.translation.customFields`,`payment_method.media.translation.customFields`) as `payment_method.media.customFields`, `payment_method.media.translation.createdAt`, `payment_method.media.translation.updatedAt`, `payment_method.media.translation.mediaId`, `payment_method.media.translation.languageId`, `payment_method.translation.name`, COALESCE(`payment_method.translation.name`,`payment_method.translation.name`) as `payment_method.name`, `payment_method.translation.distinguishableName`, COALESCE(`payment_method.translation.distinguishableName`,`payment_method.translation.distinguishableName`) as `payment_method.distinguishableName`, `payment_method.translation.description`, COALESCE(`payment_method.translation.description`,`payment_method.translation.description`) as `payment_method.description`, `payment_method.translation.customFields`, COALESCE(`payment_method.translation.customFields`,`payment_method.translation.customFields`) as `payment_method.customFields`, `payment_method.translation.createdAt`, `payment_method.translation.updatedAt`, `payment_method.translation.paymentMethodId`, `payment_method.translation.languageId` FROM `payment_method` LEFT JOIN (SELECT `payment_method.translation`.payment_method_id, `payment_method.translation`.name as `payment_method.translation.name`, `payment_method.translation`.distinguishable_name as `payment_method.translation.distinguishableName`, `payment_method.translation`.description as `payment_method.translation.description`, `payment_method.translation`.custom_fields as `payment_method.translation.customFields`, `payment_method.translation`.created_at as `payment_method.translation.createdAt`, `payment_method.translation`.updated_at as `payment_method.translation.updatedAt`, `payment_method.translation`.payment_method_id as `payment_method.translation.paymentMethodId`, `payment_method.translation`.language_id as `payment_method.translation.languageId` FROM `payment_method_translation` `payment_method.translation` WHERE `payment_method.translation`.language_id = :languageId) `payment_method.payment_method_translation` ON `payment_method.payment_method_translation`.`payment_method_id` = `payment_method`.`id` LEFT JOIN `app_payment_method` `payment_method.appPaymentMethod` ON `payment_method`.`id` = `payment_method.appPaymentMethod`.`payment_method_id` LEFT JOIN `media` `payment_method.media` ON `payment_method`.`media_id` = `payment_method.media`.`id` LEFT JOIN (SELECT `payment_method.media.translation`.media_id, `payment_method.media.translation`.title as `payment_method.media.translation.title`, `payment_method.media.translation`.alt as `payment_method.media.translation.alt`, `payment_method.media.translation`.custom_fields as `payment_method.media.translation.customFields`, `payment_method.media.translation`.created_at as `payment_method.media.translation.createdAt`, `payment_method.media.translation`.updated_at as `payment_method.media.translation.updatedAt`, `payment_method.media.translation`.media_id as `payment_method.media.translation.mediaId`, `payment_method.media.translation`.language_id as `payment_method.media.translation.languageId` FROM `media_translation` `payment_method.media.translation` WHERE `payment_method.media.translation`.language_id = :languageId) `payment_method.media.media_translation` ON `payment_method.media.media_translation`.`media_id` = `payment_method.media`.`id` WHERE `payment_method`.`id` IN (:ids)
SELECT
`payment_method`.`id` as `payment_method.id`,
`payment_method`.`plugin_id` as `payment_method.pluginId`,
`payment_method`.`handler_identifier` as `payment_method.handlerIdentifier`,
`payment_method`.`position` as `payment_method.position`,
`payment_method`.`active` as `payment_method.active`,
`payment_method`.`after_order_enabled` as `payment_method.afterOrderEnabled`,
`payment_method`.`availability_rule_id` as `payment_method.availabilityRuleId`,
`payment_method`.`media_id` as `payment_method.mediaId`,
`payment_method.appPaymentMethod`.`id` as `payment_method.appPaymentMethod.id`,
`payment_method.appPaymentMethod`.`app_name` as `payment_method.appPaymentMethod.appName`,
`payment_method.appPaymentMethod`.`identifier` as `payment_method.appPaymentMethod.identifier`,
`payment_method.appPaymentMethod`.`pay_url` as `payment_method.appPaymentMethod.payUrl`,
`payment_method.appPaymentMethod`.`finalize_url` as `payment_method.appPaymentMethod.finalizeUrl`,
`payment_method.appPaymentMethod`.`validate_url` as `payment_method.appPaymentMethod.validateUrl`,
`payment_method.appPaymentMethod`.`capture_url` as `payment_method.appPaymentMethod.captureUrl`,
`payment_method.appPaymentMethod`.`refund_url` as `payment_method.appPaymentMethod.refundUrl`,
`payment_method.appPaymentMethod`.`app_id` as `payment_method.appPaymentMethod.appId`,
`payment_method.appPaymentMethod`.`original_media_id` as `payment_method.appPaymentMethod.originalMediaId`,
`payment_method.appPaymentMethod`.`payment_method_id` as `payment_method.appPaymentMethod.paymentMethodId`,
`payment_method.appPaymentMethod`.`created_at` as `payment_method.appPaymentMethod.createdAt`,
`payment_method.appPaymentMethod`.`updated_at` as `payment_method.appPaymentMethod.updatedAt`,
`payment_method`.`created_at` as `payment_method.createdAt`,
`payment_method`.`updated_at` as `payment_method.updatedAt`,
`payment_method.media`.`id` as `payment_method.media.id`,
`payment_method.media`.`user_id` as `payment_method.media.userId`,
`payment_method.media`.`media_folder_id` as `payment_method.media.mediaFolderId`,
`payment_method.media`.`mime_type` as `payment_method.media.mimeType`,
`payment_method.media`.`file_extension` as `payment_method.media.fileExtension`,
`payment_method.media`.`uploaded_at` as `payment_method.media.uploadedAt`,
`payment_method.media`.`file_name` as `payment_method.media.fileName`,
`payment_method.media`.`file_size` as `payment_method.media.fileSize`,
`payment_method.media`.`media_type` as `payment_method.media.mediaTypeRaw`,
`payment_method.media`.`meta_data` as `payment_method.media.metaData`,
`payment_method.media`.`private` as `payment_method.media.private`,
`payment_method.media`.`thumbnails_ro` as `payment_method.media.thumbnailsRo`,
`payment_method.media`.`created_at` as `payment_method.media.createdAt`,
`payment_method.media`.`updated_at` as `payment_method.media.updatedAt`,
`payment_method.media.translation.title`,
COALESCE(
`payment_method.media.translation.title`,
`payment_method.media.translation.title`
) as `payment_method.media.title`,
`payment_method.media.translation.alt`,
COALESCE(
`payment_method.media.translation.alt`,
`payment_method.media.translation.alt`
) as `payment_method.media.alt`,
`payment_method.media.translation.customFields`,
COALESCE(
`payment_method.media.translation.customFields`,
`payment_method.media.translation.customFields`
) as `payment_method.media.customFields`,
`payment_method.media.translation.createdAt`,
`payment_method.media.translation.updatedAt`,
`payment_method.media.translation.mediaId`,
`payment_method.media.translation.languageId`,
`payment_method.translation.name`,
COALESCE(
`payment_method.translation.name`,
`payment_method.translation.name`
) as `payment_method.name`,
`payment_method.translation.distinguishableName`,
COALESCE(
`payment_method.translation.distinguishableName`,
`payment_method.translation.distinguishableName`
) as `payment_method.distinguishableName`,
`payment_method.translation.description`,
COALESCE(
`payment_method.translation.description`,
`payment_method.translation.description`
) as `payment_method.description`,
`payment_method.translation.customFields`,
COALESCE(
`payment_method.translation.customFields`,
`payment_method.translation.customFields`
) as `payment_method.customFields`,
`payment_method.translation.createdAt`,
`payment_method.translation.updatedAt`,
`payment_method.translation.paymentMethodId`,
`payment_method.translation.languageId`
FROM
`payment_method`
LEFT JOIN (
SELECT
`payment_method.translation`.payment_method_id,
`payment_method.translation`.name as `payment_method.translation.name`,
`payment_method.translation`.distinguishable_name as `payment_method.translation.distinguishableName`,
`payment_method.translation`.description as `payment_method.translation.description`,
`payment_method.translation`.custom_fields as `payment_method.translation.customFields`,
`payment_method.translation`.created_at as `payment_method.translation.createdAt`,
`payment_method.translation`.updated_at as `payment_method.translation.updatedAt`,
`payment_method.translation`.payment_method_id as `payment_method.translation.paymentMethodId`,
`payment_method.translation`.language_id as `payment_method.translation.languageId`
FROM
`payment_method_translation` `payment_method.translation`
WHERE
`payment_method.translation`.language_id = : languageId
) `payment_method.payment_method_translation` ON `payment_method.payment_method_translation`.`payment_method_id` = `payment_method`.`id`
LEFT JOIN `app_payment_method` `payment_method.appPaymentMethod` ON `payment_method`.`id` = `payment_method.appPaymentMethod`.`payment_method_id`
LEFT JOIN `media` `payment_method.media` ON `payment_method`.`media_id` = `payment_method.media`.`id`
LEFT JOIN (
SELECT
`payment_method.media.translation`.media_id,
`payment_method.media.translation`.title as `payment_method.media.translation.title`,
`payment_method.media.translation`.alt as `payment_method.media.translation.alt`,
`payment_method.media.translation`.custom_fields as `payment_method.media.translation.customFields`,
`payment_method.media.translation`.created_at as `payment_method.media.translation.createdAt`,
`payment_method.media.translation`.updated_at as `payment_method.media.translation.updatedAt`,
`payment_method.media.translation`.media_id as `payment_method.media.translation.mediaId`,
`payment_method.media.translation`.language_id as `payment_method.media.translation.languageId`
FROM
`media_translation` `payment_method.media.translation`
WHERE
`payment_method.media.translation`.language_id = : languageId
) `payment_method.media.media_translation` ON `payment_method.media.media_translation`.`media_id` = `payment_method.media`.`id`
WHERE
`payment_method`.`id` IN (: ids)
SELECT `payment_method`.`id` as `payment_method.id`, `payment_method`.`plugin_id` as `payment_method.pluginId`, `payment_method`.`handler_identifier` as `payment_method.handlerIdentifier`, `payment_method`.`position` as `payment_method.position`, `payment_method`.`active` as `payment_method.active`, `payment_method`.`after_order_enabled` as `payment_method.afterOrderEnabled`, `payment_method`.`availability_rule_id` as `payment_method.availabilityRuleId`, `payment_method`.`media_id` as `payment_method.mediaId`, `payment_method.appPaymentMethod`.`id` as `payment_method.appPaymentMethod.id`, `payment_method.appPaymentMethod`.`app_name` as `payment_method.appPaymentMethod.appName`, `payment_method.appPaymentMethod`.`identifier` as `payment_method.appPaymentMethod.identifier`, `payment_method.appPaymentMethod`.`pay_url` as `payment_method.appPaymentMethod.payUrl`, `payment_method.appPaymentMethod`.`finalize_url` as `payment_method.appPaymentMethod.finalizeUrl`, `payment_method.appPaymentMethod`.`validate_url` as `payment_method.appPaymentMethod.validateUrl`, `payment_method.appPaymentMethod`.`capture_url` as `payment_method.appPaymentMethod.captureUrl`, `payment_method.appPaymentMethod`.`refund_url` as `payment_method.appPaymentMethod.refundUrl`, `payment_method.appPaymentMethod`.`app_id` as `payment_method.appPaymentMethod.appId`, `payment_method.appPaymentMethod`.`original_media_id` as `payment_method.appPaymentMethod.originalMediaId`, `payment_method.appPaymentMethod`.`payment_method_id` as `payment_method.appPaymentMethod.paymentMethodId`, `payment_method.appPaymentMethod`.`created_at` as `payment_method.appPaymentMethod.createdAt`, `payment_method.appPaymentMethod`.`updated_at` as `payment_method.appPaymentMethod.updatedAt`, `payment_method`.`created_at` as `payment_method.createdAt`, `payment_method`.`updated_at` as `payment_method.updatedAt`, `payment_method.media`.`id` as `payment_method.media.id`, `payment_method.media`.`user_id` as `payment_method.media.userId`, `payment_method.media`.`media_folder_id` as `payment_method.media.mediaFolderId`, `payment_method.media`.`mime_type` as `payment_method.media.mimeType`, `payment_method.media`.`file_extension` as `payment_method.media.fileExtension`, `payment_method.media`.`uploaded_at` as `payment_method.media.uploadedAt`, `payment_method.media`.`file_name` as `payment_method.media.fileName`, `payment_method.media`.`file_size` as `payment_method.media.fileSize`, `payment_method.media`.`media_type` as `payment_method.media.mediaTypeRaw`, `payment_method.media`.`meta_data` as `payment_method.media.metaData`, `payment_method.media`.`private` as `payment_method.media.private`, `payment_method.media`.`thumbnails_ro` as `payment_method.media.thumbnailsRo`, `payment_method.media`.`created_at` as `payment_method.media.createdAt`, `payment_method.media`.`updated_at` as `payment_method.media.updatedAt`, `payment_method.media.translation.title`, COALESCE(`payment_method.media.translation.title`,`payment_method.media.translation.title`) as `payment_method.media.title`, `payment_method.media.translation.alt`, COALESCE(`payment_method.media.translation.alt`,`payment_method.media.translation.alt`) as `payment_method.media.alt`, `payment_method.media.translation.customFields`, COALESCE(`payment_method.media.translation.customFields`,`payment_method.media.translation.customFields`) as `payment_method.media.customFields`, `payment_method.media.translation.createdAt`, `payment_method.media.translation.updatedAt`, `payment_method.media.translation.mediaId`, `payment_method.media.translation.languageId`, `payment_method.translation.name`, COALESCE(`payment_method.translation.name`,`payment_method.translation.name`) as `payment_method.name`, `payment_method.translation.distinguishableName`, COALESCE(`payment_method.translation.distinguishableName`,`payment_method.translation.distinguishableName`) as `payment_method.distinguishableName`, `payment_method.translation.description`, COALESCE(`payment_method.translation.description`,`payment_method.translation.description`) as `payment_method.description`, `payment_method.translation.customFields`, COALESCE(`payment_method.translation.customFields`,`payment_method.translation.customFields`) as `payment_method.customFields`, `payment_method.translation.createdAt`, `payment_method.translation.updatedAt`, `payment_method.translation.paymentMethodId`, `payment_method.translation.languageId` FROM `payment_method` LEFT JOIN (SELECT `payment_method.translation`.payment_method_id, `payment_method.translation`.name as `payment_method.translation.name`, `payment_method.translation`.distinguishable_name as `payment_method.translation.distinguishableName`, `payment_method.translation`.description as `payment_method.translation.description`, `payment_method.translation`.custom_fields as `payment_method.translation.customFields`, `payment_method.translation`.created_at as `payment_method.translation.createdAt`, `payment_method.translation`.updated_at as `payment_method.translation.updatedAt`, `payment_method.translation`.payment_method_id as `payment_method.translation.paymentMethodId`, `payment_method.translation`.language_id as `payment_method.translation.languageId` FROM `payment_method_translation` `payment_method.translation` WHERE `payment_method.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `payment_method.payment_method_translation` ON `payment_method.payment_method_translation`.`payment_method_id` = `payment_method`.`id` LEFT JOIN `app_payment_method` `payment_method.appPaymentMethod` ON `payment_method`.`id` = `payment_method.appPaymentMethod`.`payment_method_id` LEFT JOIN `media` `payment_method.media` ON `payment_method`.`media_id` = `payment_method.media`.`id` LEFT JOIN (SELECT `payment_method.media.translation`.media_id, `payment_method.media.translation`.title as `payment_method.media.translation.title`, `payment_method.media.translation`.alt as `payment_method.media.translation.alt`, `payment_method.media.translation`.custom_fields as `payment_method.media.translation.customFields`, `payment_method.media.translation`.created_at as `payment_method.media.translation.createdAt`, `payment_method.media.translation`.updated_at as `payment_method.media.translation.updatedAt`, `payment_method.media.translation`.media_id as `payment_method.media.translation.mediaId`, `payment_method.media.translation`.language_id as `payment_method.media.translation.languageId` FROM `media_translation` `payment_method.media.translation` WHERE `payment_method.media.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `payment_method.media.media_translation` ON `payment_method.media.media_translation`.`media_id` = `payment_method.media`.`id` WHERE `payment_method`.`id` IN (0xA74F7B9D43F141738D9265613F055272);
array:49 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 242)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 316)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetch (line 148)"
4 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 93)"
5 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::read (line 257)"
6 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::read (line 286)"
7 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::_search (line 110)"
8 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::Shopware\Core\Framework\DataAbstractionLayer\{closure} (line 59)"
9 => "Shopware\Core\Profiling\Profiler::trace (line 111)"
10 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::search (line 68)"
11 => "Shopware\Core\Checkout\Payment\DataAbstractionLayer\PaymentMethodRepositoryDecorator::search (line 51)"
12 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepositoryForwardCompatibilityDecorator::search (line 197)"
13 => "Shopware\Core\System\SalesChannel\Context\BaseContextFactory::getPaymentMethod (line 144)"
14 => "Shopware\Core\System\SalesChannel\Context\BaseContextFactory::create (line 74)"
15 => "Shopware\Core\System\SalesChannel\Context\CachedBaseContextFactory::Shopware\Core\System\SalesChannel\Context\{closure} (line 350)"
16 => "Shopware\Core\System\SystemConfig\SystemConfigService::trace (line 44)"
17 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 120)"
18 => "Shopware\Core\Framework\Adapter\Translation\Translator::trace (line 45)"
19 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 46)"
20 => "Shopware\Core\Framework\Adapter\Cache\CacheTagCollection::trace (line 46)"
21 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::trace (line 41)"
22 => "Shopware\Storefront\Framework\Cache\CacheTracer::Shopware\Storefront\Framework\Cache\{closure} (line 59)"
23 => "Shopware\Storefront\Theme\ThemeConfigValueAccessor::trace (line 42)"
24 => "Shopware\Storefront\Framework\Cache\CacheTracer::trace (line 75)"
25 => "Shopware\Core\System\SalesChannel\Context\CachedBaseContextFactory::Shopware\Core\System\SalesChannel\Context\{closure} (line 72)"
26 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
27 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 85)"
28 => "Shopware\Core\System\SalesChannel\Context\CachedBaseContextFactory::create (line 92)"
29 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextFactory::create (line 51)"
30 => "Shopware\Core\System\SalesChannel\Context\CachedSalesChannelContextFactory::create (line 103)"
31 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::Shopware\Core\System\SalesChannel\Context\{closure} (line 59)"
32 => "Shopware\Core\Profiling\Profiler::trace (line 111)"
33 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::get (line 105)"
34 => "Shopware\Core\Framework\Routing\SalesChannelRequestContextResolver::resolve (line 38)"
35 => "Shopware\Core\Framework\Routing\ContextResolverListener::resolveContext (line 118)"
36 => "Symfony\Component\EventDispatcher\Debug\WrappedListener::__invoke (line 230)"
37 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
38 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
39 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
40 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
41 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
42 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
43 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 151)"
44 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
45 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
46 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
47 => "Shopware\Core\HttpKernel::doHandle (line 81)"
48 => "Shopware\Core\HttpKernel::handle (line 85)"
]
|
21 |
1.89 ms |
SELECT `shipping_method`.`id` as `shipping_method.id`, `shipping_method`.`active` as `shipping_method.active`, `shipping_method`.`position` as `shipping_method.position`, `shipping_method`.`availability_rule_id` as `shipping_method.availabilityRuleId`, `shipping_method`.`media_id` as `shipping_method.mediaId`, `shipping_method`.`delivery_time_id` as `shipping_method.deliveryTimeId`, `shipping_method`.`tax_type` as `shipping_method.taxType`, `shipping_method`.`tax_id` as `shipping_method.taxId`, `shipping_method.deliveryTime`.`id` as `shipping_method.deliveryTime.id`, `shipping_method.deliveryTime`.`min` as `shipping_method.deliveryTime.min`, `shipping_method.deliveryTime`.`max` as `shipping_method.deliveryTime.max`, `shipping_method.deliveryTime`.`unit` as `shipping_method.deliveryTime.unit`, `shipping_method.deliveryTime`.`created_at` as `shipping_method.deliveryTime.createdAt`, `shipping_method.deliveryTime`.`updated_at` as `shipping_method.deliveryTime.updatedAt`, `shipping_method.deliveryTime.translation.name`, COALESCE(`shipping_method.deliveryTime.translation.name`,`shipping_method.deliveryTime.translation.name`) as `shipping_method.deliveryTime.name`, `shipping_method.deliveryTime.translation.customFields`, COALESCE(`shipping_method.deliveryTime.translation.customFields`,`shipping_method.deliveryTime.translation.customFields`) as `shipping_method.deliveryTime.customFields`, `shipping_method.deliveryTime.translation.createdAt`, `shipping_method.deliveryTime.translation.updatedAt`, `shipping_method.deliveryTime.translation.deliveryTimeId`, `shipping_method.deliveryTime.translation.languageId`, `shipping_method`.`created_at` as `shipping_method.createdAt`, `shipping_method`.`updated_at` as `shipping_method.updatedAt`, `shipping_method.media`.`id` as `shipping_method.media.id`, `shipping_method.media`.`user_id` as `shipping_method.media.userId`, `shipping_method.media`.`media_folder_id` as `shipping_method.media.mediaFolderId`, `shipping_method.media`.`mime_type` as `shipping_method.media.mimeType`, `shipping_method.media`.`file_extension` as `shipping_method.media.fileExtension`, `shipping_method.media`.`uploaded_at` as `shipping_method.media.uploadedAt`, `shipping_method.media`.`file_name` as `shipping_method.media.fileName`, `shipping_method.media`.`file_size` as `shipping_method.media.fileSize`, `shipping_method.media`.`media_type` as `shipping_method.media.mediaTypeRaw`, `shipping_method.media`.`meta_data` as `shipping_method.media.metaData`, `shipping_method.media`.`private` as `shipping_method.media.private`, `shipping_method.media`.`thumbnails_ro` as `shipping_method.media.thumbnailsRo`, `shipping_method.media`.`created_at` as `shipping_method.media.createdAt`, `shipping_method.media`.`updated_at` as `shipping_method.media.updatedAt`, `shipping_method.media.translation.title`, COALESCE(`shipping_method.media.translation.title`,`shipping_method.media.translation.title`) as `shipping_method.media.title`, `shipping_method.media.translation.alt`, COALESCE(`shipping_method.media.translation.alt`,`shipping_method.media.translation.alt`) as `shipping_method.media.alt`, `shipping_method.media.translation.customFields`, COALESCE(`shipping_method.media.translation.customFields`,`shipping_method.media.translation.customFields`) as `shipping_method.media.customFields`, `shipping_method.media.translation.createdAt`, `shipping_method.media.translation.updatedAt`, `shipping_method.media.translation.mediaId`, `shipping_method.media.translation.languageId`, `shipping_method.translation.name`, COALESCE(`shipping_method.translation.name`,`shipping_method.translation.name`) as `shipping_method.name`, `shipping_method.translation.description`, COALESCE(`shipping_method.translation.description`,`shipping_method.translation.description`) as `shipping_method.description`, `shipping_method.translation.trackingUrl`, COALESCE(`shipping_method.translation.trackingUrl`,`shipping_method.translation.trackingUrl`) as `shipping_method.trackingUrl`, `shipping_method.translation.customFields`, COALESCE(`shipping_method.translation.customFields`,`shipping_method.translation.customFields`) as `shipping_method.customFields`, `shipping_method.translation.createdAt`, `shipping_method.translation.updatedAt`, `shipping_method.translation.shippingMethodId`, `shipping_method.translation.languageId` FROM `shipping_method` LEFT JOIN (SELECT `shipping_method.translation`.shipping_method_id, `shipping_method.translation`.name as `shipping_method.translation.name`, `shipping_method.translation`.description as `shipping_method.translation.description`, `shipping_method.translation`.tracking_url as `shipping_method.translation.trackingUrl`, `shipping_method.translation`.custom_fields as `shipping_method.translation.customFields`, `shipping_method.translation`.created_at as `shipping_method.translation.createdAt`, `shipping_method.translation`.updated_at as `shipping_method.translation.updatedAt`, `shipping_method.translation`.shipping_method_id as `shipping_method.translation.shippingMethodId`, `shipping_method.translation`.language_id as `shipping_method.translation.languageId` FROM `shipping_method_translation` `shipping_method.translation` WHERE `shipping_method.translation`.language_id = :languageId) `shipping_method.shipping_method_translation` ON `shipping_method.shipping_method_translation`.`shipping_method_id` = `shipping_method`.`id` LEFT JOIN `delivery_time` `shipping_method.deliveryTime` ON `shipping_method`.`delivery_time_id` = `shipping_method.deliveryTime`.`id` LEFT JOIN `media` `shipping_method.media` ON `shipping_method`.`media_id` = `shipping_method.media`.`id` LEFT JOIN (SELECT `shipping_method.deliveryTime.translation`.delivery_time_id, `shipping_method.deliveryTime.translation`.name as `shipping_method.deliveryTime.translation.name`, `shipping_method.deliveryTime.translation`.custom_fields as `shipping_method.deliveryTime.translation.customFields`, `shipping_method.deliveryTime.translation`.created_at as `shipping_method.deliveryTime.translation.createdAt`, `shipping_method.deliveryTime.translation`.updated_at as `shipping_method.deliveryTime.translation.updatedAt`, `shipping_method.deliveryTime.translation`.delivery_time_id as `shipping_method.deliveryTime.translation.deliveryTimeId`, `shipping_method.deliveryTime.translation`.language_id as `shipping_method.deliveryTime.translation.languageId` FROM `delivery_time_translation` `shipping_method.deliveryTime.translation` WHERE `shipping_method.deliveryTime.translation`.language_id = :languageId) `shipping_method.deliveryTime.delivery_time_translation` ON `shipping_method.deliveryTime.delivery_time_translation`.`delivery_time_id` = `shipping_method.deliveryTime`.`id` LEFT JOIN (SELECT `shipping_method.media.translation`.media_id, `shipping_method.media.translation`.title as `shipping_method.media.translation.title`, `shipping_method.media.translation`.alt as `shipping_method.media.translation.alt`, `shipping_method.media.translation`.custom_fields as `shipping_method.media.translation.customFields`, `shipping_method.media.translation`.created_at as `shipping_method.media.translation.createdAt`, `shipping_method.media.translation`.updated_at as `shipping_method.media.translation.updatedAt`, `shipping_method.media.translation`.media_id as `shipping_method.media.translation.mediaId`, `shipping_method.media.translation`.language_id as `shipping_method.media.translation.languageId` FROM `media_translation` `shipping_method.media.translation` WHERE `shipping_method.media.translation`.language_id = :languageId) `shipping_method.media.media_translation` ON `shipping_method.media.media_translation`.`media_id` = `shipping_method.media`.`id` WHERE `shipping_method`.`id` IN (:ids)
SELECT
`shipping_method`.`id` as `shipping_method.id`,
`shipping_method`.`active` as `shipping_method.active`,
`shipping_method`.`position` as `shipping_method.position`,
`shipping_method`.`availability_rule_id` as `shipping_method.availabilityRuleId`,
`shipping_method`.`media_id` as `shipping_method.mediaId`,
`shipping_method`.`delivery_time_id` as `shipping_method.deliveryTimeId`,
`shipping_method`.`tax_type` as `shipping_method.taxType`,
`shipping_method`.`tax_id` as `shipping_method.taxId`,
`shipping_method.deliveryTime`.`id` as `shipping_method.deliveryTime.id`,
`shipping_method.deliveryTime`.`min` as `shipping_method.deliveryTime.min`,
`shipping_method.deliveryTime`.`max` as `shipping_method.deliveryTime.max`,
`shipping_method.deliveryTime`.`unit` as `shipping_method.deliveryTime.unit`,
`shipping_method.deliveryTime`.`created_at` as `shipping_method.deliveryTime.createdAt`,
`shipping_method.deliveryTime`.`updated_at` as `shipping_method.deliveryTime.updatedAt`,
`shipping_method.deliveryTime.translation.name`,
COALESCE(
`shipping_method.deliveryTime.translation.name`,
`shipping_method.deliveryTime.translation.name`
) as `shipping_method.deliveryTime.name`,
`shipping_method.deliveryTime.translation.customFields`,
COALESCE(
`shipping_method.deliveryTime.translation.customFields`,
`shipping_method.deliveryTime.translation.customFields`
) as `shipping_method.deliveryTime.customFields`,
`shipping_method.deliveryTime.translation.createdAt`,
`shipping_method.deliveryTime.translation.updatedAt`,
`shipping_method.deliveryTime.translation.deliveryTimeId`,
`shipping_method.deliveryTime.translation.languageId`,
`shipping_method`.`created_at` as `shipping_method.createdAt`,
`shipping_method`.`updated_at` as `shipping_method.updatedAt`,
`shipping_method.media`.`id` as `shipping_method.media.id`,
`shipping_method.media`.`user_id` as `shipping_method.media.userId`,
`shipping_method.media`.`media_folder_id` as `shipping_method.media.mediaFolderId`,
`shipping_method.media`.`mime_type` as `shipping_method.media.mimeType`,
`shipping_method.media`.`file_extension` as `shipping_method.media.fileExtension`,
`shipping_method.media`.`uploaded_at` as `shipping_method.media.uploadedAt`,
`shipping_method.media`.`file_name` as `shipping_method.media.fileName`,
`shipping_method.media`.`file_size` as `shipping_method.media.fileSize`,
`shipping_method.media`.`media_type` as `shipping_method.media.mediaTypeRaw`,
`shipping_method.media`.`meta_data` as `shipping_method.media.metaData`,
`shipping_method.media`.`private` as `shipping_method.media.private`,
`shipping_method.media`.`thumbnails_ro` as `shipping_method.media.thumbnailsRo`,
`shipping_method.media`.`created_at` as `shipping_method.media.createdAt`,
`shipping_method.media`.`updated_at` as `shipping_method.media.updatedAt`,
`shipping_method.media.translation.title`,
COALESCE(
`shipping_method.media.translation.title`,
`shipping_method.media.translation.title`
) as `shipping_method.media.title`,
`shipping_method.media.translation.alt`,
COALESCE(
`shipping_method.media.translation.alt`,
`shipping_method.media.translation.alt`
) as `shipping_method.media.alt`,
`shipping_method.media.translation.customFields`,
COALESCE(
`shipping_method.media.translation.customFields`,
`shipping_method.media.translation.customFields`
) as `shipping_method.media.customFields`,
`shipping_method.media.translation.createdAt`,
`shipping_method.media.translation.updatedAt`,
`shipping_method.media.translation.mediaId`,
`shipping_method.media.translation.languageId`,
`shipping_method.translation.name`,
COALESCE(
`shipping_method.translation.name`,
`shipping_method.translation.name`
) as `shipping_method.name`,
`shipping_method.translation.description`,
COALESCE(
`shipping_method.translation.description`,
`shipping_method.translation.description`
) as `shipping_method.description`,
`shipping_method.translation.trackingUrl`,
COALESCE(
`shipping_method.translation.trackingUrl`,
`shipping_method.translation.trackingUrl`
) as `shipping_method.trackingUrl`,
`shipping_method.translation.customFields`,
COALESCE(
`shipping_method.translation.customFields`,
`shipping_method.translation.customFields`
) as `shipping_method.customFields`,
`shipping_method.translation.createdAt`,
`shipping_method.translation.updatedAt`,
`shipping_method.translation.shippingMethodId`,
`shipping_method.translation.languageId`
FROM
`shipping_method`
LEFT JOIN (
SELECT
`shipping_method.translation`.shipping_method_id,
`shipping_method.translation`.name as `shipping_method.translation.name`,
`shipping_method.translation`.description as `shipping_method.translation.description`,
`shipping_method.translation`.tracking_url as `shipping_method.translation.trackingUrl`,
`shipping_method.translation`.custom_fields as `shipping_method.translation.customFields`,
`shipping_method.translation`.created_at as `shipping_method.translation.createdAt`,
`shipping_method.translation`.updated_at as `shipping_method.translation.updatedAt`,
`shipping_method.translation`.shipping_method_id as `shipping_method.translation.shippingMethodId`,
`shipping_method.translation`.language_id as `shipping_method.translation.languageId`
FROM
`shipping_method_translation` `shipping_method.translation`
WHERE
`shipping_method.translation`.language_id = : languageId
) `shipping_method.shipping_method_translation` ON `shipping_method.shipping_method_translation`.`shipping_method_id` = `shipping_method`.`id`
LEFT JOIN `delivery_time` `shipping_method.deliveryTime` ON `shipping_method`.`delivery_time_id` = `shipping_method.deliveryTime`.`id`
LEFT JOIN `media` `shipping_method.media` ON `shipping_method`.`media_id` = `shipping_method.media`.`id`
LEFT JOIN (
SELECT
`shipping_method.deliveryTime.translation`.delivery_time_id,
`shipping_method.deliveryTime.translation`.name as `shipping_method.deliveryTime.translation.name`,
`shipping_method.deliveryTime.translation`.custom_fields as `shipping_method.deliveryTime.translation.customFields`,
`shipping_method.deliveryTime.translation`.created_at as `shipping_method.deliveryTime.translation.createdAt`,
`shipping_method.deliveryTime.translation`.updated_at as `shipping_method.deliveryTime.translation.updatedAt`,
`shipping_method.deliveryTime.translation`.delivery_time_id as `shipping_method.deliveryTime.translation.deliveryTimeId`,
`shipping_method.deliveryTime.translation`.language_id as `shipping_method.deliveryTime.translation.languageId`
FROM
`delivery_time_translation` `shipping_method.deliveryTime.translation`
WHERE
`shipping_method.deliveryTime.translation`.language_id = : languageId
) `shipping_method.deliveryTime.delivery_time_translation` ON `shipping_method.deliveryTime.delivery_time_translation`.`delivery_time_id` = `shipping_method.deliveryTime`.`id`
LEFT JOIN (
SELECT
`shipping_method.media.translation`.media_id,
`shipping_method.media.translation`.title as `shipping_method.media.translation.title`,
`shipping_method.media.translation`.alt as `shipping_method.media.translation.alt`,
`shipping_method.media.translation`.custom_fields as `shipping_method.media.translation.customFields`,
`shipping_method.media.translation`.created_at as `shipping_method.media.translation.createdAt`,
`shipping_method.media.translation`.updated_at as `shipping_method.media.translation.updatedAt`,
`shipping_method.media.translation`.media_id as `shipping_method.media.translation.mediaId`,
`shipping_method.media.translation`.language_id as `shipping_method.media.translation.languageId`
FROM
`media_translation` `shipping_method.media.translation`
WHERE
`shipping_method.media.translation`.language_id = : languageId
) `shipping_method.media.media_translation` ON `shipping_method.media.media_translation`.`media_id` = `shipping_method.media`.`id`
WHERE
`shipping_method`.`id` IN (: ids)
SELECT `shipping_method`.`id` as `shipping_method.id`, `shipping_method`.`active` as `shipping_method.active`, `shipping_method`.`position` as `shipping_method.position`, `shipping_method`.`availability_rule_id` as `shipping_method.availabilityRuleId`, `shipping_method`.`media_id` as `shipping_method.mediaId`, `shipping_method`.`delivery_time_id` as `shipping_method.deliveryTimeId`, `shipping_method`.`tax_type` as `shipping_method.taxType`, `shipping_method`.`tax_id` as `shipping_method.taxId`, `shipping_method.deliveryTime`.`id` as `shipping_method.deliveryTime.id`, `shipping_method.deliveryTime`.`min` as `shipping_method.deliveryTime.min`, `shipping_method.deliveryTime`.`max` as `shipping_method.deliveryTime.max`, `shipping_method.deliveryTime`.`unit` as `shipping_method.deliveryTime.unit`, `shipping_method.deliveryTime`.`created_at` as `shipping_method.deliveryTime.createdAt`, `shipping_method.deliveryTime`.`updated_at` as `shipping_method.deliveryTime.updatedAt`, `shipping_method.deliveryTime.translation.name`, COALESCE(`shipping_method.deliveryTime.translation.name`,`shipping_method.deliveryTime.translation.name`) as `shipping_method.deliveryTime.name`, `shipping_method.deliveryTime.translation.customFields`, COALESCE(`shipping_method.deliveryTime.translation.customFields`,`shipping_method.deliveryTime.translation.customFields`) as `shipping_method.deliveryTime.customFields`, `shipping_method.deliveryTime.translation.createdAt`, `shipping_method.deliveryTime.translation.updatedAt`, `shipping_method.deliveryTime.translation.deliveryTimeId`, `shipping_method.deliveryTime.translation.languageId`, `shipping_method`.`created_at` as `shipping_method.createdAt`, `shipping_method`.`updated_at` as `shipping_method.updatedAt`, `shipping_method.media`.`id` as `shipping_method.media.id`, `shipping_method.media`.`user_id` as `shipping_method.media.userId`, `shipping_method.media`.`media_folder_id` as `shipping_method.media.mediaFolderId`, `shipping_method.media`.`mime_type` as `shipping_method.media.mimeType`, `shipping_method.media`.`file_extension` as `shipping_method.media.fileExtension`, `shipping_method.media`.`uploaded_at` as `shipping_method.media.uploadedAt`, `shipping_method.media`.`file_name` as `shipping_method.media.fileName`, `shipping_method.media`.`file_size` as `shipping_method.media.fileSize`, `shipping_method.media`.`media_type` as `shipping_method.media.mediaTypeRaw`, `shipping_method.media`.`meta_data` as `shipping_method.media.metaData`, `shipping_method.media`.`private` as `shipping_method.media.private`, `shipping_method.media`.`thumbnails_ro` as `shipping_method.media.thumbnailsRo`, `shipping_method.media`.`created_at` as `shipping_method.media.createdAt`, `shipping_method.media`.`updated_at` as `shipping_method.media.updatedAt`, `shipping_method.media.translation.title`, COALESCE(`shipping_method.media.translation.title`,`shipping_method.media.translation.title`) as `shipping_method.media.title`, `shipping_method.media.translation.alt`, COALESCE(`shipping_method.media.translation.alt`,`shipping_method.media.translation.alt`) as `shipping_method.media.alt`, `shipping_method.media.translation.customFields`, COALESCE(`shipping_method.media.translation.customFields`,`shipping_method.media.translation.customFields`) as `shipping_method.media.customFields`, `shipping_method.media.translation.createdAt`, `shipping_method.media.translation.updatedAt`, `shipping_method.media.translation.mediaId`, `shipping_method.media.translation.languageId`, `shipping_method.translation.name`, COALESCE(`shipping_method.translation.name`,`shipping_method.translation.name`) as `shipping_method.name`, `shipping_method.translation.description`, COALESCE(`shipping_method.translation.description`,`shipping_method.translation.description`) as `shipping_method.description`, `shipping_method.translation.trackingUrl`, COALESCE(`shipping_method.translation.trackingUrl`,`shipping_method.translation.trackingUrl`) as `shipping_method.trackingUrl`, `shipping_method.translation.customFields`, COALESCE(`shipping_method.translation.customFields`,`shipping_method.translation.customFields`) as `shipping_method.customFields`, `shipping_method.translation.createdAt`, `shipping_method.translation.updatedAt`, `shipping_method.translation.shippingMethodId`, `shipping_method.translation.languageId` FROM `shipping_method` LEFT JOIN (SELECT `shipping_method.translation`.shipping_method_id, `shipping_method.translation`.name as `shipping_method.translation.name`, `shipping_method.translation`.description as `shipping_method.translation.description`, `shipping_method.translation`.tracking_url as `shipping_method.translation.trackingUrl`, `shipping_method.translation`.custom_fields as `shipping_method.translation.customFields`, `shipping_method.translation`.created_at as `shipping_method.translation.createdAt`, `shipping_method.translation`.updated_at as `shipping_method.translation.updatedAt`, `shipping_method.translation`.shipping_method_id as `shipping_method.translation.shippingMethodId`, `shipping_method.translation`.language_id as `shipping_method.translation.languageId` FROM `shipping_method_translation` `shipping_method.translation` WHERE `shipping_method.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `shipping_method.shipping_method_translation` ON `shipping_method.shipping_method_translation`.`shipping_method_id` = `shipping_method`.`id` LEFT JOIN `delivery_time` `shipping_method.deliveryTime` ON `shipping_method`.`delivery_time_id` = `shipping_method.deliveryTime`.`id` LEFT JOIN `media` `shipping_method.media` ON `shipping_method`.`media_id` = `shipping_method.media`.`id` LEFT JOIN (SELECT `shipping_method.deliveryTime.translation`.delivery_time_id, `shipping_method.deliveryTime.translation`.name as `shipping_method.deliveryTime.translation.name`, `shipping_method.deliveryTime.translation`.custom_fields as `shipping_method.deliveryTime.translation.customFields`, `shipping_method.deliveryTime.translation`.created_at as `shipping_method.deliveryTime.translation.createdAt`, `shipping_method.deliveryTime.translation`.updated_at as `shipping_method.deliveryTime.translation.updatedAt`, `shipping_method.deliveryTime.translation`.delivery_time_id as `shipping_method.deliveryTime.translation.deliveryTimeId`, `shipping_method.deliveryTime.translation`.language_id as `shipping_method.deliveryTime.translation.languageId` FROM `delivery_time_translation` `shipping_method.deliveryTime.translation` WHERE `shipping_method.deliveryTime.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `shipping_method.deliveryTime.delivery_time_translation` ON `shipping_method.deliveryTime.delivery_time_translation`.`delivery_time_id` = `shipping_method.deliveryTime`.`id` LEFT JOIN (SELECT `shipping_method.media.translation`.media_id, `shipping_method.media.translation`.title as `shipping_method.media.translation.title`, `shipping_method.media.translation`.alt as `shipping_method.media.translation.alt`, `shipping_method.media.translation`.custom_fields as `shipping_method.media.translation.customFields`, `shipping_method.media.translation`.created_at as `shipping_method.media.translation.createdAt`, `shipping_method.media.translation`.updated_at as `shipping_method.media.translation.updatedAt`, `shipping_method.media.translation`.media_id as `shipping_method.media.translation.mediaId`, `shipping_method.media.translation`.language_id as `shipping_method.media.translation.languageId` FROM `media_translation` `shipping_method.media.translation` WHERE `shipping_method.media.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `shipping_method.media.media_translation` ON `shipping_method.media.media_translation`.`media_id` = `shipping_method.media`.`id` WHERE `shipping_method`.`id` IN (0x1CAACEA3AA144B54912185A05ED8350C);
array:48 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 242)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 316)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetch (line 148)"
4 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 93)"
5 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::read (line 257)"
6 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::read (line 286)"
7 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::_search (line 110)"
8 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::Shopware\Core\Framework\DataAbstractionLayer\{closure} (line 59)"
9 => "Shopware\Core\Profiling\Profiler::trace (line 111)"
10 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::search (line 51)"
11 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepositoryForwardCompatibilityDecorator::search (line 217)"
12 => "Shopware\Core\System\SalesChannel\Context\BaseContextFactory::getShippingMethod (line 147)"
13 => "Shopware\Core\System\SalesChannel\Context\BaseContextFactory::create (line 74)"
14 => "Shopware\Core\System\SalesChannel\Context\CachedBaseContextFactory::Shopware\Core\System\SalesChannel\Context\{closure} (line 350)"
15 => "Shopware\Core\System\SystemConfig\SystemConfigService::trace (line 44)"
16 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 120)"
17 => "Shopware\Core\Framework\Adapter\Translation\Translator::trace (line 45)"
18 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 46)"
19 => "Shopware\Core\Framework\Adapter\Cache\CacheTagCollection::trace (line 46)"
20 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::trace (line 41)"
21 => "Shopware\Storefront\Framework\Cache\CacheTracer::Shopware\Storefront\Framework\Cache\{closure} (line 59)"
22 => "Shopware\Storefront\Theme\ThemeConfigValueAccessor::trace (line 42)"
23 => "Shopware\Storefront\Framework\Cache\CacheTracer::trace (line 75)"
24 => "Shopware\Core\System\SalesChannel\Context\CachedBaseContextFactory::Shopware\Core\System\SalesChannel\Context\{closure} (line 72)"
25 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
26 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 85)"
27 => "Shopware\Core\System\SalesChannel\Context\CachedBaseContextFactory::create (line 92)"
28 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextFactory::create (line 51)"
29 => "Shopware\Core\System\SalesChannel\Context\CachedSalesChannelContextFactory::create (line 103)"
30 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::Shopware\Core\System\SalesChannel\Context\{closure} (line 59)"
31 => "Shopware\Core\Profiling\Profiler::trace (line 111)"
32 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::get (line 105)"
33 => "Shopware\Core\Framework\Routing\SalesChannelRequestContextResolver::resolve (line 38)"
34 => "Shopware\Core\Framework\Routing\ContextResolverListener::resolveContext (line 118)"
35 => "Symfony\Component\EventDispatcher\Debug\WrappedListener::__invoke (line 230)"
36 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
37 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
38 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
39 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
40 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
41 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
42 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 151)"
43 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
44 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
45 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
46 => "Shopware\Core\HttpKernel::doHandle (line 81)"
47 => "Shopware\Core\HttpKernel::handle (line 85)"
]
|
22 |
0.20 ms |
SELECT `currency_country_rounding`.`id` FROM `currency_country_rounding` WHERE (`currency_country_rounding`.`currency_id` = :param_aac3d4b81bc3423896d412da0f57cd46 AND `currency_country_rounding`.`country_id` = :param_8daff1ba57a246ada19a126ab30e62e4) LIMIT 1
SELECT `currency_country_rounding`.`id` FROM `currency_country_rounding` WHERE (`currency_country_rounding`.`currency_id` = 0xB7D2554B0CE847CD82F3AC9BD1C0DFCA AND `currency_country_rounding`.`country_id` = 0xCD2C6B2001014249BEBF013D5B59245C) LIMIT 1;
array:47 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 242)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 107)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntitySearcher::search (line 62)"
4 => "Shopware\Elasticsearch\Framework\DataAbstractionLayer\ElasticsearchEntitySearcher::search (line 132)"
5 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::searchIds (line 291)"
6 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::_search (line 110)"
7 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::Shopware\Core\Framework\DataAbstractionLayer\{closure} (line 59)"
8 => "Shopware\Core\Profiling\Profiler::trace (line 111)"
9 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::search (line 51)"
10 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepositoryForwardCompatibilityDecorator::search (line 361)"
11 => "Shopware\Core\System\SalesChannel\Context\BaseContextFactory::getCashRounding (line 149)"
12 => "Shopware\Core\System\SalesChannel\Context\BaseContextFactory::create (line 74)"
13 => "Shopware\Core\System\SalesChannel\Context\CachedBaseContextFactory::Shopware\Core\System\SalesChannel\Context\{closure} (line 350)"
14 => "Shopware\Core\System\SystemConfig\SystemConfigService::trace (line 44)"
15 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 120)"
16 => "Shopware\Core\Framework\Adapter\Translation\Translator::trace (line 45)"
17 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 46)"
18 => "Shopware\Core\Framework\Adapter\Cache\CacheTagCollection::trace (line 46)"
19 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::trace (line 41)"
20 => "Shopware\Storefront\Framework\Cache\CacheTracer::Shopware\Storefront\Framework\Cache\{closure} (line 59)"
21 => "Shopware\Storefront\Theme\ThemeConfigValueAccessor::trace (line 42)"
22 => "Shopware\Storefront\Framework\Cache\CacheTracer::trace (line 75)"
23 => "Shopware\Core\System\SalesChannel\Context\CachedBaseContextFactory::Shopware\Core\System\SalesChannel\Context\{closure} (line 72)"
24 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
25 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 85)"
26 => "Shopware\Core\System\SalesChannel\Context\CachedBaseContextFactory::create (line 92)"
27 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextFactory::create (line 51)"
28 => "Shopware\Core\System\SalesChannel\Context\CachedSalesChannelContextFactory::create (line 103)"
29 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::Shopware\Core\System\SalesChannel\Context\{closure} (line 59)"
30 => "Shopware\Core\Profiling\Profiler::trace (line 111)"
31 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::get (line 105)"
32 => "Shopware\Core\Framework\Routing\SalesChannelRequestContextResolver::resolve (line 38)"
33 => "Shopware\Core\Framework\Routing\ContextResolverListener::resolveContext (line 118)"
34 => "Symfony\Component\EventDispatcher\Debug\WrappedListener::__invoke (line 230)"
35 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
36 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
37 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
38 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
39 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
40 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
41 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 151)"
42 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
43 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
44 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
45 => "Shopware\Core\HttpKernel::doHandle (line 81)"
46 => "Shopware\Core\HttpKernel::handle (line 85)"
]
|
23 |
2.81 ms |
SELECT `customer`.`id` as `customer.id`, `customer`.`customer_group_id` as `customer.groupId`, `customer`.`default_payment_method_id` as `customer.defaultPaymentMethodId`, `customer`.`sales_channel_id` as `customer.salesChannelId`, `customer`.`language_id` as `customer.languageId`, `customer`.`last_payment_method_id` as `customer.lastPaymentMethodId`, `customer`.`default_billing_address_id` as `customer.defaultBillingAddressId`, `customer`.`default_shipping_address_id` as `customer.defaultShippingAddressId`, `customer`.`auto_increment` as `customer.autoIncrement`, `customer`.`customer_number` as `customer.customerNumber`, `customer`.`salutation_id` as `customer.salutationId`, `customer`.`first_name` as `customer.firstName`, `customer`.`last_name` as `customer.lastName`, `customer`.`company` as `customer.company`, `customer`.`password` as `customer.password`, `customer`.`email` as `customer.email`, `customer`.`title` as `customer.title`, `customer`.`vat_ids` as `customer.vatIds`, `customer`.`affiliate_code` as `customer.affiliateCode`, `customer`.`campaign_code` as `customer.campaignCode`, `customer`.`active` as `customer.active`, `customer`.`double_opt_in_registration` as `customer.doubleOptInRegistration`, `customer`.`double_opt_in_email_sent_date` as `customer.doubleOptInEmailSentDate`, `customer`.`double_opt_in_confirm_date` as `customer.doubleOptInConfirmDate`, `customer`.`hash` as `customer.hash`, `customer`.`guest` as `customer.guest`, `customer`.`first_login` as `customer.firstLogin`, `customer`.`last_login` as `customer.lastLogin`, `customer`.`newsletter_sales_channel_ids` as `customer.newsletterSalesChannelIds`, `customer`.`newsletter` as `customer.newsletter`, `customer`.`birthday` as `customer.birthday`, `customer`.`last_order_date` as `customer.lastOrderDate`, `customer`.`order_count` as `customer.orderCount`, `customer`.`order_total_amount` as `customer.orderTotalAmount`, `customer`.`custom_fields` as `customer.customFields`, `customer`.`legacy_password` as `customer.legacyPassword`, `customer`.`legacy_encoder` as `customer.legacyEncoder`, `customer`.`remote_address` as `customer.remoteAddress`, `customer`.`tag_ids` as `customer.tagIds`, `customer`.`requested_customer_group_id` as `customer.requestedGroupId`, `customer`.`bound_sales_channel_id` as `customer.boundSalesChannelId`, `customer`.`created_by_id` as `customer.createdById`, `customer`.`updated_by_id` as `customer.updatedById`, `customer`.`created_at` as `customer.createdAt`, `customer`.`updated_at` as `customer.updatedAt`, `customer.salutation`.`id` as `customer.salutation.id`, `customer.salutation`.`salutation_key` as `customer.salutation.salutationKey`, `customer.salutation`.`created_at` as `customer.salutation.createdAt`, `customer.salutation`.`updated_at` as `customer.salutation.updatedAt`, `customer.salutation.translation.displayName`, COALESCE(`customer.salutation.translation.displayName`,`customer.salutation.translation.displayName`) as `customer.salutation.displayName`, `customer.salutation.translation.letterName`, COALESCE(`customer.salutation.translation.letterName`,`customer.salutation.translation.letterName`) as `customer.salutation.letterName`, `customer.salutation.translation.customFields`, COALESCE(`customer.salutation.translation.customFields`,`customer.salutation.translation.customFields`) as `customer.salutation.customFields`, `customer.salutation.translation.createdAt`, `customer.salutation.translation.updatedAt`, `customer.salutation.translation.salutationId`, `customer.salutation.translation.languageId`, `customer.defaultPaymentMethod`.`id` as `customer.defaultPaymentMethod.id`, `customer.defaultPaymentMethod`.`plugin_id` as `customer.defaultPaymentMethod.pluginId`, `customer.defaultPaymentMethod`.`handler_identifier` as `customer.defaultPaymentMethod.handlerIdentifier`, `customer.defaultPaymentMethod`.`position` as `customer.defaultPaymentMethod.position`, `customer.defaultPaymentMethod`.`active` as `customer.defaultPaymentMethod.active`, `customer.defaultPaymentMethod`.`after_order_enabled` as `customer.defaultPaymentMethod.afterOrderEnabled`, `customer.defaultPaymentMethod`.`availability_rule_id` as `customer.defaultPaymentMethod.availabilityRuleId`, `customer.defaultPaymentMethod`.`media_id` as `customer.defaultPaymentMethod.mediaId`, `customer.defaultPaymentMethod.appPaymentMethod`.`id` as `customer.defaultPaymentMethod.appPaymentMethod.id`, `customer.defaultPaymentMethod.appPaymentMethod`.`app_name` as `customer.defaultPaymentMethod.appPaymentMethod.appName`, `customer.defaultPaymentMethod.appPaymentMethod`.`identifier` as `customer.defaultPaymentMethod.appPaymentMethod.identifier`, `customer.defaultPaymentMethod.appPaymentMethod`.`pay_url` as `customer.defaultPaymentMethod.appPaymentMethod.payUrl`, `customer.defaultPaymentMethod.appPaymentMethod`.`finalize_url` as `customer.defaultPaymentMethod.appPaymentMethod.finalizeUrl`, `customer.defaultPaymentMethod.appPaymentMethod`.`validate_url` as `customer.defaultPaymentMethod.appPaymentMethod.validateUrl`, `customer.defaultPaymentMethod.appPaymentMethod`.`capture_url` as `customer.defaultPaymentMethod.appPaymentMethod.captureUrl`, `customer.defaultPaymentMethod.appPaymentMethod`.`refund_url` as `customer.defaultPaymentMethod.appPaymentMethod.refundUrl`, `customer.defaultPaymentMethod.appPaymentMethod`.`app_id` as `customer.defaultPaymentMethod.appPaymentMethod.appId`, `customer.defaultPaymentMethod.appPaymentMethod`.`original_media_id` as `customer.defaultPaymentMethod.appPaymentMethod.originalMediaId`, `customer.defaultPaymentMethod.appPaymentMethod`.`payment_method_id` as `customer.defaultPaymentMethod.appPaymentMethod.paymentMethodId`, `customer.defaultPaymentMethod.appPaymentMethod`.`created_at` as `customer.defaultPaymentMethod.appPaymentMethod.createdAt`, `customer.defaultPaymentMethod.appPaymentMethod`.`updated_at` as `customer.defaultPaymentMethod.appPaymentMethod.updatedAt`, `customer.defaultPaymentMethod`.`created_at` as `customer.defaultPaymentMethod.createdAt`, `customer.defaultPaymentMethod`.`updated_at` as `customer.defaultPaymentMethod.updatedAt`, `customer.defaultPaymentMethod.translation.name`, COALESCE(`customer.defaultPaymentMethod.translation.name`,`customer.defaultPaymentMethod.translation.name`) as `customer.defaultPaymentMethod.name`, `customer.defaultPaymentMethod.translation.distinguishableName`, COALESCE(`customer.defaultPaymentMethod.translation.distinguishableName`,`customer.defaultPaymentMethod.translation.distinguishableName`) as `customer.defaultPaymentMethod.distinguishableName`, `customer.defaultPaymentMethod.translation.description`, COALESCE(`customer.defaultPaymentMethod.translation.description`,`customer.defaultPaymentMethod.translation.description`) as `customer.defaultPaymentMethod.description`, `customer.defaultPaymentMethod.translation.customFields`, COALESCE(`customer.defaultPaymentMethod.translation.customFields`,`customer.defaultPaymentMethod.translation.customFields`) as `customer.defaultPaymentMethod.customFields`, `customer.defaultPaymentMethod.translation.createdAt`, `customer.defaultPaymentMethod.translation.updatedAt`, `customer.defaultPaymentMethod.translation.paymentMethodId`, `customer.defaultPaymentMethod.translation.languageId` FROM `customer` LEFT JOIN `salutation` `customer.salutation` ON `customer`.`salutation_id` = `customer.salutation`.`id` LEFT JOIN `payment_method` `customer.defaultPaymentMethod` ON `customer`.`default_payment_method_id` = `customer.defaultPaymentMethod`.`id` LEFT JOIN (SELECT `customer.salutation.translation`.salutation_id, `customer.salutation.translation`.display_name as `customer.salutation.translation.displayName`, `customer.salutation.translation`.letter_name as `customer.salutation.translation.letterName`, `customer.salutation.translation`.custom_fields as `customer.salutation.translation.customFields`, `customer.salutation.translation`.created_at as `customer.salutation.translation.createdAt`, `customer.salutation.translation`.updated_at as `customer.salutation.translation.updatedAt`, `customer.salutation.translation`.salutation_id as `customer.salutation.translation.salutationId`, `customer.salutation.translation`.language_id as `customer.salutation.translation.languageId` FROM `salutation_translation` `customer.salutation.translation` WHERE `customer.salutation.translation`.language_id = :languageId) `customer.salutation.salutation_translation` ON `customer.salutation.salutation_translation`.`salutation_id` = `customer.salutation`.`id` LEFT JOIN (SELECT `customer.defaultPaymentMethod.translation`.payment_method_id, `customer.defaultPaymentMethod.translation`.name as `customer.defaultPaymentMethod.translation.name`, `customer.defaultPaymentMethod.translation`.distinguishable_name as `customer.defaultPaymentMethod.translation.distinguishableName`, `customer.defaultPaymentMethod.translation`.description as `customer.defaultPaymentMethod.translation.description`, `customer.defaultPaymentMethod.translation`.custom_fields as `customer.defaultPaymentMethod.translation.customFields`, `customer.defaultPaymentMethod.translation`.created_at as `customer.defaultPaymentMethod.translation.createdAt`, `customer.defaultPaymentMethod.translation`.updated_at as `customer.defaultPaymentMethod.translation.updatedAt`, `customer.defaultPaymentMethod.translation`.payment_method_id as `customer.defaultPaymentMethod.translation.paymentMethodId`, `customer.defaultPaymentMethod.translation`.language_id as `customer.defaultPaymentMethod.translation.languageId` FROM `payment_method_translation` `customer.defaultPaymentMethod.translation` WHERE `customer.defaultPaymentMethod.translation`.language_id = :languageId) `customer.defaultPaymentMethod.payment_method_translation` ON `customer.defaultPaymentMethod.payment_method_translation`.`payment_method_id` = `customer.defaultPaymentMethod`.`id` LEFT JOIN `app_payment_method` `customer.defaultPaymentMethod.appPaymentMethod` ON `customer.defaultPaymentMethod`.`id` = `customer.defaultPaymentMethod.appPaymentMethod`.`payment_method_id` WHERE (((`customer`.`bound_sales_channel_id` <=> :param_2633b8e18fad4396a9b117e2848aa0c2 OR `customer`.`bound_sales_channel_id` = :param_adcbb0d0a15848b39daffec4eebc1527))) AND (`customer`.`id` IN (:ids))
SELECT
`customer`.`id` as `customer.id`,
`customer`.`customer_group_id` as `customer.groupId`,
`customer`.`default_payment_method_id` as `customer.defaultPaymentMethodId`,
`customer`.`sales_channel_id` as `customer.salesChannelId`,
`customer`.`language_id` as `customer.languageId`,
`customer`.`last_payment_method_id` as `customer.lastPaymentMethodId`,
`customer`.`default_billing_address_id` as `customer.defaultBillingAddressId`,
`customer`.`default_shipping_address_id` as `customer.defaultShippingAddressId`,
`customer`.`auto_increment` as `customer.autoIncrement`,
`customer`.`customer_number` as `customer.customerNumber`,
`customer`.`salutation_id` as `customer.salutationId`,
`customer`.`first_name` as `customer.firstName`,
`customer`.`last_name` as `customer.lastName`,
`customer`.`company` as `customer.company`,
`customer`.`password` as `customer.password`,
`customer`.`email` as `customer.email`,
`customer`.`title` as `customer.title`,
`customer`.`vat_ids` as `customer.vatIds`,
`customer`.`affiliate_code` as `customer.affiliateCode`,
`customer`.`campaign_code` as `customer.campaignCode`,
`customer`.`active` as `customer.active`,
`customer`.`double_opt_in_registration` as `customer.doubleOptInRegistration`,
`customer`.`double_opt_in_email_sent_date` as `customer.doubleOptInEmailSentDate`,
`customer`.`double_opt_in_confirm_date` as `customer.doubleOptInConfirmDate`,
`customer`.`hash` as `customer.hash`,
`customer`.`guest` as `customer.guest`,
`customer`.`first_login` as `customer.firstLogin`,
`customer`.`last_login` as `customer.lastLogin`,
`customer`.`newsletter_sales_channel_ids` as `customer.newsletterSalesChannelIds`,
`customer`.`newsletter` as `customer.newsletter`,
`customer`.`birthday` as `customer.birthday`,
`customer`.`last_order_date` as `customer.lastOrderDate`,
`customer`.`order_count` as `customer.orderCount`,
`customer`.`order_total_amount` as `customer.orderTotalAmount`,
`customer`.`custom_fields` as `customer.customFields`,
`customer`.`legacy_password` as `customer.legacyPassword`,
`customer`.`legacy_encoder` as `customer.legacyEncoder`,
`customer`.`remote_address` as `customer.remoteAddress`,
`customer`.`tag_ids` as `customer.tagIds`,
`customer`.`requested_customer_group_id` as `customer.requestedGroupId`,
`customer`.`bound_sales_channel_id` as `customer.boundSalesChannelId`,
`customer`.`created_by_id` as `customer.createdById`,
`customer`.`updated_by_id` as `customer.updatedById`,
`customer`.`created_at` as `customer.createdAt`,
`customer`.`updated_at` as `customer.updatedAt`,
`customer.salutation`.`id` as `customer.salutation.id`,
`customer.salutation`.`salutation_key` as `customer.salutation.salutationKey`,
`customer.salutation`.`created_at` as `customer.salutation.createdAt`,
`customer.salutation`.`updated_at` as `customer.salutation.updatedAt`,
`customer.salutation.translation.displayName`,
COALESCE(
`customer.salutation.translation.displayName`,
`customer.salutation.translation.displayName`
) as `customer.salutation.displayName`,
`customer.salutation.translation.letterName`,
COALESCE(
`customer.salutation.translation.letterName`,
`customer.salutation.translation.letterName`
) as `customer.salutation.letterName`,
`customer.salutation.translation.customFields`,
COALESCE(
`customer.salutation.translation.customFields`,
`customer.salutation.translation.customFields`
) as `customer.salutation.customFields`,
`customer.salutation.translation.createdAt`,
`customer.salutation.translation.updatedAt`,
`customer.salutation.translation.salutationId`,
`customer.salutation.translation.languageId`,
`customer.defaultPaymentMethod`.`id` as `customer.defaultPaymentMethod.id`,
`customer.defaultPaymentMethod`.`plugin_id` as `customer.defaultPaymentMethod.pluginId`,
`customer.defaultPaymentMethod`.`handler_identifier` as `customer.defaultPaymentMethod.handlerIdentifier`,
`customer.defaultPaymentMethod`.`position` as `customer.defaultPaymentMethod.position`,
`customer.defaultPaymentMethod`.`active` as `customer.defaultPaymentMethod.active`,
`customer.defaultPaymentMethod`.`after_order_enabled` as `customer.defaultPaymentMethod.afterOrderEnabled`,
`customer.defaultPaymentMethod`.`availability_rule_id` as `customer.defaultPaymentMethod.availabilityRuleId`,
`customer.defaultPaymentMethod`.`media_id` as `customer.defaultPaymentMethod.mediaId`,
`customer.defaultPaymentMethod.appPaymentMethod`.`id` as `customer.defaultPaymentMethod.appPaymentMethod.id`,
`customer.defaultPaymentMethod.appPaymentMethod`.`app_name` as `customer.defaultPaymentMethod.appPaymentMethod.appName`,
`customer.defaultPaymentMethod.appPaymentMethod`.`identifier` as `customer.defaultPaymentMethod.appPaymentMethod.identifier`,
`customer.defaultPaymentMethod.appPaymentMethod`.`pay_url` as `customer.defaultPaymentMethod.appPaymentMethod.payUrl`,
`customer.defaultPaymentMethod.appPaymentMethod`.`finalize_url` as `customer.defaultPaymentMethod.appPaymentMethod.finalizeUrl`,
`customer.defaultPaymentMethod.appPaymentMethod`.`validate_url` as `customer.defaultPaymentMethod.appPaymentMethod.validateUrl`,
`customer.defaultPaymentMethod.appPaymentMethod`.`capture_url` as `customer.defaultPaymentMethod.appPaymentMethod.captureUrl`,
`customer.defaultPaymentMethod.appPaymentMethod`.`refund_url` as `customer.defaultPaymentMethod.appPaymentMethod.refundUrl`,
`customer.defaultPaymentMethod.appPaymentMethod`.`app_id` as `customer.defaultPaymentMethod.appPaymentMethod.appId`,
`customer.defaultPaymentMethod.appPaymentMethod`.`original_media_id` as `customer.defaultPaymentMethod.appPaymentMethod.originalMediaId`,
`customer.defaultPaymentMethod.appPaymentMethod`.`payment_method_id` as `customer.defaultPaymentMethod.appPaymentMethod.paymentMethodId`,
`customer.defaultPaymentMethod.appPaymentMethod`.`created_at` as `customer.defaultPaymentMethod.appPaymentMethod.createdAt`,
`customer.defaultPaymentMethod.appPaymentMethod`.`updated_at` as `customer.defaultPaymentMethod.appPaymentMethod.updatedAt`,
`customer.defaultPaymentMethod`.`created_at` as `customer.defaultPaymentMethod.createdAt`,
`customer.defaultPaymentMethod`.`updated_at` as `customer.defaultPaymentMethod.updatedAt`,
`customer.defaultPaymentMethod.translation.name`,
COALESCE(
`customer.defaultPaymentMethod.translation.name`,
`customer.defaultPaymentMethod.translation.name`
) as `customer.defaultPaymentMethod.name`,
`customer.defaultPaymentMethod.translation.distinguishableName`,
COALESCE(
`customer.defaultPaymentMethod.translation.distinguishableName`,
`customer.defaultPaymentMethod.translation.distinguishableName`
) as `customer.defaultPaymentMethod.distinguishableName`,
`customer.defaultPaymentMethod.translation.description`,
COALESCE(
`customer.defaultPaymentMethod.translation.description`,
`customer.defaultPaymentMethod.translation.description`
) as `customer.defaultPaymentMethod.description`,
`customer.defaultPaymentMethod.translation.customFields`,
COALESCE(
`customer.defaultPaymentMethod.translation.customFields`,
`customer.defaultPaymentMethod.translation.customFields`
) as `customer.defaultPaymentMethod.customFields`,
`customer.defaultPaymentMethod.translation.createdAt`,
`customer.defaultPaymentMethod.translation.updatedAt`,
`customer.defaultPaymentMethod.translation.paymentMethodId`,
`customer.defaultPaymentMethod.translation.languageId`
FROM
`customer`
LEFT JOIN `salutation` `customer.salutation` ON `customer`.`salutation_id` = `customer.salutation`.`id`
LEFT JOIN `payment_method` `customer.defaultPaymentMethod` ON `customer`.`default_payment_method_id` = `customer.defaultPaymentMethod`.`id`
LEFT JOIN (
SELECT
`customer.salutation.translation`.salutation_id,
`customer.salutation.translation`.display_name as `customer.salutation.translation.displayName`,
`customer.salutation.translation`.letter_name as `customer.salutation.translation.letterName`,
`customer.salutation.translation`.custom_fields as `customer.salutation.translation.customFields`,
`customer.salutation.translation`.created_at as `customer.salutation.translation.createdAt`,
`customer.salutation.translation`.updated_at as `customer.salutation.translation.updatedAt`,
`customer.salutation.translation`.salutation_id as `customer.salutation.translation.salutationId`,
`customer.salutation.translation`.language_id as `customer.salutation.translation.languageId`
FROM
`salutation_translation` `customer.salutation.translation`
WHERE
`customer.salutation.translation`.language_id = : languageId
) `customer.salutation.salutation_translation` ON `customer.salutation.salutation_translation`.`salutation_id` = `customer.salutation`.`id`
LEFT JOIN (
SELECT
`customer.defaultPaymentMethod.translation`.payment_method_id,
`customer.defaultPaymentMethod.translation`.name as `customer.defaultPaymentMethod.translation.name`,
`customer.defaultPaymentMethod.translation`.distinguishable_name as `customer.defaultPaymentMethod.translation.distinguishableName`,
`customer.defaultPaymentMethod.translation`.description as `customer.defaultPaymentMethod.translation.description`,
`customer.defaultPaymentMethod.translation`.custom_fields as `customer.defaultPaymentMethod.translation.customFields`,
`customer.defaultPaymentMethod.translation`.created_at as `customer.defaultPaymentMethod.translation.createdAt`,
`customer.defaultPaymentMethod.translation`.updated_at as `customer.defaultPaymentMethod.translation.updatedAt`,
`customer.defaultPaymentMethod.translation`.payment_method_id as `customer.defaultPaymentMethod.translation.paymentMethodId`,
`customer.defaultPaymentMethod.translation`.language_id as `customer.defaultPaymentMethod.translation.languageId`
FROM
`payment_method_translation` `customer.defaultPaymentMethod.translation`
WHERE
`customer.defaultPaymentMethod.translation`.language_id = : languageId
) `customer.defaultPaymentMethod.payment_method_translation` ON `customer.defaultPaymentMethod.payment_method_translation`.`payment_method_id` = `customer.defaultPaymentMethod`.`id`
LEFT JOIN `app_payment_method` `customer.defaultPaymentMethod.appPaymentMethod` ON `customer.defaultPaymentMethod`.`id` = `customer.defaultPaymentMethod.appPaymentMethod`.`payment_method_id`
WHERE
(
(
(
`customer`.`bound_sales_channel_id` <=> : param_2633b8e18fad4396a9b117e2848aa0c2
OR `customer`.`bound_sales_channel_id` = : param_adcbb0d0a15848b39daffec4eebc1527
)
)
)
AND (
`customer`.`id` IN (: ids)
)
SELECT `customer`.`id` as `customer.id`, `customer`.`customer_group_id` as `customer.groupId`, `customer`.`default_payment_method_id` as `customer.defaultPaymentMethodId`, `customer`.`sales_channel_id` as `customer.salesChannelId`, `customer`.`language_id` as `customer.languageId`, `customer`.`last_payment_method_id` as `customer.lastPaymentMethodId`, `customer`.`default_billing_address_id` as `customer.defaultBillingAddressId`, `customer`.`default_shipping_address_id` as `customer.defaultShippingAddressId`, `customer`.`auto_increment` as `customer.autoIncrement`, `customer`.`customer_number` as `customer.customerNumber`, `customer`.`salutation_id` as `customer.salutationId`, `customer`.`first_name` as `customer.firstName`, `customer`.`last_name` as `customer.lastName`, `customer`.`company` as `customer.company`, `customer`.`password` as `customer.password`, `customer`.`email` as `customer.email`, `customer`.`title` as `customer.title`, `customer`.`vat_ids` as `customer.vatIds`, `customer`.`affiliate_code` as `customer.affiliateCode`, `customer`.`campaign_code` as `customer.campaignCode`, `customer`.`active` as `customer.active`, `customer`.`double_opt_in_registration` as `customer.doubleOptInRegistration`, `customer`.`double_opt_in_email_sent_date` as `customer.doubleOptInEmailSentDate`, `customer`.`double_opt_in_confirm_date` as `customer.doubleOptInConfirmDate`, `customer`.`hash` as `customer.hash`, `customer`.`guest` as `customer.guest`, `customer`.`first_login` as `customer.firstLogin`, `customer`.`last_login` as `customer.lastLogin`, `customer`.`newsletter_sales_channel_ids` as `customer.newsletterSalesChannelIds`, `customer`.`newsletter` as `customer.newsletter`, `customer`.`birthday` as `customer.birthday`, `customer`.`last_order_date` as `customer.lastOrderDate`, `customer`.`order_count` as `customer.orderCount`, `customer`.`order_total_amount` as `customer.orderTotalAmount`, `customer`.`custom_fields` as `customer.customFields`, `customer`.`legacy_password` as `customer.legacyPassword`, `customer`.`legacy_encoder` as `customer.legacyEncoder`, `customer`.`remote_address` as `customer.remoteAddress`, `customer`.`tag_ids` as `customer.tagIds`, `customer`.`requested_customer_group_id` as `customer.requestedGroupId`, `customer`.`bound_sales_channel_id` as `customer.boundSalesChannelId`, `customer`.`created_by_id` as `customer.createdById`, `customer`.`updated_by_id` as `customer.updatedById`, `customer`.`created_at` as `customer.createdAt`, `customer`.`updated_at` as `customer.updatedAt`, `customer.salutation`.`id` as `customer.salutation.id`, `customer.salutation`.`salutation_key` as `customer.salutation.salutationKey`, `customer.salutation`.`created_at` as `customer.salutation.createdAt`, `customer.salutation`.`updated_at` as `customer.salutation.updatedAt`, `customer.salutation.translation.displayName`, COALESCE(`customer.salutation.translation.displayName`,`customer.salutation.translation.displayName`) as `customer.salutation.displayName`, `customer.salutation.translation.letterName`, COALESCE(`customer.salutation.translation.letterName`,`customer.salutation.translation.letterName`) as `customer.salutation.letterName`, `customer.salutation.translation.customFields`, COALESCE(`customer.salutation.translation.customFields`,`customer.salutation.translation.customFields`) as `customer.salutation.customFields`, `customer.salutation.translation.createdAt`, `customer.salutation.translation.updatedAt`, `customer.salutation.translation.salutationId`, `customer.salutation.translation.languageId`, `customer.defaultPaymentMethod`.`id` as `customer.defaultPaymentMethod.id`, `customer.defaultPaymentMethod`.`plugin_id` as `customer.defaultPaymentMethod.pluginId`, `customer.defaultPaymentMethod`.`handler_identifier` as `customer.defaultPaymentMethod.handlerIdentifier`, `customer.defaultPaymentMethod`.`position` as `customer.defaultPaymentMethod.position`, `customer.defaultPaymentMethod`.`active` as `customer.defaultPaymentMethod.active`, `customer.defaultPaymentMethod`.`after_order_enabled` as `customer.defaultPaymentMethod.afterOrderEnabled`, `customer.defaultPaymentMethod`.`availability_rule_id` as `customer.defaultPaymentMethod.availabilityRuleId`, `customer.defaultPaymentMethod`.`media_id` as `customer.defaultPaymentMethod.mediaId`, `customer.defaultPaymentMethod.appPaymentMethod`.`id` as `customer.defaultPaymentMethod.appPaymentMethod.id`, `customer.defaultPaymentMethod.appPaymentMethod`.`app_name` as `customer.defaultPaymentMethod.appPaymentMethod.appName`, `customer.defaultPaymentMethod.appPaymentMethod`.`identifier` as `customer.defaultPaymentMethod.appPaymentMethod.identifier`, `customer.defaultPaymentMethod.appPaymentMethod`.`pay_url` as `customer.defaultPaymentMethod.appPaymentMethod.payUrl`, `customer.defaultPaymentMethod.appPaymentMethod`.`finalize_url` as `customer.defaultPaymentMethod.appPaymentMethod.finalizeUrl`, `customer.defaultPaymentMethod.appPaymentMethod`.`validate_url` as `customer.defaultPaymentMethod.appPaymentMethod.validateUrl`, `customer.defaultPaymentMethod.appPaymentMethod`.`capture_url` as `customer.defaultPaymentMethod.appPaymentMethod.captureUrl`, `customer.defaultPaymentMethod.appPaymentMethod`.`refund_url` as `customer.defaultPaymentMethod.appPaymentMethod.refundUrl`, `customer.defaultPaymentMethod.appPaymentMethod`.`app_id` as `customer.defaultPaymentMethod.appPaymentMethod.appId`, `customer.defaultPaymentMethod.appPaymentMethod`.`original_media_id` as `customer.defaultPaymentMethod.appPaymentMethod.originalMediaId`, `customer.defaultPaymentMethod.appPaymentMethod`.`payment_method_id` as `customer.defaultPaymentMethod.appPaymentMethod.paymentMethodId`, `customer.defaultPaymentMethod.appPaymentMethod`.`created_at` as `customer.defaultPaymentMethod.appPaymentMethod.createdAt`, `customer.defaultPaymentMethod.appPaymentMethod`.`updated_at` as `customer.defaultPaymentMethod.appPaymentMethod.updatedAt`, `customer.defaultPaymentMethod`.`created_at` as `customer.defaultPaymentMethod.createdAt`, `customer.defaultPaymentMethod`.`updated_at` as `customer.defaultPaymentMethod.updatedAt`, `customer.defaultPaymentMethod.translation.name`, COALESCE(`customer.defaultPaymentMethod.translation.name`,`customer.defaultPaymentMethod.translation.name`) as `customer.defaultPaymentMethod.name`, `customer.defaultPaymentMethod.translation.distinguishableName`, COALESCE(`customer.defaultPaymentMethod.translation.distinguishableName`,`customer.defaultPaymentMethod.translation.distinguishableName`) as `customer.defaultPaymentMethod.distinguishableName`, `customer.defaultPaymentMethod.translation.description`, COALESCE(`customer.defaultPaymentMethod.translation.description`,`customer.defaultPaymentMethod.translation.description`) as `customer.defaultPaymentMethod.description`, `customer.defaultPaymentMethod.translation.customFields`, COALESCE(`customer.defaultPaymentMethod.translation.customFields`,`customer.defaultPaymentMethod.translation.customFields`) as `customer.defaultPaymentMethod.customFields`, `customer.defaultPaymentMethod.translation.createdAt`, `customer.defaultPaymentMethod.translation.updatedAt`, `customer.defaultPaymentMethod.translation.paymentMethodId`, `customer.defaultPaymentMethod.translation.languageId` FROM `customer` LEFT JOIN `salutation` `customer.salutation` ON `customer`.`salutation_id` = `customer.salutation`.`id` LEFT JOIN `payment_method` `customer.defaultPaymentMethod` ON `customer`.`default_payment_method_id` = `customer.defaultPaymentMethod`.`id` LEFT JOIN (SELECT `customer.salutation.translation`.salutation_id, `customer.salutation.translation`.display_name as `customer.salutation.translation.displayName`, `customer.salutation.translation`.letter_name as `customer.salutation.translation.letterName`, `customer.salutation.translation`.custom_fields as `customer.salutation.translation.customFields`, `customer.salutation.translation`.created_at as `customer.salutation.translation.createdAt`, `customer.salutation.translation`.updated_at as `customer.salutation.translation.updatedAt`, `customer.salutation.translation`.salutation_id as `customer.salutation.translation.salutationId`, `customer.salutation.translation`.language_id as `customer.salutation.translation.languageId` FROM `salutation_translation` `customer.salutation.translation` WHERE `customer.salutation.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `customer.salutation.salutation_translation` ON `customer.salutation.salutation_translation`.`salutation_id` = `customer.salutation`.`id` LEFT JOIN (SELECT `customer.defaultPaymentMethod.translation`.payment_method_id, `customer.defaultPaymentMethod.translation`.name as `customer.defaultPaymentMethod.translation.name`, `customer.defaultPaymentMethod.translation`.distinguishable_name as `customer.defaultPaymentMethod.translation.distinguishableName`, `customer.defaultPaymentMethod.translation`.description as `customer.defaultPaymentMethod.translation.description`, `customer.defaultPaymentMethod.translation`.custom_fields as `customer.defaultPaymentMethod.translation.customFields`, `customer.defaultPaymentMethod.translation`.created_at as `customer.defaultPaymentMethod.translation.createdAt`, `customer.defaultPaymentMethod.translation`.updated_at as `customer.defaultPaymentMethod.translation.updatedAt`, `customer.defaultPaymentMethod.translation`.payment_method_id as `customer.defaultPaymentMethod.translation.paymentMethodId`, `customer.defaultPaymentMethod.translation`.language_id as `customer.defaultPaymentMethod.translation.languageId` FROM `payment_method_translation` `customer.defaultPaymentMethod.translation` WHERE `customer.defaultPaymentMethod.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `customer.defaultPaymentMethod.payment_method_translation` ON `customer.defaultPaymentMethod.payment_method_translation`.`payment_method_id` = `customer.defaultPaymentMethod`.`id` LEFT JOIN `app_payment_method` `customer.defaultPaymentMethod.appPaymentMethod` ON `customer.defaultPaymentMethod`.`id` = `customer.defaultPaymentMethod.appPaymentMethod`.`payment_method_id` WHERE (((`customer`.`bound_sales_channel_id` <=> NULL OR `customer`.`bound_sales_channel_id` = 0x4EB9108BE4654CC9B140D14DE85579E9))) AND (`customer`.`id` IN (0xC827A7DC6959447D8995E42E36CE47CB));
array:33 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 242)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 316)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetch (line 148)"
4 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 93)"
5 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::read (line 257)"
6 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::read (line 286)"
7 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::_search (line 110)"
8 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::Shopware\Core\Framework\DataAbstractionLayer\{closure} (line 59)"
9 => "Shopware\Core\Profiling\Profiler::trace (line 111)"
10 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::search (line 51)"
11 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepositoryForwardCompatibilityDecorator::search (line 259)"
12 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextFactory::loadCustomer (line 98)"
13 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextFactory::create (line 51)"
14 => "Shopware\Core\System\SalesChannel\Context\CachedSalesChannelContextFactory::create (line 103)"
15 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::Shopware\Core\System\SalesChannel\Context\{closure} (line 59)"
16 => "Shopware\Core\Profiling\Profiler::trace (line 111)"
17 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::get (line 105)"
18 => "Shopware\Core\Framework\Routing\SalesChannelRequestContextResolver::resolve (line 38)"
19 => "Shopware\Core\Framework\Routing\ContextResolverListener::resolveContext (line 118)"
20 => "Symfony\Component\EventDispatcher\Debug\WrappedListener::__invoke (line 230)"
21 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
22 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
23 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
24 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
25 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
26 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
27 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 151)"
28 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
29 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
30 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
31 => "Shopware\Core\HttpKernel::doHandle (line 81)"
32 => "Shopware\Core\HttpKernel::handle (line 85)"
]
|
24 |
3.33 ms |
SELECT `customer_address`.`id` as `customer_address.id`, `customer_address`.`customer_id` as `customer_address.customerId`, `customer_address`.`country_id` as `customer_address.countryId`, `customer_address`.`country_state_id` as `customer_address.countryStateId`, `customer_address`.`salutation_id` as `customer_address.salutationId`, `customer_address`.`first_name` as `customer_address.firstName`, `customer_address`.`last_name` as `customer_address.lastName`, `customer_address`.`zipcode` as `customer_address.zipcode`, `customer_address`.`city` as `customer_address.city`, `customer_address`.`company` as `customer_address.company`, `customer_address`.`street` as `customer_address.street`, `customer_address`.`department` as `customer_address.department`, `customer_address`.`title` as `customer_address.title`, `customer_address`.`phone_number` as `customer_address.phoneNumber`, `customer_address`.`additional_address_line1` as `customer_address.additionalAddressLine1`, `customer_address`.`additional_address_line2` as `customer_address.additionalAddressLine2`, `customer_address`.`custom_fields` as `customer_address.customFields`, `customer_address`.`created_at` as `customer_address.createdAt`, `customer_address`.`updated_at` as `customer_address.updatedAt`, `customer_address.salutation`.`id` as `customer_address.salutation.id`, `customer_address.salutation`.`salutation_key` as `customer_address.salutation.salutationKey`, `customer_address.salutation`.`created_at` as `customer_address.salutation.createdAt`, `customer_address.salutation`.`updated_at` as `customer_address.salutation.updatedAt`, `customer_address.salutation.translation.displayName`, COALESCE(`customer_address.salutation.translation.displayName`,`customer_address.salutation.translation.displayName`) as `customer_address.salutation.displayName`, `customer_address.salutation.translation.letterName`, COALESCE(`customer_address.salutation.translation.letterName`,`customer_address.salutation.translation.letterName`) as `customer_address.salutation.letterName`, `customer_address.salutation.translation.customFields`, COALESCE(`customer_address.salutation.translation.customFields`,`customer_address.salutation.translation.customFields`) as `customer_address.salutation.customFields`, `customer_address.salutation.translation.createdAt`, `customer_address.salutation.translation.updatedAt`, `customer_address.salutation.translation.salutationId`, `customer_address.salutation.translation.languageId`, `customer_address.country`.`id` as `customer_address.country.id`, `customer_address.country`.`iso` as `customer_address.country.iso`, `customer_address.country`.`position` as `customer_address.country.position`, `customer_address.country`.`active` as `customer_address.country.active`, `customer_address.country`.`shipping_available` as `customer_address.country.shippingAvailable`, `customer_address.country`.`iso3` as `customer_address.country.iso3`, `customer_address.country`.`display_state_in_registration` as `customer_address.country.displayStateInRegistration`, `customer_address.country`.`force_state_in_registration` as `customer_address.country.forceStateInRegistration`, `customer_address.country`.`company_tax_free` as `customer_address.country.companyTaxFree`, `customer_address.country`.`check_vat_id_pattern` as `customer_address.country.checkVatIdPattern`, `customer_address.country`.`vat_id_required` as `customer_address.country.vatIdRequired`, `customer_address.country`.`tax_free` as `customer_address.country.taxFree`, `customer_address.country`.`vat_id_pattern` as `customer_address.country.vatIdPattern`, `customer_address.country`.`customer_tax` as `customer_address.country.customerTax`, `customer_address.country`.`company_tax` as `customer_address.country.companyTax`, `customer_address.country`.`postal_code_required` as `customer_address.country.postalCodeRequired`, `customer_address.country`.`check_postal_code_pattern` as `customer_address.country.checkPostalCodePattern`, `customer_address.country`.`check_advanced_postal_code_pattern` as `customer_address.country.checkAdvancedPostalCodePattern`, `customer_address.country`.`advanced_postal_code_pattern` as `customer_address.country.advancedPostalCodePattern`, `customer_address.country`.`default_postal_code_pattern` as `customer_address.country.defaultPostalCodePattern`, `customer_address.country`.`created_at` as `customer_address.country.createdAt`, `customer_address.country`.`updated_at` as `customer_address.country.updatedAt`, `customer_address.country.translation.name`, COALESCE(`customer_address.country.translation.name`,`customer_address.country.translation.name`) as `customer_address.country.name`, `customer_address.country.translation.addressFormat`, COALESCE(`customer_address.country.translation.addressFormat`,`customer_address.country.translation.addressFormat`) as `customer_address.country.addressFormat`, `customer_address.country.translation.customFields`, COALESCE(`customer_address.country.translation.customFields`,`customer_address.country.translation.customFields`) as `customer_address.country.customFields`, `customer_address.country.translation.createdAt`, `customer_address.country.translation.updatedAt`, `customer_address.country.translation.countryId`, `customer_address.country.translation.languageId`, `customer_address.countryState`.`id` as `customer_address.countryState.id`, `customer_address.countryState`.`country_id` as `customer_address.countryState.countryId`, `customer_address.countryState`.`short_code` as `customer_address.countryState.shortCode`, `customer_address.countryState`.`position` as `customer_address.countryState.position`, `customer_address.countryState`.`active` as `customer_address.countryState.active`, `customer_address.countryState`.`created_at` as `customer_address.countryState.createdAt`, `customer_address.countryState`.`updated_at` as `customer_address.countryState.updatedAt`, `customer_address.countryState.translation.name`, COALESCE(`customer_address.countryState.translation.name`,`customer_address.countryState.translation.name`) as `customer_address.countryState.name`, `customer_address.countryState.translation.customFields`, COALESCE(`customer_address.countryState.translation.customFields`,`customer_address.countryState.translation.customFields`) as `customer_address.countryState.customFields`, `customer_address.countryState.translation.createdAt`, `customer_address.countryState.translation.updatedAt`, `customer_address.countryState.translation.countryStateId`, `customer_address.countryState.translation.languageId` FROM `customer_address` LEFT JOIN `salutation` `customer_address.salutation` ON `customer_address`.`salutation_id` = `customer_address.salutation`.`id` LEFT JOIN `country` `customer_address.country` ON `customer_address`.`country_id` = `customer_address.country`.`id` LEFT JOIN `country_state` `customer_address.countryState` ON `customer_address`.`country_state_id` = `customer_address.countryState`.`id` LEFT JOIN (SELECT `customer_address.salutation.translation`.salutation_id, `customer_address.salutation.translation`.display_name as `customer_address.salutation.translation.displayName`, `customer_address.salutation.translation`.letter_name as `customer_address.salutation.translation.letterName`, `customer_address.salutation.translation`.custom_fields as `customer_address.salutation.translation.customFields`, `customer_address.salutation.translation`.created_at as `customer_address.salutation.translation.createdAt`, `customer_address.salutation.translation`.updated_at as `customer_address.salutation.translation.updatedAt`, `customer_address.salutation.translation`.salutation_id as `customer_address.salutation.translation.salutationId`, `customer_address.salutation.translation`.language_id as `customer_address.salutation.translation.languageId` FROM `salutation_translation` `customer_address.salutation.translation` WHERE `customer_address.salutation.translation`.language_id = :languageId) `customer_address.salutation.salutation_translation` ON `customer_address.salutation.salutation_translation`.`salutation_id` = `customer_address.salutation`.`id` LEFT JOIN (SELECT `customer_address.country.translation`.country_id, `customer_address.country.translation`.name as `customer_address.country.translation.name`, `customer_address.country.translation`.address_format as `customer_address.country.translation.addressFormat`, `customer_address.country.translation`.custom_fields as `customer_address.country.translation.customFields`, `customer_address.country.translation`.created_at as `customer_address.country.translation.createdAt`, `customer_address.country.translation`.updated_at as `customer_address.country.translation.updatedAt`, `customer_address.country.translation`.country_id as `customer_address.country.translation.countryId`, `customer_address.country.translation`.language_id as `customer_address.country.translation.languageId` FROM `country_translation` `customer_address.country.translation` WHERE `customer_address.country.translation`.language_id = :languageId) `customer_address.country.country_translation` ON `customer_address.country.country_translation`.`country_id` = `customer_address.country`.`id` LEFT JOIN (SELECT `customer_address.countryState.translation`.country_state_id, `customer_address.countryState.translation`.name as `customer_address.countryState.translation.name`, `customer_address.countryState.translation`.custom_fields as `customer_address.countryState.translation.customFields`, `customer_address.countryState.translation`.created_at as `customer_address.countryState.translation.createdAt`, `customer_address.countryState.translation`.updated_at as `customer_address.countryState.translation.updatedAt`, `customer_address.countryState.translation`.country_state_id as `customer_address.countryState.translation.countryStateId`, `customer_address.countryState.translation`.language_id as `customer_address.countryState.translation.languageId` FROM `country_state_translation` `customer_address.countryState.translation` WHERE `customer_address.countryState.translation`.language_id = :languageId) `customer_address.countryState.country_state_translation` ON `customer_address.countryState.country_state_translation`.`country_state_id` = `customer_address.countryState`.`id` WHERE `customer_address`.`id` IN (:ids)
SELECT
`customer_address`.`id` as `customer_address.id`,
`customer_address`.`customer_id` as `customer_address.customerId`,
`customer_address`.`country_id` as `customer_address.countryId`,
`customer_address`.`country_state_id` as `customer_address.countryStateId`,
`customer_address`.`salutation_id` as `customer_address.salutationId`,
`customer_address`.`first_name` as `customer_address.firstName`,
`customer_address`.`last_name` as `customer_address.lastName`,
`customer_address`.`zipcode` as `customer_address.zipcode`,
`customer_address`.`city` as `customer_address.city`,
`customer_address`.`company` as `customer_address.company`,
`customer_address`.`street` as `customer_address.street`,
`customer_address`.`department` as `customer_address.department`,
`customer_address`.`title` as `customer_address.title`,
`customer_address`.`phone_number` as `customer_address.phoneNumber`,
`customer_address`.`additional_address_line1` as `customer_address.additionalAddressLine1`,
`customer_address`.`additional_address_line2` as `customer_address.additionalAddressLine2`,
`customer_address`.`custom_fields` as `customer_address.customFields`,
`customer_address`.`created_at` as `customer_address.createdAt`,
`customer_address`.`updated_at` as `customer_address.updatedAt`,
`customer_address.salutation`.`id` as `customer_address.salutation.id`,
`customer_address.salutation`.`salutation_key` as `customer_address.salutation.salutationKey`,
`customer_address.salutation`.`created_at` as `customer_address.salutation.createdAt`,
`customer_address.salutation`.`updated_at` as `customer_address.salutation.updatedAt`,
`customer_address.salutation.translation.displayName`,
COALESCE(
`customer_address.salutation.translation.displayName`,
`customer_address.salutation.translation.displayName`
) as `customer_address.salutation.displayName`,
`customer_address.salutation.translation.letterName`,
COALESCE(
`customer_address.salutation.translation.letterName`,
`customer_address.salutation.translation.letterName`
) as `customer_address.salutation.letterName`,
`customer_address.salutation.translation.customFields`,
COALESCE(
`customer_address.salutation.translation.customFields`,
`customer_address.salutation.translation.customFields`
) as `customer_address.salutation.customFields`,
`customer_address.salutation.translation.createdAt`,
`customer_address.salutation.translation.updatedAt`,
`customer_address.salutation.translation.salutationId`,
`customer_address.salutation.translation.languageId`,
`customer_address.country`.`id` as `customer_address.country.id`,
`customer_address.country`.`iso` as `customer_address.country.iso`,
`customer_address.country`.`position` as `customer_address.country.position`,
`customer_address.country`.`active` as `customer_address.country.active`,
`customer_address.country`.`shipping_available` as `customer_address.country.shippingAvailable`,
`customer_address.country`.`iso3` as `customer_address.country.iso3`,
`customer_address.country`.`display_state_in_registration` as `customer_address.country.displayStateInRegistration`,
`customer_address.country`.`force_state_in_registration` as `customer_address.country.forceStateInRegistration`,
`customer_address.country`.`company_tax_free` as `customer_address.country.companyTaxFree`,
`customer_address.country`.`check_vat_id_pattern` as `customer_address.country.checkVatIdPattern`,
`customer_address.country`.`vat_id_required` as `customer_address.country.vatIdRequired`,
`customer_address.country`.`tax_free` as `customer_address.country.taxFree`,
`customer_address.country`.`vat_id_pattern` as `customer_address.country.vatIdPattern`,
`customer_address.country`.`customer_tax` as `customer_address.country.customerTax`,
`customer_address.country`.`company_tax` as `customer_address.country.companyTax`,
`customer_address.country`.`postal_code_required` as `customer_address.country.postalCodeRequired`,
`customer_address.country`.`check_postal_code_pattern` as `customer_address.country.checkPostalCodePattern`,
`customer_address.country`.`check_advanced_postal_code_pattern` as `customer_address.country.checkAdvancedPostalCodePattern`,
`customer_address.country`.`advanced_postal_code_pattern` as `customer_address.country.advancedPostalCodePattern`,
`customer_address.country`.`default_postal_code_pattern` as `customer_address.country.defaultPostalCodePattern`,
`customer_address.country`.`created_at` as `customer_address.country.createdAt`,
`customer_address.country`.`updated_at` as `customer_address.country.updatedAt`,
`customer_address.country.translation.name`,
COALESCE(
`customer_address.country.translation.name`,
`customer_address.country.translation.name`
) as `customer_address.country.name`,
`customer_address.country.translation.addressFormat`,
COALESCE(
`customer_address.country.translation.addressFormat`,
`customer_address.country.translation.addressFormat`
) as `customer_address.country.addressFormat`,
`customer_address.country.translation.customFields`,
COALESCE(
`customer_address.country.translation.customFields`,
`customer_address.country.translation.customFields`
) as `customer_address.country.customFields`,
`customer_address.country.translation.createdAt`,
`customer_address.country.translation.updatedAt`,
`customer_address.country.translation.countryId`,
`customer_address.country.translation.languageId`,
`customer_address.countryState`.`id` as `customer_address.countryState.id`,
`customer_address.countryState`.`country_id` as `customer_address.countryState.countryId`,
`customer_address.countryState`.`short_code` as `customer_address.countryState.shortCode`,
`customer_address.countryState`.`position` as `customer_address.countryState.position`,
`customer_address.countryState`.`active` as `customer_address.countryState.active`,
`customer_address.countryState`.`created_at` as `customer_address.countryState.createdAt`,
`customer_address.countryState`.`updated_at` as `customer_address.countryState.updatedAt`,
`customer_address.countryState.translation.name`,
COALESCE(
`customer_address.countryState.translation.name`,
`customer_address.countryState.translation.name`
) as `customer_address.countryState.name`,
`customer_address.countryState.translation.customFields`,
COALESCE(
`customer_address.countryState.translation.customFields`,
`customer_address.countryState.translation.customFields`
) as `customer_address.countryState.customFields`,
`customer_address.countryState.translation.createdAt`,
`customer_address.countryState.translation.updatedAt`,
`customer_address.countryState.translation.countryStateId`,
`customer_address.countryState.translation.languageId`
FROM
`customer_address`
LEFT JOIN `salutation` `customer_address.salutation` ON `customer_address`.`salutation_id` = `customer_address.salutation`.`id`
LEFT JOIN `country` `customer_address.country` ON `customer_address`.`country_id` = `customer_address.country`.`id`
LEFT JOIN `country_state` `customer_address.countryState` ON `customer_address`.`country_state_id` = `customer_address.countryState`.`id`
LEFT JOIN (
SELECT
`customer_address.salutation.translation`.salutation_id,
`customer_address.salutation.translation`.display_name as `customer_address.salutation.translation.displayName`,
`customer_address.salutation.translation`.letter_name as `customer_address.salutation.translation.letterName`,
`customer_address.salutation.translation`.custom_fields as `customer_address.salutation.translation.customFields`,
`customer_address.salutation.translation`.created_at as `customer_address.salutation.translation.createdAt`,
`customer_address.salutation.translation`.updated_at as `customer_address.salutation.translation.updatedAt`,
`customer_address.salutation.translation`.salutation_id as `customer_address.salutation.translation.salutationId`,
`customer_address.salutation.translation`.language_id as `customer_address.salutation.translation.languageId`
FROM
`salutation_translation` `customer_address.salutation.translation`
WHERE
`customer_address.salutation.translation`.language_id = : languageId
) `customer_address.salutation.salutation_translation` ON `customer_address.salutation.salutation_translation`.`salutation_id` = `customer_address.salutation`.`id`
LEFT JOIN (
SELECT
`customer_address.country.translation`.country_id,
`customer_address.country.translation`.name as `customer_address.country.translation.name`,
`customer_address.country.translation`.address_format as `customer_address.country.translation.addressFormat`,
`customer_address.country.translation`.custom_fields as `customer_address.country.translation.customFields`,
`customer_address.country.translation`.created_at as `customer_address.country.translation.createdAt`,
`customer_address.country.translation`.updated_at as `customer_address.country.translation.updatedAt`,
`customer_address.country.translation`.country_id as `customer_address.country.translation.countryId`,
`customer_address.country.translation`.language_id as `customer_address.country.translation.languageId`
FROM
`country_translation` `customer_address.country.translation`
WHERE
`customer_address.country.translation`.language_id = : languageId
) `customer_address.country.country_translation` ON `customer_address.country.country_translation`.`country_id` = `customer_address.country`.`id`
LEFT JOIN (
SELECT
`customer_address.countryState.translation`.country_state_id,
`customer_address.countryState.translation`.name as `customer_address.countryState.translation.name`,
`customer_address.countryState.translation`.custom_fields as `customer_address.countryState.translation.customFields`,
`customer_address.countryState.translation`.created_at as `customer_address.countryState.translation.createdAt`,
`customer_address.countryState.translation`.updated_at as `customer_address.countryState.translation.updatedAt`,
`customer_address.countryState.translation`.country_state_id as `customer_address.countryState.translation.countryStateId`,
`customer_address.countryState.translation`.language_id as `customer_address.countryState.translation.languageId`
FROM
`country_state_translation` `customer_address.countryState.translation`
WHERE
`customer_address.countryState.translation`.language_id = : languageId
) `customer_address.countryState.country_state_translation` ON `customer_address.countryState.country_state_translation`.`country_state_id` = `customer_address.countryState`.`id`
WHERE
`customer_address`.`id` IN (: ids)
SELECT `customer_address`.`id` as `customer_address.id`, `customer_address`.`customer_id` as `customer_address.customerId`, `customer_address`.`country_id` as `customer_address.countryId`, `customer_address`.`country_state_id` as `customer_address.countryStateId`, `customer_address`.`salutation_id` as `customer_address.salutationId`, `customer_address`.`first_name` as `customer_address.firstName`, `customer_address`.`last_name` as `customer_address.lastName`, `customer_address`.`zipcode` as `customer_address.zipcode`, `customer_address`.`city` as `customer_address.city`, `customer_address`.`company` as `customer_address.company`, `customer_address`.`street` as `customer_address.street`, `customer_address`.`department` as `customer_address.department`, `customer_address`.`title` as `customer_address.title`, `customer_address`.`phone_number` as `customer_address.phoneNumber`, `customer_address`.`additional_address_line1` as `customer_address.additionalAddressLine1`, `customer_address`.`additional_address_line2` as `customer_address.additionalAddressLine2`, `customer_address`.`custom_fields` as `customer_address.customFields`, `customer_address`.`created_at` as `customer_address.createdAt`, `customer_address`.`updated_at` as `customer_address.updatedAt`, `customer_address.salutation`.`id` as `customer_address.salutation.id`, `customer_address.salutation`.`salutation_key` as `customer_address.salutation.salutationKey`, `customer_address.salutation`.`created_at` as `customer_address.salutation.createdAt`, `customer_address.salutation`.`updated_at` as `customer_address.salutation.updatedAt`, `customer_address.salutation.translation.displayName`, COALESCE(`customer_address.salutation.translation.displayName`,`customer_address.salutation.translation.displayName`) as `customer_address.salutation.displayName`, `customer_address.salutation.translation.letterName`, COALESCE(`customer_address.salutation.translation.letterName`,`customer_address.salutation.translation.letterName`) as `customer_address.salutation.letterName`, `customer_address.salutation.translation.customFields`, COALESCE(`customer_address.salutation.translation.customFields`,`customer_address.salutation.translation.customFields`) as `customer_address.salutation.customFields`, `customer_address.salutation.translation.createdAt`, `customer_address.salutation.translation.updatedAt`, `customer_address.salutation.translation.salutationId`, `customer_address.salutation.translation.languageId`, `customer_address.country`.`id` as `customer_address.country.id`, `customer_address.country`.`iso` as `customer_address.country.iso`, `customer_address.country`.`position` as `customer_address.country.position`, `customer_address.country`.`active` as `customer_address.country.active`, `customer_address.country`.`shipping_available` as `customer_address.country.shippingAvailable`, `customer_address.country`.`iso3` as `customer_address.country.iso3`, `customer_address.country`.`display_state_in_registration` as `customer_address.country.displayStateInRegistration`, `customer_address.country`.`force_state_in_registration` as `customer_address.country.forceStateInRegistration`, `customer_address.country`.`company_tax_free` as `customer_address.country.companyTaxFree`, `customer_address.country`.`check_vat_id_pattern` as `customer_address.country.checkVatIdPattern`, `customer_address.country`.`vat_id_required` as `customer_address.country.vatIdRequired`, `customer_address.country`.`tax_free` as `customer_address.country.taxFree`, `customer_address.country`.`vat_id_pattern` as `customer_address.country.vatIdPattern`, `customer_address.country`.`customer_tax` as `customer_address.country.customerTax`, `customer_address.country`.`company_tax` as `customer_address.country.companyTax`, `customer_address.country`.`postal_code_required` as `customer_address.country.postalCodeRequired`, `customer_address.country`.`check_postal_code_pattern` as `customer_address.country.checkPostalCodePattern`, `customer_address.country`.`check_advanced_postal_code_pattern` as `customer_address.country.checkAdvancedPostalCodePattern`, `customer_address.country`.`advanced_postal_code_pattern` as `customer_address.country.advancedPostalCodePattern`, `customer_address.country`.`default_postal_code_pattern` as `customer_address.country.defaultPostalCodePattern`, `customer_address.country`.`created_at` as `customer_address.country.createdAt`, `customer_address.country`.`updated_at` as `customer_address.country.updatedAt`, `customer_address.country.translation.name`, COALESCE(`customer_address.country.translation.name`,`customer_address.country.translation.name`) as `customer_address.country.name`, `customer_address.country.translation.addressFormat`, COALESCE(`customer_address.country.translation.addressFormat`,`customer_address.country.translation.addressFormat`) as `customer_address.country.addressFormat`, `customer_address.country.translation.customFields`, COALESCE(`customer_address.country.translation.customFields`,`customer_address.country.translation.customFields`) as `customer_address.country.customFields`, `customer_address.country.translation.createdAt`, `customer_address.country.translation.updatedAt`, `customer_address.country.translation.countryId`, `customer_address.country.translation.languageId`, `customer_address.countryState`.`id` as `customer_address.countryState.id`, `customer_address.countryState`.`country_id` as `customer_address.countryState.countryId`, `customer_address.countryState`.`short_code` as `customer_address.countryState.shortCode`, `customer_address.countryState`.`position` as `customer_address.countryState.position`, `customer_address.countryState`.`active` as `customer_address.countryState.active`, `customer_address.countryState`.`created_at` as `customer_address.countryState.createdAt`, `customer_address.countryState`.`updated_at` as `customer_address.countryState.updatedAt`, `customer_address.countryState.translation.name`, COALESCE(`customer_address.countryState.translation.name`,`customer_address.countryState.translation.name`) as `customer_address.countryState.name`, `customer_address.countryState.translation.customFields`, COALESCE(`customer_address.countryState.translation.customFields`,`customer_address.countryState.translation.customFields`) as `customer_address.countryState.customFields`, `customer_address.countryState.translation.createdAt`, `customer_address.countryState.translation.updatedAt`, `customer_address.countryState.translation.countryStateId`, `customer_address.countryState.translation.languageId` FROM `customer_address` LEFT JOIN `salutation` `customer_address.salutation` ON `customer_address`.`salutation_id` = `customer_address.salutation`.`id` LEFT JOIN `country` `customer_address.country` ON `customer_address`.`country_id` = `customer_address.country`.`id` LEFT JOIN `country_state` `customer_address.countryState` ON `customer_address`.`country_state_id` = `customer_address.countryState`.`id` LEFT JOIN (SELECT `customer_address.salutation.translation`.salutation_id, `customer_address.salutation.translation`.display_name as `customer_address.salutation.translation.displayName`, `customer_address.salutation.translation`.letter_name as `customer_address.salutation.translation.letterName`, `customer_address.salutation.translation`.custom_fields as `customer_address.salutation.translation.customFields`, `customer_address.salutation.translation`.created_at as `customer_address.salutation.translation.createdAt`, `customer_address.salutation.translation`.updated_at as `customer_address.salutation.translation.updatedAt`, `customer_address.salutation.translation`.salutation_id as `customer_address.salutation.translation.salutationId`, `customer_address.salutation.translation`.language_id as `customer_address.salutation.translation.languageId` FROM `salutation_translation` `customer_address.salutation.translation` WHERE `customer_address.salutation.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `customer_address.salutation.salutation_translation` ON `customer_address.salutation.salutation_translation`.`salutation_id` = `customer_address.salutation`.`id` LEFT JOIN (SELECT `customer_address.country.translation`.country_id, `customer_address.country.translation`.name as `customer_address.country.translation.name`, `customer_address.country.translation`.address_format as `customer_address.country.translation.addressFormat`, `customer_address.country.translation`.custom_fields as `customer_address.country.translation.customFields`, `customer_address.country.translation`.created_at as `customer_address.country.translation.createdAt`, `customer_address.country.translation`.updated_at as `customer_address.country.translation.updatedAt`, `customer_address.country.translation`.country_id as `customer_address.country.translation.countryId`, `customer_address.country.translation`.language_id as `customer_address.country.translation.languageId` FROM `country_translation` `customer_address.country.translation` WHERE `customer_address.country.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `customer_address.country.country_translation` ON `customer_address.country.country_translation`.`country_id` = `customer_address.country`.`id` LEFT JOIN (SELECT `customer_address.countryState.translation`.country_state_id, `customer_address.countryState.translation`.name as `customer_address.countryState.translation.name`, `customer_address.countryState.translation`.custom_fields as `customer_address.countryState.translation.customFields`, `customer_address.countryState.translation`.created_at as `customer_address.countryState.translation.createdAt`, `customer_address.countryState.translation`.updated_at as `customer_address.countryState.translation.updatedAt`, `customer_address.countryState.translation`.country_state_id as `customer_address.countryState.translation.countryStateId`, `customer_address.countryState.translation`.language_id as `customer_address.countryState.translation.languageId` FROM `country_state_translation` `customer_address.countryState.translation` WHERE `customer_address.countryState.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `customer_address.countryState.country_state_translation` ON `customer_address.countryState.country_state_translation`.`country_state_id` = `customer_address.countryState`.`id` WHERE `customer_address`.`id` IN (0x0F154A413F7446458F74F9A73FE23CF3, 0xBB9B152A4F86456D96F612A4B8B0CD00);
array:33 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 242)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 316)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetch (line 148)"
4 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 93)"
5 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::read (line 257)"
6 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::read (line 286)"
7 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::_search (line 110)"
8 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::Shopware\Core\Framework\DataAbstractionLayer\{closure} (line 59)"
9 => "Shopware\Core\Profiling\Profiler::trace (line 111)"
10 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::search (line 51)"
11 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepositoryForwardCompatibilityDecorator::search (line 279)"
12 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextFactory::loadCustomer (line 98)"
13 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextFactory::create (line 51)"
14 => "Shopware\Core\System\SalesChannel\Context\CachedSalesChannelContextFactory::create (line 103)"
15 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::Shopware\Core\System\SalesChannel\Context\{closure} (line 59)"
16 => "Shopware\Core\Profiling\Profiler::trace (line 111)"
17 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::get (line 105)"
18 => "Shopware\Core\Framework\Routing\SalesChannelRequestContextResolver::resolve (line 38)"
19 => "Shopware\Core\Framework\Routing\ContextResolverListener::resolveContext (line 118)"
20 => "Symfony\Component\EventDispatcher\Debug\WrappedListener::__invoke (line 230)"
21 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
22 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
23 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
24 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
25 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
26 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
27 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 151)"
28 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
29 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
30 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
31 => "Shopware\Core\HttpKernel::doHandle (line 81)"
32 => "Shopware\Core\HttpKernel::handle (line 85)"
]
|
25 |
0.51 ms |
SELECT `customer_group`.`id` as `customer_group.id`, `customer_group`.`display_gross` as `customer_group.displayGross`, `customer_group`.`registration_active` as `customer_group.registrationActive`, `customer_group`.`created_at` as `customer_group.createdAt`, `customer_group`.`updated_at` as `customer_group.updatedAt`, `customer_group.translation.name`, COALESCE(`customer_group.translation.name`,`customer_group.translation.name`) as `customer_group.name`, `customer_group.translation.registrationTitle`, COALESCE(`customer_group.translation.registrationTitle`,`customer_group.translation.registrationTitle`) as `customer_group.registrationTitle`, `customer_group.translation.registrationIntroduction`, COALESCE(`customer_group.translation.registrationIntroduction`,`customer_group.translation.registrationIntroduction`) as `customer_group.registrationIntroduction`, `customer_group.translation.registrationOnlyCompanyRegistration`, COALESCE(`customer_group.translation.registrationOnlyCompanyRegistration`,`customer_group.translation.registrationOnlyCompanyRegistration`) as `customer_group.registrationOnlyCompanyRegistration`, `customer_group.translation.registrationSeoMetaDescription`, COALESCE(`customer_group.translation.registrationSeoMetaDescription`,`customer_group.translation.registrationSeoMetaDescription`) as `customer_group.registrationSeoMetaDescription`, `customer_group.translation.customFields`, COALESCE(`customer_group.translation.customFields`,`customer_group.translation.customFields`) as `customer_group.customFields`, `customer_group.translation.createdAt`, `customer_group.translation.updatedAt`, `customer_group.translation.customerGroupId`, `customer_group.translation.languageId` FROM `customer_group` LEFT JOIN (SELECT `customer_group.translation`.customer_group_id, `customer_group.translation`.name as `customer_group.translation.name`, `customer_group.translation`.registration_title as `customer_group.translation.registrationTitle`, `customer_group.translation`.registration_introduction as `customer_group.translation.registrationIntroduction`, `customer_group.translation`.registration_only_company_registration as `customer_group.translation.registrationOnlyCompanyRegistration`, `customer_group.translation`.registration_seo_meta_description as `customer_group.translation.registrationSeoMetaDescription`, `customer_group.translation`.custom_fields as `customer_group.translation.customFields`, `customer_group.translation`.created_at as `customer_group.translation.createdAt`, `customer_group.translation`.updated_at as `customer_group.translation.updatedAt`, `customer_group.translation`.customer_group_id as `customer_group.translation.customerGroupId`, `customer_group.translation`.language_id as `customer_group.translation.languageId` FROM `customer_group_translation` `customer_group.translation` WHERE `customer_group.translation`.language_id = :languageId) `customer_group.customer_group_translation` ON `customer_group.customer_group_translation`.`customer_group_id` = `customer_group`.`id` WHERE `customer_group`.`id` IN (:ids)
SELECT `customer_group`.`id` as `customer_group.id`, `customer_group`.`display_gross` as `customer_group.displayGross`, `customer_group`.`registration_active` as `customer_group.registrationActive`, `customer_group`.`created_at` as `customer_group.createdAt`, `customer_group`.`updated_at` as `customer_group.updatedAt`, `customer_group.translation.name`, COALESCE(`customer_group.translation.name`,`customer_group.translation.name`) as `customer_group.name`, `customer_group.translation.registrationTitle`, COALESCE(`customer_group.translation.registrationTitle`,`customer_group.translation.registrationTitle`) as `customer_group.registrationTitle`, `customer_group.translation.registrationIntroduction`, COALESCE(`customer_group.translation.registrationIntroduction`,`customer_group.translation.registrationIntroduction`) as `customer_group.registrationIntroduction`, `customer_group.translation.registrationOnlyCompanyRegistration`, COALESCE(`customer_group.translation.registrationOnlyCompanyRegistration`,`customer_group.translation.registrationOnlyCompanyRegistration`) as `customer_group.registrationOnlyCompanyRegistration`, `customer_group.translation.registrationSeoMetaDescription`, COALESCE(`customer_group.translation.registrationSeoMetaDescription`,`customer_group.translation.registrationSeoMetaDescription`) as `customer_group.registrationSeoMetaDescription`, `customer_group.translation.customFields`, COALESCE(`customer_group.translation.customFields`,`customer_group.translation.customFields`) as `customer_group.customFields`, `customer_group.translation.createdAt`, `customer_group.translation.updatedAt`, `customer_group.translation.customerGroupId`, `customer_group.translation.languageId` FROM `customer_group` LEFT JOIN (SELECT `customer_group.translation`.customer_group_id, `customer_group.translation`.name as `customer_group.translation.name`, `customer_group.translation`.registration_title as `customer_group.translation.registrationTitle`, `customer_group.translation`.registration_introduction as `customer_group.translation.registrationIntroduction`, `customer_group.translation`.registration_only_company_registration as `customer_group.translation.registrationOnlyCompanyRegistration`, `customer_group.translation`.registration_seo_meta_description as `customer_group.translation.registrationSeoMetaDescription`, `customer_group.translation`.custom_fields as `customer_group.translation.customFields`, `customer_group.translation`.created_at as `customer_group.translation.createdAt`, `customer_group.translation`.updated_at as `customer_group.translation.updatedAt`, `customer_group.translation`.customer_group_id as `customer_group.translation.customerGroupId`, `customer_group.translation`.language_id as `customer_group.translation.languageId` FROM `customer_group_translation` `customer_group.translation` WHERE `customer_group.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `customer_group.customer_group_translation` ON `customer_group.customer_group_translation`.`customer_group_id` = `customer_group`.`id` WHERE `customer_group`.`id` IN (0x5AE79A78C29C4931BB3B58F6AEC66D4E);
array:32 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 242)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 316)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetch (line 148)"
4 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 93)"
5 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::read (line 257)"
6 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::read (line 286)"
7 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::_search (line 110)"
8 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::Shopware\Core\Framework\DataAbstractionLayer\{closure} (line 59)"
9 => "Shopware\Core\Profiling\Profiler::trace (line 111)"
10 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::search (line 51)"
11 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepositoryForwardCompatibilityDecorator::search (line 113)"
12 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextFactory::create (line 51)"
13 => "Shopware\Core\System\SalesChannel\Context\CachedSalesChannelContextFactory::create (line 103)"
14 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::Shopware\Core\System\SalesChannel\Context\{closure} (line 59)"
15 => "Shopware\Core\Profiling\Profiler::trace (line 111)"
16 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::get (line 105)"
17 => "Shopware\Core\Framework\Routing\SalesChannelRequestContextResolver::resolve (line 38)"
18 => "Shopware\Core\Framework\Routing\ContextResolverListener::resolveContext (line 118)"
19 => "Symfony\Component\EventDispatcher\Debug\WrappedListener::__invoke (line 230)"
20 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
21 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
22 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
23 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
24 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
25 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
26 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 151)"
27 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
28 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
29 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
30 => "Shopware\Core\HttpKernel::doHandle (line 81)"
31 => "Shopware\Core\HttpKernel::handle (line 85)"
]
|
26 |
0.65 ms |
SELECT `currency_country_rounding`.`id` FROM `currency_country_rounding` WHERE (`currency_country_rounding`.`currency_id` = :param_0ed3ac5b54284085b94c6a293b7641de AND `currency_country_rounding`.`country_id` = :param_c8834fa0b4204bfead0f239f9889af91) LIMIT 1
SELECT `currency_country_rounding`.`id` FROM `currency_country_rounding` WHERE (`currency_country_rounding`.`currency_id` = 0xB7D2554B0CE847CD82F3AC9BD1C0DFCA AND `currency_country_rounding`.`country_id` = 0x9BE34119165046CCAAF22F2A8FE524F9) LIMIT 1;
array:32 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 242)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 107)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntitySearcher::search (line 62)"
4 => "Shopware\Elasticsearch\Framework\DataAbstractionLayer\ElasticsearchEntitySearcher::search (line 132)"
5 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::searchIds (line 291)"
6 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::_search (line 110)"
7 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::Shopware\Core\Framework\DataAbstractionLayer\{closure} (line 59)"
8 => "Shopware\Core\Profiling\Profiler::trace (line 111)"
9 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::search (line 51)"
10 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepositoryForwardCompatibilityDecorator::search (line 318)"
11 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextFactory::getCashRounding (line 122)"
12 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextFactory::create (line 51)"
13 => "Shopware\Core\System\SalesChannel\Context\CachedSalesChannelContextFactory::create (line 103)"
14 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::Shopware\Core\System\SalesChannel\Context\{closure} (line 59)"
15 => "Shopware\Core\Profiling\Profiler::trace (line 111)"
16 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::get (line 105)"
17 => "Shopware\Core\Framework\Routing\SalesChannelRequestContextResolver::resolve (line 38)"
18 => "Shopware\Core\Framework\Routing\ContextResolverListener::resolveContext (line 118)"
19 => "Symfony\Component\EventDispatcher\Debug\WrappedListener::__invoke (line 230)"
20 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
21 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
22 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
23 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
24 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
25 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
26 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 151)"
27 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
28 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
29 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
30 => "Shopware\Core\HttpKernel::doHandle (line 81)"
31 => "Shopware\Core\HttpKernel::handle (line 85)"
]
|
27 |
0.41 ms |
SHOW COLUMNS FROM `cart` WHERE `Field` LIKE :column
SHOW COLUMNS FROM `cart` WHERE `Field` LIKE 'payload';
array:25 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 734)"
2 => "Doctrine\DBAL\Connection::fetchOne (line 52)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityDefinitionQueryHelper::columnExists (line 169)"
4 => "Shopware\Core\Checkout\Cart\CartPersister::payloadExists (line 52)"
5 => "Shopware\Core\Checkout\Cart\CartPersister::load (line 81)"
6 => "Shopware\Core\Checkout\Cart\CartRuleLoader::loadByToken (line 106)"
7 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::Shopware\Core\System\SalesChannel\Context\{closure} (line 59)"
8 => "Shopware\Core\Profiling\Profiler::trace (line 111)"
9 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::get (line 105)"
10 => "Shopware\Core\Framework\Routing\SalesChannelRequestContextResolver::resolve (line 38)"
11 => "Shopware\Core\Framework\Routing\ContextResolverListener::resolveContext (line 118)"
12 => "Symfony\Component\EventDispatcher\Debug\WrappedListener::__invoke (line 230)"
13 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
14 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
15 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
16 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
17 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
18 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
19 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 151)"
20 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
21 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
22 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
23 => "Shopware\Core\HttpKernel::doHandle (line 81)"
24 => "Shopware\Core\HttpKernel::handle (line 85)"
]
|
28 |
0.89 ms |
SELECT `cart`.`cart` as payload, `cart`.`rule_ids`, 0 as `compressed` FROM cart WHERE `token` = :token
SELECT `cart`.`cart` as payload, `cart`.`rule_ids`, 0 as `compressed` FROM cart WHERE `token` = '7aSeDPr57A6wUfIr0nABc3OScHIxIHf5';
array:23 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 684)"
2 => "Doctrine\DBAL\Connection::fetchAssociative (line 62)"
3 => "Shopware\Core\Checkout\Cart\CartPersister::load (line 81)"
4 => "Shopware\Core\Checkout\Cart\CartRuleLoader::loadByToken (line 106)"
5 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::Shopware\Core\System\SalesChannel\Context\{closure} (line 59)"
6 => "Shopware\Core\Profiling\Profiler::trace (line 111)"
7 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::get (line 105)"
8 => "Shopware\Core\Framework\Routing\SalesChannelRequestContextResolver::resolve (line 38)"
9 => "Shopware\Core\Framework\Routing\ContextResolverListener::resolveContext (line 118)"
10 => "Symfony\Component\EventDispatcher\Debug\WrappedListener::__invoke (line 230)"
11 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
12 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
13 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
14 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
15 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
16 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
17 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 151)"
18 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
19 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
20 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
21 => "Shopware\Core\HttpKernel::doHandle (line 81)"
22 => "Shopware\Core\HttpKernel::handle (line 85)"
]
|
29 |
0.99 ms |
SELECT `rule`.`id` FROM `rule` ORDER BY `rule`.`priority` DESC, `rule`.`id` ASC LIMIT 500
SELECT `rule`.`id` FROM `rule` ORDER BY `rule`.`priority` DESC, `rule`.`id` ASC LIMIT 500;
array:40 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 242)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 107)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntitySearcher::search (line 62)"
4 => "Shopware\Elasticsearch\Framework\DataAbstractionLayer\ElasticsearchEntitySearcher::search (line 132)"
5 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::searchIds (line 291)"
6 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::_search (line 110)"
7 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::Shopware\Core\Framework\DataAbstractionLayer\{closure} (line 59)"
8 => "Shopware\Core\Profiling\Profiler::trace (line 111)"
9 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::search (line 51)"
10 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepositoryForwardCompatibilityDecorator::search (line 101)"
11 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\Common\RepositoryIterator::fetch (line 43)"
12 => "Shopware\Core\Checkout\Cart\RuleLoader::load (line 36)"
13 => "Shopware\Core\Checkout\Cart\CachedRuleLoader::Shopware\Core\Checkout\Cart\{closure} (line 72)"
14 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
15 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 37)"
16 => "Shopware\Core\Checkout\Cart\CachedRuleLoader::load (line 192)"
17 => "Shopware\Core\Checkout\Cart\CartRuleLoader::loadRules (line 111)"
18 => "Shopware\Core\Checkout\Cart\CartRuleLoader::Shopware\Core\Checkout\Cart\{closure} (line 59)"
19 => "Shopware\Core\Profiling\Profiler::trace (line 183)"
20 => "Shopware\Core\Checkout\Cart\CartRuleLoader::load (line 83)"
21 => "Shopware\Core\Checkout\Cart\CartRuleLoader::loadByToken (line 106)"
22 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::Shopware\Core\System\SalesChannel\Context\{closure} (line 59)"
23 => "Shopware\Core\Profiling\Profiler::trace (line 111)"
24 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::get (line 105)"
25 => "Shopware\Core\Framework\Routing\SalesChannelRequestContextResolver::resolve (line 38)"
26 => "Shopware\Core\Framework\Routing\ContextResolverListener::resolveContext (line 118)"
27 => "Symfony\Component\EventDispatcher\Debug\WrappedListener::__invoke (line 230)"
28 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
29 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
30 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
31 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
32 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
33 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
34 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 151)"
35 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
36 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
37 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
38 => "Shopware\Core\HttpKernel::doHandle (line 81)"
39 => "Shopware\Core\HttpKernel::handle (line 85)"
]
|
30 |
1.02 ms |
SELECT `rule`.`id` as `rule.id`, `rule`.`name` as `rule.name`, `rule`.`priority` as `rule.priority`, `rule`.`description` as `rule.description`, `rule`.`payload` as `rule.payload`, `rule`.`invalid` as `rule.invalid`, `rule`.`areas` as `rule.areas`, `rule`.`custom_fields` as `rule.customFields`, `rule`.`module_types` as `rule.moduleTypes`, `rule`.`created_at` as `rule.createdAt`, `rule`.`updated_at` as `rule.updatedAt` FROM `rule` WHERE `rule`.`id` IN (:ids)
SELECT `rule`.`id` as `rule.id`, `rule`.`name` as `rule.name`, `rule`.`priority` as `rule.priority`, `rule`.`description` as `rule.description`, `rule`.`payload` as `rule.payload`, `rule`.`invalid` as `rule.invalid`, `rule`.`areas` as `rule.areas`, `rule`.`custom_fields` as `rule.customFields`, `rule`.`module_types` as `rule.moduleTypes`, `rule`.`created_at` as `rule.createdAt`, `rule`.`updated_at` as `rule.updatedAt` FROM `rule` WHERE `rule`.`id` IN (0x2C5979BDE370480BA5148FE1D37CBC61, 0x948B9F2BF5B34344A464657A68510B20, 0xA626675FA3A24C02B9A07D0E817A5FEB, 0xC1E7D4681B2B4159A7D06587DB3ED179, 0xDF617F1429E54D0BBCDA3A1B18AC2EAD, 0xB6DC17D1E0374BC3B8640B4A089C4888, 0x0F24599CA5F4402096A9A765E3236C76, 0x2038598BC524495CAE7FEF52B15461C5, 0x362535DEE6874D4F8E7B266A9E616180, 0x48A86B2DB99C4879A72D35F6ACED5E94, 0x84D8BEB74BA8456F8192B0FF96E030B6, 0xF4B5E6D02D3541408FA801B47E30DE0E, 0xF65E2CE6FC884CFCB90A3EE2C891D46D, 0x7A790E1BD36C489E8BE87E33661F2436, 0x7B8460E10A734A26B2DCC772613D30AF, 0xE04C4B406F7A44D7ACABD44BD375C281, 0xF64EB2EC17AE4A2FAA62F5260F5CE2EF);
array:41 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 242)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 316)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetch (line 148)"
4 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 93)"
5 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::read (line 257)"
6 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::read (line 302)"
7 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::_search (line 110)"
8 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::Shopware\Core\Framework\DataAbstractionLayer\{closure} (line 59)"
9 => "Shopware\Core\Profiling\Profiler::trace (line 111)"
10 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::search (line 51)"
11 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepositoryForwardCompatibilityDecorator::search (line 101)"
12 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\Common\RepositoryIterator::fetch (line 43)"
13 => "Shopware\Core\Checkout\Cart\RuleLoader::load (line 36)"
14 => "Shopware\Core\Checkout\Cart\CachedRuleLoader::Shopware\Core\Checkout\Cart\{closure} (line 72)"
15 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
16 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 37)"
17 => "Shopware\Core\Checkout\Cart\CachedRuleLoader::load (line 192)"
18 => "Shopware\Core\Checkout\Cart\CartRuleLoader::loadRules (line 111)"
19 => "Shopware\Core\Checkout\Cart\CartRuleLoader::Shopware\Core\Checkout\Cart\{closure} (line 59)"
20 => "Shopware\Core\Profiling\Profiler::trace (line 183)"
21 => "Shopware\Core\Checkout\Cart\CartRuleLoader::load (line 83)"
22 => "Shopware\Core\Checkout\Cart\CartRuleLoader::loadByToken (line 106)"
23 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::Shopware\Core\System\SalesChannel\Context\{closure} (line 59)"
24 => "Shopware\Core\Profiling\Profiler::trace (line 111)"
25 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::get (line 105)"
26 => "Shopware\Core\Framework\Routing\SalesChannelRequestContextResolver::resolve (line 38)"
27 => "Shopware\Core\Framework\Routing\ContextResolverListener::resolveContext (line 118)"
28 => "Symfony\Component\EventDispatcher\Debug\WrappedListener::__invoke (line 230)"
29 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
30 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
31 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
32 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
33 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
34 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
35 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 151)"
36 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
37 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
38 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
39 => "Shopware\Core\HttpKernel::doHandle (line 81)"
40 => "Shopware\Core\HttpKernel::handle (line 85)"
]
|
31 |
1.37 ms |
SELECT `product`.`id`, `product`.`product_number`, `product`.`auto_increment` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN `product_visibility` `product.visibilities` ON `product`.`visibilities` = `product.visibilities`.`product_id` AND `product`.version_id = `product.visibilities`.product_version_id WHERE (`product`.`version_id` = :version) AND ((((`product.visibilities`.`visibility` >= :param_1e6b3bcd7d7045e796d2d8bb6c48572d) AND `product.visibilities`.`sales_channel_id` = :param_b4082ad4b1e94aaea273ab71d9a473c6 AND IFNULL(`product`.`active`, `product.parent`.`active`) = :param_269e22ab1cdf4af282af1ffdd3534e77))) AND (`product`.`id` IN (:ids)) GROUP BY `product`.`id`
SELECT `product`.`id`, `product`.`product_number`, `product`.`auto_increment` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN `product_visibility` `product.visibilities` ON `product`.`visibilities` = `product.visibilities`.`product_id` AND `product`.version_id = `product.visibilities`.product_version_id WHERE (`product`.`version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425) AND ((((`product.visibilities`.`visibility` >= 10) AND `product.visibilities`.`sales_channel_id` = 0x4EB9108BE4654CC9B140D14DE85579E9 AND IFNULL(`product`.`active`, `product.parent`.`active`) = 1))) AND (`product`.`id` IN (0xA963C07A18E943B5B61CCF2C13CB9130, 0xD165608E94124F1ABB16BA3C10144066, 0x21CDD7FFFEC045AD90A996EFE4E1319C, 0xB8DF780CBB824ABCB4FBD443778DEADE, 0x10172BF11A374B46B879CB5B7D409191, 0x2574C1D75A5F48D8B04E4F0ACEE29E06, 0xA6E1388B6C9243DA9DBEC02164D64E63, 0x1994DABAF30A4F58B9BA047B86A9F89A, 0x606C17FE2D504510AA70DFB6C464B276, 0x247F98BF07564389B6A8D66B801A910C, 0x5016F7E84A3E4D4F9A5178987ADA6A77, 0xB432E8449FA34F6298A1B95CEBEC4664, 0xFFF10829327947A597F7CF74F82F72D3, 0x521A315C46AA4FAEAE2EC4F5521B425F, 0x1A29C278F31440B195869BCBE96F8A6E, 0x98396D42CE8B42568E9C81BC3780027C, 0x1301813EFF234EECAD6A967E57D0CD77, 0x2CEAF5C8DFB94C7D84C003BEB6EFBAD7, 0x1D446FAD38EF425A993834F545C7696F, 0x980954B8643642CE92D9D54FCD0DEDB5, 0x4DFBD7B068CF4EAD85CEAEBA2A75D3FF, 0x62FD22D7EC2A4A6C86D2F9764FC8AE72, 0x45477DE48947482693B83BA883822C4C, 0x379E3CA366CF4814A8702F4F4DC01D0B, 0xE8952557863C46F5B1074D52D84EA9FD, 0x4F3851EF49E54DF2BCC5D4E1BA574CDB, 0x2EE9CBF22438490C941D8FB58E754063, 0xF3BAFEA4602B4D9D8C9C7C37C9555813, 0x918EC53474924911BF421C9B1C22829E, 0x0D281F6FBC5F4B36926D104DAB40F116, 0x039588C24E8D4085A567726D690A7FB1, 0x8C19A5E15C644D799A0A60985B6962AF, 0x319A8F4815FD488EA8EAC21E147D89E3)) GROUP BY `product`.`id`;
array:38 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 242)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 107)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntitySearcher::search (line 62)"
4 => "Shopware\Elasticsearch\Framework\DataAbstractionLayer\ElasticsearchEntitySearcher::search (line 216)"
5 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::doSearch (line 122)"
6 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 36)"
7 => "Swag\PayPal\Util\Compatibility\SalesChannelRepositoryDecorator::search (line 51)"
8 => "Shopware\Core\Content\Product\Cart\ProductGateway::get (line 92)"
9 => "Shopware\Core\Content\Product\Cart\ProductCartProcessor::Shopware\Core\Content\Product\Cart\{closure} (line 59)"
10 => "Shopware\Core\Profiling\Profiler::trace (line 128)"
11 => "Shopware\Core\Content\Product\Cart\ProductCartProcessor::collect (line 103)"
12 => "Shopware\Core\Checkout\Cart\Processor::runProcessors (line 67)"
13 => "Shopware\Core\Checkout\Cart\Processor::Shopware\Core\Checkout\Cart\{closure} (line 59)"
14 => "Shopware\Core\Profiling\Profiler::trace (line 86)"
15 => "Shopware\Core\Checkout\Cart\Processor::process (line 132)"
16 => "Shopware\Core\Checkout\Cart\CartRuleLoader::Shopware\Core\Checkout\Cart\{closure} (line 59)"
17 => "Shopware\Core\Profiling\Profiler::trace (line 183)"
18 => "Shopware\Core\Checkout\Cart\CartRuleLoader::load (line 83)"
19 => "Shopware\Core\Checkout\Cart\CartRuleLoader::loadByToken (line 106)"
20 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::Shopware\Core\System\SalesChannel\Context\{closure} (line 59)"
21 => "Shopware\Core\Profiling\Profiler::trace (line 111)"
22 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::get (line 105)"
23 => "Shopware\Core\Framework\Routing\SalesChannelRequestContextResolver::resolve (line 38)"
24 => "Shopware\Core\Framework\Routing\ContextResolverListener::resolveContext (line 118)"
25 => "Symfony\Component\EventDispatcher\Debug\WrappedListener::__invoke (line 230)"
26 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
27 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
28 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
29 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
30 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
31 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
32 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 151)"
33 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
34 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
35 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
36 => "Shopware\Core\HttpKernel::doHandle (line 81)"
37 => "Shopware\Core\HttpKernel::handle (line 85)"
]
|
32 |
22.83 ms |
SELECT `product`.`id` as `product.id`, `product`.`version_id` as `product.versionId`, `product`.`parent_id` as `product.parentId`, `product`.`parent_version_id` as `product.parentVersionId`, COALESCE(`product`.`product_manufacturer_id`, `product.parent`.`product_manufacturer_id`) as `product.manufacturerId`, COALESCE(`product`.`product_manufacturer_version_id`, `product.parent`.`product_manufacturer_version_id`) as `product.productManufacturerVersionId`, COALESCE(`product`.`unit_id`, `product.parent`.`unit_id`) as `product.unitId`, COALESCE(`product`.`tax_id`, `product.parent`.`tax_id`) as `product.taxId`, COALESCE(`product`.`product_media_id`, `product.parent`.`product_media_id`) as `product.coverId`, COALESCE(`product`.`product_media_version_id`, `product.parent`.`product_media_version_id`) as `product.productMediaVersionId`, COALESCE(`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`) as `product.deliveryTimeId`, COALESCE(`product`.`product_feature_set_id`, `product.parent`.`product_feature_set_id`) as `product.featureSetId`, COALESCE(`product`.`canonical_product_id`, `product.parent`.`canonical_product_id`) as `product.canonicalProductId`, COALESCE(`product`.`cms_page_id`, `product.parent`.`cms_page_id`) as `product.cmsPageId`, COALESCE(`product`.`cms_page_version_id`, `product.parent`.`cms_page_version_id`) as `product.cmsPageVersionId`, `product.parent`.`price` as `product.price.inherited`, COALESCE(`product`.`price`, `product.parent`.`price`) as `product.price`, `product`.`product_number` as `product.productNumber`, `product`.`stock` as `product.stock`, COALESCE(`product`.`restock_time`, `product.parent`.`restock_time`) as `product.restockTime`, `product`.`auto_increment` as `product.autoIncrement`, COALESCE(`product`.`active`, `product.parent`.`active`) as `product.active`, `product`.`available_stock` as `product.availableStock`, `product`.`available` as `product.available`, COALESCE(`product`.`is_closeout`, `product.parent`.`is_closeout`) as `product.isCloseout`, `product`.`display_group` as `product.displayGroup`, `product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`, COALESCE(`product`.`configurator_group_config`, `product.parent`.`configurator_group_config`) as `product.configuratorGroupConfig`, COALESCE(`product`.`main_variant_id`, `product.parent`.`main_variant_id`) as `product.mainVariantId`, COALESCE(`product`.`display_parent`, `product.parent`.`display_parent`) as `product.displayParent`, `product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`, COALESCE(`product`.`variant_listing_config`, `product.parent`.`variant_listing_config`) as `product.variantListingConfig`, `product`.`variant_restrictions` as `product.variantRestrictions`, COALESCE(`product`.`manufacturer_number`, `product.parent`.`manufacturer_number`) as `product.manufacturerNumber`, COALESCE(`product`.`ean`, `product.parent`.`ean`) as `product.ean`, COALESCE(`product`.`purchase_steps`, `product.parent`.`purchase_steps`) as `product.purchaseSteps`, COALESCE(`product`.`max_purchase`, `product.parent`.`max_purchase`) as `product.maxPurchase`, COALESCE(`product`.`min_purchase`, `product.parent`.`min_purchase`) as `product.minPurchase`, COALESCE(`product`.`purchase_unit`, `product.parent`.`purchase_unit`) as `product.purchaseUnit`, COALESCE(`product`.`reference_unit`, `product.parent`.`reference_unit`) as `product.referenceUnit`, COALESCE(`product`.`shipping_free`, `product.parent`.`shipping_free`) as `product.shippingFree`, `product.parent`.`purchase_prices` as `product.purchasePrices.inherited`, COALESCE(`product`.`purchase_prices`, `product.parent`.`purchase_prices`) as `product.purchasePrices`, COALESCE(`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`) as `product.markAsTopseller`, COALESCE(`product`.`weight`, `product.parent`.`weight`) as `product.weight`, COALESCE(`product`.`width`, `product.parent`.`width`) as `product.width`, COALESCE(`product`.`height`, `product.parent`.`height`) as `product.height`, COALESCE(`product`.`length`, `product.parent`.`length`) as `product.length`, COALESCE(`product`.`release_date`, `product.parent`.`release_date`) as `product.releaseDate`, COALESCE(`product`.`rating_average`, `product.parent`.`rating_average`) as `product.ratingAverage`, `product.parent`.`category_tree` as `product.categoryTree.inherited`, COALESCE(`product`.`category_tree`, `product.parent`.`category_tree`) as `product.categoryTree`, `product.parent`.`property_ids` as `product.propertyIds.inherited`, COALESCE(`product`.`property_ids`, `product.parent`.`property_ids`) as `product.propertyIds`, `product.parent`.`option_ids` as `product.optionIds.inherited`, COALESCE(`product`.`option_ids`, `product.parent`.`option_ids`) as `product.optionIds`, `product.parent`.`stream_ids` as `product.streamIds.inherited`, COALESCE(`product`.`stream_ids`, `product.parent`.`stream_ids`) as `product.streamIds`, `product.parent`.`tag_ids` as `product.tagIds.inherited`, COALESCE(`product`.`tag_ids`, `product.parent`.`tag_ids`) as `product.tagIds`, `product.parent`.`category_ids` as `product.categoryIds.inherited`, COALESCE(`product`.`category_ids`, `product.parent`.`category_ids`) as `product.categoryIds`, `product`.`child_count` as `product.childCount`, COALESCE(`product`.`custom_field_set_selection_active`, `product.parent`.`custom_field_set_selection_active`) as `product.customFieldSetSelectionActive`, `product`.`sales` as `product.sales`, `product`.`states` as `product.states`, `product.tax`.`id` as `product.tax.id`, `product.tax`.`tax_rate` as `product.tax.taxRate`, `product.tax`.`name` as `product.tax.name`, `product.tax`.`position` as `product.tax.position`, `product.tax`.`custom_fields` as `product.tax.customFields`, `product.tax`.`created_at` as `product.tax.createdAt`, `product.tax`.`updated_at` as `product.tax.updatedAt`, `product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`, COALESCE(`product`.`cheapest_price`, `product.parent`.`cheapest_price`) as `product.cheapestPrice`, `product`.`created_at` as `product.createdAt`, `product`.`updated_at` as `product.updatedAt`, `product.cover`.`id` as `product.cover.id`, `product.cover`.`version_id` as `product.cover.versionId`, `product.cover`.`product_id` as `product.cover.productId`, `product.cover`.`product_version_id` as `product.cover.productVersionId`, `product.cover`.`media_id` as `product.cover.mediaId`, `product.cover`.`position` as `product.cover.position`, `product.cover.media`.`id` as `product.cover.media.id`, `product.cover.media`.`user_id` as `product.cover.media.userId`, `product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`, `product.cover.media`.`mime_type` as `product.cover.media.mimeType`, `product.cover.media`.`file_extension` as `product.cover.media.fileExtension`, `product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`, `product.cover.media`.`file_name` as `product.cover.media.fileName`, `product.cover.media`.`file_size` as `product.cover.media.fileSize`, `product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`, `product.cover.media`.`meta_data` as `product.cover.media.metaData`, `product.cover.media`.`private` as `product.cover.media.private`, `product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`, `product.cover.media`.`created_at` as `product.cover.media.createdAt`, `product.cover.media`.`updated_at` as `product.cover.media.updatedAt`, `product.cover.media.translation.title`, COALESCE(`product.cover.media.translation.title`,`product.cover.media.translation.title`) as `product.cover.media.title`, `product.cover.media.translation.alt`, COALESCE(`product.cover.media.translation.alt`,`product.cover.media.translation.alt`) as `product.cover.media.alt`, `product.cover.media.translation.customFields`, COALESCE(`product.cover.media.translation.customFields`,`product.cover.media.translation.customFields`) as `product.cover.media.customFields`, `product.cover.media.translation.createdAt`, `product.cover.media.translation.updatedAt`, `product.cover.media.translation.mediaId`, `product.cover.media.translation.languageId`, `product.cover`.`custom_fields` as `product.cover.customFields`, `product.cover`.`created_at` as `product.cover.createdAt`, `product.cover`.`updated_at` as `product.cover.updatedAt`, (SELECT GROUP_CONCAT(HEX(`product.options.mapping`.`property_group_option_id`) SEPARATOR '||')
FROM `product_option` `product.options.mapping`
WHERE `product.options.mapping`.`product_id` = `product`.`id` ) as `product.options.id_mapping`, `product.featureSet`.`id` as `product.featureSet.id`, `product.featureSet`.`features` as `product.featureSet.features`, `product.featureSet`.`created_at` as `product.featureSet.createdAt`, `product.featureSet`.`updated_at` as `product.featureSet.updatedAt`, `product.featureSet.translation.name`, COALESCE(`product.featureSet.translation.name`,`product.featureSet.translation.name`) as `product.featureSet.name`, `product.featureSet.translation.description`, COALESCE(`product.featureSet.translation.description`,`product.featureSet.translation.description`) as `product.featureSet.description`, `product.featureSet.translation.createdAt`, `product.featureSet.translation.updatedAt`, `product.featureSet.translation.productFeatureSetId`, `product.featureSet.translation.languageId`, (SELECT GROUP_CONCAT(HEX(`product.properties.mapping`.`property_group_option_id`) SEPARATOR '||')
FROM `product_property` `product.properties.mapping`
WHERE `product.properties.mapping`.`product_id` = `product`.`properties` ) as `product.properties.id_mapping`, `product.unit`.`id` as `product.unit.id`, `product.unit`.`created_at` as `product.unit.createdAt`, `product.unit`.`updated_at` as `product.unit.updatedAt`, `product.unit.translation.shortCode`, COALESCE(`product.unit.translation.shortCode`,`product.unit.translation.shortCode`) as `product.unit.shortCode`, `product.unit.translation.name`, COALESCE(`product.unit.translation.name`,`product.unit.translation.name`) as `product.unit.name`, `product.unit.translation.customFields`, COALESCE(`product.unit.translation.customFields`,`product.unit.translation.customFields`) as `product.unit.customFields`, `product.unit.translation.createdAt`, `product.unit.translation.updatedAt`, `product.unit.translation.unitId`, `product.unit.translation.languageId`, `product.deliveryTime`.`id` as `product.deliveryTime.id`, `product.deliveryTime`.`min` as `product.deliveryTime.min`, `product.deliveryTime`.`max` as `product.deliveryTime.max`, `product.deliveryTime`.`unit` as `product.deliveryTime.unit`, `product.deliveryTime`.`created_at` as `product.deliveryTime.createdAt`, `product.deliveryTime`.`updated_at` as `product.deliveryTime.updatedAt`, `product.deliveryTime.translation.name`, COALESCE(`product.deliveryTime.translation.name`,`product.deliveryTime.translation.name`) as `product.deliveryTime.name`, `product.deliveryTime.translation.customFields`, COALESCE(`product.deliveryTime.translation.customFields`,`product.deliveryTime.translation.customFields`) as `product.deliveryTime.customFields`, `product.deliveryTime.translation.createdAt`, `product.deliveryTime.translation.updatedAt`, `product.deliveryTime.translation.deliveryTimeId`, `product.deliveryTime.translation.languageId`, `product.translation.metaDescription`, `product.parent.translation.metaDescription`, COALESCE(`product.translation.metaDescription`,`product.parent.translation.metaDescription`,`product.translation.metaDescription`) as `product.metaDescription`, `product.translation.name`, `product.parent.translation.name`, COALESCE(`product.translation.name`,`product.parent.translation.name`,`product.translation.name`) as `product.name`, `product.translation.keywords`, `product.parent.translation.keywords`, COALESCE(`product.translation.keywords`,`product.parent.translation.keywords`,`product.translation.keywords`) as `product.keywords`, `product.translation.description`, `product.parent.translation.description`, COALESCE(`product.translation.description`,`product.parent.translation.description`,`product.translation.description`) as `product.description`, `product.translation.metaTitle`, `product.parent.translation.metaTitle`, COALESCE(`product.translation.metaTitle`,`product.parent.translation.metaTitle`,`product.translation.metaTitle`) as `product.metaTitle`, `product.translation.packUnit`, `product.parent.translation.packUnit`, COALESCE(`product.translation.packUnit`,`product.parent.translation.packUnit`,`product.translation.packUnit`) as `product.packUnit`, `product.translation.packUnitPlural`, `product.parent.translation.packUnitPlural`, COALESCE(`product.translation.packUnitPlural`,`product.parent.translation.packUnitPlural`,`product.translation.packUnitPlural`) as `product.packUnitPlural`, `product.translation.customSearchKeywords`, `product.parent.translation.customSearchKeywords`, COALESCE(`product.translation.customSearchKeywords`,`product.parent.translation.customSearchKeywords`,`product.translation.customSearchKeywords`) as `product.customSearchKeywords`, `product.translation.slotConfig`, `product.parent.translation.slotConfig`, COALESCE(`product.translation.slotConfig`,`product.parent.translation.slotConfig`,`product.translation.slotConfig`) as `product.slotConfig`, `product.translation.customFields`, `product.parent.translation.customFields`, COALESCE(`product.translation.customFields`,`product.parent.translation.customFields`,`product.translation.customFields`) as `product.customFields`, `product.translation.createdAt`, `product.parent.translation.createdAt`, `product.translation.updatedAt`, `product.parent.translation.updatedAt`, `product.translation.productId`, `product.parent.translation.productId`, `product.translation.languageId`, `product.parent.translation.languageId`, `product.translation.productVersionId`, `product.parent.translation.productVersionId` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN (SELECT `product.translation`.product_id, `product.translation`.product_version_id, `product.translation`.meta_description as `product.translation.metaDescription`, `product.translation`.name as `product.translation.name`, `product.translation`.keywords as `product.translation.keywords`, `product.translation`.description as `product.translation.description`, `product.translation`.meta_title as `product.translation.metaTitle`, `product.translation`.pack_unit as `product.translation.packUnit`, `product.translation`.pack_unit_plural as `product.translation.packUnitPlural`, `product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`, `product.translation`.slot_config as `product.translation.slotConfig`, `product.translation`.custom_fields as `product.translation.customFields`, `product.translation`.created_at as `product.translation.createdAt`, `product.translation`.updated_at as `product.translation.updatedAt`, `product.translation`.product_id as `product.translation.productId`, `product.translation`.language_id as `product.translation.languageId`, `product.translation`.product_version_id as `product.translation.productVersionId` FROM `product_translation` `product.translation` WHERE `product.translation`.language_id = :languageId) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id` AND `product.product_translation`.product_version_id = `product`.version_id LEFT JOIN (SELECT `product.parent.translation`.product_id, `product.parent.translation`.product_version_id, `product.parent.translation`.meta_description as `product.parent.translation.metaDescription`, `product.parent.translation`.name as `product.parent.translation.name`, `product.parent.translation`.keywords as `product.parent.translation.keywords`, `product.parent.translation`.description as `product.parent.translation.description`, `product.parent.translation`.meta_title as `product.parent.translation.metaTitle`, `product.parent.translation`.pack_unit as `product.parent.translation.packUnit`, `product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`, `product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`, `product.parent.translation`.slot_config as `product.parent.translation.slotConfig`, `product.parent.translation`.custom_fields as `product.parent.translation.customFields`, `product.parent.translation`.created_at as `product.parent.translation.createdAt`, `product.parent.translation`.updated_at as `product.parent.translation.updatedAt`, `product.parent.translation`.product_id as `product.parent.translation.productId`, `product.parent.translation`.language_id as `product.parent.translation.languageId`, `product.parent.translation`.product_version_id as `product.parent.translation.productVersionId` FROM `product_translation` `product.parent.translation` WHERE `product.parent.translation`.language_id = :languageId) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id` AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id` LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id` AND `product`.`version_id` = `product.cover`.`version_id` LEFT JOIN `product_feature_set` `product.featureSet` ON `product`.`featureSet` = `product.featureSet`.`id` LEFT JOIN `unit` `product.unit` ON `product`.`unit` = `product.unit`.`id` LEFT JOIN `delivery_time` `product.deliveryTime` ON `product`.`deliveryTime` = `product.deliveryTime`.`id` LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id` LEFT JOIN (SELECT `product.cover.media.translation`.media_id, `product.cover.media.translation`.title as `product.cover.media.translation.title`, `product.cover.media.translation`.alt as `product.cover.media.translation.alt`, `product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`, `product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`, `product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`, `product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`, `product.cover.media.translation`.language_id as `product.cover.media.translation.languageId` FROM `media_translation` `product.cover.media.translation` WHERE `product.cover.media.translation`.language_id = :languageId) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id` LEFT JOIN (SELECT `product.featureSet.translation`.product_feature_set_id, `product.featureSet.translation`.name as `product.featureSet.translation.name`, `product.featureSet.translation`.description as `product.featureSet.translation.description`, `product.featureSet.translation`.created_at as `product.featureSet.translation.createdAt`, `product.featureSet.translation`.updated_at as `product.featureSet.translation.updatedAt`, `product.featureSet.translation`.product_feature_set_id as `product.featureSet.translation.productFeatureSetId`, `product.featureSet.translation`.language_id as `product.featureSet.translation.languageId` FROM `product_feature_set_translation` `product.featureSet.translation` WHERE `product.featureSet.translation`.language_id = :languageId) `product.featureSet.product_feature_set_translation` ON `product.featureSet.product_feature_set_translation`.`product_feature_set_id` = `product.featureSet`.`id` LEFT JOIN (SELECT `product.unit.translation`.unit_id, `product.unit.translation`.short_code as `product.unit.translation.shortCode`, `product.unit.translation`.name as `product.unit.translation.name`, `product.unit.translation`.custom_fields as `product.unit.translation.customFields`, `product.unit.translation`.created_at as `product.unit.translation.createdAt`, `product.unit.translation`.updated_at as `product.unit.translation.updatedAt`, `product.unit.translation`.unit_id as `product.unit.translation.unitId`, `product.unit.translation`.language_id as `product.unit.translation.languageId` FROM `unit_translation` `product.unit.translation` WHERE `product.unit.translation`.language_id = :languageId) `product.unit.unit_translation` ON `product.unit.unit_translation`.`unit_id` = `product.unit`.`id` LEFT JOIN (SELECT `product.deliveryTime.translation`.delivery_time_id, `product.deliveryTime.translation`.name as `product.deliveryTime.translation.name`, `product.deliveryTime.translation`.custom_fields as `product.deliveryTime.translation.customFields`, `product.deliveryTime.translation`.created_at as `product.deliveryTime.translation.createdAt`, `product.deliveryTime.translation`.updated_at as `product.deliveryTime.translation.updatedAt`, `product.deliveryTime.translation`.delivery_time_id as `product.deliveryTime.translation.deliveryTimeId`, `product.deliveryTime.translation`.language_id as `product.deliveryTime.translation.languageId` FROM `delivery_time_translation` `product.deliveryTime.translation` WHERE `product.deliveryTime.translation`.language_id = :languageId) `product.deliveryTime.delivery_time_translation` ON `product.deliveryTime.delivery_time_translation`.`delivery_time_id` = `product.deliveryTime`.`id` WHERE (`product`.`version_id` = :version) AND (`product`.`id` IN (:ids))
SELECT
`product`.`id` as `product.id`,
`product`.`version_id` as `product.versionId`,
`product`.`parent_id` as `product.parentId`,
`product`.`parent_version_id` as `product.parentVersionId`,
COALESCE(
`product`.`product_manufacturer_id`,
`product.parent`.`product_manufacturer_id`
) as `product.manufacturerId`,
COALESCE(
`product`.`product_manufacturer_version_id`,
`product.parent`.`product_manufacturer_version_id`
) as `product.productManufacturerVersionId`,
COALESCE(
`product`.`unit_id`, `product.parent`.`unit_id`
) as `product.unitId`,
COALESCE(
`product`.`tax_id`, `product.parent`.`tax_id`
) as `product.taxId`,
COALESCE(
`product`.`product_media_id`, `product.parent`.`product_media_id`
) as `product.coverId`,
COALESCE(
`product`.`product_media_version_id`,
`product.parent`.`product_media_version_id`
) as `product.productMediaVersionId`,
COALESCE(
`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`
) as `product.deliveryTimeId`,
COALESCE(
`product`.`product_feature_set_id`,
`product.parent`.`product_feature_set_id`
) as `product.featureSetId`,
COALESCE(
`product`.`canonical_product_id`,
`product.parent`.`canonical_product_id`
) as `product.canonicalProductId`,
COALESCE(
`product`.`cms_page_id`, `product.parent`.`cms_page_id`
) as `product.cmsPageId`,
COALESCE(
`product`.`cms_page_version_id`,
`product.parent`.`cms_page_version_id`
) as `product.cmsPageVersionId`,
`product.parent`.`price` as `product.price.inherited`,
COALESCE(
`product`.`price`, `product.parent`.`price`
) as `product.price`,
`product`.`product_number` as `product.productNumber`,
`product`.`stock` as `product.stock`,
COALESCE(
`product`.`restock_time`, `product.parent`.`restock_time`
) as `product.restockTime`,
`product`.`auto_increment` as `product.autoIncrement`,
COALESCE(
`product`.`active`, `product.parent`.`active`
) as `product.active`,
`product`.`available_stock` as `product.availableStock`,
`product`.`available` as `product.available`,
COALESCE(
`product`.`is_closeout`, `product.parent`.`is_closeout`
) as `product.isCloseout`,
`product`.`display_group` as `product.displayGroup`,
`product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`,
COALESCE(
`product`.`configurator_group_config`,
`product.parent`.`configurator_group_config`
) as `product.configuratorGroupConfig`,
COALESCE(
`product`.`main_variant_id`, `product.parent`.`main_variant_id`
) as `product.mainVariantId`,
COALESCE(
`product`.`display_parent`, `product.parent`.`display_parent`
) as `product.displayParent`,
`product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`,
COALESCE(
`product`.`variant_listing_config`,
`product.parent`.`variant_listing_config`
) as `product.variantListingConfig`,
`product`.`variant_restrictions` as `product.variantRestrictions`,
COALESCE(
`product`.`manufacturer_number`,
`product.parent`.`manufacturer_number`
) as `product.manufacturerNumber`,
COALESCE(
`product`.`ean`, `product.parent`.`ean`
) as `product.ean`,
COALESCE(
`product`.`purchase_steps`, `product.parent`.`purchase_steps`
) as `product.purchaseSteps`,
COALESCE(
`product`.`max_purchase`, `product.parent`.`max_purchase`
) as `product.maxPurchase`,
COALESCE(
`product`.`min_purchase`, `product.parent`.`min_purchase`
) as `product.minPurchase`,
COALESCE(
`product`.`purchase_unit`, `product.parent`.`purchase_unit`
) as `product.purchaseUnit`,
COALESCE(
`product`.`reference_unit`, `product.parent`.`reference_unit`
) as `product.referenceUnit`,
COALESCE(
`product`.`shipping_free`, `product.parent`.`shipping_free`
) as `product.shippingFree`,
`product.parent`.`purchase_prices` as `product.purchasePrices.inherited`,
COALESCE(
`product`.`purchase_prices`, `product.parent`.`purchase_prices`
) as `product.purchasePrices`,
COALESCE(
`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`
) as `product.markAsTopseller`,
COALESCE(
`product`.`weight`, `product.parent`.`weight`
) as `product.weight`,
COALESCE(
`product`.`width`, `product.parent`.`width`
) as `product.width`,
COALESCE(
`product`.`height`, `product.parent`.`height`
) as `product.height`,
COALESCE(
`product`.`length`, `product.parent`.`length`
) as `product.length`,
COALESCE(
`product`.`release_date`, `product.parent`.`release_date`
) as `product.releaseDate`,
COALESCE(
`product`.`rating_average`, `product.parent`.`rating_average`
) as `product.ratingAverage`,
`product.parent`.`category_tree` as `product.categoryTree.inherited`,
COALESCE(
`product`.`category_tree`, `product.parent`.`category_tree`
) as `product.categoryTree`,
`product.parent`.`property_ids` as `product.propertyIds.inherited`,
COALESCE(
`product`.`property_ids`, `product.parent`.`property_ids`
) as `product.propertyIds`,
`product.parent`.`option_ids` as `product.optionIds.inherited`,
COALESCE(
`product`.`option_ids`, `product.parent`.`option_ids`
) as `product.optionIds`,
`product.parent`.`stream_ids` as `product.streamIds.inherited`,
COALESCE(
`product`.`stream_ids`, `product.parent`.`stream_ids`
) as `product.streamIds`,
`product.parent`.`tag_ids` as `product.tagIds.inherited`,
COALESCE(
`product`.`tag_ids`, `product.parent`.`tag_ids`
) as `product.tagIds`,
`product.parent`.`category_ids` as `product.categoryIds.inherited`,
COALESCE(
`product`.`category_ids`, `product.parent`.`category_ids`
) as `product.categoryIds`,
`product`.`child_count` as `product.childCount`,
COALESCE(
`product`.`custom_field_set_selection_active`,
`product.parent`.`custom_field_set_selection_active`
) as `product.customFieldSetSelectionActive`,
`product`.`sales` as `product.sales`,
`product`.`states` as `product.states`,
`product.tax`.`id` as `product.tax.id`,
`product.tax`.`tax_rate` as `product.tax.taxRate`,
`product.tax`.`name` as `product.tax.name`,
`product.tax`.`position` as `product.tax.position`,
`product.tax`.`custom_fields` as `product.tax.customFields`,
`product.tax`.`created_at` as `product.tax.createdAt`,
`product.tax`.`updated_at` as `product.tax.updatedAt`,
`product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`,
COALESCE(
`product`.`cheapest_price`, `product.parent`.`cheapest_price`
) as `product.cheapestPrice`,
`product`.`created_at` as `product.createdAt`,
`product`.`updated_at` as `product.updatedAt`,
`product.cover`.`id` as `product.cover.id`,
`product.cover`.`version_id` as `product.cover.versionId`,
`product.cover`.`product_id` as `product.cover.productId`,
`product.cover`.`product_version_id` as `product.cover.productVersionId`,
`product.cover`.`media_id` as `product.cover.mediaId`,
`product.cover`.`position` as `product.cover.position`,
`product.cover.media`.`id` as `product.cover.media.id`,
`product.cover.media`.`user_id` as `product.cover.media.userId`,
`product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`,
`product.cover.media`.`mime_type` as `product.cover.media.mimeType`,
`product.cover.media`.`file_extension` as `product.cover.media.fileExtension`,
`product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`,
`product.cover.media`.`file_name` as `product.cover.media.fileName`,
`product.cover.media`.`file_size` as `product.cover.media.fileSize`,
`product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`,
`product.cover.media`.`meta_data` as `product.cover.media.metaData`,
`product.cover.media`.`private` as `product.cover.media.private`,
`product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`,
`product.cover.media`.`created_at` as `product.cover.media.createdAt`,
`product.cover.media`.`updated_at` as `product.cover.media.updatedAt`,
`product.cover.media.translation.title`,
COALESCE(
`product.cover.media.translation.title`,
`product.cover.media.translation.title`
) as `product.cover.media.title`,
`product.cover.media.translation.alt`,
COALESCE(
`product.cover.media.translation.alt`,
`product.cover.media.translation.alt`
) as `product.cover.media.alt`,
`product.cover.media.translation.customFields`,
COALESCE(
`product.cover.media.translation.customFields`,
`product.cover.media.translation.customFields`
) as `product.cover.media.customFields`,
`product.cover.media.translation.createdAt`,
`product.cover.media.translation.updatedAt`,
`product.cover.media.translation.mediaId`,
`product.cover.media.translation.languageId`,
`product.cover`.`custom_fields` as `product.cover.customFields`,
`product.cover`.`created_at` as `product.cover.createdAt`,
`product.cover`.`updated_at` as `product.cover.updatedAt`,
(
SELECT
GROUP_CONCAT(
HEX(
`product.options.mapping`.`property_group_option_id`
) SEPARATOR '||'
)
FROM
`product_option` `product.options.mapping`
WHERE
`product.options.mapping`.`product_id` = `product`.`id`
) as `product.options.id_mapping`,
`product.featureSet`.`id` as `product.featureSet.id`,
`product.featureSet`.`features` as `product.featureSet.features`,
`product.featureSet`.`created_at` as `product.featureSet.createdAt`,
`product.featureSet`.`updated_at` as `product.featureSet.updatedAt`,
`product.featureSet.translation.name`,
COALESCE(
`product.featureSet.translation.name`,
`product.featureSet.translation.name`
) as `product.featureSet.name`,
`product.featureSet.translation.description`,
COALESCE(
`product.featureSet.translation.description`,
`product.featureSet.translation.description`
) as `product.featureSet.description`,
`product.featureSet.translation.createdAt`,
`product.featureSet.translation.updatedAt`,
`product.featureSet.translation.productFeatureSetId`,
`product.featureSet.translation.languageId`,
(
SELECT
GROUP_CONCAT(
HEX(
`product.properties.mapping`.`property_group_option_id`
) SEPARATOR '||'
)
FROM
`product_property` `product.properties.mapping`
WHERE
`product.properties.mapping`.`product_id` = `product`.`properties`
) as `product.properties.id_mapping`,
`product.unit`.`id` as `product.unit.id`,
`product.unit`.`created_at` as `product.unit.createdAt`,
`product.unit`.`updated_at` as `product.unit.updatedAt`,
`product.unit.translation.shortCode`,
COALESCE(
`product.unit.translation.shortCode`,
`product.unit.translation.shortCode`
) as `product.unit.shortCode`,
`product.unit.translation.name`,
COALESCE(
`product.unit.translation.name`,
`product.unit.translation.name`
) as `product.unit.name`,
`product.unit.translation.customFields`,
COALESCE(
`product.unit.translation.customFields`,
`product.unit.translation.customFields`
) as `product.unit.customFields`,
`product.unit.translation.createdAt`,
`product.unit.translation.updatedAt`,
`product.unit.translation.unitId`,
`product.unit.translation.languageId`,
`product.deliveryTime`.`id` as `product.deliveryTime.id`,
`product.deliveryTime`.`min` as `product.deliveryTime.min`,
`product.deliveryTime`.`max` as `product.deliveryTime.max`,
`product.deliveryTime`.`unit` as `product.deliveryTime.unit`,
`product.deliveryTime`.`created_at` as `product.deliveryTime.createdAt`,
`product.deliveryTime`.`updated_at` as `product.deliveryTime.updatedAt`,
`product.deliveryTime.translation.name`,
COALESCE(
`product.deliveryTime.translation.name`,
`product.deliveryTime.translation.name`
) as `product.deliveryTime.name`,
`product.deliveryTime.translation.customFields`,
COALESCE(
`product.deliveryTime.translation.customFields`,
`product.deliveryTime.translation.customFields`
) as `product.deliveryTime.customFields`,
`product.deliveryTime.translation.createdAt`,
`product.deliveryTime.translation.updatedAt`,
`product.deliveryTime.translation.deliveryTimeId`,
`product.deliveryTime.translation.languageId`,
`product.translation.metaDescription`,
`product.parent.translation.metaDescription`,
COALESCE(
`product.translation.metaDescription`,
`product.parent.translation.metaDescription`,
`product.translation.metaDescription`
) as `product.metaDescription`,
`product.translation.name`,
`product.parent.translation.name`,
COALESCE(
`product.translation.name`, `product.parent.translation.name`,
`product.translation.name`
) as `product.name`,
`product.translation.keywords`,
`product.parent.translation.keywords`,
COALESCE(
`product.translation.keywords`,
`product.parent.translation.keywords`,
`product.translation.keywords`
) as `product.keywords`,
`product.translation.description`,
`product.parent.translation.description`,
COALESCE(
`product.translation.description`,
`product.parent.translation.description`,
`product.translation.description`
) as `product.description`,
`product.translation.metaTitle`,
`product.parent.translation.metaTitle`,
COALESCE(
`product.translation.metaTitle`,
`product.parent.translation.metaTitle`,
`product.translation.metaTitle`
) as `product.metaTitle`,
`product.translation.packUnit`,
`product.parent.translation.packUnit`,
COALESCE(
`product.translation.packUnit`,
`product.parent.translation.packUnit`,
`product.translation.packUnit`
) as `product.packUnit`,
`product.translation.packUnitPlural`,
`product.parent.translation.packUnitPlural`,
COALESCE(
`product.translation.packUnitPlural`,
`product.parent.translation.packUnitPlural`,
`product.translation.packUnitPlural`
) as `product.packUnitPlural`,
`product.translation.customSearchKeywords`,
`product.parent.translation.customSearchKeywords`,
COALESCE(
`product.translation.customSearchKeywords`,
`product.parent.translation.customSearchKeywords`,
`product.translation.customSearchKeywords`
) as `product.customSearchKeywords`,
`product.translation.slotConfig`,
`product.parent.translation.slotConfig`,
COALESCE(
`product.translation.slotConfig`,
`product.parent.translation.slotConfig`,
`product.translation.slotConfig`
) as `product.slotConfig`,
`product.translation.customFields`,
`product.parent.translation.customFields`,
COALESCE(
`product.translation.customFields`,
`product.parent.translation.customFields`,
`product.translation.customFields`
) as `product.customFields`,
`product.translation.createdAt`,
`product.parent.translation.createdAt`,
`product.translation.updatedAt`,
`product.parent.translation.updatedAt`,
`product.translation.productId`,
`product.parent.translation.productId`,
`product.translation.languageId`,
`product.parent.translation.languageId`,
`product.translation.productVersionId`,
`product.parent.translation.productVersionId`
FROM
`product`
LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id`
AND `product`.`version_id` = `product.parent`.`version_id`
LEFT JOIN (
SELECT
`product.translation`.product_id,
`product.translation`.product_version_id,
`product.translation`.meta_description as `product.translation.metaDescription`,
`product.translation`.name as `product.translation.name`,
`product.translation`.keywords as `product.translation.keywords`,
`product.translation`.description as `product.translation.description`,
`product.translation`.meta_title as `product.translation.metaTitle`,
`product.translation`.pack_unit as `product.translation.packUnit`,
`product.translation`.pack_unit_plural as `product.translation.packUnitPlural`,
`product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`,
`product.translation`.slot_config as `product.translation.slotConfig`,
`product.translation`.custom_fields as `product.translation.customFields`,
`product.translation`.created_at as `product.translation.createdAt`,
`product.translation`.updated_at as `product.translation.updatedAt`,
`product.translation`.product_id as `product.translation.productId`,
`product.translation`.language_id as `product.translation.languageId`,
`product.translation`.product_version_id as `product.translation.productVersionId`
FROM
`product_translation` `product.translation`
WHERE
`product.translation`.language_id = : languageId
) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id`
AND `product.product_translation`.product_version_id = `product`.version_id
LEFT JOIN (
SELECT
`product.parent.translation`.product_id,
`product.parent.translation`.product_version_id,
`product.parent.translation`.meta_description as `product.parent.translation.metaDescription`,
`product.parent.translation`.name as `product.parent.translation.name`,
`product.parent.translation`.keywords as `product.parent.translation.keywords`,
`product.parent.translation`.description as `product.parent.translation.description`,
`product.parent.translation`.meta_title as `product.parent.translation.metaTitle`,
`product.parent.translation`.pack_unit as `product.parent.translation.packUnit`,
`product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`,
`product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`,
`product.parent.translation`.slot_config as `product.parent.translation.slotConfig`,
`product.parent.translation`.custom_fields as `product.parent.translation.customFields`,
`product.parent.translation`.created_at as `product.parent.translation.createdAt`,
`product.parent.translation`.updated_at as `product.parent.translation.updatedAt`,
`product.parent.translation`.product_id as `product.parent.translation.productId`,
`product.parent.translation`.language_id as `product.parent.translation.languageId`,
`product.parent.translation`.product_version_id as `product.parent.translation.productVersionId`
FROM
`product_translation` `product.parent.translation`
WHERE
`product.parent.translation`.language_id = : languageId
) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id`
AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id
LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id`
LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id`
AND `product`.`version_id` = `product.cover`.`version_id`
LEFT JOIN `product_feature_set` `product.featureSet` ON `product`.`featureSet` = `product.featureSet`.`id`
LEFT JOIN `unit` `product.unit` ON `product`.`unit` = `product.unit`.`id`
LEFT JOIN `delivery_time` `product.deliveryTime` ON `product`.`deliveryTime` = `product.deliveryTime`.`id`
LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id`
LEFT JOIN (
SELECT
`product.cover.media.translation`.media_id,
`product.cover.media.translation`.title as `product.cover.media.translation.title`,
`product.cover.media.translation`.alt as `product.cover.media.translation.alt`,
`product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`,
`product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`,
`product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`,
`product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`,
`product.cover.media.translation`.language_id as `product.cover.media.translation.languageId`
FROM
`media_translation` `product.cover.media.translation`
WHERE
`product.cover.media.translation`.language_id = : languageId
) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id`
LEFT JOIN (
SELECT
`product.featureSet.translation`.product_feature_set_id,
`product.featureSet.translation`.name as `product.featureSet.translation.name`,
`product.featureSet.translation`.description as `product.featureSet.translation.description`,
`product.featureSet.translation`.created_at as `product.featureSet.translation.createdAt`,
`product.featureSet.translation`.updated_at as `product.featureSet.translation.updatedAt`,
`product.featureSet.translation`.product_feature_set_id as `product.featureSet.translation.productFeatureSetId`,
`product.featureSet.translation`.language_id as `product.featureSet.translation.languageId`
FROM
`product_feature_set_translation` `product.featureSet.translation`
WHERE
`product.featureSet.translation`.language_id = : languageId
) `product.featureSet.product_feature_set_translation` ON `product.featureSet.product_feature_set_translation`.`product_feature_set_id` = `product.featureSet`.`id`
LEFT JOIN (
SELECT
`product.unit.translation`.unit_id,
`product.unit.translation`.short_code as `product.unit.translation.shortCode`,
`product.unit.translation`.name as `product.unit.translation.name`,
`product.unit.translation`.custom_fields as `product.unit.translation.customFields`,
`product.unit.translation`.created_at as `product.unit.translation.createdAt`,
`product.unit.translation`.updated_at as `product.unit.translation.updatedAt`,
`product.unit.translation`.unit_id as `product.unit.translation.unitId`,
`product.unit.translation`.language_id as `product.unit.translation.languageId`
FROM
`unit_translation` `product.unit.translation`
WHERE
`product.unit.translation`.language_id = : languageId
) `product.unit.unit_translation` ON `product.unit.unit_translation`.`unit_id` = `product.unit`.`id`
LEFT JOIN (
SELECT
`product.deliveryTime.translation`.delivery_time_id,
`product.deliveryTime.translation`.name as `product.deliveryTime.translation.name`,
`product.deliveryTime.translation`.custom_fields as `product.deliveryTime.translation.customFields`,
`product.deliveryTime.translation`.created_at as `product.deliveryTime.translation.createdAt`,
`product.deliveryTime.translation`.updated_at as `product.deliveryTime.translation.updatedAt`,
`product.deliveryTime.translation`.delivery_time_id as `product.deliveryTime.translation.deliveryTimeId`,
`product.deliveryTime.translation`.language_id as `product.deliveryTime.translation.languageId`
FROM
`delivery_time_translation` `product.deliveryTime.translation`
WHERE
`product.deliveryTime.translation`.language_id = : languageId
) `product.deliveryTime.delivery_time_translation` ON `product.deliveryTime.delivery_time_translation`.`delivery_time_id` = `product.deliveryTime`.`id`
WHERE
(
`product`.`version_id` = : version
)
AND (
`product`.`id` IN (: ids)
)
SELECT `product`.`id` as `product.id`, `product`.`version_id` as `product.versionId`, `product`.`parent_id` as `product.parentId`, `product`.`parent_version_id` as `product.parentVersionId`, COALESCE(`product`.`product_manufacturer_id`, `product.parent`.`product_manufacturer_id`) as `product.manufacturerId`, COALESCE(`product`.`product_manufacturer_version_id`, `product.parent`.`product_manufacturer_version_id`) as `product.productManufacturerVersionId`, COALESCE(`product`.`unit_id`, `product.parent`.`unit_id`) as `product.unitId`, COALESCE(`product`.`tax_id`, `product.parent`.`tax_id`) as `product.taxId`, COALESCE(`product`.`product_media_id`, `product.parent`.`product_media_id`) as `product.coverId`, COALESCE(`product`.`product_media_version_id`, `product.parent`.`product_media_version_id`) as `product.productMediaVersionId`, COALESCE(`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`) as `product.deliveryTimeId`, COALESCE(`product`.`product_feature_set_id`, `product.parent`.`product_feature_set_id`) as `product.featureSetId`, COALESCE(`product`.`canonical_product_id`, `product.parent`.`canonical_product_id`) as `product.canonicalProductId`, COALESCE(`product`.`cms_page_id`, `product.parent`.`cms_page_id`) as `product.cmsPageId`, COALESCE(`product`.`cms_page_version_id`, `product.parent`.`cms_page_version_id`) as `product.cmsPageVersionId`, `product.parent`.`price` as `product.price.inherited`, COALESCE(`product`.`price`, `product.parent`.`price`) as `product.price`, `product`.`product_number` as `product.productNumber`, `product`.`stock` as `product.stock`, COALESCE(`product`.`restock_time`, `product.parent`.`restock_time`) as `product.restockTime`, `product`.`auto_increment` as `product.autoIncrement`, COALESCE(`product`.`active`, `product.parent`.`active`) as `product.active`, `product`.`available_stock` as `product.availableStock`, `product`.`available` as `product.available`, COALESCE(`product`.`is_closeout`, `product.parent`.`is_closeout`) as `product.isCloseout`, `product`.`display_group` as `product.displayGroup`, `product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`, COALESCE(`product`.`configurator_group_config`, `product.parent`.`configurator_group_config`) as `product.configuratorGroupConfig`, COALESCE(`product`.`main_variant_id`, `product.parent`.`main_variant_id`) as `product.mainVariantId`, COALESCE(`product`.`display_parent`, `product.parent`.`display_parent`) as `product.displayParent`, `product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`, COALESCE(`product`.`variant_listing_config`, `product.parent`.`variant_listing_config`) as `product.variantListingConfig`, `product`.`variant_restrictions` as `product.variantRestrictions`, COALESCE(`product`.`manufacturer_number`, `product.parent`.`manufacturer_number`) as `product.manufacturerNumber`, COALESCE(`product`.`ean`, `product.parent`.`ean`) as `product.ean`, COALESCE(`product`.`purchase_steps`, `product.parent`.`purchase_steps`) as `product.purchaseSteps`, COALESCE(`product`.`max_purchase`, `product.parent`.`max_purchase`) as `product.maxPurchase`, COALESCE(`product`.`min_purchase`, `product.parent`.`min_purchase`) as `product.minPurchase`, COALESCE(`product`.`purchase_unit`, `product.parent`.`purchase_unit`) as `product.purchaseUnit`, COALESCE(`product`.`reference_unit`, `product.parent`.`reference_unit`) as `product.referenceUnit`, COALESCE(`product`.`shipping_free`, `product.parent`.`shipping_free`) as `product.shippingFree`, `product.parent`.`purchase_prices` as `product.purchasePrices.inherited`, COALESCE(`product`.`purchase_prices`, `product.parent`.`purchase_prices`) as `product.purchasePrices`, COALESCE(`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`) as `product.markAsTopseller`, COALESCE(`product`.`weight`, `product.parent`.`weight`) as `product.weight`, COALESCE(`product`.`width`, `product.parent`.`width`) as `product.width`, COALESCE(`product`.`height`, `product.parent`.`height`) as `product.height`, COALESCE(`product`.`length`, `product.parent`.`length`) as `product.length`, COALESCE(`product`.`release_date`, `product.parent`.`release_date`) as `product.releaseDate`, COALESCE(`product`.`rating_average`, `product.parent`.`rating_average`) as `product.ratingAverage`, `product.parent`.`category_tree` as `product.categoryTree.inherited`, COALESCE(`product`.`category_tree`, `product.parent`.`category_tree`) as `product.categoryTree`, `product.parent`.`property_ids` as `product.propertyIds.inherited`, COALESCE(`product`.`property_ids`, `product.parent`.`property_ids`) as `product.propertyIds`, `product.parent`.`option_ids` as `product.optionIds.inherited`, COALESCE(`product`.`option_ids`, `product.parent`.`option_ids`) as `product.optionIds`, `product.parent`.`stream_ids` as `product.streamIds.inherited`, COALESCE(`product`.`stream_ids`, `product.parent`.`stream_ids`) as `product.streamIds`, `product.parent`.`tag_ids` as `product.tagIds.inherited`, COALESCE(`product`.`tag_ids`, `product.parent`.`tag_ids`) as `product.tagIds`, `product.parent`.`category_ids` as `product.categoryIds.inherited`, COALESCE(`product`.`category_ids`, `product.parent`.`category_ids`) as `product.categoryIds`, `product`.`child_count` as `product.childCount`, COALESCE(`product`.`custom_field_set_selection_active`, `product.parent`.`custom_field_set_selection_active`) as `product.customFieldSetSelectionActive`, `product`.`sales` as `product.sales`, `product`.`states` as `product.states`, `product.tax`.`id` as `product.tax.id`, `product.tax`.`tax_rate` as `product.tax.taxRate`, `product.tax`.`name` as `product.tax.name`, `product.tax`.`position` as `product.tax.position`, `product.tax`.`custom_fields` as `product.tax.customFields`, `product.tax`.`created_at` as `product.tax.createdAt`, `product.tax`.`updated_at` as `product.tax.updatedAt`, `product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`, COALESCE(`product`.`cheapest_price`, `product.parent`.`cheapest_price`) as `product.cheapestPrice`, `product`.`created_at` as `product.createdAt`, `product`.`updated_at` as `product.updatedAt`, `product.cover`.`id` as `product.cover.id`, `product.cover`.`version_id` as `product.cover.versionId`, `product.cover`.`product_id` as `product.cover.productId`, `product.cover`.`product_version_id` as `product.cover.productVersionId`, `product.cover`.`media_id` as `product.cover.mediaId`, `product.cover`.`position` as `product.cover.position`, `product.cover.media`.`id` as `product.cover.media.id`, `product.cover.media`.`user_id` as `product.cover.media.userId`, `product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`, `product.cover.media`.`mime_type` as `product.cover.media.mimeType`, `product.cover.media`.`file_extension` as `product.cover.media.fileExtension`, `product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`, `product.cover.media`.`file_name` as `product.cover.media.fileName`, `product.cover.media`.`file_size` as `product.cover.media.fileSize`, `product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`, `product.cover.media`.`meta_data` as `product.cover.media.metaData`, `product.cover.media`.`private` as `product.cover.media.private`, `product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`, `product.cover.media`.`created_at` as `product.cover.media.createdAt`, `product.cover.media`.`updated_at` as `product.cover.media.updatedAt`, `product.cover.media.translation.title`, COALESCE(`product.cover.media.translation.title`,`product.cover.media.translation.title`) as `product.cover.media.title`, `product.cover.media.translation.alt`, COALESCE(`product.cover.media.translation.alt`,`product.cover.media.translation.alt`) as `product.cover.media.alt`, `product.cover.media.translation.customFields`, COALESCE(`product.cover.media.translation.customFields`,`product.cover.media.translation.customFields`) as `product.cover.media.customFields`, `product.cover.media.translation.createdAt`, `product.cover.media.translation.updatedAt`, `product.cover.media.translation.mediaId`, `product.cover.media.translation.languageId`, `product.cover`.`custom_fields` as `product.cover.customFields`, `product.cover`.`created_at` as `product.cover.createdAt`, `product.cover`.`updated_at` as `product.cover.updatedAt`, (SELECT GROUP_CONCAT(HEX(`product.options.mapping`.`property_group_option_id`) SEPARATOR '||')
FROM `product_option` `product.options.mapping`
WHERE `product.options.mapping`.`product_id` = `product`.`id` ) as `product.options.id_mapping`, `product.featureSet`.`id` as `product.featureSet.id`, `product.featureSet`.`features` as `product.featureSet.features`, `product.featureSet`.`created_at` as `product.featureSet.createdAt`, `product.featureSet`.`updated_at` as `product.featureSet.updatedAt`, `product.featureSet.translation.name`, COALESCE(`product.featureSet.translation.name`,`product.featureSet.translation.name`) as `product.featureSet.name`, `product.featureSet.translation.description`, COALESCE(`product.featureSet.translation.description`,`product.featureSet.translation.description`) as `product.featureSet.description`, `product.featureSet.translation.createdAt`, `product.featureSet.translation.updatedAt`, `product.featureSet.translation.productFeatureSetId`, `product.featureSet.translation.languageId`, (SELECT GROUP_CONCAT(HEX(`product.properties.mapping`.`property_group_option_id`) SEPARATOR '||')
FROM `product_property` `product.properties.mapping`
WHERE `product.properties.mapping`.`product_id` = `product`.`properties` ) as `product.properties.id_mapping`, `product.unit`.`id` as `product.unit.id`, `product.unit`.`created_at` as `product.unit.createdAt`, `product.unit`.`updated_at` as `product.unit.updatedAt`, `product.unit.translation.shortCode`, COALESCE(`product.unit.translation.shortCode`,`product.unit.translation.shortCode`) as `product.unit.shortCode`, `product.unit.translation.name`, COALESCE(`product.unit.translation.name`,`product.unit.translation.name`) as `product.unit.name`, `product.unit.translation.customFields`, COALESCE(`product.unit.translation.customFields`,`product.unit.translation.customFields`) as `product.unit.customFields`, `product.unit.translation.createdAt`, `product.unit.translation.updatedAt`, `product.unit.translation.unitId`, `product.unit.translation.languageId`, `product.deliveryTime`.`id` as `product.deliveryTime.id`, `product.deliveryTime`.`min` as `product.deliveryTime.min`, `product.deliveryTime`.`max` as `product.deliveryTime.max`, `product.deliveryTime`.`unit` as `product.deliveryTime.unit`, `product.deliveryTime`.`created_at` as `product.deliveryTime.createdAt`, `product.deliveryTime`.`updated_at` as `product.deliveryTime.updatedAt`, `product.deliveryTime.translation.name`, COALESCE(`product.deliveryTime.translation.name`,`product.deliveryTime.translation.name`) as `product.deliveryTime.name`, `product.deliveryTime.translation.customFields`, COALESCE(`product.deliveryTime.translation.customFields`,`product.deliveryTime.translation.customFields`) as `product.deliveryTime.customFields`, `product.deliveryTime.translation.createdAt`, `product.deliveryTime.translation.updatedAt`, `product.deliveryTime.translation.deliveryTimeId`, `product.deliveryTime.translation.languageId`, `product.translation.metaDescription`, `product.parent.translation.metaDescription`, COALESCE(`product.translation.metaDescription`,`product.parent.translation.metaDescription`,`product.translation.metaDescription`) as `product.metaDescription`, `product.translation.name`, `product.parent.translation.name`, COALESCE(`product.translation.name`,`product.parent.translation.name`,`product.translation.name`) as `product.name`, `product.translation.keywords`, `product.parent.translation.keywords`, COALESCE(`product.translation.keywords`,`product.parent.translation.keywords`,`product.translation.keywords`) as `product.keywords`, `product.translation.description`, `product.parent.translation.description`, COALESCE(`product.translation.description`,`product.parent.translation.description`,`product.translation.description`) as `product.description`, `product.translation.metaTitle`, `product.parent.translation.metaTitle`, COALESCE(`product.translation.metaTitle`,`product.parent.translation.metaTitle`,`product.translation.metaTitle`) as `product.metaTitle`, `product.translation.packUnit`, `product.parent.translation.packUnit`, COALESCE(`product.translation.packUnit`,`product.parent.translation.packUnit`,`product.translation.packUnit`) as `product.packUnit`, `product.translation.packUnitPlural`, `product.parent.translation.packUnitPlural`, COALESCE(`product.translation.packUnitPlural`,`product.parent.translation.packUnitPlural`,`product.translation.packUnitPlural`) as `product.packUnitPlural`, `product.translation.customSearchKeywords`, `product.parent.translation.customSearchKeywords`, COALESCE(`product.translation.customSearchKeywords`,`product.parent.translation.customSearchKeywords`,`product.translation.customSearchKeywords`) as `product.customSearchKeywords`, `product.translation.slotConfig`, `product.parent.translation.slotConfig`, COALESCE(`product.translation.slotConfig`,`product.parent.translation.slotConfig`,`product.translation.slotConfig`) as `product.slotConfig`, `product.translation.customFields`, `product.parent.translation.customFields`, COALESCE(`product.translation.customFields`,`product.parent.translation.customFields`,`product.translation.customFields`) as `product.customFields`, `product.translation.createdAt`, `product.parent.translation.createdAt`, `product.translation.updatedAt`, `product.parent.translation.updatedAt`, `product.translation.productId`, `product.parent.translation.productId`, `product.translation.languageId`, `product.parent.translation.languageId`, `product.translation.productVersionId`, `product.parent.translation.productVersionId` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN (SELECT `product.translation`.product_id, `product.translation`.product_version_id, `product.translation`.meta_description as `product.translation.metaDescription`, `product.translation`.name as `product.translation.name`, `product.translation`.keywords as `product.translation.keywords`, `product.translation`.description as `product.translation.description`, `product.translation`.meta_title as `product.translation.metaTitle`, `product.translation`.pack_unit as `product.translation.packUnit`, `product.translation`.pack_unit_plural as `product.translation.packUnitPlural`, `product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`, `product.translation`.slot_config as `product.translation.slotConfig`, `product.translation`.custom_fields as `product.translation.customFields`, `product.translation`.created_at as `product.translation.createdAt`, `product.translation`.updated_at as `product.translation.updatedAt`, `product.translation`.product_id as `product.translation.productId`, `product.translation`.language_id as `product.translation.languageId`, `product.translation`.product_version_id as `product.translation.productVersionId` FROM `product_translation` `product.translation` WHERE `product.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id` AND `product.product_translation`.product_version_id = `product`.version_id LEFT JOIN (SELECT `product.parent.translation`.product_id, `product.parent.translation`.product_version_id, `product.parent.translation`.meta_description as `product.parent.translation.metaDescription`, `product.parent.translation`.name as `product.parent.translation.name`, `product.parent.translation`.keywords as `product.parent.translation.keywords`, `product.parent.translation`.description as `product.parent.translation.description`, `product.parent.translation`.meta_title as `product.parent.translation.metaTitle`, `product.parent.translation`.pack_unit as `product.parent.translation.packUnit`, `product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`, `product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`, `product.parent.translation`.slot_config as `product.parent.translation.slotConfig`, `product.parent.translation`.custom_fields as `product.parent.translation.customFields`, `product.parent.translation`.created_at as `product.parent.translation.createdAt`, `product.parent.translation`.updated_at as `product.parent.translation.updatedAt`, `product.parent.translation`.product_id as `product.parent.translation.productId`, `product.parent.translation`.language_id as `product.parent.translation.languageId`, `product.parent.translation`.product_version_id as `product.parent.translation.productVersionId` FROM `product_translation` `product.parent.translation` WHERE `product.parent.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id` AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id` LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id` AND `product`.`version_id` = `product.cover`.`version_id` LEFT JOIN `product_feature_set` `product.featureSet` ON `product`.`featureSet` = `product.featureSet`.`id` LEFT JOIN `unit` `product.unit` ON `product`.`unit` = `product.unit`.`id` LEFT JOIN `delivery_time` `product.deliveryTime` ON `product`.`deliveryTime` = `product.deliveryTime`.`id` LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id` LEFT JOIN (SELECT `product.cover.media.translation`.media_id, `product.cover.media.translation`.title as `product.cover.media.translation.title`, `product.cover.media.translation`.alt as `product.cover.media.translation.alt`, `product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`, `product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`, `product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`, `product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`, `product.cover.media.translation`.language_id as `product.cover.media.translation.languageId` FROM `media_translation` `product.cover.media.translation` WHERE `product.cover.media.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id` LEFT JOIN (SELECT `product.featureSet.translation`.product_feature_set_id, `product.featureSet.translation`.name as `product.featureSet.translation.name`, `product.featureSet.translation`.description as `product.featureSet.translation.description`, `product.featureSet.translation`.created_at as `product.featureSet.translation.createdAt`, `product.featureSet.translation`.updated_at as `product.featureSet.translation.updatedAt`, `product.featureSet.translation`.product_feature_set_id as `product.featureSet.translation.productFeatureSetId`, `product.featureSet.translation`.language_id as `product.featureSet.translation.languageId` FROM `product_feature_set_translation` `product.featureSet.translation` WHERE `product.featureSet.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.featureSet.product_feature_set_translation` ON `product.featureSet.product_feature_set_translation`.`product_feature_set_id` = `product.featureSet`.`id` LEFT JOIN (SELECT `product.unit.translation`.unit_id, `product.unit.translation`.short_code as `product.unit.translation.shortCode`, `product.unit.translation`.name as `product.unit.translation.name`, `product.unit.translation`.custom_fields as `product.unit.translation.customFields`, `product.unit.translation`.created_at as `product.unit.translation.createdAt`, `product.unit.translation`.updated_at as `product.unit.translation.updatedAt`, `product.unit.translation`.unit_id as `product.unit.translation.unitId`, `product.unit.translation`.language_id as `product.unit.translation.languageId` FROM `unit_translation` `product.unit.translation` WHERE `product.unit.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.unit.unit_translation` ON `product.unit.unit_translation`.`unit_id` = `product.unit`.`id` LEFT JOIN (SELECT `product.deliveryTime.translation`.delivery_time_id, `product.deliveryTime.translation`.name as `product.deliveryTime.translation.name`, `product.deliveryTime.translation`.custom_fields as `product.deliveryTime.translation.customFields`, `product.deliveryTime.translation`.created_at as `product.deliveryTime.translation.createdAt`, `product.deliveryTime.translation`.updated_at as `product.deliveryTime.translation.updatedAt`, `product.deliveryTime.translation`.delivery_time_id as `product.deliveryTime.translation.deliveryTimeId`, `product.deliveryTime.translation`.language_id as `product.deliveryTime.translation.languageId` FROM `delivery_time_translation` `product.deliveryTime.translation` WHERE `product.deliveryTime.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.deliveryTime.delivery_time_translation` ON `product.deliveryTime.delivery_time_translation`.`delivery_time_id` = `product.deliveryTime`.`id` WHERE (`product`.`version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425) AND (`product`.`id` IN (0xA963C07A18E943B5B61CCF2C13CB9130, 0xD165608E94124F1ABB16BA3C10144066, 0x21CDD7FFFEC045AD90A996EFE4E1319C, 0xB8DF780CBB824ABCB4FBD443778DEADE, 0x10172BF11A374B46B879CB5B7D409191, 0x2574C1D75A5F48D8B04E4F0ACEE29E06, 0xA6E1388B6C9243DA9DBEC02164D64E63, 0x1994DABAF30A4F58B9BA047B86A9F89A, 0x606C17FE2D504510AA70DFB6C464B276, 0x247F98BF07564389B6A8D66B801A910C, 0x5016F7E84A3E4D4F9A5178987ADA6A77, 0xB432E8449FA34F6298A1B95CEBEC4664, 0xFFF10829327947A597F7CF74F82F72D3, 0x521A315C46AA4FAEAE2EC4F5521B425F, 0x1A29C278F31440B195869BCBE96F8A6E, 0x98396D42CE8B42568E9C81BC3780027C, 0x1301813EFF234EECAD6A967E57D0CD77, 0x2CEAF5C8DFB94C7D84C003BEB6EFBAD7, 0x1D446FAD38EF425A993834F545C7696F, 0x980954B8643642CE92D9D54FCD0DEDB5, 0x4DFBD7B068CF4EAD85CEAEBA2A75D3FF, 0x62FD22D7EC2A4A6C86D2F9764FC8AE72, 0x45477DE48947482693B83BA883822C4C, 0x379E3CA366CF4814A8702F4F4DC01D0B, 0xE8952557863C46F5B1074D52D84EA9FD, 0x4F3851EF49E54DF2BCC5D4E1BA574CDB, 0x2EE9CBF22438490C941D8FB58E754063, 0xF3BAFEA4602B4D9D8C9C7C37C9555813, 0x918EC53474924911BF421C9B1C22829E, 0x0D281F6FBC5F4B36926D104DAB40F116, 0x039588C24E8D4085A567726D690A7FB1, 0x8C19A5E15C644D799A0A60985B6962AF, 0x319A8F4815FD488EA8EAC21E147D89E3));
array:39 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 242)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 316)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetch (line 148)"
4 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 93)"
5 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::read (line 195)"
6 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::read (line 133)"
7 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 36)"
8 => "Swag\PayPal\Util\Compatibility\SalesChannelRepositoryDecorator::search (line 51)"
9 => "Shopware\Core\Content\Product\Cart\ProductGateway::get (line 92)"
10 => "Shopware\Core\Content\Product\Cart\ProductCartProcessor::Shopware\Core\Content\Product\Cart\{closure} (line 59)"
11 => "Shopware\Core\Profiling\Profiler::trace (line 128)"
12 => "Shopware\Core\Content\Product\Cart\ProductCartProcessor::collect (line 103)"
13 => "Shopware\Core\Checkout\Cart\Processor::runProcessors (line 67)"
14 => "Shopware\Core\Checkout\Cart\Processor::Shopware\Core\Checkout\Cart\{closure} (line 59)"
15 => "Shopware\Core\Profiling\Profiler::trace (line 86)"
16 => "Shopware\Core\Checkout\Cart\Processor::process (line 132)"
17 => "Shopware\Core\Checkout\Cart\CartRuleLoader::Shopware\Core\Checkout\Cart\{closure} (line 59)"
18 => "Shopware\Core\Profiling\Profiler::trace (line 183)"
19 => "Shopware\Core\Checkout\Cart\CartRuleLoader::load (line 83)"
20 => "Shopware\Core\Checkout\Cart\CartRuleLoader::loadByToken (line 106)"
21 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::Shopware\Core\System\SalesChannel\Context\{closure} (line 59)"
22 => "Shopware\Core\Profiling\Profiler::trace (line 111)"
23 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::get (line 105)"
24 => "Shopware\Core\Framework\Routing\SalesChannelRequestContextResolver::resolve (line 38)"
25 => "Shopware\Core\Framework\Routing\ContextResolverListener::resolveContext (line 118)"
26 => "Symfony\Component\EventDispatcher\Debug\WrappedListener::__invoke (line 230)"
27 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
28 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
29 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
30 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
31 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
32 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
33 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 151)"
34 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
35 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
36 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
37 => "Shopware\Core\HttpKernel::doHandle (line 81)"
38 => "Shopware\Core\HttpKernel::handle (line 85)"
]
|
33 |
1.66 ms |
SELECT `property_group_option`.`id` as `property_group_option.id`, `property_group_option`.`property_group_id` as `property_group_option.groupId`, `property_group_option`.`color_hex_code` as `property_group_option.colorHexCode`, `property_group_option`.`media_id` as `property_group_option.mediaId`, `property_group_option`.`created_at` as `property_group_option.createdAt`, `property_group_option`.`updated_at` as `property_group_option.updatedAt`, `property_group_option.group`.`id` as `property_group_option.group.id`, `property_group_option.group`.`display_type` as `property_group_option.group.displayType`, `property_group_option.group`.`sorting_type` as `property_group_option.group.sortingType`, `property_group_option.group`.`filterable` as `property_group_option.group.filterable`, `property_group_option.group`.`visible_on_product_detail_page` as `property_group_option.group.visibleOnProductDetailPage`, `property_group_option.group`.`created_at` as `property_group_option.group.createdAt`, `property_group_option.group`.`updated_at` as `property_group_option.group.updatedAt`, `property_group_option.group.translation.name`, COALESCE(`property_group_option.group.translation.name`,`property_group_option.group.translation.name`) as `property_group_option.group.name`, `property_group_option.group.translation.description`, COALESCE(`property_group_option.group.translation.description`,`property_group_option.group.translation.description`) as `property_group_option.group.description`, `property_group_option.group.translation.position`, COALESCE(`property_group_option.group.translation.position`,`property_group_option.group.translation.position`) as `property_group_option.group.position`, `property_group_option.group.translation.customFields`, COALESCE(`property_group_option.group.translation.customFields`,`property_group_option.group.translation.customFields`) as `property_group_option.group.customFields`, `property_group_option.group.translation.createdAt`, `property_group_option.group.translation.updatedAt`, `property_group_option.group.translation.propertyGroupId`, `property_group_option.group.translation.languageId`, `property_group_option.translation.name`, COALESCE(`property_group_option.translation.name`,`property_group_option.translation.name`) as `property_group_option.name`, `property_group_option.translation.position`, COALESCE(`property_group_option.translation.position`,`property_group_option.translation.position`) as `property_group_option.position`, `property_group_option.translation.customFields`, COALESCE(`property_group_option.translation.customFields`,`property_group_option.translation.customFields`) as `property_group_option.customFields`, `property_group_option.translation.createdAt`, `property_group_option.translation.updatedAt`, `property_group_option.translation.propertyGroupOptionId`, `property_group_option.translation.languageId` FROM `property_group_option` LEFT JOIN (SELECT `property_group_option.translation`.property_group_option_id, `property_group_option.translation`.name as `property_group_option.translation.name`, `property_group_option.translation`.position as `property_group_option.translation.position`, `property_group_option.translation`.custom_fields as `property_group_option.translation.customFields`, `property_group_option.translation`.created_at as `property_group_option.translation.createdAt`, `property_group_option.translation`.updated_at as `property_group_option.translation.updatedAt`, `property_group_option.translation`.property_group_option_id as `property_group_option.translation.propertyGroupOptionId`, `property_group_option.translation`.language_id as `property_group_option.translation.languageId` FROM `property_group_option_translation` `property_group_option.translation` WHERE `property_group_option.translation`.language_id = :languageId) `property_group_option.property_group_option_translation` ON `property_group_option.property_group_option_translation`.`property_group_option_id` = `property_group_option`.`id` LEFT JOIN `property_group` `property_group_option.group` ON `property_group_option`.`property_group_id` = `property_group_option.group`.`id` LEFT JOIN (SELECT `property_group_option.group.translation`.property_group_id, `property_group_option.group.translation`.name as `property_group_option.group.translation.name`, `property_group_option.group.translation`.description as `property_group_option.group.translation.description`, `property_group_option.group.translation`.position as `property_group_option.group.translation.position`, `property_group_option.group.translation`.custom_fields as `property_group_option.group.translation.customFields`, `property_group_option.group.translation`.created_at as `property_group_option.group.translation.createdAt`, `property_group_option.group.translation`.updated_at as `property_group_option.group.translation.updatedAt`, `property_group_option.group.translation`.property_group_id as `property_group_option.group.translation.propertyGroupId`, `property_group_option.group.translation`.language_id as `property_group_option.group.translation.languageId` FROM `property_group_translation` `property_group_option.group.translation` WHERE `property_group_option.group.translation`.language_id = :languageId) `property_group_option.group.property_group_translation` ON `property_group_option.group.property_group_translation`.`property_group_id` = `property_group_option.group`.`id` WHERE `property_group_option`.`id` IN (:ids)
SELECT
`property_group_option`.`id` as `property_group_option.id`,
`property_group_option`.`property_group_id` as `property_group_option.groupId`,
`property_group_option`.`color_hex_code` as `property_group_option.colorHexCode`,
`property_group_option`.`media_id` as `property_group_option.mediaId`,
`property_group_option`.`created_at` as `property_group_option.createdAt`,
`property_group_option`.`updated_at` as `property_group_option.updatedAt`,
`property_group_option.group`.`id` as `property_group_option.group.id`,
`property_group_option.group`.`display_type` as `property_group_option.group.displayType`,
`property_group_option.group`.`sorting_type` as `property_group_option.group.sortingType`,
`property_group_option.group`.`filterable` as `property_group_option.group.filterable`,
`property_group_option.group`.`visible_on_product_detail_page` as `property_group_option.group.visibleOnProductDetailPage`,
`property_group_option.group`.`created_at` as `property_group_option.group.createdAt`,
`property_group_option.group`.`updated_at` as `property_group_option.group.updatedAt`,
`property_group_option.group.translation.name`,
COALESCE(
`property_group_option.group.translation.name`,
`property_group_option.group.translation.name`
) as `property_group_option.group.name`,
`property_group_option.group.translation.description`,
COALESCE(
`property_group_option.group.translation.description`,
`property_group_option.group.translation.description`
) as `property_group_option.group.description`,
`property_group_option.group.translation.position`,
COALESCE(
`property_group_option.group.translation.position`,
`property_group_option.group.translation.position`
) as `property_group_option.group.position`,
`property_group_option.group.translation.customFields`,
COALESCE(
`property_group_option.group.translation.customFields`,
`property_group_option.group.translation.customFields`
) as `property_group_option.group.customFields`,
`property_group_option.group.translation.createdAt`,
`property_group_option.group.translation.updatedAt`,
`property_group_option.group.translation.propertyGroupId`,
`property_group_option.group.translation.languageId`,
`property_group_option.translation.name`,
COALESCE(
`property_group_option.translation.name`,
`property_group_option.translation.name`
) as `property_group_option.name`,
`property_group_option.translation.position`,
COALESCE(
`property_group_option.translation.position`,
`property_group_option.translation.position`
) as `property_group_option.position`,
`property_group_option.translation.customFields`,
COALESCE(
`property_group_option.translation.customFields`,
`property_group_option.translation.customFields`
) as `property_group_option.customFields`,
`property_group_option.translation.createdAt`,
`property_group_option.translation.updatedAt`,
`property_group_option.translation.propertyGroupOptionId`,
`property_group_option.translation.languageId`
FROM
`property_group_option`
LEFT JOIN (
SELECT
`property_group_option.translation`.property_group_option_id,
`property_group_option.translation`.name as `property_group_option.translation.name`,
`property_group_option.translation`.position as `property_group_option.translation.position`,
`property_group_option.translation`.custom_fields as `property_group_option.translation.customFields`,
`property_group_option.translation`.created_at as `property_group_option.translation.createdAt`,
`property_group_option.translation`.updated_at as `property_group_option.translation.updatedAt`,
`property_group_option.translation`.property_group_option_id as `property_group_option.translation.propertyGroupOptionId`,
`property_group_option.translation`.language_id as `property_group_option.translation.languageId`
FROM
`property_group_option_translation` `property_group_option.translation`
WHERE
`property_group_option.translation`.language_id = : languageId
) `property_group_option.property_group_option_translation` ON `property_group_option.property_group_option_translation`.`property_group_option_id` = `property_group_option`.`id`
LEFT JOIN `property_group` `property_group_option.group` ON `property_group_option`.`property_group_id` = `property_group_option.group`.`id`
LEFT JOIN (
SELECT
`property_group_option.group.translation`.property_group_id,
`property_group_option.group.translation`.name as `property_group_option.group.translation.name`,
`property_group_option.group.translation`.description as `property_group_option.group.translation.description`,
`property_group_option.group.translation`.position as `property_group_option.group.translation.position`,
`property_group_option.group.translation`.custom_fields as `property_group_option.group.translation.customFields`,
`property_group_option.group.translation`.created_at as `property_group_option.group.translation.createdAt`,
`property_group_option.group.translation`.updated_at as `property_group_option.group.translation.updatedAt`,
`property_group_option.group.translation`.property_group_id as `property_group_option.group.translation.propertyGroupId`,
`property_group_option.group.translation`.language_id as `property_group_option.group.translation.languageId`
FROM
`property_group_translation` `property_group_option.group.translation`
WHERE
`property_group_option.group.translation`.language_id = : languageId
) `property_group_option.group.property_group_translation` ON `property_group_option.group.property_group_translation`.`property_group_id` = `property_group_option.group`.`id`
WHERE
`property_group_option`.`id` IN (: ids)
SELECT `property_group_option`.`id` as `property_group_option.id`, `property_group_option`.`property_group_id` as `property_group_option.groupId`, `property_group_option`.`color_hex_code` as `property_group_option.colorHexCode`, `property_group_option`.`media_id` as `property_group_option.mediaId`, `property_group_option`.`created_at` as `property_group_option.createdAt`, `property_group_option`.`updated_at` as `property_group_option.updatedAt`, `property_group_option.group`.`id` as `property_group_option.group.id`, `property_group_option.group`.`display_type` as `property_group_option.group.displayType`, `property_group_option.group`.`sorting_type` as `property_group_option.group.sortingType`, `property_group_option.group`.`filterable` as `property_group_option.group.filterable`, `property_group_option.group`.`visible_on_product_detail_page` as `property_group_option.group.visibleOnProductDetailPage`, `property_group_option.group`.`created_at` as `property_group_option.group.createdAt`, `property_group_option.group`.`updated_at` as `property_group_option.group.updatedAt`, `property_group_option.group.translation.name`, COALESCE(`property_group_option.group.translation.name`,`property_group_option.group.translation.name`) as `property_group_option.group.name`, `property_group_option.group.translation.description`, COALESCE(`property_group_option.group.translation.description`,`property_group_option.group.translation.description`) as `property_group_option.group.description`, `property_group_option.group.translation.position`, COALESCE(`property_group_option.group.translation.position`,`property_group_option.group.translation.position`) as `property_group_option.group.position`, `property_group_option.group.translation.customFields`, COALESCE(`property_group_option.group.translation.customFields`,`property_group_option.group.translation.customFields`) as `property_group_option.group.customFields`, `property_group_option.group.translation.createdAt`, `property_group_option.group.translation.updatedAt`, `property_group_option.group.translation.propertyGroupId`, `property_group_option.group.translation.languageId`, `property_group_option.translation.name`, COALESCE(`property_group_option.translation.name`,`property_group_option.translation.name`) as `property_group_option.name`, `property_group_option.translation.position`, COALESCE(`property_group_option.translation.position`,`property_group_option.translation.position`) as `property_group_option.position`, `property_group_option.translation.customFields`, COALESCE(`property_group_option.translation.customFields`,`property_group_option.translation.customFields`) as `property_group_option.customFields`, `property_group_option.translation.createdAt`, `property_group_option.translation.updatedAt`, `property_group_option.translation.propertyGroupOptionId`, `property_group_option.translation.languageId` FROM `property_group_option` LEFT JOIN (SELECT `property_group_option.translation`.property_group_option_id, `property_group_option.translation`.name as `property_group_option.translation.name`, `property_group_option.translation`.position as `property_group_option.translation.position`, `property_group_option.translation`.custom_fields as `property_group_option.translation.customFields`, `property_group_option.translation`.created_at as `property_group_option.translation.createdAt`, `property_group_option.translation`.updated_at as `property_group_option.translation.updatedAt`, `property_group_option.translation`.property_group_option_id as `property_group_option.translation.propertyGroupOptionId`, `property_group_option.translation`.language_id as `property_group_option.translation.languageId` FROM `property_group_option_translation` `property_group_option.translation` WHERE `property_group_option.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `property_group_option.property_group_option_translation` ON `property_group_option.property_group_option_translation`.`property_group_option_id` = `property_group_option`.`id` LEFT JOIN `property_group` `property_group_option.group` ON `property_group_option`.`property_group_id` = `property_group_option.group`.`id` LEFT JOIN (SELECT `property_group_option.group.translation`.property_group_id, `property_group_option.group.translation`.name as `property_group_option.group.translation.name`, `property_group_option.group.translation`.description as `property_group_option.group.translation.description`, `property_group_option.group.translation`.position as `property_group_option.group.translation.position`, `property_group_option.group.translation`.custom_fields as `property_group_option.group.translation.customFields`, `property_group_option.group.translation`.created_at as `property_group_option.group.translation.createdAt`, `property_group_option.group.translation`.updated_at as `property_group_option.group.translation.updatedAt`, `property_group_option.group.translation`.property_group_id as `property_group_option.group.translation.propertyGroupId`, `property_group_option.group.translation`.language_id as `property_group_option.group.translation.languageId` FROM `property_group_translation` `property_group_option.group.translation` WHERE `property_group_option.group.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `property_group_option.group.property_group_translation` ON `property_group_option.group.property_group_translation`.`property_group_id` = `property_group_option.group`.`id` WHERE `property_group_option`.`id` IN (0x2D0AE6CCE96B4BDA982428506B0A4E89, 0xDABB5ED46F374D90999D95CFD48CAB2D, 0xC04049560F3748EFB17C6F127741BEB5, 0x4C9FDB725D2745C9930A0EF81B47F129, 0xA3B6E02274E34603AE7A9C92C4F8B4B5, 0x8FBC2F2AE5D2412EA554F18CF81A40A1, 0xDFD0AA1EADC745189BA6BF39A8F343BC, 0xE2F0D943F52C458B9E7BEB39AC118E0D, 0xC1B2A3937F0F4140A4EFD995D067FECA, 0x6B081D43D3EE4313AB4437A98257729E, 0x8B163601380645E4BB186727338112AA, 0xB68D11E1ACB84F23B4884C9FB502E4A4, 0xC1B4DECD8BB74A558D837E0DBA92F7BD, 0xFD3587C1305C43698564D587D7846221, 0x9434998854704BC88863865CAF7E37D0, 0xD4280768BC9C4D17A449E7E3842EE024, 0xB57EE250B5FB4F7A895D0D6F2485E1C1, 0x21A16B8BBA634C1E8489B634A4C5D140, 0x800CF62B9E3247DDA5601E57CD195168, 0x3B1B8EE69F3C439D9250A833B156CFB4, 0x50D937C0C36B450CB5AB32264B413320, 0x4104B691A2F4481AA910F723F62B0C42, 0x047748551C2F4C5CBD91FF8B9FC356A9, 0x3707722AA82F4B9EBB5945BD516A2698, 0x3F30CD1B02154D81B381C38CD9D05A03, 0x6C62BF256E8743A29E67581E3E277D30);
array:43 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 242)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 316)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetch (line 148)"
4 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 683)"
5 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::loadManyToManyOverExtension (line 347)"
6 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::loadManyToMany (line 1216)"
7 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetchAssociations (line 152)"
8 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 93)"
9 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::read (line 195)"
10 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::read (line 133)"
11 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 36)"
12 => "Swag\PayPal\Util\Compatibility\SalesChannelRepositoryDecorator::search (line 51)"
13 => "Shopware\Core\Content\Product\Cart\ProductGateway::get (line 92)"
14 => "Shopware\Core\Content\Product\Cart\ProductCartProcessor::Shopware\Core\Content\Product\Cart\{closure} (line 59)"
15 => "Shopware\Core\Profiling\Profiler::trace (line 128)"
16 => "Shopware\Core\Content\Product\Cart\ProductCartProcessor::collect (line 103)"
17 => "Shopware\Core\Checkout\Cart\Processor::runProcessors (line 67)"
18 => "Shopware\Core\Checkout\Cart\Processor::Shopware\Core\Checkout\Cart\{closure} (line 59)"
19 => "Shopware\Core\Profiling\Profiler::trace (line 86)"
20 => "Shopware\Core\Checkout\Cart\Processor::process (line 132)"
21 => "Shopware\Core\Checkout\Cart\CartRuleLoader::Shopware\Core\Checkout\Cart\{closure} (line 59)"
22 => "Shopware\Core\Profiling\Profiler::trace (line 183)"
23 => "Shopware\Core\Checkout\Cart\CartRuleLoader::load (line 83)"
24 => "Shopware\Core\Checkout\Cart\CartRuleLoader::loadByToken (line 106)"
25 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::Shopware\Core\System\SalesChannel\Context\{closure} (line 59)"
26 => "Shopware\Core\Profiling\Profiler::trace (line 111)"
27 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::get (line 105)"
28 => "Shopware\Core\Framework\Routing\SalesChannelRequestContextResolver::resolve (line 38)"
29 => "Shopware\Core\Framework\Routing\ContextResolverListener::resolveContext (line 118)"
30 => "Symfony\Component\EventDispatcher\Debug\WrappedListener::__invoke (line 230)"
31 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
32 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
33 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
34 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
35 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
36 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
37 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 151)"
38 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
39 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
40 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
41 => "Shopware\Core\HttpKernel::doHandle (line 81)"
42 => "Shopware\Core\HttpKernel::handle (line 85)"
]
|
34 |
7.56 ms |
SELECT `product_price`.`id` as `product_price.id`, `product_price`.`version_id` as `product_price.versionId`, `product_price`.`product_id` as `product_price.productId`, `product_price`.`product_version_id` as `product_price.productVersionId`, `product_price`.`rule_id` as `product_price.ruleId`, `product_price`.`price` as `product_price.price`, `product_price`.`quantity_start` as `product_price.quantityStart`, `product_price`.`quantity_end` as `product_price.quantityEnd`, `product_price`.`custom_fields` as `product_price.customFields`, `product_price`.`created_at` as `product_price.createdAt`, `product_price`.`updated_at` as `product_price.updatedAt` FROM `product_price` WHERE (`product_price`.`version_id` = :version) AND ((`product_price`.`product_id` IN (:param_770f8faaa54545e8a83483a44dab6ee9)))
SELECT `product_price`.`id` as `product_price.id`, `product_price`.`version_id` as `product_price.versionId`, `product_price`.`product_id` as `product_price.productId`, `product_price`.`product_version_id` as `product_price.productVersionId`, `product_price`.`rule_id` as `product_price.ruleId`, `product_price`.`price` as `product_price.price`, `product_price`.`quantity_start` as `product_price.quantityStart`, `product_price`.`quantity_end` as `product_price.quantityEnd`, `product_price`.`custom_fields` as `product_price.customFields`, `product_price`.`created_at` as `product_price.createdAt`, `product_price`.`updated_at` as `product_price.updatedAt` FROM `product_price` WHERE (`product_price`.`version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425) AND ((`product_price`.`product_id` IN (0x039588C24E8D4085A567726D690A7FB1, 0x0D281F6FBC5F4B36926D104DAB40F116, 0x10172BF11A374B46B879CB5B7D409191, 0x1301813EFF234EECAD6A967E57D0CD77, 0x1994DABAF30A4F58B9BA047B86A9F89A, 0x1A29C278F31440B195869BCBE96F8A6E, 0x1D446FAD38EF425A993834F545C7696F, 0x21CDD7FFFEC045AD90A996EFE4E1319C, 0x247F98BF07564389B6A8D66B801A910C, 0x2574C1D75A5F48D8B04E4F0ACEE29E06, 0x2CEAF5C8DFB94C7D84C003BEB6EFBAD7, 0x2EE9CBF22438490C941D8FB58E754063, 0x319A8F4815FD488EA8EAC21E147D89E3, 0x379E3CA366CF4814A8702F4F4DC01D0B, 0x45477DE48947482693B83BA883822C4C, 0x4DFBD7B068CF4EAD85CEAEBA2A75D3FF, 0x4F3851EF49E54DF2BCC5D4E1BA574CDB, 0x5016F7E84A3E4D4F9A5178987ADA6A77, 0x521A315C46AA4FAEAE2EC4F5521B425F, 0x606C17FE2D504510AA70DFB6C464B276, 0x62FD22D7EC2A4A6C86D2F9764FC8AE72, 0x8C19A5E15C644D799A0A60985B6962AF, 0x918EC53474924911BF421C9B1C22829E, 0x980954B8643642CE92D9D54FCD0DEDB5, 0x98396D42CE8B42568E9C81BC3780027C, 0xA6E1388B6C9243DA9DBEC02164D64E63, 0xA963C07A18E943B5B61CCF2C13CB9130, 0xB432E8449FA34F6298A1B95CEBEC4664, 0xB8DF780CBB824ABCB4FBD443778DEADE, 0xD165608E94124F1ABB16BA3C10144066, 0xE8952557863C46F5B1074D52D84EA9FD, 0xF3BAFEA4602B4D9D8C9C7C37C9555813, 0xFFF10829327947A597F7CF74F82F72D3, 0x9D7267EB5F2D44208B128DD081565AB8, 0x7474565DCCBF4CA0BF976E225D0A58E3, 0xA8012483872748DEA1CD57A9ABF1D807, 0xB94F01EF768C4469BA966C88B36A517C, 0xABB6575B87F64A09847D9505F091411D, 0xEF8B89F189BC43E0A6736F145CAF553A, 0x4AFB663CCC784FC89C56A4FDE62AFDAC, 0xF9F9B3DE5FD1486BB34FAE31A720D7CF, 0x1583B9EB636D4B95A79984CC16ECD26A, 0xD6EA2CF1851641F195F7A5C10020EC1C, 0x7A49814066CB478EA5A49191AF1BBF0C, 0x92BE562BD2B04154BAB7B3FA8F14CA97, 0xADB2294AA5954335BA2E15B22EBC821C)));
array:43 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 242)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 316)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetch (line 148)"
4 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 503)"
5 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::loadOneToManyWithoutPagination (line 438)"
6 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::loadOneToMany (line 1210)"
7 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetchAssociations (line 152)"
8 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 93)"
9 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::read (line 195)"
10 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::read (line 133)"
11 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 36)"
12 => "Swag\PayPal\Util\Compatibility\SalesChannelRepositoryDecorator::search (line 51)"
13 => "Shopware\Core\Content\Product\Cart\ProductGateway::get (line 92)"
14 => "Shopware\Core\Content\Product\Cart\ProductCartProcessor::Shopware\Core\Content\Product\Cart\{closure} (line 59)"
15 => "Shopware\Core\Profiling\Profiler::trace (line 128)"
16 => "Shopware\Core\Content\Product\Cart\ProductCartProcessor::collect (line 103)"
17 => "Shopware\Core\Checkout\Cart\Processor::runProcessors (line 67)"
18 => "Shopware\Core\Checkout\Cart\Processor::Shopware\Core\Checkout\Cart\{closure} (line 59)"
19 => "Shopware\Core\Profiling\Profiler::trace (line 86)"
20 => "Shopware\Core\Checkout\Cart\Processor::process (line 132)"
21 => "Shopware\Core\Checkout\Cart\CartRuleLoader::Shopware\Core\Checkout\Cart\{closure} (line 59)"
22 => "Shopware\Core\Profiling\Profiler::trace (line 183)"
23 => "Shopware\Core\Checkout\Cart\CartRuleLoader::load (line 83)"
24 => "Shopware\Core\Checkout\Cart\CartRuleLoader::loadByToken (line 106)"
25 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::Shopware\Core\System\SalesChannel\Context\{closure} (line 59)"
26 => "Shopware\Core\Profiling\Profiler::trace (line 111)"
27 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::get (line 105)"
28 => "Shopware\Core\Framework\Routing\SalesChannelRequestContextResolver::resolve (line 38)"
29 => "Shopware\Core\Framework\Routing\ContextResolverListener::resolveContext (line 118)"
30 => "Symfony\Component\EventDispatcher\Debug\WrappedListener::__invoke (line 230)"
31 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
32 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
33 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
34 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
35 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
36 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
37 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 151)"
38 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
39 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
40 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
41 => "Shopware\Core\HttpKernel::doHandle (line 81)"
42 => "Shopware\Core\HttpKernel::handle (line 85)"
]
|
35 |
1.51 ms |
SELECT configuration_key, configuration_value FROM system_config WHERE sales_channel_id = :salesChannelId OR system_config.sales_channel_id IS NULL ORDER BY sales_channel_id ASC
SELECT configuration_key, configuration_value FROM system_config WHERE sales_channel_id = 0x4EB9108BE4654CC9B140D14DE85579E9 OR system_config.sales_channel_id IS NULL ORDER BY sales_channel_id ASC;
array:59 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 242)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 54)"
3 => "Shopware\Core\System\SystemConfig\SystemConfigLoader::load (line 38)"
4 => "Shopware\Core\System\SystemConfig\CachedSystemConfigLoader::Shopware\Core\System\SystemConfig\{closure} (line 72)"
5 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
6 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 43)"
7 => "Shopware\Core\System\SystemConfig\CachedSystemConfigLoader::load (line 39)"
8 => "Shopware\Core\System\SystemConfig\MemoizedSystemConfigLoader::load (line 83)"
9 => "Shopware\Core\System\SystemConfig\SystemConfigService::get (line 118)"
10 => "Shopware\Core\System\SystemConfig\SystemConfigService::getInt (line 33)"
11 => "Shopware\Core\Content\Product\ProductMaxPurchaseCalculator::calculate (line 60)"
12 => "Shopware\Core\Content\Product\SalesChannelProductBuilder::build (line 165)"
13 => "Shopware\Core\Content\Product\Subscriber\ProductSubscriber::Shopware\Core\Content\Product\Subscriber\{closure} (line 118)"
14 => "Shopware\Core\Framework\Feature::callSilentIfInactive (line 166)"
15 => "Shopware\Core\Content\Product\Subscriber\ProductSubscriber::productSalesChannelLoaded (line 95)"
16 => "Shopware\Core\Content\Product\Subscriber\ProductSubscriber::salesChannelLoaded (line 270)"
17 => "Symfony\Component\EventDispatcher\EventDispatcher::Symfony\Component\EventDispatcher\{closure} (line 230)"
18 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
19 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
20 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
21 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
22 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
23 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 33)"
24 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
25 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 208)"
26 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::read (line 133)"
27 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 36)"
28 => "Swag\PayPal\Util\Compatibility\SalesChannelRepositoryDecorator::search (line 51)"
29 => "Shopware\Core\Content\Product\Cart\ProductGateway::get (line 92)"
30 => "Shopware\Core\Content\Product\Cart\ProductCartProcessor::Shopware\Core\Content\Product\Cart\{closure} (line 59)"
31 => "Shopware\Core\Profiling\Profiler::trace (line 128)"
32 => "Shopware\Core\Content\Product\Cart\ProductCartProcessor::collect (line 103)"
33 => "Shopware\Core\Checkout\Cart\Processor::runProcessors (line 67)"
34 => "Shopware\Core\Checkout\Cart\Processor::Shopware\Core\Checkout\Cart\{closure} (line 59)"
35 => "Shopware\Core\Profiling\Profiler::trace (line 86)"
36 => "Shopware\Core\Checkout\Cart\Processor::process (line 132)"
37 => "Shopware\Core\Checkout\Cart\CartRuleLoader::Shopware\Core\Checkout\Cart\{closure} (line 59)"
38 => "Shopware\Core\Profiling\Profiler::trace (line 183)"
39 => "Shopware\Core\Checkout\Cart\CartRuleLoader::load (line 83)"
40 => "Shopware\Core\Checkout\Cart\CartRuleLoader::loadByToken (line 106)"
41 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::Shopware\Core\System\SalesChannel\Context\{closure} (line 59)"
42 => "Shopware\Core\Profiling\Profiler::trace (line 111)"
43 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::get (line 105)"
44 => "Shopware\Core\Framework\Routing\SalesChannelRequestContextResolver::resolve (line 38)"
45 => "Shopware\Core\Framework\Routing\ContextResolverListener::resolveContext (line 118)"
46 => "Symfony\Component\EventDispatcher\Debug\WrappedListener::__invoke (line 230)"
47 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
48 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
49 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
50 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
51 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
52 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
53 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 151)"
54 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
55 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
56 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
57 => "Shopware\Core\HttpKernel::doHandle (line 81)"
58 => "Shopware\Core\HttpKernel::handle (line 85)"
]
|
36 |
0.75 ms |
SELECT `unit`.`id` as `unit.id`, `unit`.`created_at` as `unit.createdAt`, `unit`.`updated_at` as `unit.updatedAt`, `unit.translation.shortCode`, COALESCE(`unit.translation.shortCode`,`unit.translation.shortCode`) as `unit.shortCode`, `unit.translation.name`, COALESCE(`unit.translation.name`,`unit.translation.name`) as `unit.name`, `unit.translation.customFields`, COALESCE(`unit.translation.customFields`,`unit.translation.customFields`) as `unit.customFields`, `unit.translation.createdAt`, `unit.translation.updatedAt`, `unit.translation.unitId`, `unit.translation.languageId` FROM `unit` LEFT JOIN (SELECT `unit.translation`.unit_id, `unit.translation`.short_code as `unit.translation.shortCode`, `unit.translation`.name as `unit.translation.name`, `unit.translation`.custom_fields as `unit.translation.customFields`, `unit.translation`.created_at as `unit.translation.createdAt`, `unit.translation`.updated_at as `unit.translation.updatedAt`, `unit.translation`.unit_id as `unit.translation.unitId`, `unit.translation`.language_id as `unit.translation.languageId` FROM `unit_translation` `unit.translation` WHERE `unit.translation`.language_id = :languageId) `unit.unit_translation` ON `unit.unit_translation`.`unit_id` = `unit`.`id`
SELECT `unit`.`id` as `unit.id`, `unit`.`created_at` as `unit.createdAt`, `unit`.`updated_at` as `unit.updatedAt`, `unit.translation.shortCode`, COALESCE(`unit.translation.shortCode`,`unit.translation.shortCode`) as `unit.shortCode`, `unit.translation.name`, COALESCE(`unit.translation.name`,`unit.translation.name`) as `unit.name`, `unit.translation.customFields`, COALESCE(`unit.translation.customFields`,`unit.translation.customFields`) as `unit.customFields`, `unit.translation.createdAt`, `unit.translation.updatedAt`, `unit.translation.unitId`, `unit.translation.languageId` FROM `unit` LEFT JOIN (SELECT `unit.translation`.unit_id, `unit.translation`.short_code as `unit.translation.shortCode`, `unit.translation`.name as `unit.translation.name`, `unit.translation`.custom_fields as `unit.translation.customFields`, `unit.translation`.created_at as `unit.translation.createdAt`, `unit.translation`.updated_at as `unit.translation.updatedAt`, `unit.translation`.unit_id as `unit.translation.unitId`, `unit.translation`.language_id as `unit.translation.languageId` FROM `unit_translation` `unit.translation` WHERE `unit.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `unit.unit_translation` ON `unit.unit_translation`.`unit_id` = `unit`.`id`;
array:58 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 242)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 316)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetch (line 148)"
4 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 93)"
5 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::read (line 257)"
6 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::read (line 286)"
7 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::_search (line 110)"
8 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::Shopware\Core\Framework\DataAbstractionLayer\{closure} (line 59)"
9 => "Shopware\Core\Profiling\Profiler::trace (line 111)"
10 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::search (line 51)"
11 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepositoryForwardCompatibilityDecorator::search (line 306)"
12 => "Shopware\Core\Content\Product\SalesChannel\Price\ProductPriceCalculator::getUnits (line 50)"
13 => "Shopware\Core\Content\Product\SalesChannel\Price\ProductPriceCalculator::calculate (line 172)"
14 => "Shopware\Core\Content\Product\Subscriber\ProductSubscriber::productSalesChannelLoaded (line 95)"
15 => "Shopware\Core\Content\Product\Subscriber\ProductSubscriber::salesChannelLoaded (line 270)"
16 => "Symfony\Component\EventDispatcher\EventDispatcher::Symfony\Component\EventDispatcher\{closure} (line 230)"
17 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
18 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
19 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
20 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
21 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
22 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 33)"
23 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
24 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 208)"
25 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::read (line 133)"
26 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 36)"
27 => "Swag\PayPal\Util\Compatibility\SalesChannelRepositoryDecorator::search (line 51)"
28 => "Shopware\Core\Content\Product\Cart\ProductGateway::get (line 92)"
29 => "Shopware\Core\Content\Product\Cart\ProductCartProcessor::Shopware\Core\Content\Product\Cart\{closure} (line 59)"
30 => "Shopware\Core\Profiling\Profiler::trace (line 128)"
31 => "Shopware\Core\Content\Product\Cart\ProductCartProcessor::collect (line 103)"
32 => "Shopware\Core\Checkout\Cart\Processor::runProcessors (line 67)"
33 => "Shopware\Core\Checkout\Cart\Processor::Shopware\Core\Checkout\Cart\{closure} (line 59)"
34 => "Shopware\Core\Profiling\Profiler::trace (line 86)"
35 => "Shopware\Core\Checkout\Cart\Processor::process (line 132)"
36 => "Shopware\Core\Checkout\Cart\CartRuleLoader::Shopware\Core\Checkout\Cart\{closure} (line 59)"
37 => "Shopware\Core\Profiling\Profiler::trace (line 183)"
38 => "Shopware\Core\Checkout\Cart\CartRuleLoader::load (line 83)"
39 => "Shopware\Core\Checkout\Cart\CartRuleLoader::loadByToken (line 106)"
40 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::Shopware\Core\System\SalesChannel\Context\{closure} (line 59)"
41 => "Shopware\Core\Profiling\Profiler::trace (line 111)"
42 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::get (line 105)"
43 => "Shopware\Core\Framework\Routing\SalesChannelRequestContextResolver::resolve (line 38)"
44 => "Shopware\Core\Framework\Routing\ContextResolverListener::resolveContext (line 118)"
45 => "Symfony\Component\EventDispatcher\Debug\WrappedListener::__invoke (line 230)"
46 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
47 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
48 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
49 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
50 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
51 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
52 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 151)"
53 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
54 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
55 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
56 => "Shopware\Core\HttpKernel::doHandle (line 81)"
57 => "Shopware\Core\HttpKernel::handle (line 85)"
]
|
37 |
0.44 ms |
SELECT `handler_identifier`, LOWER(HEX(`id`)) FROM `payment_method`
SELECT `handler_identifier`, LOWER(HEX(`id`)) FROM `payment_method`;
array:48 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 1065)"
2 => "Doctrine\DBAL\Connection::fetchAllKeyValue (line 132)"
3 => "Swag\PayPal\Util\PaymentMethodUtil::getPaymentMethodIdByHandler (line 52)"
4 => "Swag\PayPal\Util\PaymentMethodUtil::getPayPalPaymentMethodId (line 60)"
5 => "Swag\PayPal\Util\PaymentMethodUtil::isPaypalPaymentMethodInSalesChannel (line 266)"
6 => "Swag\PayPal\Checkout\ExpressCheckout\ExpressCheckoutSubscriber::checkSettings (line 172)"
7 => "Swag\PayPal\Checkout\ExpressCheckout\ExpressCheckoutSubscriber::addExcludedProductsToSearchResult (line 118)"
8 => "Symfony\Component\EventDispatcher\Debug\WrappedListener::__invoke (line 230)"
9 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
10 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
11 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
12 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
13 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
14 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
15 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 160)"
16 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 36)"
17 => "Swag\PayPal\Util\Compatibility\SalesChannelRepositoryDecorator::search (line 51)"
18 => "Shopware\Core\Content\Product\Cart\ProductGateway::get (line 92)"
19 => "Shopware\Core\Content\Product\Cart\ProductCartProcessor::Shopware\Core\Content\Product\Cart\{closure} (line 59)"
20 => "Shopware\Core\Profiling\Profiler::trace (line 128)"
21 => "Shopware\Core\Content\Product\Cart\ProductCartProcessor::collect (line 103)"
22 => "Shopware\Core\Checkout\Cart\Processor::runProcessors (line 67)"
23 => "Shopware\Core\Checkout\Cart\Processor::Shopware\Core\Checkout\Cart\{closure} (line 59)"
24 => "Shopware\Core\Profiling\Profiler::trace (line 86)"
25 => "Shopware\Core\Checkout\Cart\Processor::process (line 132)"
26 => "Shopware\Core\Checkout\Cart\CartRuleLoader::Shopware\Core\Checkout\Cart\{closure} (line 59)"
27 => "Shopware\Core\Profiling\Profiler::trace (line 183)"
28 => "Shopware\Core\Checkout\Cart\CartRuleLoader::load (line 83)"
29 => "Shopware\Core\Checkout\Cart\CartRuleLoader::loadByToken (line 106)"
30 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::Shopware\Core\System\SalesChannel\Context\{closure} (line 59)"
31 => "Shopware\Core\Profiling\Profiler::trace (line 111)"
32 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::get (line 105)"
33 => "Shopware\Core\Framework\Routing\SalesChannelRequestContextResolver::resolve (line 38)"
34 => "Shopware\Core\Framework\Routing\ContextResolverListener::resolveContext (line 118)"
35 => "Symfony\Component\EventDispatcher\Debug\WrappedListener::__invoke (line 230)"
36 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
37 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
38 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
39 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
40 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
41 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
42 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 151)"
43 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
44 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
45 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
46 => "Shopware\Core\HttpKernel::doHandle (line 81)"
47 => "Shopware\Core\HttpKernel::handle (line 85)"
]
|
38 |
0.29 ms |
SELECT LOWER(HEX(assoc.`sales_channel_id`))
FROM `sales_channel_payment_method` AS assoc
LEFT JOIN `payment_method` AS pm
ON pm.`id` = assoc.`payment_method_id`
WHERE
assoc.`payment_method_id` = ? AND
pm.`active` = 1
SELECT LOWER(HEX(assoc.`sales_channel_id`))
FROM `sales_channel_payment_method` AS assoc
LEFT JOIN `payment_method` AS pm
ON pm.`id` = assoc.`payment_method_id`
WHERE
assoc.`payment_method_id` = 0x6FD6E57E86DE4A02ADED4363EAC3CF7C AND
pm.`active` = 1;
array:46 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 1119)"
2 => "Doctrine\DBAL\Connection::fetchFirstColumn (line 84)"
3 => "Swag\PayPal\Util\PaymentMethodUtil::isPaypalPaymentMethodInSalesChannel (line 266)"
4 => "Swag\PayPal\Checkout\ExpressCheckout\ExpressCheckoutSubscriber::checkSettings (line 172)"
5 => "Swag\PayPal\Checkout\ExpressCheckout\ExpressCheckoutSubscriber::addExcludedProductsToSearchResult (line 118)"
6 => "Symfony\Component\EventDispatcher\Debug\WrappedListener::__invoke (line 230)"
7 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
8 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
9 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
10 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
11 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
12 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
13 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 160)"
14 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 36)"
15 => "Swag\PayPal\Util\Compatibility\SalesChannelRepositoryDecorator::search (line 51)"
16 => "Shopware\Core\Content\Product\Cart\ProductGateway::get (line 92)"
17 => "Shopware\Core\Content\Product\Cart\ProductCartProcessor::Shopware\Core\Content\Product\Cart\{closure} (line 59)"
18 => "Shopware\Core\Profiling\Profiler::trace (line 128)"
19 => "Shopware\Core\Content\Product\Cart\ProductCartProcessor::collect (line 103)"
20 => "Shopware\Core\Checkout\Cart\Processor::runProcessors (line 67)"
21 => "Shopware\Core\Checkout\Cart\Processor::Shopware\Core\Checkout\Cart\{closure} (line 59)"
22 => "Shopware\Core\Profiling\Profiler::trace (line 86)"
23 => "Shopware\Core\Checkout\Cart\Processor::process (line 132)"
24 => "Shopware\Core\Checkout\Cart\CartRuleLoader::Shopware\Core\Checkout\Cart\{closure} (line 59)"
25 => "Shopware\Core\Profiling\Profiler::trace (line 183)"
26 => "Shopware\Core\Checkout\Cart\CartRuleLoader::load (line 83)"
27 => "Shopware\Core\Checkout\Cart\CartRuleLoader::loadByToken (line 106)"
28 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::Shopware\Core\System\SalesChannel\Context\{closure} (line 59)"
29 => "Shopware\Core\Profiling\Profiler::trace (line 111)"
30 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::get (line 105)"
31 => "Shopware\Core\Framework\Routing\SalesChannelRequestContextResolver::resolve (line 38)"
32 => "Shopware\Core\Framework\Routing\ContextResolverListener::resolveContext (line 118)"
33 => "Symfony\Component\EventDispatcher\Debug\WrappedListener::__invoke (line 230)"
34 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
35 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
36 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
37 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
38 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
39 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
40 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 151)"
41 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
42 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
43 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
44 => "Shopware\Core\HttpKernel::doHandle (line 81)"
45 => "Shopware\Core\HttpKernel::handle (line 85)"
]
|
39 |
0.83 ms |
SELECT `promotion`.`id` FROM `promotion` LEFT JOIN `promotion_sales_channel` `promotion.salesChannels` ON `promotion`.`id` = `promotion.salesChannels`.`promotion_id` WHERE ((`promotion`.`active` = :param_33a49b9a3b004357926a2504a717bcbf AND `promotion.salesChannels`.`sales_channel_id` = :param_2155db78f97243f3aacdee38028eb58a AND ((`promotion`.`valid_from` <=> :param_63976b0787874ae8921c0c20cac25e2c AND `promotion`.`valid_until` <=> :param_972439c5cf874ba5a877b342a556d804) OR (`promotion`.`valid_from` <=> :param_34d673e0dfe541f0ab0372fc7fc81604 AND (`promotion`.`valid_until` > :param_8d168e60fdad486db976f8271da4e61f)) OR ((`promotion`.`valid_from` <= :param_9527c312fe054ff6a3f0e18a249b6b6c) AND `promotion`.`valid_until` <=> :param_7be819f91f454341a98cc4890ba5f10b) OR ((`promotion`.`valid_from` <= :param_5d308ae8bab944b496337ef8d8dd8748) AND (`promotion`.`valid_until` > :param_c0d59cf8006b4dcda9acddd5b576e8e5))) AND `promotion`.`use_codes` = :param_2c82b5d6ec784c8f8aa9647d820d6d95)) GROUP BY `promotion`.`id` ORDER BY MAX(`promotion`.`priority`) DESC
SELECT `promotion`.`id` FROM `promotion` LEFT JOIN `promotion_sales_channel` `promotion.salesChannels` ON `promotion`.`id` = `promotion.salesChannels`.`promotion_id` WHERE ((`promotion`.`active` = 1 AND `promotion.salesChannels`.`sales_channel_id` = 0x4EB9108BE4654CC9B140D14DE85579E9 AND ((`promotion`.`valid_from` <=> NULL AND `promotion`.`valid_until` <=> NULL) OR (`promotion`.`valid_from` <=> NULL AND (`promotion`.`valid_until` > '2024-10-30 15:22:52')) OR ((`promotion`.`valid_from` <= '2024-10-30 15:22:52') AND `promotion`.`valid_until` <=> NULL) OR ((`promotion`.`valid_from` <= '2024-10-30 15:22:52') AND (`promotion`.`valid_until` > '2024-10-30 15:22:52'))) AND `promotion`.`use_codes` = 0)) GROUP BY `promotion`.`id` ORDER BY MAX(`promotion`.`priority`) DESC;
array:42 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 242)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 107)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntitySearcher::search (line 62)"
4 => "Shopware\Elasticsearch\Framework\DataAbstractionLayer\ElasticsearchEntitySearcher::search (line 132)"
5 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::searchIds (line 291)"
6 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::_search (line 110)"
7 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::Shopware\Core\Framework\DataAbstractionLayer\{closure} (line 59)"
8 => "Shopware\Core\Profiling\Profiler::trace (line 111)"
9 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::search (line 51)"
10 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepositoryForwardCompatibilityDecorator::search (line 44)"
11 => "Shopware\Core\Checkout\Promotion\Gateway\PromotionGateway::get (line 184)"
12 => "Shopware\Core\Checkout\Promotion\Cart\PromotionCollector::searchPromotionsAuto (line 110)"
13 => "Shopware\Core\Checkout\Promotion\Cart\PromotionCollector::Shopware\Core\Checkout\Promotion\Cart\{closure} (line 59)"
14 => "Shopware\Core\Profiling\Profiler::trace (line 161)"
15 => "Shopware\Core\Checkout\Promotion\Cart\PromotionCollector::collect (line 103)"
16 => "Shopware\Core\Checkout\Cart\Processor::runProcessors (line 67)"
17 => "Shopware\Core\Checkout\Cart\Processor::Shopware\Core\Checkout\Cart\{closure} (line 59)"
18 => "Shopware\Core\Profiling\Profiler::trace (line 86)"
19 => "Shopware\Core\Checkout\Cart\Processor::process (line 132)"
20 => "Shopware\Core\Checkout\Cart\CartRuleLoader::Shopware\Core\Checkout\Cart\{closure} (line 59)"
21 => "Shopware\Core\Profiling\Profiler::trace (line 183)"
22 => "Shopware\Core\Checkout\Cart\CartRuleLoader::load (line 83)"
23 => "Shopware\Core\Checkout\Cart\CartRuleLoader::loadByToken (line 106)"
24 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::Shopware\Core\System\SalesChannel\Context\{closure} (line 59)"
25 => "Shopware\Core\Profiling\Profiler::trace (line 111)"
26 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::get (line 105)"
27 => "Shopware\Core\Framework\Routing\SalesChannelRequestContextResolver::resolve (line 38)"
28 => "Shopware\Core\Framework\Routing\ContextResolverListener::resolveContext (line 118)"
29 => "Symfony\Component\EventDispatcher\Debug\WrappedListener::__invoke (line 230)"
30 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
31 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
32 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
33 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
34 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
35 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
36 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 151)"
37 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
38 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
39 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
40 => "Shopware\Core\HttpKernel::doHandle (line 81)"
41 => "Shopware\Core\HttpKernel::handle (line 85)"
]
|
40 |
0.53 ms |
SELECT `product`.`id`, `product`.`product_number`, `product`.`auto_increment` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN `product_visibility` `product.visibilities` ON `product`.`visibilities` = `product.visibilities`.`product_id` AND `product`.version_id = `product.visibilities`.product_version_id WHERE (`product`.`version_id` = :version) AND ((((`product.visibilities`.`visibility` >= :param_2d8e4cac60884df5bcf947f26c9a6626) AND `product.visibilities`.`sales_channel_id` = :param_f852672c1f0645b7b4b92906c93ae4be AND IFNULL(`product`.`active`, `product.parent`.`active`) = :param_76396fa7dbfc434fb66f47f4565d6275))) AND (`product`.`id` IN (:ids)) GROUP BY `product`.`id`
SELECT `product`.`id`, `product`.`product_number`, `product`.`auto_increment` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN `product_visibility` `product.visibilities` ON `product`.`visibilities` = `product.visibilities`.`product_id` AND `product`.version_id = `product.visibilities`.product_version_id WHERE (`product`.`version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425) AND ((((`product.visibilities`.`visibility` >= 10) AND `product.visibilities`.`sales_channel_id` = 0x4EB9108BE4654CC9B140D14DE85579E9 AND IFNULL(`product`.`active`, `product.parent`.`active`) = 1))) AND (`product`.`id` IN (0xA963C07A18E943B5B61CCF2C13CB9130)) GROUP BY `product`.`id`;
array:36 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 242)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 107)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntitySearcher::search (line 62)"
4 => "Shopware\Elasticsearch\Framework\DataAbstractionLayer\ElasticsearchEntitySearcher::search (line 216)"
5 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::doSearch (line 122)"
6 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 36)"
7 => "Swag\PayPal\Util\Compatibility\SalesChannelRepositoryDecorator::search (line 207)"
8 => "Tds\MerwareDiscounts\Cart\Checkout\OverwrittenPriceCollector::getSalesChannelProduct (line 93)"
9 => "Tds\MerwareDiscounts\Cart\Checkout\OverwrittenPriceCollector::collect (line 103)"
10 => "Shopware\Core\Checkout\Cart\Processor::runProcessors (line 67)"
11 => "Shopware\Core\Checkout\Cart\Processor::Shopware\Core\Checkout\Cart\{closure} (line 59)"
12 => "Shopware\Core\Profiling\Profiler::trace (line 86)"
13 => "Shopware\Core\Checkout\Cart\Processor::process (line 132)"
14 => "Shopware\Core\Checkout\Cart\CartRuleLoader::Shopware\Core\Checkout\Cart\{closure} (line 59)"
15 => "Shopware\Core\Profiling\Profiler::trace (line 183)"
16 => "Shopware\Core\Checkout\Cart\CartRuleLoader::load (line 83)"
17 => "Shopware\Core\Checkout\Cart\CartRuleLoader::loadByToken (line 106)"
18 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::Shopware\Core\System\SalesChannel\Context\{closure} (line 59)"
19 => "Shopware\Core\Profiling\Profiler::trace (line 111)"
20 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::get (line 105)"
21 => "Shopware\Core\Framework\Routing\SalesChannelRequestContextResolver::resolve (line 38)"
22 => "Shopware\Core\Framework\Routing\ContextResolverListener::resolveContext (line 118)"
23 => "Symfony\Component\EventDispatcher\Debug\WrappedListener::__invoke (line 230)"
24 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
25 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
26 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
27 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
28 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
29 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
30 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 151)"
31 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
32 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
33 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
34 => "Shopware\Core\HttpKernel::doHandle (line 81)"
35 => "Shopware\Core\HttpKernel::handle (line 85)"
]
|
41 |
16.89 ms |
SELECT `product`.`id` as `product.id`, `product`.`version_id` as `product.versionId`, `product`.`parent_id` as `product.parentId`, `product`.`parent_version_id` as `product.parentVersionId`, COALESCE(`product`.`product_manufacturer_id`, `product.parent`.`product_manufacturer_id`) as `product.manufacturerId`, COALESCE(`product`.`product_manufacturer_version_id`, `product.parent`.`product_manufacturer_version_id`) as `product.productManufacturerVersionId`, COALESCE(`product`.`unit_id`, `product.parent`.`unit_id`) as `product.unitId`, COALESCE(`product`.`tax_id`, `product.parent`.`tax_id`) as `product.taxId`, COALESCE(`product`.`product_media_id`, `product.parent`.`product_media_id`) as `product.coverId`, COALESCE(`product`.`product_media_version_id`, `product.parent`.`product_media_version_id`) as `product.productMediaVersionId`, COALESCE(`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`) as `product.deliveryTimeId`, COALESCE(`product`.`product_feature_set_id`, `product.parent`.`product_feature_set_id`) as `product.featureSetId`, COALESCE(`product`.`canonical_product_id`, `product.parent`.`canonical_product_id`) as `product.canonicalProductId`, COALESCE(`product`.`cms_page_id`, `product.parent`.`cms_page_id`) as `product.cmsPageId`, COALESCE(`product`.`cms_page_version_id`, `product.parent`.`cms_page_version_id`) as `product.cmsPageVersionId`, `product.parent`.`price` as `product.price.inherited`, COALESCE(`product`.`price`, `product.parent`.`price`) as `product.price`, `product`.`product_number` as `product.productNumber`, `product`.`stock` as `product.stock`, COALESCE(`product`.`restock_time`, `product.parent`.`restock_time`) as `product.restockTime`, `product`.`auto_increment` as `product.autoIncrement`, COALESCE(`product`.`active`, `product.parent`.`active`) as `product.active`, `product`.`available_stock` as `product.availableStock`, `product`.`available` as `product.available`, COALESCE(`product`.`is_closeout`, `product.parent`.`is_closeout`) as `product.isCloseout`, `product`.`display_group` as `product.displayGroup`, `product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`, COALESCE(`product`.`configurator_group_config`, `product.parent`.`configurator_group_config`) as `product.configuratorGroupConfig`, COALESCE(`product`.`main_variant_id`, `product.parent`.`main_variant_id`) as `product.mainVariantId`, COALESCE(`product`.`display_parent`, `product.parent`.`display_parent`) as `product.displayParent`, `product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`, COALESCE(`product`.`variant_listing_config`, `product.parent`.`variant_listing_config`) as `product.variantListingConfig`, `product`.`variant_restrictions` as `product.variantRestrictions`, COALESCE(`product`.`manufacturer_number`, `product.parent`.`manufacturer_number`) as `product.manufacturerNumber`, COALESCE(`product`.`ean`, `product.parent`.`ean`) as `product.ean`, COALESCE(`product`.`purchase_steps`, `product.parent`.`purchase_steps`) as `product.purchaseSteps`, COALESCE(`product`.`max_purchase`, `product.parent`.`max_purchase`) as `product.maxPurchase`, COALESCE(`product`.`min_purchase`, `product.parent`.`min_purchase`) as `product.minPurchase`, COALESCE(`product`.`purchase_unit`, `product.parent`.`purchase_unit`) as `product.purchaseUnit`, COALESCE(`product`.`reference_unit`, `product.parent`.`reference_unit`) as `product.referenceUnit`, COALESCE(`product`.`shipping_free`, `product.parent`.`shipping_free`) as `product.shippingFree`, `product.parent`.`purchase_prices` as `product.purchasePrices.inherited`, COALESCE(`product`.`purchase_prices`, `product.parent`.`purchase_prices`) as `product.purchasePrices`, COALESCE(`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`) as `product.markAsTopseller`, COALESCE(`product`.`weight`, `product.parent`.`weight`) as `product.weight`, COALESCE(`product`.`width`, `product.parent`.`width`) as `product.width`, COALESCE(`product`.`height`, `product.parent`.`height`) as `product.height`, COALESCE(`product`.`length`, `product.parent`.`length`) as `product.length`, COALESCE(`product`.`release_date`, `product.parent`.`release_date`) as `product.releaseDate`, COALESCE(`product`.`rating_average`, `product.parent`.`rating_average`) as `product.ratingAverage`, `product.parent`.`category_tree` as `product.categoryTree.inherited`, COALESCE(`product`.`category_tree`, `product.parent`.`category_tree`) as `product.categoryTree`, `product.parent`.`property_ids` as `product.propertyIds.inherited`, COALESCE(`product`.`property_ids`, `product.parent`.`property_ids`) as `product.propertyIds`, `product.parent`.`option_ids` as `product.optionIds.inherited`, COALESCE(`product`.`option_ids`, `product.parent`.`option_ids`) as `product.optionIds`, `product.parent`.`stream_ids` as `product.streamIds.inherited`, COALESCE(`product`.`stream_ids`, `product.parent`.`stream_ids`) as `product.streamIds`, `product.parent`.`tag_ids` as `product.tagIds.inherited`, COALESCE(`product`.`tag_ids`, `product.parent`.`tag_ids`) as `product.tagIds`, `product.parent`.`category_ids` as `product.categoryIds.inherited`, COALESCE(`product`.`category_ids`, `product.parent`.`category_ids`) as `product.categoryIds`, `product`.`child_count` as `product.childCount`, COALESCE(`product`.`custom_field_set_selection_active`, `product.parent`.`custom_field_set_selection_active`) as `product.customFieldSetSelectionActive`, `product`.`sales` as `product.sales`, `product`.`states` as `product.states`, `product.tax`.`id` as `product.tax.id`, `product.tax`.`tax_rate` as `product.tax.taxRate`, `product.tax`.`name` as `product.tax.name`, `product.tax`.`position` as `product.tax.position`, `product.tax`.`custom_fields` as `product.tax.customFields`, `product.tax`.`created_at` as `product.tax.createdAt`, `product.tax`.`updated_at` as `product.tax.updatedAt`, `product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`, COALESCE(`product`.`cheapest_price`, `product.parent`.`cheapest_price`) as `product.cheapestPrice`, `product`.`created_at` as `product.createdAt`, `product`.`updated_at` as `product.updatedAt`, `product.unit`.`id` as `product.unit.id`, `product.unit`.`created_at` as `product.unit.createdAt`, `product.unit`.`updated_at` as `product.unit.updatedAt`, `product.unit.translation.shortCode`, COALESCE(`product.unit.translation.shortCode`,`product.unit.translation.shortCode`) as `product.unit.shortCode`, `product.unit.translation.name`, COALESCE(`product.unit.translation.name`,`product.unit.translation.name`) as `product.unit.name`, `product.unit.translation.customFields`, COALESCE(`product.unit.translation.customFields`,`product.unit.translation.customFields`) as `product.unit.customFields`, `product.unit.translation.createdAt`, `product.unit.translation.updatedAt`, `product.unit.translation.unitId`, `product.unit.translation.languageId`, `product.deliveryTime`.`id` as `product.deliveryTime.id`, `product.deliveryTime`.`min` as `product.deliveryTime.min`, `product.deliveryTime`.`max` as `product.deliveryTime.max`, `product.deliveryTime`.`unit` as `product.deliveryTime.unit`, `product.deliveryTime`.`created_at` as `product.deliveryTime.createdAt`, `product.deliveryTime`.`updated_at` as `product.deliveryTime.updatedAt`, `product.deliveryTime.translation.name`, COALESCE(`product.deliveryTime.translation.name`,`product.deliveryTime.translation.name`) as `product.deliveryTime.name`, `product.deliveryTime.translation.customFields`, COALESCE(`product.deliveryTime.translation.customFields`,`product.deliveryTime.translation.customFields`) as `product.deliveryTime.customFields`, `product.deliveryTime.translation.createdAt`, `product.deliveryTime.translation.updatedAt`, `product.deliveryTime.translation.deliveryTimeId`, `product.deliveryTime.translation.languageId`, `product.cover`.`id` as `product.cover.id`, `product.cover`.`version_id` as `product.cover.versionId`, `product.cover`.`product_id` as `product.cover.productId`, `product.cover`.`product_version_id` as `product.cover.productVersionId`, `product.cover`.`media_id` as `product.cover.mediaId`, `product.cover`.`position` as `product.cover.position`, `product.cover.media`.`id` as `product.cover.media.id`, `product.cover.media`.`user_id` as `product.cover.media.userId`, `product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`, `product.cover.media`.`mime_type` as `product.cover.media.mimeType`, `product.cover.media`.`file_extension` as `product.cover.media.fileExtension`, `product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`, `product.cover.media`.`file_name` as `product.cover.media.fileName`, `product.cover.media`.`file_size` as `product.cover.media.fileSize`, `product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`, `product.cover.media`.`meta_data` as `product.cover.media.metaData`, `product.cover.media`.`private` as `product.cover.media.private`, `product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`, `product.cover.media`.`created_at` as `product.cover.media.createdAt`, `product.cover.media`.`updated_at` as `product.cover.media.updatedAt`, `product.cover.media.translation.title`, COALESCE(`product.cover.media.translation.title`,`product.cover.media.translation.title`) as `product.cover.media.title`, `product.cover.media.translation.alt`, COALESCE(`product.cover.media.translation.alt`,`product.cover.media.translation.alt`) as `product.cover.media.alt`, `product.cover.media.translation.customFields`, COALESCE(`product.cover.media.translation.customFields`,`product.cover.media.translation.customFields`) as `product.cover.media.customFields`, `product.cover.media.translation.createdAt`, `product.cover.media.translation.updatedAt`, `product.cover.media.translation.mediaId`, `product.cover.media.translation.languageId`, `product.cover`.`custom_fields` as `product.cover.customFields`, `product.cover`.`created_at` as `product.cover.createdAt`, `product.cover`.`updated_at` as `product.cover.updatedAt`, `product.translation.metaDescription`, `product.parent.translation.metaDescription`, COALESCE(`product.translation.metaDescription`,`product.parent.translation.metaDescription`,`product.translation.metaDescription`) as `product.metaDescription`, `product.translation.name`, `product.parent.translation.name`, COALESCE(`product.translation.name`,`product.parent.translation.name`,`product.translation.name`) as `product.name`, `product.translation.keywords`, `product.parent.translation.keywords`, COALESCE(`product.translation.keywords`,`product.parent.translation.keywords`,`product.translation.keywords`) as `product.keywords`, `product.translation.description`, `product.parent.translation.description`, COALESCE(`product.translation.description`,`product.parent.translation.description`,`product.translation.description`) as `product.description`, `product.translation.metaTitle`, `product.parent.translation.metaTitle`, COALESCE(`product.translation.metaTitle`,`product.parent.translation.metaTitle`,`product.translation.metaTitle`) as `product.metaTitle`, `product.translation.packUnit`, `product.parent.translation.packUnit`, COALESCE(`product.translation.packUnit`,`product.parent.translation.packUnit`,`product.translation.packUnit`) as `product.packUnit`, `product.translation.packUnitPlural`, `product.parent.translation.packUnitPlural`, COALESCE(`product.translation.packUnitPlural`,`product.parent.translation.packUnitPlural`,`product.translation.packUnitPlural`) as `product.packUnitPlural`, `product.translation.customSearchKeywords`, `product.parent.translation.customSearchKeywords`, COALESCE(`product.translation.customSearchKeywords`,`product.parent.translation.customSearchKeywords`,`product.translation.customSearchKeywords`) as `product.customSearchKeywords`, `product.translation.slotConfig`, `product.parent.translation.slotConfig`, COALESCE(`product.translation.slotConfig`,`product.parent.translation.slotConfig`,`product.translation.slotConfig`) as `product.slotConfig`, `product.translation.customFields`, `product.parent.translation.customFields`, COALESCE(`product.translation.customFields`,`product.parent.translation.customFields`,`product.translation.customFields`) as `product.customFields`, `product.translation.createdAt`, `product.parent.translation.createdAt`, `product.translation.updatedAt`, `product.parent.translation.updatedAt`, `product.translation.productId`, `product.parent.translation.productId`, `product.translation.languageId`, `product.parent.translation.languageId`, `product.translation.productVersionId`, `product.parent.translation.productVersionId` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN (SELECT `product.translation`.product_id, `product.translation`.product_version_id, `product.translation`.meta_description as `product.translation.metaDescription`, `product.translation`.name as `product.translation.name`, `product.translation`.keywords as `product.translation.keywords`, `product.translation`.description as `product.translation.description`, `product.translation`.meta_title as `product.translation.metaTitle`, `product.translation`.pack_unit as `product.translation.packUnit`, `product.translation`.pack_unit_plural as `product.translation.packUnitPlural`, `product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`, `product.translation`.slot_config as `product.translation.slotConfig`, `product.translation`.custom_fields as `product.translation.customFields`, `product.translation`.created_at as `product.translation.createdAt`, `product.translation`.updated_at as `product.translation.updatedAt`, `product.translation`.product_id as `product.translation.productId`, `product.translation`.language_id as `product.translation.languageId`, `product.translation`.product_version_id as `product.translation.productVersionId` FROM `product_translation` `product.translation` WHERE `product.translation`.language_id = :languageId) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id` AND `product.product_translation`.product_version_id = `product`.version_id LEFT JOIN (SELECT `product.parent.translation`.product_id, `product.parent.translation`.product_version_id, `product.parent.translation`.meta_description as `product.parent.translation.metaDescription`, `product.parent.translation`.name as `product.parent.translation.name`, `product.parent.translation`.keywords as `product.parent.translation.keywords`, `product.parent.translation`.description as `product.parent.translation.description`, `product.parent.translation`.meta_title as `product.parent.translation.metaTitle`, `product.parent.translation`.pack_unit as `product.parent.translation.packUnit`, `product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`, `product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`, `product.parent.translation`.slot_config as `product.parent.translation.slotConfig`, `product.parent.translation`.custom_fields as `product.parent.translation.customFields`, `product.parent.translation`.created_at as `product.parent.translation.createdAt`, `product.parent.translation`.updated_at as `product.parent.translation.updatedAt`, `product.parent.translation`.product_id as `product.parent.translation.productId`, `product.parent.translation`.language_id as `product.parent.translation.languageId`, `product.parent.translation`.product_version_id as `product.parent.translation.productVersionId` FROM `product_translation` `product.parent.translation` WHERE `product.parent.translation`.language_id = :languageId) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id` AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id` LEFT JOIN `unit` `product.unit` ON `product`.`unit` = `product.unit`.`id` LEFT JOIN `delivery_time` `product.deliveryTime` ON `product`.`deliveryTime` = `product.deliveryTime`.`id` LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id` AND `product`.`version_id` = `product.cover`.`version_id` LEFT JOIN (SELECT `product.unit.translation`.unit_id, `product.unit.translation`.short_code as `product.unit.translation.shortCode`, `product.unit.translation`.name as `product.unit.translation.name`, `product.unit.translation`.custom_fields as `product.unit.translation.customFields`, `product.unit.translation`.created_at as `product.unit.translation.createdAt`, `product.unit.translation`.updated_at as `product.unit.translation.updatedAt`, `product.unit.translation`.unit_id as `product.unit.translation.unitId`, `product.unit.translation`.language_id as `product.unit.translation.languageId` FROM `unit_translation` `product.unit.translation` WHERE `product.unit.translation`.language_id = :languageId) `product.unit.unit_translation` ON `product.unit.unit_translation`.`unit_id` = `product.unit`.`id` LEFT JOIN (SELECT `product.deliveryTime.translation`.delivery_time_id, `product.deliveryTime.translation`.name as `product.deliveryTime.translation.name`, `product.deliveryTime.translation`.custom_fields as `product.deliveryTime.translation.customFields`, `product.deliveryTime.translation`.created_at as `product.deliveryTime.translation.createdAt`, `product.deliveryTime.translation`.updated_at as `product.deliveryTime.translation.updatedAt`, `product.deliveryTime.translation`.delivery_time_id as `product.deliveryTime.translation.deliveryTimeId`, `product.deliveryTime.translation`.language_id as `product.deliveryTime.translation.languageId` FROM `delivery_time_translation` `product.deliveryTime.translation` WHERE `product.deliveryTime.translation`.language_id = :languageId) `product.deliveryTime.delivery_time_translation` ON `product.deliveryTime.delivery_time_translation`.`delivery_time_id` = `product.deliveryTime`.`id` LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id` LEFT JOIN (SELECT `product.cover.media.translation`.media_id, `product.cover.media.translation`.title as `product.cover.media.translation.title`, `product.cover.media.translation`.alt as `product.cover.media.translation.alt`, `product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`, `product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`, `product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`, `product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`, `product.cover.media.translation`.language_id as `product.cover.media.translation.languageId` FROM `media_translation` `product.cover.media.translation` WHERE `product.cover.media.translation`.language_id = :languageId) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id` WHERE (`product`.`version_id` = :version) AND (`product`.`id` IN (:ids))
SELECT
`product`.`id` as `product.id`,
`product`.`version_id` as `product.versionId`,
`product`.`parent_id` as `product.parentId`,
`product`.`parent_version_id` as `product.parentVersionId`,
COALESCE(
`product`.`product_manufacturer_id`,
`product.parent`.`product_manufacturer_id`
) as `product.manufacturerId`,
COALESCE(
`product`.`product_manufacturer_version_id`,
`product.parent`.`product_manufacturer_version_id`
) as `product.productManufacturerVersionId`,
COALESCE(
`product`.`unit_id`, `product.parent`.`unit_id`
) as `product.unitId`,
COALESCE(
`product`.`tax_id`, `product.parent`.`tax_id`
) as `product.taxId`,
COALESCE(
`product`.`product_media_id`, `product.parent`.`product_media_id`
) as `product.coverId`,
COALESCE(
`product`.`product_media_version_id`,
`product.parent`.`product_media_version_id`
) as `product.productMediaVersionId`,
COALESCE(
`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`
) as `product.deliveryTimeId`,
COALESCE(
`product`.`product_feature_set_id`,
`product.parent`.`product_feature_set_id`
) as `product.featureSetId`,
COALESCE(
`product`.`canonical_product_id`,
`product.parent`.`canonical_product_id`
) as `product.canonicalProductId`,
COALESCE(
`product`.`cms_page_id`, `product.parent`.`cms_page_id`
) as `product.cmsPageId`,
COALESCE(
`product`.`cms_page_version_id`,
`product.parent`.`cms_page_version_id`
) as `product.cmsPageVersionId`,
`product.parent`.`price` as `product.price.inherited`,
COALESCE(
`product`.`price`, `product.parent`.`price`
) as `product.price`,
`product`.`product_number` as `product.productNumber`,
`product`.`stock` as `product.stock`,
COALESCE(
`product`.`restock_time`, `product.parent`.`restock_time`
) as `product.restockTime`,
`product`.`auto_increment` as `product.autoIncrement`,
COALESCE(
`product`.`active`, `product.parent`.`active`
) as `product.active`,
`product`.`available_stock` as `product.availableStock`,
`product`.`available` as `product.available`,
COALESCE(
`product`.`is_closeout`, `product.parent`.`is_closeout`
) as `product.isCloseout`,
`product`.`display_group` as `product.displayGroup`,
`product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`,
COALESCE(
`product`.`configurator_group_config`,
`product.parent`.`configurator_group_config`
) as `product.configuratorGroupConfig`,
COALESCE(
`product`.`main_variant_id`, `product.parent`.`main_variant_id`
) as `product.mainVariantId`,
COALESCE(
`product`.`display_parent`, `product.parent`.`display_parent`
) as `product.displayParent`,
`product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`,
COALESCE(
`product`.`variant_listing_config`,
`product.parent`.`variant_listing_config`
) as `product.variantListingConfig`,
`product`.`variant_restrictions` as `product.variantRestrictions`,
COALESCE(
`product`.`manufacturer_number`,
`product.parent`.`manufacturer_number`
) as `product.manufacturerNumber`,
COALESCE(
`product`.`ean`, `product.parent`.`ean`
) as `product.ean`,
COALESCE(
`product`.`purchase_steps`, `product.parent`.`purchase_steps`
) as `product.purchaseSteps`,
COALESCE(
`product`.`max_purchase`, `product.parent`.`max_purchase`
) as `product.maxPurchase`,
COALESCE(
`product`.`min_purchase`, `product.parent`.`min_purchase`
) as `product.minPurchase`,
COALESCE(
`product`.`purchase_unit`, `product.parent`.`purchase_unit`
) as `product.purchaseUnit`,
COALESCE(
`product`.`reference_unit`, `product.parent`.`reference_unit`
) as `product.referenceUnit`,
COALESCE(
`product`.`shipping_free`, `product.parent`.`shipping_free`
) as `product.shippingFree`,
`product.parent`.`purchase_prices` as `product.purchasePrices.inherited`,
COALESCE(
`product`.`purchase_prices`, `product.parent`.`purchase_prices`
) as `product.purchasePrices`,
COALESCE(
`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`
) as `product.markAsTopseller`,
COALESCE(
`product`.`weight`, `product.parent`.`weight`
) as `product.weight`,
COALESCE(
`product`.`width`, `product.parent`.`width`
) as `product.width`,
COALESCE(
`product`.`height`, `product.parent`.`height`
) as `product.height`,
COALESCE(
`product`.`length`, `product.parent`.`length`
) as `product.length`,
COALESCE(
`product`.`release_date`, `product.parent`.`release_date`
) as `product.releaseDate`,
COALESCE(
`product`.`rating_average`, `product.parent`.`rating_average`
) as `product.ratingAverage`,
`product.parent`.`category_tree` as `product.categoryTree.inherited`,
COALESCE(
`product`.`category_tree`, `product.parent`.`category_tree`
) as `product.categoryTree`,
`product.parent`.`property_ids` as `product.propertyIds.inherited`,
COALESCE(
`product`.`property_ids`, `product.parent`.`property_ids`
) as `product.propertyIds`,
`product.parent`.`option_ids` as `product.optionIds.inherited`,
COALESCE(
`product`.`option_ids`, `product.parent`.`option_ids`
) as `product.optionIds`,
`product.parent`.`stream_ids` as `product.streamIds.inherited`,
COALESCE(
`product`.`stream_ids`, `product.parent`.`stream_ids`
) as `product.streamIds`,
`product.parent`.`tag_ids` as `product.tagIds.inherited`,
COALESCE(
`product`.`tag_ids`, `product.parent`.`tag_ids`
) as `product.tagIds`,
`product.parent`.`category_ids` as `product.categoryIds.inherited`,
COALESCE(
`product`.`category_ids`, `product.parent`.`category_ids`
) as `product.categoryIds`,
`product`.`child_count` as `product.childCount`,
COALESCE(
`product`.`custom_field_set_selection_active`,
`product.parent`.`custom_field_set_selection_active`
) as `product.customFieldSetSelectionActive`,
`product`.`sales` as `product.sales`,
`product`.`states` as `product.states`,
`product.tax`.`id` as `product.tax.id`,
`product.tax`.`tax_rate` as `product.tax.taxRate`,
`product.tax`.`name` as `product.tax.name`,
`product.tax`.`position` as `product.tax.position`,
`product.tax`.`custom_fields` as `product.tax.customFields`,
`product.tax`.`created_at` as `product.tax.createdAt`,
`product.tax`.`updated_at` as `product.tax.updatedAt`,
`product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`,
COALESCE(
`product`.`cheapest_price`, `product.parent`.`cheapest_price`
) as `product.cheapestPrice`,
`product`.`created_at` as `product.createdAt`,
`product`.`updated_at` as `product.updatedAt`,
`product.unit`.`id` as `product.unit.id`,
`product.unit`.`created_at` as `product.unit.createdAt`,
`product.unit`.`updated_at` as `product.unit.updatedAt`,
`product.unit.translation.shortCode`,
COALESCE(
`product.unit.translation.shortCode`,
`product.unit.translation.shortCode`
) as `product.unit.shortCode`,
`product.unit.translation.name`,
COALESCE(
`product.unit.translation.name`,
`product.unit.translation.name`
) as `product.unit.name`,
`product.unit.translation.customFields`,
COALESCE(
`product.unit.translation.customFields`,
`product.unit.translation.customFields`
) as `product.unit.customFields`,
`product.unit.translation.createdAt`,
`product.unit.translation.updatedAt`,
`product.unit.translation.unitId`,
`product.unit.translation.languageId`,
`product.deliveryTime`.`id` as `product.deliveryTime.id`,
`product.deliveryTime`.`min` as `product.deliveryTime.min`,
`product.deliveryTime`.`max` as `product.deliveryTime.max`,
`product.deliveryTime`.`unit` as `product.deliveryTime.unit`,
`product.deliveryTime`.`created_at` as `product.deliveryTime.createdAt`,
`product.deliveryTime`.`updated_at` as `product.deliveryTime.updatedAt`,
`product.deliveryTime.translation.name`,
COALESCE(
`product.deliveryTime.translation.name`,
`product.deliveryTime.translation.name`
) as `product.deliveryTime.name`,
`product.deliveryTime.translation.customFields`,
COALESCE(
`product.deliveryTime.translation.customFields`,
`product.deliveryTime.translation.customFields`
) as `product.deliveryTime.customFields`,
`product.deliveryTime.translation.createdAt`,
`product.deliveryTime.translation.updatedAt`,
`product.deliveryTime.translation.deliveryTimeId`,
`product.deliveryTime.translation.languageId`,
`product.cover`.`id` as `product.cover.id`,
`product.cover`.`version_id` as `product.cover.versionId`,
`product.cover`.`product_id` as `product.cover.productId`,
`product.cover`.`product_version_id` as `product.cover.productVersionId`,
`product.cover`.`media_id` as `product.cover.mediaId`,
`product.cover`.`position` as `product.cover.position`,
`product.cover.media`.`id` as `product.cover.media.id`,
`product.cover.media`.`user_id` as `product.cover.media.userId`,
`product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`,
`product.cover.media`.`mime_type` as `product.cover.media.mimeType`,
`product.cover.media`.`file_extension` as `product.cover.media.fileExtension`,
`product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`,
`product.cover.media`.`file_name` as `product.cover.media.fileName`,
`product.cover.media`.`file_size` as `product.cover.media.fileSize`,
`product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`,
`product.cover.media`.`meta_data` as `product.cover.media.metaData`,
`product.cover.media`.`private` as `product.cover.media.private`,
`product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`,
`product.cover.media`.`created_at` as `product.cover.media.createdAt`,
`product.cover.media`.`updated_at` as `product.cover.media.updatedAt`,
`product.cover.media.translation.title`,
COALESCE(
`product.cover.media.translation.title`,
`product.cover.media.translation.title`
) as `product.cover.media.title`,
`product.cover.media.translation.alt`,
COALESCE(
`product.cover.media.translation.alt`,
`product.cover.media.translation.alt`
) as `product.cover.media.alt`,
`product.cover.media.translation.customFields`,
COALESCE(
`product.cover.media.translation.customFields`,
`product.cover.media.translation.customFields`
) as `product.cover.media.customFields`,
`product.cover.media.translation.createdAt`,
`product.cover.media.translation.updatedAt`,
`product.cover.media.translation.mediaId`,
`product.cover.media.translation.languageId`,
`product.cover`.`custom_fields` as `product.cover.customFields`,
`product.cover`.`created_at` as `product.cover.createdAt`,
`product.cover`.`updated_at` as `product.cover.updatedAt`,
`product.translation.metaDescription`,
`product.parent.translation.metaDescription`,
COALESCE(
`product.translation.metaDescription`,
`product.parent.translation.metaDescription`,
`product.translation.metaDescription`
) as `product.metaDescription`,
`product.translation.name`,
`product.parent.translation.name`,
COALESCE(
`product.translation.name`, `product.parent.translation.name`,
`product.translation.name`
) as `product.name`,
`product.translation.keywords`,
`product.parent.translation.keywords`,
COALESCE(
`product.translation.keywords`,
`product.parent.translation.keywords`,
`product.translation.keywords`
) as `product.keywords`,
`product.translation.description`,
`product.parent.translation.description`,
COALESCE(
`product.translation.description`,
`product.parent.translation.description`,
`product.translation.description`
) as `product.description`,
`product.translation.metaTitle`,
`product.parent.translation.metaTitle`,
COALESCE(
`product.translation.metaTitle`,
`product.parent.translation.metaTitle`,
`product.translation.metaTitle`
) as `product.metaTitle`,
`product.translation.packUnit`,
`product.parent.translation.packUnit`,
COALESCE(
`product.translation.packUnit`,
`product.parent.translation.packUnit`,
`product.translation.packUnit`
) as `product.packUnit`,
`product.translation.packUnitPlural`,
`product.parent.translation.packUnitPlural`,
COALESCE(
`product.translation.packUnitPlural`,
`product.parent.translation.packUnitPlural`,
`product.translation.packUnitPlural`
) as `product.packUnitPlural`,
`product.translation.customSearchKeywords`,
`product.parent.translation.customSearchKeywords`,
COALESCE(
`product.translation.customSearchKeywords`,
`product.parent.translation.customSearchKeywords`,
`product.translation.customSearchKeywords`
) as `product.customSearchKeywords`,
`product.translation.slotConfig`,
`product.parent.translation.slotConfig`,
COALESCE(
`product.translation.slotConfig`,
`product.parent.translation.slotConfig`,
`product.translation.slotConfig`
) as `product.slotConfig`,
`product.translation.customFields`,
`product.parent.translation.customFields`,
COALESCE(
`product.translation.customFields`,
`product.parent.translation.customFields`,
`product.translation.customFields`
) as `product.customFields`,
`product.translation.createdAt`,
`product.parent.translation.createdAt`,
`product.translation.updatedAt`,
`product.parent.translation.updatedAt`,
`product.translation.productId`,
`product.parent.translation.productId`,
`product.translation.languageId`,
`product.parent.translation.languageId`,
`product.translation.productVersionId`,
`product.parent.translation.productVersionId`
FROM
`product`
LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id`
AND `product`.`version_id` = `product.parent`.`version_id`
LEFT JOIN (
SELECT
`product.translation`.product_id,
`product.translation`.product_version_id,
`product.translation`.meta_description as `product.translation.metaDescription`,
`product.translation`.name as `product.translation.name`,
`product.translation`.keywords as `product.translation.keywords`,
`product.translation`.description as `product.translation.description`,
`product.translation`.meta_title as `product.translation.metaTitle`,
`product.translation`.pack_unit as `product.translation.packUnit`,
`product.translation`.pack_unit_plural as `product.translation.packUnitPlural`,
`product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`,
`product.translation`.slot_config as `product.translation.slotConfig`,
`product.translation`.custom_fields as `product.translation.customFields`,
`product.translation`.created_at as `product.translation.createdAt`,
`product.translation`.updated_at as `product.translation.updatedAt`,
`product.translation`.product_id as `product.translation.productId`,
`product.translation`.language_id as `product.translation.languageId`,
`product.translation`.product_version_id as `product.translation.productVersionId`
FROM
`product_translation` `product.translation`
WHERE
`product.translation`.language_id = : languageId
) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id`
AND `product.product_translation`.product_version_id = `product`.version_id
LEFT JOIN (
SELECT
`product.parent.translation`.product_id,
`product.parent.translation`.product_version_id,
`product.parent.translation`.meta_description as `product.parent.translation.metaDescription`,
`product.parent.translation`.name as `product.parent.translation.name`,
`product.parent.translation`.keywords as `product.parent.translation.keywords`,
`product.parent.translation`.description as `product.parent.translation.description`,
`product.parent.translation`.meta_title as `product.parent.translation.metaTitle`,
`product.parent.translation`.pack_unit as `product.parent.translation.packUnit`,
`product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`,
`product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`,
`product.parent.translation`.slot_config as `product.parent.translation.slotConfig`,
`product.parent.translation`.custom_fields as `product.parent.translation.customFields`,
`product.parent.translation`.created_at as `product.parent.translation.createdAt`,
`product.parent.translation`.updated_at as `product.parent.translation.updatedAt`,
`product.parent.translation`.product_id as `product.parent.translation.productId`,
`product.parent.translation`.language_id as `product.parent.translation.languageId`,
`product.parent.translation`.product_version_id as `product.parent.translation.productVersionId`
FROM
`product_translation` `product.parent.translation`
WHERE
`product.parent.translation`.language_id = : languageId
) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id`
AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id
LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id`
LEFT JOIN `unit` `product.unit` ON `product`.`unit` = `product.unit`.`id`
LEFT JOIN `delivery_time` `product.deliveryTime` ON `product`.`deliveryTime` = `product.deliveryTime`.`id`
LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id`
AND `product`.`version_id` = `product.cover`.`version_id`
LEFT JOIN (
SELECT
`product.unit.translation`.unit_id,
`product.unit.translation`.short_code as `product.unit.translation.shortCode`,
`product.unit.translation`.name as `product.unit.translation.name`,
`product.unit.translation`.custom_fields as `product.unit.translation.customFields`,
`product.unit.translation`.created_at as `product.unit.translation.createdAt`,
`product.unit.translation`.updated_at as `product.unit.translation.updatedAt`,
`product.unit.translation`.unit_id as `product.unit.translation.unitId`,
`product.unit.translation`.language_id as `product.unit.translation.languageId`
FROM
`unit_translation` `product.unit.translation`
WHERE
`product.unit.translation`.language_id = : languageId
) `product.unit.unit_translation` ON `product.unit.unit_translation`.`unit_id` = `product.unit`.`id`
LEFT JOIN (
SELECT
`product.deliveryTime.translation`.delivery_time_id,
`product.deliveryTime.translation`.name as `product.deliveryTime.translation.name`,
`product.deliveryTime.translation`.custom_fields as `product.deliveryTime.translation.customFields`,
`product.deliveryTime.translation`.created_at as `product.deliveryTime.translation.createdAt`,
`product.deliveryTime.translation`.updated_at as `product.deliveryTime.translation.updatedAt`,
`product.deliveryTime.translation`.delivery_time_id as `product.deliveryTime.translation.deliveryTimeId`,
`product.deliveryTime.translation`.language_id as `product.deliveryTime.translation.languageId`
FROM
`delivery_time_translation` `product.deliveryTime.translation`
WHERE
`product.deliveryTime.translation`.language_id = : languageId
) `product.deliveryTime.delivery_time_translation` ON `product.deliveryTime.delivery_time_translation`.`delivery_time_id` = `product.deliveryTime`.`id`
LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id`
LEFT JOIN (
SELECT
`product.cover.media.translation`.media_id,
`product.cover.media.translation`.title as `product.cover.media.translation.title`,
`product.cover.media.translation`.alt as `product.cover.media.translation.alt`,
`product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`,
`product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`,
`product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`,
`product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`,
`product.cover.media.translation`.language_id as `product.cover.media.translation.languageId`
FROM
`media_translation` `product.cover.media.translation`
WHERE
`product.cover.media.translation`.language_id = : languageId
) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id`
WHERE
(
`product`.`version_id` = : version
)
AND (
`product`.`id` IN (: ids)
)
SELECT `product`.`id` as `product.id`, `product`.`version_id` as `product.versionId`, `product`.`parent_id` as `product.parentId`, `product`.`parent_version_id` as `product.parentVersionId`, COALESCE(`product`.`product_manufacturer_id`, `product.parent`.`product_manufacturer_id`) as `product.manufacturerId`, COALESCE(`product`.`product_manufacturer_version_id`, `product.parent`.`product_manufacturer_version_id`) as `product.productManufacturerVersionId`, COALESCE(`product`.`unit_id`, `product.parent`.`unit_id`) as `product.unitId`, COALESCE(`product`.`tax_id`, `product.parent`.`tax_id`) as `product.taxId`, COALESCE(`product`.`product_media_id`, `product.parent`.`product_media_id`) as `product.coverId`, COALESCE(`product`.`product_media_version_id`, `product.parent`.`product_media_version_id`) as `product.productMediaVersionId`, COALESCE(`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`) as `product.deliveryTimeId`, COALESCE(`product`.`product_feature_set_id`, `product.parent`.`product_feature_set_id`) as `product.featureSetId`, COALESCE(`product`.`canonical_product_id`, `product.parent`.`canonical_product_id`) as `product.canonicalProductId`, COALESCE(`product`.`cms_page_id`, `product.parent`.`cms_page_id`) as `product.cmsPageId`, COALESCE(`product`.`cms_page_version_id`, `product.parent`.`cms_page_version_id`) as `product.cmsPageVersionId`, `product.parent`.`price` as `product.price.inherited`, COALESCE(`product`.`price`, `product.parent`.`price`) as `product.price`, `product`.`product_number` as `product.productNumber`, `product`.`stock` as `product.stock`, COALESCE(`product`.`restock_time`, `product.parent`.`restock_time`) as `product.restockTime`, `product`.`auto_increment` as `product.autoIncrement`, COALESCE(`product`.`active`, `product.parent`.`active`) as `product.active`, `product`.`available_stock` as `product.availableStock`, `product`.`available` as `product.available`, COALESCE(`product`.`is_closeout`, `product.parent`.`is_closeout`) as `product.isCloseout`, `product`.`display_group` as `product.displayGroup`, `product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`, COALESCE(`product`.`configurator_group_config`, `product.parent`.`configurator_group_config`) as `product.configuratorGroupConfig`, COALESCE(`product`.`main_variant_id`, `product.parent`.`main_variant_id`) as `product.mainVariantId`, COALESCE(`product`.`display_parent`, `product.parent`.`display_parent`) as `product.displayParent`, `product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`, COALESCE(`product`.`variant_listing_config`, `product.parent`.`variant_listing_config`) as `product.variantListingConfig`, `product`.`variant_restrictions` as `product.variantRestrictions`, COALESCE(`product`.`manufacturer_number`, `product.parent`.`manufacturer_number`) as `product.manufacturerNumber`, COALESCE(`product`.`ean`, `product.parent`.`ean`) as `product.ean`, COALESCE(`product`.`purchase_steps`, `product.parent`.`purchase_steps`) as `product.purchaseSteps`, COALESCE(`product`.`max_purchase`, `product.parent`.`max_purchase`) as `product.maxPurchase`, COALESCE(`product`.`min_purchase`, `product.parent`.`min_purchase`) as `product.minPurchase`, COALESCE(`product`.`purchase_unit`, `product.parent`.`purchase_unit`) as `product.purchaseUnit`, COALESCE(`product`.`reference_unit`, `product.parent`.`reference_unit`) as `product.referenceUnit`, COALESCE(`product`.`shipping_free`, `product.parent`.`shipping_free`) as `product.shippingFree`, `product.parent`.`purchase_prices` as `product.purchasePrices.inherited`, COALESCE(`product`.`purchase_prices`, `product.parent`.`purchase_prices`) as `product.purchasePrices`, COALESCE(`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`) as `product.markAsTopseller`, COALESCE(`product`.`weight`, `product.parent`.`weight`) as `product.weight`, COALESCE(`product`.`width`, `product.parent`.`width`) as `product.width`, COALESCE(`product`.`height`, `product.parent`.`height`) as `product.height`, COALESCE(`product`.`length`, `product.parent`.`length`) as `product.length`, COALESCE(`product`.`release_date`, `product.parent`.`release_date`) as `product.releaseDate`, COALESCE(`product`.`rating_average`, `product.parent`.`rating_average`) as `product.ratingAverage`, `product.parent`.`category_tree` as `product.categoryTree.inherited`, COALESCE(`product`.`category_tree`, `product.parent`.`category_tree`) as `product.categoryTree`, `product.parent`.`property_ids` as `product.propertyIds.inherited`, COALESCE(`product`.`property_ids`, `product.parent`.`property_ids`) as `product.propertyIds`, `product.parent`.`option_ids` as `product.optionIds.inherited`, COALESCE(`product`.`option_ids`, `product.parent`.`option_ids`) as `product.optionIds`, `product.parent`.`stream_ids` as `product.streamIds.inherited`, COALESCE(`product`.`stream_ids`, `product.parent`.`stream_ids`) as `product.streamIds`, `product.parent`.`tag_ids` as `product.tagIds.inherited`, COALESCE(`product`.`tag_ids`, `product.parent`.`tag_ids`) as `product.tagIds`, `product.parent`.`category_ids` as `product.categoryIds.inherited`, COALESCE(`product`.`category_ids`, `product.parent`.`category_ids`) as `product.categoryIds`, `product`.`child_count` as `product.childCount`, COALESCE(`product`.`custom_field_set_selection_active`, `product.parent`.`custom_field_set_selection_active`) as `product.customFieldSetSelectionActive`, `product`.`sales` as `product.sales`, `product`.`states` as `product.states`, `product.tax`.`id` as `product.tax.id`, `product.tax`.`tax_rate` as `product.tax.taxRate`, `product.tax`.`name` as `product.tax.name`, `product.tax`.`position` as `product.tax.position`, `product.tax`.`custom_fields` as `product.tax.customFields`, `product.tax`.`created_at` as `product.tax.createdAt`, `product.tax`.`updated_at` as `product.tax.updatedAt`, `product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`, COALESCE(`product`.`cheapest_price`, `product.parent`.`cheapest_price`) as `product.cheapestPrice`, `product`.`created_at` as `product.createdAt`, `product`.`updated_at` as `product.updatedAt`, `product.unit`.`id` as `product.unit.id`, `product.unit`.`created_at` as `product.unit.createdAt`, `product.unit`.`updated_at` as `product.unit.updatedAt`, `product.unit.translation.shortCode`, COALESCE(`product.unit.translation.shortCode`,`product.unit.translation.shortCode`) as `product.unit.shortCode`, `product.unit.translation.name`, COALESCE(`product.unit.translation.name`,`product.unit.translation.name`) as `product.unit.name`, `product.unit.translation.customFields`, COALESCE(`product.unit.translation.customFields`,`product.unit.translation.customFields`) as `product.unit.customFields`, `product.unit.translation.createdAt`, `product.unit.translation.updatedAt`, `product.unit.translation.unitId`, `product.unit.translation.languageId`, `product.deliveryTime`.`id` as `product.deliveryTime.id`, `product.deliveryTime`.`min` as `product.deliveryTime.min`, `product.deliveryTime`.`max` as `product.deliveryTime.max`, `product.deliveryTime`.`unit` as `product.deliveryTime.unit`, `product.deliveryTime`.`created_at` as `product.deliveryTime.createdAt`, `product.deliveryTime`.`updated_at` as `product.deliveryTime.updatedAt`, `product.deliveryTime.translation.name`, COALESCE(`product.deliveryTime.translation.name`,`product.deliveryTime.translation.name`) as `product.deliveryTime.name`, `product.deliveryTime.translation.customFields`, COALESCE(`product.deliveryTime.translation.customFields`,`product.deliveryTime.translation.customFields`) as `product.deliveryTime.customFields`, `product.deliveryTime.translation.createdAt`, `product.deliveryTime.translation.updatedAt`, `product.deliveryTime.translation.deliveryTimeId`, `product.deliveryTime.translation.languageId`, `product.cover`.`id` as `product.cover.id`, `product.cover`.`version_id` as `product.cover.versionId`, `product.cover`.`product_id` as `product.cover.productId`, `product.cover`.`product_version_id` as `product.cover.productVersionId`, `product.cover`.`media_id` as `product.cover.mediaId`, `product.cover`.`position` as `product.cover.position`, `product.cover.media`.`id` as `product.cover.media.id`, `product.cover.media`.`user_id` as `product.cover.media.userId`, `product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`, `product.cover.media`.`mime_type` as `product.cover.media.mimeType`, `product.cover.media`.`file_extension` as `product.cover.media.fileExtension`, `product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`, `product.cover.media`.`file_name` as `product.cover.media.fileName`, `product.cover.media`.`file_size` as `product.cover.media.fileSize`, `product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`, `product.cover.media`.`meta_data` as `product.cover.media.metaData`, `product.cover.media`.`private` as `product.cover.media.private`, `product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`, `product.cover.media`.`created_at` as `product.cover.media.createdAt`, `product.cover.media`.`updated_at` as `product.cover.media.updatedAt`, `product.cover.media.translation.title`, COALESCE(`product.cover.media.translation.title`,`product.cover.media.translation.title`) as `product.cover.media.title`, `product.cover.media.translation.alt`, COALESCE(`product.cover.media.translation.alt`,`product.cover.media.translation.alt`) as `product.cover.media.alt`, `product.cover.media.translation.customFields`, COALESCE(`product.cover.media.translation.customFields`,`product.cover.media.translation.customFields`) as `product.cover.media.customFields`, `product.cover.media.translation.createdAt`, `product.cover.media.translation.updatedAt`, `product.cover.media.translation.mediaId`, `product.cover.media.translation.languageId`, `product.cover`.`custom_fields` as `product.cover.customFields`, `product.cover`.`created_at` as `product.cover.createdAt`, `product.cover`.`updated_at` as `product.cover.updatedAt`, `product.translation.metaDescription`, `product.parent.translation.metaDescription`, COALESCE(`product.translation.metaDescription`,`product.parent.translation.metaDescription`,`product.translation.metaDescription`) as `product.metaDescription`, `product.translation.name`, `product.parent.translation.name`, COALESCE(`product.translation.name`,`product.parent.translation.name`,`product.translation.name`) as `product.name`, `product.translation.keywords`, `product.parent.translation.keywords`, COALESCE(`product.translation.keywords`,`product.parent.translation.keywords`,`product.translation.keywords`) as `product.keywords`, `product.translation.description`, `product.parent.translation.description`, COALESCE(`product.translation.description`,`product.parent.translation.description`,`product.translation.description`) as `product.description`, `product.translation.metaTitle`, `product.parent.translation.metaTitle`, COALESCE(`product.translation.metaTitle`,`product.parent.translation.metaTitle`,`product.translation.metaTitle`) as `product.metaTitle`, `product.translation.packUnit`, `product.parent.translation.packUnit`, COALESCE(`product.translation.packUnit`,`product.parent.translation.packUnit`,`product.translation.packUnit`) as `product.packUnit`, `product.translation.packUnitPlural`, `product.parent.translation.packUnitPlural`, COALESCE(`product.translation.packUnitPlural`,`product.parent.translation.packUnitPlural`,`product.translation.packUnitPlural`) as `product.packUnitPlural`, `product.translation.customSearchKeywords`, `product.parent.translation.customSearchKeywords`, COALESCE(`product.translation.customSearchKeywords`,`product.parent.translation.customSearchKeywords`,`product.translation.customSearchKeywords`) as `product.customSearchKeywords`, `product.translation.slotConfig`, `product.parent.translation.slotConfig`, COALESCE(`product.translation.slotConfig`,`product.parent.translation.slotConfig`,`product.translation.slotConfig`) as `product.slotConfig`, `product.translation.customFields`, `product.parent.translation.customFields`, COALESCE(`product.translation.customFields`,`product.parent.translation.customFields`,`product.translation.customFields`) as `product.customFields`, `product.translation.createdAt`, `product.parent.translation.createdAt`, `product.translation.updatedAt`, `product.parent.translation.updatedAt`, `product.translation.productId`, `product.parent.translation.productId`, `product.translation.languageId`, `product.parent.translation.languageId`, `product.translation.productVersionId`, `product.parent.translation.productVersionId` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN (SELECT `product.translation`.product_id, `product.translation`.product_version_id, `product.translation`.meta_description as `product.translation.metaDescription`, `product.translation`.name as `product.translation.name`, `product.translation`.keywords as `product.translation.keywords`, `product.translation`.description as `product.translation.description`, `product.translation`.meta_title as `product.translation.metaTitle`, `product.translation`.pack_unit as `product.translation.packUnit`, `product.translation`.pack_unit_plural as `product.translation.packUnitPlural`, `product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`, `product.translation`.slot_config as `product.translation.slotConfig`, `product.translation`.custom_fields as `product.translation.customFields`, `product.translation`.created_at as `product.translation.createdAt`, `product.translation`.updated_at as `product.translation.updatedAt`, `product.translation`.product_id as `product.translation.productId`, `product.translation`.language_id as `product.translation.languageId`, `product.translation`.product_version_id as `product.translation.productVersionId` FROM `product_translation` `product.translation` WHERE `product.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id` AND `product.product_translation`.product_version_id = `product`.version_id LEFT JOIN (SELECT `product.parent.translation`.product_id, `product.parent.translation`.product_version_id, `product.parent.translation`.meta_description as `product.parent.translation.metaDescription`, `product.parent.translation`.name as `product.parent.translation.name`, `product.parent.translation`.keywords as `product.parent.translation.keywords`, `product.parent.translation`.description as `product.parent.translation.description`, `product.parent.translation`.meta_title as `product.parent.translation.metaTitle`, `product.parent.translation`.pack_unit as `product.parent.translation.packUnit`, `product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`, `product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`, `product.parent.translation`.slot_config as `product.parent.translation.slotConfig`, `product.parent.translation`.custom_fields as `product.parent.translation.customFields`, `product.parent.translation`.created_at as `product.parent.translation.createdAt`, `product.parent.translation`.updated_at as `product.parent.translation.updatedAt`, `product.parent.translation`.product_id as `product.parent.translation.productId`, `product.parent.translation`.language_id as `product.parent.translation.languageId`, `product.parent.translation`.product_version_id as `product.parent.translation.productVersionId` FROM `product_translation` `product.parent.translation` WHERE `product.parent.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id` AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id` LEFT JOIN `unit` `product.unit` ON `product`.`unit` = `product.unit`.`id` LEFT JOIN `delivery_time` `product.deliveryTime` ON `product`.`deliveryTime` = `product.deliveryTime`.`id` LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id` AND `product`.`version_id` = `product.cover`.`version_id` LEFT JOIN (SELECT `product.unit.translation`.unit_id, `product.unit.translation`.short_code as `product.unit.translation.shortCode`, `product.unit.translation`.name as `product.unit.translation.name`, `product.unit.translation`.custom_fields as `product.unit.translation.customFields`, `product.unit.translation`.created_at as `product.unit.translation.createdAt`, `product.unit.translation`.updated_at as `product.unit.translation.updatedAt`, `product.unit.translation`.unit_id as `product.unit.translation.unitId`, `product.unit.translation`.language_id as `product.unit.translation.languageId` FROM `unit_translation` `product.unit.translation` WHERE `product.unit.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.unit.unit_translation` ON `product.unit.unit_translation`.`unit_id` = `product.unit`.`id` LEFT JOIN (SELECT `product.deliveryTime.translation`.delivery_time_id, `product.deliveryTime.translation`.name as `product.deliveryTime.translation.name`, `product.deliveryTime.translation`.custom_fields as `product.deliveryTime.translation.customFields`, `product.deliveryTime.translation`.created_at as `product.deliveryTime.translation.createdAt`, `product.deliveryTime.translation`.updated_at as `product.deliveryTime.translation.updatedAt`, `product.deliveryTime.translation`.delivery_time_id as `product.deliveryTime.translation.deliveryTimeId`, `product.deliveryTime.translation`.language_id as `product.deliveryTime.translation.languageId` FROM `delivery_time_translation` `product.deliveryTime.translation` WHERE `product.deliveryTime.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.deliveryTime.delivery_time_translation` ON `product.deliveryTime.delivery_time_translation`.`delivery_time_id` = `product.deliveryTime`.`id` LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id` LEFT JOIN (SELECT `product.cover.media.translation`.media_id, `product.cover.media.translation`.title as `product.cover.media.translation.title`, `product.cover.media.translation`.alt as `product.cover.media.translation.alt`, `product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`, `product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`, `product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`, `product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`, `product.cover.media.translation`.language_id as `product.cover.media.translation.languageId` FROM `media_translation` `product.cover.media.translation` WHERE `product.cover.media.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id` WHERE (`product`.`version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425) AND (`product`.`id` IN (0xA963C07A18E943B5B61CCF2C13CB9130));
array:37 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 242)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 316)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetch (line 148)"
4 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 93)"
5 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::read (line 195)"
6 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::read (line 133)"
7 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 36)"
8 => "Swag\PayPal\Util\Compatibility\SalesChannelRepositoryDecorator::search (line 207)"
9 => "Tds\MerwareDiscounts\Cart\Checkout\OverwrittenPriceCollector::getSalesChannelProduct (line 93)"
10 => "Tds\MerwareDiscounts\Cart\Checkout\OverwrittenPriceCollector::collect (line 103)"
11 => "Shopware\Core\Checkout\Cart\Processor::runProcessors (line 67)"
12 => "Shopware\Core\Checkout\Cart\Processor::Shopware\Core\Checkout\Cart\{closure} (line 59)"
13 => "Shopware\Core\Profiling\Profiler::trace (line 86)"
14 => "Shopware\Core\Checkout\Cart\Processor::process (line 132)"
15 => "Shopware\Core\Checkout\Cart\CartRuleLoader::Shopware\Core\Checkout\Cart\{closure} (line 59)"
16 => "Shopware\Core\Profiling\Profiler::trace (line 183)"
17 => "Shopware\Core\Checkout\Cart\CartRuleLoader::load (line 83)"
18 => "Shopware\Core\Checkout\Cart\CartRuleLoader::loadByToken (line 106)"
19 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::Shopware\Core\System\SalesChannel\Context\{closure} (line 59)"
20 => "Shopware\Core\Profiling\Profiler::trace (line 111)"
21 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::get (line 105)"
22 => "Shopware\Core\Framework\Routing\SalesChannelRequestContextResolver::resolve (line 38)"
23 => "Shopware\Core\Framework\Routing\ContextResolverListener::resolveContext (line 118)"
24 => "Symfony\Component\EventDispatcher\Debug\WrappedListener::__invoke (line 230)"
25 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
26 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
27 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
28 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
29 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
30 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
31 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 151)"
32 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
33 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
34 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
35 => "Shopware\Core\HttpKernel::doHandle (line 81)"
36 => "Shopware\Core\HttpKernel::handle (line 85)"
]
|
42 |
2.41 ms |
SELECT `product_price`.`id` as `product_price.id`, `product_price`.`version_id` as `product_price.versionId`, `product_price`.`product_id` as `product_price.productId`, `product_price`.`product_version_id` as `product_price.productVersionId`, `product_price`.`rule_id` as `product_price.ruleId`, `product_price`.`price` as `product_price.price`, `product_price`.`quantity_start` as `product_price.quantityStart`, `product_price`.`quantity_end` as `product_price.quantityEnd`, `product_price`.`custom_fields` as `product_price.customFields`, `product_price`.`created_at` as `product_price.createdAt`, `product_price`.`updated_at` as `product_price.updatedAt` FROM `product_price` WHERE (`product_price`.`version_id` = :version) AND ((`product_price`.`product_id` IN (:param_83ac7b3819f249cab2a0a42754fb2e51)))
SELECT `product_price`.`id` as `product_price.id`, `product_price`.`version_id` as `product_price.versionId`, `product_price`.`product_id` as `product_price.productId`, `product_price`.`product_version_id` as `product_price.productVersionId`, `product_price`.`rule_id` as `product_price.ruleId`, `product_price`.`price` as `product_price.price`, `product_price`.`quantity_start` as `product_price.quantityStart`, `product_price`.`quantity_end` as `product_price.quantityEnd`, `product_price`.`custom_fields` as `product_price.customFields`, `product_price`.`created_at` as `product_price.createdAt`, `product_price`.`updated_at` as `product_price.updatedAt` FROM `product_price` WHERE (`product_price`.`version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425) AND ((`product_price`.`product_id` IN (0xA963C07A18E943B5B61CCF2C13CB9130, 0xABB6575B87F64A09847D9505F091411D)));
array:41 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 242)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 316)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetch (line 148)"
4 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 503)"
5 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::loadOneToManyWithoutPagination (line 438)"
6 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::loadOneToMany (line 1210)"
7 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetchAssociations (line 152)"
8 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 93)"
9 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::read (line 195)"
10 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::read (line 133)"
11 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 36)"
12 => "Swag\PayPal\Util\Compatibility\SalesChannelRepositoryDecorator::search (line 207)"
13 => "Tds\MerwareDiscounts\Cart\Checkout\OverwrittenPriceCollector::getSalesChannelProduct (line 93)"
14 => "Tds\MerwareDiscounts\Cart\Checkout\OverwrittenPriceCollector::collect (line 103)"
15 => "Shopware\Core\Checkout\Cart\Processor::runProcessors (line 67)"
16 => "Shopware\Core\Checkout\Cart\Processor::Shopware\Core\Checkout\Cart\{closure} (line 59)"
17 => "Shopware\Core\Profiling\Profiler::trace (line 86)"
18 => "Shopware\Core\Checkout\Cart\Processor::process (line 132)"
19 => "Shopware\Core\Checkout\Cart\CartRuleLoader::Shopware\Core\Checkout\Cart\{closure} (line 59)"
20 => "Shopware\Core\Profiling\Profiler::trace (line 183)"
21 => "Shopware\Core\Checkout\Cart\CartRuleLoader::load (line 83)"
22 => "Shopware\Core\Checkout\Cart\CartRuleLoader::loadByToken (line 106)"
23 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::Shopware\Core\System\SalesChannel\Context\{closure} (line 59)"
24 => "Shopware\Core\Profiling\Profiler::trace (line 111)"
25 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::get (line 105)"
26 => "Shopware\Core\Framework\Routing\SalesChannelRequestContextResolver::resolve (line 38)"
27 => "Shopware\Core\Framework\Routing\ContextResolverListener::resolveContext (line 118)"
28 => "Symfony\Component\EventDispatcher\Debug\WrappedListener::__invoke (line 230)"
29 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
30 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
31 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
32 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
33 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
34 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
35 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 151)"
36 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
37 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
38 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
39 => "Shopware\Core\HttpKernel::doHandle (line 81)"
40 => "Shopware\Core\HttpKernel::handle (line 85)"
]
|
43 |
0.50 ms |
SELECT `product`.`id`, `product`.`product_number`, `product`.`auto_increment` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN `product_visibility` `product.visibilities` ON `product`.`visibilities` = `product.visibilities`.`product_id` AND `product`.version_id = `product.visibilities`.product_version_id WHERE (`product`.`version_id` = :version) AND ((((`product.visibilities`.`visibility` >= :param_6db7dab6bc2843c6ad1c6e28e7df74f1) AND `product.visibilities`.`sales_channel_id` = :param_139a159b697648a6a566677720f7e6db AND IFNULL(`product`.`active`, `product.parent`.`active`) = :param_b452bafea3ee44f5b579ab22cd29e484))) AND (`product`.`id` IN (:ids)) GROUP BY `product`.`id`
SELECT `product`.`id`, `product`.`product_number`, `product`.`auto_increment` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN `product_visibility` `product.visibilities` ON `product`.`visibilities` = `product.visibilities`.`product_id` AND `product`.version_id = `product.visibilities`.product_version_id WHERE (`product`.`version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425) AND ((((`product.visibilities`.`visibility` >= 10) AND `product.visibilities`.`sales_channel_id` = 0x4EB9108BE4654CC9B140D14DE85579E9 AND IFNULL(`product`.`active`, `product.parent`.`active`) = 1))) AND (`product`.`id` IN (0xD165608E94124F1ABB16BA3C10144066)) GROUP BY `product`.`id`;
array:36 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 242)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 107)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntitySearcher::search (line 62)"
4 => "Shopware\Elasticsearch\Framework\DataAbstractionLayer\ElasticsearchEntitySearcher::search (line 216)"
5 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::doSearch (line 122)"
6 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 36)"
7 => "Swag\PayPal\Util\Compatibility\SalesChannelRepositoryDecorator::search (line 207)"
8 => "Tds\MerwareDiscounts\Cart\Checkout\OverwrittenPriceCollector::getSalesChannelProduct (line 93)"
9 => "Tds\MerwareDiscounts\Cart\Checkout\OverwrittenPriceCollector::collect (line 103)"
10 => "Shopware\Core\Checkout\Cart\Processor::runProcessors (line 67)"
11 => "Shopware\Core\Checkout\Cart\Processor::Shopware\Core\Checkout\Cart\{closure} (line 59)"
12 => "Shopware\Core\Profiling\Profiler::trace (line 86)"
13 => "Shopware\Core\Checkout\Cart\Processor::process (line 132)"
14 => "Shopware\Core\Checkout\Cart\CartRuleLoader::Shopware\Core\Checkout\Cart\{closure} (line 59)"
15 => "Shopware\Core\Profiling\Profiler::trace (line 183)"
16 => "Shopware\Core\Checkout\Cart\CartRuleLoader::load (line 83)"
17 => "Shopware\Core\Checkout\Cart\CartRuleLoader::loadByToken (line 106)"
18 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::Shopware\Core\System\SalesChannel\Context\{closure} (line 59)"
19 => "Shopware\Core\Profiling\Profiler::trace (line 111)"
20 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::get (line 105)"
21 => "Shopware\Core\Framework\Routing\SalesChannelRequestContextResolver::resolve (line 38)"
22 => "Shopware\Core\Framework\Routing\ContextResolverListener::resolveContext (line 118)"
23 => "Symfony\Component\EventDispatcher\Debug\WrappedListener::__invoke (line 230)"
24 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
25 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
26 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
27 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
28 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
29 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
30 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 151)"
31 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
32 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
33 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
34 => "Shopware\Core\HttpKernel::doHandle (line 81)"
35 => "Shopware\Core\HttpKernel::handle (line 85)"
]
|
44 |
12.91 ms |
SELECT `product`.`id` as `product.id`, `product`.`version_id` as `product.versionId`, `product`.`parent_id` as `product.parentId`, `product`.`parent_version_id` as `product.parentVersionId`, COALESCE(`product`.`product_manufacturer_id`, `product.parent`.`product_manufacturer_id`) as `product.manufacturerId`, COALESCE(`product`.`product_manufacturer_version_id`, `product.parent`.`product_manufacturer_version_id`) as `product.productManufacturerVersionId`, COALESCE(`product`.`unit_id`, `product.parent`.`unit_id`) as `product.unitId`, COALESCE(`product`.`tax_id`, `product.parent`.`tax_id`) as `product.taxId`, COALESCE(`product`.`product_media_id`, `product.parent`.`product_media_id`) as `product.coverId`, COALESCE(`product`.`product_media_version_id`, `product.parent`.`product_media_version_id`) as `product.productMediaVersionId`, COALESCE(`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`) as `product.deliveryTimeId`, COALESCE(`product`.`product_feature_set_id`, `product.parent`.`product_feature_set_id`) as `product.featureSetId`, COALESCE(`product`.`canonical_product_id`, `product.parent`.`canonical_product_id`) as `product.canonicalProductId`, COALESCE(`product`.`cms_page_id`, `product.parent`.`cms_page_id`) as `product.cmsPageId`, COALESCE(`product`.`cms_page_version_id`, `product.parent`.`cms_page_version_id`) as `product.cmsPageVersionId`, `product.parent`.`price` as `product.price.inherited`, COALESCE(`product`.`price`, `product.parent`.`price`) as `product.price`, `product`.`product_number` as `product.productNumber`, `product`.`stock` as `product.stock`, COALESCE(`product`.`restock_time`, `product.parent`.`restock_time`) as `product.restockTime`, `product`.`auto_increment` as `product.autoIncrement`, COALESCE(`product`.`active`, `product.parent`.`active`) as `product.active`, `product`.`available_stock` as `product.availableStock`, `product`.`available` as `product.available`, COALESCE(`product`.`is_closeout`, `product.parent`.`is_closeout`) as `product.isCloseout`, `product`.`display_group` as `product.displayGroup`, `product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`, COALESCE(`product`.`configurator_group_config`, `product.parent`.`configurator_group_config`) as `product.configuratorGroupConfig`, COALESCE(`product`.`main_variant_id`, `product.parent`.`main_variant_id`) as `product.mainVariantId`, COALESCE(`product`.`display_parent`, `product.parent`.`display_parent`) as `product.displayParent`, `product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`, COALESCE(`product`.`variant_listing_config`, `product.parent`.`variant_listing_config`) as `product.variantListingConfig`, `product`.`variant_restrictions` as `product.variantRestrictions`, COALESCE(`product`.`manufacturer_number`, `product.parent`.`manufacturer_number`) as `product.manufacturerNumber`, COALESCE(`product`.`ean`, `product.parent`.`ean`) as `product.ean`, COALESCE(`product`.`purchase_steps`, `product.parent`.`purchase_steps`) as `product.purchaseSteps`, COALESCE(`product`.`max_purchase`, `product.parent`.`max_purchase`) as `product.maxPurchase`, COALESCE(`product`.`min_purchase`, `product.parent`.`min_purchase`) as `product.minPurchase`, COALESCE(`product`.`purchase_unit`, `product.parent`.`purchase_unit`) as `product.purchaseUnit`, COALESCE(`product`.`reference_unit`, `product.parent`.`reference_unit`) as `product.referenceUnit`, COALESCE(`product`.`shipping_free`, `product.parent`.`shipping_free`) as `product.shippingFree`, `product.parent`.`purchase_prices` as `product.purchasePrices.inherited`, COALESCE(`product`.`purchase_prices`, `product.parent`.`purchase_prices`) as `product.purchasePrices`, COALESCE(`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`) as `product.markAsTopseller`, COALESCE(`product`.`weight`, `product.parent`.`weight`) as `product.weight`, COALESCE(`product`.`width`, `product.parent`.`width`) as `product.width`, COALESCE(`product`.`height`, `product.parent`.`height`) as `product.height`, COALESCE(`product`.`length`, `product.parent`.`length`) as `product.length`, COALESCE(`product`.`release_date`, `product.parent`.`release_date`) as `product.releaseDate`, COALESCE(`product`.`rating_average`, `product.parent`.`rating_average`) as `product.ratingAverage`, `product.parent`.`category_tree` as `product.categoryTree.inherited`, COALESCE(`product`.`category_tree`, `product.parent`.`category_tree`) as `product.categoryTree`, `product.parent`.`property_ids` as `product.propertyIds.inherited`, COALESCE(`product`.`property_ids`, `product.parent`.`property_ids`) as `product.propertyIds`, `product.parent`.`option_ids` as `product.optionIds.inherited`, COALESCE(`product`.`option_ids`, `product.parent`.`option_ids`) as `product.optionIds`, `product.parent`.`stream_ids` as `product.streamIds.inherited`, COALESCE(`product`.`stream_ids`, `product.parent`.`stream_ids`) as `product.streamIds`, `product.parent`.`tag_ids` as `product.tagIds.inherited`, COALESCE(`product`.`tag_ids`, `product.parent`.`tag_ids`) as `product.tagIds`, `product.parent`.`category_ids` as `product.categoryIds.inherited`, COALESCE(`product`.`category_ids`, `product.parent`.`category_ids`) as `product.categoryIds`, `product`.`child_count` as `product.childCount`, COALESCE(`product`.`custom_field_set_selection_active`, `product.parent`.`custom_field_set_selection_active`) as `product.customFieldSetSelectionActive`, `product`.`sales` as `product.sales`, `product`.`states` as `product.states`, `product.tax`.`id` as `product.tax.id`, `product.tax`.`tax_rate` as `product.tax.taxRate`, `product.tax`.`name` as `product.tax.name`, `product.tax`.`position` as `product.tax.position`, `product.tax`.`custom_fields` as `product.tax.customFields`, `product.tax`.`created_at` as `product.tax.createdAt`, `product.tax`.`updated_at` as `product.tax.updatedAt`, `product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`, COALESCE(`product`.`cheapest_price`, `product.parent`.`cheapest_price`) as `product.cheapestPrice`, `product`.`created_at` as `product.createdAt`, `product`.`updated_at` as `product.updatedAt`, `product.unit`.`id` as `product.unit.id`, `product.unit`.`created_at` as `product.unit.createdAt`, `product.unit`.`updated_at` as `product.unit.updatedAt`, `product.unit.translation.shortCode`, COALESCE(`product.unit.translation.shortCode`,`product.unit.translation.shortCode`) as `product.unit.shortCode`, `product.unit.translation.name`, COALESCE(`product.unit.translation.name`,`product.unit.translation.name`) as `product.unit.name`, `product.unit.translation.customFields`, COALESCE(`product.unit.translation.customFields`,`product.unit.translation.customFields`) as `product.unit.customFields`, `product.unit.translation.createdAt`, `product.unit.translation.updatedAt`, `product.unit.translation.unitId`, `product.unit.translation.languageId`, `product.deliveryTime`.`id` as `product.deliveryTime.id`, `product.deliveryTime`.`min` as `product.deliveryTime.min`, `product.deliveryTime`.`max` as `product.deliveryTime.max`, `product.deliveryTime`.`unit` as `product.deliveryTime.unit`, `product.deliveryTime`.`created_at` as `product.deliveryTime.createdAt`, `product.deliveryTime`.`updated_at` as `product.deliveryTime.updatedAt`, `product.deliveryTime.translation.name`, COALESCE(`product.deliveryTime.translation.name`,`product.deliveryTime.translation.name`) as `product.deliveryTime.name`, `product.deliveryTime.translation.customFields`, COALESCE(`product.deliveryTime.translation.customFields`,`product.deliveryTime.translation.customFields`) as `product.deliveryTime.customFields`, `product.deliveryTime.translation.createdAt`, `product.deliveryTime.translation.updatedAt`, `product.deliveryTime.translation.deliveryTimeId`, `product.deliveryTime.translation.languageId`, `product.cover`.`id` as `product.cover.id`, `product.cover`.`version_id` as `product.cover.versionId`, `product.cover`.`product_id` as `product.cover.productId`, `product.cover`.`product_version_id` as `product.cover.productVersionId`, `product.cover`.`media_id` as `product.cover.mediaId`, `product.cover`.`position` as `product.cover.position`, `product.cover.media`.`id` as `product.cover.media.id`, `product.cover.media`.`user_id` as `product.cover.media.userId`, `product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`, `product.cover.media`.`mime_type` as `product.cover.media.mimeType`, `product.cover.media`.`file_extension` as `product.cover.media.fileExtension`, `product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`, `product.cover.media`.`file_name` as `product.cover.media.fileName`, `product.cover.media`.`file_size` as `product.cover.media.fileSize`, `product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`, `product.cover.media`.`meta_data` as `product.cover.media.metaData`, `product.cover.media`.`private` as `product.cover.media.private`, `product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`, `product.cover.media`.`created_at` as `product.cover.media.createdAt`, `product.cover.media`.`updated_at` as `product.cover.media.updatedAt`, `product.cover.media.translation.title`, COALESCE(`product.cover.media.translation.title`,`product.cover.media.translation.title`) as `product.cover.media.title`, `product.cover.media.translation.alt`, COALESCE(`product.cover.media.translation.alt`,`product.cover.media.translation.alt`) as `product.cover.media.alt`, `product.cover.media.translation.customFields`, COALESCE(`product.cover.media.translation.customFields`,`product.cover.media.translation.customFields`) as `product.cover.media.customFields`, `product.cover.media.translation.createdAt`, `product.cover.media.translation.updatedAt`, `product.cover.media.translation.mediaId`, `product.cover.media.translation.languageId`, `product.cover`.`custom_fields` as `product.cover.customFields`, `product.cover`.`created_at` as `product.cover.createdAt`, `product.cover`.`updated_at` as `product.cover.updatedAt`, `product.translation.metaDescription`, `product.parent.translation.metaDescription`, COALESCE(`product.translation.metaDescription`,`product.parent.translation.metaDescription`,`product.translation.metaDescription`) as `product.metaDescription`, `product.translation.name`, `product.parent.translation.name`, COALESCE(`product.translation.name`,`product.parent.translation.name`,`product.translation.name`) as `product.name`, `product.translation.keywords`, `product.parent.translation.keywords`, COALESCE(`product.translation.keywords`,`product.parent.translation.keywords`,`product.translation.keywords`) as `product.keywords`, `product.translation.description`, `product.parent.translation.description`, COALESCE(`product.translation.description`,`product.parent.translation.description`,`product.translation.description`) as `product.description`, `product.translation.metaTitle`, `product.parent.translation.metaTitle`, COALESCE(`product.translation.metaTitle`,`product.parent.translation.metaTitle`,`product.translation.metaTitle`) as `product.metaTitle`, `product.translation.packUnit`, `product.parent.translation.packUnit`, COALESCE(`product.translation.packUnit`,`product.parent.translation.packUnit`,`product.translation.packUnit`) as `product.packUnit`, `product.translation.packUnitPlural`, `product.parent.translation.packUnitPlural`, COALESCE(`product.translation.packUnitPlural`,`product.parent.translation.packUnitPlural`,`product.translation.packUnitPlural`) as `product.packUnitPlural`, `product.translation.customSearchKeywords`, `product.parent.translation.customSearchKeywords`, COALESCE(`product.translation.customSearchKeywords`,`product.parent.translation.customSearchKeywords`,`product.translation.customSearchKeywords`) as `product.customSearchKeywords`, `product.translation.slotConfig`, `product.parent.translation.slotConfig`, COALESCE(`product.translation.slotConfig`,`product.parent.translation.slotConfig`,`product.translation.slotConfig`) as `product.slotConfig`, `product.translation.customFields`, `product.parent.translation.customFields`, COALESCE(`product.translation.customFields`,`product.parent.translation.customFields`,`product.translation.customFields`) as `product.customFields`, `product.translation.createdAt`, `product.parent.translation.createdAt`, `product.translation.updatedAt`, `product.parent.translation.updatedAt`, `product.translation.productId`, `product.parent.translation.productId`, `product.translation.languageId`, `product.parent.translation.languageId`, `product.translation.productVersionId`, `product.parent.translation.productVersionId` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN (SELECT `product.translation`.product_id, `product.translation`.product_version_id, `product.translation`.meta_description as `product.translation.metaDescription`, `product.translation`.name as `product.translation.name`, `product.translation`.keywords as `product.translation.keywords`, `product.translation`.description as `product.translation.description`, `product.translation`.meta_title as `product.translation.metaTitle`, `product.translation`.pack_unit as `product.translation.packUnit`, `product.translation`.pack_unit_plural as `product.translation.packUnitPlural`, `product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`, `product.translation`.slot_config as `product.translation.slotConfig`, `product.translation`.custom_fields as `product.translation.customFields`, `product.translation`.created_at as `product.translation.createdAt`, `product.translation`.updated_at as `product.translation.updatedAt`, `product.translation`.product_id as `product.translation.productId`, `product.translation`.language_id as `product.translation.languageId`, `product.translation`.product_version_id as `product.translation.productVersionId` FROM `product_translation` `product.translation` WHERE `product.translation`.language_id = :languageId) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id` AND `product.product_translation`.product_version_id = `product`.version_id LEFT JOIN (SELECT `product.parent.translation`.product_id, `product.parent.translation`.product_version_id, `product.parent.translation`.meta_description as `product.parent.translation.metaDescription`, `product.parent.translation`.name as `product.parent.translation.name`, `product.parent.translation`.keywords as `product.parent.translation.keywords`, `product.parent.translation`.description as `product.parent.translation.description`, `product.parent.translation`.meta_title as `product.parent.translation.metaTitle`, `product.parent.translation`.pack_unit as `product.parent.translation.packUnit`, `product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`, `product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`, `product.parent.translation`.slot_config as `product.parent.translation.slotConfig`, `product.parent.translation`.custom_fields as `product.parent.translation.customFields`, `product.parent.translation`.created_at as `product.parent.translation.createdAt`, `product.parent.translation`.updated_at as `product.parent.translation.updatedAt`, `product.parent.translation`.product_id as `product.parent.translation.productId`, `product.parent.translation`.language_id as `product.parent.translation.languageId`, `product.parent.translation`.product_version_id as `product.parent.translation.productVersionId` FROM `product_translation` `product.parent.translation` WHERE `product.parent.translation`.language_id = :languageId) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id` AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id` LEFT JOIN `unit` `product.unit` ON `product`.`unit` = `product.unit`.`id` LEFT JOIN `delivery_time` `product.deliveryTime` ON `product`.`deliveryTime` = `product.deliveryTime`.`id` LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id` AND `product`.`version_id` = `product.cover`.`version_id` LEFT JOIN (SELECT `product.unit.translation`.unit_id, `product.unit.translation`.short_code as `product.unit.translation.shortCode`, `product.unit.translation`.name as `product.unit.translation.name`, `product.unit.translation`.custom_fields as `product.unit.translation.customFields`, `product.unit.translation`.created_at as `product.unit.translation.createdAt`, `product.unit.translation`.updated_at as `product.unit.translation.updatedAt`, `product.unit.translation`.unit_id as `product.unit.translation.unitId`, `product.unit.translation`.language_id as `product.unit.translation.languageId` FROM `unit_translation` `product.unit.translation` WHERE `product.unit.translation`.language_id = :languageId) `product.unit.unit_translation` ON `product.unit.unit_translation`.`unit_id` = `product.unit`.`id` LEFT JOIN (SELECT `product.deliveryTime.translation`.delivery_time_id, `product.deliveryTime.translation`.name as `product.deliveryTime.translation.name`, `product.deliveryTime.translation`.custom_fields as `product.deliveryTime.translation.customFields`, `product.deliveryTime.translation`.created_at as `product.deliveryTime.translation.createdAt`, `product.deliveryTime.translation`.updated_at as `product.deliveryTime.translation.updatedAt`, `product.deliveryTime.translation`.delivery_time_id as `product.deliveryTime.translation.deliveryTimeId`, `product.deliveryTime.translation`.language_id as `product.deliveryTime.translation.languageId` FROM `delivery_time_translation` `product.deliveryTime.translation` WHERE `product.deliveryTime.translation`.language_id = :languageId) `product.deliveryTime.delivery_time_translation` ON `product.deliveryTime.delivery_time_translation`.`delivery_time_id` = `product.deliveryTime`.`id` LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id` LEFT JOIN (SELECT `product.cover.media.translation`.media_id, `product.cover.media.translation`.title as `product.cover.media.translation.title`, `product.cover.media.translation`.alt as `product.cover.media.translation.alt`, `product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`, `product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`, `product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`, `product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`, `product.cover.media.translation`.language_id as `product.cover.media.translation.languageId` FROM `media_translation` `product.cover.media.translation` WHERE `product.cover.media.translation`.language_id = :languageId) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id` WHERE (`product`.`version_id` = :version) AND (`product`.`id` IN (:ids))
SELECT
`product`.`id` as `product.id`,
`product`.`version_id` as `product.versionId`,
`product`.`parent_id` as `product.parentId`,
`product`.`parent_version_id` as `product.parentVersionId`,
COALESCE(
`product`.`product_manufacturer_id`,
`product.parent`.`product_manufacturer_id`
) as `product.manufacturerId`,
COALESCE(
`product`.`product_manufacturer_version_id`,
`product.parent`.`product_manufacturer_version_id`
) as `product.productManufacturerVersionId`,
COALESCE(
`product`.`unit_id`, `product.parent`.`unit_id`
) as `product.unitId`,
COALESCE(
`product`.`tax_id`, `product.parent`.`tax_id`
) as `product.taxId`,
COALESCE(
`product`.`product_media_id`, `product.parent`.`product_media_id`
) as `product.coverId`,
COALESCE(
`product`.`product_media_version_id`,
`product.parent`.`product_media_version_id`
) as `product.productMediaVersionId`,
COALESCE(
`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`
) as `product.deliveryTimeId`,
COALESCE(
`product`.`product_feature_set_id`,
`product.parent`.`product_feature_set_id`
) as `product.featureSetId`,
COALESCE(
`product`.`canonical_product_id`,
`product.parent`.`canonical_product_id`
) as `product.canonicalProductId`,
COALESCE(
`product`.`cms_page_id`, `product.parent`.`cms_page_id`
) as `product.cmsPageId`,
COALESCE(
`product`.`cms_page_version_id`,
`product.parent`.`cms_page_version_id`
) as `product.cmsPageVersionId`,
`product.parent`.`price` as `product.price.inherited`,
COALESCE(
`product`.`price`, `product.parent`.`price`
) as `product.price`,
`product`.`product_number` as `product.productNumber`,
`product`.`stock` as `product.stock`,
COALESCE(
`product`.`restock_time`, `product.parent`.`restock_time`
) as `product.restockTime`,
`product`.`auto_increment` as `product.autoIncrement`,
COALESCE(
`product`.`active`, `product.parent`.`active`
) as `product.active`,
`product`.`available_stock` as `product.availableStock`,
`product`.`available` as `product.available`,
COALESCE(
`product`.`is_closeout`, `product.parent`.`is_closeout`
) as `product.isCloseout`,
`product`.`display_group` as `product.displayGroup`,
`product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`,
COALESCE(
`product`.`configurator_group_config`,
`product.parent`.`configurator_group_config`
) as `product.configuratorGroupConfig`,
COALESCE(
`product`.`main_variant_id`, `product.parent`.`main_variant_id`
) as `product.mainVariantId`,
COALESCE(
`product`.`display_parent`, `product.parent`.`display_parent`
) as `product.displayParent`,
`product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`,
COALESCE(
`product`.`variant_listing_config`,
`product.parent`.`variant_listing_config`
) as `product.variantListingConfig`,
`product`.`variant_restrictions` as `product.variantRestrictions`,
COALESCE(
`product`.`manufacturer_number`,
`product.parent`.`manufacturer_number`
) as `product.manufacturerNumber`,
COALESCE(
`product`.`ean`, `product.parent`.`ean`
) as `product.ean`,
COALESCE(
`product`.`purchase_steps`, `product.parent`.`purchase_steps`
) as `product.purchaseSteps`,
COALESCE(
`product`.`max_purchase`, `product.parent`.`max_purchase`
) as `product.maxPurchase`,
COALESCE(
`product`.`min_purchase`, `product.parent`.`min_purchase`
) as `product.minPurchase`,
COALESCE(
`product`.`purchase_unit`, `product.parent`.`purchase_unit`
) as `product.purchaseUnit`,
COALESCE(
`product`.`reference_unit`, `product.parent`.`reference_unit`
) as `product.referenceUnit`,
COALESCE(
`product`.`shipping_free`, `product.parent`.`shipping_free`
) as `product.shippingFree`,
`product.parent`.`purchase_prices` as `product.purchasePrices.inherited`,
COALESCE(
`product`.`purchase_prices`, `product.parent`.`purchase_prices`
) as `product.purchasePrices`,
COALESCE(
`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`
) as `product.markAsTopseller`,
COALESCE(
`product`.`weight`, `product.parent`.`weight`
) as `product.weight`,
COALESCE(
`product`.`width`, `product.parent`.`width`
) as `product.width`,
COALESCE(
`product`.`height`, `product.parent`.`height`
) as `product.height`,
COALESCE(
`product`.`length`, `product.parent`.`length`
) as `product.length`,
COALESCE(
`product`.`release_date`, `product.parent`.`release_date`
) as `product.releaseDate`,
COALESCE(
`product`.`rating_average`, `product.parent`.`rating_average`
) as `product.ratingAverage`,
`product.parent`.`category_tree` as `product.categoryTree.inherited`,
COALESCE(
`product`.`category_tree`, `product.parent`.`category_tree`
) as `product.categoryTree`,
`product.parent`.`property_ids` as `product.propertyIds.inherited`,
COALESCE(
`product`.`property_ids`, `product.parent`.`property_ids`
) as `product.propertyIds`,
`product.parent`.`option_ids` as `product.optionIds.inherited`,
COALESCE(
`product`.`option_ids`, `product.parent`.`option_ids`
) as `product.optionIds`,
`product.parent`.`stream_ids` as `product.streamIds.inherited`,
COALESCE(
`product`.`stream_ids`, `product.parent`.`stream_ids`
) as `product.streamIds`,
`product.parent`.`tag_ids` as `product.tagIds.inherited`,
COALESCE(
`product`.`tag_ids`, `product.parent`.`tag_ids`
) as `product.tagIds`,
`product.parent`.`category_ids` as `product.categoryIds.inherited`,
COALESCE(
`product`.`category_ids`, `product.parent`.`category_ids`
) as `product.categoryIds`,
`product`.`child_count` as `product.childCount`,
COALESCE(
`product`.`custom_field_set_selection_active`,
`product.parent`.`custom_field_set_selection_active`
) as `product.customFieldSetSelectionActive`,
`product`.`sales` as `product.sales`,
`product`.`states` as `product.states`,
`product.tax`.`id` as `product.tax.id`,
`product.tax`.`tax_rate` as `product.tax.taxRate`,
`product.tax`.`name` as `product.tax.name`,
`product.tax`.`position` as `product.tax.position`,
`product.tax`.`custom_fields` as `product.tax.customFields`,
`product.tax`.`created_at` as `product.tax.createdAt`,
`product.tax`.`updated_at` as `product.tax.updatedAt`,
`product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`,
COALESCE(
`product`.`cheapest_price`, `product.parent`.`cheapest_price`
) as `product.cheapestPrice`,
`product`.`created_at` as `product.createdAt`,
`product`.`updated_at` as `product.updatedAt`,
`product.unit`.`id` as `product.unit.id`,
`product.unit`.`created_at` as `product.unit.createdAt`,
`product.unit`.`updated_at` as `product.unit.updatedAt`,
`product.unit.translation.shortCode`,
COALESCE(
`product.unit.translation.shortCode`,
`product.unit.translation.shortCode`
) as `product.unit.shortCode`,
`product.unit.translation.name`,
COALESCE(
`product.unit.translation.name`,
`product.unit.translation.name`
) as `product.unit.name`,
`product.unit.translation.customFields`,
COALESCE(
`product.unit.translation.customFields`,
`product.unit.translation.customFields`
) as `product.unit.customFields`,
`product.unit.translation.createdAt`,
`product.unit.translation.updatedAt`,
`product.unit.translation.unitId`,
`product.unit.translation.languageId`,
`product.deliveryTime`.`id` as `product.deliveryTime.id`,
`product.deliveryTime`.`min` as `product.deliveryTime.min`,
`product.deliveryTime`.`max` as `product.deliveryTime.max`,
`product.deliveryTime`.`unit` as `product.deliveryTime.unit`,
`product.deliveryTime`.`created_at` as `product.deliveryTime.createdAt`,
`product.deliveryTime`.`updated_at` as `product.deliveryTime.updatedAt`,
`product.deliveryTime.translation.name`,
COALESCE(
`product.deliveryTime.translation.name`,
`product.deliveryTime.translation.name`
) as `product.deliveryTime.name`,
`product.deliveryTime.translation.customFields`,
COALESCE(
`product.deliveryTime.translation.customFields`,
`product.deliveryTime.translation.customFields`
) as `product.deliveryTime.customFields`,
`product.deliveryTime.translation.createdAt`,
`product.deliveryTime.translation.updatedAt`,
`product.deliveryTime.translation.deliveryTimeId`,
`product.deliveryTime.translation.languageId`,
`product.cover`.`id` as `product.cover.id`,
`product.cover`.`version_id` as `product.cover.versionId`,
`product.cover`.`product_id` as `product.cover.productId`,
`product.cover`.`product_version_id` as `product.cover.productVersionId`,
`product.cover`.`media_id` as `product.cover.mediaId`,
`product.cover`.`position` as `product.cover.position`,
`product.cover.media`.`id` as `product.cover.media.id`,
`product.cover.media`.`user_id` as `product.cover.media.userId`,
`product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`,
`product.cover.media`.`mime_type` as `product.cover.media.mimeType`,
`product.cover.media`.`file_extension` as `product.cover.media.fileExtension`,
`product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`,
`product.cover.media`.`file_name` as `product.cover.media.fileName`,
`product.cover.media`.`file_size` as `product.cover.media.fileSize`,
`product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`,
`product.cover.media`.`meta_data` as `product.cover.media.metaData`,
`product.cover.media`.`private` as `product.cover.media.private`,
`product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`,
`product.cover.media`.`created_at` as `product.cover.media.createdAt`,
`product.cover.media`.`updated_at` as `product.cover.media.updatedAt`,
`product.cover.media.translation.title`,
COALESCE(
`product.cover.media.translation.title`,
`product.cover.media.translation.title`
) as `product.cover.media.title`,
`product.cover.media.translation.alt`,
COALESCE(
`product.cover.media.translation.alt`,
`product.cover.media.translation.alt`
) as `product.cover.media.alt`,
`product.cover.media.translation.customFields`,
COALESCE(
`product.cover.media.translation.customFields`,
`product.cover.media.translation.customFields`
) as `product.cover.media.customFields`,
`product.cover.media.translation.createdAt`,
`product.cover.media.translation.updatedAt`,
`product.cover.media.translation.mediaId`,
`product.cover.media.translation.languageId`,
`product.cover`.`custom_fields` as `product.cover.customFields`,
`product.cover`.`created_at` as `product.cover.createdAt`,
`product.cover`.`updated_at` as `product.cover.updatedAt`,
`product.translation.metaDescription`,
`product.parent.translation.metaDescription`,
COALESCE(
`product.translation.metaDescription`,
`product.parent.translation.metaDescription`,
`product.translation.metaDescription`
) as `product.metaDescription`,
`product.translation.name`,
`product.parent.translation.name`,
COALESCE(
`product.translation.name`, `product.parent.translation.name`,
`product.translation.name`
) as `product.name`,
`product.translation.keywords`,
`product.parent.translation.keywords`,
COALESCE(
`product.translation.keywords`,
`product.parent.translation.keywords`,
`product.translation.keywords`
) as `product.keywords`,
`product.translation.description`,
`product.parent.translation.description`,
COALESCE(
`product.translation.description`,
`product.parent.translation.description`,
`product.translation.description`
) as `product.description`,
`product.translation.metaTitle`,
`product.parent.translation.metaTitle`,
COALESCE(
`product.translation.metaTitle`,
`product.parent.translation.metaTitle`,
`product.translation.metaTitle`
) as `product.metaTitle`,
`product.translation.packUnit`,
`product.parent.translation.packUnit`,
COALESCE(
`product.translation.packUnit`,
`product.parent.translation.packUnit`,
`product.translation.packUnit`
) as `product.packUnit`,
`product.translation.packUnitPlural`,
`product.parent.translation.packUnitPlural`,
COALESCE(
`product.translation.packUnitPlural`,
`product.parent.translation.packUnitPlural`,
`product.translation.packUnitPlural`
) as `product.packUnitPlural`,
`product.translation.customSearchKeywords`,
`product.parent.translation.customSearchKeywords`,
COALESCE(
`product.translation.customSearchKeywords`,
`product.parent.translation.customSearchKeywords`,
`product.translation.customSearchKeywords`
) as `product.customSearchKeywords`,
`product.translation.slotConfig`,
`product.parent.translation.slotConfig`,
COALESCE(
`product.translation.slotConfig`,
`product.parent.translation.slotConfig`,
`product.translation.slotConfig`
) as `product.slotConfig`,
`product.translation.customFields`,
`product.parent.translation.customFields`,
COALESCE(
`product.translation.customFields`,
`product.parent.translation.customFields`,
`product.translation.customFields`
) as `product.customFields`,
`product.translation.createdAt`,
`product.parent.translation.createdAt`,
`product.translation.updatedAt`,
`product.parent.translation.updatedAt`,
`product.translation.productId`,
`product.parent.translation.productId`,
`product.translation.languageId`,
`product.parent.translation.languageId`,
`product.translation.productVersionId`,
`product.parent.translation.productVersionId`
FROM
`product`
LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id`
AND `product`.`version_id` = `product.parent`.`version_id`
LEFT JOIN (
SELECT
`product.translation`.product_id,
`product.translation`.product_version_id,
`product.translation`.meta_description as `product.translation.metaDescription`,
`product.translation`.name as `product.translation.name`,
`product.translation`.keywords as `product.translation.keywords`,
`product.translation`.description as `product.translation.description`,
`product.translation`.meta_title as `product.translation.metaTitle`,
`product.translation`.pack_unit as `product.translation.packUnit`,
`product.translation`.pack_unit_plural as `product.translation.packUnitPlural`,
`product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`,
`product.translation`.slot_config as `product.translation.slotConfig`,
`product.translation`.custom_fields as `product.translation.customFields`,
`product.translation`.created_at as `product.translation.createdAt`,
`product.translation`.updated_at as `product.translation.updatedAt`,
`product.translation`.product_id as `product.translation.productId`,
`product.translation`.language_id as `product.translation.languageId`,
`product.translation`.product_version_id as `product.translation.productVersionId`
FROM
`product_translation` `product.translation`
WHERE
`product.translation`.language_id = : languageId
) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id`
AND `product.product_translation`.product_version_id = `product`.version_id
LEFT JOIN (
SELECT
`product.parent.translation`.product_id,
`product.parent.translation`.product_version_id,
`product.parent.translation`.meta_description as `product.parent.translation.metaDescription`,
`product.parent.translation`.name as `product.parent.translation.name`,
`product.parent.translation`.keywords as `product.parent.translation.keywords`,
`product.parent.translation`.description as `product.parent.translation.description`,
`product.parent.translation`.meta_title as `product.parent.translation.metaTitle`,
`product.parent.translation`.pack_unit as `product.parent.translation.packUnit`,
`product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`,
`product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`,
`product.parent.translation`.slot_config as `product.parent.translation.slotConfig`,
`product.parent.translation`.custom_fields as `product.parent.translation.customFields`,
`product.parent.translation`.created_at as `product.parent.translation.createdAt`,
`product.parent.translation`.updated_at as `product.parent.translation.updatedAt`,
`product.parent.translation`.product_id as `product.parent.translation.productId`,
`product.parent.translation`.language_id as `product.parent.translation.languageId`,
`product.parent.translation`.product_version_id as `product.parent.translation.productVersionId`
FROM
`product_translation` `product.parent.translation`
WHERE
`product.parent.translation`.language_id = : languageId
) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id`
AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id
LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id`
LEFT JOIN `unit` `product.unit` ON `product`.`unit` = `product.unit`.`id`
LEFT JOIN `delivery_time` `product.deliveryTime` ON `product`.`deliveryTime` = `product.deliveryTime`.`id`
LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id`
AND `product`.`version_id` = `product.cover`.`version_id`
LEFT JOIN (
SELECT
`product.unit.translation`.unit_id,
`product.unit.translation`.short_code as `product.unit.translation.shortCode`,
`product.unit.translation`.name as `product.unit.translation.name`,
`product.unit.translation`.custom_fields as `product.unit.translation.customFields`,
`product.unit.translation`.created_at as `product.unit.translation.createdAt`,
`product.unit.translation`.updated_at as `product.unit.translation.updatedAt`,
`product.unit.translation`.unit_id as `product.unit.translation.unitId`,
`product.unit.translation`.language_id as `product.unit.translation.languageId`
FROM
`unit_translation` `product.unit.translation`
WHERE
`product.unit.translation`.language_id = : languageId
) `product.unit.unit_translation` ON `product.unit.unit_translation`.`unit_id` = `product.unit`.`id`
LEFT JOIN (
SELECT
`product.deliveryTime.translation`.delivery_time_id,
`product.deliveryTime.translation`.name as `product.deliveryTime.translation.name`,
`product.deliveryTime.translation`.custom_fields as `product.deliveryTime.translation.customFields`,
`product.deliveryTime.translation`.created_at as `product.deliveryTime.translation.createdAt`,
`product.deliveryTime.translation`.updated_at as `product.deliveryTime.translation.updatedAt`,
`product.deliveryTime.translation`.delivery_time_id as `product.deliveryTime.translation.deliveryTimeId`,
`product.deliveryTime.translation`.language_id as `product.deliveryTime.translation.languageId`
FROM
`delivery_time_translation` `product.deliveryTime.translation`
WHERE
`product.deliveryTime.translation`.language_id = : languageId
) `product.deliveryTime.delivery_time_translation` ON `product.deliveryTime.delivery_time_translation`.`delivery_time_id` = `product.deliveryTime`.`id`
LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id`
LEFT JOIN (
SELECT
`product.cover.media.translation`.media_id,
`product.cover.media.translation`.title as `product.cover.media.translation.title`,
`product.cover.media.translation`.alt as `product.cover.media.translation.alt`,
`product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`,
`product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`,
`product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`,
`product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`,
`product.cover.media.translation`.language_id as `product.cover.media.translation.languageId`
FROM
`media_translation` `product.cover.media.translation`
WHERE
`product.cover.media.translation`.language_id = : languageId
) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id`
WHERE
(
`product`.`version_id` = : version
)
AND (
`product`.`id` IN (: ids)
)
SELECT `product`.`id` as `product.id`, `product`.`version_id` as `product.versionId`, `product`.`parent_id` as `product.parentId`, `product`.`parent_version_id` as `product.parentVersionId`, COALESCE(`product`.`product_manufacturer_id`, `product.parent`.`product_manufacturer_id`) as `product.manufacturerId`, COALESCE(`product`.`product_manufacturer_version_id`, `product.parent`.`product_manufacturer_version_id`) as `product.productManufacturerVersionId`, COALESCE(`product`.`unit_id`, `product.parent`.`unit_id`) as `product.unitId`, COALESCE(`product`.`tax_id`, `product.parent`.`tax_id`) as `product.taxId`, COALESCE(`product`.`product_media_id`, `product.parent`.`product_media_id`) as `product.coverId`, COALESCE(`product`.`product_media_version_id`, `product.parent`.`product_media_version_id`) as `product.productMediaVersionId`, COALESCE(`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`) as `product.deliveryTimeId`, COALESCE(`product`.`product_feature_set_id`, `product.parent`.`product_feature_set_id`) as `product.featureSetId`, COALESCE(`product`.`canonical_product_id`, `product.parent`.`canonical_product_id`) as `product.canonicalProductId`, COALESCE(`product`.`cms_page_id`, `product.parent`.`cms_page_id`) as `product.cmsPageId`, COALESCE(`product`.`cms_page_version_id`, `product.parent`.`cms_page_version_id`) as `product.cmsPageVersionId`, `product.parent`.`price` as `product.price.inherited`, COALESCE(`product`.`price`, `product.parent`.`price`) as `product.price`, `product`.`product_number` as `product.productNumber`, `product`.`stock` as `product.stock`, COALESCE(`product`.`restock_time`, `product.parent`.`restock_time`) as `product.restockTime`, `product`.`auto_increment` as `product.autoIncrement`, COALESCE(`product`.`active`, `product.parent`.`active`) as `product.active`, `product`.`available_stock` as `product.availableStock`, `product`.`available` as `product.available`, COALESCE(`product`.`is_closeout`, `product.parent`.`is_closeout`) as `product.isCloseout`, `product`.`display_group` as `product.displayGroup`, `product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`, COALESCE(`product`.`configurator_group_config`, `product.parent`.`configurator_group_config`) as `product.configuratorGroupConfig`, COALESCE(`product`.`main_variant_id`, `product.parent`.`main_variant_id`) as `product.mainVariantId`, COALESCE(`product`.`display_parent`, `product.parent`.`display_parent`) as `product.displayParent`, `product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`, COALESCE(`product`.`variant_listing_config`, `product.parent`.`variant_listing_config`) as `product.variantListingConfig`, `product`.`variant_restrictions` as `product.variantRestrictions`, COALESCE(`product`.`manufacturer_number`, `product.parent`.`manufacturer_number`) as `product.manufacturerNumber`, COALESCE(`product`.`ean`, `product.parent`.`ean`) as `product.ean`, COALESCE(`product`.`purchase_steps`, `product.parent`.`purchase_steps`) as `product.purchaseSteps`, COALESCE(`product`.`max_purchase`, `product.parent`.`max_purchase`) as `product.maxPurchase`, COALESCE(`product`.`min_purchase`, `product.parent`.`min_purchase`) as `product.minPurchase`, COALESCE(`product`.`purchase_unit`, `product.parent`.`purchase_unit`) as `product.purchaseUnit`, COALESCE(`product`.`reference_unit`, `product.parent`.`reference_unit`) as `product.referenceUnit`, COALESCE(`product`.`shipping_free`, `product.parent`.`shipping_free`) as `product.shippingFree`, `product.parent`.`purchase_prices` as `product.purchasePrices.inherited`, COALESCE(`product`.`purchase_prices`, `product.parent`.`purchase_prices`) as `product.purchasePrices`, COALESCE(`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`) as `product.markAsTopseller`, COALESCE(`product`.`weight`, `product.parent`.`weight`) as `product.weight`, COALESCE(`product`.`width`, `product.parent`.`width`) as `product.width`, COALESCE(`product`.`height`, `product.parent`.`height`) as `product.height`, COALESCE(`product`.`length`, `product.parent`.`length`) as `product.length`, COALESCE(`product`.`release_date`, `product.parent`.`release_date`) as `product.releaseDate`, COALESCE(`product`.`rating_average`, `product.parent`.`rating_average`) as `product.ratingAverage`, `product.parent`.`category_tree` as `product.categoryTree.inherited`, COALESCE(`product`.`category_tree`, `product.parent`.`category_tree`) as `product.categoryTree`, `product.parent`.`property_ids` as `product.propertyIds.inherited`, COALESCE(`product`.`property_ids`, `product.parent`.`property_ids`) as `product.propertyIds`, `product.parent`.`option_ids` as `product.optionIds.inherited`, COALESCE(`product`.`option_ids`, `product.parent`.`option_ids`) as `product.optionIds`, `product.parent`.`stream_ids` as `product.streamIds.inherited`, COALESCE(`product`.`stream_ids`, `product.parent`.`stream_ids`) as `product.streamIds`, `product.parent`.`tag_ids` as `product.tagIds.inherited`, COALESCE(`product`.`tag_ids`, `product.parent`.`tag_ids`) as `product.tagIds`, `product.parent`.`category_ids` as `product.categoryIds.inherited`, COALESCE(`product`.`category_ids`, `product.parent`.`category_ids`) as `product.categoryIds`, `product`.`child_count` as `product.childCount`, COALESCE(`product`.`custom_field_set_selection_active`, `product.parent`.`custom_field_set_selection_active`) as `product.customFieldSetSelectionActive`, `product`.`sales` as `product.sales`, `product`.`states` as `product.states`, `product.tax`.`id` as `product.tax.id`, `product.tax`.`tax_rate` as `product.tax.taxRate`, `product.tax`.`name` as `product.tax.name`, `product.tax`.`position` as `product.tax.position`, `product.tax`.`custom_fields` as `product.tax.customFields`, `product.tax`.`created_at` as `product.tax.createdAt`, `product.tax`.`updated_at` as `product.tax.updatedAt`, `product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`, COALESCE(`product`.`cheapest_price`, `product.parent`.`cheapest_price`) as `product.cheapestPrice`, `product`.`created_at` as `product.createdAt`, `product`.`updated_at` as `product.updatedAt`, `product.unit`.`id` as `product.unit.id`, `product.unit`.`created_at` as `product.unit.createdAt`, `product.unit`.`updated_at` as `product.unit.updatedAt`, `product.unit.translation.shortCode`, COALESCE(`product.unit.translation.shortCode`,`product.unit.translation.shortCode`) as `product.unit.shortCode`, `product.unit.translation.name`, COALESCE(`product.unit.translation.name`,`product.unit.translation.name`) as `product.unit.name`, `product.unit.translation.customFields`, COALESCE(`product.unit.translation.customFields`,`product.unit.translation.customFields`) as `product.unit.customFields`, `product.unit.translation.createdAt`, `product.unit.translation.updatedAt`, `product.unit.translation.unitId`, `product.unit.translation.languageId`, `product.deliveryTime`.`id` as `product.deliveryTime.id`, `product.deliveryTime`.`min` as `product.deliveryTime.min`, `product.deliveryTime`.`max` as `product.deliveryTime.max`, `product.deliveryTime`.`unit` as `product.deliveryTime.unit`, `product.deliveryTime`.`created_at` as `product.deliveryTime.createdAt`, `product.deliveryTime`.`updated_at` as `product.deliveryTime.updatedAt`, `product.deliveryTime.translation.name`, COALESCE(`product.deliveryTime.translation.name`,`product.deliveryTime.translation.name`) as `product.deliveryTime.name`, `product.deliveryTime.translation.customFields`, COALESCE(`product.deliveryTime.translation.customFields`,`product.deliveryTime.translation.customFields`) as `product.deliveryTime.customFields`, `product.deliveryTime.translation.createdAt`, `product.deliveryTime.translation.updatedAt`, `product.deliveryTime.translation.deliveryTimeId`, `product.deliveryTime.translation.languageId`, `product.cover`.`id` as `product.cover.id`, `product.cover`.`version_id` as `product.cover.versionId`, `product.cover`.`product_id` as `product.cover.productId`, `product.cover`.`product_version_id` as `product.cover.productVersionId`, `product.cover`.`media_id` as `product.cover.mediaId`, `product.cover`.`position` as `product.cover.position`, `product.cover.media`.`id` as `product.cover.media.id`, `product.cover.media`.`user_id` as `product.cover.media.userId`, `product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`, `product.cover.media`.`mime_type` as `product.cover.media.mimeType`, `product.cover.media`.`file_extension` as `product.cover.media.fileExtension`, `product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`, `product.cover.media`.`file_name` as `product.cover.media.fileName`, `product.cover.media`.`file_size` as `product.cover.media.fileSize`, `product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`, `product.cover.media`.`meta_data` as `product.cover.media.metaData`, `product.cover.media`.`private` as `product.cover.media.private`, `product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`, `product.cover.media`.`created_at` as `product.cover.media.createdAt`, `product.cover.media`.`updated_at` as `product.cover.media.updatedAt`, `product.cover.media.translation.title`, COALESCE(`product.cover.media.translation.title`,`product.cover.media.translation.title`) as `product.cover.media.title`, `product.cover.media.translation.alt`, COALESCE(`product.cover.media.translation.alt`,`product.cover.media.translation.alt`) as `product.cover.media.alt`, `product.cover.media.translation.customFields`, COALESCE(`product.cover.media.translation.customFields`,`product.cover.media.translation.customFields`) as `product.cover.media.customFields`, `product.cover.media.translation.createdAt`, `product.cover.media.translation.updatedAt`, `product.cover.media.translation.mediaId`, `product.cover.media.translation.languageId`, `product.cover`.`custom_fields` as `product.cover.customFields`, `product.cover`.`created_at` as `product.cover.createdAt`, `product.cover`.`updated_at` as `product.cover.updatedAt`, `product.translation.metaDescription`, `product.parent.translation.metaDescription`, COALESCE(`product.translation.metaDescription`,`product.parent.translation.metaDescription`,`product.translation.metaDescription`) as `product.metaDescription`, `product.translation.name`, `product.parent.translation.name`, COALESCE(`product.translation.name`,`product.parent.translation.name`,`product.translation.name`) as `product.name`, `product.translation.keywords`, `product.parent.translation.keywords`, COALESCE(`product.translation.keywords`,`product.parent.translation.keywords`,`product.translation.keywords`) as `product.keywords`, `product.translation.description`, `product.parent.translation.description`, COALESCE(`product.translation.description`,`product.parent.translation.description`,`product.translation.description`) as `product.description`, `product.translation.metaTitle`, `product.parent.translation.metaTitle`, COALESCE(`product.translation.metaTitle`,`product.parent.translation.metaTitle`,`product.translation.metaTitle`) as `product.metaTitle`, `product.translation.packUnit`, `product.parent.translation.packUnit`, COALESCE(`product.translation.packUnit`,`product.parent.translation.packUnit`,`product.translation.packUnit`) as `product.packUnit`, `product.translation.packUnitPlural`, `product.parent.translation.packUnitPlural`, COALESCE(`product.translation.packUnitPlural`,`product.parent.translation.packUnitPlural`,`product.translation.packUnitPlural`) as `product.packUnitPlural`, `product.translation.customSearchKeywords`, `product.parent.translation.customSearchKeywords`, COALESCE(`product.translation.customSearchKeywords`,`product.parent.translation.customSearchKeywords`,`product.translation.customSearchKeywords`) as `product.customSearchKeywords`, `product.translation.slotConfig`, `product.parent.translation.slotConfig`, COALESCE(`product.translation.slotConfig`,`product.parent.translation.slotConfig`,`product.translation.slotConfig`) as `product.slotConfig`, `product.translation.customFields`, `product.parent.translation.customFields`, COALESCE(`product.translation.customFields`,`product.parent.translation.customFields`,`product.translation.customFields`) as `product.customFields`, `product.translation.createdAt`, `product.parent.translation.createdAt`, `product.translation.updatedAt`, `product.parent.translation.updatedAt`, `product.translation.productId`, `product.parent.translation.productId`, `product.translation.languageId`, `product.parent.translation.languageId`, `product.translation.productVersionId`, `product.parent.translation.productVersionId` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN (SELECT `product.translation`.product_id, `product.translation`.product_version_id, `product.translation`.meta_description as `product.translation.metaDescription`, `product.translation`.name as `product.translation.name`, `product.translation`.keywords as `product.translation.keywords`, `product.translation`.description as `product.translation.description`, `product.translation`.meta_title as `product.translation.metaTitle`, `product.translation`.pack_unit as `product.translation.packUnit`, `product.translation`.pack_unit_plural as `product.translation.packUnitPlural`, `product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`, `product.translation`.slot_config as `product.translation.slotConfig`, `product.translation`.custom_fields as `product.translation.customFields`, `product.translation`.created_at as `product.translation.createdAt`, `product.translation`.updated_at as `product.translation.updatedAt`, `product.translation`.product_id as `product.translation.productId`, `product.translation`.language_id as `product.translation.languageId`, `product.translation`.product_version_id as `product.translation.productVersionId` FROM `product_translation` `product.translation` WHERE `product.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id` AND `product.product_translation`.product_version_id = `product`.version_id LEFT JOIN (SELECT `product.parent.translation`.product_id, `product.parent.translation`.product_version_id, `product.parent.translation`.meta_description as `product.parent.translation.metaDescription`, `product.parent.translation`.name as `product.parent.translation.name`, `product.parent.translation`.keywords as `product.parent.translation.keywords`, `product.parent.translation`.description as `product.parent.translation.description`, `product.parent.translation`.meta_title as `product.parent.translation.metaTitle`, `product.parent.translation`.pack_unit as `product.parent.translation.packUnit`, `product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`, `product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`, `product.parent.translation`.slot_config as `product.parent.translation.slotConfig`, `product.parent.translation`.custom_fields as `product.parent.translation.customFields`, `product.parent.translation`.created_at as `product.parent.translation.createdAt`, `product.parent.translation`.updated_at as `product.parent.translation.updatedAt`, `product.parent.translation`.product_id as `product.parent.translation.productId`, `product.parent.translation`.language_id as `product.parent.translation.languageId`, `product.parent.translation`.product_version_id as `product.parent.translation.productVersionId` FROM `product_translation` `product.parent.translation` WHERE `product.parent.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id` AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id` LEFT JOIN `unit` `product.unit` ON `product`.`unit` = `product.unit`.`id` LEFT JOIN `delivery_time` `product.deliveryTime` ON `product`.`deliveryTime` = `product.deliveryTime`.`id` LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id` AND `product`.`version_id` = `product.cover`.`version_id` LEFT JOIN (SELECT `product.unit.translation`.unit_id, `product.unit.translation`.short_code as `product.unit.translation.shortCode`, `product.unit.translation`.name as `product.unit.translation.name`, `product.unit.translation`.custom_fields as `product.unit.translation.customFields`, `product.unit.translation`.created_at as `product.unit.translation.createdAt`, `product.unit.translation`.updated_at as `product.unit.translation.updatedAt`, `product.unit.translation`.unit_id as `product.unit.translation.unitId`, `product.unit.translation`.language_id as `product.unit.translation.languageId` FROM `unit_translation` `product.unit.translation` WHERE `product.unit.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.unit.unit_translation` ON `product.unit.unit_translation`.`unit_id` = `product.unit`.`id` LEFT JOIN (SELECT `product.deliveryTime.translation`.delivery_time_id, `product.deliveryTime.translation`.name as `product.deliveryTime.translation.name`, `product.deliveryTime.translation`.custom_fields as `product.deliveryTime.translation.customFields`, `product.deliveryTime.translation`.created_at as `product.deliveryTime.translation.createdAt`, `product.deliveryTime.translation`.updated_at as `product.deliveryTime.translation.updatedAt`, `product.deliveryTime.translation`.delivery_time_id as `product.deliveryTime.translation.deliveryTimeId`, `product.deliveryTime.translation`.language_id as `product.deliveryTime.translation.languageId` FROM `delivery_time_translation` `product.deliveryTime.translation` WHERE `product.deliveryTime.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.deliveryTime.delivery_time_translation` ON `product.deliveryTime.delivery_time_translation`.`delivery_time_id` = `product.deliveryTime`.`id` LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id` LEFT JOIN (SELECT `product.cover.media.translation`.media_id, `product.cover.media.translation`.title as `product.cover.media.translation.title`, `product.cover.media.translation`.alt as `product.cover.media.translation.alt`, `product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`, `product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`, `product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`, `product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`, `product.cover.media.translation`.language_id as `product.cover.media.translation.languageId` FROM `media_translation` `product.cover.media.translation` WHERE `product.cover.media.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id` WHERE (`product`.`version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425) AND (`product`.`id` IN (0xD165608E94124F1ABB16BA3C10144066));
array:37 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 242)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 316)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetch (line 148)"
4 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 93)"
5 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::read (line 195)"
6 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::read (line 133)"
7 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 36)"
8 => "Swag\PayPal\Util\Compatibility\SalesChannelRepositoryDecorator::search (line 207)"
9 => "Tds\MerwareDiscounts\Cart\Checkout\OverwrittenPriceCollector::getSalesChannelProduct (line 93)"
10 => "Tds\MerwareDiscounts\Cart\Checkout\OverwrittenPriceCollector::collect (line 103)"
11 => "Shopware\Core\Checkout\Cart\Processor::runProcessors (line 67)"
12 => "Shopware\Core\Checkout\Cart\Processor::Shopware\Core\Checkout\Cart\{closure} (line 59)"
13 => "Shopware\Core\Profiling\Profiler::trace (line 86)"
14 => "Shopware\Core\Checkout\Cart\Processor::process (line 132)"
15 => "Shopware\Core\Checkout\Cart\CartRuleLoader::Shopware\Core\Checkout\Cart\{closure} (line 59)"
16 => "Shopware\Core\Profiling\Profiler::trace (line 183)"
17 => "Shopware\Core\Checkout\Cart\CartRuleLoader::load (line 83)"
18 => "Shopware\Core\Checkout\Cart\CartRuleLoader::loadByToken (line 106)"
19 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::Shopware\Core\System\SalesChannel\Context\{closure} (line 59)"
20 => "Shopware\Core\Profiling\Profiler::trace (line 111)"
21 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::get (line 105)"
22 => "Shopware\Core\Framework\Routing\SalesChannelRequestContextResolver::resolve (line 38)"
23 => "Shopware\Core\Framework\Routing\ContextResolverListener::resolveContext (line 118)"
24 => "Symfony\Component\EventDispatcher\Debug\WrappedListener::__invoke (line 230)"
25 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
26 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
27 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
28 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
29 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
30 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
31 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 151)"
32 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
33 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
34 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
35 => "Shopware\Core\HttpKernel::doHandle (line 81)"
36 => "Shopware\Core\HttpKernel::handle (line 85)"
]
|
45 |
2.39 ms |
SELECT `product_price`.`id` as `product_price.id`, `product_price`.`version_id` as `product_price.versionId`, `product_price`.`product_id` as `product_price.productId`, `product_price`.`product_version_id` as `product_price.productVersionId`, `product_price`.`rule_id` as `product_price.ruleId`, `product_price`.`price` as `product_price.price`, `product_price`.`quantity_start` as `product_price.quantityStart`, `product_price`.`quantity_end` as `product_price.quantityEnd`, `product_price`.`custom_fields` as `product_price.customFields`, `product_price`.`created_at` as `product_price.createdAt`, `product_price`.`updated_at` as `product_price.updatedAt` FROM `product_price` WHERE (`product_price`.`version_id` = :version) AND ((`product_price`.`product_id` IN (:param_88658135a0194922bab84d80e79dfefc)))
SELECT `product_price`.`id` as `product_price.id`, `product_price`.`version_id` as `product_price.versionId`, `product_price`.`product_id` as `product_price.productId`, `product_price`.`product_version_id` as `product_price.productVersionId`, `product_price`.`rule_id` as `product_price.ruleId`, `product_price`.`price` as `product_price.price`, `product_price`.`quantity_start` as `product_price.quantityStart`, `product_price`.`quantity_end` as `product_price.quantityEnd`, `product_price`.`custom_fields` as `product_price.customFields`, `product_price`.`created_at` as `product_price.createdAt`, `product_price`.`updated_at` as `product_price.updatedAt` FROM `product_price` WHERE (`product_price`.`version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425) AND ((`product_price`.`product_id` IN (0xD165608E94124F1ABB16BA3C10144066, 0xABB6575B87F64A09847D9505F091411D)));
array:41 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 242)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 316)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetch (line 148)"
4 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 503)"
5 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::loadOneToManyWithoutPagination (line 438)"
6 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::loadOneToMany (line 1210)"
7 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetchAssociations (line 152)"
8 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 93)"
9 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::read (line 195)"
10 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::read (line 133)"
11 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 36)"
12 => "Swag\PayPal\Util\Compatibility\SalesChannelRepositoryDecorator::search (line 207)"
13 => "Tds\MerwareDiscounts\Cart\Checkout\OverwrittenPriceCollector::getSalesChannelProduct (line 93)"
14 => "Tds\MerwareDiscounts\Cart\Checkout\OverwrittenPriceCollector::collect (line 103)"
15 => "Shopware\Core\Checkout\Cart\Processor::runProcessors (line 67)"
16 => "Shopware\Core\Checkout\Cart\Processor::Shopware\Core\Checkout\Cart\{closure} (line 59)"
17 => "Shopware\Core\Profiling\Profiler::trace (line 86)"
18 => "Shopware\Core\Checkout\Cart\Processor::process (line 132)"
19 => "Shopware\Core\Checkout\Cart\CartRuleLoader::Shopware\Core\Checkout\Cart\{closure} (line 59)"
20 => "Shopware\Core\Profiling\Profiler::trace (line 183)"
21 => "Shopware\Core\Checkout\Cart\CartRuleLoader::load (line 83)"
22 => "Shopware\Core\Checkout\Cart\CartRuleLoader::loadByToken (line 106)"
23 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::Shopware\Core\System\SalesChannel\Context\{closure} (line 59)"
24 => "Shopware\Core\Profiling\Profiler::trace (line 111)"
25 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::get (line 105)"
26 => "Shopware\Core\Framework\Routing\SalesChannelRequestContextResolver::resolve (line 38)"
27 => "Shopware\Core\Framework\Routing\ContextResolverListener::resolveContext (line 118)"
28 => "Symfony\Component\EventDispatcher\Debug\WrappedListener::__invoke (line 230)"
29 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
30 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
31 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
32 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
33 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
34 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
35 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 151)"
36 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
37 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
38 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
39 => "Shopware\Core\HttpKernel::doHandle (line 81)"
40 => "Shopware\Core\HttpKernel::handle (line 85)"
]
|
46 |
0.35 ms |
SELECT `product`.`id`, `product`.`product_number`, `product`.`auto_increment` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN `product_visibility` `product.visibilities` ON `product`.`visibilities` = `product.visibilities`.`product_id` AND `product`.version_id = `product.visibilities`.product_version_id WHERE (`product`.`version_id` = :version) AND ((((`product.visibilities`.`visibility` >= :param_ae5bf8376f454fecaa4cd4ff72e5f36e) AND `product.visibilities`.`sales_channel_id` = :param_4ececd8a18f74a539f79bc0af9e54e9f AND IFNULL(`product`.`active`, `product.parent`.`active`) = :param_0141b00a18ce407cb675f10b83c7418d))) AND (`product`.`id` IN (:ids)) GROUP BY `product`.`id`
SELECT `product`.`id`, `product`.`product_number`, `product`.`auto_increment` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN `product_visibility` `product.visibilities` ON `product`.`visibilities` = `product.visibilities`.`product_id` AND `product`.version_id = `product.visibilities`.product_version_id WHERE (`product`.`version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425) AND ((((`product.visibilities`.`visibility` >= 10) AND `product.visibilities`.`sales_channel_id` = 0x4EB9108BE4654CC9B140D14DE85579E9 AND IFNULL(`product`.`active`, `product.parent`.`active`) = 1))) AND (`product`.`id` IN (0x21CDD7FFFEC045AD90A996EFE4E1319C)) GROUP BY `product`.`id`;
array:36 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 242)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 107)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntitySearcher::search (line 62)"
4 => "Shopware\Elasticsearch\Framework\DataAbstractionLayer\ElasticsearchEntitySearcher::search (line 216)"
5 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::doSearch (line 122)"
6 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 36)"
7 => "Swag\PayPal\Util\Compatibility\SalesChannelRepositoryDecorator::search (line 207)"
8 => "Tds\MerwareDiscounts\Cart\Checkout\OverwrittenPriceCollector::getSalesChannelProduct (line 93)"
9 => "Tds\MerwareDiscounts\Cart\Checkout\OverwrittenPriceCollector::collect (line 103)"
10 => "Shopware\Core\Checkout\Cart\Processor::runProcessors (line 67)"
11 => "Shopware\Core\Checkout\Cart\Processor::Shopware\Core\Checkout\Cart\{closure} (line 59)"
12 => "Shopware\Core\Profiling\Profiler::trace (line 86)"
13 => "Shopware\Core\Checkout\Cart\Processor::process (line 132)"
14 => "Shopware\Core\Checkout\Cart\CartRuleLoader::Shopware\Core\Checkout\Cart\{closure} (line 59)"
15 => "Shopware\Core\Profiling\Profiler::trace (line 183)"
16 => "Shopware\Core\Checkout\Cart\CartRuleLoader::load (line 83)"
17 => "Shopware\Core\Checkout\Cart\CartRuleLoader::loadByToken (line 106)"
18 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::Shopware\Core\System\SalesChannel\Context\{closure} (line 59)"
19 => "Shopware\Core\Profiling\Profiler::trace (line 111)"
20 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::get (line 105)"
21 => "Shopware\Core\Framework\Routing\SalesChannelRequestContextResolver::resolve (line 38)"
22 => "Shopware\Core\Framework\Routing\ContextResolverListener::resolveContext (line 118)"
23 => "Symfony\Component\EventDispatcher\Debug\WrappedListener::__invoke (line 230)"
24 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
25 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
26 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
27 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
28 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
29 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
30 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 151)"
31 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
32 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
33 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
34 => "Shopware\Core\HttpKernel::doHandle (line 81)"
35 => "Shopware\Core\HttpKernel::handle (line 85)"
]
|
47 |
13.79 ms |
SELECT `product`.`id` as `product.id`, `product`.`version_id` as `product.versionId`, `product`.`parent_id` as `product.parentId`, `product`.`parent_version_id` as `product.parentVersionId`, COALESCE(`product`.`product_manufacturer_id`, `product.parent`.`product_manufacturer_id`) as `product.manufacturerId`, COALESCE(`product`.`product_manufacturer_version_id`, `product.parent`.`product_manufacturer_version_id`) as `product.productManufacturerVersionId`, COALESCE(`product`.`unit_id`, `product.parent`.`unit_id`) as `product.unitId`, COALESCE(`product`.`tax_id`, `product.parent`.`tax_id`) as `product.taxId`, COALESCE(`product`.`product_media_id`, `product.parent`.`product_media_id`) as `product.coverId`, COALESCE(`product`.`product_media_version_id`, `product.parent`.`product_media_version_id`) as `product.productMediaVersionId`, COALESCE(`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`) as `product.deliveryTimeId`, COALESCE(`product`.`product_feature_set_id`, `product.parent`.`product_feature_set_id`) as `product.featureSetId`, COALESCE(`product`.`canonical_product_id`, `product.parent`.`canonical_product_id`) as `product.canonicalProductId`, COALESCE(`product`.`cms_page_id`, `product.parent`.`cms_page_id`) as `product.cmsPageId`, COALESCE(`product`.`cms_page_version_id`, `product.parent`.`cms_page_version_id`) as `product.cmsPageVersionId`, `product.parent`.`price` as `product.price.inherited`, COALESCE(`product`.`price`, `product.parent`.`price`) as `product.price`, `product`.`product_number` as `product.productNumber`, `product`.`stock` as `product.stock`, COALESCE(`product`.`restock_time`, `product.parent`.`restock_time`) as `product.restockTime`, `product`.`auto_increment` as `product.autoIncrement`, COALESCE(`product`.`active`, `product.parent`.`active`) as `product.active`, `product`.`available_stock` as `product.availableStock`, `product`.`available` as `product.available`, COALESCE(`product`.`is_closeout`, `product.parent`.`is_closeout`) as `product.isCloseout`, `product`.`display_group` as `product.displayGroup`, `product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`, COALESCE(`product`.`configurator_group_config`, `product.parent`.`configurator_group_config`) as `product.configuratorGroupConfig`, COALESCE(`product`.`main_variant_id`, `product.parent`.`main_variant_id`) as `product.mainVariantId`, COALESCE(`product`.`display_parent`, `product.parent`.`display_parent`) as `product.displayParent`, `product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`, COALESCE(`product`.`variant_listing_config`, `product.parent`.`variant_listing_config`) as `product.variantListingConfig`, `product`.`variant_restrictions` as `product.variantRestrictions`, COALESCE(`product`.`manufacturer_number`, `product.parent`.`manufacturer_number`) as `product.manufacturerNumber`, COALESCE(`product`.`ean`, `product.parent`.`ean`) as `product.ean`, COALESCE(`product`.`purchase_steps`, `product.parent`.`purchase_steps`) as `product.purchaseSteps`, COALESCE(`product`.`max_purchase`, `product.parent`.`max_purchase`) as `product.maxPurchase`, COALESCE(`product`.`min_purchase`, `product.parent`.`min_purchase`) as `product.minPurchase`, COALESCE(`product`.`purchase_unit`, `product.parent`.`purchase_unit`) as `product.purchaseUnit`, COALESCE(`product`.`reference_unit`, `product.parent`.`reference_unit`) as `product.referenceUnit`, COALESCE(`product`.`shipping_free`, `product.parent`.`shipping_free`) as `product.shippingFree`, `product.parent`.`purchase_prices` as `product.purchasePrices.inherited`, COALESCE(`product`.`purchase_prices`, `product.parent`.`purchase_prices`) as `product.purchasePrices`, COALESCE(`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`) as `product.markAsTopseller`, COALESCE(`product`.`weight`, `product.parent`.`weight`) as `product.weight`, COALESCE(`product`.`width`, `product.parent`.`width`) as `product.width`, COALESCE(`product`.`height`, `product.parent`.`height`) as `product.height`, COALESCE(`product`.`length`, `product.parent`.`length`) as `product.length`, COALESCE(`product`.`release_date`, `product.parent`.`release_date`) as `product.releaseDate`, COALESCE(`product`.`rating_average`, `product.parent`.`rating_average`) as `product.ratingAverage`, `product.parent`.`category_tree` as `product.categoryTree.inherited`, COALESCE(`product`.`category_tree`, `product.parent`.`category_tree`) as `product.categoryTree`, `product.parent`.`property_ids` as `product.propertyIds.inherited`, COALESCE(`product`.`property_ids`, `product.parent`.`property_ids`) as `product.propertyIds`, `product.parent`.`option_ids` as `product.optionIds.inherited`, COALESCE(`product`.`option_ids`, `product.parent`.`option_ids`) as `product.optionIds`, `product.parent`.`stream_ids` as `product.streamIds.inherited`, COALESCE(`product`.`stream_ids`, `product.parent`.`stream_ids`) as `product.streamIds`, `product.parent`.`tag_ids` as `product.tagIds.inherited`, COALESCE(`product`.`tag_ids`, `product.parent`.`tag_ids`) as `product.tagIds`, `product.parent`.`category_ids` as `product.categoryIds.inherited`, COALESCE(`product`.`category_ids`, `product.parent`.`category_ids`) as `product.categoryIds`, `product`.`child_count` as `product.childCount`, COALESCE(`product`.`custom_field_set_selection_active`, `product.parent`.`custom_field_set_selection_active`) as `product.customFieldSetSelectionActive`, `product`.`sales` as `product.sales`, `product`.`states` as `product.states`, `product.tax`.`id` as `product.tax.id`, `product.tax`.`tax_rate` as `product.tax.taxRate`, `product.tax`.`name` as `product.tax.name`, `product.tax`.`position` as `product.tax.position`, `product.tax`.`custom_fields` as `product.tax.customFields`, `product.tax`.`created_at` as `product.tax.createdAt`, `product.tax`.`updated_at` as `product.tax.updatedAt`, `product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`, COALESCE(`product`.`cheapest_price`, `product.parent`.`cheapest_price`) as `product.cheapestPrice`, `product`.`created_at` as `product.createdAt`, `product`.`updated_at` as `product.updatedAt`, `product.unit`.`id` as `product.unit.id`, `product.unit`.`created_at` as `product.unit.createdAt`, `product.unit`.`updated_at` as `product.unit.updatedAt`, `product.unit.translation.shortCode`, COALESCE(`product.unit.translation.shortCode`,`product.unit.translation.shortCode`) as `product.unit.shortCode`, `product.unit.translation.name`, COALESCE(`product.unit.translation.name`,`product.unit.translation.name`) as `product.unit.name`, `product.unit.translation.customFields`, COALESCE(`product.unit.translation.customFields`,`product.unit.translation.customFields`) as `product.unit.customFields`, `product.unit.translation.createdAt`, `product.unit.translation.updatedAt`, `product.unit.translation.unitId`, `product.unit.translation.languageId`, `product.deliveryTime`.`id` as `product.deliveryTime.id`, `product.deliveryTime`.`min` as `product.deliveryTime.min`, `product.deliveryTime`.`max` as `product.deliveryTime.max`, `product.deliveryTime`.`unit` as `product.deliveryTime.unit`, `product.deliveryTime`.`created_at` as `product.deliveryTime.createdAt`, `product.deliveryTime`.`updated_at` as `product.deliveryTime.updatedAt`, `product.deliveryTime.translation.name`, COALESCE(`product.deliveryTime.translation.name`,`product.deliveryTime.translation.name`) as `product.deliveryTime.name`, `product.deliveryTime.translation.customFields`, COALESCE(`product.deliveryTime.translation.customFields`,`product.deliveryTime.translation.customFields`) as `product.deliveryTime.customFields`, `product.deliveryTime.translation.createdAt`, `product.deliveryTime.translation.updatedAt`, `product.deliveryTime.translation.deliveryTimeId`, `product.deliveryTime.translation.languageId`, `product.cover`.`id` as `product.cover.id`, `product.cover`.`version_id` as `product.cover.versionId`, `product.cover`.`product_id` as `product.cover.productId`, `product.cover`.`product_version_id` as `product.cover.productVersionId`, `product.cover`.`media_id` as `product.cover.mediaId`, `product.cover`.`position` as `product.cover.position`, `product.cover.media`.`id` as `product.cover.media.id`, `product.cover.media`.`user_id` as `product.cover.media.userId`, `product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`, `product.cover.media`.`mime_type` as `product.cover.media.mimeType`, `product.cover.media`.`file_extension` as `product.cover.media.fileExtension`, `product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`, `product.cover.media`.`file_name` as `product.cover.media.fileName`, `product.cover.media`.`file_size` as `product.cover.media.fileSize`, `product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`, `product.cover.media`.`meta_data` as `product.cover.media.metaData`, `product.cover.media`.`private` as `product.cover.media.private`, `product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`, `product.cover.media`.`created_at` as `product.cover.media.createdAt`, `product.cover.media`.`updated_at` as `product.cover.media.updatedAt`, `product.cover.media.translation.title`, COALESCE(`product.cover.media.translation.title`,`product.cover.media.translation.title`) as `product.cover.media.title`, `product.cover.media.translation.alt`, COALESCE(`product.cover.media.translation.alt`,`product.cover.media.translation.alt`) as `product.cover.media.alt`, `product.cover.media.translation.customFields`, COALESCE(`product.cover.media.translation.customFields`,`product.cover.media.translation.customFields`) as `product.cover.media.customFields`, `product.cover.media.translation.createdAt`, `product.cover.media.translation.updatedAt`, `product.cover.media.translation.mediaId`, `product.cover.media.translation.languageId`, `product.cover`.`custom_fields` as `product.cover.customFields`, `product.cover`.`created_at` as `product.cover.createdAt`, `product.cover`.`updated_at` as `product.cover.updatedAt`, `product.translation.metaDescription`, `product.parent.translation.metaDescription`, COALESCE(`product.translation.metaDescription`,`product.parent.translation.metaDescription`,`product.translation.metaDescription`) as `product.metaDescription`, `product.translation.name`, `product.parent.translation.name`, COALESCE(`product.translation.name`,`product.parent.translation.name`,`product.translation.name`) as `product.name`, `product.translation.keywords`, `product.parent.translation.keywords`, COALESCE(`product.translation.keywords`,`product.parent.translation.keywords`,`product.translation.keywords`) as `product.keywords`, `product.translation.description`, `product.parent.translation.description`, COALESCE(`product.translation.description`,`product.parent.translation.description`,`product.translation.description`) as `product.description`, `product.translation.metaTitle`, `product.parent.translation.metaTitle`, COALESCE(`product.translation.metaTitle`,`product.parent.translation.metaTitle`,`product.translation.metaTitle`) as `product.metaTitle`, `product.translation.packUnit`, `product.parent.translation.packUnit`, COALESCE(`product.translation.packUnit`,`product.parent.translation.packUnit`,`product.translation.packUnit`) as `product.packUnit`, `product.translation.packUnitPlural`, `product.parent.translation.packUnitPlural`, COALESCE(`product.translation.packUnitPlural`,`product.parent.translation.packUnitPlural`,`product.translation.packUnitPlural`) as `product.packUnitPlural`, `product.translation.customSearchKeywords`, `product.parent.translation.customSearchKeywords`, COALESCE(`product.translation.customSearchKeywords`,`product.parent.translation.customSearchKeywords`,`product.translation.customSearchKeywords`) as `product.customSearchKeywords`, `product.translation.slotConfig`, `product.parent.translation.slotConfig`, COALESCE(`product.translation.slotConfig`,`product.parent.translation.slotConfig`,`product.translation.slotConfig`) as `product.slotConfig`, `product.translation.customFields`, `product.parent.translation.customFields`, COALESCE(`product.translation.customFields`,`product.parent.translation.customFields`,`product.translation.customFields`) as `product.customFields`, `product.translation.createdAt`, `product.parent.translation.createdAt`, `product.translation.updatedAt`, `product.parent.translation.updatedAt`, `product.translation.productId`, `product.parent.translation.productId`, `product.translation.languageId`, `product.parent.translation.languageId`, `product.translation.productVersionId`, `product.parent.translation.productVersionId` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN (SELECT `product.translation`.product_id, `product.translation`.product_version_id, `product.translation`.meta_description as `product.translation.metaDescription`, `product.translation`.name as `product.translation.name`, `product.translation`.keywords as `product.translation.keywords`, `product.translation`.description as `product.translation.description`, `product.translation`.meta_title as `product.translation.metaTitle`, `product.translation`.pack_unit as `product.translation.packUnit`, `product.translation`.pack_unit_plural as `product.translation.packUnitPlural`, `product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`, `product.translation`.slot_config as `product.translation.slotConfig`, `product.translation`.custom_fields as `product.translation.customFields`, `product.translation`.created_at as `product.translation.createdAt`, `product.translation`.updated_at as `product.translation.updatedAt`, `product.translation`.product_id as `product.translation.productId`, `product.translation`.language_id as `product.translation.languageId`, `product.translation`.product_version_id as `product.translation.productVersionId` FROM `product_translation` `product.translation` WHERE `product.translation`.language_id = :languageId) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id` AND `product.product_translation`.product_version_id = `product`.version_id LEFT JOIN (SELECT `product.parent.translation`.product_id, `product.parent.translation`.product_version_id, `product.parent.translation`.meta_description as `product.parent.translation.metaDescription`, `product.parent.translation`.name as `product.parent.translation.name`, `product.parent.translation`.keywords as `product.parent.translation.keywords`, `product.parent.translation`.description as `product.parent.translation.description`, `product.parent.translation`.meta_title as `product.parent.translation.metaTitle`, `product.parent.translation`.pack_unit as `product.parent.translation.packUnit`, `product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`, `product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`, `product.parent.translation`.slot_config as `product.parent.translation.slotConfig`, `product.parent.translation`.custom_fields as `product.parent.translation.customFields`, `product.parent.translation`.created_at as `product.parent.translation.createdAt`, `product.parent.translation`.updated_at as `product.parent.translation.updatedAt`, `product.parent.translation`.product_id as `product.parent.translation.productId`, `product.parent.translation`.language_id as `product.parent.translation.languageId`, `product.parent.translation`.product_version_id as `product.parent.translation.productVersionId` FROM `product_translation` `product.parent.translation` WHERE `product.parent.translation`.language_id = :languageId) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id` AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id` LEFT JOIN `unit` `product.unit` ON `product`.`unit` = `product.unit`.`id` LEFT JOIN `delivery_time` `product.deliveryTime` ON `product`.`deliveryTime` = `product.deliveryTime`.`id` LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id` AND `product`.`version_id` = `product.cover`.`version_id` LEFT JOIN (SELECT `product.unit.translation`.unit_id, `product.unit.translation`.short_code as `product.unit.translation.shortCode`, `product.unit.translation`.name as `product.unit.translation.name`, `product.unit.translation`.custom_fields as `product.unit.translation.customFields`, `product.unit.translation`.created_at as `product.unit.translation.createdAt`, `product.unit.translation`.updated_at as `product.unit.translation.updatedAt`, `product.unit.translation`.unit_id as `product.unit.translation.unitId`, `product.unit.translation`.language_id as `product.unit.translation.languageId` FROM `unit_translation` `product.unit.translation` WHERE `product.unit.translation`.language_id = :languageId) `product.unit.unit_translation` ON `product.unit.unit_translation`.`unit_id` = `product.unit`.`id` LEFT JOIN (SELECT `product.deliveryTime.translation`.delivery_time_id, `product.deliveryTime.translation`.name as `product.deliveryTime.translation.name`, `product.deliveryTime.translation`.custom_fields as `product.deliveryTime.translation.customFields`, `product.deliveryTime.translation`.created_at as `product.deliveryTime.translation.createdAt`, `product.deliveryTime.translation`.updated_at as `product.deliveryTime.translation.updatedAt`, `product.deliveryTime.translation`.delivery_time_id as `product.deliveryTime.translation.deliveryTimeId`, `product.deliveryTime.translation`.language_id as `product.deliveryTime.translation.languageId` FROM `delivery_time_translation` `product.deliveryTime.translation` WHERE `product.deliveryTime.translation`.language_id = :languageId) `product.deliveryTime.delivery_time_translation` ON `product.deliveryTime.delivery_time_translation`.`delivery_time_id` = `product.deliveryTime`.`id` LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id` LEFT JOIN (SELECT `product.cover.media.translation`.media_id, `product.cover.media.translation`.title as `product.cover.media.translation.title`, `product.cover.media.translation`.alt as `product.cover.media.translation.alt`, `product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`, `product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`, `product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`, `product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`, `product.cover.media.translation`.language_id as `product.cover.media.translation.languageId` FROM `media_translation` `product.cover.media.translation` WHERE `product.cover.media.translation`.language_id = :languageId) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id` WHERE (`product`.`version_id` = :version) AND (`product`.`id` IN (:ids))
SELECT
`product`.`id` as `product.id`,
`product`.`version_id` as `product.versionId`,
`product`.`parent_id` as `product.parentId`,
`product`.`parent_version_id` as `product.parentVersionId`,
COALESCE(
`product`.`product_manufacturer_id`,
`product.parent`.`product_manufacturer_id`
) as `product.manufacturerId`,
COALESCE(
`product`.`product_manufacturer_version_id`,
`product.parent`.`product_manufacturer_version_id`
) as `product.productManufacturerVersionId`,
COALESCE(
`product`.`unit_id`, `product.parent`.`unit_id`
) as `product.unitId`,
COALESCE(
`product`.`tax_id`, `product.parent`.`tax_id`
) as `product.taxId`,
COALESCE(
`product`.`product_media_id`, `product.parent`.`product_media_id`
) as `product.coverId`,
COALESCE(
`product`.`product_media_version_id`,
`product.parent`.`product_media_version_id`
) as `product.productMediaVersionId`,
COALESCE(
`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`
) as `product.deliveryTimeId`,
COALESCE(
`product`.`product_feature_set_id`,
`product.parent`.`product_feature_set_id`
) as `product.featureSetId`,
COALESCE(
`product`.`canonical_product_id`,
`product.parent`.`canonical_product_id`
) as `product.canonicalProductId`,
COALESCE(
`product`.`cms_page_id`, `product.parent`.`cms_page_id`
) as `product.cmsPageId`,
COALESCE(
`product`.`cms_page_version_id`,
`product.parent`.`cms_page_version_id`
) as `product.cmsPageVersionId`,
`product.parent`.`price` as `product.price.inherited`,
COALESCE(
`product`.`price`, `product.parent`.`price`
) as `product.price`,
`product`.`product_number` as `product.productNumber`,
`product`.`stock` as `product.stock`,
COALESCE(
`product`.`restock_time`, `product.parent`.`restock_time`
) as `product.restockTime`,
`product`.`auto_increment` as `product.autoIncrement`,
COALESCE(
`product`.`active`, `product.parent`.`active`
) as `product.active`,
`product`.`available_stock` as `product.availableStock`,
`product`.`available` as `product.available`,
COALESCE(
`product`.`is_closeout`, `product.parent`.`is_closeout`
) as `product.isCloseout`,
`product`.`display_group` as `product.displayGroup`,
`product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`,
COALESCE(
`product`.`configurator_group_config`,
`product.parent`.`configurator_group_config`
) as `product.configuratorGroupConfig`,
COALESCE(
`product`.`main_variant_id`, `product.parent`.`main_variant_id`
) as `product.mainVariantId`,
COALESCE(
`product`.`display_parent`, `product.parent`.`display_parent`
) as `product.displayParent`,
`product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`,
COALESCE(
`product`.`variant_listing_config`,
`product.parent`.`variant_listing_config`
) as `product.variantListingConfig`,
`product`.`variant_restrictions` as `product.variantRestrictions`,
COALESCE(
`product`.`manufacturer_number`,
`product.parent`.`manufacturer_number`
) as `product.manufacturerNumber`,
COALESCE(
`product`.`ean`, `product.parent`.`ean`
) as `product.ean`,
COALESCE(
`product`.`purchase_steps`, `product.parent`.`purchase_steps`
) as `product.purchaseSteps`,
COALESCE(
`product`.`max_purchase`, `product.parent`.`max_purchase`
) as `product.maxPurchase`,
COALESCE(
`product`.`min_purchase`, `product.parent`.`min_purchase`
) as `product.minPurchase`,
COALESCE(
`product`.`purchase_unit`, `product.parent`.`purchase_unit`
) as `product.purchaseUnit`,
COALESCE(
`product`.`reference_unit`, `product.parent`.`reference_unit`
) as `product.referenceUnit`,
COALESCE(
`product`.`shipping_free`, `product.parent`.`shipping_free`
) as `product.shippingFree`,
`product.parent`.`purchase_prices` as `product.purchasePrices.inherited`,
COALESCE(
`product`.`purchase_prices`, `product.parent`.`purchase_prices`
) as `product.purchasePrices`,
COALESCE(
`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`
) as `product.markAsTopseller`,
COALESCE(
`product`.`weight`, `product.parent`.`weight`
) as `product.weight`,
COALESCE(
`product`.`width`, `product.parent`.`width`
) as `product.width`,
COALESCE(
`product`.`height`, `product.parent`.`height`
) as `product.height`,
COALESCE(
`product`.`length`, `product.parent`.`length`
) as `product.length`,
COALESCE(
`product`.`release_date`, `product.parent`.`release_date`
) as `product.releaseDate`,
COALESCE(
`product`.`rating_average`, `product.parent`.`rating_average`
) as `product.ratingAverage`,
`product.parent`.`category_tree` as `product.categoryTree.inherited`,
COALESCE(
`product`.`category_tree`, `product.parent`.`category_tree`
) as `product.categoryTree`,
`product.parent`.`property_ids` as `product.propertyIds.inherited`,
COALESCE(
`product`.`property_ids`, `product.parent`.`property_ids`
) as `product.propertyIds`,
`product.parent`.`option_ids` as `product.optionIds.inherited`,
COALESCE(
`product`.`option_ids`, `product.parent`.`option_ids`
) as `product.optionIds`,
`product.parent`.`stream_ids` as `product.streamIds.inherited`,
COALESCE(
`product`.`stream_ids`, `product.parent`.`stream_ids`
) as `product.streamIds`,
`product.parent`.`tag_ids` as `product.tagIds.inherited`,
COALESCE(
`product`.`tag_ids`, `product.parent`.`tag_ids`
) as `product.tagIds`,
`product.parent`.`category_ids` as `product.categoryIds.inherited`,
COALESCE(
`product`.`category_ids`, `product.parent`.`category_ids`
) as `product.categoryIds`,
`product`.`child_count` as `product.childCount`,
COALESCE(
`product`.`custom_field_set_selection_active`,
`product.parent`.`custom_field_set_selection_active`
) as `product.customFieldSetSelectionActive`,
`product`.`sales` as `product.sales`,
`product`.`states` as `product.states`,
`product.tax`.`id` as `product.tax.id`,
`product.tax`.`tax_rate` as `product.tax.taxRate`,
`product.tax`.`name` as `product.tax.name`,
`product.tax`.`position` as `product.tax.position`,
`product.tax`.`custom_fields` as `product.tax.customFields`,
`product.tax`.`created_at` as `product.tax.createdAt`,
`product.tax`.`updated_at` as `product.tax.updatedAt`,
`product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`,
COALESCE(
`product`.`cheapest_price`, `product.parent`.`cheapest_price`
) as `product.cheapestPrice`,
`product`.`created_at` as `product.createdAt`,
`product`.`updated_at` as `product.updatedAt`,
`product.unit`.`id` as `product.unit.id`,
`product.unit`.`created_at` as `product.unit.createdAt`,
`product.unit`.`updated_at` as `product.unit.updatedAt`,
`product.unit.translation.shortCode`,
COALESCE(
`product.unit.translation.shortCode`,
`product.unit.translation.shortCode`
) as `product.unit.shortCode`,
`product.unit.translation.name`,
COALESCE(
`product.unit.translation.name`,
`product.unit.translation.name`
) as `product.unit.name`,
`product.unit.translation.customFields`,
COALESCE(
`product.unit.translation.customFields`,
`product.unit.translation.customFields`
) as `product.unit.customFields`,
`product.unit.translation.createdAt`,
`product.unit.translation.updatedAt`,
`product.unit.translation.unitId`,
`product.unit.translation.languageId`,
`product.deliveryTime`.`id` as `product.deliveryTime.id`,
`product.deliveryTime`.`min` as `product.deliveryTime.min`,
`product.deliveryTime`.`max` as `product.deliveryTime.max`,
`product.deliveryTime`.`unit` as `product.deliveryTime.unit`,
`product.deliveryTime`.`created_at` as `product.deliveryTime.createdAt`,
`product.deliveryTime`.`updated_at` as `product.deliveryTime.updatedAt`,
`product.deliveryTime.translation.name`,
COALESCE(
`product.deliveryTime.translation.name`,
`product.deliveryTime.translation.name`
) as `product.deliveryTime.name`,
`product.deliveryTime.translation.customFields`,
COALESCE(
`product.deliveryTime.translation.customFields`,
`product.deliveryTime.translation.customFields`
) as `product.deliveryTime.customFields`,
`product.deliveryTime.translation.createdAt`,
`product.deliveryTime.translation.updatedAt`,
`product.deliveryTime.translation.deliveryTimeId`,
`product.deliveryTime.translation.languageId`,
`product.cover`.`id` as `product.cover.id`,
`product.cover`.`version_id` as `product.cover.versionId`,
`product.cover`.`product_id` as `product.cover.productId`,
`product.cover`.`product_version_id` as `product.cover.productVersionId`,
`product.cover`.`media_id` as `product.cover.mediaId`,
`product.cover`.`position` as `product.cover.position`,
`product.cover.media`.`id` as `product.cover.media.id`,
`product.cover.media`.`user_id` as `product.cover.media.userId`,
`product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`,
`product.cover.media`.`mime_type` as `product.cover.media.mimeType`,
`product.cover.media`.`file_extension` as `product.cover.media.fileExtension`,
`product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`,
`product.cover.media`.`file_name` as `product.cover.media.fileName`,
`product.cover.media`.`file_size` as `product.cover.media.fileSize`,
`product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`,
`product.cover.media`.`meta_data` as `product.cover.media.metaData`,
`product.cover.media`.`private` as `product.cover.media.private`,
`product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`,
`product.cover.media`.`created_at` as `product.cover.media.createdAt`,
`product.cover.media`.`updated_at` as `product.cover.media.updatedAt`,
`product.cover.media.translation.title`,
COALESCE(
`product.cover.media.translation.title`,
`product.cover.media.translation.title`
) as `product.cover.media.title`,
`product.cover.media.translation.alt`,
COALESCE(
`product.cover.media.translation.alt`,
`product.cover.media.translation.alt`
) as `product.cover.media.alt`,
`product.cover.media.translation.customFields`,
COALESCE(
`product.cover.media.translation.customFields`,
`product.cover.media.translation.customFields`
) as `product.cover.media.customFields`,
`product.cover.media.translation.createdAt`,
`product.cover.media.translation.updatedAt`,
`product.cover.media.translation.mediaId`,
`product.cover.media.translation.languageId`,
`product.cover`.`custom_fields` as `product.cover.customFields`,
`product.cover`.`created_at` as `product.cover.createdAt`,
`product.cover`.`updated_at` as `product.cover.updatedAt`,
`product.translation.metaDescription`,
`product.parent.translation.metaDescription`,
COALESCE(
`product.translation.metaDescription`,
`product.parent.translation.metaDescription`,
`product.translation.metaDescription`
) as `product.metaDescription`,
`product.translation.name`,
`product.parent.translation.name`,
COALESCE(
`product.translation.name`, `product.parent.translation.name`,
`product.translation.name`
) as `product.name`,
`product.translation.keywords`,
`product.parent.translation.keywords`,
COALESCE(
`product.translation.keywords`,
`product.parent.translation.keywords`,
`product.translation.keywords`
) as `product.keywords`,
`product.translation.description`,
`product.parent.translation.description`,
COALESCE(
`product.translation.description`,
`product.parent.translation.description`,
`product.translation.description`
) as `product.description`,
`product.translation.metaTitle`,
`product.parent.translation.metaTitle`,
COALESCE(
`product.translation.metaTitle`,
`product.parent.translation.metaTitle`,
`product.translation.metaTitle`
) as `product.metaTitle`,
`product.translation.packUnit`,
`product.parent.translation.packUnit`,
COALESCE(
`product.translation.packUnit`,
`product.parent.translation.packUnit`,
`product.translation.packUnit`
) as `product.packUnit`,
`product.translation.packUnitPlural`,
`product.parent.translation.packUnitPlural`,
COALESCE(
`product.translation.packUnitPlural`,
`product.parent.translation.packUnitPlural`,
`product.translation.packUnitPlural`
) as `product.packUnitPlural`,
`product.translation.customSearchKeywords`,
`product.parent.translation.customSearchKeywords`,
COALESCE(
`product.translation.customSearchKeywords`,
`product.parent.translation.customSearchKeywords`,
`product.translation.customSearchKeywords`
) as `product.customSearchKeywords`,
`product.translation.slotConfig`,
`product.parent.translation.slotConfig`,
COALESCE(
`product.translation.slotConfig`,
`product.parent.translation.slotConfig`,
`product.translation.slotConfig`
) as `product.slotConfig`,
`product.translation.customFields`,
`product.parent.translation.customFields`,
COALESCE(
`product.translation.customFields`,
`product.parent.translation.customFields`,
`product.translation.customFields`
) as `product.customFields`,
`product.translation.createdAt`,
`product.parent.translation.createdAt`,
`product.translation.updatedAt`,
`product.parent.translation.updatedAt`,
`product.translation.productId`,
`product.parent.translation.productId`,
`product.translation.languageId`,
`product.parent.translation.languageId`,
`product.translation.productVersionId`,
`product.parent.translation.productVersionId`
FROM
`product`
LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id`
AND `product`.`version_id` = `product.parent`.`version_id`
LEFT JOIN (
SELECT
`product.translation`.product_id,
`product.translation`.product_version_id,
`product.translation`.meta_description as `product.translation.metaDescription`,
`product.translation`.name as `product.translation.name`,
`product.translation`.keywords as `product.translation.keywords`,
`product.translation`.description as `product.translation.description`,
`product.translation`.meta_title as `product.translation.metaTitle`,
`product.translation`.pack_unit as `product.translation.packUnit`,
`product.translation`.pack_unit_plural as `product.translation.packUnitPlural`,
`product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`,
`product.translation`.slot_config as `product.translation.slotConfig`,
`product.translation`.custom_fields as `product.translation.customFields`,
`product.translation`.created_at as `product.translation.createdAt`,
`product.translation`.updated_at as `product.translation.updatedAt`,
`product.translation`.product_id as `product.translation.productId`,
`product.translation`.language_id as `product.translation.languageId`,
`product.translation`.product_version_id as `product.translation.productVersionId`
FROM
`product_translation` `product.translation`
WHERE
`product.translation`.language_id = : languageId
) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id`
AND `product.product_translation`.product_version_id = `product`.version_id
LEFT JOIN (
SELECT
`product.parent.translation`.product_id,
`product.parent.translation`.product_version_id,
`product.parent.translation`.meta_description as `product.parent.translation.metaDescription`,
`product.parent.translation`.name as `product.parent.translation.name`,
`product.parent.translation`.keywords as `product.parent.translation.keywords`,
`product.parent.translation`.description as `product.parent.translation.description`,
`product.parent.translation`.meta_title as `product.parent.translation.metaTitle`,
`product.parent.translation`.pack_unit as `product.parent.translation.packUnit`,
`product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`,
`product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`,
`product.parent.translation`.slot_config as `product.parent.translation.slotConfig`,
`product.parent.translation`.custom_fields as `product.parent.translation.customFields`,
`product.parent.translation`.created_at as `product.parent.translation.createdAt`,
`product.parent.translation`.updated_at as `product.parent.translation.updatedAt`,
`product.parent.translation`.product_id as `product.parent.translation.productId`,
`product.parent.translation`.language_id as `product.parent.translation.languageId`,
`product.parent.translation`.product_version_id as `product.parent.translation.productVersionId`
FROM
`product_translation` `product.parent.translation`
WHERE
`product.parent.translation`.language_id = : languageId
) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id`
AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id
LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id`
LEFT JOIN `unit` `product.unit` ON `product`.`unit` = `product.unit`.`id`
LEFT JOIN `delivery_time` `product.deliveryTime` ON `product`.`deliveryTime` = `product.deliveryTime`.`id`
LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id`
AND `product`.`version_id` = `product.cover`.`version_id`
LEFT JOIN (
SELECT
`product.unit.translation`.unit_id,
`product.unit.translation`.short_code as `product.unit.translation.shortCode`,
`product.unit.translation`.name as `product.unit.translation.name`,
`product.unit.translation`.custom_fields as `product.unit.translation.customFields`,
`product.unit.translation`.created_at as `product.unit.translation.createdAt`,
`product.unit.translation`.updated_at as `product.unit.translation.updatedAt`,
`product.unit.translation`.unit_id as `product.unit.translation.unitId`,
`product.unit.translation`.language_id as `product.unit.translation.languageId`
FROM
`unit_translation` `product.unit.translation`
WHERE
`product.unit.translation`.language_id = : languageId
) `product.unit.unit_translation` ON `product.unit.unit_translation`.`unit_id` = `product.unit`.`id`
LEFT JOIN (
SELECT
`product.deliveryTime.translation`.delivery_time_id,
`product.deliveryTime.translation`.name as `product.deliveryTime.translation.name`,
`product.deliveryTime.translation`.custom_fields as `product.deliveryTime.translation.customFields`,
`product.deliveryTime.translation`.created_at as `product.deliveryTime.translation.createdAt`,
`product.deliveryTime.translation`.updated_at as `product.deliveryTime.translation.updatedAt`,
`product.deliveryTime.translation`.delivery_time_id as `product.deliveryTime.translation.deliveryTimeId`,
`product.deliveryTime.translation`.language_id as `product.deliveryTime.translation.languageId`
FROM
`delivery_time_translation` `product.deliveryTime.translation`
WHERE
`product.deliveryTime.translation`.language_id = : languageId
) `product.deliveryTime.delivery_time_translation` ON `product.deliveryTime.delivery_time_translation`.`delivery_time_id` = `product.deliveryTime`.`id`
LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id`
LEFT JOIN (
SELECT
`product.cover.media.translation`.media_id,
`product.cover.media.translation`.title as `product.cover.media.translation.title`,
`product.cover.media.translation`.alt as `product.cover.media.translation.alt`,
`product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`,
`product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`,
`product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`,
`product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`,
`product.cover.media.translation`.language_id as `product.cover.media.translation.languageId`
FROM
`media_translation` `product.cover.media.translation`
WHERE
`product.cover.media.translation`.language_id = : languageId
) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id`
WHERE
(
`product`.`version_id` = : version
)
AND (
`product`.`id` IN (: ids)
)
SELECT `product`.`id` as `product.id`, `product`.`version_id` as `product.versionId`, `product`.`parent_id` as `product.parentId`, `product`.`parent_version_id` as `product.parentVersionId`, COALESCE(`product`.`product_manufacturer_id`, `product.parent`.`product_manufacturer_id`) as `product.manufacturerId`, COALESCE(`product`.`product_manufacturer_version_id`, `product.parent`.`product_manufacturer_version_id`) as `product.productManufacturerVersionId`, COALESCE(`product`.`unit_id`, `product.parent`.`unit_id`) as `product.unitId`, COALESCE(`product`.`tax_id`, `product.parent`.`tax_id`) as `product.taxId`, COALESCE(`product`.`product_media_id`, `product.parent`.`product_media_id`) as `product.coverId`, COALESCE(`product`.`product_media_version_id`, `product.parent`.`product_media_version_id`) as `product.productMediaVersionId`, COALESCE(`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`) as `product.deliveryTimeId`, COALESCE(`product`.`product_feature_set_id`, `product.parent`.`product_feature_set_id`) as `product.featureSetId`, COALESCE(`product`.`canonical_product_id`, `product.parent`.`canonical_product_id`) as `product.canonicalProductId`, COALESCE(`product`.`cms_page_id`, `product.parent`.`cms_page_id`) as `product.cmsPageId`, COALESCE(`product`.`cms_page_version_id`, `product.parent`.`cms_page_version_id`) as `product.cmsPageVersionId`, `product.parent`.`price` as `product.price.inherited`, COALESCE(`product`.`price`, `product.parent`.`price`) as `product.price`, `product`.`product_number` as `product.productNumber`, `product`.`stock` as `product.stock`, COALESCE(`product`.`restock_time`, `product.parent`.`restock_time`) as `product.restockTime`, `product`.`auto_increment` as `product.autoIncrement`, COALESCE(`product`.`active`, `product.parent`.`active`) as `product.active`, `product`.`available_stock` as `product.availableStock`, `product`.`available` as `product.available`, COALESCE(`product`.`is_closeout`, `product.parent`.`is_closeout`) as `product.isCloseout`, `product`.`display_group` as `product.displayGroup`, `product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`, COALESCE(`product`.`configurator_group_config`, `product.parent`.`configurator_group_config`) as `product.configuratorGroupConfig`, COALESCE(`product`.`main_variant_id`, `product.parent`.`main_variant_id`) as `product.mainVariantId`, COALESCE(`product`.`display_parent`, `product.parent`.`display_parent`) as `product.displayParent`, `product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`, COALESCE(`product`.`variant_listing_config`, `product.parent`.`variant_listing_config`) as `product.variantListingConfig`, `product`.`variant_restrictions` as `product.variantRestrictions`, COALESCE(`product`.`manufacturer_number`, `product.parent`.`manufacturer_number`) as `product.manufacturerNumber`, COALESCE(`product`.`ean`, `product.parent`.`ean`) as `product.ean`, COALESCE(`product`.`purchase_steps`, `product.parent`.`purchase_steps`) as `product.purchaseSteps`, COALESCE(`product`.`max_purchase`, `product.parent`.`max_purchase`) as `product.maxPurchase`, COALESCE(`product`.`min_purchase`, `product.parent`.`min_purchase`) as `product.minPurchase`, COALESCE(`product`.`purchase_unit`, `product.parent`.`purchase_unit`) as `product.purchaseUnit`, COALESCE(`product`.`reference_unit`, `product.parent`.`reference_unit`) as `product.referenceUnit`, COALESCE(`product`.`shipping_free`, `product.parent`.`shipping_free`) as `product.shippingFree`, `product.parent`.`purchase_prices` as `product.purchasePrices.inherited`, COALESCE(`product`.`purchase_prices`, `product.parent`.`purchase_prices`) as `product.purchasePrices`, COALESCE(`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`) as `product.markAsTopseller`, COALESCE(`product`.`weight`, `product.parent`.`weight`) as `product.weight`, COALESCE(`product`.`width`, `product.parent`.`width`) as `product.width`, COALESCE(`product`.`height`, `product.parent`.`height`) as `product.height`, COALESCE(`product`.`length`, `product.parent`.`length`) as `product.length`, COALESCE(`product`.`release_date`, `product.parent`.`release_date`) as `product.releaseDate`, COALESCE(`product`.`rating_average`, `product.parent`.`rating_average`) as `product.ratingAverage`, `product.parent`.`category_tree` as `product.categoryTree.inherited`, COALESCE(`product`.`category_tree`, `product.parent`.`category_tree`) as `product.categoryTree`, `product.parent`.`property_ids` as `product.propertyIds.inherited`, COALESCE(`product`.`property_ids`, `product.parent`.`property_ids`) as `product.propertyIds`, `product.parent`.`option_ids` as `product.optionIds.inherited`, COALESCE(`product`.`option_ids`, `product.parent`.`option_ids`) as `product.optionIds`, `product.parent`.`stream_ids` as `product.streamIds.inherited`, COALESCE(`product`.`stream_ids`, `product.parent`.`stream_ids`) as `product.streamIds`, `product.parent`.`tag_ids` as `product.tagIds.inherited`, COALESCE(`product`.`tag_ids`, `product.parent`.`tag_ids`) as `product.tagIds`, `product.parent`.`category_ids` as `product.categoryIds.inherited`, COALESCE(`product`.`category_ids`, `product.parent`.`category_ids`) as `product.categoryIds`, `product`.`child_count` as `product.childCount`, COALESCE(`product`.`custom_field_set_selection_active`, `product.parent`.`custom_field_set_selection_active`) as `product.customFieldSetSelectionActive`, `product`.`sales` as `product.sales`, `product`.`states` as `product.states`, `product.tax`.`id` as `product.tax.id`, `product.tax`.`tax_rate` as `product.tax.taxRate`, `product.tax`.`name` as `product.tax.name`, `product.tax`.`position` as `product.tax.position`, `product.tax`.`custom_fields` as `product.tax.customFields`, `product.tax`.`created_at` as `product.tax.createdAt`, `product.tax`.`updated_at` as `product.tax.updatedAt`, `product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`, COALESCE(`product`.`cheapest_price`, `product.parent`.`cheapest_price`) as `product.cheapestPrice`, `product`.`created_at` as `product.createdAt`, `product`.`updated_at` as `product.updatedAt`, `product.unit`.`id` as `product.unit.id`, `product.unit`.`created_at` as `product.unit.createdAt`, `product.unit`.`updated_at` as `product.unit.updatedAt`, `product.unit.translation.shortCode`, COALESCE(`product.unit.translation.shortCode`,`product.unit.translation.shortCode`) as `product.unit.shortCode`, `product.unit.translation.name`, COALESCE(`product.unit.translation.name`,`product.unit.translation.name`) as `product.unit.name`, `product.unit.translation.customFields`, COALESCE(`product.unit.translation.customFields`,`product.unit.translation.customFields`) as `product.unit.customFields`, `product.unit.translation.createdAt`, `product.unit.translation.updatedAt`, `product.unit.translation.unitId`, `product.unit.translation.languageId`, `product.deliveryTime`.`id` as `product.deliveryTime.id`, `product.deliveryTime`.`min` as `product.deliveryTime.min`, `product.deliveryTime`.`max` as `product.deliveryTime.max`, `product.deliveryTime`.`unit` as `product.deliveryTime.unit`, `product.deliveryTime`.`created_at` as `product.deliveryTime.createdAt`, `product.deliveryTime`.`updated_at` as `product.deliveryTime.updatedAt`, `product.deliveryTime.translation.name`, COALESCE(`product.deliveryTime.translation.name`,`product.deliveryTime.translation.name`) as `product.deliveryTime.name`, `product.deliveryTime.translation.customFields`, COALESCE(`product.deliveryTime.translation.customFields`,`product.deliveryTime.translation.customFields`) as `product.deliveryTime.customFields`, `product.deliveryTime.translation.createdAt`, `product.deliveryTime.translation.updatedAt`, `product.deliveryTime.translation.deliveryTimeId`, `product.deliveryTime.translation.languageId`, `product.cover`.`id` as `product.cover.id`, `product.cover`.`version_id` as `product.cover.versionId`, `product.cover`.`product_id` as `product.cover.productId`, `product.cover`.`product_version_id` as `product.cover.productVersionId`, `product.cover`.`media_id` as `product.cover.mediaId`, `product.cover`.`position` as `product.cover.position`, `product.cover.media`.`id` as `product.cover.media.id`, `product.cover.media`.`user_id` as `product.cover.media.userId`, `product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`, `product.cover.media`.`mime_type` as `product.cover.media.mimeType`, `product.cover.media`.`file_extension` as `product.cover.media.fileExtension`, `product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`, `product.cover.media`.`file_name` as `product.cover.media.fileName`, `product.cover.media`.`file_size` as `product.cover.media.fileSize`, `product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`, `product.cover.media`.`meta_data` as `product.cover.media.metaData`, `product.cover.media`.`private` as `product.cover.media.private`, `product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`, `product.cover.media`.`created_at` as `product.cover.media.createdAt`, `product.cover.media`.`updated_at` as `product.cover.media.updatedAt`, `product.cover.media.translation.title`, COALESCE(`product.cover.media.translation.title`,`product.cover.media.translation.title`) as `product.cover.media.title`, `product.cover.media.translation.alt`, COALESCE(`product.cover.media.translation.alt`,`product.cover.media.translation.alt`) as `product.cover.media.alt`, `product.cover.media.translation.customFields`, COALESCE(`product.cover.media.translation.customFields`,`product.cover.media.translation.customFields`) as `product.cover.media.customFields`, `product.cover.media.translation.createdAt`, `product.cover.media.translation.updatedAt`, `product.cover.media.translation.mediaId`, `product.cover.media.translation.languageId`, `product.cover`.`custom_fields` as `product.cover.customFields`, `product.cover`.`created_at` as `product.cover.createdAt`, `product.cover`.`updated_at` as `product.cover.updatedAt`, `product.translation.metaDescription`, `product.parent.translation.metaDescription`, COALESCE(`product.translation.metaDescription`,`product.parent.translation.metaDescription`,`product.translation.metaDescription`) as `product.metaDescription`, `product.translation.name`, `product.parent.translation.name`, COALESCE(`product.translation.name`,`product.parent.translation.name`,`product.translation.name`) as `product.name`, `product.translation.keywords`, `product.parent.translation.keywords`, COALESCE(`product.translation.keywords`,`product.parent.translation.keywords`,`product.translation.keywords`) as `product.keywords`, `product.translation.description`, `product.parent.translation.description`, COALESCE(`product.translation.description`,`product.parent.translation.description`,`product.translation.description`) as `product.description`, `product.translation.metaTitle`, `product.parent.translation.metaTitle`, COALESCE(`product.translation.metaTitle`,`product.parent.translation.metaTitle`,`product.translation.metaTitle`) as `product.metaTitle`, `product.translation.packUnit`, `product.parent.translation.packUnit`, COALESCE(`product.translation.packUnit`,`product.parent.translation.packUnit`,`product.translation.packUnit`) as `product.packUnit`, `product.translation.packUnitPlural`, `product.parent.translation.packUnitPlural`, COALESCE(`product.translation.packUnitPlural`,`product.parent.translation.packUnitPlural`,`product.translation.packUnitPlural`) as `product.packUnitPlural`, `product.translation.customSearchKeywords`, `product.parent.translation.customSearchKeywords`, COALESCE(`product.translation.customSearchKeywords`,`product.parent.translation.customSearchKeywords`,`product.translation.customSearchKeywords`) as `product.customSearchKeywords`, `product.translation.slotConfig`, `product.parent.translation.slotConfig`, COALESCE(`product.translation.slotConfig`,`product.parent.translation.slotConfig`,`product.translation.slotConfig`) as `product.slotConfig`, `product.translation.customFields`, `product.parent.translation.customFields`, COALESCE(`product.translation.customFields`,`product.parent.translation.customFields`,`product.translation.customFields`) as `product.customFields`, `product.translation.createdAt`, `product.parent.translation.createdAt`, `product.translation.updatedAt`, `product.parent.translation.updatedAt`, `product.translation.productId`, `product.parent.translation.productId`, `product.translation.languageId`, `product.parent.translation.languageId`, `product.translation.productVersionId`, `product.parent.translation.productVersionId` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN (SELECT `product.translation`.product_id, `product.translation`.product_version_id, `product.translation`.meta_description as `product.translation.metaDescription`, `product.translation`.name as `product.translation.name`, `product.translation`.keywords as `product.translation.keywords`, `product.translation`.description as `product.translation.description`, `product.translation`.meta_title as `product.translation.metaTitle`, `product.translation`.pack_unit as `product.translation.packUnit`, `product.translation`.pack_unit_plural as `product.translation.packUnitPlural`, `product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`, `product.translation`.slot_config as `product.translation.slotConfig`, `product.translation`.custom_fields as `product.translation.customFields`, `product.translation`.created_at as `product.translation.createdAt`, `product.translation`.updated_at as `product.translation.updatedAt`, `product.translation`.product_id as `product.translation.productId`, `product.translation`.language_id as `product.translation.languageId`, `product.translation`.product_version_id as `product.translation.productVersionId` FROM `product_translation` `product.translation` WHERE `product.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id` AND `product.product_translation`.product_version_id = `product`.version_id LEFT JOIN (SELECT `product.parent.translation`.product_id, `product.parent.translation`.product_version_id, `product.parent.translation`.meta_description as `product.parent.translation.metaDescription`, `product.parent.translation`.name as `product.parent.translation.name`, `product.parent.translation`.keywords as `product.parent.translation.keywords`, `product.parent.translation`.description as `product.parent.translation.description`, `product.parent.translation`.meta_title as `product.parent.translation.metaTitle`, `product.parent.translation`.pack_unit as `product.parent.translation.packUnit`, `product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`, `product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`, `product.parent.translation`.slot_config as `product.parent.translation.slotConfig`, `product.parent.translation`.custom_fields as `product.parent.translation.customFields`, `product.parent.translation`.created_at as `product.parent.translation.createdAt`, `product.parent.translation`.updated_at as `product.parent.translation.updatedAt`, `product.parent.translation`.product_id as `product.parent.translation.productId`, `product.parent.translation`.language_id as `product.parent.translation.languageId`, `product.parent.translation`.product_version_id as `product.parent.translation.productVersionId` FROM `product_translation` `product.parent.translation` WHERE `product.parent.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id` AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id` LEFT JOIN `unit` `product.unit` ON `product`.`unit` = `product.unit`.`id` LEFT JOIN `delivery_time` `product.deliveryTime` ON `product`.`deliveryTime` = `product.deliveryTime`.`id` LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id` AND `product`.`version_id` = `product.cover`.`version_id` LEFT JOIN (SELECT `product.unit.translation`.unit_id, `product.unit.translation`.short_code as `product.unit.translation.shortCode`, `product.unit.translation`.name as `product.unit.translation.name`, `product.unit.translation`.custom_fields as `product.unit.translation.customFields`, `product.unit.translation`.created_at as `product.unit.translation.createdAt`, `product.unit.translation`.updated_at as `product.unit.translation.updatedAt`, `product.unit.translation`.unit_id as `product.unit.translation.unitId`, `product.unit.translation`.language_id as `product.unit.translation.languageId` FROM `unit_translation` `product.unit.translation` WHERE `product.unit.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.unit.unit_translation` ON `product.unit.unit_translation`.`unit_id` = `product.unit`.`id` LEFT JOIN (SELECT `product.deliveryTime.translation`.delivery_time_id, `product.deliveryTime.translation`.name as `product.deliveryTime.translation.name`, `product.deliveryTime.translation`.custom_fields as `product.deliveryTime.translation.customFields`, `product.deliveryTime.translation`.created_at as `product.deliveryTime.translation.createdAt`, `product.deliveryTime.translation`.updated_at as `product.deliveryTime.translation.updatedAt`, `product.deliveryTime.translation`.delivery_time_id as `product.deliveryTime.translation.deliveryTimeId`, `product.deliveryTime.translation`.language_id as `product.deliveryTime.translation.languageId` FROM `delivery_time_translation` `product.deliveryTime.translation` WHERE `product.deliveryTime.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.deliveryTime.delivery_time_translation` ON `product.deliveryTime.delivery_time_translation`.`delivery_time_id` = `product.deliveryTime`.`id` LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id` LEFT JOIN (SELECT `product.cover.media.translation`.media_id, `product.cover.media.translation`.title as `product.cover.media.translation.title`, `product.cover.media.translation`.alt as `product.cover.media.translation.alt`, `product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`, `product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`, `product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`, `product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`, `product.cover.media.translation`.language_id as `product.cover.media.translation.languageId` FROM `media_translation` `product.cover.media.translation` WHERE `product.cover.media.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id` WHERE (`product`.`version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425) AND (`product`.`id` IN (0x21CDD7FFFEC045AD90A996EFE4E1319C));
array:37 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 242)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 316)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetch (line 148)"
4 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 93)"
5 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::read (line 195)"
6 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::read (line 133)"
7 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 36)"
8 => "Swag\PayPal\Util\Compatibility\SalesChannelRepositoryDecorator::search (line 207)"
9 => "Tds\MerwareDiscounts\Cart\Checkout\OverwrittenPriceCollector::getSalesChannelProduct (line 93)"
10 => "Tds\MerwareDiscounts\Cart\Checkout\OverwrittenPriceCollector::collect (line 103)"
11 => "Shopware\Core\Checkout\Cart\Processor::runProcessors (line 67)"
12 => "Shopware\Core\Checkout\Cart\Processor::Shopware\Core\Checkout\Cart\{closure} (line 59)"
13 => "Shopware\Core\Profiling\Profiler::trace (line 86)"
14 => "Shopware\Core\Checkout\Cart\Processor::process (line 132)"
15 => "Shopware\Core\Checkout\Cart\CartRuleLoader::Shopware\Core\Checkout\Cart\{closure} (line 59)"
16 => "Shopware\Core\Profiling\Profiler::trace (line 183)"
17 => "Shopware\Core\Checkout\Cart\CartRuleLoader::load (line 83)"
18 => "Shopware\Core\Checkout\Cart\CartRuleLoader::loadByToken (line 106)"
19 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::Shopware\Core\System\SalesChannel\Context\{closure} (line 59)"
20 => "Shopware\Core\Profiling\Profiler::trace (line 111)"
21 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::get (line 105)"
22 => "Shopware\Core\Framework\Routing\SalesChannelRequestContextResolver::resolve (line 38)"
23 => "Shopware\Core\Framework\Routing\ContextResolverListener::resolveContext (line 118)"
24 => "Symfony\Component\EventDispatcher\Debug\WrappedListener::__invoke (line 230)"
25 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
26 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
27 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
28 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
29 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
30 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
31 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 151)"
32 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
33 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
34 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
35 => "Shopware\Core\HttpKernel::doHandle (line 81)"
36 => "Shopware\Core\HttpKernel::handle (line 85)"
]
|
48 |
0.75 ms |
SELECT `product_price`.`id` as `product_price.id`, `product_price`.`version_id` as `product_price.versionId`, `product_price`.`product_id` as `product_price.productId`, `product_price`.`product_version_id` as `product_price.productVersionId`, `product_price`.`rule_id` as `product_price.ruleId`, `product_price`.`price` as `product_price.price`, `product_price`.`quantity_start` as `product_price.quantityStart`, `product_price`.`quantity_end` as `product_price.quantityEnd`, `product_price`.`custom_fields` as `product_price.customFields`, `product_price`.`created_at` as `product_price.createdAt`, `product_price`.`updated_at` as `product_price.updatedAt` FROM `product_price` WHERE (`product_price`.`version_id` = :version) AND ((`product_price`.`product_id` IN (:param_4e124fb790a946e8b20f40837eb57662)))
SELECT `product_price`.`id` as `product_price.id`, `product_price`.`version_id` as `product_price.versionId`, `product_price`.`product_id` as `product_price.productId`, `product_price`.`product_version_id` as `product_price.productVersionId`, `product_price`.`rule_id` as `product_price.ruleId`, `product_price`.`price` as `product_price.price`, `product_price`.`quantity_start` as `product_price.quantityStart`, `product_price`.`quantity_end` as `product_price.quantityEnd`, `product_price`.`custom_fields` as `product_price.customFields`, `product_price`.`created_at` as `product_price.createdAt`, `product_price`.`updated_at` as `product_price.updatedAt` FROM `product_price` WHERE (`product_price`.`version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425) AND ((`product_price`.`product_id` IN (0x21CDD7FFFEC045AD90A996EFE4E1319C, 0xABB6575B87F64A09847D9505F091411D)));
array:41 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 242)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 316)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetch (line 148)"
4 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 503)"
5 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::loadOneToManyWithoutPagination (line 438)"
6 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::loadOneToMany (line 1210)"
7 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetchAssociations (line 152)"
8 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 93)"
9 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::read (line 195)"
10 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::read (line 133)"
11 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 36)"
12 => "Swag\PayPal\Util\Compatibility\SalesChannelRepositoryDecorator::search (line 207)"
13 => "Tds\MerwareDiscounts\Cart\Checkout\OverwrittenPriceCollector::getSalesChannelProduct (line 93)"
14 => "Tds\MerwareDiscounts\Cart\Checkout\OverwrittenPriceCollector::collect (line 103)"
15 => "Shopware\Core\Checkout\Cart\Processor::runProcessors (line 67)"
16 => "Shopware\Core\Checkout\Cart\Processor::Shopware\Core\Checkout\Cart\{closure} (line 59)"
17 => "Shopware\Core\Profiling\Profiler::trace (line 86)"
18 => "Shopware\Core\Checkout\Cart\Processor::process (line 132)"
19 => "Shopware\Core\Checkout\Cart\CartRuleLoader::Shopware\Core\Checkout\Cart\{closure} (line 59)"
20 => "Shopware\Core\Profiling\Profiler::trace (line 183)"
21 => "Shopware\Core\Checkout\Cart\CartRuleLoader::load (line 83)"
22 => "Shopware\Core\Checkout\Cart\CartRuleLoader::loadByToken (line 106)"
23 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::Shopware\Core\System\SalesChannel\Context\{closure} (line 59)"
24 => "Shopware\Core\Profiling\Profiler::trace (line 111)"
25 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::get (line 105)"
26 => "Shopware\Core\Framework\Routing\SalesChannelRequestContextResolver::resolve (line 38)"
27 => "Shopware\Core\Framework\Routing\ContextResolverListener::resolveContext (line 118)"
28 => "Symfony\Component\EventDispatcher\Debug\WrappedListener::__invoke (line 230)"
29 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
30 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
31 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
32 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
33 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
34 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
35 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 151)"
36 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
37 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
38 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
39 => "Shopware\Core\HttpKernel::doHandle (line 81)"
40 => "Shopware\Core\HttpKernel::handle (line 85)"
]
|
49 |
0.45 ms |
SELECT `product`.`id`, `product`.`product_number`, `product`.`auto_increment` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN `product_visibility` `product.visibilities` ON `product`.`visibilities` = `product.visibilities`.`product_id` AND `product`.version_id = `product.visibilities`.product_version_id WHERE (`product`.`version_id` = :version) AND ((((`product.visibilities`.`visibility` >= :param_cacb23c002b4467fa1ce1e8be2ed9292) AND `product.visibilities`.`sales_channel_id` = :param_0d098411f596455095695660766c2345 AND IFNULL(`product`.`active`, `product.parent`.`active`) = :param_64b8e77c846541d5910a8bdd34e69091))) AND (`product`.`id` IN (:ids)) GROUP BY `product`.`id`
SELECT `product`.`id`, `product`.`product_number`, `product`.`auto_increment` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN `product_visibility` `product.visibilities` ON `product`.`visibilities` = `product.visibilities`.`product_id` AND `product`.version_id = `product.visibilities`.product_version_id WHERE (`product`.`version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425) AND ((((`product.visibilities`.`visibility` >= 10) AND `product.visibilities`.`sales_channel_id` = 0x4EB9108BE4654CC9B140D14DE85579E9 AND IFNULL(`product`.`active`, `product.parent`.`active`) = 1))) AND (`product`.`id` IN (0xB8DF780CBB824ABCB4FBD443778DEADE)) GROUP BY `product`.`id`;
array:36 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 242)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 107)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntitySearcher::search (line 62)"
4 => "Shopware\Elasticsearch\Framework\DataAbstractionLayer\ElasticsearchEntitySearcher::search (line 216)"
5 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::doSearch (line 122)"
6 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 36)"
7 => "Swag\PayPal\Util\Compatibility\SalesChannelRepositoryDecorator::search (line 207)"
8 => "Tds\MerwareDiscounts\Cart\Checkout\OverwrittenPriceCollector::getSalesChannelProduct (line 93)"
9 => "Tds\MerwareDiscounts\Cart\Checkout\OverwrittenPriceCollector::collect (line 103)"
10 => "Shopware\Core\Checkout\Cart\Processor::runProcessors (line 67)"
11 => "Shopware\Core\Checkout\Cart\Processor::Shopware\Core\Checkout\Cart\{closure} (line 59)"
12 => "Shopware\Core\Profiling\Profiler::trace (line 86)"
13 => "Shopware\Core\Checkout\Cart\Processor::process (line 132)"
14 => "Shopware\Core\Checkout\Cart\CartRuleLoader::Shopware\Core\Checkout\Cart\{closure} (line 59)"
15 => "Shopware\Core\Profiling\Profiler::trace (line 183)"
16 => "Shopware\Core\Checkout\Cart\CartRuleLoader::load (line 83)"
17 => "Shopware\Core\Checkout\Cart\CartRuleLoader::loadByToken (line 106)"
18 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::Shopware\Core\System\SalesChannel\Context\{closure} (line 59)"
19 => "Shopware\Core\Profiling\Profiler::trace (line 111)"
20 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::get (line 105)"
21 => "Shopware\Core\Framework\Routing\SalesChannelRequestContextResolver::resolve (line 38)"
22 => "Shopware\Core\Framework\Routing\ContextResolverListener::resolveContext (line 118)"
23 => "Symfony\Component\EventDispatcher\Debug\WrappedListener::__invoke (line 230)"
24 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
25 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
26 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
27 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
28 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
29 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
30 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 151)"
31 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
32 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
33 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
34 => "Shopware\Core\HttpKernel::doHandle (line 81)"
35 => "Shopware\Core\HttpKernel::handle (line 85)"
]
|
50 |
12.81 ms |
SELECT `product`.`id` as `product.id`, `product`.`version_id` as `product.versionId`, `product`.`parent_id` as `product.parentId`, `product`.`parent_version_id` as `product.parentVersionId`, COALESCE(`product`.`product_manufacturer_id`, `product.parent`.`product_manufacturer_id`) as `product.manufacturerId`, COALESCE(`product`.`product_manufacturer_version_id`, `product.parent`.`product_manufacturer_version_id`) as `product.productManufacturerVersionId`, COALESCE(`product`.`unit_id`, `product.parent`.`unit_id`) as `product.unitId`, COALESCE(`product`.`tax_id`, `product.parent`.`tax_id`) as `product.taxId`, COALESCE(`product`.`product_media_id`, `product.parent`.`product_media_id`) as `product.coverId`, COALESCE(`product`.`product_media_version_id`, `product.parent`.`product_media_version_id`) as `product.productMediaVersionId`, COALESCE(`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`) as `product.deliveryTimeId`, COALESCE(`product`.`product_feature_set_id`, `product.parent`.`product_feature_set_id`) as `product.featureSetId`, COALESCE(`product`.`canonical_product_id`, `product.parent`.`canonical_product_id`) as `product.canonicalProductId`, COALESCE(`product`.`cms_page_id`, `product.parent`.`cms_page_id`) as `product.cmsPageId`, COALESCE(`product`.`cms_page_version_id`, `product.parent`.`cms_page_version_id`) as `product.cmsPageVersionId`, `product.parent`.`price` as `product.price.inherited`, COALESCE(`product`.`price`, `product.parent`.`price`) as `product.price`, `product`.`product_number` as `product.productNumber`, `product`.`stock` as `product.stock`, COALESCE(`product`.`restock_time`, `product.parent`.`restock_time`) as `product.restockTime`, `product`.`auto_increment` as `product.autoIncrement`, COALESCE(`product`.`active`, `product.parent`.`active`) as `product.active`, `product`.`available_stock` as `product.availableStock`, `product`.`available` as `product.available`, COALESCE(`product`.`is_closeout`, `product.parent`.`is_closeout`) as `product.isCloseout`, `product`.`display_group` as `product.displayGroup`, `product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`, COALESCE(`product`.`configurator_group_config`, `product.parent`.`configurator_group_config`) as `product.configuratorGroupConfig`, COALESCE(`product`.`main_variant_id`, `product.parent`.`main_variant_id`) as `product.mainVariantId`, COALESCE(`product`.`display_parent`, `product.parent`.`display_parent`) as `product.displayParent`, `product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`, COALESCE(`product`.`variant_listing_config`, `product.parent`.`variant_listing_config`) as `product.variantListingConfig`, `product`.`variant_restrictions` as `product.variantRestrictions`, COALESCE(`product`.`manufacturer_number`, `product.parent`.`manufacturer_number`) as `product.manufacturerNumber`, COALESCE(`product`.`ean`, `product.parent`.`ean`) as `product.ean`, COALESCE(`product`.`purchase_steps`, `product.parent`.`purchase_steps`) as `product.purchaseSteps`, COALESCE(`product`.`max_purchase`, `product.parent`.`max_purchase`) as `product.maxPurchase`, COALESCE(`product`.`min_purchase`, `product.parent`.`min_purchase`) as `product.minPurchase`, COALESCE(`product`.`purchase_unit`, `product.parent`.`purchase_unit`) as `product.purchaseUnit`, COALESCE(`product`.`reference_unit`, `product.parent`.`reference_unit`) as `product.referenceUnit`, COALESCE(`product`.`shipping_free`, `product.parent`.`shipping_free`) as `product.shippingFree`, `product.parent`.`purchase_prices` as `product.purchasePrices.inherited`, COALESCE(`product`.`purchase_prices`, `product.parent`.`purchase_prices`) as `product.purchasePrices`, COALESCE(`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`) as `product.markAsTopseller`, COALESCE(`product`.`weight`, `product.parent`.`weight`) as `product.weight`, COALESCE(`product`.`width`, `product.parent`.`width`) as `product.width`, COALESCE(`product`.`height`, `product.parent`.`height`) as `product.height`, COALESCE(`product`.`length`, `product.parent`.`length`) as `product.length`, COALESCE(`product`.`release_date`, `product.parent`.`release_date`) as `product.releaseDate`, COALESCE(`product`.`rating_average`, `product.parent`.`rating_average`) as `product.ratingAverage`, `product.parent`.`category_tree` as `product.categoryTree.inherited`, COALESCE(`product`.`category_tree`, `product.parent`.`category_tree`) as `product.categoryTree`, `product.parent`.`property_ids` as `product.propertyIds.inherited`, COALESCE(`product`.`property_ids`, `product.parent`.`property_ids`) as `product.propertyIds`, `product.parent`.`option_ids` as `product.optionIds.inherited`, COALESCE(`product`.`option_ids`, `product.parent`.`option_ids`) as `product.optionIds`, `product.parent`.`stream_ids` as `product.streamIds.inherited`, COALESCE(`product`.`stream_ids`, `product.parent`.`stream_ids`) as `product.streamIds`, `product.parent`.`tag_ids` as `product.tagIds.inherited`, COALESCE(`product`.`tag_ids`, `product.parent`.`tag_ids`) as `product.tagIds`, `product.parent`.`category_ids` as `product.categoryIds.inherited`, COALESCE(`product`.`category_ids`, `product.parent`.`category_ids`) as `product.categoryIds`, `product`.`child_count` as `product.childCount`, COALESCE(`product`.`custom_field_set_selection_active`, `product.parent`.`custom_field_set_selection_active`) as `product.customFieldSetSelectionActive`, `product`.`sales` as `product.sales`, `product`.`states` as `product.states`, `product.tax`.`id` as `product.tax.id`, `product.tax`.`tax_rate` as `product.tax.taxRate`, `product.tax`.`name` as `product.tax.name`, `product.tax`.`position` as `product.tax.position`, `product.tax`.`custom_fields` as `product.tax.customFields`, `product.tax`.`created_at` as `product.tax.createdAt`, `product.tax`.`updated_at` as `product.tax.updatedAt`, `product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`, COALESCE(`product`.`cheapest_price`, `product.parent`.`cheapest_price`) as `product.cheapestPrice`, `product`.`created_at` as `product.createdAt`, `product`.`updated_at` as `product.updatedAt`, `product.unit`.`id` as `product.unit.id`, `product.unit`.`created_at` as `product.unit.createdAt`, `product.unit`.`updated_at` as `product.unit.updatedAt`, `product.unit.translation.shortCode`, COALESCE(`product.unit.translation.shortCode`,`product.unit.translation.shortCode`) as `product.unit.shortCode`, `product.unit.translation.name`, COALESCE(`product.unit.translation.name`,`product.unit.translation.name`) as `product.unit.name`, `product.unit.translation.customFields`, COALESCE(`product.unit.translation.customFields`,`product.unit.translation.customFields`) as `product.unit.customFields`, `product.unit.translation.createdAt`, `product.unit.translation.updatedAt`, `product.unit.translation.unitId`, `product.unit.translation.languageId`, `product.deliveryTime`.`id` as `product.deliveryTime.id`, `product.deliveryTime`.`min` as `product.deliveryTime.min`, `product.deliveryTime`.`max` as `product.deliveryTime.max`, `product.deliveryTime`.`unit` as `product.deliveryTime.unit`, `product.deliveryTime`.`created_at` as `product.deliveryTime.createdAt`, `product.deliveryTime`.`updated_at` as `product.deliveryTime.updatedAt`, `product.deliveryTime.translation.name`, COALESCE(`product.deliveryTime.translation.name`,`product.deliveryTime.translation.name`) as `product.deliveryTime.name`, `product.deliveryTime.translation.customFields`, COALESCE(`product.deliveryTime.translation.customFields`,`product.deliveryTime.translation.customFields`) as `product.deliveryTime.customFields`, `product.deliveryTime.translation.createdAt`, `product.deliveryTime.translation.updatedAt`, `product.deliveryTime.translation.deliveryTimeId`, `product.deliveryTime.translation.languageId`, `product.cover`.`id` as `product.cover.id`, `product.cover`.`version_id` as `product.cover.versionId`, `product.cover`.`product_id` as `product.cover.productId`, `product.cover`.`product_version_id` as `product.cover.productVersionId`, `product.cover`.`media_id` as `product.cover.mediaId`, `product.cover`.`position` as `product.cover.position`, `product.cover.media`.`id` as `product.cover.media.id`, `product.cover.media`.`user_id` as `product.cover.media.userId`, `product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`, `product.cover.media`.`mime_type` as `product.cover.media.mimeType`, `product.cover.media`.`file_extension` as `product.cover.media.fileExtension`, `product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`, `product.cover.media`.`file_name` as `product.cover.media.fileName`, `product.cover.media`.`file_size` as `product.cover.media.fileSize`, `product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`, `product.cover.media`.`meta_data` as `product.cover.media.metaData`, `product.cover.media`.`private` as `product.cover.media.private`, `product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`, `product.cover.media`.`created_at` as `product.cover.media.createdAt`, `product.cover.media`.`updated_at` as `product.cover.media.updatedAt`, `product.cover.media.translation.title`, COALESCE(`product.cover.media.translation.title`,`product.cover.media.translation.title`) as `product.cover.media.title`, `product.cover.media.translation.alt`, COALESCE(`product.cover.media.translation.alt`,`product.cover.media.translation.alt`) as `product.cover.media.alt`, `product.cover.media.translation.customFields`, COALESCE(`product.cover.media.translation.customFields`,`product.cover.media.translation.customFields`) as `product.cover.media.customFields`, `product.cover.media.translation.createdAt`, `product.cover.media.translation.updatedAt`, `product.cover.media.translation.mediaId`, `product.cover.media.translation.languageId`, `product.cover`.`custom_fields` as `product.cover.customFields`, `product.cover`.`created_at` as `product.cover.createdAt`, `product.cover`.`updated_at` as `product.cover.updatedAt`, `product.translation.metaDescription`, `product.parent.translation.metaDescription`, COALESCE(`product.translation.metaDescription`,`product.parent.translation.metaDescription`,`product.translation.metaDescription`) as `product.metaDescription`, `product.translation.name`, `product.parent.translation.name`, COALESCE(`product.translation.name`,`product.parent.translation.name`,`product.translation.name`) as `product.name`, `product.translation.keywords`, `product.parent.translation.keywords`, COALESCE(`product.translation.keywords`,`product.parent.translation.keywords`,`product.translation.keywords`) as `product.keywords`, `product.translation.description`, `product.parent.translation.description`, COALESCE(`product.translation.description`,`product.parent.translation.description`,`product.translation.description`) as `product.description`, `product.translation.metaTitle`, `product.parent.translation.metaTitle`, COALESCE(`product.translation.metaTitle`,`product.parent.translation.metaTitle`,`product.translation.metaTitle`) as `product.metaTitle`, `product.translation.packUnit`, `product.parent.translation.packUnit`, COALESCE(`product.translation.packUnit`,`product.parent.translation.packUnit`,`product.translation.packUnit`) as `product.packUnit`, `product.translation.packUnitPlural`, `product.parent.translation.packUnitPlural`, COALESCE(`product.translation.packUnitPlural`,`product.parent.translation.packUnitPlural`,`product.translation.packUnitPlural`) as `product.packUnitPlural`, `product.translation.customSearchKeywords`, `product.parent.translation.customSearchKeywords`, COALESCE(`product.translation.customSearchKeywords`,`product.parent.translation.customSearchKeywords`,`product.translation.customSearchKeywords`) as `product.customSearchKeywords`, `product.translation.slotConfig`, `product.parent.translation.slotConfig`, COALESCE(`product.translation.slotConfig`,`product.parent.translation.slotConfig`,`product.translation.slotConfig`) as `product.slotConfig`, `product.translation.customFields`, `product.parent.translation.customFields`, COALESCE(`product.translation.customFields`,`product.parent.translation.customFields`,`product.translation.customFields`) as `product.customFields`, `product.translation.createdAt`, `product.parent.translation.createdAt`, `product.translation.updatedAt`, `product.parent.translation.updatedAt`, `product.translation.productId`, `product.parent.translation.productId`, `product.translation.languageId`, `product.parent.translation.languageId`, `product.translation.productVersionId`, `product.parent.translation.productVersionId` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN (SELECT `product.translation`.product_id, `product.translation`.product_version_id, `product.translation`.meta_description as `product.translation.metaDescription`, `product.translation`.name as `product.translation.name`, `product.translation`.keywords as `product.translation.keywords`, `product.translation`.description as `product.translation.description`, `product.translation`.meta_title as `product.translation.metaTitle`, `product.translation`.pack_unit as `product.translation.packUnit`, `product.translation`.pack_unit_plural as `product.translation.packUnitPlural`, `product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`, `product.translation`.slot_config as `product.translation.slotConfig`, `product.translation`.custom_fields as `product.translation.customFields`, `product.translation`.created_at as `product.translation.createdAt`, `product.translation`.updated_at as `product.translation.updatedAt`, `product.translation`.product_id as `product.translation.productId`, `product.translation`.language_id as `product.translation.languageId`, `product.translation`.product_version_id as `product.translation.productVersionId` FROM `product_translation` `product.translation` WHERE `product.translation`.language_id = :languageId) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id` AND `product.product_translation`.product_version_id = `product`.version_id LEFT JOIN (SELECT `product.parent.translation`.product_id, `product.parent.translation`.product_version_id, `product.parent.translation`.meta_description as `product.parent.translation.metaDescription`, `product.parent.translation`.name as `product.parent.translation.name`, `product.parent.translation`.keywords as `product.parent.translation.keywords`, `product.parent.translation`.description as `product.parent.translation.description`, `product.parent.translation`.meta_title as `product.parent.translation.metaTitle`, `product.parent.translation`.pack_unit as `product.parent.translation.packUnit`, `product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`, `product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`, `product.parent.translation`.slot_config as `product.parent.translation.slotConfig`, `product.parent.translation`.custom_fields as `product.parent.translation.customFields`, `product.parent.translation`.created_at as `product.parent.translation.createdAt`, `product.parent.translation`.updated_at as `product.parent.translation.updatedAt`, `product.parent.translation`.product_id as `product.parent.translation.productId`, `product.parent.translation`.language_id as `product.parent.translation.languageId`, `product.parent.translation`.product_version_id as `product.parent.translation.productVersionId` FROM `product_translation` `product.parent.translation` WHERE `product.parent.translation`.language_id = :languageId) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id` AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id` LEFT JOIN `unit` `product.unit` ON `product`.`unit` = `product.unit`.`id` LEFT JOIN `delivery_time` `product.deliveryTime` ON `product`.`deliveryTime` = `product.deliveryTime`.`id` LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id` AND `product`.`version_id` = `product.cover`.`version_id` LEFT JOIN (SELECT `product.unit.translation`.unit_id, `product.unit.translation`.short_code as `product.unit.translation.shortCode`, `product.unit.translation`.name as `product.unit.translation.name`, `product.unit.translation`.custom_fields as `product.unit.translation.customFields`, `product.unit.translation`.created_at as `product.unit.translation.createdAt`, `product.unit.translation`.updated_at as `product.unit.translation.updatedAt`, `product.unit.translation`.unit_id as `product.unit.translation.unitId`, `product.unit.translation`.language_id as `product.unit.translation.languageId` FROM `unit_translation` `product.unit.translation` WHERE `product.unit.translation`.language_id = :languageId) `product.unit.unit_translation` ON `product.unit.unit_translation`.`unit_id` = `product.unit`.`id` LEFT JOIN (SELECT `product.deliveryTime.translation`.delivery_time_id, `product.deliveryTime.translation`.name as `product.deliveryTime.translation.name`, `product.deliveryTime.translation`.custom_fields as `product.deliveryTime.translation.customFields`, `product.deliveryTime.translation`.created_at as `product.deliveryTime.translation.createdAt`, `product.deliveryTime.translation`.updated_at as `product.deliveryTime.translation.updatedAt`, `product.deliveryTime.translation`.delivery_time_id as `product.deliveryTime.translation.deliveryTimeId`, `product.deliveryTime.translation`.language_id as `product.deliveryTime.translation.languageId` FROM `delivery_time_translation` `product.deliveryTime.translation` WHERE `product.deliveryTime.translation`.language_id = :languageId) `product.deliveryTime.delivery_time_translation` ON `product.deliveryTime.delivery_time_translation`.`delivery_time_id` = `product.deliveryTime`.`id` LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id` LEFT JOIN (SELECT `product.cover.media.translation`.media_id, `product.cover.media.translation`.title as `product.cover.media.translation.title`, `product.cover.media.translation`.alt as `product.cover.media.translation.alt`, `product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`, `product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`, `product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`, `product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`, `product.cover.media.translation`.language_id as `product.cover.media.translation.languageId` FROM `media_translation` `product.cover.media.translation` WHERE `product.cover.media.translation`.language_id = :languageId) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id` WHERE (`product`.`version_id` = :version) AND (`product`.`id` IN (:ids))
SELECT
`product`.`id` as `product.id`,
`product`.`version_id` as `product.versionId`,
`product`.`parent_id` as `product.parentId`,
`product`.`parent_version_id` as `product.parentVersionId`,
COALESCE(
`product`.`product_manufacturer_id`,
`product.parent`.`product_manufacturer_id`
) as `product.manufacturerId`,
COALESCE(
`product`.`product_manufacturer_version_id`,
`product.parent`.`product_manufacturer_version_id`
) as `product.productManufacturerVersionId`,
COALESCE(
`product`.`unit_id`, `product.parent`.`unit_id`
) as `product.unitId`,
COALESCE(
`product`.`tax_id`, `product.parent`.`tax_id`
) as `product.taxId`,
COALESCE(
`product`.`product_media_id`, `product.parent`.`product_media_id`
) as `product.coverId`,
COALESCE(
`product`.`product_media_version_id`,
`product.parent`.`product_media_version_id`
) as `product.productMediaVersionId`,
COALESCE(
`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`
) as `product.deliveryTimeId`,
COALESCE(
`product`.`product_feature_set_id`,
`product.parent`.`product_feature_set_id`
) as `product.featureSetId`,
COALESCE(
`product`.`canonical_product_id`,
`product.parent`.`canonical_product_id`
) as `product.canonicalProductId`,
COALESCE(
`product`.`cms_page_id`, `product.parent`.`cms_page_id`
) as `product.cmsPageId`,
COALESCE(
`product`.`cms_page_version_id`,
`product.parent`.`cms_page_version_id`
) as `product.cmsPageVersionId`,
`product.parent`.`price` as `product.price.inherited`,
COALESCE(
`product`.`price`, `product.parent`.`price`
) as `product.price`,
`product`.`product_number` as `product.productNumber`,
`product`.`stock` as `product.stock`,
COALESCE(
`product`.`restock_time`, `product.parent`.`restock_time`
) as `product.restockTime`,
`product`.`auto_increment` as `product.autoIncrement`,
COALESCE(
`product`.`active`, `product.parent`.`active`
) as `product.active`,
`product`.`available_stock` as `product.availableStock`,
`product`.`available` as `product.available`,
COALESCE(
`product`.`is_closeout`, `product.parent`.`is_closeout`
) as `product.isCloseout`,
`product`.`display_group` as `product.displayGroup`,
`product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`,
COALESCE(
`product`.`configurator_group_config`,
`product.parent`.`configurator_group_config`
) as `product.configuratorGroupConfig`,
COALESCE(
`product`.`main_variant_id`, `product.parent`.`main_variant_id`
) as `product.mainVariantId`,
COALESCE(
`product`.`display_parent`, `product.parent`.`display_parent`
) as `product.displayParent`,
`product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`,
COALESCE(
`product`.`variant_listing_config`,
`product.parent`.`variant_listing_config`
) as `product.variantListingConfig`,
`product`.`variant_restrictions` as `product.variantRestrictions`,
COALESCE(
`product`.`manufacturer_number`,
`product.parent`.`manufacturer_number`
) as `product.manufacturerNumber`,
COALESCE(
`product`.`ean`, `product.parent`.`ean`
) as `product.ean`,
COALESCE(
`product`.`purchase_steps`, `product.parent`.`purchase_steps`
) as `product.purchaseSteps`,
COALESCE(
`product`.`max_purchase`, `product.parent`.`max_purchase`
) as `product.maxPurchase`,
COALESCE(
`product`.`min_purchase`, `product.parent`.`min_purchase`
) as `product.minPurchase`,
COALESCE(
`product`.`purchase_unit`, `product.parent`.`purchase_unit`
) as `product.purchaseUnit`,
COALESCE(
`product`.`reference_unit`, `product.parent`.`reference_unit`
) as `product.referenceUnit`,
COALESCE(
`product`.`shipping_free`, `product.parent`.`shipping_free`
) as `product.shippingFree`,
`product.parent`.`purchase_prices` as `product.purchasePrices.inherited`,
COALESCE(
`product`.`purchase_prices`, `product.parent`.`purchase_prices`
) as `product.purchasePrices`,
COALESCE(
`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`
) as `product.markAsTopseller`,
COALESCE(
`product`.`weight`, `product.parent`.`weight`
) as `product.weight`,
COALESCE(
`product`.`width`, `product.parent`.`width`
) as `product.width`,
COALESCE(
`product`.`height`, `product.parent`.`height`
) as `product.height`,
COALESCE(
`product`.`length`, `product.parent`.`length`
) as `product.length`,
COALESCE(
`product`.`release_date`, `product.parent`.`release_date`
) as `product.releaseDate`,
COALESCE(
`product`.`rating_average`, `product.parent`.`rating_average`
) as `product.ratingAverage`,
`product.parent`.`category_tree` as `product.categoryTree.inherited`,
COALESCE(
`product`.`category_tree`, `product.parent`.`category_tree`
) as `product.categoryTree`,
`product.parent`.`property_ids` as `product.propertyIds.inherited`,
COALESCE(
`product`.`property_ids`, `product.parent`.`property_ids`
) as `product.propertyIds`,
`product.parent`.`option_ids` as `product.optionIds.inherited`,
COALESCE(
`product`.`option_ids`, `product.parent`.`option_ids`
) as `product.optionIds`,
`product.parent`.`stream_ids` as `product.streamIds.inherited`,
COALESCE(
`product`.`stream_ids`, `product.parent`.`stream_ids`
) as `product.streamIds`,
`product.parent`.`tag_ids` as `product.tagIds.inherited`,
COALESCE(
`product`.`tag_ids`, `product.parent`.`tag_ids`
) as `product.tagIds`,
`product.parent`.`category_ids` as `product.categoryIds.inherited`,
COALESCE(
`product`.`category_ids`, `product.parent`.`category_ids`
) as `product.categoryIds`,
`product`.`child_count` as `product.childCount`,
COALESCE(
`product`.`custom_field_set_selection_active`,
`product.parent`.`custom_field_set_selection_active`
) as `product.customFieldSetSelectionActive`,
`product`.`sales` as `product.sales`,
`product`.`states` as `product.states`,
`product.tax`.`id` as `product.tax.id`,
`product.tax`.`tax_rate` as `product.tax.taxRate`,
`product.tax`.`name` as `product.tax.name`,
`product.tax`.`position` as `product.tax.position`,
`product.tax`.`custom_fields` as `product.tax.customFields`,
`product.tax`.`created_at` as `product.tax.createdAt`,
`product.tax`.`updated_at` as `product.tax.updatedAt`,
`product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`,
COALESCE(
`product`.`cheapest_price`, `product.parent`.`cheapest_price`
) as `product.cheapestPrice`,
`product`.`created_at` as `product.createdAt`,
`product`.`updated_at` as `product.updatedAt`,
`product.unit`.`id` as `product.unit.id`,
`product.unit`.`created_at` as `product.unit.createdAt`,
`product.unit`.`updated_at` as `product.unit.updatedAt`,
`product.unit.translation.shortCode`,
COALESCE(
`product.unit.translation.shortCode`,
`product.unit.translation.shortCode`
) as `product.unit.shortCode`,
`product.unit.translation.name`,
COALESCE(
`product.unit.translation.name`,
`product.unit.translation.name`
) as `product.unit.name`,
`product.unit.translation.customFields`,
COALESCE(
`product.unit.translation.customFields`,
`product.unit.translation.customFields`
) as `product.unit.customFields`,
`product.unit.translation.createdAt`,
`product.unit.translation.updatedAt`,
`product.unit.translation.unitId`,
`product.unit.translation.languageId`,
`product.deliveryTime`.`id` as `product.deliveryTime.id`,
`product.deliveryTime`.`min` as `product.deliveryTime.min`,
`product.deliveryTime`.`max` as `product.deliveryTime.max`,
`product.deliveryTime`.`unit` as `product.deliveryTime.unit`,
`product.deliveryTime`.`created_at` as `product.deliveryTime.createdAt`,
`product.deliveryTime`.`updated_at` as `product.deliveryTime.updatedAt`,
`product.deliveryTime.translation.name`,
COALESCE(
`product.deliveryTime.translation.name`,
`product.deliveryTime.translation.name`
) as `product.deliveryTime.name`,
`product.deliveryTime.translation.customFields`,
COALESCE(
`product.deliveryTime.translation.customFields`,
`product.deliveryTime.translation.customFields`
) as `product.deliveryTime.customFields`,
`product.deliveryTime.translation.createdAt`,
`product.deliveryTime.translation.updatedAt`,
`product.deliveryTime.translation.deliveryTimeId`,
`product.deliveryTime.translation.languageId`,
`product.cover`.`id` as `product.cover.id`,
`product.cover`.`version_id` as `product.cover.versionId`,
`product.cover`.`product_id` as `product.cover.productId`,
`product.cover`.`product_version_id` as `product.cover.productVersionId`,
`product.cover`.`media_id` as `product.cover.mediaId`,
`product.cover`.`position` as `product.cover.position`,
`product.cover.media`.`id` as `product.cover.media.id`,
`product.cover.media`.`user_id` as `product.cover.media.userId`,
`product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`,
`product.cover.media`.`mime_type` as `product.cover.media.mimeType`,
`product.cover.media`.`file_extension` as `product.cover.media.fileExtension`,
`product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`,
`product.cover.media`.`file_name` as `product.cover.media.fileName`,
`product.cover.media`.`file_size` as `product.cover.media.fileSize`,
`product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`,
`product.cover.media`.`meta_data` as `product.cover.media.metaData`,
`product.cover.media`.`private` as `product.cover.media.private`,
`product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`,
`product.cover.media`.`created_at` as `product.cover.media.createdAt`,
`product.cover.media`.`updated_at` as `product.cover.media.updatedAt`,
`product.cover.media.translation.title`,
COALESCE(
`product.cover.media.translation.title`,
`product.cover.media.translation.title`
) as `product.cover.media.title`,
`product.cover.media.translation.alt`,
COALESCE(
`product.cover.media.translation.alt`,
`product.cover.media.translation.alt`
) as `product.cover.media.alt`,
`product.cover.media.translation.customFields`,
COALESCE(
`product.cover.media.translation.customFields`,
`product.cover.media.translation.customFields`
) as `product.cover.media.customFields`,
`product.cover.media.translation.createdAt`,
`product.cover.media.translation.updatedAt`,
`product.cover.media.translation.mediaId`,
`product.cover.media.translation.languageId`,
`product.cover`.`custom_fields` as `product.cover.customFields`,
`product.cover`.`created_at` as `product.cover.createdAt`,
`product.cover`.`updated_at` as `product.cover.updatedAt`,
`product.translation.metaDescription`,
`product.parent.translation.metaDescription`,
COALESCE(
`product.translation.metaDescription`,
`product.parent.translation.metaDescription`,
`product.translation.metaDescription`
) as `product.metaDescription`,
`product.translation.name`,
`product.parent.translation.name`,
COALESCE(
`product.translation.name`, `product.parent.translation.name`,
`product.translation.name`
) as `product.name`,
`product.translation.keywords`,
`product.parent.translation.keywords`,
COALESCE(
`product.translation.keywords`,
`product.parent.translation.keywords`,
`product.translation.keywords`
) as `product.keywords`,
`product.translation.description`,
`product.parent.translation.description`,
COALESCE(
`product.translation.description`,
`product.parent.translation.description`,
`product.translation.description`
) as `product.description`,
`product.translation.metaTitle`,
`product.parent.translation.metaTitle`,
COALESCE(
`product.translation.metaTitle`,
`product.parent.translation.metaTitle`,
`product.translation.metaTitle`
) as `product.metaTitle`,
`product.translation.packUnit`,
`product.parent.translation.packUnit`,
COALESCE(
`product.translation.packUnit`,
`product.parent.translation.packUnit`,
`product.translation.packUnit`
) as `product.packUnit`,
`product.translation.packUnitPlural`,
`product.parent.translation.packUnitPlural`,
COALESCE(
`product.translation.packUnitPlural`,
`product.parent.translation.packUnitPlural`,
`product.translation.packUnitPlural`
) as `product.packUnitPlural`,
`product.translation.customSearchKeywords`,
`product.parent.translation.customSearchKeywords`,
COALESCE(
`product.translation.customSearchKeywords`,
`product.parent.translation.customSearchKeywords`,
`product.translation.customSearchKeywords`
) as `product.customSearchKeywords`,
`product.translation.slotConfig`,
`product.parent.translation.slotConfig`,
COALESCE(
`product.translation.slotConfig`,
`product.parent.translation.slotConfig`,
`product.translation.slotConfig`
) as `product.slotConfig`,
`product.translation.customFields`,
`product.parent.translation.customFields`,
COALESCE(
`product.translation.customFields`,
`product.parent.translation.customFields`,
`product.translation.customFields`
) as `product.customFields`,
`product.translation.createdAt`,
`product.parent.translation.createdAt`,
`product.translation.updatedAt`,
`product.parent.translation.updatedAt`,
`product.translation.productId`,
`product.parent.translation.productId`,
`product.translation.languageId`,
`product.parent.translation.languageId`,
`product.translation.productVersionId`,
`product.parent.translation.productVersionId`
FROM
`product`
LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id`
AND `product`.`version_id` = `product.parent`.`version_id`
LEFT JOIN (
SELECT
`product.translation`.product_id,
`product.translation`.product_version_id,
`product.translation`.meta_description as `product.translation.metaDescription`,
`product.translation`.name as `product.translation.name`,
`product.translation`.keywords as `product.translation.keywords`,
`product.translation`.description as `product.translation.description`,
`product.translation`.meta_title as `product.translation.metaTitle`,
`product.translation`.pack_unit as `product.translation.packUnit`,
`product.translation`.pack_unit_plural as `product.translation.packUnitPlural`,
`product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`,
`product.translation`.slot_config as `product.translation.slotConfig`,
`product.translation`.custom_fields as `product.translation.customFields`,
`product.translation`.created_at as `product.translation.createdAt`,
`product.translation`.updated_at as `product.translation.updatedAt`,
`product.translation`.product_id as `product.translation.productId`,
`product.translation`.language_id as `product.translation.languageId`,
`product.translation`.product_version_id as `product.translation.productVersionId`
FROM
`product_translation` `product.translation`
WHERE
`product.translation`.language_id = : languageId
) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id`
AND `product.product_translation`.product_version_id = `product`.version_id
LEFT JOIN (
SELECT
`product.parent.translation`.product_id,
`product.parent.translation`.product_version_id,
`product.parent.translation`.meta_description as `product.parent.translation.metaDescription`,
`product.parent.translation`.name as `product.parent.translation.name`,
`product.parent.translation`.keywords as `product.parent.translation.keywords`,
`product.parent.translation`.description as `product.parent.translation.description`,
`product.parent.translation`.meta_title as `product.parent.translation.metaTitle`,
`product.parent.translation`.pack_unit as `product.parent.translation.packUnit`,
`product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`,
`product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`,
`product.parent.translation`.slot_config as `product.parent.translation.slotConfig`,
`product.parent.translation`.custom_fields as `product.parent.translation.customFields`,
`product.parent.translation`.created_at as `product.parent.translation.createdAt`,
`product.parent.translation`.updated_at as `product.parent.translation.updatedAt`,
`product.parent.translation`.product_id as `product.parent.translation.productId`,
`product.parent.translation`.language_id as `product.parent.translation.languageId`,
`product.parent.translation`.product_version_id as `product.parent.translation.productVersionId`
FROM
`product_translation` `product.parent.translation`
WHERE
`product.parent.translation`.language_id = : languageId
) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id`
AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id
LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id`
LEFT JOIN `unit` `product.unit` ON `product`.`unit` = `product.unit`.`id`
LEFT JOIN `delivery_time` `product.deliveryTime` ON `product`.`deliveryTime` = `product.deliveryTime`.`id`
LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id`
AND `product`.`version_id` = `product.cover`.`version_id`
LEFT JOIN (
SELECT
`product.unit.translation`.unit_id,
`product.unit.translation`.short_code as `product.unit.translation.shortCode`,
`product.unit.translation`.name as `product.unit.translation.name`,
`product.unit.translation`.custom_fields as `product.unit.translation.customFields`,
`product.unit.translation`.created_at as `product.unit.translation.createdAt`,
`product.unit.translation`.updated_at as `product.unit.translation.updatedAt`,
`product.unit.translation`.unit_id as `product.unit.translation.unitId`,
`product.unit.translation`.language_id as `product.unit.translation.languageId`
FROM
`unit_translation` `product.unit.translation`
WHERE
`product.unit.translation`.language_id = : languageId
) `product.unit.unit_translation` ON `product.unit.unit_translation`.`unit_id` = `product.unit`.`id`
LEFT JOIN (
SELECT
`product.deliveryTime.translation`.delivery_time_id,
`product.deliveryTime.translation`.name as `product.deliveryTime.translation.name`,
`product.deliveryTime.translation`.custom_fields as `product.deliveryTime.translation.customFields`,
`product.deliveryTime.translation`.created_at as `product.deliveryTime.translation.createdAt`,
`product.deliveryTime.translation`.updated_at as `product.deliveryTime.translation.updatedAt`,
`product.deliveryTime.translation`.delivery_time_id as `product.deliveryTime.translation.deliveryTimeId`,
`product.deliveryTime.translation`.language_id as `product.deliveryTime.translation.languageId`
FROM
`delivery_time_translation` `product.deliveryTime.translation`
WHERE
`product.deliveryTime.translation`.language_id = : languageId
) `product.deliveryTime.delivery_time_translation` ON `product.deliveryTime.delivery_time_translation`.`delivery_time_id` = `product.deliveryTime`.`id`
LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id`
LEFT JOIN (
SELECT
`product.cover.media.translation`.media_id,
`product.cover.media.translation`.title as `product.cover.media.translation.title`,
`product.cover.media.translation`.alt as `product.cover.media.translation.alt`,
`product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`,
`product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`,
`product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`,
`product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`,
`product.cover.media.translation`.language_id as `product.cover.media.translation.languageId`
FROM
`media_translation` `product.cover.media.translation`
WHERE
`product.cover.media.translation`.language_id = : languageId
) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id`
WHERE
(
`product`.`version_id` = : version
)
AND (
`product`.`id` IN (: ids)
)
SELECT `product`.`id` as `product.id`, `product`.`version_id` as `product.versionId`, `product`.`parent_id` as `product.parentId`, `product`.`parent_version_id` as `product.parentVersionId`, COALESCE(`product`.`product_manufacturer_id`, `product.parent`.`product_manufacturer_id`) as `product.manufacturerId`, COALESCE(`product`.`product_manufacturer_version_id`, `product.parent`.`product_manufacturer_version_id`) as `product.productManufacturerVersionId`, COALESCE(`product`.`unit_id`, `product.parent`.`unit_id`) as `product.unitId`, COALESCE(`product`.`tax_id`, `product.parent`.`tax_id`) as `product.taxId`, COALESCE(`product`.`product_media_id`, `product.parent`.`product_media_id`) as `product.coverId`, COALESCE(`product`.`product_media_version_id`, `product.parent`.`product_media_version_id`) as `product.productMediaVersionId`, COALESCE(`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`) as `product.deliveryTimeId`, COALESCE(`product`.`product_feature_set_id`, `product.parent`.`product_feature_set_id`) as `product.featureSetId`, COALESCE(`product`.`canonical_product_id`, `product.parent`.`canonical_product_id`) as `product.canonicalProductId`, COALESCE(`product`.`cms_page_id`, `product.parent`.`cms_page_id`) as `product.cmsPageId`, COALESCE(`product`.`cms_page_version_id`, `product.parent`.`cms_page_version_id`) as `product.cmsPageVersionId`, `product.parent`.`price` as `product.price.inherited`, COALESCE(`product`.`price`, `product.parent`.`price`) as `product.price`, `product`.`product_number` as `product.productNumber`, `product`.`stock` as `product.stock`, COALESCE(`product`.`restock_time`, `product.parent`.`restock_time`) as `product.restockTime`, `product`.`auto_increment` as `product.autoIncrement`, COALESCE(`product`.`active`, `product.parent`.`active`) as `product.active`, `product`.`available_stock` as `product.availableStock`, `product`.`available` as `product.available`, COALESCE(`product`.`is_closeout`, `product.parent`.`is_closeout`) as `product.isCloseout`, `product`.`display_group` as `product.displayGroup`, `product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`, COALESCE(`product`.`configurator_group_config`, `product.parent`.`configurator_group_config`) as `product.configuratorGroupConfig`, COALESCE(`product`.`main_variant_id`, `product.parent`.`main_variant_id`) as `product.mainVariantId`, COALESCE(`product`.`display_parent`, `product.parent`.`display_parent`) as `product.displayParent`, `product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`, COALESCE(`product`.`variant_listing_config`, `product.parent`.`variant_listing_config`) as `product.variantListingConfig`, `product`.`variant_restrictions` as `product.variantRestrictions`, COALESCE(`product`.`manufacturer_number`, `product.parent`.`manufacturer_number`) as `product.manufacturerNumber`, COALESCE(`product`.`ean`, `product.parent`.`ean`) as `product.ean`, COALESCE(`product`.`purchase_steps`, `product.parent`.`purchase_steps`) as `product.purchaseSteps`, COALESCE(`product`.`max_purchase`, `product.parent`.`max_purchase`) as `product.maxPurchase`, COALESCE(`product`.`min_purchase`, `product.parent`.`min_purchase`) as `product.minPurchase`, COALESCE(`product`.`purchase_unit`, `product.parent`.`purchase_unit`) as `product.purchaseUnit`, COALESCE(`product`.`reference_unit`, `product.parent`.`reference_unit`) as `product.referenceUnit`, COALESCE(`product`.`shipping_free`, `product.parent`.`shipping_free`) as `product.shippingFree`, `product.parent`.`purchase_prices` as `product.purchasePrices.inherited`, COALESCE(`product`.`purchase_prices`, `product.parent`.`purchase_prices`) as `product.purchasePrices`, COALESCE(`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`) as `product.markAsTopseller`, COALESCE(`product`.`weight`, `product.parent`.`weight`) as `product.weight`, COALESCE(`product`.`width`, `product.parent`.`width`) as `product.width`, COALESCE(`product`.`height`, `product.parent`.`height`) as `product.height`, COALESCE(`product`.`length`, `product.parent`.`length`) as `product.length`, COALESCE(`product`.`release_date`, `product.parent`.`release_date`) as `product.releaseDate`, COALESCE(`product`.`rating_average`, `product.parent`.`rating_average`) as `product.ratingAverage`, `product.parent`.`category_tree` as `product.categoryTree.inherited`, COALESCE(`product`.`category_tree`, `product.parent`.`category_tree`) as `product.categoryTree`, `product.parent`.`property_ids` as `product.propertyIds.inherited`, COALESCE(`product`.`property_ids`, `product.parent`.`property_ids`) as `product.propertyIds`, `product.parent`.`option_ids` as `product.optionIds.inherited`, COALESCE(`product`.`option_ids`, `product.parent`.`option_ids`) as `product.optionIds`, `product.parent`.`stream_ids` as `product.streamIds.inherited`, COALESCE(`product`.`stream_ids`, `product.parent`.`stream_ids`) as `product.streamIds`, `product.parent`.`tag_ids` as `product.tagIds.inherited`, COALESCE(`product`.`tag_ids`, `product.parent`.`tag_ids`) as `product.tagIds`, `product.parent`.`category_ids` as `product.categoryIds.inherited`, COALESCE(`product`.`category_ids`, `product.parent`.`category_ids`) as `product.categoryIds`, `product`.`child_count` as `product.childCount`, COALESCE(`product`.`custom_field_set_selection_active`, `product.parent`.`custom_field_set_selection_active`) as `product.customFieldSetSelectionActive`, `product`.`sales` as `product.sales`, `product`.`states` as `product.states`, `product.tax`.`id` as `product.tax.id`, `product.tax`.`tax_rate` as `product.tax.taxRate`, `product.tax`.`name` as `product.tax.name`, `product.tax`.`position` as `product.tax.position`, `product.tax`.`custom_fields` as `product.tax.customFields`, `product.tax`.`created_at` as `product.tax.createdAt`, `product.tax`.`updated_at` as `product.tax.updatedAt`, `product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`, COALESCE(`product`.`cheapest_price`, `product.parent`.`cheapest_price`) as `product.cheapestPrice`, `product`.`created_at` as `product.createdAt`, `product`.`updated_at` as `product.updatedAt`, `product.unit`.`id` as `product.unit.id`, `product.unit`.`created_at` as `product.unit.createdAt`, `product.unit`.`updated_at` as `product.unit.updatedAt`, `product.unit.translation.shortCode`, COALESCE(`product.unit.translation.shortCode`,`product.unit.translation.shortCode`) as `product.unit.shortCode`, `product.unit.translation.name`, COALESCE(`product.unit.translation.name`,`product.unit.translation.name`) as `product.unit.name`, `product.unit.translation.customFields`, COALESCE(`product.unit.translation.customFields`,`product.unit.translation.customFields`) as `product.unit.customFields`, `product.unit.translation.createdAt`, `product.unit.translation.updatedAt`, `product.unit.translation.unitId`, `product.unit.translation.languageId`, `product.deliveryTime`.`id` as `product.deliveryTime.id`, `product.deliveryTime`.`min` as `product.deliveryTime.min`, `product.deliveryTime`.`max` as `product.deliveryTime.max`, `product.deliveryTime`.`unit` as `product.deliveryTime.unit`, `product.deliveryTime`.`created_at` as `product.deliveryTime.createdAt`, `product.deliveryTime`.`updated_at` as `product.deliveryTime.updatedAt`, `product.deliveryTime.translation.name`, COALESCE(`product.deliveryTime.translation.name`,`product.deliveryTime.translation.name`) as `product.deliveryTime.name`, `product.deliveryTime.translation.customFields`, COALESCE(`product.deliveryTime.translation.customFields`,`product.deliveryTime.translation.customFields`) as `product.deliveryTime.customFields`, `product.deliveryTime.translation.createdAt`, `product.deliveryTime.translation.updatedAt`, `product.deliveryTime.translation.deliveryTimeId`, `product.deliveryTime.translation.languageId`, `product.cover`.`id` as `product.cover.id`, `product.cover`.`version_id` as `product.cover.versionId`, `product.cover`.`product_id` as `product.cover.productId`, `product.cover`.`product_version_id` as `product.cover.productVersionId`, `product.cover`.`media_id` as `product.cover.mediaId`, `product.cover`.`position` as `product.cover.position`, `product.cover.media`.`id` as `product.cover.media.id`, `product.cover.media`.`user_id` as `product.cover.media.userId`, `product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`, `product.cover.media`.`mime_type` as `product.cover.media.mimeType`, `product.cover.media`.`file_extension` as `product.cover.media.fileExtension`, `product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`, `product.cover.media`.`file_name` as `product.cover.media.fileName`, `product.cover.media`.`file_size` as `product.cover.media.fileSize`, `product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`, `product.cover.media`.`meta_data` as `product.cover.media.metaData`, `product.cover.media`.`private` as `product.cover.media.private`, `product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`, `product.cover.media`.`created_at` as `product.cover.media.createdAt`, `product.cover.media`.`updated_at` as `product.cover.media.updatedAt`, `product.cover.media.translation.title`, COALESCE(`product.cover.media.translation.title`,`product.cover.media.translation.title`) as `product.cover.media.title`, `product.cover.media.translation.alt`, COALESCE(`product.cover.media.translation.alt`,`product.cover.media.translation.alt`) as `product.cover.media.alt`, `product.cover.media.translation.customFields`, COALESCE(`product.cover.media.translation.customFields`,`product.cover.media.translation.customFields`) as `product.cover.media.customFields`, `product.cover.media.translation.createdAt`, `product.cover.media.translation.updatedAt`, `product.cover.media.translation.mediaId`, `product.cover.media.translation.languageId`, `product.cover`.`custom_fields` as `product.cover.customFields`, `product.cover`.`created_at` as `product.cover.createdAt`, `product.cover`.`updated_at` as `product.cover.updatedAt`, `product.translation.metaDescription`, `product.parent.translation.metaDescription`, COALESCE(`product.translation.metaDescription`,`product.parent.translation.metaDescription`,`product.translation.metaDescription`) as `product.metaDescription`, `product.translation.name`, `product.parent.translation.name`, COALESCE(`product.translation.name`,`product.parent.translation.name`,`product.translation.name`) as `product.name`, `product.translation.keywords`, `product.parent.translation.keywords`, COALESCE(`product.translation.keywords`,`product.parent.translation.keywords`,`product.translation.keywords`) as `product.keywords`, `product.translation.description`, `product.parent.translation.description`, COALESCE(`product.translation.description`,`product.parent.translation.description`,`product.translation.description`) as `product.description`, `product.translation.metaTitle`, `product.parent.translation.metaTitle`, COALESCE(`product.translation.metaTitle`,`product.parent.translation.metaTitle`,`product.translation.metaTitle`) as `product.metaTitle`, `product.translation.packUnit`, `product.parent.translation.packUnit`, COALESCE(`product.translation.packUnit`,`product.parent.translation.packUnit`,`product.translation.packUnit`) as `product.packUnit`, `product.translation.packUnitPlural`, `product.parent.translation.packUnitPlural`, COALESCE(`product.translation.packUnitPlural`,`product.parent.translation.packUnitPlural`,`product.translation.packUnitPlural`) as `product.packUnitPlural`, `product.translation.customSearchKeywords`, `product.parent.translation.customSearchKeywords`, COALESCE(`product.translation.customSearchKeywords`,`product.parent.translation.customSearchKeywords`,`product.translation.customSearchKeywords`) as `product.customSearchKeywords`, `product.translation.slotConfig`, `product.parent.translation.slotConfig`, COALESCE(`product.translation.slotConfig`,`product.parent.translation.slotConfig`,`product.translation.slotConfig`) as `product.slotConfig`, `product.translation.customFields`, `product.parent.translation.customFields`, COALESCE(`product.translation.customFields`,`product.parent.translation.customFields`,`product.translation.customFields`) as `product.customFields`, `product.translation.createdAt`, `product.parent.translation.createdAt`, `product.translation.updatedAt`, `product.parent.translation.updatedAt`, `product.translation.productId`, `product.parent.translation.productId`, `product.translation.languageId`, `product.parent.translation.languageId`, `product.translation.productVersionId`, `product.parent.translation.productVersionId` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN (SELECT `product.translation`.product_id, `product.translation`.product_version_id, `product.translation`.meta_description as `product.translation.metaDescription`, `product.translation`.name as `product.translation.name`, `product.translation`.keywords as `product.translation.keywords`, `product.translation`.description as `product.translation.description`, `product.translation`.meta_title as `product.translation.metaTitle`, `product.translation`.pack_unit as `product.translation.packUnit`, `product.translation`.pack_unit_plural as `product.translation.packUnitPlural`, `product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`, `product.translation`.slot_config as `product.translation.slotConfig`, `product.translation`.custom_fields as `product.translation.customFields`, `product.translation`.created_at as `product.translation.createdAt`, `product.translation`.updated_at as `product.translation.updatedAt`, `product.translation`.product_id as `product.translation.productId`, `product.translation`.language_id as `product.translation.languageId`, `product.translation`.product_version_id as `product.translation.productVersionId` FROM `product_translation` `product.translation` WHERE `product.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id` AND `product.product_translation`.product_version_id = `product`.version_id LEFT JOIN (SELECT `product.parent.translation`.product_id, `product.parent.translation`.product_version_id, `product.parent.translation`.meta_description as `product.parent.translation.metaDescription`, `product.parent.translation`.name as `product.parent.translation.name`, `product.parent.translation`.keywords as `product.parent.translation.keywords`, `product.parent.translation`.description as `product.parent.translation.description`, `product.parent.translation`.meta_title as `product.parent.translation.metaTitle`, `product.parent.translation`.pack_unit as `product.parent.translation.packUnit`, `product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`, `product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`, `product.parent.translation`.slot_config as `product.parent.translation.slotConfig`, `product.parent.translation`.custom_fields as `product.parent.translation.customFields`, `product.parent.translation`.created_at as `product.parent.translation.createdAt`, `product.parent.translation`.updated_at as `product.parent.translation.updatedAt`, `product.parent.translation`.product_id as `product.parent.translation.productId`, `product.parent.translation`.language_id as `product.parent.translation.languageId`, `product.parent.translation`.product_version_id as `product.parent.translation.productVersionId` FROM `product_translation` `product.parent.translation` WHERE `product.parent.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id` AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id` LEFT JOIN `unit` `product.unit` ON `product`.`unit` = `product.unit`.`id` LEFT JOIN `delivery_time` `product.deliveryTime` ON `product`.`deliveryTime` = `product.deliveryTime`.`id` LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id` AND `product`.`version_id` = `product.cover`.`version_id` LEFT JOIN (SELECT `product.unit.translation`.unit_id, `product.unit.translation`.short_code as `product.unit.translation.shortCode`, `product.unit.translation`.name as `product.unit.translation.name`, `product.unit.translation`.custom_fields as `product.unit.translation.customFields`, `product.unit.translation`.created_at as `product.unit.translation.createdAt`, `product.unit.translation`.updated_at as `product.unit.translation.updatedAt`, `product.unit.translation`.unit_id as `product.unit.translation.unitId`, `product.unit.translation`.language_id as `product.unit.translation.languageId` FROM `unit_translation` `product.unit.translation` WHERE `product.unit.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.unit.unit_translation` ON `product.unit.unit_translation`.`unit_id` = `product.unit`.`id` LEFT JOIN (SELECT `product.deliveryTime.translation`.delivery_time_id, `product.deliveryTime.translation`.name as `product.deliveryTime.translation.name`, `product.deliveryTime.translation`.custom_fields as `product.deliveryTime.translation.customFields`, `product.deliveryTime.translation`.created_at as `product.deliveryTime.translation.createdAt`, `product.deliveryTime.translation`.updated_at as `product.deliveryTime.translation.updatedAt`, `product.deliveryTime.translation`.delivery_time_id as `product.deliveryTime.translation.deliveryTimeId`, `product.deliveryTime.translation`.language_id as `product.deliveryTime.translation.languageId` FROM `delivery_time_translation` `product.deliveryTime.translation` WHERE `product.deliveryTime.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.deliveryTime.delivery_time_translation` ON `product.deliveryTime.delivery_time_translation`.`delivery_time_id` = `product.deliveryTime`.`id` LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id` LEFT JOIN (SELECT `product.cover.media.translation`.media_id, `product.cover.media.translation`.title as `product.cover.media.translation.title`, `product.cover.media.translation`.alt as `product.cover.media.translation.alt`, `product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`, `product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`, `product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`, `product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`, `product.cover.media.translation`.language_id as `product.cover.media.translation.languageId` FROM `media_translation` `product.cover.media.translation` WHERE `product.cover.media.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id` WHERE (`product`.`version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425) AND (`product`.`id` IN (0xB8DF780CBB824ABCB4FBD443778DEADE));
array:37 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 242)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 316)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetch (line 148)"
4 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 93)"
5 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::read (line 195)"
6 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::read (line 133)"
7 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 36)"
8 => "Swag\PayPal\Util\Compatibility\SalesChannelRepositoryDecorator::search (line 207)"
9 => "Tds\MerwareDiscounts\Cart\Checkout\OverwrittenPriceCollector::getSalesChannelProduct (line 93)"
10 => "Tds\MerwareDiscounts\Cart\Checkout\OverwrittenPriceCollector::collect (line 103)"
11 => "Shopware\Core\Checkout\Cart\Processor::runProcessors (line 67)"
12 => "Shopware\Core\Checkout\Cart\Processor::Shopware\Core\Checkout\Cart\{closure} (line 59)"
13 => "Shopware\Core\Profiling\Profiler::trace (line 86)"
14 => "Shopware\Core\Checkout\Cart\Processor::process (line 132)"
15 => "Shopware\Core\Checkout\Cart\CartRuleLoader::Shopware\Core\Checkout\Cart\{closure} (line 59)"
16 => "Shopware\Core\Profiling\Profiler::trace (line 183)"
17 => "Shopware\Core\Checkout\Cart\CartRuleLoader::load (line 83)"
18 => "Shopware\Core\Checkout\Cart\CartRuleLoader::loadByToken (line 106)"
19 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::Shopware\Core\System\SalesChannel\Context\{closure} (line 59)"
20 => "Shopware\Core\Profiling\Profiler::trace (line 111)"
21 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::get (line 105)"
22 => "Shopware\Core\Framework\Routing\SalesChannelRequestContextResolver::resolve (line 38)"
23 => "Shopware\Core\Framework\Routing\ContextResolverListener::resolveContext (line 118)"
24 => "Symfony\Component\EventDispatcher\Debug\WrappedListener::__invoke (line 230)"
25 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
26 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
27 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
28 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
29 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
30 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
31 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 151)"
32 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
33 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
34 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
35 => "Shopware\Core\HttpKernel::doHandle (line 81)"
36 => "Shopware\Core\HttpKernel::handle (line 85)"
]
|
51 |
0.63 ms |
SELECT `product_price`.`id` as `product_price.id`, `product_price`.`version_id` as `product_price.versionId`, `product_price`.`product_id` as `product_price.productId`, `product_price`.`product_version_id` as `product_price.productVersionId`, `product_price`.`rule_id` as `product_price.ruleId`, `product_price`.`price` as `product_price.price`, `product_price`.`quantity_start` as `product_price.quantityStart`, `product_price`.`quantity_end` as `product_price.quantityEnd`, `product_price`.`custom_fields` as `product_price.customFields`, `product_price`.`created_at` as `product_price.createdAt`, `product_price`.`updated_at` as `product_price.updatedAt` FROM `product_price` WHERE (`product_price`.`version_id` = :version) AND ((`product_price`.`product_id` IN (:param_5151c060bcef4c7daadae5e57dcaf934)))
SELECT `product_price`.`id` as `product_price.id`, `product_price`.`version_id` as `product_price.versionId`, `product_price`.`product_id` as `product_price.productId`, `product_price`.`product_version_id` as `product_price.productVersionId`, `product_price`.`rule_id` as `product_price.ruleId`, `product_price`.`price` as `product_price.price`, `product_price`.`quantity_start` as `product_price.quantityStart`, `product_price`.`quantity_end` as `product_price.quantityEnd`, `product_price`.`custom_fields` as `product_price.customFields`, `product_price`.`created_at` as `product_price.createdAt`, `product_price`.`updated_at` as `product_price.updatedAt` FROM `product_price` WHERE (`product_price`.`version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425) AND ((`product_price`.`product_id` IN (0xB8DF780CBB824ABCB4FBD443778DEADE, 0xABB6575B87F64A09847D9505F091411D)));
array:41 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 242)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 316)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetch (line 148)"
4 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 503)"
5 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::loadOneToManyWithoutPagination (line 438)"
6 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::loadOneToMany (line 1210)"
7 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetchAssociations (line 152)"
8 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 93)"
9 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::read (line 195)"
10 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::read (line 133)"
11 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 36)"
12 => "Swag\PayPal\Util\Compatibility\SalesChannelRepositoryDecorator::search (line 207)"
13 => "Tds\MerwareDiscounts\Cart\Checkout\OverwrittenPriceCollector::getSalesChannelProduct (line 93)"
14 => "Tds\MerwareDiscounts\Cart\Checkout\OverwrittenPriceCollector::collect (line 103)"
15 => "Shopware\Core\Checkout\Cart\Processor::runProcessors (line 67)"
16 => "Shopware\Core\Checkout\Cart\Processor::Shopware\Core\Checkout\Cart\{closure} (line 59)"
17 => "Shopware\Core\Profiling\Profiler::trace (line 86)"
18 => "Shopware\Core\Checkout\Cart\Processor::process (line 132)"
19 => "Shopware\Core\Checkout\Cart\CartRuleLoader::Shopware\Core\Checkout\Cart\{closure} (line 59)"
20 => "Shopware\Core\Profiling\Profiler::trace (line 183)"
21 => "Shopware\Core\Checkout\Cart\CartRuleLoader::load (line 83)"
22 => "Shopware\Core\Checkout\Cart\CartRuleLoader::loadByToken (line 106)"
23 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::Shopware\Core\System\SalesChannel\Context\{closure} (line 59)"
24 => "Shopware\Core\Profiling\Profiler::trace (line 111)"
25 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::get (line 105)"
26 => "Shopware\Core\Framework\Routing\SalesChannelRequestContextResolver::resolve (line 38)"
27 => "Shopware\Core\Framework\Routing\ContextResolverListener::resolveContext (line 118)"
28 => "Symfony\Component\EventDispatcher\Debug\WrappedListener::__invoke (line 230)"
29 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
30 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
31 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
32 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
33 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
34 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
35 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 151)"
36 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
37 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
38 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
39 => "Shopware\Core\HttpKernel::doHandle (line 81)"
40 => "Shopware\Core\HttpKernel::handle (line 85)"
]
|
52 |
0.35 ms |
SELECT `product`.`id`, `product`.`product_number`, `product`.`auto_increment` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN `product_visibility` `product.visibilities` ON `product`.`visibilities` = `product.visibilities`.`product_id` AND `product`.version_id = `product.visibilities`.product_version_id WHERE (`product`.`version_id` = :version) AND ((((`product.visibilities`.`visibility` >= :param_d79ace1c52fb45b3b566b7e3a9ccf4f0) AND `product.visibilities`.`sales_channel_id` = :param_4bc40dbfed374784aa21d761ccaa3db3 AND IFNULL(`product`.`active`, `product.parent`.`active`) = :param_bc276ab458624b9e9ead88b0435b05cb))) AND (`product`.`id` IN (:ids)) GROUP BY `product`.`id`
SELECT `product`.`id`, `product`.`product_number`, `product`.`auto_increment` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN `product_visibility` `product.visibilities` ON `product`.`visibilities` = `product.visibilities`.`product_id` AND `product`.version_id = `product.visibilities`.product_version_id WHERE (`product`.`version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425) AND ((((`product.visibilities`.`visibility` >= 10) AND `product.visibilities`.`sales_channel_id` = 0x4EB9108BE4654CC9B140D14DE85579E9 AND IFNULL(`product`.`active`, `product.parent`.`active`) = 1))) AND (`product`.`id` IN (0x10172BF11A374B46B879CB5B7D409191)) GROUP BY `product`.`id`;
array:36 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 242)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 107)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntitySearcher::search (line 62)"
4 => "Shopware\Elasticsearch\Framework\DataAbstractionLayer\ElasticsearchEntitySearcher::search (line 216)"
5 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::doSearch (line 122)"
6 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 36)"
7 => "Swag\PayPal\Util\Compatibility\SalesChannelRepositoryDecorator::search (line 207)"
8 => "Tds\MerwareDiscounts\Cart\Checkout\OverwrittenPriceCollector::getSalesChannelProduct (line 93)"
9 => "Tds\MerwareDiscounts\Cart\Checkout\OverwrittenPriceCollector::collect (line 103)"
10 => "Shopware\Core\Checkout\Cart\Processor::runProcessors (line 67)"
11 => "Shopware\Core\Checkout\Cart\Processor::Shopware\Core\Checkout\Cart\{closure} (line 59)"
12 => "Shopware\Core\Profiling\Profiler::trace (line 86)"
13 => "Shopware\Core\Checkout\Cart\Processor::process (line 132)"
14 => "Shopware\Core\Checkout\Cart\CartRuleLoader::Shopware\Core\Checkout\Cart\{closure} (line 59)"
15 => "Shopware\Core\Profiling\Profiler::trace (line 183)"
16 => "Shopware\Core\Checkout\Cart\CartRuleLoader::load (line 83)"
17 => "Shopware\Core\Checkout\Cart\CartRuleLoader::loadByToken (line 106)"
18 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::Shopware\Core\System\SalesChannel\Context\{closure} (line 59)"
19 => "Shopware\Core\Profiling\Profiler::trace (line 111)"
20 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::get (line 105)"
21 => "Shopware\Core\Framework\Routing\SalesChannelRequestContextResolver::resolve (line 38)"
22 => "Shopware\Core\Framework\Routing\ContextResolverListener::resolveContext (line 118)"
23 => "Symfony\Component\EventDispatcher\Debug\WrappedListener::__invoke (line 230)"
24 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
25 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
26 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
27 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
28 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
29 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
30 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 151)"
31 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
32 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
33 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
34 => "Shopware\Core\HttpKernel::doHandle (line 81)"
35 => "Shopware\Core\HttpKernel::handle (line 85)"
]
|
53 |
12.65 ms |
SELECT `product`.`id` as `product.id`, `product`.`version_id` as `product.versionId`, `product`.`parent_id` as `product.parentId`, `product`.`parent_version_id` as `product.parentVersionId`, COALESCE(`product`.`product_manufacturer_id`, `product.parent`.`product_manufacturer_id`) as `product.manufacturerId`, COALESCE(`product`.`product_manufacturer_version_id`, `product.parent`.`product_manufacturer_version_id`) as `product.productManufacturerVersionId`, COALESCE(`product`.`unit_id`, `product.parent`.`unit_id`) as `product.unitId`, COALESCE(`product`.`tax_id`, `product.parent`.`tax_id`) as `product.taxId`, COALESCE(`product`.`product_media_id`, `product.parent`.`product_media_id`) as `product.coverId`, COALESCE(`product`.`product_media_version_id`, `product.parent`.`product_media_version_id`) as `product.productMediaVersionId`, COALESCE(`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`) as `product.deliveryTimeId`, COALESCE(`product`.`product_feature_set_id`, `product.parent`.`product_feature_set_id`) as `product.featureSetId`, COALESCE(`product`.`canonical_product_id`, `product.parent`.`canonical_product_id`) as `product.canonicalProductId`, COALESCE(`product`.`cms_page_id`, `product.parent`.`cms_page_id`) as `product.cmsPageId`, COALESCE(`product`.`cms_page_version_id`, `product.parent`.`cms_page_version_id`) as `product.cmsPageVersionId`, `product.parent`.`price` as `product.price.inherited`, COALESCE(`product`.`price`, `product.parent`.`price`) as `product.price`, `product`.`product_number` as `product.productNumber`, `product`.`stock` as `product.stock`, COALESCE(`product`.`restock_time`, `product.parent`.`restock_time`) as `product.restockTime`, `product`.`auto_increment` as `product.autoIncrement`, COALESCE(`product`.`active`, `product.parent`.`active`) as `product.active`, `product`.`available_stock` as `product.availableStock`, `product`.`available` as `product.available`, COALESCE(`product`.`is_closeout`, `product.parent`.`is_closeout`) as `product.isCloseout`, `product`.`display_group` as `product.displayGroup`, `product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`, COALESCE(`product`.`configurator_group_config`, `product.parent`.`configurator_group_config`) as `product.configuratorGroupConfig`, COALESCE(`product`.`main_variant_id`, `product.parent`.`main_variant_id`) as `product.mainVariantId`, COALESCE(`product`.`display_parent`, `product.parent`.`display_parent`) as `product.displayParent`, `product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`, COALESCE(`product`.`variant_listing_config`, `product.parent`.`variant_listing_config`) as `product.variantListingConfig`, `product`.`variant_restrictions` as `product.variantRestrictions`, COALESCE(`product`.`manufacturer_number`, `product.parent`.`manufacturer_number`) as `product.manufacturerNumber`, COALESCE(`product`.`ean`, `product.parent`.`ean`) as `product.ean`, COALESCE(`product`.`purchase_steps`, `product.parent`.`purchase_steps`) as `product.purchaseSteps`, COALESCE(`product`.`max_purchase`, `product.parent`.`max_purchase`) as `product.maxPurchase`, COALESCE(`product`.`min_purchase`, `product.parent`.`min_purchase`) as `product.minPurchase`, COALESCE(`product`.`purchase_unit`, `product.parent`.`purchase_unit`) as `product.purchaseUnit`, COALESCE(`product`.`reference_unit`, `product.parent`.`reference_unit`) as `product.referenceUnit`, COALESCE(`product`.`shipping_free`, `product.parent`.`shipping_free`) as `product.shippingFree`, `product.parent`.`purchase_prices` as `product.purchasePrices.inherited`, COALESCE(`product`.`purchase_prices`, `product.parent`.`purchase_prices`) as `product.purchasePrices`, COALESCE(`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`) as `product.markAsTopseller`, COALESCE(`product`.`weight`, `product.parent`.`weight`) as `product.weight`, COALESCE(`product`.`width`, `product.parent`.`width`) as `product.width`, COALESCE(`product`.`height`, `product.parent`.`height`) as `product.height`, COALESCE(`product`.`length`, `product.parent`.`length`) as `product.length`, COALESCE(`product`.`release_date`, `product.parent`.`release_date`) as `product.releaseDate`, COALESCE(`product`.`rating_average`, `product.parent`.`rating_average`) as `product.ratingAverage`, `product.parent`.`category_tree` as `product.categoryTree.inherited`, COALESCE(`product`.`category_tree`, `product.parent`.`category_tree`) as `product.categoryTree`, `product.parent`.`property_ids` as `product.propertyIds.inherited`, COALESCE(`product`.`property_ids`, `product.parent`.`property_ids`) as `product.propertyIds`, `product.parent`.`option_ids` as `product.optionIds.inherited`, COALESCE(`product`.`option_ids`, `product.parent`.`option_ids`) as `product.optionIds`, `product.parent`.`stream_ids` as `product.streamIds.inherited`, COALESCE(`product`.`stream_ids`, `product.parent`.`stream_ids`) as `product.streamIds`, `product.parent`.`tag_ids` as `product.tagIds.inherited`, COALESCE(`product`.`tag_ids`, `product.parent`.`tag_ids`) as `product.tagIds`, `product.parent`.`category_ids` as `product.categoryIds.inherited`, COALESCE(`product`.`category_ids`, `product.parent`.`category_ids`) as `product.categoryIds`, `product`.`child_count` as `product.childCount`, COALESCE(`product`.`custom_field_set_selection_active`, `product.parent`.`custom_field_set_selection_active`) as `product.customFieldSetSelectionActive`, `product`.`sales` as `product.sales`, `product`.`states` as `product.states`, `product.tax`.`id` as `product.tax.id`, `product.tax`.`tax_rate` as `product.tax.taxRate`, `product.tax`.`name` as `product.tax.name`, `product.tax`.`position` as `product.tax.position`, `product.tax`.`custom_fields` as `product.tax.customFields`, `product.tax`.`created_at` as `product.tax.createdAt`, `product.tax`.`updated_at` as `product.tax.updatedAt`, `product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`, COALESCE(`product`.`cheapest_price`, `product.parent`.`cheapest_price`) as `product.cheapestPrice`, `product`.`created_at` as `product.createdAt`, `product`.`updated_at` as `product.updatedAt`, `product.unit`.`id` as `product.unit.id`, `product.unit`.`created_at` as `product.unit.createdAt`, `product.unit`.`updated_at` as `product.unit.updatedAt`, `product.unit.translation.shortCode`, COALESCE(`product.unit.translation.shortCode`,`product.unit.translation.shortCode`) as `product.unit.shortCode`, `product.unit.translation.name`, COALESCE(`product.unit.translation.name`,`product.unit.translation.name`) as `product.unit.name`, `product.unit.translation.customFields`, COALESCE(`product.unit.translation.customFields`,`product.unit.translation.customFields`) as `product.unit.customFields`, `product.unit.translation.createdAt`, `product.unit.translation.updatedAt`, `product.unit.translation.unitId`, `product.unit.translation.languageId`, `product.deliveryTime`.`id` as `product.deliveryTime.id`, `product.deliveryTime`.`min` as `product.deliveryTime.min`, `product.deliveryTime`.`max` as `product.deliveryTime.max`, `product.deliveryTime`.`unit` as `product.deliveryTime.unit`, `product.deliveryTime`.`created_at` as `product.deliveryTime.createdAt`, `product.deliveryTime`.`updated_at` as `product.deliveryTime.updatedAt`, `product.deliveryTime.translation.name`, COALESCE(`product.deliveryTime.translation.name`,`product.deliveryTime.translation.name`) as `product.deliveryTime.name`, `product.deliveryTime.translation.customFields`, COALESCE(`product.deliveryTime.translation.customFields`,`product.deliveryTime.translation.customFields`) as `product.deliveryTime.customFields`, `product.deliveryTime.translation.createdAt`, `product.deliveryTime.translation.updatedAt`, `product.deliveryTime.translation.deliveryTimeId`, `product.deliveryTime.translation.languageId`, `product.cover`.`id` as `product.cover.id`, `product.cover`.`version_id` as `product.cover.versionId`, `product.cover`.`product_id` as `product.cover.productId`, `product.cover`.`product_version_id` as `product.cover.productVersionId`, `product.cover`.`media_id` as `product.cover.mediaId`, `product.cover`.`position` as `product.cover.position`, `product.cover.media`.`id` as `product.cover.media.id`, `product.cover.media`.`user_id` as `product.cover.media.userId`, `product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`, `product.cover.media`.`mime_type` as `product.cover.media.mimeType`, `product.cover.media`.`file_extension` as `product.cover.media.fileExtension`, `product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`, `product.cover.media`.`file_name` as `product.cover.media.fileName`, `product.cover.media`.`file_size` as `product.cover.media.fileSize`, `product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`, `product.cover.media`.`meta_data` as `product.cover.media.metaData`, `product.cover.media`.`private` as `product.cover.media.private`, `product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`, `product.cover.media`.`created_at` as `product.cover.media.createdAt`, `product.cover.media`.`updated_at` as `product.cover.media.updatedAt`, `product.cover.media.translation.title`, COALESCE(`product.cover.media.translation.title`,`product.cover.media.translation.title`) as `product.cover.media.title`, `product.cover.media.translation.alt`, COALESCE(`product.cover.media.translation.alt`,`product.cover.media.translation.alt`) as `product.cover.media.alt`, `product.cover.media.translation.customFields`, COALESCE(`product.cover.media.translation.customFields`,`product.cover.media.translation.customFields`) as `product.cover.media.customFields`, `product.cover.media.translation.createdAt`, `product.cover.media.translation.updatedAt`, `product.cover.media.translation.mediaId`, `product.cover.media.translation.languageId`, `product.cover`.`custom_fields` as `product.cover.customFields`, `product.cover`.`created_at` as `product.cover.createdAt`, `product.cover`.`updated_at` as `product.cover.updatedAt`, `product.translation.metaDescription`, `product.parent.translation.metaDescription`, COALESCE(`product.translation.metaDescription`,`product.parent.translation.metaDescription`,`product.translation.metaDescription`) as `product.metaDescription`, `product.translation.name`, `product.parent.translation.name`, COALESCE(`product.translation.name`,`product.parent.translation.name`,`product.translation.name`) as `product.name`, `product.translation.keywords`, `product.parent.translation.keywords`, COALESCE(`product.translation.keywords`,`product.parent.translation.keywords`,`product.translation.keywords`) as `product.keywords`, `product.translation.description`, `product.parent.translation.description`, COALESCE(`product.translation.description`,`product.parent.translation.description`,`product.translation.description`) as `product.description`, `product.translation.metaTitle`, `product.parent.translation.metaTitle`, COALESCE(`product.translation.metaTitle`,`product.parent.translation.metaTitle`,`product.translation.metaTitle`) as `product.metaTitle`, `product.translation.packUnit`, `product.parent.translation.packUnit`, COALESCE(`product.translation.packUnit`,`product.parent.translation.packUnit`,`product.translation.packUnit`) as `product.packUnit`, `product.translation.packUnitPlural`, `product.parent.translation.packUnitPlural`, COALESCE(`product.translation.packUnitPlural`,`product.parent.translation.packUnitPlural`,`product.translation.packUnitPlural`) as `product.packUnitPlural`, `product.translation.customSearchKeywords`, `product.parent.translation.customSearchKeywords`, COALESCE(`product.translation.customSearchKeywords`,`product.parent.translation.customSearchKeywords`,`product.translation.customSearchKeywords`) as `product.customSearchKeywords`, `product.translation.slotConfig`, `product.parent.translation.slotConfig`, COALESCE(`product.translation.slotConfig`,`product.parent.translation.slotConfig`,`product.translation.slotConfig`) as `product.slotConfig`, `product.translation.customFields`, `product.parent.translation.customFields`, COALESCE(`product.translation.customFields`,`product.parent.translation.customFields`,`product.translation.customFields`) as `product.customFields`, `product.translation.createdAt`, `product.parent.translation.createdAt`, `product.translation.updatedAt`, `product.parent.translation.updatedAt`, `product.translation.productId`, `product.parent.translation.productId`, `product.translation.languageId`, `product.parent.translation.languageId`, `product.translation.productVersionId`, `product.parent.translation.productVersionId` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN (SELECT `product.translation`.product_id, `product.translation`.product_version_id, `product.translation`.meta_description as `product.translation.metaDescription`, `product.translation`.name as `product.translation.name`, `product.translation`.keywords as `product.translation.keywords`, `product.translation`.description as `product.translation.description`, `product.translation`.meta_title as `product.translation.metaTitle`, `product.translation`.pack_unit as `product.translation.packUnit`, `product.translation`.pack_unit_plural as `product.translation.packUnitPlural`, `product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`, `product.translation`.slot_config as `product.translation.slotConfig`, `product.translation`.custom_fields as `product.translation.customFields`, `product.translation`.created_at as `product.translation.createdAt`, `product.translation`.updated_at as `product.translation.updatedAt`, `product.translation`.product_id as `product.translation.productId`, `product.translation`.language_id as `product.translation.languageId`, `product.translation`.product_version_id as `product.translation.productVersionId` FROM `product_translation` `product.translation` WHERE `product.translation`.language_id = :languageId) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id` AND `product.product_translation`.product_version_id = `product`.version_id LEFT JOIN (SELECT `product.parent.translation`.product_id, `product.parent.translation`.product_version_id, `product.parent.translation`.meta_description as `product.parent.translation.metaDescription`, `product.parent.translation`.name as `product.parent.translation.name`, `product.parent.translation`.keywords as `product.parent.translation.keywords`, `product.parent.translation`.description as `product.parent.translation.description`, `product.parent.translation`.meta_title as `product.parent.translation.metaTitle`, `product.parent.translation`.pack_unit as `product.parent.translation.packUnit`, `product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`, `product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`, `product.parent.translation`.slot_config as `product.parent.translation.slotConfig`, `product.parent.translation`.custom_fields as `product.parent.translation.customFields`, `product.parent.translation`.created_at as `product.parent.translation.createdAt`, `product.parent.translation`.updated_at as `product.parent.translation.updatedAt`, `product.parent.translation`.product_id as `product.parent.translation.productId`, `product.parent.translation`.language_id as `product.parent.translation.languageId`, `product.parent.translation`.product_version_id as `product.parent.translation.productVersionId` FROM `product_translation` `product.parent.translation` WHERE `product.parent.translation`.language_id = :languageId) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id` AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id` LEFT JOIN `unit` `product.unit` ON `product`.`unit` = `product.unit`.`id` LEFT JOIN `delivery_time` `product.deliveryTime` ON `product`.`deliveryTime` = `product.deliveryTime`.`id` LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id` AND `product`.`version_id` = `product.cover`.`version_id` LEFT JOIN (SELECT `product.unit.translation`.unit_id, `product.unit.translation`.short_code as `product.unit.translation.shortCode`, `product.unit.translation`.name as `product.unit.translation.name`, `product.unit.translation`.custom_fields as `product.unit.translation.customFields`, `product.unit.translation`.created_at as `product.unit.translation.createdAt`, `product.unit.translation`.updated_at as `product.unit.translation.updatedAt`, `product.unit.translation`.unit_id as `product.unit.translation.unitId`, `product.unit.translation`.language_id as `product.unit.translation.languageId` FROM `unit_translation` `product.unit.translation` WHERE `product.unit.translation`.language_id = :languageId) `product.unit.unit_translation` ON `product.unit.unit_translation`.`unit_id` = `product.unit`.`id` LEFT JOIN (SELECT `product.deliveryTime.translation`.delivery_time_id, `product.deliveryTime.translation`.name as `product.deliveryTime.translation.name`, `product.deliveryTime.translation`.custom_fields as `product.deliveryTime.translation.customFields`, `product.deliveryTime.translation`.created_at as `product.deliveryTime.translation.createdAt`, `product.deliveryTime.translation`.updated_at as `product.deliveryTime.translation.updatedAt`, `product.deliveryTime.translation`.delivery_time_id as `product.deliveryTime.translation.deliveryTimeId`, `product.deliveryTime.translation`.language_id as `product.deliveryTime.translation.languageId` FROM `delivery_time_translation` `product.deliveryTime.translation` WHERE `product.deliveryTime.translation`.language_id = :languageId) `product.deliveryTime.delivery_time_translation` ON `product.deliveryTime.delivery_time_translation`.`delivery_time_id` = `product.deliveryTime`.`id` LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id` LEFT JOIN (SELECT `product.cover.media.translation`.media_id, `product.cover.media.translation`.title as `product.cover.media.translation.title`, `product.cover.media.translation`.alt as `product.cover.media.translation.alt`, `product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`, `product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`, `product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`, `product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`, `product.cover.media.translation`.language_id as `product.cover.media.translation.languageId` FROM `media_translation` `product.cover.media.translation` WHERE `product.cover.media.translation`.language_id = :languageId) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id` WHERE (`product`.`version_id` = :version) AND (`product`.`id` IN (:ids))
SELECT
`product`.`id` as `product.id`,
`product`.`version_id` as `product.versionId`,
`product`.`parent_id` as `product.parentId`,
`product`.`parent_version_id` as `product.parentVersionId`,
COALESCE(
`product`.`product_manufacturer_id`,
`product.parent`.`product_manufacturer_id`
) as `product.manufacturerId`,
COALESCE(
`product`.`product_manufacturer_version_id`,
`product.parent`.`product_manufacturer_version_id`
) as `product.productManufacturerVersionId`,
COALESCE(
`product`.`unit_id`, `product.parent`.`unit_id`
) as `product.unitId`,
COALESCE(
`product`.`tax_id`, `product.parent`.`tax_id`
) as `product.taxId`,
COALESCE(
`product`.`product_media_id`, `product.parent`.`product_media_id`
) as `product.coverId`,
COALESCE(
`product`.`product_media_version_id`,
`product.parent`.`product_media_version_id`
) as `product.productMediaVersionId`,
COALESCE(
`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`
) as `product.deliveryTimeId`,
COALESCE(
`product`.`product_feature_set_id`,
`product.parent`.`product_feature_set_id`
) as `product.featureSetId`,
COALESCE(
`product`.`canonical_product_id`,
`product.parent`.`canonical_product_id`
) as `product.canonicalProductId`,
COALESCE(
`product`.`cms_page_id`, `product.parent`.`cms_page_id`
) as `product.cmsPageId`,
COALESCE(
`product`.`cms_page_version_id`,
`product.parent`.`cms_page_version_id`
) as `product.cmsPageVersionId`,
`product.parent`.`price` as `product.price.inherited`,
COALESCE(
`product`.`price`, `product.parent`.`price`
) as `product.price`,
`product`.`product_number` as `product.productNumber`,
`product`.`stock` as `product.stock`,
COALESCE(
`product`.`restock_time`, `product.parent`.`restock_time`
) as `product.restockTime`,
`product`.`auto_increment` as `product.autoIncrement`,
COALESCE(
`product`.`active`, `product.parent`.`active`
) as `product.active`,
`product`.`available_stock` as `product.availableStock`,
`product`.`available` as `product.available`,
COALESCE(
`product`.`is_closeout`, `product.parent`.`is_closeout`
) as `product.isCloseout`,
`product`.`display_group` as `product.displayGroup`,
`product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`,
COALESCE(
`product`.`configurator_group_config`,
`product.parent`.`configurator_group_config`
) as `product.configuratorGroupConfig`,
COALESCE(
`product`.`main_variant_id`, `product.parent`.`main_variant_id`
) as `product.mainVariantId`,
COALESCE(
`product`.`display_parent`, `product.parent`.`display_parent`
) as `product.displayParent`,
`product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`,
COALESCE(
`product`.`variant_listing_config`,
`product.parent`.`variant_listing_config`
) as `product.variantListingConfig`,
`product`.`variant_restrictions` as `product.variantRestrictions`,
COALESCE(
`product`.`manufacturer_number`,
`product.parent`.`manufacturer_number`
) as `product.manufacturerNumber`,
COALESCE(
`product`.`ean`, `product.parent`.`ean`
) as `product.ean`,
COALESCE(
`product`.`purchase_steps`, `product.parent`.`purchase_steps`
) as `product.purchaseSteps`,
COALESCE(
`product`.`max_purchase`, `product.parent`.`max_purchase`
) as `product.maxPurchase`,
COALESCE(
`product`.`min_purchase`, `product.parent`.`min_purchase`
) as `product.minPurchase`,
COALESCE(
`product`.`purchase_unit`, `product.parent`.`purchase_unit`
) as `product.purchaseUnit`,
COALESCE(
`product`.`reference_unit`, `product.parent`.`reference_unit`
) as `product.referenceUnit`,
COALESCE(
`product`.`shipping_free`, `product.parent`.`shipping_free`
) as `product.shippingFree`,
`product.parent`.`purchase_prices` as `product.purchasePrices.inherited`,
COALESCE(
`product`.`purchase_prices`, `product.parent`.`purchase_prices`
) as `product.purchasePrices`,
COALESCE(
`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`
) as `product.markAsTopseller`,
COALESCE(
`product`.`weight`, `product.parent`.`weight`
) as `product.weight`,
COALESCE(
`product`.`width`, `product.parent`.`width`
) as `product.width`,
COALESCE(
`product`.`height`, `product.parent`.`height`
) as `product.height`,
COALESCE(
`product`.`length`, `product.parent`.`length`
) as `product.length`,
COALESCE(
`product`.`release_date`, `product.parent`.`release_date`
) as `product.releaseDate`,
COALESCE(
`product`.`rating_average`, `product.parent`.`rating_average`
) as `product.ratingAverage`,
`product.parent`.`category_tree` as `product.categoryTree.inherited`,
COALESCE(
`product`.`category_tree`, `product.parent`.`category_tree`
) as `product.categoryTree`,
`product.parent`.`property_ids` as `product.propertyIds.inherited`,
COALESCE(
`product`.`property_ids`, `product.parent`.`property_ids`
) as `product.propertyIds`,
`product.parent`.`option_ids` as `product.optionIds.inherited`,
COALESCE(
`product`.`option_ids`, `product.parent`.`option_ids`
) as `product.optionIds`,
`product.parent`.`stream_ids` as `product.streamIds.inherited`,
COALESCE(
`product`.`stream_ids`, `product.parent`.`stream_ids`
) as `product.streamIds`,
`product.parent`.`tag_ids` as `product.tagIds.inherited`,
COALESCE(
`product`.`tag_ids`, `product.parent`.`tag_ids`
) as `product.tagIds`,
`product.parent`.`category_ids` as `product.categoryIds.inherited`,
COALESCE(
`product`.`category_ids`, `product.parent`.`category_ids`
) as `product.categoryIds`,
`product`.`child_count` as `product.childCount`,
COALESCE(
`product`.`custom_field_set_selection_active`,
`product.parent`.`custom_field_set_selection_active`
) as `product.customFieldSetSelectionActive`,
`product`.`sales` as `product.sales`,
`product`.`states` as `product.states`,
`product.tax`.`id` as `product.tax.id`,
`product.tax`.`tax_rate` as `product.tax.taxRate`,
`product.tax`.`name` as `product.tax.name`,
`product.tax`.`position` as `product.tax.position`,
`product.tax`.`custom_fields` as `product.tax.customFields`,
`product.tax`.`created_at` as `product.tax.createdAt`,
`product.tax`.`updated_at` as `product.tax.updatedAt`,
`product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`,
COALESCE(
`product`.`cheapest_price`, `product.parent`.`cheapest_price`
) as `product.cheapestPrice`,
`product`.`created_at` as `product.createdAt`,
`product`.`updated_at` as `product.updatedAt`,
`product.unit`.`id` as `product.unit.id`,
`product.unit`.`created_at` as `product.unit.createdAt`,
`product.unit`.`updated_at` as `product.unit.updatedAt`,
`product.unit.translation.shortCode`,
COALESCE(
`product.unit.translation.shortCode`,
`product.unit.translation.shortCode`
) as `product.unit.shortCode`,
`product.unit.translation.name`,
COALESCE(
`product.unit.translation.name`,
`product.unit.translation.name`
) as `product.unit.name`,
`product.unit.translation.customFields`,
COALESCE(
`product.unit.translation.customFields`,
`product.unit.translation.customFields`
) as `product.unit.customFields`,
`product.unit.translation.createdAt`,
`product.unit.translation.updatedAt`,
`product.unit.translation.unitId`,
`product.unit.translation.languageId`,
`product.deliveryTime`.`id` as `product.deliveryTime.id`,
`product.deliveryTime`.`min` as `product.deliveryTime.min`,
`product.deliveryTime`.`max` as `product.deliveryTime.max`,
`product.deliveryTime`.`unit` as `product.deliveryTime.unit`,
`product.deliveryTime`.`created_at` as `product.deliveryTime.createdAt`,
`product.deliveryTime`.`updated_at` as `product.deliveryTime.updatedAt`,
`product.deliveryTime.translation.name`,
COALESCE(
`product.deliveryTime.translation.name`,
`product.deliveryTime.translation.name`
) as `product.deliveryTime.name`,
`product.deliveryTime.translation.customFields`,
COALESCE(
`product.deliveryTime.translation.customFields`,
`product.deliveryTime.translation.customFields`
) as `product.deliveryTime.customFields`,
`product.deliveryTime.translation.createdAt`,
`product.deliveryTime.translation.updatedAt`,
`product.deliveryTime.translation.deliveryTimeId`,
`product.deliveryTime.translation.languageId`,
`product.cover`.`id` as `product.cover.id`,
`product.cover`.`version_id` as `product.cover.versionId`,
`product.cover`.`product_id` as `product.cover.productId`,
`product.cover`.`product_version_id` as `product.cover.productVersionId`,
`product.cover`.`media_id` as `product.cover.mediaId`,
`product.cover`.`position` as `product.cover.position`,
`product.cover.media`.`id` as `product.cover.media.id`,
`product.cover.media`.`user_id` as `product.cover.media.userId`,
`product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`,
`product.cover.media`.`mime_type` as `product.cover.media.mimeType`,
`product.cover.media`.`file_extension` as `product.cover.media.fileExtension`,
`product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`,
`product.cover.media`.`file_name` as `product.cover.media.fileName`,
`product.cover.media`.`file_size` as `product.cover.media.fileSize`,
`product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`,
`product.cover.media`.`meta_data` as `product.cover.media.metaData`,
`product.cover.media`.`private` as `product.cover.media.private`,
`product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`,
`product.cover.media`.`created_at` as `product.cover.media.createdAt`,
`product.cover.media`.`updated_at` as `product.cover.media.updatedAt`,
`product.cover.media.translation.title`,
COALESCE(
`product.cover.media.translation.title`,
`product.cover.media.translation.title`
) as `product.cover.media.title`,
`product.cover.media.translation.alt`,
COALESCE(
`product.cover.media.translation.alt`,
`product.cover.media.translation.alt`
) as `product.cover.media.alt`,
`product.cover.media.translation.customFields`,
COALESCE(
`product.cover.media.translation.customFields`,
`product.cover.media.translation.customFields`
) as `product.cover.media.customFields`,
`product.cover.media.translation.createdAt`,
`product.cover.media.translation.updatedAt`,
`product.cover.media.translation.mediaId`,
`product.cover.media.translation.languageId`,
`product.cover`.`custom_fields` as `product.cover.customFields`,
`product.cover`.`created_at` as `product.cover.createdAt`,
`product.cover`.`updated_at` as `product.cover.updatedAt`,
`product.translation.metaDescription`,
`product.parent.translation.metaDescription`,
COALESCE(
`product.translation.metaDescription`,
`product.parent.translation.metaDescription`,
`product.translation.metaDescription`
) as `product.metaDescription`,
`product.translation.name`,
`product.parent.translation.name`,
COALESCE(
`product.translation.name`, `product.parent.translation.name`,
`product.translation.name`
) as `product.name`,
`product.translation.keywords`,
`product.parent.translation.keywords`,
COALESCE(
`product.translation.keywords`,
`product.parent.translation.keywords`,
`product.translation.keywords`
) as `product.keywords`,
`product.translation.description`,
`product.parent.translation.description`,
COALESCE(
`product.translation.description`,
`product.parent.translation.description`,
`product.translation.description`
) as `product.description`,
`product.translation.metaTitle`,
`product.parent.translation.metaTitle`,
COALESCE(
`product.translation.metaTitle`,
`product.parent.translation.metaTitle`,
`product.translation.metaTitle`
) as `product.metaTitle`,
`product.translation.packUnit`,
`product.parent.translation.packUnit`,
COALESCE(
`product.translation.packUnit`,
`product.parent.translation.packUnit`,
`product.translation.packUnit`
) as `product.packUnit`,
`product.translation.packUnitPlural`,
`product.parent.translation.packUnitPlural`,
COALESCE(
`product.translation.packUnitPlural`,
`product.parent.translation.packUnitPlural`,
`product.translation.packUnitPlural`
) as `product.packUnitPlural`,
`product.translation.customSearchKeywords`,
`product.parent.translation.customSearchKeywords`,
COALESCE(
`product.translation.customSearchKeywords`,
`product.parent.translation.customSearchKeywords`,
`product.translation.customSearchKeywords`
) as `product.customSearchKeywords`,
`product.translation.slotConfig`,
`product.parent.translation.slotConfig`,
COALESCE(
`product.translation.slotConfig`,
`product.parent.translation.slotConfig`,
`product.translation.slotConfig`
) as `product.slotConfig`,
`product.translation.customFields`,
`product.parent.translation.customFields`,
COALESCE(
`product.translation.customFields`,
`product.parent.translation.customFields`,
`product.translation.customFields`
) as `product.customFields`,
`product.translation.createdAt`,
`product.parent.translation.createdAt`,
`product.translation.updatedAt`,
`product.parent.translation.updatedAt`,
`product.translation.productId`,
`product.parent.translation.productId`,
`product.translation.languageId`,
`product.parent.translation.languageId`,
`product.translation.productVersionId`,
`product.parent.translation.productVersionId`
FROM
`product`
LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id`
AND `product`.`version_id` = `product.parent`.`version_id`
LEFT JOIN (
SELECT
`product.translation`.product_id,
`product.translation`.product_version_id,
`product.translation`.meta_description as `product.translation.metaDescription`,
`product.translation`.name as `product.translation.name`,
`product.translation`.keywords as `product.translation.keywords`,
`product.translation`.description as `product.translation.description`,
`product.translation`.meta_title as `product.translation.metaTitle`,
`product.translation`.pack_unit as `product.translation.packUnit`,
`product.translation`.pack_unit_plural as `product.translation.packUnitPlural`,
`product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`,
`product.translation`.slot_config as `product.translation.slotConfig`,
`product.translation`.custom_fields as `product.translation.customFields`,
`product.translation`.created_at as `product.translation.createdAt`,
`product.translation`.updated_at as `product.translation.updatedAt`,
`product.translation`.product_id as `product.translation.productId`,
`product.translation`.language_id as `product.translation.languageId`,
`product.translation`.product_version_id as `product.translation.productVersionId`
FROM
`product_translation` `product.translation`
WHERE
`product.translation`.language_id = : languageId
) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id`
AND `product.product_translation`.product_version_id = `product`.version_id
LEFT JOIN (
SELECT
`product.parent.translation`.product_id,
`product.parent.translation`.product_version_id,
`product.parent.translation`.meta_description as `product.parent.translation.metaDescription`,
`product.parent.translation`.name as `product.parent.translation.name`,
`product.parent.translation`.keywords as `product.parent.translation.keywords`,
`product.parent.translation`.description as `product.parent.translation.description`,
`product.parent.translation`.meta_title as `product.parent.translation.metaTitle`,
`product.parent.translation`.pack_unit as `product.parent.translation.packUnit`,
`product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`,
`product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`,
`product.parent.translation`.slot_config as `product.parent.translation.slotConfig`,
`product.parent.translation`.custom_fields as `product.parent.translation.customFields`,
`product.parent.translation`.created_at as `product.parent.translation.createdAt`,
`product.parent.translation`.updated_at as `product.parent.translation.updatedAt`,
`product.parent.translation`.product_id as `product.parent.translation.productId`,
`product.parent.translation`.language_id as `product.parent.translation.languageId`,
`product.parent.translation`.product_version_id as `product.parent.translation.productVersionId`
FROM
`product_translation` `product.parent.translation`
WHERE
`product.parent.translation`.language_id = : languageId
) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id`
AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id
LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id`
LEFT JOIN `unit` `product.unit` ON `product`.`unit` = `product.unit`.`id`
LEFT JOIN `delivery_time` `product.deliveryTime` ON `product`.`deliveryTime` = `product.deliveryTime`.`id`
LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id`
AND `product`.`version_id` = `product.cover`.`version_id`
LEFT JOIN (
SELECT
`product.unit.translation`.unit_id,
`product.unit.translation`.short_code as `product.unit.translation.shortCode`,
`product.unit.translation`.name as `product.unit.translation.name`,
`product.unit.translation`.custom_fields as `product.unit.translation.customFields`,
`product.unit.translation`.created_at as `product.unit.translation.createdAt`,
`product.unit.translation`.updated_at as `product.unit.translation.updatedAt`,
`product.unit.translation`.unit_id as `product.unit.translation.unitId`,
`product.unit.translation`.language_id as `product.unit.translation.languageId`
FROM
`unit_translation` `product.unit.translation`
WHERE
`product.unit.translation`.language_id = : languageId
) `product.unit.unit_translation` ON `product.unit.unit_translation`.`unit_id` = `product.unit`.`id`
LEFT JOIN (
SELECT
`product.deliveryTime.translation`.delivery_time_id,
`product.deliveryTime.translation`.name as `product.deliveryTime.translation.name`,
`product.deliveryTime.translation`.custom_fields as `product.deliveryTime.translation.customFields`,
`product.deliveryTime.translation`.created_at as `product.deliveryTime.translation.createdAt`,
`product.deliveryTime.translation`.updated_at as `product.deliveryTime.translation.updatedAt`,
`product.deliveryTime.translation`.delivery_time_id as `product.deliveryTime.translation.deliveryTimeId`,
`product.deliveryTime.translation`.language_id as `product.deliveryTime.translation.languageId`
FROM
`delivery_time_translation` `product.deliveryTime.translation`
WHERE
`product.deliveryTime.translation`.language_id = : languageId
) `product.deliveryTime.delivery_time_translation` ON `product.deliveryTime.delivery_time_translation`.`delivery_time_id` = `product.deliveryTime`.`id`
LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id`
LEFT JOIN (
SELECT
`product.cover.media.translation`.media_id,
`product.cover.media.translation`.title as `product.cover.media.translation.title`,
`product.cover.media.translation`.alt as `product.cover.media.translation.alt`,
`product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`,
`product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`,
`product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`,
`product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`,
`product.cover.media.translation`.language_id as `product.cover.media.translation.languageId`
FROM
`media_translation` `product.cover.media.translation`
WHERE
`product.cover.media.translation`.language_id = : languageId
) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id`
WHERE
(
`product`.`version_id` = : version
)
AND (
`product`.`id` IN (: ids)
)
SELECT `product`.`id` as `product.id`, `product`.`version_id` as `product.versionId`, `product`.`parent_id` as `product.parentId`, `product`.`parent_version_id` as `product.parentVersionId`, COALESCE(`product`.`product_manufacturer_id`, `product.parent`.`product_manufacturer_id`) as `product.manufacturerId`, COALESCE(`product`.`product_manufacturer_version_id`, `product.parent`.`product_manufacturer_version_id`) as `product.productManufacturerVersionId`, COALESCE(`product`.`unit_id`, `product.parent`.`unit_id`) as `product.unitId`, COALESCE(`product`.`tax_id`, `product.parent`.`tax_id`) as `product.taxId`, COALESCE(`product`.`product_media_id`, `product.parent`.`product_media_id`) as `product.coverId`, COALESCE(`product`.`product_media_version_id`, `product.parent`.`product_media_version_id`) as `product.productMediaVersionId`, COALESCE(`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`) as `product.deliveryTimeId`, COALESCE(`product`.`product_feature_set_id`, `product.parent`.`product_feature_set_id`) as `product.featureSetId`, COALESCE(`product`.`canonical_product_id`, `product.parent`.`canonical_product_id`) as `product.canonicalProductId`, COALESCE(`product`.`cms_page_id`, `product.parent`.`cms_page_id`) as `product.cmsPageId`, COALESCE(`product`.`cms_page_version_id`, `product.parent`.`cms_page_version_id`) as `product.cmsPageVersionId`, `product.parent`.`price` as `product.price.inherited`, COALESCE(`product`.`price`, `product.parent`.`price`) as `product.price`, `product`.`product_number` as `product.productNumber`, `product`.`stock` as `product.stock`, COALESCE(`product`.`restock_time`, `product.parent`.`restock_time`) as `product.restockTime`, `product`.`auto_increment` as `product.autoIncrement`, COALESCE(`product`.`active`, `product.parent`.`active`) as `product.active`, `product`.`available_stock` as `product.availableStock`, `product`.`available` as `product.available`, COALESCE(`product`.`is_closeout`, `product.parent`.`is_closeout`) as `product.isCloseout`, `product`.`display_group` as `product.displayGroup`, `product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`, COALESCE(`product`.`configurator_group_config`, `product.parent`.`configurator_group_config`) as `product.configuratorGroupConfig`, COALESCE(`product`.`main_variant_id`, `product.parent`.`main_variant_id`) as `product.mainVariantId`, COALESCE(`product`.`display_parent`, `product.parent`.`display_parent`) as `product.displayParent`, `product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`, COALESCE(`product`.`variant_listing_config`, `product.parent`.`variant_listing_config`) as `product.variantListingConfig`, `product`.`variant_restrictions` as `product.variantRestrictions`, COALESCE(`product`.`manufacturer_number`, `product.parent`.`manufacturer_number`) as `product.manufacturerNumber`, COALESCE(`product`.`ean`, `product.parent`.`ean`) as `product.ean`, COALESCE(`product`.`purchase_steps`, `product.parent`.`purchase_steps`) as `product.purchaseSteps`, COALESCE(`product`.`max_purchase`, `product.parent`.`max_purchase`) as `product.maxPurchase`, COALESCE(`product`.`min_purchase`, `product.parent`.`min_purchase`) as `product.minPurchase`, COALESCE(`product`.`purchase_unit`, `product.parent`.`purchase_unit`) as `product.purchaseUnit`, COALESCE(`product`.`reference_unit`, `product.parent`.`reference_unit`) as `product.referenceUnit`, COALESCE(`product`.`shipping_free`, `product.parent`.`shipping_free`) as `product.shippingFree`, `product.parent`.`purchase_prices` as `product.purchasePrices.inherited`, COALESCE(`product`.`purchase_prices`, `product.parent`.`purchase_prices`) as `product.purchasePrices`, COALESCE(`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`) as `product.markAsTopseller`, COALESCE(`product`.`weight`, `product.parent`.`weight`) as `product.weight`, COALESCE(`product`.`width`, `product.parent`.`width`) as `product.width`, COALESCE(`product`.`height`, `product.parent`.`height`) as `product.height`, COALESCE(`product`.`length`, `product.parent`.`length`) as `product.length`, COALESCE(`product`.`release_date`, `product.parent`.`release_date`) as `product.releaseDate`, COALESCE(`product`.`rating_average`, `product.parent`.`rating_average`) as `product.ratingAverage`, `product.parent`.`category_tree` as `product.categoryTree.inherited`, COALESCE(`product`.`category_tree`, `product.parent`.`category_tree`) as `product.categoryTree`, `product.parent`.`property_ids` as `product.propertyIds.inherited`, COALESCE(`product`.`property_ids`, `product.parent`.`property_ids`) as `product.propertyIds`, `product.parent`.`option_ids` as `product.optionIds.inherited`, COALESCE(`product`.`option_ids`, `product.parent`.`option_ids`) as `product.optionIds`, `product.parent`.`stream_ids` as `product.streamIds.inherited`, COALESCE(`product`.`stream_ids`, `product.parent`.`stream_ids`) as `product.streamIds`, `product.parent`.`tag_ids` as `product.tagIds.inherited`, COALESCE(`product`.`tag_ids`, `product.parent`.`tag_ids`) as `product.tagIds`, `product.parent`.`category_ids` as `product.categoryIds.inherited`, COALESCE(`product`.`category_ids`, `product.parent`.`category_ids`) as `product.categoryIds`, `product`.`child_count` as `product.childCount`, COALESCE(`product`.`custom_field_set_selection_active`, `product.parent`.`custom_field_set_selection_active`) as `product.customFieldSetSelectionActive`, `product`.`sales` as `product.sales`, `product`.`states` as `product.states`, `product.tax`.`id` as `product.tax.id`, `product.tax`.`tax_rate` as `product.tax.taxRate`, `product.tax`.`name` as `product.tax.name`, `product.tax`.`position` as `product.tax.position`, `product.tax`.`custom_fields` as `product.tax.customFields`, `product.tax`.`created_at` as `product.tax.createdAt`, `product.tax`.`updated_at` as `product.tax.updatedAt`, `product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`, COALESCE(`product`.`cheapest_price`, `product.parent`.`cheapest_price`) as `product.cheapestPrice`, `product`.`created_at` as `product.createdAt`, `product`.`updated_at` as `product.updatedAt`, `product.unit`.`id` as `product.unit.id`, `product.unit`.`created_at` as `product.unit.createdAt`, `product.unit`.`updated_at` as `product.unit.updatedAt`, `product.unit.translation.shortCode`, COALESCE(`product.unit.translation.shortCode`,`product.unit.translation.shortCode`) as `product.unit.shortCode`, `product.unit.translation.name`, COALESCE(`product.unit.translation.name`,`product.unit.translation.name`) as `product.unit.name`, `product.unit.translation.customFields`, COALESCE(`product.unit.translation.customFields`,`product.unit.translation.customFields`) as `product.unit.customFields`, `product.unit.translation.createdAt`, `product.unit.translation.updatedAt`, `product.unit.translation.unitId`, `product.unit.translation.languageId`, `product.deliveryTime`.`id` as `product.deliveryTime.id`, `product.deliveryTime`.`min` as `product.deliveryTime.min`, `product.deliveryTime`.`max` as `product.deliveryTime.max`, `product.deliveryTime`.`unit` as `product.deliveryTime.unit`, `product.deliveryTime`.`created_at` as `product.deliveryTime.createdAt`, `product.deliveryTime`.`updated_at` as `product.deliveryTime.updatedAt`, `product.deliveryTime.translation.name`, COALESCE(`product.deliveryTime.translation.name`,`product.deliveryTime.translation.name`) as `product.deliveryTime.name`, `product.deliveryTime.translation.customFields`, COALESCE(`product.deliveryTime.translation.customFields`,`product.deliveryTime.translation.customFields`) as `product.deliveryTime.customFields`, `product.deliveryTime.translation.createdAt`, `product.deliveryTime.translation.updatedAt`, `product.deliveryTime.translation.deliveryTimeId`, `product.deliveryTime.translation.languageId`, `product.cover`.`id` as `product.cover.id`, `product.cover`.`version_id` as `product.cover.versionId`, `product.cover`.`product_id` as `product.cover.productId`, `product.cover`.`product_version_id` as `product.cover.productVersionId`, `product.cover`.`media_id` as `product.cover.mediaId`, `product.cover`.`position` as `product.cover.position`, `product.cover.media`.`id` as `product.cover.media.id`, `product.cover.media`.`user_id` as `product.cover.media.userId`, `product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`, `product.cover.media`.`mime_type` as `product.cover.media.mimeType`, `product.cover.media`.`file_extension` as `product.cover.media.fileExtension`, `product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`, `product.cover.media`.`file_name` as `product.cover.media.fileName`, `product.cover.media`.`file_size` as `product.cover.media.fileSize`, `product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`, `product.cover.media`.`meta_data` as `product.cover.media.metaData`, `product.cover.media`.`private` as `product.cover.media.private`, `product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`, `product.cover.media`.`created_at` as `product.cover.media.createdAt`, `product.cover.media`.`updated_at` as `product.cover.media.updatedAt`, `product.cover.media.translation.title`, COALESCE(`product.cover.media.translation.title`,`product.cover.media.translation.title`) as `product.cover.media.title`, `product.cover.media.translation.alt`, COALESCE(`product.cover.media.translation.alt`,`product.cover.media.translation.alt`) as `product.cover.media.alt`, `product.cover.media.translation.customFields`, COALESCE(`product.cover.media.translation.customFields`,`product.cover.media.translation.customFields`) as `product.cover.media.customFields`, `product.cover.media.translation.createdAt`, `product.cover.media.translation.updatedAt`, `product.cover.media.translation.mediaId`, `product.cover.media.translation.languageId`, `product.cover`.`custom_fields` as `product.cover.customFields`, `product.cover`.`created_at` as `product.cover.createdAt`, `product.cover`.`updated_at` as `product.cover.updatedAt`, `product.translation.metaDescription`, `product.parent.translation.metaDescription`, COALESCE(`product.translation.metaDescription`,`product.parent.translation.metaDescription`,`product.translation.metaDescription`) as `product.metaDescription`, `product.translation.name`, `product.parent.translation.name`, COALESCE(`product.translation.name`,`product.parent.translation.name`,`product.translation.name`) as `product.name`, `product.translation.keywords`, `product.parent.translation.keywords`, COALESCE(`product.translation.keywords`,`product.parent.translation.keywords`,`product.translation.keywords`) as `product.keywords`, `product.translation.description`, `product.parent.translation.description`, COALESCE(`product.translation.description`,`product.parent.translation.description`,`product.translation.description`) as `product.description`, `product.translation.metaTitle`, `product.parent.translation.metaTitle`, COALESCE(`product.translation.metaTitle`,`product.parent.translation.metaTitle`,`product.translation.metaTitle`) as `product.metaTitle`, `product.translation.packUnit`, `product.parent.translation.packUnit`, COALESCE(`product.translation.packUnit`,`product.parent.translation.packUnit`,`product.translation.packUnit`) as `product.packUnit`, `product.translation.packUnitPlural`, `product.parent.translation.packUnitPlural`, COALESCE(`product.translation.packUnitPlural`,`product.parent.translation.packUnitPlural`,`product.translation.packUnitPlural`) as `product.packUnitPlural`, `product.translation.customSearchKeywords`, `product.parent.translation.customSearchKeywords`, COALESCE(`product.translation.customSearchKeywords`,`product.parent.translation.customSearchKeywords`,`product.translation.customSearchKeywords`) as `product.customSearchKeywords`, `product.translation.slotConfig`, `product.parent.translation.slotConfig`, COALESCE(`product.translation.slotConfig`,`product.parent.translation.slotConfig`,`product.translation.slotConfig`) as `product.slotConfig`, `product.translation.customFields`, `product.parent.translation.customFields`, COALESCE(`product.translation.customFields`,`product.parent.translation.customFields`,`product.translation.customFields`) as `product.customFields`, `product.translation.createdAt`, `product.parent.translation.createdAt`, `product.translation.updatedAt`, `product.parent.translation.updatedAt`, `product.translation.productId`, `product.parent.translation.productId`, `product.translation.languageId`, `product.parent.translation.languageId`, `product.translation.productVersionId`, `product.parent.translation.productVersionId` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN (SELECT `product.translation`.product_id, `product.translation`.product_version_id, `product.translation`.meta_description as `product.translation.metaDescription`, `product.translation`.name as `product.translation.name`, `product.translation`.keywords as `product.translation.keywords`, `product.translation`.description as `product.translation.description`, `product.translation`.meta_title as `product.translation.metaTitle`, `product.translation`.pack_unit as `product.translation.packUnit`, `product.translation`.pack_unit_plural as `product.translation.packUnitPlural`, `product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`, `product.translation`.slot_config as `product.translation.slotConfig`, `product.translation`.custom_fields as `product.translation.customFields`, `product.translation`.created_at as `product.translation.createdAt`, `product.translation`.updated_at as `product.translation.updatedAt`, `product.translation`.product_id as `product.translation.productId`, `product.translation`.language_id as `product.translation.languageId`, `product.translation`.product_version_id as `product.translation.productVersionId` FROM `product_translation` `product.translation` WHERE `product.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id` AND `product.product_translation`.product_version_id = `product`.version_id LEFT JOIN (SELECT `product.parent.translation`.product_id, `product.parent.translation`.product_version_id, `product.parent.translation`.meta_description as `product.parent.translation.metaDescription`, `product.parent.translation`.name as `product.parent.translation.name`, `product.parent.translation`.keywords as `product.parent.translation.keywords`, `product.parent.translation`.description as `product.parent.translation.description`, `product.parent.translation`.meta_title as `product.parent.translation.metaTitle`, `product.parent.translation`.pack_unit as `product.parent.translation.packUnit`, `product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`, `product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`, `product.parent.translation`.slot_config as `product.parent.translation.slotConfig`, `product.parent.translation`.custom_fields as `product.parent.translation.customFields`, `product.parent.translation`.created_at as `product.parent.translation.createdAt`, `product.parent.translation`.updated_at as `product.parent.translation.updatedAt`, `product.parent.translation`.product_id as `product.parent.translation.productId`, `product.parent.translation`.language_id as `product.parent.translation.languageId`, `product.parent.translation`.product_version_id as `product.parent.translation.productVersionId` FROM `product_translation` `product.parent.translation` WHERE `product.parent.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id` AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id` LEFT JOIN `unit` `product.unit` ON `product`.`unit` = `product.unit`.`id` LEFT JOIN `delivery_time` `product.deliveryTime` ON `product`.`deliveryTime` = `product.deliveryTime`.`id` LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id` AND `product`.`version_id` = `product.cover`.`version_id` LEFT JOIN (SELECT `product.unit.translation`.unit_id, `product.unit.translation`.short_code as `product.unit.translation.shortCode`, `product.unit.translation`.name as `product.unit.translation.name`, `product.unit.translation`.custom_fields as `product.unit.translation.customFields`, `product.unit.translation`.created_at as `product.unit.translation.createdAt`, `product.unit.translation`.updated_at as `product.unit.translation.updatedAt`, `product.unit.translation`.unit_id as `product.unit.translation.unitId`, `product.unit.translation`.language_id as `product.unit.translation.languageId` FROM `unit_translation` `product.unit.translation` WHERE `product.unit.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.unit.unit_translation` ON `product.unit.unit_translation`.`unit_id` = `product.unit`.`id` LEFT JOIN (SELECT `product.deliveryTime.translation`.delivery_time_id, `product.deliveryTime.translation`.name as `product.deliveryTime.translation.name`, `product.deliveryTime.translation`.custom_fields as `product.deliveryTime.translation.customFields`, `product.deliveryTime.translation`.created_at as `product.deliveryTime.translation.createdAt`, `product.deliveryTime.translation`.updated_at as `product.deliveryTime.translation.updatedAt`, `product.deliveryTime.translation`.delivery_time_id as `product.deliveryTime.translation.deliveryTimeId`, `product.deliveryTime.translation`.language_id as `product.deliveryTime.translation.languageId` FROM `delivery_time_translation` `product.deliveryTime.translation` WHERE `product.deliveryTime.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.deliveryTime.delivery_time_translation` ON `product.deliveryTime.delivery_time_translation`.`delivery_time_id` = `product.deliveryTime`.`id` LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id` LEFT JOIN (SELECT `product.cover.media.translation`.media_id, `product.cover.media.translation`.title as `product.cover.media.translation.title`, `product.cover.media.translation`.alt as `product.cover.media.translation.alt`, `product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`, `product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`, `product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`, `product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`, `product.cover.media.translation`.language_id as `product.cover.media.translation.languageId` FROM `media_translation` `product.cover.media.translation` WHERE `product.cover.media.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id` WHERE (`product`.`version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425) AND (`product`.`id` IN (0x10172BF11A374B46B879CB5B7D409191));
array:37 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 242)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 316)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetch (line 148)"
4 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 93)"
5 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::read (line 195)"
6 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::read (line 133)"
7 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 36)"
8 => "Swag\PayPal\Util\Compatibility\SalesChannelRepositoryDecorator::search (line 207)"
9 => "Tds\MerwareDiscounts\Cart\Checkout\OverwrittenPriceCollector::getSalesChannelProduct (line 93)"
10 => "Tds\MerwareDiscounts\Cart\Checkout\OverwrittenPriceCollector::collect (line 103)"
11 => "Shopware\Core\Checkout\Cart\Processor::runProcessors (line 67)"
12 => "Shopware\Core\Checkout\Cart\Processor::Shopware\Core\Checkout\Cart\{closure} (line 59)"
13 => "Shopware\Core\Profiling\Profiler::trace (line 86)"
14 => "Shopware\Core\Checkout\Cart\Processor::process (line 132)"
15 => "Shopware\Core\Checkout\Cart\CartRuleLoader::Shopware\Core\Checkout\Cart\{closure} (line 59)"
16 => "Shopware\Core\Profiling\Profiler::trace (line 183)"
17 => "Shopware\Core\Checkout\Cart\CartRuleLoader::load (line 83)"
18 => "Shopware\Core\Checkout\Cart\CartRuleLoader::loadByToken (line 106)"
19 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::Shopware\Core\System\SalesChannel\Context\{closure} (line 59)"
20 => "Shopware\Core\Profiling\Profiler::trace (line 111)"
21 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::get (line 105)"
22 => "Shopware\Core\Framework\Routing\SalesChannelRequestContextResolver::resolve (line 38)"
23 => "Shopware\Core\Framework\Routing\ContextResolverListener::resolveContext (line 118)"
24 => "Symfony\Component\EventDispatcher\Debug\WrappedListener::__invoke (line 230)"
25 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
26 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
27 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
28 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
29 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
30 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
31 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 151)"
32 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
33 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
34 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
35 => "Shopware\Core\HttpKernel::doHandle (line 81)"
36 => "Shopware\Core\HttpKernel::handle (line 85)"
]
|
54 |
0.78 ms |
SELECT `product_price`.`id` as `product_price.id`, `product_price`.`version_id` as `product_price.versionId`, `product_price`.`product_id` as `product_price.productId`, `product_price`.`product_version_id` as `product_price.productVersionId`, `product_price`.`rule_id` as `product_price.ruleId`, `product_price`.`price` as `product_price.price`, `product_price`.`quantity_start` as `product_price.quantityStart`, `product_price`.`quantity_end` as `product_price.quantityEnd`, `product_price`.`custom_fields` as `product_price.customFields`, `product_price`.`created_at` as `product_price.createdAt`, `product_price`.`updated_at` as `product_price.updatedAt` FROM `product_price` WHERE (`product_price`.`version_id` = :version) AND ((`product_price`.`product_id` IN (:param_fdf419b881a245e4bf2746a6f9a1a14b)))
SELECT `product_price`.`id` as `product_price.id`, `product_price`.`version_id` as `product_price.versionId`, `product_price`.`product_id` as `product_price.productId`, `product_price`.`product_version_id` as `product_price.productVersionId`, `product_price`.`rule_id` as `product_price.ruleId`, `product_price`.`price` as `product_price.price`, `product_price`.`quantity_start` as `product_price.quantityStart`, `product_price`.`quantity_end` as `product_price.quantityEnd`, `product_price`.`custom_fields` as `product_price.customFields`, `product_price`.`created_at` as `product_price.createdAt`, `product_price`.`updated_at` as `product_price.updatedAt` FROM `product_price` WHERE (`product_price`.`version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425) AND ((`product_price`.`product_id` IN (0x10172BF11A374B46B879CB5B7D409191, 0xA8012483872748DEA1CD57A9ABF1D807)));
array:41 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 242)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 316)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetch (line 148)"
4 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 503)"
5 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::loadOneToManyWithoutPagination (line 438)"
6 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::loadOneToMany (line 1210)"
7 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetchAssociations (line 152)"
8 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 93)"
9 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::read (line 195)"
10 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::read (line 133)"
11 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 36)"
12 => "Swag\PayPal\Util\Compatibility\SalesChannelRepositoryDecorator::search (line 207)"
13 => "Tds\MerwareDiscounts\Cart\Checkout\OverwrittenPriceCollector::getSalesChannelProduct (line 93)"
14 => "Tds\MerwareDiscounts\Cart\Checkout\OverwrittenPriceCollector::collect (line 103)"
15 => "Shopware\Core\Checkout\Cart\Processor::runProcessors (line 67)"
16 => "Shopware\Core\Checkout\Cart\Processor::Shopware\Core\Checkout\Cart\{closure} (line 59)"
17 => "Shopware\Core\Profiling\Profiler::trace (line 86)"
18 => "Shopware\Core\Checkout\Cart\Processor::process (line 132)"
19 => "Shopware\Core\Checkout\Cart\CartRuleLoader::Shopware\Core\Checkout\Cart\{closure} (line 59)"
20 => "Shopware\Core\Profiling\Profiler::trace (line 183)"
21 => "Shopware\Core\Checkout\Cart\CartRuleLoader::load (line 83)"
22 => "Shopware\Core\Checkout\Cart\CartRuleLoader::loadByToken (line 106)"
23 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::Shopware\Core\System\SalesChannel\Context\{closure} (line 59)"
24 => "Shopware\Core\Profiling\Profiler::trace (line 111)"
25 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::get (line 105)"
26 => "Shopware\Core\Framework\Routing\SalesChannelRequestContextResolver::resolve (line 38)"
27 => "Shopware\Core\Framework\Routing\ContextResolverListener::resolveContext (line 118)"
28 => "Symfony\Component\EventDispatcher\Debug\WrappedListener::__invoke (line 230)"
29 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
30 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
31 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
32 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
33 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
34 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
35 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 151)"
36 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
37 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
38 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
39 => "Shopware\Core\HttpKernel::doHandle (line 81)"
40 => "Shopware\Core\HttpKernel::handle (line 85)"
]
|
55 |
0.42 ms |
SELECT `product`.`id`, `product`.`product_number`, `product`.`auto_increment` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN `product_visibility` `product.visibilities` ON `product`.`visibilities` = `product.visibilities`.`product_id` AND `product`.version_id = `product.visibilities`.product_version_id WHERE (`product`.`version_id` = :version) AND ((((`product.visibilities`.`visibility` >= :param_43cd6777ebd142adb75a826c1562c04e) AND `product.visibilities`.`sales_channel_id` = :param_e74792f2b1284266895d2220fa03a771 AND IFNULL(`product`.`active`, `product.parent`.`active`) = :param_fb09c88a78bc4731a9651f9d7dc83694))) AND (`product`.`id` IN (:ids)) GROUP BY `product`.`id`
SELECT `product`.`id`, `product`.`product_number`, `product`.`auto_increment` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN `product_visibility` `product.visibilities` ON `product`.`visibilities` = `product.visibilities`.`product_id` AND `product`.version_id = `product.visibilities`.product_version_id WHERE (`product`.`version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425) AND ((((`product.visibilities`.`visibility` >= 10) AND `product.visibilities`.`sales_channel_id` = 0x4EB9108BE4654CC9B140D14DE85579E9 AND IFNULL(`product`.`active`, `product.parent`.`active`) = 1))) AND (`product`.`id` IN (0x2574C1D75A5F48D8B04E4F0ACEE29E06)) GROUP BY `product`.`id`;
array:36 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 242)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 107)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntitySearcher::search (line 62)"
4 => "Shopware\Elasticsearch\Framework\DataAbstractionLayer\ElasticsearchEntitySearcher::search (line 216)"
5 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::doSearch (line 122)"
6 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 36)"
7 => "Swag\PayPal\Util\Compatibility\SalesChannelRepositoryDecorator::search (line 207)"
8 => "Tds\MerwareDiscounts\Cart\Checkout\OverwrittenPriceCollector::getSalesChannelProduct (line 93)"
9 => "Tds\MerwareDiscounts\Cart\Checkout\OverwrittenPriceCollector::collect (line 103)"
10 => "Shopware\Core\Checkout\Cart\Processor::runProcessors (line 67)"
11 => "Shopware\Core\Checkout\Cart\Processor::Shopware\Core\Checkout\Cart\{closure} (line 59)"
12 => "Shopware\Core\Profiling\Profiler::trace (line 86)"
13 => "Shopware\Core\Checkout\Cart\Processor::process (line 132)"
14 => "Shopware\Core\Checkout\Cart\CartRuleLoader::Shopware\Core\Checkout\Cart\{closure} (line 59)"
15 => "Shopware\Core\Profiling\Profiler::trace (line 183)"
16 => "Shopware\Core\Checkout\Cart\CartRuleLoader::load (line 83)"
17 => "Shopware\Core\Checkout\Cart\CartRuleLoader::loadByToken (line 106)"
18 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::Shopware\Core\System\SalesChannel\Context\{closure} (line 59)"
19 => "Shopware\Core\Profiling\Profiler::trace (line 111)"
20 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::get (line 105)"
21 => "Shopware\Core\Framework\Routing\SalesChannelRequestContextResolver::resolve (line 38)"
22 => "Shopware\Core\Framework\Routing\ContextResolverListener::resolveContext (line 118)"
23 => "Symfony\Component\EventDispatcher\Debug\WrappedListener::__invoke (line 230)"
24 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
25 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
26 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
27 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
28 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
29 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
30 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 151)"
31 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
32 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
33 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
34 => "Shopware\Core\HttpKernel::doHandle (line 81)"
35 => "Shopware\Core\HttpKernel::handle (line 85)"
]
|
56 |
13.09 ms |
SELECT `product`.`id` as `product.id`, `product`.`version_id` as `product.versionId`, `product`.`parent_id` as `product.parentId`, `product`.`parent_version_id` as `product.parentVersionId`, COALESCE(`product`.`product_manufacturer_id`, `product.parent`.`product_manufacturer_id`) as `product.manufacturerId`, COALESCE(`product`.`product_manufacturer_version_id`, `product.parent`.`product_manufacturer_version_id`) as `product.productManufacturerVersionId`, COALESCE(`product`.`unit_id`, `product.parent`.`unit_id`) as `product.unitId`, COALESCE(`product`.`tax_id`, `product.parent`.`tax_id`) as `product.taxId`, COALESCE(`product`.`product_media_id`, `product.parent`.`product_media_id`) as `product.coverId`, COALESCE(`product`.`product_media_version_id`, `product.parent`.`product_media_version_id`) as `product.productMediaVersionId`, COALESCE(`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`) as `product.deliveryTimeId`, COALESCE(`product`.`product_feature_set_id`, `product.parent`.`product_feature_set_id`) as `product.featureSetId`, COALESCE(`product`.`canonical_product_id`, `product.parent`.`canonical_product_id`) as `product.canonicalProductId`, COALESCE(`product`.`cms_page_id`, `product.parent`.`cms_page_id`) as `product.cmsPageId`, COALESCE(`product`.`cms_page_version_id`, `product.parent`.`cms_page_version_id`) as `product.cmsPageVersionId`, `product.parent`.`price` as `product.price.inherited`, COALESCE(`product`.`price`, `product.parent`.`price`) as `product.price`, `product`.`product_number` as `product.productNumber`, `product`.`stock` as `product.stock`, COALESCE(`product`.`restock_time`, `product.parent`.`restock_time`) as `product.restockTime`, `product`.`auto_increment` as `product.autoIncrement`, COALESCE(`product`.`active`, `product.parent`.`active`) as `product.active`, `product`.`available_stock` as `product.availableStock`, `product`.`available` as `product.available`, COALESCE(`product`.`is_closeout`, `product.parent`.`is_closeout`) as `product.isCloseout`, `product`.`display_group` as `product.displayGroup`, `product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`, COALESCE(`product`.`configurator_group_config`, `product.parent`.`configurator_group_config`) as `product.configuratorGroupConfig`, COALESCE(`product`.`main_variant_id`, `product.parent`.`main_variant_id`) as `product.mainVariantId`, COALESCE(`product`.`display_parent`, `product.parent`.`display_parent`) as `product.displayParent`, `product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`, COALESCE(`product`.`variant_listing_config`, `product.parent`.`variant_listing_config`) as `product.variantListingConfig`, `product`.`variant_restrictions` as `product.variantRestrictions`, COALESCE(`product`.`manufacturer_number`, `product.parent`.`manufacturer_number`) as `product.manufacturerNumber`, COALESCE(`product`.`ean`, `product.parent`.`ean`) as `product.ean`, COALESCE(`product`.`purchase_steps`, `product.parent`.`purchase_steps`) as `product.purchaseSteps`, COALESCE(`product`.`max_purchase`, `product.parent`.`max_purchase`) as `product.maxPurchase`, COALESCE(`product`.`min_purchase`, `product.parent`.`min_purchase`) as `product.minPurchase`, COALESCE(`product`.`purchase_unit`, `product.parent`.`purchase_unit`) as `product.purchaseUnit`, COALESCE(`product`.`reference_unit`, `product.parent`.`reference_unit`) as `product.referenceUnit`, COALESCE(`product`.`shipping_free`, `product.parent`.`shipping_free`) as `product.shippingFree`, `product.parent`.`purchase_prices` as `product.purchasePrices.inherited`, COALESCE(`product`.`purchase_prices`, `product.parent`.`purchase_prices`) as `product.purchasePrices`, COALESCE(`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`) as `product.markAsTopseller`, COALESCE(`product`.`weight`, `product.parent`.`weight`) as `product.weight`, COALESCE(`product`.`width`, `product.parent`.`width`) as `product.width`, COALESCE(`product`.`height`, `product.parent`.`height`) as `product.height`, COALESCE(`product`.`length`, `product.parent`.`length`) as `product.length`, COALESCE(`product`.`release_date`, `product.parent`.`release_date`) as `product.releaseDate`, COALESCE(`product`.`rating_average`, `product.parent`.`rating_average`) as `product.ratingAverage`, `product.parent`.`category_tree` as `product.categoryTree.inherited`, COALESCE(`product`.`category_tree`, `product.parent`.`category_tree`) as `product.categoryTree`, `product.parent`.`property_ids` as `product.propertyIds.inherited`, COALESCE(`product`.`property_ids`, `product.parent`.`property_ids`) as `product.propertyIds`, `product.parent`.`option_ids` as `product.optionIds.inherited`, COALESCE(`product`.`option_ids`, `product.parent`.`option_ids`) as `product.optionIds`, `product.parent`.`stream_ids` as `product.streamIds.inherited`, COALESCE(`product`.`stream_ids`, `product.parent`.`stream_ids`) as `product.streamIds`, `product.parent`.`tag_ids` as `product.tagIds.inherited`, COALESCE(`product`.`tag_ids`, `product.parent`.`tag_ids`) as `product.tagIds`, `product.parent`.`category_ids` as `product.categoryIds.inherited`, COALESCE(`product`.`category_ids`, `product.parent`.`category_ids`) as `product.categoryIds`, `product`.`child_count` as `product.childCount`, COALESCE(`product`.`custom_field_set_selection_active`, `product.parent`.`custom_field_set_selection_active`) as `product.customFieldSetSelectionActive`, `product`.`sales` as `product.sales`, `product`.`states` as `product.states`, `product.tax`.`id` as `product.tax.id`, `product.tax`.`tax_rate` as `product.tax.taxRate`, `product.tax`.`name` as `product.tax.name`, `product.tax`.`position` as `product.tax.position`, `product.tax`.`custom_fields` as `product.tax.customFields`, `product.tax`.`created_at` as `product.tax.createdAt`, `product.tax`.`updated_at` as `product.tax.updatedAt`, `product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`, COALESCE(`product`.`cheapest_price`, `product.parent`.`cheapest_price`) as `product.cheapestPrice`, `product`.`created_at` as `product.createdAt`, `product`.`updated_at` as `product.updatedAt`, `product.unit`.`id` as `product.unit.id`, `product.unit`.`created_at` as `product.unit.createdAt`, `product.unit`.`updated_at` as `product.unit.updatedAt`, `product.unit.translation.shortCode`, COALESCE(`product.unit.translation.shortCode`,`product.unit.translation.shortCode`) as `product.unit.shortCode`, `product.unit.translation.name`, COALESCE(`product.unit.translation.name`,`product.unit.translation.name`) as `product.unit.name`, `product.unit.translation.customFields`, COALESCE(`product.unit.translation.customFields`,`product.unit.translation.customFields`) as `product.unit.customFields`, `product.unit.translation.createdAt`, `product.unit.translation.updatedAt`, `product.unit.translation.unitId`, `product.unit.translation.languageId`, `product.deliveryTime`.`id` as `product.deliveryTime.id`, `product.deliveryTime`.`min` as `product.deliveryTime.min`, `product.deliveryTime`.`max` as `product.deliveryTime.max`, `product.deliveryTime`.`unit` as `product.deliveryTime.unit`, `product.deliveryTime`.`created_at` as `product.deliveryTime.createdAt`, `product.deliveryTime`.`updated_at` as `product.deliveryTime.updatedAt`, `product.deliveryTime.translation.name`, COALESCE(`product.deliveryTime.translation.name`,`product.deliveryTime.translation.name`) as `product.deliveryTime.name`, `product.deliveryTime.translation.customFields`, COALESCE(`product.deliveryTime.translation.customFields`,`product.deliveryTime.translation.customFields`) as `product.deliveryTime.customFields`, `product.deliveryTime.translation.createdAt`, `product.deliveryTime.translation.updatedAt`, `product.deliveryTime.translation.deliveryTimeId`, `product.deliveryTime.translation.languageId`, `product.cover`.`id` as `product.cover.id`, `product.cover`.`version_id` as `product.cover.versionId`, `product.cover`.`product_id` as `product.cover.productId`, `product.cover`.`product_version_id` as `product.cover.productVersionId`, `product.cover`.`media_id` as `product.cover.mediaId`, `product.cover`.`position` as `product.cover.position`, `product.cover.media`.`id` as `product.cover.media.id`, `product.cover.media`.`user_id` as `product.cover.media.userId`, `product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`, `product.cover.media`.`mime_type` as `product.cover.media.mimeType`, `product.cover.media`.`file_extension` as `product.cover.media.fileExtension`, `product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`, `product.cover.media`.`file_name` as `product.cover.media.fileName`, `product.cover.media`.`file_size` as `product.cover.media.fileSize`, `product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`, `product.cover.media`.`meta_data` as `product.cover.media.metaData`, `product.cover.media`.`private` as `product.cover.media.private`, `product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`, `product.cover.media`.`created_at` as `product.cover.media.createdAt`, `product.cover.media`.`updated_at` as `product.cover.media.updatedAt`, `product.cover.media.translation.title`, COALESCE(`product.cover.media.translation.title`,`product.cover.media.translation.title`) as `product.cover.media.title`, `product.cover.media.translation.alt`, COALESCE(`product.cover.media.translation.alt`,`product.cover.media.translation.alt`) as `product.cover.media.alt`, `product.cover.media.translation.customFields`, COALESCE(`product.cover.media.translation.customFields`,`product.cover.media.translation.customFields`) as `product.cover.media.customFields`, `product.cover.media.translation.createdAt`, `product.cover.media.translation.updatedAt`, `product.cover.media.translation.mediaId`, `product.cover.media.translation.languageId`, `product.cover`.`custom_fields` as `product.cover.customFields`, `product.cover`.`created_at` as `product.cover.createdAt`, `product.cover`.`updated_at` as `product.cover.updatedAt`, `product.translation.metaDescription`, `product.parent.translation.metaDescription`, COALESCE(`product.translation.metaDescription`,`product.parent.translation.metaDescription`,`product.translation.metaDescription`) as `product.metaDescription`, `product.translation.name`, `product.parent.translation.name`, COALESCE(`product.translation.name`,`product.parent.translation.name`,`product.translation.name`) as `product.name`, `product.translation.keywords`, `product.parent.translation.keywords`, COALESCE(`product.translation.keywords`,`product.parent.translation.keywords`,`product.translation.keywords`) as `product.keywords`, `product.translation.description`, `product.parent.translation.description`, COALESCE(`product.translation.description`,`product.parent.translation.description`,`product.translation.description`) as `product.description`, `product.translation.metaTitle`, `product.parent.translation.metaTitle`, COALESCE(`product.translation.metaTitle`,`product.parent.translation.metaTitle`,`product.translation.metaTitle`) as `product.metaTitle`, `product.translation.packUnit`, `product.parent.translation.packUnit`, COALESCE(`product.translation.packUnit`,`product.parent.translation.packUnit`,`product.translation.packUnit`) as `product.packUnit`, `product.translation.packUnitPlural`, `product.parent.translation.packUnitPlural`, COALESCE(`product.translation.packUnitPlural`,`product.parent.translation.packUnitPlural`,`product.translation.packUnitPlural`) as `product.packUnitPlural`, `product.translation.customSearchKeywords`, `product.parent.translation.customSearchKeywords`, COALESCE(`product.translation.customSearchKeywords`,`product.parent.translation.customSearchKeywords`,`product.translation.customSearchKeywords`) as `product.customSearchKeywords`, `product.translation.slotConfig`, `product.parent.translation.slotConfig`, COALESCE(`product.translation.slotConfig`,`product.parent.translation.slotConfig`,`product.translation.slotConfig`) as `product.slotConfig`, `product.translation.customFields`, `product.parent.translation.customFields`, COALESCE(`product.translation.customFields`,`product.parent.translation.customFields`,`product.translation.customFields`) as `product.customFields`, `product.translation.createdAt`, `product.parent.translation.createdAt`, `product.translation.updatedAt`, `product.parent.translation.updatedAt`, `product.translation.productId`, `product.parent.translation.productId`, `product.translation.languageId`, `product.parent.translation.languageId`, `product.translation.productVersionId`, `product.parent.translation.productVersionId` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN (SELECT `product.translation`.product_id, `product.translation`.product_version_id, `product.translation`.meta_description as `product.translation.metaDescription`, `product.translation`.name as `product.translation.name`, `product.translation`.keywords as `product.translation.keywords`, `product.translation`.description as `product.translation.description`, `product.translation`.meta_title as `product.translation.metaTitle`, `product.translation`.pack_unit as `product.translation.packUnit`, `product.translation`.pack_unit_plural as `product.translation.packUnitPlural`, `product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`, `product.translation`.slot_config as `product.translation.slotConfig`, `product.translation`.custom_fields as `product.translation.customFields`, `product.translation`.created_at as `product.translation.createdAt`, `product.translation`.updated_at as `product.translation.updatedAt`, `product.translation`.product_id as `product.translation.productId`, `product.translation`.language_id as `product.translation.languageId`, `product.translation`.product_version_id as `product.translation.productVersionId` FROM `product_translation` `product.translation` WHERE `product.translation`.language_id = :languageId) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id` AND `product.product_translation`.product_version_id = `product`.version_id LEFT JOIN (SELECT `product.parent.translation`.product_id, `product.parent.translation`.product_version_id, `product.parent.translation`.meta_description as `product.parent.translation.metaDescription`, `product.parent.translation`.name as `product.parent.translation.name`, `product.parent.translation`.keywords as `product.parent.translation.keywords`, `product.parent.translation`.description as `product.parent.translation.description`, `product.parent.translation`.meta_title as `product.parent.translation.metaTitle`, `product.parent.translation`.pack_unit as `product.parent.translation.packUnit`, `product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`, `product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`, `product.parent.translation`.slot_config as `product.parent.translation.slotConfig`, `product.parent.translation`.custom_fields as `product.parent.translation.customFields`, `product.parent.translation`.created_at as `product.parent.translation.createdAt`, `product.parent.translation`.updated_at as `product.parent.translation.updatedAt`, `product.parent.translation`.product_id as `product.parent.translation.productId`, `product.parent.translation`.language_id as `product.parent.translation.languageId`, `product.parent.translation`.product_version_id as `product.parent.translation.productVersionId` FROM `product_translation` `product.parent.translation` WHERE `product.parent.translation`.language_id = :languageId) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id` AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id` LEFT JOIN `unit` `product.unit` ON `product`.`unit` = `product.unit`.`id` LEFT JOIN `delivery_time` `product.deliveryTime` ON `product`.`deliveryTime` = `product.deliveryTime`.`id` LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id` AND `product`.`version_id` = `product.cover`.`version_id` LEFT JOIN (SELECT `product.unit.translation`.unit_id, `product.unit.translation`.short_code as `product.unit.translation.shortCode`, `product.unit.translation`.name as `product.unit.translation.name`, `product.unit.translation`.custom_fields as `product.unit.translation.customFields`, `product.unit.translation`.created_at as `product.unit.translation.createdAt`, `product.unit.translation`.updated_at as `product.unit.translation.updatedAt`, `product.unit.translation`.unit_id as `product.unit.translation.unitId`, `product.unit.translation`.language_id as `product.unit.translation.languageId` FROM `unit_translation` `product.unit.translation` WHERE `product.unit.translation`.language_id = :languageId) `product.unit.unit_translation` ON `product.unit.unit_translation`.`unit_id` = `product.unit`.`id` LEFT JOIN (SELECT `product.deliveryTime.translation`.delivery_time_id, `product.deliveryTime.translation`.name as `product.deliveryTime.translation.name`, `product.deliveryTime.translation`.custom_fields as `product.deliveryTime.translation.customFields`, `product.deliveryTime.translation`.created_at as `product.deliveryTime.translation.createdAt`, `product.deliveryTime.translation`.updated_at as `product.deliveryTime.translation.updatedAt`, `product.deliveryTime.translation`.delivery_time_id as `product.deliveryTime.translation.deliveryTimeId`, `product.deliveryTime.translation`.language_id as `product.deliveryTime.translation.languageId` FROM `delivery_time_translation` `product.deliveryTime.translation` WHERE `product.deliveryTime.translation`.language_id = :languageId) `product.deliveryTime.delivery_time_translation` ON `product.deliveryTime.delivery_time_translation`.`delivery_time_id` = `product.deliveryTime`.`id` LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id` LEFT JOIN (SELECT `product.cover.media.translation`.media_id, `product.cover.media.translation`.title as `product.cover.media.translation.title`, `product.cover.media.translation`.alt as `product.cover.media.translation.alt`, `product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`, `product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`, `product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`, `product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`, `product.cover.media.translation`.language_id as `product.cover.media.translation.languageId` FROM `media_translation` `product.cover.media.translation` WHERE `product.cover.media.translation`.language_id = :languageId) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id` WHERE (`product`.`version_id` = :version) AND (`product`.`id` IN (:ids))
SELECT
`product`.`id` as `product.id`,
`product`.`version_id` as `product.versionId`,
`product`.`parent_id` as `product.parentId`,
`product`.`parent_version_id` as `product.parentVersionId`,
COALESCE(
`product`.`product_manufacturer_id`,
`product.parent`.`product_manufacturer_id`
) as `product.manufacturerId`,
COALESCE(
`product`.`product_manufacturer_version_id`,
`product.parent`.`product_manufacturer_version_id`
) as `product.productManufacturerVersionId`,
COALESCE(
`product`.`unit_id`, `product.parent`.`unit_id`
) as `product.unitId`,
COALESCE(
`product`.`tax_id`, `product.parent`.`tax_id`
) as `product.taxId`,
COALESCE(
`product`.`product_media_id`, `product.parent`.`product_media_id`
) as `product.coverId`,
COALESCE(
`product`.`product_media_version_id`,
`product.parent`.`product_media_version_id`
) as `product.productMediaVersionId`,
COALESCE(
`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`
) as `product.deliveryTimeId`,
COALESCE(
`product`.`product_feature_set_id`,
`product.parent`.`product_feature_set_id`
) as `product.featureSetId`,
COALESCE(
`product`.`canonical_product_id`,
`product.parent`.`canonical_product_id`
) as `product.canonicalProductId`,
COALESCE(
`product`.`cms_page_id`, `product.parent`.`cms_page_id`
) as `product.cmsPageId`,
COALESCE(
`product`.`cms_page_version_id`,
`product.parent`.`cms_page_version_id`
) as `product.cmsPageVersionId`,
`product.parent`.`price` as `product.price.inherited`,
COALESCE(
`product`.`price`, `product.parent`.`price`
) as `product.price`,
`product`.`product_number` as `product.productNumber`,
`product`.`stock` as `product.stock`,
COALESCE(
`product`.`restock_time`, `product.parent`.`restock_time`
) as `product.restockTime`,
`product`.`auto_increment` as `product.autoIncrement`,
COALESCE(
`product`.`active`, `product.parent`.`active`
) as `product.active`,
`product`.`available_stock` as `product.availableStock`,
`product`.`available` as `product.available`,
COALESCE(
`product`.`is_closeout`, `product.parent`.`is_closeout`
) as `product.isCloseout`,
`product`.`display_group` as `product.displayGroup`,
`product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`,
COALESCE(
`product`.`configurator_group_config`,
`product.parent`.`configurator_group_config`
) as `product.configuratorGroupConfig`,
COALESCE(
`product`.`main_variant_id`, `product.parent`.`main_variant_id`
) as `product.mainVariantId`,
COALESCE(
`product`.`display_parent`, `product.parent`.`display_parent`
) as `product.displayParent`,
`product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`,
COALESCE(
`product`.`variant_listing_config`,
`product.parent`.`variant_listing_config`
) as `product.variantListingConfig`,
`product`.`variant_restrictions` as `product.variantRestrictions`,
COALESCE(
`product`.`manufacturer_number`,
`product.parent`.`manufacturer_number`
) as `product.manufacturerNumber`,
COALESCE(
`product`.`ean`, `product.parent`.`ean`
) as `product.ean`,
COALESCE(
`product`.`purchase_steps`, `product.parent`.`purchase_steps`
) as `product.purchaseSteps`,
COALESCE(
`product`.`max_purchase`, `product.parent`.`max_purchase`
) as `product.maxPurchase`,
COALESCE(
`product`.`min_purchase`, `product.parent`.`min_purchase`
) as `product.minPurchase`,
COALESCE(
`product`.`purchase_unit`, `product.parent`.`purchase_unit`
) as `product.purchaseUnit`,
COALESCE(
`product`.`reference_unit`, `product.parent`.`reference_unit`
) as `product.referenceUnit`,
COALESCE(
`product`.`shipping_free`, `product.parent`.`shipping_free`
) as `product.shippingFree`,
`product.parent`.`purchase_prices` as `product.purchasePrices.inherited`,
COALESCE(
`product`.`purchase_prices`, `product.parent`.`purchase_prices`
) as `product.purchasePrices`,
COALESCE(
`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`
) as `product.markAsTopseller`,
COALESCE(
`product`.`weight`, `product.parent`.`weight`
) as `product.weight`,
COALESCE(
`product`.`width`, `product.parent`.`width`
) as `product.width`,
COALESCE(
`product`.`height`, `product.parent`.`height`
) as `product.height`,
COALESCE(
`product`.`length`, `product.parent`.`length`
) as `product.length`,
COALESCE(
`product`.`release_date`, `product.parent`.`release_date`
) as `product.releaseDate`,
COALESCE(
`product`.`rating_average`, `product.parent`.`rating_average`
) as `product.ratingAverage`,
`product.parent`.`category_tree` as `product.categoryTree.inherited`,
COALESCE(
`product`.`category_tree`, `product.parent`.`category_tree`
) as `product.categoryTree`,
`product.parent`.`property_ids` as `product.propertyIds.inherited`,
COALESCE(
`product`.`property_ids`, `product.parent`.`property_ids`
) as `product.propertyIds`,
`product.parent`.`option_ids` as `product.optionIds.inherited`,
COALESCE(
`product`.`option_ids`, `product.parent`.`option_ids`
) as `product.optionIds`,
`product.parent`.`stream_ids` as `product.streamIds.inherited`,
COALESCE(
`product`.`stream_ids`, `product.parent`.`stream_ids`
) as `product.streamIds`,
`product.parent`.`tag_ids` as `product.tagIds.inherited`,
COALESCE(
`product`.`tag_ids`, `product.parent`.`tag_ids`
) as `product.tagIds`,
`product.parent`.`category_ids` as `product.categoryIds.inherited`,
COALESCE(
`product`.`category_ids`, `product.parent`.`category_ids`
) as `product.categoryIds`,
`product`.`child_count` as `product.childCount`,
COALESCE(
`product`.`custom_field_set_selection_active`,
`product.parent`.`custom_field_set_selection_active`
) as `product.customFieldSetSelectionActive`,
`product`.`sales` as `product.sales`,
`product`.`states` as `product.states`,
`product.tax`.`id` as `product.tax.id`,
`product.tax`.`tax_rate` as `product.tax.taxRate`,
`product.tax`.`name` as `product.tax.name`,
`product.tax`.`position` as `product.tax.position`,
`product.tax`.`custom_fields` as `product.tax.customFields`,
`product.tax`.`created_at` as `product.tax.createdAt`,
`product.tax`.`updated_at` as `product.tax.updatedAt`,
`product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`,
COALESCE(
`product`.`cheapest_price`, `product.parent`.`cheapest_price`
) as `product.cheapestPrice`,
`product`.`created_at` as `product.createdAt`,
`product`.`updated_at` as `product.updatedAt`,
`product.unit`.`id` as `product.unit.id`,
`product.unit`.`created_at` as `product.unit.createdAt`,
`product.unit`.`updated_at` as `product.unit.updatedAt`,
`product.unit.translation.shortCode`,
COALESCE(
`product.unit.translation.shortCode`,
`product.unit.translation.shortCode`
) as `product.unit.shortCode`,
`product.unit.translation.name`,
COALESCE(
`product.unit.translation.name`,
`product.unit.translation.name`
) as `product.unit.name`,
`product.unit.translation.customFields`,
COALESCE(
`product.unit.translation.customFields`,
`product.unit.translation.customFields`
) as `product.unit.customFields`,
`product.unit.translation.createdAt`,
`product.unit.translation.updatedAt`,
`product.unit.translation.unitId`,
`product.unit.translation.languageId`,
`product.deliveryTime`.`id` as `product.deliveryTime.id`,
`product.deliveryTime`.`min` as `product.deliveryTime.min`,
`product.deliveryTime`.`max` as `product.deliveryTime.max`,
`product.deliveryTime`.`unit` as `product.deliveryTime.unit`,
`product.deliveryTime`.`created_at` as `product.deliveryTime.createdAt`,
`product.deliveryTime`.`updated_at` as `product.deliveryTime.updatedAt`,
`product.deliveryTime.translation.name`,
COALESCE(
`product.deliveryTime.translation.name`,
`product.deliveryTime.translation.name`
) as `product.deliveryTime.name`,
`product.deliveryTime.translation.customFields`,
COALESCE(
`product.deliveryTime.translation.customFields`,
`product.deliveryTime.translation.customFields`
) as `product.deliveryTime.customFields`,
`product.deliveryTime.translation.createdAt`,
`product.deliveryTime.translation.updatedAt`,
`product.deliveryTime.translation.deliveryTimeId`,
`product.deliveryTime.translation.languageId`,
`product.cover`.`id` as `product.cover.id`,
`product.cover`.`version_id` as `product.cover.versionId`,
`product.cover`.`product_id` as `product.cover.productId`,
`product.cover`.`product_version_id` as `product.cover.productVersionId`,
`product.cover`.`media_id` as `product.cover.mediaId`,
`product.cover`.`position` as `product.cover.position`,
`product.cover.media`.`id` as `product.cover.media.id`,
`product.cover.media`.`user_id` as `product.cover.media.userId`,
`product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`,
`product.cover.media`.`mime_type` as `product.cover.media.mimeType`,
`product.cover.media`.`file_extension` as `product.cover.media.fileExtension`,
`product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`,
`product.cover.media`.`file_name` as `product.cover.media.fileName`,
`product.cover.media`.`file_size` as `product.cover.media.fileSize`,
`product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`,
`product.cover.media`.`meta_data` as `product.cover.media.metaData`,
`product.cover.media`.`private` as `product.cover.media.private`,
`product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`,
`product.cover.media`.`created_at` as `product.cover.media.createdAt`,
`product.cover.media`.`updated_at` as `product.cover.media.updatedAt`,
`product.cover.media.translation.title`,
COALESCE(
`product.cover.media.translation.title`,
`product.cover.media.translation.title`
) as `product.cover.media.title`,
`product.cover.media.translation.alt`,
COALESCE(
`product.cover.media.translation.alt`,
`product.cover.media.translation.alt`
) as `product.cover.media.alt`,
`product.cover.media.translation.customFields`,
COALESCE(
`product.cover.media.translation.customFields`,
`product.cover.media.translation.customFields`
) as `product.cover.media.customFields`,
`product.cover.media.translation.createdAt`,
`product.cover.media.translation.updatedAt`,
`product.cover.media.translation.mediaId`,
`product.cover.media.translation.languageId`,
`product.cover`.`custom_fields` as `product.cover.customFields`,
`product.cover`.`created_at` as `product.cover.createdAt`,
`product.cover`.`updated_at` as `product.cover.updatedAt`,
`product.translation.metaDescription`,
`product.parent.translation.metaDescription`,
COALESCE(
`product.translation.metaDescription`,
`product.parent.translation.metaDescription`,
`product.translation.metaDescription`
) as `product.metaDescription`,
`product.translation.name`,
`product.parent.translation.name`,
COALESCE(
`product.translation.name`, `product.parent.translation.name`,
`product.translation.name`
) as `product.name`,
`product.translation.keywords`,
`product.parent.translation.keywords`,
COALESCE(
`product.translation.keywords`,
`product.parent.translation.keywords`,
`product.translation.keywords`
) as `product.keywords`,
`product.translation.description`,
`product.parent.translation.description`,
COALESCE(
`product.translation.description`,
`product.parent.translation.description`,
`product.translation.description`
) as `product.description`,
`product.translation.metaTitle`,
`product.parent.translation.metaTitle`,
COALESCE(
`product.translation.metaTitle`,
`product.parent.translation.metaTitle`,
`product.translation.metaTitle`
) as `product.metaTitle`,
`product.translation.packUnit`,
`product.parent.translation.packUnit`,
COALESCE(
`product.translation.packUnit`,
`product.parent.translation.packUnit`,
`product.translation.packUnit`
) as `product.packUnit`,
`product.translation.packUnitPlural`,
`product.parent.translation.packUnitPlural`,
COALESCE(
`product.translation.packUnitPlural`,
`product.parent.translation.packUnitPlural`,
`product.translation.packUnitPlural`
) as `product.packUnitPlural`,
`product.translation.customSearchKeywords`,
`product.parent.translation.customSearchKeywords`,
COALESCE(
`product.translation.customSearchKeywords`,
`product.parent.translation.customSearchKeywords`,
`product.translation.customSearchKeywords`
) as `product.customSearchKeywords`,
`product.translation.slotConfig`,
`product.parent.translation.slotConfig`,
COALESCE(
`product.translation.slotConfig`,
`product.parent.translation.slotConfig`,
`product.translation.slotConfig`
) as `product.slotConfig`,
`product.translation.customFields`,
`product.parent.translation.customFields`,
COALESCE(
`product.translation.customFields`,
`product.parent.translation.customFields`,
`product.translation.customFields`
) as `product.customFields`,
`product.translation.createdAt`,
`product.parent.translation.createdAt`,
`product.translation.updatedAt`,
`product.parent.translation.updatedAt`,
`product.translation.productId`,
`product.parent.translation.productId`,
`product.translation.languageId`,
`product.parent.translation.languageId`,
`product.translation.productVersionId`,
`product.parent.translation.productVersionId`
FROM
`product`
LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id`
AND `product`.`version_id` = `product.parent`.`version_id`
LEFT JOIN (
SELECT
`product.translation`.product_id,
`product.translation`.product_version_id,
`product.translation`.meta_description as `product.translation.metaDescription`,
`product.translation`.name as `product.translation.name`,
`product.translation`.keywords as `product.translation.keywords`,
`product.translation`.description as `product.translation.description`,
`product.translation`.meta_title as `product.translation.metaTitle`,
`product.translation`.pack_unit as `product.translation.packUnit`,
`product.translation`.pack_unit_plural as `product.translation.packUnitPlural`,
`product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`,
`product.translation`.slot_config as `product.translation.slotConfig`,
`product.translation`.custom_fields as `product.translation.customFields`,
`product.translation`.created_at as `product.translation.createdAt`,
`product.translation`.updated_at as `product.translation.updatedAt`,
`product.translation`.product_id as `product.translation.productId`,
`product.translation`.language_id as `product.translation.languageId`,
`product.translation`.product_version_id as `product.translation.productVersionId`
FROM
`product_translation` `product.translation`
WHERE
`product.translation`.language_id = : languageId
) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id`
AND `product.product_translation`.product_version_id = `product`.version_id
LEFT JOIN (
SELECT
`product.parent.translation`.product_id,
`product.parent.translation`.product_version_id,
`product.parent.translation`.meta_description as `product.parent.translation.metaDescription`,
`product.parent.translation`.name as `product.parent.translation.name`,
`product.parent.translation`.keywords as `product.parent.translation.keywords`,
`product.parent.translation`.description as `product.parent.translation.description`,
`product.parent.translation`.meta_title as `product.parent.translation.metaTitle`,
`product.parent.translation`.pack_unit as `product.parent.translation.packUnit`,
`product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`,
`product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`,
`product.parent.translation`.slot_config as `product.parent.translation.slotConfig`,
`product.parent.translation`.custom_fields as `product.parent.translation.customFields`,
`product.parent.translation`.created_at as `product.parent.translation.createdAt`,
`product.parent.translation`.updated_at as `product.parent.translation.updatedAt`,
`product.parent.translation`.product_id as `product.parent.translation.productId`,
`product.parent.translation`.language_id as `product.parent.translation.languageId`,
`product.parent.translation`.product_version_id as `product.parent.translation.productVersionId`
FROM
`product_translation` `product.parent.translation`
WHERE
`product.parent.translation`.language_id = : languageId
) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id`
AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id
LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id`
LEFT JOIN `unit` `product.unit` ON `product`.`unit` = `product.unit`.`id`
LEFT JOIN `delivery_time` `product.deliveryTime` ON `product`.`deliveryTime` = `product.deliveryTime`.`id`
LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id`
AND `product`.`version_id` = `product.cover`.`version_id`
LEFT JOIN (
SELECT
`product.unit.translation`.unit_id,
`product.unit.translation`.short_code as `product.unit.translation.shortCode`,
`product.unit.translation`.name as `product.unit.translation.name`,
`product.unit.translation`.custom_fields as `product.unit.translation.customFields`,
`product.unit.translation`.created_at as `product.unit.translation.createdAt`,
`product.unit.translation`.updated_at as `product.unit.translation.updatedAt`,
`product.unit.translation`.unit_id as `product.unit.translation.unitId`,
`product.unit.translation`.language_id as `product.unit.translation.languageId`
FROM
`unit_translation` `product.unit.translation`
WHERE
`product.unit.translation`.language_id = : languageId
) `product.unit.unit_translation` ON `product.unit.unit_translation`.`unit_id` = `product.unit`.`id`
LEFT JOIN (
SELECT
`product.deliveryTime.translation`.delivery_time_id,
`product.deliveryTime.translation`.name as `product.deliveryTime.translation.name`,
`product.deliveryTime.translation`.custom_fields as `product.deliveryTime.translation.customFields`,
`product.deliveryTime.translation`.created_at as `product.deliveryTime.translation.createdAt`,
`product.deliveryTime.translation`.updated_at as `product.deliveryTime.translation.updatedAt`,
`product.deliveryTime.translation`.delivery_time_id as `product.deliveryTime.translation.deliveryTimeId`,
`product.deliveryTime.translation`.language_id as `product.deliveryTime.translation.languageId`
FROM
`delivery_time_translation` `product.deliveryTime.translation`
WHERE
`product.deliveryTime.translation`.language_id = : languageId
) `product.deliveryTime.delivery_time_translation` ON `product.deliveryTime.delivery_time_translation`.`delivery_time_id` = `product.deliveryTime`.`id`
LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id`
LEFT JOIN (
SELECT
`product.cover.media.translation`.media_id,
`product.cover.media.translation`.title as `product.cover.media.translation.title`,
`product.cover.media.translation`.alt as `product.cover.media.translation.alt`,
`product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`,
`product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`,
`product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`,
`product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`,
`product.cover.media.translation`.language_id as `product.cover.media.translation.languageId`
FROM
`media_translation` `product.cover.media.translation`
WHERE
`product.cover.media.translation`.language_id = : languageId
) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id`
WHERE
(
`product`.`version_id` = : version
)
AND (
`product`.`id` IN (: ids)
)
SELECT `product`.`id` as `product.id`, `product`.`version_id` as `product.versionId`, `product`.`parent_id` as `product.parentId`, `product`.`parent_version_id` as `product.parentVersionId`, COALESCE(`product`.`product_manufacturer_id`, `product.parent`.`product_manufacturer_id`) as `product.manufacturerId`, COALESCE(`product`.`product_manufacturer_version_id`, `product.parent`.`product_manufacturer_version_id`) as `product.productManufacturerVersionId`, COALESCE(`product`.`unit_id`, `product.parent`.`unit_id`) as `product.unitId`, COALESCE(`product`.`tax_id`, `product.parent`.`tax_id`) as `product.taxId`, COALESCE(`product`.`product_media_id`, `product.parent`.`product_media_id`) as `product.coverId`, COALESCE(`product`.`product_media_version_id`, `product.parent`.`product_media_version_id`) as `product.productMediaVersionId`, COALESCE(`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`) as `product.deliveryTimeId`, COALESCE(`product`.`product_feature_set_id`, `product.parent`.`product_feature_set_id`) as `product.featureSetId`, COALESCE(`product`.`canonical_product_id`, `product.parent`.`canonical_product_id`) as `product.canonicalProductId`, COALESCE(`product`.`cms_page_id`, `product.parent`.`cms_page_id`) as `product.cmsPageId`, COALESCE(`product`.`cms_page_version_id`, `product.parent`.`cms_page_version_id`) as `product.cmsPageVersionId`, `product.parent`.`price` as `product.price.inherited`, COALESCE(`product`.`price`, `product.parent`.`price`) as `product.price`, `product`.`product_number` as `product.productNumber`, `product`.`stock` as `product.stock`, COALESCE(`product`.`restock_time`, `product.parent`.`restock_time`) as `product.restockTime`, `product`.`auto_increment` as `product.autoIncrement`, COALESCE(`product`.`active`, `product.parent`.`active`) as `product.active`, `product`.`available_stock` as `product.availableStock`, `product`.`available` as `product.available`, COALESCE(`product`.`is_closeout`, `product.parent`.`is_closeout`) as `product.isCloseout`, `product`.`display_group` as `product.displayGroup`, `product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`, COALESCE(`product`.`configurator_group_config`, `product.parent`.`configurator_group_config`) as `product.configuratorGroupConfig`, COALESCE(`product`.`main_variant_id`, `product.parent`.`main_variant_id`) as `product.mainVariantId`, COALESCE(`product`.`display_parent`, `product.parent`.`display_parent`) as `product.displayParent`, `product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`, COALESCE(`product`.`variant_listing_config`, `product.parent`.`variant_listing_config`) as `product.variantListingConfig`, `product`.`variant_restrictions` as `product.variantRestrictions`, COALESCE(`product`.`manufacturer_number`, `product.parent`.`manufacturer_number`) as `product.manufacturerNumber`, COALESCE(`product`.`ean`, `product.parent`.`ean`) as `product.ean`, COALESCE(`product`.`purchase_steps`, `product.parent`.`purchase_steps`) as `product.purchaseSteps`, COALESCE(`product`.`max_purchase`, `product.parent`.`max_purchase`) as `product.maxPurchase`, COALESCE(`product`.`min_purchase`, `product.parent`.`min_purchase`) as `product.minPurchase`, COALESCE(`product`.`purchase_unit`, `product.parent`.`purchase_unit`) as `product.purchaseUnit`, COALESCE(`product`.`reference_unit`, `product.parent`.`reference_unit`) as `product.referenceUnit`, COALESCE(`product`.`shipping_free`, `product.parent`.`shipping_free`) as `product.shippingFree`, `product.parent`.`purchase_prices` as `product.purchasePrices.inherited`, COALESCE(`product`.`purchase_prices`, `product.parent`.`purchase_prices`) as `product.purchasePrices`, COALESCE(`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`) as `product.markAsTopseller`, COALESCE(`product`.`weight`, `product.parent`.`weight`) as `product.weight`, COALESCE(`product`.`width`, `product.parent`.`width`) as `product.width`, COALESCE(`product`.`height`, `product.parent`.`height`) as `product.height`, COALESCE(`product`.`length`, `product.parent`.`length`) as `product.length`, COALESCE(`product`.`release_date`, `product.parent`.`release_date`) as `product.releaseDate`, COALESCE(`product`.`rating_average`, `product.parent`.`rating_average`) as `product.ratingAverage`, `product.parent`.`category_tree` as `product.categoryTree.inherited`, COALESCE(`product`.`category_tree`, `product.parent`.`category_tree`) as `product.categoryTree`, `product.parent`.`property_ids` as `product.propertyIds.inherited`, COALESCE(`product`.`property_ids`, `product.parent`.`property_ids`) as `product.propertyIds`, `product.parent`.`option_ids` as `product.optionIds.inherited`, COALESCE(`product`.`option_ids`, `product.parent`.`option_ids`) as `product.optionIds`, `product.parent`.`stream_ids` as `product.streamIds.inherited`, COALESCE(`product`.`stream_ids`, `product.parent`.`stream_ids`) as `product.streamIds`, `product.parent`.`tag_ids` as `product.tagIds.inherited`, COALESCE(`product`.`tag_ids`, `product.parent`.`tag_ids`) as `product.tagIds`, `product.parent`.`category_ids` as `product.categoryIds.inherited`, COALESCE(`product`.`category_ids`, `product.parent`.`category_ids`) as `product.categoryIds`, `product`.`child_count` as `product.childCount`, COALESCE(`product`.`custom_field_set_selection_active`, `product.parent`.`custom_field_set_selection_active`) as `product.customFieldSetSelectionActive`, `product`.`sales` as `product.sales`, `product`.`states` as `product.states`, `product.tax`.`id` as `product.tax.id`, `product.tax`.`tax_rate` as `product.tax.taxRate`, `product.tax`.`name` as `product.tax.name`, `product.tax`.`position` as `product.tax.position`, `product.tax`.`custom_fields` as `product.tax.customFields`, `product.tax`.`created_at` as `product.tax.createdAt`, `product.tax`.`updated_at` as `product.tax.updatedAt`, `product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`, COALESCE(`product`.`cheapest_price`, `product.parent`.`cheapest_price`) as `product.cheapestPrice`, `product`.`created_at` as `product.createdAt`, `product`.`updated_at` as `product.updatedAt`, `product.unit`.`id` as `product.unit.id`, `product.unit`.`created_at` as `product.unit.createdAt`, `product.unit`.`updated_at` as `product.unit.updatedAt`, `product.unit.translation.shortCode`, COALESCE(`product.unit.translation.shortCode`,`product.unit.translation.shortCode`) as `product.unit.shortCode`, `product.unit.translation.name`, COALESCE(`product.unit.translation.name`,`product.unit.translation.name`) as `product.unit.name`, `product.unit.translation.customFields`, COALESCE(`product.unit.translation.customFields`,`product.unit.translation.customFields`) as `product.unit.customFields`, `product.unit.translation.createdAt`, `product.unit.translation.updatedAt`, `product.unit.translation.unitId`, `product.unit.translation.languageId`, `product.deliveryTime`.`id` as `product.deliveryTime.id`, `product.deliveryTime`.`min` as `product.deliveryTime.min`, `product.deliveryTime`.`max` as `product.deliveryTime.max`, `product.deliveryTime`.`unit` as `product.deliveryTime.unit`, `product.deliveryTime`.`created_at` as `product.deliveryTime.createdAt`, `product.deliveryTime`.`updated_at` as `product.deliveryTime.updatedAt`, `product.deliveryTime.translation.name`, COALESCE(`product.deliveryTime.translation.name`,`product.deliveryTime.translation.name`) as `product.deliveryTime.name`, `product.deliveryTime.translation.customFields`, COALESCE(`product.deliveryTime.translation.customFields`,`product.deliveryTime.translation.customFields`) as `product.deliveryTime.customFields`, `product.deliveryTime.translation.createdAt`, `product.deliveryTime.translation.updatedAt`, `product.deliveryTime.translation.deliveryTimeId`, `product.deliveryTime.translation.languageId`, `product.cover`.`id` as `product.cover.id`, `product.cover`.`version_id` as `product.cover.versionId`, `product.cover`.`product_id` as `product.cover.productId`, `product.cover`.`product_version_id` as `product.cover.productVersionId`, `product.cover`.`media_id` as `product.cover.mediaId`, `product.cover`.`position` as `product.cover.position`, `product.cover.media`.`id` as `product.cover.media.id`, `product.cover.media`.`user_id` as `product.cover.media.userId`, `product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`, `product.cover.media`.`mime_type` as `product.cover.media.mimeType`, `product.cover.media`.`file_extension` as `product.cover.media.fileExtension`, `product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`, `product.cover.media`.`file_name` as `product.cover.media.fileName`, `product.cover.media`.`file_size` as `product.cover.media.fileSize`, `product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`, `product.cover.media`.`meta_data` as `product.cover.media.metaData`, `product.cover.media`.`private` as `product.cover.media.private`, `product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`, `product.cover.media`.`created_at` as `product.cover.media.createdAt`, `product.cover.media`.`updated_at` as `product.cover.media.updatedAt`, `product.cover.media.translation.title`, COALESCE(`product.cover.media.translation.title`,`product.cover.media.translation.title`) as `product.cover.media.title`, `product.cover.media.translation.alt`, COALESCE(`product.cover.media.translation.alt`,`product.cover.media.translation.alt`) as `product.cover.media.alt`, `product.cover.media.translation.customFields`, COALESCE(`product.cover.media.translation.customFields`,`product.cover.media.translation.customFields`) as `product.cover.media.customFields`, `product.cover.media.translation.createdAt`, `product.cover.media.translation.updatedAt`, `product.cover.media.translation.mediaId`, `product.cover.media.translation.languageId`, `product.cover`.`custom_fields` as `product.cover.customFields`, `product.cover`.`created_at` as `product.cover.createdAt`, `product.cover`.`updated_at` as `product.cover.updatedAt`, `product.translation.metaDescription`, `product.parent.translation.metaDescription`, COALESCE(`product.translation.metaDescription`,`product.parent.translation.metaDescription`,`product.translation.metaDescription`) as `product.metaDescription`, `product.translation.name`, `product.parent.translation.name`, COALESCE(`product.translation.name`,`product.parent.translation.name`,`product.translation.name`) as `product.name`, `product.translation.keywords`, `product.parent.translation.keywords`, COALESCE(`product.translation.keywords`,`product.parent.translation.keywords`,`product.translation.keywords`) as `product.keywords`, `product.translation.description`, `product.parent.translation.description`, COALESCE(`product.translation.description`,`product.parent.translation.description`,`product.translation.description`) as `product.description`, `product.translation.metaTitle`, `product.parent.translation.metaTitle`, COALESCE(`product.translation.metaTitle`,`product.parent.translation.metaTitle`,`product.translation.metaTitle`) as `product.metaTitle`, `product.translation.packUnit`, `product.parent.translation.packUnit`, COALESCE(`product.translation.packUnit`,`product.parent.translation.packUnit`,`product.translation.packUnit`) as `product.packUnit`, `product.translation.packUnitPlural`, `product.parent.translation.packUnitPlural`, COALESCE(`product.translation.packUnitPlural`,`product.parent.translation.packUnitPlural`,`product.translation.packUnitPlural`) as `product.packUnitPlural`, `product.translation.customSearchKeywords`, `product.parent.translation.customSearchKeywords`, COALESCE(`product.translation.customSearchKeywords`,`product.parent.translation.customSearchKeywords`,`product.translation.customSearchKeywords`) as `product.customSearchKeywords`, `product.translation.slotConfig`, `product.parent.translation.slotConfig`, COALESCE(`product.translation.slotConfig`,`product.parent.translation.slotConfig`,`product.translation.slotConfig`) as `product.slotConfig`, `product.translation.customFields`, `product.parent.translation.customFields`, COALESCE(`product.translation.customFields`,`product.parent.translation.customFields`,`product.translation.customFields`) as `product.customFields`, `product.translation.createdAt`, `product.parent.translation.createdAt`, `product.translation.updatedAt`, `product.parent.translation.updatedAt`, `product.translation.productId`, `product.parent.translation.productId`, `product.translation.languageId`, `product.parent.translation.languageId`, `product.translation.productVersionId`, `product.parent.translation.productVersionId` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN (SELECT `product.translation`.product_id, `product.translation`.product_version_id, `product.translation`.meta_description as `product.translation.metaDescription`, `product.translation`.name as `product.translation.name`, `product.translation`.keywords as `product.translation.keywords`, `product.translation`.description as `product.translation.description`, `product.translation`.meta_title as `product.translation.metaTitle`, `product.translation`.pack_unit as `product.translation.packUnit`, `product.translation`.pack_unit_plural as `product.translation.packUnitPlural`, `product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`, `product.translation`.slot_config as `product.translation.slotConfig`, `product.translation`.custom_fields as `product.translation.customFields`, `product.translation`.created_at as `product.translation.createdAt`, `product.translation`.updated_at as `product.translation.updatedAt`, `product.translation`.product_id as `product.translation.productId`, `product.translation`.language_id as `product.translation.languageId`, `product.translation`.product_version_id as `product.translation.productVersionId` FROM `product_translation` `product.translation` WHERE `product.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id` AND `product.product_translation`.product_version_id = `product`.version_id LEFT JOIN (SELECT `product.parent.translation`.product_id, `product.parent.translation`.product_version_id, `product.parent.translation`.meta_description as `product.parent.translation.metaDescription`, `product.parent.translation`.name as `product.parent.translation.name`, `product.parent.translation`.keywords as `product.parent.translation.keywords`, `product.parent.translation`.description as `product.parent.translation.description`, `product.parent.translation`.meta_title as `product.parent.translation.metaTitle`, `product.parent.translation`.pack_unit as `product.parent.translation.packUnit`, `product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`, `product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`, `product.parent.translation`.slot_config as `product.parent.translation.slotConfig`, `product.parent.translation`.custom_fields as `product.parent.translation.customFields`, `product.parent.translation`.created_at as `product.parent.translation.createdAt`, `product.parent.translation`.updated_at as `product.parent.translation.updatedAt`, `product.parent.translation`.product_id as `product.parent.translation.productId`, `product.parent.translation`.language_id as `product.parent.translation.languageId`, `product.parent.translation`.product_version_id as `product.parent.translation.productVersionId` FROM `product_translation` `product.parent.translation` WHERE `product.parent.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id` AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id` LEFT JOIN `unit` `product.unit` ON `product`.`unit` = `product.unit`.`id` LEFT JOIN `delivery_time` `product.deliveryTime` ON `product`.`deliveryTime` = `product.deliveryTime`.`id` LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id` AND `product`.`version_id` = `product.cover`.`version_id` LEFT JOIN (SELECT `product.unit.translation`.unit_id, `product.unit.translation`.short_code as `product.unit.translation.shortCode`, `product.unit.translation`.name as `product.unit.translation.name`, `product.unit.translation`.custom_fields as `product.unit.translation.customFields`, `product.unit.translation`.created_at as `product.unit.translation.createdAt`, `product.unit.translation`.updated_at as `product.unit.translation.updatedAt`, `product.unit.translation`.unit_id as `product.unit.translation.unitId`, `product.unit.translation`.language_id as `product.unit.translation.languageId` FROM `unit_translation` `product.unit.translation` WHERE `product.unit.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.unit.unit_translation` ON `product.unit.unit_translation`.`unit_id` = `product.unit`.`id` LEFT JOIN (SELECT `product.deliveryTime.translation`.delivery_time_id, `product.deliveryTime.translation`.name as `product.deliveryTime.translation.name`, `product.deliveryTime.translation`.custom_fields as `product.deliveryTime.translation.customFields`, `product.deliveryTime.translation`.created_at as `product.deliveryTime.translation.createdAt`, `product.deliveryTime.translation`.updated_at as `product.deliveryTime.translation.updatedAt`, `product.deliveryTime.translation`.delivery_time_id as `product.deliveryTime.translation.deliveryTimeId`, `product.deliveryTime.translation`.language_id as `product.deliveryTime.translation.languageId` FROM `delivery_time_translation` `product.deliveryTime.translation` WHERE `product.deliveryTime.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.deliveryTime.delivery_time_translation` ON `product.deliveryTime.delivery_time_translation`.`delivery_time_id` = `product.deliveryTime`.`id` LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id` LEFT JOIN (SELECT `product.cover.media.translation`.media_id, `product.cover.media.translation`.title as `product.cover.media.translation.title`, `product.cover.media.translation`.alt as `product.cover.media.translation.alt`, `product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`, `product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`, `product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`, `product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`, `product.cover.media.translation`.language_id as `product.cover.media.translation.languageId` FROM `media_translation` `product.cover.media.translation` WHERE `product.cover.media.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id` WHERE (`product`.`version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425) AND (`product`.`id` IN (0x2574C1D75A5F48D8B04E4F0ACEE29E06));
array:37 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 242)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 316)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetch (line 148)"
4 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 93)"
5 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::read (line 195)"
6 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::read (line 133)"
7 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 36)"
8 => "Swag\PayPal\Util\Compatibility\SalesChannelRepositoryDecorator::search (line 207)"
9 => "Tds\MerwareDiscounts\Cart\Checkout\OverwrittenPriceCollector::getSalesChannelProduct (line 93)"
10 => "Tds\MerwareDiscounts\Cart\Checkout\OverwrittenPriceCollector::collect (line 103)"
11 => "Shopware\Core\Checkout\Cart\Processor::runProcessors (line 67)"
12 => "Shopware\Core\Checkout\Cart\Processor::Shopware\Core\Checkout\Cart\{closure} (line 59)"
13 => "Shopware\Core\Profiling\Profiler::trace (line 86)"
14 => "Shopware\Core\Checkout\Cart\Processor::process (line 132)"
15 => "Shopware\Core\Checkout\Cart\CartRuleLoader::Shopware\Core\Checkout\Cart\{closure} (line 59)"
16 => "Shopware\Core\Profiling\Profiler::trace (line 183)"
17 => "Shopware\Core\Checkout\Cart\CartRuleLoader::load (line 83)"
18 => "Shopware\Core\Checkout\Cart\CartRuleLoader::loadByToken (line 106)"
19 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::Shopware\Core\System\SalesChannel\Context\{closure} (line 59)"
20 => "Shopware\Core\Profiling\Profiler::trace (line 111)"
21 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::get (line 105)"
22 => "Shopware\Core\Framework\Routing\SalesChannelRequestContextResolver::resolve (line 38)"
23 => "Shopware\Core\Framework\Routing\ContextResolverListener::resolveContext (line 118)"
24 => "Symfony\Component\EventDispatcher\Debug\WrappedListener::__invoke (line 230)"
25 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
26 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
27 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
28 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
29 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
30 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
31 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 151)"
32 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
33 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
34 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
35 => "Shopware\Core\HttpKernel::doHandle (line 81)"
36 => "Shopware\Core\HttpKernel::handle (line 85)"
]
|
57 |
0.68 ms |
SELECT `product_price`.`id` as `product_price.id`, `product_price`.`version_id` as `product_price.versionId`, `product_price`.`product_id` as `product_price.productId`, `product_price`.`product_version_id` as `product_price.productVersionId`, `product_price`.`rule_id` as `product_price.ruleId`, `product_price`.`price` as `product_price.price`, `product_price`.`quantity_start` as `product_price.quantityStart`, `product_price`.`quantity_end` as `product_price.quantityEnd`, `product_price`.`custom_fields` as `product_price.customFields`, `product_price`.`created_at` as `product_price.createdAt`, `product_price`.`updated_at` as `product_price.updatedAt` FROM `product_price` WHERE (`product_price`.`version_id` = :version) AND ((`product_price`.`product_id` IN (:param_52febff0ee7c4929b14850559e06e65e)))
SELECT `product_price`.`id` as `product_price.id`, `product_price`.`version_id` as `product_price.versionId`, `product_price`.`product_id` as `product_price.productId`, `product_price`.`product_version_id` as `product_price.productVersionId`, `product_price`.`rule_id` as `product_price.ruleId`, `product_price`.`price` as `product_price.price`, `product_price`.`quantity_start` as `product_price.quantityStart`, `product_price`.`quantity_end` as `product_price.quantityEnd`, `product_price`.`custom_fields` as `product_price.customFields`, `product_price`.`created_at` as `product_price.createdAt`, `product_price`.`updated_at` as `product_price.updatedAt` FROM `product_price` WHERE (`product_price`.`version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425) AND ((`product_price`.`product_id` IN (0x2574C1D75A5F48D8B04E4F0ACEE29E06, 0xA8012483872748DEA1CD57A9ABF1D807)));
array:41 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 242)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 316)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetch (line 148)"
4 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 503)"
5 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::loadOneToManyWithoutPagination (line 438)"
6 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::loadOneToMany (line 1210)"
7 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetchAssociations (line 152)"
8 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 93)"
9 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::read (line 195)"
10 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::read (line 133)"
11 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 36)"
12 => "Swag\PayPal\Util\Compatibility\SalesChannelRepositoryDecorator::search (line 207)"
13 => "Tds\MerwareDiscounts\Cart\Checkout\OverwrittenPriceCollector::getSalesChannelProduct (line 93)"
14 => "Tds\MerwareDiscounts\Cart\Checkout\OverwrittenPriceCollector::collect (line 103)"
15 => "Shopware\Core\Checkout\Cart\Processor::runProcessors (line 67)"
16 => "Shopware\Core\Checkout\Cart\Processor::Shopware\Core\Checkout\Cart\{closure} (line 59)"
17 => "Shopware\Core\Profiling\Profiler::trace (line 86)"
18 => "Shopware\Core\Checkout\Cart\Processor::process (line 132)"
19 => "Shopware\Core\Checkout\Cart\CartRuleLoader::Shopware\Core\Checkout\Cart\{closure} (line 59)"
20 => "Shopware\Core\Profiling\Profiler::trace (line 183)"
21 => "Shopware\Core\Checkout\Cart\CartRuleLoader::load (line 83)"
22 => "Shopware\Core\Checkout\Cart\CartRuleLoader::loadByToken (line 106)"
23 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::Shopware\Core\System\SalesChannel\Context\{closure} (line 59)"
24 => "Shopware\Core\Profiling\Profiler::trace (line 111)"
25 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::get (line 105)"
26 => "Shopware\Core\Framework\Routing\SalesChannelRequestContextResolver::resolve (line 38)"
27 => "Shopware\Core\Framework\Routing\ContextResolverListener::resolveContext (line 118)"
28 => "Symfony\Component\EventDispatcher\Debug\WrappedListener::__invoke (line 230)"
29 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
30 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
31 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
32 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
33 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
34 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
35 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 151)"
36 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
37 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
38 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
39 => "Shopware\Core\HttpKernel::doHandle (line 81)"
40 => "Shopware\Core\HttpKernel::handle (line 85)"
]
|
58 |
0.37 ms |
SELECT `product`.`id`, `product`.`product_number`, `product`.`auto_increment` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN `product_visibility` `product.visibilities` ON `product`.`visibilities` = `product.visibilities`.`product_id` AND `product`.version_id = `product.visibilities`.product_version_id WHERE (`product`.`version_id` = :version) AND ((((`product.visibilities`.`visibility` >= :param_eceac759196b4496bda557fe82e3b663) AND `product.visibilities`.`sales_channel_id` = :param_246a6c2592224447bdb3bddd6d346e21 AND IFNULL(`product`.`active`, `product.parent`.`active`) = :param_27eef650cc2040afa43a05475b3bad4a))) AND (`product`.`id` IN (:ids)) GROUP BY `product`.`id`
SELECT `product`.`id`, `product`.`product_number`, `product`.`auto_increment` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN `product_visibility` `product.visibilities` ON `product`.`visibilities` = `product.visibilities`.`product_id` AND `product`.version_id = `product.visibilities`.product_version_id WHERE (`product`.`version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425) AND ((((`product.visibilities`.`visibility` >= 10) AND `product.visibilities`.`sales_channel_id` = 0x4EB9108BE4654CC9B140D14DE85579E9 AND IFNULL(`product`.`active`, `product.parent`.`active`) = 1))) AND (`product`.`id` IN (0xA6E1388B6C9243DA9DBEC02164D64E63)) GROUP BY `product`.`id`;
array:36 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 242)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 107)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntitySearcher::search (line 62)"
4 => "Shopware\Elasticsearch\Framework\DataAbstractionLayer\ElasticsearchEntitySearcher::search (line 216)"
5 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::doSearch (line 122)"
6 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 36)"
7 => "Swag\PayPal\Util\Compatibility\SalesChannelRepositoryDecorator::search (line 207)"
8 => "Tds\MerwareDiscounts\Cart\Checkout\OverwrittenPriceCollector::getSalesChannelProduct (line 93)"
9 => "Tds\MerwareDiscounts\Cart\Checkout\OverwrittenPriceCollector::collect (line 103)"
10 => "Shopware\Core\Checkout\Cart\Processor::runProcessors (line 67)"
11 => "Shopware\Core\Checkout\Cart\Processor::Shopware\Core\Checkout\Cart\{closure} (line 59)"
12 => "Shopware\Core\Profiling\Profiler::trace (line 86)"
13 => "Shopware\Core\Checkout\Cart\Processor::process (line 132)"
14 => "Shopware\Core\Checkout\Cart\CartRuleLoader::Shopware\Core\Checkout\Cart\{closure} (line 59)"
15 => "Shopware\Core\Profiling\Profiler::trace (line 183)"
16 => "Shopware\Core\Checkout\Cart\CartRuleLoader::load (line 83)"
17 => "Shopware\Core\Checkout\Cart\CartRuleLoader::loadByToken (line 106)"
18 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::Shopware\Core\System\SalesChannel\Context\{closure} (line 59)"
19 => "Shopware\Core\Profiling\Profiler::trace (line 111)"
20 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::get (line 105)"
21 => "Shopware\Core\Framework\Routing\SalesChannelRequestContextResolver::resolve (line 38)"
22 => "Shopware\Core\Framework\Routing\ContextResolverListener::resolveContext (line 118)"
23 => "Symfony\Component\EventDispatcher\Debug\WrappedListener::__invoke (line 230)"
24 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
25 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
26 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
27 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
28 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
29 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
30 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 151)"
31 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
32 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
33 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
34 => "Shopware\Core\HttpKernel::doHandle (line 81)"
35 => "Shopware\Core\HttpKernel::handle (line 85)"
]
|
59 |
10.71 ms |
SELECT `product`.`id` as `product.id`, `product`.`version_id` as `product.versionId`, `product`.`parent_id` as `product.parentId`, `product`.`parent_version_id` as `product.parentVersionId`, COALESCE(`product`.`product_manufacturer_id`, `product.parent`.`product_manufacturer_id`) as `product.manufacturerId`, COALESCE(`product`.`product_manufacturer_version_id`, `product.parent`.`product_manufacturer_version_id`) as `product.productManufacturerVersionId`, COALESCE(`product`.`unit_id`, `product.parent`.`unit_id`) as `product.unitId`, COALESCE(`product`.`tax_id`, `product.parent`.`tax_id`) as `product.taxId`, COALESCE(`product`.`product_media_id`, `product.parent`.`product_media_id`) as `product.coverId`, COALESCE(`product`.`product_media_version_id`, `product.parent`.`product_media_version_id`) as `product.productMediaVersionId`, COALESCE(`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`) as `product.deliveryTimeId`, COALESCE(`product`.`product_feature_set_id`, `product.parent`.`product_feature_set_id`) as `product.featureSetId`, COALESCE(`product`.`canonical_product_id`, `product.parent`.`canonical_product_id`) as `product.canonicalProductId`, COALESCE(`product`.`cms_page_id`, `product.parent`.`cms_page_id`) as `product.cmsPageId`, COALESCE(`product`.`cms_page_version_id`, `product.parent`.`cms_page_version_id`) as `product.cmsPageVersionId`, `product.parent`.`price` as `product.price.inherited`, COALESCE(`product`.`price`, `product.parent`.`price`) as `product.price`, `product`.`product_number` as `product.productNumber`, `product`.`stock` as `product.stock`, COALESCE(`product`.`restock_time`, `product.parent`.`restock_time`) as `product.restockTime`, `product`.`auto_increment` as `product.autoIncrement`, COALESCE(`product`.`active`, `product.parent`.`active`) as `product.active`, `product`.`available_stock` as `product.availableStock`, `product`.`available` as `product.available`, COALESCE(`product`.`is_closeout`, `product.parent`.`is_closeout`) as `product.isCloseout`, `product`.`display_group` as `product.displayGroup`, `product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`, COALESCE(`product`.`configurator_group_config`, `product.parent`.`configurator_group_config`) as `product.configuratorGroupConfig`, COALESCE(`product`.`main_variant_id`, `product.parent`.`main_variant_id`) as `product.mainVariantId`, COALESCE(`product`.`display_parent`, `product.parent`.`display_parent`) as `product.displayParent`, `product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`, COALESCE(`product`.`variant_listing_config`, `product.parent`.`variant_listing_config`) as `product.variantListingConfig`, `product`.`variant_restrictions` as `product.variantRestrictions`, COALESCE(`product`.`manufacturer_number`, `product.parent`.`manufacturer_number`) as `product.manufacturerNumber`, COALESCE(`product`.`ean`, `product.parent`.`ean`) as `product.ean`, COALESCE(`product`.`purchase_steps`, `product.parent`.`purchase_steps`) as `product.purchaseSteps`, COALESCE(`product`.`max_purchase`, `product.parent`.`max_purchase`) as `product.maxPurchase`, COALESCE(`product`.`min_purchase`, `product.parent`.`min_purchase`) as `product.minPurchase`, COALESCE(`product`.`purchase_unit`, `product.parent`.`purchase_unit`) as `product.purchaseUnit`, COALESCE(`product`.`reference_unit`, `product.parent`.`reference_unit`) as `product.referenceUnit`, COALESCE(`product`.`shipping_free`, `product.parent`.`shipping_free`) as `product.shippingFree`, `product.parent`.`purchase_prices` as `product.purchasePrices.inherited`, COALESCE(`product`.`purchase_prices`, `product.parent`.`purchase_prices`) as `product.purchasePrices`, COALESCE(`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`) as `product.markAsTopseller`, COALESCE(`product`.`weight`, `product.parent`.`weight`) as `product.weight`, COALESCE(`product`.`width`, `product.parent`.`width`) as `product.width`, COALESCE(`product`.`height`, `product.parent`.`height`) as `product.height`, COALESCE(`product`.`length`, `product.parent`.`length`) as `product.length`, COALESCE(`product`.`release_date`, `product.parent`.`release_date`) as `product.releaseDate`, COALESCE(`product`.`rating_average`, `product.parent`.`rating_average`) as `product.ratingAverage`, `product.parent`.`category_tree` as `product.categoryTree.inherited`, COALESCE(`product`.`category_tree`, `product.parent`.`category_tree`) as `product.categoryTree`, `product.parent`.`property_ids` as `product.propertyIds.inherited`, COALESCE(`product`.`property_ids`, `product.parent`.`property_ids`) as `product.propertyIds`, `product.parent`.`option_ids` as `product.optionIds.inherited`, COALESCE(`product`.`option_ids`, `product.parent`.`option_ids`) as `product.optionIds`, `product.parent`.`stream_ids` as `product.streamIds.inherited`, COALESCE(`product`.`stream_ids`, `product.parent`.`stream_ids`) as `product.streamIds`, `product.parent`.`tag_ids` as `product.tagIds.inherited`, COALESCE(`product`.`tag_ids`, `product.parent`.`tag_ids`) as `product.tagIds`, `product.parent`.`category_ids` as `product.categoryIds.inherited`, COALESCE(`product`.`category_ids`, `product.parent`.`category_ids`) as `product.categoryIds`, `product`.`child_count` as `product.childCount`, COALESCE(`product`.`custom_field_set_selection_active`, `product.parent`.`custom_field_set_selection_active`) as `product.customFieldSetSelectionActive`, `product`.`sales` as `product.sales`, `product`.`states` as `product.states`, `product.tax`.`id` as `product.tax.id`, `product.tax`.`tax_rate` as `product.tax.taxRate`, `product.tax`.`name` as `product.tax.name`, `product.tax`.`position` as `product.tax.position`, `product.tax`.`custom_fields` as `product.tax.customFields`, `product.tax`.`created_at` as `product.tax.createdAt`, `product.tax`.`updated_at` as `product.tax.updatedAt`, `product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`, COALESCE(`product`.`cheapest_price`, `product.parent`.`cheapest_price`) as `product.cheapestPrice`, `product`.`created_at` as `product.createdAt`, `product`.`updated_at` as `product.updatedAt`, `product.unit`.`id` as `product.unit.id`, `product.unit`.`created_at` as `product.unit.createdAt`, `product.unit`.`updated_at` as `product.unit.updatedAt`, `product.unit.translation.shortCode`, COALESCE(`product.unit.translation.shortCode`,`product.unit.translation.shortCode`) as `product.unit.shortCode`, `product.unit.translation.name`, COALESCE(`product.unit.translation.name`,`product.unit.translation.name`) as `product.unit.name`, `product.unit.translation.customFields`, COALESCE(`product.unit.translation.customFields`,`product.unit.translation.customFields`) as `product.unit.customFields`, `product.unit.translation.createdAt`, `product.unit.translation.updatedAt`, `product.unit.translation.unitId`, `product.unit.translation.languageId`, `product.deliveryTime`.`id` as `product.deliveryTime.id`, `product.deliveryTime`.`min` as `product.deliveryTime.min`, `product.deliveryTime`.`max` as `product.deliveryTime.max`, `product.deliveryTime`.`unit` as `product.deliveryTime.unit`, `product.deliveryTime`.`created_at` as `product.deliveryTime.createdAt`, `product.deliveryTime`.`updated_at` as `product.deliveryTime.updatedAt`, `product.deliveryTime.translation.name`, COALESCE(`product.deliveryTime.translation.name`,`product.deliveryTime.translation.name`) as `product.deliveryTime.name`, `product.deliveryTime.translation.customFields`, COALESCE(`product.deliveryTime.translation.customFields`,`product.deliveryTime.translation.customFields`) as `product.deliveryTime.customFields`, `product.deliveryTime.translation.createdAt`, `product.deliveryTime.translation.updatedAt`, `product.deliveryTime.translation.deliveryTimeId`, `product.deliveryTime.translation.languageId`, `product.cover`.`id` as `product.cover.id`, `product.cover`.`version_id` as `product.cover.versionId`, `product.cover`.`product_id` as `product.cover.productId`, `product.cover`.`product_version_id` as `product.cover.productVersionId`, `product.cover`.`media_id` as `product.cover.mediaId`, `product.cover`.`position` as `product.cover.position`, `product.cover.media`.`id` as `product.cover.media.id`, `product.cover.media`.`user_id` as `product.cover.media.userId`, `product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`, `product.cover.media`.`mime_type` as `product.cover.media.mimeType`, `product.cover.media`.`file_extension` as `product.cover.media.fileExtension`, `product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`, `product.cover.media`.`file_name` as `product.cover.media.fileName`, `product.cover.media`.`file_size` as `product.cover.media.fileSize`, `product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`, `product.cover.media`.`meta_data` as `product.cover.media.metaData`, `product.cover.media`.`private` as `product.cover.media.private`, `product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`, `product.cover.media`.`created_at` as `product.cover.media.createdAt`, `product.cover.media`.`updated_at` as `product.cover.media.updatedAt`, `product.cover.media.translation.title`, COALESCE(`product.cover.media.translation.title`,`product.cover.media.translation.title`) as `product.cover.media.title`, `product.cover.media.translation.alt`, COALESCE(`product.cover.media.translation.alt`,`product.cover.media.translation.alt`) as `product.cover.media.alt`, `product.cover.media.translation.customFields`, COALESCE(`product.cover.media.translation.customFields`,`product.cover.media.translation.customFields`) as `product.cover.media.customFields`, `product.cover.media.translation.createdAt`, `product.cover.media.translation.updatedAt`, `product.cover.media.translation.mediaId`, `product.cover.media.translation.languageId`, `product.cover`.`custom_fields` as `product.cover.customFields`, `product.cover`.`created_at` as `product.cover.createdAt`, `product.cover`.`updated_at` as `product.cover.updatedAt`, `product.translation.metaDescription`, `product.parent.translation.metaDescription`, COALESCE(`product.translation.metaDescription`,`product.parent.translation.metaDescription`,`product.translation.metaDescription`) as `product.metaDescription`, `product.translation.name`, `product.parent.translation.name`, COALESCE(`product.translation.name`,`product.parent.translation.name`,`product.translation.name`) as `product.name`, `product.translation.keywords`, `product.parent.translation.keywords`, COALESCE(`product.translation.keywords`,`product.parent.translation.keywords`,`product.translation.keywords`) as `product.keywords`, `product.translation.description`, `product.parent.translation.description`, COALESCE(`product.translation.description`,`product.parent.translation.description`,`product.translation.description`) as `product.description`, `product.translation.metaTitle`, `product.parent.translation.metaTitle`, COALESCE(`product.translation.metaTitle`,`product.parent.translation.metaTitle`,`product.translation.metaTitle`) as `product.metaTitle`, `product.translation.packUnit`, `product.parent.translation.packUnit`, COALESCE(`product.translation.packUnit`,`product.parent.translation.packUnit`,`product.translation.packUnit`) as `product.packUnit`, `product.translation.packUnitPlural`, `product.parent.translation.packUnitPlural`, COALESCE(`product.translation.packUnitPlural`,`product.parent.translation.packUnitPlural`,`product.translation.packUnitPlural`) as `product.packUnitPlural`, `product.translation.customSearchKeywords`, `product.parent.translation.customSearchKeywords`, COALESCE(`product.translation.customSearchKeywords`,`product.parent.translation.customSearchKeywords`,`product.translation.customSearchKeywords`) as `product.customSearchKeywords`, `product.translation.slotConfig`, `product.parent.translation.slotConfig`, COALESCE(`product.translation.slotConfig`,`product.parent.translation.slotConfig`,`product.translation.slotConfig`) as `product.slotConfig`, `product.translation.customFields`, `product.parent.translation.customFields`, COALESCE(`product.translation.customFields`,`product.parent.translation.customFields`,`product.translation.customFields`) as `product.customFields`, `product.translation.createdAt`, `product.parent.translation.createdAt`, `product.translation.updatedAt`, `product.parent.translation.updatedAt`, `product.translation.productId`, `product.parent.translation.productId`, `product.translation.languageId`, `product.parent.translation.languageId`, `product.translation.productVersionId`, `product.parent.translation.productVersionId` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN (SELECT `product.translation`.product_id, `product.translation`.product_version_id, `product.translation`.meta_description as `product.translation.metaDescription`, `product.translation`.name as `product.translation.name`, `product.translation`.keywords as `product.translation.keywords`, `product.translation`.description as `product.translation.description`, `product.translation`.meta_title as `product.translation.metaTitle`, `product.translation`.pack_unit as `product.translation.packUnit`, `product.translation`.pack_unit_plural as `product.translation.packUnitPlural`, `product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`, `product.translation`.slot_config as `product.translation.slotConfig`, `product.translation`.custom_fields as `product.translation.customFields`, `product.translation`.created_at as `product.translation.createdAt`, `product.translation`.updated_at as `product.translation.updatedAt`, `product.translation`.product_id as `product.translation.productId`, `product.translation`.language_id as `product.translation.languageId`, `product.translation`.product_version_id as `product.translation.productVersionId` FROM `product_translation` `product.translation` WHERE `product.translation`.language_id = :languageId) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id` AND `product.product_translation`.product_version_id = `product`.version_id LEFT JOIN (SELECT `product.parent.translation`.product_id, `product.parent.translation`.product_version_id, `product.parent.translation`.meta_description as `product.parent.translation.metaDescription`, `product.parent.translation`.name as `product.parent.translation.name`, `product.parent.translation`.keywords as `product.parent.translation.keywords`, `product.parent.translation`.description as `product.parent.translation.description`, `product.parent.translation`.meta_title as `product.parent.translation.metaTitle`, `product.parent.translation`.pack_unit as `product.parent.translation.packUnit`, `product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`, `product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`, `product.parent.translation`.slot_config as `product.parent.translation.slotConfig`, `product.parent.translation`.custom_fields as `product.parent.translation.customFields`, `product.parent.translation`.created_at as `product.parent.translation.createdAt`, `product.parent.translation`.updated_at as `product.parent.translation.updatedAt`, `product.parent.translation`.product_id as `product.parent.translation.productId`, `product.parent.translation`.language_id as `product.parent.translation.languageId`, `product.parent.translation`.product_version_id as `product.parent.translation.productVersionId` FROM `product_translation` `product.parent.translation` WHERE `product.parent.translation`.language_id = :languageId) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id` AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id` LEFT JOIN `unit` `product.unit` ON `product`.`unit` = `product.unit`.`id` LEFT JOIN `delivery_time` `product.deliveryTime` ON `product`.`deliveryTime` = `product.deliveryTime`.`id` LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id` AND `product`.`version_id` = `product.cover`.`version_id` LEFT JOIN (SELECT `product.unit.translation`.unit_id, `product.unit.translation`.short_code as `product.unit.translation.shortCode`, `product.unit.translation`.name as `product.unit.translation.name`, `product.unit.translation`.custom_fields as `product.unit.translation.customFields`, `product.unit.translation`.created_at as `product.unit.translation.createdAt`, `product.unit.translation`.updated_at as `product.unit.translation.updatedAt`, `product.unit.translation`.unit_id as `product.unit.translation.unitId`, `product.unit.translation`.language_id as `product.unit.translation.languageId` FROM `unit_translation` `product.unit.translation` WHERE `product.unit.translation`.language_id = :languageId) `product.unit.unit_translation` ON `product.unit.unit_translation`.`unit_id` = `product.unit`.`id` LEFT JOIN (SELECT `product.deliveryTime.translation`.delivery_time_id, `product.deliveryTime.translation`.name as `product.deliveryTime.translation.name`, `product.deliveryTime.translation`.custom_fields as `product.deliveryTime.translation.customFields`, `product.deliveryTime.translation`.created_at as `product.deliveryTime.translation.createdAt`, `product.deliveryTime.translation`.updated_at as `product.deliveryTime.translation.updatedAt`, `product.deliveryTime.translation`.delivery_time_id as `product.deliveryTime.translation.deliveryTimeId`, `product.deliveryTime.translation`.language_id as `product.deliveryTime.translation.languageId` FROM `delivery_time_translation` `product.deliveryTime.translation` WHERE `product.deliveryTime.translation`.language_id = :languageId) `product.deliveryTime.delivery_time_translation` ON `product.deliveryTime.delivery_time_translation`.`delivery_time_id` = `product.deliveryTime`.`id` LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id` LEFT JOIN (SELECT `product.cover.media.translation`.media_id, `product.cover.media.translation`.title as `product.cover.media.translation.title`, `product.cover.media.translation`.alt as `product.cover.media.translation.alt`, `product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`, `product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`, `product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`, `product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`, `product.cover.media.translation`.language_id as `product.cover.media.translation.languageId` FROM `media_translation` `product.cover.media.translation` WHERE `product.cover.media.translation`.language_id = :languageId) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id` WHERE (`product`.`version_id` = :version) AND (`product`.`id` IN (:ids))
SELECT
`product`.`id` as `product.id`,
`product`.`version_id` as `product.versionId`,
`product`.`parent_id` as `product.parentId`,
`product`.`parent_version_id` as `product.parentVersionId`,
COALESCE(
`product`.`product_manufacturer_id`,
`product.parent`.`product_manufacturer_id`
) as `product.manufacturerId`,
COALESCE(
`product`.`product_manufacturer_version_id`,
`product.parent`.`product_manufacturer_version_id`
) as `product.productManufacturerVersionId`,
COALESCE(
`product`.`unit_id`, `product.parent`.`unit_id`
) as `product.unitId`,
COALESCE(
`product`.`tax_id`, `product.parent`.`tax_id`
) as `product.taxId`,
COALESCE(
`product`.`product_media_id`, `product.parent`.`product_media_id`
) as `product.coverId`,
COALESCE(
`product`.`product_media_version_id`,
`product.parent`.`product_media_version_id`
) as `product.productMediaVersionId`,
COALESCE(
`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`
) as `product.deliveryTimeId`,
COALESCE(
`product`.`product_feature_set_id`,
`product.parent`.`product_feature_set_id`
) as `product.featureSetId`,
COALESCE(
`product`.`canonical_product_id`,
`product.parent`.`canonical_product_id`
) as `product.canonicalProductId`,
COALESCE(
`product`.`cms_page_id`, `product.parent`.`cms_page_id`
) as `product.cmsPageId`,
COALESCE(
`product`.`cms_page_version_id`,
`product.parent`.`cms_page_version_id`
) as `product.cmsPageVersionId`,
`product.parent`.`price` as `product.price.inherited`,
COALESCE(
`product`.`price`, `product.parent`.`price`
) as `product.price`,
`product`.`product_number` as `product.productNumber`,
`product`.`stock` as `product.stock`,
COALESCE(
`product`.`restock_time`, `product.parent`.`restock_time`
) as `product.restockTime`,
`product`.`auto_increment` as `product.autoIncrement`,
COALESCE(
`product`.`active`, `product.parent`.`active`
) as `product.active`,
`product`.`available_stock` as `product.availableStock`,
`product`.`available` as `product.available`,
COALESCE(
`product`.`is_closeout`, `product.parent`.`is_closeout`
) as `product.isCloseout`,
`product`.`display_group` as `product.displayGroup`,
`product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`,
COALESCE(
`product`.`configurator_group_config`,
`product.parent`.`configurator_group_config`
) as `product.configuratorGroupConfig`,
COALESCE(
`product`.`main_variant_id`, `product.parent`.`main_variant_id`
) as `product.mainVariantId`,
COALESCE(
`product`.`display_parent`, `product.parent`.`display_parent`
) as `product.displayParent`,
`product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`,
COALESCE(
`product`.`variant_listing_config`,
`product.parent`.`variant_listing_config`
) as `product.variantListingConfig`,
`product`.`variant_restrictions` as `product.variantRestrictions`,
COALESCE(
`product`.`manufacturer_number`,
`product.parent`.`manufacturer_number`
) as `product.manufacturerNumber`,
COALESCE(
`product`.`ean`, `product.parent`.`ean`
) as `product.ean`,
COALESCE(
`product`.`purchase_steps`, `product.parent`.`purchase_steps`
) as `product.purchaseSteps`,
COALESCE(
`product`.`max_purchase`, `product.parent`.`max_purchase`
) as `product.maxPurchase`,
COALESCE(
`product`.`min_purchase`, `product.parent`.`min_purchase`
) as `product.minPurchase`,
COALESCE(
`product`.`purchase_unit`, `product.parent`.`purchase_unit`
) as `product.purchaseUnit`,
COALESCE(
`product`.`reference_unit`, `product.parent`.`reference_unit`
) as `product.referenceUnit`,
COALESCE(
`product`.`shipping_free`, `product.parent`.`shipping_free`
) as `product.shippingFree`,
`product.parent`.`purchase_prices` as `product.purchasePrices.inherited`,
COALESCE(
`product`.`purchase_prices`, `product.parent`.`purchase_prices`
) as `product.purchasePrices`,
COALESCE(
`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`
) as `product.markAsTopseller`,
COALESCE(
`product`.`weight`, `product.parent`.`weight`
) as `product.weight`,
COALESCE(
`product`.`width`, `product.parent`.`width`
) as `product.width`,
COALESCE(
`product`.`height`, `product.parent`.`height`
) as `product.height`,
COALESCE(
`product`.`length`, `product.parent`.`length`
) as `product.length`,
COALESCE(
`product`.`release_date`, `product.parent`.`release_date`
) as `product.releaseDate`,
COALESCE(
`product`.`rating_average`, `product.parent`.`rating_average`
) as `product.ratingAverage`,
`product.parent`.`category_tree` as `product.categoryTree.inherited`,
COALESCE(
`product`.`category_tree`, `product.parent`.`category_tree`
) as `product.categoryTree`,
`product.parent`.`property_ids` as `product.propertyIds.inherited`,
COALESCE(
`product`.`property_ids`, `product.parent`.`property_ids`
) as `product.propertyIds`,
`product.parent`.`option_ids` as `product.optionIds.inherited`,
COALESCE(
`product`.`option_ids`, `product.parent`.`option_ids`
) as `product.optionIds`,
`product.parent`.`stream_ids` as `product.streamIds.inherited`,
COALESCE(
`product`.`stream_ids`, `product.parent`.`stream_ids`
) as `product.streamIds`,
`product.parent`.`tag_ids` as `product.tagIds.inherited`,
COALESCE(
`product`.`tag_ids`, `product.parent`.`tag_ids`
) as `product.tagIds`,
`product.parent`.`category_ids` as `product.categoryIds.inherited`,
COALESCE(
`product`.`category_ids`, `product.parent`.`category_ids`
) as `product.categoryIds`,
`product`.`child_count` as `product.childCount`,
COALESCE(
`product`.`custom_field_set_selection_active`,
`product.parent`.`custom_field_set_selection_active`
) as `product.customFieldSetSelectionActive`,
`product`.`sales` as `product.sales`,
`product`.`states` as `product.states`,
`product.tax`.`id` as `product.tax.id`,
`product.tax`.`tax_rate` as `product.tax.taxRate`,
`product.tax`.`name` as `product.tax.name`,
`product.tax`.`position` as `product.tax.position`,
`product.tax`.`custom_fields` as `product.tax.customFields`,
`product.tax`.`created_at` as `product.tax.createdAt`,
`product.tax`.`updated_at` as `product.tax.updatedAt`,
`product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`,
COALESCE(
`product`.`cheapest_price`, `product.parent`.`cheapest_price`
) as `product.cheapestPrice`,
`product`.`created_at` as `product.createdAt`,
`product`.`updated_at` as `product.updatedAt`,
`product.unit`.`id` as `product.unit.id`,
`product.unit`.`created_at` as `product.unit.createdAt`,
`product.unit`.`updated_at` as `product.unit.updatedAt`,
`product.unit.translation.shortCode`,
COALESCE(
`product.unit.translation.shortCode`,
`product.unit.translation.shortCode`
) as `product.unit.shortCode`,
`product.unit.translation.name`,
COALESCE(
`product.unit.translation.name`,
`product.unit.translation.name`
) as `product.unit.name`,
`product.unit.translation.customFields`,
COALESCE(
`product.unit.translation.customFields`,
`product.unit.translation.customFields`
) as `product.unit.customFields`,
`product.unit.translation.createdAt`,
`product.unit.translation.updatedAt`,
`product.unit.translation.unitId`,
`product.unit.translation.languageId`,
`product.deliveryTime`.`id` as `product.deliveryTime.id`,
`product.deliveryTime`.`min` as `product.deliveryTime.min`,
`product.deliveryTime`.`max` as `product.deliveryTime.max`,
`product.deliveryTime`.`unit` as `product.deliveryTime.unit`,
`product.deliveryTime`.`created_at` as `product.deliveryTime.createdAt`,
`product.deliveryTime`.`updated_at` as `product.deliveryTime.updatedAt`,
`product.deliveryTime.translation.name`,
COALESCE(
`product.deliveryTime.translation.name`,
`product.deliveryTime.translation.name`
) as `product.deliveryTime.name`,
`product.deliveryTime.translation.customFields`,
COALESCE(
`product.deliveryTime.translation.customFields`,
`product.deliveryTime.translation.customFields`
) as `product.deliveryTime.customFields`,
`product.deliveryTime.translation.createdAt`,
`product.deliveryTime.translation.updatedAt`,
`product.deliveryTime.translation.deliveryTimeId`,
`product.deliveryTime.translation.languageId`,
`product.cover`.`id` as `product.cover.id`,
`product.cover`.`version_id` as `product.cover.versionId`,
`product.cover`.`product_id` as `product.cover.productId`,
`product.cover`.`product_version_id` as `product.cover.productVersionId`,
`product.cover`.`media_id` as `product.cover.mediaId`,
`product.cover`.`position` as `product.cover.position`,
`product.cover.media`.`id` as `product.cover.media.id`,
`product.cover.media`.`user_id` as `product.cover.media.userId`,
`product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`,
`product.cover.media`.`mime_type` as `product.cover.media.mimeType`,
`product.cover.media`.`file_extension` as `product.cover.media.fileExtension`,
`product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`,
`product.cover.media`.`file_name` as `product.cover.media.fileName`,
`product.cover.media`.`file_size` as `product.cover.media.fileSize`,
`product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`,
`product.cover.media`.`meta_data` as `product.cover.media.metaData`,
`product.cover.media`.`private` as `product.cover.media.private`,
`product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`,
`product.cover.media`.`created_at` as `product.cover.media.createdAt`,
`product.cover.media`.`updated_at` as `product.cover.media.updatedAt`,
`product.cover.media.translation.title`,
COALESCE(
`product.cover.media.translation.title`,
`product.cover.media.translation.title`
) as `product.cover.media.title`,
`product.cover.media.translation.alt`,
COALESCE(
`product.cover.media.translation.alt`,
`product.cover.media.translation.alt`
) as `product.cover.media.alt`,
`product.cover.media.translation.customFields`,
COALESCE(
`product.cover.media.translation.customFields`,
`product.cover.media.translation.customFields`
) as `product.cover.media.customFields`,
`product.cover.media.translation.createdAt`,
`product.cover.media.translation.updatedAt`,
`product.cover.media.translation.mediaId`,
`product.cover.media.translation.languageId`,
`product.cover`.`custom_fields` as `product.cover.customFields`,
`product.cover`.`created_at` as `product.cover.createdAt`,
`product.cover`.`updated_at` as `product.cover.updatedAt`,
`product.translation.metaDescription`,
`product.parent.translation.metaDescription`,
COALESCE(
`product.translation.metaDescription`,
`product.parent.translation.metaDescription`,
`product.translation.metaDescription`
) as `product.metaDescription`,
`product.translation.name`,
`product.parent.translation.name`,
COALESCE(
`product.translation.name`, `product.parent.translation.name`,
`product.translation.name`
) as `product.name`,
`product.translation.keywords`,
`product.parent.translation.keywords`,
COALESCE(
`product.translation.keywords`,
`product.parent.translation.keywords`,
`product.translation.keywords`
) as `product.keywords`,
`product.translation.description`,
`product.parent.translation.description`,
COALESCE(
`product.translation.description`,
`product.parent.translation.description`,
`product.translation.description`
) as `product.description`,
`product.translation.metaTitle`,
`product.parent.translation.metaTitle`,
COALESCE(
`product.translation.metaTitle`,
`product.parent.translation.metaTitle`,
`product.translation.metaTitle`
) as `product.metaTitle`,
`product.translation.packUnit`,
`product.parent.translation.packUnit`,
COALESCE(
`product.translation.packUnit`,
`product.parent.translation.packUnit`,
`product.translation.packUnit`
) as `product.packUnit`,
`product.translation.packUnitPlural`,
`product.parent.translation.packUnitPlural`,
COALESCE(
`product.translation.packUnitPlural`,
`product.parent.translation.packUnitPlural`,
`product.translation.packUnitPlural`
) as `product.packUnitPlural`,
`product.translation.customSearchKeywords`,
`product.parent.translation.customSearchKeywords`,
COALESCE(
`product.translation.customSearchKeywords`,
`product.parent.translation.customSearchKeywords`,
`product.translation.customSearchKeywords`
) as `product.customSearchKeywords`,
`product.translation.slotConfig`,
`product.parent.translation.slotConfig`,
COALESCE(
`product.translation.slotConfig`,
`product.parent.translation.slotConfig`,
`product.translation.slotConfig`
) as `product.slotConfig`,
`product.translation.customFields`,
`product.parent.translation.customFields`,
COALESCE(
`product.translation.customFields`,
`product.parent.translation.customFields`,
`product.translation.customFields`
) as `product.customFields`,
`product.translation.createdAt`,
`product.parent.translation.createdAt`,
`product.translation.updatedAt`,
`product.parent.translation.updatedAt`,
`product.translation.productId`,
`product.parent.translation.productId`,
`product.translation.languageId`,
`product.parent.translation.languageId`,
`product.translation.productVersionId`,
`product.parent.translation.productVersionId`
FROM
`product`
LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id`
AND `product`.`version_id` = `product.parent`.`version_id`
LEFT JOIN (
SELECT
`product.translation`.product_id,
`product.translation`.product_version_id,
`product.translation`.meta_description as `product.translation.metaDescription`,
`product.translation`.name as `product.translation.name`,
`product.translation`.keywords as `product.translation.keywords`,
`product.translation`.description as `product.translation.description`,
`product.translation`.meta_title as `product.translation.metaTitle`,
`product.translation`.pack_unit as `product.translation.packUnit`,
`product.translation`.pack_unit_plural as `product.translation.packUnitPlural`,
`product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`,
`product.translation`.slot_config as `product.translation.slotConfig`,
`product.translation`.custom_fields as `product.translation.customFields`,
`product.translation`.created_at as `product.translation.createdAt`,
`product.translation`.updated_at as `product.translation.updatedAt`,
`product.translation`.product_id as `product.translation.productId`,
`product.translation`.language_id as `product.translation.languageId`,
`product.translation`.product_version_id as `product.translation.productVersionId`
FROM
`product_translation` `product.translation`
WHERE
`product.translation`.language_id = : languageId
) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id`
AND `product.product_translation`.product_version_id = `product`.version_id
LEFT JOIN (
SELECT
`product.parent.translation`.product_id,
`product.parent.translation`.product_version_id,
`product.parent.translation`.meta_description as `product.parent.translation.metaDescription`,
`product.parent.translation`.name as `product.parent.translation.name`,
`product.parent.translation`.keywords as `product.parent.translation.keywords`,
`product.parent.translation`.description as `product.parent.translation.description`,
`product.parent.translation`.meta_title as `product.parent.translation.metaTitle`,
`product.parent.translation`.pack_unit as `product.parent.translation.packUnit`,
`product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`,
`product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`,
`product.parent.translation`.slot_config as `product.parent.translation.slotConfig`,
`product.parent.translation`.custom_fields as `product.parent.translation.customFields`,
`product.parent.translation`.created_at as `product.parent.translation.createdAt`,
`product.parent.translation`.updated_at as `product.parent.translation.updatedAt`,
`product.parent.translation`.product_id as `product.parent.translation.productId`,
`product.parent.translation`.language_id as `product.parent.translation.languageId`,
`product.parent.translation`.product_version_id as `product.parent.translation.productVersionId`
FROM
`product_translation` `product.parent.translation`
WHERE
`product.parent.translation`.language_id = : languageId
) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id`
AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id
LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id`
LEFT JOIN `unit` `product.unit` ON `product`.`unit` = `product.unit`.`id`
LEFT JOIN `delivery_time` `product.deliveryTime` ON `product`.`deliveryTime` = `product.deliveryTime`.`id`
LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id`
AND `product`.`version_id` = `product.cover`.`version_id`
LEFT JOIN (
SELECT
`product.unit.translation`.unit_id,
`product.unit.translation`.short_code as `product.unit.translation.shortCode`,
`product.unit.translation`.name as `product.unit.translation.name`,
`product.unit.translation`.custom_fields as `product.unit.translation.customFields`,
`product.unit.translation`.created_at as `product.unit.translation.createdAt`,
`product.unit.translation`.updated_at as `product.unit.translation.updatedAt`,
`product.unit.translation`.unit_id as `product.unit.translation.unitId`,
`product.unit.translation`.language_id as `product.unit.translation.languageId`
FROM
`unit_translation` `product.unit.translation`
WHERE
`product.unit.translation`.language_id = : languageId
) `product.unit.unit_translation` ON `product.unit.unit_translation`.`unit_id` = `product.unit`.`id`
LEFT JOIN (
SELECT
`product.deliveryTime.translation`.delivery_time_id,
`product.deliveryTime.translation`.name as `product.deliveryTime.translation.name`,
`product.deliveryTime.translation`.custom_fields as `product.deliveryTime.translation.customFields`,
`product.deliveryTime.translation`.created_at as `product.deliveryTime.translation.createdAt`,
`product.deliveryTime.translation`.updated_at as `product.deliveryTime.translation.updatedAt`,
`product.deliveryTime.translation`.delivery_time_id as `product.deliveryTime.translation.deliveryTimeId`,
`product.deliveryTime.translation`.language_id as `product.deliveryTime.translation.languageId`
FROM
`delivery_time_translation` `product.deliveryTime.translation`
WHERE
`product.deliveryTime.translation`.language_id = : languageId
) `product.deliveryTime.delivery_time_translation` ON `product.deliveryTime.delivery_time_translation`.`delivery_time_id` = `product.deliveryTime`.`id`
LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id`
LEFT JOIN (
SELECT
`product.cover.media.translation`.media_id,
`product.cover.media.translation`.title as `product.cover.media.translation.title`,
`product.cover.media.translation`.alt as `product.cover.media.translation.alt`,
`product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`,
`product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`,
`product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`,
`product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`,
`product.cover.media.translation`.language_id as `product.cover.media.translation.languageId`
FROM
`media_translation` `product.cover.media.translation`
WHERE
`product.cover.media.translation`.language_id = : languageId
) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id`
WHERE
(
`product`.`version_id` = : version
)
AND (
`product`.`id` IN (: ids)
)
SELECT `product`.`id` as `product.id`, `product`.`version_id` as `product.versionId`, `product`.`parent_id` as `product.parentId`, `product`.`parent_version_id` as `product.parentVersionId`, COALESCE(`product`.`product_manufacturer_id`, `product.parent`.`product_manufacturer_id`) as `product.manufacturerId`, COALESCE(`product`.`product_manufacturer_version_id`, `product.parent`.`product_manufacturer_version_id`) as `product.productManufacturerVersionId`, COALESCE(`product`.`unit_id`, `product.parent`.`unit_id`) as `product.unitId`, COALESCE(`product`.`tax_id`, `product.parent`.`tax_id`) as `product.taxId`, COALESCE(`product`.`product_media_id`, `product.parent`.`product_media_id`) as `product.coverId`, COALESCE(`product`.`product_media_version_id`, `product.parent`.`product_media_version_id`) as `product.productMediaVersionId`, COALESCE(`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`) as `product.deliveryTimeId`, COALESCE(`product`.`product_feature_set_id`, `product.parent`.`product_feature_set_id`) as `product.featureSetId`, COALESCE(`product`.`canonical_product_id`, `product.parent`.`canonical_product_id`) as `product.canonicalProductId`, COALESCE(`product`.`cms_page_id`, `product.parent`.`cms_page_id`) as `product.cmsPageId`, COALESCE(`product`.`cms_page_version_id`, `product.parent`.`cms_page_version_id`) as `product.cmsPageVersionId`, `product.parent`.`price` as `product.price.inherited`, COALESCE(`product`.`price`, `product.parent`.`price`) as `product.price`, `product`.`product_number` as `product.productNumber`, `product`.`stock` as `product.stock`, COALESCE(`product`.`restock_time`, `product.parent`.`restock_time`) as `product.restockTime`, `product`.`auto_increment` as `product.autoIncrement`, COALESCE(`product`.`active`, `product.parent`.`active`) as `product.active`, `product`.`available_stock` as `product.availableStock`, `product`.`available` as `product.available`, COALESCE(`product`.`is_closeout`, `product.parent`.`is_closeout`) as `product.isCloseout`, `product`.`display_group` as `product.displayGroup`, `product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`, COALESCE(`product`.`configurator_group_config`, `product.parent`.`configurator_group_config`) as `product.configuratorGroupConfig`, COALESCE(`product`.`main_variant_id`, `product.parent`.`main_variant_id`) as `product.mainVariantId`, COALESCE(`product`.`display_parent`, `product.parent`.`display_parent`) as `product.displayParent`, `product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`, COALESCE(`product`.`variant_listing_config`, `product.parent`.`variant_listing_config`) as `product.variantListingConfig`, `product`.`variant_restrictions` as `product.variantRestrictions`, COALESCE(`product`.`manufacturer_number`, `product.parent`.`manufacturer_number`) as `product.manufacturerNumber`, COALESCE(`product`.`ean`, `product.parent`.`ean`) as `product.ean`, COALESCE(`product`.`purchase_steps`, `product.parent`.`purchase_steps`) as `product.purchaseSteps`, COALESCE(`product`.`max_purchase`, `product.parent`.`max_purchase`) as `product.maxPurchase`, COALESCE(`product`.`min_purchase`, `product.parent`.`min_purchase`) as `product.minPurchase`, COALESCE(`product`.`purchase_unit`, `product.parent`.`purchase_unit`) as `product.purchaseUnit`, COALESCE(`product`.`reference_unit`, `product.parent`.`reference_unit`) as `product.referenceUnit`, COALESCE(`product`.`shipping_free`, `product.parent`.`shipping_free`) as `product.shippingFree`, `product.parent`.`purchase_prices` as `product.purchasePrices.inherited`, COALESCE(`product`.`purchase_prices`, `product.parent`.`purchase_prices`) as `product.purchasePrices`, COALESCE(`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`) as `product.markAsTopseller`, COALESCE(`product`.`weight`, `product.parent`.`weight`) as `product.weight`, COALESCE(`product`.`width`, `product.parent`.`width`) as `product.width`, COALESCE(`product`.`height`, `product.parent`.`height`) as `product.height`, COALESCE(`product`.`length`, `product.parent`.`length`) as `product.length`, COALESCE(`product`.`release_date`, `product.parent`.`release_date`) as `product.releaseDate`, COALESCE(`product`.`rating_average`, `product.parent`.`rating_average`) as `product.ratingAverage`, `product.parent`.`category_tree` as `product.categoryTree.inherited`, COALESCE(`product`.`category_tree`, `product.parent`.`category_tree`) as `product.categoryTree`, `product.parent`.`property_ids` as `product.propertyIds.inherited`, COALESCE(`product`.`property_ids`, `product.parent`.`property_ids`) as `product.propertyIds`, `product.parent`.`option_ids` as `product.optionIds.inherited`, COALESCE(`product`.`option_ids`, `product.parent`.`option_ids`) as `product.optionIds`, `product.parent`.`stream_ids` as `product.streamIds.inherited`, COALESCE(`product`.`stream_ids`, `product.parent`.`stream_ids`) as `product.streamIds`, `product.parent`.`tag_ids` as `product.tagIds.inherited`, COALESCE(`product`.`tag_ids`, `product.parent`.`tag_ids`) as `product.tagIds`, `product.parent`.`category_ids` as `product.categoryIds.inherited`, COALESCE(`product`.`category_ids`, `product.parent`.`category_ids`) as `product.categoryIds`, `product`.`child_count` as `product.childCount`, COALESCE(`product`.`custom_field_set_selection_active`, `product.parent`.`custom_field_set_selection_active`) as `product.customFieldSetSelectionActive`, `product`.`sales` as `product.sales`, `product`.`states` as `product.states`, `product.tax`.`id` as `product.tax.id`, `product.tax`.`tax_rate` as `product.tax.taxRate`, `product.tax`.`name` as `product.tax.name`, `product.tax`.`position` as `product.tax.position`, `product.tax`.`custom_fields` as `product.tax.customFields`, `product.tax`.`created_at` as `product.tax.createdAt`, `product.tax`.`updated_at` as `product.tax.updatedAt`, `product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`, COALESCE(`product`.`cheapest_price`, `product.parent`.`cheapest_price`) as `product.cheapestPrice`, `product`.`created_at` as `product.createdAt`, `product`.`updated_at` as `product.updatedAt`, `product.unit`.`id` as `product.unit.id`, `product.unit`.`created_at` as `product.unit.createdAt`, `product.unit`.`updated_at` as `product.unit.updatedAt`, `product.unit.translation.shortCode`, COALESCE(`product.unit.translation.shortCode`,`product.unit.translation.shortCode`) as `product.unit.shortCode`, `product.unit.translation.name`, COALESCE(`product.unit.translation.name`,`product.unit.translation.name`) as `product.unit.name`, `product.unit.translation.customFields`, COALESCE(`product.unit.translation.customFields`,`product.unit.translation.customFields`) as `product.unit.customFields`, `product.unit.translation.createdAt`, `product.unit.translation.updatedAt`, `product.unit.translation.unitId`, `product.unit.translation.languageId`, `product.deliveryTime`.`id` as `product.deliveryTime.id`, `product.deliveryTime`.`min` as `product.deliveryTime.min`, `product.deliveryTime`.`max` as `product.deliveryTime.max`, `product.deliveryTime`.`unit` as `product.deliveryTime.unit`, `product.deliveryTime`.`created_at` as `product.deliveryTime.createdAt`, `product.deliveryTime`.`updated_at` as `product.deliveryTime.updatedAt`, `product.deliveryTime.translation.name`, COALESCE(`product.deliveryTime.translation.name`,`product.deliveryTime.translation.name`) as `product.deliveryTime.name`, `product.deliveryTime.translation.customFields`, COALESCE(`product.deliveryTime.translation.customFields`,`product.deliveryTime.translation.customFields`) as `product.deliveryTime.customFields`, `product.deliveryTime.translation.createdAt`, `product.deliveryTime.translation.updatedAt`, `product.deliveryTime.translation.deliveryTimeId`, `product.deliveryTime.translation.languageId`, `product.cover`.`id` as `product.cover.id`, `product.cover`.`version_id` as `product.cover.versionId`, `product.cover`.`product_id` as `product.cover.productId`, `product.cover`.`product_version_id` as `product.cover.productVersionId`, `product.cover`.`media_id` as `product.cover.mediaId`, `product.cover`.`position` as `product.cover.position`, `product.cover.media`.`id` as `product.cover.media.id`, `product.cover.media`.`user_id` as `product.cover.media.userId`, `product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`, `product.cover.media`.`mime_type` as `product.cover.media.mimeType`, `product.cover.media`.`file_extension` as `product.cover.media.fileExtension`, `product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`, `product.cover.media`.`file_name` as `product.cover.media.fileName`, `product.cover.media`.`file_size` as `product.cover.media.fileSize`, `product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`, `product.cover.media`.`meta_data` as `product.cover.media.metaData`, `product.cover.media`.`private` as `product.cover.media.private`, `product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`, `product.cover.media`.`created_at` as `product.cover.media.createdAt`, `product.cover.media`.`updated_at` as `product.cover.media.updatedAt`, `product.cover.media.translation.title`, COALESCE(`product.cover.media.translation.title`,`product.cover.media.translation.title`) as `product.cover.media.title`, `product.cover.media.translation.alt`, COALESCE(`product.cover.media.translation.alt`,`product.cover.media.translation.alt`) as `product.cover.media.alt`, `product.cover.media.translation.customFields`, COALESCE(`product.cover.media.translation.customFields`,`product.cover.media.translation.customFields`) as `product.cover.media.customFields`, `product.cover.media.translation.createdAt`, `product.cover.media.translation.updatedAt`, `product.cover.media.translation.mediaId`, `product.cover.media.translation.languageId`, `product.cover`.`custom_fields` as `product.cover.customFields`, `product.cover`.`created_at` as `product.cover.createdAt`, `product.cover`.`updated_at` as `product.cover.updatedAt`, `product.translation.metaDescription`, `product.parent.translation.metaDescription`, COALESCE(`product.translation.metaDescription`,`product.parent.translation.metaDescription`,`product.translation.metaDescription`) as `product.metaDescription`, `product.translation.name`, `product.parent.translation.name`, COALESCE(`product.translation.name`,`product.parent.translation.name`,`product.translation.name`) as `product.name`, `product.translation.keywords`, `product.parent.translation.keywords`, COALESCE(`product.translation.keywords`,`product.parent.translation.keywords`,`product.translation.keywords`) as `product.keywords`, `product.translation.description`, `product.parent.translation.description`, COALESCE(`product.translation.description`,`product.parent.translation.description`,`product.translation.description`) as `product.description`, `product.translation.metaTitle`, `product.parent.translation.metaTitle`, COALESCE(`product.translation.metaTitle`,`product.parent.translation.metaTitle`,`product.translation.metaTitle`) as `product.metaTitle`, `product.translation.packUnit`, `product.parent.translation.packUnit`, COALESCE(`product.translation.packUnit`,`product.parent.translation.packUnit`,`product.translation.packUnit`) as `product.packUnit`, `product.translation.packUnitPlural`, `product.parent.translation.packUnitPlural`, COALESCE(`product.translation.packUnitPlural`,`product.parent.translation.packUnitPlural`,`product.translation.packUnitPlural`) as `product.packUnitPlural`, `product.translation.customSearchKeywords`, `product.parent.translation.customSearchKeywords`, COALESCE(`product.translation.customSearchKeywords`,`product.parent.translation.customSearchKeywords`,`product.translation.customSearchKeywords`) as `product.customSearchKeywords`, `product.translation.slotConfig`, `product.parent.translation.slotConfig`, COALESCE(`product.translation.slotConfig`,`product.parent.translation.slotConfig`,`product.translation.slotConfig`) as `product.slotConfig`, `product.translation.customFields`, `product.parent.translation.customFields`, COALESCE(`product.translation.customFields`,`product.parent.translation.customFields`,`product.translation.customFields`) as `product.customFields`, `product.translation.createdAt`, `product.parent.translation.createdAt`, `product.translation.updatedAt`, `product.parent.translation.updatedAt`, `product.translation.productId`, `product.parent.translation.productId`, `product.translation.languageId`, `product.parent.translation.languageId`, `product.translation.productVersionId`, `product.parent.translation.productVersionId` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN (SELECT `product.translation`.product_id, `product.translation`.product_version_id, `product.translation`.meta_description as `product.translation.metaDescription`, `product.translation`.name as `product.translation.name`, `product.translation`.keywords as `product.translation.keywords`, `product.translation`.description as `product.translation.description`, `product.translation`.meta_title as `product.translation.metaTitle`, `product.translation`.pack_unit as `product.translation.packUnit`, `product.translation`.pack_unit_plural as `product.translation.packUnitPlural`, `product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`, `product.translation`.slot_config as `product.translation.slotConfig`, `product.translation`.custom_fields as `product.translation.customFields`, `product.translation`.created_at as `product.translation.createdAt`, `product.translation`.updated_at as `product.translation.updatedAt`, `product.translation`.product_id as `product.translation.productId`, `product.translation`.language_id as `product.translation.languageId`, `product.translation`.product_version_id as `product.translation.productVersionId` FROM `product_translation` `product.translation` WHERE `product.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id` AND `product.product_translation`.product_version_id = `product`.version_id LEFT JOIN (SELECT `product.parent.translation`.product_id, `product.parent.translation`.product_version_id, `product.parent.translation`.meta_description as `product.parent.translation.metaDescription`, `product.parent.translation`.name as `product.parent.translation.name`, `product.parent.translation`.keywords as `product.parent.translation.keywords`, `product.parent.translation`.description as `product.parent.translation.description`, `product.parent.translation`.meta_title as `product.parent.translation.metaTitle`, `product.parent.translation`.pack_unit as `product.parent.translation.packUnit`, `product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`, `product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`, `product.parent.translation`.slot_config as `product.parent.translation.slotConfig`, `product.parent.translation`.custom_fields as `product.parent.translation.customFields`, `product.parent.translation`.created_at as `product.parent.translation.createdAt`, `product.parent.translation`.updated_at as `product.parent.translation.updatedAt`, `product.parent.translation`.product_id as `product.parent.translation.productId`, `product.parent.translation`.language_id as `product.parent.translation.languageId`, `product.parent.translation`.product_version_id as `product.parent.translation.productVersionId` FROM `product_translation` `product.parent.translation` WHERE `product.parent.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id` AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id` LEFT JOIN `unit` `product.unit` ON `product`.`unit` = `product.unit`.`id` LEFT JOIN `delivery_time` `product.deliveryTime` ON `product`.`deliveryTime` = `product.deliveryTime`.`id` LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id` AND `product`.`version_id` = `product.cover`.`version_id` LEFT JOIN (SELECT `product.unit.translation`.unit_id, `product.unit.translation`.short_code as `product.unit.translation.shortCode`, `product.unit.translation`.name as `product.unit.translation.name`, `product.unit.translation`.custom_fields as `product.unit.translation.customFields`, `product.unit.translation`.created_at as `product.unit.translation.createdAt`, `product.unit.translation`.updated_at as `product.unit.translation.updatedAt`, `product.unit.translation`.unit_id as `product.unit.translation.unitId`, `product.unit.translation`.language_id as `product.unit.translation.languageId` FROM `unit_translation` `product.unit.translation` WHERE `product.unit.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.unit.unit_translation` ON `product.unit.unit_translation`.`unit_id` = `product.unit`.`id` LEFT JOIN (SELECT `product.deliveryTime.translation`.delivery_time_id, `product.deliveryTime.translation`.name as `product.deliveryTime.translation.name`, `product.deliveryTime.translation`.custom_fields as `product.deliveryTime.translation.customFields`, `product.deliveryTime.translation`.created_at as `product.deliveryTime.translation.createdAt`, `product.deliveryTime.translation`.updated_at as `product.deliveryTime.translation.updatedAt`, `product.deliveryTime.translation`.delivery_time_id as `product.deliveryTime.translation.deliveryTimeId`, `product.deliveryTime.translation`.language_id as `product.deliveryTime.translation.languageId` FROM `delivery_time_translation` `product.deliveryTime.translation` WHERE `product.deliveryTime.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.deliveryTime.delivery_time_translation` ON `product.deliveryTime.delivery_time_translation`.`delivery_time_id` = `product.deliveryTime`.`id` LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id` LEFT JOIN (SELECT `product.cover.media.translation`.media_id, `product.cover.media.translation`.title as `product.cover.media.translation.title`, `product.cover.media.translation`.alt as `product.cover.media.translation.alt`, `product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`, `product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`, `product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`, `product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`, `product.cover.media.translation`.language_id as `product.cover.media.translation.languageId` FROM `media_translation` `product.cover.media.translation` WHERE `product.cover.media.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id` WHERE (`product`.`version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425) AND (`product`.`id` IN (0xA6E1388B6C9243DA9DBEC02164D64E63));
array:37 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 242)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 316)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetch (line 148)"
4 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 93)"
5 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::read (line 195)"
6 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::read (line 133)"
7 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 36)"
8 => "Swag\PayPal\Util\Compatibility\SalesChannelRepositoryDecorator::search (line 207)"
9 => "Tds\MerwareDiscounts\Cart\Checkout\OverwrittenPriceCollector::getSalesChannelProduct (line 93)"
10 => "Tds\MerwareDiscounts\Cart\Checkout\OverwrittenPriceCollector::collect (line 103)"
11 => "Shopware\Core\Checkout\Cart\Processor::runProcessors (line 67)"
12 => "Shopware\Core\Checkout\Cart\Processor::Shopware\Core\Checkout\Cart\{closure} (line 59)"
13 => "Shopware\Core\Profiling\Profiler::trace (line 86)"
14 => "Shopware\Core\Checkout\Cart\Processor::process (line 132)"
15 => "Shopware\Core\Checkout\Cart\CartRuleLoader::Shopware\Core\Checkout\Cart\{closure} (line 59)"
16 => "Shopware\Core\Profiling\Profiler::trace (line 183)"
17 => "Shopware\Core\Checkout\Cart\CartRuleLoader::load (line 83)"
18 => "Shopware\Core\Checkout\Cart\CartRuleLoader::loadByToken (line 106)"
19 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::Shopware\Core\System\SalesChannel\Context\{closure} (line 59)"
20 => "Shopware\Core\Profiling\Profiler::trace (line 111)"
21 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::get (line 105)"
22 => "Shopware\Core\Framework\Routing\SalesChannelRequestContextResolver::resolve (line 38)"
23 => "Shopware\Core\Framework\Routing\ContextResolverListener::resolveContext (line 118)"
24 => "Symfony\Component\EventDispatcher\Debug\WrappedListener::__invoke (line 230)"
25 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
26 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
27 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
28 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
29 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
30 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
31 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 151)"
32 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
33 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
34 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
35 => "Shopware\Core\HttpKernel::doHandle (line 81)"
36 => "Shopware\Core\HttpKernel::handle (line 85)"
]
|
60 |
1.08 ms |
SELECT `product_price`.`id` as `product_price.id`, `product_price`.`version_id` as `product_price.versionId`, `product_price`.`product_id` as `product_price.productId`, `product_price`.`product_version_id` as `product_price.productVersionId`, `product_price`.`rule_id` as `product_price.ruleId`, `product_price`.`price` as `product_price.price`, `product_price`.`quantity_start` as `product_price.quantityStart`, `product_price`.`quantity_end` as `product_price.quantityEnd`, `product_price`.`custom_fields` as `product_price.customFields`, `product_price`.`created_at` as `product_price.createdAt`, `product_price`.`updated_at` as `product_price.updatedAt` FROM `product_price` WHERE (`product_price`.`version_id` = :version) AND ((`product_price`.`product_id` IN (:param_402a1629889e4996b37d5eb425640fa8)))
SELECT `product_price`.`id` as `product_price.id`, `product_price`.`version_id` as `product_price.versionId`, `product_price`.`product_id` as `product_price.productId`, `product_price`.`product_version_id` as `product_price.productVersionId`, `product_price`.`rule_id` as `product_price.ruleId`, `product_price`.`price` as `product_price.price`, `product_price`.`quantity_start` as `product_price.quantityStart`, `product_price`.`quantity_end` as `product_price.quantityEnd`, `product_price`.`custom_fields` as `product_price.customFields`, `product_price`.`created_at` as `product_price.createdAt`, `product_price`.`updated_at` as `product_price.updatedAt` FROM `product_price` WHERE (`product_price`.`version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425) AND ((`product_price`.`product_id` IN (0xA6E1388B6C9243DA9DBEC02164D64E63, 0xA8012483872748DEA1CD57A9ABF1D807)));
array:41 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 242)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 316)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetch (line 148)"
4 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 503)"
5 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::loadOneToManyWithoutPagination (line 438)"
6 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::loadOneToMany (line 1210)"
7 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetchAssociations (line 152)"
8 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 93)"
9 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::read (line 195)"
10 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::read (line 133)"
11 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 36)"
12 => "Swag\PayPal\Util\Compatibility\SalesChannelRepositoryDecorator::search (line 207)"
13 => "Tds\MerwareDiscounts\Cart\Checkout\OverwrittenPriceCollector::getSalesChannelProduct (line 93)"
14 => "Tds\MerwareDiscounts\Cart\Checkout\OverwrittenPriceCollector::collect (line 103)"
15 => "Shopware\Core\Checkout\Cart\Processor::runProcessors (line 67)"
16 => "Shopware\Core\Checkout\Cart\Processor::Shopware\Core\Checkout\Cart\{closure} (line 59)"
17 => "Shopware\Core\Profiling\Profiler::trace (line 86)"
18 => "Shopware\Core\Checkout\Cart\Processor::process (line 132)"
19 => "Shopware\Core\Checkout\Cart\CartRuleLoader::Shopware\Core\Checkout\Cart\{closure} (line 59)"
20 => "Shopware\Core\Profiling\Profiler::trace (line 183)"
21 => "Shopware\Core\Checkout\Cart\CartRuleLoader::load (line 83)"
22 => "Shopware\Core\Checkout\Cart\CartRuleLoader::loadByToken (line 106)"
23 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::Shopware\Core\System\SalesChannel\Context\{closure} (line 59)"
24 => "Shopware\Core\Profiling\Profiler::trace (line 111)"
25 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::get (line 105)"
26 => "Shopware\Core\Framework\Routing\SalesChannelRequestContextResolver::resolve (line 38)"
27 => "Shopware\Core\Framework\Routing\ContextResolverListener::resolveContext (line 118)"
28 => "Symfony\Component\EventDispatcher\Debug\WrappedListener::__invoke (line 230)"
29 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
30 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
31 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
32 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
33 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
34 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
35 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 151)"
36 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
37 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
38 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
39 => "Shopware\Core\HttpKernel::doHandle (line 81)"
40 => "Shopware\Core\HttpKernel::handle (line 85)"
]
|
61 |
0.54 ms |
SELECT `product`.`id`, `product`.`product_number`, `product`.`auto_increment` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN `product_visibility` `product.visibilities` ON `product`.`visibilities` = `product.visibilities`.`product_id` AND `product`.version_id = `product.visibilities`.product_version_id WHERE (`product`.`version_id` = :version) AND ((((`product.visibilities`.`visibility` >= :param_0745622ea0754017bae7864df27f1cac) AND `product.visibilities`.`sales_channel_id` = :param_aca6b391c0004a709f00c709b96e3064 AND IFNULL(`product`.`active`, `product.parent`.`active`) = :param_dc2242f8ea884b45b402c7dd504c5f2b))) AND (`product`.`id` IN (:ids)) GROUP BY `product`.`id`
SELECT `product`.`id`, `product`.`product_number`, `product`.`auto_increment` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN `product_visibility` `product.visibilities` ON `product`.`visibilities` = `product.visibilities`.`product_id` AND `product`.version_id = `product.visibilities`.product_version_id WHERE (`product`.`version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425) AND ((((`product.visibilities`.`visibility` >= 10) AND `product.visibilities`.`sales_channel_id` = 0x4EB9108BE4654CC9B140D14DE85579E9 AND IFNULL(`product`.`active`, `product.parent`.`active`) = 1))) AND (`product`.`id` IN (0x1994DABAF30A4F58B9BA047B86A9F89A)) GROUP BY `product`.`id`;
array:36 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 242)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 107)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntitySearcher::search (line 62)"
4 => "Shopware\Elasticsearch\Framework\DataAbstractionLayer\ElasticsearchEntitySearcher::search (line 216)"
5 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::doSearch (line 122)"
6 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 36)"
7 => "Swag\PayPal\Util\Compatibility\SalesChannelRepositoryDecorator::search (line 207)"
8 => "Tds\MerwareDiscounts\Cart\Checkout\OverwrittenPriceCollector::getSalesChannelProduct (line 93)"
9 => "Tds\MerwareDiscounts\Cart\Checkout\OverwrittenPriceCollector::collect (line 103)"
10 => "Shopware\Core\Checkout\Cart\Processor::runProcessors (line 67)"
11 => "Shopware\Core\Checkout\Cart\Processor::Shopware\Core\Checkout\Cart\{closure} (line 59)"
12 => "Shopware\Core\Profiling\Profiler::trace (line 86)"
13 => "Shopware\Core\Checkout\Cart\Processor::process (line 132)"
14 => "Shopware\Core\Checkout\Cart\CartRuleLoader::Shopware\Core\Checkout\Cart\{closure} (line 59)"
15 => "Shopware\Core\Profiling\Profiler::trace (line 183)"
16 => "Shopware\Core\Checkout\Cart\CartRuleLoader::load (line 83)"
17 => "Shopware\Core\Checkout\Cart\CartRuleLoader::loadByToken (line 106)"
18 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::Shopware\Core\System\SalesChannel\Context\{closure} (line 59)"
19 => "Shopware\Core\Profiling\Profiler::trace (line 111)"
20 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::get (line 105)"
21 => "Shopware\Core\Framework\Routing\SalesChannelRequestContextResolver::resolve (line 38)"
22 => "Shopware\Core\Framework\Routing\ContextResolverListener::resolveContext (line 118)"
23 => "Symfony\Component\EventDispatcher\Debug\WrappedListener::__invoke (line 230)"
24 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
25 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
26 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
27 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
28 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
29 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
30 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 151)"
31 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
32 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
33 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
34 => "Shopware\Core\HttpKernel::doHandle (line 81)"
35 => "Shopware\Core\HttpKernel::handle (line 85)"
]
|
62 |
11.12 ms |
SELECT `product`.`id` as `product.id`, `product`.`version_id` as `product.versionId`, `product`.`parent_id` as `product.parentId`, `product`.`parent_version_id` as `product.parentVersionId`, COALESCE(`product`.`product_manufacturer_id`, `product.parent`.`product_manufacturer_id`) as `product.manufacturerId`, COALESCE(`product`.`product_manufacturer_version_id`, `product.parent`.`product_manufacturer_version_id`) as `product.productManufacturerVersionId`, COALESCE(`product`.`unit_id`, `product.parent`.`unit_id`) as `product.unitId`, COALESCE(`product`.`tax_id`, `product.parent`.`tax_id`) as `product.taxId`, COALESCE(`product`.`product_media_id`, `product.parent`.`product_media_id`) as `product.coverId`, COALESCE(`product`.`product_media_version_id`, `product.parent`.`product_media_version_id`) as `product.productMediaVersionId`, COALESCE(`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`) as `product.deliveryTimeId`, COALESCE(`product`.`product_feature_set_id`, `product.parent`.`product_feature_set_id`) as `product.featureSetId`, COALESCE(`product`.`canonical_product_id`, `product.parent`.`canonical_product_id`) as `product.canonicalProductId`, COALESCE(`product`.`cms_page_id`, `product.parent`.`cms_page_id`) as `product.cmsPageId`, COALESCE(`product`.`cms_page_version_id`, `product.parent`.`cms_page_version_id`) as `product.cmsPageVersionId`, `product.parent`.`price` as `product.price.inherited`, COALESCE(`product`.`price`, `product.parent`.`price`) as `product.price`, `product`.`product_number` as `product.productNumber`, `product`.`stock` as `product.stock`, COALESCE(`product`.`restock_time`, `product.parent`.`restock_time`) as `product.restockTime`, `product`.`auto_increment` as `product.autoIncrement`, COALESCE(`product`.`active`, `product.parent`.`active`) as `product.active`, `product`.`available_stock` as `product.availableStock`, `product`.`available` as `product.available`, COALESCE(`product`.`is_closeout`, `product.parent`.`is_closeout`) as `product.isCloseout`, `product`.`display_group` as `product.displayGroup`, `product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`, COALESCE(`product`.`configurator_group_config`, `product.parent`.`configurator_group_config`) as `product.configuratorGroupConfig`, COALESCE(`product`.`main_variant_id`, `product.parent`.`main_variant_id`) as `product.mainVariantId`, COALESCE(`product`.`display_parent`, `product.parent`.`display_parent`) as `product.displayParent`, `product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`, COALESCE(`product`.`variant_listing_config`, `product.parent`.`variant_listing_config`) as `product.variantListingConfig`, `product`.`variant_restrictions` as `product.variantRestrictions`, COALESCE(`product`.`manufacturer_number`, `product.parent`.`manufacturer_number`) as `product.manufacturerNumber`, COALESCE(`product`.`ean`, `product.parent`.`ean`) as `product.ean`, COALESCE(`product`.`purchase_steps`, `product.parent`.`purchase_steps`) as `product.purchaseSteps`, COALESCE(`product`.`max_purchase`, `product.parent`.`max_purchase`) as `product.maxPurchase`, COALESCE(`product`.`min_purchase`, `product.parent`.`min_purchase`) as `product.minPurchase`, COALESCE(`product`.`purchase_unit`, `product.parent`.`purchase_unit`) as `product.purchaseUnit`, COALESCE(`product`.`reference_unit`, `product.parent`.`reference_unit`) as `product.referenceUnit`, COALESCE(`product`.`shipping_free`, `product.parent`.`shipping_free`) as `product.shippingFree`, `product.parent`.`purchase_prices` as `product.purchasePrices.inherited`, COALESCE(`product`.`purchase_prices`, `product.parent`.`purchase_prices`) as `product.purchasePrices`, COALESCE(`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`) as `product.markAsTopseller`, COALESCE(`product`.`weight`, `product.parent`.`weight`) as `product.weight`, COALESCE(`product`.`width`, `product.parent`.`width`) as `product.width`, COALESCE(`product`.`height`, `product.parent`.`height`) as `product.height`, COALESCE(`product`.`length`, `product.parent`.`length`) as `product.length`, COALESCE(`product`.`release_date`, `product.parent`.`release_date`) as `product.releaseDate`, COALESCE(`product`.`rating_average`, `product.parent`.`rating_average`) as `product.ratingAverage`, `product.parent`.`category_tree` as `product.categoryTree.inherited`, COALESCE(`product`.`category_tree`, `product.parent`.`category_tree`) as `product.categoryTree`, `product.parent`.`property_ids` as `product.propertyIds.inherited`, COALESCE(`product`.`property_ids`, `product.parent`.`property_ids`) as `product.propertyIds`, `product.parent`.`option_ids` as `product.optionIds.inherited`, COALESCE(`product`.`option_ids`, `product.parent`.`option_ids`) as `product.optionIds`, `product.parent`.`stream_ids` as `product.streamIds.inherited`, COALESCE(`product`.`stream_ids`, `product.parent`.`stream_ids`) as `product.streamIds`, `product.parent`.`tag_ids` as `product.tagIds.inherited`, COALESCE(`product`.`tag_ids`, `product.parent`.`tag_ids`) as `product.tagIds`, `product.parent`.`category_ids` as `product.categoryIds.inherited`, COALESCE(`product`.`category_ids`, `product.parent`.`category_ids`) as `product.categoryIds`, `product`.`child_count` as `product.childCount`, COALESCE(`product`.`custom_field_set_selection_active`, `product.parent`.`custom_field_set_selection_active`) as `product.customFieldSetSelectionActive`, `product`.`sales` as `product.sales`, `product`.`states` as `product.states`, `product.tax`.`id` as `product.tax.id`, `product.tax`.`tax_rate` as `product.tax.taxRate`, `product.tax`.`name` as `product.tax.name`, `product.tax`.`position` as `product.tax.position`, `product.tax`.`custom_fields` as `product.tax.customFields`, `product.tax`.`created_at` as `product.tax.createdAt`, `product.tax`.`updated_at` as `product.tax.updatedAt`, `product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`, COALESCE(`product`.`cheapest_price`, `product.parent`.`cheapest_price`) as `product.cheapestPrice`, `product`.`created_at` as `product.createdAt`, `product`.`updated_at` as `product.updatedAt`, `product.unit`.`id` as `product.unit.id`, `product.unit`.`created_at` as `product.unit.createdAt`, `product.unit`.`updated_at` as `product.unit.updatedAt`, `product.unit.translation.shortCode`, COALESCE(`product.unit.translation.shortCode`,`product.unit.translation.shortCode`) as `product.unit.shortCode`, `product.unit.translation.name`, COALESCE(`product.unit.translation.name`,`product.unit.translation.name`) as `product.unit.name`, `product.unit.translation.customFields`, COALESCE(`product.unit.translation.customFields`,`product.unit.translation.customFields`) as `product.unit.customFields`, `product.unit.translation.createdAt`, `product.unit.translation.updatedAt`, `product.unit.translation.unitId`, `product.unit.translation.languageId`, `product.deliveryTime`.`id` as `product.deliveryTime.id`, `product.deliveryTime`.`min` as `product.deliveryTime.min`, `product.deliveryTime`.`max` as `product.deliveryTime.max`, `product.deliveryTime`.`unit` as `product.deliveryTime.unit`, `product.deliveryTime`.`created_at` as `product.deliveryTime.createdAt`, `product.deliveryTime`.`updated_at` as `product.deliveryTime.updatedAt`, `product.deliveryTime.translation.name`, COALESCE(`product.deliveryTime.translation.name`,`product.deliveryTime.translation.name`) as `product.deliveryTime.name`, `product.deliveryTime.translation.customFields`, COALESCE(`product.deliveryTime.translation.customFields`,`product.deliveryTime.translation.customFields`) as `product.deliveryTime.customFields`, `product.deliveryTime.translation.createdAt`, `product.deliveryTime.translation.updatedAt`, `product.deliveryTime.translation.deliveryTimeId`, `product.deliveryTime.translation.languageId`, `product.cover`.`id` as `product.cover.id`, `product.cover`.`version_id` as `product.cover.versionId`, `product.cover`.`product_id` as `product.cover.productId`, `product.cover`.`product_version_id` as `product.cover.productVersionId`, `product.cover`.`media_id` as `product.cover.mediaId`, `product.cover`.`position` as `product.cover.position`, `product.cover.media`.`id` as `product.cover.media.id`, `product.cover.media`.`user_id` as `product.cover.media.userId`, `product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`, `product.cover.media`.`mime_type` as `product.cover.media.mimeType`, `product.cover.media`.`file_extension` as `product.cover.media.fileExtension`, `product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`, `product.cover.media`.`file_name` as `product.cover.media.fileName`, `product.cover.media`.`file_size` as `product.cover.media.fileSize`, `product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`, `product.cover.media`.`meta_data` as `product.cover.media.metaData`, `product.cover.media`.`private` as `product.cover.media.private`, `product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`, `product.cover.media`.`created_at` as `product.cover.media.createdAt`, `product.cover.media`.`updated_at` as `product.cover.media.updatedAt`, `product.cover.media.translation.title`, COALESCE(`product.cover.media.translation.title`,`product.cover.media.translation.title`) as `product.cover.media.title`, `product.cover.media.translation.alt`, COALESCE(`product.cover.media.translation.alt`,`product.cover.media.translation.alt`) as `product.cover.media.alt`, `product.cover.media.translation.customFields`, COALESCE(`product.cover.media.translation.customFields`,`product.cover.media.translation.customFields`) as `product.cover.media.customFields`, `product.cover.media.translation.createdAt`, `product.cover.media.translation.updatedAt`, `product.cover.media.translation.mediaId`, `product.cover.media.translation.languageId`, `product.cover`.`custom_fields` as `product.cover.customFields`, `product.cover`.`created_at` as `product.cover.createdAt`, `product.cover`.`updated_at` as `product.cover.updatedAt`, `product.translation.metaDescription`, `product.parent.translation.metaDescription`, COALESCE(`product.translation.metaDescription`,`product.parent.translation.metaDescription`,`product.translation.metaDescription`) as `product.metaDescription`, `product.translation.name`, `product.parent.translation.name`, COALESCE(`product.translation.name`,`product.parent.translation.name`,`product.translation.name`) as `product.name`, `product.translation.keywords`, `product.parent.translation.keywords`, COALESCE(`product.translation.keywords`,`product.parent.translation.keywords`,`product.translation.keywords`) as `product.keywords`, `product.translation.description`, `product.parent.translation.description`, COALESCE(`product.translation.description`,`product.parent.translation.description`,`product.translation.description`) as `product.description`, `product.translation.metaTitle`, `product.parent.translation.metaTitle`, COALESCE(`product.translation.metaTitle`,`product.parent.translation.metaTitle`,`product.translation.metaTitle`) as `product.metaTitle`, `product.translation.packUnit`, `product.parent.translation.packUnit`, COALESCE(`product.translation.packUnit`,`product.parent.translation.packUnit`,`product.translation.packUnit`) as `product.packUnit`, `product.translation.packUnitPlural`, `product.parent.translation.packUnitPlural`, COALESCE(`product.translation.packUnitPlural`,`product.parent.translation.packUnitPlural`,`product.translation.packUnitPlural`) as `product.packUnitPlural`, `product.translation.customSearchKeywords`, `product.parent.translation.customSearchKeywords`, COALESCE(`product.translation.customSearchKeywords`,`product.parent.translation.customSearchKeywords`,`product.translation.customSearchKeywords`) as `product.customSearchKeywords`, `product.translation.slotConfig`, `product.parent.translation.slotConfig`, COALESCE(`product.translation.slotConfig`,`product.parent.translation.slotConfig`,`product.translation.slotConfig`) as `product.slotConfig`, `product.translation.customFields`, `product.parent.translation.customFields`, COALESCE(`product.translation.customFields`,`product.parent.translation.customFields`,`product.translation.customFields`) as `product.customFields`, `product.translation.createdAt`, `product.parent.translation.createdAt`, `product.translation.updatedAt`, `product.parent.translation.updatedAt`, `product.translation.productId`, `product.parent.translation.productId`, `product.translation.languageId`, `product.parent.translation.languageId`, `product.translation.productVersionId`, `product.parent.translation.productVersionId` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN (SELECT `product.translation`.product_id, `product.translation`.product_version_id, `product.translation`.meta_description as `product.translation.metaDescription`, `product.translation`.name as `product.translation.name`, `product.translation`.keywords as `product.translation.keywords`, `product.translation`.description as `product.translation.description`, `product.translation`.meta_title as `product.translation.metaTitle`, `product.translation`.pack_unit as `product.translation.packUnit`, `product.translation`.pack_unit_plural as `product.translation.packUnitPlural`, `product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`, `product.translation`.slot_config as `product.translation.slotConfig`, `product.translation`.custom_fields as `product.translation.customFields`, `product.translation`.created_at as `product.translation.createdAt`, `product.translation`.updated_at as `product.translation.updatedAt`, `product.translation`.product_id as `product.translation.productId`, `product.translation`.language_id as `product.translation.languageId`, `product.translation`.product_version_id as `product.translation.productVersionId` FROM `product_translation` `product.translation` WHERE `product.translation`.language_id = :languageId) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id` AND `product.product_translation`.product_version_id = `product`.version_id LEFT JOIN (SELECT `product.parent.translation`.product_id, `product.parent.translation`.product_version_id, `product.parent.translation`.meta_description as `product.parent.translation.metaDescription`, `product.parent.translation`.name as `product.parent.translation.name`, `product.parent.translation`.keywords as `product.parent.translation.keywords`, `product.parent.translation`.description as `product.parent.translation.description`, `product.parent.translation`.meta_title as `product.parent.translation.metaTitle`, `product.parent.translation`.pack_unit as `product.parent.translation.packUnit`, `product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`, `product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`, `product.parent.translation`.slot_config as `product.parent.translation.slotConfig`, `product.parent.translation`.custom_fields as `product.parent.translation.customFields`, `product.parent.translation`.created_at as `product.parent.translation.createdAt`, `product.parent.translation`.updated_at as `product.parent.translation.updatedAt`, `product.parent.translation`.product_id as `product.parent.translation.productId`, `product.parent.translation`.language_id as `product.parent.translation.languageId`, `product.parent.translation`.product_version_id as `product.parent.translation.productVersionId` FROM `product_translation` `product.parent.translation` WHERE `product.parent.translation`.language_id = :languageId) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id` AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id` LEFT JOIN `unit` `product.unit` ON `product`.`unit` = `product.unit`.`id` LEFT JOIN `delivery_time` `product.deliveryTime` ON `product`.`deliveryTime` = `product.deliveryTime`.`id` LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id` AND `product`.`version_id` = `product.cover`.`version_id` LEFT JOIN (SELECT `product.unit.translation`.unit_id, `product.unit.translation`.short_code as `product.unit.translation.shortCode`, `product.unit.translation`.name as `product.unit.translation.name`, `product.unit.translation`.custom_fields as `product.unit.translation.customFields`, `product.unit.translation`.created_at as `product.unit.translation.createdAt`, `product.unit.translation`.updated_at as `product.unit.translation.updatedAt`, `product.unit.translation`.unit_id as `product.unit.translation.unitId`, `product.unit.translation`.language_id as `product.unit.translation.languageId` FROM `unit_translation` `product.unit.translation` WHERE `product.unit.translation`.language_id = :languageId) `product.unit.unit_translation` ON `product.unit.unit_translation`.`unit_id` = `product.unit`.`id` LEFT JOIN (SELECT `product.deliveryTime.translation`.delivery_time_id, `product.deliveryTime.translation`.name as `product.deliveryTime.translation.name`, `product.deliveryTime.translation`.custom_fields as `product.deliveryTime.translation.customFields`, `product.deliveryTime.translation`.created_at as `product.deliveryTime.translation.createdAt`, `product.deliveryTime.translation`.updated_at as `product.deliveryTime.translation.updatedAt`, `product.deliveryTime.translation`.delivery_time_id as `product.deliveryTime.translation.deliveryTimeId`, `product.deliveryTime.translation`.language_id as `product.deliveryTime.translation.languageId` FROM `delivery_time_translation` `product.deliveryTime.translation` WHERE `product.deliveryTime.translation`.language_id = :languageId) `product.deliveryTime.delivery_time_translation` ON `product.deliveryTime.delivery_time_translation`.`delivery_time_id` = `product.deliveryTime`.`id` LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id` LEFT JOIN (SELECT `product.cover.media.translation`.media_id, `product.cover.media.translation`.title as `product.cover.media.translation.title`, `product.cover.media.translation`.alt as `product.cover.media.translation.alt`, `product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`, `product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`, `product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`, `product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`, `product.cover.media.translation`.language_id as `product.cover.media.translation.languageId` FROM `media_translation` `product.cover.media.translation` WHERE `product.cover.media.translation`.language_id = :languageId) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id` WHERE (`product`.`version_id` = :version) AND (`product`.`id` IN (:ids))
SELECT
`product`.`id` as `product.id`,
`product`.`version_id` as `product.versionId`,
`product`.`parent_id` as `product.parentId`,
`product`.`parent_version_id` as `product.parentVersionId`,
COALESCE(
`product`.`product_manufacturer_id`,
`product.parent`.`product_manufacturer_id`
) as `product.manufacturerId`,
COALESCE(
`product`.`product_manufacturer_version_id`,
`product.parent`.`product_manufacturer_version_id`
) as `product.productManufacturerVersionId`,
COALESCE(
`product`.`unit_id`, `product.parent`.`unit_id`
) as `product.unitId`,
COALESCE(
`product`.`tax_id`, `product.parent`.`tax_id`
) as `product.taxId`,
COALESCE(
`product`.`product_media_id`, `product.parent`.`product_media_id`
) as `product.coverId`,
COALESCE(
`product`.`product_media_version_id`,
`product.parent`.`product_media_version_id`
) as `product.productMediaVersionId`,
COALESCE(
`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`
) as `product.deliveryTimeId`,
COALESCE(
`product`.`product_feature_set_id`,
`product.parent`.`product_feature_set_id`
) as `product.featureSetId`,
COALESCE(
`product`.`canonical_product_id`,
`product.parent`.`canonical_product_id`
) as `product.canonicalProductId`,
COALESCE(
`product`.`cms_page_id`, `product.parent`.`cms_page_id`
) as `product.cmsPageId`,
COALESCE(
`product`.`cms_page_version_id`,
`product.parent`.`cms_page_version_id`
) as `product.cmsPageVersionId`,
`product.parent`.`price` as `product.price.inherited`,
COALESCE(
`product`.`price`, `product.parent`.`price`
) as `product.price`,
`product`.`product_number` as `product.productNumber`,
`product`.`stock` as `product.stock`,
COALESCE(
`product`.`restock_time`, `product.parent`.`restock_time`
) as `product.restockTime`,
`product`.`auto_increment` as `product.autoIncrement`,
COALESCE(
`product`.`active`, `product.parent`.`active`
) as `product.active`,
`product`.`available_stock` as `product.availableStock`,
`product`.`available` as `product.available`,
COALESCE(
`product`.`is_closeout`, `product.parent`.`is_closeout`
) as `product.isCloseout`,
`product`.`display_group` as `product.displayGroup`,
`product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`,
COALESCE(
`product`.`configurator_group_config`,
`product.parent`.`configurator_group_config`
) as `product.configuratorGroupConfig`,
COALESCE(
`product`.`main_variant_id`, `product.parent`.`main_variant_id`
) as `product.mainVariantId`,
COALESCE(
`product`.`display_parent`, `product.parent`.`display_parent`
) as `product.displayParent`,
`product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`,
COALESCE(
`product`.`variant_listing_config`,
`product.parent`.`variant_listing_config`
) as `product.variantListingConfig`,
`product`.`variant_restrictions` as `product.variantRestrictions`,
COALESCE(
`product`.`manufacturer_number`,
`product.parent`.`manufacturer_number`
) as `product.manufacturerNumber`,
COALESCE(
`product`.`ean`, `product.parent`.`ean`
) as `product.ean`,
COALESCE(
`product`.`purchase_steps`, `product.parent`.`purchase_steps`
) as `product.purchaseSteps`,
COALESCE(
`product`.`max_purchase`, `product.parent`.`max_purchase`
) as `product.maxPurchase`,
COALESCE(
`product`.`min_purchase`, `product.parent`.`min_purchase`
) as `product.minPurchase`,
COALESCE(
`product`.`purchase_unit`, `product.parent`.`purchase_unit`
) as `product.purchaseUnit`,
COALESCE(
`product`.`reference_unit`, `product.parent`.`reference_unit`
) as `product.referenceUnit`,
COALESCE(
`product`.`shipping_free`, `product.parent`.`shipping_free`
) as `product.shippingFree`,
`product.parent`.`purchase_prices` as `product.purchasePrices.inherited`,
COALESCE(
`product`.`purchase_prices`, `product.parent`.`purchase_prices`
) as `product.purchasePrices`,
COALESCE(
`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`
) as `product.markAsTopseller`,
COALESCE(
`product`.`weight`, `product.parent`.`weight`
) as `product.weight`,
COALESCE(
`product`.`width`, `product.parent`.`width`
) as `product.width`,
COALESCE(
`product`.`height`, `product.parent`.`height`
) as `product.height`,
COALESCE(
`product`.`length`, `product.parent`.`length`
) as `product.length`,
COALESCE(
`product`.`release_date`, `product.parent`.`release_date`
) as `product.releaseDate`,
COALESCE(
`product`.`rating_average`, `product.parent`.`rating_average`
) as `product.ratingAverage`,
`product.parent`.`category_tree` as `product.categoryTree.inherited`,
COALESCE(
`product`.`category_tree`, `product.parent`.`category_tree`
) as `product.categoryTree`,
`product.parent`.`property_ids` as `product.propertyIds.inherited`,
COALESCE(
`product`.`property_ids`, `product.parent`.`property_ids`
) as `product.propertyIds`,
`product.parent`.`option_ids` as `product.optionIds.inherited`,
COALESCE(
`product`.`option_ids`, `product.parent`.`option_ids`
) as `product.optionIds`,
`product.parent`.`stream_ids` as `product.streamIds.inherited`,
COALESCE(
`product`.`stream_ids`, `product.parent`.`stream_ids`
) as `product.streamIds`,
`product.parent`.`tag_ids` as `product.tagIds.inherited`,
COALESCE(
`product`.`tag_ids`, `product.parent`.`tag_ids`
) as `product.tagIds`,
`product.parent`.`category_ids` as `product.categoryIds.inherited`,
COALESCE(
`product`.`category_ids`, `product.parent`.`category_ids`
) as `product.categoryIds`,
`product`.`child_count` as `product.childCount`,
COALESCE(
`product`.`custom_field_set_selection_active`,
`product.parent`.`custom_field_set_selection_active`
) as `product.customFieldSetSelectionActive`,
`product`.`sales` as `product.sales`,
`product`.`states` as `product.states`,
`product.tax`.`id` as `product.tax.id`,
`product.tax`.`tax_rate` as `product.tax.taxRate`,
`product.tax`.`name` as `product.tax.name`,
`product.tax`.`position` as `product.tax.position`,
`product.tax`.`custom_fields` as `product.tax.customFields`,
`product.tax`.`created_at` as `product.tax.createdAt`,
`product.tax`.`updated_at` as `product.tax.updatedAt`,
`product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`,
COALESCE(
`product`.`cheapest_price`, `product.parent`.`cheapest_price`
) as `product.cheapestPrice`,
`product`.`created_at` as `product.createdAt`,
`product`.`updated_at` as `product.updatedAt`,
`product.unit`.`id` as `product.unit.id`,
`product.unit`.`created_at` as `product.unit.createdAt`,
`product.unit`.`updated_at` as `product.unit.updatedAt`,
`product.unit.translation.shortCode`,
COALESCE(
`product.unit.translation.shortCode`,
`product.unit.translation.shortCode`
) as `product.unit.shortCode`,
`product.unit.translation.name`,
COALESCE(
`product.unit.translation.name`,
`product.unit.translation.name`
) as `product.unit.name`,
`product.unit.translation.customFields`,
COALESCE(
`product.unit.translation.customFields`,
`product.unit.translation.customFields`
) as `product.unit.customFields`,
`product.unit.translation.createdAt`,
`product.unit.translation.updatedAt`,
`product.unit.translation.unitId`,
`product.unit.translation.languageId`,
`product.deliveryTime`.`id` as `product.deliveryTime.id`,
`product.deliveryTime`.`min` as `product.deliveryTime.min`,
`product.deliveryTime`.`max` as `product.deliveryTime.max`,
`product.deliveryTime`.`unit` as `product.deliveryTime.unit`,
`product.deliveryTime`.`created_at` as `product.deliveryTime.createdAt`,
`product.deliveryTime`.`updated_at` as `product.deliveryTime.updatedAt`,
`product.deliveryTime.translation.name`,
COALESCE(
`product.deliveryTime.translation.name`,
`product.deliveryTime.translation.name`
) as `product.deliveryTime.name`,
`product.deliveryTime.translation.customFields`,
COALESCE(
`product.deliveryTime.translation.customFields`,
`product.deliveryTime.translation.customFields`
) as `product.deliveryTime.customFields`,
`product.deliveryTime.translation.createdAt`,
`product.deliveryTime.translation.updatedAt`,
`product.deliveryTime.translation.deliveryTimeId`,
`product.deliveryTime.translation.languageId`,
`product.cover`.`id` as `product.cover.id`,
`product.cover`.`version_id` as `product.cover.versionId`,
`product.cover`.`product_id` as `product.cover.productId`,
`product.cover`.`product_version_id` as `product.cover.productVersionId`,
`product.cover`.`media_id` as `product.cover.mediaId`,
`product.cover`.`position` as `product.cover.position`,
`product.cover.media`.`id` as `product.cover.media.id`,
`product.cover.media`.`user_id` as `product.cover.media.userId`,
`product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`,
`product.cover.media`.`mime_type` as `product.cover.media.mimeType`,
`product.cover.media`.`file_extension` as `product.cover.media.fileExtension`,
`product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`,
`product.cover.media`.`file_name` as `product.cover.media.fileName`,
`product.cover.media`.`file_size` as `product.cover.media.fileSize`,
`product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`,
`product.cover.media`.`meta_data` as `product.cover.media.metaData`,
`product.cover.media`.`private` as `product.cover.media.private`,
`product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`,
`product.cover.media`.`created_at` as `product.cover.media.createdAt`,
`product.cover.media`.`updated_at` as `product.cover.media.updatedAt`,
`product.cover.media.translation.title`,
COALESCE(
`product.cover.media.translation.title`,
`product.cover.media.translation.title`
) as `product.cover.media.title`,
`product.cover.media.translation.alt`,
COALESCE(
`product.cover.media.translation.alt`,
`product.cover.media.translation.alt`
) as `product.cover.media.alt`,
`product.cover.media.translation.customFields`,
COALESCE(
`product.cover.media.translation.customFields`,
`product.cover.media.translation.customFields`
) as `product.cover.media.customFields`,
`product.cover.media.translation.createdAt`,
`product.cover.media.translation.updatedAt`,
`product.cover.media.translation.mediaId`,
`product.cover.media.translation.languageId`,
`product.cover`.`custom_fields` as `product.cover.customFields`,
`product.cover`.`created_at` as `product.cover.createdAt`,
`product.cover`.`updated_at` as `product.cover.updatedAt`,
`product.translation.metaDescription`,
`product.parent.translation.metaDescription`,
COALESCE(
`product.translation.metaDescription`,
`product.parent.translation.metaDescription`,
`product.translation.metaDescription`
) as `product.metaDescription`,
`product.translation.name`,
`product.parent.translation.name`,
COALESCE(
`product.translation.name`, `product.parent.translation.name`,
`product.translation.name`
) as `product.name`,
`product.translation.keywords`,
`product.parent.translation.keywords`,
COALESCE(
`product.translation.keywords`,
`product.parent.translation.keywords`,
`product.translation.keywords`
) as `product.keywords`,
`product.translation.description`,
`product.parent.translation.description`,
COALESCE(
`product.translation.description`,
`product.parent.translation.description`,
`product.translation.description`
) as `product.description`,
`product.translation.metaTitle`,
`product.parent.translation.metaTitle`,
COALESCE(
`product.translation.metaTitle`,
`product.parent.translation.metaTitle`,
`product.translation.metaTitle`
) as `product.metaTitle`,
`product.translation.packUnit`,
`product.parent.translation.packUnit`,
COALESCE(
`product.translation.packUnit`,
`product.parent.translation.packUnit`,
`product.translation.packUnit`
) as `product.packUnit`,
`product.translation.packUnitPlural`,
`product.parent.translation.packUnitPlural`,
COALESCE(
`product.translation.packUnitPlural`,
`product.parent.translation.packUnitPlural`,
`product.translation.packUnitPlural`
) as `product.packUnitPlural`,
`product.translation.customSearchKeywords`,
`product.parent.translation.customSearchKeywords`,
COALESCE(
`product.translation.customSearchKeywords`,
`product.parent.translation.customSearchKeywords`,
`product.translation.customSearchKeywords`
) as `product.customSearchKeywords`,
`product.translation.slotConfig`,
`product.parent.translation.slotConfig`,
COALESCE(
`product.translation.slotConfig`,
`product.parent.translation.slotConfig`,
`product.translation.slotConfig`
) as `product.slotConfig`,
`product.translation.customFields`,
`product.parent.translation.customFields`,
COALESCE(
`product.translation.customFields`,
`product.parent.translation.customFields`,
`product.translation.customFields`
) as `product.customFields`,
`product.translation.createdAt`,
`product.parent.translation.createdAt`,
`product.translation.updatedAt`,
`product.parent.translation.updatedAt`,
`product.translation.productId`,
`product.parent.translation.productId`,
`product.translation.languageId`,
`product.parent.translation.languageId`,
`product.translation.productVersionId`,
`product.parent.translation.productVersionId`
FROM
`product`
LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id`
AND `product`.`version_id` = `product.parent`.`version_id`
LEFT JOIN (
SELECT
`product.translation`.product_id,
`product.translation`.product_version_id,
`product.translation`.meta_description as `product.translation.metaDescription`,
`product.translation`.name as `product.translation.name`,
`product.translation`.keywords as `product.translation.keywords`,
`product.translation`.description as `product.translation.description`,
`product.translation`.meta_title as `product.translation.metaTitle`,
`product.translation`.pack_unit as `product.translation.packUnit`,
`product.translation`.pack_unit_plural as `product.translation.packUnitPlural`,
`product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`,
`product.translation`.slot_config as `product.translation.slotConfig`,
`product.translation`.custom_fields as `product.translation.customFields`,
`product.translation`.created_at as `product.translation.createdAt`,
`product.translation`.updated_at as `product.translation.updatedAt`,
`product.translation`.product_id as `product.translation.productId`,
`product.translation`.language_id as `product.translation.languageId`,
`product.translation`.product_version_id as `product.translation.productVersionId`
FROM
`product_translation` `product.translation`
WHERE
`product.translation`.language_id = : languageId
) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id`
AND `product.product_translation`.product_version_id = `product`.version_id
LEFT JOIN (
SELECT
`product.parent.translation`.product_id,
`product.parent.translation`.product_version_id,
`product.parent.translation`.meta_description as `product.parent.translation.metaDescription`,
`product.parent.translation`.name as `product.parent.translation.name`,
`product.parent.translation`.keywords as `product.parent.translation.keywords`,
`product.parent.translation`.description as `product.parent.translation.description`,
`product.parent.translation`.meta_title as `product.parent.translation.metaTitle`,
`product.parent.translation`.pack_unit as `product.parent.translation.packUnit`,
`product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`,
`product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`,
`product.parent.translation`.slot_config as `product.parent.translation.slotConfig`,
`product.parent.translation`.custom_fields as `product.parent.translation.customFields`,
`product.parent.translation`.created_at as `product.parent.translation.createdAt`,
`product.parent.translation`.updated_at as `product.parent.translation.updatedAt`,
`product.parent.translation`.product_id as `product.parent.translation.productId`,
`product.parent.translation`.language_id as `product.parent.translation.languageId`,
`product.parent.translation`.product_version_id as `product.parent.translation.productVersionId`
FROM
`product_translation` `product.parent.translation`
WHERE
`product.parent.translation`.language_id = : languageId
) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id`
AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id
LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id`
LEFT JOIN `unit` `product.unit` ON `product`.`unit` = `product.unit`.`id`
LEFT JOIN `delivery_time` `product.deliveryTime` ON `product`.`deliveryTime` = `product.deliveryTime`.`id`
LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id`
AND `product`.`version_id` = `product.cover`.`version_id`
LEFT JOIN (
SELECT
`product.unit.translation`.unit_id,
`product.unit.translation`.short_code as `product.unit.translation.shortCode`,
`product.unit.translation`.name as `product.unit.translation.name`,
`product.unit.translation`.custom_fields as `product.unit.translation.customFields`,
`product.unit.translation`.created_at as `product.unit.translation.createdAt`,
`product.unit.translation`.updated_at as `product.unit.translation.updatedAt`,
`product.unit.translation`.unit_id as `product.unit.translation.unitId`,
`product.unit.translation`.language_id as `product.unit.translation.languageId`
FROM
`unit_translation` `product.unit.translation`
WHERE
`product.unit.translation`.language_id = : languageId
) `product.unit.unit_translation` ON `product.unit.unit_translation`.`unit_id` = `product.unit`.`id`
LEFT JOIN (
SELECT
`product.deliveryTime.translation`.delivery_time_id,
`product.deliveryTime.translation`.name as `product.deliveryTime.translation.name`,
`product.deliveryTime.translation`.custom_fields as `product.deliveryTime.translation.customFields`,
`product.deliveryTime.translation`.created_at as `product.deliveryTime.translation.createdAt`,
`product.deliveryTime.translation`.updated_at as `product.deliveryTime.translation.updatedAt`,
`product.deliveryTime.translation`.delivery_time_id as `product.deliveryTime.translation.deliveryTimeId`,
`product.deliveryTime.translation`.language_id as `product.deliveryTime.translation.languageId`
FROM
`delivery_time_translation` `product.deliveryTime.translation`
WHERE
`product.deliveryTime.translation`.language_id = : languageId
) `product.deliveryTime.delivery_time_translation` ON `product.deliveryTime.delivery_time_translation`.`delivery_time_id` = `product.deliveryTime`.`id`
LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id`
LEFT JOIN (
SELECT
`product.cover.media.translation`.media_id,
`product.cover.media.translation`.title as `product.cover.media.translation.title`,
`product.cover.media.translation`.alt as `product.cover.media.translation.alt`,
`product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`,
`product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`,
`product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`,
`product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`,
`product.cover.media.translation`.language_id as `product.cover.media.translation.languageId`
FROM
`media_translation` `product.cover.media.translation`
WHERE
`product.cover.media.translation`.language_id = : languageId
) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id`
WHERE
(
`product`.`version_id` = : version
)
AND (
`product`.`id` IN (: ids)
)
SELECT `product`.`id` as `product.id`, `product`.`version_id` as `product.versionId`, `product`.`parent_id` as `product.parentId`, `product`.`parent_version_id` as `product.parentVersionId`, COALESCE(`product`.`product_manufacturer_id`, `product.parent`.`product_manufacturer_id`) as `product.manufacturerId`, COALESCE(`product`.`product_manufacturer_version_id`, `product.parent`.`product_manufacturer_version_id`) as `product.productManufacturerVersionId`, COALESCE(`product`.`unit_id`, `product.parent`.`unit_id`) as `product.unitId`, COALESCE(`product`.`tax_id`, `product.parent`.`tax_id`) as `product.taxId`, COALESCE(`product`.`product_media_id`, `product.parent`.`product_media_id`) as `product.coverId`, COALESCE(`product`.`product_media_version_id`, `product.parent`.`product_media_version_id`) as `product.productMediaVersionId`, COALESCE(`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`) as `product.deliveryTimeId`, COALESCE(`product`.`product_feature_set_id`, `product.parent`.`product_feature_set_id`) as `product.featureSetId`, COALESCE(`product`.`canonical_product_id`, `product.parent`.`canonical_product_id`) as `product.canonicalProductId`, COALESCE(`product`.`cms_page_id`, `product.parent`.`cms_page_id`) as `product.cmsPageId`, COALESCE(`product`.`cms_page_version_id`, `product.parent`.`cms_page_version_id`) as `product.cmsPageVersionId`, `product.parent`.`price` as `product.price.inherited`, COALESCE(`product`.`price`, `product.parent`.`price`) as `product.price`, `product`.`product_number` as `product.productNumber`, `product`.`stock` as `product.stock`, COALESCE(`product`.`restock_time`, `product.parent`.`restock_time`) as `product.restockTime`, `product`.`auto_increment` as `product.autoIncrement`, COALESCE(`product`.`active`, `product.parent`.`active`) as `product.active`, `product`.`available_stock` as `product.availableStock`, `product`.`available` as `product.available`, COALESCE(`product`.`is_closeout`, `product.parent`.`is_closeout`) as `product.isCloseout`, `product`.`display_group` as `product.displayGroup`, `product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`, COALESCE(`product`.`configurator_group_config`, `product.parent`.`configurator_group_config`) as `product.configuratorGroupConfig`, COALESCE(`product`.`main_variant_id`, `product.parent`.`main_variant_id`) as `product.mainVariantId`, COALESCE(`product`.`display_parent`, `product.parent`.`display_parent`) as `product.displayParent`, `product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`, COALESCE(`product`.`variant_listing_config`, `product.parent`.`variant_listing_config`) as `product.variantListingConfig`, `product`.`variant_restrictions` as `product.variantRestrictions`, COALESCE(`product`.`manufacturer_number`, `product.parent`.`manufacturer_number`) as `product.manufacturerNumber`, COALESCE(`product`.`ean`, `product.parent`.`ean`) as `product.ean`, COALESCE(`product`.`purchase_steps`, `product.parent`.`purchase_steps`) as `product.purchaseSteps`, COALESCE(`product`.`max_purchase`, `product.parent`.`max_purchase`) as `product.maxPurchase`, COALESCE(`product`.`min_purchase`, `product.parent`.`min_purchase`) as `product.minPurchase`, COALESCE(`product`.`purchase_unit`, `product.parent`.`purchase_unit`) as `product.purchaseUnit`, COALESCE(`product`.`reference_unit`, `product.parent`.`reference_unit`) as `product.referenceUnit`, COALESCE(`product`.`shipping_free`, `product.parent`.`shipping_free`) as `product.shippingFree`, `product.parent`.`purchase_prices` as `product.purchasePrices.inherited`, COALESCE(`product`.`purchase_prices`, `product.parent`.`purchase_prices`) as `product.purchasePrices`, COALESCE(`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`) as `product.markAsTopseller`, COALESCE(`product`.`weight`, `product.parent`.`weight`) as `product.weight`, COALESCE(`product`.`width`, `product.parent`.`width`) as `product.width`, COALESCE(`product`.`height`, `product.parent`.`height`) as `product.height`, COALESCE(`product`.`length`, `product.parent`.`length`) as `product.length`, COALESCE(`product`.`release_date`, `product.parent`.`release_date`) as `product.releaseDate`, COALESCE(`product`.`rating_average`, `product.parent`.`rating_average`) as `product.ratingAverage`, `product.parent`.`category_tree` as `product.categoryTree.inherited`, COALESCE(`product`.`category_tree`, `product.parent`.`category_tree`) as `product.categoryTree`, `product.parent`.`property_ids` as `product.propertyIds.inherited`, COALESCE(`product`.`property_ids`, `product.parent`.`property_ids`) as `product.propertyIds`, `product.parent`.`option_ids` as `product.optionIds.inherited`, COALESCE(`product`.`option_ids`, `product.parent`.`option_ids`) as `product.optionIds`, `product.parent`.`stream_ids` as `product.streamIds.inherited`, COALESCE(`product`.`stream_ids`, `product.parent`.`stream_ids`) as `product.streamIds`, `product.parent`.`tag_ids` as `product.tagIds.inherited`, COALESCE(`product`.`tag_ids`, `product.parent`.`tag_ids`) as `product.tagIds`, `product.parent`.`category_ids` as `product.categoryIds.inherited`, COALESCE(`product`.`category_ids`, `product.parent`.`category_ids`) as `product.categoryIds`, `product`.`child_count` as `product.childCount`, COALESCE(`product`.`custom_field_set_selection_active`, `product.parent`.`custom_field_set_selection_active`) as `product.customFieldSetSelectionActive`, `product`.`sales` as `product.sales`, `product`.`states` as `product.states`, `product.tax`.`id` as `product.tax.id`, `product.tax`.`tax_rate` as `product.tax.taxRate`, `product.tax`.`name` as `product.tax.name`, `product.tax`.`position` as `product.tax.position`, `product.tax`.`custom_fields` as `product.tax.customFields`, `product.tax`.`created_at` as `product.tax.createdAt`, `product.tax`.`updated_at` as `product.tax.updatedAt`, `product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`, COALESCE(`product`.`cheapest_price`, `product.parent`.`cheapest_price`) as `product.cheapestPrice`, `product`.`created_at` as `product.createdAt`, `product`.`updated_at` as `product.updatedAt`, `product.unit`.`id` as `product.unit.id`, `product.unit`.`created_at` as `product.unit.createdAt`, `product.unit`.`updated_at` as `product.unit.updatedAt`, `product.unit.translation.shortCode`, COALESCE(`product.unit.translation.shortCode`,`product.unit.translation.shortCode`) as `product.unit.shortCode`, `product.unit.translation.name`, COALESCE(`product.unit.translation.name`,`product.unit.translation.name`) as `product.unit.name`, `product.unit.translation.customFields`, COALESCE(`product.unit.translation.customFields`,`product.unit.translation.customFields`) as `product.unit.customFields`, `product.unit.translation.createdAt`, `product.unit.translation.updatedAt`, `product.unit.translation.unitId`, `product.unit.translation.languageId`, `product.deliveryTime`.`id` as `product.deliveryTime.id`, `product.deliveryTime`.`min` as `product.deliveryTime.min`, `product.deliveryTime`.`max` as `product.deliveryTime.max`, `product.deliveryTime`.`unit` as `product.deliveryTime.unit`, `product.deliveryTime`.`created_at` as `product.deliveryTime.createdAt`, `product.deliveryTime`.`updated_at` as `product.deliveryTime.updatedAt`, `product.deliveryTime.translation.name`, COALESCE(`product.deliveryTime.translation.name`,`product.deliveryTime.translation.name`) as `product.deliveryTime.name`, `product.deliveryTime.translation.customFields`, COALESCE(`product.deliveryTime.translation.customFields`,`product.deliveryTime.translation.customFields`) as `product.deliveryTime.customFields`, `product.deliveryTime.translation.createdAt`, `product.deliveryTime.translation.updatedAt`, `product.deliveryTime.translation.deliveryTimeId`, `product.deliveryTime.translation.languageId`, `product.cover`.`id` as `product.cover.id`, `product.cover`.`version_id` as `product.cover.versionId`, `product.cover`.`product_id` as `product.cover.productId`, `product.cover`.`product_version_id` as `product.cover.productVersionId`, `product.cover`.`media_id` as `product.cover.mediaId`, `product.cover`.`position` as `product.cover.position`, `product.cover.media`.`id` as `product.cover.media.id`, `product.cover.media`.`user_id` as `product.cover.media.userId`, `product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`, `product.cover.media`.`mime_type` as `product.cover.media.mimeType`, `product.cover.media`.`file_extension` as `product.cover.media.fileExtension`, `product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`, `product.cover.media`.`file_name` as `product.cover.media.fileName`, `product.cover.media`.`file_size` as `product.cover.media.fileSize`, `product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`, `product.cover.media`.`meta_data` as `product.cover.media.metaData`, `product.cover.media`.`private` as `product.cover.media.private`, `product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`, `product.cover.media`.`created_at` as `product.cover.media.createdAt`, `product.cover.media`.`updated_at` as `product.cover.media.updatedAt`, `product.cover.media.translation.title`, COALESCE(`product.cover.media.translation.title`,`product.cover.media.translation.title`) as `product.cover.media.title`, `product.cover.media.translation.alt`, COALESCE(`product.cover.media.translation.alt`,`product.cover.media.translation.alt`) as `product.cover.media.alt`, `product.cover.media.translation.customFields`, COALESCE(`product.cover.media.translation.customFields`,`product.cover.media.translation.customFields`) as `product.cover.media.customFields`, `product.cover.media.translation.createdAt`, `product.cover.media.translation.updatedAt`, `product.cover.media.translation.mediaId`, `product.cover.media.translation.languageId`, `product.cover`.`custom_fields` as `product.cover.customFields`, `product.cover`.`created_at` as `product.cover.createdAt`, `product.cover`.`updated_at` as `product.cover.updatedAt`, `product.translation.metaDescription`, `product.parent.translation.metaDescription`, COALESCE(`product.translation.metaDescription`,`product.parent.translation.metaDescription`,`product.translation.metaDescription`) as `product.metaDescription`, `product.translation.name`, `product.parent.translation.name`, COALESCE(`product.translation.name`,`product.parent.translation.name`,`product.translation.name`) as `product.name`, `product.translation.keywords`, `product.parent.translation.keywords`, COALESCE(`product.translation.keywords`,`product.parent.translation.keywords`,`product.translation.keywords`) as `product.keywords`, `product.translation.description`, `product.parent.translation.description`, COALESCE(`product.translation.description`,`product.parent.translation.description`,`product.translation.description`) as `product.description`, `product.translation.metaTitle`, `product.parent.translation.metaTitle`, COALESCE(`product.translation.metaTitle`,`product.parent.translation.metaTitle`,`product.translation.metaTitle`) as `product.metaTitle`, `product.translation.packUnit`, `product.parent.translation.packUnit`, COALESCE(`product.translation.packUnit`,`product.parent.translation.packUnit`,`product.translation.packUnit`) as `product.packUnit`, `product.translation.packUnitPlural`, `product.parent.translation.packUnitPlural`, COALESCE(`product.translation.packUnitPlural`,`product.parent.translation.packUnitPlural`,`product.translation.packUnitPlural`) as `product.packUnitPlural`, `product.translation.customSearchKeywords`, `product.parent.translation.customSearchKeywords`, COALESCE(`product.translation.customSearchKeywords`,`product.parent.translation.customSearchKeywords`,`product.translation.customSearchKeywords`) as `product.customSearchKeywords`, `product.translation.slotConfig`, `product.parent.translation.slotConfig`, COALESCE(`product.translation.slotConfig`,`product.parent.translation.slotConfig`,`product.translation.slotConfig`) as `product.slotConfig`, `product.translation.customFields`, `product.parent.translation.customFields`, COALESCE(`product.translation.customFields`,`product.parent.translation.customFields`,`product.translation.customFields`) as `product.customFields`, `product.translation.createdAt`, `product.parent.translation.createdAt`, `product.translation.updatedAt`, `product.parent.translation.updatedAt`, `product.translation.productId`, `product.parent.translation.productId`, `product.translation.languageId`, `product.parent.translation.languageId`, `product.translation.productVersionId`, `product.parent.translation.productVersionId` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN (SELECT `product.translation`.product_id, `product.translation`.product_version_id, `product.translation`.meta_description as `product.translation.metaDescription`, `product.translation`.name as `product.translation.name`, `product.translation`.keywords as `product.translation.keywords`, `product.translation`.description as `product.translation.description`, `product.translation`.meta_title as `product.translation.metaTitle`, `product.translation`.pack_unit as `product.translation.packUnit`, `product.translation`.pack_unit_plural as `product.translation.packUnitPlural`, `product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`, `product.translation`.slot_config as `product.translation.slotConfig`, `product.translation`.custom_fields as `product.translation.customFields`, `product.translation`.created_at as `product.translation.createdAt`, `product.translation`.updated_at as `product.translation.updatedAt`, `product.translation`.product_id as `product.translation.productId`, `product.translation`.language_id as `product.translation.languageId`, `product.translation`.product_version_id as `product.translation.productVersionId` FROM `product_translation` `product.translation` WHERE `product.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id` AND `product.product_translation`.product_version_id = `product`.version_id LEFT JOIN (SELECT `product.parent.translation`.product_id, `product.parent.translation`.product_version_id, `product.parent.translation`.meta_description as `product.parent.translation.metaDescription`, `product.parent.translation`.name as `product.parent.translation.name`, `product.parent.translation`.keywords as `product.parent.translation.keywords`, `product.parent.translation`.description as `product.parent.translation.description`, `product.parent.translation`.meta_title as `product.parent.translation.metaTitle`, `product.parent.translation`.pack_unit as `product.parent.translation.packUnit`, `product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`, `product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`, `product.parent.translation`.slot_config as `product.parent.translation.slotConfig`, `product.parent.translation`.custom_fields as `product.parent.translation.customFields`, `product.parent.translation`.created_at as `product.parent.translation.createdAt`, `product.parent.translation`.updated_at as `product.parent.translation.updatedAt`, `product.parent.translation`.product_id as `product.parent.translation.productId`, `product.parent.translation`.language_id as `product.parent.translation.languageId`, `product.parent.translation`.product_version_id as `product.parent.translation.productVersionId` FROM `product_translation` `product.parent.translation` WHERE `product.parent.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id` AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id` LEFT JOIN `unit` `product.unit` ON `product`.`unit` = `product.unit`.`id` LEFT JOIN `delivery_time` `product.deliveryTime` ON `product`.`deliveryTime` = `product.deliveryTime`.`id` LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id` AND `product`.`version_id` = `product.cover`.`version_id` LEFT JOIN (SELECT `product.unit.translation`.unit_id, `product.unit.translation`.short_code as `product.unit.translation.shortCode`, `product.unit.translation`.name as `product.unit.translation.name`, `product.unit.translation`.custom_fields as `product.unit.translation.customFields`, `product.unit.translation`.created_at as `product.unit.translation.createdAt`, `product.unit.translation`.updated_at as `product.unit.translation.updatedAt`, `product.unit.translation`.unit_id as `product.unit.translation.unitId`, `product.unit.translation`.language_id as `product.unit.translation.languageId` FROM `unit_translation` `product.unit.translation` WHERE `product.unit.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.unit.unit_translation` ON `product.unit.unit_translation`.`unit_id` = `product.unit`.`id` LEFT JOIN (SELECT `product.deliveryTime.translation`.delivery_time_id, `product.deliveryTime.translation`.name as `product.deliveryTime.translation.name`, `product.deliveryTime.translation`.custom_fields as `product.deliveryTime.translation.customFields`, `product.deliveryTime.translation`.created_at as `product.deliveryTime.translation.createdAt`, `product.deliveryTime.translation`.updated_at as `product.deliveryTime.translation.updatedAt`, `product.deliveryTime.translation`.delivery_time_id as `product.deliveryTime.translation.deliveryTimeId`, `product.deliveryTime.translation`.language_id as `product.deliveryTime.translation.languageId` FROM `delivery_time_translation` `product.deliveryTime.translation` WHERE `product.deliveryTime.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.deliveryTime.delivery_time_translation` ON `product.deliveryTime.delivery_time_translation`.`delivery_time_id` = `product.deliveryTime`.`id` LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id` LEFT JOIN (SELECT `product.cover.media.translation`.media_id, `product.cover.media.translation`.title as `product.cover.media.translation.title`, `product.cover.media.translation`.alt as `product.cover.media.translation.alt`, `product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`, `product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`, `product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`, `product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`, `product.cover.media.translation`.language_id as `product.cover.media.translation.languageId` FROM `media_translation` `product.cover.media.translation` WHERE `product.cover.media.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id` WHERE (`product`.`version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425) AND (`product`.`id` IN (0x1994DABAF30A4F58B9BA047B86A9F89A));
array:37 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 242)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 316)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetch (line 148)"
4 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 93)"
5 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::read (line 195)"
6 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::read (line 133)"
7 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 36)"
8 => "Swag\PayPal\Util\Compatibility\SalesChannelRepositoryDecorator::search (line 207)"
9 => "Tds\MerwareDiscounts\Cart\Checkout\OverwrittenPriceCollector::getSalesChannelProduct (line 93)"
10 => "Tds\MerwareDiscounts\Cart\Checkout\OverwrittenPriceCollector::collect (line 103)"
11 => "Shopware\Core\Checkout\Cart\Processor::runProcessors (line 67)"
12 => "Shopware\Core\Checkout\Cart\Processor::Shopware\Core\Checkout\Cart\{closure} (line 59)"
13 => "Shopware\Core\Profiling\Profiler::trace (line 86)"
14 => "Shopware\Core\Checkout\Cart\Processor::process (line 132)"
15 => "Shopware\Core\Checkout\Cart\CartRuleLoader::Shopware\Core\Checkout\Cart\{closure} (line 59)"
16 => "Shopware\Core\Profiling\Profiler::trace (line 183)"
17 => "Shopware\Core\Checkout\Cart\CartRuleLoader::load (line 83)"
18 => "Shopware\Core\Checkout\Cart\CartRuleLoader::loadByToken (line 106)"
19 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::Shopware\Core\System\SalesChannel\Context\{closure} (line 59)"
20 => "Shopware\Core\Profiling\Profiler::trace (line 111)"
21 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::get (line 105)"
22 => "Shopware\Core\Framework\Routing\SalesChannelRequestContextResolver::resolve (line 38)"
23 => "Shopware\Core\Framework\Routing\ContextResolverListener::resolveContext (line 118)"
24 => "Symfony\Component\EventDispatcher\Debug\WrappedListener::__invoke (line 230)"
25 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
26 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
27 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
28 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
29 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
30 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
31 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 151)"
32 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
33 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
34 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
35 => "Shopware\Core\HttpKernel::doHandle (line 81)"
36 => "Shopware\Core\HttpKernel::handle (line 85)"
]
|
63 |
0.62 ms |
SELECT `product_price`.`id` as `product_price.id`, `product_price`.`version_id` as `product_price.versionId`, `product_price`.`product_id` as `product_price.productId`, `product_price`.`product_version_id` as `product_price.productVersionId`, `product_price`.`rule_id` as `product_price.ruleId`, `product_price`.`price` as `product_price.price`, `product_price`.`quantity_start` as `product_price.quantityStart`, `product_price`.`quantity_end` as `product_price.quantityEnd`, `product_price`.`custom_fields` as `product_price.customFields`, `product_price`.`created_at` as `product_price.createdAt`, `product_price`.`updated_at` as `product_price.updatedAt` FROM `product_price` WHERE (`product_price`.`version_id` = :version) AND ((`product_price`.`product_id` IN (:param_ba59871265c74e3f8e62d3cdfdcde3bd)))
SELECT `product_price`.`id` as `product_price.id`, `product_price`.`version_id` as `product_price.versionId`, `product_price`.`product_id` as `product_price.productId`, `product_price`.`product_version_id` as `product_price.productVersionId`, `product_price`.`rule_id` as `product_price.ruleId`, `product_price`.`price` as `product_price.price`, `product_price`.`quantity_start` as `product_price.quantityStart`, `product_price`.`quantity_end` as `product_price.quantityEnd`, `product_price`.`custom_fields` as `product_price.customFields`, `product_price`.`created_at` as `product_price.createdAt`, `product_price`.`updated_at` as `product_price.updatedAt` FROM `product_price` WHERE (`product_price`.`version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425) AND ((`product_price`.`product_id` IN (0x1994DABAF30A4F58B9BA047B86A9F89A, 0xA8012483872748DEA1CD57A9ABF1D807)));
array:41 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 242)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 316)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetch (line 148)"
4 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 503)"
5 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::loadOneToManyWithoutPagination (line 438)"
6 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::loadOneToMany (line 1210)"
7 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetchAssociations (line 152)"
8 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 93)"
9 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::read (line 195)"
10 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::read (line 133)"
11 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 36)"
12 => "Swag\PayPal\Util\Compatibility\SalesChannelRepositoryDecorator::search (line 207)"
13 => "Tds\MerwareDiscounts\Cart\Checkout\OverwrittenPriceCollector::getSalesChannelProduct (line 93)"
14 => "Tds\MerwareDiscounts\Cart\Checkout\OverwrittenPriceCollector::collect (line 103)"
15 => "Shopware\Core\Checkout\Cart\Processor::runProcessors (line 67)"
16 => "Shopware\Core\Checkout\Cart\Processor::Shopware\Core\Checkout\Cart\{closure} (line 59)"
17 => "Shopware\Core\Profiling\Profiler::trace (line 86)"
18 => "Shopware\Core\Checkout\Cart\Processor::process (line 132)"
19 => "Shopware\Core\Checkout\Cart\CartRuleLoader::Shopware\Core\Checkout\Cart\{closure} (line 59)"
20 => "Shopware\Core\Profiling\Profiler::trace (line 183)"
21 => "Shopware\Core\Checkout\Cart\CartRuleLoader::load (line 83)"
22 => "Shopware\Core\Checkout\Cart\CartRuleLoader::loadByToken (line 106)"
23 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::Shopware\Core\System\SalesChannel\Context\{closure} (line 59)"
24 => "Shopware\Core\Profiling\Profiler::trace (line 111)"
25 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::get (line 105)"
26 => "Shopware\Core\Framework\Routing\SalesChannelRequestContextResolver::resolve (line 38)"
27 => "Shopware\Core\Framework\Routing\ContextResolverListener::resolveContext (line 118)"
28 => "Symfony\Component\EventDispatcher\Debug\WrappedListener::__invoke (line 230)"
29 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
30 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
31 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
32 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
33 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
34 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
35 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 151)"
36 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
37 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
38 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
39 => "Shopware\Core\HttpKernel::doHandle (line 81)"
40 => "Shopware\Core\HttpKernel::handle (line 85)"
]
|
64 |
0.35 ms |
SELECT `product`.`id`, `product`.`product_number`, `product`.`auto_increment` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN `product_visibility` `product.visibilities` ON `product`.`visibilities` = `product.visibilities`.`product_id` AND `product`.version_id = `product.visibilities`.product_version_id WHERE (`product`.`version_id` = :version) AND ((((`product.visibilities`.`visibility` >= :param_43b6da89c8b74c3ca81438e042c4a1e6) AND `product.visibilities`.`sales_channel_id` = :param_42aae873a9c8462295de474615644bce AND IFNULL(`product`.`active`, `product.parent`.`active`) = :param_d381a096142f4f999695f66971c5e22d))) AND (`product`.`id` IN (:ids)) GROUP BY `product`.`id`
SELECT `product`.`id`, `product`.`product_number`, `product`.`auto_increment` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN `product_visibility` `product.visibilities` ON `product`.`visibilities` = `product.visibilities`.`product_id` AND `product`.version_id = `product.visibilities`.product_version_id WHERE (`product`.`version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425) AND ((((`product.visibilities`.`visibility` >= 10) AND `product.visibilities`.`sales_channel_id` = 0x4EB9108BE4654CC9B140D14DE85579E9 AND IFNULL(`product`.`active`, `product.parent`.`active`) = 1))) AND (`product`.`id` IN (0x606C17FE2D504510AA70DFB6C464B276)) GROUP BY `product`.`id`;
array:36 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 242)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 107)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntitySearcher::search (line 62)"
4 => "Shopware\Elasticsearch\Framework\DataAbstractionLayer\ElasticsearchEntitySearcher::search (line 216)"
5 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::doSearch (line 122)"
6 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 36)"
7 => "Swag\PayPal\Util\Compatibility\SalesChannelRepositoryDecorator::search (line 207)"
8 => "Tds\MerwareDiscounts\Cart\Checkout\OverwrittenPriceCollector::getSalesChannelProduct (line 93)"
9 => "Tds\MerwareDiscounts\Cart\Checkout\OverwrittenPriceCollector::collect (line 103)"
10 => "Shopware\Core\Checkout\Cart\Processor::runProcessors (line 67)"
11 => "Shopware\Core\Checkout\Cart\Processor::Shopware\Core\Checkout\Cart\{closure} (line 59)"
12 => "Shopware\Core\Profiling\Profiler::trace (line 86)"
13 => "Shopware\Core\Checkout\Cart\Processor::process (line 132)"
14 => "Shopware\Core\Checkout\Cart\CartRuleLoader::Shopware\Core\Checkout\Cart\{closure} (line 59)"
15 => "Shopware\Core\Profiling\Profiler::trace (line 183)"
16 => "Shopware\Core\Checkout\Cart\CartRuleLoader::load (line 83)"
17 => "Shopware\Core\Checkout\Cart\CartRuleLoader::loadByToken (line 106)"
18 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::Shopware\Core\System\SalesChannel\Context\{closure} (line 59)"
19 => "Shopware\Core\Profiling\Profiler::trace (line 111)"
20 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::get (line 105)"
21 => "Shopware\Core\Framework\Routing\SalesChannelRequestContextResolver::resolve (line 38)"
22 => "Shopware\Core\Framework\Routing\ContextResolverListener::resolveContext (line 118)"
23 => "Symfony\Component\EventDispatcher\Debug\WrappedListener::__invoke (line 230)"
24 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
25 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
26 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
27 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
28 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
29 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
30 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 151)"
31 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
32 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
33 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
34 => "Shopware\Core\HttpKernel::doHandle (line 81)"
35 => "Shopware\Core\HttpKernel::handle (line 85)"
]
|
65 |
8.93 ms |
SELECT `product`.`id` as `product.id`, `product`.`version_id` as `product.versionId`, `product`.`parent_id` as `product.parentId`, `product`.`parent_version_id` as `product.parentVersionId`, COALESCE(`product`.`product_manufacturer_id`, `product.parent`.`product_manufacturer_id`) as `product.manufacturerId`, COALESCE(`product`.`product_manufacturer_version_id`, `product.parent`.`product_manufacturer_version_id`) as `product.productManufacturerVersionId`, COALESCE(`product`.`unit_id`, `product.parent`.`unit_id`) as `product.unitId`, COALESCE(`product`.`tax_id`, `product.parent`.`tax_id`) as `product.taxId`, COALESCE(`product`.`product_media_id`, `product.parent`.`product_media_id`) as `product.coverId`, COALESCE(`product`.`product_media_version_id`, `product.parent`.`product_media_version_id`) as `product.productMediaVersionId`, COALESCE(`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`) as `product.deliveryTimeId`, COALESCE(`product`.`product_feature_set_id`, `product.parent`.`product_feature_set_id`) as `product.featureSetId`, COALESCE(`product`.`canonical_product_id`, `product.parent`.`canonical_product_id`) as `product.canonicalProductId`, COALESCE(`product`.`cms_page_id`, `product.parent`.`cms_page_id`) as `product.cmsPageId`, COALESCE(`product`.`cms_page_version_id`, `product.parent`.`cms_page_version_id`) as `product.cmsPageVersionId`, `product.parent`.`price` as `product.price.inherited`, COALESCE(`product`.`price`, `product.parent`.`price`) as `product.price`, `product`.`product_number` as `product.productNumber`, `product`.`stock` as `product.stock`, COALESCE(`product`.`restock_time`, `product.parent`.`restock_time`) as `product.restockTime`, `product`.`auto_increment` as `product.autoIncrement`, COALESCE(`product`.`active`, `product.parent`.`active`) as `product.active`, `product`.`available_stock` as `product.availableStock`, `product`.`available` as `product.available`, COALESCE(`product`.`is_closeout`, `product.parent`.`is_closeout`) as `product.isCloseout`, `product`.`display_group` as `product.displayGroup`, `product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`, COALESCE(`product`.`configurator_group_config`, `product.parent`.`configurator_group_config`) as `product.configuratorGroupConfig`, COALESCE(`product`.`main_variant_id`, `product.parent`.`main_variant_id`) as `product.mainVariantId`, COALESCE(`product`.`display_parent`, `product.parent`.`display_parent`) as `product.displayParent`, `product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`, COALESCE(`product`.`variant_listing_config`, `product.parent`.`variant_listing_config`) as `product.variantListingConfig`, `product`.`variant_restrictions` as `product.variantRestrictions`, COALESCE(`product`.`manufacturer_number`, `product.parent`.`manufacturer_number`) as `product.manufacturerNumber`, COALESCE(`product`.`ean`, `product.parent`.`ean`) as `product.ean`, COALESCE(`product`.`purchase_steps`, `product.parent`.`purchase_steps`) as `product.purchaseSteps`, COALESCE(`product`.`max_purchase`, `product.parent`.`max_purchase`) as `product.maxPurchase`, COALESCE(`product`.`min_purchase`, `product.parent`.`min_purchase`) as `product.minPurchase`, COALESCE(`product`.`purchase_unit`, `product.parent`.`purchase_unit`) as `product.purchaseUnit`, COALESCE(`product`.`reference_unit`, `product.parent`.`reference_unit`) as `product.referenceUnit`, COALESCE(`product`.`shipping_free`, `product.parent`.`shipping_free`) as `product.shippingFree`, `product.parent`.`purchase_prices` as `product.purchasePrices.inherited`, COALESCE(`product`.`purchase_prices`, `product.parent`.`purchase_prices`) as `product.purchasePrices`, COALESCE(`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`) as `product.markAsTopseller`, COALESCE(`product`.`weight`, `product.parent`.`weight`) as `product.weight`, COALESCE(`product`.`width`, `product.parent`.`width`) as `product.width`, COALESCE(`product`.`height`, `product.parent`.`height`) as `product.height`, COALESCE(`product`.`length`, `product.parent`.`length`) as `product.length`, COALESCE(`product`.`release_date`, `product.parent`.`release_date`) as `product.releaseDate`, COALESCE(`product`.`rating_average`, `product.parent`.`rating_average`) as `product.ratingAverage`, `product.parent`.`category_tree` as `product.categoryTree.inherited`, COALESCE(`product`.`category_tree`, `product.parent`.`category_tree`) as `product.categoryTree`, `product.parent`.`property_ids` as `product.propertyIds.inherited`, COALESCE(`product`.`property_ids`, `product.parent`.`property_ids`) as `product.propertyIds`, `product.parent`.`option_ids` as `product.optionIds.inherited`, COALESCE(`product`.`option_ids`, `product.parent`.`option_ids`) as `product.optionIds`, `product.parent`.`stream_ids` as `product.streamIds.inherited`, COALESCE(`product`.`stream_ids`, `product.parent`.`stream_ids`) as `product.streamIds`, `product.parent`.`tag_ids` as `product.tagIds.inherited`, COALESCE(`product`.`tag_ids`, `product.parent`.`tag_ids`) as `product.tagIds`, `product.parent`.`category_ids` as `product.categoryIds.inherited`, COALESCE(`product`.`category_ids`, `product.parent`.`category_ids`) as `product.categoryIds`, `product`.`child_count` as `product.childCount`, COALESCE(`product`.`custom_field_set_selection_active`, `product.parent`.`custom_field_set_selection_active`) as `product.customFieldSetSelectionActive`, `product`.`sales` as `product.sales`, `product`.`states` as `product.states`, `product.tax`.`id` as `product.tax.id`, `product.tax`.`tax_rate` as `product.tax.taxRate`, `product.tax`.`name` as `product.tax.name`, `product.tax`.`position` as `product.tax.position`, `product.tax`.`custom_fields` as `product.tax.customFields`, `product.tax`.`created_at` as `product.tax.createdAt`, `product.tax`.`updated_at` as `product.tax.updatedAt`, `product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`, COALESCE(`product`.`cheapest_price`, `product.parent`.`cheapest_price`) as `product.cheapestPrice`, `product`.`created_at` as `product.createdAt`, `product`.`updated_at` as `product.updatedAt`, `product.unit`.`id` as `product.unit.id`, `product.unit`.`created_at` as `product.unit.createdAt`, `product.unit`.`updated_at` as `product.unit.updatedAt`, `product.unit.translation.shortCode`, COALESCE(`product.unit.translation.shortCode`,`product.unit.translation.shortCode`) as `product.unit.shortCode`, `product.unit.translation.name`, COALESCE(`product.unit.translation.name`,`product.unit.translation.name`) as `product.unit.name`, `product.unit.translation.customFields`, COALESCE(`product.unit.translation.customFields`,`product.unit.translation.customFields`) as `product.unit.customFields`, `product.unit.translation.createdAt`, `product.unit.translation.updatedAt`, `product.unit.translation.unitId`, `product.unit.translation.languageId`, `product.deliveryTime`.`id` as `product.deliveryTime.id`, `product.deliveryTime`.`min` as `product.deliveryTime.min`, `product.deliveryTime`.`max` as `product.deliveryTime.max`, `product.deliveryTime`.`unit` as `product.deliveryTime.unit`, `product.deliveryTime`.`created_at` as `product.deliveryTime.createdAt`, `product.deliveryTime`.`updated_at` as `product.deliveryTime.updatedAt`, `product.deliveryTime.translation.name`, COALESCE(`product.deliveryTime.translation.name`,`product.deliveryTime.translation.name`) as `product.deliveryTime.name`, `product.deliveryTime.translation.customFields`, COALESCE(`product.deliveryTime.translation.customFields`,`product.deliveryTime.translation.customFields`) as `product.deliveryTime.customFields`, `product.deliveryTime.translation.createdAt`, `product.deliveryTime.translation.updatedAt`, `product.deliveryTime.translation.deliveryTimeId`, `product.deliveryTime.translation.languageId`, `product.cover`.`id` as `product.cover.id`, `product.cover`.`version_id` as `product.cover.versionId`, `product.cover`.`product_id` as `product.cover.productId`, `product.cover`.`product_version_id` as `product.cover.productVersionId`, `product.cover`.`media_id` as `product.cover.mediaId`, `product.cover`.`position` as `product.cover.position`, `product.cover.media`.`id` as `product.cover.media.id`, `product.cover.media`.`user_id` as `product.cover.media.userId`, `product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`, `product.cover.media`.`mime_type` as `product.cover.media.mimeType`, `product.cover.media`.`file_extension` as `product.cover.media.fileExtension`, `product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`, `product.cover.media`.`file_name` as `product.cover.media.fileName`, `product.cover.media`.`file_size` as `product.cover.media.fileSize`, `product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`, `product.cover.media`.`meta_data` as `product.cover.media.metaData`, `product.cover.media`.`private` as `product.cover.media.private`, `product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`, `product.cover.media`.`created_at` as `product.cover.media.createdAt`, `product.cover.media`.`updated_at` as `product.cover.media.updatedAt`, `product.cover.media.translation.title`, COALESCE(`product.cover.media.translation.title`,`product.cover.media.translation.title`) as `product.cover.media.title`, `product.cover.media.translation.alt`, COALESCE(`product.cover.media.translation.alt`,`product.cover.media.translation.alt`) as `product.cover.media.alt`, `product.cover.media.translation.customFields`, COALESCE(`product.cover.media.translation.customFields`,`product.cover.media.translation.customFields`) as `product.cover.media.customFields`, `product.cover.media.translation.createdAt`, `product.cover.media.translation.updatedAt`, `product.cover.media.translation.mediaId`, `product.cover.media.translation.languageId`, `product.cover`.`custom_fields` as `product.cover.customFields`, `product.cover`.`created_at` as `product.cover.createdAt`, `product.cover`.`updated_at` as `product.cover.updatedAt`, `product.translation.metaDescription`, `product.parent.translation.metaDescription`, COALESCE(`product.translation.metaDescription`,`product.parent.translation.metaDescription`,`product.translation.metaDescription`) as `product.metaDescription`, `product.translation.name`, `product.parent.translation.name`, COALESCE(`product.translation.name`,`product.parent.translation.name`,`product.translation.name`) as `product.name`, `product.translation.keywords`, `product.parent.translation.keywords`, COALESCE(`product.translation.keywords`,`product.parent.translation.keywords`,`product.translation.keywords`) as `product.keywords`, `product.translation.description`, `product.parent.translation.description`, COALESCE(`product.translation.description`,`product.parent.translation.description`,`product.translation.description`) as `product.description`, `product.translation.metaTitle`, `product.parent.translation.metaTitle`, COALESCE(`product.translation.metaTitle`,`product.parent.translation.metaTitle`,`product.translation.metaTitle`) as `product.metaTitle`, `product.translation.packUnit`, `product.parent.translation.packUnit`, COALESCE(`product.translation.packUnit`,`product.parent.translation.packUnit`,`product.translation.packUnit`) as `product.packUnit`, `product.translation.packUnitPlural`, `product.parent.translation.packUnitPlural`, COALESCE(`product.translation.packUnitPlural`,`product.parent.translation.packUnitPlural`,`product.translation.packUnitPlural`) as `product.packUnitPlural`, `product.translation.customSearchKeywords`, `product.parent.translation.customSearchKeywords`, COALESCE(`product.translation.customSearchKeywords`,`product.parent.translation.customSearchKeywords`,`product.translation.customSearchKeywords`) as `product.customSearchKeywords`, `product.translation.slotConfig`, `product.parent.translation.slotConfig`, COALESCE(`product.translation.slotConfig`,`product.parent.translation.slotConfig`,`product.translation.slotConfig`) as `product.slotConfig`, `product.translation.customFields`, `product.parent.translation.customFields`, COALESCE(`product.translation.customFields`,`product.parent.translation.customFields`,`product.translation.customFields`) as `product.customFields`, `product.translation.createdAt`, `product.parent.translation.createdAt`, `product.translation.updatedAt`, `product.parent.translation.updatedAt`, `product.translation.productId`, `product.parent.translation.productId`, `product.translation.languageId`, `product.parent.translation.languageId`, `product.translation.productVersionId`, `product.parent.translation.productVersionId` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN (SELECT `product.translation`.product_id, `product.translation`.product_version_id, `product.translation`.meta_description as `product.translation.metaDescription`, `product.translation`.name as `product.translation.name`, `product.translation`.keywords as `product.translation.keywords`, `product.translation`.description as `product.translation.description`, `product.translation`.meta_title as `product.translation.metaTitle`, `product.translation`.pack_unit as `product.translation.packUnit`, `product.translation`.pack_unit_plural as `product.translation.packUnitPlural`, `product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`, `product.translation`.slot_config as `product.translation.slotConfig`, `product.translation`.custom_fields as `product.translation.customFields`, `product.translation`.created_at as `product.translation.createdAt`, `product.translation`.updated_at as `product.translation.updatedAt`, `product.translation`.product_id as `product.translation.productId`, `product.translation`.language_id as `product.translation.languageId`, `product.translation`.product_version_id as `product.translation.productVersionId` FROM `product_translation` `product.translation` WHERE `product.translation`.language_id = :languageId) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id` AND `product.product_translation`.product_version_id = `product`.version_id LEFT JOIN (SELECT `product.parent.translation`.product_id, `product.parent.translation`.product_version_id, `product.parent.translation`.meta_description as `product.parent.translation.metaDescription`, `product.parent.translation`.name as `product.parent.translation.name`, `product.parent.translation`.keywords as `product.parent.translation.keywords`, `product.parent.translation`.description as `product.parent.translation.description`, `product.parent.translation`.meta_title as `product.parent.translation.metaTitle`, `product.parent.translation`.pack_unit as `product.parent.translation.packUnit`, `product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`, `product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`, `product.parent.translation`.slot_config as `product.parent.translation.slotConfig`, `product.parent.translation`.custom_fields as `product.parent.translation.customFields`, `product.parent.translation`.created_at as `product.parent.translation.createdAt`, `product.parent.translation`.updated_at as `product.parent.translation.updatedAt`, `product.parent.translation`.product_id as `product.parent.translation.productId`, `product.parent.translation`.language_id as `product.parent.translation.languageId`, `product.parent.translation`.product_version_id as `product.parent.translation.productVersionId` FROM `product_translation` `product.parent.translation` WHERE `product.parent.translation`.language_id = :languageId) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id` AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id` LEFT JOIN `unit` `product.unit` ON `product`.`unit` = `product.unit`.`id` LEFT JOIN `delivery_time` `product.deliveryTime` ON `product`.`deliveryTime` = `product.deliveryTime`.`id` LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id` AND `product`.`version_id` = `product.cover`.`version_id` LEFT JOIN (SELECT `product.unit.translation`.unit_id, `product.unit.translation`.short_code as `product.unit.translation.shortCode`, `product.unit.translation`.name as `product.unit.translation.name`, `product.unit.translation`.custom_fields as `product.unit.translation.customFields`, `product.unit.translation`.created_at as `product.unit.translation.createdAt`, `product.unit.translation`.updated_at as `product.unit.translation.updatedAt`, `product.unit.translation`.unit_id as `product.unit.translation.unitId`, `product.unit.translation`.language_id as `product.unit.translation.languageId` FROM `unit_translation` `product.unit.translation` WHERE `product.unit.translation`.language_id = :languageId) `product.unit.unit_translation` ON `product.unit.unit_translation`.`unit_id` = `product.unit`.`id` LEFT JOIN (SELECT `product.deliveryTime.translation`.delivery_time_id, `product.deliveryTime.translation`.name as `product.deliveryTime.translation.name`, `product.deliveryTime.translation`.custom_fields as `product.deliveryTime.translation.customFields`, `product.deliveryTime.translation`.created_at as `product.deliveryTime.translation.createdAt`, `product.deliveryTime.translation`.updated_at as `product.deliveryTime.translation.updatedAt`, `product.deliveryTime.translation`.delivery_time_id as `product.deliveryTime.translation.deliveryTimeId`, `product.deliveryTime.translation`.language_id as `product.deliveryTime.translation.languageId` FROM `delivery_time_translation` `product.deliveryTime.translation` WHERE `product.deliveryTime.translation`.language_id = :languageId) `product.deliveryTime.delivery_time_translation` ON `product.deliveryTime.delivery_time_translation`.`delivery_time_id` = `product.deliveryTime`.`id` LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id` LEFT JOIN (SELECT `product.cover.media.translation`.media_id, `product.cover.media.translation`.title as `product.cover.media.translation.title`, `product.cover.media.translation`.alt as `product.cover.media.translation.alt`, `product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`, `product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`, `product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`, `product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`, `product.cover.media.translation`.language_id as `product.cover.media.translation.languageId` FROM `media_translation` `product.cover.media.translation` WHERE `product.cover.media.translation`.language_id = :languageId) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id` WHERE (`product`.`version_id` = :version) AND (`product`.`id` IN (:ids))
SELECT
`product`.`id` as `product.id`,
`product`.`version_id` as `product.versionId`,
`product`.`parent_id` as `product.parentId`,
`product`.`parent_version_id` as `product.parentVersionId`,
COALESCE(
`product`.`product_manufacturer_id`,
`product.parent`.`product_manufacturer_id`
) as `product.manufacturerId`,
COALESCE(
`product`.`product_manufacturer_version_id`,
`product.parent`.`product_manufacturer_version_id`
) as `product.productManufacturerVersionId`,
COALESCE(
`product`.`unit_id`, `product.parent`.`unit_id`
) as `product.unitId`,
COALESCE(
`product`.`tax_id`, `product.parent`.`tax_id`
) as `product.taxId`,
COALESCE(
`product`.`product_media_id`, `product.parent`.`product_media_id`
) as `product.coverId`,
COALESCE(
`product`.`product_media_version_id`,
`product.parent`.`product_media_version_id`
) as `product.productMediaVersionId`,
COALESCE(
`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`
) as `product.deliveryTimeId`,
COALESCE(
`product`.`product_feature_set_id`,
`product.parent`.`product_feature_set_id`
) as `product.featureSetId`,
COALESCE(
`product`.`canonical_product_id`,
`product.parent`.`canonical_product_id`
) as `product.canonicalProductId`,
COALESCE(
`product`.`cms_page_id`, `product.parent`.`cms_page_id`
) as `product.cmsPageId`,
COALESCE(
`product`.`cms_page_version_id`,
`product.parent`.`cms_page_version_id`
) as `product.cmsPageVersionId`,
`product.parent`.`price` as `product.price.inherited`,
COALESCE(
`product`.`price`, `product.parent`.`price`
) as `product.price`,
`product`.`product_number` as `product.productNumber`,
`product`.`stock` as `product.stock`,
COALESCE(
`product`.`restock_time`, `product.parent`.`restock_time`
) as `product.restockTime`,
`product`.`auto_increment` as `product.autoIncrement`,
COALESCE(
`product`.`active`, `product.parent`.`active`
) as `product.active`,
`product`.`available_stock` as `product.availableStock`,
`product`.`available` as `product.available`,
COALESCE(
`product`.`is_closeout`, `product.parent`.`is_closeout`
) as `product.isCloseout`,
`product`.`display_group` as `product.displayGroup`,
`product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`,
COALESCE(
`product`.`configurator_group_config`,
`product.parent`.`configurator_group_config`
) as `product.configuratorGroupConfig`,
COALESCE(
`product`.`main_variant_id`, `product.parent`.`main_variant_id`
) as `product.mainVariantId`,
COALESCE(
`product`.`display_parent`, `product.parent`.`display_parent`
) as `product.displayParent`,
`product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`,
COALESCE(
`product`.`variant_listing_config`,
`product.parent`.`variant_listing_config`
) as `product.variantListingConfig`,
`product`.`variant_restrictions` as `product.variantRestrictions`,
COALESCE(
`product`.`manufacturer_number`,
`product.parent`.`manufacturer_number`
) as `product.manufacturerNumber`,
COALESCE(
`product`.`ean`, `product.parent`.`ean`
) as `product.ean`,
COALESCE(
`product`.`purchase_steps`, `product.parent`.`purchase_steps`
) as `product.purchaseSteps`,
COALESCE(
`product`.`max_purchase`, `product.parent`.`max_purchase`
) as `product.maxPurchase`,
COALESCE(
`product`.`min_purchase`, `product.parent`.`min_purchase`
) as `product.minPurchase`,
COALESCE(
`product`.`purchase_unit`, `product.parent`.`purchase_unit`
) as `product.purchaseUnit`,
COALESCE(
`product`.`reference_unit`, `product.parent`.`reference_unit`
) as `product.referenceUnit`,
COALESCE(
`product`.`shipping_free`, `product.parent`.`shipping_free`
) as `product.shippingFree`,
`product.parent`.`purchase_prices` as `product.purchasePrices.inherited`,
COALESCE(
`product`.`purchase_prices`, `product.parent`.`purchase_prices`
) as `product.purchasePrices`,
COALESCE(
`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`
) as `product.markAsTopseller`,
COALESCE(
`product`.`weight`, `product.parent`.`weight`
) as `product.weight`,
COALESCE(
`product`.`width`, `product.parent`.`width`
) as `product.width`,
COALESCE(
`product`.`height`, `product.parent`.`height`
) as `product.height`,
COALESCE(
`product`.`length`, `product.parent`.`length`
) as `product.length`,
COALESCE(
`product`.`release_date`, `product.parent`.`release_date`
) as `product.releaseDate`,
COALESCE(
`product`.`rating_average`, `product.parent`.`rating_average`
) as `product.ratingAverage`,
`product.parent`.`category_tree` as `product.categoryTree.inherited`,
COALESCE(
`product`.`category_tree`, `product.parent`.`category_tree`
) as `product.categoryTree`,
`product.parent`.`property_ids` as `product.propertyIds.inherited`,
COALESCE(
`product`.`property_ids`, `product.parent`.`property_ids`
) as `product.propertyIds`,
`product.parent`.`option_ids` as `product.optionIds.inherited`,
COALESCE(
`product`.`option_ids`, `product.parent`.`option_ids`
) as `product.optionIds`,
`product.parent`.`stream_ids` as `product.streamIds.inherited`,
COALESCE(
`product`.`stream_ids`, `product.parent`.`stream_ids`
) as `product.streamIds`,
`product.parent`.`tag_ids` as `product.tagIds.inherited`,
COALESCE(
`product`.`tag_ids`, `product.parent`.`tag_ids`
) as `product.tagIds`,
`product.parent`.`category_ids` as `product.categoryIds.inherited`,
COALESCE(
`product`.`category_ids`, `product.parent`.`category_ids`
) as `product.categoryIds`,
`product`.`child_count` as `product.childCount`,
COALESCE(
`product`.`custom_field_set_selection_active`,
`product.parent`.`custom_field_set_selection_active`
) as `product.customFieldSetSelectionActive`,
`product`.`sales` as `product.sales`,
`product`.`states` as `product.states`,
`product.tax`.`id` as `product.tax.id`,
`product.tax`.`tax_rate` as `product.tax.taxRate`,
`product.tax`.`name` as `product.tax.name`,
`product.tax`.`position` as `product.tax.position`,
`product.tax`.`custom_fields` as `product.tax.customFields`,
`product.tax`.`created_at` as `product.tax.createdAt`,
`product.tax`.`updated_at` as `product.tax.updatedAt`,
`product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`,
COALESCE(
`product`.`cheapest_price`, `product.parent`.`cheapest_price`
) as `product.cheapestPrice`,
`product`.`created_at` as `product.createdAt`,
`product`.`updated_at` as `product.updatedAt`,
`product.unit`.`id` as `product.unit.id`,
`product.unit`.`created_at` as `product.unit.createdAt`,
`product.unit`.`updated_at` as `product.unit.updatedAt`,
`product.unit.translation.shortCode`,
COALESCE(
`product.unit.translation.shortCode`,
`product.unit.translation.shortCode`
) as `product.unit.shortCode`,
`product.unit.translation.name`,
COALESCE(
`product.unit.translation.name`,
`product.unit.translation.name`
) as `product.unit.name`,
`product.unit.translation.customFields`,
COALESCE(
`product.unit.translation.customFields`,
`product.unit.translation.customFields`
) as `product.unit.customFields`,
`product.unit.translation.createdAt`,
`product.unit.translation.updatedAt`,
`product.unit.translation.unitId`,
`product.unit.translation.languageId`,
`product.deliveryTime`.`id` as `product.deliveryTime.id`,
`product.deliveryTime`.`min` as `product.deliveryTime.min`,
`product.deliveryTime`.`max` as `product.deliveryTime.max`,
`product.deliveryTime`.`unit` as `product.deliveryTime.unit`,
`product.deliveryTime`.`created_at` as `product.deliveryTime.createdAt`,
`product.deliveryTime`.`updated_at` as `product.deliveryTime.updatedAt`,
`product.deliveryTime.translation.name`,
COALESCE(
`product.deliveryTime.translation.name`,
`product.deliveryTime.translation.name`
) as `product.deliveryTime.name`,
`product.deliveryTime.translation.customFields`,
COALESCE(
`product.deliveryTime.translation.customFields`,
`product.deliveryTime.translation.customFields`
) as `product.deliveryTime.customFields`,
`product.deliveryTime.translation.createdAt`,
`product.deliveryTime.translation.updatedAt`,
`product.deliveryTime.translation.deliveryTimeId`,
`product.deliveryTime.translation.languageId`,
`product.cover`.`id` as `product.cover.id`,
`product.cover`.`version_id` as `product.cover.versionId`,
`product.cover`.`product_id` as `product.cover.productId`,
`product.cover`.`product_version_id` as `product.cover.productVersionId`,
`product.cover`.`media_id` as `product.cover.mediaId`,
`product.cover`.`position` as `product.cover.position`,
`product.cover.media`.`id` as `product.cover.media.id`,
`product.cover.media`.`user_id` as `product.cover.media.userId`,
`product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`,
`product.cover.media`.`mime_type` as `product.cover.media.mimeType`,
`product.cover.media`.`file_extension` as `product.cover.media.fileExtension`,
`product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`,
`product.cover.media`.`file_name` as `product.cover.media.fileName`,
`product.cover.media`.`file_size` as `product.cover.media.fileSize`,
`product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`,
`product.cover.media`.`meta_data` as `product.cover.media.metaData`,
`product.cover.media`.`private` as `product.cover.media.private`,
`product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`,
`product.cover.media`.`created_at` as `product.cover.media.createdAt`,
`product.cover.media`.`updated_at` as `product.cover.media.updatedAt`,
`product.cover.media.translation.title`,
COALESCE(
`product.cover.media.translation.title`,
`product.cover.media.translation.title`
) as `product.cover.media.title`,
`product.cover.media.translation.alt`,
COALESCE(
`product.cover.media.translation.alt`,
`product.cover.media.translation.alt`
) as `product.cover.media.alt`,
`product.cover.media.translation.customFields`,
COALESCE(
`product.cover.media.translation.customFields`,
`product.cover.media.translation.customFields`
) as `product.cover.media.customFields`,
`product.cover.media.translation.createdAt`,
`product.cover.media.translation.updatedAt`,
`product.cover.media.translation.mediaId`,
`product.cover.media.translation.languageId`,
`product.cover`.`custom_fields` as `product.cover.customFields`,
`product.cover`.`created_at` as `product.cover.createdAt`,
`product.cover`.`updated_at` as `product.cover.updatedAt`,
`product.translation.metaDescription`,
`product.parent.translation.metaDescription`,
COALESCE(
`product.translation.metaDescription`,
`product.parent.translation.metaDescription`,
`product.translation.metaDescription`
) as `product.metaDescription`,
`product.translation.name`,
`product.parent.translation.name`,
COALESCE(
`product.translation.name`, `product.parent.translation.name`,
`product.translation.name`
) as `product.name`,
`product.translation.keywords`,
`product.parent.translation.keywords`,
COALESCE(
`product.translation.keywords`,
`product.parent.translation.keywords`,
`product.translation.keywords`
) as `product.keywords`,
`product.translation.description`,
`product.parent.translation.description`,
COALESCE(
`product.translation.description`,
`product.parent.translation.description`,
`product.translation.description`
) as `product.description`,
`product.translation.metaTitle`,
`product.parent.translation.metaTitle`,
COALESCE(
`product.translation.metaTitle`,
`product.parent.translation.metaTitle`,
`product.translation.metaTitle`
) as `product.metaTitle`,
`product.translation.packUnit`,
`product.parent.translation.packUnit`,
COALESCE(
`product.translation.packUnit`,
`product.parent.translation.packUnit`,
`product.translation.packUnit`
) as `product.packUnit`,
`product.translation.packUnitPlural`,
`product.parent.translation.packUnitPlural`,
COALESCE(
`product.translation.packUnitPlural`,
`product.parent.translation.packUnitPlural`,
`product.translation.packUnitPlural`
) as `product.packUnitPlural`,
`product.translation.customSearchKeywords`,
`product.parent.translation.customSearchKeywords`,
COALESCE(
`product.translation.customSearchKeywords`,
`product.parent.translation.customSearchKeywords`,
`product.translation.customSearchKeywords`
) as `product.customSearchKeywords`,
`product.translation.slotConfig`,
`product.parent.translation.slotConfig`,
COALESCE(
`product.translation.slotConfig`,
`product.parent.translation.slotConfig`,
`product.translation.slotConfig`
) as `product.slotConfig`,
`product.translation.customFields`,
`product.parent.translation.customFields`,
COALESCE(
`product.translation.customFields`,
`product.parent.translation.customFields`,
`product.translation.customFields`
) as `product.customFields`,
`product.translation.createdAt`,
`product.parent.translation.createdAt`,
`product.translation.updatedAt`,
`product.parent.translation.updatedAt`,
`product.translation.productId`,
`product.parent.translation.productId`,
`product.translation.languageId`,
`product.parent.translation.languageId`,
`product.translation.productVersionId`,
`product.parent.translation.productVersionId`
FROM
`product`
LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id`
AND `product`.`version_id` = `product.parent`.`version_id`
LEFT JOIN (
SELECT
`product.translation`.product_id,
`product.translation`.product_version_id,
`product.translation`.meta_description as `product.translation.metaDescription`,
`product.translation`.name as `product.translation.name`,
`product.translation`.keywords as `product.translation.keywords`,
`product.translation`.description as `product.translation.description`,
`product.translation`.meta_title as `product.translation.metaTitle`,
`product.translation`.pack_unit as `product.translation.packUnit`,
`product.translation`.pack_unit_plural as `product.translation.packUnitPlural`,
`product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`,
`product.translation`.slot_config as `product.translation.slotConfig`,
`product.translation`.custom_fields as `product.translation.customFields`,
`product.translation`.created_at as `product.translation.createdAt`,
`product.translation`.updated_at as `product.translation.updatedAt`,
`product.translation`.product_id as `product.translation.productId`,
`product.translation`.language_id as `product.translation.languageId`,
`product.translation`.product_version_id as `product.translation.productVersionId`
FROM
`product_translation` `product.translation`
WHERE
`product.translation`.language_id = : languageId
) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id`
AND `product.product_translation`.product_version_id = `product`.version_id
LEFT JOIN (
SELECT
`product.parent.translation`.product_id,
`product.parent.translation`.product_version_id,
`product.parent.translation`.meta_description as `product.parent.translation.metaDescription`,
`product.parent.translation`.name as `product.parent.translation.name`,
`product.parent.translation`.keywords as `product.parent.translation.keywords`,
`product.parent.translation`.description as `product.parent.translation.description`,
`product.parent.translation`.meta_title as `product.parent.translation.metaTitle`,
`product.parent.translation`.pack_unit as `product.parent.translation.packUnit`,
`product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`,
`product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`,
`product.parent.translation`.slot_config as `product.parent.translation.slotConfig`,
`product.parent.translation`.custom_fields as `product.parent.translation.customFields`,
`product.parent.translation`.created_at as `product.parent.translation.createdAt`,
`product.parent.translation`.updated_at as `product.parent.translation.updatedAt`,
`product.parent.translation`.product_id as `product.parent.translation.productId`,
`product.parent.translation`.language_id as `product.parent.translation.languageId`,
`product.parent.translation`.product_version_id as `product.parent.translation.productVersionId`
FROM
`product_translation` `product.parent.translation`
WHERE
`product.parent.translation`.language_id = : languageId
) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id`
AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id
LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id`
LEFT JOIN `unit` `product.unit` ON `product`.`unit` = `product.unit`.`id`
LEFT JOIN `delivery_time` `product.deliveryTime` ON `product`.`deliveryTime` = `product.deliveryTime`.`id`
LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id`
AND `product`.`version_id` = `product.cover`.`version_id`
LEFT JOIN (
SELECT
`product.unit.translation`.unit_id,
`product.unit.translation`.short_code as `product.unit.translation.shortCode`,
`product.unit.translation`.name as `product.unit.translation.name`,
`product.unit.translation`.custom_fields as `product.unit.translation.customFields`,
`product.unit.translation`.created_at as `product.unit.translation.createdAt`,
`product.unit.translation`.updated_at as `product.unit.translation.updatedAt`,
`product.unit.translation`.unit_id as `product.unit.translation.unitId`,
`product.unit.translation`.language_id as `product.unit.translation.languageId`
FROM
`unit_translation` `product.unit.translation`
WHERE
`product.unit.translation`.language_id = : languageId
) `product.unit.unit_translation` ON `product.unit.unit_translation`.`unit_id` = `product.unit`.`id`
LEFT JOIN (
SELECT
`product.deliveryTime.translation`.delivery_time_id,
`product.deliveryTime.translation`.name as `product.deliveryTime.translation.name`,
`product.deliveryTime.translation`.custom_fields as `product.deliveryTime.translation.customFields`,
`product.deliveryTime.translation`.created_at as `product.deliveryTime.translation.createdAt`,
`product.deliveryTime.translation`.updated_at as `product.deliveryTime.translation.updatedAt`,
`product.deliveryTime.translation`.delivery_time_id as `product.deliveryTime.translation.deliveryTimeId`,
`product.deliveryTime.translation`.language_id as `product.deliveryTime.translation.languageId`
FROM
`delivery_time_translation` `product.deliveryTime.translation`
WHERE
`product.deliveryTime.translation`.language_id = : languageId
) `product.deliveryTime.delivery_time_translation` ON `product.deliveryTime.delivery_time_translation`.`delivery_time_id` = `product.deliveryTime`.`id`
LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id`
LEFT JOIN (
SELECT
`product.cover.media.translation`.media_id,
`product.cover.media.translation`.title as `product.cover.media.translation.title`,
`product.cover.media.translation`.alt as `product.cover.media.translation.alt`,
`product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`,
`product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`,
`product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`,
`product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`,
`product.cover.media.translation`.language_id as `product.cover.media.translation.languageId`
FROM
`media_translation` `product.cover.media.translation`
WHERE
`product.cover.media.translation`.language_id = : languageId
) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id`
WHERE
(
`product`.`version_id` = : version
)
AND (
`product`.`id` IN (: ids)
)
SELECT `product`.`id` as `product.id`, `product`.`version_id` as `product.versionId`, `product`.`parent_id` as `product.parentId`, `product`.`parent_version_id` as `product.parentVersionId`, COALESCE(`product`.`product_manufacturer_id`, `product.parent`.`product_manufacturer_id`) as `product.manufacturerId`, COALESCE(`product`.`product_manufacturer_version_id`, `product.parent`.`product_manufacturer_version_id`) as `product.productManufacturerVersionId`, COALESCE(`product`.`unit_id`, `product.parent`.`unit_id`) as `product.unitId`, COALESCE(`product`.`tax_id`, `product.parent`.`tax_id`) as `product.taxId`, COALESCE(`product`.`product_media_id`, `product.parent`.`product_media_id`) as `product.coverId`, COALESCE(`product`.`product_media_version_id`, `product.parent`.`product_media_version_id`) as `product.productMediaVersionId`, COALESCE(`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`) as `product.deliveryTimeId`, COALESCE(`product`.`product_feature_set_id`, `product.parent`.`product_feature_set_id`) as `product.featureSetId`, COALESCE(`product`.`canonical_product_id`, `product.parent`.`canonical_product_id`) as `product.canonicalProductId`, COALESCE(`product`.`cms_page_id`, `product.parent`.`cms_page_id`) as `product.cmsPageId`, COALESCE(`product`.`cms_page_version_id`, `product.parent`.`cms_page_version_id`) as `product.cmsPageVersionId`, `product.parent`.`price` as `product.price.inherited`, COALESCE(`product`.`price`, `product.parent`.`price`) as `product.price`, `product`.`product_number` as `product.productNumber`, `product`.`stock` as `product.stock`, COALESCE(`product`.`restock_time`, `product.parent`.`restock_time`) as `product.restockTime`, `product`.`auto_increment` as `product.autoIncrement`, COALESCE(`product`.`active`, `product.parent`.`active`) as `product.active`, `product`.`available_stock` as `product.availableStock`, `product`.`available` as `product.available`, COALESCE(`product`.`is_closeout`, `product.parent`.`is_closeout`) as `product.isCloseout`, `product`.`display_group` as `product.displayGroup`, `product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`, COALESCE(`product`.`configurator_group_config`, `product.parent`.`configurator_group_config`) as `product.configuratorGroupConfig`, COALESCE(`product`.`main_variant_id`, `product.parent`.`main_variant_id`) as `product.mainVariantId`, COALESCE(`product`.`display_parent`, `product.parent`.`display_parent`) as `product.displayParent`, `product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`, COALESCE(`product`.`variant_listing_config`, `product.parent`.`variant_listing_config`) as `product.variantListingConfig`, `product`.`variant_restrictions` as `product.variantRestrictions`, COALESCE(`product`.`manufacturer_number`, `product.parent`.`manufacturer_number`) as `product.manufacturerNumber`, COALESCE(`product`.`ean`, `product.parent`.`ean`) as `product.ean`, COALESCE(`product`.`purchase_steps`, `product.parent`.`purchase_steps`) as `product.purchaseSteps`, COALESCE(`product`.`max_purchase`, `product.parent`.`max_purchase`) as `product.maxPurchase`, COALESCE(`product`.`min_purchase`, `product.parent`.`min_purchase`) as `product.minPurchase`, COALESCE(`product`.`purchase_unit`, `product.parent`.`purchase_unit`) as `product.purchaseUnit`, COALESCE(`product`.`reference_unit`, `product.parent`.`reference_unit`) as `product.referenceUnit`, COALESCE(`product`.`shipping_free`, `product.parent`.`shipping_free`) as `product.shippingFree`, `product.parent`.`purchase_prices` as `product.purchasePrices.inherited`, COALESCE(`product`.`purchase_prices`, `product.parent`.`purchase_prices`) as `product.purchasePrices`, COALESCE(`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`) as `product.markAsTopseller`, COALESCE(`product`.`weight`, `product.parent`.`weight`) as `product.weight`, COALESCE(`product`.`width`, `product.parent`.`width`) as `product.width`, COALESCE(`product`.`height`, `product.parent`.`height`) as `product.height`, COALESCE(`product`.`length`, `product.parent`.`length`) as `product.length`, COALESCE(`product`.`release_date`, `product.parent`.`release_date`) as `product.releaseDate`, COALESCE(`product`.`rating_average`, `product.parent`.`rating_average`) as `product.ratingAverage`, `product.parent`.`category_tree` as `product.categoryTree.inherited`, COALESCE(`product`.`category_tree`, `product.parent`.`category_tree`) as `product.categoryTree`, `product.parent`.`property_ids` as `product.propertyIds.inherited`, COALESCE(`product`.`property_ids`, `product.parent`.`property_ids`) as `product.propertyIds`, `product.parent`.`option_ids` as `product.optionIds.inherited`, COALESCE(`product`.`option_ids`, `product.parent`.`option_ids`) as `product.optionIds`, `product.parent`.`stream_ids` as `product.streamIds.inherited`, COALESCE(`product`.`stream_ids`, `product.parent`.`stream_ids`) as `product.streamIds`, `product.parent`.`tag_ids` as `product.tagIds.inherited`, COALESCE(`product`.`tag_ids`, `product.parent`.`tag_ids`) as `product.tagIds`, `product.parent`.`category_ids` as `product.categoryIds.inherited`, COALESCE(`product`.`category_ids`, `product.parent`.`category_ids`) as `product.categoryIds`, `product`.`child_count` as `product.childCount`, COALESCE(`product`.`custom_field_set_selection_active`, `product.parent`.`custom_field_set_selection_active`) as `product.customFieldSetSelectionActive`, `product`.`sales` as `product.sales`, `product`.`states` as `product.states`, `product.tax`.`id` as `product.tax.id`, `product.tax`.`tax_rate` as `product.tax.taxRate`, `product.tax`.`name` as `product.tax.name`, `product.tax`.`position` as `product.tax.position`, `product.tax`.`custom_fields` as `product.tax.customFields`, `product.tax`.`created_at` as `product.tax.createdAt`, `product.tax`.`updated_at` as `product.tax.updatedAt`, `product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`, COALESCE(`product`.`cheapest_price`, `product.parent`.`cheapest_price`) as `product.cheapestPrice`, `product`.`created_at` as `product.createdAt`, `product`.`updated_at` as `product.updatedAt`, `product.unit`.`id` as `product.unit.id`, `product.unit`.`created_at` as `product.unit.createdAt`, `product.unit`.`updated_at` as `product.unit.updatedAt`, `product.unit.translation.shortCode`, COALESCE(`product.unit.translation.shortCode`,`product.unit.translation.shortCode`) as `product.unit.shortCode`, `product.unit.translation.name`, COALESCE(`product.unit.translation.name`,`product.unit.translation.name`) as `product.unit.name`, `product.unit.translation.customFields`, COALESCE(`product.unit.translation.customFields`,`product.unit.translation.customFields`) as `product.unit.customFields`, `product.unit.translation.createdAt`, `product.unit.translation.updatedAt`, `product.unit.translation.unitId`, `product.unit.translation.languageId`, `product.deliveryTime`.`id` as `product.deliveryTime.id`, `product.deliveryTime`.`min` as `product.deliveryTime.min`, `product.deliveryTime`.`max` as `product.deliveryTime.max`, `product.deliveryTime`.`unit` as `product.deliveryTime.unit`, `product.deliveryTime`.`created_at` as `product.deliveryTime.createdAt`, `product.deliveryTime`.`updated_at` as `product.deliveryTime.updatedAt`, `product.deliveryTime.translation.name`, COALESCE(`product.deliveryTime.translation.name`,`product.deliveryTime.translation.name`) as `product.deliveryTime.name`, `product.deliveryTime.translation.customFields`, COALESCE(`product.deliveryTime.translation.customFields`,`product.deliveryTime.translation.customFields`) as `product.deliveryTime.customFields`, `product.deliveryTime.translation.createdAt`, `product.deliveryTime.translation.updatedAt`, `product.deliveryTime.translation.deliveryTimeId`, `product.deliveryTime.translation.languageId`, `product.cover`.`id` as `product.cover.id`, `product.cover`.`version_id` as `product.cover.versionId`, `product.cover`.`product_id` as `product.cover.productId`, `product.cover`.`product_version_id` as `product.cover.productVersionId`, `product.cover`.`media_id` as `product.cover.mediaId`, `product.cover`.`position` as `product.cover.position`, `product.cover.media`.`id` as `product.cover.media.id`, `product.cover.media`.`user_id` as `product.cover.media.userId`, `product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`, `product.cover.media`.`mime_type` as `product.cover.media.mimeType`, `product.cover.media`.`file_extension` as `product.cover.media.fileExtension`, `product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`, `product.cover.media`.`file_name` as `product.cover.media.fileName`, `product.cover.media`.`file_size` as `product.cover.media.fileSize`, `product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`, `product.cover.media`.`meta_data` as `product.cover.media.metaData`, `product.cover.media`.`private` as `product.cover.media.private`, `product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`, `product.cover.media`.`created_at` as `product.cover.media.createdAt`, `product.cover.media`.`updated_at` as `product.cover.media.updatedAt`, `product.cover.media.translation.title`, COALESCE(`product.cover.media.translation.title`,`product.cover.media.translation.title`) as `product.cover.media.title`, `product.cover.media.translation.alt`, COALESCE(`product.cover.media.translation.alt`,`product.cover.media.translation.alt`) as `product.cover.media.alt`, `product.cover.media.translation.customFields`, COALESCE(`product.cover.media.translation.customFields`,`product.cover.media.translation.customFields`) as `product.cover.media.customFields`, `product.cover.media.translation.createdAt`, `product.cover.media.translation.updatedAt`, `product.cover.media.translation.mediaId`, `product.cover.media.translation.languageId`, `product.cover`.`custom_fields` as `product.cover.customFields`, `product.cover`.`created_at` as `product.cover.createdAt`, `product.cover`.`updated_at` as `product.cover.updatedAt`, `product.translation.metaDescription`, `product.parent.translation.metaDescription`, COALESCE(`product.translation.metaDescription`,`product.parent.translation.metaDescription`,`product.translation.metaDescription`) as `product.metaDescription`, `product.translation.name`, `product.parent.translation.name`, COALESCE(`product.translation.name`,`product.parent.translation.name`,`product.translation.name`) as `product.name`, `product.translation.keywords`, `product.parent.translation.keywords`, COALESCE(`product.translation.keywords`,`product.parent.translation.keywords`,`product.translation.keywords`) as `product.keywords`, `product.translation.description`, `product.parent.translation.description`, COALESCE(`product.translation.description`,`product.parent.translation.description`,`product.translation.description`) as `product.description`, `product.translation.metaTitle`, `product.parent.translation.metaTitle`, COALESCE(`product.translation.metaTitle`,`product.parent.translation.metaTitle`,`product.translation.metaTitle`) as `product.metaTitle`, `product.translation.packUnit`, `product.parent.translation.packUnit`, COALESCE(`product.translation.packUnit`,`product.parent.translation.packUnit`,`product.translation.packUnit`) as `product.packUnit`, `product.translation.packUnitPlural`, `product.parent.translation.packUnitPlural`, COALESCE(`product.translation.packUnitPlural`,`product.parent.translation.packUnitPlural`,`product.translation.packUnitPlural`) as `product.packUnitPlural`, `product.translation.customSearchKeywords`, `product.parent.translation.customSearchKeywords`, COALESCE(`product.translation.customSearchKeywords`,`product.parent.translation.customSearchKeywords`,`product.translation.customSearchKeywords`) as `product.customSearchKeywords`, `product.translation.slotConfig`, `product.parent.translation.slotConfig`, COALESCE(`product.translation.slotConfig`,`product.parent.translation.slotConfig`,`product.translation.slotConfig`) as `product.slotConfig`, `product.translation.customFields`, `product.parent.translation.customFields`, COALESCE(`product.translation.customFields`,`product.parent.translation.customFields`,`product.translation.customFields`) as `product.customFields`, `product.translation.createdAt`, `product.parent.translation.createdAt`, `product.translation.updatedAt`, `product.parent.translation.updatedAt`, `product.translation.productId`, `product.parent.translation.productId`, `product.translation.languageId`, `product.parent.translation.languageId`, `product.translation.productVersionId`, `product.parent.translation.productVersionId` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN (SELECT `product.translation`.product_id, `product.translation`.product_version_id, `product.translation`.meta_description as `product.translation.metaDescription`, `product.translation`.name as `product.translation.name`, `product.translation`.keywords as `product.translation.keywords`, `product.translation`.description as `product.translation.description`, `product.translation`.meta_title as `product.translation.metaTitle`, `product.translation`.pack_unit as `product.translation.packUnit`, `product.translation`.pack_unit_plural as `product.translation.packUnitPlural`, `product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`, `product.translation`.slot_config as `product.translation.slotConfig`, `product.translation`.custom_fields as `product.translation.customFields`, `product.translation`.created_at as `product.translation.createdAt`, `product.translation`.updated_at as `product.translation.updatedAt`, `product.translation`.product_id as `product.translation.productId`, `product.translation`.language_id as `product.translation.languageId`, `product.translation`.product_version_id as `product.translation.productVersionId` FROM `product_translation` `product.translation` WHERE `product.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id` AND `product.product_translation`.product_version_id = `product`.version_id LEFT JOIN (SELECT `product.parent.translation`.product_id, `product.parent.translation`.product_version_id, `product.parent.translation`.meta_description as `product.parent.translation.metaDescription`, `product.parent.translation`.name as `product.parent.translation.name`, `product.parent.translation`.keywords as `product.parent.translation.keywords`, `product.parent.translation`.description as `product.parent.translation.description`, `product.parent.translation`.meta_title as `product.parent.translation.metaTitle`, `product.parent.translation`.pack_unit as `product.parent.translation.packUnit`, `product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`, `product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`, `product.parent.translation`.slot_config as `product.parent.translation.slotConfig`, `product.parent.translation`.custom_fields as `product.parent.translation.customFields`, `product.parent.translation`.created_at as `product.parent.translation.createdAt`, `product.parent.translation`.updated_at as `product.parent.translation.updatedAt`, `product.parent.translation`.product_id as `product.parent.translation.productId`, `product.parent.translation`.language_id as `product.parent.translation.languageId`, `product.parent.translation`.product_version_id as `product.parent.translation.productVersionId` FROM `product_translation` `product.parent.translation` WHERE `product.parent.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id` AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id` LEFT JOIN `unit` `product.unit` ON `product`.`unit` = `product.unit`.`id` LEFT JOIN `delivery_time` `product.deliveryTime` ON `product`.`deliveryTime` = `product.deliveryTime`.`id` LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id` AND `product`.`version_id` = `product.cover`.`version_id` LEFT JOIN (SELECT `product.unit.translation`.unit_id, `product.unit.translation`.short_code as `product.unit.translation.shortCode`, `product.unit.translation`.name as `product.unit.translation.name`, `product.unit.translation`.custom_fields as `product.unit.translation.customFields`, `product.unit.translation`.created_at as `product.unit.translation.createdAt`, `product.unit.translation`.updated_at as `product.unit.translation.updatedAt`, `product.unit.translation`.unit_id as `product.unit.translation.unitId`, `product.unit.translation`.language_id as `product.unit.translation.languageId` FROM `unit_translation` `product.unit.translation` WHERE `product.unit.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.unit.unit_translation` ON `product.unit.unit_translation`.`unit_id` = `product.unit`.`id` LEFT JOIN (SELECT `product.deliveryTime.translation`.delivery_time_id, `product.deliveryTime.translation`.name as `product.deliveryTime.translation.name`, `product.deliveryTime.translation`.custom_fields as `product.deliveryTime.translation.customFields`, `product.deliveryTime.translation`.created_at as `product.deliveryTime.translation.createdAt`, `product.deliveryTime.translation`.updated_at as `product.deliveryTime.translation.updatedAt`, `product.deliveryTime.translation`.delivery_time_id as `product.deliveryTime.translation.deliveryTimeId`, `product.deliveryTime.translation`.language_id as `product.deliveryTime.translation.languageId` FROM `delivery_time_translation` `product.deliveryTime.translation` WHERE `product.deliveryTime.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.deliveryTime.delivery_time_translation` ON `product.deliveryTime.delivery_time_translation`.`delivery_time_id` = `product.deliveryTime`.`id` LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id` LEFT JOIN (SELECT `product.cover.media.translation`.media_id, `product.cover.media.translation`.title as `product.cover.media.translation.title`, `product.cover.media.translation`.alt as `product.cover.media.translation.alt`, `product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`, `product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`, `product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`, `product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`, `product.cover.media.translation`.language_id as `product.cover.media.translation.languageId` FROM `media_translation` `product.cover.media.translation` WHERE `product.cover.media.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id` WHERE (`product`.`version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425) AND (`product`.`id` IN (0x606C17FE2D504510AA70DFB6C464B276));
array:37 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 242)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 316)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetch (line 148)"
4 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 93)"
5 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::read (line 195)"
6 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::read (line 133)"
7 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 36)"
8 => "Swag\PayPal\Util\Compatibility\SalesChannelRepositoryDecorator::search (line 207)"
9 => "Tds\MerwareDiscounts\Cart\Checkout\OverwrittenPriceCollector::getSalesChannelProduct (line 93)"
10 => "Tds\MerwareDiscounts\Cart\Checkout\OverwrittenPriceCollector::collect (line 103)"
11 => "Shopware\Core\Checkout\Cart\Processor::runProcessors (line 67)"
12 => "Shopware\Core\Checkout\Cart\Processor::Shopware\Core\Checkout\Cart\{closure} (line 59)"
13 => "Shopware\Core\Profiling\Profiler::trace (line 86)"
14 => "Shopware\Core\Checkout\Cart\Processor::process (line 132)"
15 => "Shopware\Core\Checkout\Cart\CartRuleLoader::Shopware\Core\Checkout\Cart\{closure} (line 59)"
16 => "Shopware\Core\Profiling\Profiler::trace (line 183)"
17 => "Shopware\Core\Checkout\Cart\CartRuleLoader::load (line 83)"
18 => "Shopware\Core\Checkout\Cart\CartRuleLoader::loadByToken (line 106)"
19 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::Shopware\Core\System\SalesChannel\Context\{closure} (line 59)"
20 => "Shopware\Core\Profiling\Profiler::trace (line 111)"
21 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::get (line 105)"
22 => "Shopware\Core\Framework\Routing\SalesChannelRequestContextResolver::resolve (line 38)"
23 => "Shopware\Core\Framework\Routing\ContextResolverListener::resolveContext (line 118)"
24 => "Symfony\Component\EventDispatcher\Debug\WrappedListener::__invoke (line 230)"
25 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
26 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
27 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
28 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
29 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
30 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
31 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 151)"
32 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
33 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
34 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
35 => "Shopware\Core\HttpKernel::doHandle (line 81)"
36 => "Shopware\Core\HttpKernel::handle (line 85)"
]
|
66 |
0.42 ms |
SELECT `product_price`.`id` as `product_price.id`, `product_price`.`version_id` as `product_price.versionId`, `product_price`.`product_id` as `product_price.productId`, `product_price`.`product_version_id` as `product_price.productVersionId`, `product_price`.`rule_id` as `product_price.ruleId`, `product_price`.`price` as `product_price.price`, `product_price`.`quantity_start` as `product_price.quantityStart`, `product_price`.`quantity_end` as `product_price.quantityEnd`, `product_price`.`custom_fields` as `product_price.customFields`, `product_price`.`created_at` as `product_price.createdAt`, `product_price`.`updated_at` as `product_price.updatedAt` FROM `product_price` WHERE (`product_price`.`version_id` = :version) AND ((`product_price`.`product_id` IN (:param_598a24a6d8dd4318aeab280b8ae15bc4)))
SELECT `product_price`.`id` as `product_price.id`, `product_price`.`version_id` as `product_price.versionId`, `product_price`.`product_id` as `product_price.productId`, `product_price`.`product_version_id` as `product_price.productVersionId`, `product_price`.`rule_id` as `product_price.ruleId`, `product_price`.`price` as `product_price.price`, `product_price`.`quantity_start` as `product_price.quantityStart`, `product_price`.`quantity_end` as `product_price.quantityEnd`, `product_price`.`custom_fields` as `product_price.customFields`, `product_price`.`created_at` as `product_price.createdAt`, `product_price`.`updated_at` as `product_price.updatedAt` FROM `product_price` WHERE (`product_price`.`version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425) AND ((`product_price`.`product_id` IN (0x606C17FE2D504510AA70DFB6C464B276)));
array:41 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 242)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 316)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetch (line 148)"
4 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 503)"
5 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::loadOneToManyWithoutPagination (line 438)"
6 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::loadOneToMany (line 1210)"
7 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetchAssociations (line 152)"
8 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 93)"
9 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::read (line 195)"
10 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::read (line 133)"
11 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 36)"
12 => "Swag\PayPal\Util\Compatibility\SalesChannelRepositoryDecorator::search (line 207)"
13 => "Tds\MerwareDiscounts\Cart\Checkout\OverwrittenPriceCollector::getSalesChannelProduct (line 93)"
14 => "Tds\MerwareDiscounts\Cart\Checkout\OverwrittenPriceCollector::collect (line 103)"
15 => "Shopware\Core\Checkout\Cart\Processor::runProcessors (line 67)"
16 => "Shopware\Core\Checkout\Cart\Processor::Shopware\Core\Checkout\Cart\{closure} (line 59)"
17 => "Shopware\Core\Profiling\Profiler::trace (line 86)"
18 => "Shopware\Core\Checkout\Cart\Processor::process (line 132)"
19 => "Shopware\Core\Checkout\Cart\CartRuleLoader::Shopware\Core\Checkout\Cart\{closure} (line 59)"
20 => "Shopware\Core\Profiling\Profiler::trace (line 183)"
21 => "Shopware\Core\Checkout\Cart\CartRuleLoader::load (line 83)"
22 => "Shopware\Core\Checkout\Cart\CartRuleLoader::loadByToken (line 106)"
23 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::Shopware\Core\System\SalesChannel\Context\{closure} (line 59)"
24 => "Shopware\Core\Profiling\Profiler::trace (line 111)"
25 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::get (line 105)"
26 => "Shopware\Core\Framework\Routing\SalesChannelRequestContextResolver::resolve (line 38)"
27 => "Shopware\Core\Framework\Routing\ContextResolverListener::resolveContext (line 118)"
28 => "Symfony\Component\EventDispatcher\Debug\WrappedListener::__invoke (line 230)"
29 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
30 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
31 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
32 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
33 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
34 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
35 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 151)"
36 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
37 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
38 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
39 => "Shopware\Core\HttpKernel::doHandle (line 81)"
40 => "Shopware\Core\HttpKernel::handle (line 85)"
]
|
67 |
0.33 ms |
SELECT `product`.`id`, `product`.`product_number`, `product`.`auto_increment` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN `product_visibility` `product.visibilities` ON `product`.`visibilities` = `product.visibilities`.`product_id` AND `product`.version_id = `product.visibilities`.product_version_id WHERE (`product`.`version_id` = :version) AND ((((`product.visibilities`.`visibility` >= :param_ad75fbcde67245c29be748b02096825e) AND `product.visibilities`.`sales_channel_id` = :param_81f2a831d9d94abd8e86c4d36d8f4d27 AND IFNULL(`product`.`active`, `product.parent`.`active`) = :param_f81527b020b54829b84ba6570e96611b))) AND (`product`.`id` IN (:ids)) GROUP BY `product`.`id`
SELECT `product`.`id`, `product`.`product_number`, `product`.`auto_increment` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN `product_visibility` `product.visibilities` ON `product`.`visibilities` = `product.visibilities`.`product_id` AND `product`.version_id = `product.visibilities`.product_version_id WHERE (`product`.`version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425) AND ((((`product.visibilities`.`visibility` >= 10) AND `product.visibilities`.`sales_channel_id` = 0x4EB9108BE4654CC9B140D14DE85579E9 AND IFNULL(`product`.`active`, `product.parent`.`active`) = 1))) AND (`product`.`id` IN (0x247F98BF07564389B6A8D66B801A910C)) GROUP BY `product`.`id`;
array:36 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 242)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 107)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntitySearcher::search (line 62)"
4 => "Shopware\Elasticsearch\Framework\DataAbstractionLayer\ElasticsearchEntitySearcher::search (line 216)"
5 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::doSearch (line 122)"
6 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 36)"
7 => "Swag\PayPal\Util\Compatibility\SalesChannelRepositoryDecorator::search (line 207)"
8 => "Tds\MerwareDiscounts\Cart\Checkout\OverwrittenPriceCollector::getSalesChannelProduct (line 93)"
9 => "Tds\MerwareDiscounts\Cart\Checkout\OverwrittenPriceCollector::collect (line 103)"
10 => "Shopware\Core\Checkout\Cart\Processor::runProcessors (line 67)"
11 => "Shopware\Core\Checkout\Cart\Processor::Shopware\Core\Checkout\Cart\{closure} (line 59)"
12 => "Shopware\Core\Profiling\Profiler::trace (line 86)"
13 => "Shopware\Core\Checkout\Cart\Processor::process (line 132)"
14 => "Shopware\Core\Checkout\Cart\CartRuleLoader::Shopware\Core\Checkout\Cart\{closure} (line 59)"
15 => "Shopware\Core\Profiling\Profiler::trace (line 183)"
16 => "Shopware\Core\Checkout\Cart\CartRuleLoader::load (line 83)"
17 => "Shopware\Core\Checkout\Cart\CartRuleLoader::loadByToken (line 106)"
18 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::Shopware\Core\System\SalesChannel\Context\{closure} (line 59)"
19 => "Shopware\Core\Profiling\Profiler::trace (line 111)"
20 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::get (line 105)"
21 => "Shopware\Core\Framework\Routing\SalesChannelRequestContextResolver::resolve (line 38)"
22 => "Shopware\Core\Framework\Routing\ContextResolverListener::resolveContext (line 118)"
23 => "Symfony\Component\EventDispatcher\Debug\WrappedListener::__invoke (line 230)"
24 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
25 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
26 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
27 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
28 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
29 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
30 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 151)"
31 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
32 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
33 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
34 => "Shopware\Core\HttpKernel::doHandle (line 81)"
35 => "Shopware\Core\HttpKernel::handle (line 85)"
]
|
68 |
9.63 ms |
SELECT `product`.`id` as `product.id`, `product`.`version_id` as `product.versionId`, `product`.`parent_id` as `product.parentId`, `product`.`parent_version_id` as `product.parentVersionId`, COALESCE(`product`.`product_manufacturer_id`, `product.parent`.`product_manufacturer_id`) as `product.manufacturerId`, COALESCE(`product`.`product_manufacturer_version_id`, `product.parent`.`product_manufacturer_version_id`) as `product.productManufacturerVersionId`, COALESCE(`product`.`unit_id`, `product.parent`.`unit_id`) as `product.unitId`, COALESCE(`product`.`tax_id`, `product.parent`.`tax_id`) as `product.taxId`, COALESCE(`product`.`product_media_id`, `product.parent`.`product_media_id`) as `product.coverId`, COALESCE(`product`.`product_media_version_id`, `product.parent`.`product_media_version_id`) as `product.productMediaVersionId`, COALESCE(`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`) as `product.deliveryTimeId`, COALESCE(`product`.`product_feature_set_id`, `product.parent`.`product_feature_set_id`) as `product.featureSetId`, COALESCE(`product`.`canonical_product_id`, `product.parent`.`canonical_product_id`) as `product.canonicalProductId`, COALESCE(`product`.`cms_page_id`, `product.parent`.`cms_page_id`) as `product.cmsPageId`, COALESCE(`product`.`cms_page_version_id`, `product.parent`.`cms_page_version_id`) as `product.cmsPageVersionId`, `product.parent`.`price` as `product.price.inherited`, COALESCE(`product`.`price`, `product.parent`.`price`) as `product.price`, `product`.`product_number` as `product.productNumber`, `product`.`stock` as `product.stock`, COALESCE(`product`.`restock_time`, `product.parent`.`restock_time`) as `product.restockTime`, `product`.`auto_increment` as `product.autoIncrement`, COALESCE(`product`.`active`, `product.parent`.`active`) as `product.active`, `product`.`available_stock` as `product.availableStock`, `product`.`available` as `product.available`, COALESCE(`product`.`is_closeout`, `product.parent`.`is_closeout`) as `product.isCloseout`, `product`.`display_group` as `product.displayGroup`, `product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`, COALESCE(`product`.`configurator_group_config`, `product.parent`.`configurator_group_config`) as `product.configuratorGroupConfig`, COALESCE(`product`.`main_variant_id`, `product.parent`.`main_variant_id`) as `product.mainVariantId`, COALESCE(`product`.`display_parent`, `product.parent`.`display_parent`) as `product.displayParent`, `product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`, COALESCE(`product`.`variant_listing_config`, `product.parent`.`variant_listing_config`) as `product.variantListingConfig`, `product`.`variant_restrictions` as `product.variantRestrictions`, COALESCE(`product`.`manufacturer_number`, `product.parent`.`manufacturer_number`) as `product.manufacturerNumber`, COALESCE(`product`.`ean`, `product.parent`.`ean`) as `product.ean`, COALESCE(`product`.`purchase_steps`, `product.parent`.`purchase_steps`) as `product.purchaseSteps`, COALESCE(`product`.`max_purchase`, `product.parent`.`max_purchase`) as `product.maxPurchase`, COALESCE(`product`.`min_purchase`, `product.parent`.`min_purchase`) as `product.minPurchase`, COALESCE(`product`.`purchase_unit`, `product.parent`.`purchase_unit`) as `product.purchaseUnit`, COALESCE(`product`.`reference_unit`, `product.parent`.`reference_unit`) as `product.referenceUnit`, COALESCE(`product`.`shipping_free`, `product.parent`.`shipping_free`) as `product.shippingFree`, `product.parent`.`purchase_prices` as `product.purchasePrices.inherited`, COALESCE(`product`.`purchase_prices`, `product.parent`.`purchase_prices`) as `product.purchasePrices`, COALESCE(`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`) as `product.markAsTopseller`, COALESCE(`product`.`weight`, `product.parent`.`weight`) as `product.weight`, COALESCE(`product`.`width`, `product.parent`.`width`) as `product.width`, COALESCE(`product`.`height`, `product.parent`.`height`) as `product.height`, COALESCE(`product`.`length`, `product.parent`.`length`) as `product.length`, COALESCE(`product`.`release_date`, `product.parent`.`release_date`) as `product.releaseDate`, COALESCE(`product`.`rating_average`, `product.parent`.`rating_average`) as `product.ratingAverage`, `product.parent`.`category_tree` as `product.categoryTree.inherited`, COALESCE(`product`.`category_tree`, `product.parent`.`category_tree`) as `product.categoryTree`, `product.parent`.`property_ids` as `product.propertyIds.inherited`, COALESCE(`product`.`property_ids`, `product.parent`.`property_ids`) as `product.propertyIds`, `product.parent`.`option_ids` as `product.optionIds.inherited`, COALESCE(`product`.`option_ids`, `product.parent`.`option_ids`) as `product.optionIds`, `product.parent`.`stream_ids` as `product.streamIds.inherited`, COALESCE(`product`.`stream_ids`, `product.parent`.`stream_ids`) as `product.streamIds`, `product.parent`.`tag_ids` as `product.tagIds.inherited`, COALESCE(`product`.`tag_ids`, `product.parent`.`tag_ids`) as `product.tagIds`, `product.parent`.`category_ids` as `product.categoryIds.inherited`, COALESCE(`product`.`category_ids`, `product.parent`.`category_ids`) as `product.categoryIds`, `product`.`child_count` as `product.childCount`, COALESCE(`product`.`custom_field_set_selection_active`, `product.parent`.`custom_field_set_selection_active`) as `product.customFieldSetSelectionActive`, `product`.`sales` as `product.sales`, `product`.`states` as `product.states`, `product.tax`.`id` as `product.tax.id`, `product.tax`.`tax_rate` as `product.tax.taxRate`, `product.tax`.`name` as `product.tax.name`, `product.tax`.`position` as `product.tax.position`, `product.tax`.`custom_fields` as `product.tax.customFields`, `product.tax`.`created_at` as `product.tax.createdAt`, `product.tax`.`updated_at` as `product.tax.updatedAt`, `product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`, COALESCE(`product`.`cheapest_price`, `product.parent`.`cheapest_price`) as `product.cheapestPrice`, `product`.`created_at` as `product.createdAt`, `product`.`updated_at` as `product.updatedAt`, `product.unit`.`id` as `product.unit.id`, `product.unit`.`created_at` as `product.unit.createdAt`, `product.unit`.`updated_at` as `product.unit.updatedAt`, `product.unit.translation.shortCode`, COALESCE(`product.unit.translation.shortCode`,`product.unit.translation.shortCode`) as `product.unit.shortCode`, `product.unit.translation.name`, COALESCE(`product.unit.translation.name`,`product.unit.translation.name`) as `product.unit.name`, `product.unit.translation.customFields`, COALESCE(`product.unit.translation.customFields`,`product.unit.translation.customFields`) as `product.unit.customFields`, `product.unit.translation.createdAt`, `product.unit.translation.updatedAt`, `product.unit.translation.unitId`, `product.unit.translation.languageId`, `product.deliveryTime`.`id` as `product.deliveryTime.id`, `product.deliveryTime`.`min` as `product.deliveryTime.min`, `product.deliveryTime`.`max` as `product.deliveryTime.max`, `product.deliveryTime`.`unit` as `product.deliveryTime.unit`, `product.deliveryTime`.`created_at` as `product.deliveryTime.createdAt`, `product.deliveryTime`.`updated_at` as `product.deliveryTime.updatedAt`, `product.deliveryTime.translation.name`, COALESCE(`product.deliveryTime.translation.name`,`product.deliveryTime.translation.name`) as `product.deliveryTime.name`, `product.deliveryTime.translation.customFields`, COALESCE(`product.deliveryTime.translation.customFields`,`product.deliveryTime.translation.customFields`) as `product.deliveryTime.customFields`, `product.deliveryTime.translation.createdAt`, `product.deliveryTime.translation.updatedAt`, `product.deliveryTime.translation.deliveryTimeId`, `product.deliveryTime.translation.languageId`, `product.cover`.`id` as `product.cover.id`, `product.cover`.`version_id` as `product.cover.versionId`, `product.cover`.`product_id` as `product.cover.productId`, `product.cover`.`product_version_id` as `product.cover.productVersionId`, `product.cover`.`media_id` as `product.cover.mediaId`, `product.cover`.`position` as `product.cover.position`, `product.cover.media`.`id` as `product.cover.media.id`, `product.cover.media`.`user_id` as `product.cover.media.userId`, `product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`, `product.cover.media`.`mime_type` as `product.cover.media.mimeType`, `product.cover.media`.`file_extension` as `product.cover.media.fileExtension`, `product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`, `product.cover.media`.`file_name` as `product.cover.media.fileName`, `product.cover.media`.`file_size` as `product.cover.media.fileSize`, `product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`, `product.cover.media`.`meta_data` as `product.cover.media.metaData`, `product.cover.media`.`private` as `product.cover.media.private`, `product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`, `product.cover.media`.`created_at` as `product.cover.media.createdAt`, `product.cover.media`.`updated_at` as `product.cover.media.updatedAt`, `product.cover.media.translation.title`, COALESCE(`product.cover.media.translation.title`,`product.cover.media.translation.title`) as `product.cover.media.title`, `product.cover.media.translation.alt`, COALESCE(`product.cover.media.translation.alt`,`product.cover.media.translation.alt`) as `product.cover.media.alt`, `product.cover.media.translation.customFields`, COALESCE(`product.cover.media.translation.customFields`,`product.cover.media.translation.customFields`) as `product.cover.media.customFields`, `product.cover.media.translation.createdAt`, `product.cover.media.translation.updatedAt`, `product.cover.media.translation.mediaId`, `product.cover.media.translation.languageId`, `product.cover`.`custom_fields` as `product.cover.customFields`, `product.cover`.`created_at` as `product.cover.createdAt`, `product.cover`.`updated_at` as `product.cover.updatedAt`, `product.translation.metaDescription`, `product.parent.translation.metaDescription`, COALESCE(`product.translation.metaDescription`,`product.parent.translation.metaDescription`,`product.translation.metaDescription`) as `product.metaDescription`, `product.translation.name`, `product.parent.translation.name`, COALESCE(`product.translation.name`,`product.parent.translation.name`,`product.translation.name`) as `product.name`, `product.translation.keywords`, `product.parent.translation.keywords`, COALESCE(`product.translation.keywords`,`product.parent.translation.keywords`,`product.translation.keywords`) as `product.keywords`, `product.translation.description`, `product.parent.translation.description`, COALESCE(`product.translation.description`,`product.parent.translation.description`,`product.translation.description`) as `product.description`, `product.translation.metaTitle`, `product.parent.translation.metaTitle`, COALESCE(`product.translation.metaTitle`,`product.parent.translation.metaTitle`,`product.translation.metaTitle`) as `product.metaTitle`, `product.translation.packUnit`, `product.parent.translation.packUnit`, COALESCE(`product.translation.packUnit`,`product.parent.translation.packUnit`,`product.translation.packUnit`) as `product.packUnit`, `product.translation.packUnitPlural`, `product.parent.translation.packUnitPlural`, COALESCE(`product.translation.packUnitPlural`,`product.parent.translation.packUnitPlural`,`product.translation.packUnitPlural`) as `product.packUnitPlural`, `product.translation.customSearchKeywords`, `product.parent.translation.customSearchKeywords`, COALESCE(`product.translation.customSearchKeywords`,`product.parent.translation.customSearchKeywords`,`product.translation.customSearchKeywords`) as `product.customSearchKeywords`, `product.translation.slotConfig`, `product.parent.translation.slotConfig`, COALESCE(`product.translation.slotConfig`,`product.parent.translation.slotConfig`,`product.translation.slotConfig`) as `product.slotConfig`, `product.translation.customFields`, `product.parent.translation.customFields`, COALESCE(`product.translation.customFields`,`product.parent.translation.customFields`,`product.translation.customFields`) as `product.customFields`, `product.translation.createdAt`, `product.parent.translation.createdAt`, `product.translation.updatedAt`, `product.parent.translation.updatedAt`, `product.translation.productId`, `product.parent.translation.productId`, `product.translation.languageId`, `product.parent.translation.languageId`, `product.translation.productVersionId`, `product.parent.translation.productVersionId` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN (SELECT `product.translation`.product_id, `product.translation`.product_version_id, `product.translation`.meta_description as `product.translation.metaDescription`, `product.translation`.name as `product.translation.name`, `product.translation`.keywords as `product.translation.keywords`, `product.translation`.description as `product.translation.description`, `product.translation`.meta_title as `product.translation.metaTitle`, `product.translation`.pack_unit as `product.translation.packUnit`, `product.translation`.pack_unit_plural as `product.translation.packUnitPlural`, `product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`, `product.translation`.slot_config as `product.translation.slotConfig`, `product.translation`.custom_fields as `product.translation.customFields`, `product.translation`.created_at as `product.translation.createdAt`, `product.translation`.updated_at as `product.translation.updatedAt`, `product.translation`.product_id as `product.translation.productId`, `product.translation`.language_id as `product.translation.languageId`, `product.translation`.product_version_id as `product.translation.productVersionId` FROM `product_translation` `product.translation` WHERE `product.translation`.language_id = :languageId) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id` AND `product.product_translation`.product_version_id = `product`.version_id LEFT JOIN (SELECT `product.parent.translation`.product_id, `product.parent.translation`.product_version_id, `product.parent.translation`.meta_description as `product.parent.translation.metaDescription`, `product.parent.translation`.name as `product.parent.translation.name`, `product.parent.translation`.keywords as `product.parent.translation.keywords`, `product.parent.translation`.description as `product.parent.translation.description`, `product.parent.translation`.meta_title as `product.parent.translation.metaTitle`, `product.parent.translation`.pack_unit as `product.parent.translation.packUnit`, `product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`, `product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`, `product.parent.translation`.slot_config as `product.parent.translation.slotConfig`, `product.parent.translation`.custom_fields as `product.parent.translation.customFields`, `product.parent.translation`.created_at as `product.parent.translation.createdAt`, `product.parent.translation`.updated_at as `product.parent.translation.updatedAt`, `product.parent.translation`.product_id as `product.parent.translation.productId`, `product.parent.translation`.language_id as `product.parent.translation.languageId`, `product.parent.translation`.product_version_id as `product.parent.translation.productVersionId` FROM `product_translation` `product.parent.translation` WHERE `product.parent.translation`.language_id = :languageId) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id` AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id` LEFT JOIN `unit` `product.unit` ON `product`.`unit` = `product.unit`.`id` LEFT JOIN `delivery_time` `product.deliveryTime` ON `product`.`deliveryTime` = `product.deliveryTime`.`id` LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id` AND `product`.`version_id` = `product.cover`.`version_id` LEFT JOIN (SELECT `product.unit.translation`.unit_id, `product.unit.translation`.short_code as `product.unit.translation.shortCode`, `product.unit.translation`.name as `product.unit.translation.name`, `product.unit.translation`.custom_fields as `product.unit.translation.customFields`, `product.unit.translation`.created_at as `product.unit.translation.createdAt`, `product.unit.translation`.updated_at as `product.unit.translation.updatedAt`, `product.unit.translation`.unit_id as `product.unit.translation.unitId`, `product.unit.translation`.language_id as `product.unit.translation.languageId` FROM `unit_translation` `product.unit.translation` WHERE `product.unit.translation`.language_id = :languageId) `product.unit.unit_translation` ON `product.unit.unit_translation`.`unit_id` = `product.unit`.`id` LEFT JOIN (SELECT `product.deliveryTime.translation`.delivery_time_id, `product.deliveryTime.translation`.name as `product.deliveryTime.translation.name`, `product.deliveryTime.translation`.custom_fields as `product.deliveryTime.translation.customFields`, `product.deliveryTime.translation`.created_at as `product.deliveryTime.translation.createdAt`, `product.deliveryTime.translation`.updated_at as `product.deliveryTime.translation.updatedAt`, `product.deliveryTime.translation`.delivery_time_id as `product.deliveryTime.translation.deliveryTimeId`, `product.deliveryTime.translation`.language_id as `product.deliveryTime.translation.languageId` FROM `delivery_time_translation` `product.deliveryTime.translation` WHERE `product.deliveryTime.translation`.language_id = :languageId) `product.deliveryTime.delivery_time_translation` ON `product.deliveryTime.delivery_time_translation`.`delivery_time_id` = `product.deliveryTime`.`id` LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id` LEFT JOIN (SELECT `product.cover.media.translation`.media_id, `product.cover.media.translation`.title as `product.cover.media.translation.title`, `product.cover.media.translation`.alt as `product.cover.media.translation.alt`, `product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`, `product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`, `product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`, `product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`, `product.cover.media.translation`.language_id as `product.cover.media.translation.languageId` FROM `media_translation` `product.cover.media.translation` WHERE `product.cover.media.translation`.language_id = :languageId) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id` WHERE (`product`.`version_id` = :version) AND (`product`.`id` IN (:ids))
SELECT
`product`.`id` as `product.id`,
`product`.`version_id` as `product.versionId`,
`product`.`parent_id` as `product.parentId`,
`product`.`parent_version_id` as `product.parentVersionId`,
COALESCE(
`product`.`product_manufacturer_id`,
`product.parent`.`product_manufacturer_id`
) as `product.manufacturerId`,
COALESCE(
`product`.`product_manufacturer_version_id`,
`product.parent`.`product_manufacturer_version_id`
) as `product.productManufacturerVersionId`,
COALESCE(
`product`.`unit_id`, `product.parent`.`unit_id`
) as `product.unitId`,
COALESCE(
`product`.`tax_id`, `product.parent`.`tax_id`
) as `product.taxId`,
COALESCE(
`product`.`product_media_id`, `product.parent`.`product_media_id`
) as `product.coverId`,
COALESCE(
`product`.`product_media_version_id`,
`product.parent`.`product_media_version_id`
) as `product.productMediaVersionId`,
COALESCE(
`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`
) as `product.deliveryTimeId`,
COALESCE(
`product`.`product_feature_set_id`,
`product.parent`.`product_feature_set_id`
) as `product.featureSetId`,
COALESCE(
`product`.`canonical_product_id`,
`product.parent`.`canonical_product_id`
) as `product.canonicalProductId`,
COALESCE(
`product`.`cms_page_id`, `product.parent`.`cms_page_id`
) as `product.cmsPageId`,
COALESCE(
`product`.`cms_page_version_id`,
`product.parent`.`cms_page_version_id`
) as `product.cmsPageVersionId`,
`product.parent`.`price` as `product.price.inherited`,
COALESCE(
`product`.`price`, `product.parent`.`price`
) as `product.price`,
`product`.`product_number` as `product.productNumber`,
`product`.`stock` as `product.stock`,
COALESCE(
`product`.`restock_time`, `product.parent`.`restock_time`
) as `product.restockTime`,
`product`.`auto_increment` as `product.autoIncrement`,
COALESCE(
`product`.`active`, `product.parent`.`active`
) as `product.active`,
`product`.`available_stock` as `product.availableStock`,
`product`.`available` as `product.available`,
COALESCE(
`product`.`is_closeout`, `product.parent`.`is_closeout`
) as `product.isCloseout`,
`product`.`display_group` as `product.displayGroup`,
`product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`,
COALESCE(
`product`.`configurator_group_config`,
`product.parent`.`configurator_group_config`
) as `product.configuratorGroupConfig`,
COALESCE(
`product`.`main_variant_id`, `product.parent`.`main_variant_id`
) as `product.mainVariantId`,
COALESCE(
`product`.`display_parent`, `product.parent`.`display_parent`
) as `product.displayParent`,
`product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`,
COALESCE(
`product`.`variant_listing_config`,
`product.parent`.`variant_listing_config`
) as `product.variantListingConfig`,
`product`.`variant_restrictions` as `product.variantRestrictions`,
COALESCE(
`product`.`manufacturer_number`,
`product.parent`.`manufacturer_number`
) as `product.manufacturerNumber`,
COALESCE(
`product`.`ean`, `product.parent`.`ean`
) as `product.ean`,
COALESCE(
`product`.`purchase_steps`, `product.parent`.`purchase_steps`
) as `product.purchaseSteps`,
COALESCE(
`product`.`max_purchase`, `product.parent`.`max_purchase`
) as `product.maxPurchase`,
COALESCE(
`product`.`min_purchase`, `product.parent`.`min_purchase`
) as `product.minPurchase`,
COALESCE(
`product`.`purchase_unit`, `product.parent`.`purchase_unit`
) as `product.purchaseUnit`,
COALESCE(
`product`.`reference_unit`, `product.parent`.`reference_unit`
) as `product.referenceUnit`,
COALESCE(
`product`.`shipping_free`, `product.parent`.`shipping_free`
) as `product.shippingFree`,
`product.parent`.`purchase_prices` as `product.purchasePrices.inherited`,
COALESCE(
`product`.`purchase_prices`, `product.parent`.`purchase_prices`
) as `product.purchasePrices`,
COALESCE(
`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`
) as `product.markAsTopseller`,
COALESCE(
`product`.`weight`, `product.parent`.`weight`
) as `product.weight`,
COALESCE(
`product`.`width`, `product.parent`.`width`
) as `product.width`,
COALESCE(
`product`.`height`, `product.parent`.`height`
) as `product.height`,
COALESCE(
`product`.`length`, `product.parent`.`length`
) as `product.length`,
COALESCE(
`product`.`release_date`, `product.parent`.`release_date`
) as `product.releaseDate`,
COALESCE(
`product`.`rating_average`, `product.parent`.`rating_average`
) as `product.ratingAverage`,
`product.parent`.`category_tree` as `product.categoryTree.inherited`,
COALESCE(
`product`.`category_tree`, `product.parent`.`category_tree`
) as `product.categoryTree`,
`product.parent`.`property_ids` as `product.propertyIds.inherited`,
COALESCE(
`product`.`property_ids`, `product.parent`.`property_ids`
) as `product.propertyIds`,
`product.parent`.`option_ids` as `product.optionIds.inherited`,
COALESCE(
`product`.`option_ids`, `product.parent`.`option_ids`
) as `product.optionIds`,
`product.parent`.`stream_ids` as `product.streamIds.inherited`,
COALESCE(
`product`.`stream_ids`, `product.parent`.`stream_ids`
) as `product.streamIds`,
`product.parent`.`tag_ids` as `product.tagIds.inherited`,
COALESCE(
`product`.`tag_ids`, `product.parent`.`tag_ids`
) as `product.tagIds`,
`product.parent`.`category_ids` as `product.categoryIds.inherited`,
COALESCE(
`product`.`category_ids`, `product.parent`.`category_ids`
) as `product.categoryIds`,
`product`.`child_count` as `product.childCount`,
COALESCE(
`product`.`custom_field_set_selection_active`,
`product.parent`.`custom_field_set_selection_active`
) as `product.customFieldSetSelectionActive`,
`product`.`sales` as `product.sales`,
`product`.`states` as `product.states`,
`product.tax`.`id` as `product.tax.id`,
`product.tax`.`tax_rate` as `product.tax.taxRate`,
`product.tax`.`name` as `product.tax.name`,
`product.tax`.`position` as `product.tax.position`,
`product.tax`.`custom_fields` as `product.tax.customFields`,
`product.tax`.`created_at` as `product.tax.createdAt`,
`product.tax`.`updated_at` as `product.tax.updatedAt`,
`product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`,
COALESCE(
`product`.`cheapest_price`, `product.parent`.`cheapest_price`
) as `product.cheapestPrice`,
`product`.`created_at` as `product.createdAt`,
`product`.`updated_at` as `product.updatedAt`,
`product.unit`.`id` as `product.unit.id`,
`product.unit`.`created_at` as `product.unit.createdAt`,
`product.unit`.`updated_at` as `product.unit.updatedAt`,
`product.unit.translation.shortCode`,
COALESCE(
`product.unit.translation.shortCode`,
`product.unit.translation.shortCode`
) as `product.unit.shortCode`,
`product.unit.translation.name`,
COALESCE(
`product.unit.translation.name`,
`product.unit.translation.name`
) as `product.unit.name`,
`product.unit.translation.customFields`,
COALESCE(
`product.unit.translation.customFields`,
`product.unit.translation.customFields`
) as `product.unit.customFields`,
`product.unit.translation.createdAt`,
`product.unit.translation.updatedAt`,
`product.unit.translation.unitId`,
`product.unit.translation.languageId`,
`product.deliveryTime`.`id` as `product.deliveryTime.id`,
`product.deliveryTime`.`min` as `product.deliveryTime.min`,
`product.deliveryTime`.`max` as `product.deliveryTime.max`,
`product.deliveryTime`.`unit` as `product.deliveryTime.unit`,
`product.deliveryTime`.`created_at` as `product.deliveryTime.createdAt`,
`product.deliveryTime`.`updated_at` as `product.deliveryTime.updatedAt`,
`product.deliveryTime.translation.name`,
COALESCE(
`product.deliveryTime.translation.name`,
`product.deliveryTime.translation.name`
) as `product.deliveryTime.name`,
`product.deliveryTime.translation.customFields`,
COALESCE(
`product.deliveryTime.translation.customFields`,
`product.deliveryTime.translation.customFields`
) as `product.deliveryTime.customFields`,
`product.deliveryTime.translation.createdAt`,
`product.deliveryTime.translation.updatedAt`,
`product.deliveryTime.translation.deliveryTimeId`,
`product.deliveryTime.translation.languageId`,
`product.cover`.`id` as `product.cover.id`,
`product.cover`.`version_id` as `product.cover.versionId`,
`product.cover`.`product_id` as `product.cover.productId`,
`product.cover`.`product_version_id` as `product.cover.productVersionId`,
`product.cover`.`media_id` as `product.cover.mediaId`,
`product.cover`.`position` as `product.cover.position`,
`product.cover.media`.`id` as `product.cover.media.id`,
`product.cover.media`.`user_id` as `product.cover.media.userId`,
`product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`,
`product.cover.media`.`mime_type` as `product.cover.media.mimeType`,
`product.cover.media`.`file_extension` as `product.cover.media.fileExtension`,
`product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`,
`product.cover.media`.`file_name` as `product.cover.media.fileName`,
`product.cover.media`.`file_size` as `product.cover.media.fileSize`,
`product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`,
`product.cover.media`.`meta_data` as `product.cover.media.metaData`,
`product.cover.media`.`private` as `product.cover.media.private`,
`product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`,
`product.cover.media`.`created_at` as `product.cover.media.createdAt`,
`product.cover.media`.`updated_at` as `product.cover.media.updatedAt`,
`product.cover.media.translation.title`,
COALESCE(
`product.cover.media.translation.title`,
`product.cover.media.translation.title`
) as `product.cover.media.title`,
`product.cover.media.translation.alt`,
COALESCE(
`product.cover.media.translation.alt`,
`product.cover.media.translation.alt`
) as `product.cover.media.alt`,
`product.cover.media.translation.customFields`,
COALESCE(
`product.cover.media.translation.customFields`,
`product.cover.media.translation.customFields`
) as `product.cover.media.customFields`,
`product.cover.media.translation.createdAt`,
`product.cover.media.translation.updatedAt`,
`product.cover.media.translation.mediaId`,
`product.cover.media.translation.languageId`,
`product.cover`.`custom_fields` as `product.cover.customFields`,
`product.cover`.`created_at` as `product.cover.createdAt`,
`product.cover`.`updated_at` as `product.cover.updatedAt`,
`product.translation.metaDescription`,
`product.parent.translation.metaDescription`,
COALESCE(
`product.translation.metaDescription`,
`product.parent.translation.metaDescription`,
`product.translation.metaDescription`
) as `product.metaDescription`,
`product.translation.name`,
`product.parent.translation.name`,
COALESCE(
`product.translation.name`, `product.parent.translation.name`,
`product.translation.name`
) as `product.name`,
`product.translation.keywords`,
`product.parent.translation.keywords`,
COALESCE(
`product.translation.keywords`,
`product.parent.translation.keywords`,
`product.translation.keywords`
) as `product.keywords`,
`product.translation.description`,
`product.parent.translation.description`,
COALESCE(
`product.translation.description`,
`product.parent.translation.description`,
`product.translation.description`
) as `product.description`,
`product.translation.metaTitle`,
`product.parent.translation.metaTitle`,
COALESCE(
`product.translation.metaTitle`,
`product.parent.translation.metaTitle`,
`product.translation.metaTitle`
) as `product.metaTitle`,
`product.translation.packUnit`,
`product.parent.translation.packUnit`,
COALESCE(
`product.translation.packUnit`,
`product.parent.translation.packUnit`,
`product.translation.packUnit`
) as `product.packUnit`,
`product.translation.packUnitPlural`,
`product.parent.translation.packUnitPlural`,
COALESCE(
`product.translation.packUnitPlural`,
`product.parent.translation.packUnitPlural`,
`product.translation.packUnitPlural`
) as `product.packUnitPlural`,
`product.translation.customSearchKeywords`,
`product.parent.translation.customSearchKeywords`,
COALESCE(
`product.translation.customSearchKeywords`,
`product.parent.translation.customSearchKeywords`,
`product.translation.customSearchKeywords`
) as `product.customSearchKeywords`,
`product.translation.slotConfig`,
`product.parent.translation.slotConfig`,
COALESCE(
`product.translation.slotConfig`,
`product.parent.translation.slotConfig`,
`product.translation.slotConfig`
) as `product.slotConfig`,
`product.translation.customFields`,
`product.parent.translation.customFields`,
COALESCE(
`product.translation.customFields`,
`product.parent.translation.customFields`,
`product.translation.customFields`
) as `product.customFields`,
`product.translation.createdAt`,
`product.parent.translation.createdAt`,
`product.translation.updatedAt`,
`product.parent.translation.updatedAt`,
`product.translation.productId`,
`product.parent.translation.productId`,
`product.translation.languageId`,
`product.parent.translation.languageId`,
`product.translation.productVersionId`,
`product.parent.translation.productVersionId`
FROM
`product`
LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id`
AND `product`.`version_id` = `product.parent`.`version_id`
LEFT JOIN (
SELECT
`product.translation`.product_id,
`product.translation`.product_version_id,
`product.translation`.meta_description as `product.translation.metaDescription`,
`product.translation`.name as `product.translation.name`,
`product.translation`.keywords as `product.translation.keywords`,
`product.translation`.description as `product.translation.description`,
`product.translation`.meta_title as `product.translation.metaTitle`,
`product.translation`.pack_unit as `product.translation.packUnit`,
`product.translation`.pack_unit_plural as `product.translation.packUnitPlural`,
`product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`,
`product.translation`.slot_config as `product.translation.slotConfig`,
`product.translation`.custom_fields as `product.translation.customFields`,
`product.translation`.created_at as `product.translation.createdAt`,
`product.translation`.updated_at as `product.translation.updatedAt`,
`product.translation`.product_id as `product.translation.productId`,
`product.translation`.language_id as `product.translation.languageId`,
`product.translation`.product_version_id as `product.translation.productVersionId`
FROM
`product_translation` `product.translation`
WHERE
`product.translation`.language_id = : languageId
) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id`
AND `product.product_translation`.product_version_id = `product`.version_id
LEFT JOIN (
SELECT
`product.parent.translation`.product_id,
`product.parent.translation`.product_version_id,
`product.parent.translation`.meta_description as `product.parent.translation.metaDescription`,
`product.parent.translation`.name as `product.parent.translation.name`,
`product.parent.translation`.keywords as `product.parent.translation.keywords`,
`product.parent.translation`.description as `product.parent.translation.description`,
`product.parent.translation`.meta_title as `product.parent.translation.metaTitle`,
`product.parent.translation`.pack_unit as `product.parent.translation.packUnit`,
`product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`,
`product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`,
`product.parent.translation`.slot_config as `product.parent.translation.slotConfig`,
`product.parent.translation`.custom_fields as `product.parent.translation.customFields`,
`product.parent.translation`.created_at as `product.parent.translation.createdAt`,
`product.parent.translation`.updated_at as `product.parent.translation.updatedAt`,
`product.parent.translation`.product_id as `product.parent.translation.productId`,
`product.parent.translation`.language_id as `product.parent.translation.languageId`,
`product.parent.translation`.product_version_id as `product.parent.translation.productVersionId`
FROM
`product_translation` `product.parent.translation`
WHERE
`product.parent.translation`.language_id = : languageId
) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id`
AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id
LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id`
LEFT JOIN `unit` `product.unit` ON `product`.`unit` = `product.unit`.`id`
LEFT JOIN `delivery_time` `product.deliveryTime` ON `product`.`deliveryTime` = `product.deliveryTime`.`id`
LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id`
AND `product`.`version_id` = `product.cover`.`version_id`
LEFT JOIN (
SELECT
`product.unit.translation`.unit_id,
`product.unit.translation`.short_code as `product.unit.translation.shortCode`,
`product.unit.translation`.name as `product.unit.translation.name`,
`product.unit.translation`.custom_fields as `product.unit.translation.customFields`,
`product.unit.translation`.created_at as `product.unit.translation.createdAt`,
`product.unit.translation`.updated_at as `product.unit.translation.updatedAt`,
`product.unit.translation`.unit_id as `product.unit.translation.unitId`,
`product.unit.translation`.language_id as `product.unit.translation.languageId`
FROM
`unit_translation` `product.unit.translation`
WHERE
`product.unit.translation`.language_id = : languageId
) `product.unit.unit_translation` ON `product.unit.unit_translation`.`unit_id` = `product.unit`.`id`
LEFT JOIN (
SELECT
`product.deliveryTime.translation`.delivery_time_id,
`product.deliveryTime.translation`.name as `product.deliveryTime.translation.name`,
`product.deliveryTime.translation`.custom_fields as `product.deliveryTime.translation.customFields`,
`product.deliveryTime.translation`.created_at as `product.deliveryTime.translation.createdAt`,
`product.deliveryTime.translation`.updated_at as `product.deliveryTime.translation.updatedAt`,
`product.deliveryTime.translation`.delivery_time_id as `product.deliveryTime.translation.deliveryTimeId`,
`product.deliveryTime.translation`.language_id as `product.deliveryTime.translation.languageId`
FROM
`delivery_time_translation` `product.deliveryTime.translation`
WHERE
`product.deliveryTime.translation`.language_id = : languageId
) `product.deliveryTime.delivery_time_translation` ON `product.deliveryTime.delivery_time_translation`.`delivery_time_id` = `product.deliveryTime`.`id`
LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id`
LEFT JOIN (
SELECT
`product.cover.media.translation`.media_id,
`product.cover.media.translation`.title as `product.cover.media.translation.title`,
`product.cover.media.translation`.alt as `product.cover.media.translation.alt`,
`product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`,
`product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`,
`product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`,
`product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`,
`product.cover.media.translation`.language_id as `product.cover.media.translation.languageId`
FROM
`media_translation` `product.cover.media.translation`
WHERE
`product.cover.media.translation`.language_id = : languageId
) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id`
WHERE
(
`product`.`version_id` = : version
)
AND (
`product`.`id` IN (: ids)
)
SELECT `product`.`id` as `product.id`, `product`.`version_id` as `product.versionId`, `product`.`parent_id` as `product.parentId`, `product`.`parent_version_id` as `product.parentVersionId`, COALESCE(`product`.`product_manufacturer_id`, `product.parent`.`product_manufacturer_id`) as `product.manufacturerId`, COALESCE(`product`.`product_manufacturer_version_id`, `product.parent`.`product_manufacturer_version_id`) as `product.productManufacturerVersionId`, COALESCE(`product`.`unit_id`, `product.parent`.`unit_id`) as `product.unitId`, COALESCE(`product`.`tax_id`, `product.parent`.`tax_id`) as `product.taxId`, COALESCE(`product`.`product_media_id`, `product.parent`.`product_media_id`) as `product.coverId`, COALESCE(`product`.`product_media_version_id`, `product.parent`.`product_media_version_id`) as `product.productMediaVersionId`, COALESCE(`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`) as `product.deliveryTimeId`, COALESCE(`product`.`product_feature_set_id`, `product.parent`.`product_feature_set_id`) as `product.featureSetId`, COALESCE(`product`.`canonical_product_id`, `product.parent`.`canonical_product_id`) as `product.canonicalProductId`, COALESCE(`product`.`cms_page_id`, `product.parent`.`cms_page_id`) as `product.cmsPageId`, COALESCE(`product`.`cms_page_version_id`, `product.parent`.`cms_page_version_id`) as `product.cmsPageVersionId`, `product.parent`.`price` as `product.price.inherited`, COALESCE(`product`.`price`, `product.parent`.`price`) as `product.price`, `product`.`product_number` as `product.productNumber`, `product`.`stock` as `product.stock`, COALESCE(`product`.`restock_time`, `product.parent`.`restock_time`) as `product.restockTime`, `product`.`auto_increment` as `product.autoIncrement`, COALESCE(`product`.`active`, `product.parent`.`active`) as `product.active`, `product`.`available_stock` as `product.availableStock`, `product`.`available` as `product.available`, COALESCE(`product`.`is_closeout`, `product.parent`.`is_closeout`) as `product.isCloseout`, `product`.`display_group` as `product.displayGroup`, `product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`, COALESCE(`product`.`configurator_group_config`, `product.parent`.`configurator_group_config`) as `product.configuratorGroupConfig`, COALESCE(`product`.`main_variant_id`, `product.parent`.`main_variant_id`) as `product.mainVariantId`, COALESCE(`product`.`display_parent`, `product.parent`.`display_parent`) as `product.displayParent`, `product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`, COALESCE(`product`.`variant_listing_config`, `product.parent`.`variant_listing_config`) as `product.variantListingConfig`, `product`.`variant_restrictions` as `product.variantRestrictions`, COALESCE(`product`.`manufacturer_number`, `product.parent`.`manufacturer_number`) as `product.manufacturerNumber`, COALESCE(`product`.`ean`, `product.parent`.`ean`) as `product.ean`, COALESCE(`product`.`purchase_steps`, `product.parent`.`purchase_steps`) as `product.purchaseSteps`, COALESCE(`product`.`max_purchase`, `product.parent`.`max_purchase`) as `product.maxPurchase`, COALESCE(`product`.`min_purchase`, `product.parent`.`min_purchase`) as `product.minPurchase`, COALESCE(`product`.`purchase_unit`, `product.parent`.`purchase_unit`) as `product.purchaseUnit`, COALESCE(`product`.`reference_unit`, `product.parent`.`reference_unit`) as `product.referenceUnit`, COALESCE(`product`.`shipping_free`, `product.parent`.`shipping_free`) as `product.shippingFree`, `product.parent`.`purchase_prices` as `product.purchasePrices.inherited`, COALESCE(`product`.`purchase_prices`, `product.parent`.`purchase_prices`) as `product.purchasePrices`, COALESCE(`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`) as `product.markAsTopseller`, COALESCE(`product`.`weight`, `product.parent`.`weight`) as `product.weight`, COALESCE(`product`.`width`, `product.parent`.`width`) as `product.width`, COALESCE(`product`.`height`, `product.parent`.`height`) as `product.height`, COALESCE(`product`.`length`, `product.parent`.`length`) as `product.length`, COALESCE(`product`.`release_date`, `product.parent`.`release_date`) as `product.releaseDate`, COALESCE(`product`.`rating_average`, `product.parent`.`rating_average`) as `product.ratingAverage`, `product.parent`.`category_tree` as `product.categoryTree.inherited`, COALESCE(`product`.`category_tree`, `product.parent`.`category_tree`) as `product.categoryTree`, `product.parent`.`property_ids` as `product.propertyIds.inherited`, COALESCE(`product`.`property_ids`, `product.parent`.`property_ids`) as `product.propertyIds`, `product.parent`.`option_ids` as `product.optionIds.inherited`, COALESCE(`product`.`option_ids`, `product.parent`.`option_ids`) as `product.optionIds`, `product.parent`.`stream_ids` as `product.streamIds.inherited`, COALESCE(`product`.`stream_ids`, `product.parent`.`stream_ids`) as `product.streamIds`, `product.parent`.`tag_ids` as `product.tagIds.inherited`, COALESCE(`product`.`tag_ids`, `product.parent`.`tag_ids`) as `product.tagIds`, `product.parent`.`category_ids` as `product.categoryIds.inherited`, COALESCE(`product`.`category_ids`, `product.parent`.`category_ids`) as `product.categoryIds`, `product`.`child_count` as `product.childCount`, COALESCE(`product`.`custom_field_set_selection_active`, `product.parent`.`custom_field_set_selection_active`) as `product.customFieldSetSelectionActive`, `product`.`sales` as `product.sales`, `product`.`states` as `product.states`, `product.tax`.`id` as `product.tax.id`, `product.tax`.`tax_rate` as `product.tax.taxRate`, `product.tax`.`name` as `product.tax.name`, `product.tax`.`position` as `product.tax.position`, `product.tax`.`custom_fields` as `product.tax.customFields`, `product.tax`.`created_at` as `product.tax.createdAt`, `product.tax`.`updated_at` as `product.tax.updatedAt`, `product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`, COALESCE(`product`.`cheapest_price`, `product.parent`.`cheapest_price`) as `product.cheapestPrice`, `product`.`created_at` as `product.createdAt`, `product`.`updated_at` as `product.updatedAt`, `product.unit`.`id` as `product.unit.id`, `product.unit`.`created_at` as `product.unit.createdAt`, `product.unit`.`updated_at` as `product.unit.updatedAt`, `product.unit.translation.shortCode`, COALESCE(`product.unit.translation.shortCode`,`product.unit.translation.shortCode`) as `product.unit.shortCode`, `product.unit.translation.name`, COALESCE(`product.unit.translation.name`,`product.unit.translation.name`) as `product.unit.name`, `product.unit.translation.customFields`, COALESCE(`product.unit.translation.customFields`,`product.unit.translation.customFields`) as `product.unit.customFields`, `product.unit.translation.createdAt`, `product.unit.translation.updatedAt`, `product.unit.translation.unitId`, `product.unit.translation.languageId`, `product.deliveryTime`.`id` as `product.deliveryTime.id`, `product.deliveryTime`.`min` as `product.deliveryTime.min`, `product.deliveryTime`.`max` as `product.deliveryTime.max`, `product.deliveryTime`.`unit` as `product.deliveryTime.unit`, `product.deliveryTime`.`created_at` as `product.deliveryTime.createdAt`, `product.deliveryTime`.`updated_at` as `product.deliveryTime.updatedAt`, `product.deliveryTime.translation.name`, COALESCE(`product.deliveryTime.translation.name`,`product.deliveryTime.translation.name`) as `product.deliveryTime.name`, `product.deliveryTime.translation.customFields`, COALESCE(`product.deliveryTime.translation.customFields`,`product.deliveryTime.translation.customFields`) as `product.deliveryTime.customFields`, `product.deliveryTime.translation.createdAt`, `product.deliveryTime.translation.updatedAt`, `product.deliveryTime.translation.deliveryTimeId`, `product.deliveryTime.translation.languageId`, `product.cover`.`id` as `product.cover.id`, `product.cover`.`version_id` as `product.cover.versionId`, `product.cover`.`product_id` as `product.cover.productId`, `product.cover`.`product_version_id` as `product.cover.productVersionId`, `product.cover`.`media_id` as `product.cover.mediaId`, `product.cover`.`position` as `product.cover.position`, `product.cover.media`.`id` as `product.cover.media.id`, `product.cover.media`.`user_id` as `product.cover.media.userId`, `product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`, `product.cover.media`.`mime_type` as `product.cover.media.mimeType`, `product.cover.media`.`file_extension` as `product.cover.media.fileExtension`, `product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`, `product.cover.media`.`file_name` as `product.cover.media.fileName`, `product.cover.media`.`file_size` as `product.cover.media.fileSize`, `product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`, `product.cover.media`.`meta_data` as `product.cover.media.metaData`, `product.cover.media`.`private` as `product.cover.media.private`, `product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`, `product.cover.media`.`created_at` as `product.cover.media.createdAt`, `product.cover.media`.`updated_at` as `product.cover.media.updatedAt`, `product.cover.media.translation.title`, COALESCE(`product.cover.media.translation.title`,`product.cover.media.translation.title`) as `product.cover.media.title`, `product.cover.media.translation.alt`, COALESCE(`product.cover.media.translation.alt`,`product.cover.media.translation.alt`) as `product.cover.media.alt`, `product.cover.media.translation.customFields`, COALESCE(`product.cover.media.translation.customFields`,`product.cover.media.translation.customFields`) as `product.cover.media.customFields`, `product.cover.media.translation.createdAt`, `product.cover.media.translation.updatedAt`, `product.cover.media.translation.mediaId`, `product.cover.media.translation.languageId`, `product.cover`.`custom_fields` as `product.cover.customFields`, `product.cover`.`created_at` as `product.cover.createdAt`, `product.cover`.`updated_at` as `product.cover.updatedAt`, `product.translation.metaDescription`, `product.parent.translation.metaDescription`, COALESCE(`product.translation.metaDescription`,`product.parent.translation.metaDescription`,`product.translation.metaDescription`) as `product.metaDescription`, `product.translation.name`, `product.parent.translation.name`, COALESCE(`product.translation.name`,`product.parent.translation.name`,`product.translation.name`) as `product.name`, `product.translation.keywords`, `product.parent.translation.keywords`, COALESCE(`product.translation.keywords`,`product.parent.translation.keywords`,`product.translation.keywords`) as `product.keywords`, `product.translation.description`, `product.parent.translation.description`, COALESCE(`product.translation.description`,`product.parent.translation.description`,`product.translation.description`) as `product.description`, `product.translation.metaTitle`, `product.parent.translation.metaTitle`, COALESCE(`product.translation.metaTitle`,`product.parent.translation.metaTitle`,`product.translation.metaTitle`) as `product.metaTitle`, `product.translation.packUnit`, `product.parent.translation.packUnit`, COALESCE(`product.translation.packUnit`,`product.parent.translation.packUnit`,`product.translation.packUnit`) as `product.packUnit`, `product.translation.packUnitPlural`, `product.parent.translation.packUnitPlural`, COALESCE(`product.translation.packUnitPlural`,`product.parent.translation.packUnitPlural`,`product.translation.packUnitPlural`) as `product.packUnitPlural`, `product.translation.customSearchKeywords`, `product.parent.translation.customSearchKeywords`, COALESCE(`product.translation.customSearchKeywords`,`product.parent.translation.customSearchKeywords`,`product.translation.customSearchKeywords`) as `product.customSearchKeywords`, `product.translation.slotConfig`, `product.parent.translation.slotConfig`, COALESCE(`product.translation.slotConfig`,`product.parent.translation.slotConfig`,`product.translation.slotConfig`) as `product.slotConfig`, `product.translation.customFields`, `product.parent.translation.customFields`, COALESCE(`product.translation.customFields`,`product.parent.translation.customFields`,`product.translation.customFields`) as `product.customFields`, `product.translation.createdAt`, `product.parent.translation.createdAt`, `product.translation.updatedAt`, `product.parent.translation.updatedAt`, `product.translation.productId`, `product.parent.translation.productId`, `product.translation.languageId`, `product.parent.translation.languageId`, `product.translation.productVersionId`, `product.parent.translation.productVersionId` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN (SELECT `product.translation`.product_id, `product.translation`.product_version_id, `product.translation`.meta_description as `product.translation.metaDescription`, `product.translation`.name as `product.translation.name`, `product.translation`.keywords as `product.translation.keywords`, `product.translation`.description as `product.translation.description`, `product.translation`.meta_title as `product.translation.metaTitle`, `product.translation`.pack_unit as `product.translation.packUnit`, `product.translation`.pack_unit_plural as `product.translation.packUnitPlural`, `product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`, `product.translation`.slot_config as `product.translation.slotConfig`, `product.translation`.custom_fields as `product.translation.customFields`, `product.translation`.created_at as `product.translation.createdAt`, `product.translation`.updated_at as `product.translation.updatedAt`, `product.translation`.product_id as `product.translation.productId`, `product.translation`.language_id as `product.translation.languageId`, `product.translation`.product_version_id as `product.translation.productVersionId` FROM `product_translation` `product.translation` WHERE `product.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id` AND `product.product_translation`.product_version_id = `product`.version_id LEFT JOIN (SELECT `product.parent.translation`.product_id, `product.parent.translation`.product_version_id, `product.parent.translation`.meta_description as `product.parent.translation.metaDescription`, `product.parent.translation`.name as `product.parent.translation.name`, `product.parent.translation`.keywords as `product.parent.translation.keywords`, `product.parent.translation`.description as `product.parent.translation.description`, `product.parent.translation`.meta_title as `product.parent.translation.metaTitle`, `product.parent.translation`.pack_unit as `product.parent.translation.packUnit`, `product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`, `product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`, `product.parent.translation`.slot_config as `product.parent.translation.slotConfig`, `product.parent.translation`.custom_fields as `product.parent.translation.customFields`, `product.parent.translation`.created_at as `product.parent.translation.createdAt`, `product.parent.translation`.updated_at as `product.parent.translation.updatedAt`, `product.parent.translation`.product_id as `product.parent.translation.productId`, `product.parent.translation`.language_id as `product.parent.translation.languageId`, `product.parent.translation`.product_version_id as `product.parent.translation.productVersionId` FROM `product_translation` `product.parent.translation` WHERE `product.parent.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id` AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id` LEFT JOIN `unit` `product.unit` ON `product`.`unit` = `product.unit`.`id` LEFT JOIN `delivery_time` `product.deliveryTime` ON `product`.`deliveryTime` = `product.deliveryTime`.`id` LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id` AND `product`.`version_id` = `product.cover`.`version_id` LEFT JOIN (SELECT `product.unit.translation`.unit_id, `product.unit.translation`.short_code as `product.unit.translation.shortCode`, `product.unit.translation`.name as `product.unit.translation.name`, `product.unit.translation`.custom_fields as `product.unit.translation.customFields`, `product.unit.translation`.created_at as `product.unit.translation.createdAt`, `product.unit.translation`.updated_at as `product.unit.translation.updatedAt`, `product.unit.translation`.unit_id as `product.unit.translation.unitId`, `product.unit.translation`.language_id as `product.unit.translation.languageId` FROM `unit_translation` `product.unit.translation` WHERE `product.unit.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.unit.unit_translation` ON `product.unit.unit_translation`.`unit_id` = `product.unit`.`id` LEFT JOIN (SELECT `product.deliveryTime.translation`.delivery_time_id, `product.deliveryTime.translation`.name as `product.deliveryTime.translation.name`, `product.deliveryTime.translation`.custom_fields as `product.deliveryTime.translation.customFields`, `product.deliveryTime.translation`.created_at as `product.deliveryTime.translation.createdAt`, `product.deliveryTime.translation`.updated_at as `product.deliveryTime.translation.updatedAt`, `product.deliveryTime.translation`.delivery_time_id as `product.deliveryTime.translation.deliveryTimeId`, `product.deliveryTime.translation`.language_id as `product.deliveryTime.translation.languageId` FROM `delivery_time_translation` `product.deliveryTime.translation` WHERE `product.deliveryTime.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.deliveryTime.delivery_time_translation` ON `product.deliveryTime.delivery_time_translation`.`delivery_time_id` = `product.deliveryTime`.`id` LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id` LEFT JOIN (SELECT `product.cover.media.translation`.media_id, `product.cover.media.translation`.title as `product.cover.media.translation.title`, `product.cover.media.translation`.alt as `product.cover.media.translation.alt`, `product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`, `product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`, `product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`, `product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`, `product.cover.media.translation`.language_id as `product.cover.media.translation.languageId` FROM `media_translation` `product.cover.media.translation` WHERE `product.cover.media.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id` WHERE (`product`.`version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425) AND (`product`.`id` IN (0x247F98BF07564389B6A8D66B801A910C));
array:37 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 242)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 316)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetch (line 148)"
4 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 93)"
5 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::read (line 195)"
6 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::read (line 133)"
7 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 36)"
8 => "Swag\PayPal\Util\Compatibility\SalesChannelRepositoryDecorator::search (line 207)"
9 => "Tds\MerwareDiscounts\Cart\Checkout\OverwrittenPriceCollector::getSalesChannelProduct (line 93)"
10 => "Tds\MerwareDiscounts\Cart\Checkout\OverwrittenPriceCollector::collect (line 103)"
11 => "Shopware\Core\Checkout\Cart\Processor::runProcessors (line 67)"
12 => "Shopware\Core\Checkout\Cart\Processor::Shopware\Core\Checkout\Cart\{closure} (line 59)"
13 => "Shopware\Core\Profiling\Profiler::trace (line 86)"
14 => "Shopware\Core\Checkout\Cart\Processor::process (line 132)"
15 => "Shopware\Core\Checkout\Cart\CartRuleLoader::Shopware\Core\Checkout\Cart\{closure} (line 59)"
16 => "Shopware\Core\Profiling\Profiler::trace (line 183)"
17 => "Shopware\Core\Checkout\Cart\CartRuleLoader::load (line 83)"
18 => "Shopware\Core\Checkout\Cart\CartRuleLoader::loadByToken (line 106)"
19 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::Shopware\Core\System\SalesChannel\Context\{closure} (line 59)"
20 => "Shopware\Core\Profiling\Profiler::trace (line 111)"
21 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::get (line 105)"
22 => "Shopware\Core\Framework\Routing\SalesChannelRequestContextResolver::resolve (line 38)"
23 => "Shopware\Core\Framework\Routing\ContextResolverListener::resolveContext (line 118)"
24 => "Symfony\Component\EventDispatcher\Debug\WrappedListener::__invoke (line 230)"
25 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
26 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
27 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
28 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
29 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
30 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
31 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 151)"
32 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
33 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
34 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
35 => "Shopware\Core\HttpKernel::doHandle (line 81)"
36 => "Shopware\Core\HttpKernel::handle (line 85)"
]
|
69 |
0.66 ms |
SELECT `product_price`.`id` as `product_price.id`, `product_price`.`version_id` as `product_price.versionId`, `product_price`.`product_id` as `product_price.productId`, `product_price`.`product_version_id` as `product_price.productVersionId`, `product_price`.`rule_id` as `product_price.ruleId`, `product_price`.`price` as `product_price.price`, `product_price`.`quantity_start` as `product_price.quantityStart`, `product_price`.`quantity_end` as `product_price.quantityEnd`, `product_price`.`custom_fields` as `product_price.customFields`, `product_price`.`created_at` as `product_price.createdAt`, `product_price`.`updated_at` as `product_price.updatedAt` FROM `product_price` WHERE (`product_price`.`version_id` = :version) AND ((`product_price`.`product_id` IN (:param_5f9cd2606f4a4d689332e73dfd9768d6)))
SELECT `product_price`.`id` as `product_price.id`, `product_price`.`version_id` as `product_price.versionId`, `product_price`.`product_id` as `product_price.productId`, `product_price`.`product_version_id` as `product_price.productVersionId`, `product_price`.`rule_id` as `product_price.ruleId`, `product_price`.`price` as `product_price.price`, `product_price`.`quantity_start` as `product_price.quantityStart`, `product_price`.`quantity_end` as `product_price.quantityEnd`, `product_price`.`custom_fields` as `product_price.customFields`, `product_price`.`created_at` as `product_price.createdAt`, `product_price`.`updated_at` as `product_price.updatedAt` FROM `product_price` WHERE (`product_price`.`version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425) AND ((`product_price`.`product_id` IN (0x247F98BF07564389B6A8D66B801A910C, 0xEF8B89F189BC43E0A6736F145CAF553A)));
array:41 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 242)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 316)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetch (line 148)"
4 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 503)"
5 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::loadOneToManyWithoutPagination (line 438)"
6 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::loadOneToMany (line 1210)"
7 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetchAssociations (line 152)"
8 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 93)"
9 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::read (line 195)"
10 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::read (line 133)"
11 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 36)"
12 => "Swag\PayPal\Util\Compatibility\SalesChannelRepositoryDecorator::search (line 207)"
13 => "Tds\MerwareDiscounts\Cart\Checkout\OverwrittenPriceCollector::getSalesChannelProduct (line 93)"
14 => "Tds\MerwareDiscounts\Cart\Checkout\OverwrittenPriceCollector::collect (line 103)"
15 => "Shopware\Core\Checkout\Cart\Processor::runProcessors (line 67)"
16 => "Shopware\Core\Checkout\Cart\Processor::Shopware\Core\Checkout\Cart\{closure} (line 59)"
17 => "Shopware\Core\Profiling\Profiler::trace (line 86)"
18 => "Shopware\Core\Checkout\Cart\Processor::process (line 132)"
19 => "Shopware\Core\Checkout\Cart\CartRuleLoader::Shopware\Core\Checkout\Cart\{closure} (line 59)"
20 => "Shopware\Core\Profiling\Profiler::trace (line 183)"
21 => "Shopware\Core\Checkout\Cart\CartRuleLoader::load (line 83)"
22 => "Shopware\Core\Checkout\Cart\CartRuleLoader::loadByToken (line 106)"
23 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::Shopware\Core\System\SalesChannel\Context\{closure} (line 59)"
24 => "Shopware\Core\Profiling\Profiler::trace (line 111)"
25 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::get (line 105)"
26 => "Shopware\Core\Framework\Routing\SalesChannelRequestContextResolver::resolve (line 38)"
27 => "Shopware\Core\Framework\Routing\ContextResolverListener::resolveContext (line 118)"
28 => "Symfony\Component\EventDispatcher\Debug\WrappedListener::__invoke (line 230)"
29 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
30 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
31 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
32 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
33 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
34 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
35 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 151)"
36 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
37 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
38 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
39 => "Shopware\Core\HttpKernel::doHandle (line 81)"
40 => "Shopware\Core\HttpKernel::handle (line 85)"
]
|
70 |
0.34 ms |
SELECT `product`.`id`, `product`.`product_number`, `product`.`auto_increment` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN `product_visibility` `product.visibilities` ON `product`.`visibilities` = `product.visibilities`.`product_id` AND `product`.version_id = `product.visibilities`.product_version_id WHERE (`product`.`version_id` = :version) AND ((((`product.visibilities`.`visibility` >= :param_40fcf4f422884f6882d836ba63d414fd) AND `product.visibilities`.`sales_channel_id` = :param_343b405a88954d0ca74e69023d9dbdce AND IFNULL(`product`.`active`, `product.parent`.`active`) = :param_7502bd2446b54b438d76d2298899db0f))) AND (`product`.`id` IN (:ids)) GROUP BY `product`.`id`
SELECT `product`.`id`, `product`.`product_number`, `product`.`auto_increment` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN `product_visibility` `product.visibilities` ON `product`.`visibilities` = `product.visibilities`.`product_id` AND `product`.version_id = `product.visibilities`.product_version_id WHERE (`product`.`version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425) AND ((((`product.visibilities`.`visibility` >= 10) AND `product.visibilities`.`sales_channel_id` = 0x4EB9108BE4654CC9B140D14DE85579E9 AND IFNULL(`product`.`active`, `product.parent`.`active`) = 1))) AND (`product`.`id` IN (0x5016F7E84A3E4D4F9A5178987ADA6A77)) GROUP BY `product`.`id`;
array:36 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 242)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 107)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntitySearcher::search (line 62)"
4 => "Shopware\Elasticsearch\Framework\DataAbstractionLayer\ElasticsearchEntitySearcher::search (line 216)"
5 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::doSearch (line 122)"
6 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 36)"
7 => "Swag\PayPal\Util\Compatibility\SalesChannelRepositoryDecorator::search (line 207)"
8 => "Tds\MerwareDiscounts\Cart\Checkout\OverwrittenPriceCollector::getSalesChannelProduct (line 93)"
9 => "Tds\MerwareDiscounts\Cart\Checkout\OverwrittenPriceCollector::collect (line 103)"
10 => "Shopware\Core\Checkout\Cart\Processor::runProcessors (line 67)"
11 => "Shopware\Core\Checkout\Cart\Processor::Shopware\Core\Checkout\Cart\{closure} (line 59)"
12 => "Shopware\Core\Profiling\Profiler::trace (line 86)"
13 => "Shopware\Core\Checkout\Cart\Processor::process (line 132)"
14 => "Shopware\Core\Checkout\Cart\CartRuleLoader::Shopware\Core\Checkout\Cart\{closure} (line 59)"
15 => "Shopware\Core\Profiling\Profiler::trace (line 183)"
16 => "Shopware\Core\Checkout\Cart\CartRuleLoader::load (line 83)"
17 => "Shopware\Core\Checkout\Cart\CartRuleLoader::loadByToken (line 106)"
18 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::Shopware\Core\System\SalesChannel\Context\{closure} (line 59)"
19 => "Shopware\Core\Profiling\Profiler::trace (line 111)"
20 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::get (line 105)"
21 => "Shopware\Core\Framework\Routing\SalesChannelRequestContextResolver::resolve (line 38)"
22 => "Shopware\Core\Framework\Routing\ContextResolverListener::resolveContext (line 118)"
23 => "Symfony\Component\EventDispatcher\Debug\WrappedListener::__invoke (line 230)"
24 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
25 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
26 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
27 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
28 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
29 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
30 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 151)"
31 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
32 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
33 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
34 => "Shopware\Core\HttpKernel::doHandle (line 81)"
35 => "Shopware\Core\HttpKernel::handle (line 85)"
]
|
71 |
10.64 ms |
SELECT `product`.`id` as `product.id`, `product`.`version_id` as `product.versionId`, `product`.`parent_id` as `product.parentId`, `product`.`parent_version_id` as `product.parentVersionId`, COALESCE(`product`.`product_manufacturer_id`, `product.parent`.`product_manufacturer_id`) as `product.manufacturerId`, COALESCE(`product`.`product_manufacturer_version_id`, `product.parent`.`product_manufacturer_version_id`) as `product.productManufacturerVersionId`, COALESCE(`product`.`unit_id`, `product.parent`.`unit_id`) as `product.unitId`, COALESCE(`product`.`tax_id`, `product.parent`.`tax_id`) as `product.taxId`, COALESCE(`product`.`product_media_id`, `product.parent`.`product_media_id`) as `product.coverId`, COALESCE(`product`.`product_media_version_id`, `product.parent`.`product_media_version_id`) as `product.productMediaVersionId`, COALESCE(`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`) as `product.deliveryTimeId`, COALESCE(`product`.`product_feature_set_id`, `product.parent`.`product_feature_set_id`) as `product.featureSetId`, COALESCE(`product`.`canonical_product_id`, `product.parent`.`canonical_product_id`) as `product.canonicalProductId`, COALESCE(`product`.`cms_page_id`, `product.parent`.`cms_page_id`) as `product.cmsPageId`, COALESCE(`product`.`cms_page_version_id`, `product.parent`.`cms_page_version_id`) as `product.cmsPageVersionId`, `product.parent`.`price` as `product.price.inherited`, COALESCE(`product`.`price`, `product.parent`.`price`) as `product.price`, `product`.`product_number` as `product.productNumber`, `product`.`stock` as `product.stock`, COALESCE(`product`.`restock_time`, `product.parent`.`restock_time`) as `product.restockTime`, `product`.`auto_increment` as `product.autoIncrement`, COALESCE(`product`.`active`, `product.parent`.`active`) as `product.active`, `product`.`available_stock` as `product.availableStock`, `product`.`available` as `product.available`, COALESCE(`product`.`is_closeout`, `product.parent`.`is_closeout`) as `product.isCloseout`, `product`.`display_group` as `product.displayGroup`, `product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`, COALESCE(`product`.`configurator_group_config`, `product.parent`.`configurator_group_config`) as `product.configuratorGroupConfig`, COALESCE(`product`.`main_variant_id`, `product.parent`.`main_variant_id`) as `product.mainVariantId`, COALESCE(`product`.`display_parent`, `product.parent`.`display_parent`) as `product.displayParent`, `product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`, COALESCE(`product`.`variant_listing_config`, `product.parent`.`variant_listing_config`) as `product.variantListingConfig`, `product`.`variant_restrictions` as `product.variantRestrictions`, COALESCE(`product`.`manufacturer_number`, `product.parent`.`manufacturer_number`) as `product.manufacturerNumber`, COALESCE(`product`.`ean`, `product.parent`.`ean`) as `product.ean`, COALESCE(`product`.`purchase_steps`, `product.parent`.`purchase_steps`) as `product.purchaseSteps`, COALESCE(`product`.`max_purchase`, `product.parent`.`max_purchase`) as `product.maxPurchase`, COALESCE(`product`.`min_purchase`, `product.parent`.`min_purchase`) as `product.minPurchase`, COALESCE(`product`.`purchase_unit`, `product.parent`.`purchase_unit`) as `product.purchaseUnit`, COALESCE(`product`.`reference_unit`, `product.parent`.`reference_unit`) as `product.referenceUnit`, COALESCE(`product`.`shipping_free`, `product.parent`.`shipping_free`) as `product.shippingFree`, `product.parent`.`purchase_prices` as `product.purchasePrices.inherited`, COALESCE(`product`.`purchase_prices`, `product.parent`.`purchase_prices`) as `product.purchasePrices`, COALESCE(`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`) as `product.markAsTopseller`, COALESCE(`product`.`weight`, `product.parent`.`weight`) as `product.weight`, COALESCE(`product`.`width`, `product.parent`.`width`) as `product.width`, COALESCE(`product`.`height`, `product.parent`.`height`) as `product.height`, COALESCE(`product`.`length`, `product.parent`.`length`) as `product.length`, COALESCE(`product`.`release_date`, `product.parent`.`release_date`) as `product.releaseDate`, COALESCE(`product`.`rating_average`, `product.parent`.`rating_average`) as `product.ratingAverage`, `product.parent`.`category_tree` as `product.categoryTree.inherited`, COALESCE(`product`.`category_tree`, `product.parent`.`category_tree`) as `product.categoryTree`, `product.parent`.`property_ids` as `product.propertyIds.inherited`, COALESCE(`product`.`property_ids`, `product.parent`.`property_ids`) as `product.propertyIds`, `product.parent`.`option_ids` as `product.optionIds.inherited`, COALESCE(`product`.`option_ids`, `product.parent`.`option_ids`) as `product.optionIds`, `product.parent`.`stream_ids` as `product.streamIds.inherited`, COALESCE(`product`.`stream_ids`, `product.parent`.`stream_ids`) as `product.streamIds`, `product.parent`.`tag_ids` as `product.tagIds.inherited`, COALESCE(`product`.`tag_ids`, `product.parent`.`tag_ids`) as `product.tagIds`, `product.parent`.`category_ids` as `product.categoryIds.inherited`, COALESCE(`product`.`category_ids`, `product.parent`.`category_ids`) as `product.categoryIds`, `product`.`child_count` as `product.childCount`, COALESCE(`product`.`custom_field_set_selection_active`, `product.parent`.`custom_field_set_selection_active`) as `product.customFieldSetSelectionActive`, `product`.`sales` as `product.sales`, `product`.`states` as `product.states`, `product.tax`.`id` as `product.tax.id`, `product.tax`.`tax_rate` as `product.tax.taxRate`, `product.tax`.`name` as `product.tax.name`, `product.tax`.`position` as `product.tax.position`, `product.tax`.`custom_fields` as `product.tax.customFields`, `product.tax`.`created_at` as `product.tax.createdAt`, `product.tax`.`updated_at` as `product.tax.updatedAt`, `product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`, COALESCE(`product`.`cheapest_price`, `product.parent`.`cheapest_price`) as `product.cheapestPrice`, `product`.`created_at` as `product.createdAt`, `product`.`updated_at` as `product.updatedAt`, `product.unit`.`id` as `product.unit.id`, `product.unit`.`created_at` as `product.unit.createdAt`, `product.unit`.`updated_at` as `product.unit.updatedAt`, `product.unit.translation.shortCode`, COALESCE(`product.unit.translation.shortCode`,`product.unit.translation.shortCode`) as `product.unit.shortCode`, `product.unit.translation.name`, COALESCE(`product.unit.translation.name`,`product.unit.translation.name`) as `product.unit.name`, `product.unit.translation.customFields`, COALESCE(`product.unit.translation.customFields`,`product.unit.translation.customFields`) as `product.unit.customFields`, `product.unit.translation.createdAt`, `product.unit.translation.updatedAt`, `product.unit.translation.unitId`, `product.unit.translation.languageId`, `product.deliveryTime`.`id` as `product.deliveryTime.id`, `product.deliveryTime`.`min` as `product.deliveryTime.min`, `product.deliveryTime`.`max` as `product.deliveryTime.max`, `product.deliveryTime`.`unit` as `product.deliveryTime.unit`, `product.deliveryTime`.`created_at` as `product.deliveryTime.createdAt`, `product.deliveryTime`.`updated_at` as `product.deliveryTime.updatedAt`, `product.deliveryTime.translation.name`, COALESCE(`product.deliveryTime.translation.name`,`product.deliveryTime.translation.name`) as `product.deliveryTime.name`, `product.deliveryTime.translation.customFields`, COALESCE(`product.deliveryTime.translation.customFields`,`product.deliveryTime.translation.customFields`) as `product.deliveryTime.customFields`, `product.deliveryTime.translation.createdAt`, `product.deliveryTime.translation.updatedAt`, `product.deliveryTime.translation.deliveryTimeId`, `product.deliveryTime.translation.languageId`, `product.cover`.`id` as `product.cover.id`, `product.cover`.`version_id` as `product.cover.versionId`, `product.cover`.`product_id` as `product.cover.productId`, `product.cover`.`product_version_id` as `product.cover.productVersionId`, `product.cover`.`media_id` as `product.cover.mediaId`, `product.cover`.`position` as `product.cover.position`, `product.cover.media`.`id` as `product.cover.media.id`, `product.cover.media`.`user_id` as `product.cover.media.userId`, `product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`, `product.cover.media`.`mime_type` as `product.cover.media.mimeType`, `product.cover.media`.`file_extension` as `product.cover.media.fileExtension`, `product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`, `product.cover.media`.`file_name` as `product.cover.media.fileName`, `product.cover.media`.`file_size` as `product.cover.media.fileSize`, `product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`, `product.cover.media`.`meta_data` as `product.cover.media.metaData`, `product.cover.media`.`private` as `product.cover.media.private`, `product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`, `product.cover.media`.`created_at` as `product.cover.media.createdAt`, `product.cover.media`.`updated_at` as `product.cover.media.updatedAt`, `product.cover.media.translation.title`, COALESCE(`product.cover.media.translation.title`,`product.cover.media.translation.title`) as `product.cover.media.title`, `product.cover.media.translation.alt`, COALESCE(`product.cover.media.translation.alt`,`product.cover.media.translation.alt`) as `product.cover.media.alt`, `product.cover.media.translation.customFields`, COALESCE(`product.cover.media.translation.customFields`,`product.cover.media.translation.customFields`) as `product.cover.media.customFields`, `product.cover.media.translation.createdAt`, `product.cover.media.translation.updatedAt`, `product.cover.media.translation.mediaId`, `product.cover.media.translation.languageId`, `product.cover`.`custom_fields` as `product.cover.customFields`, `product.cover`.`created_at` as `product.cover.createdAt`, `product.cover`.`updated_at` as `product.cover.updatedAt`, `product.translation.metaDescription`, `product.parent.translation.metaDescription`, COALESCE(`product.translation.metaDescription`,`product.parent.translation.metaDescription`,`product.translation.metaDescription`) as `product.metaDescription`, `product.translation.name`, `product.parent.translation.name`, COALESCE(`product.translation.name`,`product.parent.translation.name`,`product.translation.name`) as `product.name`, `product.translation.keywords`, `product.parent.translation.keywords`, COALESCE(`product.translation.keywords`,`product.parent.translation.keywords`,`product.translation.keywords`) as `product.keywords`, `product.translation.description`, `product.parent.translation.description`, COALESCE(`product.translation.description`,`product.parent.translation.description`,`product.translation.description`) as `product.description`, `product.translation.metaTitle`, `product.parent.translation.metaTitle`, COALESCE(`product.translation.metaTitle`,`product.parent.translation.metaTitle`,`product.translation.metaTitle`) as `product.metaTitle`, `product.translation.packUnit`, `product.parent.translation.packUnit`, COALESCE(`product.translation.packUnit`,`product.parent.translation.packUnit`,`product.translation.packUnit`) as `product.packUnit`, `product.translation.packUnitPlural`, `product.parent.translation.packUnitPlural`, COALESCE(`product.translation.packUnitPlural`,`product.parent.translation.packUnitPlural`,`product.translation.packUnitPlural`) as `product.packUnitPlural`, `product.translation.customSearchKeywords`, `product.parent.translation.customSearchKeywords`, COALESCE(`product.translation.customSearchKeywords`,`product.parent.translation.customSearchKeywords`,`product.translation.customSearchKeywords`) as `product.customSearchKeywords`, `product.translation.slotConfig`, `product.parent.translation.slotConfig`, COALESCE(`product.translation.slotConfig`,`product.parent.translation.slotConfig`,`product.translation.slotConfig`) as `product.slotConfig`, `product.translation.customFields`, `product.parent.translation.customFields`, COALESCE(`product.translation.customFields`,`product.parent.translation.customFields`,`product.translation.customFields`) as `product.customFields`, `product.translation.createdAt`, `product.parent.translation.createdAt`, `product.translation.updatedAt`, `product.parent.translation.updatedAt`, `product.translation.productId`, `product.parent.translation.productId`, `product.translation.languageId`, `product.parent.translation.languageId`, `product.translation.productVersionId`, `product.parent.translation.productVersionId` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN (SELECT `product.translation`.product_id, `product.translation`.product_version_id, `product.translation`.meta_description as `product.translation.metaDescription`, `product.translation`.name as `product.translation.name`, `product.translation`.keywords as `product.translation.keywords`, `product.translation`.description as `product.translation.description`, `product.translation`.meta_title as `product.translation.metaTitle`, `product.translation`.pack_unit as `product.translation.packUnit`, `product.translation`.pack_unit_plural as `product.translation.packUnitPlural`, `product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`, `product.translation`.slot_config as `product.translation.slotConfig`, `product.translation`.custom_fields as `product.translation.customFields`, `product.translation`.created_at as `product.translation.createdAt`, `product.translation`.updated_at as `product.translation.updatedAt`, `product.translation`.product_id as `product.translation.productId`, `product.translation`.language_id as `product.translation.languageId`, `product.translation`.product_version_id as `product.translation.productVersionId` FROM `product_translation` `product.translation` WHERE `product.translation`.language_id = :languageId) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id` AND `product.product_translation`.product_version_id = `product`.version_id LEFT JOIN (SELECT `product.parent.translation`.product_id, `product.parent.translation`.product_version_id, `product.parent.translation`.meta_description as `product.parent.translation.metaDescription`, `product.parent.translation`.name as `product.parent.translation.name`, `product.parent.translation`.keywords as `product.parent.translation.keywords`, `product.parent.translation`.description as `product.parent.translation.description`, `product.parent.translation`.meta_title as `product.parent.translation.metaTitle`, `product.parent.translation`.pack_unit as `product.parent.translation.packUnit`, `product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`, `product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`, `product.parent.translation`.slot_config as `product.parent.translation.slotConfig`, `product.parent.translation`.custom_fields as `product.parent.translation.customFields`, `product.parent.translation`.created_at as `product.parent.translation.createdAt`, `product.parent.translation`.updated_at as `product.parent.translation.updatedAt`, `product.parent.translation`.product_id as `product.parent.translation.productId`, `product.parent.translation`.language_id as `product.parent.translation.languageId`, `product.parent.translation`.product_version_id as `product.parent.translation.productVersionId` FROM `product_translation` `product.parent.translation` WHERE `product.parent.translation`.language_id = :languageId) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id` AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id` LEFT JOIN `unit` `product.unit` ON `product`.`unit` = `product.unit`.`id` LEFT JOIN `delivery_time` `product.deliveryTime` ON `product`.`deliveryTime` = `product.deliveryTime`.`id` LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id` AND `product`.`version_id` = `product.cover`.`version_id` LEFT JOIN (SELECT `product.unit.translation`.unit_id, `product.unit.translation`.short_code as `product.unit.translation.shortCode`, `product.unit.translation`.name as `product.unit.translation.name`, `product.unit.translation`.custom_fields as `product.unit.translation.customFields`, `product.unit.translation`.created_at as `product.unit.translation.createdAt`, `product.unit.translation`.updated_at as `product.unit.translation.updatedAt`, `product.unit.translation`.unit_id as `product.unit.translation.unitId`, `product.unit.translation`.language_id as `product.unit.translation.languageId` FROM `unit_translation` `product.unit.translation` WHERE `product.unit.translation`.language_id = :languageId) `product.unit.unit_translation` ON `product.unit.unit_translation`.`unit_id` = `product.unit`.`id` LEFT JOIN (SELECT `product.deliveryTime.translation`.delivery_time_id, `product.deliveryTime.translation`.name as `product.deliveryTime.translation.name`, `product.deliveryTime.translation`.custom_fields as `product.deliveryTime.translation.customFields`, `product.deliveryTime.translation`.created_at as `product.deliveryTime.translation.createdAt`, `product.deliveryTime.translation`.updated_at as `product.deliveryTime.translation.updatedAt`, `product.deliveryTime.translation`.delivery_time_id as `product.deliveryTime.translation.deliveryTimeId`, `product.deliveryTime.translation`.language_id as `product.deliveryTime.translation.languageId` FROM `delivery_time_translation` `product.deliveryTime.translation` WHERE `product.deliveryTime.translation`.language_id = :languageId) `product.deliveryTime.delivery_time_translation` ON `product.deliveryTime.delivery_time_translation`.`delivery_time_id` = `product.deliveryTime`.`id` LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id` LEFT JOIN (SELECT `product.cover.media.translation`.media_id, `product.cover.media.translation`.title as `product.cover.media.translation.title`, `product.cover.media.translation`.alt as `product.cover.media.translation.alt`, `product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`, `product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`, `product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`, `product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`, `product.cover.media.translation`.language_id as `product.cover.media.translation.languageId` FROM `media_translation` `product.cover.media.translation` WHERE `product.cover.media.translation`.language_id = :languageId) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id` WHERE (`product`.`version_id` = :version) AND (`product`.`id` IN (:ids))
SELECT
`product`.`id` as `product.id`,
`product`.`version_id` as `product.versionId`,
`product`.`parent_id` as `product.parentId`,
`product`.`parent_version_id` as `product.parentVersionId`,
COALESCE(
`product`.`product_manufacturer_id`,
`product.parent`.`product_manufacturer_id`
) as `product.manufacturerId`,
COALESCE(
`product`.`product_manufacturer_version_id`,
`product.parent`.`product_manufacturer_version_id`
) as `product.productManufacturerVersionId`,
COALESCE(
`product`.`unit_id`, `product.parent`.`unit_id`
) as `product.unitId`,
COALESCE(
`product`.`tax_id`, `product.parent`.`tax_id`
) as `product.taxId`,
COALESCE(
`product`.`product_media_id`, `product.parent`.`product_media_id`
) as `product.coverId`,
COALESCE(
`product`.`product_media_version_id`,
`product.parent`.`product_media_version_id`
) as `product.productMediaVersionId`,
COALESCE(
`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`
) as `product.deliveryTimeId`,
COALESCE(
`product`.`product_feature_set_id`,
`product.parent`.`product_feature_set_id`
) as `product.featureSetId`,
COALESCE(
`product`.`canonical_product_id`,
`product.parent`.`canonical_product_id`
) as `product.canonicalProductId`,
COALESCE(
`product`.`cms_page_id`, `product.parent`.`cms_page_id`
) as `product.cmsPageId`,
COALESCE(
`product`.`cms_page_version_id`,
`product.parent`.`cms_page_version_id`
) as `product.cmsPageVersionId`,
`product.parent`.`price` as `product.price.inherited`,
COALESCE(
`product`.`price`, `product.parent`.`price`
) as `product.price`,
`product`.`product_number` as `product.productNumber`,
`product`.`stock` as `product.stock`,
COALESCE(
`product`.`restock_time`, `product.parent`.`restock_time`
) as `product.restockTime`,
`product`.`auto_increment` as `product.autoIncrement`,
COALESCE(
`product`.`active`, `product.parent`.`active`
) as `product.active`,
`product`.`available_stock` as `product.availableStock`,
`product`.`available` as `product.available`,
COALESCE(
`product`.`is_closeout`, `product.parent`.`is_closeout`
) as `product.isCloseout`,
`product`.`display_group` as `product.displayGroup`,
`product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`,
COALESCE(
`product`.`configurator_group_config`,
`product.parent`.`configurator_group_config`
) as `product.configuratorGroupConfig`,
COALESCE(
`product`.`main_variant_id`, `product.parent`.`main_variant_id`
) as `product.mainVariantId`,
COALESCE(
`product`.`display_parent`, `product.parent`.`display_parent`
) as `product.displayParent`,
`product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`,
COALESCE(
`product`.`variant_listing_config`,
`product.parent`.`variant_listing_config`
) as `product.variantListingConfig`,
`product`.`variant_restrictions` as `product.variantRestrictions`,
COALESCE(
`product`.`manufacturer_number`,
`product.parent`.`manufacturer_number`
) as `product.manufacturerNumber`,
COALESCE(
`product`.`ean`, `product.parent`.`ean`
) as `product.ean`,
COALESCE(
`product`.`purchase_steps`, `product.parent`.`purchase_steps`
) as `product.purchaseSteps`,
COALESCE(
`product`.`max_purchase`, `product.parent`.`max_purchase`
) as `product.maxPurchase`,
COALESCE(
`product`.`min_purchase`, `product.parent`.`min_purchase`
) as `product.minPurchase`,
COALESCE(
`product`.`purchase_unit`, `product.parent`.`purchase_unit`
) as `product.purchaseUnit`,
COALESCE(
`product`.`reference_unit`, `product.parent`.`reference_unit`
) as `product.referenceUnit`,
COALESCE(
`product`.`shipping_free`, `product.parent`.`shipping_free`
) as `product.shippingFree`,
`product.parent`.`purchase_prices` as `product.purchasePrices.inherited`,
COALESCE(
`product`.`purchase_prices`, `product.parent`.`purchase_prices`
) as `product.purchasePrices`,
COALESCE(
`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`
) as `product.markAsTopseller`,
COALESCE(
`product`.`weight`, `product.parent`.`weight`
) as `product.weight`,
COALESCE(
`product`.`width`, `product.parent`.`width`
) as `product.width`,
COALESCE(
`product`.`height`, `product.parent`.`height`
) as `product.height`,
COALESCE(
`product`.`length`, `product.parent`.`length`
) as `product.length`,
COALESCE(
`product`.`release_date`, `product.parent`.`release_date`
) as `product.releaseDate`,
COALESCE(
`product`.`rating_average`, `product.parent`.`rating_average`
) as `product.ratingAverage`,
`product.parent`.`category_tree` as `product.categoryTree.inherited`,
COALESCE(
`product`.`category_tree`, `product.parent`.`category_tree`
) as `product.categoryTree`,
`product.parent`.`property_ids` as `product.propertyIds.inherited`,
COALESCE(
`product`.`property_ids`, `product.parent`.`property_ids`
) as `product.propertyIds`,
`product.parent`.`option_ids` as `product.optionIds.inherited`,
COALESCE(
`product`.`option_ids`, `product.parent`.`option_ids`
) as `product.optionIds`,
`product.parent`.`stream_ids` as `product.streamIds.inherited`,
COALESCE(
`product`.`stream_ids`, `product.parent`.`stream_ids`
) as `product.streamIds`,
`product.parent`.`tag_ids` as `product.tagIds.inherited`,
COALESCE(
`product`.`tag_ids`, `product.parent`.`tag_ids`
) as `product.tagIds`,
`product.parent`.`category_ids` as `product.categoryIds.inherited`,
COALESCE(
`product`.`category_ids`, `product.parent`.`category_ids`
) as `product.categoryIds`,
`product`.`child_count` as `product.childCount`,
COALESCE(
`product`.`custom_field_set_selection_active`,
`product.parent`.`custom_field_set_selection_active`
) as `product.customFieldSetSelectionActive`,
`product`.`sales` as `product.sales`,
`product`.`states` as `product.states`,
`product.tax`.`id` as `product.tax.id`,
`product.tax`.`tax_rate` as `product.tax.taxRate`,
`product.tax`.`name` as `product.tax.name`,
`product.tax`.`position` as `product.tax.position`,
`product.tax`.`custom_fields` as `product.tax.customFields`,
`product.tax`.`created_at` as `product.tax.createdAt`,
`product.tax`.`updated_at` as `product.tax.updatedAt`,
`product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`,
COALESCE(
`product`.`cheapest_price`, `product.parent`.`cheapest_price`
) as `product.cheapestPrice`,
`product`.`created_at` as `product.createdAt`,
`product`.`updated_at` as `product.updatedAt`,
`product.unit`.`id` as `product.unit.id`,
`product.unit`.`created_at` as `product.unit.createdAt`,
`product.unit`.`updated_at` as `product.unit.updatedAt`,
`product.unit.translation.shortCode`,
COALESCE(
`product.unit.translation.shortCode`,
`product.unit.translation.shortCode`
) as `product.unit.shortCode`,
`product.unit.translation.name`,
COALESCE(
`product.unit.translation.name`,
`product.unit.translation.name`
) as `product.unit.name`,
`product.unit.translation.customFields`,
COALESCE(
`product.unit.translation.customFields`,
`product.unit.translation.customFields`
) as `product.unit.customFields`,
`product.unit.translation.createdAt`,
`product.unit.translation.updatedAt`,
`product.unit.translation.unitId`,
`product.unit.translation.languageId`,
`product.deliveryTime`.`id` as `product.deliveryTime.id`,
`product.deliveryTime`.`min` as `product.deliveryTime.min`,
`product.deliveryTime`.`max` as `product.deliveryTime.max`,
`product.deliveryTime`.`unit` as `product.deliveryTime.unit`,
`product.deliveryTime`.`created_at` as `product.deliveryTime.createdAt`,
`product.deliveryTime`.`updated_at` as `product.deliveryTime.updatedAt`,
`product.deliveryTime.translation.name`,
COALESCE(
`product.deliveryTime.translation.name`,
`product.deliveryTime.translation.name`
) as `product.deliveryTime.name`,
`product.deliveryTime.translation.customFields`,
COALESCE(
`product.deliveryTime.translation.customFields`,
`product.deliveryTime.translation.customFields`
) as `product.deliveryTime.customFields`,
`product.deliveryTime.translation.createdAt`,
`product.deliveryTime.translation.updatedAt`,
`product.deliveryTime.translation.deliveryTimeId`,
`product.deliveryTime.translation.languageId`,
`product.cover`.`id` as `product.cover.id`,
`product.cover`.`version_id` as `product.cover.versionId`,
`product.cover`.`product_id` as `product.cover.productId`,
`product.cover`.`product_version_id` as `product.cover.productVersionId`,
`product.cover`.`media_id` as `product.cover.mediaId`,
`product.cover`.`position` as `product.cover.position`,
`product.cover.media`.`id` as `product.cover.media.id`,
`product.cover.media`.`user_id` as `product.cover.media.userId`,
`product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`,
`product.cover.media`.`mime_type` as `product.cover.media.mimeType`,
`product.cover.media`.`file_extension` as `product.cover.media.fileExtension`,
`product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`,
`product.cover.media`.`file_name` as `product.cover.media.fileName`,
`product.cover.media`.`file_size` as `product.cover.media.fileSize`,
`product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`,
`product.cover.media`.`meta_data` as `product.cover.media.metaData`,
`product.cover.media`.`private` as `product.cover.media.private`,
`product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`,
`product.cover.media`.`created_at` as `product.cover.media.createdAt`,
`product.cover.media`.`updated_at` as `product.cover.media.updatedAt`,
`product.cover.media.translation.title`,
COALESCE(
`product.cover.media.translation.title`,
`product.cover.media.translation.title`
) as `product.cover.media.title`,
`product.cover.media.translation.alt`,
COALESCE(
`product.cover.media.translation.alt`,
`product.cover.media.translation.alt`
) as `product.cover.media.alt`,
`product.cover.media.translation.customFields`,
COALESCE(
`product.cover.media.translation.customFields`,
`product.cover.media.translation.customFields`
) as `product.cover.media.customFields`,
`product.cover.media.translation.createdAt`,
`product.cover.media.translation.updatedAt`,
`product.cover.media.translation.mediaId`,
`product.cover.media.translation.languageId`,
`product.cover`.`custom_fields` as `product.cover.customFields`,
`product.cover`.`created_at` as `product.cover.createdAt`,
`product.cover`.`updated_at` as `product.cover.updatedAt`,
`product.translation.metaDescription`,
`product.parent.translation.metaDescription`,
COALESCE(
`product.translation.metaDescription`,
`product.parent.translation.metaDescription`,
`product.translation.metaDescription`
) as `product.metaDescription`,
`product.translation.name`,
`product.parent.translation.name`,
COALESCE(
`product.translation.name`, `product.parent.translation.name`,
`product.translation.name`
) as `product.name`,
`product.translation.keywords`,
`product.parent.translation.keywords`,
COALESCE(
`product.translation.keywords`,
`product.parent.translation.keywords`,
`product.translation.keywords`
) as `product.keywords`,
`product.translation.description`,
`product.parent.translation.description`,
COALESCE(
`product.translation.description`,
`product.parent.translation.description`,
`product.translation.description`
) as `product.description`,
`product.translation.metaTitle`,
`product.parent.translation.metaTitle`,
COALESCE(
`product.translation.metaTitle`,
`product.parent.translation.metaTitle`,
`product.translation.metaTitle`
) as `product.metaTitle`,
`product.translation.packUnit`,
`product.parent.translation.packUnit`,
COALESCE(
`product.translation.packUnit`,
`product.parent.translation.packUnit`,
`product.translation.packUnit`
) as `product.packUnit`,
`product.translation.packUnitPlural`,
`product.parent.translation.packUnitPlural`,
COALESCE(
`product.translation.packUnitPlural`,
`product.parent.translation.packUnitPlural`,
`product.translation.packUnitPlural`
) as `product.packUnitPlural`,
`product.translation.customSearchKeywords`,
`product.parent.translation.customSearchKeywords`,
COALESCE(
`product.translation.customSearchKeywords`,
`product.parent.translation.customSearchKeywords`,
`product.translation.customSearchKeywords`
) as `product.customSearchKeywords`,
`product.translation.slotConfig`,
`product.parent.translation.slotConfig`,
COALESCE(
`product.translation.slotConfig`,
`product.parent.translation.slotConfig`,
`product.translation.slotConfig`
) as `product.slotConfig`,
`product.translation.customFields`,
`product.parent.translation.customFields`,
COALESCE(
`product.translation.customFields`,
`product.parent.translation.customFields`,
`product.translation.customFields`
) as `product.customFields`,
`product.translation.createdAt`,
`product.parent.translation.createdAt`,
`product.translation.updatedAt`,
`product.parent.translation.updatedAt`,
`product.translation.productId`,
`product.parent.translation.productId`,
`product.translation.languageId`,
`product.parent.translation.languageId`,
`product.translation.productVersionId`,
`product.parent.translation.productVersionId`
FROM
`product`
LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id`
AND `product`.`version_id` = `product.parent`.`version_id`
LEFT JOIN (
SELECT
`product.translation`.product_id,
`product.translation`.product_version_id,
`product.translation`.meta_description as `product.translation.metaDescription`,
`product.translation`.name as `product.translation.name`,
`product.translation`.keywords as `product.translation.keywords`,
`product.translation`.description as `product.translation.description`,
`product.translation`.meta_title as `product.translation.metaTitle`,
`product.translation`.pack_unit as `product.translation.packUnit`,
`product.translation`.pack_unit_plural as `product.translation.packUnitPlural`,
`product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`,
`product.translation`.slot_config as `product.translation.slotConfig`,
`product.translation`.custom_fields as `product.translation.customFields`,
`product.translation`.created_at as `product.translation.createdAt`,
`product.translation`.updated_at as `product.translation.updatedAt`,
`product.translation`.product_id as `product.translation.productId`,
`product.translation`.language_id as `product.translation.languageId`,
`product.translation`.product_version_id as `product.translation.productVersionId`
FROM
`product_translation` `product.translation`
WHERE
`product.translation`.language_id = : languageId
) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id`
AND `product.product_translation`.product_version_id = `product`.version_id
LEFT JOIN (
SELECT
`product.parent.translation`.product_id,
`product.parent.translation`.product_version_id,
`product.parent.translation`.meta_description as `product.parent.translation.metaDescription`,
`product.parent.translation`.name as `product.parent.translation.name`,
`product.parent.translation`.keywords as `product.parent.translation.keywords`,
`product.parent.translation`.description as `product.parent.translation.description`,
`product.parent.translation`.meta_title as `product.parent.translation.metaTitle`,
`product.parent.translation`.pack_unit as `product.parent.translation.packUnit`,
`product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`,
`product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`,
`product.parent.translation`.slot_config as `product.parent.translation.slotConfig`,
`product.parent.translation`.custom_fields as `product.parent.translation.customFields`,
`product.parent.translation`.created_at as `product.parent.translation.createdAt`,
`product.parent.translation`.updated_at as `product.parent.translation.updatedAt`,
`product.parent.translation`.product_id as `product.parent.translation.productId`,
`product.parent.translation`.language_id as `product.parent.translation.languageId`,
`product.parent.translation`.product_version_id as `product.parent.translation.productVersionId`
FROM
`product_translation` `product.parent.translation`
WHERE
`product.parent.translation`.language_id = : languageId
) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id`
AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id
LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id`
LEFT JOIN `unit` `product.unit` ON `product`.`unit` = `product.unit`.`id`
LEFT JOIN `delivery_time` `product.deliveryTime` ON `product`.`deliveryTime` = `product.deliveryTime`.`id`
LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id`
AND `product`.`version_id` = `product.cover`.`version_id`
LEFT JOIN (
SELECT
`product.unit.translation`.unit_id,
`product.unit.translation`.short_code as `product.unit.translation.shortCode`,
`product.unit.translation`.name as `product.unit.translation.name`,
`product.unit.translation`.custom_fields as `product.unit.translation.customFields`,
`product.unit.translation`.created_at as `product.unit.translation.createdAt`,
`product.unit.translation`.updated_at as `product.unit.translation.updatedAt`,
`product.unit.translation`.unit_id as `product.unit.translation.unitId`,
`product.unit.translation`.language_id as `product.unit.translation.languageId`
FROM
`unit_translation` `product.unit.translation`
WHERE
`product.unit.translation`.language_id = : languageId
) `product.unit.unit_translation` ON `product.unit.unit_translation`.`unit_id` = `product.unit`.`id`
LEFT JOIN (
SELECT
`product.deliveryTime.translation`.delivery_time_id,
`product.deliveryTime.translation`.name as `product.deliveryTime.translation.name`,
`product.deliveryTime.translation`.custom_fields as `product.deliveryTime.translation.customFields`,
`product.deliveryTime.translation`.created_at as `product.deliveryTime.translation.createdAt`,
`product.deliveryTime.translation`.updated_at as `product.deliveryTime.translation.updatedAt`,
`product.deliveryTime.translation`.delivery_time_id as `product.deliveryTime.translation.deliveryTimeId`,
`product.deliveryTime.translation`.language_id as `product.deliveryTime.translation.languageId`
FROM
`delivery_time_translation` `product.deliveryTime.translation`
WHERE
`product.deliveryTime.translation`.language_id = : languageId
) `product.deliveryTime.delivery_time_translation` ON `product.deliveryTime.delivery_time_translation`.`delivery_time_id` = `product.deliveryTime`.`id`
LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id`
LEFT JOIN (
SELECT
`product.cover.media.translation`.media_id,
`product.cover.media.translation`.title as `product.cover.media.translation.title`,
`product.cover.media.translation`.alt as `product.cover.media.translation.alt`,
`product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`,
`product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`,
`product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`,
`product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`,
`product.cover.media.translation`.language_id as `product.cover.media.translation.languageId`
FROM
`media_translation` `product.cover.media.translation`
WHERE
`product.cover.media.translation`.language_id = : languageId
) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id`
WHERE
(
`product`.`version_id` = : version
)
AND (
`product`.`id` IN (: ids)
)
SELECT `product`.`id` as `product.id`, `product`.`version_id` as `product.versionId`, `product`.`parent_id` as `product.parentId`, `product`.`parent_version_id` as `product.parentVersionId`, COALESCE(`product`.`product_manufacturer_id`, `product.parent`.`product_manufacturer_id`) as `product.manufacturerId`, COALESCE(`product`.`product_manufacturer_version_id`, `product.parent`.`product_manufacturer_version_id`) as `product.productManufacturerVersionId`, COALESCE(`product`.`unit_id`, `product.parent`.`unit_id`) as `product.unitId`, COALESCE(`product`.`tax_id`, `product.parent`.`tax_id`) as `product.taxId`, COALESCE(`product`.`product_media_id`, `product.parent`.`product_media_id`) as `product.coverId`, COALESCE(`product`.`product_media_version_id`, `product.parent`.`product_media_version_id`) as `product.productMediaVersionId`, COALESCE(`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`) as `product.deliveryTimeId`, COALESCE(`product`.`product_feature_set_id`, `product.parent`.`product_feature_set_id`) as `product.featureSetId`, COALESCE(`product`.`canonical_product_id`, `product.parent`.`canonical_product_id`) as `product.canonicalProductId`, COALESCE(`product`.`cms_page_id`, `product.parent`.`cms_page_id`) as `product.cmsPageId`, COALESCE(`product`.`cms_page_version_id`, `product.parent`.`cms_page_version_id`) as `product.cmsPageVersionId`, `product.parent`.`price` as `product.price.inherited`, COALESCE(`product`.`price`, `product.parent`.`price`) as `product.price`, `product`.`product_number` as `product.productNumber`, `product`.`stock` as `product.stock`, COALESCE(`product`.`restock_time`, `product.parent`.`restock_time`) as `product.restockTime`, `product`.`auto_increment` as `product.autoIncrement`, COALESCE(`product`.`active`, `product.parent`.`active`) as `product.active`, `product`.`available_stock` as `product.availableStock`, `product`.`available` as `product.available`, COALESCE(`product`.`is_closeout`, `product.parent`.`is_closeout`) as `product.isCloseout`, `product`.`display_group` as `product.displayGroup`, `product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`, COALESCE(`product`.`configurator_group_config`, `product.parent`.`configurator_group_config`) as `product.configuratorGroupConfig`, COALESCE(`product`.`main_variant_id`, `product.parent`.`main_variant_id`) as `product.mainVariantId`, COALESCE(`product`.`display_parent`, `product.parent`.`display_parent`) as `product.displayParent`, `product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`, COALESCE(`product`.`variant_listing_config`, `product.parent`.`variant_listing_config`) as `product.variantListingConfig`, `product`.`variant_restrictions` as `product.variantRestrictions`, COALESCE(`product`.`manufacturer_number`, `product.parent`.`manufacturer_number`) as `product.manufacturerNumber`, COALESCE(`product`.`ean`, `product.parent`.`ean`) as `product.ean`, COALESCE(`product`.`purchase_steps`, `product.parent`.`purchase_steps`) as `product.purchaseSteps`, COALESCE(`product`.`max_purchase`, `product.parent`.`max_purchase`) as `product.maxPurchase`, COALESCE(`product`.`min_purchase`, `product.parent`.`min_purchase`) as `product.minPurchase`, COALESCE(`product`.`purchase_unit`, `product.parent`.`purchase_unit`) as `product.purchaseUnit`, COALESCE(`product`.`reference_unit`, `product.parent`.`reference_unit`) as `product.referenceUnit`, COALESCE(`product`.`shipping_free`, `product.parent`.`shipping_free`) as `product.shippingFree`, `product.parent`.`purchase_prices` as `product.purchasePrices.inherited`, COALESCE(`product`.`purchase_prices`, `product.parent`.`purchase_prices`) as `product.purchasePrices`, COALESCE(`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`) as `product.markAsTopseller`, COALESCE(`product`.`weight`, `product.parent`.`weight`) as `product.weight`, COALESCE(`product`.`width`, `product.parent`.`width`) as `product.width`, COALESCE(`product`.`height`, `product.parent`.`height`) as `product.height`, COALESCE(`product`.`length`, `product.parent`.`length`) as `product.length`, COALESCE(`product`.`release_date`, `product.parent`.`release_date`) as `product.releaseDate`, COALESCE(`product`.`rating_average`, `product.parent`.`rating_average`) as `product.ratingAverage`, `product.parent`.`category_tree` as `product.categoryTree.inherited`, COALESCE(`product`.`category_tree`, `product.parent`.`category_tree`) as `product.categoryTree`, `product.parent`.`property_ids` as `product.propertyIds.inherited`, COALESCE(`product`.`property_ids`, `product.parent`.`property_ids`) as `product.propertyIds`, `product.parent`.`option_ids` as `product.optionIds.inherited`, COALESCE(`product`.`option_ids`, `product.parent`.`option_ids`) as `product.optionIds`, `product.parent`.`stream_ids` as `product.streamIds.inherited`, COALESCE(`product`.`stream_ids`, `product.parent`.`stream_ids`) as `product.streamIds`, `product.parent`.`tag_ids` as `product.tagIds.inherited`, COALESCE(`product`.`tag_ids`, `product.parent`.`tag_ids`) as `product.tagIds`, `product.parent`.`category_ids` as `product.categoryIds.inherited`, COALESCE(`product`.`category_ids`, `product.parent`.`category_ids`) as `product.categoryIds`, `product`.`child_count` as `product.childCount`, COALESCE(`product`.`custom_field_set_selection_active`, `product.parent`.`custom_field_set_selection_active`) as `product.customFieldSetSelectionActive`, `product`.`sales` as `product.sales`, `product`.`states` as `product.states`, `product.tax`.`id` as `product.tax.id`, `product.tax`.`tax_rate` as `product.tax.taxRate`, `product.tax`.`name` as `product.tax.name`, `product.tax`.`position` as `product.tax.position`, `product.tax`.`custom_fields` as `product.tax.customFields`, `product.tax`.`created_at` as `product.tax.createdAt`, `product.tax`.`updated_at` as `product.tax.updatedAt`, `product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`, COALESCE(`product`.`cheapest_price`, `product.parent`.`cheapest_price`) as `product.cheapestPrice`, `product`.`created_at` as `product.createdAt`, `product`.`updated_at` as `product.updatedAt`, `product.unit`.`id` as `product.unit.id`, `product.unit`.`created_at` as `product.unit.createdAt`, `product.unit`.`updated_at` as `product.unit.updatedAt`, `product.unit.translation.shortCode`, COALESCE(`product.unit.translation.shortCode`,`product.unit.translation.shortCode`) as `product.unit.shortCode`, `product.unit.translation.name`, COALESCE(`product.unit.translation.name`,`product.unit.translation.name`) as `product.unit.name`, `product.unit.translation.customFields`, COALESCE(`product.unit.translation.customFields`,`product.unit.translation.customFields`) as `product.unit.customFields`, `product.unit.translation.createdAt`, `product.unit.translation.updatedAt`, `product.unit.translation.unitId`, `product.unit.translation.languageId`, `product.deliveryTime`.`id` as `product.deliveryTime.id`, `product.deliveryTime`.`min` as `product.deliveryTime.min`, `product.deliveryTime`.`max` as `product.deliveryTime.max`, `product.deliveryTime`.`unit` as `product.deliveryTime.unit`, `product.deliveryTime`.`created_at` as `product.deliveryTime.createdAt`, `product.deliveryTime`.`updated_at` as `product.deliveryTime.updatedAt`, `product.deliveryTime.translation.name`, COALESCE(`product.deliveryTime.translation.name`,`product.deliveryTime.translation.name`) as `product.deliveryTime.name`, `product.deliveryTime.translation.customFields`, COALESCE(`product.deliveryTime.translation.customFields`,`product.deliveryTime.translation.customFields`) as `product.deliveryTime.customFields`, `product.deliveryTime.translation.createdAt`, `product.deliveryTime.translation.updatedAt`, `product.deliveryTime.translation.deliveryTimeId`, `product.deliveryTime.translation.languageId`, `product.cover`.`id` as `product.cover.id`, `product.cover`.`version_id` as `product.cover.versionId`, `product.cover`.`product_id` as `product.cover.productId`, `product.cover`.`product_version_id` as `product.cover.productVersionId`, `product.cover`.`media_id` as `product.cover.mediaId`, `product.cover`.`position` as `product.cover.position`, `product.cover.media`.`id` as `product.cover.media.id`, `product.cover.media`.`user_id` as `product.cover.media.userId`, `product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`, `product.cover.media`.`mime_type` as `product.cover.media.mimeType`, `product.cover.media`.`file_extension` as `product.cover.media.fileExtension`, `product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`, `product.cover.media`.`file_name` as `product.cover.media.fileName`, `product.cover.media`.`file_size` as `product.cover.media.fileSize`, `product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`, `product.cover.media`.`meta_data` as `product.cover.media.metaData`, `product.cover.media`.`private` as `product.cover.media.private`, `product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`, `product.cover.media`.`created_at` as `product.cover.media.createdAt`, `product.cover.media`.`updated_at` as `product.cover.media.updatedAt`, `product.cover.media.translation.title`, COALESCE(`product.cover.media.translation.title`,`product.cover.media.translation.title`) as `product.cover.media.title`, `product.cover.media.translation.alt`, COALESCE(`product.cover.media.translation.alt`,`product.cover.media.translation.alt`) as `product.cover.media.alt`, `product.cover.media.translation.customFields`, COALESCE(`product.cover.media.translation.customFields`,`product.cover.media.translation.customFields`) as `product.cover.media.customFields`, `product.cover.media.translation.createdAt`, `product.cover.media.translation.updatedAt`, `product.cover.media.translation.mediaId`, `product.cover.media.translation.languageId`, `product.cover`.`custom_fields` as `product.cover.customFields`, `product.cover`.`created_at` as `product.cover.createdAt`, `product.cover`.`updated_at` as `product.cover.updatedAt`, `product.translation.metaDescription`, `product.parent.translation.metaDescription`, COALESCE(`product.translation.metaDescription`,`product.parent.translation.metaDescription`,`product.translation.metaDescription`) as `product.metaDescription`, `product.translation.name`, `product.parent.translation.name`, COALESCE(`product.translation.name`,`product.parent.translation.name`,`product.translation.name`) as `product.name`, `product.translation.keywords`, `product.parent.translation.keywords`, COALESCE(`product.translation.keywords`,`product.parent.translation.keywords`,`product.translation.keywords`) as `product.keywords`, `product.translation.description`, `product.parent.translation.description`, COALESCE(`product.translation.description`,`product.parent.translation.description`,`product.translation.description`) as `product.description`, `product.translation.metaTitle`, `product.parent.translation.metaTitle`, COALESCE(`product.translation.metaTitle`,`product.parent.translation.metaTitle`,`product.translation.metaTitle`) as `product.metaTitle`, `product.translation.packUnit`, `product.parent.translation.packUnit`, COALESCE(`product.translation.packUnit`,`product.parent.translation.packUnit`,`product.translation.packUnit`) as `product.packUnit`, `product.translation.packUnitPlural`, `product.parent.translation.packUnitPlural`, COALESCE(`product.translation.packUnitPlural`,`product.parent.translation.packUnitPlural`,`product.translation.packUnitPlural`) as `product.packUnitPlural`, `product.translation.customSearchKeywords`, `product.parent.translation.customSearchKeywords`, COALESCE(`product.translation.customSearchKeywords`,`product.parent.translation.customSearchKeywords`,`product.translation.customSearchKeywords`) as `product.customSearchKeywords`, `product.translation.slotConfig`, `product.parent.translation.slotConfig`, COALESCE(`product.translation.slotConfig`,`product.parent.translation.slotConfig`,`product.translation.slotConfig`) as `product.slotConfig`, `product.translation.customFields`, `product.parent.translation.customFields`, COALESCE(`product.translation.customFields`,`product.parent.translation.customFields`,`product.translation.customFields`) as `product.customFields`, `product.translation.createdAt`, `product.parent.translation.createdAt`, `product.translation.updatedAt`, `product.parent.translation.updatedAt`, `product.translation.productId`, `product.parent.translation.productId`, `product.translation.languageId`, `product.parent.translation.languageId`, `product.translation.productVersionId`, `product.parent.translation.productVersionId` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN (SELECT `product.translation`.product_id, `product.translation`.product_version_id, `product.translation`.meta_description as `product.translation.metaDescription`, `product.translation`.name as `product.translation.name`, `product.translation`.keywords as `product.translation.keywords`, `product.translation`.description as `product.translation.description`, `product.translation`.meta_title as `product.translation.metaTitle`, `product.translation`.pack_unit as `product.translation.packUnit`, `product.translation`.pack_unit_plural as `product.translation.packUnitPlural`, `product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`, `product.translation`.slot_config as `product.translation.slotConfig`, `product.translation`.custom_fields as `product.translation.customFields`, `product.translation`.created_at as `product.translation.createdAt`, `product.translation`.updated_at as `product.translation.updatedAt`, `product.translation`.product_id as `product.translation.productId`, `product.translation`.language_id as `product.translation.languageId`, `product.translation`.product_version_id as `product.translation.productVersionId` FROM `product_translation` `product.translation` WHERE `product.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id` AND `product.product_translation`.product_version_id = `product`.version_id LEFT JOIN (SELECT `product.parent.translation`.product_id, `product.parent.translation`.product_version_id, `product.parent.translation`.meta_description as `product.parent.translation.metaDescription`, `product.parent.translation`.name as `product.parent.translation.name`, `product.parent.translation`.keywords as `product.parent.translation.keywords`, `product.parent.translation`.description as `product.parent.translation.description`, `product.parent.translation`.meta_title as `product.parent.translation.metaTitle`, `product.parent.translation`.pack_unit as `product.parent.translation.packUnit`, `product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`, `product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`, `product.parent.translation`.slot_config as `product.parent.translation.slotConfig`, `product.parent.translation`.custom_fields as `product.parent.translation.customFields`, `product.parent.translation`.created_at as `product.parent.translation.createdAt`, `product.parent.translation`.updated_at as `product.parent.translation.updatedAt`, `product.parent.translation`.product_id as `product.parent.translation.productId`, `product.parent.translation`.language_id as `product.parent.translation.languageId`, `product.parent.translation`.product_version_id as `product.parent.translation.productVersionId` FROM `product_translation` `product.parent.translation` WHERE `product.parent.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id` AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id` LEFT JOIN `unit` `product.unit` ON `product`.`unit` = `product.unit`.`id` LEFT JOIN `delivery_time` `product.deliveryTime` ON `product`.`deliveryTime` = `product.deliveryTime`.`id` LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id` AND `product`.`version_id` = `product.cover`.`version_id` LEFT JOIN (SELECT `product.unit.translation`.unit_id, `product.unit.translation`.short_code as `product.unit.translation.shortCode`, `product.unit.translation`.name as `product.unit.translation.name`, `product.unit.translation`.custom_fields as `product.unit.translation.customFields`, `product.unit.translation`.created_at as `product.unit.translation.createdAt`, `product.unit.translation`.updated_at as `product.unit.translation.updatedAt`, `product.unit.translation`.unit_id as `product.unit.translation.unitId`, `product.unit.translation`.language_id as `product.unit.translation.languageId` FROM `unit_translation` `product.unit.translation` WHERE `product.unit.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.unit.unit_translation` ON `product.unit.unit_translation`.`unit_id` = `product.unit`.`id` LEFT JOIN (SELECT `product.deliveryTime.translation`.delivery_time_id, `product.deliveryTime.translation`.name as `product.deliveryTime.translation.name`, `product.deliveryTime.translation`.custom_fields as `product.deliveryTime.translation.customFields`, `product.deliveryTime.translation`.created_at as `product.deliveryTime.translation.createdAt`, `product.deliveryTime.translation`.updated_at as `product.deliveryTime.translation.updatedAt`, `product.deliveryTime.translation`.delivery_time_id as `product.deliveryTime.translation.deliveryTimeId`, `product.deliveryTime.translation`.language_id as `product.deliveryTime.translation.languageId` FROM `delivery_time_translation` `product.deliveryTime.translation` WHERE `product.deliveryTime.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.deliveryTime.delivery_time_translation` ON `product.deliveryTime.delivery_time_translation`.`delivery_time_id` = `product.deliveryTime`.`id` LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id` LEFT JOIN (SELECT `product.cover.media.translation`.media_id, `product.cover.media.translation`.title as `product.cover.media.translation.title`, `product.cover.media.translation`.alt as `product.cover.media.translation.alt`, `product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`, `product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`, `product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`, `product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`, `product.cover.media.translation`.language_id as `product.cover.media.translation.languageId` FROM `media_translation` `product.cover.media.translation` WHERE `product.cover.media.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id` WHERE (`product`.`version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425) AND (`product`.`id` IN (0x5016F7E84A3E4D4F9A5178987ADA6A77));
array:37 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 242)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 316)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetch (line 148)"
4 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 93)"
5 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::read (line 195)"
6 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::read (line 133)"
7 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 36)"
8 => "Swag\PayPal\Util\Compatibility\SalesChannelRepositoryDecorator::search (line 207)"
9 => "Tds\MerwareDiscounts\Cart\Checkout\OverwrittenPriceCollector::getSalesChannelProduct (line 93)"
10 => "Tds\MerwareDiscounts\Cart\Checkout\OverwrittenPriceCollector::collect (line 103)"
11 => "Shopware\Core\Checkout\Cart\Processor::runProcessors (line 67)"
12 => "Shopware\Core\Checkout\Cart\Processor::Shopware\Core\Checkout\Cart\{closure} (line 59)"
13 => "Shopware\Core\Profiling\Profiler::trace (line 86)"
14 => "Shopware\Core\Checkout\Cart\Processor::process (line 132)"
15 => "Shopware\Core\Checkout\Cart\CartRuleLoader::Shopware\Core\Checkout\Cart\{closure} (line 59)"
16 => "Shopware\Core\Profiling\Profiler::trace (line 183)"
17 => "Shopware\Core\Checkout\Cart\CartRuleLoader::load (line 83)"
18 => "Shopware\Core\Checkout\Cart\CartRuleLoader::loadByToken (line 106)"
19 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::Shopware\Core\System\SalesChannel\Context\{closure} (line 59)"
20 => "Shopware\Core\Profiling\Profiler::trace (line 111)"
21 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::get (line 105)"
22 => "Shopware\Core\Framework\Routing\SalesChannelRequestContextResolver::resolve (line 38)"
23 => "Shopware\Core\Framework\Routing\ContextResolverListener::resolveContext (line 118)"
24 => "Symfony\Component\EventDispatcher\Debug\WrappedListener::__invoke (line 230)"
25 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
26 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
27 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
28 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
29 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
30 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
31 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 151)"
32 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
33 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
34 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
35 => "Shopware\Core\HttpKernel::doHandle (line 81)"
36 => "Shopware\Core\HttpKernel::handle (line 85)"
]
|
72 |
0.74 ms |
SELECT `product_price`.`id` as `product_price.id`, `product_price`.`version_id` as `product_price.versionId`, `product_price`.`product_id` as `product_price.productId`, `product_price`.`product_version_id` as `product_price.productVersionId`, `product_price`.`rule_id` as `product_price.ruleId`, `product_price`.`price` as `product_price.price`, `product_price`.`quantity_start` as `product_price.quantityStart`, `product_price`.`quantity_end` as `product_price.quantityEnd`, `product_price`.`custom_fields` as `product_price.customFields`, `product_price`.`created_at` as `product_price.createdAt`, `product_price`.`updated_at` as `product_price.updatedAt` FROM `product_price` WHERE (`product_price`.`version_id` = :version) AND ((`product_price`.`product_id` IN (:param_b721ecda301a4284a61c76cfb6570f73)))
SELECT `product_price`.`id` as `product_price.id`, `product_price`.`version_id` as `product_price.versionId`, `product_price`.`product_id` as `product_price.productId`, `product_price`.`product_version_id` as `product_price.productVersionId`, `product_price`.`rule_id` as `product_price.ruleId`, `product_price`.`price` as `product_price.price`, `product_price`.`quantity_start` as `product_price.quantityStart`, `product_price`.`quantity_end` as `product_price.quantityEnd`, `product_price`.`custom_fields` as `product_price.customFields`, `product_price`.`created_at` as `product_price.createdAt`, `product_price`.`updated_at` as `product_price.updatedAt` FROM `product_price` WHERE (`product_price`.`version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425) AND ((`product_price`.`product_id` IN (0x5016F7E84A3E4D4F9A5178987ADA6A77, 0xEF8B89F189BC43E0A6736F145CAF553A)));
array:41 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 242)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 316)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetch (line 148)"
4 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 503)"
5 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::loadOneToManyWithoutPagination (line 438)"
6 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::loadOneToMany (line 1210)"
7 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetchAssociations (line 152)"
8 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 93)"
9 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::read (line 195)"
10 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::read (line 133)"
11 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 36)"
12 => "Swag\PayPal\Util\Compatibility\SalesChannelRepositoryDecorator::search (line 207)"
13 => "Tds\MerwareDiscounts\Cart\Checkout\OverwrittenPriceCollector::getSalesChannelProduct (line 93)"
14 => "Tds\MerwareDiscounts\Cart\Checkout\OverwrittenPriceCollector::collect (line 103)"
15 => "Shopware\Core\Checkout\Cart\Processor::runProcessors (line 67)"
16 => "Shopware\Core\Checkout\Cart\Processor::Shopware\Core\Checkout\Cart\{closure} (line 59)"
17 => "Shopware\Core\Profiling\Profiler::trace (line 86)"
18 => "Shopware\Core\Checkout\Cart\Processor::process (line 132)"
19 => "Shopware\Core\Checkout\Cart\CartRuleLoader::Shopware\Core\Checkout\Cart\{closure} (line 59)"
20 => "Shopware\Core\Profiling\Profiler::trace (line 183)"
21 => "Shopware\Core\Checkout\Cart\CartRuleLoader::load (line 83)"
22 => "Shopware\Core\Checkout\Cart\CartRuleLoader::loadByToken (line 106)"
23 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::Shopware\Core\System\SalesChannel\Context\{closure} (line 59)"
24 => "Shopware\Core\Profiling\Profiler::trace (line 111)"
25 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::get (line 105)"
26 => "Shopware\Core\Framework\Routing\SalesChannelRequestContextResolver::resolve (line 38)"
27 => "Shopware\Core\Framework\Routing\ContextResolverListener::resolveContext (line 118)"
28 => "Symfony\Component\EventDispatcher\Debug\WrappedListener::__invoke (line 230)"
29 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
30 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
31 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
32 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
33 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
34 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
35 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 151)"
36 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
37 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
38 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
39 => "Shopware\Core\HttpKernel::doHandle (line 81)"
40 => "Shopware\Core\HttpKernel::handle (line 85)"
]
|
73 |
0.41 ms |
SELECT `product`.`id`, `product`.`product_number`, `product`.`auto_increment` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN `product_visibility` `product.visibilities` ON `product`.`visibilities` = `product.visibilities`.`product_id` AND `product`.version_id = `product.visibilities`.product_version_id WHERE (`product`.`version_id` = :version) AND ((((`product.visibilities`.`visibility` >= :param_06fd732332fc4052a4f7c09e57c7bfb0) AND `product.visibilities`.`sales_channel_id` = :param_1e548daaf82147749a15e08fc7eb0c5f AND IFNULL(`product`.`active`, `product.parent`.`active`) = :param_076e6b7b399040dca4b07270c201111c))) AND (`product`.`id` IN (:ids)) GROUP BY `product`.`id`
SELECT `product`.`id`, `product`.`product_number`, `product`.`auto_increment` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN `product_visibility` `product.visibilities` ON `product`.`visibilities` = `product.visibilities`.`product_id` AND `product`.version_id = `product.visibilities`.product_version_id WHERE (`product`.`version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425) AND ((((`product.visibilities`.`visibility` >= 10) AND `product.visibilities`.`sales_channel_id` = 0x4EB9108BE4654CC9B140D14DE85579E9 AND IFNULL(`product`.`active`, `product.parent`.`active`) = 1))) AND (`product`.`id` IN (0xB432E8449FA34F6298A1B95CEBEC4664)) GROUP BY `product`.`id`;
array:36 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 242)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 107)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntitySearcher::search (line 62)"
4 => "Shopware\Elasticsearch\Framework\DataAbstractionLayer\ElasticsearchEntitySearcher::search (line 216)"
5 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::doSearch (line 122)"
6 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 36)"
7 => "Swag\PayPal\Util\Compatibility\SalesChannelRepositoryDecorator::search (line 207)"
8 => "Tds\MerwareDiscounts\Cart\Checkout\OverwrittenPriceCollector::getSalesChannelProduct (line 93)"
9 => "Tds\MerwareDiscounts\Cart\Checkout\OverwrittenPriceCollector::collect (line 103)"
10 => "Shopware\Core\Checkout\Cart\Processor::runProcessors (line 67)"
11 => "Shopware\Core\Checkout\Cart\Processor::Shopware\Core\Checkout\Cart\{closure} (line 59)"
12 => "Shopware\Core\Profiling\Profiler::trace (line 86)"
13 => "Shopware\Core\Checkout\Cart\Processor::process (line 132)"
14 => "Shopware\Core\Checkout\Cart\CartRuleLoader::Shopware\Core\Checkout\Cart\{closure} (line 59)"
15 => "Shopware\Core\Profiling\Profiler::trace (line 183)"
16 => "Shopware\Core\Checkout\Cart\CartRuleLoader::load (line 83)"
17 => "Shopware\Core\Checkout\Cart\CartRuleLoader::loadByToken (line 106)"
18 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::Shopware\Core\System\SalesChannel\Context\{closure} (line 59)"
19 => "Shopware\Core\Profiling\Profiler::trace (line 111)"
20 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::get (line 105)"
21 => "Shopware\Core\Framework\Routing\SalesChannelRequestContextResolver::resolve (line 38)"
22 => "Shopware\Core\Framework\Routing\ContextResolverListener::resolveContext (line 118)"
23 => "Symfony\Component\EventDispatcher\Debug\WrappedListener::__invoke (line 230)"
24 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
25 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
26 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
27 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
28 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
29 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
30 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 151)"
31 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
32 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
33 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
34 => "Shopware\Core\HttpKernel::doHandle (line 81)"
35 => "Shopware\Core\HttpKernel::handle (line 85)"
]
|
74 |
9.43 ms |
SELECT `product`.`id` as `product.id`, `product`.`version_id` as `product.versionId`, `product`.`parent_id` as `product.parentId`, `product`.`parent_version_id` as `product.parentVersionId`, COALESCE(`product`.`product_manufacturer_id`, `product.parent`.`product_manufacturer_id`) as `product.manufacturerId`, COALESCE(`product`.`product_manufacturer_version_id`, `product.parent`.`product_manufacturer_version_id`) as `product.productManufacturerVersionId`, COALESCE(`product`.`unit_id`, `product.parent`.`unit_id`) as `product.unitId`, COALESCE(`product`.`tax_id`, `product.parent`.`tax_id`) as `product.taxId`, COALESCE(`product`.`product_media_id`, `product.parent`.`product_media_id`) as `product.coverId`, COALESCE(`product`.`product_media_version_id`, `product.parent`.`product_media_version_id`) as `product.productMediaVersionId`, COALESCE(`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`) as `product.deliveryTimeId`, COALESCE(`product`.`product_feature_set_id`, `product.parent`.`product_feature_set_id`) as `product.featureSetId`, COALESCE(`product`.`canonical_product_id`, `product.parent`.`canonical_product_id`) as `product.canonicalProductId`, COALESCE(`product`.`cms_page_id`, `product.parent`.`cms_page_id`) as `product.cmsPageId`, COALESCE(`product`.`cms_page_version_id`, `product.parent`.`cms_page_version_id`) as `product.cmsPageVersionId`, `product.parent`.`price` as `product.price.inherited`, COALESCE(`product`.`price`, `product.parent`.`price`) as `product.price`, `product`.`product_number` as `product.productNumber`, `product`.`stock` as `product.stock`, COALESCE(`product`.`restock_time`, `product.parent`.`restock_time`) as `product.restockTime`, `product`.`auto_increment` as `product.autoIncrement`, COALESCE(`product`.`active`, `product.parent`.`active`) as `product.active`, `product`.`available_stock` as `product.availableStock`, `product`.`available` as `product.available`, COALESCE(`product`.`is_closeout`, `product.parent`.`is_closeout`) as `product.isCloseout`, `product`.`display_group` as `product.displayGroup`, `product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`, COALESCE(`product`.`configurator_group_config`, `product.parent`.`configurator_group_config`) as `product.configuratorGroupConfig`, COALESCE(`product`.`main_variant_id`, `product.parent`.`main_variant_id`) as `product.mainVariantId`, COALESCE(`product`.`display_parent`, `product.parent`.`display_parent`) as `product.displayParent`, `product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`, COALESCE(`product`.`variant_listing_config`, `product.parent`.`variant_listing_config`) as `product.variantListingConfig`, `product`.`variant_restrictions` as `product.variantRestrictions`, COALESCE(`product`.`manufacturer_number`, `product.parent`.`manufacturer_number`) as `product.manufacturerNumber`, COALESCE(`product`.`ean`, `product.parent`.`ean`) as `product.ean`, COALESCE(`product`.`purchase_steps`, `product.parent`.`purchase_steps`) as `product.purchaseSteps`, COALESCE(`product`.`max_purchase`, `product.parent`.`max_purchase`) as `product.maxPurchase`, COALESCE(`product`.`min_purchase`, `product.parent`.`min_purchase`) as `product.minPurchase`, COALESCE(`product`.`purchase_unit`, `product.parent`.`purchase_unit`) as `product.purchaseUnit`, COALESCE(`product`.`reference_unit`, `product.parent`.`reference_unit`) as `product.referenceUnit`, COALESCE(`product`.`shipping_free`, `product.parent`.`shipping_free`) as `product.shippingFree`, `product.parent`.`purchase_prices` as `product.purchasePrices.inherited`, COALESCE(`product`.`purchase_prices`, `product.parent`.`purchase_prices`) as `product.purchasePrices`, COALESCE(`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`) as `product.markAsTopseller`, COALESCE(`product`.`weight`, `product.parent`.`weight`) as `product.weight`, COALESCE(`product`.`width`, `product.parent`.`width`) as `product.width`, COALESCE(`product`.`height`, `product.parent`.`height`) as `product.height`, COALESCE(`product`.`length`, `product.parent`.`length`) as `product.length`, COALESCE(`product`.`release_date`, `product.parent`.`release_date`) as `product.releaseDate`, COALESCE(`product`.`rating_average`, `product.parent`.`rating_average`) as `product.ratingAverage`, `product.parent`.`category_tree` as `product.categoryTree.inherited`, COALESCE(`product`.`category_tree`, `product.parent`.`category_tree`) as `product.categoryTree`, `product.parent`.`property_ids` as `product.propertyIds.inherited`, COALESCE(`product`.`property_ids`, `product.parent`.`property_ids`) as `product.propertyIds`, `product.parent`.`option_ids` as `product.optionIds.inherited`, COALESCE(`product`.`option_ids`, `product.parent`.`option_ids`) as `product.optionIds`, `product.parent`.`stream_ids` as `product.streamIds.inherited`, COALESCE(`product`.`stream_ids`, `product.parent`.`stream_ids`) as `product.streamIds`, `product.parent`.`tag_ids` as `product.tagIds.inherited`, COALESCE(`product`.`tag_ids`, `product.parent`.`tag_ids`) as `product.tagIds`, `product.parent`.`category_ids` as `product.categoryIds.inherited`, COALESCE(`product`.`category_ids`, `product.parent`.`category_ids`) as `product.categoryIds`, `product`.`child_count` as `product.childCount`, COALESCE(`product`.`custom_field_set_selection_active`, `product.parent`.`custom_field_set_selection_active`) as `product.customFieldSetSelectionActive`, `product`.`sales` as `product.sales`, `product`.`states` as `product.states`, `product.tax`.`id` as `product.tax.id`, `product.tax`.`tax_rate` as `product.tax.taxRate`, `product.tax`.`name` as `product.tax.name`, `product.tax`.`position` as `product.tax.position`, `product.tax`.`custom_fields` as `product.tax.customFields`, `product.tax`.`created_at` as `product.tax.createdAt`, `product.tax`.`updated_at` as `product.tax.updatedAt`, `product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`, COALESCE(`product`.`cheapest_price`, `product.parent`.`cheapest_price`) as `product.cheapestPrice`, `product`.`created_at` as `product.createdAt`, `product`.`updated_at` as `product.updatedAt`, `product.unit`.`id` as `product.unit.id`, `product.unit`.`created_at` as `product.unit.createdAt`, `product.unit`.`updated_at` as `product.unit.updatedAt`, `product.unit.translation.shortCode`, COALESCE(`product.unit.translation.shortCode`,`product.unit.translation.shortCode`) as `product.unit.shortCode`, `product.unit.translation.name`, COALESCE(`product.unit.translation.name`,`product.unit.translation.name`) as `product.unit.name`, `product.unit.translation.customFields`, COALESCE(`product.unit.translation.customFields`,`product.unit.translation.customFields`) as `product.unit.customFields`, `product.unit.translation.createdAt`, `product.unit.translation.updatedAt`, `product.unit.translation.unitId`, `product.unit.translation.languageId`, `product.deliveryTime`.`id` as `product.deliveryTime.id`, `product.deliveryTime`.`min` as `product.deliveryTime.min`, `product.deliveryTime`.`max` as `product.deliveryTime.max`, `product.deliveryTime`.`unit` as `product.deliveryTime.unit`, `product.deliveryTime`.`created_at` as `product.deliveryTime.createdAt`, `product.deliveryTime`.`updated_at` as `product.deliveryTime.updatedAt`, `product.deliveryTime.translation.name`, COALESCE(`product.deliveryTime.translation.name`,`product.deliveryTime.translation.name`) as `product.deliveryTime.name`, `product.deliveryTime.translation.customFields`, COALESCE(`product.deliveryTime.translation.customFields`,`product.deliveryTime.translation.customFields`) as `product.deliveryTime.customFields`, `product.deliveryTime.translation.createdAt`, `product.deliveryTime.translation.updatedAt`, `product.deliveryTime.translation.deliveryTimeId`, `product.deliveryTime.translation.languageId`, `product.cover`.`id` as `product.cover.id`, `product.cover`.`version_id` as `product.cover.versionId`, `product.cover`.`product_id` as `product.cover.productId`, `product.cover`.`product_version_id` as `product.cover.productVersionId`, `product.cover`.`media_id` as `product.cover.mediaId`, `product.cover`.`position` as `product.cover.position`, `product.cover.media`.`id` as `product.cover.media.id`, `product.cover.media`.`user_id` as `product.cover.media.userId`, `product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`, `product.cover.media`.`mime_type` as `product.cover.media.mimeType`, `product.cover.media`.`file_extension` as `product.cover.media.fileExtension`, `product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`, `product.cover.media`.`file_name` as `product.cover.media.fileName`, `product.cover.media`.`file_size` as `product.cover.media.fileSize`, `product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`, `product.cover.media`.`meta_data` as `product.cover.media.metaData`, `product.cover.media`.`private` as `product.cover.media.private`, `product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`, `product.cover.media`.`created_at` as `product.cover.media.createdAt`, `product.cover.media`.`updated_at` as `product.cover.media.updatedAt`, `product.cover.media.translation.title`, COALESCE(`product.cover.media.translation.title`,`product.cover.media.translation.title`) as `product.cover.media.title`, `product.cover.media.translation.alt`, COALESCE(`product.cover.media.translation.alt`,`product.cover.media.translation.alt`) as `product.cover.media.alt`, `product.cover.media.translation.customFields`, COALESCE(`product.cover.media.translation.customFields`,`product.cover.media.translation.customFields`) as `product.cover.media.customFields`, `product.cover.media.translation.createdAt`, `product.cover.media.translation.updatedAt`, `product.cover.media.translation.mediaId`, `product.cover.media.translation.languageId`, `product.cover`.`custom_fields` as `product.cover.customFields`, `product.cover`.`created_at` as `product.cover.createdAt`, `product.cover`.`updated_at` as `product.cover.updatedAt`, `product.translation.metaDescription`, `product.parent.translation.metaDescription`, COALESCE(`product.translation.metaDescription`,`product.parent.translation.metaDescription`,`product.translation.metaDescription`) as `product.metaDescription`, `product.translation.name`, `product.parent.translation.name`, COALESCE(`product.translation.name`,`product.parent.translation.name`,`product.translation.name`) as `product.name`, `product.translation.keywords`, `product.parent.translation.keywords`, COALESCE(`product.translation.keywords`,`product.parent.translation.keywords`,`product.translation.keywords`) as `product.keywords`, `product.translation.description`, `product.parent.translation.description`, COALESCE(`product.translation.description`,`product.parent.translation.description`,`product.translation.description`) as `product.description`, `product.translation.metaTitle`, `product.parent.translation.metaTitle`, COALESCE(`product.translation.metaTitle`,`product.parent.translation.metaTitle`,`product.translation.metaTitle`) as `product.metaTitle`, `product.translation.packUnit`, `product.parent.translation.packUnit`, COALESCE(`product.translation.packUnit`,`product.parent.translation.packUnit`,`product.translation.packUnit`) as `product.packUnit`, `product.translation.packUnitPlural`, `product.parent.translation.packUnitPlural`, COALESCE(`product.translation.packUnitPlural`,`product.parent.translation.packUnitPlural`,`product.translation.packUnitPlural`) as `product.packUnitPlural`, `product.translation.customSearchKeywords`, `product.parent.translation.customSearchKeywords`, COALESCE(`product.translation.customSearchKeywords`,`product.parent.translation.customSearchKeywords`,`product.translation.customSearchKeywords`) as `product.customSearchKeywords`, `product.translation.slotConfig`, `product.parent.translation.slotConfig`, COALESCE(`product.translation.slotConfig`,`product.parent.translation.slotConfig`,`product.translation.slotConfig`) as `product.slotConfig`, `product.translation.customFields`, `product.parent.translation.customFields`, COALESCE(`product.translation.customFields`,`product.parent.translation.customFields`,`product.translation.customFields`) as `product.customFields`, `product.translation.createdAt`, `product.parent.translation.createdAt`, `product.translation.updatedAt`, `product.parent.translation.updatedAt`, `product.translation.productId`, `product.parent.translation.productId`, `product.translation.languageId`, `product.parent.translation.languageId`, `product.translation.productVersionId`, `product.parent.translation.productVersionId` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN (SELECT `product.translation`.product_id, `product.translation`.product_version_id, `product.translation`.meta_description as `product.translation.metaDescription`, `product.translation`.name as `product.translation.name`, `product.translation`.keywords as `product.translation.keywords`, `product.translation`.description as `product.translation.description`, `product.translation`.meta_title as `product.translation.metaTitle`, `product.translation`.pack_unit as `product.translation.packUnit`, `product.translation`.pack_unit_plural as `product.translation.packUnitPlural`, `product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`, `product.translation`.slot_config as `product.translation.slotConfig`, `product.translation`.custom_fields as `product.translation.customFields`, `product.translation`.created_at as `product.translation.createdAt`, `product.translation`.updated_at as `product.translation.updatedAt`, `product.translation`.product_id as `product.translation.productId`, `product.translation`.language_id as `product.translation.languageId`, `product.translation`.product_version_id as `product.translation.productVersionId` FROM `product_translation` `product.translation` WHERE `product.translation`.language_id = :languageId) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id` AND `product.product_translation`.product_version_id = `product`.version_id LEFT JOIN (SELECT `product.parent.translation`.product_id, `product.parent.translation`.product_version_id, `product.parent.translation`.meta_description as `product.parent.translation.metaDescription`, `product.parent.translation`.name as `product.parent.translation.name`, `product.parent.translation`.keywords as `product.parent.translation.keywords`, `product.parent.translation`.description as `product.parent.translation.description`, `product.parent.translation`.meta_title as `product.parent.translation.metaTitle`, `product.parent.translation`.pack_unit as `product.parent.translation.packUnit`, `product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`, `product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`, `product.parent.translation`.slot_config as `product.parent.translation.slotConfig`, `product.parent.translation`.custom_fields as `product.parent.translation.customFields`, `product.parent.translation`.created_at as `product.parent.translation.createdAt`, `product.parent.translation`.updated_at as `product.parent.translation.updatedAt`, `product.parent.translation`.product_id as `product.parent.translation.productId`, `product.parent.translation`.language_id as `product.parent.translation.languageId`, `product.parent.translation`.product_version_id as `product.parent.translation.productVersionId` FROM `product_translation` `product.parent.translation` WHERE `product.parent.translation`.language_id = :languageId) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id` AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id` LEFT JOIN `unit` `product.unit` ON `product`.`unit` = `product.unit`.`id` LEFT JOIN `delivery_time` `product.deliveryTime` ON `product`.`deliveryTime` = `product.deliveryTime`.`id` LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id` AND `product`.`version_id` = `product.cover`.`version_id` LEFT JOIN (SELECT `product.unit.translation`.unit_id, `product.unit.translation`.short_code as `product.unit.translation.shortCode`, `product.unit.translation`.name as `product.unit.translation.name`, `product.unit.translation`.custom_fields as `product.unit.translation.customFields`, `product.unit.translation`.created_at as `product.unit.translation.createdAt`, `product.unit.translation`.updated_at as `product.unit.translation.updatedAt`, `product.unit.translation`.unit_id as `product.unit.translation.unitId`, `product.unit.translation`.language_id as `product.unit.translation.languageId` FROM `unit_translation` `product.unit.translation` WHERE `product.unit.translation`.language_id = :languageId) `product.unit.unit_translation` ON `product.unit.unit_translation`.`unit_id` = `product.unit`.`id` LEFT JOIN (SELECT `product.deliveryTime.translation`.delivery_time_id, `product.deliveryTime.translation`.name as `product.deliveryTime.translation.name`, `product.deliveryTime.translation`.custom_fields as `product.deliveryTime.translation.customFields`, `product.deliveryTime.translation`.created_at as `product.deliveryTime.translation.createdAt`, `product.deliveryTime.translation`.updated_at as `product.deliveryTime.translation.updatedAt`, `product.deliveryTime.translation`.delivery_time_id as `product.deliveryTime.translation.deliveryTimeId`, `product.deliveryTime.translation`.language_id as `product.deliveryTime.translation.languageId` FROM `delivery_time_translation` `product.deliveryTime.translation` WHERE `product.deliveryTime.translation`.language_id = :languageId) `product.deliveryTime.delivery_time_translation` ON `product.deliveryTime.delivery_time_translation`.`delivery_time_id` = `product.deliveryTime`.`id` LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id` LEFT JOIN (SELECT `product.cover.media.translation`.media_id, `product.cover.media.translation`.title as `product.cover.media.translation.title`, `product.cover.media.translation`.alt as `product.cover.media.translation.alt`, `product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`, `product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`, `product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`, `product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`, `product.cover.media.translation`.language_id as `product.cover.media.translation.languageId` FROM `media_translation` `product.cover.media.translation` WHERE `product.cover.media.translation`.language_id = :languageId) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id` WHERE (`product`.`version_id` = :version) AND (`product`.`id` IN (:ids))
SELECT
`product`.`id` as `product.id`,
`product`.`version_id` as `product.versionId`,
`product`.`parent_id` as `product.parentId`,
`product`.`parent_version_id` as `product.parentVersionId`,
COALESCE(
`product`.`product_manufacturer_id`,
`product.parent`.`product_manufacturer_id`
) as `product.manufacturerId`,
COALESCE(
`product`.`product_manufacturer_version_id`,
`product.parent`.`product_manufacturer_version_id`
) as `product.productManufacturerVersionId`,
COALESCE(
`product`.`unit_id`, `product.parent`.`unit_id`
) as `product.unitId`,
COALESCE(
`product`.`tax_id`, `product.parent`.`tax_id`
) as `product.taxId`,
COALESCE(
`product`.`product_media_id`, `product.parent`.`product_media_id`
) as `product.coverId`,
COALESCE(
`product`.`product_media_version_id`,
`product.parent`.`product_media_version_id`
) as `product.productMediaVersionId`,
COALESCE(
`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`
) as `product.deliveryTimeId`,
COALESCE(
`product`.`product_feature_set_id`,
`product.parent`.`product_feature_set_id`
) as `product.featureSetId`,
COALESCE(
`product`.`canonical_product_id`,
`product.parent`.`canonical_product_id`
) as `product.canonicalProductId`,
COALESCE(
`product`.`cms_page_id`, `product.parent`.`cms_page_id`
) as `product.cmsPageId`,
COALESCE(
`product`.`cms_page_version_id`,
`product.parent`.`cms_page_version_id`
) as `product.cmsPageVersionId`,
`product.parent`.`price` as `product.price.inherited`,
COALESCE(
`product`.`price`, `product.parent`.`price`
) as `product.price`,
`product`.`product_number` as `product.productNumber`,
`product`.`stock` as `product.stock`,
COALESCE(
`product`.`restock_time`, `product.parent`.`restock_time`
) as `product.restockTime`,
`product`.`auto_increment` as `product.autoIncrement`,
COALESCE(
`product`.`active`, `product.parent`.`active`
) as `product.active`,
`product`.`available_stock` as `product.availableStock`,
`product`.`available` as `product.available`,
COALESCE(
`product`.`is_closeout`, `product.parent`.`is_closeout`
) as `product.isCloseout`,
`product`.`display_group` as `product.displayGroup`,
`product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`,
COALESCE(
`product`.`configurator_group_config`,
`product.parent`.`configurator_group_config`
) as `product.configuratorGroupConfig`,
COALESCE(
`product`.`main_variant_id`, `product.parent`.`main_variant_id`
) as `product.mainVariantId`,
COALESCE(
`product`.`display_parent`, `product.parent`.`display_parent`
) as `product.displayParent`,
`product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`,
COALESCE(
`product`.`variant_listing_config`,
`product.parent`.`variant_listing_config`
) as `product.variantListingConfig`,
`product`.`variant_restrictions` as `product.variantRestrictions`,
COALESCE(
`product`.`manufacturer_number`,
`product.parent`.`manufacturer_number`
) as `product.manufacturerNumber`,
COALESCE(
`product`.`ean`, `product.parent`.`ean`
) as `product.ean`,
COALESCE(
`product`.`purchase_steps`, `product.parent`.`purchase_steps`
) as `product.purchaseSteps`,
COALESCE(
`product`.`max_purchase`, `product.parent`.`max_purchase`
) as `product.maxPurchase`,
COALESCE(
`product`.`min_purchase`, `product.parent`.`min_purchase`
) as `product.minPurchase`,
COALESCE(
`product`.`purchase_unit`, `product.parent`.`purchase_unit`
) as `product.purchaseUnit`,
COALESCE(
`product`.`reference_unit`, `product.parent`.`reference_unit`
) as `product.referenceUnit`,
COALESCE(
`product`.`shipping_free`, `product.parent`.`shipping_free`
) as `product.shippingFree`,
`product.parent`.`purchase_prices` as `product.purchasePrices.inherited`,
COALESCE(
`product`.`purchase_prices`, `product.parent`.`purchase_prices`
) as `product.purchasePrices`,
COALESCE(
`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`
) as `product.markAsTopseller`,
COALESCE(
`product`.`weight`, `product.parent`.`weight`
) as `product.weight`,
COALESCE(
`product`.`width`, `product.parent`.`width`
) as `product.width`,
COALESCE(
`product`.`height`, `product.parent`.`height`
) as `product.height`,
COALESCE(
`product`.`length`, `product.parent`.`length`
) as `product.length`,
COALESCE(
`product`.`release_date`, `product.parent`.`release_date`
) as `product.releaseDate`,
COALESCE(
`product`.`rating_average`, `product.parent`.`rating_average`
) as `product.ratingAverage`,
`product.parent`.`category_tree` as `product.categoryTree.inherited`,
COALESCE(
`product`.`category_tree`, `product.parent`.`category_tree`
) as `product.categoryTree`,
`product.parent`.`property_ids` as `product.propertyIds.inherited`,
COALESCE(
`product`.`property_ids`, `product.parent`.`property_ids`
) as `product.propertyIds`,
`product.parent`.`option_ids` as `product.optionIds.inherited`,
COALESCE(
`product`.`option_ids`, `product.parent`.`option_ids`
) as `product.optionIds`,
`product.parent`.`stream_ids` as `product.streamIds.inherited`,
COALESCE(
`product`.`stream_ids`, `product.parent`.`stream_ids`
) as `product.streamIds`,
`product.parent`.`tag_ids` as `product.tagIds.inherited`,
COALESCE(
`product`.`tag_ids`, `product.parent`.`tag_ids`
) as `product.tagIds`,
`product.parent`.`category_ids` as `product.categoryIds.inherited`,
COALESCE(
`product`.`category_ids`, `product.parent`.`category_ids`
) as `product.categoryIds`,
`product`.`child_count` as `product.childCount`,
COALESCE(
`product`.`custom_field_set_selection_active`,
`product.parent`.`custom_field_set_selection_active`
) as `product.customFieldSetSelectionActive`,
`product`.`sales` as `product.sales`,
`product`.`states` as `product.states`,
`product.tax`.`id` as `product.tax.id`,
`product.tax`.`tax_rate` as `product.tax.taxRate`,
`product.tax`.`name` as `product.tax.name`,
`product.tax`.`position` as `product.tax.position`,
`product.tax`.`custom_fields` as `product.tax.customFields`,
`product.tax`.`created_at` as `product.tax.createdAt`,
`product.tax`.`updated_at` as `product.tax.updatedAt`,
`product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`,
COALESCE(
`product`.`cheapest_price`, `product.parent`.`cheapest_price`
) as `product.cheapestPrice`,
`product`.`created_at` as `product.createdAt`,
`product`.`updated_at` as `product.updatedAt`,
`product.unit`.`id` as `product.unit.id`,
`product.unit`.`created_at` as `product.unit.createdAt`,
`product.unit`.`updated_at` as `product.unit.updatedAt`,
`product.unit.translation.shortCode`,
COALESCE(
`product.unit.translation.shortCode`,
`product.unit.translation.shortCode`
) as `product.unit.shortCode`,
`product.unit.translation.name`,
COALESCE(
`product.unit.translation.name`,
`product.unit.translation.name`
) as `product.unit.name`,
`product.unit.translation.customFields`,
COALESCE(
`product.unit.translation.customFields`,
`product.unit.translation.customFields`
) as `product.unit.customFields`,
`product.unit.translation.createdAt`,
`product.unit.translation.updatedAt`,
`product.unit.translation.unitId`,
`product.unit.translation.languageId`,
`product.deliveryTime`.`id` as `product.deliveryTime.id`,
`product.deliveryTime`.`min` as `product.deliveryTime.min`,
`product.deliveryTime`.`max` as `product.deliveryTime.max`,
`product.deliveryTime`.`unit` as `product.deliveryTime.unit`,
`product.deliveryTime`.`created_at` as `product.deliveryTime.createdAt`,
`product.deliveryTime`.`updated_at` as `product.deliveryTime.updatedAt`,
`product.deliveryTime.translation.name`,
COALESCE(
`product.deliveryTime.translation.name`,
`product.deliveryTime.translation.name`
) as `product.deliveryTime.name`,
`product.deliveryTime.translation.customFields`,
COALESCE(
`product.deliveryTime.translation.customFields`,
`product.deliveryTime.translation.customFields`
) as `product.deliveryTime.customFields`,
`product.deliveryTime.translation.createdAt`,
`product.deliveryTime.translation.updatedAt`,
`product.deliveryTime.translation.deliveryTimeId`,
`product.deliveryTime.translation.languageId`,
`product.cover`.`id` as `product.cover.id`,
`product.cover`.`version_id` as `product.cover.versionId`,
`product.cover`.`product_id` as `product.cover.productId`,
`product.cover`.`product_version_id` as `product.cover.productVersionId`,
`product.cover`.`media_id` as `product.cover.mediaId`,
`product.cover`.`position` as `product.cover.position`,
`product.cover.media`.`id` as `product.cover.media.id`,
`product.cover.media`.`user_id` as `product.cover.media.userId`,
`product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`,
`product.cover.media`.`mime_type` as `product.cover.media.mimeType`,
`product.cover.media`.`file_extension` as `product.cover.media.fileExtension`,
`product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`,
`product.cover.media`.`file_name` as `product.cover.media.fileName`,
`product.cover.media`.`file_size` as `product.cover.media.fileSize`,
`product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`,
`product.cover.media`.`meta_data` as `product.cover.media.metaData`,
`product.cover.media`.`private` as `product.cover.media.private`,
`product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`,
`product.cover.media`.`created_at` as `product.cover.media.createdAt`,
`product.cover.media`.`updated_at` as `product.cover.media.updatedAt`,
`product.cover.media.translation.title`,
COALESCE(
`product.cover.media.translation.title`,
`product.cover.media.translation.title`
) as `product.cover.media.title`,
`product.cover.media.translation.alt`,
COALESCE(
`product.cover.media.translation.alt`,
`product.cover.media.translation.alt`
) as `product.cover.media.alt`,
`product.cover.media.translation.customFields`,
COALESCE(
`product.cover.media.translation.customFields`,
`product.cover.media.translation.customFields`
) as `product.cover.media.customFields`,
`product.cover.media.translation.createdAt`,
`product.cover.media.translation.updatedAt`,
`product.cover.media.translation.mediaId`,
`product.cover.media.translation.languageId`,
`product.cover`.`custom_fields` as `product.cover.customFields`,
`product.cover`.`created_at` as `product.cover.createdAt`,
`product.cover`.`updated_at` as `product.cover.updatedAt`,
`product.translation.metaDescription`,
`product.parent.translation.metaDescription`,
COALESCE(
`product.translation.metaDescription`,
`product.parent.translation.metaDescription`,
`product.translation.metaDescription`
) as `product.metaDescription`,
`product.translation.name`,
`product.parent.translation.name`,
COALESCE(
`product.translation.name`, `product.parent.translation.name`,
`product.translation.name`
) as `product.name`,
`product.translation.keywords`,
`product.parent.translation.keywords`,
COALESCE(
`product.translation.keywords`,
`product.parent.translation.keywords`,
`product.translation.keywords`
) as `product.keywords`,
`product.translation.description`,
`product.parent.translation.description`,
COALESCE(
`product.translation.description`,
`product.parent.translation.description`,
`product.translation.description`
) as `product.description`,
`product.translation.metaTitle`,
`product.parent.translation.metaTitle`,
COALESCE(
`product.translation.metaTitle`,
`product.parent.translation.metaTitle`,
`product.translation.metaTitle`
) as `product.metaTitle`,
`product.translation.packUnit`,
`product.parent.translation.packUnit`,
COALESCE(
`product.translation.packUnit`,
`product.parent.translation.packUnit`,
`product.translation.packUnit`
) as `product.packUnit`,
`product.translation.packUnitPlural`,
`product.parent.translation.packUnitPlural`,
COALESCE(
`product.translation.packUnitPlural`,
`product.parent.translation.packUnitPlural`,
`product.translation.packUnitPlural`
) as `product.packUnitPlural`,
`product.translation.customSearchKeywords`,
`product.parent.translation.customSearchKeywords`,
COALESCE(
`product.translation.customSearchKeywords`,
`product.parent.translation.customSearchKeywords`,
`product.translation.customSearchKeywords`
) as `product.customSearchKeywords`,
`product.translation.slotConfig`,
`product.parent.translation.slotConfig`,
COALESCE(
`product.translation.slotConfig`,
`product.parent.translation.slotConfig`,
`product.translation.slotConfig`
) as `product.slotConfig`,
`product.translation.customFields`,
`product.parent.translation.customFields`,
COALESCE(
`product.translation.customFields`,
`product.parent.translation.customFields`,
`product.translation.customFields`
) as `product.customFields`,
`product.translation.createdAt`,
`product.parent.translation.createdAt`,
`product.translation.updatedAt`,
`product.parent.translation.updatedAt`,
`product.translation.productId`,
`product.parent.translation.productId`,
`product.translation.languageId`,
`product.parent.translation.languageId`,
`product.translation.productVersionId`,
`product.parent.translation.productVersionId`
FROM
`product`
LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id`
AND `product`.`version_id` = `product.parent`.`version_id`
LEFT JOIN (
SELECT
`product.translation`.product_id,
`product.translation`.product_version_id,
`product.translation`.meta_description as `product.translation.metaDescription`,
`product.translation`.name as `product.translation.name`,
`product.translation`.keywords as `product.translation.keywords`,
`product.translation`.description as `product.translation.description`,
`product.translation`.meta_title as `product.translation.metaTitle`,
`product.translation`.pack_unit as `product.translation.packUnit`,
`product.translation`.pack_unit_plural as `product.translation.packUnitPlural`,
`product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`,
`product.translation`.slot_config as `product.translation.slotConfig`,
`product.translation`.custom_fields as `product.translation.customFields`,
`product.translation`.created_at as `product.translation.createdAt`,
`product.translation`.updated_at as `product.translation.updatedAt`,
`product.translation`.product_id as `product.translation.productId`,
`product.translation`.language_id as `product.translation.languageId`,
`product.translation`.product_version_id as `product.translation.productVersionId`
FROM
`product_translation` `product.translation`
WHERE
`product.translation`.language_id = : languageId
) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id`
AND `product.product_translation`.product_version_id = `product`.version_id
LEFT JOIN (
SELECT
`product.parent.translation`.product_id,
`product.parent.translation`.product_version_id,
`product.parent.translation`.meta_description as `product.parent.translation.metaDescription`,
`product.parent.translation`.name as `product.parent.translation.name`,
`product.parent.translation`.keywords as `product.parent.translation.keywords`,
`product.parent.translation`.description as `product.parent.translation.description`,
`product.parent.translation`.meta_title as `product.parent.translation.metaTitle`,
`product.parent.translation`.pack_unit as `product.parent.translation.packUnit`,
`product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`,
`product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`,
`product.parent.translation`.slot_config as `product.parent.translation.slotConfig`,
`product.parent.translation`.custom_fields as `product.parent.translation.customFields`,
`product.parent.translation`.created_at as `product.parent.translation.createdAt`,
`product.parent.translation`.updated_at as `product.parent.translation.updatedAt`,
`product.parent.translation`.product_id as `product.parent.translation.productId`,
`product.parent.translation`.language_id as `product.parent.translation.languageId`,
`product.parent.translation`.product_version_id as `product.parent.translation.productVersionId`
FROM
`product_translation` `product.parent.translation`
WHERE
`product.parent.translation`.language_id = : languageId
) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id`
AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id
LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id`
LEFT JOIN `unit` `product.unit` ON `product`.`unit` = `product.unit`.`id`
LEFT JOIN `delivery_time` `product.deliveryTime` ON `product`.`deliveryTime` = `product.deliveryTime`.`id`
LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id`
AND `product`.`version_id` = `product.cover`.`version_id`
LEFT JOIN (
SELECT
`product.unit.translation`.unit_id,
`product.unit.translation`.short_code as `product.unit.translation.shortCode`,
`product.unit.translation`.name as `product.unit.translation.name`,
`product.unit.translation`.custom_fields as `product.unit.translation.customFields`,
`product.unit.translation`.created_at as `product.unit.translation.createdAt`,
`product.unit.translation`.updated_at as `product.unit.translation.updatedAt`,
`product.unit.translation`.unit_id as `product.unit.translation.unitId`,
`product.unit.translation`.language_id as `product.unit.translation.languageId`
FROM
`unit_translation` `product.unit.translation`
WHERE
`product.unit.translation`.language_id = : languageId
) `product.unit.unit_translation` ON `product.unit.unit_translation`.`unit_id` = `product.unit`.`id`
LEFT JOIN (
SELECT
`product.deliveryTime.translation`.delivery_time_id,
`product.deliveryTime.translation`.name as `product.deliveryTime.translation.name`,
`product.deliveryTime.translation`.custom_fields as `product.deliveryTime.translation.customFields`,
`product.deliveryTime.translation`.created_at as `product.deliveryTime.translation.createdAt`,
`product.deliveryTime.translation`.updated_at as `product.deliveryTime.translation.updatedAt`,
`product.deliveryTime.translation`.delivery_time_id as `product.deliveryTime.translation.deliveryTimeId`,
`product.deliveryTime.translation`.language_id as `product.deliveryTime.translation.languageId`
FROM
`delivery_time_translation` `product.deliveryTime.translation`
WHERE
`product.deliveryTime.translation`.language_id = : languageId
) `product.deliveryTime.delivery_time_translation` ON `product.deliveryTime.delivery_time_translation`.`delivery_time_id` = `product.deliveryTime`.`id`
LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id`
LEFT JOIN (
SELECT
`product.cover.media.translation`.media_id,
`product.cover.media.translation`.title as `product.cover.media.translation.title`,
`product.cover.media.translation`.alt as `product.cover.media.translation.alt`,
`product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`,
`product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`,
`product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`,
`product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`,
`product.cover.media.translation`.language_id as `product.cover.media.translation.languageId`
FROM
`media_translation` `product.cover.media.translation`
WHERE
`product.cover.media.translation`.language_id = : languageId
) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id`
WHERE
(
`product`.`version_id` = : version
)
AND (
`product`.`id` IN (: ids)
)
SELECT `product`.`id` as `product.id`, `product`.`version_id` as `product.versionId`, `product`.`parent_id` as `product.parentId`, `product`.`parent_version_id` as `product.parentVersionId`, COALESCE(`product`.`product_manufacturer_id`, `product.parent`.`product_manufacturer_id`) as `product.manufacturerId`, COALESCE(`product`.`product_manufacturer_version_id`, `product.parent`.`product_manufacturer_version_id`) as `product.productManufacturerVersionId`, COALESCE(`product`.`unit_id`, `product.parent`.`unit_id`) as `product.unitId`, COALESCE(`product`.`tax_id`, `product.parent`.`tax_id`) as `product.taxId`, COALESCE(`product`.`product_media_id`, `product.parent`.`product_media_id`) as `product.coverId`, COALESCE(`product`.`product_media_version_id`, `product.parent`.`product_media_version_id`) as `product.productMediaVersionId`, COALESCE(`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`) as `product.deliveryTimeId`, COALESCE(`product`.`product_feature_set_id`, `product.parent`.`product_feature_set_id`) as `product.featureSetId`, COALESCE(`product`.`canonical_product_id`, `product.parent`.`canonical_product_id`) as `product.canonicalProductId`, COALESCE(`product`.`cms_page_id`, `product.parent`.`cms_page_id`) as `product.cmsPageId`, COALESCE(`product`.`cms_page_version_id`, `product.parent`.`cms_page_version_id`) as `product.cmsPageVersionId`, `product.parent`.`price` as `product.price.inherited`, COALESCE(`product`.`price`, `product.parent`.`price`) as `product.price`, `product`.`product_number` as `product.productNumber`, `product`.`stock` as `product.stock`, COALESCE(`product`.`restock_time`, `product.parent`.`restock_time`) as `product.restockTime`, `product`.`auto_increment` as `product.autoIncrement`, COALESCE(`product`.`active`, `product.parent`.`active`) as `product.active`, `product`.`available_stock` as `product.availableStock`, `product`.`available` as `product.available`, COALESCE(`product`.`is_closeout`, `product.parent`.`is_closeout`) as `product.isCloseout`, `product`.`display_group` as `product.displayGroup`, `product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`, COALESCE(`product`.`configurator_group_config`, `product.parent`.`configurator_group_config`) as `product.configuratorGroupConfig`, COALESCE(`product`.`main_variant_id`, `product.parent`.`main_variant_id`) as `product.mainVariantId`, COALESCE(`product`.`display_parent`, `product.parent`.`display_parent`) as `product.displayParent`, `product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`, COALESCE(`product`.`variant_listing_config`, `product.parent`.`variant_listing_config`) as `product.variantListingConfig`, `product`.`variant_restrictions` as `product.variantRestrictions`, COALESCE(`product`.`manufacturer_number`, `product.parent`.`manufacturer_number`) as `product.manufacturerNumber`, COALESCE(`product`.`ean`, `product.parent`.`ean`) as `product.ean`, COALESCE(`product`.`purchase_steps`, `product.parent`.`purchase_steps`) as `product.purchaseSteps`, COALESCE(`product`.`max_purchase`, `product.parent`.`max_purchase`) as `product.maxPurchase`, COALESCE(`product`.`min_purchase`, `product.parent`.`min_purchase`) as `product.minPurchase`, COALESCE(`product`.`purchase_unit`, `product.parent`.`purchase_unit`) as `product.purchaseUnit`, COALESCE(`product`.`reference_unit`, `product.parent`.`reference_unit`) as `product.referenceUnit`, COALESCE(`product`.`shipping_free`, `product.parent`.`shipping_free`) as `product.shippingFree`, `product.parent`.`purchase_prices` as `product.purchasePrices.inherited`, COALESCE(`product`.`purchase_prices`, `product.parent`.`purchase_prices`) as `product.purchasePrices`, COALESCE(`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`) as `product.markAsTopseller`, COALESCE(`product`.`weight`, `product.parent`.`weight`) as `product.weight`, COALESCE(`product`.`width`, `product.parent`.`width`) as `product.width`, COALESCE(`product`.`height`, `product.parent`.`height`) as `product.height`, COALESCE(`product`.`length`, `product.parent`.`length`) as `product.length`, COALESCE(`product`.`release_date`, `product.parent`.`release_date`) as `product.releaseDate`, COALESCE(`product`.`rating_average`, `product.parent`.`rating_average`) as `product.ratingAverage`, `product.parent`.`category_tree` as `product.categoryTree.inherited`, COALESCE(`product`.`category_tree`, `product.parent`.`category_tree`) as `product.categoryTree`, `product.parent`.`property_ids` as `product.propertyIds.inherited`, COALESCE(`product`.`property_ids`, `product.parent`.`property_ids`) as `product.propertyIds`, `product.parent`.`option_ids` as `product.optionIds.inherited`, COALESCE(`product`.`option_ids`, `product.parent`.`option_ids`) as `product.optionIds`, `product.parent`.`stream_ids` as `product.streamIds.inherited`, COALESCE(`product`.`stream_ids`, `product.parent`.`stream_ids`) as `product.streamIds`, `product.parent`.`tag_ids` as `product.tagIds.inherited`, COALESCE(`product`.`tag_ids`, `product.parent`.`tag_ids`) as `product.tagIds`, `product.parent`.`category_ids` as `product.categoryIds.inherited`, COALESCE(`product`.`category_ids`, `product.parent`.`category_ids`) as `product.categoryIds`, `product`.`child_count` as `product.childCount`, COALESCE(`product`.`custom_field_set_selection_active`, `product.parent`.`custom_field_set_selection_active`) as `product.customFieldSetSelectionActive`, `product`.`sales` as `product.sales`, `product`.`states` as `product.states`, `product.tax`.`id` as `product.tax.id`, `product.tax`.`tax_rate` as `product.tax.taxRate`, `product.tax`.`name` as `product.tax.name`, `product.tax`.`position` as `product.tax.position`, `product.tax`.`custom_fields` as `product.tax.customFields`, `product.tax`.`created_at` as `product.tax.createdAt`, `product.tax`.`updated_at` as `product.tax.updatedAt`, `product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`, COALESCE(`product`.`cheapest_price`, `product.parent`.`cheapest_price`) as `product.cheapestPrice`, `product`.`created_at` as `product.createdAt`, `product`.`updated_at` as `product.updatedAt`, `product.unit`.`id` as `product.unit.id`, `product.unit`.`created_at` as `product.unit.createdAt`, `product.unit`.`updated_at` as `product.unit.updatedAt`, `product.unit.translation.shortCode`, COALESCE(`product.unit.translation.shortCode`,`product.unit.translation.shortCode`) as `product.unit.shortCode`, `product.unit.translation.name`, COALESCE(`product.unit.translation.name`,`product.unit.translation.name`) as `product.unit.name`, `product.unit.translation.customFields`, COALESCE(`product.unit.translation.customFields`,`product.unit.translation.customFields`) as `product.unit.customFields`, `product.unit.translation.createdAt`, `product.unit.translation.updatedAt`, `product.unit.translation.unitId`, `product.unit.translation.languageId`, `product.deliveryTime`.`id` as `product.deliveryTime.id`, `product.deliveryTime`.`min` as `product.deliveryTime.min`, `product.deliveryTime`.`max` as `product.deliveryTime.max`, `product.deliveryTime`.`unit` as `product.deliveryTime.unit`, `product.deliveryTime`.`created_at` as `product.deliveryTime.createdAt`, `product.deliveryTime`.`updated_at` as `product.deliveryTime.updatedAt`, `product.deliveryTime.translation.name`, COALESCE(`product.deliveryTime.translation.name`,`product.deliveryTime.translation.name`) as `product.deliveryTime.name`, `product.deliveryTime.translation.customFields`, COALESCE(`product.deliveryTime.translation.customFields`,`product.deliveryTime.translation.customFields`) as `product.deliveryTime.customFields`, `product.deliveryTime.translation.createdAt`, `product.deliveryTime.translation.updatedAt`, `product.deliveryTime.translation.deliveryTimeId`, `product.deliveryTime.translation.languageId`, `product.cover`.`id` as `product.cover.id`, `product.cover`.`version_id` as `product.cover.versionId`, `product.cover`.`product_id` as `product.cover.productId`, `product.cover`.`product_version_id` as `product.cover.productVersionId`, `product.cover`.`media_id` as `product.cover.mediaId`, `product.cover`.`position` as `product.cover.position`, `product.cover.media`.`id` as `product.cover.media.id`, `product.cover.media`.`user_id` as `product.cover.media.userId`, `product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`, `product.cover.media`.`mime_type` as `product.cover.media.mimeType`, `product.cover.media`.`file_extension` as `product.cover.media.fileExtension`, `product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`, `product.cover.media`.`file_name` as `product.cover.media.fileName`, `product.cover.media`.`file_size` as `product.cover.media.fileSize`, `product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`, `product.cover.media`.`meta_data` as `product.cover.media.metaData`, `product.cover.media`.`private` as `product.cover.media.private`, `product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`, `product.cover.media`.`created_at` as `product.cover.media.createdAt`, `product.cover.media`.`updated_at` as `product.cover.media.updatedAt`, `product.cover.media.translation.title`, COALESCE(`product.cover.media.translation.title`,`product.cover.media.translation.title`) as `product.cover.media.title`, `product.cover.media.translation.alt`, COALESCE(`product.cover.media.translation.alt`,`product.cover.media.translation.alt`) as `product.cover.media.alt`, `product.cover.media.translation.customFields`, COALESCE(`product.cover.media.translation.customFields`,`product.cover.media.translation.customFields`) as `product.cover.media.customFields`, `product.cover.media.translation.createdAt`, `product.cover.media.translation.updatedAt`, `product.cover.media.translation.mediaId`, `product.cover.media.translation.languageId`, `product.cover`.`custom_fields` as `product.cover.customFields`, `product.cover`.`created_at` as `product.cover.createdAt`, `product.cover`.`updated_at` as `product.cover.updatedAt`, `product.translation.metaDescription`, `product.parent.translation.metaDescription`, COALESCE(`product.translation.metaDescription`,`product.parent.translation.metaDescription`,`product.translation.metaDescription`) as `product.metaDescription`, `product.translation.name`, `product.parent.translation.name`, COALESCE(`product.translation.name`,`product.parent.translation.name`,`product.translation.name`) as `product.name`, `product.translation.keywords`, `product.parent.translation.keywords`, COALESCE(`product.translation.keywords`,`product.parent.translation.keywords`,`product.translation.keywords`) as `product.keywords`, `product.translation.description`, `product.parent.translation.description`, COALESCE(`product.translation.description`,`product.parent.translation.description`,`product.translation.description`) as `product.description`, `product.translation.metaTitle`, `product.parent.translation.metaTitle`, COALESCE(`product.translation.metaTitle`,`product.parent.translation.metaTitle`,`product.translation.metaTitle`) as `product.metaTitle`, `product.translation.packUnit`, `product.parent.translation.packUnit`, COALESCE(`product.translation.packUnit`,`product.parent.translation.packUnit`,`product.translation.packUnit`) as `product.packUnit`, `product.translation.packUnitPlural`, `product.parent.translation.packUnitPlural`, COALESCE(`product.translation.packUnitPlural`,`product.parent.translation.packUnitPlural`,`product.translation.packUnitPlural`) as `product.packUnitPlural`, `product.translation.customSearchKeywords`, `product.parent.translation.customSearchKeywords`, COALESCE(`product.translation.customSearchKeywords`,`product.parent.translation.customSearchKeywords`,`product.translation.customSearchKeywords`) as `product.customSearchKeywords`, `product.translation.slotConfig`, `product.parent.translation.slotConfig`, COALESCE(`product.translation.slotConfig`,`product.parent.translation.slotConfig`,`product.translation.slotConfig`) as `product.slotConfig`, `product.translation.customFields`, `product.parent.translation.customFields`, COALESCE(`product.translation.customFields`,`product.parent.translation.customFields`,`product.translation.customFields`) as `product.customFields`, `product.translation.createdAt`, `product.parent.translation.createdAt`, `product.translation.updatedAt`, `product.parent.translation.updatedAt`, `product.translation.productId`, `product.parent.translation.productId`, `product.translation.languageId`, `product.parent.translation.languageId`, `product.translation.productVersionId`, `product.parent.translation.productVersionId` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN (SELECT `product.translation`.product_id, `product.translation`.product_version_id, `product.translation`.meta_description as `product.translation.metaDescription`, `product.translation`.name as `product.translation.name`, `product.translation`.keywords as `product.translation.keywords`, `product.translation`.description as `product.translation.description`, `product.translation`.meta_title as `product.translation.metaTitle`, `product.translation`.pack_unit as `product.translation.packUnit`, `product.translation`.pack_unit_plural as `product.translation.packUnitPlural`, `product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`, `product.translation`.slot_config as `product.translation.slotConfig`, `product.translation`.custom_fields as `product.translation.customFields`, `product.translation`.created_at as `product.translation.createdAt`, `product.translation`.updated_at as `product.translation.updatedAt`, `product.translation`.product_id as `product.translation.productId`, `product.translation`.language_id as `product.translation.languageId`, `product.translation`.product_version_id as `product.translation.productVersionId` FROM `product_translation` `product.translation` WHERE `product.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id` AND `product.product_translation`.product_version_id = `product`.version_id LEFT JOIN (SELECT `product.parent.translation`.product_id, `product.parent.translation`.product_version_id, `product.parent.translation`.meta_description as `product.parent.translation.metaDescription`, `product.parent.translation`.name as `product.parent.translation.name`, `product.parent.translation`.keywords as `product.parent.translation.keywords`, `product.parent.translation`.description as `product.parent.translation.description`, `product.parent.translation`.meta_title as `product.parent.translation.metaTitle`, `product.parent.translation`.pack_unit as `product.parent.translation.packUnit`, `product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`, `product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`, `product.parent.translation`.slot_config as `product.parent.translation.slotConfig`, `product.parent.translation`.custom_fields as `product.parent.translation.customFields`, `product.parent.translation`.created_at as `product.parent.translation.createdAt`, `product.parent.translation`.updated_at as `product.parent.translation.updatedAt`, `product.parent.translation`.product_id as `product.parent.translation.productId`, `product.parent.translation`.language_id as `product.parent.translation.languageId`, `product.parent.translation`.product_version_id as `product.parent.translation.productVersionId` FROM `product_translation` `product.parent.translation` WHERE `product.parent.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id` AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id` LEFT JOIN `unit` `product.unit` ON `product`.`unit` = `product.unit`.`id` LEFT JOIN `delivery_time` `product.deliveryTime` ON `product`.`deliveryTime` = `product.deliveryTime`.`id` LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id` AND `product`.`version_id` = `product.cover`.`version_id` LEFT JOIN (SELECT `product.unit.translation`.unit_id, `product.unit.translation`.short_code as `product.unit.translation.shortCode`, `product.unit.translation`.name as `product.unit.translation.name`, `product.unit.translation`.custom_fields as `product.unit.translation.customFields`, `product.unit.translation`.created_at as `product.unit.translation.createdAt`, `product.unit.translation`.updated_at as `product.unit.translation.updatedAt`, `product.unit.translation`.unit_id as `product.unit.translation.unitId`, `product.unit.translation`.language_id as `product.unit.translation.languageId` FROM `unit_translation` `product.unit.translation` WHERE `product.unit.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.unit.unit_translation` ON `product.unit.unit_translation`.`unit_id` = `product.unit`.`id` LEFT JOIN (SELECT `product.deliveryTime.translation`.delivery_time_id, `product.deliveryTime.translation`.name as `product.deliveryTime.translation.name`, `product.deliveryTime.translation`.custom_fields as `product.deliveryTime.translation.customFields`, `product.deliveryTime.translation`.created_at as `product.deliveryTime.translation.createdAt`, `product.deliveryTime.translation`.updated_at as `product.deliveryTime.translation.updatedAt`, `product.deliveryTime.translation`.delivery_time_id as `product.deliveryTime.translation.deliveryTimeId`, `product.deliveryTime.translation`.language_id as `product.deliveryTime.translation.languageId` FROM `delivery_time_translation` `product.deliveryTime.translation` WHERE `product.deliveryTime.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.deliveryTime.delivery_time_translation` ON `product.deliveryTime.delivery_time_translation`.`delivery_time_id` = `product.deliveryTime`.`id` LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id` LEFT JOIN (SELECT `product.cover.media.translation`.media_id, `product.cover.media.translation`.title as `product.cover.media.translation.title`, `product.cover.media.translation`.alt as `product.cover.media.translation.alt`, `product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`, `product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`, `product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`, `product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`, `product.cover.media.translation`.language_id as `product.cover.media.translation.languageId` FROM `media_translation` `product.cover.media.translation` WHERE `product.cover.media.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id` WHERE (`product`.`version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425) AND (`product`.`id` IN (0xB432E8449FA34F6298A1B95CEBEC4664));
array:37 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 242)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 316)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetch (line 148)"
4 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 93)"
5 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::read (line 195)"
6 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::read (line 133)"
7 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 36)"
8 => "Swag\PayPal\Util\Compatibility\SalesChannelRepositoryDecorator::search (line 207)"
9 => "Tds\MerwareDiscounts\Cart\Checkout\OverwrittenPriceCollector::getSalesChannelProduct (line 93)"
10 => "Tds\MerwareDiscounts\Cart\Checkout\OverwrittenPriceCollector::collect (line 103)"
11 => "Shopware\Core\Checkout\Cart\Processor::runProcessors (line 67)"
12 => "Shopware\Core\Checkout\Cart\Processor::Shopware\Core\Checkout\Cart\{closure} (line 59)"
13 => "Shopware\Core\Profiling\Profiler::trace (line 86)"
14 => "Shopware\Core\Checkout\Cart\Processor::process (line 132)"
15 => "Shopware\Core\Checkout\Cart\CartRuleLoader::Shopware\Core\Checkout\Cart\{closure} (line 59)"
16 => "Shopware\Core\Profiling\Profiler::trace (line 183)"
17 => "Shopware\Core\Checkout\Cart\CartRuleLoader::load (line 83)"
18 => "Shopware\Core\Checkout\Cart\CartRuleLoader::loadByToken (line 106)"
19 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::Shopware\Core\System\SalesChannel\Context\{closure} (line 59)"
20 => "Shopware\Core\Profiling\Profiler::trace (line 111)"
21 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::get (line 105)"
22 => "Shopware\Core\Framework\Routing\SalesChannelRequestContextResolver::resolve (line 38)"
23 => "Shopware\Core\Framework\Routing\ContextResolverListener::resolveContext (line 118)"
24 => "Symfony\Component\EventDispatcher\Debug\WrappedListener::__invoke (line 230)"
25 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
26 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
27 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
28 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
29 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
30 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
31 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 151)"
32 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
33 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
34 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
35 => "Shopware\Core\HttpKernel::doHandle (line 81)"
36 => "Shopware\Core\HttpKernel::handle (line 85)"
]
|
75 |
0.80 ms |
SELECT `product_price`.`id` as `product_price.id`, `product_price`.`version_id` as `product_price.versionId`, `product_price`.`product_id` as `product_price.productId`, `product_price`.`product_version_id` as `product_price.productVersionId`, `product_price`.`rule_id` as `product_price.ruleId`, `product_price`.`price` as `product_price.price`, `product_price`.`quantity_start` as `product_price.quantityStart`, `product_price`.`quantity_end` as `product_price.quantityEnd`, `product_price`.`custom_fields` as `product_price.customFields`, `product_price`.`created_at` as `product_price.createdAt`, `product_price`.`updated_at` as `product_price.updatedAt` FROM `product_price` WHERE (`product_price`.`version_id` = :version) AND ((`product_price`.`product_id` IN (:param_f54223168cd74a568364b445938c1ac4)))
SELECT `product_price`.`id` as `product_price.id`, `product_price`.`version_id` as `product_price.versionId`, `product_price`.`product_id` as `product_price.productId`, `product_price`.`product_version_id` as `product_price.productVersionId`, `product_price`.`rule_id` as `product_price.ruleId`, `product_price`.`price` as `product_price.price`, `product_price`.`quantity_start` as `product_price.quantityStart`, `product_price`.`quantity_end` as `product_price.quantityEnd`, `product_price`.`custom_fields` as `product_price.customFields`, `product_price`.`created_at` as `product_price.createdAt`, `product_price`.`updated_at` as `product_price.updatedAt` FROM `product_price` WHERE (`product_price`.`version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425) AND ((`product_price`.`product_id` IN (0xB432E8449FA34F6298A1B95CEBEC4664, 0xEF8B89F189BC43E0A6736F145CAF553A)));
array:41 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 242)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 316)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetch (line 148)"
4 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 503)"
5 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::loadOneToManyWithoutPagination (line 438)"
6 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::loadOneToMany (line 1210)"
7 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetchAssociations (line 152)"
8 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 93)"
9 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::read (line 195)"
10 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::read (line 133)"
11 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 36)"
12 => "Swag\PayPal\Util\Compatibility\SalesChannelRepositoryDecorator::search (line 207)"
13 => "Tds\MerwareDiscounts\Cart\Checkout\OverwrittenPriceCollector::getSalesChannelProduct (line 93)"
14 => "Tds\MerwareDiscounts\Cart\Checkout\OverwrittenPriceCollector::collect (line 103)"
15 => "Shopware\Core\Checkout\Cart\Processor::runProcessors (line 67)"
16 => "Shopware\Core\Checkout\Cart\Processor::Shopware\Core\Checkout\Cart\{closure} (line 59)"
17 => "Shopware\Core\Profiling\Profiler::trace (line 86)"
18 => "Shopware\Core\Checkout\Cart\Processor::process (line 132)"
19 => "Shopware\Core\Checkout\Cart\CartRuleLoader::Shopware\Core\Checkout\Cart\{closure} (line 59)"
20 => "Shopware\Core\Profiling\Profiler::trace (line 183)"
21 => "Shopware\Core\Checkout\Cart\CartRuleLoader::load (line 83)"
22 => "Shopware\Core\Checkout\Cart\CartRuleLoader::loadByToken (line 106)"
23 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::Shopware\Core\System\SalesChannel\Context\{closure} (line 59)"
24 => "Shopware\Core\Profiling\Profiler::trace (line 111)"
25 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::get (line 105)"
26 => "Shopware\Core\Framework\Routing\SalesChannelRequestContextResolver::resolve (line 38)"
27 => "Shopware\Core\Framework\Routing\ContextResolverListener::resolveContext (line 118)"
28 => "Symfony\Component\EventDispatcher\Debug\WrappedListener::__invoke (line 230)"
29 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
30 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
31 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
32 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
33 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
34 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
35 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 151)"
36 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
37 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
38 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
39 => "Shopware\Core\HttpKernel::doHandle (line 81)"
40 => "Shopware\Core\HttpKernel::handle (line 85)"
]
|
76 |
0.42 ms |
SELECT `product`.`id`, `product`.`product_number`, `product`.`auto_increment` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN `product_visibility` `product.visibilities` ON `product`.`visibilities` = `product.visibilities`.`product_id` AND `product`.version_id = `product.visibilities`.product_version_id WHERE (`product`.`version_id` = :version) AND ((((`product.visibilities`.`visibility` >= :param_8790bcc2a483454f8a37c07eccd4f6f2) AND `product.visibilities`.`sales_channel_id` = :param_08aa06cdf6f741e3a589bfe0551b4be4 AND IFNULL(`product`.`active`, `product.parent`.`active`) = :param_6ec542c4c3cc4118afa4e58b68755b6c))) AND (`product`.`id` IN (:ids)) GROUP BY `product`.`id`
SELECT `product`.`id`, `product`.`product_number`, `product`.`auto_increment` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN `product_visibility` `product.visibilities` ON `product`.`visibilities` = `product.visibilities`.`product_id` AND `product`.version_id = `product.visibilities`.product_version_id WHERE (`product`.`version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425) AND ((((`product.visibilities`.`visibility` >= 10) AND `product.visibilities`.`sales_channel_id` = 0x4EB9108BE4654CC9B140D14DE85579E9 AND IFNULL(`product`.`active`, `product.parent`.`active`) = 1))) AND (`product`.`id` IN (0xFFF10829327947A597F7CF74F82F72D3)) GROUP BY `product`.`id`;
array:36 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 242)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 107)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntitySearcher::search (line 62)"
4 => "Shopware\Elasticsearch\Framework\DataAbstractionLayer\ElasticsearchEntitySearcher::search (line 216)"
5 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::doSearch (line 122)"
6 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 36)"
7 => "Swag\PayPal\Util\Compatibility\SalesChannelRepositoryDecorator::search (line 207)"
8 => "Tds\MerwareDiscounts\Cart\Checkout\OverwrittenPriceCollector::getSalesChannelProduct (line 93)"
9 => "Tds\MerwareDiscounts\Cart\Checkout\OverwrittenPriceCollector::collect (line 103)"
10 => "Shopware\Core\Checkout\Cart\Processor::runProcessors (line 67)"
11 => "Shopware\Core\Checkout\Cart\Processor::Shopware\Core\Checkout\Cart\{closure} (line 59)"
12 => "Shopware\Core\Profiling\Profiler::trace (line 86)"
13 => "Shopware\Core\Checkout\Cart\Processor::process (line 132)"
14 => "Shopware\Core\Checkout\Cart\CartRuleLoader::Shopware\Core\Checkout\Cart\{closure} (line 59)"
15 => "Shopware\Core\Profiling\Profiler::trace (line 183)"
16 => "Shopware\Core\Checkout\Cart\CartRuleLoader::load (line 83)"
17 => "Shopware\Core\Checkout\Cart\CartRuleLoader::loadByToken (line 106)"
18 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::Shopware\Core\System\SalesChannel\Context\{closure} (line 59)"
19 => "Shopware\Core\Profiling\Profiler::trace (line 111)"
20 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::get (line 105)"
21 => "Shopware\Core\Framework\Routing\SalesChannelRequestContextResolver::resolve (line 38)"
22 => "Shopware\Core\Framework\Routing\ContextResolverListener::resolveContext (line 118)"
23 => "Symfony\Component\EventDispatcher\Debug\WrappedListener::__invoke (line 230)"
24 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
25 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
26 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
27 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
28 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
29 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
30 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 151)"
31 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
32 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
33 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
34 => "Shopware\Core\HttpKernel::doHandle (line 81)"
35 => "Shopware\Core\HttpKernel::handle (line 85)"
]
|
77 |
9.62 ms |
SELECT `product`.`id` as `product.id`, `product`.`version_id` as `product.versionId`, `product`.`parent_id` as `product.parentId`, `product`.`parent_version_id` as `product.parentVersionId`, COALESCE(`product`.`product_manufacturer_id`, `product.parent`.`product_manufacturer_id`) as `product.manufacturerId`, COALESCE(`product`.`product_manufacturer_version_id`, `product.parent`.`product_manufacturer_version_id`) as `product.productManufacturerVersionId`, COALESCE(`product`.`unit_id`, `product.parent`.`unit_id`) as `product.unitId`, COALESCE(`product`.`tax_id`, `product.parent`.`tax_id`) as `product.taxId`, COALESCE(`product`.`product_media_id`, `product.parent`.`product_media_id`) as `product.coverId`, COALESCE(`product`.`product_media_version_id`, `product.parent`.`product_media_version_id`) as `product.productMediaVersionId`, COALESCE(`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`) as `product.deliveryTimeId`, COALESCE(`product`.`product_feature_set_id`, `product.parent`.`product_feature_set_id`) as `product.featureSetId`, COALESCE(`product`.`canonical_product_id`, `product.parent`.`canonical_product_id`) as `product.canonicalProductId`, COALESCE(`product`.`cms_page_id`, `product.parent`.`cms_page_id`) as `product.cmsPageId`, COALESCE(`product`.`cms_page_version_id`, `product.parent`.`cms_page_version_id`) as `product.cmsPageVersionId`, `product.parent`.`price` as `product.price.inherited`, COALESCE(`product`.`price`, `product.parent`.`price`) as `product.price`, `product`.`product_number` as `product.productNumber`, `product`.`stock` as `product.stock`, COALESCE(`product`.`restock_time`, `product.parent`.`restock_time`) as `product.restockTime`, `product`.`auto_increment` as `product.autoIncrement`, COALESCE(`product`.`active`, `product.parent`.`active`) as `product.active`, `product`.`available_stock` as `product.availableStock`, `product`.`available` as `product.available`, COALESCE(`product`.`is_closeout`, `product.parent`.`is_closeout`) as `product.isCloseout`, `product`.`display_group` as `product.displayGroup`, `product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`, COALESCE(`product`.`configurator_group_config`, `product.parent`.`configurator_group_config`) as `product.configuratorGroupConfig`, COALESCE(`product`.`main_variant_id`, `product.parent`.`main_variant_id`) as `product.mainVariantId`, COALESCE(`product`.`display_parent`, `product.parent`.`display_parent`) as `product.displayParent`, `product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`, COALESCE(`product`.`variant_listing_config`, `product.parent`.`variant_listing_config`) as `product.variantListingConfig`, `product`.`variant_restrictions` as `product.variantRestrictions`, COALESCE(`product`.`manufacturer_number`, `product.parent`.`manufacturer_number`) as `product.manufacturerNumber`, COALESCE(`product`.`ean`, `product.parent`.`ean`) as `product.ean`, COALESCE(`product`.`purchase_steps`, `product.parent`.`purchase_steps`) as `product.purchaseSteps`, COALESCE(`product`.`max_purchase`, `product.parent`.`max_purchase`) as `product.maxPurchase`, COALESCE(`product`.`min_purchase`, `product.parent`.`min_purchase`) as `product.minPurchase`, COALESCE(`product`.`purchase_unit`, `product.parent`.`purchase_unit`) as `product.purchaseUnit`, COALESCE(`product`.`reference_unit`, `product.parent`.`reference_unit`) as `product.referenceUnit`, COALESCE(`product`.`shipping_free`, `product.parent`.`shipping_free`) as `product.shippingFree`, `product.parent`.`purchase_prices` as `product.purchasePrices.inherited`, COALESCE(`product`.`purchase_prices`, `product.parent`.`purchase_prices`) as `product.purchasePrices`, COALESCE(`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`) as `product.markAsTopseller`, COALESCE(`product`.`weight`, `product.parent`.`weight`) as `product.weight`, COALESCE(`product`.`width`, `product.parent`.`width`) as `product.width`, COALESCE(`product`.`height`, `product.parent`.`height`) as `product.height`, COALESCE(`product`.`length`, `product.parent`.`length`) as `product.length`, COALESCE(`product`.`release_date`, `product.parent`.`release_date`) as `product.releaseDate`, COALESCE(`product`.`rating_average`, `product.parent`.`rating_average`) as `product.ratingAverage`, `product.parent`.`category_tree` as `product.categoryTree.inherited`, COALESCE(`product`.`category_tree`, `product.parent`.`category_tree`) as `product.categoryTree`, `product.parent`.`property_ids` as `product.propertyIds.inherited`, COALESCE(`product`.`property_ids`, `product.parent`.`property_ids`) as `product.propertyIds`, `product.parent`.`option_ids` as `product.optionIds.inherited`, COALESCE(`product`.`option_ids`, `product.parent`.`option_ids`) as `product.optionIds`, `product.parent`.`stream_ids` as `product.streamIds.inherited`, COALESCE(`product`.`stream_ids`, `product.parent`.`stream_ids`) as `product.streamIds`, `product.parent`.`tag_ids` as `product.tagIds.inherited`, COALESCE(`product`.`tag_ids`, `product.parent`.`tag_ids`) as `product.tagIds`, `product.parent`.`category_ids` as `product.categoryIds.inherited`, COALESCE(`product`.`category_ids`, `product.parent`.`category_ids`) as `product.categoryIds`, `product`.`child_count` as `product.childCount`, COALESCE(`product`.`custom_field_set_selection_active`, `product.parent`.`custom_field_set_selection_active`) as `product.customFieldSetSelectionActive`, `product`.`sales` as `product.sales`, `product`.`states` as `product.states`, `product.tax`.`id` as `product.tax.id`, `product.tax`.`tax_rate` as `product.tax.taxRate`, `product.tax`.`name` as `product.tax.name`, `product.tax`.`position` as `product.tax.position`, `product.tax`.`custom_fields` as `product.tax.customFields`, `product.tax`.`created_at` as `product.tax.createdAt`, `product.tax`.`updated_at` as `product.tax.updatedAt`, `product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`, COALESCE(`product`.`cheapest_price`, `product.parent`.`cheapest_price`) as `product.cheapestPrice`, `product`.`created_at` as `product.createdAt`, `product`.`updated_at` as `product.updatedAt`, `product.unit`.`id` as `product.unit.id`, `product.unit`.`created_at` as `product.unit.createdAt`, `product.unit`.`updated_at` as `product.unit.updatedAt`, `product.unit.translation.shortCode`, COALESCE(`product.unit.translation.shortCode`,`product.unit.translation.shortCode`) as `product.unit.shortCode`, `product.unit.translation.name`, COALESCE(`product.unit.translation.name`,`product.unit.translation.name`) as `product.unit.name`, `product.unit.translation.customFields`, COALESCE(`product.unit.translation.customFields`,`product.unit.translation.customFields`) as `product.unit.customFields`, `product.unit.translation.createdAt`, `product.unit.translation.updatedAt`, `product.unit.translation.unitId`, `product.unit.translation.languageId`, `product.deliveryTime`.`id` as `product.deliveryTime.id`, `product.deliveryTime`.`min` as `product.deliveryTime.min`, `product.deliveryTime`.`max` as `product.deliveryTime.max`, `product.deliveryTime`.`unit` as `product.deliveryTime.unit`, `product.deliveryTime`.`created_at` as `product.deliveryTime.createdAt`, `product.deliveryTime`.`updated_at` as `product.deliveryTime.updatedAt`, `product.deliveryTime.translation.name`, COALESCE(`product.deliveryTime.translation.name`,`product.deliveryTime.translation.name`) as `product.deliveryTime.name`, `product.deliveryTime.translation.customFields`, COALESCE(`product.deliveryTime.translation.customFields`,`product.deliveryTime.translation.customFields`) as `product.deliveryTime.customFields`, `product.deliveryTime.translation.createdAt`, `product.deliveryTime.translation.updatedAt`, `product.deliveryTime.translation.deliveryTimeId`, `product.deliveryTime.translation.languageId`, `product.cover`.`id` as `product.cover.id`, `product.cover`.`version_id` as `product.cover.versionId`, `product.cover`.`product_id` as `product.cover.productId`, `product.cover`.`product_version_id` as `product.cover.productVersionId`, `product.cover`.`media_id` as `product.cover.mediaId`, `product.cover`.`position` as `product.cover.position`, `product.cover.media`.`id` as `product.cover.media.id`, `product.cover.media`.`user_id` as `product.cover.media.userId`, `product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`, `product.cover.media`.`mime_type` as `product.cover.media.mimeType`, `product.cover.media`.`file_extension` as `product.cover.media.fileExtension`, `product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`, `product.cover.media`.`file_name` as `product.cover.media.fileName`, `product.cover.media`.`file_size` as `product.cover.media.fileSize`, `product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`, `product.cover.media`.`meta_data` as `product.cover.media.metaData`, `product.cover.media`.`private` as `product.cover.media.private`, `product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`, `product.cover.media`.`created_at` as `product.cover.media.createdAt`, `product.cover.media`.`updated_at` as `product.cover.media.updatedAt`, `product.cover.media.translation.title`, COALESCE(`product.cover.media.translation.title`,`product.cover.media.translation.title`) as `product.cover.media.title`, `product.cover.media.translation.alt`, COALESCE(`product.cover.media.translation.alt`,`product.cover.media.translation.alt`) as `product.cover.media.alt`, `product.cover.media.translation.customFields`, COALESCE(`product.cover.media.translation.customFields`,`product.cover.media.translation.customFields`) as `product.cover.media.customFields`, `product.cover.media.translation.createdAt`, `product.cover.media.translation.updatedAt`, `product.cover.media.translation.mediaId`, `product.cover.media.translation.languageId`, `product.cover`.`custom_fields` as `product.cover.customFields`, `product.cover`.`created_at` as `product.cover.createdAt`, `product.cover`.`updated_at` as `product.cover.updatedAt`, `product.translation.metaDescription`, `product.parent.translation.metaDescription`, COALESCE(`product.translation.metaDescription`,`product.parent.translation.metaDescription`,`product.translation.metaDescription`) as `product.metaDescription`, `product.translation.name`, `product.parent.translation.name`, COALESCE(`product.translation.name`,`product.parent.translation.name`,`product.translation.name`) as `product.name`, `product.translation.keywords`, `product.parent.translation.keywords`, COALESCE(`product.translation.keywords`,`product.parent.translation.keywords`,`product.translation.keywords`) as `product.keywords`, `product.translation.description`, `product.parent.translation.description`, COALESCE(`product.translation.description`,`product.parent.translation.description`,`product.translation.description`) as `product.description`, `product.translation.metaTitle`, `product.parent.translation.metaTitle`, COALESCE(`product.translation.metaTitle`,`product.parent.translation.metaTitle`,`product.translation.metaTitle`) as `product.metaTitle`, `product.translation.packUnit`, `product.parent.translation.packUnit`, COALESCE(`product.translation.packUnit`,`product.parent.translation.packUnit`,`product.translation.packUnit`) as `product.packUnit`, `product.translation.packUnitPlural`, `product.parent.translation.packUnitPlural`, COALESCE(`product.translation.packUnitPlural`,`product.parent.translation.packUnitPlural`,`product.translation.packUnitPlural`) as `product.packUnitPlural`, `product.translation.customSearchKeywords`, `product.parent.translation.customSearchKeywords`, COALESCE(`product.translation.customSearchKeywords`,`product.parent.translation.customSearchKeywords`,`product.translation.customSearchKeywords`) as `product.customSearchKeywords`, `product.translation.slotConfig`, `product.parent.translation.slotConfig`, COALESCE(`product.translation.slotConfig`,`product.parent.translation.slotConfig`,`product.translation.slotConfig`) as `product.slotConfig`, `product.translation.customFields`, `product.parent.translation.customFields`, COALESCE(`product.translation.customFields`,`product.parent.translation.customFields`,`product.translation.customFields`) as `product.customFields`, `product.translation.createdAt`, `product.parent.translation.createdAt`, `product.translation.updatedAt`, `product.parent.translation.updatedAt`, `product.translation.productId`, `product.parent.translation.productId`, `product.translation.languageId`, `product.parent.translation.languageId`, `product.translation.productVersionId`, `product.parent.translation.productVersionId` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN (SELECT `product.translation`.product_id, `product.translation`.product_version_id, `product.translation`.meta_description as `product.translation.metaDescription`, `product.translation`.name as `product.translation.name`, `product.translation`.keywords as `product.translation.keywords`, `product.translation`.description as `product.translation.description`, `product.translation`.meta_title as `product.translation.metaTitle`, `product.translation`.pack_unit as `product.translation.packUnit`, `product.translation`.pack_unit_plural as `product.translation.packUnitPlural`, `product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`, `product.translation`.slot_config as `product.translation.slotConfig`, `product.translation`.custom_fields as `product.translation.customFields`, `product.translation`.created_at as `product.translation.createdAt`, `product.translation`.updated_at as `product.translation.updatedAt`, `product.translation`.product_id as `product.translation.productId`, `product.translation`.language_id as `product.translation.languageId`, `product.translation`.product_version_id as `product.translation.productVersionId` FROM `product_translation` `product.translation` WHERE `product.translation`.language_id = :languageId) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id` AND `product.product_translation`.product_version_id = `product`.version_id LEFT JOIN (SELECT `product.parent.translation`.product_id, `product.parent.translation`.product_version_id, `product.parent.translation`.meta_description as `product.parent.translation.metaDescription`, `product.parent.translation`.name as `product.parent.translation.name`, `product.parent.translation`.keywords as `product.parent.translation.keywords`, `product.parent.translation`.description as `product.parent.translation.description`, `product.parent.translation`.meta_title as `product.parent.translation.metaTitle`, `product.parent.translation`.pack_unit as `product.parent.translation.packUnit`, `product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`, `product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`, `product.parent.translation`.slot_config as `product.parent.translation.slotConfig`, `product.parent.translation`.custom_fields as `product.parent.translation.customFields`, `product.parent.translation`.created_at as `product.parent.translation.createdAt`, `product.parent.translation`.updated_at as `product.parent.translation.updatedAt`, `product.parent.translation`.product_id as `product.parent.translation.productId`, `product.parent.translation`.language_id as `product.parent.translation.languageId`, `product.parent.translation`.product_version_id as `product.parent.translation.productVersionId` FROM `product_translation` `product.parent.translation` WHERE `product.parent.translation`.language_id = :languageId) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id` AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id` LEFT JOIN `unit` `product.unit` ON `product`.`unit` = `product.unit`.`id` LEFT JOIN `delivery_time` `product.deliveryTime` ON `product`.`deliveryTime` = `product.deliveryTime`.`id` LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id` AND `product`.`version_id` = `product.cover`.`version_id` LEFT JOIN (SELECT `product.unit.translation`.unit_id, `product.unit.translation`.short_code as `product.unit.translation.shortCode`, `product.unit.translation`.name as `product.unit.translation.name`, `product.unit.translation`.custom_fields as `product.unit.translation.customFields`, `product.unit.translation`.created_at as `product.unit.translation.createdAt`, `product.unit.translation`.updated_at as `product.unit.translation.updatedAt`, `product.unit.translation`.unit_id as `product.unit.translation.unitId`, `product.unit.translation`.language_id as `product.unit.translation.languageId` FROM `unit_translation` `product.unit.translation` WHERE `product.unit.translation`.language_id = :languageId) `product.unit.unit_translation` ON `product.unit.unit_translation`.`unit_id` = `product.unit`.`id` LEFT JOIN (SELECT `product.deliveryTime.translation`.delivery_time_id, `product.deliveryTime.translation`.name as `product.deliveryTime.translation.name`, `product.deliveryTime.translation`.custom_fields as `product.deliveryTime.translation.customFields`, `product.deliveryTime.translation`.created_at as `product.deliveryTime.translation.createdAt`, `product.deliveryTime.translation`.updated_at as `product.deliveryTime.translation.updatedAt`, `product.deliveryTime.translation`.delivery_time_id as `product.deliveryTime.translation.deliveryTimeId`, `product.deliveryTime.translation`.language_id as `product.deliveryTime.translation.languageId` FROM `delivery_time_translation` `product.deliveryTime.translation` WHERE `product.deliveryTime.translation`.language_id = :languageId) `product.deliveryTime.delivery_time_translation` ON `product.deliveryTime.delivery_time_translation`.`delivery_time_id` = `product.deliveryTime`.`id` LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id` LEFT JOIN (SELECT `product.cover.media.translation`.media_id, `product.cover.media.translation`.title as `product.cover.media.translation.title`, `product.cover.media.translation`.alt as `product.cover.media.translation.alt`, `product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`, `product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`, `product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`, `product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`, `product.cover.media.translation`.language_id as `product.cover.media.translation.languageId` FROM `media_translation` `product.cover.media.translation` WHERE `product.cover.media.translation`.language_id = :languageId) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id` WHERE (`product`.`version_id` = :version) AND (`product`.`id` IN (:ids))
SELECT
`product`.`id` as `product.id`,
`product`.`version_id` as `product.versionId`,
`product`.`parent_id` as `product.parentId`,
`product`.`parent_version_id` as `product.parentVersionId`,
COALESCE(
`product`.`product_manufacturer_id`,
`product.parent`.`product_manufacturer_id`
) as `product.manufacturerId`,
COALESCE(
`product`.`product_manufacturer_version_id`,
`product.parent`.`product_manufacturer_version_id`
) as `product.productManufacturerVersionId`,
COALESCE(
`product`.`unit_id`, `product.parent`.`unit_id`
) as `product.unitId`,
COALESCE(
`product`.`tax_id`, `product.parent`.`tax_id`
) as `product.taxId`,
COALESCE(
`product`.`product_media_id`, `product.parent`.`product_media_id`
) as `product.coverId`,
COALESCE(
`product`.`product_media_version_id`,
`product.parent`.`product_media_version_id`
) as `product.productMediaVersionId`,
COALESCE(
`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`
) as `product.deliveryTimeId`,
COALESCE(
`product`.`product_feature_set_id`,
`product.parent`.`product_feature_set_id`
) as `product.featureSetId`,
COALESCE(
`product`.`canonical_product_id`,
`product.parent`.`canonical_product_id`
) as `product.canonicalProductId`,
COALESCE(
`product`.`cms_page_id`, `product.parent`.`cms_page_id`
) as `product.cmsPageId`,
COALESCE(
`product`.`cms_page_version_id`,
`product.parent`.`cms_page_version_id`
) as `product.cmsPageVersionId`,
`product.parent`.`price` as `product.price.inherited`,
COALESCE(
`product`.`price`, `product.parent`.`price`
) as `product.price`,
`product`.`product_number` as `product.productNumber`,
`product`.`stock` as `product.stock`,
COALESCE(
`product`.`restock_time`, `product.parent`.`restock_time`
) as `product.restockTime`,
`product`.`auto_increment` as `product.autoIncrement`,
COALESCE(
`product`.`active`, `product.parent`.`active`
) as `product.active`,
`product`.`available_stock` as `product.availableStock`,
`product`.`available` as `product.available`,
COALESCE(
`product`.`is_closeout`, `product.parent`.`is_closeout`
) as `product.isCloseout`,
`product`.`display_group` as `product.displayGroup`,
`product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`,
COALESCE(
`product`.`configurator_group_config`,
`product.parent`.`configurator_group_config`
) as `product.configuratorGroupConfig`,
COALESCE(
`product`.`main_variant_id`, `product.parent`.`main_variant_id`
) as `product.mainVariantId`,
COALESCE(
`product`.`display_parent`, `product.parent`.`display_parent`
) as `product.displayParent`,
`product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`,
COALESCE(
`product`.`variant_listing_config`,
`product.parent`.`variant_listing_config`
) as `product.variantListingConfig`,
`product`.`variant_restrictions` as `product.variantRestrictions`,
COALESCE(
`product`.`manufacturer_number`,
`product.parent`.`manufacturer_number`
) as `product.manufacturerNumber`,
COALESCE(
`product`.`ean`, `product.parent`.`ean`
) as `product.ean`,
COALESCE(
`product`.`purchase_steps`, `product.parent`.`purchase_steps`
) as `product.purchaseSteps`,
COALESCE(
`product`.`max_purchase`, `product.parent`.`max_purchase`
) as `product.maxPurchase`,
COALESCE(
`product`.`min_purchase`, `product.parent`.`min_purchase`
) as `product.minPurchase`,
COALESCE(
`product`.`purchase_unit`, `product.parent`.`purchase_unit`
) as `product.purchaseUnit`,
COALESCE(
`product`.`reference_unit`, `product.parent`.`reference_unit`
) as `product.referenceUnit`,
COALESCE(
`product`.`shipping_free`, `product.parent`.`shipping_free`
) as `product.shippingFree`,
`product.parent`.`purchase_prices` as `product.purchasePrices.inherited`,
COALESCE(
`product`.`purchase_prices`, `product.parent`.`purchase_prices`
) as `product.purchasePrices`,
COALESCE(
`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`
) as `product.markAsTopseller`,
COALESCE(
`product`.`weight`, `product.parent`.`weight`
) as `product.weight`,
COALESCE(
`product`.`width`, `product.parent`.`width`
) as `product.width`,
COALESCE(
`product`.`height`, `product.parent`.`height`
) as `product.height`,
COALESCE(
`product`.`length`, `product.parent`.`length`
) as `product.length`,
COALESCE(
`product`.`release_date`, `product.parent`.`release_date`
) as `product.releaseDate`,
COALESCE(
`product`.`rating_average`, `product.parent`.`rating_average`
) as `product.ratingAverage`,
`product.parent`.`category_tree` as `product.categoryTree.inherited`,
COALESCE(
`product`.`category_tree`, `product.parent`.`category_tree`
) as `product.categoryTree`,
`product.parent`.`property_ids` as `product.propertyIds.inherited`,
COALESCE(
`product`.`property_ids`, `product.parent`.`property_ids`
) as `product.propertyIds`,
`product.parent`.`option_ids` as `product.optionIds.inherited`,
COALESCE(
`product`.`option_ids`, `product.parent`.`option_ids`
) as `product.optionIds`,
`product.parent`.`stream_ids` as `product.streamIds.inherited`,
COALESCE(
`product`.`stream_ids`, `product.parent`.`stream_ids`
) as `product.streamIds`,
`product.parent`.`tag_ids` as `product.tagIds.inherited`,
COALESCE(
`product`.`tag_ids`, `product.parent`.`tag_ids`
) as `product.tagIds`,
`product.parent`.`category_ids` as `product.categoryIds.inherited`,
COALESCE(
`product`.`category_ids`, `product.parent`.`category_ids`
) as `product.categoryIds`,
`product`.`child_count` as `product.childCount`,
COALESCE(
`product`.`custom_field_set_selection_active`,
`product.parent`.`custom_field_set_selection_active`
) as `product.customFieldSetSelectionActive`,
`product`.`sales` as `product.sales`,
`product`.`states` as `product.states`,
`product.tax`.`id` as `product.tax.id`,
`product.tax`.`tax_rate` as `product.tax.taxRate`,
`product.tax`.`name` as `product.tax.name`,
`product.tax`.`position` as `product.tax.position`,
`product.tax`.`custom_fields` as `product.tax.customFields`,
`product.tax`.`created_at` as `product.tax.createdAt`,
`product.tax`.`updated_at` as `product.tax.updatedAt`,
`product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`,
COALESCE(
`product`.`cheapest_price`, `product.parent`.`cheapest_price`
) as `product.cheapestPrice`,
`product`.`created_at` as `product.createdAt`,
`product`.`updated_at` as `product.updatedAt`,
`product.unit`.`id` as `product.unit.id`,
`product.unit`.`created_at` as `product.unit.createdAt`,
`product.unit`.`updated_at` as `product.unit.updatedAt`,
`product.unit.translation.shortCode`,
COALESCE(
`product.unit.translation.shortCode`,
`product.unit.translation.shortCode`
) as `product.unit.shortCode`,
`product.unit.translation.name`,
COALESCE(
`product.unit.translation.name`,
`product.unit.translation.name`
) as `product.unit.name`,
`product.unit.translation.customFields`,
COALESCE(
`product.unit.translation.customFields`,
`product.unit.translation.customFields`
) as `product.unit.customFields`,
`product.unit.translation.createdAt`,
`product.unit.translation.updatedAt`,
`product.unit.translation.unitId`,
`product.unit.translation.languageId`,
`product.deliveryTime`.`id` as `product.deliveryTime.id`,
`product.deliveryTime`.`min` as `product.deliveryTime.min`,
`product.deliveryTime`.`max` as `product.deliveryTime.max`,
`product.deliveryTime`.`unit` as `product.deliveryTime.unit`,
`product.deliveryTime`.`created_at` as `product.deliveryTime.createdAt`,
`product.deliveryTime`.`updated_at` as `product.deliveryTime.updatedAt`,
`product.deliveryTime.translation.name`,
COALESCE(
`product.deliveryTime.translation.name`,
`product.deliveryTime.translation.name`
) as `product.deliveryTime.name`,
`product.deliveryTime.translation.customFields`,
COALESCE(
`product.deliveryTime.translation.customFields`,
`product.deliveryTime.translation.customFields`
) as `product.deliveryTime.customFields`,
`product.deliveryTime.translation.createdAt`,
`product.deliveryTime.translation.updatedAt`,
`product.deliveryTime.translation.deliveryTimeId`,
`product.deliveryTime.translation.languageId`,
`product.cover`.`id` as `product.cover.id`,
`product.cover`.`version_id` as `product.cover.versionId`,
`product.cover`.`product_id` as `product.cover.productId`,
`product.cover`.`product_version_id` as `product.cover.productVersionId`,
`product.cover`.`media_id` as `product.cover.mediaId`,
`product.cover`.`position` as `product.cover.position`,
`product.cover.media`.`id` as `product.cover.media.id`,
`product.cover.media`.`user_id` as `product.cover.media.userId`,
`product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`,
`product.cover.media`.`mime_type` as `product.cover.media.mimeType`,
`product.cover.media`.`file_extension` as `product.cover.media.fileExtension`,
`product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`,
`product.cover.media`.`file_name` as `product.cover.media.fileName`,
`product.cover.media`.`file_size` as `product.cover.media.fileSize`,
`product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`,
`product.cover.media`.`meta_data` as `product.cover.media.metaData`,
`product.cover.media`.`private` as `product.cover.media.private`,
`product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`,
`product.cover.media`.`created_at` as `product.cover.media.createdAt`,
`product.cover.media`.`updated_at` as `product.cover.media.updatedAt`,
`product.cover.media.translation.title`,
COALESCE(
`product.cover.media.translation.title`,
`product.cover.media.translation.title`
) as `product.cover.media.title`,
`product.cover.media.translation.alt`,
COALESCE(
`product.cover.media.translation.alt`,
`product.cover.media.translation.alt`
) as `product.cover.media.alt`,
`product.cover.media.translation.customFields`,
COALESCE(
`product.cover.media.translation.customFields`,
`product.cover.media.translation.customFields`
) as `product.cover.media.customFields`,
`product.cover.media.translation.createdAt`,
`product.cover.media.translation.updatedAt`,
`product.cover.media.translation.mediaId`,
`product.cover.media.translation.languageId`,
`product.cover`.`custom_fields` as `product.cover.customFields`,
`product.cover`.`created_at` as `product.cover.createdAt`,
`product.cover`.`updated_at` as `product.cover.updatedAt`,
`product.translation.metaDescription`,
`product.parent.translation.metaDescription`,
COALESCE(
`product.translation.metaDescription`,
`product.parent.translation.metaDescription`,
`product.translation.metaDescription`
) as `product.metaDescription`,
`product.translation.name`,
`product.parent.translation.name`,
COALESCE(
`product.translation.name`, `product.parent.translation.name`,
`product.translation.name`
) as `product.name`,
`product.translation.keywords`,
`product.parent.translation.keywords`,
COALESCE(
`product.translation.keywords`,
`product.parent.translation.keywords`,
`product.translation.keywords`
) as `product.keywords`,
`product.translation.description`,
`product.parent.translation.description`,
COALESCE(
`product.translation.description`,
`product.parent.translation.description`,
`product.translation.description`
) as `product.description`,
`product.translation.metaTitle`,
`product.parent.translation.metaTitle`,
COALESCE(
`product.translation.metaTitle`,
`product.parent.translation.metaTitle`,
`product.translation.metaTitle`
) as `product.metaTitle`,
`product.translation.packUnit`,
`product.parent.translation.packUnit`,
COALESCE(
`product.translation.packUnit`,
`product.parent.translation.packUnit`,
`product.translation.packUnit`
) as `product.packUnit`,
`product.translation.packUnitPlural`,
`product.parent.translation.packUnitPlural`,
COALESCE(
`product.translation.packUnitPlural`,
`product.parent.translation.packUnitPlural`,
`product.translation.packUnitPlural`
) as `product.packUnitPlural`,
`product.translation.customSearchKeywords`,
`product.parent.translation.customSearchKeywords`,
COALESCE(
`product.translation.customSearchKeywords`,
`product.parent.translation.customSearchKeywords`,
`product.translation.customSearchKeywords`
) as `product.customSearchKeywords`,
`product.translation.slotConfig`,
`product.parent.translation.slotConfig`,
COALESCE(
`product.translation.slotConfig`,
`product.parent.translation.slotConfig`,
`product.translation.slotConfig`
) as `product.slotConfig`,
`product.translation.customFields`,
`product.parent.translation.customFields`,
COALESCE(
`product.translation.customFields`,
`product.parent.translation.customFields`,
`product.translation.customFields`
) as `product.customFields`,
`product.translation.createdAt`,
`product.parent.translation.createdAt`,
`product.translation.updatedAt`,
`product.parent.translation.updatedAt`,
`product.translation.productId`,
`product.parent.translation.productId`,
`product.translation.languageId`,
`product.parent.translation.languageId`,
`product.translation.productVersionId`,
`product.parent.translation.productVersionId`
FROM
`product`
LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id`
AND `product`.`version_id` = `product.parent`.`version_id`
LEFT JOIN (
SELECT
`product.translation`.product_id,
`product.translation`.product_version_id,
`product.translation`.meta_description as `product.translation.metaDescription`,
`product.translation`.name as `product.translation.name`,
`product.translation`.keywords as `product.translation.keywords`,
`product.translation`.description as `product.translation.description`,
`product.translation`.meta_title as `product.translation.metaTitle`,
`product.translation`.pack_unit as `product.translation.packUnit`,
`product.translation`.pack_unit_plural as `product.translation.packUnitPlural`,
`product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`,
`product.translation`.slot_config as `product.translation.slotConfig`,
`product.translation`.custom_fields as `product.translation.customFields`,
`product.translation`.created_at as `product.translation.createdAt`,
`product.translation`.updated_at as `product.translation.updatedAt`,
`product.translation`.product_id as `product.translation.productId`,
`product.translation`.language_id as `product.translation.languageId`,
`product.translation`.product_version_id as `product.translation.productVersionId`
FROM
`product_translation` `product.translation`
WHERE
`product.translation`.language_id = : languageId
) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id`
AND `product.product_translation`.product_version_id = `product`.version_id
LEFT JOIN (
SELECT
`product.parent.translation`.product_id,
`product.parent.translation`.product_version_id,
`product.parent.translation`.meta_description as `product.parent.translation.metaDescription`,
`product.parent.translation`.name as `product.parent.translation.name`,
`product.parent.translation`.keywords as `product.parent.translation.keywords`,
`product.parent.translation`.description as `product.parent.translation.description`,
`product.parent.translation`.meta_title as `product.parent.translation.metaTitle`,
`product.parent.translation`.pack_unit as `product.parent.translation.packUnit`,
`product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`,
`product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`,
`product.parent.translation`.slot_config as `product.parent.translation.slotConfig`,
`product.parent.translation`.custom_fields as `product.parent.translation.customFields`,
`product.parent.translation`.created_at as `product.parent.translation.createdAt`,
`product.parent.translation`.updated_at as `product.parent.translation.updatedAt`,
`product.parent.translation`.product_id as `product.parent.translation.productId`,
`product.parent.translation`.language_id as `product.parent.translation.languageId`,
`product.parent.translation`.product_version_id as `product.parent.translation.productVersionId`
FROM
`product_translation` `product.parent.translation`
WHERE
`product.parent.translation`.language_id = : languageId
) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id`
AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id
LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id`
LEFT JOIN `unit` `product.unit` ON `product`.`unit` = `product.unit`.`id`
LEFT JOIN `delivery_time` `product.deliveryTime` ON `product`.`deliveryTime` = `product.deliveryTime`.`id`
LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id`
AND `product`.`version_id` = `product.cover`.`version_id`
LEFT JOIN (
SELECT
`product.unit.translation`.unit_id,
`product.unit.translation`.short_code as `product.unit.translation.shortCode`,
`product.unit.translation`.name as `product.unit.translation.name`,
`product.unit.translation`.custom_fields as `product.unit.translation.customFields`,
`product.unit.translation`.created_at as `product.unit.translation.createdAt`,
`product.unit.translation`.updated_at as `product.unit.translation.updatedAt`,
`product.unit.translation`.unit_id as `product.unit.translation.unitId`,
`product.unit.translation`.language_id as `product.unit.translation.languageId`
FROM
`unit_translation` `product.unit.translation`
WHERE
`product.unit.translation`.language_id = : languageId
) `product.unit.unit_translation` ON `product.unit.unit_translation`.`unit_id` = `product.unit`.`id`
LEFT JOIN (
SELECT
`product.deliveryTime.translation`.delivery_time_id,
`product.deliveryTime.translation`.name as `product.deliveryTime.translation.name`,
`product.deliveryTime.translation`.custom_fields as `product.deliveryTime.translation.customFields`,
`product.deliveryTime.translation`.created_at as `product.deliveryTime.translation.createdAt`,
`product.deliveryTime.translation`.updated_at as `product.deliveryTime.translation.updatedAt`,
`product.deliveryTime.translation`.delivery_time_id as `product.deliveryTime.translation.deliveryTimeId`,
`product.deliveryTime.translation`.language_id as `product.deliveryTime.translation.languageId`
FROM
`delivery_time_translation` `product.deliveryTime.translation`
WHERE
`product.deliveryTime.translation`.language_id = : languageId
) `product.deliveryTime.delivery_time_translation` ON `product.deliveryTime.delivery_time_translation`.`delivery_time_id` = `product.deliveryTime`.`id`
LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id`
LEFT JOIN (
SELECT
`product.cover.media.translation`.media_id,
`product.cover.media.translation`.title as `product.cover.media.translation.title`,
`product.cover.media.translation`.alt as `product.cover.media.translation.alt`,
`product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`,
`product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`,
`product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`,
`product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`,
`product.cover.media.translation`.language_id as `product.cover.media.translation.languageId`
FROM
`media_translation` `product.cover.media.translation`
WHERE
`product.cover.media.translation`.language_id = : languageId
) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id`
WHERE
(
`product`.`version_id` = : version
)
AND (
`product`.`id` IN (: ids)
)
SELECT `product`.`id` as `product.id`, `product`.`version_id` as `product.versionId`, `product`.`parent_id` as `product.parentId`, `product`.`parent_version_id` as `product.parentVersionId`, COALESCE(`product`.`product_manufacturer_id`, `product.parent`.`product_manufacturer_id`) as `product.manufacturerId`, COALESCE(`product`.`product_manufacturer_version_id`, `product.parent`.`product_manufacturer_version_id`) as `product.productManufacturerVersionId`, COALESCE(`product`.`unit_id`, `product.parent`.`unit_id`) as `product.unitId`, COALESCE(`product`.`tax_id`, `product.parent`.`tax_id`) as `product.taxId`, COALESCE(`product`.`product_media_id`, `product.parent`.`product_media_id`) as `product.coverId`, COALESCE(`product`.`product_media_version_id`, `product.parent`.`product_media_version_id`) as `product.productMediaVersionId`, COALESCE(`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`) as `product.deliveryTimeId`, COALESCE(`product`.`product_feature_set_id`, `product.parent`.`product_feature_set_id`) as `product.featureSetId`, COALESCE(`product`.`canonical_product_id`, `product.parent`.`canonical_product_id`) as `product.canonicalProductId`, COALESCE(`product`.`cms_page_id`, `product.parent`.`cms_page_id`) as `product.cmsPageId`, COALESCE(`product`.`cms_page_version_id`, `product.parent`.`cms_page_version_id`) as `product.cmsPageVersionId`, `product.parent`.`price` as `product.price.inherited`, COALESCE(`product`.`price`, `product.parent`.`price`) as `product.price`, `product`.`product_number` as `product.productNumber`, `product`.`stock` as `product.stock`, COALESCE(`product`.`restock_time`, `product.parent`.`restock_time`) as `product.restockTime`, `product`.`auto_increment` as `product.autoIncrement`, COALESCE(`product`.`active`, `product.parent`.`active`) as `product.active`, `product`.`available_stock` as `product.availableStock`, `product`.`available` as `product.available`, COALESCE(`product`.`is_closeout`, `product.parent`.`is_closeout`) as `product.isCloseout`, `product`.`display_group` as `product.displayGroup`, `product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`, COALESCE(`product`.`configurator_group_config`, `product.parent`.`configurator_group_config`) as `product.configuratorGroupConfig`, COALESCE(`product`.`main_variant_id`, `product.parent`.`main_variant_id`) as `product.mainVariantId`, COALESCE(`product`.`display_parent`, `product.parent`.`display_parent`) as `product.displayParent`, `product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`, COALESCE(`product`.`variant_listing_config`, `product.parent`.`variant_listing_config`) as `product.variantListingConfig`, `product`.`variant_restrictions` as `product.variantRestrictions`, COALESCE(`product`.`manufacturer_number`, `product.parent`.`manufacturer_number`) as `product.manufacturerNumber`, COALESCE(`product`.`ean`, `product.parent`.`ean`) as `product.ean`, COALESCE(`product`.`purchase_steps`, `product.parent`.`purchase_steps`) as `product.purchaseSteps`, COALESCE(`product`.`max_purchase`, `product.parent`.`max_purchase`) as `product.maxPurchase`, COALESCE(`product`.`min_purchase`, `product.parent`.`min_purchase`) as `product.minPurchase`, COALESCE(`product`.`purchase_unit`, `product.parent`.`purchase_unit`) as `product.purchaseUnit`, COALESCE(`product`.`reference_unit`, `product.parent`.`reference_unit`) as `product.referenceUnit`, COALESCE(`product`.`shipping_free`, `product.parent`.`shipping_free`) as `product.shippingFree`, `product.parent`.`purchase_prices` as `product.purchasePrices.inherited`, COALESCE(`product`.`purchase_prices`, `product.parent`.`purchase_prices`) as `product.purchasePrices`, COALESCE(`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`) as `product.markAsTopseller`, COALESCE(`product`.`weight`, `product.parent`.`weight`) as `product.weight`, COALESCE(`product`.`width`, `product.parent`.`width`) as `product.width`, COALESCE(`product`.`height`, `product.parent`.`height`) as `product.height`, COALESCE(`product`.`length`, `product.parent`.`length`) as `product.length`, COALESCE(`product`.`release_date`, `product.parent`.`release_date`) as `product.releaseDate`, COALESCE(`product`.`rating_average`, `product.parent`.`rating_average`) as `product.ratingAverage`, `product.parent`.`category_tree` as `product.categoryTree.inherited`, COALESCE(`product`.`category_tree`, `product.parent`.`category_tree`) as `product.categoryTree`, `product.parent`.`property_ids` as `product.propertyIds.inherited`, COALESCE(`product`.`property_ids`, `product.parent`.`property_ids`) as `product.propertyIds`, `product.parent`.`option_ids` as `product.optionIds.inherited`, COALESCE(`product`.`option_ids`, `product.parent`.`option_ids`) as `product.optionIds`, `product.parent`.`stream_ids` as `product.streamIds.inherited`, COALESCE(`product`.`stream_ids`, `product.parent`.`stream_ids`) as `product.streamIds`, `product.parent`.`tag_ids` as `product.tagIds.inherited`, COALESCE(`product`.`tag_ids`, `product.parent`.`tag_ids`) as `product.tagIds`, `product.parent`.`category_ids` as `product.categoryIds.inherited`, COALESCE(`product`.`category_ids`, `product.parent`.`category_ids`) as `product.categoryIds`, `product`.`child_count` as `product.childCount`, COALESCE(`product`.`custom_field_set_selection_active`, `product.parent`.`custom_field_set_selection_active`) as `product.customFieldSetSelectionActive`, `product`.`sales` as `product.sales`, `product`.`states` as `product.states`, `product.tax`.`id` as `product.tax.id`, `product.tax`.`tax_rate` as `product.tax.taxRate`, `product.tax`.`name` as `product.tax.name`, `product.tax`.`position` as `product.tax.position`, `product.tax`.`custom_fields` as `product.tax.customFields`, `product.tax`.`created_at` as `product.tax.createdAt`, `product.tax`.`updated_at` as `product.tax.updatedAt`, `product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`, COALESCE(`product`.`cheapest_price`, `product.parent`.`cheapest_price`) as `product.cheapestPrice`, `product`.`created_at` as `product.createdAt`, `product`.`updated_at` as `product.updatedAt`, `product.unit`.`id` as `product.unit.id`, `product.unit`.`created_at` as `product.unit.createdAt`, `product.unit`.`updated_at` as `product.unit.updatedAt`, `product.unit.translation.shortCode`, COALESCE(`product.unit.translation.shortCode`,`product.unit.translation.shortCode`) as `product.unit.shortCode`, `product.unit.translation.name`, COALESCE(`product.unit.translation.name`,`product.unit.translation.name`) as `product.unit.name`, `product.unit.translation.customFields`, COALESCE(`product.unit.translation.customFields`,`product.unit.translation.customFields`) as `product.unit.customFields`, `product.unit.translation.createdAt`, `product.unit.translation.updatedAt`, `product.unit.translation.unitId`, `product.unit.translation.languageId`, `product.deliveryTime`.`id` as `product.deliveryTime.id`, `product.deliveryTime`.`min` as `product.deliveryTime.min`, `product.deliveryTime`.`max` as `product.deliveryTime.max`, `product.deliveryTime`.`unit` as `product.deliveryTime.unit`, `product.deliveryTime`.`created_at` as `product.deliveryTime.createdAt`, `product.deliveryTime`.`updated_at` as `product.deliveryTime.updatedAt`, `product.deliveryTime.translation.name`, COALESCE(`product.deliveryTime.translation.name`,`product.deliveryTime.translation.name`) as `product.deliveryTime.name`, `product.deliveryTime.translation.customFields`, COALESCE(`product.deliveryTime.translation.customFields`,`product.deliveryTime.translation.customFields`) as `product.deliveryTime.customFields`, `product.deliveryTime.translation.createdAt`, `product.deliveryTime.translation.updatedAt`, `product.deliveryTime.translation.deliveryTimeId`, `product.deliveryTime.translation.languageId`, `product.cover`.`id` as `product.cover.id`, `product.cover`.`version_id` as `product.cover.versionId`, `product.cover`.`product_id` as `product.cover.productId`, `product.cover`.`product_version_id` as `product.cover.productVersionId`, `product.cover`.`media_id` as `product.cover.mediaId`, `product.cover`.`position` as `product.cover.position`, `product.cover.media`.`id` as `product.cover.media.id`, `product.cover.media`.`user_id` as `product.cover.media.userId`, `product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`, `product.cover.media`.`mime_type` as `product.cover.media.mimeType`, `product.cover.media`.`file_extension` as `product.cover.media.fileExtension`, `product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`, `product.cover.media`.`file_name` as `product.cover.media.fileName`, `product.cover.media`.`file_size` as `product.cover.media.fileSize`, `product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`, `product.cover.media`.`meta_data` as `product.cover.media.metaData`, `product.cover.media`.`private` as `product.cover.media.private`, `product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`, `product.cover.media`.`created_at` as `product.cover.media.createdAt`, `product.cover.media`.`updated_at` as `product.cover.media.updatedAt`, `product.cover.media.translation.title`, COALESCE(`product.cover.media.translation.title`,`product.cover.media.translation.title`) as `product.cover.media.title`, `product.cover.media.translation.alt`, COALESCE(`product.cover.media.translation.alt`,`product.cover.media.translation.alt`) as `product.cover.media.alt`, `product.cover.media.translation.customFields`, COALESCE(`product.cover.media.translation.customFields`,`product.cover.media.translation.customFields`) as `product.cover.media.customFields`, `product.cover.media.translation.createdAt`, `product.cover.media.translation.updatedAt`, `product.cover.media.translation.mediaId`, `product.cover.media.translation.languageId`, `product.cover`.`custom_fields` as `product.cover.customFields`, `product.cover`.`created_at` as `product.cover.createdAt`, `product.cover`.`updated_at` as `product.cover.updatedAt`, `product.translation.metaDescription`, `product.parent.translation.metaDescription`, COALESCE(`product.translation.metaDescription`,`product.parent.translation.metaDescription`,`product.translation.metaDescription`) as `product.metaDescription`, `product.translation.name`, `product.parent.translation.name`, COALESCE(`product.translation.name`,`product.parent.translation.name`,`product.translation.name`) as `product.name`, `product.translation.keywords`, `product.parent.translation.keywords`, COALESCE(`product.translation.keywords`,`product.parent.translation.keywords`,`product.translation.keywords`) as `product.keywords`, `product.translation.description`, `product.parent.translation.description`, COALESCE(`product.translation.description`,`product.parent.translation.description`,`product.translation.description`) as `product.description`, `product.translation.metaTitle`, `product.parent.translation.metaTitle`, COALESCE(`product.translation.metaTitle`,`product.parent.translation.metaTitle`,`product.translation.metaTitle`) as `product.metaTitle`, `product.translation.packUnit`, `product.parent.translation.packUnit`, COALESCE(`product.translation.packUnit`,`product.parent.translation.packUnit`,`product.translation.packUnit`) as `product.packUnit`, `product.translation.packUnitPlural`, `product.parent.translation.packUnitPlural`, COALESCE(`product.translation.packUnitPlural`,`product.parent.translation.packUnitPlural`,`product.translation.packUnitPlural`) as `product.packUnitPlural`, `product.translation.customSearchKeywords`, `product.parent.translation.customSearchKeywords`, COALESCE(`product.translation.customSearchKeywords`,`product.parent.translation.customSearchKeywords`,`product.translation.customSearchKeywords`) as `product.customSearchKeywords`, `product.translation.slotConfig`, `product.parent.translation.slotConfig`, COALESCE(`product.translation.slotConfig`,`product.parent.translation.slotConfig`,`product.translation.slotConfig`) as `product.slotConfig`, `product.translation.customFields`, `product.parent.translation.customFields`, COALESCE(`product.translation.customFields`,`product.parent.translation.customFields`,`product.translation.customFields`) as `product.customFields`, `product.translation.createdAt`, `product.parent.translation.createdAt`, `product.translation.updatedAt`, `product.parent.translation.updatedAt`, `product.translation.productId`, `product.parent.translation.productId`, `product.translation.languageId`, `product.parent.translation.languageId`, `product.translation.productVersionId`, `product.parent.translation.productVersionId` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN (SELECT `product.translation`.product_id, `product.translation`.product_version_id, `product.translation`.meta_description as `product.translation.metaDescription`, `product.translation`.name as `product.translation.name`, `product.translation`.keywords as `product.translation.keywords`, `product.translation`.description as `product.translation.description`, `product.translation`.meta_title as `product.translation.metaTitle`, `product.translation`.pack_unit as `product.translation.packUnit`, `product.translation`.pack_unit_plural as `product.translation.packUnitPlural`, `product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`, `product.translation`.slot_config as `product.translation.slotConfig`, `product.translation`.custom_fields as `product.translation.customFields`, `product.translation`.created_at as `product.translation.createdAt`, `product.translation`.updated_at as `product.translation.updatedAt`, `product.translation`.product_id as `product.translation.productId`, `product.translation`.language_id as `product.translation.languageId`, `product.translation`.product_version_id as `product.translation.productVersionId` FROM `product_translation` `product.translation` WHERE `product.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id` AND `product.product_translation`.product_version_id = `product`.version_id LEFT JOIN (SELECT `product.parent.translation`.product_id, `product.parent.translation`.product_version_id, `product.parent.translation`.meta_description as `product.parent.translation.metaDescription`, `product.parent.translation`.name as `product.parent.translation.name`, `product.parent.translation`.keywords as `product.parent.translation.keywords`, `product.parent.translation`.description as `product.parent.translation.description`, `product.parent.translation`.meta_title as `product.parent.translation.metaTitle`, `product.parent.translation`.pack_unit as `product.parent.translation.packUnit`, `product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`, `product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`, `product.parent.translation`.slot_config as `product.parent.translation.slotConfig`, `product.parent.translation`.custom_fields as `product.parent.translation.customFields`, `product.parent.translation`.created_at as `product.parent.translation.createdAt`, `product.parent.translation`.updated_at as `product.parent.translation.updatedAt`, `product.parent.translation`.product_id as `product.parent.translation.productId`, `product.parent.translation`.language_id as `product.parent.translation.languageId`, `product.parent.translation`.product_version_id as `product.parent.translation.productVersionId` FROM `product_translation` `product.parent.translation` WHERE `product.parent.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id` AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id` LEFT JOIN `unit` `product.unit` ON `product`.`unit` = `product.unit`.`id` LEFT JOIN `delivery_time` `product.deliveryTime` ON `product`.`deliveryTime` = `product.deliveryTime`.`id` LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id` AND `product`.`version_id` = `product.cover`.`version_id` LEFT JOIN (SELECT `product.unit.translation`.unit_id, `product.unit.translation`.short_code as `product.unit.translation.shortCode`, `product.unit.translation`.name as `product.unit.translation.name`, `product.unit.translation`.custom_fields as `product.unit.translation.customFields`, `product.unit.translation`.created_at as `product.unit.translation.createdAt`, `product.unit.translation`.updated_at as `product.unit.translation.updatedAt`, `product.unit.translation`.unit_id as `product.unit.translation.unitId`, `product.unit.translation`.language_id as `product.unit.translation.languageId` FROM `unit_translation` `product.unit.translation` WHERE `product.unit.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.unit.unit_translation` ON `product.unit.unit_translation`.`unit_id` = `product.unit`.`id` LEFT JOIN (SELECT `product.deliveryTime.translation`.delivery_time_id, `product.deliveryTime.translation`.name as `product.deliveryTime.translation.name`, `product.deliveryTime.translation`.custom_fields as `product.deliveryTime.translation.customFields`, `product.deliveryTime.translation`.created_at as `product.deliveryTime.translation.createdAt`, `product.deliveryTime.translation`.updated_at as `product.deliveryTime.translation.updatedAt`, `product.deliveryTime.translation`.delivery_time_id as `product.deliveryTime.translation.deliveryTimeId`, `product.deliveryTime.translation`.language_id as `product.deliveryTime.translation.languageId` FROM `delivery_time_translation` `product.deliveryTime.translation` WHERE `product.deliveryTime.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.deliveryTime.delivery_time_translation` ON `product.deliveryTime.delivery_time_translation`.`delivery_time_id` = `product.deliveryTime`.`id` LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id` LEFT JOIN (SELECT `product.cover.media.translation`.media_id, `product.cover.media.translation`.title as `product.cover.media.translation.title`, `product.cover.media.translation`.alt as `product.cover.media.translation.alt`, `product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`, `product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`, `product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`, `product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`, `product.cover.media.translation`.language_id as `product.cover.media.translation.languageId` FROM `media_translation` `product.cover.media.translation` WHERE `product.cover.media.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id` WHERE (`product`.`version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425) AND (`product`.`id` IN (0xFFF10829327947A597F7CF74F82F72D3));
array:37 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 242)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 316)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetch (line 148)"
4 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 93)"
5 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::read (line 195)"
6 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::read (line 133)"
7 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 36)"
8 => "Swag\PayPal\Util\Compatibility\SalesChannelRepositoryDecorator::search (line 207)"
9 => "Tds\MerwareDiscounts\Cart\Checkout\OverwrittenPriceCollector::getSalesChannelProduct (line 93)"
10 => "Tds\MerwareDiscounts\Cart\Checkout\OverwrittenPriceCollector::collect (line 103)"
11 => "Shopware\Core\Checkout\Cart\Processor::runProcessors (line 67)"
12 => "Shopware\Core\Checkout\Cart\Processor::Shopware\Core\Checkout\Cart\{closure} (line 59)"
13 => "Shopware\Core\Profiling\Profiler::trace (line 86)"
14 => "Shopware\Core\Checkout\Cart\Processor::process (line 132)"
15 => "Shopware\Core\Checkout\Cart\CartRuleLoader::Shopware\Core\Checkout\Cart\{closure} (line 59)"
16 => "Shopware\Core\Profiling\Profiler::trace (line 183)"
17 => "Shopware\Core\Checkout\Cart\CartRuleLoader::load (line 83)"
18 => "Shopware\Core\Checkout\Cart\CartRuleLoader::loadByToken (line 106)"
19 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::Shopware\Core\System\SalesChannel\Context\{closure} (line 59)"
20 => "Shopware\Core\Profiling\Profiler::trace (line 111)"
21 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::get (line 105)"
22 => "Shopware\Core\Framework\Routing\SalesChannelRequestContextResolver::resolve (line 38)"
23 => "Shopware\Core\Framework\Routing\ContextResolverListener::resolveContext (line 118)"
24 => "Symfony\Component\EventDispatcher\Debug\WrappedListener::__invoke (line 230)"
25 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
26 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
27 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
28 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
29 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
30 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
31 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 151)"
32 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
33 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
34 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
35 => "Shopware\Core\HttpKernel::doHandle (line 81)"
36 => "Shopware\Core\HttpKernel::handle (line 85)"
]
|
78 |
0.74 ms |
SELECT `product_price`.`id` as `product_price.id`, `product_price`.`version_id` as `product_price.versionId`, `product_price`.`product_id` as `product_price.productId`, `product_price`.`product_version_id` as `product_price.productVersionId`, `product_price`.`rule_id` as `product_price.ruleId`, `product_price`.`price` as `product_price.price`, `product_price`.`quantity_start` as `product_price.quantityStart`, `product_price`.`quantity_end` as `product_price.quantityEnd`, `product_price`.`custom_fields` as `product_price.customFields`, `product_price`.`created_at` as `product_price.createdAt`, `product_price`.`updated_at` as `product_price.updatedAt` FROM `product_price` WHERE (`product_price`.`version_id` = :version) AND ((`product_price`.`product_id` IN (:param_0a579399a22f42ec926a8ba34bf0db8c)))
SELECT `product_price`.`id` as `product_price.id`, `product_price`.`version_id` as `product_price.versionId`, `product_price`.`product_id` as `product_price.productId`, `product_price`.`product_version_id` as `product_price.productVersionId`, `product_price`.`rule_id` as `product_price.ruleId`, `product_price`.`price` as `product_price.price`, `product_price`.`quantity_start` as `product_price.quantityStart`, `product_price`.`quantity_end` as `product_price.quantityEnd`, `product_price`.`custom_fields` as `product_price.customFields`, `product_price`.`created_at` as `product_price.createdAt`, `product_price`.`updated_at` as `product_price.updatedAt` FROM `product_price` WHERE (`product_price`.`version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425) AND ((`product_price`.`product_id` IN (0xFFF10829327947A597F7CF74F82F72D3, 0xEF8B89F189BC43E0A6736F145CAF553A)));
array:41 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 242)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 316)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetch (line 148)"
4 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 503)"
5 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::loadOneToManyWithoutPagination (line 438)"
6 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::loadOneToMany (line 1210)"
7 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetchAssociations (line 152)"
8 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 93)"
9 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::read (line 195)"
10 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::read (line 133)"
11 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 36)"
12 => "Swag\PayPal\Util\Compatibility\SalesChannelRepositoryDecorator::search (line 207)"
13 => "Tds\MerwareDiscounts\Cart\Checkout\OverwrittenPriceCollector::getSalesChannelProduct (line 93)"
14 => "Tds\MerwareDiscounts\Cart\Checkout\OverwrittenPriceCollector::collect (line 103)"
15 => "Shopware\Core\Checkout\Cart\Processor::runProcessors (line 67)"
16 => "Shopware\Core\Checkout\Cart\Processor::Shopware\Core\Checkout\Cart\{closure} (line 59)"
17 => "Shopware\Core\Profiling\Profiler::trace (line 86)"
18 => "Shopware\Core\Checkout\Cart\Processor::process (line 132)"
19 => "Shopware\Core\Checkout\Cart\CartRuleLoader::Shopware\Core\Checkout\Cart\{closure} (line 59)"
20 => "Shopware\Core\Profiling\Profiler::trace (line 183)"
21 => "Shopware\Core\Checkout\Cart\CartRuleLoader::load (line 83)"
22 => "Shopware\Core\Checkout\Cart\CartRuleLoader::loadByToken (line 106)"
23 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::Shopware\Core\System\SalesChannel\Context\{closure} (line 59)"
24 => "Shopware\Core\Profiling\Profiler::trace (line 111)"
25 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::get (line 105)"
26 => "Shopware\Core\Framework\Routing\SalesChannelRequestContextResolver::resolve (line 38)"
27 => "Shopware\Core\Framework\Routing\ContextResolverListener::resolveContext (line 118)"
28 => "Symfony\Component\EventDispatcher\Debug\WrappedListener::__invoke (line 230)"
29 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
30 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
31 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
32 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
33 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
34 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
35 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 151)"
36 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
37 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
38 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
39 => "Shopware\Core\HttpKernel::doHandle (line 81)"
40 => "Shopware\Core\HttpKernel::handle (line 85)"
]
|
79 |
0.41 ms |
SELECT `product`.`id`, `product`.`product_number`, `product`.`auto_increment` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN `product_visibility` `product.visibilities` ON `product`.`visibilities` = `product.visibilities`.`product_id` AND `product`.version_id = `product.visibilities`.product_version_id WHERE (`product`.`version_id` = :version) AND ((((`product.visibilities`.`visibility` >= :param_e594d000bd594b4cbbe15101bab6cd4f) AND `product.visibilities`.`sales_channel_id` = :param_d25aec084b964d4284a5704ce803a0d5 AND IFNULL(`product`.`active`, `product.parent`.`active`) = :param_2f24389680584fdb90625e4ef583cc95))) AND (`product`.`id` IN (:ids)) GROUP BY `product`.`id`
SELECT `product`.`id`, `product`.`product_number`, `product`.`auto_increment` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN `product_visibility` `product.visibilities` ON `product`.`visibilities` = `product.visibilities`.`product_id` AND `product`.version_id = `product.visibilities`.product_version_id WHERE (`product`.`version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425) AND ((((`product.visibilities`.`visibility` >= 10) AND `product.visibilities`.`sales_channel_id` = 0x4EB9108BE4654CC9B140D14DE85579E9 AND IFNULL(`product`.`active`, `product.parent`.`active`) = 1))) AND (`product`.`id` IN (0x521A315C46AA4FAEAE2EC4F5521B425F)) GROUP BY `product`.`id`;
array:36 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 242)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 107)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntitySearcher::search (line 62)"
4 => "Shopware\Elasticsearch\Framework\DataAbstractionLayer\ElasticsearchEntitySearcher::search (line 216)"
5 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::doSearch (line 122)"
6 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 36)"
7 => "Swag\PayPal\Util\Compatibility\SalesChannelRepositoryDecorator::search (line 207)"
8 => "Tds\MerwareDiscounts\Cart\Checkout\OverwrittenPriceCollector::getSalesChannelProduct (line 93)"
9 => "Tds\MerwareDiscounts\Cart\Checkout\OverwrittenPriceCollector::collect (line 103)"
10 => "Shopware\Core\Checkout\Cart\Processor::runProcessors (line 67)"
11 => "Shopware\Core\Checkout\Cart\Processor::Shopware\Core\Checkout\Cart\{closure} (line 59)"
12 => "Shopware\Core\Profiling\Profiler::trace (line 86)"
13 => "Shopware\Core\Checkout\Cart\Processor::process (line 132)"
14 => "Shopware\Core\Checkout\Cart\CartRuleLoader::Shopware\Core\Checkout\Cart\{closure} (line 59)"
15 => "Shopware\Core\Profiling\Profiler::trace (line 183)"
16 => "Shopware\Core\Checkout\Cart\CartRuleLoader::load (line 83)"
17 => "Shopware\Core\Checkout\Cart\CartRuleLoader::loadByToken (line 106)"
18 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::Shopware\Core\System\SalesChannel\Context\{closure} (line 59)"
19 => "Shopware\Core\Profiling\Profiler::trace (line 111)"
20 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::get (line 105)"
21 => "Shopware\Core\Framework\Routing\SalesChannelRequestContextResolver::resolve (line 38)"
22 => "Shopware\Core\Framework\Routing\ContextResolverListener::resolveContext (line 118)"
23 => "Symfony\Component\EventDispatcher\Debug\WrappedListener::__invoke (line 230)"
24 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
25 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
26 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
27 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
28 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
29 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
30 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 151)"
31 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
32 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
33 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
34 => "Shopware\Core\HttpKernel::doHandle (line 81)"
35 => "Shopware\Core\HttpKernel::handle (line 85)"
]
|
80 |
9.33 ms |
SELECT `product`.`id` as `product.id`, `product`.`version_id` as `product.versionId`, `product`.`parent_id` as `product.parentId`, `product`.`parent_version_id` as `product.parentVersionId`, COALESCE(`product`.`product_manufacturer_id`, `product.parent`.`product_manufacturer_id`) as `product.manufacturerId`, COALESCE(`product`.`product_manufacturer_version_id`, `product.parent`.`product_manufacturer_version_id`) as `product.productManufacturerVersionId`, COALESCE(`product`.`unit_id`, `product.parent`.`unit_id`) as `product.unitId`, COALESCE(`product`.`tax_id`, `product.parent`.`tax_id`) as `product.taxId`, COALESCE(`product`.`product_media_id`, `product.parent`.`product_media_id`) as `product.coverId`, COALESCE(`product`.`product_media_version_id`, `product.parent`.`product_media_version_id`) as `product.productMediaVersionId`, COALESCE(`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`) as `product.deliveryTimeId`, COALESCE(`product`.`product_feature_set_id`, `product.parent`.`product_feature_set_id`) as `product.featureSetId`, COALESCE(`product`.`canonical_product_id`, `product.parent`.`canonical_product_id`) as `product.canonicalProductId`, COALESCE(`product`.`cms_page_id`, `product.parent`.`cms_page_id`) as `product.cmsPageId`, COALESCE(`product`.`cms_page_version_id`, `product.parent`.`cms_page_version_id`) as `product.cmsPageVersionId`, `product.parent`.`price` as `product.price.inherited`, COALESCE(`product`.`price`, `product.parent`.`price`) as `product.price`, `product`.`product_number` as `product.productNumber`, `product`.`stock` as `product.stock`, COALESCE(`product`.`restock_time`, `product.parent`.`restock_time`) as `product.restockTime`, `product`.`auto_increment` as `product.autoIncrement`, COALESCE(`product`.`active`, `product.parent`.`active`) as `product.active`, `product`.`available_stock` as `product.availableStock`, `product`.`available` as `product.available`, COALESCE(`product`.`is_closeout`, `product.parent`.`is_closeout`) as `product.isCloseout`, `product`.`display_group` as `product.displayGroup`, `product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`, COALESCE(`product`.`configurator_group_config`, `product.parent`.`configurator_group_config`) as `product.configuratorGroupConfig`, COALESCE(`product`.`main_variant_id`, `product.parent`.`main_variant_id`) as `product.mainVariantId`, COALESCE(`product`.`display_parent`, `product.parent`.`display_parent`) as `product.displayParent`, `product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`, COALESCE(`product`.`variant_listing_config`, `product.parent`.`variant_listing_config`) as `product.variantListingConfig`, `product`.`variant_restrictions` as `product.variantRestrictions`, COALESCE(`product`.`manufacturer_number`, `product.parent`.`manufacturer_number`) as `product.manufacturerNumber`, COALESCE(`product`.`ean`, `product.parent`.`ean`) as `product.ean`, COALESCE(`product`.`purchase_steps`, `product.parent`.`purchase_steps`) as `product.purchaseSteps`, COALESCE(`product`.`max_purchase`, `product.parent`.`max_purchase`) as `product.maxPurchase`, COALESCE(`product`.`min_purchase`, `product.parent`.`min_purchase`) as `product.minPurchase`, COALESCE(`product`.`purchase_unit`, `product.parent`.`purchase_unit`) as `product.purchaseUnit`, COALESCE(`product`.`reference_unit`, `product.parent`.`reference_unit`) as `product.referenceUnit`, COALESCE(`product`.`shipping_free`, `product.parent`.`shipping_free`) as `product.shippingFree`, `product.parent`.`purchase_prices` as `product.purchasePrices.inherited`, COALESCE(`product`.`purchase_prices`, `product.parent`.`purchase_prices`) as `product.purchasePrices`, COALESCE(`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`) as `product.markAsTopseller`, COALESCE(`product`.`weight`, `product.parent`.`weight`) as `product.weight`, COALESCE(`product`.`width`, `product.parent`.`width`) as `product.width`, COALESCE(`product`.`height`, `product.parent`.`height`) as `product.height`, COALESCE(`product`.`length`, `product.parent`.`length`) as `product.length`, COALESCE(`product`.`release_date`, `product.parent`.`release_date`) as `product.releaseDate`, COALESCE(`product`.`rating_average`, `product.parent`.`rating_average`) as `product.ratingAverage`, `product.parent`.`category_tree` as `product.categoryTree.inherited`, COALESCE(`product`.`category_tree`, `product.parent`.`category_tree`) as `product.categoryTree`, `product.parent`.`property_ids` as `product.propertyIds.inherited`, COALESCE(`product`.`property_ids`, `product.parent`.`property_ids`) as `product.propertyIds`, `product.parent`.`option_ids` as `product.optionIds.inherited`, COALESCE(`product`.`option_ids`, `product.parent`.`option_ids`) as `product.optionIds`, `product.parent`.`stream_ids` as `product.streamIds.inherited`, COALESCE(`product`.`stream_ids`, `product.parent`.`stream_ids`) as `product.streamIds`, `product.parent`.`tag_ids` as `product.tagIds.inherited`, COALESCE(`product`.`tag_ids`, `product.parent`.`tag_ids`) as `product.tagIds`, `product.parent`.`category_ids` as `product.categoryIds.inherited`, COALESCE(`product`.`category_ids`, `product.parent`.`category_ids`) as `product.categoryIds`, `product`.`child_count` as `product.childCount`, COALESCE(`product`.`custom_field_set_selection_active`, `product.parent`.`custom_field_set_selection_active`) as `product.customFieldSetSelectionActive`, `product`.`sales` as `product.sales`, `product`.`states` as `product.states`, `product.tax`.`id` as `product.tax.id`, `product.tax`.`tax_rate` as `product.tax.taxRate`, `product.tax`.`name` as `product.tax.name`, `product.tax`.`position` as `product.tax.position`, `product.tax`.`custom_fields` as `product.tax.customFields`, `product.tax`.`created_at` as `product.tax.createdAt`, `product.tax`.`updated_at` as `product.tax.updatedAt`, `product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`, COALESCE(`product`.`cheapest_price`, `product.parent`.`cheapest_price`) as `product.cheapestPrice`, `product`.`created_at` as `product.createdAt`, `product`.`updated_at` as `product.updatedAt`, `product.unit`.`id` as `product.unit.id`, `product.unit`.`created_at` as `product.unit.createdAt`, `product.unit`.`updated_at` as `product.unit.updatedAt`, `product.unit.translation.shortCode`, COALESCE(`product.unit.translation.shortCode`,`product.unit.translation.shortCode`) as `product.unit.shortCode`, `product.unit.translation.name`, COALESCE(`product.unit.translation.name`,`product.unit.translation.name`) as `product.unit.name`, `product.unit.translation.customFields`, COALESCE(`product.unit.translation.customFields`,`product.unit.translation.customFields`) as `product.unit.customFields`, `product.unit.translation.createdAt`, `product.unit.translation.updatedAt`, `product.unit.translation.unitId`, `product.unit.translation.languageId`, `product.deliveryTime`.`id` as `product.deliveryTime.id`, `product.deliveryTime`.`min` as `product.deliveryTime.min`, `product.deliveryTime`.`max` as `product.deliveryTime.max`, `product.deliveryTime`.`unit` as `product.deliveryTime.unit`, `product.deliveryTime`.`created_at` as `product.deliveryTime.createdAt`, `product.deliveryTime`.`updated_at` as `product.deliveryTime.updatedAt`, `product.deliveryTime.translation.name`, COALESCE(`product.deliveryTime.translation.name`,`product.deliveryTime.translation.name`) as `product.deliveryTime.name`, `product.deliveryTime.translation.customFields`, COALESCE(`product.deliveryTime.translation.customFields`,`product.deliveryTime.translation.customFields`) as `product.deliveryTime.customFields`, `product.deliveryTime.translation.createdAt`, `product.deliveryTime.translation.updatedAt`, `product.deliveryTime.translation.deliveryTimeId`, `product.deliveryTime.translation.languageId`, `product.cover`.`id` as `product.cover.id`, `product.cover`.`version_id` as `product.cover.versionId`, `product.cover`.`product_id` as `product.cover.productId`, `product.cover`.`product_version_id` as `product.cover.productVersionId`, `product.cover`.`media_id` as `product.cover.mediaId`, `product.cover`.`position` as `product.cover.position`, `product.cover.media`.`id` as `product.cover.media.id`, `product.cover.media`.`user_id` as `product.cover.media.userId`, `product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`, `product.cover.media`.`mime_type` as `product.cover.media.mimeType`, `product.cover.media`.`file_extension` as `product.cover.media.fileExtension`, `product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`, `product.cover.media`.`file_name` as `product.cover.media.fileName`, `product.cover.media`.`file_size` as `product.cover.media.fileSize`, `product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`, `product.cover.media`.`meta_data` as `product.cover.media.metaData`, `product.cover.media`.`private` as `product.cover.media.private`, `product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`, `product.cover.media`.`created_at` as `product.cover.media.createdAt`, `product.cover.media`.`updated_at` as `product.cover.media.updatedAt`, `product.cover.media.translation.title`, COALESCE(`product.cover.media.translation.title`,`product.cover.media.translation.title`) as `product.cover.media.title`, `product.cover.media.translation.alt`, COALESCE(`product.cover.media.translation.alt`,`product.cover.media.translation.alt`) as `product.cover.media.alt`, `product.cover.media.translation.customFields`, COALESCE(`product.cover.media.translation.customFields`,`product.cover.media.translation.customFields`) as `product.cover.media.customFields`, `product.cover.media.translation.createdAt`, `product.cover.media.translation.updatedAt`, `product.cover.media.translation.mediaId`, `product.cover.media.translation.languageId`, `product.cover`.`custom_fields` as `product.cover.customFields`, `product.cover`.`created_at` as `product.cover.createdAt`, `product.cover`.`updated_at` as `product.cover.updatedAt`, `product.translation.metaDescription`, `product.parent.translation.metaDescription`, COALESCE(`product.translation.metaDescription`,`product.parent.translation.metaDescription`,`product.translation.metaDescription`) as `product.metaDescription`, `product.translation.name`, `product.parent.translation.name`, COALESCE(`product.translation.name`,`product.parent.translation.name`,`product.translation.name`) as `product.name`, `product.translation.keywords`, `product.parent.translation.keywords`, COALESCE(`product.translation.keywords`,`product.parent.translation.keywords`,`product.translation.keywords`) as `product.keywords`, `product.translation.description`, `product.parent.translation.description`, COALESCE(`product.translation.description`,`product.parent.translation.description`,`product.translation.description`) as `product.description`, `product.translation.metaTitle`, `product.parent.translation.metaTitle`, COALESCE(`product.translation.metaTitle`,`product.parent.translation.metaTitle`,`product.translation.metaTitle`) as `product.metaTitle`, `product.translation.packUnit`, `product.parent.translation.packUnit`, COALESCE(`product.translation.packUnit`,`product.parent.translation.packUnit`,`product.translation.packUnit`) as `product.packUnit`, `product.translation.packUnitPlural`, `product.parent.translation.packUnitPlural`, COALESCE(`product.translation.packUnitPlural`,`product.parent.translation.packUnitPlural`,`product.translation.packUnitPlural`) as `product.packUnitPlural`, `product.translation.customSearchKeywords`, `product.parent.translation.customSearchKeywords`, COALESCE(`product.translation.customSearchKeywords`,`product.parent.translation.customSearchKeywords`,`product.translation.customSearchKeywords`) as `product.customSearchKeywords`, `product.translation.slotConfig`, `product.parent.translation.slotConfig`, COALESCE(`product.translation.slotConfig`,`product.parent.translation.slotConfig`,`product.translation.slotConfig`) as `product.slotConfig`, `product.translation.customFields`, `product.parent.translation.customFields`, COALESCE(`product.translation.customFields`,`product.parent.translation.customFields`,`product.translation.customFields`) as `product.customFields`, `product.translation.createdAt`, `product.parent.translation.createdAt`, `product.translation.updatedAt`, `product.parent.translation.updatedAt`, `product.translation.productId`, `product.parent.translation.productId`, `product.translation.languageId`, `product.parent.translation.languageId`, `product.translation.productVersionId`, `product.parent.translation.productVersionId` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN (SELECT `product.translation`.product_id, `product.translation`.product_version_id, `product.translation`.meta_description as `product.translation.metaDescription`, `product.translation`.name as `product.translation.name`, `product.translation`.keywords as `product.translation.keywords`, `product.translation`.description as `product.translation.description`, `product.translation`.meta_title as `product.translation.metaTitle`, `product.translation`.pack_unit as `product.translation.packUnit`, `product.translation`.pack_unit_plural as `product.translation.packUnitPlural`, `product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`, `product.translation`.slot_config as `product.translation.slotConfig`, `product.translation`.custom_fields as `product.translation.customFields`, `product.translation`.created_at as `product.translation.createdAt`, `product.translation`.updated_at as `product.translation.updatedAt`, `product.translation`.product_id as `product.translation.productId`, `product.translation`.language_id as `product.translation.languageId`, `product.translation`.product_version_id as `product.translation.productVersionId` FROM `product_translation` `product.translation` WHERE `product.translation`.language_id = :languageId) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id` AND `product.product_translation`.product_version_id = `product`.version_id LEFT JOIN (SELECT `product.parent.translation`.product_id, `product.parent.translation`.product_version_id, `product.parent.translation`.meta_description as `product.parent.translation.metaDescription`, `product.parent.translation`.name as `product.parent.translation.name`, `product.parent.translation`.keywords as `product.parent.translation.keywords`, `product.parent.translation`.description as `product.parent.translation.description`, `product.parent.translation`.meta_title as `product.parent.translation.metaTitle`, `product.parent.translation`.pack_unit as `product.parent.translation.packUnit`, `product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`, `product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`, `product.parent.translation`.slot_config as `product.parent.translation.slotConfig`, `product.parent.translation`.custom_fields as `product.parent.translation.customFields`, `product.parent.translation`.created_at as `product.parent.translation.createdAt`, `product.parent.translation`.updated_at as `product.parent.translation.updatedAt`, `product.parent.translation`.product_id as `product.parent.translation.productId`, `product.parent.translation`.language_id as `product.parent.translation.languageId`, `product.parent.translation`.product_version_id as `product.parent.translation.productVersionId` FROM `product_translation` `product.parent.translation` WHERE `product.parent.translation`.language_id = :languageId) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id` AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id` LEFT JOIN `unit` `product.unit` ON `product`.`unit` = `product.unit`.`id` LEFT JOIN `delivery_time` `product.deliveryTime` ON `product`.`deliveryTime` = `product.deliveryTime`.`id` LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id` AND `product`.`version_id` = `product.cover`.`version_id` LEFT JOIN (SELECT `product.unit.translation`.unit_id, `product.unit.translation`.short_code as `product.unit.translation.shortCode`, `product.unit.translation`.name as `product.unit.translation.name`, `product.unit.translation`.custom_fields as `product.unit.translation.customFields`, `product.unit.translation`.created_at as `product.unit.translation.createdAt`, `product.unit.translation`.updated_at as `product.unit.translation.updatedAt`, `product.unit.translation`.unit_id as `product.unit.translation.unitId`, `product.unit.translation`.language_id as `product.unit.translation.languageId` FROM `unit_translation` `product.unit.translation` WHERE `product.unit.translation`.language_id = :languageId) `product.unit.unit_translation` ON `product.unit.unit_translation`.`unit_id` = `product.unit`.`id` LEFT JOIN (SELECT `product.deliveryTime.translation`.delivery_time_id, `product.deliveryTime.translation`.name as `product.deliveryTime.translation.name`, `product.deliveryTime.translation`.custom_fields as `product.deliveryTime.translation.customFields`, `product.deliveryTime.translation`.created_at as `product.deliveryTime.translation.createdAt`, `product.deliveryTime.translation`.updated_at as `product.deliveryTime.translation.updatedAt`, `product.deliveryTime.translation`.delivery_time_id as `product.deliveryTime.translation.deliveryTimeId`, `product.deliveryTime.translation`.language_id as `product.deliveryTime.translation.languageId` FROM `delivery_time_translation` `product.deliveryTime.translation` WHERE `product.deliveryTime.translation`.language_id = :languageId) `product.deliveryTime.delivery_time_translation` ON `product.deliveryTime.delivery_time_translation`.`delivery_time_id` = `product.deliveryTime`.`id` LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id` LEFT JOIN (SELECT `product.cover.media.translation`.media_id, `product.cover.media.translation`.title as `product.cover.media.translation.title`, `product.cover.media.translation`.alt as `product.cover.media.translation.alt`, `product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`, `product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`, `product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`, `product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`, `product.cover.media.translation`.language_id as `product.cover.media.translation.languageId` FROM `media_translation` `product.cover.media.translation` WHERE `product.cover.media.translation`.language_id = :languageId) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id` WHERE (`product`.`version_id` = :version) AND (`product`.`id` IN (:ids))
SELECT
`product`.`id` as `product.id`,
`product`.`version_id` as `product.versionId`,
`product`.`parent_id` as `product.parentId`,
`product`.`parent_version_id` as `product.parentVersionId`,
COALESCE(
`product`.`product_manufacturer_id`,
`product.parent`.`product_manufacturer_id`
) as `product.manufacturerId`,
COALESCE(
`product`.`product_manufacturer_version_id`,
`product.parent`.`product_manufacturer_version_id`
) as `product.productManufacturerVersionId`,
COALESCE(
`product`.`unit_id`, `product.parent`.`unit_id`
) as `product.unitId`,
COALESCE(
`product`.`tax_id`, `product.parent`.`tax_id`
) as `product.taxId`,
COALESCE(
`product`.`product_media_id`, `product.parent`.`product_media_id`
) as `product.coverId`,
COALESCE(
`product`.`product_media_version_id`,
`product.parent`.`product_media_version_id`
) as `product.productMediaVersionId`,
COALESCE(
`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`
) as `product.deliveryTimeId`,
COALESCE(
`product`.`product_feature_set_id`,
`product.parent`.`product_feature_set_id`
) as `product.featureSetId`,
COALESCE(
`product`.`canonical_product_id`,
`product.parent`.`canonical_product_id`
) as `product.canonicalProductId`,
COALESCE(
`product`.`cms_page_id`, `product.parent`.`cms_page_id`
) as `product.cmsPageId`,
COALESCE(
`product`.`cms_page_version_id`,
`product.parent`.`cms_page_version_id`
) as `product.cmsPageVersionId`,
`product.parent`.`price` as `product.price.inherited`,
COALESCE(
`product`.`price`, `product.parent`.`price`
) as `product.price`,
`product`.`product_number` as `product.productNumber`,
`product`.`stock` as `product.stock`,
COALESCE(
`product`.`restock_time`, `product.parent`.`restock_time`
) as `product.restockTime`,
`product`.`auto_increment` as `product.autoIncrement`,
COALESCE(
`product`.`active`, `product.parent`.`active`
) as `product.active`,
`product`.`available_stock` as `product.availableStock`,
`product`.`available` as `product.available`,
COALESCE(
`product`.`is_closeout`, `product.parent`.`is_closeout`
) as `product.isCloseout`,
`product`.`display_group` as `product.displayGroup`,
`product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`,
COALESCE(
`product`.`configurator_group_config`,
`product.parent`.`configurator_group_config`
) as `product.configuratorGroupConfig`,
COALESCE(
`product`.`main_variant_id`, `product.parent`.`main_variant_id`
) as `product.mainVariantId`,
COALESCE(
`product`.`display_parent`, `product.parent`.`display_parent`
) as `product.displayParent`,
`product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`,
COALESCE(
`product`.`variant_listing_config`,
`product.parent`.`variant_listing_config`
) as `product.variantListingConfig`,
`product`.`variant_restrictions` as `product.variantRestrictions`,
COALESCE(
`product`.`manufacturer_number`,
`product.parent`.`manufacturer_number`
) as `product.manufacturerNumber`,
COALESCE(
`product`.`ean`, `product.parent`.`ean`
) as `product.ean`,
COALESCE(
`product`.`purchase_steps`, `product.parent`.`purchase_steps`
) as `product.purchaseSteps`,
COALESCE(
`product`.`max_purchase`, `product.parent`.`max_purchase`
) as `product.maxPurchase`,
COALESCE(
`product`.`min_purchase`, `product.parent`.`min_purchase`
) as `product.minPurchase`,
COALESCE(
`product`.`purchase_unit`, `product.parent`.`purchase_unit`
) as `product.purchaseUnit`,
COALESCE(
`product`.`reference_unit`, `product.parent`.`reference_unit`
) as `product.referenceUnit`,
COALESCE(
`product`.`shipping_free`, `product.parent`.`shipping_free`
) as `product.shippingFree`,
`product.parent`.`purchase_prices` as `product.purchasePrices.inherited`,
COALESCE(
`product`.`purchase_prices`, `product.parent`.`purchase_prices`
) as `product.purchasePrices`,
COALESCE(
`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`
) as `product.markAsTopseller`,
COALESCE(
`product`.`weight`, `product.parent`.`weight`
) as `product.weight`,
COALESCE(
`product`.`width`, `product.parent`.`width`
) as `product.width`,
COALESCE(
`product`.`height`, `product.parent`.`height`
) as `product.height`,
COALESCE(
`product`.`length`, `product.parent`.`length`
) as `product.length`,
COALESCE(
`product`.`release_date`, `product.parent`.`release_date`
) as `product.releaseDate`,
COALESCE(
`product`.`rating_average`, `product.parent`.`rating_average`
) as `product.ratingAverage`,
`product.parent`.`category_tree` as `product.categoryTree.inherited`,
COALESCE(
`product`.`category_tree`, `product.parent`.`category_tree`
) as `product.categoryTree`,
`product.parent`.`property_ids` as `product.propertyIds.inherited`,
COALESCE(
`product`.`property_ids`, `product.parent`.`property_ids`
) as `product.propertyIds`,
`product.parent`.`option_ids` as `product.optionIds.inherited`,
COALESCE(
`product`.`option_ids`, `product.parent`.`option_ids`
) as `product.optionIds`,
`product.parent`.`stream_ids` as `product.streamIds.inherited`,
COALESCE(
`product`.`stream_ids`, `product.parent`.`stream_ids`
) as `product.streamIds`,
`product.parent`.`tag_ids` as `product.tagIds.inherited`,
COALESCE(
`product`.`tag_ids`, `product.parent`.`tag_ids`
) as `product.tagIds`,
`product.parent`.`category_ids` as `product.categoryIds.inherited`,
COALESCE(
`product`.`category_ids`, `product.parent`.`category_ids`
) as `product.categoryIds`,
`product`.`child_count` as `product.childCount`,
COALESCE(
`product`.`custom_field_set_selection_active`,
`product.parent`.`custom_field_set_selection_active`
) as `product.customFieldSetSelectionActive`,
`product`.`sales` as `product.sales`,
`product`.`states` as `product.states`,
`product.tax`.`id` as `product.tax.id`,
`product.tax`.`tax_rate` as `product.tax.taxRate`,
`product.tax`.`name` as `product.tax.name`,
`product.tax`.`position` as `product.tax.position`,
`product.tax`.`custom_fields` as `product.tax.customFields`,
`product.tax`.`created_at` as `product.tax.createdAt`,
`product.tax`.`updated_at` as `product.tax.updatedAt`,
`product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`,
COALESCE(
`product`.`cheapest_price`, `product.parent`.`cheapest_price`
) as `product.cheapestPrice`,
`product`.`created_at` as `product.createdAt`,
`product`.`updated_at` as `product.updatedAt`,
`product.unit`.`id` as `product.unit.id`,
`product.unit`.`created_at` as `product.unit.createdAt`,
`product.unit`.`updated_at` as `product.unit.updatedAt`,
`product.unit.translation.shortCode`,
COALESCE(
`product.unit.translation.shortCode`,
`product.unit.translation.shortCode`
) as `product.unit.shortCode`,
`product.unit.translation.name`,
COALESCE(
`product.unit.translation.name`,
`product.unit.translation.name`
) as `product.unit.name`,
`product.unit.translation.customFields`,
COALESCE(
`product.unit.translation.customFields`,
`product.unit.translation.customFields`
) as `product.unit.customFields`,
`product.unit.translation.createdAt`,
`product.unit.translation.updatedAt`,
`product.unit.translation.unitId`,
`product.unit.translation.languageId`,
`product.deliveryTime`.`id` as `product.deliveryTime.id`,
`product.deliveryTime`.`min` as `product.deliveryTime.min`,
`product.deliveryTime`.`max` as `product.deliveryTime.max`,
`product.deliveryTime`.`unit` as `product.deliveryTime.unit`,
`product.deliveryTime`.`created_at` as `product.deliveryTime.createdAt`,
`product.deliveryTime`.`updated_at` as `product.deliveryTime.updatedAt`,
`product.deliveryTime.translation.name`,
COALESCE(
`product.deliveryTime.translation.name`,
`product.deliveryTime.translation.name`
) as `product.deliveryTime.name`,
`product.deliveryTime.translation.customFields`,
COALESCE(
`product.deliveryTime.translation.customFields`,
`product.deliveryTime.translation.customFields`
) as `product.deliveryTime.customFields`,
`product.deliveryTime.translation.createdAt`,
`product.deliveryTime.translation.updatedAt`,
`product.deliveryTime.translation.deliveryTimeId`,
`product.deliveryTime.translation.languageId`,
`product.cover`.`id` as `product.cover.id`,
`product.cover`.`version_id` as `product.cover.versionId`,
`product.cover`.`product_id` as `product.cover.productId`,
`product.cover`.`product_version_id` as `product.cover.productVersionId`,
`product.cover`.`media_id` as `product.cover.mediaId`,
`product.cover`.`position` as `product.cover.position`,
`product.cover.media`.`id` as `product.cover.media.id`,
`product.cover.media`.`user_id` as `product.cover.media.userId`,
`product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`,
`product.cover.media`.`mime_type` as `product.cover.media.mimeType`,
`product.cover.media`.`file_extension` as `product.cover.media.fileExtension`,
`product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`,
`product.cover.media`.`file_name` as `product.cover.media.fileName`,
`product.cover.media`.`file_size` as `product.cover.media.fileSize`,
`product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`,
`product.cover.media`.`meta_data` as `product.cover.media.metaData`,
`product.cover.media`.`private` as `product.cover.media.private`,
`product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`,
`product.cover.media`.`created_at` as `product.cover.media.createdAt`,
`product.cover.media`.`updated_at` as `product.cover.media.updatedAt`,
`product.cover.media.translation.title`,
COALESCE(
`product.cover.media.translation.title`,
`product.cover.media.translation.title`
) as `product.cover.media.title`,
`product.cover.media.translation.alt`,
COALESCE(
`product.cover.media.translation.alt`,
`product.cover.media.translation.alt`
) as `product.cover.media.alt`,
`product.cover.media.translation.customFields`,
COALESCE(
`product.cover.media.translation.customFields`,
`product.cover.media.translation.customFields`
) as `product.cover.media.customFields`,
`product.cover.media.translation.createdAt`,
`product.cover.media.translation.updatedAt`,
`product.cover.media.translation.mediaId`,
`product.cover.media.translation.languageId`,
`product.cover`.`custom_fields` as `product.cover.customFields`,
`product.cover`.`created_at` as `product.cover.createdAt`,
`product.cover`.`updated_at` as `product.cover.updatedAt`,
`product.translation.metaDescription`,
`product.parent.translation.metaDescription`,
COALESCE(
`product.translation.metaDescription`,
`product.parent.translation.metaDescription`,
`product.translation.metaDescription`
) as `product.metaDescription`,
`product.translation.name`,
`product.parent.translation.name`,
COALESCE(
`product.translation.name`, `product.parent.translation.name`,
`product.translation.name`
) as `product.name`,
`product.translation.keywords`,
`product.parent.translation.keywords`,
COALESCE(
`product.translation.keywords`,
`product.parent.translation.keywords`,
`product.translation.keywords`
) as `product.keywords`,
`product.translation.description`,
`product.parent.translation.description`,
COALESCE(
`product.translation.description`,
`product.parent.translation.description`,
`product.translation.description`
) as `product.description`,
`product.translation.metaTitle`,
`product.parent.translation.metaTitle`,
COALESCE(
`product.translation.metaTitle`,
`product.parent.translation.metaTitle`,
`product.translation.metaTitle`
) as `product.metaTitle`,
`product.translation.packUnit`,
`product.parent.translation.packUnit`,
COALESCE(
`product.translation.packUnit`,
`product.parent.translation.packUnit`,
`product.translation.packUnit`
) as `product.packUnit`,
`product.translation.packUnitPlural`,
`product.parent.translation.packUnitPlural`,
COALESCE(
`product.translation.packUnitPlural`,
`product.parent.translation.packUnitPlural`,
`product.translation.packUnitPlural`
) as `product.packUnitPlural`,
`product.translation.customSearchKeywords`,
`product.parent.translation.customSearchKeywords`,
COALESCE(
`product.translation.customSearchKeywords`,
`product.parent.translation.customSearchKeywords`,
`product.translation.customSearchKeywords`
) as `product.customSearchKeywords`,
`product.translation.slotConfig`,
`product.parent.translation.slotConfig`,
COALESCE(
`product.translation.slotConfig`,
`product.parent.translation.slotConfig`,
`product.translation.slotConfig`
) as `product.slotConfig`,
`product.translation.customFields`,
`product.parent.translation.customFields`,
COALESCE(
`product.translation.customFields`,
`product.parent.translation.customFields`,
`product.translation.customFields`
) as `product.customFields`,
`product.translation.createdAt`,
`product.parent.translation.createdAt`,
`product.translation.updatedAt`,
`product.parent.translation.updatedAt`,
`product.translation.productId`,
`product.parent.translation.productId`,
`product.translation.languageId`,
`product.parent.translation.languageId`,
`product.translation.productVersionId`,
`product.parent.translation.productVersionId`
FROM
`product`
LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id`
AND `product`.`version_id` = `product.parent`.`version_id`
LEFT JOIN (
SELECT
`product.translation`.product_id,
`product.translation`.product_version_id,
`product.translation`.meta_description as `product.translation.metaDescription`,
`product.translation`.name as `product.translation.name`,
`product.translation`.keywords as `product.translation.keywords`,
`product.translation`.description as `product.translation.description`,
`product.translation`.meta_title as `product.translation.metaTitle`,
`product.translation`.pack_unit as `product.translation.packUnit`,
`product.translation`.pack_unit_plural as `product.translation.packUnitPlural`,
`product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`,
`product.translation`.slot_config as `product.translation.slotConfig`,
`product.translation`.custom_fields as `product.translation.customFields`,
`product.translation`.created_at as `product.translation.createdAt`,
`product.translation`.updated_at as `product.translation.updatedAt`,
`product.translation`.product_id as `product.translation.productId`,
`product.translation`.language_id as `product.translation.languageId`,
`product.translation`.product_version_id as `product.translation.productVersionId`
FROM
`product_translation` `product.translation`
WHERE
`product.translation`.language_id = : languageId
) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id`
AND `product.product_translation`.product_version_id = `product`.version_id
LEFT JOIN (
SELECT
`product.parent.translation`.product_id,
`product.parent.translation`.product_version_id,
`product.parent.translation`.meta_description as `product.parent.translation.metaDescription`,
`product.parent.translation`.name as `product.parent.translation.name`,
`product.parent.translation`.keywords as `product.parent.translation.keywords`,
`product.parent.translation`.description as `product.parent.translation.description`,
`product.parent.translation`.meta_title as `product.parent.translation.metaTitle`,
`product.parent.translation`.pack_unit as `product.parent.translation.packUnit`,
`product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`,
`product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`,
`product.parent.translation`.slot_config as `product.parent.translation.slotConfig`,
`product.parent.translation`.custom_fields as `product.parent.translation.customFields`,
`product.parent.translation`.created_at as `product.parent.translation.createdAt`,
`product.parent.translation`.updated_at as `product.parent.translation.updatedAt`,
`product.parent.translation`.product_id as `product.parent.translation.productId`,
`product.parent.translation`.language_id as `product.parent.translation.languageId`,
`product.parent.translation`.product_version_id as `product.parent.translation.productVersionId`
FROM
`product_translation` `product.parent.translation`
WHERE
`product.parent.translation`.language_id = : languageId
) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id`
AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id
LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id`
LEFT JOIN `unit` `product.unit` ON `product`.`unit` = `product.unit`.`id`
LEFT JOIN `delivery_time` `product.deliveryTime` ON `product`.`deliveryTime` = `product.deliveryTime`.`id`
LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id`
AND `product`.`version_id` = `product.cover`.`version_id`
LEFT JOIN (
SELECT
`product.unit.translation`.unit_id,
`product.unit.translation`.short_code as `product.unit.translation.shortCode`,
`product.unit.translation`.name as `product.unit.translation.name`,
`product.unit.translation`.custom_fields as `product.unit.translation.customFields`,
`product.unit.translation`.created_at as `product.unit.translation.createdAt`,
`product.unit.translation`.updated_at as `product.unit.translation.updatedAt`,
`product.unit.translation`.unit_id as `product.unit.translation.unitId`,
`product.unit.translation`.language_id as `product.unit.translation.languageId`
FROM
`unit_translation` `product.unit.translation`
WHERE
`product.unit.translation`.language_id = : languageId
) `product.unit.unit_translation` ON `product.unit.unit_translation`.`unit_id` = `product.unit`.`id`
LEFT JOIN (
SELECT
`product.deliveryTime.translation`.delivery_time_id,
`product.deliveryTime.translation`.name as `product.deliveryTime.translation.name`,
`product.deliveryTime.translation`.custom_fields as `product.deliveryTime.translation.customFields`,
`product.deliveryTime.translation`.created_at as `product.deliveryTime.translation.createdAt`,
`product.deliveryTime.translation`.updated_at as `product.deliveryTime.translation.updatedAt`,
`product.deliveryTime.translation`.delivery_time_id as `product.deliveryTime.translation.deliveryTimeId`,
`product.deliveryTime.translation`.language_id as `product.deliveryTime.translation.languageId`
FROM
`delivery_time_translation` `product.deliveryTime.translation`
WHERE
`product.deliveryTime.translation`.language_id = : languageId
) `product.deliveryTime.delivery_time_translation` ON `product.deliveryTime.delivery_time_translation`.`delivery_time_id` = `product.deliveryTime`.`id`
LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id`
LEFT JOIN (
SELECT
`product.cover.media.translation`.media_id,
`product.cover.media.translation`.title as `product.cover.media.translation.title`,
`product.cover.media.translation`.alt as `product.cover.media.translation.alt`,
`product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`,
`product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`,
`product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`,
`product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`,
`product.cover.media.translation`.language_id as `product.cover.media.translation.languageId`
FROM
`media_translation` `product.cover.media.translation`
WHERE
`product.cover.media.translation`.language_id = : languageId
) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id`
WHERE
(
`product`.`version_id` = : version
)
AND (
`product`.`id` IN (: ids)
)
SELECT `product`.`id` as `product.id`, `product`.`version_id` as `product.versionId`, `product`.`parent_id` as `product.parentId`, `product`.`parent_version_id` as `product.parentVersionId`, COALESCE(`product`.`product_manufacturer_id`, `product.parent`.`product_manufacturer_id`) as `product.manufacturerId`, COALESCE(`product`.`product_manufacturer_version_id`, `product.parent`.`product_manufacturer_version_id`) as `product.productManufacturerVersionId`, COALESCE(`product`.`unit_id`, `product.parent`.`unit_id`) as `product.unitId`, COALESCE(`product`.`tax_id`, `product.parent`.`tax_id`) as `product.taxId`, COALESCE(`product`.`product_media_id`, `product.parent`.`product_media_id`) as `product.coverId`, COALESCE(`product`.`product_media_version_id`, `product.parent`.`product_media_version_id`) as `product.productMediaVersionId`, COALESCE(`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`) as `product.deliveryTimeId`, COALESCE(`product`.`product_feature_set_id`, `product.parent`.`product_feature_set_id`) as `product.featureSetId`, COALESCE(`product`.`canonical_product_id`, `product.parent`.`canonical_product_id`) as `product.canonicalProductId`, COALESCE(`product`.`cms_page_id`, `product.parent`.`cms_page_id`) as `product.cmsPageId`, COALESCE(`product`.`cms_page_version_id`, `product.parent`.`cms_page_version_id`) as `product.cmsPageVersionId`, `product.parent`.`price` as `product.price.inherited`, COALESCE(`product`.`price`, `product.parent`.`price`) as `product.price`, `product`.`product_number` as `product.productNumber`, `product`.`stock` as `product.stock`, COALESCE(`product`.`restock_time`, `product.parent`.`restock_time`) as `product.restockTime`, `product`.`auto_increment` as `product.autoIncrement`, COALESCE(`product`.`active`, `product.parent`.`active`) as `product.active`, `product`.`available_stock` as `product.availableStock`, `product`.`available` as `product.available`, COALESCE(`product`.`is_closeout`, `product.parent`.`is_closeout`) as `product.isCloseout`, `product`.`display_group` as `product.displayGroup`, `product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`, COALESCE(`product`.`configurator_group_config`, `product.parent`.`configurator_group_config`) as `product.configuratorGroupConfig`, COALESCE(`product`.`main_variant_id`, `product.parent`.`main_variant_id`) as `product.mainVariantId`, COALESCE(`product`.`display_parent`, `product.parent`.`display_parent`) as `product.displayParent`, `product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`, COALESCE(`product`.`variant_listing_config`, `product.parent`.`variant_listing_config`) as `product.variantListingConfig`, `product`.`variant_restrictions` as `product.variantRestrictions`, COALESCE(`product`.`manufacturer_number`, `product.parent`.`manufacturer_number`) as `product.manufacturerNumber`, COALESCE(`product`.`ean`, `product.parent`.`ean`) as `product.ean`, COALESCE(`product`.`purchase_steps`, `product.parent`.`purchase_steps`) as `product.purchaseSteps`, COALESCE(`product`.`max_purchase`, `product.parent`.`max_purchase`) as `product.maxPurchase`, COALESCE(`product`.`min_purchase`, `product.parent`.`min_purchase`) as `product.minPurchase`, COALESCE(`product`.`purchase_unit`, `product.parent`.`purchase_unit`) as `product.purchaseUnit`, COALESCE(`product`.`reference_unit`, `product.parent`.`reference_unit`) as `product.referenceUnit`, COALESCE(`product`.`shipping_free`, `product.parent`.`shipping_free`) as `product.shippingFree`, `product.parent`.`purchase_prices` as `product.purchasePrices.inherited`, COALESCE(`product`.`purchase_prices`, `product.parent`.`purchase_prices`) as `product.purchasePrices`, COALESCE(`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`) as `product.markAsTopseller`, COALESCE(`product`.`weight`, `product.parent`.`weight`) as `product.weight`, COALESCE(`product`.`width`, `product.parent`.`width`) as `product.width`, COALESCE(`product`.`height`, `product.parent`.`height`) as `product.height`, COALESCE(`product`.`length`, `product.parent`.`length`) as `product.length`, COALESCE(`product`.`release_date`, `product.parent`.`release_date`) as `product.releaseDate`, COALESCE(`product`.`rating_average`, `product.parent`.`rating_average`) as `product.ratingAverage`, `product.parent`.`category_tree` as `product.categoryTree.inherited`, COALESCE(`product`.`category_tree`, `product.parent`.`category_tree`) as `product.categoryTree`, `product.parent`.`property_ids` as `product.propertyIds.inherited`, COALESCE(`product`.`property_ids`, `product.parent`.`property_ids`) as `product.propertyIds`, `product.parent`.`option_ids` as `product.optionIds.inherited`, COALESCE(`product`.`option_ids`, `product.parent`.`option_ids`) as `product.optionIds`, `product.parent`.`stream_ids` as `product.streamIds.inherited`, COALESCE(`product`.`stream_ids`, `product.parent`.`stream_ids`) as `product.streamIds`, `product.parent`.`tag_ids` as `product.tagIds.inherited`, COALESCE(`product`.`tag_ids`, `product.parent`.`tag_ids`) as `product.tagIds`, `product.parent`.`category_ids` as `product.categoryIds.inherited`, COALESCE(`product`.`category_ids`, `product.parent`.`category_ids`) as `product.categoryIds`, `product`.`child_count` as `product.childCount`, COALESCE(`product`.`custom_field_set_selection_active`, `product.parent`.`custom_field_set_selection_active`) as `product.customFieldSetSelectionActive`, `product`.`sales` as `product.sales`, `product`.`states` as `product.states`, `product.tax`.`id` as `product.tax.id`, `product.tax`.`tax_rate` as `product.tax.taxRate`, `product.tax`.`name` as `product.tax.name`, `product.tax`.`position` as `product.tax.position`, `product.tax`.`custom_fields` as `product.tax.customFields`, `product.tax`.`created_at` as `product.tax.createdAt`, `product.tax`.`updated_at` as `product.tax.updatedAt`, `product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`, COALESCE(`product`.`cheapest_price`, `product.parent`.`cheapest_price`) as `product.cheapestPrice`, `product`.`created_at` as `product.createdAt`, `product`.`updated_at` as `product.updatedAt`, `product.unit`.`id` as `product.unit.id`, `product.unit`.`created_at` as `product.unit.createdAt`, `product.unit`.`updated_at` as `product.unit.updatedAt`, `product.unit.translation.shortCode`, COALESCE(`product.unit.translation.shortCode`,`product.unit.translation.shortCode`) as `product.unit.shortCode`, `product.unit.translation.name`, COALESCE(`product.unit.translation.name`,`product.unit.translation.name`) as `product.unit.name`, `product.unit.translation.customFields`, COALESCE(`product.unit.translation.customFields`,`product.unit.translation.customFields`) as `product.unit.customFields`, `product.unit.translation.createdAt`, `product.unit.translation.updatedAt`, `product.unit.translation.unitId`, `product.unit.translation.languageId`, `product.deliveryTime`.`id` as `product.deliveryTime.id`, `product.deliveryTime`.`min` as `product.deliveryTime.min`, `product.deliveryTime`.`max` as `product.deliveryTime.max`, `product.deliveryTime`.`unit` as `product.deliveryTime.unit`, `product.deliveryTime`.`created_at` as `product.deliveryTime.createdAt`, `product.deliveryTime`.`updated_at` as `product.deliveryTime.updatedAt`, `product.deliveryTime.translation.name`, COALESCE(`product.deliveryTime.translation.name`,`product.deliveryTime.translation.name`) as `product.deliveryTime.name`, `product.deliveryTime.translation.customFields`, COALESCE(`product.deliveryTime.translation.customFields`,`product.deliveryTime.translation.customFields`) as `product.deliveryTime.customFields`, `product.deliveryTime.translation.createdAt`, `product.deliveryTime.translation.updatedAt`, `product.deliveryTime.translation.deliveryTimeId`, `product.deliveryTime.translation.languageId`, `product.cover`.`id` as `product.cover.id`, `product.cover`.`version_id` as `product.cover.versionId`, `product.cover`.`product_id` as `product.cover.productId`, `product.cover`.`product_version_id` as `product.cover.productVersionId`, `product.cover`.`media_id` as `product.cover.mediaId`, `product.cover`.`position` as `product.cover.position`, `product.cover.media`.`id` as `product.cover.media.id`, `product.cover.media`.`user_id` as `product.cover.media.userId`, `product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`, `product.cover.media`.`mime_type` as `product.cover.media.mimeType`, `product.cover.media`.`file_extension` as `product.cover.media.fileExtension`, `product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`, `product.cover.media`.`file_name` as `product.cover.media.fileName`, `product.cover.media`.`file_size` as `product.cover.media.fileSize`, `product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`, `product.cover.media`.`meta_data` as `product.cover.media.metaData`, `product.cover.media`.`private` as `product.cover.media.private`, `product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`, `product.cover.media`.`created_at` as `product.cover.media.createdAt`, `product.cover.media`.`updated_at` as `product.cover.media.updatedAt`, `product.cover.media.translation.title`, COALESCE(`product.cover.media.translation.title`,`product.cover.media.translation.title`) as `product.cover.media.title`, `product.cover.media.translation.alt`, COALESCE(`product.cover.media.translation.alt`,`product.cover.media.translation.alt`) as `product.cover.media.alt`, `product.cover.media.translation.customFields`, COALESCE(`product.cover.media.translation.customFields`,`product.cover.media.translation.customFields`) as `product.cover.media.customFields`, `product.cover.media.translation.createdAt`, `product.cover.media.translation.updatedAt`, `product.cover.media.translation.mediaId`, `product.cover.media.translation.languageId`, `product.cover`.`custom_fields` as `product.cover.customFields`, `product.cover`.`created_at` as `product.cover.createdAt`, `product.cover`.`updated_at` as `product.cover.updatedAt`, `product.translation.metaDescription`, `product.parent.translation.metaDescription`, COALESCE(`product.translation.metaDescription`,`product.parent.translation.metaDescription`,`product.translation.metaDescription`) as `product.metaDescription`, `product.translation.name`, `product.parent.translation.name`, COALESCE(`product.translation.name`,`product.parent.translation.name`,`product.translation.name`) as `product.name`, `product.translation.keywords`, `product.parent.translation.keywords`, COALESCE(`product.translation.keywords`,`product.parent.translation.keywords`,`product.translation.keywords`) as `product.keywords`, `product.translation.description`, `product.parent.translation.description`, COALESCE(`product.translation.description`,`product.parent.translation.description`,`product.translation.description`) as `product.description`, `product.translation.metaTitle`, `product.parent.translation.metaTitle`, COALESCE(`product.translation.metaTitle`,`product.parent.translation.metaTitle`,`product.translation.metaTitle`) as `product.metaTitle`, `product.translation.packUnit`, `product.parent.translation.packUnit`, COALESCE(`product.translation.packUnit`,`product.parent.translation.packUnit`,`product.translation.packUnit`) as `product.packUnit`, `product.translation.packUnitPlural`, `product.parent.translation.packUnitPlural`, COALESCE(`product.translation.packUnitPlural`,`product.parent.translation.packUnitPlural`,`product.translation.packUnitPlural`) as `product.packUnitPlural`, `product.translation.customSearchKeywords`, `product.parent.translation.customSearchKeywords`, COALESCE(`product.translation.customSearchKeywords`,`product.parent.translation.customSearchKeywords`,`product.translation.customSearchKeywords`) as `product.customSearchKeywords`, `product.translation.slotConfig`, `product.parent.translation.slotConfig`, COALESCE(`product.translation.slotConfig`,`product.parent.translation.slotConfig`,`product.translation.slotConfig`) as `product.slotConfig`, `product.translation.customFields`, `product.parent.translation.customFields`, COALESCE(`product.translation.customFields`,`product.parent.translation.customFields`,`product.translation.customFields`) as `product.customFields`, `product.translation.createdAt`, `product.parent.translation.createdAt`, `product.translation.updatedAt`, `product.parent.translation.updatedAt`, `product.translation.productId`, `product.parent.translation.productId`, `product.translation.languageId`, `product.parent.translation.languageId`, `product.translation.productVersionId`, `product.parent.translation.productVersionId` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN (SELECT `product.translation`.product_id, `product.translation`.product_version_id, `product.translation`.meta_description as `product.translation.metaDescription`, `product.translation`.name as `product.translation.name`, `product.translation`.keywords as `product.translation.keywords`, `product.translation`.description as `product.translation.description`, `product.translation`.meta_title as `product.translation.metaTitle`, `product.translation`.pack_unit as `product.translation.packUnit`, `product.translation`.pack_unit_plural as `product.translation.packUnitPlural`, `product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`, `product.translation`.slot_config as `product.translation.slotConfig`, `product.translation`.custom_fields as `product.translation.customFields`, `product.translation`.created_at as `product.translation.createdAt`, `product.translation`.updated_at as `product.translation.updatedAt`, `product.translation`.product_id as `product.translation.productId`, `product.translation`.language_id as `product.translation.languageId`, `product.translation`.product_version_id as `product.translation.productVersionId` FROM `product_translation` `product.translation` WHERE `product.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id` AND `product.product_translation`.product_version_id = `product`.version_id LEFT JOIN (SELECT `product.parent.translation`.product_id, `product.parent.translation`.product_version_id, `product.parent.translation`.meta_description as `product.parent.translation.metaDescription`, `product.parent.translation`.name as `product.parent.translation.name`, `product.parent.translation`.keywords as `product.parent.translation.keywords`, `product.parent.translation`.description as `product.parent.translation.description`, `product.parent.translation`.meta_title as `product.parent.translation.metaTitle`, `product.parent.translation`.pack_unit as `product.parent.translation.packUnit`, `product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`, `product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`, `product.parent.translation`.slot_config as `product.parent.translation.slotConfig`, `product.parent.translation`.custom_fields as `product.parent.translation.customFields`, `product.parent.translation`.created_at as `product.parent.translation.createdAt`, `product.parent.translation`.updated_at as `product.parent.translation.updatedAt`, `product.parent.translation`.product_id as `product.parent.translation.productId`, `product.parent.translation`.language_id as `product.parent.translation.languageId`, `product.parent.translation`.product_version_id as `product.parent.translation.productVersionId` FROM `product_translation` `product.parent.translation` WHERE `product.parent.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id` AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id` LEFT JOIN `unit` `product.unit` ON `product`.`unit` = `product.unit`.`id` LEFT JOIN `delivery_time` `product.deliveryTime` ON `product`.`deliveryTime` = `product.deliveryTime`.`id` LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id` AND `product`.`version_id` = `product.cover`.`version_id` LEFT JOIN (SELECT `product.unit.translation`.unit_id, `product.unit.translation`.short_code as `product.unit.translation.shortCode`, `product.unit.translation`.name as `product.unit.translation.name`, `product.unit.translation`.custom_fields as `product.unit.translation.customFields`, `product.unit.translation`.created_at as `product.unit.translation.createdAt`, `product.unit.translation`.updated_at as `product.unit.translation.updatedAt`, `product.unit.translation`.unit_id as `product.unit.translation.unitId`, `product.unit.translation`.language_id as `product.unit.translation.languageId` FROM `unit_translation` `product.unit.translation` WHERE `product.unit.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.unit.unit_translation` ON `product.unit.unit_translation`.`unit_id` = `product.unit`.`id` LEFT JOIN (SELECT `product.deliveryTime.translation`.delivery_time_id, `product.deliveryTime.translation`.name as `product.deliveryTime.translation.name`, `product.deliveryTime.translation`.custom_fields as `product.deliveryTime.translation.customFields`, `product.deliveryTime.translation`.created_at as `product.deliveryTime.translation.createdAt`, `product.deliveryTime.translation`.updated_at as `product.deliveryTime.translation.updatedAt`, `product.deliveryTime.translation`.delivery_time_id as `product.deliveryTime.translation.deliveryTimeId`, `product.deliveryTime.translation`.language_id as `product.deliveryTime.translation.languageId` FROM `delivery_time_translation` `product.deliveryTime.translation` WHERE `product.deliveryTime.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.deliveryTime.delivery_time_translation` ON `product.deliveryTime.delivery_time_translation`.`delivery_time_id` = `product.deliveryTime`.`id` LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id` LEFT JOIN (SELECT `product.cover.media.translation`.media_id, `product.cover.media.translation`.title as `product.cover.media.translation.title`, `product.cover.media.translation`.alt as `product.cover.media.translation.alt`, `product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`, `product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`, `product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`, `product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`, `product.cover.media.translation`.language_id as `product.cover.media.translation.languageId` FROM `media_translation` `product.cover.media.translation` WHERE `product.cover.media.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id` WHERE (`product`.`version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425) AND (`product`.`id` IN (0x521A315C46AA4FAEAE2EC4F5521B425F));
array:37 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 242)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 316)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetch (line 148)"
4 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 93)"
5 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::read (line 195)"
6 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::read (line 133)"
7 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 36)"
8 => "Swag\PayPal\Util\Compatibility\SalesChannelRepositoryDecorator::search (line 207)"
9 => "Tds\MerwareDiscounts\Cart\Checkout\OverwrittenPriceCollector::getSalesChannelProduct (line 93)"
10 => "Tds\MerwareDiscounts\Cart\Checkout\OverwrittenPriceCollector::collect (line 103)"
11 => "Shopware\Core\Checkout\Cart\Processor::runProcessors (line 67)"
12 => "Shopware\Core\Checkout\Cart\Processor::Shopware\Core\Checkout\Cart\{closure} (line 59)"
13 => "Shopware\Core\Profiling\Profiler::trace (line 86)"
14 => "Shopware\Core\Checkout\Cart\Processor::process (line 132)"
15 => "Shopware\Core\Checkout\Cart\CartRuleLoader::Shopware\Core\Checkout\Cart\{closure} (line 59)"
16 => "Shopware\Core\Profiling\Profiler::trace (line 183)"
17 => "Shopware\Core\Checkout\Cart\CartRuleLoader::load (line 83)"
18 => "Shopware\Core\Checkout\Cart\CartRuleLoader::loadByToken (line 106)"
19 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::Shopware\Core\System\SalesChannel\Context\{closure} (line 59)"
20 => "Shopware\Core\Profiling\Profiler::trace (line 111)"
21 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::get (line 105)"
22 => "Shopware\Core\Framework\Routing\SalesChannelRequestContextResolver::resolve (line 38)"
23 => "Shopware\Core\Framework\Routing\ContextResolverListener::resolveContext (line 118)"
24 => "Symfony\Component\EventDispatcher\Debug\WrappedListener::__invoke (line 230)"
25 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
26 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
27 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
28 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
29 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
30 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
31 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 151)"
32 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
33 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
34 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
35 => "Shopware\Core\HttpKernel::doHandle (line 81)"
36 => "Shopware\Core\HttpKernel::handle (line 85)"
]
|
81 |
0.46 ms |
SELECT `product_price`.`id` as `product_price.id`, `product_price`.`version_id` as `product_price.versionId`, `product_price`.`product_id` as `product_price.productId`, `product_price`.`product_version_id` as `product_price.productVersionId`, `product_price`.`rule_id` as `product_price.ruleId`, `product_price`.`price` as `product_price.price`, `product_price`.`quantity_start` as `product_price.quantityStart`, `product_price`.`quantity_end` as `product_price.quantityEnd`, `product_price`.`custom_fields` as `product_price.customFields`, `product_price`.`created_at` as `product_price.createdAt`, `product_price`.`updated_at` as `product_price.updatedAt` FROM `product_price` WHERE (`product_price`.`version_id` = :version) AND ((`product_price`.`product_id` IN (:param_606707a3ac2947599d75205fa769b046)))
SELECT `product_price`.`id` as `product_price.id`, `product_price`.`version_id` as `product_price.versionId`, `product_price`.`product_id` as `product_price.productId`, `product_price`.`product_version_id` as `product_price.productVersionId`, `product_price`.`rule_id` as `product_price.ruleId`, `product_price`.`price` as `product_price.price`, `product_price`.`quantity_start` as `product_price.quantityStart`, `product_price`.`quantity_end` as `product_price.quantityEnd`, `product_price`.`custom_fields` as `product_price.customFields`, `product_price`.`created_at` as `product_price.createdAt`, `product_price`.`updated_at` as `product_price.updatedAt` FROM `product_price` WHERE (`product_price`.`version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425) AND ((`product_price`.`product_id` IN (0x521A315C46AA4FAEAE2EC4F5521B425F)));
array:41 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 242)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 316)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetch (line 148)"
4 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 503)"
5 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::loadOneToManyWithoutPagination (line 438)"
6 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::loadOneToMany (line 1210)"
7 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetchAssociations (line 152)"
8 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 93)"
9 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::read (line 195)"
10 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::read (line 133)"
11 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 36)"
12 => "Swag\PayPal\Util\Compatibility\SalesChannelRepositoryDecorator::search (line 207)"
13 => "Tds\MerwareDiscounts\Cart\Checkout\OverwrittenPriceCollector::getSalesChannelProduct (line 93)"
14 => "Tds\MerwareDiscounts\Cart\Checkout\OverwrittenPriceCollector::collect (line 103)"
15 => "Shopware\Core\Checkout\Cart\Processor::runProcessors (line 67)"
16 => "Shopware\Core\Checkout\Cart\Processor::Shopware\Core\Checkout\Cart\{closure} (line 59)"
17 => "Shopware\Core\Profiling\Profiler::trace (line 86)"
18 => "Shopware\Core\Checkout\Cart\Processor::process (line 132)"
19 => "Shopware\Core\Checkout\Cart\CartRuleLoader::Shopware\Core\Checkout\Cart\{closure} (line 59)"
20 => "Shopware\Core\Profiling\Profiler::trace (line 183)"
21 => "Shopware\Core\Checkout\Cart\CartRuleLoader::load (line 83)"
22 => "Shopware\Core\Checkout\Cart\CartRuleLoader::loadByToken (line 106)"
23 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::Shopware\Core\System\SalesChannel\Context\{closure} (line 59)"
24 => "Shopware\Core\Profiling\Profiler::trace (line 111)"
25 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::get (line 105)"
26 => "Shopware\Core\Framework\Routing\SalesChannelRequestContextResolver::resolve (line 38)"
27 => "Shopware\Core\Framework\Routing\ContextResolverListener::resolveContext (line 118)"
28 => "Symfony\Component\EventDispatcher\Debug\WrappedListener::__invoke (line 230)"
29 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
30 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
31 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
32 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
33 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
34 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
35 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 151)"
36 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
37 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
38 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
39 => "Shopware\Core\HttpKernel::doHandle (line 81)"
40 => "Shopware\Core\HttpKernel::handle (line 85)"
]
|
82 |
0.32 ms |
SELECT `product`.`id`, `product`.`product_number`, `product`.`auto_increment` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN `product_visibility` `product.visibilities` ON `product`.`visibilities` = `product.visibilities`.`product_id` AND `product`.version_id = `product.visibilities`.product_version_id WHERE (`product`.`version_id` = :version) AND ((((`product.visibilities`.`visibility` >= :param_45a6e50ae4894598abb10b1da25f8e17) AND `product.visibilities`.`sales_channel_id` = :param_4bc1af2b16c146d2a95c67aac5d5583c AND IFNULL(`product`.`active`, `product.parent`.`active`) = :param_b9c91a963d594ed6aa7f97810edd3550))) AND (`product`.`id` IN (:ids)) GROUP BY `product`.`id`
SELECT `product`.`id`, `product`.`product_number`, `product`.`auto_increment` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN `product_visibility` `product.visibilities` ON `product`.`visibilities` = `product.visibilities`.`product_id` AND `product`.version_id = `product.visibilities`.product_version_id WHERE (`product`.`version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425) AND ((((`product.visibilities`.`visibility` >= 10) AND `product.visibilities`.`sales_channel_id` = 0x4EB9108BE4654CC9B140D14DE85579E9 AND IFNULL(`product`.`active`, `product.parent`.`active`) = 1))) AND (`product`.`id` IN (0x1A29C278F31440B195869BCBE96F8A6E)) GROUP BY `product`.`id`;
array:36 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 242)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 107)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntitySearcher::search (line 62)"
4 => "Shopware\Elasticsearch\Framework\DataAbstractionLayer\ElasticsearchEntitySearcher::search (line 216)"
5 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::doSearch (line 122)"
6 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 36)"
7 => "Swag\PayPal\Util\Compatibility\SalesChannelRepositoryDecorator::search (line 207)"
8 => "Tds\MerwareDiscounts\Cart\Checkout\OverwrittenPriceCollector::getSalesChannelProduct (line 93)"
9 => "Tds\MerwareDiscounts\Cart\Checkout\OverwrittenPriceCollector::collect (line 103)"
10 => "Shopware\Core\Checkout\Cart\Processor::runProcessors (line 67)"
11 => "Shopware\Core\Checkout\Cart\Processor::Shopware\Core\Checkout\Cart\{closure} (line 59)"
12 => "Shopware\Core\Profiling\Profiler::trace (line 86)"
13 => "Shopware\Core\Checkout\Cart\Processor::process (line 132)"
14 => "Shopware\Core\Checkout\Cart\CartRuleLoader::Shopware\Core\Checkout\Cart\{closure} (line 59)"
15 => "Shopware\Core\Profiling\Profiler::trace (line 183)"
16 => "Shopware\Core\Checkout\Cart\CartRuleLoader::load (line 83)"
17 => "Shopware\Core\Checkout\Cart\CartRuleLoader::loadByToken (line 106)"
18 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::Shopware\Core\System\SalesChannel\Context\{closure} (line 59)"
19 => "Shopware\Core\Profiling\Profiler::trace (line 111)"
20 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::get (line 105)"
21 => "Shopware\Core\Framework\Routing\SalesChannelRequestContextResolver::resolve (line 38)"
22 => "Shopware\Core\Framework\Routing\ContextResolverListener::resolveContext (line 118)"
23 => "Symfony\Component\EventDispatcher\Debug\WrappedListener::__invoke (line 230)"
24 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
25 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
26 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
27 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
28 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
29 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
30 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 151)"
31 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
32 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
33 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
34 => "Shopware\Core\HttpKernel::doHandle (line 81)"
35 => "Shopware\Core\HttpKernel::handle (line 85)"
]
|
83 |
9.05 ms |
SELECT `product`.`id` as `product.id`, `product`.`version_id` as `product.versionId`, `product`.`parent_id` as `product.parentId`, `product`.`parent_version_id` as `product.parentVersionId`, COALESCE(`product`.`product_manufacturer_id`, `product.parent`.`product_manufacturer_id`) as `product.manufacturerId`, COALESCE(`product`.`product_manufacturer_version_id`, `product.parent`.`product_manufacturer_version_id`) as `product.productManufacturerVersionId`, COALESCE(`product`.`unit_id`, `product.parent`.`unit_id`) as `product.unitId`, COALESCE(`product`.`tax_id`, `product.parent`.`tax_id`) as `product.taxId`, COALESCE(`product`.`product_media_id`, `product.parent`.`product_media_id`) as `product.coverId`, COALESCE(`product`.`product_media_version_id`, `product.parent`.`product_media_version_id`) as `product.productMediaVersionId`, COALESCE(`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`) as `product.deliveryTimeId`, COALESCE(`product`.`product_feature_set_id`, `product.parent`.`product_feature_set_id`) as `product.featureSetId`, COALESCE(`product`.`canonical_product_id`, `product.parent`.`canonical_product_id`) as `product.canonicalProductId`, COALESCE(`product`.`cms_page_id`, `product.parent`.`cms_page_id`) as `product.cmsPageId`, COALESCE(`product`.`cms_page_version_id`, `product.parent`.`cms_page_version_id`) as `product.cmsPageVersionId`, `product.parent`.`price` as `product.price.inherited`, COALESCE(`product`.`price`, `product.parent`.`price`) as `product.price`, `product`.`product_number` as `product.productNumber`, `product`.`stock` as `product.stock`, COALESCE(`product`.`restock_time`, `product.parent`.`restock_time`) as `product.restockTime`, `product`.`auto_increment` as `product.autoIncrement`, COALESCE(`product`.`active`, `product.parent`.`active`) as `product.active`, `product`.`available_stock` as `product.availableStock`, `product`.`available` as `product.available`, COALESCE(`product`.`is_closeout`, `product.parent`.`is_closeout`) as `product.isCloseout`, `product`.`display_group` as `product.displayGroup`, `product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`, COALESCE(`product`.`configurator_group_config`, `product.parent`.`configurator_group_config`) as `product.configuratorGroupConfig`, COALESCE(`product`.`main_variant_id`, `product.parent`.`main_variant_id`) as `product.mainVariantId`, COALESCE(`product`.`display_parent`, `product.parent`.`display_parent`) as `product.displayParent`, `product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`, COALESCE(`product`.`variant_listing_config`, `product.parent`.`variant_listing_config`) as `product.variantListingConfig`, `product`.`variant_restrictions` as `product.variantRestrictions`, COALESCE(`product`.`manufacturer_number`, `product.parent`.`manufacturer_number`) as `product.manufacturerNumber`, COALESCE(`product`.`ean`, `product.parent`.`ean`) as `product.ean`, COALESCE(`product`.`purchase_steps`, `product.parent`.`purchase_steps`) as `product.purchaseSteps`, COALESCE(`product`.`max_purchase`, `product.parent`.`max_purchase`) as `product.maxPurchase`, COALESCE(`product`.`min_purchase`, `product.parent`.`min_purchase`) as `product.minPurchase`, COALESCE(`product`.`purchase_unit`, `product.parent`.`purchase_unit`) as `product.purchaseUnit`, COALESCE(`product`.`reference_unit`, `product.parent`.`reference_unit`) as `product.referenceUnit`, COALESCE(`product`.`shipping_free`, `product.parent`.`shipping_free`) as `product.shippingFree`, `product.parent`.`purchase_prices` as `product.purchasePrices.inherited`, COALESCE(`product`.`purchase_prices`, `product.parent`.`purchase_prices`) as `product.purchasePrices`, COALESCE(`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`) as `product.markAsTopseller`, COALESCE(`product`.`weight`, `product.parent`.`weight`) as `product.weight`, COALESCE(`product`.`width`, `product.parent`.`width`) as `product.width`, COALESCE(`product`.`height`, `product.parent`.`height`) as `product.height`, COALESCE(`product`.`length`, `product.parent`.`length`) as `product.length`, COALESCE(`product`.`release_date`, `product.parent`.`release_date`) as `product.releaseDate`, COALESCE(`product`.`rating_average`, `product.parent`.`rating_average`) as `product.ratingAverage`, `product.parent`.`category_tree` as `product.categoryTree.inherited`, COALESCE(`product`.`category_tree`, `product.parent`.`category_tree`) as `product.categoryTree`, `product.parent`.`property_ids` as `product.propertyIds.inherited`, COALESCE(`product`.`property_ids`, `product.parent`.`property_ids`) as `product.propertyIds`, `product.parent`.`option_ids` as `product.optionIds.inherited`, COALESCE(`product`.`option_ids`, `product.parent`.`option_ids`) as `product.optionIds`, `product.parent`.`stream_ids` as `product.streamIds.inherited`, COALESCE(`product`.`stream_ids`, `product.parent`.`stream_ids`) as `product.streamIds`, `product.parent`.`tag_ids` as `product.tagIds.inherited`, COALESCE(`product`.`tag_ids`, `product.parent`.`tag_ids`) as `product.tagIds`, `product.parent`.`category_ids` as `product.categoryIds.inherited`, COALESCE(`product`.`category_ids`, `product.parent`.`category_ids`) as `product.categoryIds`, `product`.`child_count` as `product.childCount`, COALESCE(`product`.`custom_field_set_selection_active`, `product.parent`.`custom_field_set_selection_active`) as `product.customFieldSetSelectionActive`, `product`.`sales` as `product.sales`, `product`.`states` as `product.states`, `product.tax`.`id` as `product.tax.id`, `product.tax`.`tax_rate` as `product.tax.taxRate`, `product.tax`.`name` as `product.tax.name`, `product.tax`.`position` as `product.tax.position`, `product.tax`.`custom_fields` as `product.tax.customFields`, `product.tax`.`created_at` as `product.tax.createdAt`, `product.tax`.`updated_at` as `product.tax.updatedAt`, `product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`, COALESCE(`product`.`cheapest_price`, `product.parent`.`cheapest_price`) as `product.cheapestPrice`, `product`.`created_at` as `product.createdAt`, `product`.`updated_at` as `product.updatedAt`, `product.unit`.`id` as `product.unit.id`, `product.unit`.`created_at` as `product.unit.createdAt`, `product.unit`.`updated_at` as `product.unit.updatedAt`, `product.unit.translation.shortCode`, COALESCE(`product.unit.translation.shortCode`,`product.unit.translation.shortCode`) as `product.unit.shortCode`, `product.unit.translation.name`, COALESCE(`product.unit.translation.name`,`product.unit.translation.name`) as `product.unit.name`, `product.unit.translation.customFields`, COALESCE(`product.unit.translation.customFields`,`product.unit.translation.customFields`) as `product.unit.customFields`, `product.unit.translation.createdAt`, `product.unit.translation.updatedAt`, `product.unit.translation.unitId`, `product.unit.translation.languageId`, `product.deliveryTime`.`id` as `product.deliveryTime.id`, `product.deliveryTime`.`min` as `product.deliveryTime.min`, `product.deliveryTime`.`max` as `product.deliveryTime.max`, `product.deliveryTime`.`unit` as `product.deliveryTime.unit`, `product.deliveryTime`.`created_at` as `product.deliveryTime.createdAt`, `product.deliveryTime`.`updated_at` as `product.deliveryTime.updatedAt`, `product.deliveryTime.translation.name`, COALESCE(`product.deliveryTime.translation.name`,`product.deliveryTime.translation.name`) as `product.deliveryTime.name`, `product.deliveryTime.translation.customFields`, COALESCE(`product.deliveryTime.translation.customFields`,`product.deliveryTime.translation.customFields`) as `product.deliveryTime.customFields`, `product.deliveryTime.translation.createdAt`, `product.deliveryTime.translation.updatedAt`, `product.deliveryTime.translation.deliveryTimeId`, `product.deliveryTime.translation.languageId`, `product.cover`.`id` as `product.cover.id`, `product.cover`.`version_id` as `product.cover.versionId`, `product.cover`.`product_id` as `product.cover.productId`, `product.cover`.`product_version_id` as `product.cover.productVersionId`, `product.cover`.`media_id` as `product.cover.mediaId`, `product.cover`.`position` as `product.cover.position`, `product.cover.media`.`id` as `product.cover.media.id`, `product.cover.media`.`user_id` as `product.cover.media.userId`, `product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`, `product.cover.media`.`mime_type` as `product.cover.media.mimeType`, `product.cover.media`.`file_extension` as `product.cover.media.fileExtension`, `product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`, `product.cover.media`.`file_name` as `product.cover.media.fileName`, `product.cover.media`.`file_size` as `product.cover.media.fileSize`, `product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`, `product.cover.media`.`meta_data` as `product.cover.media.metaData`, `product.cover.media`.`private` as `product.cover.media.private`, `product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`, `product.cover.media`.`created_at` as `product.cover.media.createdAt`, `product.cover.media`.`updated_at` as `product.cover.media.updatedAt`, `product.cover.media.translation.title`, COALESCE(`product.cover.media.translation.title`,`product.cover.media.translation.title`) as `product.cover.media.title`, `product.cover.media.translation.alt`, COALESCE(`product.cover.media.translation.alt`,`product.cover.media.translation.alt`) as `product.cover.media.alt`, `product.cover.media.translation.customFields`, COALESCE(`product.cover.media.translation.customFields`,`product.cover.media.translation.customFields`) as `product.cover.media.customFields`, `product.cover.media.translation.createdAt`, `product.cover.media.translation.updatedAt`, `product.cover.media.translation.mediaId`, `product.cover.media.translation.languageId`, `product.cover`.`custom_fields` as `product.cover.customFields`, `product.cover`.`created_at` as `product.cover.createdAt`, `product.cover`.`updated_at` as `product.cover.updatedAt`, `product.translation.metaDescription`, `product.parent.translation.metaDescription`, COALESCE(`product.translation.metaDescription`,`product.parent.translation.metaDescription`,`product.translation.metaDescription`) as `product.metaDescription`, `product.translation.name`, `product.parent.translation.name`, COALESCE(`product.translation.name`,`product.parent.translation.name`,`product.translation.name`) as `product.name`, `product.translation.keywords`, `product.parent.translation.keywords`, COALESCE(`product.translation.keywords`,`product.parent.translation.keywords`,`product.translation.keywords`) as `product.keywords`, `product.translation.description`, `product.parent.translation.description`, COALESCE(`product.translation.description`,`product.parent.translation.description`,`product.translation.description`) as `product.description`, `product.translation.metaTitle`, `product.parent.translation.metaTitle`, COALESCE(`product.translation.metaTitle`,`product.parent.translation.metaTitle`,`product.translation.metaTitle`) as `product.metaTitle`, `product.translation.packUnit`, `product.parent.translation.packUnit`, COALESCE(`product.translation.packUnit`,`product.parent.translation.packUnit`,`product.translation.packUnit`) as `product.packUnit`, `product.translation.packUnitPlural`, `product.parent.translation.packUnitPlural`, COALESCE(`product.translation.packUnitPlural`,`product.parent.translation.packUnitPlural`,`product.translation.packUnitPlural`) as `product.packUnitPlural`, `product.translation.customSearchKeywords`, `product.parent.translation.customSearchKeywords`, COALESCE(`product.translation.customSearchKeywords`,`product.parent.translation.customSearchKeywords`,`product.translation.customSearchKeywords`) as `product.customSearchKeywords`, `product.translation.slotConfig`, `product.parent.translation.slotConfig`, COALESCE(`product.translation.slotConfig`,`product.parent.translation.slotConfig`,`product.translation.slotConfig`) as `product.slotConfig`, `product.translation.customFields`, `product.parent.translation.customFields`, COALESCE(`product.translation.customFields`,`product.parent.translation.customFields`,`product.translation.customFields`) as `product.customFields`, `product.translation.createdAt`, `product.parent.translation.createdAt`, `product.translation.updatedAt`, `product.parent.translation.updatedAt`, `product.translation.productId`, `product.parent.translation.productId`, `product.translation.languageId`, `product.parent.translation.languageId`, `product.translation.productVersionId`, `product.parent.translation.productVersionId` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN (SELECT `product.translation`.product_id, `product.translation`.product_version_id, `product.translation`.meta_description as `product.translation.metaDescription`, `product.translation`.name as `product.translation.name`, `product.translation`.keywords as `product.translation.keywords`, `product.translation`.description as `product.translation.description`, `product.translation`.meta_title as `product.translation.metaTitle`, `product.translation`.pack_unit as `product.translation.packUnit`, `product.translation`.pack_unit_plural as `product.translation.packUnitPlural`, `product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`, `product.translation`.slot_config as `product.translation.slotConfig`, `product.translation`.custom_fields as `product.translation.customFields`, `product.translation`.created_at as `product.translation.createdAt`, `product.translation`.updated_at as `product.translation.updatedAt`, `product.translation`.product_id as `product.translation.productId`, `product.translation`.language_id as `product.translation.languageId`, `product.translation`.product_version_id as `product.translation.productVersionId` FROM `product_translation` `product.translation` WHERE `product.translation`.language_id = :languageId) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id` AND `product.product_translation`.product_version_id = `product`.version_id LEFT JOIN (SELECT `product.parent.translation`.product_id, `product.parent.translation`.product_version_id, `product.parent.translation`.meta_description as `product.parent.translation.metaDescription`, `product.parent.translation`.name as `product.parent.translation.name`, `product.parent.translation`.keywords as `product.parent.translation.keywords`, `product.parent.translation`.description as `product.parent.translation.description`, `product.parent.translation`.meta_title as `product.parent.translation.metaTitle`, `product.parent.translation`.pack_unit as `product.parent.translation.packUnit`, `product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`, `product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`, `product.parent.translation`.slot_config as `product.parent.translation.slotConfig`, `product.parent.translation`.custom_fields as `product.parent.translation.customFields`, `product.parent.translation`.created_at as `product.parent.translation.createdAt`, `product.parent.translation`.updated_at as `product.parent.translation.updatedAt`, `product.parent.translation`.product_id as `product.parent.translation.productId`, `product.parent.translation`.language_id as `product.parent.translation.languageId`, `product.parent.translation`.product_version_id as `product.parent.translation.productVersionId` FROM `product_translation` `product.parent.translation` WHERE `product.parent.translation`.language_id = :languageId) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id` AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id` LEFT JOIN `unit` `product.unit` ON `product`.`unit` = `product.unit`.`id` LEFT JOIN `delivery_time` `product.deliveryTime` ON `product`.`deliveryTime` = `product.deliveryTime`.`id` LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id` AND `product`.`version_id` = `product.cover`.`version_id` LEFT JOIN (SELECT `product.unit.translation`.unit_id, `product.unit.translation`.short_code as `product.unit.translation.shortCode`, `product.unit.translation`.name as `product.unit.translation.name`, `product.unit.translation`.custom_fields as `product.unit.translation.customFields`, `product.unit.translation`.created_at as `product.unit.translation.createdAt`, `product.unit.translation`.updated_at as `product.unit.translation.updatedAt`, `product.unit.translation`.unit_id as `product.unit.translation.unitId`, `product.unit.translation`.language_id as `product.unit.translation.languageId` FROM `unit_translation` `product.unit.translation` WHERE `product.unit.translation`.language_id = :languageId) `product.unit.unit_translation` ON `product.unit.unit_translation`.`unit_id` = `product.unit`.`id` LEFT JOIN (SELECT `product.deliveryTime.translation`.delivery_time_id, `product.deliveryTime.translation`.name as `product.deliveryTime.translation.name`, `product.deliveryTime.translation`.custom_fields as `product.deliveryTime.translation.customFields`, `product.deliveryTime.translation`.created_at as `product.deliveryTime.translation.createdAt`, `product.deliveryTime.translation`.updated_at as `product.deliveryTime.translation.updatedAt`, `product.deliveryTime.translation`.delivery_time_id as `product.deliveryTime.translation.deliveryTimeId`, `product.deliveryTime.translation`.language_id as `product.deliveryTime.translation.languageId` FROM `delivery_time_translation` `product.deliveryTime.translation` WHERE `product.deliveryTime.translation`.language_id = :languageId) `product.deliveryTime.delivery_time_translation` ON `product.deliveryTime.delivery_time_translation`.`delivery_time_id` = `product.deliveryTime`.`id` LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id` LEFT JOIN (SELECT `product.cover.media.translation`.media_id, `product.cover.media.translation`.title as `product.cover.media.translation.title`, `product.cover.media.translation`.alt as `product.cover.media.translation.alt`, `product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`, `product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`, `product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`, `product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`, `product.cover.media.translation`.language_id as `product.cover.media.translation.languageId` FROM `media_translation` `product.cover.media.translation` WHERE `product.cover.media.translation`.language_id = :languageId) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id` WHERE (`product`.`version_id` = :version) AND (`product`.`id` IN (:ids))
SELECT
`product`.`id` as `product.id`,
`product`.`version_id` as `product.versionId`,
`product`.`parent_id` as `product.parentId`,
`product`.`parent_version_id` as `product.parentVersionId`,
COALESCE(
`product`.`product_manufacturer_id`,
`product.parent`.`product_manufacturer_id`
) as `product.manufacturerId`,
COALESCE(
`product`.`product_manufacturer_version_id`,
`product.parent`.`product_manufacturer_version_id`
) as `product.productManufacturerVersionId`,
COALESCE(
`product`.`unit_id`, `product.parent`.`unit_id`
) as `product.unitId`,
COALESCE(
`product`.`tax_id`, `product.parent`.`tax_id`
) as `product.taxId`,
COALESCE(
`product`.`product_media_id`, `product.parent`.`product_media_id`
) as `product.coverId`,
COALESCE(
`product`.`product_media_version_id`,
`product.parent`.`product_media_version_id`
) as `product.productMediaVersionId`,
COALESCE(
`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`
) as `product.deliveryTimeId`,
COALESCE(
`product`.`product_feature_set_id`,
`product.parent`.`product_feature_set_id`
) as `product.featureSetId`,
COALESCE(
`product`.`canonical_product_id`,
`product.parent`.`canonical_product_id`
) as `product.canonicalProductId`,
COALESCE(
`product`.`cms_page_id`, `product.parent`.`cms_page_id`
) as `product.cmsPageId`,
COALESCE(
`product`.`cms_page_version_id`,
`product.parent`.`cms_page_version_id`
) as `product.cmsPageVersionId`,
`product.parent`.`price` as `product.price.inherited`,
COALESCE(
`product`.`price`, `product.parent`.`price`
) as `product.price`,
`product`.`product_number` as `product.productNumber`,
`product`.`stock` as `product.stock`,
COALESCE(
`product`.`restock_time`, `product.parent`.`restock_time`
) as `product.restockTime`,
`product`.`auto_increment` as `product.autoIncrement`,
COALESCE(
`product`.`active`, `product.parent`.`active`
) as `product.active`,
`product`.`available_stock` as `product.availableStock`,
`product`.`available` as `product.available`,
COALESCE(
`product`.`is_closeout`, `product.parent`.`is_closeout`
) as `product.isCloseout`,
`product`.`display_group` as `product.displayGroup`,
`product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`,
COALESCE(
`product`.`configurator_group_config`,
`product.parent`.`configurator_group_config`
) as `product.configuratorGroupConfig`,
COALESCE(
`product`.`main_variant_id`, `product.parent`.`main_variant_id`
) as `product.mainVariantId`,
COALESCE(
`product`.`display_parent`, `product.parent`.`display_parent`
) as `product.displayParent`,
`product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`,
COALESCE(
`product`.`variant_listing_config`,
`product.parent`.`variant_listing_config`
) as `product.variantListingConfig`,
`product`.`variant_restrictions` as `product.variantRestrictions`,
COALESCE(
`product`.`manufacturer_number`,
`product.parent`.`manufacturer_number`
) as `product.manufacturerNumber`,
COALESCE(
`product`.`ean`, `product.parent`.`ean`
) as `product.ean`,
COALESCE(
`product`.`purchase_steps`, `product.parent`.`purchase_steps`
) as `product.purchaseSteps`,
COALESCE(
`product`.`max_purchase`, `product.parent`.`max_purchase`
) as `product.maxPurchase`,
COALESCE(
`product`.`min_purchase`, `product.parent`.`min_purchase`
) as `product.minPurchase`,
COALESCE(
`product`.`purchase_unit`, `product.parent`.`purchase_unit`
) as `product.purchaseUnit`,
COALESCE(
`product`.`reference_unit`, `product.parent`.`reference_unit`
) as `product.referenceUnit`,
COALESCE(
`product`.`shipping_free`, `product.parent`.`shipping_free`
) as `product.shippingFree`,
`product.parent`.`purchase_prices` as `product.purchasePrices.inherited`,
COALESCE(
`product`.`purchase_prices`, `product.parent`.`purchase_prices`
) as `product.purchasePrices`,
COALESCE(
`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`
) as `product.markAsTopseller`,
COALESCE(
`product`.`weight`, `product.parent`.`weight`
) as `product.weight`,
COALESCE(
`product`.`width`, `product.parent`.`width`
) as `product.width`,
COALESCE(
`product`.`height`, `product.parent`.`height`
) as `product.height`,
COALESCE(
`product`.`length`, `product.parent`.`length`
) as `product.length`,
COALESCE(
`product`.`release_date`, `product.parent`.`release_date`
) as `product.releaseDate`,
COALESCE(
`product`.`rating_average`, `product.parent`.`rating_average`
) as `product.ratingAverage`,
`product.parent`.`category_tree` as `product.categoryTree.inherited`,
COALESCE(
`product`.`category_tree`, `product.parent`.`category_tree`
) as `product.categoryTree`,
`product.parent`.`property_ids` as `product.propertyIds.inherited`,
COALESCE(
`product`.`property_ids`, `product.parent`.`property_ids`
) as `product.propertyIds`,
`product.parent`.`option_ids` as `product.optionIds.inherited`,
COALESCE(
`product`.`option_ids`, `product.parent`.`option_ids`
) as `product.optionIds`,
`product.parent`.`stream_ids` as `product.streamIds.inherited`,
COALESCE(
`product`.`stream_ids`, `product.parent`.`stream_ids`
) as `product.streamIds`,
`product.parent`.`tag_ids` as `product.tagIds.inherited`,
COALESCE(
`product`.`tag_ids`, `product.parent`.`tag_ids`
) as `product.tagIds`,
`product.parent`.`category_ids` as `product.categoryIds.inherited`,
COALESCE(
`product`.`category_ids`, `product.parent`.`category_ids`
) as `product.categoryIds`,
`product`.`child_count` as `product.childCount`,
COALESCE(
`product`.`custom_field_set_selection_active`,
`product.parent`.`custom_field_set_selection_active`
) as `product.customFieldSetSelectionActive`,
`product`.`sales` as `product.sales`,
`product`.`states` as `product.states`,
`product.tax`.`id` as `product.tax.id`,
`product.tax`.`tax_rate` as `product.tax.taxRate`,
`product.tax`.`name` as `product.tax.name`,
`product.tax`.`position` as `product.tax.position`,
`product.tax`.`custom_fields` as `product.tax.customFields`,
`product.tax`.`created_at` as `product.tax.createdAt`,
`product.tax`.`updated_at` as `product.tax.updatedAt`,
`product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`,
COALESCE(
`product`.`cheapest_price`, `product.parent`.`cheapest_price`
) as `product.cheapestPrice`,
`product`.`created_at` as `product.createdAt`,
`product`.`updated_at` as `product.updatedAt`,
`product.unit`.`id` as `product.unit.id`,
`product.unit`.`created_at` as `product.unit.createdAt`,
`product.unit`.`updated_at` as `product.unit.updatedAt`,
`product.unit.translation.shortCode`,
COALESCE(
`product.unit.translation.shortCode`,
`product.unit.translation.shortCode`
) as `product.unit.shortCode`,
`product.unit.translation.name`,
COALESCE(
`product.unit.translation.name`,
`product.unit.translation.name`
) as `product.unit.name`,
`product.unit.translation.customFields`,
COALESCE(
`product.unit.translation.customFields`,
`product.unit.translation.customFields`
) as `product.unit.customFields`,
`product.unit.translation.createdAt`,
`product.unit.translation.updatedAt`,
`product.unit.translation.unitId`,
`product.unit.translation.languageId`,
`product.deliveryTime`.`id` as `product.deliveryTime.id`,
`product.deliveryTime`.`min` as `product.deliveryTime.min`,
`product.deliveryTime`.`max` as `product.deliveryTime.max`,
`product.deliveryTime`.`unit` as `product.deliveryTime.unit`,
`product.deliveryTime`.`created_at` as `product.deliveryTime.createdAt`,
`product.deliveryTime`.`updated_at` as `product.deliveryTime.updatedAt`,
`product.deliveryTime.translation.name`,
COALESCE(
`product.deliveryTime.translation.name`,
`product.deliveryTime.translation.name`
) as `product.deliveryTime.name`,
`product.deliveryTime.translation.customFields`,
COALESCE(
`product.deliveryTime.translation.customFields`,
`product.deliveryTime.translation.customFields`
) as `product.deliveryTime.customFields`,
`product.deliveryTime.translation.createdAt`,
`product.deliveryTime.translation.updatedAt`,
`product.deliveryTime.translation.deliveryTimeId`,
`product.deliveryTime.translation.languageId`,
`product.cover`.`id` as `product.cover.id`,
`product.cover`.`version_id` as `product.cover.versionId`,
`product.cover`.`product_id` as `product.cover.productId`,
`product.cover`.`product_version_id` as `product.cover.productVersionId`,
`product.cover`.`media_id` as `product.cover.mediaId`,
`product.cover`.`position` as `product.cover.position`,
`product.cover.media`.`id` as `product.cover.media.id`,
`product.cover.media`.`user_id` as `product.cover.media.userId`,
`product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`,
`product.cover.media`.`mime_type` as `product.cover.media.mimeType`,
`product.cover.media`.`file_extension` as `product.cover.media.fileExtension`,
`product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`,
`product.cover.media`.`file_name` as `product.cover.media.fileName`,
`product.cover.media`.`file_size` as `product.cover.media.fileSize`,
`product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`,
`product.cover.media`.`meta_data` as `product.cover.media.metaData`,
`product.cover.media`.`private` as `product.cover.media.private`,
`product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`,
`product.cover.media`.`created_at` as `product.cover.media.createdAt`,
`product.cover.media`.`updated_at` as `product.cover.media.updatedAt`,
`product.cover.media.translation.title`,
COALESCE(
`product.cover.media.translation.title`,
`product.cover.media.translation.title`
) as `product.cover.media.title`,
`product.cover.media.translation.alt`,
COALESCE(
`product.cover.media.translation.alt`,
`product.cover.media.translation.alt`
) as `product.cover.media.alt`,
`product.cover.media.translation.customFields`,
COALESCE(
`product.cover.media.translation.customFields`,
`product.cover.media.translation.customFields`
) as `product.cover.media.customFields`,
`product.cover.media.translation.createdAt`,
`product.cover.media.translation.updatedAt`,
`product.cover.media.translation.mediaId`,
`product.cover.media.translation.languageId`,
`product.cover`.`custom_fields` as `product.cover.customFields`,
`product.cover`.`created_at` as `product.cover.createdAt`,
`product.cover`.`updated_at` as `product.cover.updatedAt`,
`product.translation.metaDescription`,
`product.parent.translation.metaDescription`,
COALESCE(
`product.translation.metaDescription`,
`product.parent.translation.metaDescription`,
`product.translation.metaDescription`
) as `product.metaDescription`,
`product.translation.name`,
`product.parent.translation.name`,
COALESCE(
`product.translation.name`, `product.parent.translation.name`,
`product.translation.name`
) as `product.name`,
`product.translation.keywords`,
`product.parent.translation.keywords`,
COALESCE(
`product.translation.keywords`,
`product.parent.translation.keywords`,
`product.translation.keywords`
) as `product.keywords`,
`product.translation.description`,
`product.parent.translation.description`,
COALESCE(
`product.translation.description`,
`product.parent.translation.description`,
`product.translation.description`
) as `product.description`,
`product.translation.metaTitle`,
`product.parent.translation.metaTitle`,
COALESCE(
`product.translation.metaTitle`,
`product.parent.translation.metaTitle`,
`product.translation.metaTitle`
) as `product.metaTitle`,
`product.translation.packUnit`,
`product.parent.translation.packUnit`,
COALESCE(
`product.translation.packUnit`,
`product.parent.translation.packUnit`,
`product.translation.packUnit`
) as `product.packUnit`,
`product.translation.packUnitPlural`,
`product.parent.translation.packUnitPlural`,
COALESCE(
`product.translation.packUnitPlural`,
`product.parent.translation.packUnitPlural`,
`product.translation.packUnitPlural`
) as `product.packUnitPlural`,
`product.translation.customSearchKeywords`,
`product.parent.translation.customSearchKeywords`,
COALESCE(
`product.translation.customSearchKeywords`,
`product.parent.translation.customSearchKeywords`,
`product.translation.customSearchKeywords`
) as `product.customSearchKeywords`,
`product.translation.slotConfig`,
`product.parent.translation.slotConfig`,
COALESCE(
`product.translation.slotConfig`,
`product.parent.translation.slotConfig`,
`product.translation.slotConfig`
) as `product.slotConfig`,
`product.translation.customFields`,
`product.parent.translation.customFields`,
COALESCE(
`product.translation.customFields`,
`product.parent.translation.customFields`,
`product.translation.customFields`
) as `product.customFields`,
`product.translation.createdAt`,
`product.parent.translation.createdAt`,
`product.translation.updatedAt`,
`product.parent.translation.updatedAt`,
`product.translation.productId`,
`product.parent.translation.productId`,
`product.translation.languageId`,
`product.parent.translation.languageId`,
`product.translation.productVersionId`,
`product.parent.translation.productVersionId`
FROM
`product`
LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id`
AND `product`.`version_id` = `product.parent`.`version_id`
LEFT JOIN (
SELECT
`product.translation`.product_id,
`product.translation`.product_version_id,
`product.translation`.meta_description as `product.translation.metaDescription`,
`product.translation`.name as `product.translation.name`,
`product.translation`.keywords as `product.translation.keywords`,
`product.translation`.description as `product.translation.description`,
`product.translation`.meta_title as `product.translation.metaTitle`,
`product.translation`.pack_unit as `product.translation.packUnit`,
`product.translation`.pack_unit_plural as `product.translation.packUnitPlural`,
`product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`,
`product.translation`.slot_config as `product.translation.slotConfig`,
`product.translation`.custom_fields as `product.translation.customFields`,
`product.translation`.created_at as `product.translation.createdAt`,
`product.translation`.updated_at as `product.translation.updatedAt`,
`product.translation`.product_id as `product.translation.productId`,
`product.translation`.language_id as `product.translation.languageId`,
`product.translation`.product_version_id as `product.translation.productVersionId`
FROM
`product_translation` `product.translation`
WHERE
`product.translation`.language_id = : languageId
) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id`
AND `product.product_translation`.product_version_id = `product`.version_id
LEFT JOIN (
SELECT
`product.parent.translation`.product_id,
`product.parent.translation`.product_version_id,
`product.parent.translation`.meta_description as `product.parent.translation.metaDescription`,
`product.parent.translation`.name as `product.parent.translation.name`,
`product.parent.translation`.keywords as `product.parent.translation.keywords`,
`product.parent.translation`.description as `product.parent.translation.description`,
`product.parent.translation`.meta_title as `product.parent.translation.metaTitle`,
`product.parent.translation`.pack_unit as `product.parent.translation.packUnit`,
`product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`,
`product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`,
`product.parent.translation`.slot_config as `product.parent.translation.slotConfig`,
`product.parent.translation`.custom_fields as `product.parent.translation.customFields`,
`product.parent.translation`.created_at as `product.parent.translation.createdAt`,
`product.parent.translation`.updated_at as `product.parent.translation.updatedAt`,
`product.parent.translation`.product_id as `product.parent.translation.productId`,
`product.parent.translation`.language_id as `product.parent.translation.languageId`,
`product.parent.translation`.product_version_id as `product.parent.translation.productVersionId`
FROM
`product_translation` `product.parent.translation`
WHERE
`product.parent.translation`.language_id = : languageId
) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id`
AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id
LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id`
LEFT JOIN `unit` `product.unit` ON `product`.`unit` = `product.unit`.`id`
LEFT JOIN `delivery_time` `product.deliveryTime` ON `product`.`deliveryTime` = `product.deliveryTime`.`id`
LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id`
AND `product`.`version_id` = `product.cover`.`version_id`
LEFT JOIN (
SELECT
`product.unit.translation`.unit_id,
`product.unit.translation`.short_code as `product.unit.translation.shortCode`,
`product.unit.translation`.name as `product.unit.translation.name`,
`product.unit.translation`.custom_fields as `product.unit.translation.customFields`,
`product.unit.translation`.created_at as `product.unit.translation.createdAt`,
`product.unit.translation`.updated_at as `product.unit.translation.updatedAt`,
`product.unit.translation`.unit_id as `product.unit.translation.unitId`,
`product.unit.translation`.language_id as `product.unit.translation.languageId`
FROM
`unit_translation` `product.unit.translation`
WHERE
`product.unit.translation`.language_id = : languageId
) `product.unit.unit_translation` ON `product.unit.unit_translation`.`unit_id` = `product.unit`.`id`
LEFT JOIN (
SELECT
`product.deliveryTime.translation`.delivery_time_id,
`product.deliveryTime.translation`.name as `product.deliveryTime.translation.name`,
`product.deliveryTime.translation`.custom_fields as `product.deliveryTime.translation.customFields`,
`product.deliveryTime.translation`.created_at as `product.deliveryTime.translation.createdAt`,
`product.deliveryTime.translation`.updated_at as `product.deliveryTime.translation.updatedAt`,
`product.deliveryTime.translation`.delivery_time_id as `product.deliveryTime.translation.deliveryTimeId`,
`product.deliveryTime.translation`.language_id as `product.deliveryTime.translation.languageId`
FROM
`delivery_time_translation` `product.deliveryTime.translation`
WHERE
`product.deliveryTime.translation`.language_id = : languageId
) `product.deliveryTime.delivery_time_translation` ON `product.deliveryTime.delivery_time_translation`.`delivery_time_id` = `product.deliveryTime`.`id`
LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id`
LEFT JOIN (
SELECT
`product.cover.media.translation`.media_id,
`product.cover.media.translation`.title as `product.cover.media.translation.title`,
`product.cover.media.translation`.alt as `product.cover.media.translation.alt`,
`product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`,
`product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`,
`product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`,
`product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`,
`product.cover.media.translation`.language_id as `product.cover.media.translation.languageId`
FROM
`media_translation` `product.cover.media.translation`
WHERE
`product.cover.media.translation`.language_id = : languageId
) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id`
WHERE
(
`product`.`version_id` = : version
)
AND (
`product`.`id` IN (: ids)
)
SELECT `product`.`id` as `product.id`, `product`.`version_id` as `product.versionId`, `product`.`parent_id` as `product.parentId`, `product`.`parent_version_id` as `product.parentVersionId`, COALESCE(`product`.`product_manufacturer_id`, `product.parent`.`product_manufacturer_id`) as `product.manufacturerId`, COALESCE(`product`.`product_manufacturer_version_id`, `product.parent`.`product_manufacturer_version_id`) as `product.productManufacturerVersionId`, COALESCE(`product`.`unit_id`, `product.parent`.`unit_id`) as `product.unitId`, COALESCE(`product`.`tax_id`, `product.parent`.`tax_id`) as `product.taxId`, COALESCE(`product`.`product_media_id`, `product.parent`.`product_media_id`) as `product.coverId`, COALESCE(`product`.`product_media_version_id`, `product.parent`.`product_media_version_id`) as `product.productMediaVersionId`, COALESCE(`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`) as `product.deliveryTimeId`, COALESCE(`product`.`product_feature_set_id`, `product.parent`.`product_feature_set_id`) as `product.featureSetId`, COALESCE(`product`.`canonical_product_id`, `product.parent`.`canonical_product_id`) as `product.canonicalProductId`, COALESCE(`product`.`cms_page_id`, `product.parent`.`cms_page_id`) as `product.cmsPageId`, COALESCE(`product`.`cms_page_version_id`, `product.parent`.`cms_page_version_id`) as `product.cmsPageVersionId`, `product.parent`.`price` as `product.price.inherited`, COALESCE(`product`.`price`, `product.parent`.`price`) as `product.price`, `product`.`product_number` as `product.productNumber`, `product`.`stock` as `product.stock`, COALESCE(`product`.`restock_time`, `product.parent`.`restock_time`) as `product.restockTime`, `product`.`auto_increment` as `product.autoIncrement`, COALESCE(`product`.`active`, `product.parent`.`active`) as `product.active`, `product`.`available_stock` as `product.availableStock`, `product`.`available` as `product.available`, COALESCE(`product`.`is_closeout`, `product.parent`.`is_closeout`) as `product.isCloseout`, `product`.`display_group` as `product.displayGroup`, `product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`, COALESCE(`product`.`configurator_group_config`, `product.parent`.`configurator_group_config`) as `product.configuratorGroupConfig`, COALESCE(`product`.`main_variant_id`, `product.parent`.`main_variant_id`) as `product.mainVariantId`, COALESCE(`product`.`display_parent`, `product.parent`.`display_parent`) as `product.displayParent`, `product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`, COALESCE(`product`.`variant_listing_config`, `product.parent`.`variant_listing_config`) as `product.variantListingConfig`, `product`.`variant_restrictions` as `product.variantRestrictions`, COALESCE(`product`.`manufacturer_number`, `product.parent`.`manufacturer_number`) as `product.manufacturerNumber`, COALESCE(`product`.`ean`, `product.parent`.`ean`) as `product.ean`, COALESCE(`product`.`purchase_steps`, `product.parent`.`purchase_steps`) as `product.purchaseSteps`, COALESCE(`product`.`max_purchase`, `product.parent`.`max_purchase`) as `product.maxPurchase`, COALESCE(`product`.`min_purchase`, `product.parent`.`min_purchase`) as `product.minPurchase`, COALESCE(`product`.`purchase_unit`, `product.parent`.`purchase_unit`) as `product.purchaseUnit`, COALESCE(`product`.`reference_unit`, `product.parent`.`reference_unit`) as `product.referenceUnit`, COALESCE(`product`.`shipping_free`, `product.parent`.`shipping_free`) as `product.shippingFree`, `product.parent`.`purchase_prices` as `product.purchasePrices.inherited`, COALESCE(`product`.`purchase_prices`, `product.parent`.`purchase_prices`) as `product.purchasePrices`, COALESCE(`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`) as `product.markAsTopseller`, COALESCE(`product`.`weight`, `product.parent`.`weight`) as `product.weight`, COALESCE(`product`.`width`, `product.parent`.`width`) as `product.width`, COALESCE(`product`.`height`, `product.parent`.`height`) as `product.height`, COALESCE(`product`.`length`, `product.parent`.`length`) as `product.length`, COALESCE(`product`.`release_date`, `product.parent`.`release_date`) as `product.releaseDate`, COALESCE(`product`.`rating_average`, `product.parent`.`rating_average`) as `product.ratingAverage`, `product.parent`.`category_tree` as `product.categoryTree.inherited`, COALESCE(`product`.`category_tree`, `product.parent`.`category_tree`) as `product.categoryTree`, `product.parent`.`property_ids` as `product.propertyIds.inherited`, COALESCE(`product`.`property_ids`, `product.parent`.`property_ids`) as `product.propertyIds`, `product.parent`.`option_ids` as `product.optionIds.inherited`, COALESCE(`product`.`option_ids`, `product.parent`.`option_ids`) as `product.optionIds`, `product.parent`.`stream_ids` as `product.streamIds.inherited`, COALESCE(`product`.`stream_ids`, `product.parent`.`stream_ids`) as `product.streamIds`, `product.parent`.`tag_ids` as `product.tagIds.inherited`, COALESCE(`product`.`tag_ids`, `product.parent`.`tag_ids`) as `product.tagIds`, `product.parent`.`category_ids` as `product.categoryIds.inherited`, COALESCE(`product`.`category_ids`, `product.parent`.`category_ids`) as `product.categoryIds`, `product`.`child_count` as `product.childCount`, COALESCE(`product`.`custom_field_set_selection_active`, `product.parent`.`custom_field_set_selection_active`) as `product.customFieldSetSelectionActive`, `product`.`sales` as `product.sales`, `product`.`states` as `product.states`, `product.tax`.`id` as `product.tax.id`, `product.tax`.`tax_rate` as `product.tax.taxRate`, `product.tax`.`name` as `product.tax.name`, `product.tax`.`position` as `product.tax.position`, `product.tax`.`custom_fields` as `product.tax.customFields`, `product.tax`.`created_at` as `product.tax.createdAt`, `product.tax`.`updated_at` as `product.tax.updatedAt`, `product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`, COALESCE(`product`.`cheapest_price`, `product.parent`.`cheapest_price`) as `product.cheapestPrice`, `product`.`created_at` as `product.createdAt`, `product`.`updated_at` as `product.updatedAt`, `product.unit`.`id` as `product.unit.id`, `product.unit`.`created_at` as `product.unit.createdAt`, `product.unit`.`updated_at` as `product.unit.updatedAt`, `product.unit.translation.shortCode`, COALESCE(`product.unit.translation.shortCode`,`product.unit.translation.shortCode`) as `product.unit.shortCode`, `product.unit.translation.name`, COALESCE(`product.unit.translation.name`,`product.unit.translation.name`) as `product.unit.name`, `product.unit.translation.customFields`, COALESCE(`product.unit.translation.customFields`,`product.unit.translation.customFields`) as `product.unit.customFields`, `product.unit.translation.createdAt`, `product.unit.translation.updatedAt`, `product.unit.translation.unitId`, `product.unit.translation.languageId`, `product.deliveryTime`.`id` as `product.deliveryTime.id`, `product.deliveryTime`.`min` as `product.deliveryTime.min`, `product.deliveryTime`.`max` as `product.deliveryTime.max`, `product.deliveryTime`.`unit` as `product.deliveryTime.unit`, `product.deliveryTime`.`created_at` as `product.deliveryTime.createdAt`, `product.deliveryTime`.`updated_at` as `product.deliveryTime.updatedAt`, `product.deliveryTime.translation.name`, COALESCE(`product.deliveryTime.translation.name`,`product.deliveryTime.translation.name`) as `product.deliveryTime.name`, `product.deliveryTime.translation.customFields`, COALESCE(`product.deliveryTime.translation.customFields`,`product.deliveryTime.translation.customFields`) as `product.deliveryTime.customFields`, `product.deliveryTime.translation.createdAt`, `product.deliveryTime.translation.updatedAt`, `product.deliveryTime.translation.deliveryTimeId`, `product.deliveryTime.translation.languageId`, `product.cover`.`id` as `product.cover.id`, `product.cover`.`version_id` as `product.cover.versionId`, `product.cover`.`product_id` as `product.cover.productId`, `product.cover`.`product_version_id` as `product.cover.productVersionId`, `product.cover`.`media_id` as `product.cover.mediaId`, `product.cover`.`position` as `product.cover.position`, `product.cover.media`.`id` as `product.cover.media.id`, `product.cover.media`.`user_id` as `product.cover.media.userId`, `product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`, `product.cover.media`.`mime_type` as `product.cover.media.mimeType`, `product.cover.media`.`file_extension` as `product.cover.media.fileExtension`, `product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`, `product.cover.media`.`file_name` as `product.cover.media.fileName`, `product.cover.media`.`file_size` as `product.cover.media.fileSize`, `product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`, `product.cover.media`.`meta_data` as `product.cover.media.metaData`, `product.cover.media`.`private` as `product.cover.media.private`, `product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`, `product.cover.media`.`created_at` as `product.cover.media.createdAt`, `product.cover.media`.`updated_at` as `product.cover.media.updatedAt`, `product.cover.media.translation.title`, COALESCE(`product.cover.media.translation.title`,`product.cover.media.translation.title`) as `product.cover.media.title`, `product.cover.media.translation.alt`, COALESCE(`product.cover.media.translation.alt`,`product.cover.media.translation.alt`) as `product.cover.media.alt`, `product.cover.media.translation.customFields`, COALESCE(`product.cover.media.translation.customFields`,`product.cover.media.translation.customFields`) as `product.cover.media.customFields`, `product.cover.media.translation.createdAt`, `product.cover.media.translation.updatedAt`, `product.cover.media.translation.mediaId`, `product.cover.media.translation.languageId`, `product.cover`.`custom_fields` as `product.cover.customFields`, `product.cover`.`created_at` as `product.cover.createdAt`, `product.cover`.`updated_at` as `product.cover.updatedAt`, `product.translation.metaDescription`, `product.parent.translation.metaDescription`, COALESCE(`product.translation.metaDescription`,`product.parent.translation.metaDescription`,`product.translation.metaDescription`) as `product.metaDescription`, `product.translation.name`, `product.parent.translation.name`, COALESCE(`product.translation.name`,`product.parent.translation.name`,`product.translation.name`) as `product.name`, `product.translation.keywords`, `product.parent.translation.keywords`, COALESCE(`product.translation.keywords`,`product.parent.translation.keywords`,`product.translation.keywords`) as `product.keywords`, `product.translation.description`, `product.parent.translation.description`, COALESCE(`product.translation.description`,`product.parent.translation.description`,`product.translation.description`) as `product.description`, `product.translation.metaTitle`, `product.parent.translation.metaTitle`, COALESCE(`product.translation.metaTitle`,`product.parent.translation.metaTitle`,`product.translation.metaTitle`) as `product.metaTitle`, `product.translation.packUnit`, `product.parent.translation.packUnit`, COALESCE(`product.translation.packUnit`,`product.parent.translation.packUnit`,`product.translation.packUnit`) as `product.packUnit`, `product.translation.packUnitPlural`, `product.parent.translation.packUnitPlural`, COALESCE(`product.translation.packUnitPlural`,`product.parent.translation.packUnitPlural`,`product.translation.packUnitPlural`) as `product.packUnitPlural`, `product.translation.customSearchKeywords`, `product.parent.translation.customSearchKeywords`, COALESCE(`product.translation.customSearchKeywords`,`product.parent.translation.customSearchKeywords`,`product.translation.customSearchKeywords`) as `product.customSearchKeywords`, `product.translation.slotConfig`, `product.parent.translation.slotConfig`, COALESCE(`product.translation.slotConfig`,`product.parent.translation.slotConfig`,`product.translation.slotConfig`) as `product.slotConfig`, `product.translation.customFields`, `product.parent.translation.customFields`, COALESCE(`product.translation.customFields`,`product.parent.translation.customFields`,`product.translation.customFields`) as `product.customFields`, `product.translation.createdAt`, `product.parent.translation.createdAt`, `product.translation.updatedAt`, `product.parent.translation.updatedAt`, `product.translation.productId`, `product.parent.translation.productId`, `product.translation.languageId`, `product.parent.translation.languageId`, `product.translation.productVersionId`, `product.parent.translation.productVersionId` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN (SELECT `product.translation`.product_id, `product.translation`.product_version_id, `product.translation`.meta_description as `product.translation.metaDescription`, `product.translation`.name as `product.translation.name`, `product.translation`.keywords as `product.translation.keywords`, `product.translation`.description as `product.translation.description`, `product.translation`.meta_title as `product.translation.metaTitle`, `product.translation`.pack_unit as `product.translation.packUnit`, `product.translation`.pack_unit_plural as `product.translation.packUnitPlural`, `product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`, `product.translation`.slot_config as `product.translation.slotConfig`, `product.translation`.custom_fields as `product.translation.customFields`, `product.translation`.created_at as `product.translation.createdAt`, `product.translation`.updated_at as `product.translation.updatedAt`, `product.translation`.product_id as `product.translation.productId`, `product.translation`.language_id as `product.translation.languageId`, `product.translation`.product_version_id as `product.translation.productVersionId` FROM `product_translation` `product.translation` WHERE `product.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id` AND `product.product_translation`.product_version_id = `product`.version_id LEFT JOIN (SELECT `product.parent.translation`.product_id, `product.parent.translation`.product_version_id, `product.parent.translation`.meta_description as `product.parent.translation.metaDescription`, `product.parent.translation`.name as `product.parent.translation.name`, `product.parent.translation`.keywords as `product.parent.translation.keywords`, `product.parent.translation`.description as `product.parent.translation.description`, `product.parent.translation`.meta_title as `product.parent.translation.metaTitle`, `product.parent.translation`.pack_unit as `product.parent.translation.packUnit`, `product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`, `product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`, `product.parent.translation`.slot_config as `product.parent.translation.slotConfig`, `product.parent.translation`.custom_fields as `product.parent.translation.customFields`, `product.parent.translation`.created_at as `product.parent.translation.createdAt`, `product.parent.translation`.updated_at as `product.parent.translation.updatedAt`, `product.parent.translation`.product_id as `product.parent.translation.productId`, `product.parent.translation`.language_id as `product.parent.translation.languageId`, `product.parent.translation`.product_version_id as `product.parent.translation.productVersionId` FROM `product_translation` `product.parent.translation` WHERE `product.parent.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id` AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id` LEFT JOIN `unit` `product.unit` ON `product`.`unit` = `product.unit`.`id` LEFT JOIN `delivery_time` `product.deliveryTime` ON `product`.`deliveryTime` = `product.deliveryTime`.`id` LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id` AND `product`.`version_id` = `product.cover`.`version_id` LEFT JOIN (SELECT `product.unit.translation`.unit_id, `product.unit.translation`.short_code as `product.unit.translation.shortCode`, `product.unit.translation`.name as `product.unit.translation.name`, `product.unit.translation`.custom_fields as `product.unit.translation.customFields`, `product.unit.translation`.created_at as `product.unit.translation.createdAt`, `product.unit.translation`.updated_at as `product.unit.translation.updatedAt`, `product.unit.translation`.unit_id as `product.unit.translation.unitId`, `product.unit.translation`.language_id as `product.unit.translation.languageId` FROM `unit_translation` `product.unit.translation` WHERE `product.unit.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.unit.unit_translation` ON `product.unit.unit_translation`.`unit_id` = `product.unit`.`id` LEFT JOIN (SELECT `product.deliveryTime.translation`.delivery_time_id, `product.deliveryTime.translation`.name as `product.deliveryTime.translation.name`, `product.deliveryTime.translation`.custom_fields as `product.deliveryTime.translation.customFields`, `product.deliveryTime.translation`.created_at as `product.deliveryTime.translation.createdAt`, `product.deliveryTime.translation`.updated_at as `product.deliveryTime.translation.updatedAt`, `product.deliveryTime.translation`.delivery_time_id as `product.deliveryTime.translation.deliveryTimeId`, `product.deliveryTime.translation`.language_id as `product.deliveryTime.translation.languageId` FROM `delivery_time_translation` `product.deliveryTime.translation` WHERE `product.deliveryTime.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.deliveryTime.delivery_time_translation` ON `product.deliveryTime.delivery_time_translation`.`delivery_time_id` = `product.deliveryTime`.`id` LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id` LEFT JOIN (SELECT `product.cover.media.translation`.media_id, `product.cover.media.translation`.title as `product.cover.media.translation.title`, `product.cover.media.translation`.alt as `product.cover.media.translation.alt`, `product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`, `product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`, `product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`, `product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`, `product.cover.media.translation`.language_id as `product.cover.media.translation.languageId` FROM `media_translation` `product.cover.media.translation` WHERE `product.cover.media.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id` WHERE (`product`.`version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425) AND (`product`.`id` IN (0x1A29C278F31440B195869BCBE96F8A6E));
array:37 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 242)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 316)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetch (line 148)"
4 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 93)"
5 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::read (line 195)"
6 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::read (line 133)"
7 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 36)"
8 => "Swag\PayPal\Util\Compatibility\SalesChannelRepositoryDecorator::search (line 207)"
9 => "Tds\MerwareDiscounts\Cart\Checkout\OverwrittenPriceCollector::getSalesChannelProduct (line 93)"
10 => "Tds\MerwareDiscounts\Cart\Checkout\OverwrittenPriceCollector::collect (line 103)"
11 => "Shopware\Core\Checkout\Cart\Processor::runProcessors (line 67)"
12 => "Shopware\Core\Checkout\Cart\Processor::Shopware\Core\Checkout\Cart\{closure} (line 59)"
13 => "Shopware\Core\Profiling\Profiler::trace (line 86)"
14 => "Shopware\Core\Checkout\Cart\Processor::process (line 132)"
15 => "Shopware\Core\Checkout\Cart\CartRuleLoader::Shopware\Core\Checkout\Cart\{closure} (line 59)"
16 => "Shopware\Core\Profiling\Profiler::trace (line 183)"
17 => "Shopware\Core\Checkout\Cart\CartRuleLoader::load (line 83)"
18 => "Shopware\Core\Checkout\Cart\CartRuleLoader::loadByToken (line 106)"
19 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::Shopware\Core\System\SalesChannel\Context\{closure} (line 59)"
20 => "Shopware\Core\Profiling\Profiler::trace (line 111)"
21 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::get (line 105)"
22 => "Shopware\Core\Framework\Routing\SalesChannelRequestContextResolver::resolve (line 38)"
23 => "Shopware\Core\Framework\Routing\ContextResolverListener::resolveContext (line 118)"
24 => "Symfony\Component\EventDispatcher\Debug\WrappedListener::__invoke (line 230)"
25 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
26 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
27 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
28 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
29 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
30 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
31 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 151)"
32 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
33 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
34 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
35 => "Shopware\Core\HttpKernel::doHandle (line 81)"
36 => "Shopware\Core\HttpKernel::handle (line 85)"
]
|
84 |
0.51 ms |
SELECT `product_price`.`id` as `product_price.id`, `product_price`.`version_id` as `product_price.versionId`, `product_price`.`product_id` as `product_price.productId`, `product_price`.`product_version_id` as `product_price.productVersionId`, `product_price`.`rule_id` as `product_price.ruleId`, `product_price`.`price` as `product_price.price`, `product_price`.`quantity_start` as `product_price.quantityStart`, `product_price`.`quantity_end` as `product_price.quantityEnd`, `product_price`.`custom_fields` as `product_price.customFields`, `product_price`.`created_at` as `product_price.createdAt`, `product_price`.`updated_at` as `product_price.updatedAt` FROM `product_price` WHERE (`product_price`.`version_id` = :version) AND ((`product_price`.`product_id` IN (:param_0a4a15d9c1014c92a3d13e3937505319)))
SELECT `product_price`.`id` as `product_price.id`, `product_price`.`version_id` as `product_price.versionId`, `product_price`.`product_id` as `product_price.productId`, `product_price`.`product_version_id` as `product_price.productVersionId`, `product_price`.`rule_id` as `product_price.ruleId`, `product_price`.`price` as `product_price.price`, `product_price`.`quantity_start` as `product_price.quantityStart`, `product_price`.`quantity_end` as `product_price.quantityEnd`, `product_price`.`custom_fields` as `product_price.customFields`, `product_price`.`created_at` as `product_price.createdAt`, `product_price`.`updated_at` as `product_price.updatedAt` FROM `product_price` WHERE (`product_price`.`version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425) AND ((`product_price`.`product_id` IN (0x1A29C278F31440B195869BCBE96F8A6E)));
array:41 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 242)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 316)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetch (line 148)"
4 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 503)"
5 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::loadOneToManyWithoutPagination (line 438)"
6 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::loadOneToMany (line 1210)"
7 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetchAssociations (line 152)"
8 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 93)"
9 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::read (line 195)"
10 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::read (line 133)"
11 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 36)"
12 => "Swag\PayPal\Util\Compatibility\SalesChannelRepositoryDecorator::search (line 207)"
13 => "Tds\MerwareDiscounts\Cart\Checkout\OverwrittenPriceCollector::getSalesChannelProduct (line 93)"
14 => "Tds\MerwareDiscounts\Cart\Checkout\OverwrittenPriceCollector::collect (line 103)"
15 => "Shopware\Core\Checkout\Cart\Processor::runProcessors (line 67)"
16 => "Shopware\Core\Checkout\Cart\Processor::Shopware\Core\Checkout\Cart\{closure} (line 59)"
17 => "Shopware\Core\Profiling\Profiler::trace (line 86)"
18 => "Shopware\Core\Checkout\Cart\Processor::process (line 132)"
19 => "Shopware\Core\Checkout\Cart\CartRuleLoader::Shopware\Core\Checkout\Cart\{closure} (line 59)"
20 => "Shopware\Core\Profiling\Profiler::trace (line 183)"
21 => "Shopware\Core\Checkout\Cart\CartRuleLoader::load (line 83)"
22 => "Shopware\Core\Checkout\Cart\CartRuleLoader::loadByToken (line 106)"
23 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::Shopware\Core\System\SalesChannel\Context\{closure} (line 59)"
24 => "Shopware\Core\Profiling\Profiler::trace (line 111)"
25 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::get (line 105)"
26 => "Shopware\Core\Framework\Routing\SalesChannelRequestContextResolver::resolve (line 38)"
27 => "Shopware\Core\Framework\Routing\ContextResolverListener::resolveContext (line 118)"
28 => "Symfony\Component\EventDispatcher\Debug\WrappedListener::__invoke (line 230)"
29 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
30 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
31 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
32 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
33 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
34 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
35 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 151)"
36 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
37 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
38 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
39 => "Shopware\Core\HttpKernel::doHandle (line 81)"
40 => "Shopware\Core\HttpKernel::handle (line 85)"
]
|
85 |
0.33 ms |
SELECT `product`.`id`, `product`.`product_number`, `product`.`auto_increment` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN `product_visibility` `product.visibilities` ON `product`.`visibilities` = `product.visibilities`.`product_id` AND `product`.version_id = `product.visibilities`.product_version_id WHERE (`product`.`version_id` = :version) AND ((((`product.visibilities`.`visibility` >= :param_dc5f683c44384893bb4616ec5fc41ca1) AND `product.visibilities`.`sales_channel_id` = :param_67b4df9582274310bbf89ca9de0404c4 AND IFNULL(`product`.`active`, `product.parent`.`active`) = :param_c43e07c0575b451bb9d4657395d1bbea))) AND (`product`.`id` IN (:ids)) GROUP BY `product`.`id`
SELECT `product`.`id`, `product`.`product_number`, `product`.`auto_increment` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN `product_visibility` `product.visibilities` ON `product`.`visibilities` = `product.visibilities`.`product_id` AND `product`.version_id = `product.visibilities`.product_version_id WHERE (`product`.`version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425) AND ((((`product.visibilities`.`visibility` >= 10) AND `product.visibilities`.`sales_channel_id` = 0x4EB9108BE4654CC9B140D14DE85579E9 AND IFNULL(`product`.`active`, `product.parent`.`active`) = 1))) AND (`product`.`id` IN (0x98396D42CE8B42568E9C81BC3780027C)) GROUP BY `product`.`id`;
array:36 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 242)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 107)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntitySearcher::search (line 62)"
4 => "Shopware\Elasticsearch\Framework\DataAbstractionLayer\ElasticsearchEntitySearcher::search (line 216)"
5 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::doSearch (line 122)"
6 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 36)"
7 => "Swag\PayPal\Util\Compatibility\SalesChannelRepositoryDecorator::search (line 207)"
8 => "Tds\MerwareDiscounts\Cart\Checkout\OverwrittenPriceCollector::getSalesChannelProduct (line 93)"
9 => "Tds\MerwareDiscounts\Cart\Checkout\OverwrittenPriceCollector::collect (line 103)"
10 => "Shopware\Core\Checkout\Cart\Processor::runProcessors (line 67)"
11 => "Shopware\Core\Checkout\Cart\Processor::Shopware\Core\Checkout\Cart\{closure} (line 59)"
12 => "Shopware\Core\Profiling\Profiler::trace (line 86)"
13 => "Shopware\Core\Checkout\Cart\Processor::process (line 132)"
14 => "Shopware\Core\Checkout\Cart\CartRuleLoader::Shopware\Core\Checkout\Cart\{closure} (line 59)"
15 => "Shopware\Core\Profiling\Profiler::trace (line 183)"
16 => "Shopware\Core\Checkout\Cart\CartRuleLoader::load (line 83)"
17 => "Shopware\Core\Checkout\Cart\CartRuleLoader::loadByToken (line 106)"
18 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::Shopware\Core\System\SalesChannel\Context\{closure} (line 59)"
19 => "Shopware\Core\Profiling\Profiler::trace (line 111)"
20 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::get (line 105)"
21 => "Shopware\Core\Framework\Routing\SalesChannelRequestContextResolver::resolve (line 38)"
22 => "Shopware\Core\Framework\Routing\ContextResolverListener::resolveContext (line 118)"
23 => "Symfony\Component\EventDispatcher\Debug\WrappedListener::__invoke (line 230)"
24 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
25 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
26 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
27 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
28 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
29 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
30 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 151)"
31 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
32 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
33 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
34 => "Shopware\Core\HttpKernel::doHandle (line 81)"
35 => "Shopware\Core\HttpKernel::handle (line 85)"
]
|
86 |
8.92 ms |
SELECT `product`.`id` as `product.id`, `product`.`version_id` as `product.versionId`, `product`.`parent_id` as `product.parentId`, `product`.`parent_version_id` as `product.parentVersionId`, COALESCE(`product`.`product_manufacturer_id`, `product.parent`.`product_manufacturer_id`) as `product.manufacturerId`, COALESCE(`product`.`product_manufacturer_version_id`, `product.parent`.`product_manufacturer_version_id`) as `product.productManufacturerVersionId`, COALESCE(`product`.`unit_id`, `product.parent`.`unit_id`) as `product.unitId`, COALESCE(`product`.`tax_id`, `product.parent`.`tax_id`) as `product.taxId`, COALESCE(`product`.`product_media_id`, `product.parent`.`product_media_id`) as `product.coverId`, COALESCE(`product`.`product_media_version_id`, `product.parent`.`product_media_version_id`) as `product.productMediaVersionId`, COALESCE(`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`) as `product.deliveryTimeId`, COALESCE(`product`.`product_feature_set_id`, `product.parent`.`product_feature_set_id`) as `product.featureSetId`, COALESCE(`product`.`canonical_product_id`, `product.parent`.`canonical_product_id`) as `product.canonicalProductId`, COALESCE(`product`.`cms_page_id`, `product.parent`.`cms_page_id`) as `product.cmsPageId`, COALESCE(`product`.`cms_page_version_id`, `product.parent`.`cms_page_version_id`) as `product.cmsPageVersionId`, `product.parent`.`price` as `product.price.inherited`, COALESCE(`product`.`price`, `product.parent`.`price`) as `product.price`, `product`.`product_number` as `product.productNumber`, `product`.`stock` as `product.stock`, COALESCE(`product`.`restock_time`, `product.parent`.`restock_time`) as `product.restockTime`, `product`.`auto_increment` as `product.autoIncrement`, COALESCE(`product`.`active`, `product.parent`.`active`) as `product.active`, `product`.`available_stock` as `product.availableStock`, `product`.`available` as `product.available`, COALESCE(`product`.`is_closeout`, `product.parent`.`is_closeout`) as `product.isCloseout`, `product`.`display_group` as `product.displayGroup`, `product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`, COALESCE(`product`.`configurator_group_config`, `product.parent`.`configurator_group_config`) as `product.configuratorGroupConfig`, COALESCE(`product`.`main_variant_id`, `product.parent`.`main_variant_id`) as `product.mainVariantId`, COALESCE(`product`.`display_parent`, `product.parent`.`display_parent`) as `product.displayParent`, `product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`, COALESCE(`product`.`variant_listing_config`, `product.parent`.`variant_listing_config`) as `product.variantListingConfig`, `product`.`variant_restrictions` as `product.variantRestrictions`, COALESCE(`product`.`manufacturer_number`, `product.parent`.`manufacturer_number`) as `product.manufacturerNumber`, COALESCE(`product`.`ean`, `product.parent`.`ean`) as `product.ean`, COALESCE(`product`.`purchase_steps`, `product.parent`.`purchase_steps`) as `product.purchaseSteps`, COALESCE(`product`.`max_purchase`, `product.parent`.`max_purchase`) as `product.maxPurchase`, COALESCE(`product`.`min_purchase`, `product.parent`.`min_purchase`) as `product.minPurchase`, COALESCE(`product`.`purchase_unit`, `product.parent`.`purchase_unit`) as `product.purchaseUnit`, COALESCE(`product`.`reference_unit`, `product.parent`.`reference_unit`) as `product.referenceUnit`, COALESCE(`product`.`shipping_free`, `product.parent`.`shipping_free`) as `product.shippingFree`, `product.parent`.`purchase_prices` as `product.purchasePrices.inherited`, COALESCE(`product`.`purchase_prices`, `product.parent`.`purchase_prices`) as `product.purchasePrices`, COALESCE(`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`) as `product.markAsTopseller`, COALESCE(`product`.`weight`, `product.parent`.`weight`) as `product.weight`, COALESCE(`product`.`width`, `product.parent`.`width`) as `product.width`, COALESCE(`product`.`height`, `product.parent`.`height`) as `product.height`, COALESCE(`product`.`length`, `product.parent`.`length`) as `product.length`, COALESCE(`product`.`release_date`, `product.parent`.`release_date`) as `product.releaseDate`, COALESCE(`product`.`rating_average`, `product.parent`.`rating_average`) as `product.ratingAverage`, `product.parent`.`category_tree` as `product.categoryTree.inherited`, COALESCE(`product`.`category_tree`, `product.parent`.`category_tree`) as `product.categoryTree`, `product.parent`.`property_ids` as `product.propertyIds.inherited`, COALESCE(`product`.`property_ids`, `product.parent`.`property_ids`) as `product.propertyIds`, `product.parent`.`option_ids` as `product.optionIds.inherited`, COALESCE(`product`.`option_ids`, `product.parent`.`option_ids`) as `product.optionIds`, `product.parent`.`stream_ids` as `product.streamIds.inherited`, COALESCE(`product`.`stream_ids`, `product.parent`.`stream_ids`) as `product.streamIds`, `product.parent`.`tag_ids` as `product.tagIds.inherited`, COALESCE(`product`.`tag_ids`, `product.parent`.`tag_ids`) as `product.tagIds`, `product.parent`.`category_ids` as `product.categoryIds.inherited`, COALESCE(`product`.`category_ids`, `product.parent`.`category_ids`) as `product.categoryIds`, `product`.`child_count` as `product.childCount`, COALESCE(`product`.`custom_field_set_selection_active`, `product.parent`.`custom_field_set_selection_active`) as `product.customFieldSetSelectionActive`, `product`.`sales` as `product.sales`, `product`.`states` as `product.states`, `product.tax`.`id` as `product.tax.id`, `product.tax`.`tax_rate` as `product.tax.taxRate`, `product.tax`.`name` as `product.tax.name`, `product.tax`.`position` as `product.tax.position`, `product.tax`.`custom_fields` as `product.tax.customFields`, `product.tax`.`created_at` as `product.tax.createdAt`, `product.tax`.`updated_at` as `product.tax.updatedAt`, `product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`, COALESCE(`product`.`cheapest_price`, `product.parent`.`cheapest_price`) as `product.cheapestPrice`, `product`.`created_at` as `product.createdAt`, `product`.`updated_at` as `product.updatedAt`, `product.unit`.`id` as `product.unit.id`, `product.unit`.`created_at` as `product.unit.createdAt`, `product.unit`.`updated_at` as `product.unit.updatedAt`, `product.unit.translation.shortCode`, COALESCE(`product.unit.translation.shortCode`,`product.unit.translation.shortCode`) as `product.unit.shortCode`, `product.unit.translation.name`, COALESCE(`product.unit.translation.name`,`product.unit.translation.name`) as `product.unit.name`, `product.unit.translation.customFields`, COALESCE(`product.unit.translation.customFields`,`product.unit.translation.customFields`) as `product.unit.customFields`, `product.unit.translation.createdAt`, `product.unit.translation.updatedAt`, `product.unit.translation.unitId`, `product.unit.translation.languageId`, `product.deliveryTime`.`id` as `product.deliveryTime.id`, `product.deliveryTime`.`min` as `product.deliveryTime.min`, `product.deliveryTime`.`max` as `product.deliveryTime.max`, `product.deliveryTime`.`unit` as `product.deliveryTime.unit`, `product.deliveryTime`.`created_at` as `product.deliveryTime.createdAt`, `product.deliveryTime`.`updated_at` as `product.deliveryTime.updatedAt`, `product.deliveryTime.translation.name`, COALESCE(`product.deliveryTime.translation.name`,`product.deliveryTime.translation.name`) as `product.deliveryTime.name`, `product.deliveryTime.translation.customFields`, COALESCE(`product.deliveryTime.translation.customFields`,`product.deliveryTime.translation.customFields`) as `product.deliveryTime.customFields`, `product.deliveryTime.translation.createdAt`, `product.deliveryTime.translation.updatedAt`, `product.deliveryTime.translation.deliveryTimeId`, `product.deliveryTime.translation.languageId`, `product.cover`.`id` as `product.cover.id`, `product.cover`.`version_id` as `product.cover.versionId`, `product.cover`.`product_id` as `product.cover.productId`, `product.cover`.`product_version_id` as `product.cover.productVersionId`, `product.cover`.`media_id` as `product.cover.mediaId`, `product.cover`.`position` as `product.cover.position`, `product.cover.media`.`id` as `product.cover.media.id`, `product.cover.media`.`user_id` as `product.cover.media.userId`, `product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`, `product.cover.media`.`mime_type` as `product.cover.media.mimeType`, `product.cover.media`.`file_extension` as `product.cover.media.fileExtension`, `product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`, `product.cover.media`.`file_name` as `product.cover.media.fileName`, `product.cover.media`.`file_size` as `product.cover.media.fileSize`, `product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`, `product.cover.media`.`meta_data` as `product.cover.media.metaData`, `product.cover.media`.`private` as `product.cover.media.private`, `product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`, `product.cover.media`.`created_at` as `product.cover.media.createdAt`, `product.cover.media`.`updated_at` as `product.cover.media.updatedAt`, `product.cover.media.translation.title`, COALESCE(`product.cover.media.translation.title`,`product.cover.media.translation.title`) as `product.cover.media.title`, `product.cover.media.translation.alt`, COALESCE(`product.cover.media.translation.alt`,`product.cover.media.translation.alt`) as `product.cover.media.alt`, `product.cover.media.translation.customFields`, COALESCE(`product.cover.media.translation.customFields`,`product.cover.media.translation.customFields`) as `product.cover.media.customFields`, `product.cover.media.translation.createdAt`, `product.cover.media.translation.updatedAt`, `product.cover.media.translation.mediaId`, `product.cover.media.translation.languageId`, `product.cover`.`custom_fields` as `product.cover.customFields`, `product.cover`.`created_at` as `product.cover.createdAt`, `product.cover`.`updated_at` as `product.cover.updatedAt`, `product.translation.metaDescription`, `product.parent.translation.metaDescription`, COALESCE(`product.translation.metaDescription`,`product.parent.translation.metaDescription`,`product.translation.metaDescription`) as `product.metaDescription`, `product.translation.name`, `product.parent.translation.name`, COALESCE(`product.translation.name`,`product.parent.translation.name`,`product.translation.name`) as `product.name`, `product.translation.keywords`, `product.parent.translation.keywords`, COALESCE(`product.translation.keywords`,`product.parent.translation.keywords`,`product.translation.keywords`) as `product.keywords`, `product.translation.description`, `product.parent.translation.description`, COALESCE(`product.translation.description`,`product.parent.translation.description`,`product.translation.description`) as `product.description`, `product.translation.metaTitle`, `product.parent.translation.metaTitle`, COALESCE(`product.translation.metaTitle`,`product.parent.translation.metaTitle`,`product.translation.metaTitle`) as `product.metaTitle`, `product.translation.packUnit`, `product.parent.translation.packUnit`, COALESCE(`product.translation.packUnit`,`product.parent.translation.packUnit`,`product.translation.packUnit`) as `product.packUnit`, `product.translation.packUnitPlural`, `product.parent.translation.packUnitPlural`, COALESCE(`product.translation.packUnitPlural`,`product.parent.translation.packUnitPlural`,`product.translation.packUnitPlural`) as `product.packUnitPlural`, `product.translation.customSearchKeywords`, `product.parent.translation.customSearchKeywords`, COALESCE(`product.translation.customSearchKeywords`,`product.parent.translation.customSearchKeywords`,`product.translation.customSearchKeywords`) as `product.customSearchKeywords`, `product.translation.slotConfig`, `product.parent.translation.slotConfig`, COALESCE(`product.translation.slotConfig`,`product.parent.translation.slotConfig`,`product.translation.slotConfig`) as `product.slotConfig`, `product.translation.customFields`, `product.parent.translation.customFields`, COALESCE(`product.translation.customFields`,`product.parent.translation.customFields`,`product.translation.customFields`) as `product.customFields`, `product.translation.createdAt`, `product.parent.translation.createdAt`, `product.translation.updatedAt`, `product.parent.translation.updatedAt`, `product.translation.productId`, `product.parent.translation.productId`, `product.translation.languageId`, `product.parent.translation.languageId`, `product.translation.productVersionId`, `product.parent.translation.productVersionId` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN (SELECT `product.translation`.product_id, `product.translation`.product_version_id, `product.translation`.meta_description as `product.translation.metaDescription`, `product.translation`.name as `product.translation.name`, `product.translation`.keywords as `product.translation.keywords`, `product.translation`.description as `product.translation.description`, `product.translation`.meta_title as `product.translation.metaTitle`, `product.translation`.pack_unit as `product.translation.packUnit`, `product.translation`.pack_unit_plural as `product.translation.packUnitPlural`, `product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`, `product.translation`.slot_config as `product.translation.slotConfig`, `product.translation`.custom_fields as `product.translation.customFields`, `product.translation`.created_at as `product.translation.createdAt`, `product.translation`.updated_at as `product.translation.updatedAt`, `product.translation`.product_id as `product.translation.productId`, `product.translation`.language_id as `product.translation.languageId`, `product.translation`.product_version_id as `product.translation.productVersionId` FROM `product_translation` `product.translation` WHERE `product.translation`.language_id = :languageId) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id` AND `product.product_translation`.product_version_id = `product`.version_id LEFT JOIN (SELECT `product.parent.translation`.product_id, `product.parent.translation`.product_version_id, `product.parent.translation`.meta_description as `product.parent.translation.metaDescription`, `product.parent.translation`.name as `product.parent.translation.name`, `product.parent.translation`.keywords as `product.parent.translation.keywords`, `product.parent.translation`.description as `product.parent.translation.description`, `product.parent.translation`.meta_title as `product.parent.translation.metaTitle`, `product.parent.translation`.pack_unit as `product.parent.translation.packUnit`, `product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`, `product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`, `product.parent.translation`.slot_config as `product.parent.translation.slotConfig`, `product.parent.translation`.custom_fields as `product.parent.translation.customFields`, `product.parent.translation`.created_at as `product.parent.translation.createdAt`, `product.parent.translation`.updated_at as `product.parent.translation.updatedAt`, `product.parent.translation`.product_id as `product.parent.translation.productId`, `product.parent.translation`.language_id as `product.parent.translation.languageId`, `product.parent.translation`.product_version_id as `product.parent.translation.productVersionId` FROM `product_translation` `product.parent.translation` WHERE `product.parent.translation`.language_id = :languageId) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id` AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id` LEFT JOIN `unit` `product.unit` ON `product`.`unit` = `product.unit`.`id` LEFT JOIN `delivery_time` `product.deliveryTime` ON `product`.`deliveryTime` = `product.deliveryTime`.`id` LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id` AND `product`.`version_id` = `product.cover`.`version_id` LEFT JOIN (SELECT `product.unit.translation`.unit_id, `product.unit.translation`.short_code as `product.unit.translation.shortCode`, `product.unit.translation`.name as `product.unit.translation.name`, `product.unit.translation`.custom_fields as `product.unit.translation.customFields`, `product.unit.translation`.created_at as `product.unit.translation.createdAt`, `product.unit.translation`.updated_at as `product.unit.translation.updatedAt`, `product.unit.translation`.unit_id as `product.unit.translation.unitId`, `product.unit.translation`.language_id as `product.unit.translation.languageId` FROM `unit_translation` `product.unit.translation` WHERE `product.unit.translation`.language_id = :languageId) `product.unit.unit_translation` ON `product.unit.unit_translation`.`unit_id` = `product.unit`.`id` LEFT JOIN (SELECT `product.deliveryTime.translation`.delivery_time_id, `product.deliveryTime.translation`.name as `product.deliveryTime.translation.name`, `product.deliveryTime.translation`.custom_fields as `product.deliveryTime.translation.customFields`, `product.deliveryTime.translation`.created_at as `product.deliveryTime.translation.createdAt`, `product.deliveryTime.translation`.updated_at as `product.deliveryTime.translation.updatedAt`, `product.deliveryTime.translation`.delivery_time_id as `product.deliveryTime.translation.deliveryTimeId`, `product.deliveryTime.translation`.language_id as `product.deliveryTime.translation.languageId` FROM `delivery_time_translation` `product.deliveryTime.translation` WHERE `product.deliveryTime.translation`.language_id = :languageId) `product.deliveryTime.delivery_time_translation` ON `product.deliveryTime.delivery_time_translation`.`delivery_time_id` = `product.deliveryTime`.`id` LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id` LEFT JOIN (SELECT `product.cover.media.translation`.media_id, `product.cover.media.translation`.title as `product.cover.media.translation.title`, `product.cover.media.translation`.alt as `product.cover.media.translation.alt`, `product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`, `product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`, `product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`, `product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`, `product.cover.media.translation`.language_id as `product.cover.media.translation.languageId` FROM `media_translation` `product.cover.media.translation` WHERE `product.cover.media.translation`.language_id = :languageId) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id` WHERE (`product`.`version_id` = :version) AND (`product`.`id` IN (:ids))
SELECT
`product`.`id` as `product.id`,
`product`.`version_id` as `product.versionId`,
`product`.`parent_id` as `product.parentId`,
`product`.`parent_version_id` as `product.parentVersionId`,
COALESCE(
`product`.`product_manufacturer_id`,
`product.parent`.`product_manufacturer_id`
) as `product.manufacturerId`,
COALESCE(
`product`.`product_manufacturer_version_id`,
`product.parent`.`product_manufacturer_version_id`
) as `product.productManufacturerVersionId`,
COALESCE(
`product`.`unit_id`, `product.parent`.`unit_id`
) as `product.unitId`,
COALESCE(
`product`.`tax_id`, `product.parent`.`tax_id`
) as `product.taxId`,
COALESCE(
`product`.`product_media_id`, `product.parent`.`product_media_id`
) as `product.coverId`,
COALESCE(
`product`.`product_media_version_id`,
`product.parent`.`product_media_version_id`
) as `product.productMediaVersionId`,
COALESCE(
`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`
) as `product.deliveryTimeId`,
COALESCE(
`product`.`product_feature_set_id`,
`product.parent`.`product_feature_set_id`
) as `product.featureSetId`,
COALESCE(
`product`.`canonical_product_id`,
`product.parent`.`canonical_product_id`
) as `product.canonicalProductId`,
COALESCE(
`product`.`cms_page_id`, `product.parent`.`cms_page_id`
) as `product.cmsPageId`,
COALESCE(
`product`.`cms_page_version_id`,
`product.parent`.`cms_page_version_id`
) as `product.cmsPageVersionId`,
`product.parent`.`price` as `product.price.inherited`,
COALESCE(
`product`.`price`, `product.parent`.`price`
) as `product.price`,
`product`.`product_number` as `product.productNumber`,
`product`.`stock` as `product.stock`,
COALESCE(
`product`.`restock_time`, `product.parent`.`restock_time`
) as `product.restockTime`,
`product`.`auto_increment` as `product.autoIncrement`,
COALESCE(
`product`.`active`, `product.parent`.`active`
) as `product.active`,
`product`.`available_stock` as `product.availableStock`,
`product`.`available` as `product.available`,
COALESCE(
`product`.`is_closeout`, `product.parent`.`is_closeout`
) as `product.isCloseout`,
`product`.`display_group` as `product.displayGroup`,
`product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`,
COALESCE(
`product`.`configurator_group_config`,
`product.parent`.`configurator_group_config`
) as `product.configuratorGroupConfig`,
COALESCE(
`product`.`main_variant_id`, `product.parent`.`main_variant_id`
) as `product.mainVariantId`,
COALESCE(
`product`.`display_parent`, `product.parent`.`display_parent`
) as `product.displayParent`,
`product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`,
COALESCE(
`product`.`variant_listing_config`,
`product.parent`.`variant_listing_config`
) as `product.variantListingConfig`,
`product`.`variant_restrictions` as `product.variantRestrictions`,
COALESCE(
`product`.`manufacturer_number`,
`product.parent`.`manufacturer_number`
) as `product.manufacturerNumber`,
COALESCE(
`product`.`ean`, `product.parent`.`ean`
) as `product.ean`,
COALESCE(
`product`.`purchase_steps`, `product.parent`.`purchase_steps`
) as `product.purchaseSteps`,
COALESCE(
`product`.`max_purchase`, `product.parent`.`max_purchase`
) as `product.maxPurchase`,
COALESCE(
`product`.`min_purchase`, `product.parent`.`min_purchase`
) as `product.minPurchase`,
COALESCE(
`product`.`purchase_unit`, `product.parent`.`purchase_unit`
) as `product.purchaseUnit`,
COALESCE(
`product`.`reference_unit`, `product.parent`.`reference_unit`
) as `product.referenceUnit`,
COALESCE(
`product`.`shipping_free`, `product.parent`.`shipping_free`
) as `product.shippingFree`,
`product.parent`.`purchase_prices` as `product.purchasePrices.inherited`,
COALESCE(
`product`.`purchase_prices`, `product.parent`.`purchase_prices`
) as `product.purchasePrices`,
COALESCE(
`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`
) as `product.markAsTopseller`,
COALESCE(
`product`.`weight`, `product.parent`.`weight`
) as `product.weight`,
COALESCE(
`product`.`width`, `product.parent`.`width`
) as `product.width`,
COALESCE(
`product`.`height`, `product.parent`.`height`
) as `product.height`,
COALESCE(
`product`.`length`, `product.parent`.`length`
) as `product.length`,
COALESCE(
`product`.`release_date`, `product.parent`.`release_date`
) as `product.releaseDate`,
COALESCE(
`product`.`rating_average`, `product.parent`.`rating_average`
) as `product.ratingAverage`,
`product.parent`.`category_tree` as `product.categoryTree.inherited`,
COALESCE(
`product`.`category_tree`, `product.parent`.`category_tree`
) as `product.categoryTree`,
`product.parent`.`property_ids` as `product.propertyIds.inherited`,
COALESCE(
`product`.`property_ids`, `product.parent`.`property_ids`
) as `product.propertyIds`,
`product.parent`.`option_ids` as `product.optionIds.inherited`,
COALESCE(
`product`.`option_ids`, `product.parent`.`option_ids`
) as `product.optionIds`,
`product.parent`.`stream_ids` as `product.streamIds.inherited`,
COALESCE(
`product`.`stream_ids`, `product.parent`.`stream_ids`
) as `product.streamIds`,
`product.parent`.`tag_ids` as `product.tagIds.inherited`,
COALESCE(
`product`.`tag_ids`, `product.parent`.`tag_ids`
) as `product.tagIds`,
`product.parent`.`category_ids` as `product.categoryIds.inherited`,
COALESCE(
`product`.`category_ids`, `product.parent`.`category_ids`
) as `product.categoryIds`,
`product`.`child_count` as `product.childCount`,
COALESCE(
`product`.`custom_field_set_selection_active`,
`product.parent`.`custom_field_set_selection_active`
) as `product.customFieldSetSelectionActive`,
`product`.`sales` as `product.sales`,
`product`.`states` as `product.states`,
`product.tax`.`id` as `product.tax.id`,
`product.tax`.`tax_rate` as `product.tax.taxRate`,
`product.tax`.`name` as `product.tax.name`,
`product.tax`.`position` as `product.tax.position`,
`product.tax`.`custom_fields` as `product.tax.customFields`,
`product.tax`.`created_at` as `product.tax.createdAt`,
`product.tax`.`updated_at` as `product.tax.updatedAt`,
`product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`,
COALESCE(
`product`.`cheapest_price`, `product.parent`.`cheapest_price`
) as `product.cheapestPrice`,
`product`.`created_at` as `product.createdAt`,
`product`.`updated_at` as `product.updatedAt`,
`product.unit`.`id` as `product.unit.id`,
`product.unit`.`created_at` as `product.unit.createdAt`,
`product.unit`.`updated_at` as `product.unit.updatedAt`,
`product.unit.translation.shortCode`,
COALESCE(
`product.unit.translation.shortCode`,
`product.unit.translation.shortCode`
) as `product.unit.shortCode`,
`product.unit.translation.name`,
COALESCE(
`product.unit.translation.name`,
`product.unit.translation.name`
) as `product.unit.name`,
`product.unit.translation.customFields`,
COALESCE(
`product.unit.translation.customFields`,
`product.unit.translation.customFields`
) as `product.unit.customFields`,
`product.unit.translation.createdAt`,
`product.unit.translation.updatedAt`,
`product.unit.translation.unitId`,
`product.unit.translation.languageId`,
`product.deliveryTime`.`id` as `product.deliveryTime.id`,
`product.deliveryTime`.`min` as `product.deliveryTime.min`,
`product.deliveryTime`.`max` as `product.deliveryTime.max`,
`product.deliveryTime`.`unit` as `product.deliveryTime.unit`,
`product.deliveryTime`.`created_at` as `product.deliveryTime.createdAt`,
`product.deliveryTime`.`updated_at` as `product.deliveryTime.updatedAt`,
`product.deliveryTime.translation.name`,
COALESCE(
`product.deliveryTime.translation.name`,
`product.deliveryTime.translation.name`
) as `product.deliveryTime.name`,
`product.deliveryTime.translation.customFields`,
COALESCE(
`product.deliveryTime.translation.customFields`,
`product.deliveryTime.translation.customFields`
) as `product.deliveryTime.customFields`,
`product.deliveryTime.translation.createdAt`,
`product.deliveryTime.translation.updatedAt`,
`product.deliveryTime.translation.deliveryTimeId`,
`product.deliveryTime.translation.languageId`,
`product.cover`.`id` as `product.cover.id`,
`product.cover`.`version_id` as `product.cover.versionId`,
`product.cover`.`product_id` as `product.cover.productId`,
`product.cover`.`product_version_id` as `product.cover.productVersionId`,
`product.cover`.`media_id` as `product.cover.mediaId`,
`product.cover`.`position` as `product.cover.position`,
`product.cover.media`.`id` as `product.cover.media.id`,
`product.cover.media`.`user_id` as `product.cover.media.userId`,
`product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`,
`product.cover.media`.`mime_type` as `product.cover.media.mimeType`,
`product.cover.media`.`file_extension` as `product.cover.media.fileExtension`,
`product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`,
`product.cover.media`.`file_name` as `product.cover.media.fileName`,
`product.cover.media`.`file_size` as `product.cover.media.fileSize`,
`product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`,
`product.cover.media`.`meta_data` as `product.cover.media.metaData`,
`product.cover.media`.`private` as `product.cover.media.private`,
`product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`,
`product.cover.media`.`created_at` as `product.cover.media.createdAt`,
`product.cover.media`.`updated_at` as `product.cover.media.updatedAt`,
`product.cover.media.translation.title`,
COALESCE(
`product.cover.media.translation.title`,
`product.cover.media.translation.title`
) as `product.cover.media.title`,
`product.cover.media.translation.alt`,
COALESCE(
`product.cover.media.translation.alt`,
`product.cover.media.translation.alt`
) as `product.cover.media.alt`,
`product.cover.media.translation.customFields`,
COALESCE(
`product.cover.media.translation.customFields`,
`product.cover.media.translation.customFields`
) as `product.cover.media.customFields`,
`product.cover.media.translation.createdAt`,
`product.cover.media.translation.updatedAt`,
`product.cover.media.translation.mediaId`,
`product.cover.media.translation.languageId`,
`product.cover`.`custom_fields` as `product.cover.customFields`,
`product.cover`.`created_at` as `product.cover.createdAt`,
`product.cover`.`updated_at` as `product.cover.updatedAt`,
`product.translation.metaDescription`,
`product.parent.translation.metaDescription`,
COALESCE(
`product.translation.metaDescription`,
`product.parent.translation.metaDescription`,
`product.translation.metaDescription`
) as `product.metaDescription`,
`product.translation.name`,
`product.parent.translation.name`,
COALESCE(
`product.translation.name`, `product.parent.translation.name`,
`product.translation.name`
) as `product.name`,
`product.translation.keywords`,
`product.parent.translation.keywords`,
COALESCE(
`product.translation.keywords`,
`product.parent.translation.keywords`,
`product.translation.keywords`
) as `product.keywords`,
`product.translation.description`,
`product.parent.translation.description`,
COALESCE(
`product.translation.description`,
`product.parent.translation.description`,
`product.translation.description`
) as `product.description`,
`product.translation.metaTitle`,
`product.parent.translation.metaTitle`,
COALESCE(
`product.translation.metaTitle`,
`product.parent.translation.metaTitle`,
`product.translation.metaTitle`
) as `product.metaTitle`,
`product.translation.packUnit`,
`product.parent.translation.packUnit`,
COALESCE(
`product.translation.packUnit`,
`product.parent.translation.packUnit`,
`product.translation.packUnit`
) as `product.packUnit`,
`product.translation.packUnitPlural`,
`product.parent.translation.packUnitPlural`,
COALESCE(
`product.translation.packUnitPlural`,
`product.parent.translation.packUnitPlural`,
`product.translation.packUnitPlural`
) as `product.packUnitPlural`,
`product.translation.customSearchKeywords`,
`product.parent.translation.customSearchKeywords`,
COALESCE(
`product.translation.customSearchKeywords`,
`product.parent.translation.customSearchKeywords`,
`product.translation.customSearchKeywords`
) as `product.customSearchKeywords`,
`product.translation.slotConfig`,
`product.parent.translation.slotConfig`,
COALESCE(
`product.translation.slotConfig`,
`product.parent.translation.slotConfig`,
`product.translation.slotConfig`
) as `product.slotConfig`,
`product.translation.customFields`,
`product.parent.translation.customFields`,
COALESCE(
`product.translation.customFields`,
`product.parent.translation.customFields`,
`product.translation.customFields`
) as `product.customFields`,
`product.translation.createdAt`,
`product.parent.translation.createdAt`,
`product.translation.updatedAt`,
`product.parent.translation.updatedAt`,
`product.translation.productId`,
`product.parent.translation.productId`,
`product.translation.languageId`,
`product.parent.translation.languageId`,
`product.translation.productVersionId`,
`product.parent.translation.productVersionId`
FROM
`product`
LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id`
AND `product`.`version_id` = `product.parent`.`version_id`
LEFT JOIN (
SELECT
`product.translation`.product_id,
`product.translation`.product_version_id,
`product.translation`.meta_description as `product.translation.metaDescription`,
`product.translation`.name as `product.translation.name`,
`product.translation`.keywords as `product.translation.keywords`,
`product.translation`.description as `product.translation.description`,
`product.translation`.meta_title as `product.translation.metaTitle`,
`product.translation`.pack_unit as `product.translation.packUnit`,
`product.translation`.pack_unit_plural as `product.translation.packUnitPlural`,
`product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`,
`product.translation`.slot_config as `product.translation.slotConfig`,
`product.translation`.custom_fields as `product.translation.customFields`,
`product.translation`.created_at as `product.translation.createdAt`,
`product.translation`.updated_at as `product.translation.updatedAt`,
`product.translation`.product_id as `product.translation.productId`,
`product.translation`.language_id as `product.translation.languageId`,
`product.translation`.product_version_id as `product.translation.productVersionId`
FROM
`product_translation` `product.translation`
WHERE
`product.translation`.language_id = : languageId
) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id`
AND `product.product_translation`.product_version_id = `product`.version_id
LEFT JOIN (
SELECT
`product.parent.translation`.product_id,
`product.parent.translation`.product_version_id,
`product.parent.translation`.meta_description as `product.parent.translation.metaDescription`,
`product.parent.translation`.name as `product.parent.translation.name`,
`product.parent.translation`.keywords as `product.parent.translation.keywords`,
`product.parent.translation`.description as `product.parent.translation.description`,
`product.parent.translation`.meta_title as `product.parent.translation.metaTitle`,
`product.parent.translation`.pack_unit as `product.parent.translation.packUnit`,
`product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`,
`product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`,
`product.parent.translation`.slot_config as `product.parent.translation.slotConfig`,
`product.parent.translation`.custom_fields as `product.parent.translation.customFields`,
`product.parent.translation`.created_at as `product.parent.translation.createdAt`,
`product.parent.translation`.updated_at as `product.parent.translation.updatedAt`,
`product.parent.translation`.product_id as `product.parent.translation.productId`,
`product.parent.translation`.language_id as `product.parent.translation.languageId`,
`product.parent.translation`.product_version_id as `product.parent.translation.productVersionId`
FROM
`product_translation` `product.parent.translation`
WHERE
`product.parent.translation`.language_id = : languageId
) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id`
AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id
LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id`
LEFT JOIN `unit` `product.unit` ON `product`.`unit` = `product.unit`.`id`
LEFT JOIN `delivery_time` `product.deliveryTime` ON `product`.`deliveryTime` = `product.deliveryTime`.`id`
LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id`
AND `product`.`version_id` = `product.cover`.`version_id`
LEFT JOIN (
SELECT
`product.unit.translation`.unit_id,
`product.unit.translation`.short_code as `product.unit.translation.shortCode`,
`product.unit.translation`.name as `product.unit.translation.name`,
`product.unit.translation`.custom_fields as `product.unit.translation.customFields`,
`product.unit.translation`.created_at as `product.unit.translation.createdAt`,
`product.unit.translation`.updated_at as `product.unit.translation.updatedAt`,
`product.unit.translation`.unit_id as `product.unit.translation.unitId`,
`product.unit.translation`.language_id as `product.unit.translation.languageId`
FROM
`unit_translation` `product.unit.translation`
WHERE
`product.unit.translation`.language_id = : languageId
) `product.unit.unit_translation` ON `product.unit.unit_translation`.`unit_id` = `product.unit`.`id`
LEFT JOIN (
SELECT
`product.deliveryTime.translation`.delivery_time_id,
`product.deliveryTime.translation`.name as `product.deliveryTime.translation.name`,
`product.deliveryTime.translation`.custom_fields as `product.deliveryTime.translation.customFields`,
`product.deliveryTime.translation`.created_at as `product.deliveryTime.translation.createdAt`,
`product.deliveryTime.translation`.updated_at as `product.deliveryTime.translation.updatedAt`,
`product.deliveryTime.translation`.delivery_time_id as `product.deliveryTime.translation.deliveryTimeId`,
`product.deliveryTime.translation`.language_id as `product.deliveryTime.translation.languageId`
FROM
`delivery_time_translation` `product.deliveryTime.translation`
WHERE
`product.deliveryTime.translation`.language_id = : languageId
) `product.deliveryTime.delivery_time_translation` ON `product.deliveryTime.delivery_time_translation`.`delivery_time_id` = `product.deliveryTime`.`id`
LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id`
LEFT JOIN (
SELECT
`product.cover.media.translation`.media_id,
`product.cover.media.translation`.title as `product.cover.media.translation.title`,
`product.cover.media.translation`.alt as `product.cover.media.translation.alt`,
`product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`,
`product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`,
`product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`,
`product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`,
`product.cover.media.translation`.language_id as `product.cover.media.translation.languageId`
FROM
`media_translation` `product.cover.media.translation`
WHERE
`product.cover.media.translation`.language_id = : languageId
) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id`
WHERE
(
`product`.`version_id` = : version
)
AND (
`product`.`id` IN (: ids)
)
SELECT `product`.`id` as `product.id`, `product`.`version_id` as `product.versionId`, `product`.`parent_id` as `product.parentId`, `product`.`parent_version_id` as `product.parentVersionId`, COALESCE(`product`.`product_manufacturer_id`, `product.parent`.`product_manufacturer_id`) as `product.manufacturerId`, COALESCE(`product`.`product_manufacturer_version_id`, `product.parent`.`product_manufacturer_version_id`) as `product.productManufacturerVersionId`, COALESCE(`product`.`unit_id`, `product.parent`.`unit_id`) as `product.unitId`, COALESCE(`product`.`tax_id`, `product.parent`.`tax_id`) as `product.taxId`, COALESCE(`product`.`product_media_id`, `product.parent`.`product_media_id`) as `product.coverId`, COALESCE(`product`.`product_media_version_id`, `product.parent`.`product_media_version_id`) as `product.productMediaVersionId`, COALESCE(`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`) as `product.deliveryTimeId`, COALESCE(`product`.`product_feature_set_id`, `product.parent`.`product_feature_set_id`) as `product.featureSetId`, COALESCE(`product`.`canonical_product_id`, `product.parent`.`canonical_product_id`) as `product.canonicalProductId`, COALESCE(`product`.`cms_page_id`, `product.parent`.`cms_page_id`) as `product.cmsPageId`, COALESCE(`product`.`cms_page_version_id`, `product.parent`.`cms_page_version_id`) as `product.cmsPageVersionId`, `product.parent`.`price` as `product.price.inherited`, COALESCE(`product`.`price`, `product.parent`.`price`) as `product.price`, `product`.`product_number` as `product.productNumber`, `product`.`stock` as `product.stock`, COALESCE(`product`.`restock_time`, `product.parent`.`restock_time`) as `product.restockTime`, `product`.`auto_increment` as `product.autoIncrement`, COALESCE(`product`.`active`, `product.parent`.`active`) as `product.active`, `product`.`available_stock` as `product.availableStock`, `product`.`available` as `product.available`, COALESCE(`product`.`is_closeout`, `product.parent`.`is_closeout`) as `product.isCloseout`, `product`.`display_group` as `product.displayGroup`, `product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`, COALESCE(`product`.`configurator_group_config`, `product.parent`.`configurator_group_config`) as `product.configuratorGroupConfig`, COALESCE(`product`.`main_variant_id`, `product.parent`.`main_variant_id`) as `product.mainVariantId`, COALESCE(`product`.`display_parent`, `product.parent`.`display_parent`) as `product.displayParent`, `product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`, COALESCE(`product`.`variant_listing_config`, `product.parent`.`variant_listing_config`) as `product.variantListingConfig`, `product`.`variant_restrictions` as `product.variantRestrictions`, COALESCE(`product`.`manufacturer_number`, `product.parent`.`manufacturer_number`) as `product.manufacturerNumber`, COALESCE(`product`.`ean`, `product.parent`.`ean`) as `product.ean`, COALESCE(`product`.`purchase_steps`, `product.parent`.`purchase_steps`) as `product.purchaseSteps`, COALESCE(`product`.`max_purchase`, `product.parent`.`max_purchase`) as `product.maxPurchase`, COALESCE(`product`.`min_purchase`, `product.parent`.`min_purchase`) as `product.minPurchase`, COALESCE(`product`.`purchase_unit`, `product.parent`.`purchase_unit`) as `product.purchaseUnit`, COALESCE(`product`.`reference_unit`, `product.parent`.`reference_unit`) as `product.referenceUnit`, COALESCE(`product`.`shipping_free`, `product.parent`.`shipping_free`) as `product.shippingFree`, `product.parent`.`purchase_prices` as `product.purchasePrices.inherited`, COALESCE(`product`.`purchase_prices`, `product.parent`.`purchase_prices`) as `product.purchasePrices`, COALESCE(`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`) as `product.markAsTopseller`, COALESCE(`product`.`weight`, `product.parent`.`weight`) as `product.weight`, COALESCE(`product`.`width`, `product.parent`.`width`) as `product.width`, COALESCE(`product`.`height`, `product.parent`.`height`) as `product.height`, COALESCE(`product`.`length`, `product.parent`.`length`) as `product.length`, COALESCE(`product`.`release_date`, `product.parent`.`release_date`) as `product.releaseDate`, COALESCE(`product`.`rating_average`, `product.parent`.`rating_average`) as `product.ratingAverage`, `product.parent`.`category_tree` as `product.categoryTree.inherited`, COALESCE(`product`.`category_tree`, `product.parent`.`category_tree`) as `product.categoryTree`, `product.parent`.`property_ids` as `product.propertyIds.inherited`, COALESCE(`product`.`property_ids`, `product.parent`.`property_ids`) as `product.propertyIds`, `product.parent`.`option_ids` as `product.optionIds.inherited`, COALESCE(`product`.`option_ids`, `product.parent`.`option_ids`) as `product.optionIds`, `product.parent`.`stream_ids` as `product.streamIds.inherited`, COALESCE(`product`.`stream_ids`, `product.parent`.`stream_ids`) as `product.streamIds`, `product.parent`.`tag_ids` as `product.tagIds.inherited`, COALESCE(`product`.`tag_ids`, `product.parent`.`tag_ids`) as `product.tagIds`, `product.parent`.`category_ids` as `product.categoryIds.inherited`, COALESCE(`product`.`category_ids`, `product.parent`.`category_ids`) as `product.categoryIds`, `product`.`child_count` as `product.childCount`, COALESCE(`product`.`custom_field_set_selection_active`, `product.parent`.`custom_field_set_selection_active`) as `product.customFieldSetSelectionActive`, `product`.`sales` as `product.sales`, `product`.`states` as `product.states`, `product.tax`.`id` as `product.tax.id`, `product.tax`.`tax_rate` as `product.tax.taxRate`, `product.tax`.`name` as `product.tax.name`, `product.tax`.`position` as `product.tax.position`, `product.tax`.`custom_fields` as `product.tax.customFields`, `product.tax`.`created_at` as `product.tax.createdAt`, `product.tax`.`updated_at` as `product.tax.updatedAt`, `product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`, COALESCE(`product`.`cheapest_price`, `product.parent`.`cheapest_price`) as `product.cheapestPrice`, `product`.`created_at` as `product.createdAt`, `product`.`updated_at` as `product.updatedAt`, `product.unit`.`id` as `product.unit.id`, `product.unit`.`created_at` as `product.unit.createdAt`, `product.unit`.`updated_at` as `product.unit.updatedAt`, `product.unit.translation.shortCode`, COALESCE(`product.unit.translation.shortCode`,`product.unit.translation.shortCode`) as `product.unit.shortCode`, `product.unit.translation.name`, COALESCE(`product.unit.translation.name`,`product.unit.translation.name`) as `product.unit.name`, `product.unit.translation.customFields`, COALESCE(`product.unit.translation.customFields`,`product.unit.translation.customFields`) as `product.unit.customFields`, `product.unit.translation.createdAt`, `product.unit.translation.updatedAt`, `product.unit.translation.unitId`, `product.unit.translation.languageId`, `product.deliveryTime`.`id` as `product.deliveryTime.id`, `product.deliveryTime`.`min` as `product.deliveryTime.min`, `product.deliveryTime`.`max` as `product.deliveryTime.max`, `product.deliveryTime`.`unit` as `product.deliveryTime.unit`, `product.deliveryTime`.`created_at` as `product.deliveryTime.createdAt`, `product.deliveryTime`.`updated_at` as `product.deliveryTime.updatedAt`, `product.deliveryTime.translation.name`, COALESCE(`product.deliveryTime.translation.name`,`product.deliveryTime.translation.name`) as `product.deliveryTime.name`, `product.deliveryTime.translation.customFields`, COALESCE(`product.deliveryTime.translation.customFields`,`product.deliveryTime.translation.customFields`) as `product.deliveryTime.customFields`, `product.deliveryTime.translation.createdAt`, `product.deliveryTime.translation.updatedAt`, `product.deliveryTime.translation.deliveryTimeId`, `product.deliveryTime.translation.languageId`, `product.cover`.`id` as `product.cover.id`, `product.cover`.`version_id` as `product.cover.versionId`, `product.cover`.`product_id` as `product.cover.productId`, `product.cover`.`product_version_id` as `product.cover.productVersionId`, `product.cover`.`media_id` as `product.cover.mediaId`, `product.cover`.`position` as `product.cover.position`, `product.cover.media`.`id` as `product.cover.media.id`, `product.cover.media`.`user_id` as `product.cover.media.userId`, `product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`, `product.cover.media`.`mime_type` as `product.cover.media.mimeType`, `product.cover.media`.`file_extension` as `product.cover.media.fileExtension`, `product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`, `product.cover.media`.`file_name` as `product.cover.media.fileName`, `product.cover.media`.`file_size` as `product.cover.media.fileSize`, `product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`, `product.cover.media`.`meta_data` as `product.cover.media.metaData`, `product.cover.media`.`private` as `product.cover.media.private`, `product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`, `product.cover.media`.`created_at` as `product.cover.media.createdAt`, `product.cover.media`.`updated_at` as `product.cover.media.updatedAt`, `product.cover.media.translation.title`, COALESCE(`product.cover.media.translation.title`,`product.cover.media.translation.title`) as `product.cover.media.title`, `product.cover.media.translation.alt`, COALESCE(`product.cover.media.translation.alt`,`product.cover.media.translation.alt`) as `product.cover.media.alt`, `product.cover.media.translation.customFields`, COALESCE(`product.cover.media.translation.customFields`,`product.cover.media.translation.customFields`) as `product.cover.media.customFields`, `product.cover.media.translation.createdAt`, `product.cover.media.translation.updatedAt`, `product.cover.media.translation.mediaId`, `product.cover.media.translation.languageId`, `product.cover`.`custom_fields` as `product.cover.customFields`, `product.cover`.`created_at` as `product.cover.createdAt`, `product.cover`.`updated_at` as `product.cover.updatedAt`, `product.translation.metaDescription`, `product.parent.translation.metaDescription`, COALESCE(`product.translation.metaDescription`,`product.parent.translation.metaDescription`,`product.translation.metaDescription`) as `product.metaDescription`, `product.translation.name`, `product.parent.translation.name`, COALESCE(`product.translation.name`,`product.parent.translation.name`,`product.translation.name`) as `product.name`, `product.translation.keywords`, `product.parent.translation.keywords`, COALESCE(`product.translation.keywords`,`product.parent.translation.keywords`,`product.translation.keywords`) as `product.keywords`, `product.translation.description`, `product.parent.translation.description`, COALESCE(`product.translation.description`,`product.parent.translation.description`,`product.translation.description`) as `product.description`, `product.translation.metaTitle`, `product.parent.translation.metaTitle`, COALESCE(`product.translation.metaTitle`,`product.parent.translation.metaTitle`,`product.translation.metaTitle`) as `product.metaTitle`, `product.translation.packUnit`, `product.parent.translation.packUnit`, COALESCE(`product.translation.packUnit`,`product.parent.translation.packUnit`,`product.translation.packUnit`) as `product.packUnit`, `product.translation.packUnitPlural`, `product.parent.translation.packUnitPlural`, COALESCE(`product.translation.packUnitPlural`,`product.parent.translation.packUnitPlural`,`product.translation.packUnitPlural`) as `product.packUnitPlural`, `product.translation.customSearchKeywords`, `product.parent.translation.customSearchKeywords`, COALESCE(`product.translation.customSearchKeywords`,`product.parent.translation.customSearchKeywords`,`product.translation.customSearchKeywords`) as `product.customSearchKeywords`, `product.translation.slotConfig`, `product.parent.translation.slotConfig`, COALESCE(`product.translation.slotConfig`,`product.parent.translation.slotConfig`,`product.translation.slotConfig`) as `product.slotConfig`, `product.translation.customFields`, `product.parent.translation.customFields`, COALESCE(`product.translation.customFields`,`product.parent.translation.customFields`,`product.translation.customFields`) as `product.customFields`, `product.translation.createdAt`, `product.parent.translation.createdAt`, `product.translation.updatedAt`, `product.parent.translation.updatedAt`, `product.translation.productId`, `product.parent.translation.productId`, `product.translation.languageId`, `product.parent.translation.languageId`, `product.translation.productVersionId`, `product.parent.translation.productVersionId` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN (SELECT `product.translation`.product_id, `product.translation`.product_version_id, `product.translation`.meta_description as `product.translation.metaDescription`, `product.translation`.name as `product.translation.name`, `product.translation`.keywords as `product.translation.keywords`, `product.translation`.description as `product.translation.description`, `product.translation`.meta_title as `product.translation.metaTitle`, `product.translation`.pack_unit as `product.translation.packUnit`, `product.translation`.pack_unit_plural as `product.translation.packUnitPlural`, `product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`, `product.translation`.slot_config as `product.translation.slotConfig`, `product.translation`.custom_fields as `product.translation.customFields`, `product.translation`.created_at as `product.translation.createdAt`, `product.translation`.updated_at as `product.translation.updatedAt`, `product.translation`.product_id as `product.translation.productId`, `product.translation`.language_id as `product.translation.languageId`, `product.translation`.product_version_id as `product.translation.productVersionId` FROM `product_translation` `product.translation` WHERE `product.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id` AND `product.product_translation`.product_version_id = `product`.version_id LEFT JOIN (SELECT `product.parent.translation`.product_id, `product.parent.translation`.product_version_id, `product.parent.translation`.meta_description as `product.parent.translation.metaDescription`, `product.parent.translation`.name as `product.parent.translation.name`, `product.parent.translation`.keywords as `product.parent.translation.keywords`, `product.parent.translation`.description as `product.parent.translation.description`, `product.parent.translation`.meta_title as `product.parent.translation.metaTitle`, `product.parent.translation`.pack_unit as `product.parent.translation.packUnit`, `product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`, `product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`, `product.parent.translation`.slot_config as `product.parent.translation.slotConfig`, `product.parent.translation`.custom_fields as `product.parent.translation.customFields`, `product.parent.translation`.created_at as `product.parent.translation.createdAt`, `product.parent.translation`.updated_at as `product.parent.translation.updatedAt`, `product.parent.translation`.product_id as `product.parent.translation.productId`, `product.parent.translation`.language_id as `product.parent.translation.languageId`, `product.parent.translation`.product_version_id as `product.parent.translation.productVersionId` FROM `product_translation` `product.parent.translation` WHERE `product.parent.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id` AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id` LEFT JOIN `unit` `product.unit` ON `product`.`unit` = `product.unit`.`id` LEFT JOIN `delivery_time` `product.deliveryTime` ON `product`.`deliveryTime` = `product.deliveryTime`.`id` LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id` AND `product`.`version_id` = `product.cover`.`version_id` LEFT JOIN (SELECT `product.unit.translation`.unit_id, `product.unit.translation`.short_code as `product.unit.translation.shortCode`, `product.unit.translation`.name as `product.unit.translation.name`, `product.unit.translation`.custom_fields as `product.unit.translation.customFields`, `product.unit.translation`.created_at as `product.unit.translation.createdAt`, `product.unit.translation`.updated_at as `product.unit.translation.updatedAt`, `product.unit.translation`.unit_id as `product.unit.translation.unitId`, `product.unit.translation`.language_id as `product.unit.translation.languageId` FROM `unit_translation` `product.unit.translation` WHERE `product.unit.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.unit.unit_translation` ON `product.unit.unit_translation`.`unit_id` = `product.unit`.`id` LEFT JOIN (SELECT `product.deliveryTime.translation`.delivery_time_id, `product.deliveryTime.translation`.name as `product.deliveryTime.translation.name`, `product.deliveryTime.translation`.custom_fields as `product.deliveryTime.translation.customFields`, `product.deliveryTime.translation`.created_at as `product.deliveryTime.translation.createdAt`, `product.deliveryTime.translation`.updated_at as `product.deliveryTime.translation.updatedAt`, `product.deliveryTime.translation`.delivery_time_id as `product.deliveryTime.translation.deliveryTimeId`, `product.deliveryTime.translation`.language_id as `product.deliveryTime.translation.languageId` FROM `delivery_time_translation` `product.deliveryTime.translation` WHERE `product.deliveryTime.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.deliveryTime.delivery_time_translation` ON `product.deliveryTime.delivery_time_translation`.`delivery_time_id` = `product.deliveryTime`.`id` LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id` LEFT JOIN (SELECT `product.cover.media.translation`.media_id, `product.cover.media.translation`.title as `product.cover.media.translation.title`, `product.cover.media.translation`.alt as `product.cover.media.translation.alt`, `product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`, `product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`, `product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`, `product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`, `product.cover.media.translation`.language_id as `product.cover.media.translation.languageId` FROM `media_translation` `product.cover.media.translation` WHERE `product.cover.media.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id` WHERE (`product`.`version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425) AND (`product`.`id` IN (0x98396D42CE8B42568E9C81BC3780027C));
array:37 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 242)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 316)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetch (line 148)"
4 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 93)"
5 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::read (line 195)"
6 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::read (line 133)"
7 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 36)"
8 => "Swag\PayPal\Util\Compatibility\SalesChannelRepositoryDecorator::search (line 207)"
9 => "Tds\MerwareDiscounts\Cart\Checkout\OverwrittenPriceCollector::getSalesChannelProduct (line 93)"
10 => "Tds\MerwareDiscounts\Cart\Checkout\OverwrittenPriceCollector::collect (line 103)"
11 => "Shopware\Core\Checkout\Cart\Processor::runProcessors (line 67)"
12 => "Shopware\Core\Checkout\Cart\Processor::Shopware\Core\Checkout\Cart\{closure} (line 59)"
13 => "Shopware\Core\Profiling\Profiler::trace (line 86)"
14 => "Shopware\Core\Checkout\Cart\Processor::process (line 132)"
15 => "Shopware\Core\Checkout\Cart\CartRuleLoader::Shopware\Core\Checkout\Cart\{closure} (line 59)"
16 => "Shopware\Core\Profiling\Profiler::trace (line 183)"
17 => "Shopware\Core\Checkout\Cart\CartRuleLoader::load (line 83)"
18 => "Shopware\Core\Checkout\Cart\CartRuleLoader::loadByToken (line 106)"
19 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::Shopware\Core\System\SalesChannel\Context\{closure} (line 59)"
20 => "Shopware\Core\Profiling\Profiler::trace (line 111)"
21 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::get (line 105)"
22 => "Shopware\Core\Framework\Routing\SalesChannelRequestContextResolver::resolve (line 38)"
23 => "Shopware\Core\Framework\Routing\ContextResolverListener::resolveContext (line 118)"
24 => "Symfony\Component\EventDispatcher\Debug\WrappedListener::__invoke (line 230)"
25 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
26 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
27 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
28 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
29 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
30 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
31 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 151)"
32 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
33 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
34 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
35 => "Shopware\Core\HttpKernel::doHandle (line 81)"
36 => "Shopware\Core\HttpKernel::handle (line 85)"
]
|
87 |
0.41 ms |
SELECT `product_price`.`id` as `product_price.id`, `product_price`.`version_id` as `product_price.versionId`, `product_price`.`product_id` as `product_price.productId`, `product_price`.`product_version_id` as `product_price.productVersionId`, `product_price`.`rule_id` as `product_price.ruleId`, `product_price`.`price` as `product_price.price`, `product_price`.`quantity_start` as `product_price.quantityStart`, `product_price`.`quantity_end` as `product_price.quantityEnd`, `product_price`.`custom_fields` as `product_price.customFields`, `product_price`.`created_at` as `product_price.createdAt`, `product_price`.`updated_at` as `product_price.updatedAt` FROM `product_price` WHERE (`product_price`.`version_id` = :version) AND ((`product_price`.`product_id` IN (:param_d2a3ba87471c48ba8080fce6268c13fc)))
SELECT `product_price`.`id` as `product_price.id`, `product_price`.`version_id` as `product_price.versionId`, `product_price`.`product_id` as `product_price.productId`, `product_price`.`product_version_id` as `product_price.productVersionId`, `product_price`.`rule_id` as `product_price.ruleId`, `product_price`.`price` as `product_price.price`, `product_price`.`quantity_start` as `product_price.quantityStart`, `product_price`.`quantity_end` as `product_price.quantityEnd`, `product_price`.`custom_fields` as `product_price.customFields`, `product_price`.`created_at` as `product_price.createdAt`, `product_price`.`updated_at` as `product_price.updatedAt` FROM `product_price` WHERE (`product_price`.`version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425) AND ((`product_price`.`product_id` IN (0x98396D42CE8B42568E9C81BC3780027C)));
array:41 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 242)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 316)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetch (line 148)"
4 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 503)"
5 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::loadOneToManyWithoutPagination (line 438)"
6 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::loadOneToMany (line 1210)"
7 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetchAssociations (line 152)"
8 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 93)"
9 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::read (line 195)"
10 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::read (line 133)"
11 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 36)"
12 => "Swag\PayPal\Util\Compatibility\SalesChannelRepositoryDecorator::search (line 207)"
13 => "Tds\MerwareDiscounts\Cart\Checkout\OverwrittenPriceCollector::getSalesChannelProduct (line 93)"
14 => "Tds\MerwareDiscounts\Cart\Checkout\OverwrittenPriceCollector::collect (line 103)"
15 => "Shopware\Core\Checkout\Cart\Processor::runProcessors (line 67)"
16 => "Shopware\Core\Checkout\Cart\Processor::Shopware\Core\Checkout\Cart\{closure} (line 59)"
17 => "Shopware\Core\Profiling\Profiler::trace (line 86)"
18 => "Shopware\Core\Checkout\Cart\Processor::process (line 132)"
19 => "Shopware\Core\Checkout\Cart\CartRuleLoader::Shopware\Core\Checkout\Cart\{closure} (line 59)"
20 => "Shopware\Core\Profiling\Profiler::trace (line 183)"
21 => "Shopware\Core\Checkout\Cart\CartRuleLoader::load (line 83)"
22 => "Shopware\Core\Checkout\Cart\CartRuleLoader::loadByToken (line 106)"
23 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::Shopware\Core\System\SalesChannel\Context\{closure} (line 59)"
24 => "Shopware\Core\Profiling\Profiler::trace (line 111)"
25 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::get (line 105)"
26 => "Shopware\Core\Framework\Routing\SalesChannelRequestContextResolver::resolve (line 38)"
27 => "Shopware\Core\Framework\Routing\ContextResolverListener::resolveContext (line 118)"
28 => "Symfony\Component\EventDispatcher\Debug\WrappedListener::__invoke (line 230)"
29 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
30 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
31 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
32 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
33 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
34 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
35 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 151)"
36 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
37 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
38 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
39 => "Shopware\Core\HttpKernel::doHandle (line 81)"
40 => "Shopware\Core\HttpKernel::handle (line 85)"
]
|
88 |
0.30 ms |
SELECT `product`.`id`, `product`.`product_number`, `product`.`auto_increment` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN `product_visibility` `product.visibilities` ON `product`.`visibilities` = `product.visibilities`.`product_id` AND `product`.version_id = `product.visibilities`.product_version_id WHERE (`product`.`version_id` = :version) AND ((((`product.visibilities`.`visibility` >= :param_e7e41118c16b4a91b3647c35428b5e5c) AND `product.visibilities`.`sales_channel_id` = :param_64629370fddb48b8acdc0d0787394df8 AND IFNULL(`product`.`active`, `product.parent`.`active`) = :param_f82b9688cc8541bf8db9918622d84940))) AND (`product`.`id` IN (:ids)) GROUP BY `product`.`id`
SELECT `product`.`id`, `product`.`product_number`, `product`.`auto_increment` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN `product_visibility` `product.visibilities` ON `product`.`visibilities` = `product.visibilities`.`product_id` AND `product`.version_id = `product.visibilities`.product_version_id WHERE (`product`.`version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425) AND ((((`product.visibilities`.`visibility` >= 10) AND `product.visibilities`.`sales_channel_id` = 0x4EB9108BE4654CC9B140D14DE85579E9 AND IFNULL(`product`.`active`, `product.parent`.`active`) = 1))) AND (`product`.`id` IN (0x1301813EFF234EECAD6A967E57D0CD77)) GROUP BY `product`.`id`;
array:36 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 242)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 107)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntitySearcher::search (line 62)"
4 => "Shopware\Elasticsearch\Framework\DataAbstractionLayer\ElasticsearchEntitySearcher::search (line 216)"
5 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::doSearch (line 122)"
6 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 36)"
7 => "Swag\PayPal\Util\Compatibility\SalesChannelRepositoryDecorator::search (line 207)"
8 => "Tds\MerwareDiscounts\Cart\Checkout\OverwrittenPriceCollector::getSalesChannelProduct (line 93)"
9 => "Tds\MerwareDiscounts\Cart\Checkout\OverwrittenPriceCollector::collect (line 103)"
10 => "Shopware\Core\Checkout\Cart\Processor::runProcessors (line 67)"
11 => "Shopware\Core\Checkout\Cart\Processor::Shopware\Core\Checkout\Cart\{closure} (line 59)"
12 => "Shopware\Core\Profiling\Profiler::trace (line 86)"
13 => "Shopware\Core\Checkout\Cart\Processor::process (line 132)"
14 => "Shopware\Core\Checkout\Cart\CartRuleLoader::Shopware\Core\Checkout\Cart\{closure} (line 59)"
15 => "Shopware\Core\Profiling\Profiler::trace (line 183)"
16 => "Shopware\Core\Checkout\Cart\CartRuleLoader::load (line 83)"
17 => "Shopware\Core\Checkout\Cart\CartRuleLoader::loadByToken (line 106)"
18 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::Shopware\Core\System\SalesChannel\Context\{closure} (line 59)"
19 => "Shopware\Core\Profiling\Profiler::trace (line 111)"
20 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::get (line 105)"
21 => "Shopware\Core\Framework\Routing\SalesChannelRequestContextResolver::resolve (line 38)"
22 => "Shopware\Core\Framework\Routing\ContextResolverListener::resolveContext (line 118)"
23 => "Symfony\Component\EventDispatcher\Debug\WrappedListener::__invoke (line 230)"
24 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
25 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
26 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
27 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
28 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
29 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
30 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 151)"
31 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
32 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
33 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
34 => "Shopware\Core\HttpKernel::doHandle (line 81)"
35 => "Shopware\Core\HttpKernel::handle (line 85)"
]
|
89 |
8.94 ms |
SELECT `product`.`id` as `product.id`, `product`.`version_id` as `product.versionId`, `product`.`parent_id` as `product.parentId`, `product`.`parent_version_id` as `product.parentVersionId`, COALESCE(`product`.`product_manufacturer_id`, `product.parent`.`product_manufacturer_id`) as `product.manufacturerId`, COALESCE(`product`.`product_manufacturer_version_id`, `product.parent`.`product_manufacturer_version_id`) as `product.productManufacturerVersionId`, COALESCE(`product`.`unit_id`, `product.parent`.`unit_id`) as `product.unitId`, COALESCE(`product`.`tax_id`, `product.parent`.`tax_id`) as `product.taxId`, COALESCE(`product`.`product_media_id`, `product.parent`.`product_media_id`) as `product.coverId`, COALESCE(`product`.`product_media_version_id`, `product.parent`.`product_media_version_id`) as `product.productMediaVersionId`, COALESCE(`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`) as `product.deliveryTimeId`, COALESCE(`product`.`product_feature_set_id`, `product.parent`.`product_feature_set_id`) as `product.featureSetId`, COALESCE(`product`.`canonical_product_id`, `product.parent`.`canonical_product_id`) as `product.canonicalProductId`, COALESCE(`product`.`cms_page_id`, `product.parent`.`cms_page_id`) as `product.cmsPageId`, COALESCE(`product`.`cms_page_version_id`, `product.parent`.`cms_page_version_id`) as `product.cmsPageVersionId`, `product.parent`.`price` as `product.price.inherited`, COALESCE(`product`.`price`, `product.parent`.`price`) as `product.price`, `product`.`product_number` as `product.productNumber`, `product`.`stock` as `product.stock`, COALESCE(`product`.`restock_time`, `product.parent`.`restock_time`) as `product.restockTime`, `product`.`auto_increment` as `product.autoIncrement`, COALESCE(`product`.`active`, `product.parent`.`active`) as `product.active`, `product`.`available_stock` as `product.availableStock`, `product`.`available` as `product.available`, COALESCE(`product`.`is_closeout`, `product.parent`.`is_closeout`) as `product.isCloseout`, `product`.`display_group` as `product.displayGroup`, `product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`, COALESCE(`product`.`configurator_group_config`, `product.parent`.`configurator_group_config`) as `product.configuratorGroupConfig`, COALESCE(`product`.`main_variant_id`, `product.parent`.`main_variant_id`) as `product.mainVariantId`, COALESCE(`product`.`display_parent`, `product.parent`.`display_parent`) as `product.displayParent`, `product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`, COALESCE(`product`.`variant_listing_config`, `product.parent`.`variant_listing_config`) as `product.variantListingConfig`, `product`.`variant_restrictions` as `product.variantRestrictions`, COALESCE(`product`.`manufacturer_number`, `product.parent`.`manufacturer_number`) as `product.manufacturerNumber`, COALESCE(`product`.`ean`, `product.parent`.`ean`) as `product.ean`, COALESCE(`product`.`purchase_steps`, `product.parent`.`purchase_steps`) as `product.purchaseSteps`, COALESCE(`product`.`max_purchase`, `product.parent`.`max_purchase`) as `product.maxPurchase`, COALESCE(`product`.`min_purchase`, `product.parent`.`min_purchase`) as `product.minPurchase`, COALESCE(`product`.`purchase_unit`, `product.parent`.`purchase_unit`) as `product.purchaseUnit`, COALESCE(`product`.`reference_unit`, `product.parent`.`reference_unit`) as `product.referenceUnit`, COALESCE(`product`.`shipping_free`, `product.parent`.`shipping_free`) as `product.shippingFree`, `product.parent`.`purchase_prices` as `product.purchasePrices.inherited`, COALESCE(`product`.`purchase_prices`, `product.parent`.`purchase_prices`) as `product.purchasePrices`, COALESCE(`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`) as `product.markAsTopseller`, COALESCE(`product`.`weight`, `product.parent`.`weight`) as `product.weight`, COALESCE(`product`.`width`, `product.parent`.`width`) as `product.width`, COALESCE(`product`.`height`, `product.parent`.`height`) as `product.height`, COALESCE(`product`.`length`, `product.parent`.`length`) as `product.length`, COALESCE(`product`.`release_date`, `product.parent`.`release_date`) as `product.releaseDate`, COALESCE(`product`.`rating_average`, `product.parent`.`rating_average`) as `product.ratingAverage`, `product.parent`.`category_tree` as `product.categoryTree.inherited`, COALESCE(`product`.`category_tree`, `product.parent`.`category_tree`) as `product.categoryTree`, `product.parent`.`property_ids` as `product.propertyIds.inherited`, COALESCE(`product`.`property_ids`, `product.parent`.`property_ids`) as `product.propertyIds`, `product.parent`.`option_ids` as `product.optionIds.inherited`, COALESCE(`product`.`option_ids`, `product.parent`.`option_ids`) as `product.optionIds`, `product.parent`.`stream_ids` as `product.streamIds.inherited`, COALESCE(`product`.`stream_ids`, `product.parent`.`stream_ids`) as `product.streamIds`, `product.parent`.`tag_ids` as `product.tagIds.inherited`, COALESCE(`product`.`tag_ids`, `product.parent`.`tag_ids`) as `product.tagIds`, `product.parent`.`category_ids` as `product.categoryIds.inherited`, COALESCE(`product`.`category_ids`, `product.parent`.`category_ids`) as `product.categoryIds`, `product`.`child_count` as `product.childCount`, COALESCE(`product`.`custom_field_set_selection_active`, `product.parent`.`custom_field_set_selection_active`) as `product.customFieldSetSelectionActive`, `product`.`sales` as `product.sales`, `product`.`states` as `product.states`, `product.tax`.`id` as `product.tax.id`, `product.tax`.`tax_rate` as `product.tax.taxRate`, `product.tax`.`name` as `product.tax.name`, `product.tax`.`position` as `product.tax.position`, `product.tax`.`custom_fields` as `product.tax.customFields`, `product.tax`.`created_at` as `product.tax.createdAt`, `product.tax`.`updated_at` as `product.tax.updatedAt`, `product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`, COALESCE(`product`.`cheapest_price`, `product.parent`.`cheapest_price`) as `product.cheapestPrice`, `product`.`created_at` as `product.createdAt`, `product`.`updated_at` as `product.updatedAt`, `product.unit`.`id` as `product.unit.id`, `product.unit`.`created_at` as `product.unit.createdAt`, `product.unit`.`updated_at` as `product.unit.updatedAt`, `product.unit.translation.shortCode`, COALESCE(`product.unit.translation.shortCode`,`product.unit.translation.shortCode`) as `product.unit.shortCode`, `product.unit.translation.name`, COALESCE(`product.unit.translation.name`,`product.unit.translation.name`) as `product.unit.name`, `product.unit.translation.customFields`, COALESCE(`product.unit.translation.customFields`,`product.unit.translation.customFields`) as `product.unit.customFields`, `product.unit.translation.createdAt`, `product.unit.translation.updatedAt`, `product.unit.translation.unitId`, `product.unit.translation.languageId`, `product.deliveryTime`.`id` as `product.deliveryTime.id`, `product.deliveryTime`.`min` as `product.deliveryTime.min`, `product.deliveryTime`.`max` as `product.deliveryTime.max`, `product.deliveryTime`.`unit` as `product.deliveryTime.unit`, `product.deliveryTime`.`created_at` as `product.deliveryTime.createdAt`, `product.deliveryTime`.`updated_at` as `product.deliveryTime.updatedAt`, `product.deliveryTime.translation.name`, COALESCE(`product.deliveryTime.translation.name`,`product.deliveryTime.translation.name`) as `product.deliveryTime.name`, `product.deliveryTime.translation.customFields`, COALESCE(`product.deliveryTime.translation.customFields`,`product.deliveryTime.translation.customFields`) as `product.deliveryTime.customFields`, `product.deliveryTime.translation.createdAt`, `product.deliveryTime.translation.updatedAt`, `product.deliveryTime.translation.deliveryTimeId`, `product.deliveryTime.translation.languageId`, `product.cover`.`id` as `product.cover.id`, `product.cover`.`version_id` as `product.cover.versionId`, `product.cover`.`product_id` as `product.cover.productId`, `product.cover`.`product_version_id` as `product.cover.productVersionId`, `product.cover`.`media_id` as `product.cover.mediaId`, `product.cover`.`position` as `product.cover.position`, `product.cover.media`.`id` as `product.cover.media.id`, `product.cover.media`.`user_id` as `product.cover.media.userId`, `product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`, `product.cover.media`.`mime_type` as `product.cover.media.mimeType`, `product.cover.media`.`file_extension` as `product.cover.media.fileExtension`, `product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`, `product.cover.media`.`file_name` as `product.cover.media.fileName`, `product.cover.media`.`file_size` as `product.cover.media.fileSize`, `product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`, `product.cover.media`.`meta_data` as `product.cover.media.metaData`, `product.cover.media`.`private` as `product.cover.media.private`, `product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`, `product.cover.media`.`created_at` as `product.cover.media.createdAt`, `product.cover.media`.`updated_at` as `product.cover.media.updatedAt`, `product.cover.media.translation.title`, COALESCE(`product.cover.media.translation.title`,`product.cover.media.translation.title`) as `product.cover.media.title`, `product.cover.media.translation.alt`, COALESCE(`product.cover.media.translation.alt`,`product.cover.media.translation.alt`) as `product.cover.media.alt`, `product.cover.media.translation.customFields`, COALESCE(`product.cover.media.translation.customFields`,`product.cover.media.translation.customFields`) as `product.cover.media.customFields`, `product.cover.media.translation.createdAt`, `product.cover.media.translation.updatedAt`, `product.cover.media.translation.mediaId`, `product.cover.media.translation.languageId`, `product.cover`.`custom_fields` as `product.cover.customFields`, `product.cover`.`created_at` as `product.cover.createdAt`, `product.cover`.`updated_at` as `product.cover.updatedAt`, `product.translation.metaDescription`, `product.parent.translation.metaDescription`, COALESCE(`product.translation.metaDescription`,`product.parent.translation.metaDescription`,`product.translation.metaDescription`) as `product.metaDescription`, `product.translation.name`, `product.parent.translation.name`, COALESCE(`product.translation.name`,`product.parent.translation.name`,`product.translation.name`) as `product.name`, `product.translation.keywords`, `product.parent.translation.keywords`, COALESCE(`product.translation.keywords`,`product.parent.translation.keywords`,`product.translation.keywords`) as `product.keywords`, `product.translation.description`, `product.parent.translation.description`, COALESCE(`product.translation.description`,`product.parent.translation.description`,`product.translation.description`) as `product.description`, `product.translation.metaTitle`, `product.parent.translation.metaTitle`, COALESCE(`product.translation.metaTitle`,`product.parent.translation.metaTitle`,`product.translation.metaTitle`) as `product.metaTitle`, `product.translation.packUnit`, `product.parent.translation.packUnit`, COALESCE(`product.translation.packUnit`,`product.parent.translation.packUnit`,`product.translation.packUnit`) as `product.packUnit`, `product.translation.packUnitPlural`, `product.parent.translation.packUnitPlural`, COALESCE(`product.translation.packUnitPlural`,`product.parent.translation.packUnitPlural`,`product.translation.packUnitPlural`) as `product.packUnitPlural`, `product.translation.customSearchKeywords`, `product.parent.translation.customSearchKeywords`, COALESCE(`product.translation.customSearchKeywords`,`product.parent.translation.customSearchKeywords`,`product.translation.customSearchKeywords`) as `product.customSearchKeywords`, `product.translation.slotConfig`, `product.parent.translation.slotConfig`, COALESCE(`product.translation.slotConfig`,`product.parent.translation.slotConfig`,`product.translation.slotConfig`) as `product.slotConfig`, `product.translation.customFields`, `product.parent.translation.customFields`, COALESCE(`product.translation.customFields`,`product.parent.translation.customFields`,`product.translation.customFields`) as `product.customFields`, `product.translation.createdAt`, `product.parent.translation.createdAt`, `product.translation.updatedAt`, `product.parent.translation.updatedAt`, `product.translation.productId`, `product.parent.translation.productId`, `product.translation.languageId`, `product.parent.translation.languageId`, `product.translation.productVersionId`, `product.parent.translation.productVersionId` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN (SELECT `product.translation`.product_id, `product.translation`.product_version_id, `product.translation`.meta_description as `product.translation.metaDescription`, `product.translation`.name as `product.translation.name`, `product.translation`.keywords as `product.translation.keywords`, `product.translation`.description as `product.translation.description`, `product.translation`.meta_title as `product.translation.metaTitle`, `product.translation`.pack_unit as `product.translation.packUnit`, `product.translation`.pack_unit_plural as `product.translation.packUnitPlural`, `product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`, `product.translation`.slot_config as `product.translation.slotConfig`, `product.translation`.custom_fields as `product.translation.customFields`, `product.translation`.created_at as `product.translation.createdAt`, `product.translation`.updated_at as `product.translation.updatedAt`, `product.translation`.product_id as `product.translation.productId`, `product.translation`.language_id as `product.translation.languageId`, `product.translation`.product_version_id as `product.translation.productVersionId` FROM `product_translation` `product.translation` WHERE `product.translation`.language_id = :languageId) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id` AND `product.product_translation`.product_version_id = `product`.version_id LEFT JOIN (SELECT `product.parent.translation`.product_id, `product.parent.translation`.product_version_id, `product.parent.translation`.meta_description as `product.parent.translation.metaDescription`, `product.parent.translation`.name as `product.parent.translation.name`, `product.parent.translation`.keywords as `product.parent.translation.keywords`, `product.parent.translation`.description as `product.parent.translation.description`, `product.parent.translation`.meta_title as `product.parent.translation.metaTitle`, `product.parent.translation`.pack_unit as `product.parent.translation.packUnit`, `product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`, `product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`, `product.parent.translation`.slot_config as `product.parent.translation.slotConfig`, `product.parent.translation`.custom_fields as `product.parent.translation.customFields`, `product.parent.translation`.created_at as `product.parent.translation.createdAt`, `product.parent.translation`.updated_at as `product.parent.translation.updatedAt`, `product.parent.translation`.product_id as `product.parent.translation.productId`, `product.parent.translation`.language_id as `product.parent.translation.languageId`, `product.parent.translation`.product_version_id as `product.parent.translation.productVersionId` FROM `product_translation` `product.parent.translation` WHERE `product.parent.translation`.language_id = :languageId) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id` AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id` LEFT JOIN `unit` `product.unit` ON `product`.`unit` = `product.unit`.`id` LEFT JOIN `delivery_time` `product.deliveryTime` ON `product`.`deliveryTime` = `product.deliveryTime`.`id` LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id` AND `product`.`version_id` = `product.cover`.`version_id` LEFT JOIN (SELECT `product.unit.translation`.unit_id, `product.unit.translation`.short_code as `product.unit.translation.shortCode`, `product.unit.translation`.name as `product.unit.translation.name`, `product.unit.translation`.custom_fields as `product.unit.translation.customFields`, `product.unit.translation`.created_at as `product.unit.translation.createdAt`, `product.unit.translation`.updated_at as `product.unit.translation.updatedAt`, `product.unit.translation`.unit_id as `product.unit.translation.unitId`, `product.unit.translation`.language_id as `product.unit.translation.languageId` FROM `unit_translation` `product.unit.translation` WHERE `product.unit.translation`.language_id = :languageId) `product.unit.unit_translation` ON `product.unit.unit_translation`.`unit_id` = `product.unit`.`id` LEFT JOIN (SELECT `product.deliveryTime.translation`.delivery_time_id, `product.deliveryTime.translation`.name as `product.deliveryTime.translation.name`, `product.deliveryTime.translation`.custom_fields as `product.deliveryTime.translation.customFields`, `product.deliveryTime.translation`.created_at as `product.deliveryTime.translation.createdAt`, `product.deliveryTime.translation`.updated_at as `product.deliveryTime.translation.updatedAt`, `product.deliveryTime.translation`.delivery_time_id as `product.deliveryTime.translation.deliveryTimeId`, `product.deliveryTime.translation`.language_id as `product.deliveryTime.translation.languageId` FROM `delivery_time_translation` `product.deliveryTime.translation` WHERE `product.deliveryTime.translation`.language_id = :languageId) `product.deliveryTime.delivery_time_translation` ON `product.deliveryTime.delivery_time_translation`.`delivery_time_id` = `product.deliveryTime`.`id` LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id` LEFT JOIN (SELECT `product.cover.media.translation`.media_id, `product.cover.media.translation`.title as `product.cover.media.translation.title`, `product.cover.media.translation`.alt as `product.cover.media.translation.alt`, `product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`, `product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`, `product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`, `product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`, `product.cover.media.translation`.language_id as `product.cover.media.translation.languageId` FROM `media_translation` `product.cover.media.translation` WHERE `product.cover.media.translation`.language_id = :languageId) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id` WHERE (`product`.`version_id` = :version) AND (`product`.`id` IN (:ids))
SELECT
`product`.`id` as `product.id`,
`product`.`version_id` as `product.versionId`,
`product`.`parent_id` as `product.parentId`,
`product`.`parent_version_id` as `product.parentVersionId`,
COALESCE(
`product`.`product_manufacturer_id`,
`product.parent`.`product_manufacturer_id`
) as `product.manufacturerId`,
COALESCE(
`product`.`product_manufacturer_version_id`,
`product.parent`.`product_manufacturer_version_id`
) as `product.productManufacturerVersionId`,
COALESCE(
`product`.`unit_id`, `product.parent`.`unit_id`
) as `product.unitId`,
COALESCE(
`product`.`tax_id`, `product.parent`.`tax_id`
) as `product.taxId`,
COALESCE(
`product`.`product_media_id`, `product.parent`.`product_media_id`
) as `product.coverId`,
COALESCE(
`product`.`product_media_version_id`,
`product.parent`.`product_media_version_id`
) as `product.productMediaVersionId`,
COALESCE(
`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`
) as `product.deliveryTimeId`,
COALESCE(
`product`.`product_feature_set_id`,
`product.parent`.`product_feature_set_id`
) as `product.featureSetId`,
COALESCE(
`product`.`canonical_product_id`,
`product.parent`.`canonical_product_id`
) as `product.canonicalProductId`,
COALESCE(
`product`.`cms_page_id`, `product.parent`.`cms_page_id`
) as `product.cmsPageId`,
COALESCE(
`product`.`cms_page_version_id`,
`product.parent`.`cms_page_version_id`
) as `product.cmsPageVersionId`,
`product.parent`.`price` as `product.price.inherited`,
COALESCE(
`product`.`price`, `product.parent`.`price`
) as `product.price`,
`product`.`product_number` as `product.productNumber`,
`product`.`stock` as `product.stock`,
COALESCE(
`product`.`restock_time`, `product.parent`.`restock_time`
) as `product.restockTime`,
`product`.`auto_increment` as `product.autoIncrement`,
COALESCE(
`product`.`active`, `product.parent`.`active`
) as `product.active`,
`product`.`available_stock` as `product.availableStock`,
`product`.`available` as `product.available`,
COALESCE(
`product`.`is_closeout`, `product.parent`.`is_closeout`
) as `product.isCloseout`,
`product`.`display_group` as `product.displayGroup`,
`product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`,
COALESCE(
`product`.`configurator_group_config`,
`product.parent`.`configurator_group_config`
) as `product.configuratorGroupConfig`,
COALESCE(
`product`.`main_variant_id`, `product.parent`.`main_variant_id`
) as `product.mainVariantId`,
COALESCE(
`product`.`display_parent`, `product.parent`.`display_parent`
) as `product.displayParent`,
`product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`,
COALESCE(
`product`.`variant_listing_config`,
`product.parent`.`variant_listing_config`
) as `product.variantListingConfig`,
`product`.`variant_restrictions` as `product.variantRestrictions`,
COALESCE(
`product`.`manufacturer_number`,
`product.parent`.`manufacturer_number`
) as `product.manufacturerNumber`,
COALESCE(
`product`.`ean`, `product.parent`.`ean`
) as `product.ean`,
COALESCE(
`product`.`purchase_steps`, `product.parent`.`purchase_steps`
) as `product.purchaseSteps`,
COALESCE(
`product`.`max_purchase`, `product.parent`.`max_purchase`
) as `product.maxPurchase`,
COALESCE(
`product`.`min_purchase`, `product.parent`.`min_purchase`
) as `product.minPurchase`,
COALESCE(
`product`.`purchase_unit`, `product.parent`.`purchase_unit`
) as `product.purchaseUnit`,
COALESCE(
`product`.`reference_unit`, `product.parent`.`reference_unit`
) as `product.referenceUnit`,
COALESCE(
`product`.`shipping_free`, `product.parent`.`shipping_free`
) as `product.shippingFree`,
`product.parent`.`purchase_prices` as `product.purchasePrices.inherited`,
COALESCE(
`product`.`purchase_prices`, `product.parent`.`purchase_prices`
) as `product.purchasePrices`,
COALESCE(
`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`
) as `product.markAsTopseller`,
COALESCE(
`product`.`weight`, `product.parent`.`weight`
) as `product.weight`,
COALESCE(
`product`.`width`, `product.parent`.`width`
) as `product.width`,
COALESCE(
`product`.`height`, `product.parent`.`height`
) as `product.height`,
COALESCE(
`product`.`length`, `product.parent`.`length`
) as `product.length`,
COALESCE(
`product`.`release_date`, `product.parent`.`release_date`
) as `product.releaseDate`,
COALESCE(
`product`.`rating_average`, `product.parent`.`rating_average`
) as `product.ratingAverage`,
`product.parent`.`category_tree` as `product.categoryTree.inherited`,
COALESCE(
`product`.`category_tree`, `product.parent`.`category_tree`
) as `product.categoryTree`,
`product.parent`.`property_ids` as `product.propertyIds.inherited`,
COALESCE(
`product`.`property_ids`, `product.parent`.`property_ids`
) as `product.propertyIds`,
`product.parent`.`option_ids` as `product.optionIds.inherited`,
COALESCE(
`product`.`option_ids`, `product.parent`.`option_ids`
) as `product.optionIds`,
`product.parent`.`stream_ids` as `product.streamIds.inherited`,
COALESCE(
`product`.`stream_ids`, `product.parent`.`stream_ids`
) as `product.streamIds`,
`product.parent`.`tag_ids` as `product.tagIds.inherited`,
COALESCE(
`product`.`tag_ids`, `product.parent`.`tag_ids`
) as `product.tagIds`,
`product.parent`.`category_ids` as `product.categoryIds.inherited`,
COALESCE(
`product`.`category_ids`, `product.parent`.`category_ids`
) as `product.categoryIds`,
`product`.`child_count` as `product.childCount`,
COALESCE(
`product`.`custom_field_set_selection_active`,
`product.parent`.`custom_field_set_selection_active`
) as `product.customFieldSetSelectionActive`,
`product`.`sales` as `product.sales`,
`product`.`states` as `product.states`,
`product.tax`.`id` as `product.tax.id`,
`product.tax`.`tax_rate` as `product.tax.taxRate`,
`product.tax`.`name` as `product.tax.name`,
`product.tax`.`position` as `product.tax.position`,
`product.tax`.`custom_fields` as `product.tax.customFields`,
`product.tax`.`created_at` as `product.tax.createdAt`,
`product.tax`.`updated_at` as `product.tax.updatedAt`,
`product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`,
COALESCE(
`product`.`cheapest_price`, `product.parent`.`cheapest_price`
) as `product.cheapestPrice`,
`product`.`created_at` as `product.createdAt`,
`product`.`updated_at` as `product.updatedAt`,
`product.unit`.`id` as `product.unit.id`,
`product.unit`.`created_at` as `product.unit.createdAt`,
`product.unit`.`updated_at` as `product.unit.updatedAt`,
`product.unit.translation.shortCode`,
COALESCE(
`product.unit.translation.shortCode`,
`product.unit.translation.shortCode`
) as `product.unit.shortCode`,
`product.unit.translation.name`,
COALESCE(
`product.unit.translation.name`,
`product.unit.translation.name`
) as `product.unit.name`,
`product.unit.translation.customFields`,
COALESCE(
`product.unit.translation.customFields`,
`product.unit.translation.customFields`
) as `product.unit.customFields`,
`product.unit.translation.createdAt`,
`product.unit.translation.updatedAt`,
`product.unit.translation.unitId`,
`product.unit.translation.languageId`,
`product.deliveryTime`.`id` as `product.deliveryTime.id`,
`product.deliveryTime`.`min` as `product.deliveryTime.min`,
`product.deliveryTime`.`max` as `product.deliveryTime.max`,
`product.deliveryTime`.`unit` as `product.deliveryTime.unit`,
`product.deliveryTime`.`created_at` as `product.deliveryTime.createdAt`,
`product.deliveryTime`.`updated_at` as `product.deliveryTime.updatedAt`,
`product.deliveryTime.translation.name`,
COALESCE(
`product.deliveryTime.translation.name`,
`product.deliveryTime.translation.name`
) as `product.deliveryTime.name`,
`product.deliveryTime.translation.customFields`,
COALESCE(
`product.deliveryTime.translation.customFields`,
`product.deliveryTime.translation.customFields`
) as `product.deliveryTime.customFields`,
`product.deliveryTime.translation.createdAt`,
`product.deliveryTime.translation.updatedAt`,
`product.deliveryTime.translation.deliveryTimeId`,
`product.deliveryTime.translation.languageId`,
`product.cover`.`id` as `product.cover.id`,
`product.cover`.`version_id` as `product.cover.versionId`,
`product.cover`.`product_id` as `product.cover.productId`,
`product.cover`.`product_version_id` as `product.cover.productVersionId`,
`product.cover`.`media_id` as `product.cover.mediaId`,
`product.cover`.`position` as `product.cover.position`,
`product.cover.media`.`id` as `product.cover.media.id`,
`product.cover.media`.`user_id` as `product.cover.media.userId`,
`product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`,
`product.cover.media`.`mime_type` as `product.cover.media.mimeType`,
`product.cover.media`.`file_extension` as `product.cover.media.fileExtension`,
`product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`,
`product.cover.media`.`file_name` as `product.cover.media.fileName`,
`product.cover.media`.`file_size` as `product.cover.media.fileSize`,
`product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`,
`product.cover.media`.`meta_data` as `product.cover.media.metaData`,
`product.cover.media`.`private` as `product.cover.media.private`,
`product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`,
`product.cover.media`.`created_at` as `product.cover.media.createdAt`,
`product.cover.media`.`updated_at` as `product.cover.media.updatedAt`,
`product.cover.media.translation.title`,
COALESCE(
`product.cover.media.translation.title`,
`product.cover.media.translation.title`
) as `product.cover.media.title`,
`product.cover.media.translation.alt`,
COALESCE(
`product.cover.media.translation.alt`,
`product.cover.media.translation.alt`
) as `product.cover.media.alt`,
`product.cover.media.translation.customFields`,
COALESCE(
`product.cover.media.translation.customFields`,
`product.cover.media.translation.customFields`
) as `product.cover.media.customFields`,
`product.cover.media.translation.createdAt`,
`product.cover.media.translation.updatedAt`,
`product.cover.media.translation.mediaId`,
`product.cover.media.translation.languageId`,
`product.cover`.`custom_fields` as `product.cover.customFields`,
`product.cover`.`created_at` as `product.cover.createdAt`,
`product.cover`.`updated_at` as `product.cover.updatedAt`,
`product.translation.metaDescription`,
`product.parent.translation.metaDescription`,
COALESCE(
`product.translation.metaDescription`,
`product.parent.translation.metaDescription`,
`product.translation.metaDescription`
) as `product.metaDescription`,
`product.translation.name`,
`product.parent.translation.name`,
COALESCE(
`product.translation.name`, `product.parent.translation.name`,
`product.translation.name`
) as `product.name`,
`product.translation.keywords`,
`product.parent.translation.keywords`,
COALESCE(
`product.translation.keywords`,
`product.parent.translation.keywords`,
`product.translation.keywords`
) as `product.keywords`,
`product.translation.description`,
`product.parent.translation.description`,
COALESCE(
`product.translation.description`,
`product.parent.translation.description`,
`product.translation.description`
) as `product.description`,
`product.translation.metaTitle`,
`product.parent.translation.metaTitle`,
COALESCE(
`product.translation.metaTitle`,
`product.parent.translation.metaTitle`,
`product.translation.metaTitle`
) as `product.metaTitle`,
`product.translation.packUnit`,
`product.parent.translation.packUnit`,
COALESCE(
`product.translation.packUnit`,
`product.parent.translation.packUnit`,
`product.translation.packUnit`
) as `product.packUnit`,
`product.translation.packUnitPlural`,
`product.parent.translation.packUnitPlural`,
COALESCE(
`product.translation.packUnitPlural`,
`product.parent.translation.packUnitPlural`,
`product.translation.packUnitPlural`
) as `product.packUnitPlural`,
`product.translation.customSearchKeywords`,
`product.parent.translation.customSearchKeywords`,
COALESCE(
`product.translation.customSearchKeywords`,
`product.parent.translation.customSearchKeywords`,
`product.translation.customSearchKeywords`
) as `product.customSearchKeywords`,
`product.translation.slotConfig`,
`product.parent.translation.slotConfig`,
COALESCE(
`product.translation.slotConfig`,
`product.parent.translation.slotConfig`,
`product.translation.slotConfig`
) as `product.slotConfig`,
`product.translation.customFields`,
`product.parent.translation.customFields`,
COALESCE(
`product.translation.customFields`,
`product.parent.translation.customFields`,
`product.translation.customFields`
) as `product.customFields`,
`product.translation.createdAt`,
`product.parent.translation.createdAt`,
`product.translation.updatedAt`,
`product.parent.translation.updatedAt`,
`product.translation.productId`,
`product.parent.translation.productId`,
`product.translation.languageId`,
`product.parent.translation.languageId`,
`product.translation.productVersionId`,
`product.parent.translation.productVersionId`
FROM
`product`
LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id`
AND `product`.`version_id` = `product.parent`.`version_id`
LEFT JOIN (
SELECT
`product.translation`.product_id,
`product.translation`.product_version_id,
`product.translation`.meta_description as `product.translation.metaDescription`,
`product.translation`.name as `product.translation.name`,
`product.translation`.keywords as `product.translation.keywords`,
`product.translation`.description as `product.translation.description`,
`product.translation`.meta_title as `product.translation.metaTitle`,
`product.translation`.pack_unit as `product.translation.packUnit`,
`product.translation`.pack_unit_plural as `product.translation.packUnitPlural`,
`product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`,
`product.translation`.slot_config as `product.translation.slotConfig`,
`product.translation`.custom_fields as `product.translation.customFields`,
`product.translation`.created_at as `product.translation.createdAt`,
`product.translation`.updated_at as `product.translation.updatedAt`,
`product.translation`.product_id as `product.translation.productId`,
`product.translation`.language_id as `product.translation.languageId`,
`product.translation`.product_version_id as `product.translation.productVersionId`
FROM
`product_translation` `product.translation`
WHERE
`product.translation`.language_id = : languageId
) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id`
AND `product.product_translation`.product_version_id = `product`.version_id
LEFT JOIN (
SELECT
`product.parent.translation`.product_id,
`product.parent.translation`.product_version_id,
`product.parent.translation`.meta_description as `product.parent.translation.metaDescription`,
`product.parent.translation`.name as `product.parent.translation.name`,
`product.parent.translation`.keywords as `product.parent.translation.keywords`,
`product.parent.translation`.description as `product.parent.translation.description`,
`product.parent.translation`.meta_title as `product.parent.translation.metaTitle`,
`product.parent.translation`.pack_unit as `product.parent.translation.packUnit`,
`product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`,
`product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`,
`product.parent.translation`.slot_config as `product.parent.translation.slotConfig`,
`product.parent.translation`.custom_fields as `product.parent.translation.customFields`,
`product.parent.translation`.created_at as `product.parent.translation.createdAt`,
`product.parent.translation`.updated_at as `product.parent.translation.updatedAt`,
`product.parent.translation`.product_id as `product.parent.translation.productId`,
`product.parent.translation`.language_id as `product.parent.translation.languageId`,
`product.parent.translation`.product_version_id as `product.parent.translation.productVersionId`
FROM
`product_translation` `product.parent.translation`
WHERE
`product.parent.translation`.language_id = : languageId
) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id`
AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id
LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id`
LEFT JOIN `unit` `product.unit` ON `product`.`unit` = `product.unit`.`id`
LEFT JOIN `delivery_time` `product.deliveryTime` ON `product`.`deliveryTime` = `product.deliveryTime`.`id`
LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id`
AND `product`.`version_id` = `product.cover`.`version_id`
LEFT JOIN (
SELECT
`product.unit.translation`.unit_id,
`product.unit.translation`.short_code as `product.unit.translation.shortCode`,
`product.unit.translation`.name as `product.unit.translation.name`,
`product.unit.translation`.custom_fields as `product.unit.translation.customFields`,
`product.unit.translation`.created_at as `product.unit.translation.createdAt`,
`product.unit.translation`.updated_at as `product.unit.translation.updatedAt`,
`product.unit.translation`.unit_id as `product.unit.translation.unitId`,
`product.unit.translation`.language_id as `product.unit.translation.languageId`
FROM
`unit_translation` `product.unit.translation`
WHERE
`product.unit.translation`.language_id = : languageId
) `product.unit.unit_translation` ON `product.unit.unit_translation`.`unit_id` = `product.unit`.`id`
LEFT JOIN (
SELECT
`product.deliveryTime.translation`.delivery_time_id,
`product.deliveryTime.translation`.name as `product.deliveryTime.translation.name`,
`product.deliveryTime.translation`.custom_fields as `product.deliveryTime.translation.customFields`,
`product.deliveryTime.translation`.created_at as `product.deliveryTime.translation.createdAt`,
`product.deliveryTime.translation`.updated_at as `product.deliveryTime.translation.updatedAt`,
`product.deliveryTime.translation`.delivery_time_id as `product.deliveryTime.translation.deliveryTimeId`,
`product.deliveryTime.translation`.language_id as `product.deliveryTime.translation.languageId`
FROM
`delivery_time_translation` `product.deliveryTime.translation`
WHERE
`product.deliveryTime.translation`.language_id = : languageId
) `product.deliveryTime.delivery_time_translation` ON `product.deliveryTime.delivery_time_translation`.`delivery_time_id` = `product.deliveryTime`.`id`
LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id`
LEFT JOIN (
SELECT
`product.cover.media.translation`.media_id,
`product.cover.media.translation`.title as `product.cover.media.translation.title`,
`product.cover.media.translation`.alt as `product.cover.media.translation.alt`,
`product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`,
`product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`,
`product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`,
`product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`,
`product.cover.media.translation`.language_id as `product.cover.media.translation.languageId`
FROM
`media_translation` `product.cover.media.translation`
WHERE
`product.cover.media.translation`.language_id = : languageId
) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id`
WHERE
(
`product`.`version_id` = : version
)
AND (
`product`.`id` IN (: ids)
)
SELECT `product`.`id` as `product.id`, `product`.`version_id` as `product.versionId`, `product`.`parent_id` as `product.parentId`, `product`.`parent_version_id` as `product.parentVersionId`, COALESCE(`product`.`product_manufacturer_id`, `product.parent`.`product_manufacturer_id`) as `product.manufacturerId`, COALESCE(`product`.`product_manufacturer_version_id`, `product.parent`.`product_manufacturer_version_id`) as `product.productManufacturerVersionId`, COALESCE(`product`.`unit_id`, `product.parent`.`unit_id`) as `product.unitId`, COALESCE(`product`.`tax_id`, `product.parent`.`tax_id`) as `product.taxId`, COALESCE(`product`.`product_media_id`, `product.parent`.`product_media_id`) as `product.coverId`, COALESCE(`product`.`product_media_version_id`, `product.parent`.`product_media_version_id`) as `product.productMediaVersionId`, COALESCE(`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`) as `product.deliveryTimeId`, COALESCE(`product`.`product_feature_set_id`, `product.parent`.`product_feature_set_id`) as `product.featureSetId`, COALESCE(`product`.`canonical_product_id`, `product.parent`.`canonical_product_id`) as `product.canonicalProductId`, COALESCE(`product`.`cms_page_id`, `product.parent`.`cms_page_id`) as `product.cmsPageId`, COALESCE(`product`.`cms_page_version_id`, `product.parent`.`cms_page_version_id`) as `product.cmsPageVersionId`, `product.parent`.`price` as `product.price.inherited`, COALESCE(`product`.`price`, `product.parent`.`price`) as `product.price`, `product`.`product_number` as `product.productNumber`, `product`.`stock` as `product.stock`, COALESCE(`product`.`restock_time`, `product.parent`.`restock_time`) as `product.restockTime`, `product`.`auto_increment` as `product.autoIncrement`, COALESCE(`product`.`active`, `product.parent`.`active`) as `product.active`, `product`.`available_stock` as `product.availableStock`, `product`.`available` as `product.available`, COALESCE(`product`.`is_closeout`, `product.parent`.`is_closeout`) as `product.isCloseout`, `product`.`display_group` as `product.displayGroup`, `product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`, COALESCE(`product`.`configurator_group_config`, `product.parent`.`configurator_group_config`) as `product.configuratorGroupConfig`, COALESCE(`product`.`main_variant_id`, `product.parent`.`main_variant_id`) as `product.mainVariantId`, COALESCE(`product`.`display_parent`, `product.parent`.`display_parent`) as `product.displayParent`, `product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`, COALESCE(`product`.`variant_listing_config`, `product.parent`.`variant_listing_config`) as `product.variantListingConfig`, `product`.`variant_restrictions` as `product.variantRestrictions`, COALESCE(`product`.`manufacturer_number`, `product.parent`.`manufacturer_number`) as `product.manufacturerNumber`, COALESCE(`product`.`ean`, `product.parent`.`ean`) as `product.ean`, COALESCE(`product`.`purchase_steps`, `product.parent`.`purchase_steps`) as `product.purchaseSteps`, COALESCE(`product`.`max_purchase`, `product.parent`.`max_purchase`) as `product.maxPurchase`, COALESCE(`product`.`min_purchase`, `product.parent`.`min_purchase`) as `product.minPurchase`, COALESCE(`product`.`purchase_unit`, `product.parent`.`purchase_unit`) as `product.purchaseUnit`, COALESCE(`product`.`reference_unit`, `product.parent`.`reference_unit`) as `product.referenceUnit`, COALESCE(`product`.`shipping_free`, `product.parent`.`shipping_free`) as `product.shippingFree`, `product.parent`.`purchase_prices` as `product.purchasePrices.inherited`, COALESCE(`product`.`purchase_prices`, `product.parent`.`purchase_prices`) as `product.purchasePrices`, COALESCE(`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`) as `product.markAsTopseller`, COALESCE(`product`.`weight`, `product.parent`.`weight`) as `product.weight`, COALESCE(`product`.`width`, `product.parent`.`width`) as `product.width`, COALESCE(`product`.`height`, `product.parent`.`height`) as `product.height`, COALESCE(`product`.`length`, `product.parent`.`length`) as `product.length`, COALESCE(`product`.`release_date`, `product.parent`.`release_date`) as `product.releaseDate`, COALESCE(`product`.`rating_average`, `product.parent`.`rating_average`) as `product.ratingAverage`, `product.parent`.`category_tree` as `product.categoryTree.inherited`, COALESCE(`product`.`category_tree`, `product.parent`.`category_tree`) as `product.categoryTree`, `product.parent`.`property_ids` as `product.propertyIds.inherited`, COALESCE(`product`.`property_ids`, `product.parent`.`property_ids`) as `product.propertyIds`, `product.parent`.`option_ids` as `product.optionIds.inherited`, COALESCE(`product`.`option_ids`, `product.parent`.`option_ids`) as `product.optionIds`, `product.parent`.`stream_ids` as `product.streamIds.inherited`, COALESCE(`product`.`stream_ids`, `product.parent`.`stream_ids`) as `product.streamIds`, `product.parent`.`tag_ids` as `product.tagIds.inherited`, COALESCE(`product`.`tag_ids`, `product.parent`.`tag_ids`) as `product.tagIds`, `product.parent`.`category_ids` as `product.categoryIds.inherited`, COALESCE(`product`.`category_ids`, `product.parent`.`category_ids`) as `product.categoryIds`, `product`.`child_count` as `product.childCount`, COALESCE(`product`.`custom_field_set_selection_active`, `product.parent`.`custom_field_set_selection_active`) as `product.customFieldSetSelectionActive`, `product`.`sales` as `product.sales`, `product`.`states` as `product.states`, `product.tax`.`id` as `product.tax.id`, `product.tax`.`tax_rate` as `product.tax.taxRate`, `product.tax`.`name` as `product.tax.name`, `product.tax`.`position` as `product.tax.position`, `product.tax`.`custom_fields` as `product.tax.customFields`, `product.tax`.`created_at` as `product.tax.createdAt`, `product.tax`.`updated_at` as `product.tax.updatedAt`, `product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`, COALESCE(`product`.`cheapest_price`, `product.parent`.`cheapest_price`) as `product.cheapestPrice`, `product`.`created_at` as `product.createdAt`, `product`.`updated_at` as `product.updatedAt`, `product.unit`.`id` as `product.unit.id`, `product.unit`.`created_at` as `product.unit.createdAt`, `product.unit`.`updated_at` as `product.unit.updatedAt`, `product.unit.translation.shortCode`, COALESCE(`product.unit.translation.shortCode`,`product.unit.translation.shortCode`) as `product.unit.shortCode`, `product.unit.translation.name`, COALESCE(`product.unit.translation.name`,`product.unit.translation.name`) as `product.unit.name`, `product.unit.translation.customFields`, COALESCE(`product.unit.translation.customFields`,`product.unit.translation.customFields`) as `product.unit.customFields`, `product.unit.translation.createdAt`, `product.unit.translation.updatedAt`, `product.unit.translation.unitId`, `product.unit.translation.languageId`, `product.deliveryTime`.`id` as `product.deliveryTime.id`, `product.deliveryTime`.`min` as `product.deliveryTime.min`, `product.deliveryTime`.`max` as `product.deliveryTime.max`, `product.deliveryTime`.`unit` as `product.deliveryTime.unit`, `product.deliveryTime`.`created_at` as `product.deliveryTime.createdAt`, `product.deliveryTime`.`updated_at` as `product.deliveryTime.updatedAt`, `product.deliveryTime.translation.name`, COALESCE(`product.deliveryTime.translation.name`,`product.deliveryTime.translation.name`) as `product.deliveryTime.name`, `product.deliveryTime.translation.customFields`, COALESCE(`product.deliveryTime.translation.customFields`,`product.deliveryTime.translation.customFields`) as `product.deliveryTime.customFields`, `product.deliveryTime.translation.createdAt`, `product.deliveryTime.translation.updatedAt`, `product.deliveryTime.translation.deliveryTimeId`, `product.deliveryTime.translation.languageId`, `product.cover`.`id` as `product.cover.id`, `product.cover`.`version_id` as `product.cover.versionId`, `product.cover`.`product_id` as `product.cover.productId`, `product.cover`.`product_version_id` as `product.cover.productVersionId`, `product.cover`.`media_id` as `product.cover.mediaId`, `product.cover`.`position` as `product.cover.position`, `product.cover.media`.`id` as `product.cover.media.id`, `product.cover.media`.`user_id` as `product.cover.media.userId`, `product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`, `product.cover.media`.`mime_type` as `product.cover.media.mimeType`, `product.cover.media`.`file_extension` as `product.cover.media.fileExtension`, `product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`, `product.cover.media`.`file_name` as `product.cover.media.fileName`, `product.cover.media`.`file_size` as `product.cover.media.fileSize`, `product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`, `product.cover.media`.`meta_data` as `product.cover.media.metaData`, `product.cover.media`.`private` as `product.cover.media.private`, `product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`, `product.cover.media`.`created_at` as `product.cover.media.createdAt`, `product.cover.media`.`updated_at` as `product.cover.media.updatedAt`, `product.cover.media.translation.title`, COALESCE(`product.cover.media.translation.title`,`product.cover.media.translation.title`) as `product.cover.media.title`, `product.cover.media.translation.alt`, COALESCE(`product.cover.media.translation.alt`,`product.cover.media.translation.alt`) as `product.cover.media.alt`, `product.cover.media.translation.customFields`, COALESCE(`product.cover.media.translation.customFields`,`product.cover.media.translation.customFields`) as `product.cover.media.customFields`, `product.cover.media.translation.createdAt`, `product.cover.media.translation.updatedAt`, `product.cover.media.translation.mediaId`, `product.cover.media.translation.languageId`, `product.cover`.`custom_fields` as `product.cover.customFields`, `product.cover`.`created_at` as `product.cover.createdAt`, `product.cover`.`updated_at` as `product.cover.updatedAt`, `product.translation.metaDescription`, `product.parent.translation.metaDescription`, COALESCE(`product.translation.metaDescription`,`product.parent.translation.metaDescription`,`product.translation.metaDescription`) as `product.metaDescription`, `product.translation.name`, `product.parent.translation.name`, COALESCE(`product.translation.name`,`product.parent.translation.name`,`product.translation.name`) as `product.name`, `product.translation.keywords`, `product.parent.translation.keywords`, COALESCE(`product.translation.keywords`,`product.parent.translation.keywords`,`product.translation.keywords`) as `product.keywords`, `product.translation.description`, `product.parent.translation.description`, COALESCE(`product.translation.description`,`product.parent.translation.description`,`product.translation.description`) as `product.description`, `product.translation.metaTitle`, `product.parent.translation.metaTitle`, COALESCE(`product.translation.metaTitle`,`product.parent.translation.metaTitle`,`product.translation.metaTitle`) as `product.metaTitle`, `product.translation.packUnit`, `product.parent.translation.packUnit`, COALESCE(`product.translation.packUnit`,`product.parent.translation.packUnit`,`product.translation.packUnit`) as `product.packUnit`, `product.translation.packUnitPlural`, `product.parent.translation.packUnitPlural`, COALESCE(`product.translation.packUnitPlural`,`product.parent.translation.packUnitPlural`,`product.translation.packUnitPlural`) as `product.packUnitPlural`, `product.translation.customSearchKeywords`, `product.parent.translation.customSearchKeywords`, COALESCE(`product.translation.customSearchKeywords`,`product.parent.translation.customSearchKeywords`,`product.translation.customSearchKeywords`) as `product.customSearchKeywords`, `product.translation.slotConfig`, `product.parent.translation.slotConfig`, COALESCE(`product.translation.slotConfig`,`product.parent.translation.slotConfig`,`product.translation.slotConfig`) as `product.slotConfig`, `product.translation.customFields`, `product.parent.translation.customFields`, COALESCE(`product.translation.customFields`,`product.parent.translation.customFields`,`product.translation.customFields`) as `product.customFields`, `product.translation.createdAt`, `product.parent.translation.createdAt`, `product.translation.updatedAt`, `product.parent.translation.updatedAt`, `product.translation.productId`, `product.parent.translation.productId`, `product.translation.languageId`, `product.parent.translation.languageId`, `product.translation.productVersionId`, `product.parent.translation.productVersionId` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN (SELECT `product.translation`.product_id, `product.translation`.product_version_id, `product.translation`.meta_description as `product.translation.metaDescription`, `product.translation`.name as `product.translation.name`, `product.translation`.keywords as `product.translation.keywords`, `product.translation`.description as `product.translation.description`, `product.translation`.meta_title as `product.translation.metaTitle`, `product.translation`.pack_unit as `product.translation.packUnit`, `product.translation`.pack_unit_plural as `product.translation.packUnitPlural`, `product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`, `product.translation`.slot_config as `product.translation.slotConfig`, `product.translation`.custom_fields as `product.translation.customFields`, `product.translation`.created_at as `product.translation.createdAt`, `product.translation`.updated_at as `product.translation.updatedAt`, `product.translation`.product_id as `product.translation.productId`, `product.translation`.language_id as `product.translation.languageId`, `product.translation`.product_version_id as `product.translation.productVersionId` FROM `product_translation` `product.translation` WHERE `product.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id` AND `product.product_translation`.product_version_id = `product`.version_id LEFT JOIN (SELECT `product.parent.translation`.product_id, `product.parent.translation`.product_version_id, `product.parent.translation`.meta_description as `product.parent.translation.metaDescription`, `product.parent.translation`.name as `product.parent.translation.name`, `product.parent.translation`.keywords as `product.parent.translation.keywords`, `product.parent.translation`.description as `product.parent.translation.description`, `product.parent.translation`.meta_title as `product.parent.translation.metaTitle`, `product.parent.translation`.pack_unit as `product.parent.translation.packUnit`, `product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`, `product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`, `product.parent.translation`.slot_config as `product.parent.translation.slotConfig`, `product.parent.translation`.custom_fields as `product.parent.translation.customFields`, `product.parent.translation`.created_at as `product.parent.translation.createdAt`, `product.parent.translation`.updated_at as `product.parent.translation.updatedAt`, `product.parent.translation`.product_id as `product.parent.translation.productId`, `product.parent.translation`.language_id as `product.parent.translation.languageId`, `product.parent.translation`.product_version_id as `product.parent.translation.productVersionId` FROM `product_translation` `product.parent.translation` WHERE `product.parent.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id` AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id` LEFT JOIN `unit` `product.unit` ON `product`.`unit` = `product.unit`.`id` LEFT JOIN `delivery_time` `product.deliveryTime` ON `product`.`deliveryTime` = `product.deliveryTime`.`id` LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id` AND `product`.`version_id` = `product.cover`.`version_id` LEFT JOIN (SELECT `product.unit.translation`.unit_id, `product.unit.translation`.short_code as `product.unit.translation.shortCode`, `product.unit.translation`.name as `product.unit.translation.name`, `product.unit.translation`.custom_fields as `product.unit.translation.customFields`, `product.unit.translation`.created_at as `product.unit.translation.createdAt`, `product.unit.translation`.updated_at as `product.unit.translation.updatedAt`, `product.unit.translation`.unit_id as `product.unit.translation.unitId`, `product.unit.translation`.language_id as `product.unit.translation.languageId` FROM `unit_translation` `product.unit.translation` WHERE `product.unit.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.unit.unit_translation` ON `product.unit.unit_translation`.`unit_id` = `product.unit`.`id` LEFT JOIN (SELECT `product.deliveryTime.translation`.delivery_time_id, `product.deliveryTime.translation`.name as `product.deliveryTime.translation.name`, `product.deliveryTime.translation`.custom_fields as `product.deliveryTime.translation.customFields`, `product.deliveryTime.translation`.created_at as `product.deliveryTime.translation.createdAt`, `product.deliveryTime.translation`.updated_at as `product.deliveryTime.translation.updatedAt`, `product.deliveryTime.translation`.delivery_time_id as `product.deliveryTime.translation.deliveryTimeId`, `product.deliveryTime.translation`.language_id as `product.deliveryTime.translation.languageId` FROM `delivery_time_translation` `product.deliveryTime.translation` WHERE `product.deliveryTime.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.deliveryTime.delivery_time_translation` ON `product.deliveryTime.delivery_time_translation`.`delivery_time_id` = `product.deliveryTime`.`id` LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id` LEFT JOIN (SELECT `product.cover.media.translation`.media_id, `product.cover.media.translation`.title as `product.cover.media.translation.title`, `product.cover.media.translation`.alt as `product.cover.media.translation.alt`, `product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`, `product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`, `product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`, `product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`, `product.cover.media.translation`.language_id as `product.cover.media.translation.languageId` FROM `media_translation` `product.cover.media.translation` WHERE `product.cover.media.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id` WHERE (`product`.`version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425) AND (`product`.`id` IN (0x1301813EFF234EECAD6A967E57D0CD77));
array:37 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 242)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 316)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetch (line 148)"
4 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 93)"
5 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::read (line 195)"
6 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::read (line 133)"
7 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 36)"
8 => "Swag\PayPal\Util\Compatibility\SalesChannelRepositoryDecorator::search (line 207)"
9 => "Tds\MerwareDiscounts\Cart\Checkout\OverwrittenPriceCollector::getSalesChannelProduct (line 93)"
10 => "Tds\MerwareDiscounts\Cart\Checkout\OverwrittenPriceCollector::collect (line 103)"
11 => "Shopware\Core\Checkout\Cart\Processor::runProcessors (line 67)"
12 => "Shopware\Core\Checkout\Cart\Processor::Shopware\Core\Checkout\Cart\{closure} (line 59)"
13 => "Shopware\Core\Profiling\Profiler::trace (line 86)"
14 => "Shopware\Core\Checkout\Cart\Processor::process (line 132)"
15 => "Shopware\Core\Checkout\Cart\CartRuleLoader::Shopware\Core\Checkout\Cart\{closure} (line 59)"
16 => "Shopware\Core\Profiling\Profiler::trace (line 183)"
17 => "Shopware\Core\Checkout\Cart\CartRuleLoader::load (line 83)"
18 => "Shopware\Core\Checkout\Cart\CartRuleLoader::loadByToken (line 106)"
19 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::Shopware\Core\System\SalesChannel\Context\{closure} (line 59)"
20 => "Shopware\Core\Profiling\Profiler::trace (line 111)"
21 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::get (line 105)"
22 => "Shopware\Core\Framework\Routing\SalesChannelRequestContextResolver::resolve (line 38)"
23 => "Shopware\Core\Framework\Routing\ContextResolverListener::resolveContext (line 118)"
24 => "Symfony\Component\EventDispatcher\Debug\WrappedListener::__invoke (line 230)"
25 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
26 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
27 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
28 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
29 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
30 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
31 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 151)"
32 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
33 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
34 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
35 => "Shopware\Core\HttpKernel::doHandle (line 81)"
36 => "Shopware\Core\HttpKernel::handle (line 85)"
]
|
90 |
0.48 ms |
SELECT `product_price`.`id` as `product_price.id`, `product_price`.`version_id` as `product_price.versionId`, `product_price`.`product_id` as `product_price.productId`, `product_price`.`product_version_id` as `product_price.productVersionId`, `product_price`.`rule_id` as `product_price.ruleId`, `product_price`.`price` as `product_price.price`, `product_price`.`quantity_start` as `product_price.quantityStart`, `product_price`.`quantity_end` as `product_price.quantityEnd`, `product_price`.`custom_fields` as `product_price.customFields`, `product_price`.`created_at` as `product_price.createdAt`, `product_price`.`updated_at` as `product_price.updatedAt` FROM `product_price` WHERE (`product_price`.`version_id` = :version) AND ((`product_price`.`product_id` IN (:param_3b9027b1948e493bb621f4aee1e2071b)))
SELECT `product_price`.`id` as `product_price.id`, `product_price`.`version_id` as `product_price.versionId`, `product_price`.`product_id` as `product_price.productId`, `product_price`.`product_version_id` as `product_price.productVersionId`, `product_price`.`rule_id` as `product_price.ruleId`, `product_price`.`price` as `product_price.price`, `product_price`.`quantity_start` as `product_price.quantityStart`, `product_price`.`quantity_end` as `product_price.quantityEnd`, `product_price`.`custom_fields` as `product_price.customFields`, `product_price`.`created_at` as `product_price.createdAt`, `product_price`.`updated_at` as `product_price.updatedAt` FROM `product_price` WHERE (`product_price`.`version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425) AND ((`product_price`.`product_id` IN (0x1301813EFF234EECAD6A967E57D0CD77)));
array:41 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 242)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 316)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetch (line 148)"
4 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 503)"
5 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::loadOneToManyWithoutPagination (line 438)"
6 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::loadOneToMany (line 1210)"
7 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetchAssociations (line 152)"
8 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 93)"
9 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::read (line 195)"
10 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::read (line 133)"
11 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 36)"
12 => "Swag\PayPal\Util\Compatibility\SalesChannelRepositoryDecorator::search (line 207)"
13 => "Tds\MerwareDiscounts\Cart\Checkout\OverwrittenPriceCollector::getSalesChannelProduct (line 93)"
14 => "Tds\MerwareDiscounts\Cart\Checkout\OverwrittenPriceCollector::collect (line 103)"
15 => "Shopware\Core\Checkout\Cart\Processor::runProcessors (line 67)"
16 => "Shopware\Core\Checkout\Cart\Processor::Shopware\Core\Checkout\Cart\{closure} (line 59)"
17 => "Shopware\Core\Profiling\Profiler::trace (line 86)"
18 => "Shopware\Core\Checkout\Cart\Processor::process (line 132)"
19 => "Shopware\Core\Checkout\Cart\CartRuleLoader::Shopware\Core\Checkout\Cart\{closure} (line 59)"
20 => "Shopware\Core\Profiling\Profiler::trace (line 183)"
21 => "Shopware\Core\Checkout\Cart\CartRuleLoader::load (line 83)"
22 => "Shopware\Core\Checkout\Cart\CartRuleLoader::loadByToken (line 106)"
23 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::Shopware\Core\System\SalesChannel\Context\{closure} (line 59)"
24 => "Shopware\Core\Profiling\Profiler::trace (line 111)"
25 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::get (line 105)"
26 => "Shopware\Core\Framework\Routing\SalesChannelRequestContextResolver::resolve (line 38)"
27 => "Shopware\Core\Framework\Routing\ContextResolverListener::resolveContext (line 118)"
28 => "Symfony\Component\EventDispatcher\Debug\WrappedListener::__invoke (line 230)"
29 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
30 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
31 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
32 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
33 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
34 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
35 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 151)"
36 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
37 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
38 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
39 => "Shopware\Core\HttpKernel::doHandle (line 81)"
40 => "Shopware\Core\HttpKernel::handle (line 85)"
]
|
91 |
0.34 ms |
SELECT `product`.`id`, `product`.`product_number`, `product`.`auto_increment` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN `product_visibility` `product.visibilities` ON `product`.`visibilities` = `product.visibilities`.`product_id` AND `product`.version_id = `product.visibilities`.product_version_id WHERE (`product`.`version_id` = :version) AND ((((`product.visibilities`.`visibility` >= :param_d965215e9a7249b3b37b8fb27d5629e9) AND `product.visibilities`.`sales_channel_id` = :param_ceef7bb6225044549e6e06be65861607 AND IFNULL(`product`.`active`, `product.parent`.`active`) = :param_edd4571233de4d8ba51ee89235930b30))) AND (`product`.`id` IN (:ids)) GROUP BY `product`.`id`
SELECT `product`.`id`, `product`.`product_number`, `product`.`auto_increment` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN `product_visibility` `product.visibilities` ON `product`.`visibilities` = `product.visibilities`.`product_id` AND `product`.version_id = `product.visibilities`.product_version_id WHERE (`product`.`version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425) AND ((((`product.visibilities`.`visibility` >= 10) AND `product.visibilities`.`sales_channel_id` = 0x4EB9108BE4654CC9B140D14DE85579E9 AND IFNULL(`product`.`active`, `product.parent`.`active`) = 1))) AND (`product`.`id` IN (0x2CEAF5C8DFB94C7D84C003BEB6EFBAD7)) GROUP BY `product`.`id`;
array:36 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 242)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 107)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntitySearcher::search (line 62)"
4 => "Shopware\Elasticsearch\Framework\DataAbstractionLayer\ElasticsearchEntitySearcher::search (line 216)"
5 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::doSearch (line 122)"
6 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 36)"
7 => "Swag\PayPal\Util\Compatibility\SalesChannelRepositoryDecorator::search (line 207)"
8 => "Tds\MerwareDiscounts\Cart\Checkout\OverwrittenPriceCollector::getSalesChannelProduct (line 93)"
9 => "Tds\MerwareDiscounts\Cart\Checkout\OverwrittenPriceCollector::collect (line 103)"
10 => "Shopware\Core\Checkout\Cart\Processor::runProcessors (line 67)"
11 => "Shopware\Core\Checkout\Cart\Processor::Shopware\Core\Checkout\Cart\{closure} (line 59)"
12 => "Shopware\Core\Profiling\Profiler::trace (line 86)"
13 => "Shopware\Core\Checkout\Cart\Processor::process (line 132)"
14 => "Shopware\Core\Checkout\Cart\CartRuleLoader::Shopware\Core\Checkout\Cart\{closure} (line 59)"
15 => "Shopware\Core\Profiling\Profiler::trace (line 183)"
16 => "Shopware\Core\Checkout\Cart\CartRuleLoader::load (line 83)"
17 => "Shopware\Core\Checkout\Cart\CartRuleLoader::loadByToken (line 106)"
18 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::Shopware\Core\System\SalesChannel\Context\{closure} (line 59)"
19 => "Shopware\Core\Profiling\Profiler::trace (line 111)"
20 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::get (line 105)"
21 => "Shopware\Core\Framework\Routing\SalesChannelRequestContextResolver::resolve (line 38)"
22 => "Shopware\Core\Framework\Routing\ContextResolverListener::resolveContext (line 118)"
23 => "Symfony\Component\EventDispatcher\Debug\WrappedListener::__invoke (line 230)"
24 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
25 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
26 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
27 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
28 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
29 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
30 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 151)"
31 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
32 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
33 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
34 => "Shopware\Core\HttpKernel::doHandle (line 81)"
35 => "Shopware\Core\HttpKernel::handle (line 85)"
]
|
92 |
8.62 ms |
SELECT `product`.`id` as `product.id`, `product`.`version_id` as `product.versionId`, `product`.`parent_id` as `product.parentId`, `product`.`parent_version_id` as `product.parentVersionId`, COALESCE(`product`.`product_manufacturer_id`, `product.parent`.`product_manufacturer_id`) as `product.manufacturerId`, COALESCE(`product`.`product_manufacturer_version_id`, `product.parent`.`product_manufacturer_version_id`) as `product.productManufacturerVersionId`, COALESCE(`product`.`unit_id`, `product.parent`.`unit_id`) as `product.unitId`, COALESCE(`product`.`tax_id`, `product.parent`.`tax_id`) as `product.taxId`, COALESCE(`product`.`product_media_id`, `product.parent`.`product_media_id`) as `product.coverId`, COALESCE(`product`.`product_media_version_id`, `product.parent`.`product_media_version_id`) as `product.productMediaVersionId`, COALESCE(`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`) as `product.deliveryTimeId`, COALESCE(`product`.`product_feature_set_id`, `product.parent`.`product_feature_set_id`) as `product.featureSetId`, COALESCE(`product`.`canonical_product_id`, `product.parent`.`canonical_product_id`) as `product.canonicalProductId`, COALESCE(`product`.`cms_page_id`, `product.parent`.`cms_page_id`) as `product.cmsPageId`, COALESCE(`product`.`cms_page_version_id`, `product.parent`.`cms_page_version_id`) as `product.cmsPageVersionId`, `product.parent`.`price` as `product.price.inherited`, COALESCE(`product`.`price`, `product.parent`.`price`) as `product.price`, `product`.`product_number` as `product.productNumber`, `product`.`stock` as `product.stock`, COALESCE(`product`.`restock_time`, `product.parent`.`restock_time`) as `product.restockTime`, `product`.`auto_increment` as `product.autoIncrement`, COALESCE(`product`.`active`, `product.parent`.`active`) as `product.active`, `product`.`available_stock` as `product.availableStock`, `product`.`available` as `product.available`, COALESCE(`product`.`is_closeout`, `product.parent`.`is_closeout`) as `product.isCloseout`, `product`.`display_group` as `product.displayGroup`, `product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`, COALESCE(`product`.`configurator_group_config`, `product.parent`.`configurator_group_config`) as `product.configuratorGroupConfig`, COALESCE(`product`.`main_variant_id`, `product.parent`.`main_variant_id`) as `product.mainVariantId`, COALESCE(`product`.`display_parent`, `product.parent`.`display_parent`) as `product.displayParent`, `product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`, COALESCE(`product`.`variant_listing_config`, `product.parent`.`variant_listing_config`) as `product.variantListingConfig`, `product`.`variant_restrictions` as `product.variantRestrictions`, COALESCE(`product`.`manufacturer_number`, `product.parent`.`manufacturer_number`) as `product.manufacturerNumber`, COALESCE(`product`.`ean`, `product.parent`.`ean`) as `product.ean`, COALESCE(`product`.`purchase_steps`, `product.parent`.`purchase_steps`) as `product.purchaseSteps`, COALESCE(`product`.`max_purchase`, `product.parent`.`max_purchase`) as `product.maxPurchase`, COALESCE(`product`.`min_purchase`, `product.parent`.`min_purchase`) as `product.minPurchase`, COALESCE(`product`.`purchase_unit`, `product.parent`.`purchase_unit`) as `product.purchaseUnit`, COALESCE(`product`.`reference_unit`, `product.parent`.`reference_unit`) as `product.referenceUnit`, COALESCE(`product`.`shipping_free`, `product.parent`.`shipping_free`) as `product.shippingFree`, `product.parent`.`purchase_prices` as `product.purchasePrices.inherited`, COALESCE(`product`.`purchase_prices`, `product.parent`.`purchase_prices`) as `product.purchasePrices`, COALESCE(`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`) as `product.markAsTopseller`, COALESCE(`product`.`weight`, `product.parent`.`weight`) as `product.weight`, COALESCE(`product`.`width`, `product.parent`.`width`) as `product.width`, COALESCE(`product`.`height`, `product.parent`.`height`) as `product.height`, COALESCE(`product`.`length`, `product.parent`.`length`) as `product.length`, COALESCE(`product`.`release_date`, `product.parent`.`release_date`) as `product.releaseDate`, COALESCE(`product`.`rating_average`, `product.parent`.`rating_average`) as `product.ratingAverage`, `product.parent`.`category_tree` as `product.categoryTree.inherited`, COALESCE(`product`.`category_tree`, `product.parent`.`category_tree`) as `product.categoryTree`, `product.parent`.`property_ids` as `product.propertyIds.inherited`, COALESCE(`product`.`property_ids`, `product.parent`.`property_ids`) as `product.propertyIds`, `product.parent`.`option_ids` as `product.optionIds.inherited`, COALESCE(`product`.`option_ids`, `product.parent`.`option_ids`) as `product.optionIds`, `product.parent`.`stream_ids` as `product.streamIds.inherited`, COALESCE(`product`.`stream_ids`, `product.parent`.`stream_ids`) as `product.streamIds`, `product.parent`.`tag_ids` as `product.tagIds.inherited`, COALESCE(`product`.`tag_ids`, `product.parent`.`tag_ids`) as `product.tagIds`, `product.parent`.`category_ids` as `product.categoryIds.inherited`, COALESCE(`product`.`category_ids`, `product.parent`.`category_ids`) as `product.categoryIds`, `product`.`child_count` as `product.childCount`, COALESCE(`product`.`custom_field_set_selection_active`, `product.parent`.`custom_field_set_selection_active`) as `product.customFieldSetSelectionActive`, `product`.`sales` as `product.sales`, `product`.`states` as `product.states`, `product.tax`.`id` as `product.tax.id`, `product.tax`.`tax_rate` as `product.tax.taxRate`, `product.tax`.`name` as `product.tax.name`, `product.tax`.`position` as `product.tax.position`, `product.tax`.`custom_fields` as `product.tax.customFields`, `product.tax`.`created_at` as `product.tax.createdAt`, `product.tax`.`updated_at` as `product.tax.updatedAt`, `product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`, COALESCE(`product`.`cheapest_price`, `product.parent`.`cheapest_price`) as `product.cheapestPrice`, `product`.`created_at` as `product.createdAt`, `product`.`updated_at` as `product.updatedAt`, `product.unit`.`id` as `product.unit.id`, `product.unit`.`created_at` as `product.unit.createdAt`, `product.unit`.`updated_at` as `product.unit.updatedAt`, `product.unit.translation.shortCode`, COALESCE(`product.unit.translation.shortCode`,`product.unit.translation.shortCode`) as `product.unit.shortCode`, `product.unit.translation.name`, COALESCE(`product.unit.translation.name`,`product.unit.translation.name`) as `product.unit.name`, `product.unit.translation.customFields`, COALESCE(`product.unit.translation.customFields`,`product.unit.translation.customFields`) as `product.unit.customFields`, `product.unit.translation.createdAt`, `product.unit.translation.updatedAt`, `product.unit.translation.unitId`, `product.unit.translation.languageId`, `product.deliveryTime`.`id` as `product.deliveryTime.id`, `product.deliveryTime`.`min` as `product.deliveryTime.min`, `product.deliveryTime`.`max` as `product.deliveryTime.max`, `product.deliveryTime`.`unit` as `product.deliveryTime.unit`, `product.deliveryTime`.`created_at` as `product.deliveryTime.createdAt`, `product.deliveryTime`.`updated_at` as `product.deliveryTime.updatedAt`, `product.deliveryTime.translation.name`, COALESCE(`product.deliveryTime.translation.name`,`product.deliveryTime.translation.name`) as `product.deliveryTime.name`, `product.deliveryTime.translation.customFields`, COALESCE(`product.deliveryTime.translation.customFields`,`product.deliveryTime.translation.customFields`) as `product.deliveryTime.customFields`, `product.deliveryTime.translation.createdAt`, `product.deliveryTime.translation.updatedAt`, `product.deliveryTime.translation.deliveryTimeId`, `product.deliveryTime.translation.languageId`, `product.cover`.`id` as `product.cover.id`, `product.cover`.`version_id` as `product.cover.versionId`, `product.cover`.`product_id` as `product.cover.productId`, `product.cover`.`product_version_id` as `product.cover.productVersionId`, `product.cover`.`media_id` as `product.cover.mediaId`, `product.cover`.`position` as `product.cover.position`, `product.cover.media`.`id` as `product.cover.media.id`, `product.cover.media`.`user_id` as `product.cover.media.userId`, `product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`, `product.cover.media`.`mime_type` as `product.cover.media.mimeType`, `product.cover.media`.`file_extension` as `product.cover.media.fileExtension`, `product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`, `product.cover.media`.`file_name` as `product.cover.media.fileName`, `product.cover.media`.`file_size` as `product.cover.media.fileSize`, `product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`, `product.cover.media`.`meta_data` as `product.cover.media.metaData`, `product.cover.media`.`private` as `product.cover.media.private`, `product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`, `product.cover.media`.`created_at` as `product.cover.media.createdAt`, `product.cover.media`.`updated_at` as `product.cover.media.updatedAt`, `product.cover.media.translation.title`, COALESCE(`product.cover.media.translation.title`,`product.cover.media.translation.title`) as `product.cover.media.title`, `product.cover.media.translation.alt`, COALESCE(`product.cover.media.translation.alt`,`product.cover.media.translation.alt`) as `product.cover.media.alt`, `product.cover.media.translation.customFields`, COALESCE(`product.cover.media.translation.customFields`,`product.cover.media.translation.customFields`) as `product.cover.media.customFields`, `product.cover.media.translation.createdAt`, `product.cover.media.translation.updatedAt`, `product.cover.media.translation.mediaId`, `product.cover.media.translation.languageId`, `product.cover`.`custom_fields` as `product.cover.customFields`, `product.cover`.`created_at` as `product.cover.createdAt`, `product.cover`.`updated_at` as `product.cover.updatedAt`, `product.translation.metaDescription`, `product.parent.translation.metaDescription`, COALESCE(`product.translation.metaDescription`,`product.parent.translation.metaDescription`,`product.translation.metaDescription`) as `product.metaDescription`, `product.translation.name`, `product.parent.translation.name`, COALESCE(`product.translation.name`,`product.parent.translation.name`,`product.translation.name`) as `product.name`, `product.translation.keywords`, `product.parent.translation.keywords`, COALESCE(`product.translation.keywords`,`product.parent.translation.keywords`,`product.translation.keywords`) as `product.keywords`, `product.translation.description`, `product.parent.translation.description`, COALESCE(`product.translation.description`,`product.parent.translation.description`,`product.translation.description`) as `product.description`, `product.translation.metaTitle`, `product.parent.translation.metaTitle`, COALESCE(`product.translation.metaTitle`,`product.parent.translation.metaTitle`,`product.translation.metaTitle`) as `product.metaTitle`, `product.translation.packUnit`, `product.parent.translation.packUnit`, COALESCE(`product.translation.packUnit`,`product.parent.translation.packUnit`,`product.translation.packUnit`) as `product.packUnit`, `product.translation.packUnitPlural`, `product.parent.translation.packUnitPlural`, COALESCE(`product.translation.packUnitPlural`,`product.parent.translation.packUnitPlural`,`product.translation.packUnitPlural`) as `product.packUnitPlural`, `product.translation.customSearchKeywords`, `product.parent.translation.customSearchKeywords`, COALESCE(`product.translation.customSearchKeywords`,`product.parent.translation.customSearchKeywords`,`product.translation.customSearchKeywords`) as `product.customSearchKeywords`, `product.translation.slotConfig`, `product.parent.translation.slotConfig`, COALESCE(`product.translation.slotConfig`,`product.parent.translation.slotConfig`,`product.translation.slotConfig`) as `product.slotConfig`, `product.translation.customFields`, `product.parent.translation.customFields`, COALESCE(`product.translation.customFields`,`product.parent.translation.customFields`,`product.translation.customFields`) as `product.customFields`, `product.translation.createdAt`, `product.parent.translation.createdAt`, `product.translation.updatedAt`, `product.parent.translation.updatedAt`, `product.translation.productId`, `product.parent.translation.productId`, `product.translation.languageId`, `product.parent.translation.languageId`, `product.translation.productVersionId`, `product.parent.translation.productVersionId` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN (SELECT `product.translation`.product_id, `product.translation`.product_version_id, `product.translation`.meta_description as `product.translation.metaDescription`, `product.translation`.name as `product.translation.name`, `product.translation`.keywords as `product.translation.keywords`, `product.translation`.description as `product.translation.description`, `product.translation`.meta_title as `product.translation.metaTitle`, `product.translation`.pack_unit as `product.translation.packUnit`, `product.translation`.pack_unit_plural as `product.translation.packUnitPlural`, `product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`, `product.translation`.slot_config as `product.translation.slotConfig`, `product.translation`.custom_fields as `product.translation.customFields`, `product.translation`.created_at as `product.translation.createdAt`, `product.translation`.updated_at as `product.translation.updatedAt`, `product.translation`.product_id as `product.translation.productId`, `product.translation`.language_id as `product.translation.languageId`, `product.translation`.product_version_id as `product.translation.productVersionId` FROM `product_translation` `product.translation` WHERE `product.translation`.language_id = :languageId) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id` AND `product.product_translation`.product_version_id = `product`.version_id LEFT JOIN (SELECT `product.parent.translation`.product_id, `product.parent.translation`.product_version_id, `product.parent.translation`.meta_description as `product.parent.translation.metaDescription`, `product.parent.translation`.name as `product.parent.translation.name`, `product.parent.translation`.keywords as `product.parent.translation.keywords`, `product.parent.translation`.description as `product.parent.translation.description`, `product.parent.translation`.meta_title as `product.parent.translation.metaTitle`, `product.parent.translation`.pack_unit as `product.parent.translation.packUnit`, `product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`, `product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`, `product.parent.translation`.slot_config as `product.parent.translation.slotConfig`, `product.parent.translation`.custom_fields as `product.parent.translation.customFields`, `product.parent.translation`.created_at as `product.parent.translation.createdAt`, `product.parent.translation`.updated_at as `product.parent.translation.updatedAt`, `product.parent.translation`.product_id as `product.parent.translation.productId`, `product.parent.translation`.language_id as `product.parent.translation.languageId`, `product.parent.translation`.product_version_id as `product.parent.translation.productVersionId` FROM `product_translation` `product.parent.translation` WHERE `product.parent.translation`.language_id = :languageId) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id` AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id` LEFT JOIN `unit` `product.unit` ON `product`.`unit` = `product.unit`.`id` LEFT JOIN `delivery_time` `product.deliveryTime` ON `product`.`deliveryTime` = `product.deliveryTime`.`id` LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id` AND `product`.`version_id` = `product.cover`.`version_id` LEFT JOIN (SELECT `product.unit.translation`.unit_id, `product.unit.translation`.short_code as `product.unit.translation.shortCode`, `product.unit.translation`.name as `product.unit.translation.name`, `product.unit.translation`.custom_fields as `product.unit.translation.customFields`, `product.unit.translation`.created_at as `product.unit.translation.createdAt`, `product.unit.translation`.updated_at as `product.unit.translation.updatedAt`, `product.unit.translation`.unit_id as `product.unit.translation.unitId`, `product.unit.translation`.language_id as `product.unit.translation.languageId` FROM `unit_translation` `product.unit.translation` WHERE `product.unit.translation`.language_id = :languageId) `product.unit.unit_translation` ON `product.unit.unit_translation`.`unit_id` = `product.unit`.`id` LEFT JOIN (SELECT `product.deliveryTime.translation`.delivery_time_id, `product.deliveryTime.translation`.name as `product.deliveryTime.translation.name`, `product.deliveryTime.translation`.custom_fields as `product.deliveryTime.translation.customFields`, `product.deliveryTime.translation`.created_at as `product.deliveryTime.translation.createdAt`, `product.deliveryTime.translation`.updated_at as `product.deliveryTime.translation.updatedAt`, `product.deliveryTime.translation`.delivery_time_id as `product.deliveryTime.translation.deliveryTimeId`, `product.deliveryTime.translation`.language_id as `product.deliveryTime.translation.languageId` FROM `delivery_time_translation` `product.deliveryTime.translation` WHERE `product.deliveryTime.translation`.language_id = :languageId) `product.deliveryTime.delivery_time_translation` ON `product.deliveryTime.delivery_time_translation`.`delivery_time_id` = `product.deliveryTime`.`id` LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id` LEFT JOIN (SELECT `product.cover.media.translation`.media_id, `product.cover.media.translation`.title as `product.cover.media.translation.title`, `product.cover.media.translation`.alt as `product.cover.media.translation.alt`, `product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`, `product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`, `product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`, `product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`, `product.cover.media.translation`.language_id as `product.cover.media.translation.languageId` FROM `media_translation` `product.cover.media.translation` WHERE `product.cover.media.translation`.language_id = :languageId) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id` WHERE (`product`.`version_id` = :version) AND (`product`.`id` IN (:ids))
SELECT
`product`.`id` as `product.id`,
`product`.`version_id` as `product.versionId`,
`product`.`parent_id` as `product.parentId`,
`product`.`parent_version_id` as `product.parentVersionId`,
COALESCE(
`product`.`product_manufacturer_id`,
`product.parent`.`product_manufacturer_id`
) as `product.manufacturerId`,
COALESCE(
`product`.`product_manufacturer_version_id`,
`product.parent`.`product_manufacturer_version_id`
) as `product.productManufacturerVersionId`,
COALESCE(
`product`.`unit_id`, `product.parent`.`unit_id`
) as `product.unitId`,
COALESCE(
`product`.`tax_id`, `product.parent`.`tax_id`
) as `product.taxId`,
COALESCE(
`product`.`product_media_id`, `product.parent`.`product_media_id`
) as `product.coverId`,
COALESCE(
`product`.`product_media_version_id`,
`product.parent`.`product_media_version_id`
) as `product.productMediaVersionId`,
COALESCE(
`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`
) as `product.deliveryTimeId`,
COALESCE(
`product`.`product_feature_set_id`,
`product.parent`.`product_feature_set_id`
) as `product.featureSetId`,
COALESCE(
`product`.`canonical_product_id`,
`product.parent`.`canonical_product_id`
) as `product.canonicalProductId`,
COALESCE(
`product`.`cms_page_id`, `product.parent`.`cms_page_id`
) as `product.cmsPageId`,
COALESCE(
`product`.`cms_page_version_id`,
`product.parent`.`cms_page_version_id`
) as `product.cmsPageVersionId`,
`product.parent`.`price` as `product.price.inherited`,
COALESCE(
`product`.`price`, `product.parent`.`price`
) as `product.price`,
`product`.`product_number` as `product.productNumber`,
`product`.`stock` as `product.stock`,
COALESCE(
`product`.`restock_time`, `product.parent`.`restock_time`
) as `product.restockTime`,
`product`.`auto_increment` as `product.autoIncrement`,
COALESCE(
`product`.`active`, `product.parent`.`active`
) as `product.active`,
`product`.`available_stock` as `product.availableStock`,
`product`.`available` as `product.available`,
COALESCE(
`product`.`is_closeout`, `product.parent`.`is_closeout`
) as `product.isCloseout`,
`product`.`display_group` as `product.displayGroup`,
`product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`,
COALESCE(
`product`.`configurator_group_config`,
`product.parent`.`configurator_group_config`
) as `product.configuratorGroupConfig`,
COALESCE(
`product`.`main_variant_id`, `product.parent`.`main_variant_id`
) as `product.mainVariantId`,
COALESCE(
`product`.`display_parent`, `product.parent`.`display_parent`
) as `product.displayParent`,
`product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`,
COALESCE(
`product`.`variant_listing_config`,
`product.parent`.`variant_listing_config`
) as `product.variantListingConfig`,
`product`.`variant_restrictions` as `product.variantRestrictions`,
COALESCE(
`product`.`manufacturer_number`,
`product.parent`.`manufacturer_number`
) as `product.manufacturerNumber`,
COALESCE(
`product`.`ean`, `product.parent`.`ean`
) as `product.ean`,
COALESCE(
`product`.`purchase_steps`, `product.parent`.`purchase_steps`
) as `product.purchaseSteps`,
COALESCE(
`product`.`max_purchase`, `product.parent`.`max_purchase`
) as `product.maxPurchase`,
COALESCE(
`product`.`min_purchase`, `product.parent`.`min_purchase`
) as `product.minPurchase`,
COALESCE(
`product`.`purchase_unit`, `product.parent`.`purchase_unit`
) as `product.purchaseUnit`,
COALESCE(
`product`.`reference_unit`, `product.parent`.`reference_unit`
) as `product.referenceUnit`,
COALESCE(
`product`.`shipping_free`, `product.parent`.`shipping_free`
) as `product.shippingFree`,
`product.parent`.`purchase_prices` as `product.purchasePrices.inherited`,
COALESCE(
`product`.`purchase_prices`, `product.parent`.`purchase_prices`
) as `product.purchasePrices`,
COALESCE(
`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`
) as `product.markAsTopseller`,
COALESCE(
`product`.`weight`, `product.parent`.`weight`
) as `product.weight`,
COALESCE(
`product`.`width`, `product.parent`.`width`
) as `product.width`,
COALESCE(
`product`.`height`, `product.parent`.`height`
) as `product.height`,
COALESCE(
`product`.`length`, `product.parent`.`length`
) as `product.length`,
COALESCE(
`product`.`release_date`, `product.parent`.`release_date`
) as `product.releaseDate`,
COALESCE(
`product`.`rating_average`, `product.parent`.`rating_average`
) as `product.ratingAverage`,
`product.parent`.`category_tree` as `product.categoryTree.inherited`,
COALESCE(
`product`.`category_tree`, `product.parent`.`category_tree`
) as `product.categoryTree`,
`product.parent`.`property_ids` as `product.propertyIds.inherited`,
COALESCE(
`product`.`property_ids`, `product.parent`.`property_ids`
) as `product.propertyIds`,
`product.parent`.`option_ids` as `product.optionIds.inherited`,
COALESCE(
`product`.`option_ids`, `product.parent`.`option_ids`
) as `product.optionIds`,
`product.parent`.`stream_ids` as `product.streamIds.inherited`,
COALESCE(
`product`.`stream_ids`, `product.parent`.`stream_ids`
) as `product.streamIds`,
`product.parent`.`tag_ids` as `product.tagIds.inherited`,
COALESCE(
`product`.`tag_ids`, `product.parent`.`tag_ids`
) as `product.tagIds`,
`product.parent`.`category_ids` as `product.categoryIds.inherited`,
COALESCE(
`product`.`category_ids`, `product.parent`.`category_ids`
) as `product.categoryIds`,
`product`.`child_count` as `product.childCount`,
COALESCE(
`product`.`custom_field_set_selection_active`,
`product.parent`.`custom_field_set_selection_active`
) as `product.customFieldSetSelectionActive`,
`product`.`sales` as `product.sales`,
`product`.`states` as `product.states`,
`product.tax`.`id` as `product.tax.id`,
`product.tax`.`tax_rate` as `product.tax.taxRate`,
`product.tax`.`name` as `product.tax.name`,
`product.tax`.`position` as `product.tax.position`,
`product.tax`.`custom_fields` as `product.tax.customFields`,
`product.tax`.`created_at` as `product.tax.createdAt`,
`product.tax`.`updated_at` as `product.tax.updatedAt`,
`product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`,
COALESCE(
`product`.`cheapest_price`, `product.parent`.`cheapest_price`
) as `product.cheapestPrice`,
`product`.`created_at` as `product.createdAt`,
`product`.`updated_at` as `product.updatedAt`,
`product.unit`.`id` as `product.unit.id`,
`product.unit`.`created_at` as `product.unit.createdAt`,
`product.unit`.`updated_at` as `product.unit.updatedAt`,
`product.unit.translation.shortCode`,
COALESCE(
`product.unit.translation.shortCode`,
`product.unit.translation.shortCode`
) as `product.unit.shortCode`,
`product.unit.translation.name`,
COALESCE(
`product.unit.translation.name`,
`product.unit.translation.name`
) as `product.unit.name`,
`product.unit.translation.customFields`,
COALESCE(
`product.unit.translation.customFields`,
`product.unit.translation.customFields`
) as `product.unit.customFields`,
`product.unit.translation.createdAt`,
`product.unit.translation.updatedAt`,
`product.unit.translation.unitId`,
`product.unit.translation.languageId`,
`product.deliveryTime`.`id` as `product.deliveryTime.id`,
`product.deliveryTime`.`min` as `product.deliveryTime.min`,
`product.deliveryTime`.`max` as `product.deliveryTime.max`,
`product.deliveryTime`.`unit` as `product.deliveryTime.unit`,
`product.deliveryTime`.`created_at` as `product.deliveryTime.createdAt`,
`product.deliveryTime`.`updated_at` as `product.deliveryTime.updatedAt`,
`product.deliveryTime.translation.name`,
COALESCE(
`product.deliveryTime.translation.name`,
`product.deliveryTime.translation.name`
) as `product.deliveryTime.name`,
`product.deliveryTime.translation.customFields`,
COALESCE(
`product.deliveryTime.translation.customFields`,
`product.deliveryTime.translation.customFields`
) as `product.deliveryTime.customFields`,
`product.deliveryTime.translation.createdAt`,
`product.deliveryTime.translation.updatedAt`,
`product.deliveryTime.translation.deliveryTimeId`,
`product.deliveryTime.translation.languageId`,
`product.cover`.`id` as `product.cover.id`,
`product.cover`.`version_id` as `product.cover.versionId`,
`product.cover`.`product_id` as `product.cover.productId`,
`product.cover`.`product_version_id` as `product.cover.productVersionId`,
`product.cover`.`media_id` as `product.cover.mediaId`,
`product.cover`.`position` as `product.cover.position`,
`product.cover.media`.`id` as `product.cover.media.id`,
`product.cover.media`.`user_id` as `product.cover.media.userId`,
`product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`,
`product.cover.media`.`mime_type` as `product.cover.media.mimeType`,
`product.cover.media`.`file_extension` as `product.cover.media.fileExtension`,
`product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`,
`product.cover.media`.`file_name` as `product.cover.media.fileName`,
`product.cover.media`.`file_size` as `product.cover.media.fileSize`,
`product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`,
`product.cover.media`.`meta_data` as `product.cover.media.metaData`,
`product.cover.media`.`private` as `product.cover.media.private`,
`product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`,
`product.cover.media`.`created_at` as `product.cover.media.createdAt`,
`product.cover.media`.`updated_at` as `product.cover.media.updatedAt`,
`product.cover.media.translation.title`,
COALESCE(
`product.cover.media.translation.title`,
`product.cover.media.translation.title`
) as `product.cover.media.title`,
`product.cover.media.translation.alt`,
COALESCE(
`product.cover.media.translation.alt`,
`product.cover.media.translation.alt`
) as `product.cover.media.alt`,
`product.cover.media.translation.customFields`,
COALESCE(
`product.cover.media.translation.customFields`,
`product.cover.media.translation.customFields`
) as `product.cover.media.customFields`,
`product.cover.media.translation.createdAt`,
`product.cover.media.translation.updatedAt`,
`product.cover.media.translation.mediaId`,
`product.cover.media.translation.languageId`,
`product.cover`.`custom_fields` as `product.cover.customFields`,
`product.cover`.`created_at` as `product.cover.createdAt`,
`product.cover`.`updated_at` as `product.cover.updatedAt`,
`product.translation.metaDescription`,
`product.parent.translation.metaDescription`,
COALESCE(
`product.translation.metaDescription`,
`product.parent.translation.metaDescription`,
`product.translation.metaDescription`
) as `product.metaDescription`,
`product.translation.name`,
`product.parent.translation.name`,
COALESCE(
`product.translation.name`, `product.parent.translation.name`,
`product.translation.name`
) as `product.name`,
`product.translation.keywords`,
`product.parent.translation.keywords`,
COALESCE(
`product.translation.keywords`,
`product.parent.translation.keywords`,
`product.translation.keywords`
) as `product.keywords`,
`product.translation.description`,
`product.parent.translation.description`,
COALESCE(
`product.translation.description`,
`product.parent.translation.description`,
`product.translation.description`
) as `product.description`,
`product.translation.metaTitle`,
`product.parent.translation.metaTitle`,
COALESCE(
`product.translation.metaTitle`,
`product.parent.translation.metaTitle`,
`product.translation.metaTitle`
) as `product.metaTitle`,
`product.translation.packUnit`,
`product.parent.translation.packUnit`,
COALESCE(
`product.translation.packUnit`,
`product.parent.translation.packUnit`,
`product.translation.packUnit`
) as `product.packUnit`,
`product.translation.packUnitPlural`,
`product.parent.translation.packUnitPlural`,
COALESCE(
`product.translation.packUnitPlural`,
`product.parent.translation.packUnitPlural`,
`product.translation.packUnitPlural`
) as `product.packUnitPlural`,
`product.translation.customSearchKeywords`,
`product.parent.translation.customSearchKeywords`,
COALESCE(
`product.translation.customSearchKeywords`,
`product.parent.translation.customSearchKeywords`,
`product.translation.customSearchKeywords`
) as `product.customSearchKeywords`,
`product.translation.slotConfig`,
`product.parent.translation.slotConfig`,
COALESCE(
`product.translation.slotConfig`,
`product.parent.translation.slotConfig`,
`product.translation.slotConfig`
) as `product.slotConfig`,
`product.translation.customFields`,
`product.parent.translation.customFields`,
COALESCE(
`product.translation.customFields`,
`product.parent.translation.customFields`,
`product.translation.customFields`
) as `product.customFields`,
`product.translation.createdAt`,
`product.parent.translation.createdAt`,
`product.translation.updatedAt`,
`product.parent.translation.updatedAt`,
`product.translation.productId`,
`product.parent.translation.productId`,
`product.translation.languageId`,
`product.parent.translation.languageId`,
`product.translation.productVersionId`,
`product.parent.translation.productVersionId`
FROM
`product`
LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id`
AND `product`.`version_id` = `product.parent`.`version_id`
LEFT JOIN (
SELECT
`product.translation`.product_id,
`product.translation`.product_version_id,
`product.translation`.meta_description as `product.translation.metaDescription`,
`product.translation`.name as `product.translation.name`,
`product.translation`.keywords as `product.translation.keywords`,
`product.translation`.description as `product.translation.description`,
`product.translation`.meta_title as `product.translation.metaTitle`,
`product.translation`.pack_unit as `product.translation.packUnit`,
`product.translation`.pack_unit_plural as `product.translation.packUnitPlural`,
`product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`,
`product.translation`.slot_config as `product.translation.slotConfig`,
`product.translation`.custom_fields as `product.translation.customFields`,
`product.translation`.created_at as `product.translation.createdAt`,
`product.translation`.updated_at as `product.translation.updatedAt`,
`product.translation`.product_id as `product.translation.productId`,
`product.translation`.language_id as `product.translation.languageId`,
`product.translation`.product_version_id as `product.translation.productVersionId`
FROM
`product_translation` `product.translation`
WHERE
`product.translation`.language_id = : languageId
) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id`
AND `product.product_translation`.product_version_id = `product`.version_id
LEFT JOIN (
SELECT
`product.parent.translation`.product_id,
`product.parent.translation`.product_version_id,
`product.parent.translation`.meta_description as `product.parent.translation.metaDescription`,
`product.parent.translation`.name as `product.parent.translation.name`,
`product.parent.translation`.keywords as `product.parent.translation.keywords`,
`product.parent.translation`.description as `product.parent.translation.description`,
`product.parent.translation`.meta_title as `product.parent.translation.metaTitle`,
`product.parent.translation`.pack_unit as `product.parent.translation.packUnit`,
`product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`,
`product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`,
`product.parent.translation`.slot_config as `product.parent.translation.slotConfig`,
`product.parent.translation`.custom_fields as `product.parent.translation.customFields`,
`product.parent.translation`.created_at as `product.parent.translation.createdAt`,
`product.parent.translation`.updated_at as `product.parent.translation.updatedAt`,
`product.parent.translation`.product_id as `product.parent.translation.productId`,
`product.parent.translation`.language_id as `product.parent.translation.languageId`,
`product.parent.translation`.product_version_id as `product.parent.translation.productVersionId`
FROM
`product_translation` `product.parent.translation`
WHERE
`product.parent.translation`.language_id = : languageId
) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id`
AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id
LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id`
LEFT JOIN `unit` `product.unit` ON `product`.`unit` = `product.unit`.`id`
LEFT JOIN `delivery_time` `product.deliveryTime` ON `product`.`deliveryTime` = `product.deliveryTime`.`id`
LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id`
AND `product`.`version_id` = `product.cover`.`version_id`
LEFT JOIN (
SELECT
`product.unit.translation`.unit_id,
`product.unit.translation`.short_code as `product.unit.translation.shortCode`,
`product.unit.translation`.name as `product.unit.translation.name`,
`product.unit.translation`.custom_fields as `product.unit.translation.customFields`,
`product.unit.translation`.created_at as `product.unit.translation.createdAt`,
`product.unit.translation`.updated_at as `product.unit.translation.updatedAt`,
`product.unit.translation`.unit_id as `product.unit.translation.unitId`,
`product.unit.translation`.language_id as `product.unit.translation.languageId`
FROM
`unit_translation` `product.unit.translation`
WHERE
`product.unit.translation`.language_id = : languageId
) `product.unit.unit_translation` ON `product.unit.unit_translation`.`unit_id` = `product.unit`.`id`
LEFT JOIN (
SELECT
`product.deliveryTime.translation`.delivery_time_id,
`product.deliveryTime.translation`.name as `product.deliveryTime.translation.name`,
`product.deliveryTime.translation`.custom_fields as `product.deliveryTime.translation.customFields`,
`product.deliveryTime.translation`.created_at as `product.deliveryTime.translation.createdAt`,
`product.deliveryTime.translation`.updated_at as `product.deliveryTime.translation.updatedAt`,
`product.deliveryTime.translation`.delivery_time_id as `product.deliveryTime.translation.deliveryTimeId`,
`product.deliveryTime.translation`.language_id as `product.deliveryTime.translation.languageId`
FROM
`delivery_time_translation` `product.deliveryTime.translation`
WHERE
`product.deliveryTime.translation`.language_id = : languageId
) `product.deliveryTime.delivery_time_translation` ON `product.deliveryTime.delivery_time_translation`.`delivery_time_id` = `product.deliveryTime`.`id`
LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id`
LEFT JOIN (
SELECT
`product.cover.media.translation`.media_id,
`product.cover.media.translation`.title as `product.cover.media.translation.title`,
`product.cover.media.translation`.alt as `product.cover.media.translation.alt`,
`product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`,
`product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`,
`product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`,
`product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`,
`product.cover.media.translation`.language_id as `product.cover.media.translation.languageId`
FROM
`media_translation` `product.cover.media.translation`
WHERE
`product.cover.media.translation`.language_id = : languageId
) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id`
WHERE
(
`product`.`version_id` = : version
)
AND (
`product`.`id` IN (: ids)
)
SELECT `product`.`id` as `product.id`, `product`.`version_id` as `product.versionId`, `product`.`parent_id` as `product.parentId`, `product`.`parent_version_id` as `product.parentVersionId`, COALESCE(`product`.`product_manufacturer_id`, `product.parent`.`product_manufacturer_id`) as `product.manufacturerId`, COALESCE(`product`.`product_manufacturer_version_id`, `product.parent`.`product_manufacturer_version_id`) as `product.productManufacturerVersionId`, COALESCE(`product`.`unit_id`, `product.parent`.`unit_id`) as `product.unitId`, COALESCE(`product`.`tax_id`, `product.parent`.`tax_id`) as `product.taxId`, COALESCE(`product`.`product_media_id`, `product.parent`.`product_media_id`) as `product.coverId`, COALESCE(`product`.`product_media_version_id`, `product.parent`.`product_media_version_id`) as `product.productMediaVersionId`, COALESCE(`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`) as `product.deliveryTimeId`, COALESCE(`product`.`product_feature_set_id`, `product.parent`.`product_feature_set_id`) as `product.featureSetId`, COALESCE(`product`.`canonical_product_id`, `product.parent`.`canonical_product_id`) as `product.canonicalProductId`, COALESCE(`product`.`cms_page_id`, `product.parent`.`cms_page_id`) as `product.cmsPageId`, COALESCE(`product`.`cms_page_version_id`, `product.parent`.`cms_page_version_id`) as `product.cmsPageVersionId`, `product.parent`.`price` as `product.price.inherited`, COALESCE(`product`.`price`, `product.parent`.`price`) as `product.price`, `product`.`product_number` as `product.productNumber`, `product`.`stock` as `product.stock`, COALESCE(`product`.`restock_time`, `product.parent`.`restock_time`) as `product.restockTime`, `product`.`auto_increment` as `product.autoIncrement`, COALESCE(`product`.`active`, `product.parent`.`active`) as `product.active`, `product`.`available_stock` as `product.availableStock`, `product`.`available` as `product.available`, COALESCE(`product`.`is_closeout`, `product.parent`.`is_closeout`) as `product.isCloseout`, `product`.`display_group` as `product.displayGroup`, `product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`, COALESCE(`product`.`configurator_group_config`, `product.parent`.`configurator_group_config`) as `product.configuratorGroupConfig`, COALESCE(`product`.`main_variant_id`, `product.parent`.`main_variant_id`) as `product.mainVariantId`, COALESCE(`product`.`display_parent`, `product.parent`.`display_parent`) as `product.displayParent`, `product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`, COALESCE(`product`.`variant_listing_config`, `product.parent`.`variant_listing_config`) as `product.variantListingConfig`, `product`.`variant_restrictions` as `product.variantRestrictions`, COALESCE(`product`.`manufacturer_number`, `product.parent`.`manufacturer_number`) as `product.manufacturerNumber`, COALESCE(`product`.`ean`, `product.parent`.`ean`) as `product.ean`, COALESCE(`product`.`purchase_steps`, `product.parent`.`purchase_steps`) as `product.purchaseSteps`, COALESCE(`product`.`max_purchase`, `product.parent`.`max_purchase`) as `product.maxPurchase`, COALESCE(`product`.`min_purchase`, `product.parent`.`min_purchase`) as `product.minPurchase`, COALESCE(`product`.`purchase_unit`, `product.parent`.`purchase_unit`) as `product.purchaseUnit`, COALESCE(`product`.`reference_unit`, `product.parent`.`reference_unit`) as `product.referenceUnit`, COALESCE(`product`.`shipping_free`, `product.parent`.`shipping_free`) as `product.shippingFree`, `product.parent`.`purchase_prices` as `product.purchasePrices.inherited`, COALESCE(`product`.`purchase_prices`, `product.parent`.`purchase_prices`) as `product.purchasePrices`, COALESCE(`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`) as `product.markAsTopseller`, COALESCE(`product`.`weight`, `product.parent`.`weight`) as `product.weight`, COALESCE(`product`.`width`, `product.parent`.`width`) as `product.width`, COALESCE(`product`.`height`, `product.parent`.`height`) as `product.height`, COALESCE(`product`.`length`, `product.parent`.`length`) as `product.length`, COALESCE(`product`.`release_date`, `product.parent`.`release_date`) as `product.releaseDate`, COALESCE(`product`.`rating_average`, `product.parent`.`rating_average`) as `product.ratingAverage`, `product.parent`.`category_tree` as `product.categoryTree.inherited`, COALESCE(`product`.`category_tree`, `product.parent`.`category_tree`) as `product.categoryTree`, `product.parent`.`property_ids` as `product.propertyIds.inherited`, COALESCE(`product`.`property_ids`, `product.parent`.`property_ids`) as `product.propertyIds`, `product.parent`.`option_ids` as `product.optionIds.inherited`, COALESCE(`product`.`option_ids`, `product.parent`.`option_ids`) as `product.optionIds`, `product.parent`.`stream_ids` as `product.streamIds.inherited`, COALESCE(`product`.`stream_ids`, `product.parent`.`stream_ids`) as `product.streamIds`, `product.parent`.`tag_ids` as `product.tagIds.inherited`, COALESCE(`product`.`tag_ids`, `product.parent`.`tag_ids`) as `product.tagIds`, `product.parent`.`category_ids` as `product.categoryIds.inherited`, COALESCE(`product`.`category_ids`, `product.parent`.`category_ids`) as `product.categoryIds`, `product`.`child_count` as `product.childCount`, COALESCE(`product`.`custom_field_set_selection_active`, `product.parent`.`custom_field_set_selection_active`) as `product.customFieldSetSelectionActive`, `product`.`sales` as `product.sales`, `product`.`states` as `product.states`, `product.tax`.`id` as `product.tax.id`, `product.tax`.`tax_rate` as `product.tax.taxRate`, `product.tax`.`name` as `product.tax.name`, `product.tax`.`position` as `product.tax.position`, `product.tax`.`custom_fields` as `product.tax.customFields`, `product.tax`.`created_at` as `product.tax.createdAt`, `product.tax`.`updated_at` as `product.tax.updatedAt`, `product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`, COALESCE(`product`.`cheapest_price`, `product.parent`.`cheapest_price`) as `product.cheapestPrice`, `product`.`created_at` as `product.createdAt`, `product`.`updated_at` as `product.updatedAt`, `product.unit`.`id` as `product.unit.id`, `product.unit`.`created_at` as `product.unit.createdAt`, `product.unit`.`updated_at` as `product.unit.updatedAt`, `product.unit.translation.shortCode`, COALESCE(`product.unit.translation.shortCode`,`product.unit.translation.shortCode`) as `product.unit.shortCode`, `product.unit.translation.name`, COALESCE(`product.unit.translation.name`,`product.unit.translation.name`) as `product.unit.name`, `product.unit.translation.customFields`, COALESCE(`product.unit.translation.customFields`,`product.unit.translation.customFields`) as `product.unit.customFields`, `product.unit.translation.createdAt`, `product.unit.translation.updatedAt`, `product.unit.translation.unitId`, `product.unit.translation.languageId`, `product.deliveryTime`.`id` as `product.deliveryTime.id`, `product.deliveryTime`.`min` as `product.deliveryTime.min`, `product.deliveryTime`.`max` as `product.deliveryTime.max`, `product.deliveryTime`.`unit` as `product.deliveryTime.unit`, `product.deliveryTime`.`created_at` as `product.deliveryTime.createdAt`, `product.deliveryTime`.`updated_at` as `product.deliveryTime.updatedAt`, `product.deliveryTime.translation.name`, COALESCE(`product.deliveryTime.translation.name`,`product.deliveryTime.translation.name`) as `product.deliveryTime.name`, `product.deliveryTime.translation.customFields`, COALESCE(`product.deliveryTime.translation.customFields`,`product.deliveryTime.translation.customFields`) as `product.deliveryTime.customFields`, `product.deliveryTime.translation.createdAt`, `product.deliveryTime.translation.updatedAt`, `product.deliveryTime.translation.deliveryTimeId`, `product.deliveryTime.translation.languageId`, `product.cover`.`id` as `product.cover.id`, `product.cover`.`version_id` as `product.cover.versionId`, `product.cover`.`product_id` as `product.cover.productId`, `product.cover`.`product_version_id` as `product.cover.productVersionId`, `product.cover`.`media_id` as `product.cover.mediaId`, `product.cover`.`position` as `product.cover.position`, `product.cover.media`.`id` as `product.cover.media.id`, `product.cover.media`.`user_id` as `product.cover.media.userId`, `product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`, `product.cover.media`.`mime_type` as `product.cover.media.mimeType`, `product.cover.media`.`file_extension` as `product.cover.media.fileExtension`, `product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`, `product.cover.media`.`file_name` as `product.cover.media.fileName`, `product.cover.media`.`file_size` as `product.cover.media.fileSize`, `product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`, `product.cover.media`.`meta_data` as `product.cover.media.metaData`, `product.cover.media`.`private` as `product.cover.media.private`, `product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`, `product.cover.media`.`created_at` as `product.cover.media.createdAt`, `product.cover.media`.`updated_at` as `product.cover.media.updatedAt`, `product.cover.media.translation.title`, COALESCE(`product.cover.media.translation.title`,`product.cover.media.translation.title`) as `product.cover.media.title`, `product.cover.media.translation.alt`, COALESCE(`product.cover.media.translation.alt`,`product.cover.media.translation.alt`) as `product.cover.media.alt`, `product.cover.media.translation.customFields`, COALESCE(`product.cover.media.translation.customFields`,`product.cover.media.translation.customFields`) as `product.cover.media.customFields`, `product.cover.media.translation.createdAt`, `product.cover.media.translation.updatedAt`, `product.cover.media.translation.mediaId`, `product.cover.media.translation.languageId`, `product.cover`.`custom_fields` as `product.cover.customFields`, `product.cover`.`created_at` as `product.cover.createdAt`, `product.cover`.`updated_at` as `product.cover.updatedAt`, `product.translation.metaDescription`, `product.parent.translation.metaDescription`, COALESCE(`product.translation.metaDescription`,`product.parent.translation.metaDescription`,`product.translation.metaDescription`) as `product.metaDescription`, `product.translation.name`, `product.parent.translation.name`, COALESCE(`product.translation.name`,`product.parent.translation.name`,`product.translation.name`) as `product.name`, `product.translation.keywords`, `product.parent.translation.keywords`, COALESCE(`product.translation.keywords`,`product.parent.translation.keywords`,`product.translation.keywords`) as `product.keywords`, `product.translation.description`, `product.parent.translation.description`, COALESCE(`product.translation.description`,`product.parent.translation.description`,`product.translation.description`) as `product.description`, `product.translation.metaTitle`, `product.parent.translation.metaTitle`, COALESCE(`product.translation.metaTitle`,`product.parent.translation.metaTitle`,`product.translation.metaTitle`) as `product.metaTitle`, `product.translation.packUnit`, `product.parent.translation.packUnit`, COALESCE(`product.translation.packUnit`,`product.parent.translation.packUnit`,`product.translation.packUnit`) as `product.packUnit`, `product.translation.packUnitPlural`, `product.parent.translation.packUnitPlural`, COALESCE(`product.translation.packUnitPlural`,`product.parent.translation.packUnitPlural`,`product.translation.packUnitPlural`) as `product.packUnitPlural`, `product.translation.customSearchKeywords`, `product.parent.translation.customSearchKeywords`, COALESCE(`product.translation.customSearchKeywords`,`product.parent.translation.customSearchKeywords`,`product.translation.customSearchKeywords`) as `product.customSearchKeywords`, `product.translation.slotConfig`, `product.parent.translation.slotConfig`, COALESCE(`product.translation.slotConfig`,`product.parent.translation.slotConfig`,`product.translation.slotConfig`) as `product.slotConfig`, `product.translation.customFields`, `product.parent.translation.customFields`, COALESCE(`product.translation.customFields`,`product.parent.translation.customFields`,`product.translation.customFields`) as `product.customFields`, `product.translation.createdAt`, `product.parent.translation.createdAt`, `product.translation.updatedAt`, `product.parent.translation.updatedAt`, `product.translation.productId`, `product.parent.translation.productId`, `product.translation.languageId`, `product.parent.translation.languageId`, `product.translation.productVersionId`, `product.parent.translation.productVersionId` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN (SELECT `product.translation`.product_id, `product.translation`.product_version_id, `product.translation`.meta_description as `product.translation.metaDescription`, `product.translation`.name as `product.translation.name`, `product.translation`.keywords as `product.translation.keywords`, `product.translation`.description as `product.translation.description`, `product.translation`.meta_title as `product.translation.metaTitle`, `product.translation`.pack_unit as `product.translation.packUnit`, `product.translation`.pack_unit_plural as `product.translation.packUnitPlural`, `product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`, `product.translation`.slot_config as `product.translation.slotConfig`, `product.translation`.custom_fields as `product.translation.customFields`, `product.translation`.created_at as `product.translation.createdAt`, `product.translation`.updated_at as `product.translation.updatedAt`, `product.translation`.product_id as `product.translation.productId`, `product.translation`.language_id as `product.translation.languageId`, `product.translation`.product_version_id as `product.translation.productVersionId` FROM `product_translation` `product.translation` WHERE `product.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id` AND `product.product_translation`.product_version_id = `product`.version_id LEFT JOIN (SELECT `product.parent.translation`.product_id, `product.parent.translation`.product_version_id, `product.parent.translation`.meta_description as `product.parent.translation.metaDescription`, `product.parent.translation`.name as `product.parent.translation.name`, `product.parent.translation`.keywords as `product.parent.translation.keywords`, `product.parent.translation`.description as `product.parent.translation.description`, `product.parent.translation`.meta_title as `product.parent.translation.metaTitle`, `product.parent.translation`.pack_unit as `product.parent.translation.packUnit`, `product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`, `product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`, `product.parent.translation`.slot_config as `product.parent.translation.slotConfig`, `product.parent.translation`.custom_fields as `product.parent.translation.customFields`, `product.parent.translation`.created_at as `product.parent.translation.createdAt`, `product.parent.translation`.updated_at as `product.parent.translation.updatedAt`, `product.parent.translation`.product_id as `product.parent.translation.productId`, `product.parent.translation`.language_id as `product.parent.translation.languageId`, `product.parent.translation`.product_version_id as `product.parent.translation.productVersionId` FROM `product_translation` `product.parent.translation` WHERE `product.parent.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id` AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id` LEFT JOIN `unit` `product.unit` ON `product`.`unit` = `product.unit`.`id` LEFT JOIN `delivery_time` `product.deliveryTime` ON `product`.`deliveryTime` = `product.deliveryTime`.`id` LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id` AND `product`.`version_id` = `product.cover`.`version_id` LEFT JOIN (SELECT `product.unit.translation`.unit_id, `product.unit.translation`.short_code as `product.unit.translation.shortCode`, `product.unit.translation`.name as `product.unit.translation.name`, `product.unit.translation`.custom_fields as `product.unit.translation.customFields`, `product.unit.translation`.created_at as `product.unit.translation.createdAt`, `product.unit.translation`.updated_at as `product.unit.translation.updatedAt`, `product.unit.translation`.unit_id as `product.unit.translation.unitId`, `product.unit.translation`.language_id as `product.unit.translation.languageId` FROM `unit_translation` `product.unit.translation` WHERE `product.unit.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.unit.unit_translation` ON `product.unit.unit_translation`.`unit_id` = `product.unit`.`id` LEFT JOIN (SELECT `product.deliveryTime.translation`.delivery_time_id, `product.deliveryTime.translation`.name as `product.deliveryTime.translation.name`, `product.deliveryTime.translation`.custom_fields as `product.deliveryTime.translation.customFields`, `product.deliveryTime.translation`.created_at as `product.deliveryTime.translation.createdAt`, `product.deliveryTime.translation`.updated_at as `product.deliveryTime.translation.updatedAt`, `product.deliveryTime.translation`.delivery_time_id as `product.deliveryTime.translation.deliveryTimeId`, `product.deliveryTime.translation`.language_id as `product.deliveryTime.translation.languageId` FROM `delivery_time_translation` `product.deliveryTime.translation` WHERE `product.deliveryTime.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.deliveryTime.delivery_time_translation` ON `product.deliveryTime.delivery_time_translation`.`delivery_time_id` = `product.deliveryTime`.`id` LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id` LEFT JOIN (SELECT `product.cover.media.translation`.media_id, `product.cover.media.translation`.title as `product.cover.media.translation.title`, `product.cover.media.translation`.alt as `product.cover.media.translation.alt`, `product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`, `product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`, `product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`, `product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`, `product.cover.media.translation`.language_id as `product.cover.media.translation.languageId` FROM `media_translation` `product.cover.media.translation` WHERE `product.cover.media.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id` WHERE (`product`.`version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425) AND (`product`.`id` IN (0x2CEAF5C8DFB94C7D84C003BEB6EFBAD7));
array:37 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 242)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 316)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetch (line 148)"
4 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 93)"
5 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::read (line 195)"
6 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::read (line 133)"
7 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 36)"
8 => "Swag\PayPal\Util\Compatibility\SalesChannelRepositoryDecorator::search (line 207)"
9 => "Tds\MerwareDiscounts\Cart\Checkout\OverwrittenPriceCollector::getSalesChannelProduct (line 93)"
10 => "Tds\MerwareDiscounts\Cart\Checkout\OverwrittenPriceCollector::collect (line 103)"
11 => "Shopware\Core\Checkout\Cart\Processor::runProcessors (line 67)"
12 => "Shopware\Core\Checkout\Cart\Processor::Shopware\Core\Checkout\Cart\{closure} (line 59)"
13 => "Shopware\Core\Profiling\Profiler::trace (line 86)"
14 => "Shopware\Core\Checkout\Cart\Processor::process (line 132)"
15 => "Shopware\Core\Checkout\Cart\CartRuleLoader::Shopware\Core\Checkout\Cart\{closure} (line 59)"
16 => "Shopware\Core\Profiling\Profiler::trace (line 183)"
17 => "Shopware\Core\Checkout\Cart\CartRuleLoader::load (line 83)"
18 => "Shopware\Core\Checkout\Cart\CartRuleLoader::loadByToken (line 106)"
19 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::Shopware\Core\System\SalesChannel\Context\{closure} (line 59)"
20 => "Shopware\Core\Profiling\Profiler::trace (line 111)"
21 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::get (line 105)"
22 => "Shopware\Core\Framework\Routing\SalesChannelRequestContextResolver::resolve (line 38)"
23 => "Shopware\Core\Framework\Routing\ContextResolverListener::resolveContext (line 118)"
24 => "Symfony\Component\EventDispatcher\Debug\WrappedListener::__invoke (line 230)"
25 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
26 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
27 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
28 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
29 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
30 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
31 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 151)"
32 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
33 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
34 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
35 => "Shopware\Core\HttpKernel::doHandle (line 81)"
36 => "Shopware\Core\HttpKernel::handle (line 85)"
]
|
93 |
0.77 ms |
SELECT `product_price`.`id` as `product_price.id`, `product_price`.`version_id` as `product_price.versionId`, `product_price`.`product_id` as `product_price.productId`, `product_price`.`product_version_id` as `product_price.productVersionId`, `product_price`.`rule_id` as `product_price.ruleId`, `product_price`.`price` as `product_price.price`, `product_price`.`quantity_start` as `product_price.quantityStart`, `product_price`.`quantity_end` as `product_price.quantityEnd`, `product_price`.`custom_fields` as `product_price.customFields`, `product_price`.`created_at` as `product_price.createdAt`, `product_price`.`updated_at` as `product_price.updatedAt` FROM `product_price` WHERE (`product_price`.`version_id` = :version) AND ((`product_price`.`product_id` IN (:param_3ce13ac5732e47f398acca44a00abf72)))
SELECT `product_price`.`id` as `product_price.id`, `product_price`.`version_id` as `product_price.versionId`, `product_price`.`product_id` as `product_price.productId`, `product_price`.`product_version_id` as `product_price.productVersionId`, `product_price`.`rule_id` as `product_price.ruleId`, `product_price`.`price` as `product_price.price`, `product_price`.`quantity_start` as `product_price.quantityStart`, `product_price`.`quantity_end` as `product_price.quantityEnd`, `product_price`.`custom_fields` as `product_price.customFields`, `product_price`.`created_at` as `product_price.createdAt`, `product_price`.`updated_at` as `product_price.updatedAt` FROM `product_price` WHERE (`product_price`.`version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425) AND ((`product_price`.`product_id` IN (0x2CEAF5C8DFB94C7D84C003BEB6EFBAD7, 0x4AFB663CCC784FC89C56A4FDE62AFDAC)));
array:41 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 242)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 316)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetch (line 148)"
4 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 503)"
5 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::loadOneToManyWithoutPagination (line 438)"
6 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::loadOneToMany (line 1210)"
7 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetchAssociations (line 152)"
8 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 93)"
9 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::read (line 195)"
10 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::read (line 133)"
11 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 36)"
12 => "Swag\PayPal\Util\Compatibility\SalesChannelRepositoryDecorator::search (line 207)"
13 => "Tds\MerwareDiscounts\Cart\Checkout\OverwrittenPriceCollector::getSalesChannelProduct (line 93)"
14 => "Tds\MerwareDiscounts\Cart\Checkout\OverwrittenPriceCollector::collect (line 103)"
15 => "Shopware\Core\Checkout\Cart\Processor::runProcessors (line 67)"
16 => "Shopware\Core\Checkout\Cart\Processor::Shopware\Core\Checkout\Cart\{closure} (line 59)"
17 => "Shopware\Core\Profiling\Profiler::trace (line 86)"
18 => "Shopware\Core\Checkout\Cart\Processor::process (line 132)"
19 => "Shopware\Core\Checkout\Cart\CartRuleLoader::Shopware\Core\Checkout\Cart\{closure} (line 59)"
20 => "Shopware\Core\Profiling\Profiler::trace (line 183)"
21 => "Shopware\Core\Checkout\Cart\CartRuleLoader::load (line 83)"
22 => "Shopware\Core\Checkout\Cart\CartRuleLoader::loadByToken (line 106)"
23 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::Shopware\Core\System\SalesChannel\Context\{closure} (line 59)"
24 => "Shopware\Core\Profiling\Profiler::trace (line 111)"
25 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::get (line 105)"
26 => "Shopware\Core\Framework\Routing\SalesChannelRequestContextResolver::resolve (line 38)"
27 => "Shopware\Core\Framework\Routing\ContextResolverListener::resolveContext (line 118)"
28 => "Symfony\Component\EventDispatcher\Debug\WrappedListener::__invoke (line 230)"
29 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
30 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
31 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
32 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
33 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
34 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
35 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 151)"
36 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
37 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
38 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
39 => "Shopware\Core\HttpKernel::doHandle (line 81)"
40 => "Shopware\Core\HttpKernel::handle (line 85)"
]
|
94 |
0.35 ms |
SELECT `product`.`id`, `product`.`product_number`, `product`.`auto_increment` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN `product_visibility` `product.visibilities` ON `product`.`visibilities` = `product.visibilities`.`product_id` AND `product`.version_id = `product.visibilities`.product_version_id WHERE (`product`.`version_id` = :version) AND ((((`product.visibilities`.`visibility` >= :param_3e67440d542f4d50bdc8a09aa44e5f75) AND `product.visibilities`.`sales_channel_id` = :param_ae7e952d4dbd427fa18a511c90c50e70 AND IFNULL(`product`.`active`, `product.parent`.`active`) = :param_cb1757ef234b45e68aa4aff871362b5a))) AND (`product`.`id` IN (:ids)) GROUP BY `product`.`id`
SELECT `product`.`id`, `product`.`product_number`, `product`.`auto_increment` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN `product_visibility` `product.visibilities` ON `product`.`visibilities` = `product.visibilities`.`product_id` AND `product`.version_id = `product.visibilities`.product_version_id WHERE (`product`.`version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425) AND ((((`product.visibilities`.`visibility` >= 10) AND `product.visibilities`.`sales_channel_id` = 0x4EB9108BE4654CC9B140D14DE85579E9 AND IFNULL(`product`.`active`, `product.parent`.`active`) = 1))) AND (`product`.`id` IN (0x1D446FAD38EF425A993834F545C7696F)) GROUP BY `product`.`id`;
array:36 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 242)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 107)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntitySearcher::search (line 62)"
4 => "Shopware\Elasticsearch\Framework\DataAbstractionLayer\ElasticsearchEntitySearcher::search (line 216)"
5 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::doSearch (line 122)"
6 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 36)"
7 => "Swag\PayPal\Util\Compatibility\SalesChannelRepositoryDecorator::search (line 207)"
8 => "Tds\MerwareDiscounts\Cart\Checkout\OverwrittenPriceCollector::getSalesChannelProduct (line 93)"
9 => "Tds\MerwareDiscounts\Cart\Checkout\OverwrittenPriceCollector::collect (line 103)"
10 => "Shopware\Core\Checkout\Cart\Processor::runProcessors (line 67)"
11 => "Shopware\Core\Checkout\Cart\Processor::Shopware\Core\Checkout\Cart\{closure} (line 59)"
12 => "Shopware\Core\Profiling\Profiler::trace (line 86)"
13 => "Shopware\Core\Checkout\Cart\Processor::process (line 132)"
14 => "Shopware\Core\Checkout\Cart\CartRuleLoader::Shopware\Core\Checkout\Cart\{closure} (line 59)"
15 => "Shopware\Core\Profiling\Profiler::trace (line 183)"
16 => "Shopware\Core\Checkout\Cart\CartRuleLoader::load (line 83)"
17 => "Shopware\Core\Checkout\Cart\CartRuleLoader::loadByToken (line 106)"
18 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::Shopware\Core\System\SalesChannel\Context\{closure} (line 59)"
19 => "Shopware\Core\Profiling\Profiler::trace (line 111)"
20 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::get (line 105)"
21 => "Shopware\Core\Framework\Routing\SalesChannelRequestContextResolver::resolve (line 38)"
22 => "Shopware\Core\Framework\Routing\ContextResolverListener::resolveContext (line 118)"
23 => "Symfony\Component\EventDispatcher\Debug\WrappedListener::__invoke (line 230)"
24 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
25 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
26 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
27 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
28 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
29 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
30 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 151)"
31 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
32 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
33 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
34 => "Shopware\Core\HttpKernel::doHandle (line 81)"
35 => "Shopware\Core\HttpKernel::handle (line 85)"
]
|
95 |
9.94 ms |
SELECT `product`.`id` as `product.id`, `product`.`version_id` as `product.versionId`, `product`.`parent_id` as `product.parentId`, `product`.`parent_version_id` as `product.parentVersionId`, COALESCE(`product`.`product_manufacturer_id`, `product.parent`.`product_manufacturer_id`) as `product.manufacturerId`, COALESCE(`product`.`product_manufacturer_version_id`, `product.parent`.`product_manufacturer_version_id`) as `product.productManufacturerVersionId`, COALESCE(`product`.`unit_id`, `product.parent`.`unit_id`) as `product.unitId`, COALESCE(`product`.`tax_id`, `product.parent`.`tax_id`) as `product.taxId`, COALESCE(`product`.`product_media_id`, `product.parent`.`product_media_id`) as `product.coverId`, COALESCE(`product`.`product_media_version_id`, `product.parent`.`product_media_version_id`) as `product.productMediaVersionId`, COALESCE(`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`) as `product.deliveryTimeId`, COALESCE(`product`.`product_feature_set_id`, `product.parent`.`product_feature_set_id`) as `product.featureSetId`, COALESCE(`product`.`canonical_product_id`, `product.parent`.`canonical_product_id`) as `product.canonicalProductId`, COALESCE(`product`.`cms_page_id`, `product.parent`.`cms_page_id`) as `product.cmsPageId`, COALESCE(`product`.`cms_page_version_id`, `product.parent`.`cms_page_version_id`) as `product.cmsPageVersionId`, `product.parent`.`price` as `product.price.inherited`, COALESCE(`product`.`price`, `product.parent`.`price`) as `product.price`, `product`.`product_number` as `product.productNumber`, `product`.`stock` as `product.stock`, COALESCE(`product`.`restock_time`, `product.parent`.`restock_time`) as `product.restockTime`, `product`.`auto_increment` as `product.autoIncrement`, COALESCE(`product`.`active`, `product.parent`.`active`) as `product.active`, `product`.`available_stock` as `product.availableStock`, `product`.`available` as `product.available`, COALESCE(`product`.`is_closeout`, `product.parent`.`is_closeout`) as `product.isCloseout`, `product`.`display_group` as `product.displayGroup`, `product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`, COALESCE(`product`.`configurator_group_config`, `product.parent`.`configurator_group_config`) as `product.configuratorGroupConfig`, COALESCE(`product`.`main_variant_id`, `product.parent`.`main_variant_id`) as `product.mainVariantId`, COALESCE(`product`.`display_parent`, `product.parent`.`display_parent`) as `product.displayParent`, `product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`, COALESCE(`product`.`variant_listing_config`, `product.parent`.`variant_listing_config`) as `product.variantListingConfig`, `product`.`variant_restrictions` as `product.variantRestrictions`, COALESCE(`product`.`manufacturer_number`, `product.parent`.`manufacturer_number`) as `product.manufacturerNumber`, COALESCE(`product`.`ean`, `product.parent`.`ean`) as `product.ean`, COALESCE(`product`.`purchase_steps`, `product.parent`.`purchase_steps`) as `product.purchaseSteps`, COALESCE(`product`.`max_purchase`, `product.parent`.`max_purchase`) as `product.maxPurchase`, COALESCE(`product`.`min_purchase`, `product.parent`.`min_purchase`) as `product.minPurchase`, COALESCE(`product`.`purchase_unit`, `product.parent`.`purchase_unit`) as `product.purchaseUnit`, COALESCE(`product`.`reference_unit`, `product.parent`.`reference_unit`) as `product.referenceUnit`, COALESCE(`product`.`shipping_free`, `product.parent`.`shipping_free`) as `product.shippingFree`, `product.parent`.`purchase_prices` as `product.purchasePrices.inherited`, COALESCE(`product`.`purchase_prices`, `product.parent`.`purchase_prices`) as `product.purchasePrices`, COALESCE(`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`) as `product.markAsTopseller`, COALESCE(`product`.`weight`, `product.parent`.`weight`) as `product.weight`, COALESCE(`product`.`width`, `product.parent`.`width`) as `product.width`, COALESCE(`product`.`height`, `product.parent`.`height`) as `product.height`, COALESCE(`product`.`length`, `product.parent`.`length`) as `product.length`, COALESCE(`product`.`release_date`, `product.parent`.`release_date`) as `product.releaseDate`, COALESCE(`product`.`rating_average`, `product.parent`.`rating_average`) as `product.ratingAverage`, `product.parent`.`category_tree` as `product.categoryTree.inherited`, COALESCE(`product`.`category_tree`, `product.parent`.`category_tree`) as `product.categoryTree`, `product.parent`.`property_ids` as `product.propertyIds.inherited`, COALESCE(`product`.`property_ids`, `product.parent`.`property_ids`) as `product.propertyIds`, `product.parent`.`option_ids` as `product.optionIds.inherited`, COALESCE(`product`.`option_ids`, `product.parent`.`option_ids`) as `product.optionIds`, `product.parent`.`stream_ids` as `product.streamIds.inherited`, COALESCE(`product`.`stream_ids`, `product.parent`.`stream_ids`) as `product.streamIds`, `product.parent`.`tag_ids` as `product.tagIds.inherited`, COALESCE(`product`.`tag_ids`, `product.parent`.`tag_ids`) as `product.tagIds`, `product.parent`.`category_ids` as `product.categoryIds.inherited`, COALESCE(`product`.`category_ids`, `product.parent`.`category_ids`) as `product.categoryIds`, `product`.`child_count` as `product.childCount`, COALESCE(`product`.`custom_field_set_selection_active`, `product.parent`.`custom_field_set_selection_active`) as `product.customFieldSetSelectionActive`, `product`.`sales` as `product.sales`, `product`.`states` as `product.states`, `product.tax`.`id` as `product.tax.id`, `product.tax`.`tax_rate` as `product.tax.taxRate`, `product.tax`.`name` as `product.tax.name`, `product.tax`.`position` as `product.tax.position`, `product.tax`.`custom_fields` as `product.tax.customFields`, `product.tax`.`created_at` as `product.tax.createdAt`, `product.tax`.`updated_at` as `product.tax.updatedAt`, `product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`, COALESCE(`product`.`cheapest_price`, `product.parent`.`cheapest_price`) as `product.cheapestPrice`, `product`.`created_at` as `product.createdAt`, `product`.`updated_at` as `product.updatedAt`, `product.unit`.`id` as `product.unit.id`, `product.unit`.`created_at` as `product.unit.createdAt`, `product.unit`.`updated_at` as `product.unit.updatedAt`, `product.unit.translation.shortCode`, COALESCE(`product.unit.translation.shortCode`,`product.unit.translation.shortCode`) as `product.unit.shortCode`, `product.unit.translation.name`, COALESCE(`product.unit.translation.name`,`product.unit.translation.name`) as `product.unit.name`, `product.unit.translation.customFields`, COALESCE(`product.unit.translation.customFields`,`product.unit.translation.customFields`) as `product.unit.customFields`, `product.unit.translation.createdAt`, `product.unit.translation.updatedAt`, `product.unit.translation.unitId`, `product.unit.translation.languageId`, `product.deliveryTime`.`id` as `product.deliveryTime.id`, `product.deliveryTime`.`min` as `product.deliveryTime.min`, `product.deliveryTime`.`max` as `product.deliveryTime.max`, `product.deliveryTime`.`unit` as `product.deliveryTime.unit`, `product.deliveryTime`.`created_at` as `product.deliveryTime.createdAt`, `product.deliveryTime`.`updated_at` as `product.deliveryTime.updatedAt`, `product.deliveryTime.translation.name`, COALESCE(`product.deliveryTime.translation.name`,`product.deliveryTime.translation.name`) as `product.deliveryTime.name`, `product.deliveryTime.translation.customFields`, COALESCE(`product.deliveryTime.translation.customFields`,`product.deliveryTime.translation.customFields`) as `product.deliveryTime.customFields`, `product.deliveryTime.translation.createdAt`, `product.deliveryTime.translation.updatedAt`, `product.deliveryTime.translation.deliveryTimeId`, `product.deliveryTime.translation.languageId`, `product.cover`.`id` as `product.cover.id`, `product.cover`.`version_id` as `product.cover.versionId`, `product.cover`.`product_id` as `product.cover.productId`, `product.cover`.`product_version_id` as `product.cover.productVersionId`, `product.cover`.`media_id` as `product.cover.mediaId`, `product.cover`.`position` as `product.cover.position`, `product.cover.media`.`id` as `product.cover.media.id`, `product.cover.media`.`user_id` as `product.cover.media.userId`, `product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`, `product.cover.media`.`mime_type` as `product.cover.media.mimeType`, `product.cover.media`.`file_extension` as `product.cover.media.fileExtension`, `product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`, `product.cover.media`.`file_name` as `product.cover.media.fileName`, `product.cover.media`.`file_size` as `product.cover.media.fileSize`, `product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`, `product.cover.media`.`meta_data` as `product.cover.media.metaData`, `product.cover.media`.`private` as `product.cover.media.private`, `product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`, `product.cover.media`.`created_at` as `product.cover.media.createdAt`, `product.cover.media`.`updated_at` as `product.cover.media.updatedAt`, `product.cover.media.translation.title`, COALESCE(`product.cover.media.translation.title`,`product.cover.media.translation.title`) as `product.cover.media.title`, `product.cover.media.translation.alt`, COALESCE(`product.cover.media.translation.alt`,`product.cover.media.translation.alt`) as `product.cover.media.alt`, `product.cover.media.translation.customFields`, COALESCE(`product.cover.media.translation.customFields`,`product.cover.media.translation.customFields`) as `product.cover.media.customFields`, `product.cover.media.translation.createdAt`, `product.cover.media.translation.updatedAt`, `product.cover.media.translation.mediaId`, `product.cover.media.translation.languageId`, `product.cover`.`custom_fields` as `product.cover.customFields`, `product.cover`.`created_at` as `product.cover.createdAt`, `product.cover`.`updated_at` as `product.cover.updatedAt`, `product.translation.metaDescription`, `product.parent.translation.metaDescription`, COALESCE(`product.translation.metaDescription`,`product.parent.translation.metaDescription`,`product.translation.metaDescription`) as `product.metaDescription`, `product.translation.name`, `product.parent.translation.name`, COALESCE(`product.translation.name`,`product.parent.translation.name`,`product.translation.name`) as `product.name`, `product.translation.keywords`, `product.parent.translation.keywords`, COALESCE(`product.translation.keywords`,`product.parent.translation.keywords`,`product.translation.keywords`) as `product.keywords`, `product.translation.description`, `product.parent.translation.description`, COALESCE(`product.translation.description`,`product.parent.translation.description`,`product.translation.description`) as `product.description`, `product.translation.metaTitle`, `product.parent.translation.metaTitle`, COALESCE(`product.translation.metaTitle`,`product.parent.translation.metaTitle`,`product.translation.metaTitle`) as `product.metaTitle`, `product.translation.packUnit`, `product.parent.translation.packUnit`, COALESCE(`product.translation.packUnit`,`product.parent.translation.packUnit`,`product.translation.packUnit`) as `product.packUnit`, `product.translation.packUnitPlural`, `product.parent.translation.packUnitPlural`, COALESCE(`product.translation.packUnitPlural`,`product.parent.translation.packUnitPlural`,`product.translation.packUnitPlural`) as `product.packUnitPlural`, `product.translation.customSearchKeywords`, `product.parent.translation.customSearchKeywords`, COALESCE(`product.translation.customSearchKeywords`,`product.parent.translation.customSearchKeywords`,`product.translation.customSearchKeywords`) as `product.customSearchKeywords`, `product.translation.slotConfig`, `product.parent.translation.slotConfig`, COALESCE(`product.translation.slotConfig`,`product.parent.translation.slotConfig`,`product.translation.slotConfig`) as `product.slotConfig`, `product.translation.customFields`, `product.parent.translation.customFields`, COALESCE(`product.translation.customFields`,`product.parent.translation.customFields`,`product.translation.customFields`) as `product.customFields`, `product.translation.createdAt`, `product.parent.translation.createdAt`, `product.translation.updatedAt`, `product.parent.translation.updatedAt`, `product.translation.productId`, `product.parent.translation.productId`, `product.translation.languageId`, `product.parent.translation.languageId`, `product.translation.productVersionId`, `product.parent.translation.productVersionId` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN (SELECT `product.translation`.product_id, `product.translation`.product_version_id, `product.translation`.meta_description as `product.translation.metaDescription`, `product.translation`.name as `product.translation.name`, `product.translation`.keywords as `product.translation.keywords`, `product.translation`.description as `product.translation.description`, `product.translation`.meta_title as `product.translation.metaTitle`, `product.translation`.pack_unit as `product.translation.packUnit`, `product.translation`.pack_unit_plural as `product.translation.packUnitPlural`, `product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`, `product.translation`.slot_config as `product.translation.slotConfig`, `product.translation`.custom_fields as `product.translation.customFields`, `product.translation`.created_at as `product.translation.createdAt`, `product.translation`.updated_at as `product.translation.updatedAt`, `product.translation`.product_id as `product.translation.productId`, `product.translation`.language_id as `product.translation.languageId`, `product.translation`.product_version_id as `product.translation.productVersionId` FROM `product_translation` `product.translation` WHERE `product.translation`.language_id = :languageId) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id` AND `product.product_translation`.product_version_id = `product`.version_id LEFT JOIN (SELECT `product.parent.translation`.product_id, `product.parent.translation`.product_version_id, `product.parent.translation`.meta_description as `product.parent.translation.metaDescription`, `product.parent.translation`.name as `product.parent.translation.name`, `product.parent.translation`.keywords as `product.parent.translation.keywords`, `product.parent.translation`.description as `product.parent.translation.description`, `product.parent.translation`.meta_title as `product.parent.translation.metaTitle`, `product.parent.translation`.pack_unit as `product.parent.translation.packUnit`, `product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`, `product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`, `product.parent.translation`.slot_config as `product.parent.translation.slotConfig`, `product.parent.translation`.custom_fields as `product.parent.translation.customFields`, `product.parent.translation`.created_at as `product.parent.translation.createdAt`, `product.parent.translation`.updated_at as `product.parent.translation.updatedAt`, `product.parent.translation`.product_id as `product.parent.translation.productId`, `product.parent.translation`.language_id as `product.parent.translation.languageId`, `product.parent.translation`.product_version_id as `product.parent.translation.productVersionId` FROM `product_translation` `product.parent.translation` WHERE `product.parent.translation`.language_id = :languageId) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id` AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id` LEFT JOIN `unit` `product.unit` ON `product`.`unit` = `product.unit`.`id` LEFT JOIN `delivery_time` `product.deliveryTime` ON `product`.`deliveryTime` = `product.deliveryTime`.`id` LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id` AND `product`.`version_id` = `product.cover`.`version_id` LEFT JOIN (SELECT `product.unit.translation`.unit_id, `product.unit.translation`.short_code as `product.unit.translation.shortCode`, `product.unit.translation`.name as `product.unit.translation.name`, `product.unit.translation`.custom_fields as `product.unit.translation.customFields`, `product.unit.translation`.created_at as `product.unit.translation.createdAt`, `product.unit.translation`.updated_at as `product.unit.translation.updatedAt`, `product.unit.translation`.unit_id as `product.unit.translation.unitId`, `product.unit.translation`.language_id as `product.unit.translation.languageId` FROM `unit_translation` `product.unit.translation` WHERE `product.unit.translation`.language_id = :languageId) `product.unit.unit_translation` ON `product.unit.unit_translation`.`unit_id` = `product.unit`.`id` LEFT JOIN (SELECT `product.deliveryTime.translation`.delivery_time_id, `product.deliveryTime.translation`.name as `product.deliveryTime.translation.name`, `product.deliveryTime.translation`.custom_fields as `product.deliveryTime.translation.customFields`, `product.deliveryTime.translation`.created_at as `product.deliveryTime.translation.createdAt`, `product.deliveryTime.translation`.updated_at as `product.deliveryTime.translation.updatedAt`, `product.deliveryTime.translation`.delivery_time_id as `product.deliveryTime.translation.deliveryTimeId`, `product.deliveryTime.translation`.language_id as `product.deliveryTime.translation.languageId` FROM `delivery_time_translation` `product.deliveryTime.translation` WHERE `product.deliveryTime.translation`.language_id = :languageId) `product.deliveryTime.delivery_time_translation` ON `product.deliveryTime.delivery_time_translation`.`delivery_time_id` = `product.deliveryTime`.`id` LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id` LEFT JOIN (SELECT `product.cover.media.translation`.media_id, `product.cover.media.translation`.title as `product.cover.media.translation.title`, `product.cover.media.translation`.alt as `product.cover.media.translation.alt`, `product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`, `product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`, `product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`, `product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`, `product.cover.media.translation`.language_id as `product.cover.media.translation.languageId` FROM `media_translation` `product.cover.media.translation` WHERE `product.cover.media.translation`.language_id = :languageId) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id` WHERE (`product`.`version_id` = :version) AND (`product`.`id` IN (:ids))
SELECT
`product`.`id` as `product.id`,
`product`.`version_id` as `product.versionId`,
`product`.`parent_id` as `product.parentId`,
`product`.`parent_version_id` as `product.parentVersionId`,
COALESCE(
`product`.`product_manufacturer_id`,
`product.parent`.`product_manufacturer_id`
) as `product.manufacturerId`,
COALESCE(
`product`.`product_manufacturer_version_id`,
`product.parent`.`product_manufacturer_version_id`
) as `product.productManufacturerVersionId`,
COALESCE(
`product`.`unit_id`, `product.parent`.`unit_id`
) as `product.unitId`,
COALESCE(
`product`.`tax_id`, `product.parent`.`tax_id`
) as `product.taxId`,
COALESCE(
`product`.`product_media_id`, `product.parent`.`product_media_id`
) as `product.coverId`,
COALESCE(
`product`.`product_media_version_id`,
`product.parent`.`product_media_version_id`
) as `product.productMediaVersionId`,
COALESCE(
`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`
) as `product.deliveryTimeId`,
COALESCE(
`product`.`product_feature_set_id`,
`product.parent`.`product_feature_set_id`
) as `product.featureSetId`,
COALESCE(
`product`.`canonical_product_id`,
`product.parent`.`canonical_product_id`
) as `product.canonicalProductId`,
COALESCE(
`product`.`cms_page_id`, `product.parent`.`cms_page_id`
) as `product.cmsPageId`,
COALESCE(
`product`.`cms_page_version_id`,
`product.parent`.`cms_page_version_id`
) as `product.cmsPageVersionId`,
`product.parent`.`price` as `product.price.inherited`,
COALESCE(
`product`.`price`, `product.parent`.`price`
) as `product.price`,
`product`.`product_number` as `product.productNumber`,
`product`.`stock` as `product.stock`,
COALESCE(
`product`.`restock_time`, `product.parent`.`restock_time`
) as `product.restockTime`,
`product`.`auto_increment` as `product.autoIncrement`,
COALESCE(
`product`.`active`, `product.parent`.`active`
) as `product.active`,
`product`.`available_stock` as `product.availableStock`,
`product`.`available` as `product.available`,
COALESCE(
`product`.`is_closeout`, `product.parent`.`is_closeout`
) as `product.isCloseout`,
`product`.`display_group` as `product.displayGroup`,
`product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`,
COALESCE(
`product`.`configurator_group_config`,
`product.parent`.`configurator_group_config`
) as `product.configuratorGroupConfig`,
COALESCE(
`product`.`main_variant_id`, `product.parent`.`main_variant_id`
) as `product.mainVariantId`,
COALESCE(
`product`.`display_parent`, `product.parent`.`display_parent`
) as `product.displayParent`,
`product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`,
COALESCE(
`product`.`variant_listing_config`,
`product.parent`.`variant_listing_config`
) as `product.variantListingConfig`,
`product`.`variant_restrictions` as `product.variantRestrictions`,
COALESCE(
`product`.`manufacturer_number`,
`product.parent`.`manufacturer_number`
) as `product.manufacturerNumber`,
COALESCE(
`product`.`ean`, `product.parent`.`ean`
) as `product.ean`,
COALESCE(
`product`.`purchase_steps`, `product.parent`.`purchase_steps`
) as `product.purchaseSteps`,
COALESCE(
`product`.`max_purchase`, `product.parent`.`max_purchase`
) as `product.maxPurchase`,
COALESCE(
`product`.`min_purchase`, `product.parent`.`min_purchase`
) as `product.minPurchase`,
COALESCE(
`product`.`purchase_unit`, `product.parent`.`purchase_unit`
) as `product.purchaseUnit`,
COALESCE(
`product`.`reference_unit`, `product.parent`.`reference_unit`
) as `product.referenceUnit`,
COALESCE(
`product`.`shipping_free`, `product.parent`.`shipping_free`
) as `product.shippingFree`,
`product.parent`.`purchase_prices` as `product.purchasePrices.inherited`,
COALESCE(
`product`.`purchase_prices`, `product.parent`.`purchase_prices`
) as `product.purchasePrices`,
COALESCE(
`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`
) as `product.markAsTopseller`,
COALESCE(
`product`.`weight`, `product.parent`.`weight`
) as `product.weight`,
COALESCE(
`product`.`width`, `product.parent`.`width`
) as `product.width`,
COALESCE(
`product`.`height`, `product.parent`.`height`
) as `product.height`,
COALESCE(
`product`.`length`, `product.parent`.`length`
) as `product.length`,
COALESCE(
`product`.`release_date`, `product.parent`.`release_date`
) as `product.releaseDate`,
COALESCE(
`product`.`rating_average`, `product.parent`.`rating_average`
) as `product.ratingAverage`,
`product.parent`.`category_tree` as `product.categoryTree.inherited`,
COALESCE(
`product`.`category_tree`, `product.parent`.`category_tree`
) as `product.categoryTree`,
`product.parent`.`property_ids` as `product.propertyIds.inherited`,
COALESCE(
`product`.`property_ids`, `product.parent`.`property_ids`
) as `product.propertyIds`,
`product.parent`.`option_ids` as `product.optionIds.inherited`,
COALESCE(
`product`.`option_ids`, `product.parent`.`option_ids`
) as `product.optionIds`,
`product.parent`.`stream_ids` as `product.streamIds.inherited`,
COALESCE(
`product`.`stream_ids`, `product.parent`.`stream_ids`
) as `product.streamIds`,
`product.parent`.`tag_ids` as `product.tagIds.inherited`,
COALESCE(
`product`.`tag_ids`, `product.parent`.`tag_ids`
) as `product.tagIds`,
`product.parent`.`category_ids` as `product.categoryIds.inherited`,
COALESCE(
`product`.`category_ids`, `product.parent`.`category_ids`
) as `product.categoryIds`,
`product`.`child_count` as `product.childCount`,
COALESCE(
`product`.`custom_field_set_selection_active`,
`product.parent`.`custom_field_set_selection_active`
) as `product.customFieldSetSelectionActive`,
`product`.`sales` as `product.sales`,
`product`.`states` as `product.states`,
`product.tax`.`id` as `product.tax.id`,
`product.tax`.`tax_rate` as `product.tax.taxRate`,
`product.tax`.`name` as `product.tax.name`,
`product.tax`.`position` as `product.tax.position`,
`product.tax`.`custom_fields` as `product.tax.customFields`,
`product.tax`.`created_at` as `product.tax.createdAt`,
`product.tax`.`updated_at` as `product.tax.updatedAt`,
`product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`,
COALESCE(
`product`.`cheapest_price`, `product.parent`.`cheapest_price`
) as `product.cheapestPrice`,
`product`.`created_at` as `product.createdAt`,
`product`.`updated_at` as `product.updatedAt`,
`product.unit`.`id` as `product.unit.id`,
`product.unit`.`created_at` as `product.unit.createdAt`,
`product.unit`.`updated_at` as `product.unit.updatedAt`,
`product.unit.translation.shortCode`,
COALESCE(
`product.unit.translation.shortCode`,
`product.unit.translation.shortCode`
) as `product.unit.shortCode`,
`product.unit.translation.name`,
COALESCE(
`product.unit.translation.name`,
`product.unit.translation.name`
) as `product.unit.name`,
`product.unit.translation.customFields`,
COALESCE(
`product.unit.translation.customFields`,
`product.unit.translation.customFields`
) as `product.unit.customFields`,
`product.unit.translation.createdAt`,
`product.unit.translation.updatedAt`,
`product.unit.translation.unitId`,
`product.unit.translation.languageId`,
`product.deliveryTime`.`id` as `product.deliveryTime.id`,
`product.deliveryTime`.`min` as `product.deliveryTime.min`,
`product.deliveryTime`.`max` as `product.deliveryTime.max`,
`product.deliveryTime`.`unit` as `product.deliveryTime.unit`,
`product.deliveryTime`.`created_at` as `product.deliveryTime.createdAt`,
`product.deliveryTime`.`updated_at` as `product.deliveryTime.updatedAt`,
`product.deliveryTime.translation.name`,
COALESCE(
`product.deliveryTime.translation.name`,
`product.deliveryTime.translation.name`
) as `product.deliveryTime.name`,
`product.deliveryTime.translation.customFields`,
COALESCE(
`product.deliveryTime.translation.customFields`,
`product.deliveryTime.translation.customFields`
) as `product.deliveryTime.customFields`,
`product.deliveryTime.translation.createdAt`,
`product.deliveryTime.translation.updatedAt`,
`product.deliveryTime.translation.deliveryTimeId`,
`product.deliveryTime.translation.languageId`,
`product.cover`.`id` as `product.cover.id`,
`product.cover`.`version_id` as `product.cover.versionId`,
`product.cover`.`product_id` as `product.cover.productId`,
`product.cover`.`product_version_id` as `product.cover.productVersionId`,
`product.cover`.`media_id` as `product.cover.mediaId`,
`product.cover`.`position` as `product.cover.position`,
`product.cover.media`.`id` as `product.cover.media.id`,
`product.cover.media`.`user_id` as `product.cover.media.userId`,
`product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`,
`product.cover.media`.`mime_type` as `product.cover.media.mimeType`,
`product.cover.media`.`file_extension` as `product.cover.media.fileExtension`,
`product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`,
`product.cover.media`.`file_name` as `product.cover.media.fileName`,
`product.cover.media`.`file_size` as `product.cover.media.fileSize`,
`product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`,
`product.cover.media`.`meta_data` as `product.cover.media.metaData`,
`product.cover.media`.`private` as `product.cover.media.private`,
`product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`,
`product.cover.media`.`created_at` as `product.cover.media.createdAt`,
`product.cover.media`.`updated_at` as `product.cover.media.updatedAt`,
`product.cover.media.translation.title`,
COALESCE(
`product.cover.media.translation.title`,
`product.cover.media.translation.title`
) as `product.cover.media.title`,
`product.cover.media.translation.alt`,
COALESCE(
`product.cover.media.translation.alt`,
`product.cover.media.translation.alt`
) as `product.cover.media.alt`,
`product.cover.media.translation.customFields`,
COALESCE(
`product.cover.media.translation.customFields`,
`product.cover.media.translation.customFields`
) as `product.cover.media.customFields`,
`product.cover.media.translation.createdAt`,
`product.cover.media.translation.updatedAt`,
`product.cover.media.translation.mediaId`,
`product.cover.media.translation.languageId`,
`product.cover`.`custom_fields` as `product.cover.customFields`,
`product.cover`.`created_at` as `product.cover.createdAt`,
`product.cover`.`updated_at` as `product.cover.updatedAt`,
`product.translation.metaDescription`,
`product.parent.translation.metaDescription`,
COALESCE(
`product.translation.metaDescription`,
`product.parent.translation.metaDescription`,
`product.translation.metaDescription`
) as `product.metaDescription`,
`product.translation.name`,
`product.parent.translation.name`,
COALESCE(
`product.translation.name`, `product.parent.translation.name`,
`product.translation.name`
) as `product.name`,
`product.translation.keywords`,
`product.parent.translation.keywords`,
COALESCE(
`product.translation.keywords`,
`product.parent.translation.keywords`,
`product.translation.keywords`
) as `product.keywords`,
`product.translation.description`,
`product.parent.translation.description`,
COALESCE(
`product.translation.description`,
`product.parent.translation.description`,
`product.translation.description`
) as `product.description`,
`product.translation.metaTitle`,
`product.parent.translation.metaTitle`,
COALESCE(
`product.translation.metaTitle`,
`product.parent.translation.metaTitle`,
`product.translation.metaTitle`
) as `product.metaTitle`,
`product.translation.packUnit`,
`product.parent.translation.packUnit`,
COALESCE(
`product.translation.packUnit`,
`product.parent.translation.packUnit`,
`product.translation.packUnit`
) as `product.packUnit`,
`product.translation.packUnitPlural`,
`product.parent.translation.packUnitPlural`,
COALESCE(
`product.translation.packUnitPlural`,
`product.parent.translation.packUnitPlural`,
`product.translation.packUnitPlural`
) as `product.packUnitPlural`,
`product.translation.customSearchKeywords`,
`product.parent.translation.customSearchKeywords`,
COALESCE(
`product.translation.customSearchKeywords`,
`product.parent.translation.customSearchKeywords`,
`product.translation.customSearchKeywords`
) as `product.customSearchKeywords`,
`product.translation.slotConfig`,
`product.parent.translation.slotConfig`,
COALESCE(
`product.translation.slotConfig`,
`product.parent.translation.slotConfig`,
`product.translation.slotConfig`
) as `product.slotConfig`,
`product.translation.customFields`,
`product.parent.translation.customFields`,
COALESCE(
`product.translation.customFields`,
`product.parent.translation.customFields`,
`product.translation.customFields`
) as `product.customFields`,
`product.translation.createdAt`,
`product.parent.translation.createdAt`,
`product.translation.updatedAt`,
`product.parent.translation.updatedAt`,
`product.translation.productId`,
`product.parent.translation.productId`,
`product.translation.languageId`,
`product.parent.translation.languageId`,
`product.translation.productVersionId`,
`product.parent.translation.productVersionId`
FROM
`product`
LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id`
AND `product`.`version_id` = `product.parent`.`version_id`
LEFT JOIN (
SELECT
`product.translation`.product_id,
`product.translation`.product_version_id,
`product.translation`.meta_description as `product.translation.metaDescription`,
`product.translation`.name as `product.translation.name`,
`product.translation`.keywords as `product.translation.keywords`,
`product.translation`.description as `product.translation.description`,
`product.translation`.meta_title as `product.translation.metaTitle`,
`product.translation`.pack_unit as `product.translation.packUnit`,
`product.translation`.pack_unit_plural as `product.translation.packUnitPlural`,
`product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`,
`product.translation`.slot_config as `product.translation.slotConfig`,
`product.translation`.custom_fields as `product.translation.customFields`,
`product.translation`.created_at as `product.translation.createdAt`,
`product.translation`.updated_at as `product.translation.updatedAt`,
`product.translation`.product_id as `product.translation.productId`,
`product.translation`.language_id as `product.translation.languageId`,
`product.translation`.product_version_id as `product.translation.productVersionId`
FROM
`product_translation` `product.translation`
WHERE
`product.translation`.language_id = : languageId
) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id`
AND `product.product_translation`.product_version_id = `product`.version_id
LEFT JOIN (
SELECT
`product.parent.translation`.product_id,
`product.parent.translation`.product_version_id,
`product.parent.translation`.meta_description as `product.parent.translation.metaDescription`,
`product.parent.translation`.name as `product.parent.translation.name`,
`product.parent.translation`.keywords as `product.parent.translation.keywords`,
`product.parent.translation`.description as `product.parent.translation.description`,
`product.parent.translation`.meta_title as `product.parent.translation.metaTitle`,
`product.parent.translation`.pack_unit as `product.parent.translation.packUnit`,
`product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`,
`product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`,
`product.parent.translation`.slot_config as `product.parent.translation.slotConfig`,
`product.parent.translation`.custom_fields as `product.parent.translation.customFields`,
`product.parent.translation`.created_at as `product.parent.translation.createdAt`,
`product.parent.translation`.updated_at as `product.parent.translation.updatedAt`,
`product.parent.translation`.product_id as `product.parent.translation.productId`,
`product.parent.translation`.language_id as `product.parent.translation.languageId`,
`product.parent.translation`.product_version_id as `product.parent.translation.productVersionId`
FROM
`product_translation` `product.parent.translation`
WHERE
`product.parent.translation`.language_id = : languageId
) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id`
AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id
LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id`
LEFT JOIN `unit` `product.unit` ON `product`.`unit` = `product.unit`.`id`
LEFT JOIN `delivery_time` `product.deliveryTime` ON `product`.`deliveryTime` = `product.deliveryTime`.`id`
LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id`
AND `product`.`version_id` = `product.cover`.`version_id`
LEFT JOIN (
SELECT
`product.unit.translation`.unit_id,
`product.unit.translation`.short_code as `product.unit.translation.shortCode`,
`product.unit.translation`.name as `product.unit.translation.name`,
`product.unit.translation`.custom_fields as `product.unit.translation.customFields`,
`product.unit.translation`.created_at as `product.unit.translation.createdAt`,
`product.unit.translation`.updated_at as `product.unit.translation.updatedAt`,
`product.unit.translation`.unit_id as `product.unit.translation.unitId`,
`product.unit.translation`.language_id as `product.unit.translation.languageId`
FROM
`unit_translation` `product.unit.translation`
WHERE
`product.unit.translation`.language_id = : languageId
) `product.unit.unit_translation` ON `product.unit.unit_translation`.`unit_id` = `product.unit`.`id`
LEFT JOIN (
SELECT
`product.deliveryTime.translation`.delivery_time_id,
`product.deliveryTime.translation`.name as `product.deliveryTime.translation.name`,
`product.deliveryTime.translation`.custom_fields as `product.deliveryTime.translation.customFields`,
`product.deliveryTime.translation`.created_at as `product.deliveryTime.translation.createdAt`,
`product.deliveryTime.translation`.updated_at as `product.deliveryTime.translation.updatedAt`,
`product.deliveryTime.translation`.delivery_time_id as `product.deliveryTime.translation.deliveryTimeId`,
`product.deliveryTime.translation`.language_id as `product.deliveryTime.translation.languageId`
FROM
`delivery_time_translation` `product.deliveryTime.translation`
WHERE
`product.deliveryTime.translation`.language_id = : languageId
) `product.deliveryTime.delivery_time_translation` ON `product.deliveryTime.delivery_time_translation`.`delivery_time_id` = `product.deliveryTime`.`id`
LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id`
LEFT JOIN (
SELECT
`product.cover.media.translation`.media_id,
`product.cover.media.translation`.title as `product.cover.media.translation.title`,
`product.cover.media.translation`.alt as `product.cover.media.translation.alt`,
`product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`,
`product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`,
`product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`,
`product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`,
`product.cover.media.translation`.language_id as `product.cover.media.translation.languageId`
FROM
`media_translation` `product.cover.media.translation`
WHERE
`product.cover.media.translation`.language_id = : languageId
) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id`
WHERE
(
`product`.`version_id` = : version
)
AND (
`product`.`id` IN (: ids)
)
SELECT `product`.`id` as `product.id`, `product`.`version_id` as `product.versionId`, `product`.`parent_id` as `product.parentId`, `product`.`parent_version_id` as `product.parentVersionId`, COALESCE(`product`.`product_manufacturer_id`, `product.parent`.`product_manufacturer_id`) as `product.manufacturerId`, COALESCE(`product`.`product_manufacturer_version_id`, `product.parent`.`product_manufacturer_version_id`) as `product.productManufacturerVersionId`, COALESCE(`product`.`unit_id`, `product.parent`.`unit_id`) as `product.unitId`, COALESCE(`product`.`tax_id`, `product.parent`.`tax_id`) as `product.taxId`, COALESCE(`product`.`product_media_id`, `product.parent`.`product_media_id`) as `product.coverId`, COALESCE(`product`.`product_media_version_id`, `product.parent`.`product_media_version_id`) as `product.productMediaVersionId`, COALESCE(`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`) as `product.deliveryTimeId`, COALESCE(`product`.`product_feature_set_id`, `product.parent`.`product_feature_set_id`) as `product.featureSetId`, COALESCE(`product`.`canonical_product_id`, `product.parent`.`canonical_product_id`) as `product.canonicalProductId`, COALESCE(`product`.`cms_page_id`, `product.parent`.`cms_page_id`) as `product.cmsPageId`, COALESCE(`product`.`cms_page_version_id`, `product.parent`.`cms_page_version_id`) as `product.cmsPageVersionId`, `product.parent`.`price` as `product.price.inherited`, COALESCE(`product`.`price`, `product.parent`.`price`) as `product.price`, `product`.`product_number` as `product.productNumber`, `product`.`stock` as `product.stock`, COALESCE(`product`.`restock_time`, `product.parent`.`restock_time`) as `product.restockTime`, `product`.`auto_increment` as `product.autoIncrement`, COALESCE(`product`.`active`, `product.parent`.`active`) as `product.active`, `product`.`available_stock` as `product.availableStock`, `product`.`available` as `product.available`, COALESCE(`product`.`is_closeout`, `product.parent`.`is_closeout`) as `product.isCloseout`, `product`.`display_group` as `product.displayGroup`, `product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`, COALESCE(`product`.`configurator_group_config`, `product.parent`.`configurator_group_config`) as `product.configuratorGroupConfig`, COALESCE(`product`.`main_variant_id`, `product.parent`.`main_variant_id`) as `product.mainVariantId`, COALESCE(`product`.`display_parent`, `product.parent`.`display_parent`) as `product.displayParent`, `product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`, COALESCE(`product`.`variant_listing_config`, `product.parent`.`variant_listing_config`) as `product.variantListingConfig`, `product`.`variant_restrictions` as `product.variantRestrictions`, COALESCE(`product`.`manufacturer_number`, `product.parent`.`manufacturer_number`) as `product.manufacturerNumber`, COALESCE(`product`.`ean`, `product.parent`.`ean`) as `product.ean`, COALESCE(`product`.`purchase_steps`, `product.parent`.`purchase_steps`) as `product.purchaseSteps`, COALESCE(`product`.`max_purchase`, `product.parent`.`max_purchase`) as `product.maxPurchase`, COALESCE(`product`.`min_purchase`, `product.parent`.`min_purchase`) as `product.minPurchase`, COALESCE(`product`.`purchase_unit`, `product.parent`.`purchase_unit`) as `product.purchaseUnit`, COALESCE(`product`.`reference_unit`, `product.parent`.`reference_unit`) as `product.referenceUnit`, COALESCE(`product`.`shipping_free`, `product.parent`.`shipping_free`) as `product.shippingFree`, `product.parent`.`purchase_prices` as `product.purchasePrices.inherited`, COALESCE(`product`.`purchase_prices`, `product.parent`.`purchase_prices`) as `product.purchasePrices`, COALESCE(`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`) as `product.markAsTopseller`, COALESCE(`product`.`weight`, `product.parent`.`weight`) as `product.weight`, COALESCE(`product`.`width`, `product.parent`.`width`) as `product.width`, COALESCE(`product`.`height`, `product.parent`.`height`) as `product.height`, COALESCE(`product`.`length`, `product.parent`.`length`) as `product.length`, COALESCE(`product`.`release_date`, `product.parent`.`release_date`) as `product.releaseDate`, COALESCE(`product`.`rating_average`, `product.parent`.`rating_average`) as `product.ratingAverage`, `product.parent`.`category_tree` as `product.categoryTree.inherited`, COALESCE(`product`.`category_tree`, `product.parent`.`category_tree`) as `product.categoryTree`, `product.parent`.`property_ids` as `product.propertyIds.inherited`, COALESCE(`product`.`property_ids`, `product.parent`.`property_ids`) as `product.propertyIds`, `product.parent`.`option_ids` as `product.optionIds.inherited`, COALESCE(`product`.`option_ids`, `product.parent`.`option_ids`) as `product.optionIds`, `product.parent`.`stream_ids` as `product.streamIds.inherited`, COALESCE(`product`.`stream_ids`, `product.parent`.`stream_ids`) as `product.streamIds`, `product.parent`.`tag_ids` as `product.tagIds.inherited`, COALESCE(`product`.`tag_ids`, `product.parent`.`tag_ids`) as `product.tagIds`, `product.parent`.`category_ids` as `product.categoryIds.inherited`, COALESCE(`product`.`category_ids`, `product.parent`.`category_ids`) as `product.categoryIds`, `product`.`child_count` as `product.childCount`, COALESCE(`product`.`custom_field_set_selection_active`, `product.parent`.`custom_field_set_selection_active`) as `product.customFieldSetSelectionActive`, `product`.`sales` as `product.sales`, `product`.`states` as `product.states`, `product.tax`.`id` as `product.tax.id`, `product.tax`.`tax_rate` as `product.tax.taxRate`, `product.tax`.`name` as `product.tax.name`, `product.tax`.`position` as `product.tax.position`, `product.tax`.`custom_fields` as `product.tax.customFields`, `product.tax`.`created_at` as `product.tax.createdAt`, `product.tax`.`updated_at` as `product.tax.updatedAt`, `product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`, COALESCE(`product`.`cheapest_price`, `product.parent`.`cheapest_price`) as `product.cheapestPrice`, `product`.`created_at` as `product.createdAt`, `product`.`updated_at` as `product.updatedAt`, `product.unit`.`id` as `product.unit.id`, `product.unit`.`created_at` as `product.unit.createdAt`, `product.unit`.`updated_at` as `product.unit.updatedAt`, `product.unit.translation.shortCode`, COALESCE(`product.unit.translation.shortCode`,`product.unit.translation.shortCode`) as `product.unit.shortCode`, `product.unit.translation.name`, COALESCE(`product.unit.translation.name`,`product.unit.translation.name`) as `product.unit.name`, `product.unit.translation.customFields`, COALESCE(`product.unit.translation.customFields`,`product.unit.translation.customFields`) as `product.unit.customFields`, `product.unit.translation.createdAt`, `product.unit.translation.updatedAt`, `product.unit.translation.unitId`, `product.unit.translation.languageId`, `product.deliveryTime`.`id` as `product.deliveryTime.id`, `product.deliveryTime`.`min` as `product.deliveryTime.min`, `product.deliveryTime`.`max` as `product.deliveryTime.max`, `product.deliveryTime`.`unit` as `product.deliveryTime.unit`, `product.deliveryTime`.`created_at` as `product.deliveryTime.createdAt`, `product.deliveryTime`.`updated_at` as `product.deliveryTime.updatedAt`, `product.deliveryTime.translation.name`, COALESCE(`product.deliveryTime.translation.name`,`product.deliveryTime.translation.name`) as `product.deliveryTime.name`, `product.deliveryTime.translation.customFields`, COALESCE(`product.deliveryTime.translation.customFields`,`product.deliveryTime.translation.customFields`) as `product.deliveryTime.customFields`, `product.deliveryTime.translation.createdAt`, `product.deliveryTime.translation.updatedAt`, `product.deliveryTime.translation.deliveryTimeId`, `product.deliveryTime.translation.languageId`, `product.cover`.`id` as `product.cover.id`, `product.cover`.`version_id` as `product.cover.versionId`, `product.cover`.`product_id` as `product.cover.productId`, `product.cover`.`product_version_id` as `product.cover.productVersionId`, `product.cover`.`media_id` as `product.cover.mediaId`, `product.cover`.`position` as `product.cover.position`, `product.cover.media`.`id` as `product.cover.media.id`, `product.cover.media`.`user_id` as `product.cover.media.userId`, `product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`, `product.cover.media`.`mime_type` as `product.cover.media.mimeType`, `product.cover.media`.`file_extension` as `product.cover.media.fileExtension`, `product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`, `product.cover.media`.`file_name` as `product.cover.media.fileName`, `product.cover.media`.`file_size` as `product.cover.media.fileSize`, `product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`, `product.cover.media`.`meta_data` as `product.cover.media.metaData`, `product.cover.media`.`private` as `product.cover.media.private`, `product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`, `product.cover.media`.`created_at` as `product.cover.media.createdAt`, `product.cover.media`.`updated_at` as `product.cover.media.updatedAt`, `product.cover.media.translation.title`, COALESCE(`product.cover.media.translation.title`,`product.cover.media.translation.title`) as `product.cover.media.title`, `product.cover.media.translation.alt`, COALESCE(`product.cover.media.translation.alt`,`product.cover.media.translation.alt`) as `product.cover.media.alt`, `product.cover.media.translation.customFields`, COALESCE(`product.cover.media.translation.customFields`,`product.cover.media.translation.customFields`) as `product.cover.media.customFields`, `product.cover.media.translation.createdAt`, `product.cover.media.translation.updatedAt`, `product.cover.media.translation.mediaId`, `product.cover.media.translation.languageId`, `product.cover`.`custom_fields` as `product.cover.customFields`, `product.cover`.`created_at` as `product.cover.createdAt`, `product.cover`.`updated_at` as `product.cover.updatedAt`, `product.translation.metaDescription`, `product.parent.translation.metaDescription`, COALESCE(`product.translation.metaDescription`,`product.parent.translation.metaDescription`,`product.translation.metaDescription`) as `product.metaDescription`, `product.translation.name`, `product.parent.translation.name`, COALESCE(`product.translation.name`,`product.parent.translation.name`,`product.translation.name`) as `product.name`, `product.translation.keywords`, `product.parent.translation.keywords`, COALESCE(`product.translation.keywords`,`product.parent.translation.keywords`,`product.translation.keywords`) as `product.keywords`, `product.translation.description`, `product.parent.translation.description`, COALESCE(`product.translation.description`,`product.parent.translation.description`,`product.translation.description`) as `product.description`, `product.translation.metaTitle`, `product.parent.translation.metaTitle`, COALESCE(`product.translation.metaTitle`,`product.parent.translation.metaTitle`,`product.translation.metaTitle`) as `product.metaTitle`, `product.translation.packUnit`, `product.parent.translation.packUnit`, COALESCE(`product.translation.packUnit`,`product.parent.translation.packUnit`,`product.translation.packUnit`) as `product.packUnit`, `product.translation.packUnitPlural`, `product.parent.translation.packUnitPlural`, COALESCE(`product.translation.packUnitPlural`,`product.parent.translation.packUnitPlural`,`product.translation.packUnitPlural`) as `product.packUnitPlural`, `product.translation.customSearchKeywords`, `product.parent.translation.customSearchKeywords`, COALESCE(`product.translation.customSearchKeywords`,`product.parent.translation.customSearchKeywords`,`product.translation.customSearchKeywords`) as `product.customSearchKeywords`, `product.translation.slotConfig`, `product.parent.translation.slotConfig`, COALESCE(`product.translation.slotConfig`,`product.parent.translation.slotConfig`,`product.translation.slotConfig`) as `product.slotConfig`, `product.translation.customFields`, `product.parent.translation.customFields`, COALESCE(`product.translation.customFields`,`product.parent.translation.customFields`,`product.translation.customFields`) as `product.customFields`, `product.translation.createdAt`, `product.parent.translation.createdAt`, `product.translation.updatedAt`, `product.parent.translation.updatedAt`, `product.translation.productId`, `product.parent.translation.productId`, `product.translation.languageId`, `product.parent.translation.languageId`, `product.translation.productVersionId`, `product.parent.translation.productVersionId` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN (SELECT `product.translation`.product_id, `product.translation`.product_version_id, `product.translation`.meta_description as `product.translation.metaDescription`, `product.translation`.name as `product.translation.name`, `product.translation`.keywords as `product.translation.keywords`, `product.translation`.description as `product.translation.description`, `product.translation`.meta_title as `product.translation.metaTitle`, `product.translation`.pack_unit as `product.translation.packUnit`, `product.translation`.pack_unit_plural as `product.translation.packUnitPlural`, `product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`, `product.translation`.slot_config as `product.translation.slotConfig`, `product.translation`.custom_fields as `product.translation.customFields`, `product.translation`.created_at as `product.translation.createdAt`, `product.translation`.updated_at as `product.translation.updatedAt`, `product.translation`.product_id as `product.translation.productId`, `product.translation`.language_id as `product.translation.languageId`, `product.translation`.product_version_id as `product.translation.productVersionId` FROM `product_translation` `product.translation` WHERE `product.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id` AND `product.product_translation`.product_version_id = `product`.version_id LEFT JOIN (SELECT `product.parent.translation`.product_id, `product.parent.translation`.product_version_id, `product.parent.translation`.meta_description as `product.parent.translation.metaDescription`, `product.parent.translation`.name as `product.parent.translation.name`, `product.parent.translation`.keywords as `product.parent.translation.keywords`, `product.parent.translation`.description as `product.parent.translation.description`, `product.parent.translation`.meta_title as `product.parent.translation.metaTitle`, `product.parent.translation`.pack_unit as `product.parent.translation.packUnit`, `product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`, `product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`, `product.parent.translation`.slot_config as `product.parent.translation.slotConfig`, `product.parent.translation`.custom_fields as `product.parent.translation.customFields`, `product.parent.translation`.created_at as `product.parent.translation.createdAt`, `product.parent.translation`.updated_at as `product.parent.translation.updatedAt`, `product.parent.translation`.product_id as `product.parent.translation.productId`, `product.parent.translation`.language_id as `product.parent.translation.languageId`, `product.parent.translation`.product_version_id as `product.parent.translation.productVersionId` FROM `product_translation` `product.parent.translation` WHERE `product.parent.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id` AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id` LEFT JOIN `unit` `product.unit` ON `product`.`unit` = `product.unit`.`id` LEFT JOIN `delivery_time` `product.deliveryTime` ON `product`.`deliveryTime` = `product.deliveryTime`.`id` LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id` AND `product`.`version_id` = `product.cover`.`version_id` LEFT JOIN (SELECT `product.unit.translation`.unit_id, `product.unit.translation`.short_code as `product.unit.translation.shortCode`, `product.unit.translation`.name as `product.unit.translation.name`, `product.unit.translation`.custom_fields as `product.unit.translation.customFields`, `product.unit.translation`.created_at as `product.unit.translation.createdAt`, `product.unit.translation`.updated_at as `product.unit.translation.updatedAt`, `product.unit.translation`.unit_id as `product.unit.translation.unitId`, `product.unit.translation`.language_id as `product.unit.translation.languageId` FROM `unit_translation` `product.unit.translation` WHERE `product.unit.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.unit.unit_translation` ON `product.unit.unit_translation`.`unit_id` = `product.unit`.`id` LEFT JOIN (SELECT `product.deliveryTime.translation`.delivery_time_id, `product.deliveryTime.translation`.name as `product.deliveryTime.translation.name`, `product.deliveryTime.translation`.custom_fields as `product.deliveryTime.translation.customFields`, `product.deliveryTime.translation`.created_at as `product.deliveryTime.translation.createdAt`, `product.deliveryTime.translation`.updated_at as `product.deliveryTime.translation.updatedAt`, `product.deliveryTime.translation`.delivery_time_id as `product.deliveryTime.translation.deliveryTimeId`, `product.deliveryTime.translation`.language_id as `product.deliveryTime.translation.languageId` FROM `delivery_time_translation` `product.deliveryTime.translation` WHERE `product.deliveryTime.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.deliveryTime.delivery_time_translation` ON `product.deliveryTime.delivery_time_translation`.`delivery_time_id` = `product.deliveryTime`.`id` LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id` LEFT JOIN (SELECT `product.cover.media.translation`.media_id, `product.cover.media.translation`.title as `product.cover.media.translation.title`, `product.cover.media.translation`.alt as `product.cover.media.translation.alt`, `product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`, `product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`, `product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`, `product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`, `product.cover.media.translation`.language_id as `product.cover.media.translation.languageId` FROM `media_translation` `product.cover.media.translation` WHERE `product.cover.media.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id` WHERE (`product`.`version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425) AND (`product`.`id` IN (0x1D446FAD38EF425A993834F545C7696F));
array:37 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 242)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 316)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetch (line 148)"
4 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 93)"
5 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::read (line 195)"
6 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::read (line 133)"
7 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 36)"
8 => "Swag\PayPal\Util\Compatibility\SalesChannelRepositoryDecorator::search (line 207)"
9 => "Tds\MerwareDiscounts\Cart\Checkout\OverwrittenPriceCollector::getSalesChannelProduct (line 93)"
10 => "Tds\MerwareDiscounts\Cart\Checkout\OverwrittenPriceCollector::collect (line 103)"
11 => "Shopware\Core\Checkout\Cart\Processor::runProcessors (line 67)"
12 => "Shopware\Core\Checkout\Cart\Processor::Shopware\Core\Checkout\Cart\{closure} (line 59)"
13 => "Shopware\Core\Profiling\Profiler::trace (line 86)"
14 => "Shopware\Core\Checkout\Cart\Processor::process (line 132)"
15 => "Shopware\Core\Checkout\Cart\CartRuleLoader::Shopware\Core\Checkout\Cart\{closure} (line 59)"
16 => "Shopware\Core\Profiling\Profiler::trace (line 183)"
17 => "Shopware\Core\Checkout\Cart\CartRuleLoader::load (line 83)"
18 => "Shopware\Core\Checkout\Cart\CartRuleLoader::loadByToken (line 106)"
19 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::Shopware\Core\System\SalesChannel\Context\{closure} (line 59)"
20 => "Shopware\Core\Profiling\Profiler::trace (line 111)"
21 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::get (line 105)"
22 => "Shopware\Core\Framework\Routing\SalesChannelRequestContextResolver::resolve (line 38)"
23 => "Shopware\Core\Framework\Routing\ContextResolverListener::resolveContext (line 118)"
24 => "Symfony\Component\EventDispatcher\Debug\WrappedListener::__invoke (line 230)"
25 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
26 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
27 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
28 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
29 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
30 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
31 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 151)"
32 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
33 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
34 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
35 => "Shopware\Core\HttpKernel::doHandle (line 81)"
36 => "Shopware\Core\HttpKernel::handle (line 85)"
]
|
96 |
1.46 ms |
SELECT `product_price`.`id` as `product_price.id`, `product_price`.`version_id` as `product_price.versionId`, `product_price`.`product_id` as `product_price.productId`, `product_price`.`product_version_id` as `product_price.productVersionId`, `product_price`.`rule_id` as `product_price.ruleId`, `product_price`.`price` as `product_price.price`, `product_price`.`quantity_start` as `product_price.quantityStart`, `product_price`.`quantity_end` as `product_price.quantityEnd`, `product_price`.`custom_fields` as `product_price.customFields`, `product_price`.`created_at` as `product_price.createdAt`, `product_price`.`updated_at` as `product_price.updatedAt` FROM `product_price` WHERE (`product_price`.`version_id` = :version) AND ((`product_price`.`product_id` IN (:param_445fd0fa4bf143b39cc76f769e80f191)))
SELECT `product_price`.`id` as `product_price.id`, `product_price`.`version_id` as `product_price.versionId`, `product_price`.`product_id` as `product_price.productId`, `product_price`.`product_version_id` as `product_price.productVersionId`, `product_price`.`rule_id` as `product_price.ruleId`, `product_price`.`price` as `product_price.price`, `product_price`.`quantity_start` as `product_price.quantityStart`, `product_price`.`quantity_end` as `product_price.quantityEnd`, `product_price`.`custom_fields` as `product_price.customFields`, `product_price`.`created_at` as `product_price.createdAt`, `product_price`.`updated_at` as `product_price.updatedAt` FROM `product_price` WHERE (`product_price`.`version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425) AND ((`product_price`.`product_id` IN (0x1D446FAD38EF425A993834F545C7696F, 0xB94F01EF768C4469BA966C88B36A517C)));
array:41 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 242)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 316)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetch (line 148)"
4 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 503)"
5 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::loadOneToManyWithoutPagination (line 438)"
6 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::loadOneToMany (line 1210)"
7 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetchAssociations (line 152)"
8 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 93)"
9 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::read (line 195)"
10 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::read (line 133)"
11 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 36)"
12 => "Swag\PayPal\Util\Compatibility\SalesChannelRepositoryDecorator::search (line 207)"
13 => "Tds\MerwareDiscounts\Cart\Checkout\OverwrittenPriceCollector::getSalesChannelProduct (line 93)"
14 => "Tds\MerwareDiscounts\Cart\Checkout\OverwrittenPriceCollector::collect (line 103)"
15 => "Shopware\Core\Checkout\Cart\Processor::runProcessors (line 67)"
16 => "Shopware\Core\Checkout\Cart\Processor::Shopware\Core\Checkout\Cart\{closure} (line 59)"
17 => "Shopware\Core\Profiling\Profiler::trace (line 86)"
18 => "Shopware\Core\Checkout\Cart\Processor::process (line 132)"
19 => "Shopware\Core\Checkout\Cart\CartRuleLoader::Shopware\Core\Checkout\Cart\{closure} (line 59)"
20 => "Shopware\Core\Profiling\Profiler::trace (line 183)"
21 => "Shopware\Core\Checkout\Cart\CartRuleLoader::load (line 83)"
22 => "Shopware\Core\Checkout\Cart\CartRuleLoader::loadByToken (line 106)"
23 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::Shopware\Core\System\SalesChannel\Context\{closure} (line 59)"
24 => "Shopware\Core\Profiling\Profiler::trace (line 111)"
25 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::get (line 105)"
26 => "Shopware\Core\Framework\Routing\SalesChannelRequestContextResolver::resolve (line 38)"
27 => "Shopware\Core\Framework\Routing\ContextResolverListener::resolveContext (line 118)"
28 => "Symfony\Component\EventDispatcher\Debug\WrappedListener::__invoke (line 230)"
29 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
30 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
31 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
32 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
33 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
34 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
35 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 151)"
36 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
37 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
38 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
39 => "Shopware\Core\HttpKernel::doHandle (line 81)"
40 => "Shopware\Core\HttpKernel::handle (line 85)"
]
|
97 |
0.55 ms |
SELECT `product`.`id`, `product`.`product_number`, `product`.`auto_increment` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN `product_visibility` `product.visibilities` ON `product`.`visibilities` = `product.visibilities`.`product_id` AND `product`.version_id = `product.visibilities`.product_version_id WHERE (`product`.`version_id` = :version) AND ((((`product.visibilities`.`visibility` >= :param_7e80a4f9f1514a3b8187ea17fecea304) AND `product.visibilities`.`sales_channel_id` = :param_3f37d16cb7354e479f0c0ebaab4c1aac AND IFNULL(`product`.`active`, `product.parent`.`active`) = :param_f659354042594562a00b41ff3cc9cb6d))) AND (`product`.`id` IN (:ids)) GROUP BY `product`.`id`
SELECT `product`.`id`, `product`.`product_number`, `product`.`auto_increment` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN `product_visibility` `product.visibilities` ON `product`.`visibilities` = `product.visibilities`.`product_id` AND `product`.version_id = `product.visibilities`.product_version_id WHERE (`product`.`version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425) AND ((((`product.visibilities`.`visibility` >= 10) AND `product.visibilities`.`sales_channel_id` = 0x4EB9108BE4654CC9B140D14DE85579E9 AND IFNULL(`product`.`active`, `product.parent`.`active`) = 1))) AND (`product`.`id` IN (0x980954B8643642CE92D9D54FCD0DEDB5)) GROUP BY `product`.`id`;
array:36 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 242)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 107)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntitySearcher::search (line 62)"
4 => "Shopware\Elasticsearch\Framework\DataAbstractionLayer\ElasticsearchEntitySearcher::search (line 216)"
5 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::doSearch (line 122)"
6 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 36)"
7 => "Swag\PayPal\Util\Compatibility\SalesChannelRepositoryDecorator::search (line 207)"
8 => "Tds\MerwareDiscounts\Cart\Checkout\OverwrittenPriceCollector::getSalesChannelProduct (line 93)"
9 => "Tds\MerwareDiscounts\Cart\Checkout\OverwrittenPriceCollector::collect (line 103)"
10 => "Shopware\Core\Checkout\Cart\Processor::runProcessors (line 67)"
11 => "Shopware\Core\Checkout\Cart\Processor::Shopware\Core\Checkout\Cart\{closure} (line 59)"
12 => "Shopware\Core\Profiling\Profiler::trace (line 86)"
13 => "Shopware\Core\Checkout\Cart\Processor::process (line 132)"
14 => "Shopware\Core\Checkout\Cart\CartRuleLoader::Shopware\Core\Checkout\Cart\{closure} (line 59)"
15 => "Shopware\Core\Profiling\Profiler::trace (line 183)"
16 => "Shopware\Core\Checkout\Cart\CartRuleLoader::load (line 83)"
17 => "Shopware\Core\Checkout\Cart\CartRuleLoader::loadByToken (line 106)"
18 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::Shopware\Core\System\SalesChannel\Context\{closure} (line 59)"
19 => "Shopware\Core\Profiling\Profiler::trace (line 111)"
20 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::get (line 105)"
21 => "Shopware\Core\Framework\Routing\SalesChannelRequestContextResolver::resolve (line 38)"
22 => "Shopware\Core\Framework\Routing\ContextResolverListener::resolveContext (line 118)"
23 => "Symfony\Component\EventDispatcher\Debug\WrappedListener::__invoke (line 230)"
24 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
25 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
26 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
27 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
28 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
29 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
30 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 151)"
31 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
32 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
33 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
34 => "Shopware\Core\HttpKernel::doHandle (line 81)"
35 => "Shopware\Core\HttpKernel::handle (line 85)"
]
|
98 |
10.53 ms |
SELECT `product`.`id` as `product.id`, `product`.`version_id` as `product.versionId`, `product`.`parent_id` as `product.parentId`, `product`.`parent_version_id` as `product.parentVersionId`, COALESCE(`product`.`product_manufacturer_id`, `product.parent`.`product_manufacturer_id`) as `product.manufacturerId`, COALESCE(`product`.`product_manufacturer_version_id`, `product.parent`.`product_manufacturer_version_id`) as `product.productManufacturerVersionId`, COALESCE(`product`.`unit_id`, `product.parent`.`unit_id`) as `product.unitId`, COALESCE(`product`.`tax_id`, `product.parent`.`tax_id`) as `product.taxId`, COALESCE(`product`.`product_media_id`, `product.parent`.`product_media_id`) as `product.coverId`, COALESCE(`product`.`product_media_version_id`, `product.parent`.`product_media_version_id`) as `product.productMediaVersionId`, COALESCE(`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`) as `product.deliveryTimeId`, COALESCE(`product`.`product_feature_set_id`, `product.parent`.`product_feature_set_id`) as `product.featureSetId`, COALESCE(`product`.`canonical_product_id`, `product.parent`.`canonical_product_id`) as `product.canonicalProductId`, COALESCE(`product`.`cms_page_id`, `product.parent`.`cms_page_id`) as `product.cmsPageId`, COALESCE(`product`.`cms_page_version_id`, `product.parent`.`cms_page_version_id`) as `product.cmsPageVersionId`, `product.parent`.`price` as `product.price.inherited`, COALESCE(`product`.`price`, `product.parent`.`price`) as `product.price`, `product`.`product_number` as `product.productNumber`, `product`.`stock` as `product.stock`, COALESCE(`product`.`restock_time`, `product.parent`.`restock_time`) as `product.restockTime`, `product`.`auto_increment` as `product.autoIncrement`, COALESCE(`product`.`active`, `product.parent`.`active`) as `product.active`, `product`.`available_stock` as `product.availableStock`, `product`.`available` as `product.available`, COALESCE(`product`.`is_closeout`, `product.parent`.`is_closeout`) as `product.isCloseout`, `product`.`display_group` as `product.displayGroup`, `product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`, COALESCE(`product`.`configurator_group_config`, `product.parent`.`configurator_group_config`) as `product.configuratorGroupConfig`, COALESCE(`product`.`main_variant_id`, `product.parent`.`main_variant_id`) as `product.mainVariantId`, COALESCE(`product`.`display_parent`, `product.parent`.`display_parent`) as `product.displayParent`, `product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`, COALESCE(`product`.`variant_listing_config`, `product.parent`.`variant_listing_config`) as `product.variantListingConfig`, `product`.`variant_restrictions` as `product.variantRestrictions`, COALESCE(`product`.`manufacturer_number`, `product.parent`.`manufacturer_number`) as `product.manufacturerNumber`, COALESCE(`product`.`ean`, `product.parent`.`ean`) as `product.ean`, COALESCE(`product`.`purchase_steps`, `product.parent`.`purchase_steps`) as `product.purchaseSteps`, COALESCE(`product`.`max_purchase`, `product.parent`.`max_purchase`) as `product.maxPurchase`, COALESCE(`product`.`min_purchase`, `product.parent`.`min_purchase`) as `product.minPurchase`, COALESCE(`product`.`purchase_unit`, `product.parent`.`purchase_unit`) as `product.purchaseUnit`, COALESCE(`product`.`reference_unit`, `product.parent`.`reference_unit`) as `product.referenceUnit`, COALESCE(`product`.`shipping_free`, `product.parent`.`shipping_free`) as `product.shippingFree`, `product.parent`.`purchase_prices` as `product.purchasePrices.inherited`, COALESCE(`product`.`purchase_prices`, `product.parent`.`purchase_prices`) as `product.purchasePrices`, COALESCE(`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`) as `product.markAsTopseller`, COALESCE(`product`.`weight`, `product.parent`.`weight`) as `product.weight`, COALESCE(`product`.`width`, `product.parent`.`width`) as `product.width`, COALESCE(`product`.`height`, `product.parent`.`height`) as `product.height`, COALESCE(`product`.`length`, `product.parent`.`length`) as `product.length`, COALESCE(`product`.`release_date`, `product.parent`.`release_date`) as `product.releaseDate`, COALESCE(`product`.`rating_average`, `product.parent`.`rating_average`) as `product.ratingAverage`, `product.parent`.`category_tree` as `product.categoryTree.inherited`, COALESCE(`product`.`category_tree`, `product.parent`.`category_tree`) as `product.categoryTree`, `product.parent`.`property_ids` as `product.propertyIds.inherited`, COALESCE(`product`.`property_ids`, `product.parent`.`property_ids`) as `product.propertyIds`, `product.parent`.`option_ids` as `product.optionIds.inherited`, COALESCE(`product`.`option_ids`, `product.parent`.`option_ids`) as `product.optionIds`, `product.parent`.`stream_ids` as `product.streamIds.inherited`, COALESCE(`product`.`stream_ids`, `product.parent`.`stream_ids`) as `product.streamIds`, `product.parent`.`tag_ids` as `product.tagIds.inherited`, COALESCE(`product`.`tag_ids`, `product.parent`.`tag_ids`) as `product.tagIds`, `product.parent`.`category_ids` as `product.categoryIds.inherited`, COALESCE(`product`.`category_ids`, `product.parent`.`category_ids`) as `product.categoryIds`, `product`.`child_count` as `product.childCount`, COALESCE(`product`.`custom_field_set_selection_active`, `product.parent`.`custom_field_set_selection_active`) as `product.customFieldSetSelectionActive`, `product`.`sales` as `product.sales`, `product`.`states` as `product.states`, `product.tax`.`id` as `product.tax.id`, `product.tax`.`tax_rate` as `product.tax.taxRate`, `product.tax`.`name` as `product.tax.name`, `product.tax`.`position` as `product.tax.position`, `product.tax`.`custom_fields` as `product.tax.customFields`, `product.tax`.`created_at` as `product.tax.createdAt`, `product.tax`.`updated_at` as `product.tax.updatedAt`, `product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`, COALESCE(`product`.`cheapest_price`, `product.parent`.`cheapest_price`) as `product.cheapestPrice`, `product`.`created_at` as `product.createdAt`, `product`.`updated_at` as `product.updatedAt`, `product.unit`.`id` as `product.unit.id`, `product.unit`.`created_at` as `product.unit.createdAt`, `product.unit`.`updated_at` as `product.unit.updatedAt`, `product.unit.translation.shortCode`, COALESCE(`product.unit.translation.shortCode`,`product.unit.translation.shortCode`) as `product.unit.shortCode`, `product.unit.translation.name`, COALESCE(`product.unit.translation.name`,`product.unit.translation.name`) as `product.unit.name`, `product.unit.translation.customFields`, COALESCE(`product.unit.translation.customFields`,`product.unit.translation.customFields`) as `product.unit.customFields`, `product.unit.translation.createdAt`, `product.unit.translation.updatedAt`, `product.unit.translation.unitId`, `product.unit.translation.languageId`, `product.deliveryTime`.`id` as `product.deliveryTime.id`, `product.deliveryTime`.`min` as `product.deliveryTime.min`, `product.deliveryTime`.`max` as `product.deliveryTime.max`, `product.deliveryTime`.`unit` as `product.deliveryTime.unit`, `product.deliveryTime`.`created_at` as `product.deliveryTime.createdAt`, `product.deliveryTime`.`updated_at` as `product.deliveryTime.updatedAt`, `product.deliveryTime.translation.name`, COALESCE(`product.deliveryTime.translation.name`,`product.deliveryTime.translation.name`) as `product.deliveryTime.name`, `product.deliveryTime.translation.customFields`, COALESCE(`product.deliveryTime.translation.customFields`,`product.deliveryTime.translation.customFields`) as `product.deliveryTime.customFields`, `product.deliveryTime.translation.createdAt`, `product.deliveryTime.translation.updatedAt`, `product.deliveryTime.translation.deliveryTimeId`, `product.deliveryTime.translation.languageId`, `product.cover`.`id` as `product.cover.id`, `product.cover`.`version_id` as `product.cover.versionId`, `product.cover`.`product_id` as `product.cover.productId`, `product.cover`.`product_version_id` as `product.cover.productVersionId`, `product.cover`.`media_id` as `product.cover.mediaId`, `product.cover`.`position` as `product.cover.position`, `product.cover.media`.`id` as `product.cover.media.id`, `product.cover.media`.`user_id` as `product.cover.media.userId`, `product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`, `product.cover.media`.`mime_type` as `product.cover.media.mimeType`, `product.cover.media`.`file_extension` as `product.cover.media.fileExtension`, `product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`, `product.cover.media`.`file_name` as `product.cover.media.fileName`, `product.cover.media`.`file_size` as `product.cover.media.fileSize`, `product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`, `product.cover.media`.`meta_data` as `product.cover.media.metaData`, `product.cover.media`.`private` as `product.cover.media.private`, `product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`, `product.cover.media`.`created_at` as `product.cover.media.createdAt`, `product.cover.media`.`updated_at` as `product.cover.media.updatedAt`, `product.cover.media.translation.title`, COALESCE(`product.cover.media.translation.title`,`product.cover.media.translation.title`) as `product.cover.media.title`, `product.cover.media.translation.alt`, COALESCE(`product.cover.media.translation.alt`,`product.cover.media.translation.alt`) as `product.cover.media.alt`, `product.cover.media.translation.customFields`, COALESCE(`product.cover.media.translation.customFields`,`product.cover.media.translation.customFields`) as `product.cover.media.customFields`, `product.cover.media.translation.createdAt`, `product.cover.media.translation.updatedAt`, `product.cover.media.translation.mediaId`, `product.cover.media.translation.languageId`, `product.cover`.`custom_fields` as `product.cover.customFields`, `product.cover`.`created_at` as `product.cover.createdAt`, `product.cover`.`updated_at` as `product.cover.updatedAt`, `product.translation.metaDescription`, `product.parent.translation.metaDescription`, COALESCE(`product.translation.metaDescription`,`product.parent.translation.metaDescription`,`product.translation.metaDescription`) as `product.metaDescription`, `product.translation.name`, `product.parent.translation.name`, COALESCE(`product.translation.name`,`product.parent.translation.name`,`product.translation.name`) as `product.name`, `product.translation.keywords`, `product.parent.translation.keywords`, COALESCE(`product.translation.keywords`,`product.parent.translation.keywords`,`product.translation.keywords`) as `product.keywords`, `product.translation.description`, `product.parent.translation.description`, COALESCE(`product.translation.description`,`product.parent.translation.description`,`product.translation.description`) as `product.description`, `product.translation.metaTitle`, `product.parent.translation.metaTitle`, COALESCE(`product.translation.metaTitle`,`product.parent.translation.metaTitle`,`product.translation.metaTitle`) as `product.metaTitle`, `product.translation.packUnit`, `product.parent.translation.packUnit`, COALESCE(`product.translation.packUnit`,`product.parent.translation.packUnit`,`product.translation.packUnit`) as `product.packUnit`, `product.translation.packUnitPlural`, `product.parent.translation.packUnitPlural`, COALESCE(`product.translation.packUnitPlural`,`product.parent.translation.packUnitPlural`,`product.translation.packUnitPlural`) as `product.packUnitPlural`, `product.translation.customSearchKeywords`, `product.parent.translation.customSearchKeywords`, COALESCE(`product.translation.customSearchKeywords`,`product.parent.translation.customSearchKeywords`,`product.translation.customSearchKeywords`) as `product.customSearchKeywords`, `product.translation.slotConfig`, `product.parent.translation.slotConfig`, COALESCE(`product.translation.slotConfig`,`product.parent.translation.slotConfig`,`product.translation.slotConfig`) as `product.slotConfig`, `product.translation.customFields`, `product.parent.translation.customFields`, COALESCE(`product.translation.customFields`,`product.parent.translation.customFields`,`product.translation.customFields`) as `product.customFields`, `product.translation.createdAt`, `product.parent.translation.createdAt`, `product.translation.updatedAt`, `product.parent.translation.updatedAt`, `product.translation.productId`, `product.parent.translation.productId`, `product.translation.languageId`, `product.parent.translation.languageId`, `product.translation.productVersionId`, `product.parent.translation.productVersionId` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN (SELECT `product.translation`.product_id, `product.translation`.product_version_id, `product.translation`.meta_description as `product.translation.metaDescription`, `product.translation`.name as `product.translation.name`, `product.translation`.keywords as `product.translation.keywords`, `product.translation`.description as `product.translation.description`, `product.translation`.meta_title as `product.translation.metaTitle`, `product.translation`.pack_unit as `product.translation.packUnit`, `product.translation`.pack_unit_plural as `product.translation.packUnitPlural`, `product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`, `product.translation`.slot_config as `product.translation.slotConfig`, `product.translation`.custom_fields as `product.translation.customFields`, `product.translation`.created_at as `product.translation.createdAt`, `product.translation`.updated_at as `product.translation.updatedAt`, `product.translation`.product_id as `product.translation.productId`, `product.translation`.language_id as `product.translation.languageId`, `product.translation`.product_version_id as `product.translation.productVersionId` FROM `product_translation` `product.translation` WHERE `product.translation`.language_id = :languageId) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id` AND `product.product_translation`.product_version_id = `product`.version_id LEFT JOIN (SELECT `product.parent.translation`.product_id, `product.parent.translation`.product_version_id, `product.parent.translation`.meta_description as `product.parent.translation.metaDescription`, `product.parent.translation`.name as `product.parent.translation.name`, `product.parent.translation`.keywords as `product.parent.translation.keywords`, `product.parent.translation`.description as `product.parent.translation.description`, `product.parent.translation`.meta_title as `product.parent.translation.metaTitle`, `product.parent.translation`.pack_unit as `product.parent.translation.packUnit`, `product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`, `product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`, `product.parent.translation`.slot_config as `product.parent.translation.slotConfig`, `product.parent.translation`.custom_fields as `product.parent.translation.customFields`, `product.parent.translation`.created_at as `product.parent.translation.createdAt`, `product.parent.translation`.updated_at as `product.parent.translation.updatedAt`, `product.parent.translation`.product_id as `product.parent.translation.productId`, `product.parent.translation`.language_id as `product.parent.translation.languageId`, `product.parent.translation`.product_version_id as `product.parent.translation.productVersionId` FROM `product_translation` `product.parent.translation` WHERE `product.parent.translation`.language_id = :languageId) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id` AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id` LEFT JOIN `unit` `product.unit` ON `product`.`unit` = `product.unit`.`id` LEFT JOIN `delivery_time` `product.deliveryTime` ON `product`.`deliveryTime` = `product.deliveryTime`.`id` LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id` AND `product`.`version_id` = `product.cover`.`version_id` LEFT JOIN (SELECT `product.unit.translation`.unit_id, `product.unit.translation`.short_code as `product.unit.translation.shortCode`, `product.unit.translation`.name as `product.unit.translation.name`, `product.unit.translation`.custom_fields as `product.unit.translation.customFields`, `product.unit.translation`.created_at as `product.unit.translation.createdAt`, `product.unit.translation`.updated_at as `product.unit.translation.updatedAt`, `product.unit.translation`.unit_id as `product.unit.translation.unitId`, `product.unit.translation`.language_id as `product.unit.translation.languageId` FROM `unit_translation` `product.unit.translation` WHERE `product.unit.translation`.language_id = :languageId) `product.unit.unit_translation` ON `product.unit.unit_translation`.`unit_id` = `product.unit`.`id` LEFT JOIN (SELECT `product.deliveryTime.translation`.delivery_time_id, `product.deliveryTime.translation`.name as `product.deliveryTime.translation.name`, `product.deliveryTime.translation`.custom_fields as `product.deliveryTime.translation.customFields`, `product.deliveryTime.translation`.created_at as `product.deliveryTime.translation.createdAt`, `product.deliveryTime.translation`.updated_at as `product.deliveryTime.translation.updatedAt`, `product.deliveryTime.translation`.delivery_time_id as `product.deliveryTime.translation.deliveryTimeId`, `product.deliveryTime.translation`.language_id as `product.deliveryTime.translation.languageId` FROM `delivery_time_translation` `product.deliveryTime.translation` WHERE `product.deliveryTime.translation`.language_id = :languageId) `product.deliveryTime.delivery_time_translation` ON `product.deliveryTime.delivery_time_translation`.`delivery_time_id` = `product.deliveryTime`.`id` LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id` LEFT JOIN (SELECT `product.cover.media.translation`.media_id, `product.cover.media.translation`.title as `product.cover.media.translation.title`, `product.cover.media.translation`.alt as `product.cover.media.translation.alt`, `product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`, `product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`, `product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`, `product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`, `product.cover.media.translation`.language_id as `product.cover.media.translation.languageId` FROM `media_translation` `product.cover.media.translation` WHERE `product.cover.media.translation`.language_id = :languageId) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id` WHERE (`product`.`version_id` = :version) AND (`product`.`id` IN (:ids))
SELECT
`product`.`id` as `product.id`,
`product`.`version_id` as `product.versionId`,
`product`.`parent_id` as `product.parentId`,
`product`.`parent_version_id` as `product.parentVersionId`,
COALESCE(
`product`.`product_manufacturer_id`,
`product.parent`.`product_manufacturer_id`
) as `product.manufacturerId`,
COALESCE(
`product`.`product_manufacturer_version_id`,
`product.parent`.`product_manufacturer_version_id`
) as `product.productManufacturerVersionId`,
COALESCE(
`product`.`unit_id`, `product.parent`.`unit_id`
) as `product.unitId`,
COALESCE(
`product`.`tax_id`, `product.parent`.`tax_id`
) as `product.taxId`,
COALESCE(
`product`.`product_media_id`, `product.parent`.`product_media_id`
) as `product.coverId`,
COALESCE(
`product`.`product_media_version_id`,
`product.parent`.`product_media_version_id`
) as `product.productMediaVersionId`,
COALESCE(
`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`
) as `product.deliveryTimeId`,
COALESCE(
`product`.`product_feature_set_id`,
`product.parent`.`product_feature_set_id`
) as `product.featureSetId`,
COALESCE(
`product`.`canonical_product_id`,
`product.parent`.`canonical_product_id`
) as `product.canonicalProductId`,
COALESCE(
`product`.`cms_page_id`, `product.parent`.`cms_page_id`
) as `product.cmsPageId`,
COALESCE(
`product`.`cms_page_version_id`,
`product.parent`.`cms_page_version_id`
) as `product.cmsPageVersionId`,
`product.parent`.`price` as `product.price.inherited`,
COALESCE(
`product`.`price`, `product.parent`.`price`
) as `product.price`,
`product`.`product_number` as `product.productNumber`,
`product`.`stock` as `product.stock`,
COALESCE(
`product`.`restock_time`, `product.parent`.`restock_time`
) as `product.restockTime`,
`product`.`auto_increment` as `product.autoIncrement`,
COALESCE(
`product`.`active`, `product.parent`.`active`
) as `product.active`,
`product`.`available_stock` as `product.availableStock`,
`product`.`available` as `product.available`,
COALESCE(
`product`.`is_closeout`, `product.parent`.`is_closeout`
) as `product.isCloseout`,
`product`.`display_group` as `product.displayGroup`,
`product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`,
COALESCE(
`product`.`configurator_group_config`,
`product.parent`.`configurator_group_config`
) as `product.configuratorGroupConfig`,
COALESCE(
`product`.`main_variant_id`, `product.parent`.`main_variant_id`
) as `product.mainVariantId`,
COALESCE(
`product`.`display_parent`, `product.parent`.`display_parent`
) as `product.displayParent`,
`product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`,
COALESCE(
`product`.`variant_listing_config`,
`product.parent`.`variant_listing_config`
) as `product.variantListingConfig`,
`product`.`variant_restrictions` as `product.variantRestrictions`,
COALESCE(
`product`.`manufacturer_number`,
`product.parent`.`manufacturer_number`
) as `product.manufacturerNumber`,
COALESCE(
`product`.`ean`, `product.parent`.`ean`
) as `product.ean`,
COALESCE(
`product`.`purchase_steps`, `product.parent`.`purchase_steps`
) as `product.purchaseSteps`,
COALESCE(
`product`.`max_purchase`, `product.parent`.`max_purchase`
) as `product.maxPurchase`,
COALESCE(
`product`.`min_purchase`, `product.parent`.`min_purchase`
) as `product.minPurchase`,
COALESCE(
`product`.`purchase_unit`, `product.parent`.`purchase_unit`
) as `product.purchaseUnit`,
COALESCE(
`product`.`reference_unit`, `product.parent`.`reference_unit`
) as `product.referenceUnit`,
COALESCE(
`product`.`shipping_free`, `product.parent`.`shipping_free`
) as `product.shippingFree`,
`product.parent`.`purchase_prices` as `product.purchasePrices.inherited`,
COALESCE(
`product`.`purchase_prices`, `product.parent`.`purchase_prices`
) as `product.purchasePrices`,
COALESCE(
`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`
) as `product.markAsTopseller`,
COALESCE(
`product`.`weight`, `product.parent`.`weight`
) as `product.weight`,
COALESCE(
`product`.`width`, `product.parent`.`width`
) as `product.width`,
COALESCE(
`product`.`height`, `product.parent`.`height`
) as `product.height`,
COALESCE(
`product`.`length`, `product.parent`.`length`
) as `product.length`,
COALESCE(
`product`.`release_date`, `product.parent`.`release_date`
) as `product.releaseDate`,
COALESCE(
`product`.`rating_average`, `product.parent`.`rating_average`
) as `product.ratingAverage`,
`product.parent`.`category_tree` as `product.categoryTree.inherited`,
COALESCE(
`product`.`category_tree`, `product.parent`.`category_tree`
) as `product.categoryTree`,
`product.parent`.`property_ids` as `product.propertyIds.inherited`,
COALESCE(
`product`.`property_ids`, `product.parent`.`property_ids`
) as `product.propertyIds`,
`product.parent`.`option_ids` as `product.optionIds.inherited`,
COALESCE(
`product`.`option_ids`, `product.parent`.`option_ids`
) as `product.optionIds`,
`product.parent`.`stream_ids` as `product.streamIds.inherited`,
COALESCE(
`product`.`stream_ids`, `product.parent`.`stream_ids`
) as `product.streamIds`,
`product.parent`.`tag_ids` as `product.tagIds.inherited`,
COALESCE(
`product`.`tag_ids`, `product.parent`.`tag_ids`
) as `product.tagIds`,
`product.parent`.`category_ids` as `product.categoryIds.inherited`,
COALESCE(
`product`.`category_ids`, `product.parent`.`category_ids`
) as `product.categoryIds`,
`product`.`child_count` as `product.childCount`,
COALESCE(
`product`.`custom_field_set_selection_active`,
`product.parent`.`custom_field_set_selection_active`
) as `product.customFieldSetSelectionActive`,
`product`.`sales` as `product.sales`,
`product`.`states` as `product.states`,
`product.tax`.`id` as `product.tax.id`,
`product.tax`.`tax_rate` as `product.tax.taxRate`,
`product.tax`.`name` as `product.tax.name`,
`product.tax`.`position` as `product.tax.position`,
`product.tax`.`custom_fields` as `product.tax.customFields`,
`product.tax`.`created_at` as `product.tax.createdAt`,
`product.tax`.`updated_at` as `product.tax.updatedAt`,
`product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`,
COALESCE(
`product`.`cheapest_price`, `product.parent`.`cheapest_price`
) as `product.cheapestPrice`,
`product`.`created_at` as `product.createdAt`,
`product`.`updated_at` as `product.updatedAt`,
`product.unit`.`id` as `product.unit.id`,
`product.unit`.`created_at` as `product.unit.createdAt`,
`product.unit`.`updated_at` as `product.unit.updatedAt`,
`product.unit.translation.shortCode`,
COALESCE(
`product.unit.translation.shortCode`,
`product.unit.translation.shortCode`
) as `product.unit.shortCode`,
`product.unit.translation.name`,
COALESCE(
`product.unit.translation.name`,
`product.unit.translation.name`
) as `product.unit.name`,
`product.unit.translation.customFields`,
COALESCE(
`product.unit.translation.customFields`,
`product.unit.translation.customFields`
) as `product.unit.customFields`,
`product.unit.translation.createdAt`,
`product.unit.translation.updatedAt`,
`product.unit.translation.unitId`,
`product.unit.translation.languageId`,
`product.deliveryTime`.`id` as `product.deliveryTime.id`,
`product.deliveryTime`.`min` as `product.deliveryTime.min`,
`product.deliveryTime`.`max` as `product.deliveryTime.max`,
`product.deliveryTime`.`unit` as `product.deliveryTime.unit`,
`product.deliveryTime`.`created_at` as `product.deliveryTime.createdAt`,
`product.deliveryTime`.`updated_at` as `product.deliveryTime.updatedAt`,
`product.deliveryTime.translation.name`,
COALESCE(
`product.deliveryTime.translation.name`,
`product.deliveryTime.translation.name`
) as `product.deliveryTime.name`,
`product.deliveryTime.translation.customFields`,
COALESCE(
`product.deliveryTime.translation.customFields`,
`product.deliveryTime.translation.customFields`
) as `product.deliveryTime.customFields`,
`product.deliveryTime.translation.createdAt`,
`product.deliveryTime.translation.updatedAt`,
`product.deliveryTime.translation.deliveryTimeId`,
`product.deliveryTime.translation.languageId`,
`product.cover`.`id` as `product.cover.id`,
`product.cover`.`version_id` as `product.cover.versionId`,
`product.cover`.`product_id` as `product.cover.productId`,
`product.cover`.`product_version_id` as `product.cover.productVersionId`,
`product.cover`.`media_id` as `product.cover.mediaId`,
`product.cover`.`position` as `product.cover.position`,
`product.cover.media`.`id` as `product.cover.media.id`,
`product.cover.media`.`user_id` as `product.cover.media.userId`,
`product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`,
`product.cover.media`.`mime_type` as `product.cover.media.mimeType`,
`product.cover.media`.`file_extension` as `product.cover.media.fileExtension`,
`product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`,
`product.cover.media`.`file_name` as `product.cover.media.fileName`,
`product.cover.media`.`file_size` as `product.cover.media.fileSize`,
`product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`,
`product.cover.media`.`meta_data` as `product.cover.media.metaData`,
`product.cover.media`.`private` as `product.cover.media.private`,
`product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`,
`product.cover.media`.`created_at` as `product.cover.media.createdAt`,
`product.cover.media`.`updated_at` as `product.cover.media.updatedAt`,
`product.cover.media.translation.title`,
COALESCE(
`product.cover.media.translation.title`,
`product.cover.media.translation.title`
) as `product.cover.media.title`,
`product.cover.media.translation.alt`,
COALESCE(
`product.cover.media.translation.alt`,
`product.cover.media.translation.alt`
) as `product.cover.media.alt`,
`product.cover.media.translation.customFields`,
COALESCE(
`product.cover.media.translation.customFields`,
`product.cover.media.translation.customFields`
) as `product.cover.media.customFields`,
`product.cover.media.translation.createdAt`,
`product.cover.media.translation.updatedAt`,
`product.cover.media.translation.mediaId`,
`product.cover.media.translation.languageId`,
`product.cover`.`custom_fields` as `product.cover.customFields`,
`product.cover`.`created_at` as `product.cover.createdAt`,
`product.cover`.`updated_at` as `product.cover.updatedAt`,
`product.translation.metaDescription`,
`product.parent.translation.metaDescription`,
COALESCE(
`product.translation.metaDescription`,
`product.parent.translation.metaDescription`,
`product.translation.metaDescription`
) as `product.metaDescription`,
`product.translation.name`,
`product.parent.translation.name`,
COALESCE(
`product.translation.name`, `product.parent.translation.name`,
`product.translation.name`
) as `product.name`,
`product.translation.keywords`,
`product.parent.translation.keywords`,
COALESCE(
`product.translation.keywords`,
`product.parent.translation.keywords`,
`product.translation.keywords`
) as `product.keywords`,
`product.translation.description`,
`product.parent.translation.description`,
COALESCE(
`product.translation.description`,
`product.parent.translation.description`,
`product.translation.description`
) as `product.description`,
`product.translation.metaTitle`,
`product.parent.translation.metaTitle`,
COALESCE(
`product.translation.metaTitle`,
`product.parent.translation.metaTitle`,
`product.translation.metaTitle`
) as `product.metaTitle`,
`product.translation.packUnit`,
`product.parent.translation.packUnit`,
COALESCE(
`product.translation.packUnit`,
`product.parent.translation.packUnit`,
`product.translation.packUnit`
) as `product.packUnit`,
`product.translation.packUnitPlural`,
`product.parent.translation.packUnitPlural`,
COALESCE(
`product.translation.packUnitPlural`,
`product.parent.translation.packUnitPlural`,
`product.translation.packUnitPlural`
) as `product.packUnitPlural`,
`product.translation.customSearchKeywords`,
`product.parent.translation.customSearchKeywords`,
COALESCE(
`product.translation.customSearchKeywords`,
`product.parent.translation.customSearchKeywords`,
`product.translation.customSearchKeywords`
) as `product.customSearchKeywords`,
`product.translation.slotConfig`,
`product.parent.translation.slotConfig`,
COALESCE(
`product.translation.slotConfig`,
`product.parent.translation.slotConfig`,
`product.translation.slotConfig`
) as `product.slotConfig`,
`product.translation.customFields`,
`product.parent.translation.customFields`,
COALESCE(
`product.translation.customFields`,
`product.parent.translation.customFields`,
`product.translation.customFields`
) as `product.customFields`,
`product.translation.createdAt`,
`product.parent.translation.createdAt`,
`product.translation.updatedAt`,
`product.parent.translation.updatedAt`,
`product.translation.productId`,
`product.parent.translation.productId`,
`product.translation.languageId`,
`product.parent.translation.languageId`,
`product.translation.productVersionId`,
`product.parent.translation.productVersionId`
FROM
`product`
LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id`
AND `product`.`version_id` = `product.parent`.`version_id`
LEFT JOIN (
SELECT
`product.translation`.product_id,
`product.translation`.product_version_id,
`product.translation`.meta_description as `product.translation.metaDescription`,
`product.translation`.name as `product.translation.name`,
`product.translation`.keywords as `product.translation.keywords`,
`product.translation`.description as `product.translation.description`,
`product.translation`.meta_title as `product.translation.metaTitle`,
`product.translation`.pack_unit as `product.translation.packUnit`,
`product.translation`.pack_unit_plural as `product.translation.packUnitPlural`,
`product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`,
`product.translation`.slot_config as `product.translation.slotConfig`,
`product.translation`.custom_fields as `product.translation.customFields`,
`product.translation`.created_at as `product.translation.createdAt`,
`product.translation`.updated_at as `product.translation.updatedAt`,
`product.translation`.product_id as `product.translation.productId`,
`product.translation`.language_id as `product.translation.languageId`,
`product.translation`.product_version_id as `product.translation.productVersionId`
FROM
`product_translation` `product.translation`
WHERE
`product.translation`.language_id = : languageId
) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id`
AND `product.product_translation`.product_version_id = `product`.version_id
LEFT JOIN (
SELECT
`product.parent.translation`.product_id,
`product.parent.translation`.product_version_id,
`product.parent.translation`.meta_description as `product.parent.translation.metaDescription`,
`product.parent.translation`.name as `product.parent.translation.name`,
`product.parent.translation`.keywords as `product.parent.translation.keywords`,
`product.parent.translation`.description as `product.parent.translation.description`,
`product.parent.translation`.meta_title as `product.parent.translation.metaTitle`,
`product.parent.translation`.pack_unit as `product.parent.translation.packUnit`,
`product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`,
`product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`,
`product.parent.translation`.slot_config as `product.parent.translation.slotConfig`,
`product.parent.translation`.custom_fields as `product.parent.translation.customFields`,
`product.parent.translation`.created_at as `product.parent.translation.createdAt`,
`product.parent.translation`.updated_at as `product.parent.translation.updatedAt`,
`product.parent.translation`.product_id as `product.parent.translation.productId`,
`product.parent.translation`.language_id as `product.parent.translation.languageId`,
`product.parent.translation`.product_version_id as `product.parent.translation.productVersionId`
FROM
`product_translation` `product.parent.translation`
WHERE
`product.parent.translation`.language_id = : languageId
) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id`
AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id
LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id`
LEFT JOIN `unit` `product.unit` ON `product`.`unit` = `product.unit`.`id`
LEFT JOIN `delivery_time` `product.deliveryTime` ON `product`.`deliveryTime` = `product.deliveryTime`.`id`
LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id`
AND `product`.`version_id` = `product.cover`.`version_id`
LEFT JOIN (
SELECT
`product.unit.translation`.unit_id,
`product.unit.translation`.short_code as `product.unit.translation.shortCode`,
`product.unit.translation`.name as `product.unit.translation.name`,
`product.unit.translation`.custom_fields as `product.unit.translation.customFields`,
`product.unit.translation`.created_at as `product.unit.translation.createdAt`,
`product.unit.translation`.updated_at as `product.unit.translation.updatedAt`,
`product.unit.translation`.unit_id as `product.unit.translation.unitId`,
`product.unit.translation`.language_id as `product.unit.translation.languageId`
FROM
`unit_translation` `product.unit.translation`
WHERE
`product.unit.translation`.language_id = : languageId
) `product.unit.unit_translation` ON `product.unit.unit_translation`.`unit_id` = `product.unit`.`id`
LEFT JOIN (
SELECT
`product.deliveryTime.translation`.delivery_time_id,
`product.deliveryTime.translation`.name as `product.deliveryTime.translation.name`,
`product.deliveryTime.translation`.custom_fields as `product.deliveryTime.translation.customFields`,
`product.deliveryTime.translation`.created_at as `product.deliveryTime.translation.createdAt`,
`product.deliveryTime.translation`.updated_at as `product.deliveryTime.translation.updatedAt`,
`product.deliveryTime.translation`.delivery_time_id as `product.deliveryTime.translation.deliveryTimeId`,
`product.deliveryTime.translation`.language_id as `product.deliveryTime.translation.languageId`
FROM
`delivery_time_translation` `product.deliveryTime.translation`
WHERE
`product.deliveryTime.translation`.language_id = : languageId
) `product.deliveryTime.delivery_time_translation` ON `product.deliveryTime.delivery_time_translation`.`delivery_time_id` = `product.deliveryTime`.`id`
LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id`
LEFT JOIN (
SELECT
`product.cover.media.translation`.media_id,
`product.cover.media.translation`.title as `product.cover.media.translation.title`,
`product.cover.media.translation`.alt as `product.cover.media.translation.alt`,
`product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`,
`product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`,
`product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`,
`product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`,
`product.cover.media.translation`.language_id as `product.cover.media.translation.languageId`
FROM
`media_translation` `product.cover.media.translation`
WHERE
`product.cover.media.translation`.language_id = : languageId
) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id`
WHERE
(
`product`.`version_id` = : version
)
AND (
`product`.`id` IN (: ids)
)
SELECT `product`.`id` as `product.id`, `product`.`version_id` as `product.versionId`, `product`.`parent_id` as `product.parentId`, `product`.`parent_version_id` as `product.parentVersionId`, COALESCE(`product`.`product_manufacturer_id`, `product.parent`.`product_manufacturer_id`) as `product.manufacturerId`, COALESCE(`product`.`product_manufacturer_version_id`, `product.parent`.`product_manufacturer_version_id`) as `product.productManufacturerVersionId`, COALESCE(`product`.`unit_id`, `product.parent`.`unit_id`) as `product.unitId`, COALESCE(`product`.`tax_id`, `product.parent`.`tax_id`) as `product.taxId`, COALESCE(`product`.`product_media_id`, `product.parent`.`product_media_id`) as `product.coverId`, COALESCE(`product`.`product_media_version_id`, `product.parent`.`product_media_version_id`) as `product.productMediaVersionId`, COALESCE(`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`) as `product.deliveryTimeId`, COALESCE(`product`.`product_feature_set_id`, `product.parent`.`product_feature_set_id`) as `product.featureSetId`, COALESCE(`product`.`canonical_product_id`, `product.parent`.`canonical_product_id`) as `product.canonicalProductId`, COALESCE(`product`.`cms_page_id`, `product.parent`.`cms_page_id`) as `product.cmsPageId`, COALESCE(`product`.`cms_page_version_id`, `product.parent`.`cms_page_version_id`) as `product.cmsPageVersionId`, `product.parent`.`price` as `product.price.inherited`, COALESCE(`product`.`price`, `product.parent`.`price`) as `product.price`, `product`.`product_number` as `product.productNumber`, `product`.`stock` as `product.stock`, COALESCE(`product`.`restock_time`, `product.parent`.`restock_time`) as `product.restockTime`, `product`.`auto_increment` as `product.autoIncrement`, COALESCE(`product`.`active`, `product.parent`.`active`) as `product.active`, `product`.`available_stock` as `product.availableStock`, `product`.`available` as `product.available`, COALESCE(`product`.`is_closeout`, `product.parent`.`is_closeout`) as `product.isCloseout`, `product`.`display_group` as `product.displayGroup`, `product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`, COALESCE(`product`.`configurator_group_config`, `product.parent`.`configurator_group_config`) as `product.configuratorGroupConfig`, COALESCE(`product`.`main_variant_id`, `product.parent`.`main_variant_id`) as `product.mainVariantId`, COALESCE(`product`.`display_parent`, `product.parent`.`display_parent`) as `product.displayParent`, `product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`, COALESCE(`product`.`variant_listing_config`, `product.parent`.`variant_listing_config`) as `product.variantListingConfig`, `product`.`variant_restrictions` as `product.variantRestrictions`, COALESCE(`product`.`manufacturer_number`, `product.parent`.`manufacturer_number`) as `product.manufacturerNumber`, COALESCE(`product`.`ean`, `product.parent`.`ean`) as `product.ean`, COALESCE(`product`.`purchase_steps`, `product.parent`.`purchase_steps`) as `product.purchaseSteps`, COALESCE(`product`.`max_purchase`, `product.parent`.`max_purchase`) as `product.maxPurchase`, COALESCE(`product`.`min_purchase`, `product.parent`.`min_purchase`) as `product.minPurchase`, COALESCE(`product`.`purchase_unit`, `product.parent`.`purchase_unit`) as `product.purchaseUnit`, COALESCE(`product`.`reference_unit`, `product.parent`.`reference_unit`) as `product.referenceUnit`, COALESCE(`product`.`shipping_free`, `product.parent`.`shipping_free`) as `product.shippingFree`, `product.parent`.`purchase_prices` as `product.purchasePrices.inherited`, COALESCE(`product`.`purchase_prices`, `product.parent`.`purchase_prices`) as `product.purchasePrices`, COALESCE(`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`) as `product.markAsTopseller`, COALESCE(`product`.`weight`, `product.parent`.`weight`) as `product.weight`, COALESCE(`product`.`width`, `product.parent`.`width`) as `product.width`, COALESCE(`product`.`height`, `product.parent`.`height`) as `product.height`, COALESCE(`product`.`length`, `product.parent`.`length`) as `product.length`, COALESCE(`product`.`release_date`, `product.parent`.`release_date`) as `product.releaseDate`, COALESCE(`product`.`rating_average`, `product.parent`.`rating_average`) as `product.ratingAverage`, `product.parent`.`category_tree` as `product.categoryTree.inherited`, COALESCE(`product`.`category_tree`, `product.parent`.`category_tree`) as `product.categoryTree`, `product.parent`.`property_ids` as `product.propertyIds.inherited`, COALESCE(`product`.`property_ids`, `product.parent`.`property_ids`) as `product.propertyIds`, `product.parent`.`option_ids` as `product.optionIds.inherited`, COALESCE(`product`.`option_ids`, `product.parent`.`option_ids`) as `product.optionIds`, `product.parent`.`stream_ids` as `product.streamIds.inherited`, COALESCE(`product`.`stream_ids`, `product.parent`.`stream_ids`) as `product.streamIds`, `product.parent`.`tag_ids` as `product.tagIds.inherited`, COALESCE(`product`.`tag_ids`, `product.parent`.`tag_ids`) as `product.tagIds`, `product.parent`.`category_ids` as `product.categoryIds.inherited`, COALESCE(`product`.`category_ids`, `product.parent`.`category_ids`) as `product.categoryIds`, `product`.`child_count` as `product.childCount`, COALESCE(`product`.`custom_field_set_selection_active`, `product.parent`.`custom_field_set_selection_active`) as `product.customFieldSetSelectionActive`, `product`.`sales` as `product.sales`, `product`.`states` as `product.states`, `product.tax`.`id` as `product.tax.id`, `product.tax`.`tax_rate` as `product.tax.taxRate`, `product.tax`.`name` as `product.tax.name`, `product.tax`.`position` as `product.tax.position`, `product.tax`.`custom_fields` as `product.tax.customFields`, `product.tax`.`created_at` as `product.tax.createdAt`, `product.tax`.`updated_at` as `product.tax.updatedAt`, `product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`, COALESCE(`product`.`cheapest_price`, `product.parent`.`cheapest_price`) as `product.cheapestPrice`, `product`.`created_at` as `product.createdAt`, `product`.`updated_at` as `product.updatedAt`, `product.unit`.`id` as `product.unit.id`, `product.unit`.`created_at` as `product.unit.createdAt`, `product.unit`.`updated_at` as `product.unit.updatedAt`, `product.unit.translation.shortCode`, COALESCE(`product.unit.translation.shortCode`,`product.unit.translation.shortCode`) as `product.unit.shortCode`, `product.unit.translation.name`, COALESCE(`product.unit.translation.name`,`product.unit.translation.name`) as `product.unit.name`, `product.unit.translation.customFields`, COALESCE(`product.unit.translation.customFields`,`product.unit.translation.customFields`) as `product.unit.customFields`, `product.unit.translation.createdAt`, `product.unit.translation.updatedAt`, `product.unit.translation.unitId`, `product.unit.translation.languageId`, `product.deliveryTime`.`id` as `product.deliveryTime.id`, `product.deliveryTime`.`min` as `product.deliveryTime.min`, `product.deliveryTime`.`max` as `product.deliveryTime.max`, `product.deliveryTime`.`unit` as `product.deliveryTime.unit`, `product.deliveryTime`.`created_at` as `product.deliveryTime.createdAt`, `product.deliveryTime`.`updated_at` as `product.deliveryTime.updatedAt`, `product.deliveryTime.translation.name`, COALESCE(`product.deliveryTime.translation.name`,`product.deliveryTime.translation.name`) as `product.deliveryTime.name`, `product.deliveryTime.translation.customFields`, COALESCE(`product.deliveryTime.translation.customFields`,`product.deliveryTime.translation.customFields`) as `product.deliveryTime.customFields`, `product.deliveryTime.translation.createdAt`, `product.deliveryTime.translation.updatedAt`, `product.deliveryTime.translation.deliveryTimeId`, `product.deliveryTime.translation.languageId`, `product.cover`.`id` as `product.cover.id`, `product.cover`.`version_id` as `product.cover.versionId`, `product.cover`.`product_id` as `product.cover.productId`, `product.cover`.`product_version_id` as `product.cover.productVersionId`, `product.cover`.`media_id` as `product.cover.mediaId`, `product.cover`.`position` as `product.cover.position`, `product.cover.media`.`id` as `product.cover.media.id`, `product.cover.media`.`user_id` as `product.cover.media.userId`, `product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`, `product.cover.media`.`mime_type` as `product.cover.media.mimeType`, `product.cover.media`.`file_extension` as `product.cover.media.fileExtension`, `product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`, `product.cover.media`.`file_name` as `product.cover.media.fileName`, `product.cover.media`.`file_size` as `product.cover.media.fileSize`, `product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`, `product.cover.media`.`meta_data` as `product.cover.media.metaData`, `product.cover.media`.`private` as `product.cover.media.private`, `product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`, `product.cover.media`.`created_at` as `product.cover.media.createdAt`, `product.cover.media`.`updated_at` as `product.cover.media.updatedAt`, `product.cover.media.translation.title`, COALESCE(`product.cover.media.translation.title`,`product.cover.media.translation.title`) as `product.cover.media.title`, `product.cover.media.translation.alt`, COALESCE(`product.cover.media.translation.alt`,`product.cover.media.translation.alt`) as `product.cover.media.alt`, `product.cover.media.translation.customFields`, COALESCE(`product.cover.media.translation.customFields`,`product.cover.media.translation.customFields`) as `product.cover.media.customFields`, `product.cover.media.translation.createdAt`, `product.cover.media.translation.updatedAt`, `product.cover.media.translation.mediaId`, `product.cover.media.translation.languageId`, `product.cover`.`custom_fields` as `product.cover.customFields`, `product.cover`.`created_at` as `product.cover.createdAt`, `product.cover`.`updated_at` as `product.cover.updatedAt`, `product.translation.metaDescription`, `product.parent.translation.metaDescription`, COALESCE(`product.translation.metaDescription`,`product.parent.translation.metaDescription`,`product.translation.metaDescription`) as `product.metaDescription`, `product.translation.name`, `product.parent.translation.name`, COALESCE(`product.translation.name`,`product.parent.translation.name`,`product.translation.name`) as `product.name`, `product.translation.keywords`, `product.parent.translation.keywords`, COALESCE(`product.translation.keywords`,`product.parent.translation.keywords`,`product.translation.keywords`) as `product.keywords`, `product.translation.description`, `product.parent.translation.description`, COALESCE(`product.translation.description`,`product.parent.translation.description`,`product.translation.description`) as `product.description`, `product.translation.metaTitle`, `product.parent.translation.metaTitle`, COALESCE(`product.translation.metaTitle`,`product.parent.translation.metaTitle`,`product.translation.metaTitle`) as `product.metaTitle`, `product.translation.packUnit`, `product.parent.translation.packUnit`, COALESCE(`product.translation.packUnit`,`product.parent.translation.packUnit`,`product.translation.packUnit`) as `product.packUnit`, `product.translation.packUnitPlural`, `product.parent.translation.packUnitPlural`, COALESCE(`product.translation.packUnitPlural`,`product.parent.translation.packUnitPlural`,`product.translation.packUnitPlural`) as `product.packUnitPlural`, `product.translation.customSearchKeywords`, `product.parent.translation.customSearchKeywords`, COALESCE(`product.translation.customSearchKeywords`,`product.parent.translation.customSearchKeywords`,`product.translation.customSearchKeywords`) as `product.customSearchKeywords`, `product.translation.slotConfig`, `product.parent.translation.slotConfig`, COALESCE(`product.translation.slotConfig`,`product.parent.translation.slotConfig`,`product.translation.slotConfig`) as `product.slotConfig`, `product.translation.customFields`, `product.parent.translation.customFields`, COALESCE(`product.translation.customFields`,`product.parent.translation.customFields`,`product.translation.customFields`) as `product.customFields`, `product.translation.createdAt`, `product.parent.translation.createdAt`, `product.translation.updatedAt`, `product.parent.translation.updatedAt`, `product.translation.productId`, `product.parent.translation.productId`, `product.translation.languageId`, `product.parent.translation.languageId`, `product.translation.productVersionId`, `product.parent.translation.productVersionId` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN (SELECT `product.translation`.product_id, `product.translation`.product_version_id, `product.translation`.meta_description as `product.translation.metaDescription`, `product.translation`.name as `product.translation.name`, `product.translation`.keywords as `product.translation.keywords`, `product.translation`.description as `product.translation.description`, `product.translation`.meta_title as `product.translation.metaTitle`, `product.translation`.pack_unit as `product.translation.packUnit`, `product.translation`.pack_unit_plural as `product.translation.packUnitPlural`, `product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`, `product.translation`.slot_config as `product.translation.slotConfig`, `product.translation`.custom_fields as `product.translation.customFields`, `product.translation`.created_at as `product.translation.createdAt`, `product.translation`.updated_at as `product.translation.updatedAt`, `product.translation`.product_id as `product.translation.productId`, `product.translation`.language_id as `product.translation.languageId`, `product.translation`.product_version_id as `product.translation.productVersionId` FROM `product_translation` `product.translation` WHERE `product.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id` AND `product.product_translation`.product_version_id = `product`.version_id LEFT JOIN (SELECT `product.parent.translation`.product_id, `product.parent.translation`.product_version_id, `product.parent.translation`.meta_description as `product.parent.translation.metaDescription`, `product.parent.translation`.name as `product.parent.translation.name`, `product.parent.translation`.keywords as `product.parent.translation.keywords`, `product.parent.translation`.description as `product.parent.translation.description`, `product.parent.translation`.meta_title as `product.parent.translation.metaTitle`, `product.parent.translation`.pack_unit as `product.parent.translation.packUnit`, `product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`, `product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`, `product.parent.translation`.slot_config as `product.parent.translation.slotConfig`, `product.parent.translation`.custom_fields as `product.parent.translation.customFields`, `product.parent.translation`.created_at as `product.parent.translation.createdAt`, `product.parent.translation`.updated_at as `product.parent.translation.updatedAt`, `product.parent.translation`.product_id as `product.parent.translation.productId`, `product.parent.translation`.language_id as `product.parent.translation.languageId`, `product.parent.translation`.product_version_id as `product.parent.translation.productVersionId` FROM `product_translation` `product.parent.translation` WHERE `product.parent.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id` AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id` LEFT JOIN `unit` `product.unit` ON `product`.`unit` = `product.unit`.`id` LEFT JOIN `delivery_time` `product.deliveryTime` ON `product`.`deliveryTime` = `product.deliveryTime`.`id` LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id` AND `product`.`version_id` = `product.cover`.`version_id` LEFT JOIN (SELECT `product.unit.translation`.unit_id, `product.unit.translation`.short_code as `product.unit.translation.shortCode`, `product.unit.translation`.name as `product.unit.translation.name`, `product.unit.translation`.custom_fields as `product.unit.translation.customFields`, `product.unit.translation`.created_at as `product.unit.translation.createdAt`, `product.unit.translation`.updated_at as `product.unit.translation.updatedAt`, `product.unit.translation`.unit_id as `product.unit.translation.unitId`, `product.unit.translation`.language_id as `product.unit.translation.languageId` FROM `unit_translation` `product.unit.translation` WHERE `product.unit.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.unit.unit_translation` ON `product.unit.unit_translation`.`unit_id` = `product.unit`.`id` LEFT JOIN (SELECT `product.deliveryTime.translation`.delivery_time_id, `product.deliveryTime.translation`.name as `product.deliveryTime.translation.name`, `product.deliveryTime.translation`.custom_fields as `product.deliveryTime.translation.customFields`, `product.deliveryTime.translation`.created_at as `product.deliveryTime.translation.createdAt`, `product.deliveryTime.translation`.updated_at as `product.deliveryTime.translation.updatedAt`, `product.deliveryTime.translation`.delivery_time_id as `product.deliveryTime.translation.deliveryTimeId`, `product.deliveryTime.translation`.language_id as `product.deliveryTime.translation.languageId` FROM `delivery_time_translation` `product.deliveryTime.translation` WHERE `product.deliveryTime.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.deliveryTime.delivery_time_translation` ON `product.deliveryTime.delivery_time_translation`.`delivery_time_id` = `product.deliveryTime`.`id` LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id` LEFT JOIN (SELECT `product.cover.media.translation`.media_id, `product.cover.media.translation`.title as `product.cover.media.translation.title`, `product.cover.media.translation`.alt as `product.cover.media.translation.alt`, `product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`, `product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`, `product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`, `product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`, `product.cover.media.translation`.language_id as `product.cover.media.translation.languageId` FROM `media_translation` `product.cover.media.translation` WHERE `product.cover.media.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id` WHERE (`product`.`version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425) AND (`product`.`id` IN (0x980954B8643642CE92D9D54FCD0DEDB5));
array:37 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 242)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 316)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetch (line 148)"
4 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 93)"
5 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::read (line 195)"
6 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::read (line 133)"
7 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 36)"
8 => "Swag\PayPal\Util\Compatibility\SalesChannelRepositoryDecorator::search (line 207)"
9 => "Tds\MerwareDiscounts\Cart\Checkout\OverwrittenPriceCollector::getSalesChannelProduct (line 93)"
10 => "Tds\MerwareDiscounts\Cart\Checkout\OverwrittenPriceCollector::collect (line 103)"
11 => "Shopware\Core\Checkout\Cart\Processor::runProcessors (line 67)"
12 => "Shopware\Core\Checkout\Cart\Processor::Shopware\Core\Checkout\Cart\{closure} (line 59)"
13 => "Shopware\Core\Profiling\Profiler::trace (line 86)"
14 => "Shopware\Core\Checkout\Cart\Processor::process (line 132)"
15 => "Shopware\Core\Checkout\Cart\CartRuleLoader::Shopware\Core\Checkout\Cart\{closure} (line 59)"
16 => "Shopware\Core\Profiling\Profiler::trace (line 183)"
17 => "Shopware\Core\Checkout\Cart\CartRuleLoader::load (line 83)"
18 => "Shopware\Core\Checkout\Cart\CartRuleLoader::loadByToken (line 106)"
19 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::Shopware\Core\System\SalesChannel\Context\{closure} (line 59)"
20 => "Shopware\Core\Profiling\Profiler::trace (line 111)"
21 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::get (line 105)"
22 => "Shopware\Core\Framework\Routing\SalesChannelRequestContextResolver::resolve (line 38)"
23 => "Shopware\Core\Framework\Routing\ContextResolverListener::resolveContext (line 118)"
24 => "Symfony\Component\EventDispatcher\Debug\WrappedListener::__invoke (line 230)"
25 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
26 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
27 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
28 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
29 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
30 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
31 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 151)"
32 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
33 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
34 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
35 => "Shopware\Core\HttpKernel::doHandle (line 81)"
36 => "Shopware\Core\HttpKernel::handle (line 85)"
]
|
99 |
0.72 ms |
SELECT `product_price`.`id` as `product_price.id`, `product_price`.`version_id` as `product_price.versionId`, `product_price`.`product_id` as `product_price.productId`, `product_price`.`product_version_id` as `product_price.productVersionId`, `product_price`.`rule_id` as `product_price.ruleId`, `product_price`.`price` as `product_price.price`, `product_price`.`quantity_start` as `product_price.quantityStart`, `product_price`.`quantity_end` as `product_price.quantityEnd`, `product_price`.`custom_fields` as `product_price.customFields`, `product_price`.`created_at` as `product_price.createdAt`, `product_price`.`updated_at` as `product_price.updatedAt` FROM `product_price` WHERE (`product_price`.`version_id` = :version) AND ((`product_price`.`product_id` IN (:param_6dbecdd0c93045b4ada8d86d37e58364)))
SELECT `product_price`.`id` as `product_price.id`, `product_price`.`version_id` as `product_price.versionId`, `product_price`.`product_id` as `product_price.productId`, `product_price`.`product_version_id` as `product_price.productVersionId`, `product_price`.`rule_id` as `product_price.ruleId`, `product_price`.`price` as `product_price.price`, `product_price`.`quantity_start` as `product_price.quantityStart`, `product_price`.`quantity_end` as `product_price.quantityEnd`, `product_price`.`custom_fields` as `product_price.customFields`, `product_price`.`created_at` as `product_price.createdAt`, `product_price`.`updated_at` as `product_price.updatedAt` FROM `product_price` WHERE (`product_price`.`version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425) AND ((`product_price`.`product_id` IN (0x980954B8643642CE92D9D54FCD0DEDB5, 0x92BE562BD2B04154BAB7B3FA8F14CA97)));
array:41 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 242)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 316)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetch (line 148)"
4 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 503)"
5 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::loadOneToManyWithoutPagination (line 438)"
6 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::loadOneToMany (line 1210)"
7 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetchAssociations (line 152)"
8 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 93)"
9 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::read (line 195)"
10 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::read (line 133)"
11 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 36)"
12 => "Swag\PayPal\Util\Compatibility\SalesChannelRepositoryDecorator::search (line 207)"
13 => "Tds\MerwareDiscounts\Cart\Checkout\OverwrittenPriceCollector::getSalesChannelProduct (line 93)"
14 => "Tds\MerwareDiscounts\Cart\Checkout\OverwrittenPriceCollector::collect (line 103)"
15 => "Shopware\Core\Checkout\Cart\Processor::runProcessors (line 67)"
16 => "Shopware\Core\Checkout\Cart\Processor::Shopware\Core\Checkout\Cart\{closure} (line 59)"
17 => "Shopware\Core\Profiling\Profiler::trace (line 86)"
18 => "Shopware\Core\Checkout\Cart\Processor::process (line 132)"
19 => "Shopware\Core\Checkout\Cart\CartRuleLoader::Shopware\Core\Checkout\Cart\{closure} (line 59)"
20 => "Shopware\Core\Profiling\Profiler::trace (line 183)"
21 => "Shopware\Core\Checkout\Cart\CartRuleLoader::load (line 83)"
22 => "Shopware\Core\Checkout\Cart\CartRuleLoader::loadByToken (line 106)"
23 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::Shopware\Core\System\SalesChannel\Context\{closure} (line 59)"
24 => "Shopware\Core\Profiling\Profiler::trace (line 111)"
25 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::get (line 105)"
26 => "Shopware\Core\Framework\Routing\SalesChannelRequestContextResolver::resolve (line 38)"
27 => "Shopware\Core\Framework\Routing\ContextResolverListener::resolveContext (line 118)"
28 => "Symfony\Component\EventDispatcher\Debug\WrappedListener::__invoke (line 230)"
29 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
30 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
31 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
32 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
33 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
34 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
35 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 151)"
36 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
37 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
38 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
39 => "Shopware\Core\HttpKernel::doHandle (line 81)"
40 => "Shopware\Core\HttpKernel::handle (line 85)"
]
|
100 |
0.46 ms |
SELECT `product`.`id`, `product`.`product_number`, `product`.`auto_increment` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN `product_visibility` `product.visibilities` ON `product`.`visibilities` = `product.visibilities`.`product_id` AND `product`.version_id = `product.visibilities`.product_version_id WHERE (`product`.`version_id` = :version) AND ((((`product.visibilities`.`visibility` >= :param_d1ba9cc580d6419f8d16d1b0a6fd7b46) AND `product.visibilities`.`sales_channel_id` = :param_81842ba37ac04b30b8be37dc333e930f AND IFNULL(`product`.`active`, `product.parent`.`active`) = :param_eca3d09d00824de1a041c531f7f4c0ec))) AND (`product`.`id` IN (:ids)) GROUP BY `product`.`id`
SELECT `product`.`id`, `product`.`product_number`, `product`.`auto_increment` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN `product_visibility` `product.visibilities` ON `product`.`visibilities` = `product.visibilities`.`product_id` AND `product`.version_id = `product.visibilities`.product_version_id WHERE (`product`.`version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425) AND ((((`product.visibilities`.`visibility` >= 10) AND `product.visibilities`.`sales_channel_id` = 0x4EB9108BE4654CC9B140D14DE85579E9 AND IFNULL(`product`.`active`, `product.parent`.`active`) = 1))) AND (`product`.`id` IN (0x4DFBD7B068CF4EAD85CEAEBA2A75D3FF)) GROUP BY `product`.`id`;
array:36 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 242)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 107)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntitySearcher::search (line 62)"
4 => "Shopware\Elasticsearch\Framework\DataAbstractionLayer\ElasticsearchEntitySearcher::search (line 216)"
5 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::doSearch (line 122)"
6 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 36)"
7 => "Swag\PayPal\Util\Compatibility\SalesChannelRepositoryDecorator::search (line 207)"
8 => "Tds\MerwareDiscounts\Cart\Checkout\OverwrittenPriceCollector::getSalesChannelProduct (line 93)"
9 => "Tds\MerwareDiscounts\Cart\Checkout\OverwrittenPriceCollector::collect (line 103)"
10 => "Shopware\Core\Checkout\Cart\Processor::runProcessors (line 67)"
11 => "Shopware\Core\Checkout\Cart\Processor::Shopware\Core\Checkout\Cart\{closure} (line 59)"
12 => "Shopware\Core\Profiling\Profiler::trace (line 86)"
13 => "Shopware\Core\Checkout\Cart\Processor::process (line 132)"
14 => "Shopware\Core\Checkout\Cart\CartRuleLoader::Shopware\Core\Checkout\Cart\{closure} (line 59)"
15 => "Shopware\Core\Profiling\Profiler::trace (line 183)"
16 => "Shopware\Core\Checkout\Cart\CartRuleLoader::load (line 83)"
17 => "Shopware\Core\Checkout\Cart\CartRuleLoader::loadByToken (line 106)"
18 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::Shopware\Core\System\SalesChannel\Context\{closure} (line 59)"
19 => "Shopware\Core\Profiling\Profiler::trace (line 111)"
20 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::get (line 105)"
21 => "Shopware\Core\Framework\Routing\SalesChannelRequestContextResolver::resolve (line 38)"
22 => "Shopware\Core\Framework\Routing\ContextResolverListener::resolveContext (line 118)"
23 => "Symfony\Component\EventDispatcher\Debug\WrappedListener::__invoke (line 230)"
24 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
25 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
26 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
27 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
28 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
29 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
30 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 151)"
31 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
32 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
33 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
34 => "Shopware\Core\HttpKernel::doHandle (line 81)"
35 => "Shopware\Core\HttpKernel::handle (line 85)"
]
|
101 |
14.55 ms |
SELECT `product`.`id` as `product.id`, `product`.`version_id` as `product.versionId`, `product`.`parent_id` as `product.parentId`, `product`.`parent_version_id` as `product.parentVersionId`, COALESCE(`product`.`product_manufacturer_id`, `product.parent`.`product_manufacturer_id`) as `product.manufacturerId`, COALESCE(`product`.`product_manufacturer_version_id`, `product.parent`.`product_manufacturer_version_id`) as `product.productManufacturerVersionId`, COALESCE(`product`.`unit_id`, `product.parent`.`unit_id`) as `product.unitId`, COALESCE(`product`.`tax_id`, `product.parent`.`tax_id`) as `product.taxId`, COALESCE(`product`.`product_media_id`, `product.parent`.`product_media_id`) as `product.coverId`, COALESCE(`product`.`product_media_version_id`, `product.parent`.`product_media_version_id`) as `product.productMediaVersionId`, COALESCE(`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`) as `product.deliveryTimeId`, COALESCE(`product`.`product_feature_set_id`, `product.parent`.`product_feature_set_id`) as `product.featureSetId`, COALESCE(`product`.`canonical_product_id`, `product.parent`.`canonical_product_id`) as `product.canonicalProductId`, COALESCE(`product`.`cms_page_id`, `product.parent`.`cms_page_id`) as `product.cmsPageId`, COALESCE(`product`.`cms_page_version_id`, `product.parent`.`cms_page_version_id`) as `product.cmsPageVersionId`, `product.parent`.`price` as `product.price.inherited`, COALESCE(`product`.`price`, `product.parent`.`price`) as `product.price`, `product`.`product_number` as `product.productNumber`, `product`.`stock` as `product.stock`, COALESCE(`product`.`restock_time`, `product.parent`.`restock_time`) as `product.restockTime`, `product`.`auto_increment` as `product.autoIncrement`, COALESCE(`product`.`active`, `product.parent`.`active`) as `product.active`, `product`.`available_stock` as `product.availableStock`, `product`.`available` as `product.available`, COALESCE(`product`.`is_closeout`, `product.parent`.`is_closeout`) as `product.isCloseout`, `product`.`display_group` as `product.displayGroup`, `product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`, COALESCE(`product`.`configurator_group_config`, `product.parent`.`configurator_group_config`) as `product.configuratorGroupConfig`, COALESCE(`product`.`main_variant_id`, `product.parent`.`main_variant_id`) as `product.mainVariantId`, COALESCE(`product`.`display_parent`, `product.parent`.`display_parent`) as `product.displayParent`, `product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`, COALESCE(`product`.`variant_listing_config`, `product.parent`.`variant_listing_config`) as `product.variantListingConfig`, `product`.`variant_restrictions` as `product.variantRestrictions`, COALESCE(`product`.`manufacturer_number`, `product.parent`.`manufacturer_number`) as `product.manufacturerNumber`, COALESCE(`product`.`ean`, `product.parent`.`ean`) as `product.ean`, COALESCE(`product`.`purchase_steps`, `product.parent`.`purchase_steps`) as `product.purchaseSteps`, COALESCE(`product`.`max_purchase`, `product.parent`.`max_purchase`) as `product.maxPurchase`, COALESCE(`product`.`min_purchase`, `product.parent`.`min_purchase`) as `product.minPurchase`, COALESCE(`product`.`purchase_unit`, `product.parent`.`purchase_unit`) as `product.purchaseUnit`, COALESCE(`product`.`reference_unit`, `product.parent`.`reference_unit`) as `product.referenceUnit`, COALESCE(`product`.`shipping_free`, `product.parent`.`shipping_free`) as `product.shippingFree`, `product.parent`.`purchase_prices` as `product.purchasePrices.inherited`, COALESCE(`product`.`purchase_prices`, `product.parent`.`purchase_prices`) as `product.purchasePrices`, COALESCE(`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`) as `product.markAsTopseller`, COALESCE(`product`.`weight`, `product.parent`.`weight`) as `product.weight`, COALESCE(`product`.`width`, `product.parent`.`width`) as `product.width`, COALESCE(`product`.`height`, `product.parent`.`height`) as `product.height`, COALESCE(`product`.`length`, `product.parent`.`length`) as `product.length`, COALESCE(`product`.`release_date`, `product.parent`.`release_date`) as `product.releaseDate`, COALESCE(`product`.`rating_average`, `product.parent`.`rating_average`) as `product.ratingAverage`, `product.parent`.`category_tree` as `product.categoryTree.inherited`, COALESCE(`product`.`category_tree`, `product.parent`.`category_tree`) as `product.categoryTree`, `product.parent`.`property_ids` as `product.propertyIds.inherited`, COALESCE(`product`.`property_ids`, `product.parent`.`property_ids`) as `product.propertyIds`, `product.parent`.`option_ids` as `product.optionIds.inherited`, COALESCE(`product`.`option_ids`, `product.parent`.`option_ids`) as `product.optionIds`, `product.parent`.`stream_ids` as `product.streamIds.inherited`, COALESCE(`product`.`stream_ids`, `product.parent`.`stream_ids`) as `product.streamIds`, `product.parent`.`tag_ids` as `product.tagIds.inherited`, COALESCE(`product`.`tag_ids`, `product.parent`.`tag_ids`) as `product.tagIds`, `product.parent`.`category_ids` as `product.categoryIds.inherited`, COALESCE(`product`.`category_ids`, `product.parent`.`category_ids`) as `product.categoryIds`, `product`.`child_count` as `product.childCount`, COALESCE(`product`.`custom_field_set_selection_active`, `product.parent`.`custom_field_set_selection_active`) as `product.customFieldSetSelectionActive`, `product`.`sales` as `product.sales`, `product`.`states` as `product.states`, `product.tax`.`id` as `product.tax.id`, `product.tax`.`tax_rate` as `product.tax.taxRate`, `product.tax`.`name` as `product.tax.name`, `product.tax`.`position` as `product.tax.position`, `product.tax`.`custom_fields` as `product.tax.customFields`, `product.tax`.`created_at` as `product.tax.createdAt`, `product.tax`.`updated_at` as `product.tax.updatedAt`, `product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`, COALESCE(`product`.`cheapest_price`, `product.parent`.`cheapest_price`) as `product.cheapestPrice`, `product`.`created_at` as `product.createdAt`, `product`.`updated_at` as `product.updatedAt`, `product.unit`.`id` as `product.unit.id`, `product.unit`.`created_at` as `product.unit.createdAt`, `product.unit`.`updated_at` as `product.unit.updatedAt`, `product.unit.translation.shortCode`, COALESCE(`product.unit.translation.shortCode`,`product.unit.translation.shortCode`) as `product.unit.shortCode`, `product.unit.translation.name`, COALESCE(`product.unit.translation.name`,`product.unit.translation.name`) as `product.unit.name`, `product.unit.translation.customFields`, COALESCE(`product.unit.translation.customFields`,`product.unit.translation.customFields`) as `product.unit.customFields`, `product.unit.translation.createdAt`, `product.unit.translation.updatedAt`, `product.unit.translation.unitId`, `product.unit.translation.languageId`, `product.deliveryTime`.`id` as `product.deliveryTime.id`, `product.deliveryTime`.`min` as `product.deliveryTime.min`, `product.deliveryTime`.`max` as `product.deliveryTime.max`, `product.deliveryTime`.`unit` as `product.deliveryTime.unit`, `product.deliveryTime`.`created_at` as `product.deliveryTime.createdAt`, `product.deliveryTime`.`updated_at` as `product.deliveryTime.updatedAt`, `product.deliveryTime.translation.name`, COALESCE(`product.deliveryTime.translation.name`,`product.deliveryTime.translation.name`) as `product.deliveryTime.name`, `product.deliveryTime.translation.customFields`, COALESCE(`product.deliveryTime.translation.customFields`,`product.deliveryTime.translation.customFields`) as `product.deliveryTime.customFields`, `product.deliveryTime.translation.createdAt`, `product.deliveryTime.translation.updatedAt`, `product.deliveryTime.translation.deliveryTimeId`, `product.deliveryTime.translation.languageId`, `product.cover`.`id` as `product.cover.id`, `product.cover`.`version_id` as `product.cover.versionId`, `product.cover`.`product_id` as `product.cover.productId`, `product.cover`.`product_version_id` as `product.cover.productVersionId`, `product.cover`.`media_id` as `product.cover.mediaId`, `product.cover`.`position` as `product.cover.position`, `product.cover.media`.`id` as `product.cover.media.id`, `product.cover.media`.`user_id` as `product.cover.media.userId`, `product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`, `product.cover.media`.`mime_type` as `product.cover.media.mimeType`, `product.cover.media`.`file_extension` as `product.cover.media.fileExtension`, `product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`, `product.cover.media`.`file_name` as `product.cover.media.fileName`, `product.cover.media`.`file_size` as `product.cover.media.fileSize`, `product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`, `product.cover.media`.`meta_data` as `product.cover.media.metaData`, `product.cover.media`.`private` as `product.cover.media.private`, `product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`, `product.cover.media`.`created_at` as `product.cover.media.createdAt`, `product.cover.media`.`updated_at` as `product.cover.media.updatedAt`, `product.cover.media.translation.title`, COALESCE(`product.cover.media.translation.title`,`product.cover.media.translation.title`) as `product.cover.media.title`, `product.cover.media.translation.alt`, COALESCE(`product.cover.media.translation.alt`,`product.cover.media.translation.alt`) as `product.cover.media.alt`, `product.cover.media.translation.customFields`, COALESCE(`product.cover.media.translation.customFields`,`product.cover.media.translation.customFields`) as `product.cover.media.customFields`, `product.cover.media.translation.createdAt`, `product.cover.media.translation.updatedAt`, `product.cover.media.translation.mediaId`, `product.cover.media.translation.languageId`, `product.cover`.`custom_fields` as `product.cover.customFields`, `product.cover`.`created_at` as `product.cover.createdAt`, `product.cover`.`updated_at` as `product.cover.updatedAt`, `product.translation.metaDescription`, `product.parent.translation.metaDescription`, COALESCE(`product.translation.metaDescription`,`product.parent.translation.metaDescription`,`product.translation.metaDescription`) as `product.metaDescription`, `product.translation.name`, `product.parent.translation.name`, COALESCE(`product.translation.name`,`product.parent.translation.name`,`product.translation.name`) as `product.name`, `product.translation.keywords`, `product.parent.translation.keywords`, COALESCE(`product.translation.keywords`,`product.parent.translation.keywords`,`product.translation.keywords`) as `product.keywords`, `product.translation.description`, `product.parent.translation.description`, COALESCE(`product.translation.description`,`product.parent.translation.description`,`product.translation.description`) as `product.description`, `product.translation.metaTitle`, `product.parent.translation.metaTitle`, COALESCE(`product.translation.metaTitle`,`product.parent.translation.metaTitle`,`product.translation.metaTitle`) as `product.metaTitle`, `product.translation.packUnit`, `product.parent.translation.packUnit`, COALESCE(`product.translation.packUnit`,`product.parent.translation.packUnit`,`product.translation.packUnit`) as `product.packUnit`, `product.translation.packUnitPlural`, `product.parent.translation.packUnitPlural`, COALESCE(`product.translation.packUnitPlural`,`product.parent.translation.packUnitPlural`,`product.translation.packUnitPlural`) as `product.packUnitPlural`, `product.translation.customSearchKeywords`, `product.parent.translation.customSearchKeywords`, COALESCE(`product.translation.customSearchKeywords`,`product.parent.translation.customSearchKeywords`,`product.translation.customSearchKeywords`) as `product.customSearchKeywords`, `product.translation.slotConfig`, `product.parent.translation.slotConfig`, COALESCE(`product.translation.slotConfig`,`product.parent.translation.slotConfig`,`product.translation.slotConfig`) as `product.slotConfig`, `product.translation.customFields`, `product.parent.translation.customFields`, COALESCE(`product.translation.customFields`,`product.parent.translation.customFields`,`product.translation.customFields`) as `product.customFields`, `product.translation.createdAt`, `product.parent.translation.createdAt`, `product.translation.updatedAt`, `product.parent.translation.updatedAt`, `product.translation.productId`, `product.parent.translation.productId`, `product.translation.languageId`, `product.parent.translation.languageId`, `product.translation.productVersionId`, `product.parent.translation.productVersionId` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN (SELECT `product.translation`.product_id, `product.translation`.product_version_id, `product.translation`.meta_description as `product.translation.metaDescription`, `product.translation`.name as `product.translation.name`, `product.translation`.keywords as `product.translation.keywords`, `product.translation`.description as `product.translation.description`, `product.translation`.meta_title as `product.translation.metaTitle`, `product.translation`.pack_unit as `product.translation.packUnit`, `product.translation`.pack_unit_plural as `product.translation.packUnitPlural`, `product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`, `product.translation`.slot_config as `product.translation.slotConfig`, `product.translation`.custom_fields as `product.translation.customFields`, `product.translation`.created_at as `product.translation.createdAt`, `product.translation`.updated_at as `product.translation.updatedAt`, `product.translation`.product_id as `product.translation.productId`, `product.translation`.language_id as `product.translation.languageId`, `product.translation`.product_version_id as `product.translation.productVersionId` FROM `product_translation` `product.translation` WHERE `product.translation`.language_id = :languageId) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id` AND `product.product_translation`.product_version_id = `product`.version_id LEFT JOIN (SELECT `product.parent.translation`.product_id, `product.parent.translation`.product_version_id, `product.parent.translation`.meta_description as `product.parent.translation.metaDescription`, `product.parent.translation`.name as `product.parent.translation.name`, `product.parent.translation`.keywords as `product.parent.translation.keywords`, `product.parent.translation`.description as `product.parent.translation.description`, `product.parent.translation`.meta_title as `product.parent.translation.metaTitle`, `product.parent.translation`.pack_unit as `product.parent.translation.packUnit`, `product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`, `product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`, `product.parent.translation`.slot_config as `product.parent.translation.slotConfig`, `product.parent.translation`.custom_fields as `product.parent.translation.customFields`, `product.parent.translation`.created_at as `product.parent.translation.createdAt`, `product.parent.translation`.updated_at as `product.parent.translation.updatedAt`, `product.parent.translation`.product_id as `product.parent.translation.productId`, `product.parent.translation`.language_id as `product.parent.translation.languageId`, `product.parent.translation`.product_version_id as `product.parent.translation.productVersionId` FROM `product_translation` `product.parent.translation` WHERE `product.parent.translation`.language_id = :languageId) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id` AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id` LEFT JOIN `unit` `product.unit` ON `product`.`unit` = `product.unit`.`id` LEFT JOIN `delivery_time` `product.deliveryTime` ON `product`.`deliveryTime` = `product.deliveryTime`.`id` LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id` AND `product`.`version_id` = `product.cover`.`version_id` LEFT JOIN (SELECT `product.unit.translation`.unit_id, `product.unit.translation`.short_code as `product.unit.translation.shortCode`, `product.unit.translation`.name as `product.unit.translation.name`, `product.unit.translation`.custom_fields as `product.unit.translation.customFields`, `product.unit.translation`.created_at as `product.unit.translation.createdAt`, `product.unit.translation`.updated_at as `product.unit.translation.updatedAt`, `product.unit.translation`.unit_id as `product.unit.translation.unitId`, `product.unit.translation`.language_id as `product.unit.translation.languageId` FROM `unit_translation` `product.unit.translation` WHERE `product.unit.translation`.language_id = :languageId) `product.unit.unit_translation` ON `product.unit.unit_translation`.`unit_id` = `product.unit`.`id` LEFT JOIN (SELECT `product.deliveryTime.translation`.delivery_time_id, `product.deliveryTime.translation`.name as `product.deliveryTime.translation.name`, `product.deliveryTime.translation`.custom_fields as `product.deliveryTime.translation.customFields`, `product.deliveryTime.translation`.created_at as `product.deliveryTime.translation.createdAt`, `product.deliveryTime.translation`.updated_at as `product.deliveryTime.translation.updatedAt`, `product.deliveryTime.translation`.delivery_time_id as `product.deliveryTime.translation.deliveryTimeId`, `product.deliveryTime.translation`.language_id as `product.deliveryTime.translation.languageId` FROM `delivery_time_translation` `product.deliveryTime.translation` WHERE `product.deliveryTime.translation`.language_id = :languageId) `product.deliveryTime.delivery_time_translation` ON `product.deliveryTime.delivery_time_translation`.`delivery_time_id` = `product.deliveryTime`.`id` LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id` LEFT JOIN (SELECT `product.cover.media.translation`.media_id, `product.cover.media.translation`.title as `product.cover.media.translation.title`, `product.cover.media.translation`.alt as `product.cover.media.translation.alt`, `product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`, `product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`, `product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`, `product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`, `product.cover.media.translation`.language_id as `product.cover.media.translation.languageId` FROM `media_translation` `product.cover.media.translation` WHERE `product.cover.media.translation`.language_id = :languageId) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id` WHERE (`product`.`version_id` = :version) AND (`product`.`id` IN (:ids))
SELECT
`product`.`id` as `product.id`,
`product`.`version_id` as `product.versionId`,
`product`.`parent_id` as `product.parentId`,
`product`.`parent_version_id` as `product.parentVersionId`,
COALESCE(
`product`.`product_manufacturer_id`,
`product.parent`.`product_manufacturer_id`
) as `product.manufacturerId`,
COALESCE(
`product`.`product_manufacturer_version_id`,
`product.parent`.`product_manufacturer_version_id`
) as `product.productManufacturerVersionId`,
COALESCE(
`product`.`unit_id`, `product.parent`.`unit_id`
) as `product.unitId`,
COALESCE(
`product`.`tax_id`, `product.parent`.`tax_id`
) as `product.taxId`,
COALESCE(
`product`.`product_media_id`, `product.parent`.`product_media_id`
) as `product.coverId`,
COALESCE(
`product`.`product_media_version_id`,
`product.parent`.`product_media_version_id`
) as `product.productMediaVersionId`,
COALESCE(
`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`
) as `product.deliveryTimeId`,
COALESCE(
`product`.`product_feature_set_id`,
`product.parent`.`product_feature_set_id`
) as `product.featureSetId`,
COALESCE(
`product`.`canonical_product_id`,
`product.parent`.`canonical_product_id`
) as `product.canonicalProductId`,
COALESCE(
`product`.`cms_page_id`, `product.parent`.`cms_page_id`
) as `product.cmsPageId`,
COALESCE(
`product`.`cms_page_version_id`,
`product.parent`.`cms_page_version_id`
) as `product.cmsPageVersionId`,
`product.parent`.`price` as `product.price.inherited`,
COALESCE(
`product`.`price`, `product.parent`.`price`
) as `product.price`,
`product`.`product_number` as `product.productNumber`,
`product`.`stock` as `product.stock`,
COALESCE(
`product`.`restock_time`, `product.parent`.`restock_time`
) as `product.restockTime`,
`product`.`auto_increment` as `product.autoIncrement`,
COALESCE(
`product`.`active`, `product.parent`.`active`
) as `product.active`,
`product`.`available_stock` as `product.availableStock`,
`product`.`available` as `product.available`,
COALESCE(
`product`.`is_closeout`, `product.parent`.`is_closeout`
) as `product.isCloseout`,
`product`.`display_group` as `product.displayGroup`,
`product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`,
COALESCE(
`product`.`configurator_group_config`,
`product.parent`.`configurator_group_config`
) as `product.configuratorGroupConfig`,
COALESCE(
`product`.`main_variant_id`, `product.parent`.`main_variant_id`
) as `product.mainVariantId`,
COALESCE(
`product`.`display_parent`, `product.parent`.`display_parent`
) as `product.displayParent`,
`product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`,
COALESCE(
`product`.`variant_listing_config`,
`product.parent`.`variant_listing_config`
) as `product.variantListingConfig`,
`product`.`variant_restrictions` as `product.variantRestrictions`,
COALESCE(
`product`.`manufacturer_number`,
`product.parent`.`manufacturer_number`
) as `product.manufacturerNumber`,
COALESCE(
`product`.`ean`, `product.parent`.`ean`
) as `product.ean`,
COALESCE(
`product`.`purchase_steps`, `product.parent`.`purchase_steps`
) as `product.purchaseSteps`,
COALESCE(
`product`.`max_purchase`, `product.parent`.`max_purchase`
) as `product.maxPurchase`,
COALESCE(
`product`.`min_purchase`, `product.parent`.`min_purchase`
) as `product.minPurchase`,
COALESCE(
`product`.`purchase_unit`, `product.parent`.`purchase_unit`
) as `product.purchaseUnit`,
COALESCE(
`product`.`reference_unit`, `product.parent`.`reference_unit`
) as `product.referenceUnit`,
COALESCE(
`product`.`shipping_free`, `product.parent`.`shipping_free`
) as `product.shippingFree`,
`product.parent`.`purchase_prices` as `product.purchasePrices.inherited`,
COALESCE(
`product`.`purchase_prices`, `product.parent`.`purchase_prices`
) as `product.purchasePrices`,
COALESCE(
`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`
) as `product.markAsTopseller`,
COALESCE(
`product`.`weight`, `product.parent`.`weight`
) as `product.weight`,
COALESCE(
`product`.`width`, `product.parent`.`width`
) as `product.width`,
COALESCE(
`product`.`height`, `product.parent`.`height`
) as `product.height`,
COALESCE(
`product`.`length`, `product.parent`.`length`
) as `product.length`,
COALESCE(
`product`.`release_date`, `product.parent`.`release_date`
) as `product.releaseDate`,
COALESCE(
`product`.`rating_average`, `product.parent`.`rating_average`
) as `product.ratingAverage`,
`product.parent`.`category_tree` as `product.categoryTree.inherited`,
COALESCE(
`product`.`category_tree`, `product.parent`.`category_tree`
) as `product.categoryTree`,
`product.parent`.`property_ids` as `product.propertyIds.inherited`,
COALESCE(
`product`.`property_ids`, `product.parent`.`property_ids`
) as `product.propertyIds`,
`product.parent`.`option_ids` as `product.optionIds.inherited`,
COALESCE(
`product`.`option_ids`, `product.parent`.`option_ids`
) as `product.optionIds`,
`product.parent`.`stream_ids` as `product.streamIds.inherited`,
COALESCE(
`product`.`stream_ids`, `product.parent`.`stream_ids`
) as `product.streamIds`,
`product.parent`.`tag_ids` as `product.tagIds.inherited`,
COALESCE(
`product`.`tag_ids`, `product.parent`.`tag_ids`
) as `product.tagIds`,
`product.parent`.`category_ids` as `product.categoryIds.inherited`,
COALESCE(
`product`.`category_ids`, `product.parent`.`category_ids`
) as `product.categoryIds`,
`product`.`child_count` as `product.childCount`,
COALESCE(
`product`.`custom_field_set_selection_active`,
`product.parent`.`custom_field_set_selection_active`
) as `product.customFieldSetSelectionActive`,
`product`.`sales` as `product.sales`,
`product`.`states` as `product.states`,
`product.tax`.`id` as `product.tax.id`,
`product.tax`.`tax_rate` as `product.tax.taxRate`,
`product.tax`.`name` as `product.tax.name`,
`product.tax`.`position` as `product.tax.position`,
`product.tax`.`custom_fields` as `product.tax.customFields`,
`product.tax`.`created_at` as `product.tax.createdAt`,
`product.tax`.`updated_at` as `product.tax.updatedAt`,
`product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`,
COALESCE(
`product`.`cheapest_price`, `product.parent`.`cheapest_price`
) as `product.cheapestPrice`,
`product`.`created_at` as `product.createdAt`,
`product`.`updated_at` as `product.updatedAt`,
`product.unit`.`id` as `product.unit.id`,
`product.unit`.`created_at` as `product.unit.createdAt`,
`product.unit`.`updated_at` as `product.unit.updatedAt`,
`product.unit.translation.shortCode`,
COALESCE(
`product.unit.translation.shortCode`,
`product.unit.translation.shortCode`
) as `product.unit.shortCode`,
`product.unit.translation.name`,
COALESCE(
`product.unit.translation.name`,
`product.unit.translation.name`
) as `product.unit.name`,
`product.unit.translation.customFields`,
COALESCE(
`product.unit.translation.customFields`,
`product.unit.translation.customFields`
) as `product.unit.customFields`,
`product.unit.translation.createdAt`,
`product.unit.translation.updatedAt`,
`product.unit.translation.unitId`,
`product.unit.translation.languageId`,
`product.deliveryTime`.`id` as `product.deliveryTime.id`,
`product.deliveryTime`.`min` as `product.deliveryTime.min`,
`product.deliveryTime`.`max` as `product.deliveryTime.max`,
`product.deliveryTime`.`unit` as `product.deliveryTime.unit`,
`product.deliveryTime`.`created_at` as `product.deliveryTime.createdAt`,
`product.deliveryTime`.`updated_at` as `product.deliveryTime.updatedAt`,
`product.deliveryTime.translation.name`,
COALESCE(
`product.deliveryTime.translation.name`,
`product.deliveryTime.translation.name`
) as `product.deliveryTime.name`,
`product.deliveryTime.translation.customFields`,
COALESCE(
`product.deliveryTime.translation.customFields`,
`product.deliveryTime.translation.customFields`
) as `product.deliveryTime.customFields`,
`product.deliveryTime.translation.createdAt`,
`product.deliveryTime.translation.updatedAt`,
`product.deliveryTime.translation.deliveryTimeId`,
`product.deliveryTime.translation.languageId`,
`product.cover`.`id` as `product.cover.id`,
`product.cover`.`version_id` as `product.cover.versionId`,
`product.cover`.`product_id` as `product.cover.productId`,
`product.cover`.`product_version_id` as `product.cover.productVersionId`,
`product.cover`.`media_id` as `product.cover.mediaId`,
`product.cover`.`position` as `product.cover.position`,
`product.cover.media`.`id` as `product.cover.media.id`,
`product.cover.media`.`user_id` as `product.cover.media.userId`,
`product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`,
`product.cover.media`.`mime_type` as `product.cover.media.mimeType`,
`product.cover.media`.`file_extension` as `product.cover.media.fileExtension`,
`product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`,
`product.cover.media`.`file_name` as `product.cover.media.fileName`,
`product.cover.media`.`file_size` as `product.cover.media.fileSize`,
`product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`,
`product.cover.media`.`meta_data` as `product.cover.media.metaData`,
`product.cover.media`.`private` as `product.cover.media.private`,
`product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`,
`product.cover.media`.`created_at` as `product.cover.media.createdAt`,
`product.cover.media`.`updated_at` as `product.cover.media.updatedAt`,
`product.cover.media.translation.title`,
COALESCE(
`product.cover.media.translation.title`,
`product.cover.media.translation.title`
) as `product.cover.media.title`,
`product.cover.media.translation.alt`,
COALESCE(
`product.cover.media.translation.alt`,
`product.cover.media.translation.alt`
) as `product.cover.media.alt`,
`product.cover.media.translation.customFields`,
COALESCE(
`product.cover.media.translation.customFields`,
`product.cover.media.translation.customFields`
) as `product.cover.media.customFields`,
`product.cover.media.translation.createdAt`,
`product.cover.media.translation.updatedAt`,
`product.cover.media.translation.mediaId`,
`product.cover.media.translation.languageId`,
`product.cover`.`custom_fields` as `product.cover.customFields`,
`product.cover`.`created_at` as `product.cover.createdAt`,
`product.cover`.`updated_at` as `product.cover.updatedAt`,
`product.translation.metaDescription`,
`product.parent.translation.metaDescription`,
COALESCE(
`product.translation.metaDescription`,
`product.parent.translation.metaDescription`,
`product.translation.metaDescription`
) as `product.metaDescription`,
`product.translation.name`,
`product.parent.translation.name`,
COALESCE(
`product.translation.name`, `product.parent.translation.name`,
`product.translation.name`
) as `product.name`,
`product.translation.keywords`,
`product.parent.translation.keywords`,
COALESCE(
`product.translation.keywords`,
`product.parent.translation.keywords`,
`product.translation.keywords`
) as `product.keywords`,
`product.translation.description`,
`product.parent.translation.description`,
COALESCE(
`product.translation.description`,
`product.parent.translation.description`,
`product.translation.description`
) as `product.description`,
`product.translation.metaTitle`,
`product.parent.translation.metaTitle`,
COALESCE(
`product.translation.metaTitle`,
`product.parent.translation.metaTitle`,
`product.translation.metaTitle`
) as `product.metaTitle`,
`product.translation.packUnit`,
`product.parent.translation.packUnit`,
COALESCE(
`product.translation.packUnit`,
`product.parent.translation.packUnit`,
`product.translation.packUnit`
) as `product.packUnit`,
`product.translation.packUnitPlural`,
`product.parent.translation.packUnitPlural`,
COALESCE(
`product.translation.packUnitPlural`,
`product.parent.translation.packUnitPlural`,
`product.translation.packUnitPlural`
) as `product.packUnitPlural`,
`product.translation.customSearchKeywords`,
`product.parent.translation.customSearchKeywords`,
COALESCE(
`product.translation.customSearchKeywords`,
`product.parent.translation.customSearchKeywords`,
`product.translation.customSearchKeywords`
) as `product.customSearchKeywords`,
`product.translation.slotConfig`,
`product.parent.translation.slotConfig`,
COALESCE(
`product.translation.slotConfig`,
`product.parent.translation.slotConfig`,
`product.translation.slotConfig`
) as `product.slotConfig`,
`product.translation.customFields`,
`product.parent.translation.customFields`,
COALESCE(
`product.translation.customFields`,
`product.parent.translation.customFields`,
`product.translation.customFields`
) as `product.customFields`,
`product.translation.createdAt`,
`product.parent.translation.createdAt`,
`product.translation.updatedAt`,
`product.parent.translation.updatedAt`,
`product.translation.productId`,
`product.parent.translation.productId`,
`product.translation.languageId`,
`product.parent.translation.languageId`,
`product.translation.productVersionId`,
`product.parent.translation.productVersionId`
FROM
`product`
LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id`
AND `product`.`version_id` = `product.parent`.`version_id`
LEFT JOIN (
SELECT
`product.translation`.product_id,
`product.translation`.product_version_id,
`product.translation`.meta_description as `product.translation.metaDescription`,
`product.translation`.name as `product.translation.name`,
`product.translation`.keywords as `product.translation.keywords`,
`product.translation`.description as `product.translation.description`,
`product.translation`.meta_title as `product.translation.metaTitle`,
`product.translation`.pack_unit as `product.translation.packUnit`,
`product.translation`.pack_unit_plural as `product.translation.packUnitPlural`,
`product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`,
`product.translation`.slot_config as `product.translation.slotConfig`,
`product.translation`.custom_fields as `product.translation.customFields`,
`product.translation`.created_at as `product.translation.createdAt`,
`product.translation`.updated_at as `product.translation.updatedAt`,
`product.translation`.product_id as `product.translation.productId`,
`product.translation`.language_id as `product.translation.languageId`,
`product.translation`.product_version_id as `product.translation.productVersionId`
FROM
`product_translation` `product.translation`
WHERE
`product.translation`.language_id = : languageId
) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id`
AND `product.product_translation`.product_version_id = `product`.version_id
LEFT JOIN (
SELECT
`product.parent.translation`.product_id,
`product.parent.translation`.product_version_id,
`product.parent.translation`.meta_description as `product.parent.translation.metaDescription`,
`product.parent.translation`.name as `product.parent.translation.name`,
`product.parent.translation`.keywords as `product.parent.translation.keywords`,
`product.parent.translation`.description as `product.parent.translation.description`,
`product.parent.translation`.meta_title as `product.parent.translation.metaTitle`,
`product.parent.translation`.pack_unit as `product.parent.translation.packUnit`,
`product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`,
`product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`,
`product.parent.translation`.slot_config as `product.parent.translation.slotConfig`,
`product.parent.translation`.custom_fields as `product.parent.translation.customFields`,
`product.parent.translation`.created_at as `product.parent.translation.createdAt`,
`product.parent.translation`.updated_at as `product.parent.translation.updatedAt`,
`product.parent.translation`.product_id as `product.parent.translation.productId`,
`product.parent.translation`.language_id as `product.parent.translation.languageId`,
`product.parent.translation`.product_version_id as `product.parent.translation.productVersionId`
FROM
`product_translation` `product.parent.translation`
WHERE
`product.parent.translation`.language_id = : languageId
) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id`
AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id
LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id`
LEFT JOIN `unit` `product.unit` ON `product`.`unit` = `product.unit`.`id`
LEFT JOIN `delivery_time` `product.deliveryTime` ON `product`.`deliveryTime` = `product.deliveryTime`.`id`
LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id`
AND `product`.`version_id` = `product.cover`.`version_id`
LEFT JOIN (
SELECT
`product.unit.translation`.unit_id,
`product.unit.translation`.short_code as `product.unit.translation.shortCode`,
`product.unit.translation`.name as `product.unit.translation.name`,
`product.unit.translation`.custom_fields as `product.unit.translation.customFields`,
`product.unit.translation`.created_at as `product.unit.translation.createdAt`,
`product.unit.translation`.updated_at as `product.unit.translation.updatedAt`,
`product.unit.translation`.unit_id as `product.unit.translation.unitId`,
`product.unit.translation`.language_id as `product.unit.translation.languageId`
FROM
`unit_translation` `product.unit.translation`
WHERE
`product.unit.translation`.language_id = : languageId
) `product.unit.unit_translation` ON `product.unit.unit_translation`.`unit_id` = `product.unit`.`id`
LEFT JOIN (
SELECT
`product.deliveryTime.translation`.delivery_time_id,
`product.deliveryTime.translation`.name as `product.deliveryTime.translation.name`,
`product.deliveryTime.translation`.custom_fields as `product.deliveryTime.translation.customFields`,
`product.deliveryTime.translation`.created_at as `product.deliveryTime.translation.createdAt`,
`product.deliveryTime.translation`.updated_at as `product.deliveryTime.translation.updatedAt`,
`product.deliveryTime.translation`.delivery_time_id as `product.deliveryTime.translation.deliveryTimeId`,
`product.deliveryTime.translation`.language_id as `product.deliveryTime.translation.languageId`
FROM
`delivery_time_translation` `product.deliveryTime.translation`
WHERE
`product.deliveryTime.translation`.language_id = : languageId
) `product.deliveryTime.delivery_time_translation` ON `product.deliveryTime.delivery_time_translation`.`delivery_time_id` = `product.deliveryTime`.`id`
LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id`
LEFT JOIN (
SELECT
`product.cover.media.translation`.media_id,
`product.cover.media.translation`.title as `product.cover.media.translation.title`,
`product.cover.media.translation`.alt as `product.cover.media.translation.alt`,
`product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`,
`product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`,
`product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`,
`product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`,
`product.cover.media.translation`.language_id as `product.cover.media.translation.languageId`
FROM
`media_translation` `product.cover.media.translation`
WHERE
`product.cover.media.translation`.language_id = : languageId
) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id`
WHERE
(
`product`.`version_id` = : version
)
AND (
`product`.`id` IN (: ids)
)
SELECT `product`.`id` as `product.id`, `product`.`version_id` as `product.versionId`, `product`.`parent_id` as `product.parentId`, `product`.`parent_version_id` as `product.parentVersionId`, COALESCE(`product`.`product_manufacturer_id`, `product.parent`.`product_manufacturer_id`) as `product.manufacturerId`, COALESCE(`product`.`product_manufacturer_version_id`, `product.parent`.`product_manufacturer_version_id`) as `product.productManufacturerVersionId`, COALESCE(`product`.`unit_id`, `product.parent`.`unit_id`) as `product.unitId`, COALESCE(`product`.`tax_id`, `product.parent`.`tax_id`) as `product.taxId`, COALESCE(`product`.`product_media_id`, `product.parent`.`product_media_id`) as `product.coverId`, COALESCE(`product`.`product_media_version_id`, `product.parent`.`product_media_version_id`) as `product.productMediaVersionId`, COALESCE(`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`) as `product.deliveryTimeId`, COALESCE(`product`.`product_feature_set_id`, `product.parent`.`product_feature_set_id`) as `product.featureSetId`, COALESCE(`product`.`canonical_product_id`, `product.parent`.`canonical_product_id`) as `product.canonicalProductId`, COALESCE(`product`.`cms_page_id`, `product.parent`.`cms_page_id`) as `product.cmsPageId`, COALESCE(`product`.`cms_page_version_id`, `product.parent`.`cms_page_version_id`) as `product.cmsPageVersionId`, `product.parent`.`price` as `product.price.inherited`, COALESCE(`product`.`price`, `product.parent`.`price`) as `product.price`, `product`.`product_number` as `product.productNumber`, `product`.`stock` as `product.stock`, COALESCE(`product`.`restock_time`, `product.parent`.`restock_time`) as `product.restockTime`, `product`.`auto_increment` as `product.autoIncrement`, COALESCE(`product`.`active`, `product.parent`.`active`) as `product.active`, `product`.`available_stock` as `product.availableStock`, `product`.`available` as `product.available`, COALESCE(`product`.`is_closeout`, `product.parent`.`is_closeout`) as `product.isCloseout`, `product`.`display_group` as `product.displayGroup`, `product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`, COALESCE(`product`.`configurator_group_config`, `product.parent`.`configurator_group_config`) as `product.configuratorGroupConfig`, COALESCE(`product`.`main_variant_id`, `product.parent`.`main_variant_id`) as `product.mainVariantId`, COALESCE(`product`.`display_parent`, `product.parent`.`display_parent`) as `product.displayParent`, `product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`, COALESCE(`product`.`variant_listing_config`, `product.parent`.`variant_listing_config`) as `product.variantListingConfig`, `product`.`variant_restrictions` as `product.variantRestrictions`, COALESCE(`product`.`manufacturer_number`, `product.parent`.`manufacturer_number`) as `product.manufacturerNumber`, COALESCE(`product`.`ean`, `product.parent`.`ean`) as `product.ean`, COALESCE(`product`.`purchase_steps`, `product.parent`.`purchase_steps`) as `product.purchaseSteps`, COALESCE(`product`.`max_purchase`, `product.parent`.`max_purchase`) as `product.maxPurchase`, COALESCE(`product`.`min_purchase`, `product.parent`.`min_purchase`) as `product.minPurchase`, COALESCE(`product`.`purchase_unit`, `product.parent`.`purchase_unit`) as `product.purchaseUnit`, COALESCE(`product`.`reference_unit`, `product.parent`.`reference_unit`) as `product.referenceUnit`, COALESCE(`product`.`shipping_free`, `product.parent`.`shipping_free`) as `product.shippingFree`, `product.parent`.`purchase_prices` as `product.purchasePrices.inherited`, COALESCE(`product`.`purchase_prices`, `product.parent`.`purchase_prices`) as `product.purchasePrices`, COALESCE(`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`) as `product.markAsTopseller`, COALESCE(`product`.`weight`, `product.parent`.`weight`) as `product.weight`, COALESCE(`product`.`width`, `product.parent`.`width`) as `product.width`, COALESCE(`product`.`height`, `product.parent`.`height`) as `product.height`, COALESCE(`product`.`length`, `product.parent`.`length`) as `product.length`, COALESCE(`product`.`release_date`, `product.parent`.`release_date`) as `product.releaseDate`, COALESCE(`product`.`rating_average`, `product.parent`.`rating_average`) as `product.ratingAverage`, `product.parent`.`category_tree` as `product.categoryTree.inherited`, COALESCE(`product`.`category_tree`, `product.parent`.`category_tree`) as `product.categoryTree`, `product.parent`.`property_ids` as `product.propertyIds.inherited`, COALESCE(`product`.`property_ids`, `product.parent`.`property_ids`) as `product.propertyIds`, `product.parent`.`option_ids` as `product.optionIds.inherited`, COALESCE(`product`.`option_ids`, `product.parent`.`option_ids`) as `product.optionIds`, `product.parent`.`stream_ids` as `product.streamIds.inherited`, COALESCE(`product`.`stream_ids`, `product.parent`.`stream_ids`) as `product.streamIds`, `product.parent`.`tag_ids` as `product.tagIds.inherited`, COALESCE(`product`.`tag_ids`, `product.parent`.`tag_ids`) as `product.tagIds`, `product.parent`.`category_ids` as `product.categoryIds.inherited`, COALESCE(`product`.`category_ids`, `product.parent`.`category_ids`) as `product.categoryIds`, `product`.`child_count` as `product.childCount`, COALESCE(`product`.`custom_field_set_selection_active`, `product.parent`.`custom_field_set_selection_active`) as `product.customFieldSetSelectionActive`, `product`.`sales` as `product.sales`, `product`.`states` as `product.states`, `product.tax`.`id` as `product.tax.id`, `product.tax`.`tax_rate` as `product.tax.taxRate`, `product.tax`.`name` as `product.tax.name`, `product.tax`.`position` as `product.tax.position`, `product.tax`.`custom_fields` as `product.tax.customFields`, `product.tax`.`created_at` as `product.tax.createdAt`, `product.tax`.`updated_at` as `product.tax.updatedAt`, `product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`, COALESCE(`product`.`cheapest_price`, `product.parent`.`cheapest_price`) as `product.cheapestPrice`, `product`.`created_at` as `product.createdAt`, `product`.`updated_at` as `product.updatedAt`, `product.unit`.`id` as `product.unit.id`, `product.unit`.`created_at` as `product.unit.createdAt`, `product.unit`.`updated_at` as `product.unit.updatedAt`, `product.unit.translation.shortCode`, COALESCE(`product.unit.translation.shortCode`,`product.unit.translation.shortCode`) as `product.unit.shortCode`, `product.unit.translation.name`, COALESCE(`product.unit.translation.name`,`product.unit.translation.name`) as `product.unit.name`, `product.unit.translation.customFields`, COALESCE(`product.unit.translation.customFields`,`product.unit.translation.customFields`) as `product.unit.customFields`, `product.unit.translation.createdAt`, `product.unit.translation.updatedAt`, `product.unit.translation.unitId`, `product.unit.translation.languageId`, `product.deliveryTime`.`id` as `product.deliveryTime.id`, `product.deliveryTime`.`min` as `product.deliveryTime.min`, `product.deliveryTime`.`max` as `product.deliveryTime.max`, `product.deliveryTime`.`unit` as `product.deliveryTime.unit`, `product.deliveryTime`.`created_at` as `product.deliveryTime.createdAt`, `product.deliveryTime`.`updated_at` as `product.deliveryTime.updatedAt`, `product.deliveryTime.translation.name`, COALESCE(`product.deliveryTime.translation.name`,`product.deliveryTime.translation.name`) as `product.deliveryTime.name`, `product.deliveryTime.translation.customFields`, COALESCE(`product.deliveryTime.translation.customFields`,`product.deliveryTime.translation.customFields`) as `product.deliveryTime.customFields`, `product.deliveryTime.translation.createdAt`, `product.deliveryTime.translation.updatedAt`, `product.deliveryTime.translation.deliveryTimeId`, `product.deliveryTime.translation.languageId`, `product.cover`.`id` as `product.cover.id`, `product.cover`.`version_id` as `product.cover.versionId`, `product.cover`.`product_id` as `product.cover.productId`, `product.cover`.`product_version_id` as `product.cover.productVersionId`, `product.cover`.`media_id` as `product.cover.mediaId`, `product.cover`.`position` as `product.cover.position`, `product.cover.media`.`id` as `product.cover.media.id`, `product.cover.media`.`user_id` as `product.cover.media.userId`, `product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`, `product.cover.media`.`mime_type` as `product.cover.media.mimeType`, `product.cover.media`.`file_extension` as `product.cover.media.fileExtension`, `product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`, `product.cover.media`.`file_name` as `product.cover.media.fileName`, `product.cover.media`.`file_size` as `product.cover.media.fileSize`, `product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`, `product.cover.media`.`meta_data` as `product.cover.media.metaData`, `product.cover.media`.`private` as `product.cover.media.private`, `product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`, `product.cover.media`.`created_at` as `product.cover.media.createdAt`, `product.cover.media`.`updated_at` as `product.cover.media.updatedAt`, `product.cover.media.translation.title`, COALESCE(`product.cover.media.translation.title`,`product.cover.media.translation.title`) as `product.cover.media.title`, `product.cover.media.translation.alt`, COALESCE(`product.cover.media.translation.alt`,`product.cover.media.translation.alt`) as `product.cover.media.alt`, `product.cover.media.translation.customFields`, COALESCE(`product.cover.media.translation.customFields`,`product.cover.media.translation.customFields`) as `product.cover.media.customFields`, `product.cover.media.translation.createdAt`, `product.cover.media.translation.updatedAt`, `product.cover.media.translation.mediaId`, `product.cover.media.translation.languageId`, `product.cover`.`custom_fields` as `product.cover.customFields`, `product.cover`.`created_at` as `product.cover.createdAt`, `product.cover`.`updated_at` as `product.cover.updatedAt`, `product.translation.metaDescription`, `product.parent.translation.metaDescription`, COALESCE(`product.translation.metaDescription`,`product.parent.translation.metaDescription`,`product.translation.metaDescription`) as `product.metaDescription`, `product.translation.name`, `product.parent.translation.name`, COALESCE(`product.translation.name`,`product.parent.translation.name`,`product.translation.name`) as `product.name`, `product.translation.keywords`, `product.parent.translation.keywords`, COALESCE(`product.translation.keywords`,`product.parent.translation.keywords`,`product.translation.keywords`) as `product.keywords`, `product.translation.description`, `product.parent.translation.description`, COALESCE(`product.translation.description`,`product.parent.translation.description`,`product.translation.description`) as `product.description`, `product.translation.metaTitle`, `product.parent.translation.metaTitle`, COALESCE(`product.translation.metaTitle`,`product.parent.translation.metaTitle`,`product.translation.metaTitle`) as `product.metaTitle`, `product.translation.packUnit`, `product.parent.translation.packUnit`, COALESCE(`product.translation.packUnit`,`product.parent.translation.packUnit`,`product.translation.packUnit`) as `product.packUnit`, `product.translation.packUnitPlural`, `product.parent.translation.packUnitPlural`, COALESCE(`product.translation.packUnitPlural`,`product.parent.translation.packUnitPlural`,`product.translation.packUnitPlural`) as `product.packUnitPlural`, `product.translation.customSearchKeywords`, `product.parent.translation.customSearchKeywords`, COALESCE(`product.translation.customSearchKeywords`,`product.parent.translation.customSearchKeywords`,`product.translation.customSearchKeywords`) as `product.customSearchKeywords`, `product.translation.slotConfig`, `product.parent.translation.slotConfig`, COALESCE(`product.translation.slotConfig`,`product.parent.translation.slotConfig`,`product.translation.slotConfig`) as `product.slotConfig`, `product.translation.customFields`, `product.parent.translation.customFields`, COALESCE(`product.translation.customFields`,`product.parent.translation.customFields`,`product.translation.customFields`) as `product.customFields`, `product.translation.createdAt`, `product.parent.translation.createdAt`, `product.translation.updatedAt`, `product.parent.translation.updatedAt`, `product.translation.productId`, `product.parent.translation.productId`, `product.translation.languageId`, `product.parent.translation.languageId`, `product.translation.productVersionId`, `product.parent.translation.productVersionId` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN (SELECT `product.translation`.product_id, `product.translation`.product_version_id, `product.translation`.meta_description as `product.translation.metaDescription`, `product.translation`.name as `product.translation.name`, `product.translation`.keywords as `product.translation.keywords`, `product.translation`.description as `product.translation.description`, `product.translation`.meta_title as `product.translation.metaTitle`, `product.translation`.pack_unit as `product.translation.packUnit`, `product.translation`.pack_unit_plural as `product.translation.packUnitPlural`, `product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`, `product.translation`.slot_config as `product.translation.slotConfig`, `product.translation`.custom_fields as `product.translation.customFields`, `product.translation`.created_at as `product.translation.createdAt`, `product.translation`.updated_at as `product.translation.updatedAt`, `product.translation`.product_id as `product.translation.productId`, `product.translation`.language_id as `product.translation.languageId`, `product.translation`.product_version_id as `product.translation.productVersionId` FROM `product_translation` `product.translation` WHERE `product.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id` AND `product.product_translation`.product_version_id = `product`.version_id LEFT JOIN (SELECT `product.parent.translation`.product_id, `product.parent.translation`.product_version_id, `product.parent.translation`.meta_description as `product.parent.translation.metaDescription`, `product.parent.translation`.name as `product.parent.translation.name`, `product.parent.translation`.keywords as `product.parent.translation.keywords`, `product.parent.translation`.description as `product.parent.translation.description`, `product.parent.translation`.meta_title as `product.parent.translation.metaTitle`, `product.parent.translation`.pack_unit as `product.parent.translation.packUnit`, `product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`, `product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`, `product.parent.translation`.slot_config as `product.parent.translation.slotConfig`, `product.parent.translation`.custom_fields as `product.parent.translation.customFields`, `product.parent.translation`.created_at as `product.parent.translation.createdAt`, `product.parent.translation`.updated_at as `product.parent.translation.updatedAt`, `product.parent.translation`.product_id as `product.parent.translation.productId`, `product.parent.translation`.language_id as `product.parent.translation.languageId`, `product.parent.translation`.product_version_id as `product.parent.translation.productVersionId` FROM `product_translation` `product.parent.translation` WHERE `product.parent.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id` AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id` LEFT JOIN `unit` `product.unit` ON `product`.`unit` = `product.unit`.`id` LEFT JOIN `delivery_time` `product.deliveryTime` ON `product`.`deliveryTime` = `product.deliveryTime`.`id` LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id` AND `product`.`version_id` = `product.cover`.`version_id` LEFT JOIN (SELECT `product.unit.translation`.unit_id, `product.unit.translation`.short_code as `product.unit.translation.shortCode`, `product.unit.translation`.name as `product.unit.translation.name`, `product.unit.translation`.custom_fields as `product.unit.translation.customFields`, `product.unit.translation`.created_at as `product.unit.translation.createdAt`, `product.unit.translation`.updated_at as `product.unit.translation.updatedAt`, `product.unit.translation`.unit_id as `product.unit.translation.unitId`, `product.unit.translation`.language_id as `product.unit.translation.languageId` FROM `unit_translation` `product.unit.translation` WHERE `product.unit.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.unit.unit_translation` ON `product.unit.unit_translation`.`unit_id` = `product.unit`.`id` LEFT JOIN (SELECT `product.deliveryTime.translation`.delivery_time_id, `product.deliveryTime.translation`.name as `product.deliveryTime.translation.name`, `product.deliveryTime.translation`.custom_fields as `product.deliveryTime.translation.customFields`, `product.deliveryTime.translation`.created_at as `product.deliveryTime.translation.createdAt`, `product.deliveryTime.translation`.updated_at as `product.deliveryTime.translation.updatedAt`, `product.deliveryTime.translation`.delivery_time_id as `product.deliveryTime.translation.deliveryTimeId`, `product.deliveryTime.translation`.language_id as `product.deliveryTime.translation.languageId` FROM `delivery_time_translation` `product.deliveryTime.translation` WHERE `product.deliveryTime.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.deliveryTime.delivery_time_translation` ON `product.deliveryTime.delivery_time_translation`.`delivery_time_id` = `product.deliveryTime`.`id` LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id` LEFT JOIN (SELECT `product.cover.media.translation`.media_id, `product.cover.media.translation`.title as `product.cover.media.translation.title`, `product.cover.media.translation`.alt as `product.cover.media.translation.alt`, `product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`, `product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`, `product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`, `product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`, `product.cover.media.translation`.language_id as `product.cover.media.translation.languageId` FROM `media_translation` `product.cover.media.translation` WHERE `product.cover.media.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id` WHERE (`product`.`version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425) AND (`product`.`id` IN (0x4DFBD7B068CF4EAD85CEAEBA2A75D3FF));
array:37 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 242)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 316)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetch (line 148)"
4 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 93)"
5 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::read (line 195)"
6 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::read (line 133)"
7 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 36)"
8 => "Swag\PayPal\Util\Compatibility\SalesChannelRepositoryDecorator::search (line 207)"
9 => "Tds\MerwareDiscounts\Cart\Checkout\OverwrittenPriceCollector::getSalesChannelProduct (line 93)"
10 => "Tds\MerwareDiscounts\Cart\Checkout\OverwrittenPriceCollector::collect (line 103)"
11 => "Shopware\Core\Checkout\Cart\Processor::runProcessors (line 67)"
12 => "Shopware\Core\Checkout\Cart\Processor::Shopware\Core\Checkout\Cart\{closure} (line 59)"
13 => "Shopware\Core\Profiling\Profiler::trace (line 86)"
14 => "Shopware\Core\Checkout\Cart\Processor::process (line 132)"
15 => "Shopware\Core\Checkout\Cart\CartRuleLoader::Shopware\Core\Checkout\Cart\{closure} (line 59)"
16 => "Shopware\Core\Profiling\Profiler::trace (line 183)"
17 => "Shopware\Core\Checkout\Cart\CartRuleLoader::load (line 83)"
18 => "Shopware\Core\Checkout\Cart\CartRuleLoader::loadByToken (line 106)"
19 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::Shopware\Core\System\SalesChannel\Context\{closure} (line 59)"
20 => "Shopware\Core\Profiling\Profiler::trace (line 111)"
21 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::get (line 105)"
22 => "Shopware\Core\Framework\Routing\SalesChannelRequestContextResolver::resolve (line 38)"
23 => "Shopware\Core\Framework\Routing\ContextResolverListener::resolveContext (line 118)"
24 => "Symfony\Component\EventDispatcher\Debug\WrappedListener::__invoke (line 230)"
25 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
26 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
27 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
28 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
29 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
30 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
31 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 151)"
32 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
33 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
34 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
35 => "Shopware\Core\HttpKernel::doHandle (line 81)"
36 => "Shopware\Core\HttpKernel::handle (line 85)"
]
|
102 |
0.42 ms |
SELECT `product_price`.`id` as `product_price.id`, `product_price`.`version_id` as `product_price.versionId`, `product_price`.`product_id` as `product_price.productId`, `product_price`.`product_version_id` as `product_price.productVersionId`, `product_price`.`rule_id` as `product_price.ruleId`, `product_price`.`price` as `product_price.price`, `product_price`.`quantity_start` as `product_price.quantityStart`, `product_price`.`quantity_end` as `product_price.quantityEnd`, `product_price`.`custom_fields` as `product_price.customFields`, `product_price`.`created_at` as `product_price.createdAt`, `product_price`.`updated_at` as `product_price.updatedAt` FROM `product_price` WHERE (`product_price`.`version_id` = :version) AND ((`product_price`.`product_id` IN (:param_01c2c1f8c94d4653b939bc0ac6020728)))
SELECT `product_price`.`id` as `product_price.id`, `product_price`.`version_id` as `product_price.versionId`, `product_price`.`product_id` as `product_price.productId`, `product_price`.`product_version_id` as `product_price.productVersionId`, `product_price`.`rule_id` as `product_price.ruleId`, `product_price`.`price` as `product_price.price`, `product_price`.`quantity_start` as `product_price.quantityStart`, `product_price`.`quantity_end` as `product_price.quantityEnd`, `product_price`.`custom_fields` as `product_price.customFields`, `product_price`.`created_at` as `product_price.createdAt`, `product_price`.`updated_at` as `product_price.updatedAt` FROM `product_price` WHERE (`product_price`.`version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425) AND ((`product_price`.`product_id` IN (0x4DFBD7B068CF4EAD85CEAEBA2A75D3FF)));
array:41 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 242)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 316)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetch (line 148)"
4 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 503)"
5 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::loadOneToManyWithoutPagination (line 438)"
6 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::loadOneToMany (line 1210)"
7 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetchAssociations (line 152)"
8 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 93)"
9 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::read (line 195)"
10 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::read (line 133)"
11 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 36)"
12 => "Swag\PayPal\Util\Compatibility\SalesChannelRepositoryDecorator::search (line 207)"
13 => "Tds\MerwareDiscounts\Cart\Checkout\OverwrittenPriceCollector::getSalesChannelProduct (line 93)"
14 => "Tds\MerwareDiscounts\Cart\Checkout\OverwrittenPriceCollector::collect (line 103)"
15 => "Shopware\Core\Checkout\Cart\Processor::runProcessors (line 67)"
16 => "Shopware\Core\Checkout\Cart\Processor::Shopware\Core\Checkout\Cart\{closure} (line 59)"
17 => "Shopware\Core\Profiling\Profiler::trace (line 86)"
18 => "Shopware\Core\Checkout\Cart\Processor::process (line 132)"
19 => "Shopware\Core\Checkout\Cart\CartRuleLoader::Shopware\Core\Checkout\Cart\{closure} (line 59)"
20 => "Shopware\Core\Profiling\Profiler::trace (line 183)"
21 => "Shopware\Core\Checkout\Cart\CartRuleLoader::load (line 83)"
22 => "Shopware\Core\Checkout\Cart\CartRuleLoader::loadByToken (line 106)"
23 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::Shopware\Core\System\SalesChannel\Context\{closure} (line 59)"
24 => "Shopware\Core\Profiling\Profiler::trace (line 111)"
25 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::get (line 105)"
26 => "Shopware\Core\Framework\Routing\SalesChannelRequestContextResolver::resolve (line 38)"
27 => "Shopware\Core\Framework\Routing\ContextResolverListener::resolveContext (line 118)"
28 => "Symfony\Component\EventDispatcher\Debug\WrappedListener::__invoke (line 230)"
29 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
30 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
31 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
32 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
33 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
34 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
35 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 151)"
36 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
37 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
38 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
39 => "Shopware\Core\HttpKernel::doHandle (line 81)"
40 => "Shopware\Core\HttpKernel::handle (line 85)"
]
|
103 |
0.39 ms |
SELECT `product`.`id`, `product`.`product_number`, `product`.`auto_increment` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN `product_visibility` `product.visibilities` ON `product`.`visibilities` = `product.visibilities`.`product_id` AND `product`.version_id = `product.visibilities`.product_version_id WHERE (`product`.`version_id` = :version) AND ((((`product.visibilities`.`visibility` >= :param_1b0904c544474d6b9fc33f9a1a4f4f6b) AND `product.visibilities`.`sales_channel_id` = :param_30c851a5a5754c73a375e6ee7623579f AND IFNULL(`product`.`active`, `product.parent`.`active`) = :param_fcdefaa60c954b499a914f94d9da7f8f))) AND (`product`.`id` IN (:ids)) GROUP BY `product`.`id`
SELECT `product`.`id`, `product`.`product_number`, `product`.`auto_increment` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN `product_visibility` `product.visibilities` ON `product`.`visibilities` = `product.visibilities`.`product_id` AND `product`.version_id = `product.visibilities`.product_version_id WHERE (`product`.`version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425) AND ((((`product.visibilities`.`visibility` >= 10) AND `product.visibilities`.`sales_channel_id` = 0x4EB9108BE4654CC9B140D14DE85579E9 AND IFNULL(`product`.`active`, `product.parent`.`active`) = 1))) AND (`product`.`id` IN (0x62FD22D7EC2A4A6C86D2F9764FC8AE72)) GROUP BY `product`.`id`;
array:36 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 242)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 107)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntitySearcher::search (line 62)"
4 => "Shopware\Elasticsearch\Framework\DataAbstractionLayer\ElasticsearchEntitySearcher::search (line 216)"
5 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::doSearch (line 122)"
6 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 36)"
7 => "Swag\PayPal\Util\Compatibility\SalesChannelRepositoryDecorator::search (line 207)"
8 => "Tds\MerwareDiscounts\Cart\Checkout\OverwrittenPriceCollector::getSalesChannelProduct (line 93)"
9 => "Tds\MerwareDiscounts\Cart\Checkout\OverwrittenPriceCollector::collect (line 103)"
10 => "Shopware\Core\Checkout\Cart\Processor::runProcessors (line 67)"
11 => "Shopware\Core\Checkout\Cart\Processor::Shopware\Core\Checkout\Cart\{closure} (line 59)"
12 => "Shopware\Core\Profiling\Profiler::trace (line 86)"
13 => "Shopware\Core\Checkout\Cart\Processor::process (line 132)"
14 => "Shopware\Core\Checkout\Cart\CartRuleLoader::Shopware\Core\Checkout\Cart\{closure} (line 59)"
15 => "Shopware\Core\Profiling\Profiler::trace (line 183)"
16 => "Shopware\Core\Checkout\Cart\CartRuleLoader::load (line 83)"
17 => "Shopware\Core\Checkout\Cart\CartRuleLoader::loadByToken (line 106)"
18 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::Shopware\Core\System\SalesChannel\Context\{closure} (line 59)"
19 => "Shopware\Core\Profiling\Profiler::trace (line 111)"
20 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::get (line 105)"
21 => "Shopware\Core\Framework\Routing\SalesChannelRequestContextResolver::resolve (line 38)"
22 => "Shopware\Core\Framework\Routing\ContextResolverListener::resolveContext (line 118)"
23 => "Symfony\Component\EventDispatcher\Debug\WrappedListener::__invoke (line 230)"
24 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
25 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
26 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
27 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
28 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
29 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
30 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 151)"
31 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
32 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
33 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
34 => "Shopware\Core\HttpKernel::doHandle (line 81)"
35 => "Shopware\Core\HttpKernel::handle (line 85)"
]
|
104 |
13.48 ms |
SELECT `product`.`id` as `product.id`, `product`.`version_id` as `product.versionId`, `product`.`parent_id` as `product.parentId`, `product`.`parent_version_id` as `product.parentVersionId`, COALESCE(`product`.`product_manufacturer_id`, `product.parent`.`product_manufacturer_id`) as `product.manufacturerId`, COALESCE(`product`.`product_manufacturer_version_id`, `product.parent`.`product_manufacturer_version_id`) as `product.productManufacturerVersionId`, COALESCE(`product`.`unit_id`, `product.parent`.`unit_id`) as `product.unitId`, COALESCE(`product`.`tax_id`, `product.parent`.`tax_id`) as `product.taxId`, COALESCE(`product`.`product_media_id`, `product.parent`.`product_media_id`) as `product.coverId`, COALESCE(`product`.`product_media_version_id`, `product.parent`.`product_media_version_id`) as `product.productMediaVersionId`, COALESCE(`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`) as `product.deliveryTimeId`, COALESCE(`product`.`product_feature_set_id`, `product.parent`.`product_feature_set_id`) as `product.featureSetId`, COALESCE(`product`.`canonical_product_id`, `product.parent`.`canonical_product_id`) as `product.canonicalProductId`, COALESCE(`product`.`cms_page_id`, `product.parent`.`cms_page_id`) as `product.cmsPageId`, COALESCE(`product`.`cms_page_version_id`, `product.parent`.`cms_page_version_id`) as `product.cmsPageVersionId`, `product.parent`.`price` as `product.price.inherited`, COALESCE(`product`.`price`, `product.parent`.`price`) as `product.price`, `product`.`product_number` as `product.productNumber`, `product`.`stock` as `product.stock`, COALESCE(`product`.`restock_time`, `product.parent`.`restock_time`) as `product.restockTime`, `product`.`auto_increment` as `product.autoIncrement`, COALESCE(`product`.`active`, `product.parent`.`active`) as `product.active`, `product`.`available_stock` as `product.availableStock`, `product`.`available` as `product.available`, COALESCE(`product`.`is_closeout`, `product.parent`.`is_closeout`) as `product.isCloseout`, `product`.`display_group` as `product.displayGroup`, `product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`, COALESCE(`product`.`configurator_group_config`, `product.parent`.`configurator_group_config`) as `product.configuratorGroupConfig`, COALESCE(`product`.`main_variant_id`, `product.parent`.`main_variant_id`) as `product.mainVariantId`, COALESCE(`product`.`display_parent`, `product.parent`.`display_parent`) as `product.displayParent`, `product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`, COALESCE(`product`.`variant_listing_config`, `product.parent`.`variant_listing_config`) as `product.variantListingConfig`, `product`.`variant_restrictions` as `product.variantRestrictions`, COALESCE(`product`.`manufacturer_number`, `product.parent`.`manufacturer_number`) as `product.manufacturerNumber`, COALESCE(`product`.`ean`, `product.parent`.`ean`) as `product.ean`, COALESCE(`product`.`purchase_steps`, `product.parent`.`purchase_steps`) as `product.purchaseSteps`, COALESCE(`product`.`max_purchase`, `product.parent`.`max_purchase`) as `product.maxPurchase`, COALESCE(`product`.`min_purchase`, `product.parent`.`min_purchase`) as `product.minPurchase`, COALESCE(`product`.`purchase_unit`, `product.parent`.`purchase_unit`) as `product.purchaseUnit`, COALESCE(`product`.`reference_unit`, `product.parent`.`reference_unit`) as `product.referenceUnit`, COALESCE(`product`.`shipping_free`, `product.parent`.`shipping_free`) as `product.shippingFree`, `product.parent`.`purchase_prices` as `product.purchasePrices.inherited`, COALESCE(`product`.`purchase_prices`, `product.parent`.`purchase_prices`) as `product.purchasePrices`, COALESCE(`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`) as `product.markAsTopseller`, COALESCE(`product`.`weight`, `product.parent`.`weight`) as `product.weight`, COALESCE(`product`.`width`, `product.parent`.`width`) as `product.width`, COALESCE(`product`.`height`, `product.parent`.`height`) as `product.height`, COALESCE(`product`.`length`, `product.parent`.`length`) as `product.length`, COALESCE(`product`.`release_date`, `product.parent`.`release_date`) as `product.releaseDate`, COALESCE(`product`.`rating_average`, `product.parent`.`rating_average`) as `product.ratingAverage`, `product.parent`.`category_tree` as `product.categoryTree.inherited`, COALESCE(`product`.`category_tree`, `product.parent`.`category_tree`) as `product.categoryTree`, `product.parent`.`property_ids` as `product.propertyIds.inherited`, COALESCE(`product`.`property_ids`, `product.parent`.`property_ids`) as `product.propertyIds`, `product.parent`.`option_ids` as `product.optionIds.inherited`, COALESCE(`product`.`option_ids`, `product.parent`.`option_ids`) as `product.optionIds`, `product.parent`.`stream_ids` as `product.streamIds.inherited`, COALESCE(`product`.`stream_ids`, `product.parent`.`stream_ids`) as `product.streamIds`, `product.parent`.`tag_ids` as `product.tagIds.inherited`, COALESCE(`product`.`tag_ids`, `product.parent`.`tag_ids`) as `product.tagIds`, `product.parent`.`category_ids` as `product.categoryIds.inherited`, COALESCE(`product`.`category_ids`, `product.parent`.`category_ids`) as `product.categoryIds`, `product`.`child_count` as `product.childCount`, COALESCE(`product`.`custom_field_set_selection_active`, `product.parent`.`custom_field_set_selection_active`) as `product.customFieldSetSelectionActive`, `product`.`sales` as `product.sales`, `product`.`states` as `product.states`, `product.tax`.`id` as `product.tax.id`, `product.tax`.`tax_rate` as `product.tax.taxRate`, `product.tax`.`name` as `product.tax.name`, `product.tax`.`position` as `product.tax.position`, `product.tax`.`custom_fields` as `product.tax.customFields`, `product.tax`.`created_at` as `product.tax.createdAt`, `product.tax`.`updated_at` as `product.tax.updatedAt`, `product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`, COALESCE(`product`.`cheapest_price`, `product.parent`.`cheapest_price`) as `product.cheapestPrice`, `product`.`created_at` as `product.createdAt`, `product`.`updated_at` as `product.updatedAt`, `product.unit`.`id` as `product.unit.id`, `product.unit`.`created_at` as `product.unit.createdAt`, `product.unit`.`updated_at` as `product.unit.updatedAt`, `product.unit.translation.shortCode`, COALESCE(`product.unit.translation.shortCode`,`product.unit.translation.shortCode`) as `product.unit.shortCode`, `product.unit.translation.name`, COALESCE(`product.unit.translation.name`,`product.unit.translation.name`) as `product.unit.name`, `product.unit.translation.customFields`, COALESCE(`product.unit.translation.customFields`,`product.unit.translation.customFields`) as `product.unit.customFields`, `product.unit.translation.createdAt`, `product.unit.translation.updatedAt`, `product.unit.translation.unitId`, `product.unit.translation.languageId`, `product.deliveryTime`.`id` as `product.deliveryTime.id`, `product.deliveryTime`.`min` as `product.deliveryTime.min`, `product.deliveryTime`.`max` as `product.deliveryTime.max`, `product.deliveryTime`.`unit` as `product.deliveryTime.unit`, `product.deliveryTime`.`created_at` as `product.deliveryTime.createdAt`, `product.deliveryTime`.`updated_at` as `product.deliveryTime.updatedAt`, `product.deliveryTime.translation.name`, COALESCE(`product.deliveryTime.translation.name`,`product.deliveryTime.translation.name`) as `product.deliveryTime.name`, `product.deliveryTime.translation.customFields`, COALESCE(`product.deliveryTime.translation.customFields`,`product.deliveryTime.translation.customFields`) as `product.deliveryTime.customFields`, `product.deliveryTime.translation.createdAt`, `product.deliveryTime.translation.updatedAt`, `product.deliveryTime.translation.deliveryTimeId`, `product.deliveryTime.translation.languageId`, `product.cover`.`id` as `product.cover.id`, `product.cover`.`version_id` as `product.cover.versionId`, `product.cover`.`product_id` as `product.cover.productId`, `product.cover`.`product_version_id` as `product.cover.productVersionId`, `product.cover`.`media_id` as `product.cover.mediaId`, `product.cover`.`position` as `product.cover.position`, `product.cover.media`.`id` as `product.cover.media.id`, `product.cover.media`.`user_id` as `product.cover.media.userId`, `product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`, `product.cover.media`.`mime_type` as `product.cover.media.mimeType`, `product.cover.media`.`file_extension` as `product.cover.media.fileExtension`, `product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`, `product.cover.media`.`file_name` as `product.cover.media.fileName`, `product.cover.media`.`file_size` as `product.cover.media.fileSize`, `product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`, `product.cover.media`.`meta_data` as `product.cover.media.metaData`, `product.cover.media`.`private` as `product.cover.media.private`, `product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`, `product.cover.media`.`created_at` as `product.cover.media.createdAt`, `product.cover.media`.`updated_at` as `product.cover.media.updatedAt`, `product.cover.media.translation.title`, COALESCE(`product.cover.media.translation.title`,`product.cover.media.translation.title`) as `product.cover.media.title`, `product.cover.media.translation.alt`, COALESCE(`product.cover.media.translation.alt`,`product.cover.media.translation.alt`) as `product.cover.media.alt`, `product.cover.media.translation.customFields`, COALESCE(`product.cover.media.translation.customFields`,`product.cover.media.translation.customFields`) as `product.cover.media.customFields`, `product.cover.media.translation.createdAt`, `product.cover.media.translation.updatedAt`, `product.cover.media.translation.mediaId`, `product.cover.media.translation.languageId`, `product.cover`.`custom_fields` as `product.cover.customFields`, `product.cover`.`created_at` as `product.cover.createdAt`, `product.cover`.`updated_at` as `product.cover.updatedAt`, `product.translation.metaDescription`, `product.parent.translation.metaDescription`, COALESCE(`product.translation.metaDescription`,`product.parent.translation.metaDescription`,`product.translation.metaDescription`) as `product.metaDescription`, `product.translation.name`, `product.parent.translation.name`, COALESCE(`product.translation.name`,`product.parent.translation.name`,`product.translation.name`) as `product.name`, `product.translation.keywords`, `product.parent.translation.keywords`, COALESCE(`product.translation.keywords`,`product.parent.translation.keywords`,`product.translation.keywords`) as `product.keywords`, `product.translation.description`, `product.parent.translation.description`, COALESCE(`product.translation.description`,`product.parent.translation.description`,`product.translation.description`) as `product.description`, `product.translation.metaTitle`, `product.parent.translation.metaTitle`, COALESCE(`product.translation.metaTitle`,`product.parent.translation.metaTitle`,`product.translation.metaTitle`) as `product.metaTitle`, `product.translation.packUnit`, `product.parent.translation.packUnit`, COALESCE(`product.translation.packUnit`,`product.parent.translation.packUnit`,`product.translation.packUnit`) as `product.packUnit`, `product.translation.packUnitPlural`, `product.parent.translation.packUnitPlural`, COALESCE(`product.translation.packUnitPlural`,`product.parent.translation.packUnitPlural`,`product.translation.packUnitPlural`) as `product.packUnitPlural`, `product.translation.customSearchKeywords`, `product.parent.translation.customSearchKeywords`, COALESCE(`product.translation.customSearchKeywords`,`product.parent.translation.customSearchKeywords`,`product.translation.customSearchKeywords`) as `product.customSearchKeywords`, `product.translation.slotConfig`, `product.parent.translation.slotConfig`, COALESCE(`product.translation.slotConfig`,`product.parent.translation.slotConfig`,`product.translation.slotConfig`) as `product.slotConfig`, `product.translation.customFields`, `product.parent.translation.customFields`, COALESCE(`product.translation.customFields`,`product.parent.translation.customFields`,`product.translation.customFields`) as `product.customFields`, `product.translation.createdAt`, `product.parent.translation.createdAt`, `product.translation.updatedAt`, `product.parent.translation.updatedAt`, `product.translation.productId`, `product.parent.translation.productId`, `product.translation.languageId`, `product.parent.translation.languageId`, `product.translation.productVersionId`, `product.parent.translation.productVersionId` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN (SELECT `product.translation`.product_id, `product.translation`.product_version_id, `product.translation`.meta_description as `product.translation.metaDescription`, `product.translation`.name as `product.translation.name`, `product.translation`.keywords as `product.translation.keywords`, `product.translation`.description as `product.translation.description`, `product.translation`.meta_title as `product.translation.metaTitle`, `product.translation`.pack_unit as `product.translation.packUnit`, `product.translation`.pack_unit_plural as `product.translation.packUnitPlural`, `product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`, `product.translation`.slot_config as `product.translation.slotConfig`, `product.translation`.custom_fields as `product.translation.customFields`, `product.translation`.created_at as `product.translation.createdAt`, `product.translation`.updated_at as `product.translation.updatedAt`, `product.translation`.product_id as `product.translation.productId`, `product.translation`.language_id as `product.translation.languageId`, `product.translation`.product_version_id as `product.translation.productVersionId` FROM `product_translation` `product.translation` WHERE `product.translation`.language_id = :languageId) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id` AND `product.product_translation`.product_version_id = `product`.version_id LEFT JOIN (SELECT `product.parent.translation`.product_id, `product.parent.translation`.product_version_id, `product.parent.translation`.meta_description as `product.parent.translation.metaDescription`, `product.parent.translation`.name as `product.parent.translation.name`, `product.parent.translation`.keywords as `product.parent.translation.keywords`, `product.parent.translation`.description as `product.parent.translation.description`, `product.parent.translation`.meta_title as `product.parent.translation.metaTitle`, `product.parent.translation`.pack_unit as `product.parent.translation.packUnit`, `product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`, `product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`, `product.parent.translation`.slot_config as `product.parent.translation.slotConfig`, `product.parent.translation`.custom_fields as `product.parent.translation.customFields`, `product.parent.translation`.created_at as `product.parent.translation.createdAt`, `product.parent.translation`.updated_at as `product.parent.translation.updatedAt`, `product.parent.translation`.product_id as `product.parent.translation.productId`, `product.parent.translation`.language_id as `product.parent.translation.languageId`, `product.parent.translation`.product_version_id as `product.parent.translation.productVersionId` FROM `product_translation` `product.parent.translation` WHERE `product.parent.translation`.language_id = :languageId) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id` AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id` LEFT JOIN `unit` `product.unit` ON `product`.`unit` = `product.unit`.`id` LEFT JOIN `delivery_time` `product.deliveryTime` ON `product`.`deliveryTime` = `product.deliveryTime`.`id` LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id` AND `product`.`version_id` = `product.cover`.`version_id` LEFT JOIN (SELECT `product.unit.translation`.unit_id, `product.unit.translation`.short_code as `product.unit.translation.shortCode`, `product.unit.translation`.name as `product.unit.translation.name`, `product.unit.translation`.custom_fields as `product.unit.translation.customFields`, `product.unit.translation`.created_at as `product.unit.translation.createdAt`, `product.unit.translation`.updated_at as `product.unit.translation.updatedAt`, `product.unit.translation`.unit_id as `product.unit.translation.unitId`, `product.unit.translation`.language_id as `product.unit.translation.languageId` FROM `unit_translation` `product.unit.translation` WHERE `product.unit.translation`.language_id = :languageId) `product.unit.unit_translation` ON `product.unit.unit_translation`.`unit_id` = `product.unit`.`id` LEFT JOIN (SELECT `product.deliveryTime.translation`.delivery_time_id, `product.deliveryTime.translation`.name as `product.deliveryTime.translation.name`, `product.deliveryTime.translation`.custom_fields as `product.deliveryTime.translation.customFields`, `product.deliveryTime.translation`.created_at as `product.deliveryTime.translation.createdAt`, `product.deliveryTime.translation`.updated_at as `product.deliveryTime.translation.updatedAt`, `product.deliveryTime.translation`.delivery_time_id as `product.deliveryTime.translation.deliveryTimeId`, `product.deliveryTime.translation`.language_id as `product.deliveryTime.translation.languageId` FROM `delivery_time_translation` `product.deliveryTime.translation` WHERE `product.deliveryTime.translation`.language_id = :languageId) `product.deliveryTime.delivery_time_translation` ON `product.deliveryTime.delivery_time_translation`.`delivery_time_id` = `product.deliveryTime`.`id` LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id` LEFT JOIN (SELECT `product.cover.media.translation`.media_id, `product.cover.media.translation`.title as `product.cover.media.translation.title`, `product.cover.media.translation`.alt as `product.cover.media.translation.alt`, `product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`, `product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`, `product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`, `product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`, `product.cover.media.translation`.language_id as `product.cover.media.translation.languageId` FROM `media_translation` `product.cover.media.translation` WHERE `product.cover.media.translation`.language_id = :languageId) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id` WHERE (`product`.`version_id` = :version) AND (`product`.`id` IN (:ids))
SELECT
`product`.`id` as `product.id`,
`product`.`version_id` as `product.versionId`,
`product`.`parent_id` as `product.parentId`,
`product`.`parent_version_id` as `product.parentVersionId`,
COALESCE(
`product`.`product_manufacturer_id`,
`product.parent`.`product_manufacturer_id`
) as `product.manufacturerId`,
COALESCE(
`product`.`product_manufacturer_version_id`,
`product.parent`.`product_manufacturer_version_id`
) as `product.productManufacturerVersionId`,
COALESCE(
`product`.`unit_id`, `product.parent`.`unit_id`
) as `product.unitId`,
COALESCE(
`product`.`tax_id`, `product.parent`.`tax_id`
) as `product.taxId`,
COALESCE(
`product`.`product_media_id`, `product.parent`.`product_media_id`
) as `product.coverId`,
COALESCE(
`product`.`product_media_version_id`,
`product.parent`.`product_media_version_id`
) as `product.productMediaVersionId`,
COALESCE(
`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`
) as `product.deliveryTimeId`,
COALESCE(
`product`.`product_feature_set_id`,
`product.parent`.`product_feature_set_id`
) as `product.featureSetId`,
COALESCE(
`product`.`canonical_product_id`,
`product.parent`.`canonical_product_id`
) as `product.canonicalProductId`,
COALESCE(
`product`.`cms_page_id`, `product.parent`.`cms_page_id`
) as `product.cmsPageId`,
COALESCE(
`product`.`cms_page_version_id`,
`product.parent`.`cms_page_version_id`
) as `product.cmsPageVersionId`,
`product.parent`.`price` as `product.price.inherited`,
COALESCE(
`product`.`price`, `product.parent`.`price`
) as `product.price`,
`product`.`product_number` as `product.productNumber`,
`product`.`stock` as `product.stock`,
COALESCE(
`product`.`restock_time`, `product.parent`.`restock_time`
) as `product.restockTime`,
`product`.`auto_increment` as `product.autoIncrement`,
COALESCE(
`product`.`active`, `product.parent`.`active`
) as `product.active`,
`product`.`available_stock` as `product.availableStock`,
`product`.`available` as `product.available`,
COALESCE(
`product`.`is_closeout`, `product.parent`.`is_closeout`
) as `product.isCloseout`,
`product`.`display_group` as `product.displayGroup`,
`product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`,
COALESCE(
`product`.`configurator_group_config`,
`product.parent`.`configurator_group_config`
) as `product.configuratorGroupConfig`,
COALESCE(
`product`.`main_variant_id`, `product.parent`.`main_variant_id`
) as `product.mainVariantId`,
COALESCE(
`product`.`display_parent`, `product.parent`.`display_parent`
) as `product.displayParent`,
`product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`,
COALESCE(
`product`.`variant_listing_config`,
`product.parent`.`variant_listing_config`
) as `product.variantListingConfig`,
`product`.`variant_restrictions` as `product.variantRestrictions`,
COALESCE(
`product`.`manufacturer_number`,
`product.parent`.`manufacturer_number`
) as `product.manufacturerNumber`,
COALESCE(
`product`.`ean`, `product.parent`.`ean`
) as `product.ean`,
COALESCE(
`product`.`purchase_steps`, `product.parent`.`purchase_steps`
) as `product.purchaseSteps`,
COALESCE(
`product`.`max_purchase`, `product.parent`.`max_purchase`
) as `product.maxPurchase`,
COALESCE(
`product`.`min_purchase`, `product.parent`.`min_purchase`
) as `product.minPurchase`,
COALESCE(
`product`.`purchase_unit`, `product.parent`.`purchase_unit`
) as `product.purchaseUnit`,
COALESCE(
`product`.`reference_unit`, `product.parent`.`reference_unit`
) as `product.referenceUnit`,
COALESCE(
`product`.`shipping_free`, `product.parent`.`shipping_free`
) as `product.shippingFree`,
`product.parent`.`purchase_prices` as `product.purchasePrices.inherited`,
COALESCE(
`product`.`purchase_prices`, `product.parent`.`purchase_prices`
) as `product.purchasePrices`,
COALESCE(
`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`
) as `product.markAsTopseller`,
COALESCE(
`product`.`weight`, `product.parent`.`weight`
) as `product.weight`,
COALESCE(
`product`.`width`, `product.parent`.`width`
) as `product.width`,
COALESCE(
`product`.`height`, `product.parent`.`height`
) as `product.height`,
COALESCE(
`product`.`length`, `product.parent`.`length`
) as `product.length`,
COALESCE(
`product`.`release_date`, `product.parent`.`release_date`
) as `product.releaseDate`,
COALESCE(
`product`.`rating_average`, `product.parent`.`rating_average`
) as `product.ratingAverage`,
`product.parent`.`category_tree` as `product.categoryTree.inherited`,
COALESCE(
`product`.`category_tree`, `product.parent`.`category_tree`
) as `product.categoryTree`,
`product.parent`.`property_ids` as `product.propertyIds.inherited`,
COALESCE(
`product`.`property_ids`, `product.parent`.`property_ids`
) as `product.propertyIds`,
`product.parent`.`option_ids` as `product.optionIds.inherited`,
COALESCE(
`product`.`option_ids`, `product.parent`.`option_ids`
) as `product.optionIds`,
`product.parent`.`stream_ids` as `product.streamIds.inherited`,
COALESCE(
`product`.`stream_ids`, `product.parent`.`stream_ids`
) as `product.streamIds`,
`product.parent`.`tag_ids` as `product.tagIds.inherited`,
COALESCE(
`product`.`tag_ids`, `product.parent`.`tag_ids`
) as `product.tagIds`,
`product.parent`.`category_ids` as `product.categoryIds.inherited`,
COALESCE(
`product`.`category_ids`, `product.parent`.`category_ids`
) as `product.categoryIds`,
`product`.`child_count` as `product.childCount`,
COALESCE(
`product`.`custom_field_set_selection_active`,
`product.parent`.`custom_field_set_selection_active`
) as `product.customFieldSetSelectionActive`,
`product`.`sales` as `product.sales`,
`product`.`states` as `product.states`,
`product.tax`.`id` as `product.tax.id`,
`product.tax`.`tax_rate` as `product.tax.taxRate`,
`product.tax`.`name` as `product.tax.name`,
`product.tax`.`position` as `product.tax.position`,
`product.tax`.`custom_fields` as `product.tax.customFields`,
`product.tax`.`created_at` as `product.tax.createdAt`,
`product.tax`.`updated_at` as `product.tax.updatedAt`,
`product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`,
COALESCE(
`product`.`cheapest_price`, `product.parent`.`cheapest_price`
) as `product.cheapestPrice`,
`product`.`created_at` as `product.createdAt`,
`product`.`updated_at` as `product.updatedAt`,
`product.unit`.`id` as `product.unit.id`,
`product.unit`.`created_at` as `product.unit.createdAt`,
`product.unit`.`updated_at` as `product.unit.updatedAt`,
`product.unit.translation.shortCode`,
COALESCE(
`product.unit.translation.shortCode`,
`product.unit.translation.shortCode`
) as `product.unit.shortCode`,
`product.unit.translation.name`,
COALESCE(
`product.unit.translation.name`,
`product.unit.translation.name`
) as `product.unit.name`,
`product.unit.translation.customFields`,
COALESCE(
`product.unit.translation.customFields`,
`product.unit.translation.customFields`
) as `product.unit.customFields`,
`product.unit.translation.createdAt`,
`product.unit.translation.updatedAt`,
`product.unit.translation.unitId`,
`product.unit.translation.languageId`,
`product.deliveryTime`.`id` as `product.deliveryTime.id`,
`product.deliveryTime`.`min` as `product.deliveryTime.min`,
`product.deliveryTime`.`max` as `product.deliveryTime.max`,
`product.deliveryTime`.`unit` as `product.deliveryTime.unit`,
`product.deliveryTime`.`created_at` as `product.deliveryTime.createdAt`,
`product.deliveryTime`.`updated_at` as `product.deliveryTime.updatedAt`,
`product.deliveryTime.translation.name`,
COALESCE(
`product.deliveryTime.translation.name`,
`product.deliveryTime.translation.name`
) as `product.deliveryTime.name`,
`product.deliveryTime.translation.customFields`,
COALESCE(
`product.deliveryTime.translation.customFields`,
`product.deliveryTime.translation.customFields`
) as `product.deliveryTime.customFields`,
`product.deliveryTime.translation.createdAt`,
`product.deliveryTime.translation.updatedAt`,
`product.deliveryTime.translation.deliveryTimeId`,
`product.deliveryTime.translation.languageId`,
`product.cover`.`id` as `product.cover.id`,
`product.cover`.`version_id` as `product.cover.versionId`,
`product.cover`.`product_id` as `product.cover.productId`,
`product.cover`.`product_version_id` as `product.cover.productVersionId`,
`product.cover`.`media_id` as `product.cover.mediaId`,
`product.cover`.`position` as `product.cover.position`,
`product.cover.media`.`id` as `product.cover.media.id`,
`product.cover.media`.`user_id` as `product.cover.media.userId`,
`product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`,
`product.cover.media`.`mime_type` as `product.cover.media.mimeType`,
`product.cover.media`.`file_extension` as `product.cover.media.fileExtension`,
`product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`,
`product.cover.media`.`file_name` as `product.cover.media.fileName`,
`product.cover.media`.`file_size` as `product.cover.media.fileSize`,
`product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`,
`product.cover.media`.`meta_data` as `product.cover.media.metaData`,
`product.cover.media`.`private` as `product.cover.media.private`,
`product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`,
`product.cover.media`.`created_at` as `product.cover.media.createdAt`,
`product.cover.media`.`updated_at` as `product.cover.media.updatedAt`,
`product.cover.media.translation.title`,
COALESCE(
`product.cover.media.translation.title`,
`product.cover.media.translation.title`
) as `product.cover.media.title`,
`product.cover.media.translation.alt`,
COALESCE(
`product.cover.media.translation.alt`,
`product.cover.media.translation.alt`
) as `product.cover.media.alt`,
`product.cover.media.translation.customFields`,
COALESCE(
`product.cover.media.translation.customFields`,
`product.cover.media.translation.customFields`
) as `product.cover.media.customFields`,
`product.cover.media.translation.createdAt`,
`product.cover.media.translation.updatedAt`,
`product.cover.media.translation.mediaId`,
`product.cover.media.translation.languageId`,
`product.cover`.`custom_fields` as `product.cover.customFields`,
`product.cover`.`created_at` as `product.cover.createdAt`,
`product.cover`.`updated_at` as `product.cover.updatedAt`,
`product.translation.metaDescription`,
`product.parent.translation.metaDescription`,
COALESCE(
`product.translation.metaDescription`,
`product.parent.translation.metaDescription`,
`product.translation.metaDescription`
) as `product.metaDescription`,
`product.translation.name`,
`product.parent.translation.name`,
COALESCE(
`product.translation.name`, `product.parent.translation.name`,
`product.translation.name`
) as `product.name`,
`product.translation.keywords`,
`product.parent.translation.keywords`,
COALESCE(
`product.translation.keywords`,
`product.parent.translation.keywords`,
`product.translation.keywords`
) as `product.keywords`,
`product.translation.description`,
`product.parent.translation.description`,
COALESCE(
`product.translation.description`,
`product.parent.translation.description`,
`product.translation.description`
) as `product.description`,
`product.translation.metaTitle`,
`product.parent.translation.metaTitle`,
COALESCE(
`product.translation.metaTitle`,
`product.parent.translation.metaTitle`,
`product.translation.metaTitle`
) as `product.metaTitle`,
`product.translation.packUnit`,
`product.parent.translation.packUnit`,
COALESCE(
`product.translation.packUnit`,
`product.parent.translation.packUnit`,
`product.translation.packUnit`
) as `product.packUnit`,
`product.translation.packUnitPlural`,
`product.parent.translation.packUnitPlural`,
COALESCE(
`product.translation.packUnitPlural`,
`product.parent.translation.packUnitPlural`,
`product.translation.packUnitPlural`
) as `product.packUnitPlural`,
`product.translation.customSearchKeywords`,
`product.parent.translation.customSearchKeywords`,
COALESCE(
`product.translation.customSearchKeywords`,
`product.parent.translation.customSearchKeywords`,
`product.translation.customSearchKeywords`
) as `product.customSearchKeywords`,
`product.translation.slotConfig`,
`product.parent.translation.slotConfig`,
COALESCE(
`product.translation.slotConfig`,
`product.parent.translation.slotConfig`,
`product.translation.slotConfig`
) as `product.slotConfig`,
`product.translation.customFields`,
`product.parent.translation.customFields`,
COALESCE(
`product.translation.customFields`,
`product.parent.translation.customFields`,
`product.translation.customFields`
) as `product.customFields`,
`product.translation.createdAt`,
`product.parent.translation.createdAt`,
`product.translation.updatedAt`,
`product.parent.translation.updatedAt`,
`product.translation.productId`,
`product.parent.translation.productId`,
`product.translation.languageId`,
`product.parent.translation.languageId`,
`product.translation.productVersionId`,
`product.parent.translation.productVersionId`
FROM
`product`
LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id`
AND `product`.`version_id` = `product.parent`.`version_id`
LEFT JOIN (
SELECT
`product.translation`.product_id,
`product.translation`.product_version_id,
`product.translation`.meta_description as `product.translation.metaDescription`,
`product.translation`.name as `product.translation.name`,
`product.translation`.keywords as `product.translation.keywords`,
`product.translation`.description as `product.translation.description`,
`product.translation`.meta_title as `product.translation.metaTitle`,
`product.translation`.pack_unit as `product.translation.packUnit`,
`product.translation`.pack_unit_plural as `product.translation.packUnitPlural`,
`product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`,
`product.translation`.slot_config as `product.translation.slotConfig`,
`product.translation`.custom_fields as `product.translation.customFields`,
`product.translation`.created_at as `product.translation.createdAt`,
`product.translation`.updated_at as `product.translation.updatedAt`,
`product.translation`.product_id as `product.translation.productId`,
`product.translation`.language_id as `product.translation.languageId`,
`product.translation`.product_version_id as `product.translation.productVersionId`
FROM
`product_translation` `product.translation`
WHERE
`product.translation`.language_id = : languageId
) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id`
AND `product.product_translation`.product_version_id = `product`.version_id
LEFT JOIN (
SELECT
`product.parent.translation`.product_id,
`product.parent.translation`.product_version_id,
`product.parent.translation`.meta_description as `product.parent.translation.metaDescription`,
`product.parent.translation`.name as `product.parent.translation.name`,
`product.parent.translation`.keywords as `product.parent.translation.keywords`,
`product.parent.translation`.description as `product.parent.translation.description`,
`product.parent.translation`.meta_title as `product.parent.translation.metaTitle`,
`product.parent.translation`.pack_unit as `product.parent.translation.packUnit`,
`product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`,
`product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`,
`product.parent.translation`.slot_config as `product.parent.translation.slotConfig`,
`product.parent.translation`.custom_fields as `product.parent.translation.customFields`,
`product.parent.translation`.created_at as `product.parent.translation.createdAt`,
`product.parent.translation`.updated_at as `product.parent.translation.updatedAt`,
`product.parent.translation`.product_id as `product.parent.translation.productId`,
`product.parent.translation`.language_id as `product.parent.translation.languageId`,
`product.parent.translation`.product_version_id as `product.parent.translation.productVersionId`
FROM
`product_translation` `product.parent.translation`
WHERE
`product.parent.translation`.language_id = : languageId
) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id`
AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id
LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id`
LEFT JOIN `unit` `product.unit` ON `product`.`unit` = `product.unit`.`id`
LEFT JOIN `delivery_time` `product.deliveryTime` ON `product`.`deliveryTime` = `product.deliveryTime`.`id`
LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id`
AND `product`.`version_id` = `product.cover`.`version_id`
LEFT JOIN (
SELECT
`product.unit.translation`.unit_id,
`product.unit.translation`.short_code as `product.unit.translation.shortCode`,
`product.unit.translation`.name as `product.unit.translation.name`,
`product.unit.translation`.custom_fields as `product.unit.translation.customFields`,
`product.unit.translation`.created_at as `product.unit.translation.createdAt`,
`product.unit.translation`.updated_at as `product.unit.translation.updatedAt`,
`product.unit.translation`.unit_id as `product.unit.translation.unitId`,
`product.unit.translation`.language_id as `product.unit.translation.languageId`
FROM
`unit_translation` `product.unit.translation`
WHERE
`product.unit.translation`.language_id = : languageId
) `product.unit.unit_translation` ON `product.unit.unit_translation`.`unit_id` = `product.unit`.`id`
LEFT JOIN (
SELECT
`product.deliveryTime.translation`.delivery_time_id,
`product.deliveryTime.translation`.name as `product.deliveryTime.translation.name`,
`product.deliveryTime.translation`.custom_fields as `product.deliveryTime.translation.customFields`,
`product.deliveryTime.translation`.created_at as `product.deliveryTime.translation.createdAt`,
`product.deliveryTime.translation`.updated_at as `product.deliveryTime.translation.updatedAt`,
`product.deliveryTime.translation`.delivery_time_id as `product.deliveryTime.translation.deliveryTimeId`,
`product.deliveryTime.translation`.language_id as `product.deliveryTime.translation.languageId`
FROM
`delivery_time_translation` `product.deliveryTime.translation`
WHERE
`product.deliveryTime.translation`.language_id = : languageId
) `product.deliveryTime.delivery_time_translation` ON `product.deliveryTime.delivery_time_translation`.`delivery_time_id` = `product.deliveryTime`.`id`
LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id`
LEFT JOIN (
SELECT
`product.cover.media.translation`.media_id,
`product.cover.media.translation`.title as `product.cover.media.translation.title`,
`product.cover.media.translation`.alt as `product.cover.media.translation.alt`,
`product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`,
`product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`,
`product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`,
`product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`,
`product.cover.media.translation`.language_id as `product.cover.media.translation.languageId`
FROM
`media_translation` `product.cover.media.translation`
WHERE
`product.cover.media.translation`.language_id = : languageId
) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id`
WHERE
(
`product`.`version_id` = : version
)
AND (
`product`.`id` IN (: ids)
)
SELECT `product`.`id` as `product.id`, `product`.`version_id` as `product.versionId`, `product`.`parent_id` as `product.parentId`, `product`.`parent_version_id` as `product.parentVersionId`, COALESCE(`product`.`product_manufacturer_id`, `product.parent`.`product_manufacturer_id`) as `product.manufacturerId`, COALESCE(`product`.`product_manufacturer_version_id`, `product.parent`.`product_manufacturer_version_id`) as `product.productManufacturerVersionId`, COALESCE(`product`.`unit_id`, `product.parent`.`unit_id`) as `product.unitId`, COALESCE(`product`.`tax_id`, `product.parent`.`tax_id`) as `product.taxId`, COALESCE(`product`.`product_media_id`, `product.parent`.`product_media_id`) as `product.coverId`, COALESCE(`product`.`product_media_version_id`, `product.parent`.`product_media_version_id`) as `product.productMediaVersionId`, COALESCE(`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`) as `product.deliveryTimeId`, COALESCE(`product`.`product_feature_set_id`, `product.parent`.`product_feature_set_id`) as `product.featureSetId`, COALESCE(`product`.`canonical_product_id`, `product.parent`.`canonical_product_id`) as `product.canonicalProductId`, COALESCE(`product`.`cms_page_id`, `product.parent`.`cms_page_id`) as `product.cmsPageId`, COALESCE(`product`.`cms_page_version_id`, `product.parent`.`cms_page_version_id`) as `product.cmsPageVersionId`, `product.parent`.`price` as `product.price.inherited`, COALESCE(`product`.`price`, `product.parent`.`price`) as `product.price`, `product`.`product_number` as `product.productNumber`, `product`.`stock` as `product.stock`, COALESCE(`product`.`restock_time`, `product.parent`.`restock_time`) as `product.restockTime`, `product`.`auto_increment` as `product.autoIncrement`, COALESCE(`product`.`active`, `product.parent`.`active`) as `product.active`, `product`.`available_stock` as `product.availableStock`, `product`.`available` as `product.available`, COALESCE(`product`.`is_closeout`, `product.parent`.`is_closeout`) as `product.isCloseout`, `product`.`display_group` as `product.displayGroup`, `product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`, COALESCE(`product`.`configurator_group_config`, `product.parent`.`configurator_group_config`) as `product.configuratorGroupConfig`, COALESCE(`product`.`main_variant_id`, `product.parent`.`main_variant_id`) as `product.mainVariantId`, COALESCE(`product`.`display_parent`, `product.parent`.`display_parent`) as `product.displayParent`, `product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`, COALESCE(`product`.`variant_listing_config`, `product.parent`.`variant_listing_config`) as `product.variantListingConfig`, `product`.`variant_restrictions` as `product.variantRestrictions`, COALESCE(`product`.`manufacturer_number`, `product.parent`.`manufacturer_number`) as `product.manufacturerNumber`, COALESCE(`product`.`ean`, `product.parent`.`ean`) as `product.ean`, COALESCE(`product`.`purchase_steps`, `product.parent`.`purchase_steps`) as `product.purchaseSteps`, COALESCE(`product`.`max_purchase`, `product.parent`.`max_purchase`) as `product.maxPurchase`, COALESCE(`product`.`min_purchase`, `product.parent`.`min_purchase`) as `product.minPurchase`, COALESCE(`product`.`purchase_unit`, `product.parent`.`purchase_unit`) as `product.purchaseUnit`, COALESCE(`product`.`reference_unit`, `product.parent`.`reference_unit`) as `product.referenceUnit`, COALESCE(`product`.`shipping_free`, `product.parent`.`shipping_free`) as `product.shippingFree`, `product.parent`.`purchase_prices` as `product.purchasePrices.inherited`, COALESCE(`product`.`purchase_prices`, `product.parent`.`purchase_prices`) as `product.purchasePrices`, COALESCE(`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`) as `product.markAsTopseller`, COALESCE(`product`.`weight`, `product.parent`.`weight`) as `product.weight`, COALESCE(`product`.`width`, `product.parent`.`width`) as `product.width`, COALESCE(`product`.`height`, `product.parent`.`height`) as `product.height`, COALESCE(`product`.`length`, `product.parent`.`length`) as `product.length`, COALESCE(`product`.`release_date`, `product.parent`.`release_date`) as `product.releaseDate`, COALESCE(`product`.`rating_average`, `product.parent`.`rating_average`) as `product.ratingAverage`, `product.parent`.`category_tree` as `product.categoryTree.inherited`, COALESCE(`product`.`category_tree`, `product.parent`.`category_tree`) as `product.categoryTree`, `product.parent`.`property_ids` as `product.propertyIds.inherited`, COALESCE(`product`.`property_ids`, `product.parent`.`property_ids`) as `product.propertyIds`, `product.parent`.`option_ids` as `product.optionIds.inherited`, COALESCE(`product`.`option_ids`, `product.parent`.`option_ids`) as `product.optionIds`, `product.parent`.`stream_ids` as `product.streamIds.inherited`, COALESCE(`product`.`stream_ids`, `product.parent`.`stream_ids`) as `product.streamIds`, `product.parent`.`tag_ids` as `product.tagIds.inherited`, COALESCE(`product`.`tag_ids`, `product.parent`.`tag_ids`) as `product.tagIds`, `product.parent`.`category_ids` as `product.categoryIds.inherited`, COALESCE(`product`.`category_ids`, `product.parent`.`category_ids`) as `product.categoryIds`, `product`.`child_count` as `product.childCount`, COALESCE(`product`.`custom_field_set_selection_active`, `product.parent`.`custom_field_set_selection_active`) as `product.customFieldSetSelectionActive`, `product`.`sales` as `product.sales`, `product`.`states` as `product.states`, `product.tax`.`id` as `product.tax.id`, `product.tax`.`tax_rate` as `product.tax.taxRate`, `product.tax`.`name` as `product.tax.name`, `product.tax`.`position` as `product.tax.position`, `product.tax`.`custom_fields` as `product.tax.customFields`, `product.tax`.`created_at` as `product.tax.createdAt`, `product.tax`.`updated_at` as `product.tax.updatedAt`, `product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`, COALESCE(`product`.`cheapest_price`, `product.parent`.`cheapest_price`) as `product.cheapestPrice`, `product`.`created_at` as `product.createdAt`, `product`.`updated_at` as `product.updatedAt`, `product.unit`.`id` as `product.unit.id`, `product.unit`.`created_at` as `product.unit.createdAt`, `product.unit`.`updated_at` as `product.unit.updatedAt`, `product.unit.translation.shortCode`, COALESCE(`product.unit.translation.shortCode`,`product.unit.translation.shortCode`) as `product.unit.shortCode`, `product.unit.translation.name`, COALESCE(`product.unit.translation.name`,`product.unit.translation.name`) as `product.unit.name`, `product.unit.translation.customFields`, COALESCE(`product.unit.translation.customFields`,`product.unit.translation.customFields`) as `product.unit.customFields`, `product.unit.translation.createdAt`, `product.unit.translation.updatedAt`, `product.unit.translation.unitId`, `product.unit.translation.languageId`, `product.deliveryTime`.`id` as `product.deliveryTime.id`, `product.deliveryTime`.`min` as `product.deliveryTime.min`, `product.deliveryTime`.`max` as `product.deliveryTime.max`, `product.deliveryTime`.`unit` as `product.deliveryTime.unit`, `product.deliveryTime`.`created_at` as `product.deliveryTime.createdAt`, `product.deliveryTime`.`updated_at` as `product.deliveryTime.updatedAt`, `product.deliveryTime.translation.name`, COALESCE(`product.deliveryTime.translation.name`,`product.deliveryTime.translation.name`) as `product.deliveryTime.name`, `product.deliveryTime.translation.customFields`, COALESCE(`product.deliveryTime.translation.customFields`,`product.deliveryTime.translation.customFields`) as `product.deliveryTime.customFields`, `product.deliveryTime.translation.createdAt`, `product.deliveryTime.translation.updatedAt`, `product.deliveryTime.translation.deliveryTimeId`, `product.deliveryTime.translation.languageId`, `product.cover`.`id` as `product.cover.id`, `product.cover`.`version_id` as `product.cover.versionId`, `product.cover`.`product_id` as `product.cover.productId`, `product.cover`.`product_version_id` as `product.cover.productVersionId`, `product.cover`.`media_id` as `product.cover.mediaId`, `product.cover`.`position` as `product.cover.position`, `product.cover.media`.`id` as `product.cover.media.id`, `product.cover.media`.`user_id` as `product.cover.media.userId`, `product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`, `product.cover.media`.`mime_type` as `product.cover.media.mimeType`, `product.cover.media`.`file_extension` as `product.cover.media.fileExtension`, `product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`, `product.cover.media`.`file_name` as `product.cover.media.fileName`, `product.cover.media`.`file_size` as `product.cover.media.fileSize`, `product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`, `product.cover.media`.`meta_data` as `product.cover.media.metaData`, `product.cover.media`.`private` as `product.cover.media.private`, `product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`, `product.cover.media`.`created_at` as `product.cover.media.createdAt`, `product.cover.media`.`updated_at` as `product.cover.media.updatedAt`, `product.cover.media.translation.title`, COALESCE(`product.cover.media.translation.title`,`product.cover.media.translation.title`) as `product.cover.media.title`, `product.cover.media.translation.alt`, COALESCE(`product.cover.media.translation.alt`,`product.cover.media.translation.alt`) as `product.cover.media.alt`, `product.cover.media.translation.customFields`, COALESCE(`product.cover.media.translation.customFields`,`product.cover.media.translation.customFields`) as `product.cover.media.customFields`, `product.cover.media.translation.createdAt`, `product.cover.media.translation.updatedAt`, `product.cover.media.translation.mediaId`, `product.cover.media.translation.languageId`, `product.cover`.`custom_fields` as `product.cover.customFields`, `product.cover`.`created_at` as `product.cover.createdAt`, `product.cover`.`updated_at` as `product.cover.updatedAt`, `product.translation.metaDescription`, `product.parent.translation.metaDescription`, COALESCE(`product.translation.metaDescription`,`product.parent.translation.metaDescription`,`product.translation.metaDescription`) as `product.metaDescription`, `product.translation.name`, `product.parent.translation.name`, COALESCE(`product.translation.name`,`product.parent.translation.name`,`product.translation.name`) as `product.name`, `product.translation.keywords`, `product.parent.translation.keywords`, COALESCE(`product.translation.keywords`,`product.parent.translation.keywords`,`product.translation.keywords`) as `product.keywords`, `product.translation.description`, `product.parent.translation.description`, COALESCE(`product.translation.description`,`product.parent.translation.description`,`product.translation.description`) as `product.description`, `product.translation.metaTitle`, `product.parent.translation.metaTitle`, COALESCE(`product.translation.metaTitle`,`product.parent.translation.metaTitle`,`product.translation.metaTitle`) as `product.metaTitle`, `product.translation.packUnit`, `product.parent.translation.packUnit`, COALESCE(`product.translation.packUnit`,`product.parent.translation.packUnit`,`product.translation.packUnit`) as `product.packUnit`, `product.translation.packUnitPlural`, `product.parent.translation.packUnitPlural`, COALESCE(`product.translation.packUnitPlural`,`product.parent.translation.packUnitPlural`,`product.translation.packUnitPlural`) as `product.packUnitPlural`, `product.translation.customSearchKeywords`, `product.parent.translation.customSearchKeywords`, COALESCE(`product.translation.customSearchKeywords`,`product.parent.translation.customSearchKeywords`,`product.translation.customSearchKeywords`) as `product.customSearchKeywords`, `product.translation.slotConfig`, `product.parent.translation.slotConfig`, COALESCE(`product.translation.slotConfig`,`product.parent.translation.slotConfig`,`product.translation.slotConfig`) as `product.slotConfig`, `product.translation.customFields`, `product.parent.translation.customFields`, COALESCE(`product.translation.customFields`,`product.parent.translation.customFields`,`product.translation.customFields`) as `product.customFields`, `product.translation.createdAt`, `product.parent.translation.createdAt`, `product.translation.updatedAt`, `product.parent.translation.updatedAt`, `product.translation.productId`, `product.parent.translation.productId`, `product.translation.languageId`, `product.parent.translation.languageId`, `product.translation.productVersionId`, `product.parent.translation.productVersionId` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN (SELECT `product.translation`.product_id, `product.translation`.product_version_id, `product.translation`.meta_description as `product.translation.metaDescription`, `product.translation`.name as `product.translation.name`, `product.translation`.keywords as `product.translation.keywords`, `product.translation`.description as `product.translation.description`, `product.translation`.meta_title as `product.translation.metaTitle`, `product.translation`.pack_unit as `product.translation.packUnit`, `product.translation`.pack_unit_plural as `product.translation.packUnitPlural`, `product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`, `product.translation`.slot_config as `product.translation.slotConfig`, `product.translation`.custom_fields as `product.translation.customFields`, `product.translation`.created_at as `product.translation.createdAt`, `product.translation`.updated_at as `product.translation.updatedAt`, `product.translation`.product_id as `product.translation.productId`, `product.translation`.language_id as `product.translation.languageId`, `product.translation`.product_version_id as `product.translation.productVersionId` FROM `product_translation` `product.translation` WHERE `product.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id` AND `product.product_translation`.product_version_id = `product`.version_id LEFT JOIN (SELECT `product.parent.translation`.product_id, `product.parent.translation`.product_version_id, `product.parent.translation`.meta_description as `product.parent.translation.metaDescription`, `product.parent.translation`.name as `product.parent.translation.name`, `product.parent.translation`.keywords as `product.parent.translation.keywords`, `product.parent.translation`.description as `product.parent.translation.description`, `product.parent.translation`.meta_title as `product.parent.translation.metaTitle`, `product.parent.translation`.pack_unit as `product.parent.translation.packUnit`, `product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`, `product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`, `product.parent.translation`.slot_config as `product.parent.translation.slotConfig`, `product.parent.translation`.custom_fields as `product.parent.translation.customFields`, `product.parent.translation`.created_at as `product.parent.translation.createdAt`, `product.parent.translation`.updated_at as `product.parent.translation.updatedAt`, `product.parent.translation`.product_id as `product.parent.translation.productId`, `product.parent.translation`.language_id as `product.parent.translation.languageId`, `product.parent.translation`.product_version_id as `product.parent.translation.productVersionId` FROM `product_translation` `product.parent.translation` WHERE `product.parent.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id` AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id` LEFT JOIN `unit` `product.unit` ON `product`.`unit` = `product.unit`.`id` LEFT JOIN `delivery_time` `product.deliveryTime` ON `product`.`deliveryTime` = `product.deliveryTime`.`id` LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id` AND `product`.`version_id` = `product.cover`.`version_id` LEFT JOIN (SELECT `product.unit.translation`.unit_id, `product.unit.translation`.short_code as `product.unit.translation.shortCode`, `product.unit.translation`.name as `product.unit.translation.name`, `product.unit.translation`.custom_fields as `product.unit.translation.customFields`, `product.unit.translation`.created_at as `product.unit.translation.createdAt`, `product.unit.translation`.updated_at as `product.unit.translation.updatedAt`, `product.unit.translation`.unit_id as `product.unit.translation.unitId`, `product.unit.translation`.language_id as `product.unit.translation.languageId` FROM `unit_translation` `product.unit.translation` WHERE `product.unit.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.unit.unit_translation` ON `product.unit.unit_translation`.`unit_id` = `product.unit`.`id` LEFT JOIN (SELECT `product.deliveryTime.translation`.delivery_time_id, `product.deliveryTime.translation`.name as `product.deliveryTime.translation.name`, `product.deliveryTime.translation`.custom_fields as `product.deliveryTime.translation.customFields`, `product.deliveryTime.translation`.created_at as `product.deliveryTime.translation.createdAt`, `product.deliveryTime.translation`.updated_at as `product.deliveryTime.translation.updatedAt`, `product.deliveryTime.translation`.delivery_time_id as `product.deliveryTime.translation.deliveryTimeId`, `product.deliveryTime.translation`.language_id as `product.deliveryTime.translation.languageId` FROM `delivery_time_translation` `product.deliveryTime.translation` WHERE `product.deliveryTime.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.deliveryTime.delivery_time_translation` ON `product.deliveryTime.delivery_time_translation`.`delivery_time_id` = `product.deliveryTime`.`id` LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id` LEFT JOIN (SELECT `product.cover.media.translation`.media_id, `product.cover.media.translation`.title as `product.cover.media.translation.title`, `product.cover.media.translation`.alt as `product.cover.media.translation.alt`, `product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`, `product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`, `product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`, `product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`, `product.cover.media.translation`.language_id as `product.cover.media.translation.languageId` FROM `media_translation` `product.cover.media.translation` WHERE `product.cover.media.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id` WHERE (`product`.`version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425) AND (`product`.`id` IN (0x62FD22D7EC2A4A6C86D2F9764FC8AE72));
array:37 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 242)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 316)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetch (line 148)"
4 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 93)"
5 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::read (line 195)"
6 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::read (line 133)"
7 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 36)"
8 => "Swag\PayPal\Util\Compatibility\SalesChannelRepositoryDecorator::search (line 207)"
9 => "Tds\MerwareDiscounts\Cart\Checkout\OverwrittenPriceCollector::getSalesChannelProduct (line 93)"
10 => "Tds\MerwareDiscounts\Cart\Checkout\OverwrittenPriceCollector::collect (line 103)"
11 => "Shopware\Core\Checkout\Cart\Processor::runProcessors (line 67)"
12 => "Shopware\Core\Checkout\Cart\Processor::Shopware\Core\Checkout\Cart\{closure} (line 59)"
13 => "Shopware\Core\Profiling\Profiler::trace (line 86)"
14 => "Shopware\Core\Checkout\Cart\Processor::process (line 132)"
15 => "Shopware\Core\Checkout\Cart\CartRuleLoader::Shopware\Core\Checkout\Cart\{closure} (line 59)"
16 => "Shopware\Core\Profiling\Profiler::trace (line 183)"
17 => "Shopware\Core\Checkout\Cart\CartRuleLoader::load (line 83)"
18 => "Shopware\Core\Checkout\Cart\CartRuleLoader::loadByToken (line 106)"
19 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::Shopware\Core\System\SalesChannel\Context\{closure} (line 59)"
20 => "Shopware\Core\Profiling\Profiler::trace (line 111)"
21 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::get (line 105)"
22 => "Shopware\Core\Framework\Routing\SalesChannelRequestContextResolver::resolve (line 38)"
23 => "Shopware\Core\Framework\Routing\ContextResolverListener::resolveContext (line 118)"
24 => "Symfony\Component\EventDispatcher\Debug\WrappedListener::__invoke (line 230)"
25 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
26 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
27 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
28 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
29 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
30 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
31 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 151)"
32 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
33 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
34 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
35 => "Shopware\Core\HttpKernel::doHandle (line 81)"
36 => "Shopware\Core\HttpKernel::handle (line 85)"
]
|
105 |
0.59 ms |
SELECT `product_price`.`id` as `product_price.id`, `product_price`.`version_id` as `product_price.versionId`, `product_price`.`product_id` as `product_price.productId`, `product_price`.`product_version_id` as `product_price.productVersionId`, `product_price`.`rule_id` as `product_price.ruleId`, `product_price`.`price` as `product_price.price`, `product_price`.`quantity_start` as `product_price.quantityStart`, `product_price`.`quantity_end` as `product_price.quantityEnd`, `product_price`.`custom_fields` as `product_price.customFields`, `product_price`.`created_at` as `product_price.createdAt`, `product_price`.`updated_at` as `product_price.updatedAt` FROM `product_price` WHERE (`product_price`.`version_id` = :version) AND ((`product_price`.`product_id` IN (:param_ea0e14ce21f2429ca31e87d4494b1296)))
SELECT `product_price`.`id` as `product_price.id`, `product_price`.`version_id` as `product_price.versionId`, `product_price`.`product_id` as `product_price.productId`, `product_price`.`product_version_id` as `product_price.productVersionId`, `product_price`.`rule_id` as `product_price.ruleId`, `product_price`.`price` as `product_price.price`, `product_price`.`quantity_start` as `product_price.quantityStart`, `product_price`.`quantity_end` as `product_price.quantityEnd`, `product_price`.`custom_fields` as `product_price.customFields`, `product_price`.`created_at` as `product_price.createdAt`, `product_price`.`updated_at` as `product_price.updatedAt` FROM `product_price` WHERE (`product_price`.`version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425) AND ((`product_price`.`product_id` IN (0x62FD22D7EC2A4A6C86D2F9764FC8AE72)));
array:41 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 242)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 316)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetch (line 148)"
4 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 503)"
5 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::loadOneToManyWithoutPagination (line 438)"
6 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::loadOneToMany (line 1210)"
7 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetchAssociations (line 152)"
8 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 93)"
9 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::read (line 195)"
10 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::read (line 133)"
11 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 36)"
12 => "Swag\PayPal\Util\Compatibility\SalesChannelRepositoryDecorator::search (line 207)"
13 => "Tds\MerwareDiscounts\Cart\Checkout\OverwrittenPriceCollector::getSalesChannelProduct (line 93)"
14 => "Tds\MerwareDiscounts\Cart\Checkout\OverwrittenPriceCollector::collect (line 103)"
15 => "Shopware\Core\Checkout\Cart\Processor::runProcessors (line 67)"
16 => "Shopware\Core\Checkout\Cart\Processor::Shopware\Core\Checkout\Cart\{closure} (line 59)"
17 => "Shopware\Core\Profiling\Profiler::trace (line 86)"
18 => "Shopware\Core\Checkout\Cart\Processor::process (line 132)"
19 => "Shopware\Core\Checkout\Cart\CartRuleLoader::Shopware\Core\Checkout\Cart\{closure} (line 59)"
20 => "Shopware\Core\Profiling\Profiler::trace (line 183)"
21 => "Shopware\Core\Checkout\Cart\CartRuleLoader::load (line 83)"
22 => "Shopware\Core\Checkout\Cart\CartRuleLoader::loadByToken (line 106)"
23 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::Shopware\Core\System\SalesChannel\Context\{closure} (line 59)"
24 => "Shopware\Core\Profiling\Profiler::trace (line 111)"
25 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::get (line 105)"
26 => "Shopware\Core\Framework\Routing\SalesChannelRequestContextResolver::resolve (line 38)"
27 => "Shopware\Core\Framework\Routing\ContextResolverListener::resolveContext (line 118)"
28 => "Symfony\Component\EventDispatcher\Debug\WrappedListener::__invoke (line 230)"
29 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
30 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
31 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
32 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
33 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
34 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
35 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 151)"
36 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
37 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
38 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
39 => "Shopware\Core\HttpKernel::doHandle (line 81)"
40 => "Shopware\Core\HttpKernel::handle (line 85)"
]
|
106 |
0.45 ms |
SELECT `product`.`id`, `product`.`product_number`, `product`.`auto_increment` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN `product_visibility` `product.visibilities` ON `product`.`visibilities` = `product.visibilities`.`product_id` AND `product`.version_id = `product.visibilities`.product_version_id WHERE (`product`.`version_id` = :version) AND ((((`product.visibilities`.`visibility` >= :param_9ff9009175d0485384d291c4b6409ea3) AND `product.visibilities`.`sales_channel_id` = :param_ffced9ee1c9e458e88d95b45523ae8ed AND IFNULL(`product`.`active`, `product.parent`.`active`) = :param_26e3ce9f33cc40cf9508a38024965a7e))) AND (`product`.`id` IN (:ids)) GROUP BY `product`.`id`
SELECT `product`.`id`, `product`.`product_number`, `product`.`auto_increment` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN `product_visibility` `product.visibilities` ON `product`.`visibilities` = `product.visibilities`.`product_id` AND `product`.version_id = `product.visibilities`.product_version_id WHERE (`product`.`version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425) AND ((((`product.visibilities`.`visibility` >= 10) AND `product.visibilities`.`sales_channel_id` = 0x4EB9108BE4654CC9B140D14DE85579E9 AND IFNULL(`product`.`active`, `product.parent`.`active`) = 1))) AND (`product`.`id` IN (0x45477DE48947482693B83BA883822C4C)) GROUP BY `product`.`id`;
array:36 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 242)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 107)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntitySearcher::search (line 62)"
4 => "Shopware\Elasticsearch\Framework\DataAbstractionLayer\ElasticsearchEntitySearcher::search (line 216)"
5 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::doSearch (line 122)"
6 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 36)"
7 => "Swag\PayPal\Util\Compatibility\SalesChannelRepositoryDecorator::search (line 207)"
8 => "Tds\MerwareDiscounts\Cart\Checkout\OverwrittenPriceCollector::getSalesChannelProduct (line 93)"
9 => "Tds\MerwareDiscounts\Cart\Checkout\OverwrittenPriceCollector::collect (line 103)"
10 => "Shopware\Core\Checkout\Cart\Processor::runProcessors (line 67)"
11 => "Shopware\Core\Checkout\Cart\Processor::Shopware\Core\Checkout\Cart\{closure} (line 59)"
12 => "Shopware\Core\Profiling\Profiler::trace (line 86)"
13 => "Shopware\Core\Checkout\Cart\Processor::process (line 132)"
14 => "Shopware\Core\Checkout\Cart\CartRuleLoader::Shopware\Core\Checkout\Cart\{closure} (line 59)"
15 => "Shopware\Core\Profiling\Profiler::trace (line 183)"
16 => "Shopware\Core\Checkout\Cart\CartRuleLoader::load (line 83)"
17 => "Shopware\Core\Checkout\Cart\CartRuleLoader::loadByToken (line 106)"
18 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::Shopware\Core\System\SalesChannel\Context\{closure} (line 59)"
19 => "Shopware\Core\Profiling\Profiler::trace (line 111)"
20 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::get (line 105)"
21 => "Shopware\Core\Framework\Routing\SalesChannelRequestContextResolver::resolve (line 38)"
22 => "Shopware\Core\Framework\Routing\ContextResolverListener::resolveContext (line 118)"
23 => "Symfony\Component\EventDispatcher\Debug\WrappedListener::__invoke (line 230)"
24 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
25 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
26 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
27 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
28 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
29 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
30 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 151)"
31 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
32 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
33 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
34 => "Shopware\Core\HttpKernel::doHandle (line 81)"
35 => "Shopware\Core\HttpKernel::handle (line 85)"
]
|
107 |
14.87 ms |
SELECT `product`.`id` as `product.id`, `product`.`version_id` as `product.versionId`, `product`.`parent_id` as `product.parentId`, `product`.`parent_version_id` as `product.parentVersionId`, COALESCE(`product`.`product_manufacturer_id`, `product.parent`.`product_manufacturer_id`) as `product.manufacturerId`, COALESCE(`product`.`product_manufacturer_version_id`, `product.parent`.`product_manufacturer_version_id`) as `product.productManufacturerVersionId`, COALESCE(`product`.`unit_id`, `product.parent`.`unit_id`) as `product.unitId`, COALESCE(`product`.`tax_id`, `product.parent`.`tax_id`) as `product.taxId`, COALESCE(`product`.`product_media_id`, `product.parent`.`product_media_id`) as `product.coverId`, COALESCE(`product`.`product_media_version_id`, `product.parent`.`product_media_version_id`) as `product.productMediaVersionId`, COALESCE(`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`) as `product.deliveryTimeId`, COALESCE(`product`.`product_feature_set_id`, `product.parent`.`product_feature_set_id`) as `product.featureSetId`, COALESCE(`product`.`canonical_product_id`, `product.parent`.`canonical_product_id`) as `product.canonicalProductId`, COALESCE(`product`.`cms_page_id`, `product.parent`.`cms_page_id`) as `product.cmsPageId`, COALESCE(`product`.`cms_page_version_id`, `product.parent`.`cms_page_version_id`) as `product.cmsPageVersionId`, `product.parent`.`price` as `product.price.inherited`, COALESCE(`product`.`price`, `product.parent`.`price`) as `product.price`, `product`.`product_number` as `product.productNumber`, `product`.`stock` as `product.stock`, COALESCE(`product`.`restock_time`, `product.parent`.`restock_time`) as `product.restockTime`, `product`.`auto_increment` as `product.autoIncrement`, COALESCE(`product`.`active`, `product.parent`.`active`) as `product.active`, `product`.`available_stock` as `product.availableStock`, `product`.`available` as `product.available`, COALESCE(`product`.`is_closeout`, `product.parent`.`is_closeout`) as `product.isCloseout`, `product`.`display_group` as `product.displayGroup`, `product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`, COALESCE(`product`.`configurator_group_config`, `product.parent`.`configurator_group_config`) as `product.configuratorGroupConfig`, COALESCE(`product`.`main_variant_id`, `product.parent`.`main_variant_id`) as `product.mainVariantId`, COALESCE(`product`.`display_parent`, `product.parent`.`display_parent`) as `product.displayParent`, `product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`, COALESCE(`product`.`variant_listing_config`, `product.parent`.`variant_listing_config`) as `product.variantListingConfig`, `product`.`variant_restrictions` as `product.variantRestrictions`, COALESCE(`product`.`manufacturer_number`, `product.parent`.`manufacturer_number`) as `product.manufacturerNumber`, COALESCE(`product`.`ean`, `product.parent`.`ean`) as `product.ean`, COALESCE(`product`.`purchase_steps`, `product.parent`.`purchase_steps`) as `product.purchaseSteps`, COALESCE(`product`.`max_purchase`, `product.parent`.`max_purchase`) as `product.maxPurchase`, COALESCE(`product`.`min_purchase`, `product.parent`.`min_purchase`) as `product.minPurchase`, COALESCE(`product`.`purchase_unit`, `product.parent`.`purchase_unit`) as `product.purchaseUnit`, COALESCE(`product`.`reference_unit`, `product.parent`.`reference_unit`) as `product.referenceUnit`, COALESCE(`product`.`shipping_free`, `product.parent`.`shipping_free`) as `product.shippingFree`, `product.parent`.`purchase_prices` as `product.purchasePrices.inherited`, COALESCE(`product`.`purchase_prices`, `product.parent`.`purchase_prices`) as `product.purchasePrices`, COALESCE(`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`) as `product.markAsTopseller`, COALESCE(`product`.`weight`, `product.parent`.`weight`) as `product.weight`, COALESCE(`product`.`width`, `product.parent`.`width`) as `product.width`, COALESCE(`product`.`height`, `product.parent`.`height`) as `product.height`, COALESCE(`product`.`length`, `product.parent`.`length`) as `product.length`, COALESCE(`product`.`release_date`, `product.parent`.`release_date`) as `product.releaseDate`, COALESCE(`product`.`rating_average`, `product.parent`.`rating_average`) as `product.ratingAverage`, `product.parent`.`category_tree` as `product.categoryTree.inherited`, COALESCE(`product`.`category_tree`, `product.parent`.`category_tree`) as `product.categoryTree`, `product.parent`.`property_ids` as `product.propertyIds.inherited`, COALESCE(`product`.`property_ids`, `product.parent`.`property_ids`) as `product.propertyIds`, `product.parent`.`option_ids` as `product.optionIds.inherited`, COALESCE(`product`.`option_ids`, `product.parent`.`option_ids`) as `product.optionIds`, `product.parent`.`stream_ids` as `product.streamIds.inherited`, COALESCE(`product`.`stream_ids`, `product.parent`.`stream_ids`) as `product.streamIds`, `product.parent`.`tag_ids` as `product.tagIds.inherited`, COALESCE(`product`.`tag_ids`, `product.parent`.`tag_ids`) as `product.tagIds`, `product.parent`.`category_ids` as `product.categoryIds.inherited`, COALESCE(`product`.`category_ids`, `product.parent`.`category_ids`) as `product.categoryIds`, `product`.`child_count` as `product.childCount`, COALESCE(`product`.`custom_field_set_selection_active`, `product.parent`.`custom_field_set_selection_active`) as `product.customFieldSetSelectionActive`, `product`.`sales` as `product.sales`, `product`.`states` as `product.states`, `product.tax`.`id` as `product.tax.id`, `product.tax`.`tax_rate` as `product.tax.taxRate`, `product.tax`.`name` as `product.tax.name`, `product.tax`.`position` as `product.tax.position`, `product.tax`.`custom_fields` as `product.tax.customFields`, `product.tax`.`created_at` as `product.tax.createdAt`, `product.tax`.`updated_at` as `product.tax.updatedAt`, `product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`, COALESCE(`product`.`cheapest_price`, `product.parent`.`cheapest_price`) as `product.cheapestPrice`, `product`.`created_at` as `product.createdAt`, `product`.`updated_at` as `product.updatedAt`, `product.unit`.`id` as `product.unit.id`, `product.unit`.`created_at` as `product.unit.createdAt`, `product.unit`.`updated_at` as `product.unit.updatedAt`, `product.unit.translation.shortCode`, COALESCE(`product.unit.translation.shortCode`,`product.unit.translation.shortCode`) as `product.unit.shortCode`, `product.unit.translation.name`, COALESCE(`product.unit.translation.name`,`product.unit.translation.name`) as `product.unit.name`, `product.unit.translation.customFields`, COALESCE(`product.unit.translation.customFields`,`product.unit.translation.customFields`) as `product.unit.customFields`, `product.unit.translation.createdAt`, `product.unit.translation.updatedAt`, `product.unit.translation.unitId`, `product.unit.translation.languageId`, `product.deliveryTime`.`id` as `product.deliveryTime.id`, `product.deliveryTime`.`min` as `product.deliveryTime.min`, `product.deliveryTime`.`max` as `product.deliveryTime.max`, `product.deliveryTime`.`unit` as `product.deliveryTime.unit`, `product.deliveryTime`.`created_at` as `product.deliveryTime.createdAt`, `product.deliveryTime`.`updated_at` as `product.deliveryTime.updatedAt`, `product.deliveryTime.translation.name`, COALESCE(`product.deliveryTime.translation.name`,`product.deliveryTime.translation.name`) as `product.deliveryTime.name`, `product.deliveryTime.translation.customFields`, COALESCE(`product.deliveryTime.translation.customFields`,`product.deliveryTime.translation.customFields`) as `product.deliveryTime.customFields`, `product.deliveryTime.translation.createdAt`, `product.deliveryTime.translation.updatedAt`, `product.deliveryTime.translation.deliveryTimeId`, `product.deliveryTime.translation.languageId`, `product.cover`.`id` as `product.cover.id`, `product.cover`.`version_id` as `product.cover.versionId`, `product.cover`.`product_id` as `product.cover.productId`, `product.cover`.`product_version_id` as `product.cover.productVersionId`, `product.cover`.`media_id` as `product.cover.mediaId`, `product.cover`.`position` as `product.cover.position`, `product.cover.media`.`id` as `product.cover.media.id`, `product.cover.media`.`user_id` as `product.cover.media.userId`, `product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`, `product.cover.media`.`mime_type` as `product.cover.media.mimeType`, `product.cover.media`.`file_extension` as `product.cover.media.fileExtension`, `product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`, `product.cover.media`.`file_name` as `product.cover.media.fileName`, `product.cover.media`.`file_size` as `product.cover.media.fileSize`, `product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`, `product.cover.media`.`meta_data` as `product.cover.media.metaData`, `product.cover.media`.`private` as `product.cover.media.private`, `product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`, `product.cover.media`.`created_at` as `product.cover.media.createdAt`, `product.cover.media`.`updated_at` as `product.cover.media.updatedAt`, `product.cover.media.translation.title`, COALESCE(`product.cover.media.translation.title`,`product.cover.media.translation.title`) as `product.cover.media.title`, `product.cover.media.translation.alt`, COALESCE(`product.cover.media.translation.alt`,`product.cover.media.translation.alt`) as `product.cover.media.alt`, `product.cover.media.translation.customFields`, COALESCE(`product.cover.media.translation.customFields`,`product.cover.media.translation.customFields`) as `product.cover.media.customFields`, `product.cover.media.translation.createdAt`, `product.cover.media.translation.updatedAt`, `product.cover.media.translation.mediaId`, `product.cover.media.translation.languageId`, `product.cover`.`custom_fields` as `product.cover.customFields`, `product.cover`.`created_at` as `product.cover.createdAt`, `product.cover`.`updated_at` as `product.cover.updatedAt`, `product.translation.metaDescription`, `product.parent.translation.metaDescription`, COALESCE(`product.translation.metaDescription`,`product.parent.translation.metaDescription`,`product.translation.metaDescription`) as `product.metaDescription`, `product.translation.name`, `product.parent.translation.name`, COALESCE(`product.translation.name`,`product.parent.translation.name`,`product.translation.name`) as `product.name`, `product.translation.keywords`, `product.parent.translation.keywords`, COALESCE(`product.translation.keywords`,`product.parent.translation.keywords`,`product.translation.keywords`) as `product.keywords`, `product.translation.description`, `product.parent.translation.description`, COALESCE(`product.translation.description`,`product.parent.translation.description`,`product.translation.description`) as `product.description`, `product.translation.metaTitle`, `product.parent.translation.metaTitle`, COALESCE(`product.translation.metaTitle`,`product.parent.translation.metaTitle`,`product.translation.metaTitle`) as `product.metaTitle`, `product.translation.packUnit`, `product.parent.translation.packUnit`, COALESCE(`product.translation.packUnit`,`product.parent.translation.packUnit`,`product.translation.packUnit`) as `product.packUnit`, `product.translation.packUnitPlural`, `product.parent.translation.packUnitPlural`, COALESCE(`product.translation.packUnitPlural`,`product.parent.translation.packUnitPlural`,`product.translation.packUnitPlural`) as `product.packUnitPlural`, `product.translation.customSearchKeywords`, `product.parent.translation.customSearchKeywords`, COALESCE(`product.translation.customSearchKeywords`,`product.parent.translation.customSearchKeywords`,`product.translation.customSearchKeywords`) as `product.customSearchKeywords`, `product.translation.slotConfig`, `product.parent.translation.slotConfig`, COALESCE(`product.translation.slotConfig`,`product.parent.translation.slotConfig`,`product.translation.slotConfig`) as `product.slotConfig`, `product.translation.customFields`, `product.parent.translation.customFields`, COALESCE(`product.translation.customFields`,`product.parent.translation.customFields`,`product.translation.customFields`) as `product.customFields`, `product.translation.createdAt`, `product.parent.translation.createdAt`, `product.translation.updatedAt`, `product.parent.translation.updatedAt`, `product.translation.productId`, `product.parent.translation.productId`, `product.translation.languageId`, `product.parent.translation.languageId`, `product.translation.productVersionId`, `product.parent.translation.productVersionId` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN (SELECT `product.translation`.product_id, `product.translation`.product_version_id, `product.translation`.meta_description as `product.translation.metaDescription`, `product.translation`.name as `product.translation.name`, `product.translation`.keywords as `product.translation.keywords`, `product.translation`.description as `product.translation.description`, `product.translation`.meta_title as `product.translation.metaTitle`, `product.translation`.pack_unit as `product.translation.packUnit`, `product.translation`.pack_unit_plural as `product.translation.packUnitPlural`, `product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`, `product.translation`.slot_config as `product.translation.slotConfig`, `product.translation`.custom_fields as `product.translation.customFields`, `product.translation`.created_at as `product.translation.createdAt`, `product.translation`.updated_at as `product.translation.updatedAt`, `product.translation`.product_id as `product.translation.productId`, `product.translation`.language_id as `product.translation.languageId`, `product.translation`.product_version_id as `product.translation.productVersionId` FROM `product_translation` `product.translation` WHERE `product.translation`.language_id = :languageId) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id` AND `product.product_translation`.product_version_id = `product`.version_id LEFT JOIN (SELECT `product.parent.translation`.product_id, `product.parent.translation`.product_version_id, `product.parent.translation`.meta_description as `product.parent.translation.metaDescription`, `product.parent.translation`.name as `product.parent.translation.name`, `product.parent.translation`.keywords as `product.parent.translation.keywords`, `product.parent.translation`.description as `product.parent.translation.description`, `product.parent.translation`.meta_title as `product.parent.translation.metaTitle`, `product.parent.translation`.pack_unit as `product.parent.translation.packUnit`, `product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`, `product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`, `product.parent.translation`.slot_config as `product.parent.translation.slotConfig`, `product.parent.translation`.custom_fields as `product.parent.translation.customFields`, `product.parent.translation`.created_at as `product.parent.translation.createdAt`, `product.parent.translation`.updated_at as `product.parent.translation.updatedAt`, `product.parent.translation`.product_id as `product.parent.translation.productId`, `product.parent.translation`.language_id as `product.parent.translation.languageId`, `product.parent.translation`.product_version_id as `product.parent.translation.productVersionId` FROM `product_translation` `product.parent.translation` WHERE `product.parent.translation`.language_id = :languageId) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id` AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id` LEFT JOIN `unit` `product.unit` ON `product`.`unit` = `product.unit`.`id` LEFT JOIN `delivery_time` `product.deliveryTime` ON `product`.`deliveryTime` = `product.deliveryTime`.`id` LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id` AND `product`.`version_id` = `product.cover`.`version_id` LEFT JOIN (SELECT `product.unit.translation`.unit_id, `product.unit.translation`.short_code as `product.unit.translation.shortCode`, `product.unit.translation`.name as `product.unit.translation.name`, `product.unit.translation`.custom_fields as `product.unit.translation.customFields`, `product.unit.translation`.created_at as `product.unit.translation.createdAt`, `product.unit.translation`.updated_at as `product.unit.translation.updatedAt`, `product.unit.translation`.unit_id as `product.unit.translation.unitId`, `product.unit.translation`.language_id as `product.unit.translation.languageId` FROM `unit_translation` `product.unit.translation` WHERE `product.unit.translation`.language_id = :languageId) `product.unit.unit_translation` ON `product.unit.unit_translation`.`unit_id` = `product.unit`.`id` LEFT JOIN (SELECT `product.deliveryTime.translation`.delivery_time_id, `product.deliveryTime.translation`.name as `product.deliveryTime.translation.name`, `product.deliveryTime.translation`.custom_fields as `product.deliveryTime.translation.customFields`, `product.deliveryTime.translation`.created_at as `product.deliveryTime.translation.createdAt`, `product.deliveryTime.translation`.updated_at as `product.deliveryTime.translation.updatedAt`, `product.deliveryTime.translation`.delivery_time_id as `product.deliveryTime.translation.deliveryTimeId`, `product.deliveryTime.translation`.language_id as `product.deliveryTime.translation.languageId` FROM `delivery_time_translation` `product.deliveryTime.translation` WHERE `product.deliveryTime.translation`.language_id = :languageId) `product.deliveryTime.delivery_time_translation` ON `product.deliveryTime.delivery_time_translation`.`delivery_time_id` = `product.deliveryTime`.`id` LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id` LEFT JOIN (SELECT `product.cover.media.translation`.media_id, `product.cover.media.translation`.title as `product.cover.media.translation.title`, `product.cover.media.translation`.alt as `product.cover.media.translation.alt`, `product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`, `product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`, `product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`, `product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`, `product.cover.media.translation`.language_id as `product.cover.media.translation.languageId` FROM `media_translation` `product.cover.media.translation` WHERE `product.cover.media.translation`.language_id = :languageId) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id` WHERE (`product`.`version_id` = :version) AND (`product`.`id` IN (:ids))
SELECT
`product`.`id` as `product.id`,
`product`.`version_id` as `product.versionId`,
`product`.`parent_id` as `product.parentId`,
`product`.`parent_version_id` as `product.parentVersionId`,
COALESCE(
`product`.`product_manufacturer_id`,
`product.parent`.`product_manufacturer_id`
) as `product.manufacturerId`,
COALESCE(
`product`.`product_manufacturer_version_id`,
`product.parent`.`product_manufacturer_version_id`
) as `product.productManufacturerVersionId`,
COALESCE(
`product`.`unit_id`, `product.parent`.`unit_id`
) as `product.unitId`,
COALESCE(
`product`.`tax_id`, `product.parent`.`tax_id`
) as `product.taxId`,
COALESCE(
`product`.`product_media_id`, `product.parent`.`product_media_id`
) as `product.coverId`,
COALESCE(
`product`.`product_media_version_id`,
`product.parent`.`product_media_version_id`
) as `product.productMediaVersionId`,
COALESCE(
`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`
) as `product.deliveryTimeId`,
COALESCE(
`product`.`product_feature_set_id`,
`product.parent`.`product_feature_set_id`
) as `product.featureSetId`,
COALESCE(
`product`.`canonical_product_id`,
`product.parent`.`canonical_product_id`
) as `product.canonicalProductId`,
COALESCE(
`product`.`cms_page_id`, `product.parent`.`cms_page_id`
) as `product.cmsPageId`,
COALESCE(
`product`.`cms_page_version_id`,
`product.parent`.`cms_page_version_id`
) as `product.cmsPageVersionId`,
`product.parent`.`price` as `product.price.inherited`,
COALESCE(
`product`.`price`, `product.parent`.`price`
) as `product.price`,
`product`.`product_number` as `product.productNumber`,
`product`.`stock` as `product.stock`,
COALESCE(
`product`.`restock_time`, `product.parent`.`restock_time`
) as `product.restockTime`,
`product`.`auto_increment` as `product.autoIncrement`,
COALESCE(
`product`.`active`, `product.parent`.`active`
) as `product.active`,
`product`.`available_stock` as `product.availableStock`,
`product`.`available` as `product.available`,
COALESCE(
`product`.`is_closeout`, `product.parent`.`is_closeout`
) as `product.isCloseout`,
`product`.`display_group` as `product.displayGroup`,
`product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`,
COALESCE(
`product`.`configurator_group_config`,
`product.parent`.`configurator_group_config`
) as `product.configuratorGroupConfig`,
COALESCE(
`product`.`main_variant_id`, `product.parent`.`main_variant_id`
) as `product.mainVariantId`,
COALESCE(
`product`.`display_parent`, `product.parent`.`display_parent`
) as `product.displayParent`,
`product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`,
COALESCE(
`product`.`variant_listing_config`,
`product.parent`.`variant_listing_config`
) as `product.variantListingConfig`,
`product`.`variant_restrictions` as `product.variantRestrictions`,
COALESCE(
`product`.`manufacturer_number`,
`product.parent`.`manufacturer_number`
) as `product.manufacturerNumber`,
COALESCE(
`product`.`ean`, `product.parent`.`ean`
) as `product.ean`,
COALESCE(
`product`.`purchase_steps`, `product.parent`.`purchase_steps`
) as `product.purchaseSteps`,
COALESCE(
`product`.`max_purchase`, `product.parent`.`max_purchase`
) as `product.maxPurchase`,
COALESCE(
`product`.`min_purchase`, `product.parent`.`min_purchase`
) as `product.minPurchase`,
COALESCE(
`product`.`purchase_unit`, `product.parent`.`purchase_unit`
) as `product.purchaseUnit`,
COALESCE(
`product`.`reference_unit`, `product.parent`.`reference_unit`
) as `product.referenceUnit`,
COALESCE(
`product`.`shipping_free`, `product.parent`.`shipping_free`
) as `product.shippingFree`,
`product.parent`.`purchase_prices` as `product.purchasePrices.inherited`,
COALESCE(
`product`.`purchase_prices`, `product.parent`.`purchase_prices`
) as `product.purchasePrices`,
COALESCE(
`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`
) as `product.markAsTopseller`,
COALESCE(
`product`.`weight`, `product.parent`.`weight`
) as `product.weight`,
COALESCE(
`product`.`width`, `product.parent`.`width`
) as `product.width`,
COALESCE(
`product`.`height`, `product.parent`.`height`
) as `product.height`,
COALESCE(
`product`.`length`, `product.parent`.`length`
) as `product.length`,
COALESCE(
`product`.`release_date`, `product.parent`.`release_date`
) as `product.releaseDate`,
COALESCE(
`product`.`rating_average`, `product.parent`.`rating_average`
) as `product.ratingAverage`,
`product.parent`.`category_tree` as `product.categoryTree.inherited`,
COALESCE(
`product`.`category_tree`, `product.parent`.`category_tree`
) as `product.categoryTree`,
`product.parent`.`property_ids` as `product.propertyIds.inherited`,
COALESCE(
`product`.`property_ids`, `product.parent`.`property_ids`
) as `product.propertyIds`,
`product.parent`.`option_ids` as `product.optionIds.inherited`,
COALESCE(
`product`.`option_ids`, `product.parent`.`option_ids`
) as `product.optionIds`,
`product.parent`.`stream_ids` as `product.streamIds.inherited`,
COALESCE(
`product`.`stream_ids`, `product.parent`.`stream_ids`
) as `product.streamIds`,
`product.parent`.`tag_ids` as `product.tagIds.inherited`,
COALESCE(
`product`.`tag_ids`, `product.parent`.`tag_ids`
) as `product.tagIds`,
`product.parent`.`category_ids` as `product.categoryIds.inherited`,
COALESCE(
`product`.`category_ids`, `product.parent`.`category_ids`
) as `product.categoryIds`,
`product`.`child_count` as `product.childCount`,
COALESCE(
`product`.`custom_field_set_selection_active`,
`product.parent`.`custom_field_set_selection_active`
) as `product.customFieldSetSelectionActive`,
`product`.`sales` as `product.sales`,
`product`.`states` as `product.states`,
`product.tax`.`id` as `product.tax.id`,
`product.tax`.`tax_rate` as `product.tax.taxRate`,
`product.tax`.`name` as `product.tax.name`,
`product.tax`.`position` as `product.tax.position`,
`product.tax`.`custom_fields` as `product.tax.customFields`,
`product.tax`.`created_at` as `product.tax.createdAt`,
`product.tax`.`updated_at` as `product.tax.updatedAt`,
`product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`,
COALESCE(
`product`.`cheapest_price`, `product.parent`.`cheapest_price`
) as `product.cheapestPrice`,
`product`.`created_at` as `product.createdAt`,
`product`.`updated_at` as `product.updatedAt`,
`product.unit`.`id` as `product.unit.id`,
`product.unit`.`created_at` as `product.unit.createdAt`,
`product.unit`.`updated_at` as `product.unit.updatedAt`,
`product.unit.translation.shortCode`,
COALESCE(
`product.unit.translation.shortCode`,
`product.unit.translation.shortCode`
) as `product.unit.shortCode`,
`product.unit.translation.name`,
COALESCE(
`product.unit.translation.name`,
`product.unit.translation.name`
) as `product.unit.name`,
`product.unit.translation.customFields`,
COALESCE(
`product.unit.translation.customFields`,
`product.unit.translation.customFields`
) as `product.unit.customFields`,
`product.unit.translation.createdAt`,
`product.unit.translation.updatedAt`,
`product.unit.translation.unitId`,
`product.unit.translation.languageId`,
`product.deliveryTime`.`id` as `product.deliveryTime.id`,
`product.deliveryTime`.`min` as `product.deliveryTime.min`,
`product.deliveryTime`.`max` as `product.deliveryTime.max`,
`product.deliveryTime`.`unit` as `product.deliveryTime.unit`,
`product.deliveryTime`.`created_at` as `product.deliveryTime.createdAt`,
`product.deliveryTime`.`updated_at` as `product.deliveryTime.updatedAt`,
`product.deliveryTime.translation.name`,
COALESCE(
`product.deliveryTime.translation.name`,
`product.deliveryTime.translation.name`
) as `product.deliveryTime.name`,
`product.deliveryTime.translation.customFields`,
COALESCE(
`product.deliveryTime.translation.customFields`,
`product.deliveryTime.translation.customFields`
) as `product.deliveryTime.customFields`,
`product.deliveryTime.translation.createdAt`,
`product.deliveryTime.translation.updatedAt`,
`product.deliveryTime.translation.deliveryTimeId`,
`product.deliveryTime.translation.languageId`,
`product.cover`.`id` as `product.cover.id`,
`product.cover`.`version_id` as `product.cover.versionId`,
`product.cover`.`product_id` as `product.cover.productId`,
`product.cover`.`product_version_id` as `product.cover.productVersionId`,
`product.cover`.`media_id` as `product.cover.mediaId`,
`product.cover`.`position` as `product.cover.position`,
`product.cover.media`.`id` as `product.cover.media.id`,
`product.cover.media`.`user_id` as `product.cover.media.userId`,
`product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`,
`product.cover.media`.`mime_type` as `product.cover.media.mimeType`,
`product.cover.media`.`file_extension` as `product.cover.media.fileExtension`,
`product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`,
`product.cover.media`.`file_name` as `product.cover.media.fileName`,
`product.cover.media`.`file_size` as `product.cover.media.fileSize`,
`product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`,
`product.cover.media`.`meta_data` as `product.cover.media.metaData`,
`product.cover.media`.`private` as `product.cover.media.private`,
`product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`,
`product.cover.media`.`created_at` as `product.cover.media.createdAt`,
`product.cover.media`.`updated_at` as `product.cover.media.updatedAt`,
`product.cover.media.translation.title`,
COALESCE(
`product.cover.media.translation.title`,
`product.cover.media.translation.title`
) as `product.cover.media.title`,
`product.cover.media.translation.alt`,
COALESCE(
`product.cover.media.translation.alt`,
`product.cover.media.translation.alt`
) as `product.cover.media.alt`,
`product.cover.media.translation.customFields`,
COALESCE(
`product.cover.media.translation.customFields`,
`product.cover.media.translation.customFields`
) as `product.cover.media.customFields`,
`product.cover.media.translation.createdAt`,
`product.cover.media.translation.updatedAt`,
`product.cover.media.translation.mediaId`,
`product.cover.media.translation.languageId`,
`product.cover`.`custom_fields` as `product.cover.customFields`,
`product.cover`.`created_at` as `product.cover.createdAt`,
`product.cover`.`updated_at` as `product.cover.updatedAt`,
`product.translation.metaDescription`,
`product.parent.translation.metaDescription`,
COALESCE(
`product.translation.metaDescription`,
`product.parent.translation.metaDescription`,
`product.translation.metaDescription`
) as `product.metaDescription`,
`product.translation.name`,
`product.parent.translation.name`,
COALESCE(
`product.translation.name`, `product.parent.translation.name`,
`product.translation.name`
) as `product.name`,
`product.translation.keywords`,
`product.parent.translation.keywords`,
COALESCE(
`product.translation.keywords`,
`product.parent.translation.keywords`,
`product.translation.keywords`
) as `product.keywords`,
`product.translation.description`,
`product.parent.translation.description`,
COALESCE(
`product.translation.description`,
`product.parent.translation.description`,
`product.translation.description`
) as `product.description`,
`product.translation.metaTitle`,
`product.parent.translation.metaTitle`,
COALESCE(
`product.translation.metaTitle`,
`product.parent.translation.metaTitle`,
`product.translation.metaTitle`
) as `product.metaTitle`,
`product.translation.packUnit`,
`product.parent.translation.packUnit`,
COALESCE(
`product.translation.packUnit`,
`product.parent.translation.packUnit`,
`product.translation.packUnit`
) as `product.packUnit`,
`product.translation.packUnitPlural`,
`product.parent.translation.packUnitPlural`,
COALESCE(
`product.translation.packUnitPlural`,
`product.parent.translation.packUnitPlural`,
`product.translation.packUnitPlural`
) as `product.packUnitPlural`,
`product.translation.customSearchKeywords`,
`product.parent.translation.customSearchKeywords`,
COALESCE(
`product.translation.customSearchKeywords`,
`product.parent.translation.customSearchKeywords`,
`product.translation.customSearchKeywords`
) as `product.customSearchKeywords`,
`product.translation.slotConfig`,
`product.parent.translation.slotConfig`,
COALESCE(
`product.translation.slotConfig`,
`product.parent.translation.slotConfig`,
`product.translation.slotConfig`
) as `product.slotConfig`,
`product.translation.customFields`,
`product.parent.translation.customFields`,
COALESCE(
`product.translation.customFields`,
`product.parent.translation.customFields`,
`product.translation.customFields`
) as `product.customFields`,
`product.translation.createdAt`,
`product.parent.translation.createdAt`,
`product.translation.updatedAt`,
`product.parent.translation.updatedAt`,
`product.translation.productId`,
`product.parent.translation.productId`,
`product.translation.languageId`,
`product.parent.translation.languageId`,
`product.translation.productVersionId`,
`product.parent.translation.productVersionId`
FROM
`product`
LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id`
AND `product`.`version_id` = `product.parent`.`version_id`
LEFT JOIN (
SELECT
`product.translation`.product_id,
`product.translation`.product_version_id,
`product.translation`.meta_description as `product.translation.metaDescription`,
`product.translation`.name as `product.translation.name`,
`product.translation`.keywords as `product.translation.keywords`,
`product.translation`.description as `product.translation.description`,
`product.translation`.meta_title as `product.translation.metaTitle`,
`product.translation`.pack_unit as `product.translation.packUnit`,
`product.translation`.pack_unit_plural as `product.translation.packUnitPlural`,
`product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`,
`product.translation`.slot_config as `product.translation.slotConfig`,
`product.translation`.custom_fields as `product.translation.customFields`,
`product.translation`.created_at as `product.translation.createdAt`,
`product.translation`.updated_at as `product.translation.updatedAt`,
`product.translation`.product_id as `product.translation.productId`,
`product.translation`.language_id as `product.translation.languageId`,
`product.translation`.product_version_id as `product.translation.productVersionId`
FROM
`product_translation` `product.translation`
WHERE
`product.translation`.language_id = : languageId
) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id`
AND `product.product_translation`.product_version_id = `product`.version_id
LEFT JOIN (
SELECT
`product.parent.translation`.product_id,
`product.parent.translation`.product_version_id,
`product.parent.translation`.meta_description as `product.parent.translation.metaDescription`,
`product.parent.translation`.name as `product.parent.translation.name`,
`product.parent.translation`.keywords as `product.parent.translation.keywords`,
`product.parent.translation`.description as `product.parent.translation.description`,
`product.parent.translation`.meta_title as `product.parent.translation.metaTitle`,
`product.parent.translation`.pack_unit as `product.parent.translation.packUnit`,
`product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`,
`product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`,
`product.parent.translation`.slot_config as `product.parent.translation.slotConfig`,
`product.parent.translation`.custom_fields as `product.parent.translation.customFields`,
`product.parent.translation`.created_at as `product.parent.translation.createdAt`,
`product.parent.translation`.updated_at as `product.parent.translation.updatedAt`,
`product.parent.translation`.product_id as `product.parent.translation.productId`,
`product.parent.translation`.language_id as `product.parent.translation.languageId`,
`product.parent.translation`.product_version_id as `product.parent.translation.productVersionId`
FROM
`product_translation` `product.parent.translation`
WHERE
`product.parent.translation`.language_id = : languageId
) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id`
AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id
LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id`
LEFT JOIN `unit` `product.unit` ON `product`.`unit` = `product.unit`.`id`
LEFT JOIN `delivery_time` `product.deliveryTime` ON `product`.`deliveryTime` = `product.deliveryTime`.`id`
LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id`
AND `product`.`version_id` = `product.cover`.`version_id`
LEFT JOIN (
SELECT
`product.unit.translation`.unit_id,
`product.unit.translation`.short_code as `product.unit.translation.shortCode`,
`product.unit.translation`.name as `product.unit.translation.name`,
`product.unit.translation`.custom_fields as `product.unit.translation.customFields`,
`product.unit.translation`.created_at as `product.unit.translation.createdAt`,
`product.unit.translation`.updated_at as `product.unit.translation.updatedAt`,
`product.unit.translation`.unit_id as `product.unit.translation.unitId`,
`product.unit.translation`.language_id as `product.unit.translation.languageId`
FROM
`unit_translation` `product.unit.translation`
WHERE
`product.unit.translation`.language_id = : languageId
) `product.unit.unit_translation` ON `product.unit.unit_translation`.`unit_id` = `product.unit`.`id`
LEFT JOIN (
SELECT
`product.deliveryTime.translation`.delivery_time_id,
`product.deliveryTime.translation`.name as `product.deliveryTime.translation.name`,
`product.deliveryTime.translation`.custom_fields as `product.deliveryTime.translation.customFields`,
`product.deliveryTime.translation`.created_at as `product.deliveryTime.translation.createdAt`,
`product.deliveryTime.translation`.updated_at as `product.deliveryTime.translation.updatedAt`,
`product.deliveryTime.translation`.delivery_time_id as `product.deliveryTime.translation.deliveryTimeId`,
`product.deliveryTime.translation`.language_id as `product.deliveryTime.translation.languageId`
FROM
`delivery_time_translation` `product.deliveryTime.translation`
WHERE
`product.deliveryTime.translation`.language_id = : languageId
) `product.deliveryTime.delivery_time_translation` ON `product.deliveryTime.delivery_time_translation`.`delivery_time_id` = `product.deliveryTime`.`id`
LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id`
LEFT JOIN (
SELECT
`product.cover.media.translation`.media_id,
`product.cover.media.translation`.title as `product.cover.media.translation.title`,
`product.cover.media.translation`.alt as `product.cover.media.translation.alt`,
`product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`,
`product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`,
`product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`,
`product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`,
`product.cover.media.translation`.language_id as `product.cover.media.translation.languageId`
FROM
`media_translation` `product.cover.media.translation`
WHERE
`product.cover.media.translation`.language_id = : languageId
) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id`
WHERE
(
`product`.`version_id` = : version
)
AND (
`product`.`id` IN (: ids)
)
SELECT `product`.`id` as `product.id`, `product`.`version_id` as `product.versionId`, `product`.`parent_id` as `product.parentId`, `product`.`parent_version_id` as `product.parentVersionId`, COALESCE(`product`.`product_manufacturer_id`, `product.parent`.`product_manufacturer_id`) as `product.manufacturerId`, COALESCE(`product`.`product_manufacturer_version_id`, `product.parent`.`product_manufacturer_version_id`) as `product.productManufacturerVersionId`, COALESCE(`product`.`unit_id`, `product.parent`.`unit_id`) as `product.unitId`, COALESCE(`product`.`tax_id`, `product.parent`.`tax_id`) as `product.taxId`, COALESCE(`product`.`product_media_id`, `product.parent`.`product_media_id`) as `product.coverId`, COALESCE(`product`.`product_media_version_id`, `product.parent`.`product_media_version_id`) as `product.productMediaVersionId`, COALESCE(`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`) as `product.deliveryTimeId`, COALESCE(`product`.`product_feature_set_id`, `product.parent`.`product_feature_set_id`) as `product.featureSetId`, COALESCE(`product`.`canonical_product_id`, `product.parent`.`canonical_product_id`) as `product.canonicalProductId`, COALESCE(`product`.`cms_page_id`, `product.parent`.`cms_page_id`) as `product.cmsPageId`, COALESCE(`product`.`cms_page_version_id`, `product.parent`.`cms_page_version_id`) as `product.cmsPageVersionId`, `product.parent`.`price` as `product.price.inherited`, COALESCE(`product`.`price`, `product.parent`.`price`) as `product.price`, `product`.`product_number` as `product.productNumber`, `product`.`stock` as `product.stock`, COALESCE(`product`.`restock_time`, `product.parent`.`restock_time`) as `product.restockTime`, `product`.`auto_increment` as `product.autoIncrement`, COALESCE(`product`.`active`, `product.parent`.`active`) as `product.active`, `product`.`available_stock` as `product.availableStock`, `product`.`available` as `product.available`, COALESCE(`product`.`is_closeout`, `product.parent`.`is_closeout`) as `product.isCloseout`, `product`.`display_group` as `product.displayGroup`, `product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`, COALESCE(`product`.`configurator_group_config`, `product.parent`.`configurator_group_config`) as `product.configuratorGroupConfig`, COALESCE(`product`.`main_variant_id`, `product.parent`.`main_variant_id`) as `product.mainVariantId`, COALESCE(`product`.`display_parent`, `product.parent`.`display_parent`) as `product.displayParent`, `product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`, COALESCE(`product`.`variant_listing_config`, `product.parent`.`variant_listing_config`) as `product.variantListingConfig`, `product`.`variant_restrictions` as `product.variantRestrictions`, COALESCE(`product`.`manufacturer_number`, `product.parent`.`manufacturer_number`) as `product.manufacturerNumber`, COALESCE(`product`.`ean`, `product.parent`.`ean`) as `product.ean`, COALESCE(`product`.`purchase_steps`, `product.parent`.`purchase_steps`) as `product.purchaseSteps`, COALESCE(`product`.`max_purchase`, `product.parent`.`max_purchase`) as `product.maxPurchase`, COALESCE(`product`.`min_purchase`, `product.parent`.`min_purchase`) as `product.minPurchase`, COALESCE(`product`.`purchase_unit`, `product.parent`.`purchase_unit`) as `product.purchaseUnit`, COALESCE(`product`.`reference_unit`, `product.parent`.`reference_unit`) as `product.referenceUnit`, COALESCE(`product`.`shipping_free`, `product.parent`.`shipping_free`) as `product.shippingFree`, `product.parent`.`purchase_prices` as `product.purchasePrices.inherited`, COALESCE(`product`.`purchase_prices`, `product.parent`.`purchase_prices`) as `product.purchasePrices`, COALESCE(`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`) as `product.markAsTopseller`, COALESCE(`product`.`weight`, `product.parent`.`weight`) as `product.weight`, COALESCE(`product`.`width`, `product.parent`.`width`) as `product.width`, COALESCE(`product`.`height`, `product.parent`.`height`) as `product.height`, COALESCE(`product`.`length`, `product.parent`.`length`) as `product.length`, COALESCE(`product`.`release_date`, `product.parent`.`release_date`) as `product.releaseDate`, COALESCE(`product`.`rating_average`, `product.parent`.`rating_average`) as `product.ratingAverage`, `product.parent`.`category_tree` as `product.categoryTree.inherited`, COALESCE(`product`.`category_tree`, `product.parent`.`category_tree`) as `product.categoryTree`, `product.parent`.`property_ids` as `product.propertyIds.inherited`, COALESCE(`product`.`property_ids`, `product.parent`.`property_ids`) as `product.propertyIds`, `product.parent`.`option_ids` as `product.optionIds.inherited`, COALESCE(`product`.`option_ids`, `product.parent`.`option_ids`) as `product.optionIds`, `product.parent`.`stream_ids` as `product.streamIds.inherited`, COALESCE(`product`.`stream_ids`, `product.parent`.`stream_ids`) as `product.streamIds`, `product.parent`.`tag_ids` as `product.tagIds.inherited`, COALESCE(`product`.`tag_ids`, `product.parent`.`tag_ids`) as `product.tagIds`, `product.parent`.`category_ids` as `product.categoryIds.inherited`, COALESCE(`product`.`category_ids`, `product.parent`.`category_ids`) as `product.categoryIds`, `product`.`child_count` as `product.childCount`, COALESCE(`product`.`custom_field_set_selection_active`, `product.parent`.`custom_field_set_selection_active`) as `product.customFieldSetSelectionActive`, `product`.`sales` as `product.sales`, `product`.`states` as `product.states`, `product.tax`.`id` as `product.tax.id`, `product.tax`.`tax_rate` as `product.tax.taxRate`, `product.tax`.`name` as `product.tax.name`, `product.tax`.`position` as `product.tax.position`, `product.tax`.`custom_fields` as `product.tax.customFields`, `product.tax`.`created_at` as `product.tax.createdAt`, `product.tax`.`updated_at` as `product.tax.updatedAt`, `product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`, COALESCE(`product`.`cheapest_price`, `product.parent`.`cheapest_price`) as `product.cheapestPrice`, `product`.`created_at` as `product.createdAt`, `product`.`updated_at` as `product.updatedAt`, `product.unit`.`id` as `product.unit.id`, `product.unit`.`created_at` as `product.unit.createdAt`, `product.unit`.`updated_at` as `product.unit.updatedAt`, `product.unit.translation.shortCode`, COALESCE(`product.unit.translation.shortCode`,`product.unit.translation.shortCode`) as `product.unit.shortCode`, `product.unit.translation.name`, COALESCE(`product.unit.translation.name`,`product.unit.translation.name`) as `product.unit.name`, `product.unit.translation.customFields`, COALESCE(`product.unit.translation.customFields`,`product.unit.translation.customFields`) as `product.unit.customFields`, `product.unit.translation.createdAt`, `product.unit.translation.updatedAt`, `product.unit.translation.unitId`, `product.unit.translation.languageId`, `product.deliveryTime`.`id` as `product.deliveryTime.id`, `product.deliveryTime`.`min` as `product.deliveryTime.min`, `product.deliveryTime`.`max` as `product.deliveryTime.max`, `product.deliveryTime`.`unit` as `product.deliveryTime.unit`, `product.deliveryTime`.`created_at` as `product.deliveryTime.createdAt`, `product.deliveryTime`.`updated_at` as `product.deliveryTime.updatedAt`, `product.deliveryTime.translation.name`, COALESCE(`product.deliveryTime.translation.name`,`product.deliveryTime.translation.name`) as `product.deliveryTime.name`, `product.deliveryTime.translation.customFields`, COALESCE(`product.deliveryTime.translation.customFields`,`product.deliveryTime.translation.customFields`) as `product.deliveryTime.customFields`, `product.deliveryTime.translation.createdAt`, `product.deliveryTime.translation.updatedAt`, `product.deliveryTime.translation.deliveryTimeId`, `product.deliveryTime.translation.languageId`, `product.cover`.`id` as `product.cover.id`, `product.cover`.`version_id` as `product.cover.versionId`, `product.cover`.`product_id` as `product.cover.productId`, `product.cover`.`product_version_id` as `product.cover.productVersionId`, `product.cover`.`media_id` as `product.cover.mediaId`, `product.cover`.`position` as `product.cover.position`, `product.cover.media`.`id` as `product.cover.media.id`, `product.cover.media`.`user_id` as `product.cover.media.userId`, `product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`, `product.cover.media`.`mime_type` as `product.cover.media.mimeType`, `product.cover.media`.`file_extension` as `product.cover.media.fileExtension`, `product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`, `product.cover.media`.`file_name` as `product.cover.media.fileName`, `product.cover.media`.`file_size` as `product.cover.media.fileSize`, `product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`, `product.cover.media`.`meta_data` as `product.cover.media.metaData`, `product.cover.media`.`private` as `product.cover.media.private`, `product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`, `product.cover.media`.`created_at` as `product.cover.media.createdAt`, `product.cover.media`.`updated_at` as `product.cover.media.updatedAt`, `product.cover.media.translation.title`, COALESCE(`product.cover.media.translation.title`,`product.cover.media.translation.title`) as `product.cover.media.title`, `product.cover.media.translation.alt`, COALESCE(`product.cover.media.translation.alt`,`product.cover.media.translation.alt`) as `product.cover.media.alt`, `product.cover.media.translation.customFields`, COALESCE(`product.cover.media.translation.customFields`,`product.cover.media.translation.customFields`) as `product.cover.media.customFields`, `product.cover.media.translation.createdAt`, `product.cover.media.translation.updatedAt`, `product.cover.media.translation.mediaId`, `product.cover.media.translation.languageId`, `product.cover`.`custom_fields` as `product.cover.customFields`, `product.cover`.`created_at` as `product.cover.createdAt`, `product.cover`.`updated_at` as `product.cover.updatedAt`, `product.translation.metaDescription`, `product.parent.translation.metaDescription`, COALESCE(`product.translation.metaDescription`,`product.parent.translation.metaDescription`,`product.translation.metaDescription`) as `product.metaDescription`, `product.translation.name`, `product.parent.translation.name`, COALESCE(`product.translation.name`,`product.parent.translation.name`,`product.translation.name`) as `product.name`, `product.translation.keywords`, `product.parent.translation.keywords`, COALESCE(`product.translation.keywords`,`product.parent.translation.keywords`,`product.translation.keywords`) as `product.keywords`, `product.translation.description`, `product.parent.translation.description`, COALESCE(`product.translation.description`,`product.parent.translation.description`,`product.translation.description`) as `product.description`, `product.translation.metaTitle`, `product.parent.translation.metaTitle`, COALESCE(`product.translation.metaTitle`,`product.parent.translation.metaTitle`,`product.translation.metaTitle`) as `product.metaTitle`, `product.translation.packUnit`, `product.parent.translation.packUnit`, COALESCE(`product.translation.packUnit`,`product.parent.translation.packUnit`,`product.translation.packUnit`) as `product.packUnit`, `product.translation.packUnitPlural`, `product.parent.translation.packUnitPlural`, COALESCE(`product.translation.packUnitPlural`,`product.parent.translation.packUnitPlural`,`product.translation.packUnitPlural`) as `product.packUnitPlural`, `product.translation.customSearchKeywords`, `product.parent.translation.customSearchKeywords`, COALESCE(`product.translation.customSearchKeywords`,`product.parent.translation.customSearchKeywords`,`product.translation.customSearchKeywords`) as `product.customSearchKeywords`, `product.translation.slotConfig`, `product.parent.translation.slotConfig`, COALESCE(`product.translation.slotConfig`,`product.parent.translation.slotConfig`,`product.translation.slotConfig`) as `product.slotConfig`, `product.translation.customFields`, `product.parent.translation.customFields`, COALESCE(`product.translation.customFields`,`product.parent.translation.customFields`,`product.translation.customFields`) as `product.customFields`, `product.translation.createdAt`, `product.parent.translation.createdAt`, `product.translation.updatedAt`, `product.parent.translation.updatedAt`, `product.translation.productId`, `product.parent.translation.productId`, `product.translation.languageId`, `product.parent.translation.languageId`, `product.translation.productVersionId`, `product.parent.translation.productVersionId` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN (SELECT `product.translation`.product_id, `product.translation`.product_version_id, `product.translation`.meta_description as `product.translation.metaDescription`, `product.translation`.name as `product.translation.name`, `product.translation`.keywords as `product.translation.keywords`, `product.translation`.description as `product.translation.description`, `product.translation`.meta_title as `product.translation.metaTitle`, `product.translation`.pack_unit as `product.translation.packUnit`, `product.translation`.pack_unit_plural as `product.translation.packUnitPlural`, `product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`, `product.translation`.slot_config as `product.translation.slotConfig`, `product.translation`.custom_fields as `product.translation.customFields`, `product.translation`.created_at as `product.translation.createdAt`, `product.translation`.updated_at as `product.translation.updatedAt`, `product.translation`.product_id as `product.translation.productId`, `product.translation`.language_id as `product.translation.languageId`, `product.translation`.product_version_id as `product.translation.productVersionId` FROM `product_translation` `product.translation` WHERE `product.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id` AND `product.product_translation`.product_version_id = `product`.version_id LEFT JOIN (SELECT `product.parent.translation`.product_id, `product.parent.translation`.product_version_id, `product.parent.translation`.meta_description as `product.parent.translation.metaDescription`, `product.parent.translation`.name as `product.parent.translation.name`, `product.parent.translation`.keywords as `product.parent.translation.keywords`, `product.parent.translation`.description as `product.parent.translation.description`, `product.parent.translation`.meta_title as `product.parent.translation.metaTitle`, `product.parent.translation`.pack_unit as `product.parent.translation.packUnit`, `product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`, `product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`, `product.parent.translation`.slot_config as `product.parent.translation.slotConfig`, `product.parent.translation`.custom_fields as `product.parent.translation.customFields`, `product.parent.translation`.created_at as `product.parent.translation.createdAt`, `product.parent.translation`.updated_at as `product.parent.translation.updatedAt`, `product.parent.translation`.product_id as `product.parent.translation.productId`, `product.parent.translation`.language_id as `product.parent.translation.languageId`, `product.parent.translation`.product_version_id as `product.parent.translation.productVersionId` FROM `product_translation` `product.parent.translation` WHERE `product.parent.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id` AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id` LEFT JOIN `unit` `product.unit` ON `product`.`unit` = `product.unit`.`id` LEFT JOIN `delivery_time` `product.deliveryTime` ON `product`.`deliveryTime` = `product.deliveryTime`.`id` LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id` AND `product`.`version_id` = `product.cover`.`version_id` LEFT JOIN (SELECT `product.unit.translation`.unit_id, `product.unit.translation`.short_code as `product.unit.translation.shortCode`, `product.unit.translation`.name as `product.unit.translation.name`, `product.unit.translation`.custom_fields as `product.unit.translation.customFields`, `product.unit.translation`.created_at as `product.unit.translation.createdAt`, `product.unit.translation`.updated_at as `product.unit.translation.updatedAt`, `product.unit.translation`.unit_id as `product.unit.translation.unitId`, `product.unit.translation`.language_id as `product.unit.translation.languageId` FROM `unit_translation` `product.unit.translation` WHERE `product.unit.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.unit.unit_translation` ON `product.unit.unit_translation`.`unit_id` = `product.unit`.`id` LEFT JOIN (SELECT `product.deliveryTime.translation`.delivery_time_id, `product.deliveryTime.translation`.name as `product.deliveryTime.translation.name`, `product.deliveryTime.translation`.custom_fields as `product.deliveryTime.translation.customFields`, `product.deliveryTime.translation`.created_at as `product.deliveryTime.translation.createdAt`, `product.deliveryTime.translation`.updated_at as `product.deliveryTime.translation.updatedAt`, `product.deliveryTime.translation`.delivery_time_id as `product.deliveryTime.translation.deliveryTimeId`, `product.deliveryTime.translation`.language_id as `product.deliveryTime.translation.languageId` FROM `delivery_time_translation` `product.deliveryTime.translation` WHERE `product.deliveryTime.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.deliveryTime.delivery_time_translation` ON `product.deliveryTime.delivery_time_translation`.`delivery_time_id` = `product.deliveryTime`.`id` LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id` LEFT JOIN (SELECT `product.cover.media.translation`.media_id, `product.cover.media.translation`.title as `product.cover.media.translation.title`, `product.cover.media.translation`.alt as `product.cover.media.translation.alt`, `product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`, `product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`, `product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`, `product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`, `product.cover.media.translation`.language_id as `product.cover.media.translation.languageId` FROM `media_translation` `product.cover.media.translation` WHERE `product.cover.media.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id` WHERE (`product`.`version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425) AND (`product`.`id` IN (0x45477DE48947482693B83BA883822C4C));
array:37 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 242)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 316)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetch (line 148)"
4 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 93)"
5 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::read (line 195)"
6 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::read (line 133)"
7 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 36)"
8 => "Swag\PayPal\Util\Compatibility\SalesChannelRepositoryDecorator::search (line 207)"
9 => "Tds\MerwareDiscounts\Cart\Checkout\OverwrittenPriceCollector::getSalesChannelProduct (line 93)"
10 => "Tds\MerwareDiscounts\Cart\Checkout\OverwrittenPriceCollector::collect (line 103)"
11 => "Shopware\Core\Checkout\Cart\Processor::runProcessors (line 67)"
12 => "Shopware\Core\Checkout\Cart\Processor::Shopware\Core\Checkout\Cart\{closure} (line 59)"
13 => "Shopware\Core\Profiling\Profiler::trace (line 86)"
14 => "Shopware\Core\Checkout\Cart\Processor::process (line 132)"
15 => "Shopware\Core\Checkout\Cart\CartRuleLoader::Shopware\Core\Checkout\Cart\{closure} (line 59)"
16 => "Shopware\Core\Profiling\Profiler::trace (line 183)"
17 => "Shopware\Core\Checkout\Cart\CartRuleLoader::load (line 83)"
18 => "Shopware\Core\Checkout\Cart\CartRuleLoader::loadByToken (line 106)"
19 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::Shopware\Core\System\SalesChannel\Context\{closure} (line 59)"
20 => "Shopware\Core\Profiling\Profiler::trace (line 111)"
21 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::get (line 105)"
22 => "Shopware\Core\Framework\Routing\SalesChannelRequestContextResolver::resolve (line 38)"
23 => "Shopware\Core\Framework\Routing\ContextResolverListener::resolveContext (line 118)"
24 => "Symfony\Component\EventDispatcher\Debug\WrappedListener::__invoke (line 230)"
25 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
26 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
27 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
28 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
29 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
30 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
31 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 151)"
32 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
33 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
34 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
35 => "Shopware\Core\HttpKernel::doHandle (line 81)"
36 => "Shopware\Core\HttpKernel::handle (line 85)"
]
|
108 |
0.85 ms |
SELECT `product_price`.`id` as `product_price.id`, `product_price`.`version_id` as `product_price.versionId`, `product_price`.`product_id` as `product_price.productId`, `product_price`.`product_version_id` as `product_price.productVersionId`, `product_price`.`rule_id` as `product_price.ruleId`, `product_price`.`price` as `product_price.price`, `product_price`.`quantity_start` as `product_price.quantityStart`, `product_price`.`quantity_end` as `product_price.quantityEnd`, `product_price`.`custom_fields` as `product_price.customFields`, `product_price`.`created_at` as `product_price.createdAt`, `product_price`.`updated_at` as `product_price.updatedAt` FROM `product_price` WHERE (`product_price`.`version_id` = :version) AND ((`product_price`.`product_id` IN (:param_bedf7b1a51bd40678d29a90c1b0ae4d5)))
SELECT `product_price`.`id` as `product_price.id`, `product_price`.`version_id` as `product_price.versionId`, `product_price`.`product_id` as `product_price.productId`, `product_price`.`product_version_id` as `product_price.productVersionId`, `product_price`.`rule_id` as `product_price.ruleId`, `product_price`.`price` as `product_price.price`, `product_price`.`quantity_start` as `product_price.quantityStart`, `product_price`.`quantity_end` as `product_price.quantityEnd`, `product_price`.`custom_fields` as `product_price.customFields`, `product_price`.`created_at` as `product_price.createdAt`, `product_price`.`updated_at` as `product_price.updatedAt` FROM `product_price` WHERE (`product_price`.`version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425) AND ((`product_price`.`product_id` IN (0x45477DE48947482693B83BA883822C4C, 0xD6EA2CF1851641F195F7A5C10020EC1C)));
array:41 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 242)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 316)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetch (line 148)"
4 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 503)"
5 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::loadOneToManyWithoutPagination (line 438)"
6 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::loadOneToMany (line 1210)"
7 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetchAssociations (line 152)"
8 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 93)"
9 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::read (line 195)"
10 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::read (line 133)"
11 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 36)"
12 => "Swag\PayPal\Util\Compatibility\SalesChannelRepositoryDecorator::search (line 207)"
13 => "Tds\MerwareDiscounts\Cart\Checkout\OverwrittenPriceCollector::getSalesChannelProduct (line 93)"
14 => "Tds\MerwareDiscounts\Cart\Checkout\OverwrittenPriceCollector::collect (line 103)"
15 => "Shopware\Core\Checkout\Cart\Processor::runProcessors (line 67)"
16 => "Shopware\Core\Checkout\Cart\Processor::Shopware\Core\Checkout\Cart\{closure} (line 59)"
17 => "Shopware\Core\Profiling\Profiler::trace (line 86)"
18 => "Shopware\Core\Checkout\Cart\Processor::process (line 132)"
19 => "Shopware\Core\Checkout\Cart\CartRuleLoader::Shopware\Core\Checkout\Cart\{closure} (line 59)"
20 => "Shopware\Core\Profiling\Profiler::trace (line 183)"
21 => "Shopware\Core\Checkout\Cart\CartRuleLoader::load (line 83)"
22 => "Shopware\Core\Checkout\Cart\CartRuleLoader::loadByToken (line 106)"
23 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::Shopware\Core\System\SalesChannel\Context\{closure} (line 59)"
24 => "Shopware\Core\Profiling\Profiler::trace (line 111)"
25 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::get (line 105)"
26 => "Shopware\Core\Framework\Routing\SalesChannelRequestContextResolver::resolve (line 38)"
27 => "Shopware\Core\Framework\Routing\ContextResolverListener::resolveContext (line 118)"
28 => "Symfony\Component\EventDispatcher\Debug\WrappedListener::__invoke (line 230)"
29 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
30 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
31 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
32 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
33 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
34 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
35 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 151)"
36 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
37 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
38 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
39 => "Shopware\Core\HttpKernel::doHandle (line 81)"
40 => "Shopware\Core\HttpKernel::handle (line 85)"
]
|
109 |
0.47 ms |
SELECT `product`.`id`, `product`.`product_number`, `product`.`auto_increment` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN `product_visibility` `product.visibilities` ON `product`.`visibilities` = `product.visibilities`.`product_id` AND `product`.version_id = `product.visibilities`.product_version_id WHERE (`product`.`version_id` = :version) AND ((((`product.visibilities`.`visibility` >= :param_5c2ba9acb1884a33bd45eeabadf10398) AND `product.visibilities`.`sales_channel_id` = :param_500cb56a9e1e41d48eede09d5357c513 AND IFNULL(`product`.`active`, `product.parent`.`active`) = :param_c146622e53e341a0abac1822f7368a87))) AND (`product`.`id` IN (:ids)) GROUP BY `product`.`id`
SELECT `product`.`id`, `product`.`product_number`, `product`.`auto_increment` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN `product_visibility` `product.visibilities` ON `product`.`visibilities` = `product.visibilities`.`product_id` AND `product`.version_id = `product.visibilities`.product_version_id WHERE (`product`.`version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425) AND ((((`product.visibilities`.`visibility` >= 10) AND `product.visibilities`.`sales_channel_id` = 0x4EB9108BE4654CC9B140D14DE85579E9 AND IFNULL(`product`.`active`, `product.parent`.`active`) = 1))) AND (`product`.`id` IN (0x379E3CA366CF4814A8702F4F4DC01D0B)) GROUP BY `product`.`id`;
array:36 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 242)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 107)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntitySearcher::search (line 62)"
4 => "Shopware\Elasticsearch\Framework\DataAbstractionLayer\ElasticsearchEntitySearcher::search (line 216)"
5 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::doSearch (line 122)"
6 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 36)"
7 => "Swag\PayPal\Util\Compatibility\SalesChannelRepositoryDecorator::search (line 207)"
8 => "Tds\MerwareDiscounts\Cart\Checkout\OverwrittenPriceCollector::getSalesChannelProduct (line 93)"
9 => "Tds\MerwareDiscounts\Cart\Checkout\OverwrittenPriceCollector::collect (line 103)"
10 => "Shopware\Core\Checkout\Cart\Processor::runProcessors (line 67)"
11 => "Shopware\Core\Checkout\Cart\Processor::Shopware\Core\Checkout\Cart\{closure} (line 59)"
12 => "Shopware\Core\Profiling\Profiler::trace (line 86)"
13 => "Shopware\Core\Checkout\Cart\Processor::process (line 132)"
14 => "Shopware\Core\Checkout\Cart\CartRuleLoader::Shopware\Core\Checkout\Cart\{closure} (line 59)"
15 => "Shopware\Core\Profiling\Profiler::trace (line 183)"
16 => "Shopware\Core\Checkout\Cart\CartRuleLoader::load (line 83)"
17 => "Shopware\Core\Checkout\Cart\CartRuleLoader::loadByToken (line 106)"
18 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::Shopware\Core\System\SalesChannel\Context\{closure} (line 59)"
19 => "Shopware\Core\Profiling\Profiler::trace (line 111)"
20 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::get (line 105)"
21 => "Shopware\Core\Framework\Routing\SalesChannelRequestContextResolver::resolve (line 38)"
22 => "Shopware\Core\Framework\Routing\ContextResolverListener::resolveContext (line 118)"
23 => "Symfony\Component\EventDispatcher\Debug\WrappedListener::__invoke (line 230)"
24 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
25 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
26 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
27 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
28 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
29 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
30 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 151)"
31 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
32 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
33 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
34 => "Shopware\Core\HttpKernel::doHandle (line 81)"
35 => "Shopware\Core\HttpKernel::handle (line 85)"
]
|
110 |
15.33 ms |
SELECT `product`.`id` as `product.id`, `product`.`version_id` as `product.versionId`, `product`.`parent_id` as `product.parentId`, `product`.`parent_version_id` as `product.parentVersionId`, COALESCE(`product`.`product_manufacturer_id`, `product.parent`.`product_manufacturer_id`) as `product.manufacturerId`, COALESCE(`product`.`product_manufacturer_version_id`, `product.parent`.`product_manufacturer_version_id`) as `product.productManufacturerVersionId`, COALESCE(`product`.`unit_id`, `product.parent`.`unit_id`) as `product.unitId`, COALESCE(`product`.`tax_id`, `product.parent`.`tax_id`) as `product.taxId`, COALESCE(`product`.`product_media_id`, `product.parent`.`product_media_id`) as `product.coverId`, COALESCE(`product`.`product_media_version_id`, `product.parent`.`product_media_version_id`) as `product.productMediaVersionId`, COALESCE(`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`) as `product.deliveryTimeId`, COALESCE(`product`.`product_feature_set_id`, `product.parent`.`product_feature_set_id`) as `product.featureSetId`, COALESCE(`product`.`canonical_product_id`, `product.parent`.`canonical_product_id`) as `product.canonicalProductId`, COALESCE(`product`.`cms_page_id`, `product.parent`.`cms_page_id`) as `product.cmsPageId`, COALESCE(`product`.`cms_page_version_id`, `product.parent`.`cms_page_version_id`) as `product.cmsPageVersionId`, `product.parent`.`price` as `product.price.inherited`, COALESCE(`product`.`price`, `product.parent`.`price`) as `product.price`, `product`.`product_number` as `product.productNumber`, `product`.`stock` as `product.stock`, COALESCE(`product`.`restock_time`, `product.parent`.`restock_time`) as `product.restockTime`, `product`.`auto_increment` as `product.autoIncrement`, COALESCE(`product`.`active`, `product.parent`.`active`) as `product.active`, `product`.`available_stock` as `product.availableStock`, `product`.`available` as `product.available`, COALESCE(`product`.`is_closeout`, `product.parent`.`is_closeout`) as `product.isCloseout`, `product`.`display_group` as `product.displayGroup`, `product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`, COALESCE(`product`.`configurator_group_config`, `product.parent`.`configurator_group_config`) as `product.configuratorGroupConfig`, COALESCE(`product`.`main_variant_id`, `product.parent`.`main_variant_id`) as `product.mainVariantId`, COALESCE(`product`.`display_parent`, `product.parent`.`display_parent`) as `product.displayParent`, `product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`, COALESCE(`product`.`variant_listing_config`, `product.parent`.`variant_listing_config`) as `product.variantListingConfig`, `product`.`variant_restrictions` as `product.variantRestrictions`, COALESCE(`product`.`manufacturer_number`, `product.parent`.`manufacturer_number`) as `product.manufacturerNumber`, COALESCE(`product`.`ean`, `product.parent`.`ean`) as `product.ean`, COALESCE(`product`.`purchase_steps`, `product.parent`.`purchase_steps`) as `product.purchaseSteps`, COALESCE(`product`.`max_purchase`, `product.parent`.`max_purchase`) as `product.maxPurchase`, COALESCE(`product`.`min_purchase`, `product.parent`.`min_purchase`) as `product.minPurchase`, COALESCE(`product`.`purchase_unit`, `product.parent`.`purchase_unit`) as `product.purchaseUnit`, COALESCE(`product`.`reference_unit`, `product.parent`.`reference_unit`) as `product.referenceUnit`, COALESCE(`product`.`shipping_free`, `product.parent`.`shipping_free`) as `product.shippingFree`, `product.parent`.`purchase_prices` as `product.purchasePrices.inherited`, COALESCE(`product`.`purchase_prices`, `product.parent`.`purchase_prices`) as `product.purchasePrices`, COALESCE(`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`) as `product.markAsTopseller`, COALESCE(`product`.`weight`, `product.parent`.`weight`) as `product.weight`, COALESCE(`product`.`width`, `product.parent`.`width`) as `product.width`, COALESCE(`product`.`height`, `product.parent`.`height`) as `product.height`, COALESCE(`product`.`length`, `product.parent`.`length`) as `product.length`, COALESCE(`product`.`release_date`, `product.parent`.`release_date`) as `product.releaseDate`, COALESCE(`product`.`rating_average`, `product.parent`.`rating_average`) as `product.ratingAverage`, `product.parent`.`category_tree` as `product.categoryTree.inherited`, COALESCE(`product`.`category_tree`, `product.parent`.`category_tree`) as `product.categoryTree`, `product.parent`.`property_ids` as `product.propertyIds.inherited`, COALESCE(`product`.`property_ids`, `product.parent`.`property_ids`) as `product.propertyIds`, `product.parent`.`option_ids` as `product.optionIds.inherited`, COALESCE(`product`.`option_ids`, `product.parent`.`option_ids`) as `product.optionIds`, `product.parent`.`stream_ids` as `product.streamIds.inherited`, COALESCE(`product`.`stream_ids`, `product.parent`.`stream_ids`) as `product.streamIds`, `product.parent`.`tag_ids` as `product.tagIds.inherited`, COALESCE(`product`.`tag_ids`, `product.parent`.`tag_ids`) as `product.tagIds`, `product.parent`.`category_ids` as `product.categoryIds.inherited`, COALESCE(`product`.`category_ids`, `product.parent`.`category_ids`) as `product.categoryIds`, `product`.`child_count` as `product.childCount`, COALESCE(`product`.`custom_field_set_selection_active`, `product.parent`.`custom_field_set_selection_active`) as `product.customFieldSetSelectionActive`, `product`.`sales` as `product.sales`, `product`.`states` as `product.states`, `product.tax`.`id` as `product.tax.id`, `product.tax`.`tax_rate` as `product.tax.taxRate`, `product.tax`.`name` as `product.tax.name`, `product.tax`.`position` as `product.tax.position`, `product.tax`.`custom_fields` as `product.tax.customFields`, `product.tax`.`created_at` as `product.tax.createdAt`, `product.tax`.`updated_at` as `product.tax.updatedAt`, `product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`, COALESCE(`product`.`cheapest_price`, `product.parent`.`cheapest_price`) as `product.cheapestPrice`, `product`.`created_at` as `product.createdAt`, `product`.`updated_at` as `product.updatedAt`, `product.unit`.`id` as `product.unit.id`, `product.unit`.`created_at` as `product.unit.createdAt`, `product.unit`.`updated_at` as `product.unit.updatedAt`, `product.unit.translation.shortCode`, COALESCE(`product.unit.translation.shortCode`,`product.unit.translation.shortCode`) as `product.unit.shortCode`, `product.unit.translation.name`, COALESCE(`product.unit.translation.name`,`product.unit.translation.name`) as `product.unit.name`, `product.unit.translation.customFields`, COALESCE(`product.unit.translation.customFields`,`product.unit.translation.customFields`) as `product.unit.customFields`, `product.unit.translation.createdAt`, `product.unit.translation.updatedAt`, `product.unit.translation.unitId`, `product.unit.translation.languageId`, `product.deliveryTime`.`id` as `product.deliveryTime.id`, `product.deliveryTime`.`min` as `product.deliveryTime.min`, `product.deliveryTime`.`max` as `product.deliveryTime.max`, `product.deliveryTime`.`unit` as `product.deliveryTime.unit`, `product.deliveryTime`.`created_at` as `product.deliveryTime.createdAt`, `product.deliveryTime`.`updated_at` as `product.deliveryTime.updatedAt`, `product.deliveryTime.translation.name`, COALESCE(`product.deliveryTime.translation.name`,`product.deliveryTime.translation.name`) as `product.deliveryTime.name`, `product.deliveryTime.translation.customFields`, COALESCE(`product.deliveryTime.translation.customFields`,`product.deliveryTime.translation.customFields`) as `product.deliveryTime.customFields`, `product.deliveryTime.translation.createdAt`, `product.deliveryTime.translation.updatedAt`, `product.deliveryTime.translation.deliveryTimeId`, `product.deliveryTime.translation.languageId`, `product.cover`.`id` as `product.cover.id`, `product.cover`.`version_id` as `product.cover.versionId`, `product.cover`.`product_id` as `product.cover.productId`, `product.cover`.`product_version_id` as `product.cover.productVersionId`, `product.cover`.`media_id` as `product.cover.mediaId`, `product.cover`.`position` as `product.cover.position`, `product.cover.media`.`id` as `product.cover.media.id`, `product.cover.media`.`user_id` as `product.cover.media.userId`, `product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`, `product.cover.media`.`mime_type` as `product.cover.media.mimeType`, `product.cover.media`.`file_extension` as `product.cover.media.fileExtension`, `product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`, `product.cover.media`.`file_name` as `product.cover.media.fileName`, `product.cover.media`.`file_size` as `product.cover.media.fileSize`, `product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`, `product.cover.media`.`meta_data` as `product.cover.media.metaData`, `product.cover.media`.`private` as `product.cover.media.private`, `product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`, `product.cover.media`.`created_at` as `product.cover.media.createdAt`, `product.cover.media`.`updated_at` as `product.cover.media.updatedAt`, `product.cover.media.translation.title`, COALESCE(`product.cover.media.translation.title`,`product.cover.media.translation.title`) as `product.cover.media.title`, `product.cover.media.translation.alt`, COALESCE(`product.cover.media.translation.alt`,`product.cover.media.translation.alt`) as `product.cover.media.alt`, `product.cover.media.translation.customFields`, COALESCE(`product.cover.media.translation.customFields`,`product.cover.media.translation.customFields`) as `product.cover.media.customFields`, `product.cover.media.translation.createdAt`, `product.cover.media.translation.updatedAt`, `product.cover.media.translation.mediaId`, `product.cover.media.translation.languageId`, `product.cover`.`custom_fields` as `product.cover.customFields`, `product.cover`.`created_at` as `product.cover.createdAt`, `product.cover`.`updated_at` as `product.cover.updatedAt`, `product.translation.metaDescription`, `product.parent.translation.metaDescription`, COALESCE(`product.translation.metaDescription`,`product.parent.translation.metaDescription`,`product.translation.metaDescription`) as `product.metaDescription`, `product.translation.name`, `product.parent.translation.name`, COALESCE(`product.translation.name`,`product.parent.translation.name`,`product.translation.name`) as `product.name`, `product.translation.keywords`, `product.parent.translation.keywords`, COALESCE(`product.translation.keywords`,`product.parent.translation.keywords`,`product.translation.keywords`) as `product.keywords`, `product.translation.description`, `product.parent.translation.description`, COALESCE(`product.translation.description`,`product.parent.translation.description`,`product.translation.description`) as `product.description`, `product.translation.metaTitle`, `product.parent.translation.metaTitle`, COALESCE(`product.translation.metaTitle`,`product.parent.translation.metaTitle`,`product.translation.metaTitle`) as `product.metaTitle`, `product.translation.packUnit`, `product.parent.translation.packUnit`, COALESCE(`product.translation.packUnit`,`product.parent.translation.packUnit`,`product.translation.packUnit`) as `product.packUnit`, `product.translation.packUnitPlural`, `product.parent.translation.packUnitPlural`, COALESCE(`product.translation.packUnitPlural`,`product.parent.translation.packUnitPlural`,`product.translation.packUnitPlural`) as `product.packUnitPlural`, `product.translation.customSearchKeywords`, `product.parent.translation.customSearchKeywords`, COALESCE(`product.translation.customSearchKeywords`,`product.parent.translation.customSearchKeywords`,`product.translation.customSearchKeywords`) as `product.customSearchKeywords`, `product.translation.slotConfig`, `product.parent.translation.slotConfig`, COALESCE(`product.translation.slotConfig`,`product.parent.translation.slotConfig`,`product.translation.slotConfig`) as `product.slotConfig`, `product.translation.customFields`, `product.parent.translation.customFields`, COALESCE(`product.translation.customFields`,`product.parent.translation.customFields`,`product.translation.customFields`) as `product.customFields`, `product.translation.createdAt`, `product.parent.translation.createdAt`, `product.translation.updatedAt`, `product.parent.translation.updatedAt`, `product.translation.productId`, `product.parent.translation.productId`, `product.translation.languageId`, `product.parent.translation.languageId`, `product.translation.productVersionId`, `product.parent.translation.productVersionId` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN (SELECT `product.translation`.product_id, `product.translation`.product_version_id, `product.translation`.meta_description as `product.translation.metaDescription`, `product.translation`.name as `product.translation.name`, `product.translation`.keywords as `product.translation.keywords`, `product.translation`.description as `product.translation.description`, `product.translation`.meta_title as `product.translation.metaTitle`, `product.translation`.pack_unit as `product.translation.packUnit`, `product.translation`.pack_unit_plural as `product.translation.packUnitPlural`, `product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`, `product.translation`.slot_config as `product.translation.slotConfig`, `product.translation`.custom_fields as `product.translation.customFields`, `product.translation`.created_at as `product.translation.createdAt`, `product.translation`.updated_at as `product.translation.updatedAt`, `product.translation`.product_id as `product.translation.productId`, `product.translation`.language_id as `product.translation.languageId`, `product.translation`.product_version_id as `product.translation.productVersionId` FROM `product_translation` `product.translation` WHERE `product.translation`.language_id = :languageId) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id` AND `product.product_translation`.product_version_id = `product`.version_id LEFT JOIN (SELECT `product.parent.translation`.product_id, `product.parent.translation`.product_version_id, `product.parent.translation`.meta_description as `product.parent.translation.metaDescription`, `product.parent.translation`.name as `product.parent.translation.name`, `product.parent.translation`.keywords as `product.parent.translation.keywords`, `product.parent.translation`.description as `product.parent.translation.description`, `product.parent.translation`.meta_title as `product.parent.translation.metaTitle`, `product.parent.translation`.pack_unit as `product.parent.translation.packUnit`, `product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`, `product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`, `product.parent.translation`.slot_config as `product.parent.translation.slotConfig`, `product.parent.translation`.custom_fields as `product.parent.translation.customFields`, `product.parent.translation`.created_at as `product.parent.translation.createdAt`, `product.parent.translation`.updated_at as `product.parent.translation.updatedAt`, `product.parent.translation`.product_id as `product.parent.translation.productId`, `product.parent.translation`.language_id as `product.parent.translation.languageId`, `product.parent.translation`.product_version_id as `product.parent.translation.productVersionId` FROM `product_translation` `product.parent.translation` WHERE `product.parent.translation`.language_id = :languageId) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id` AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id` LEFT JOIN `unit` `product.unit` ON `product`.`unit` = `product.unit`.`id` LEFT JOIN `delivery_time` `product.deliveryTime` ON `product`.`deliveryTime` = `product.deliveryTime`.`id` LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id` AND `product`.`version_id` = `product.cover`.`version_id` LEFT JOIN (SELECT `product.unit.translation`.unit_id, `product.unit.translation`.short_code as `product.unit.translation.shortCode`, `product.unit.translation`.name as `product.unit.translation.name`, `product.unit.translation`.custom_fields as `product.unit.translation.customFields`, `product.unit.translation`.created_at as `product.unit.translation.createdAt`, `product.unit.translation`.updated_at as `product.unit.translation.updatedAt`, `product.unit.translation`.unit_id as `product.unit.translation.unitId`, `product.unit.translation`.language_id as `product.unit.translation.languageId` FROM `unit_translation` `product.unit.translation` WHERE `product.unit.translation`.language_id = :languageId) `product.unit.unit_translation` ON `product.unit.unit_translation`.`unit_id` = `product.unit`.`id` LEFT JOIN (SELECT `product.deliveryTime.translation`.delivery_time_id, `product.deliveryTime.translation`.name as `product.deliveryTime.translation.name`, `product.deliveryTime.translation`.custom_fields as `product.deliveryTime.translation.customFields`, `product.deliveryTime.translation`.created_at as `product.deliveryTime.translation.createdAt`, `product.deliveryTime.translation`.updated_at as `product.deliveryTime.translation.updatedAt`, `product.deliveryTime.translation`.delivery_time_id as `product.deliveryTime.translation.deliveryTimeId`, `product.deliveryTime.translation`.language_id as `product.deliveryTime.translation.languageId` FROM `delivery_time_translation` `product.deliveryTime.translation` WHERE `product.deliveryTime.translation`.language_id = :languageId) `product.deliveryTime.delivery_time_translation` ON `product.deliveryTime.delivery_time_translation`.`delivery_time_id` = `product.deliveryTime`.`id` LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id` LEFT JOIN (SELECT `product.cover.media.translation`.media_id, `product.cover.media.translation`.title as `product.cover.media.translation.title`, `product.cover.media.translation`.alt as `product.cover.media.translation.alt`, `product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`, `product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`, `product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`, `product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`, `product.cover.media.translation`.language_id as `product.cover.media.translation.languageId` FROM `media_translation` `product.cover.media.translation` WHERE `product.cover.media.translation`.language_id = :languageId) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id` WHERE (`product`.`version_id` = :version) AND (`product`.`id` IN (:ids))
SELECT
`product`.`id` as `product.id`,
`product`.`version_id` as `product.versionId`,
`product`.`parent_id` as `product.parentId`,
`product`.`parent_version_id` as `product.parentVersionId`,
COALESCE(
`product`.`product_manufacturer_id`,
`product.parent`.`product_manufacturer_id`
) as `product.manufacturerId`,
COALESCE(
`product`.`product_manufacturer_version_id`,
`product.parent`.`product_manufacturer_version_id`
) as `product.productManufacturerVersionId`,
COALESCE(
`product`.`unit_id`, `product.parent`.`unit_id`
) as `product.unitId`,
COALESCE(
`product`.`tax_id`, `product.parent`.`tax_id`
) as `product.taxId`,
COALESCE(
`product`.`product_media_id`, `product.parent`.`product_media_id`
) as `product.coverId`,
COALESCE(
`product`.`product_media_version_id`,
`product.parent`.`product_media_version_id`
) as `product.productMediaVersionId`,
COALESCE(
`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`
) as `product.deliveryTimeId`,
COALESCE(
`product`.`product_feature_set_id`,
`product.parent`.`product_feature_set_id`
) as `product.featureSetId`,
COALESCE(
`product`.`canonical_product_id`,
`product.parent`.`canonical_product_id`
) as `product.canonicalProductId`,
COALESCE(
`product`.`cms_page_id`, `product.parent`.`cms_page_id`
) as `product.cmsPageId`,
COALESCE(
`product`.`cms_page_version_id`,
`product.parent`.`cms_page_version_id`
) as `product.cmsPageVersionId`,
`product.parent`.`price` as `product.price.inherited`,
COALESCE(
`product`.`price`, `product.parent`.`price`
) as `product.price`,
`product`.`product_number` as `product.productNumber`,
`product`.`stock` as `product.stock`,
COALESCE(
`product`.`restock_time`, `product.parent`.`restock_time`
) as `product.restockTime`,
`product`.`auto_increment` as `product.autoIncrement`,
COALESCE(
`product`.`active`, `product.parent`.`active`
) as `product.active`,
`product`.`available_stock` as `product.availableStock`,
`product`.`available` as `product.available`,
COALESCE(
`product`.`is_closeout`, `product.parent`.`is_closeout`
) as `product.isCloseout`,
`product`.`display_group` as `product.displayGroup`,
`product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`,
COALESCE(
`product`.`configurator_group_config`,
`product.parent`.`configurator_group_config`
) as `product.configuratorGroupConfig`,
COALESCE(
`product`.`main_variant_id`, `product.parent`.`main_variant_id`
) as `product.mainVariantId`,
COALESCE(
`product`.`display_parent`, `product.parent`.`display_parent`
) as `product.displayParent`,
`product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`,
COALESCE(
`product`.`variant_listing_config`,
`product.parent`.`variant_listing_config`
) as `product.variantListingConfig`,
`product`.`variant_restrictions` as `product.variantRestrictions`,
COALESCE(
`product`.`manufacturer_number`,
`product.parent`.`manufacturer_number`
) as `product.manufacturerNumber`,
COALESCE(
`product`.`ean`, `product.parent`.`ean`
) as `product.ean`,
COALESCE(
`product`.`purchase_steps`, `product.parent`.`purchase_steps`
) as `product.purchaseSteps`,
COALESCE(
`product`.`max_purchase`, `product.parent`.`max_purchase`
) as `product.maxPurchase`,
COALESCE(
`product`.`min_purchase`, `product.parent`.`min_purchase`
) as `product.minPurchase`,
COALESCE(
`product`.`purchase_unit`, `product.parent`.`purchase_unit`
) as `product.purchaseUnit`,
COALESCE(
`product`.`reference_unit`, `product.parent`.`reference_unit`
) as `product.referenceUnit`,
COALESCE(
`product`.`shipping_free`, `product.parent`.`shipping_free`
) as `product.shippingFree`,
`product.parent`.`purchase_prices` as `product.purchasePrices.inherited`,
COALESCE(
`product`.`purchase_prices`, `product.parent`.`purchase_prices`
) as `product.purchasePrices`,
COALESCE(
`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`
) as `product.markAsTopseller`,
COALESCE(
`product`.`weight`, `product.parent`.`weight`
) as `product.weight`,
COALESCE(
`product`.`width`, `product.parent`.`width`
) as `product.width`,
COALESCE(
`product`.`height`, `product.parent`.`height`
) as `product.height`,
COALESCE(
`product`.`length`, `product.parent`.`length`
) as `product.length`,
COALESCE(
`product`.`release_date`, `product.parent`.`release_date`
) as `product.releaseDate`,
COALESCE(
`product`.`rating_average`, `product.parent`.`rating_average`
) as `product.ratingAverage`,
`product.parent`.`category_tree` as `product.categoryTree.inherited`,
COALESCE(
`product`.`category_tree`, `product.parent`.`category_tree`
) as `product.categoryTree`,
`product.parent`.`property_ids` as `product.propertyIds.inherited`,
COALESCE(
`product`.`property_ids`, `product.parent`.`property_ids`
) as `product.propertyIds`,
`product.parent`.`option_ids` as `product.optionIds.inherited`,
COALESCE(
`product`.`option_ids`, `product.parent`.`option_ids`
) as `product.optionIds`,
`product.parent`.`stream_ids` as `product.streamIds.inherited`,
COALESCE(
`product`.`stream_ids`, `product.parent`.`stream_ids`
) as `product.streamIds`,
`product.parent`.`tag_ids` as `product.tagIds.inherited`,
COALESCE(
`product`.`tag_ids`, `product.parent`.`tag_ids`
) as `product.tagIds`,
`product.parent`.`category_ids` as `product.categoryIds.inherited`,
COALESCE(
`product`.`category_ids`, `product.parent`.`category_ids`
) as `product.categoryIds`,
`product`.`child_count` as `product.childCount`,
COALESCE(
`product`.`custom_field_set_selection_active`,
`product.parent`.`custom_field_set_selection_active`
) as `product.customFieldSetSelectionActive`,
`product`.`sales` as `product.sales`,
`product`.`states` as `product.states`,
`product.tax`.`id` as `product.tax.id`,
`product.tax`.`tax_rate` as `product.tax.taxRate`,
`product.tax`.`name` as `product.tax.name`,
`product.tax`.`position` as `product.tax.position`,
`product.tax`.`custom_fields` as `product.tax.customFields`,
`product.tax`.`created_at` as `product.tax.createdAt`,
`product.tax`.`updated_at` as `product.tax.updatedAt`,
`product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`,
COALESCE(
`product`.`cheapest_price`, `product.parent`.`cheapest_price`
) as `product.cheapestPrice`,
`product`.`created_at` as `product.createdAt`,
`product`.`updated_at` as `product.updatedAt`,
`product.unit`.`id` as `product.unit.id`,
`product.unit`.`created_at` as `product.unit.createdAt`,
`product.unit`.`updated_at` as `product.unit.updatedAt`,
`product.unit.translation.shortCode`,
COALESCE(
`product.unit.translation.shortCode`,
`product.unit.translation.shortCode`
) as `product.unit.shortCode`,
`product.unit.translation.name`,
COALESCE(
`product.unit.translation.name`,
`product.unit.translation.name`
) as `product.unit.name`,
`product.unit.translation.customFields`,
COALESCE(
`product.unit.translation.customFields`,
`product.unit.translation.customFields`
) as `product.unit.customFields`,
`product.unit.translation.createdAt`,
`product.unit.translation.updatedAt`,
`product.unit.translation.unitId`,
`product.unit.translation.languageId`,
`product.deliveryTime`.`id` as `product.deliveryTime.id`,
`product.deliveryTime`.`min` as `product.deliveryTime.min`,
`product.deliveryTime`.`max` as `product.deliveryTime.max`,
`product.deliveryTime`.`unit` as `product.deliveryTime.unit`,
`product.deliveryTime`.`created_at` as `product.deliveryTime.createdAt`,
`product.deliveryTime`.`updated_at` as `product.deliveryTime.updatedAt`,
`product.deliveryTime.translation.name`,
COALESCE(
`product.deliveryTime.translation.name`,
`product.deliveryTime.translation.name`
) as `product.deliveryTime.name`,
`product.deliveryTime.translation.customFields`,
COALESCE(
`product.deliveryTime.translation.customFields`,
`product.deliveryTime.translation.customFields`
) as `product.deliveryTime.customFields`,
`product.deliveryTime.translation.createdAt`,
`product.deliveryTime.translation.updatedAt`,
`product.deliveryTime.translation.deliveryTimeId`,
`product.deliveryTime.translation.languageId`,
`product.cover`.`id` as `product.cover.id`,
`product.cover`.`version_id` as `product.cover.versionId`,
`product.cover`.`product_id` as `product.cover.productId`,
`product.cover`.`product_version_id` as `product.cover.productVersionId`,
`product.cover`.`media_id` as `product.cover.mediaId`,
`product.cover`.`position` as `product.cover.position`,
`product.cover.media`.`id` as `product.cover.media.id`,
`product.cover.media`.`user_id` as `product.cover.media.userId`,
`product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`,
`product.cover.media`.`mime_type` as `product.cover.media.mimeType`,
`product.cover.media`.`file_extension` as `product.cover.media.fileExtension`,
`product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`,
`product.cover.media`.`file_name` as `product.cover.media.fileName`,
`product.cover.media`.`file_size` as `product.cover.media.fileSize`,
`product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`,
`product.cover.media`.`meta_data` as `product.cover.media.metaData`,
`product.cover.media`.`private` as `product.cover.media.private`,
`product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`,
`product.cover.media`.`created_at` as `product.cover.media.createdAt`,
`product.cover.media`.`updated_at` as `product.cover.media.updatedAt`,
`product.cover.media.translation.title`,
COALESCE(
`product.cover.media.translation.title`,
`product.cover.media.translation.title`
) as `product.cover.media.title`,
`product.cover.media.translation.alt`,
COALESCE(
`product.cover.media.translation.alt`,
`product.cover.media.translation.alt`
) as `product.cover.media.alt`,
`product.cover.media.translation.customFields`,
COALESCE(
`product.cover.media.translation.customFields`,
`product.cover.media.translation.customFields`
) as `product.cover.media.customFields`,
`product.cover.media.translation.createdAt`,
`product.cover.media.translation.updatedAt`,
`product.cover.media.translation.mediaId`,
`product.cover.media.translation.languageId`,
`product.cover`.`custom_fields` as `product.cover.customFields`,
`product.cover`.`created_at` as `product.cover.createdAt`,
`product.cover`.`updated_at` as `product.cover.updatedAt`,
`product.translation.metaDescription`,
`product.parent.translation.metaDescription`,
COALESCE(
`product.translation.metaDescription`,
`product.parent.translation.metaDescription`,
`product.translation.metaDescription`
) as `product.metaDescription`,
`product.translation.name`,
`product.parent.translation.name`,
COALESCE(
`product.translation.name`, `product.parent.translation.name`,
`product.translation.name`
) as `product.name`,
`product.translation.keywords`,
`product.parent.translation.keywords`,
COALESCE(
`product.translation.keywords`,
`product.parent.translation.keywords`,
`product.translation.keywords`
) as `product.keywords`,
`product.translation.description`,
`product.parent.translation.description`,
COALESCE(
`product.translation.description`,
`product.parent.translation.description`,
`product.translation.description`
) as `product.description`,
`product.translation.metaTitle`,
`product.parent.translation.metaTitle`,
COALESCE(
`product.translation.metaTitle`,
`product.parent.translation.metaTitle`,
`product.translation.metaTitle`
) as `product.metaTitle`,
`product.translation.packUnit`,
`product.parent.translation.packUnit`,
COALESCE(
`product.translation.packUnit`,
`product.parent.translation.packUnit`,
`product.translation.packUnit`
) as `product.packUnit`,
`product.translation.packUnitPlural`,
`product.parent.translation.packUnitPlural`,
COALESCE(
`product.translation.packUnitPlural`,
`product.parent.translation.packUnitPlural`,
`product.translation.packUnitPlural`
) as `product.packUnitPlural`,
`product.translation.customSearchKeywords`,
`product.parent.translation.customSearchKeywords`,
COALESCE(
`product.translation.customSearchKeywords`,
`product.parent.translation.customSearchKeywords`,
`product.translation.customSearchKeywords`
) as `product.customSearchKeywords`,
`product.translation.slotConfig`,
`product.parent.translation.slotConfig`,
COALESCE(
`product.translation.slotConfig`,
`product.parent.translation.slotConfig`,
`product.translation.slotConfig`
) as `product.slotConfig`,
`product.translation.customFields`,
`product.parent.translation.customFields`,
COALESCE(
`product.translation.customFields`,
`product.parent.translation.customFields`,
`product.translation.customFields`
) as `product.customFields`,
`product.translation.createdAt`,
`product.parent.translation.createdAt`,
`product.translation.updatedAt`,
`product.parent.translation.updatedAt`,
`product.translation.productId`,
`product.parent.translation.productId`,
`product.translation.languageId`,
`product.parent.translation.languageId`,
`product.translation.productVersionId`,
`product.parent.translation.productVersionId`
FROM
`product`
LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id`
AND `product`.`version_id` = `product.parent`.`version_id`
LEFT JOIN (
SELECT
`product.translation`.product_id,
`product.translation`.product_version_id,
`product.translation`.meta_description as `product.translation.metaDescription`,
`product.translation`.name as `product.translation.name`,
`product.translation`.keywords as `product.translation.keywords`,
`product.translation`.description as `product.translation.description`,
`product.translation`.meta_title as `product.translation.metaTitle`,
`product.translation`.pack_unit as `product.translation.packUnit`,
`product.translation`.pack_unit_plural as `product.translation.packUnitPlural`,
`product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`,
`product.translation`.slot_config as `product.translation.slotConfig`,
`product.translation`.custom_fields as `product.translation.customFields`,
`product.translation`.created_at as `product.translation.createdAt`,
`product.translation`.updated_at as `product.translation.updatedAt`,
`product.translation`.product_id as `product.translation.productId`,
`product.translation`.language_id as `product.translation.languageId`,
`product.translation`.product_version_id as `product.translation.productVersionId`
FROM
`product_translation` `product.translation`
WHERE
`product.translation`.language_id = : languageId
) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id`
AND `product.product_translation`.product_version_id = `product`.version_id
LEFT JOIN (
SELECT
`product.parent.translation`.product_id,
`product.parent.translation`.product_version_id,
`product.parent.translation`.meta_description as `product.parent.translation.metaDescription`,
`product.parent.translation`.name as `product.parent.translation.name`,
`product.parent.translation`.keywords as `product.parent.translation.keywords`,
`product.parent.translation`.description as `product.parent.translation.description`,
`product.parent.translation`.meta_title as `product.parent.translation.metaTitle`,
`product.parent.translation`.pack_unit as `product.parent.translation.packUnit`,
`product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`,
`product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`,
`product.parent.translation`.slot_config as `product.parent.translation.slotConfig`,
`product.parent.translation`.custom_fields as `product.parent.translation.customFields`,
`product.parent.translation`.created_at as `product.parent.translation.createdAt`,
`product.parent.translation`.updated_at as `product.parent.translation.updatedAt`,
`product.parent.translation`.product_id as `product.parent.translation.productId`,
`product.parent.translation`.language_id as `product.parent.translation.languageId`,
`product.parent.translation`.product_version_id as `product.parent.translation.productVersionId`
FROM
`product_translation` `product.parent.translation`
WHERE
`product.parent.translation`.language_id = : languageId
) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id`
AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id
LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id`
LEFT JOIN `unit` `product.unit` ON `product`.`unit` = `product.unit`.`id`
LEFT JOIN `delivery_time` `product.deliveryTime` ON `product`.`deliveryTime` = `product.deliveryTime`.`id`
LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id`
AND `product`.`version_id` = `product.cover`.`version_id`
LEFT JOIN (
SELECT
`product.unit.translation`.unit_id,
`product.unit.translation`.short_code as `product.unit.translation.shortCode`,
`product.unit.translation`.name as `product.unit.translation.name`,
`product.unit.translation`.custom_fields as `product.unit.translation.customFields`,
`product.unit.translation`.created_at as `product.unit.translation.createdAt`,
`product.unit.translation`.updated_at as `product.unit.translation.updatedAt`,
`product.unit.translation`.unit_id as `product.unit.translation.unitId`,
`product.unit.translation`.language_id as `product.unit.translation.languageId`
FROM
`unit_translation` `product.unit.translation`
WHERE
`product.unit.translation`.language_id = : languageId
) `product.unit.unit_translation` ON `product.unit.unit_translation`.`unit_id` = `product.unit`.`id`
LEFT JOIN (
SELECT
`product.deliveryTime.translation`.delivery_time_id,
`product.deliveryTime.translation`.name as `product.deliveryTime.translation.name`,
`product.deliveryTime.translation`.custom_fields as `product.deliveryTime.translation.customFields`,
`product.deliveryTime.translation`.created_at as `product.deliveryTime.translation.createdAt`,
`product.deliveryTime.translation`.updated_at as `product.deliveryTime.translation.updatedAt`,
`product.deliveryTime.translation`.delivery_time_id as `product.deliveryTime.translation.deliveryTimeId`,
`product.deliveryTime.translation`.language_id as `product.deliveryTime.translation.languageId`
FROM
`delivery_time_translation` `product.deliveryTime.translation`
WHERE
`product.deliveryTime.translation`.language_id = : languageId
) `product.deliveryTime.delivery_time_translation` ON `product.deliveryTime.delivery_time_translation`.`delivery_time_id` = `product.deliveryTime`.`id`
LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id`
LEFT JOIN (
SELECT
`product.cover.media.translation`.media_id,
`product.cover.media.translation`.title as `product.cover.media.translation.title`,
`product.cover.media.translation`.alt as `product.cover.media.translation.alt`,
`product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`,
`product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`,
`product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`,
`product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`,
`product.cover.media.translation`.language_id as `product.cover.media.translation.languageId`
FROM
`media_translation` `product.cover.media.translation`
WHERE
`product.cover.media.translation`.language_id = : languageId
) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id`
WHERE
(
`product`.`version_id` = : version
)
AND (
`product`.`id` IN (: ids)
)
SELECT `product`.`id` as `product.id`, `product`.`version_id` as `product.versionId`, `product`.`parent_id` as `product.parentId`, `product`.`parent_version_id` as `product.parentVersionId`, COALESCE(`product`.`product_manufacturer_id`, `product.parent`.`product_manufacturer_id`) as `product.manufacturerId`, COALESCE(`product`.`product_manufacturer_version_id`, `product.parent`.`product_manufacturer_version_id`) as `product.productManufacturerVersionId`, COALESCE(`product`.`unit_id`, `product.parent`.`unit_id`) as `product.unitId`, COALESCE(`product`.`tax_id`, `product.parent`.`tax_id`) as `product.taxId`, COALESCE(`product`.`product_media_id`, `product.parent`.`product_media_id`) as `product.coverId`, COALESCE(`product`.`product_media_version_id`, `product.parent`.`product_media_version_id`) as `product.productMediaVersionId`, COALESCE(`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`) as `product.deliveryTimeId`, COALESCE(`product`.`product_feature_set_id`, `product.parent`.`product_feature_set_id`) as `product.featureSetId`, COALESCE(`product`.`canonical_product_id`, `product.parent`.`canonical_product_id`) as `product.canonicalProductId`, COALESCE(`product`.`cms_page_id`, `product.parent`.`cms_page_id`) as `product.cmsPageId`, COALESCE(`product`.`cms_page_version_id`, `product.parent`.`cms_page_version_id`) as `product.cmsPageVersionId`, `product.parent`.`price` as `product.price.inherited`, COALESCE(`product`.`price`, `product.parent`.`price`) as `product.price`, `product`.`product_number` as `product.productNumber`, `product`.`stock` as `product.stock`, COALESCE(`product`.`restock_time`, `product.parent`.`restock_time`) as `product.restockTime`, `product`.`auto_increment` as `product.autoIncrement`, COALESCE(`product`.`active`, `product.parent`.`active`) as `product.active`, `product`.`available_stock` as `product.availableStock`, `product`.`available` as `product.available`, COALESCE(`product`.`is_closeout`, `product.parent`.`is_closeout`) as `product.isCloseout`, `product`.`display_group` as `product.displayGroup`, `product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`, COALESCE(`product`.`configurator_group_config`, `product.parent`.`configurator_group_config`) as `product.configuratorGroupConfig`, COALESCE(`product`.`main_variant_id`, `product.parent`.`main_variant_id`) as `product.mainVariantId`, COALESCE(`product`.`display_parent`, `product.parent`.`display_parent`) as `product.displayParent`, `product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`, COALESCE(`product`.`variant_listing_config`, `product.parent`.`variant_listing_config`) as `product.variantListingConfig`, `product`.`variant_restrictions` as `product.variantRestrictions`, COALESCE(`product`.`manufacturer_number`, `product.parent`.`manufacturer_number`) as `product.manufacturerNumber`, COALESCE(`product`.`ean`, `product.parent`.`ean`) as `product.ean`, COALESCE(`product`.`purchase_steps`, `product.parent`.`purchase_steps`) as `product.purchaseSteps`, COALESCE(`product`.`max_purchase`, `product.parent`.`max_purchase`) as `product.maxPurchase`, COALESCE(`product`.`min_purchase`, `product.parent`.`min_purchase`) as `product.minPurchase`, COALESCE(`product`.`purchase_unit`, `product.parent`.`purchase_unit`) as `product.purchaseUnit`, COALESCE(`product`.`reference_unit`, `product.parent`.`reference_unit`) as `product.referenceUnit`, COALESCE(`product`.`shipping_free`, `product.parent`.`shipping_free`) as `product.shippingFree`, `product.parent`.`purchase_prices` as `product.purchasePrices.inherited`, COALESCE(`product`.`purchase_prices`, `product.parent`.`purchase_prices`) as `product.purchasePrices`, COALESCE(`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`) as `product.markAsTopseller`, COALESCE(`product`.`weight`, `product.parent`.`weight`) as `product.weight`, COALESCE(`product`.`width`, `product.parent`.`width`) as `product.width`, COALESCE(`product`.`height`, `product.parent`.`height`) as `product.height`, COALESCE(`product`.`length`, `product.parent`.`length`) as `product.length`, COALESCE(`product`.`release_date`, `product.parent`.`release_date`) as `product.releaseDate`, COALESCE(`product`.`rating_average`, `product.parent`.`rating_average`) as `product.ratingAverage`, `product.parent`.`category_tree` as `product.categoryTree.inherited`, COALESCE(`product`.`category_tree`, `product.parent`.`category_tree`) as `product.categoryTree`, `product.parent`.`property_ids` as `product.propertyIds.inherited`, COALESCE(`product`.`property_ids`, `product.parent`.`property_ids`) as `product.propertyIds`, `product.parent`.`option_ids` as `product.optionIds.inherited`, COALESCE(`product`.`option_ids`, `product.parent`.`option_ids`) as `product.optionIds`, `product.parent`.`stream_ids` as `product.streamIds.inherited`, COALESCE(`product`.`stream_ids`, `product.parent`.`stream_ids`) as `product.streamIds`, `product.parent`.`tag_ids` as `product.tagIds.inherited`, COALESCE(`product`.`tag_ids`, `product.parent`.`tag_ids`) as `product.tagIds`, `product.parent`.`category_ids` as `product.categoryIds.inherited`, COALESCE(`product`.`category_ids`, `product.parent`.`category_ids`) as `product.categoryIds`, `product`.`child_count` as `product.childCount`, COALESCE(`product`.`custom_field_set_selection_active`, `product.parent`.`custom_field_set_selection_active`) as `product.customFieldSetSelectionActive`, `product`.`sales` as `product.sales`, `product`.`states` as `product.states`, `product.tax`.`id` as `product.tax.id`, `product.tax`.`tax_rate` as `product.tax.taxRate`, `product.tax`.`name` as `product.tax.name`, `product.tax`.`position` as `product.tax.position`, `product.tax`.`custom_fields` as `product.tax.customFields`, `product.tax`.`created_at` as `product.tax.createdAt`, `product.tax`.`updated_at` as `product.tax.updatedAt`, `product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`, COALESCE(`product`.`cheapest_price`, `product.parent`.`cheapest_price`) as `product.cheapestPrice`, `product`.`created_at` as `product.createdAt`, `product`.`updated_at` as `product.updatedAt`, `product.unit`.`id` as `product.unit.id`, `product.unit`.`created_at` as `product.unit.createdAt`, `product.unit`.`updated_at` as `product.unit.updatedAt`, `product.unit.translation.shortCode`, COALESCE(`product.unit.translation.shortCode`,`product.unit.translation.shortCode`) as `product.unit.shortCode`, `product.unit.translation.name`, COALESCE(`product.unit.translation.name`,`product.unit.translation.name`) as `product.unit.name`, `product.unit.translation.customFields`, COALESCE(`product.unit.translation.customFields`,`product.unit.translation.customFields`) as `product.unit.customFields`, `product.unit.translation.createdAt`, `product.unit.translation.updatedAt`, `product.unit.translation.unitId`, `product.unit.translation.languageId`, `product.deliveryTime`.`id` as `product.deliveryTime.id`, `product.deliveryTime`.`min` as `product.deliveryTime.min`, `product.deliveryTime`.`max` as `product.deliveryTime.max`, `product.deliveryTime`.`unit` as `product.deliveryTime.unit`, `product.deliveryTime`.`created_at` as `product.deliveryTime.createdAt`, `product.deliveryTime`.`updated_at` as `product.deliveryTime.updatedAt`, `product.deliveryTime.translation.name`, COALESCE(`product.deliveryTime.translation.name`,`product.deliveryTime.translation.name`) as `product.deliveryTime.name`, `product.deliveryTime.translation.customFields`, COALESCE(`product.deliveryTime.translation.customFields`,`product.deliveryTime.translation.customFields`) as `product.deliveryTime.customFields`, `product.deliveryTime.translation.createdAt`, `product.deliveryTime.translation.updatedAt`, `product.deliveryTime.translation.deliveryTimeId`, `product.deliveryTime.translation.languageId`, `product.cover`.`id` as `product.cover.id`, `product.cover`.`version_id` as `product.cover.versionId`, `product.cover`.`product_id` as `product.cover.productId`, `product.cover`.`product_version_id` as `product.cover.productVersionId`, `product.cover`.`media_id` as `product.cover.mediaId`, `product.cover`.`position` as `product.cover.position`, `product.cover.media`.`id` as `product.cover.media.id`, `product.cover.media`.`user_id` as `product.cover.media.userId`, `product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`, `product.cover.media`.`mime_type` as `product.cover.media.mimeType`, `product.cover.media`.`file_extension` as `product.cover.media.fileExtension`, `product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`, `product.cover.media`.`file_name` as `product.cover.media.fileName`, `product.cover.media`.`file_size` as `product.cover.media.fileSize`, `product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`, `product.cover.media`.`meta_data` as `product.cover.media.metaData`, `product.cover.media`.`private` as `product.cover.media.private`, `product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`, `product.cover.media`.`created_at` as `product.cover.media.createdAt`, `product.cover.media`.`updated_at` as `product.cover.media.updatedAt`, `product.cover.media.translation.title`, COALESCE(`product.cover.media.translation.title`,`product.cover.media.translation.title`) as `product.cover.media.title`, `product.cover.media.translation.alt`, COALESCE(`product.cover.media.translation.alt`,`product.cover.media.translation.alt`) as `product.cover.media.alt`, `product.cover.media.translation.customFields`, COALESCE(`product.cover.media.translation.customFields`,`product.cover.media.translation.customFields`) as `product.cover.media.customFields`, `product.cover.media.translation.createdAt`, `product.cover.media.translation.updatedAt`, `product.cover.media.translation.mediaId`, `product.cover.media.translation.languageId`, `product.cover`.`custom_fields` as `product.cover.customFields`, `product.cover`.`created_at` as `product.cover.createdAt`, `product.cover`.`updated_at` as `product.cover.updatedAt`, `product.translation.metaDescription`, `product.parent.translation.metaDescription`, COALESCE(`product.translation.metaDescription`,`product.parent.translation.metaDescription`,`product.translation.metaDescription`) as `product.metaDescription`, `product.translation.name`, `product.parent.translation.name`, COALESCE(`product.translation.name`,`product.parent.translation.name`,`product.translation.name`) as `product.name`, `product.translation.keywords`, `product.parent.translation.keywords`, COALESCE(`product.translation.keywords`,`product.parent.translation.keywords`,`product.translation.keywords`) as `product.keywords`, `product.translation.description`, `product.parent.translation.description`, COALESCE(`product.translation.description`,`product.parent.translation.description`,`product.translation.description`) as `product.description`, `product.translation.metaTitle`, `product.parent.translation.metaTitle`, COALESCE(`product.translation.metaTitle`,`product.parent.translation.metaTitle`,`product.translation.metaTitle`) as `product.metaTitle`, `product.translation.packUnit`, `product.parent.translation.packUnit`, COALESCE(`product.translation.packUnit`,`product.parent.translation.packUnit`,`product.translation.packUnit`) as `product.packUnit`, `product.translation.packUnitPlural`, `product.parent.translation.packUnitPlural`, COALESCE(`product.translation.packUnitPlural`,`product.parent.translation.packUnitPlural`,`product.translation.packUnitPlural`) as `product.packUnitPlural`, `product.translation.customSearchKeywords`, `product.parent.translation.customSearchKeywords`, COALESCE(`product.translation.customSearchKeywords`,`product.parent.translation.customSearchKeywords`,`product.translation.customSearchKeywords`) as `product.customSearchKeywords`, `product.translation.slotConfig`, `product.parent.translation.slotConfig`, COALESCE(`product.translation.slotConfig`,`product.parent.translation.slotConfig`,`product.translation.slotConfig`) as `product.slotConfig`, `product.translation.customFields`, `product.parent.translation.customFields`, COALESCE(`product.translation.customFields`,`product.parent.translation.customFields`,`product.translation.customFields`) as `product.customFields`, `product.translation.createdAt`, `product.parent.translation.createdAt`, `product.translation.updatedAt`, `product.parent.translation.updatedAt`, `product.translation.productId`, `product.parent.translation.productId`, `product.translation.languageId`, `product.parent.translation.languageId`, `product.translation.productVersionId`, `product.parent.translation.productVersionId` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN (SELECT `product.translation`.product_id, `product.translation`.product_version_id, `product.translation`.meta_description as `product.translation.metaDescription`, `product.translation`.name as `product.translation.name`, `product.translation`.keywords as `product.translation.keywords`, `product.translation`.description as `product.translation.description`, `product.translation`.meta_title as `product.translation.metaTitle`, `product.translation`.pack_unit as `product.translation.packUnit`, `product.translation`.pack_unit_plural as `product.translation.packUnitPlural`, `product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`, `product.translation`.slot_config as `product.translation.slotConfig`, `product.translation`.custom_fields as `product.translation.customFields`, `product.translation`.created_at as `product.translation.createdAt`, `product.translation`.updated_at as `product.translation.updatedAt`, `product.translation`.product_id as `product.translation.productId`, `product.translation`.language_id as `product.translation.languageId`, `product.translation`.product_version_id as `product.translation.productVersionId` FROM `product_translation` `product.translation` WHERE `product.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id` AND `product.product_translation`.product_version_id = `product`.version_id LEFT JOIN (SELECT `product.parent.translation`.product_id, `product.parent.translation`.product_version_id, `product.parent.translation`.meta_description as `product.parent.translation.metaDescription`, `product.parent.translation`.name as `product.parent.translation.name`, `product.parent.translation`.keywords as `product.parent.translation.keywords`, `product.parent.translation`.description as `product.parent.translation.description`, `product.parent.translation`.meta_title as `product.parent.translation.metaTitle`, `product.parent.translation`.pack_unit as `product.parent.translation.packUnit`, `product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`, `product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`, `product.parent.translation`.slot_config as `product.parent.translation.slotConfig`, `product.parent.translation`.custom_fields as `product.parent.translation.customFields`, `product.parent.translation`.created_at as `product.parent.translation.createdAt`, `product.parent.translation`.updated_at as `product.parent.translation.updatedAt`, `product.parent.translation`.product_id as `product.parent.translation.productId`, `product.parent.translation`.language_id as `product.parent.translation.languageId`, `product.parent.translation`.product_version_id as `product.parent.translation.productVersionId` FROM `product_translation` `product.parent.translation` WHERE `product.parent.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id` AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id` LEFT JOIN `unit` `product.unit` ON `product`.`unit` = `product.unit`.`id` LEFT JOIN `delivery_time` `product.deliveryTime` ON `product`.`deliveryTime` = `product.deliveryTime`.`id` LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id` AND `product`.`version_id` = `product.cover`.`version_id` LEFT JOIN (SELECT `product.unit.translation`.unit_id, `product.unit.translation`.short_code as `product.unit.translation.shortCode`, `product.unit.translation`.name as `product.unit.translation.name`, `product.unit.translation`.custom_fields as `product.unit.translation.customFields`, `product.unit.translation`.created_at as `product.unit.translation.createdAt`, `product.unit.translation`.updated_at as `product.unit.translation.updatedAt`, `product.unit.translation`.unit_id as `product.unit.translation.unitId`, `product.unit.translation`.language_id as `product.unit.translation.languageId` FROM `unit_translation` `product.unit.translation` WHERE `product.unit.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.unit.unit_translation` ON `product.unit.unit_translation`.`unit_id` = `product.unit`.`id` LEFT JOIN (SELECT `product.deliveryTime.translation`.delivery_time_id, `product.deliveryTime.translation`.name as `product.deliveryTime.translation.name`, `product.deliveryTime.translation`.custom_fields as `product.deliveryTime.translation.customFields`, `product.deliveryTime.translation`.created_at as `product.deliveryTime.translation.createdAt`, `product.deliveryTime.translation`.updated_at as `product.deliveryTime.translation.updatedAt`, `product.deliveryTime.translation`.delivery_time_id as `product.deliveryTime.translation.deliveryTimeId`, `product.deliveryTime.translation`.language_id as `product.deliveryTime.translation.languageId` FROM `delivery_time_translation` `product.deliveryTime.translation` WHERE `product.deliveryTime.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.deliveryTime.delivery_time_translation` ON `product.deliveryTime.delivery_time_translation`.`delivery_time_id` = `product.deliveryTime`.`id` LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id` LEFT JOIN (SELECT `product.cover.media.translation`.media_id, `product.cover.media.translation`.title as `product.cover.media.translation.title`, `product.cover.media.translation`.alt as `product.cover.media.translation.alt`, `product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`, `product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`, `product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`, `product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`, `product.cover.media.translation`.language_id as `product.cover.media.translation.languageId` FROM `media_translation` `product.cover.media.translation` WHERE `product.cover.media.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id` WHERE (`product`.`version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425) AND (`product`.`id` IN (0x379E3CA366CF4814A8702F4F4DC01D0B));
array:37 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 242)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 316)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetch (line 148)"
4 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 93)"
5 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::read (line 195)"
6 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::read (line 133)"
7 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 36)"
8 => "Swag\PayPal\Util\Compatibility\SalesChannelRepositoryDecorator::search (line 207)"
9 => "Tds\MerwareDiscounts\Cart\Checkout\OverwrittenPriceCollector::getSalesChannelProduct (line 93)"
10 => "Tds\MerwareDiscounts\Cart\Checkout\OverwrittenPriceCollector::collect (line 103)"
11 => "Shopware\Core\Checkout\Cart\Processor::runProcessors (line 67)"
12 => "Shopware\Core\Checkout\Cart\Processor::Shopware\Core\Checkout\Cart\{closure} (line 59)"
13 => "Shopware\Core\Profiling\Profiler::trace (line 86)"
14 => "Shopware\Core\Checkout\Cart\Processor::process (line 132)"
15 => "Shopware\Core\Checkout\Cart\CartRuleLoader::Shopware\Core\Checkout\Cart\{closure} (line 59)"
16 => "Shopware\Core\Profiling\Profiler::trace (line 183)"
17 => "Shopware\Core\Checkout\Cart\CartRuleLoader::load (line 83)"
18 => "Shopware\Core\Checkout\Cart\CartRuleLoader::loadByToken (line 106)"
19 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::Shopware\Core\System\SalesChannel\Context\{closure} (line 59)"
20 => "Shopware\Core\Profiling\Profiler::trace (line 111)"
21 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::get (line 105)"
22 => "Shopware\Core\Framework\Routing\SalesChannelRequestContextResolver::resolve (line 38)"
23 => "Shopware\Core\Framework\Routing\ContextResolverListener::resolveContext (line 118)"
24 => "Symfony\Component\EventDispatcher\Debug\WrappedListener::__invoke (line 230)"
25 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
26 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
27 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
28 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
29 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
30 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
31 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 151)"
32 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
33 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
34 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
35 => "Shopware\Core\HttpKernel::doHandle (line 81)"
36 => "Shopware\Core\HttpKernel::handle (line 85)"
]
|
111 |
0.67 ms |
SELECT `product_price`.`id` as `product_price.id`, `product_price`.`version_id` as `product_price.versionId`, `product_price`.`product_id` as `product_price.productId`, `product_price`.`product_version_id` as `product_price.productVersionId`, `product_price`.`rule_id` as `product_price.ruleId`, `product_price`.`price` as `product_price.price`, `product_price`.`quantity_start` as `product_price.quantityStart`, `product_price`.`quantity_end` as `product_price.quantityEnd`, `product_price`.`custom_fields` as `product_price.customFields`, `product_price`.`created_at` as `product_price.createdAt`, `product_price`.`updated_at` as `product_price.updatedAt` FROM `product_price` WHERE (`product_price`.`version_id` = :version) AND ((`product_price`.`product_id` IN (:param_c9c6b334d9954404ad759ea3ce514ce6)))
SELECT `product_price`.`id` as `product_price.id`, `product_price`.`version_id` as `product_price.versionId`, `product_price`.`product_id` as `product_price.productId`, `product_price`.`product_version_id` as `product_price.productVersionId`, `product_price`.`rule_id` as `product_price.ruleId`, `product_price`.`price` as `product_price.price`, `product_price`.`quantity_start` as `product_price.quantityStart`, `product_price`.`quantity_end` as `product_price.quantityEnd`, `product_price`.`custom_fields` as `product_price.customFields`, `product_price`.`created_at` as `product_price.createdAt`, `product_price`.`updated_at` as `product_price.updatedAt` FROM `product_price` WHERE (`product_price`.`version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425) AND ((`product_price`.`product_id` IN (0x379E3CA366CF4814A8702F4F4DC01D0B, 0xD6EA2CF1851641F195F7A5C10020EC1C)));
array:41 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 242)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 316)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetch (line 148)"
4 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 503)"
5 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::loadOneToManyWithoutPagination (line 438)"
6 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::loadOneToMany (line 1210)"
7 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetchAssociations (line 152)"
8 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 93)"
9 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::read (line 195)"
10 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::read (line 133)"
11 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 36)"
12 => "Swag\PayPal\Util\Compatibility\SalesChannelRepositoryDecorator::search (line 207)"
13 => "Tds\MerwareDiscounts\Cart\Checkout\OverwrittenPriceCollector::getSalesChannelProduct (line 93)"
14 => "Tds\MerwareDiscounts\Cart\Checkout\OverwrittenPriceCollector::collect (line 103)"
15 => "Shopware\Core\Checkout\Cart\Processor::runProcessors (line 67)"
16 => "Shopware\Core\Checkout\Cart\Processor::Shopware\Core\Checkout\Cart\{closure} (line 59)"
17 => "Shopware\Core\Profiling\Profiler::trace (line 86)"
18 => "Shopware\Core\Checkout\Cart\Processor::process (line 132)"
19 => "Shopware\Core\Checkout\Cart\CartRuleLoader::Shopware\Core\Checkout\Cart\{closure} (line 59)"
20 => "Shopware\Core\Profiling\Profiler::trace (line 183)"
21 => "Shopware\Core\Checkout\Cart\CartRuleLoader::load (line 83)"
22 => "Shopware\Core\Checkout\Cart\CartRuleLoader::loadByToken (line 106)"
23 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::Shopware\Core\System\SalesChannel\Context\{closure} (line 59)"
24 => "Shopware\Core\Profiling\Profiler::trace (line 111)"
25 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::get (line 105)"
26 => "Shopware\Core\Framework\Routing\SalesChannelRequestContextResolver::resolve (line 38)"
27 => "Shopware\Core\Framework\Routing\ContextResolverListener::resolveContext (line 118)"
28 => "Symfony\Component\EventDispatcher\Debug\WrappedListener::__invoke (line 230)"
29 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
30 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
31 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
32 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
33 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
34 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
35 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 151)"
36 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
37 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
38 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
39 => "Shopware\Core\HttpKernel::doHandle (line 81)"
40 => "Shopware\Core\HttpKernel::handle (line 85)"
]
|
112 |
0.49 ms |
SELECT `product`.`id`, `product`.`product_number`, `product`.`auto_increment` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN `product_visibility` `product.visibilities` ON `product`.`visibilities` = `product.visibilities`.`product_id` AND `product`.version_id = `product.visibilities`.product_version_id WHERE (`product`.`version_id` = :version) AND ((((`product.visibilities`.`visibility` >= :param_3965603a4d48444d972519a87ccf6462) AND `product.visibilities`.`sales_channel_id` = :param_b306add97b344c1d83ecb2968886f9ea AND IFNULL(`product`.`active`, `product.parent`.`active`) = :param_21962ce39451448bb758e9a2fa19db91))) AND (`product`.`id` IN (:ids)) GROUP BY `product`.`id`
SELECT `product`.`id`, `product`.`product_number`, `product`.`auto_increment` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN `product_visibility` `product.visibilities` ON `product`.`visibilities` = `product.visibilities`.`product_id` AND `product`.version_id = `product.visibilities`.product_version_id WHERE (`product`.`version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425) AND ((((`product.visibilities`.`visibility` >= 10) AND `product.visibilities`.`sales_channel_id` = 0x4EB9108BE4654CC9B140D14DE85579E9 AND IFNULL(`product`.`active`, `product.parent`.`active`) = 1))) AND (`product`.`id` IN (0xE8952557863C46F5B1074D52D84EA9FD)) GROUP BY `product`.`id`;
array:36 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 242)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 107)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntitySearcher::search (line 62)"
4 => "Shopware\Elasticsearch\Framework\DataAbstractionLayer\ElasticsearchEntitySearcher::search (line 216)"
5 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::doSearch (line 122)"
6 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 36)"
7 => "Swag\PayPal\Util\Compatibility\SalesChannelRepositoryDecorator::search (line 207)"
8 => "Tds\MerwareDiscounts\Cart\Checkout\OverwrittenPriceCollector::getSalesChannelProduct (line 93)"
9 => "Tds\MerwareDiscounts\Cart\Checkout\OverwrittenPriceCollector::collect (line 103)"
10 => "Shopware\Core\Checkout\Cart\Processor::runProcessors (line 67)"
11 => "Shopware\Core\Checkout\Cart\Processor::Shopware\Core\Checkout\Cart\{closure} (line 59)"
12 => "Shopware\Core\Profiling\Profiler::trace (line 86)"
13 => "Shopware\Core\Checkout\Cart\Processor::process (line 132)"
14 => "Shopware\Core\Checkout\Cart\CartRuleLoader::Shopware\Core\Checkout\Cart\{closure} (line 59)"
15 => "Shopware\Core\Profiling\Profiler::trace (line 183)"
16 => "Shopware\Core\Checkout\Cart\CartRuleLoader::load (line 83)"
17 => "Shopware\Core\Checkout\Cart\CartRuleLoader::loadByToken (line 106)"
18 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::Shopware\Core\System\SalesChannel\Context\{closure} (line 59)"
19 => "Shopware\Core\Profiling\Profiler::trace (line 111)"
20 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::get (line 105)"
21 => "Shopware\Core\Framework\Routing\SalesChannelRequestContextResolver::resolve (line 38)"
22 => "Shopware\Core\Framework\Routing\ContextResolverListener::resolveContext (line 118)"
23 => "Symfony\Component\EventDispatcher\Debug\WrappedListener::__invoke (line 230)"
24 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
25 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
26 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
27 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
28 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
29 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
30 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 151)"
31 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
32 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
33 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
34 => "Shopware\Core\HttpKernel::doHandle (line 81)"
35 => "Shopware\Core\HttpKernel::handle (line 85)"
]
|
113 |
14.65 ms |
SELECT `product`.`id` as `product.id`, `product`.`version_id` as `product.versionId`, `product`.`parent_id` as `product.parentId`, `product`.`parent_version_id` as `product.parentVersionId`, COALESCE(`product`.`product_manufacturer_id`, `product.parent`.`product_manufacturer_id`) as `product.manufacturerId`, COALESCE(`product`.`product_manufacturer_version_id`, `product.parent`.`product_manufacturer_version_id`) as `product.productManufacturerVersionId`, COALESCE(`product`.`unit_id`, `product.parent`.`unit_id`) as `product.unitId`, COALESCE(`product`.`tax_id`, `product.parent`.`tax_id`) as `product.taxId`, COALESCE(`product`.`product_media_id`, `product.parent`.`product_media_id`) as `product.coverId`, COALESCE(`product`.`product_media_version_id`, `product.parent`.`product_media_version_id`) as `product.productMediaVersionId`, COALESCE(`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`) as `product.deliveryTimeId`, COALESCE(`product`.`product_feature_set_id`, `product.parent`.`product_feature_set_id`) as `product.featureSetId`, COALESCE(`product`.`canonical_product_id`, `product.parent`.`canonical_product_id`) as `product.canonicalProductId`, COALESCE(`product`.`cms_page_id`, `product.parent`.`cms_page_id`) as `product.cmsPageId`, COALESCE(`product`.`cms_page_version_id`, `product.parent`.`cms_page_version_id`) as `product.cmsPageVersionId`, `product.parent`.`price` as `product.price.inherited`, COALESCE(`product`.`price`, `product.parent`.`price`) as `product.price`, `product`.`product_number` as `product.productNumber`, `product`.`stock` as `product.stock`, COALESCE(`product`.`restock_time`, `product.parent`.`restock_time`) as `product.restockTime`, `product`.`auto_increment` as `product.autoIncrement`, COALESCE(`product`.`active`, `product.parent`.`active`) as `product.active`, `product`.`available_stock` as `product.availableStock`, `product`.`available` as `product.available`, COALESCE(`product`.`is_closeout`, `product.parent`.`is_closeout`) as `product.isCloseout`, `product`.`display_group` as `product.displayGroup`, `product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`, COALESCE(`product`.`configurator_group_config`, `product.parent`.`configurator_group_config`) as `product.configuratorGroupConfig`, COALESCE(`product`.`main_variant_id`, `product.parent`.`main_variant_id`) as `product.mainVariantId`, COALESCE(`product`.`display_parent`, `product.parent`.`display_parent`) as `product.displayParent`, `product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`, COALESCE(`product`.`variant_listing_config`, `product.parent`.`variant_listing_config`) as `product.variantListingConfig`, `product`.`variant_restrictions` as `product.variantRestrictions`, COALESCE(`product`.`manufacturer_number`, `product.parent`.`manufacturer_number`) as `product.manufacturerNumber`, COALESCE(`product`.`ean`, `product.parent`.`ean`) as `product.ean`, COALESCE(`product`.`purchase_steps`, `product.parent`.`purchase_steps`) as `product.purchaseSteps`, COALESCE(`product`.`max_purchase`, `product.parent`.`max_purchase`) as `product.maxPurchase`, COALESCE(`product`.`min_purchase`, `product.parent`.`min_purchase`) as `product.minPurchase`, COALESCE(`product`.`purchase_unit`, `product.parent`.`purchase_unit`) as `product.purchaseUnit`, COALESCE(`product`.`reference_unit`, `product.parent`.`reference_unit`) as `product.referenceUnit`, COALESCE(`product`.`shipping_free`, `product.parent`.`shipping_free`) as `product.shippingFree`, `product.parent`.`purchase_prices` as `product.purchasePrices.inherited`, COALESCE(`product`.`purchase_prices`, `product.parent`.`purchase_prices`) as `product.purchasePrices`, COALESCE(`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`) as `product.markAsTopseller`, COALESCE(`product`.`weight`, `product.parent`.`weight`) as `product.weight`, COALESCE(`product`.`width`, `product.parent`.`width`) as `product.width`, COALESCE(`product`.`height`, `product.parent`.`height`) as `product.height`, COALESCE(`product`.`length`, `product.parent`.`length`) as `product.length`, COALESCE(`product`.`release_date`, `product.parent`.`release_date`) as `product.releaseDate`, COALESCE(`product`.`rating_average`, `product.parent`.`rating_average`) as `product.ratingAverage`, `product.parent`.`category_tree` as `product.categoryTree.inherited`, COALESCE(`product`.`category_tree`, `product.parent`.`category_tree`) as `product.categoryTree`, `product.parent`.`property_ids` as `product.propertyIds.inherited`, COALESCE(`product`.`property_ids`, `product.parent`.`property_ids`) as `product.propertyIds`, `product.parent`.`option_ids` as `product.optionIds.inherited`, COALESCE(`product`.`option_ids`, `product.parent`.`option_ids`) as `product.optionIds`, `product.parent`.`stream_ids` as `product.streamIds.inherited`, COALESCE(`product`.`stream_ids`, `product.parent`.`stream_ids`) as `product.streamIds`, `product.parent`.`tag_ids` as `product.tagIds.inherited`, COALESCE(`product`.`tag_ids`, `product.parent`.`tag_ids`) as `product.tagIds`, `product.parent`.`category_ids` as `product.categoryIds.inherited`, COALESCE(`product`.`category_ids`, `product.parent`.`category_ids`) as `product.categoryIds`, `product`.`child_count` as `product.childCount`, COALESCE(`product`.`custom_field_set_selection_active`, `product.parent`.`custom_field_set_selection_active`) as `product.customFieldSetSelectionActive`, `product`.`sales` as `product.sales`, `product`.`states` as `product.states`, `product.tax`.`id` as `product.tax.id`, `product.tax`.`tax_rate` as `product.tax.taxRate`, `product.tax`.`name` as `product.tax.name`, `product.tax`.`position` as `product.tax.position`, `product.tax`.`custom_fields` as `product.tax.customFields`, `product.tax`.`created_at` as `product.tax.createdAt`, `product.tax`.`updated_at` as `product.tax.updatedAt`, `product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`, COALESCE(`product`.`cheapest_price`, `product.parent`.`cheapest_price`) as `product.cheapestPrice`, `product`.`created_at` as `product.createdAt`, `product`.`updated_at` as `product.updatedAt`, `product.unit`.`id` as `product.unit.id`, `product.unit`.`created_at` as `product.unit.createdAt`, `product.unit`.`updated_at` as `product.unit.updatedAt`, `product.unit.translation.shortCode`, COALESCE(`product.unit.translation.shortCode`,`product.unit.translation.shortCode`) as `product.unit.shortCode`, `product.unit.translation.name`, COALESCE(`product.unit.translation.name`,`product.unit.translation.name`) as `product.unit.name`, `product.unit.translation.customFields`, COALESCE(`product.unit.translation.customFields`,`product.unit.translation.customFields`) as `product.unit.customFields`, `product.unit.translation.createdAt`, `product.unit.translation.updatedAt`, `product.unit.translation.unitId`, `product.unit.translation.languageId`, `product.deliveryTime`.`id` as `product.deliveryTime.id`, `product.deliveryTime`.`min` as `product.deliveryTime.min`, `product.deliveryTime`.`max` as `product.deliveryTime.max`, `product.deliveryTime`.`unit` as `product.deliveryTime.unit`, `product.deliveryTime`.`created_at` as `product.deliveryTime.createdAt`, `product.deliveryTime`.`updated_at` as `product.deliveryTime.updatedAt`, `product.deliveryTime.translation.name`, COALESCE(`product.deliveryTime.translation.name`,`product.deliveryTime.translation.name`) as `product.deliveryTime.name`, `product.deliveryTime.translation.customFields`, COALESCE(`product.deliveryTime.translation.customFields`,`product.deliveryTime.translation.customFields`) as `product.deliveryTime.customFields`, `product.deliveryTime.translation.createdAt`, `product.deliveryTime.translation.updatedAt`, `product.deliveryTime.translation.deliveryTimeId`, `product.deliveryTime.translation.languageId`, `product.cover`.`id` as `product.cover.id`, `product.cover`.`version_id` as `product.cover.versionId`, `product.cover`.`product_id` as `product.cover.productId`, `product.cover`.`product_version_id` as `product.cover.productVersionId`, `product.cover`.`media_id` as `product.cover.mediaId`, `product.cover`.`position` as `product.cover.position`, `product.cover.media`.`id` as `product.cover.media.id`, `product.cover.media`.`user_id` as `product.cover.media.userId`, `product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`, `product.cover.media`.`mime_type` as `product.cover.media.mimeType`, `product.cover.media`.`file_extension` as `product.cover.media.fileExtension`, `product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`, `product.cover.media`.`file_name` as `product.cover.media.fileName`, `product.cover.media`.`file_size` as `product.cover.media.fileSize`, `product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`, `product.cover.media`.`meta_data` as `product.cover.media.metaData`, `product.cover.media`.`private` as `product.cover.media.private`, `product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`, `product.cover.media`.`created_at` as `product.cover.media.createdAt`, `product.cover.media`.`updated_at` as `product.cover.media.updatedAt`, `product.cover.media.translation.title`, COALESCE(`product.cover.media.translation.title`,`product.cover.media.translation.title`) as `product.cover.media.title`, `product.cover.media.translation.alt`, COALESCE(`product.cover.media.translation.alt`,`product.cover.media.translation.alt`) as `product.cover.media.alt`, `product.cover.media.translation.customFields`, COALESCE(`product.cover.media.translation.customFields`,`product.cover.media.translation.customFields`) as `product.cover.media.customFields`, `product.cover.media.translation.createdAt`, `product.cover.media.translation.updatedAt`, `product.cover.media.translation.mediaId`, `product.cover.media.translation.languageId`, `product.cover`.`custom_fields` as `product.cover.customFields`, `product.cover`.`created_at` as `product.cover.createdAt`, `product.cover`.`updated_at` as `product.cover.updatedAt`, `product.translation.metaDescription`, `product.parent.translation.metaDescription`, COALESCE(`product.translation.metaDescription`,`product.parent.translation.metaDescription`,`product.translation.metaDescription`) as `product.metaDescription`, `product.translation.name`, `product.parent.translation.name`, COALESCE(`product.translation.name`,`product.parent.translation.name`,`product.translation.name`) as `product.name`, `product.translation.keywords`, `product.parent.translation.keywords`, COALESCE(`product.translation.keywords`,`product.parent.translation.keywords`,`product.translation.keywords`) as `product.keywords`, `product.translation.description`, `product.parent.translation.description`, COALESCE(`product.translation.description`,`product.parent.translation.description`,`product.translation.description`) as `product.description`, `product.translation.metaTitle`, `product.parent.translation.metaTitle`, COALESCE(`product.translation.metaTitle`,`product.parent.translation.metaTitle`,`product.translation.metaTitle`) as `product.metaTitle`, `product.translation.packUnit`, `product.parent.translation.packUnit`, COALESCE(`product.translation.packUnit`,`product.parent.translation.packUnit`,`product.translation.packUnit`) as `product.packUnit`, `product.translation.packUnitPlural`, `product.parent.translation.packUnitPlural`, COALESCE(`product.translation.packUnitPlural`,`product.parent.translation.packUnitPlural`,`product.translation.packUnitPlural`) as `product.packUnitPlural`, `product.translation.customSearchKeywords`, `product.parent.translation.customSearchKeywords`, COALESCE(`product.translation.customSearchKeywords`,`product.parent.translation.customSearchKeywords`,`product.translation.customSearchKeywords`) as `product.customSearchKeywords`, `product.translation.slotConfig`, `product.parent.translation.slotConfig`, COALESCE(`product.translation.slotConfig`,`product.parent.translation.slotConfig`,`product.translation.slotConfig`) as `product.slotConfig`, `product.translation.customFields`, `product.parent.translation.customFields`, COALESCE(`product.translation.customFields`,`product.parent.translation.customFields`,`product.translation.customFields`) as `product.customFields`, `product.translation.createdAt`, `product.parent.translation.createdAt`, `product.translation.updatedAt`, `product.parent.translation.updatedAt`, `product.translation.productId`, `product.parent.translation.productId`, `product.translation.languageId`, `product.parent.translation.languageId`, `product.translation.productVersionId`, `product.parent.translation.productVersionId` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN (SELECT `product.translation`.product_id, `product.translation`.product_version_id, `product.translation`.meta_description as `product.translation.metaDescription`, `product.translation`.name as `product.translation.name`, `product.translation`.keywords as `product.translation.keywords`, `product.translation`.description as `product.translation.description`, `product.translation`.meta_title as `product.translation.metaTitle`, `product.translation`.pack_unit as `product.translation.packUnit`, `product.translation`.pack_unit_plural as `product.translation.packUnitPlural`, `product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`, `product.translation`.slot_config as `product.translation.slotConfig`, `product.translation`.custom_fields as `product.translation.customFields`, `product.translation`.created_at as `product.translation.createdAt`, `product.translation`.updated_at as `product.translation.updatedAt`, `product.translation`.product_id as `product.translation.productId`, `product.translation`.language_id as `product.translation.languageId`, `product.translation`.product_version_id as `product.translation.productVersionId` FROM `product_translation` `product.translation` WHERE `product.translation`.language_id = :languageId) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id` AND `product.product_translation`.product_version_id = `product`.version_id LEFT JOIN (SELECT `product.parent.translation`.product_id, `product.parent.translation`.product_version_id, `product.parent.translation`.meta_description as `product.parent.translation.metaDescription`, `product.parent.translation`.name as `product.parent.translation.name`, `product.parent.translation`.keywords as `product.parent.translation.keywords`, `product.parent.translation`.description as `product.parent.translation.description`, `product.parent.translation`.meta_title as `product.parent.translation.metaTitle`, `product.parent.translation`.pack_unit as `product.parent.translation.packUnit`, `product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`, `product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`, `product.parent.translation`.slot_config as `product.parent.translation.slotConfig`, `product.parent.translation`.custom_fields as `product.parent.translation.customFields`, `product.parent.translation`.created_at as `product.parent.translation.createdAt`, `product.parent.translation`.updated_at as `product.parent.translation.updatedAt`, `product.parent.translation`.product_id as `product.parent.translation.productId`, `product.parent.translation`.language_id as `product.parent.translation.languageId`, `product.parent.translation`.product_version_id as `product.parent.translation.productVersionId` FROM `product_translation` `product.parent.translation` WHERE `product.parent.translation`.language_id = :languageId) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id` AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id` LEFT JOIN `unit` `product.unit` ON `product`.`unit` = `product.unit`.`id` LEFT JOIN `delivery_time` `product.deliveryTime` ON `product`.`deliveryTime` = `product.deliveryTime`.`id` LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id` AND `product`.`version_id` = `product.cover`.`version_id` LEFT JOIN (SELECT `product.unit.translation`.unit_id, `product.unit.translation`.short_code as `product.unit.translation.shortCode`, `product.unit.translation`.name as `product.unit.translation.name`, `product.unit.translation`.custom_fields as `product.unit.translation.customFields`, `product.unit.translation`.created_at as `product.unit.translation.createdAt`, `product.unit.translation`.updated_at as `product.unit.translation.updatedAt`, `product.unit.translation`.unit_id as `product.unit.translation.unitId`, `product.unit.translation`.language_id as `product.unit.translation.languageId` FROM `unit_translation` `product.unit.translation` WHERE `product.unit.translation`.language_id = :languageId) `product.unit.unit_translation` ON `product.unit.unit_translation`.`unit_id` = `product.unit`.`id` LEFT JOIN (SELECT `product.deliveryTime.translation`.delivery_time_id, `product.deliveryTime.translation`.name as `product.deliveryTime.translation.name`, `product.deliveryTime.translation`.custom_fields as `product.deliveryTime.translation.customFields`, `product.deliveryTime.translation`.created_at as `product.deliveryTime.translation.createdAt`, `product.deliveryTime.translation`.updated_at as `product.deliveryTime.translation.updatedAt`, `product.deliveryTime.translation`.delivery_time_id as `product.deliveryTime.translation.deliveryTimeId`, `product.deliveryTime.translation`.language_id as `product.deliveryTime.translation.languageId` FROM `delivery_time_translation` `product.deliveryTime.translation` WHERE `product.deliveryTime.translation`.language_id = :languageId) `product.deliveryTime.delivery_time_translation` ON `product.deliveryTime.delivery_time_translation`.`delivery_time_id` = `product.deliveryTime`.`id` LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id` LEFT JOIN (SELECT `product.cover.media.translation`.media_id, `product.cover.media.translation`.title as `product.cover.media.translation.title`, `product.cover.media.translation`.alt as `product.cover.media.translation.alt`, `product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`, `product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`, `product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`, `product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`, `product.cover.media.translation`.language_id as `product.cover.media.translation.languageId` FROM `media_translation` `product.cover.media.translation` WHERE `product.cover.media.translation`.language_id = :languageId) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id` WHERE (`product`.`version_id` = :version) AND (`product`.`id` IN (:ids))
SELECT
`product`.`id` as `product.id`,
`product`.`version_id` as `product.versionId`,
`product`.`parent_id` as `product.parentId`,
`product`.`parent_version_id` as `product.parentVersionId`,
COALESCE(
`product`.`product_manufacturer_id`,
`product.parent`.`product_manufacturer_id`
) as `product.manufacturerId`,
COALESCE(
`product`.`product_manufacturer_version_id`,
`product.parent`.`product_manufacturer_version_id`
) as `product.productManufacturerVersionId`,
COALESCE(
`product`.`unit_id`, `product.parent`.`unit_id`
) as `product.unitId`,
COALESCE(
`product`.`tax_id`, `product.parent`.`tax_id`
) as `product.taxId`,
COALESCE(
`product`.`product_media_id`, `product.parent`.`product_media_id`
) as `product.coverId`,
COALESCE(
`product`.`product_media_version_id`,
`product.parent`.`product_media_version_id`
) as `product.productMediaVersionId`,
COALESCE(
`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`
) as `product.deliveryTimeId`,
COALESCE(
`product`.`product_feature_set_id`,
`product.parent`.`product_feature_set_id`
) as `product.featureSetId`,
COALESCE(
`product`.`canonical_product_id`,
`product.parent`.`canonical_product_id`
) as `product.canonicalProductId`,
COALESCE(
`product`.`cms_page_id`, `product.parent`.`cms_page_id`
) as `product.cmsPageId`,
COALESCE(
`product`.`cms_page_version_id`,
`product.parent`.`cms_page_version_id`
) as `product.cmsPageVersionId`,
`product.parent`.`price` as `product.price.inherited`,
COALESCE(
`product`.`price`, `product.parent`.`price`
) as `product.price`,
`product`.`product_number` as `product.productNumber`,
`product`.`stock` as `product.stock`,
COALESCE(
`product`.`restock_time`, `product.parent`.`restock_time`
) as `product.restockTime`,
`product`.`auto_increment` as `product.autoIncrement`,
COALESCE(
`product`.`active`, `product.parent`.`active`
) as `product.active`,
`product`.`available_stock` as `product.availableStock`,
`product`.`available` as `product.available`,
COALESCE(
`product`.`is_closeout`, `product.parent`.`is_closeout`
) as `product.isCloseout`,
`product`.`display_group` as `product.displayGroup`,
`product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`,
COALESCE(
`product`.`configurator_group_config`,
`product.parent`.`configurator_group_config`
) as `product.configuratorGroupConfig`,
COALESCE(
`product`.`main_variant_id`, `product.parent`.`main_variant_id`
) as `product.mainVariantId`,
COALESCE(
`product`.`display_parent`, `product.parent`.`display_parent`
) as `product.displayParent`,
`product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`,
COALESCE(
`product`.`variant_listing_config`,
`product.parent`.`variant_listing_config`
) as `product.variantListingConfig`,
`product`.`variant_restrictions` as `product.variantRestrictions`,
COALESCE(
`product`.`manufacturer_number`,
`product.parent`.`manufacturer_number`
) as `product.manufacturerNumber`,
COALESCE(
`product`.`ean`, `product.parent`.`ean`
) as `product.ean`,
COALESCE(
`product`.`purchase_steps`, `product.parent`.`purchase_steps`
) as `product.purchaseSteps`,
COALESCE(
`product`.`max_purchase`, `product.parent`.`max_purchase`
) as `product.maxPurchase`,
COALESCE(
`product`.`min_purchase`, `product.parent`.`min_purchase`
) as `product.minPurchase`,
COALESCE(
`product`.`purchase_unit`, `product.parent`.`purchase_unit`
) as `product.purchaseUnit`,
COALESCE(
`product`.`reference_unit`, `product.parent`.`reference_unit`
) as `product.referenceUnit`,
COALESCE(
`product`.`shipping_free`, `product.parent`.`shipping_free`
) as `product.shippingFree`,
`product.parent`.`purchase_prices` as `product.purchasePrices.inherited`,
COALESCE(
`product`.`purchase_prices`, `product.parent`.`purchase_prices`
) as `product.purchasePrices`,
COALESCE(
`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`
) as `product.markAsTopseller`,
COALESCE(
`product`.`weight`, `product.parent`.`weight`
) as `product.weight`,
COALESCE(
`product`.`width`, `product.parent`.`width`
) as `product.width`,
COALESCE(
`product`.`height`, `product.parent`.`height`
) as `product.height`,
COALESCE(
`product`.`length`, `product.parent`.`length`
) as `product.length`,
COALESCE(
`product`.`release_date`, `product.parent`.`release_date`
) as `product.releaseDate`,
COALESCE(
`product`.`rating_average`, `product.parent`.`rating_average`
) as `product.ratingAverage`,
`product.parent`.`category_tree` as `product.categoryTree.inherited`,
COALESCE(
`product`.`category_tree`, `product.parent`.`category_tree`
) as `product.categoryTree`,
`product.parent`.`property_ids` as `product.propertyIds.inherited`,
COALESCE(
`product`.`property_ids`, `product.parent`.`property_ids`
) as `product.propertyIds`,
`product.parent`.`option_ids` as `product.optionIds.inherited`,
COALESCE(
`product`.`option_ids`, `product.parent`.`option_ids`
) as `product.optionIds`,
`product.parent`.`stream_ids` as `product.streamIds.inherited`,
COALESCE(
`product`.`stream_ids`, `product.parent`.`stream_ids`
) as `product.streamIds`,
`product.parent`.`tag_ids` as `product.tagIds.inherited`,
COALESCE(
`product`.`tag_ids`, `product.parent`.`tag_ids`
) as `product.tagIds`,
`product.parent`.`category_ids` as `product.categoryIds.inherited`,
COALESCE(
`product`.`category_ids`, `product.parent`.`category_ids`
) as `product.categoryIds`,
`product`.`child_count` as `product.childCount`,
COALESCE(
`product`.`custom_field_set_selection_active`,
`product.parent`.`custom_field_set_selection_active`
) as `product.customFieldSetSelectionActive`,
`product`.`sales` as `product.sales`,
`product`.`states` as `product.states`,
`product.tax`.`id` as `product.tax.id`,
`product.tax`.`tax_rate` as `product.tax.taxRate`,
`product.tax`.`name` as `product.tax.name`,
`product.tax`.`position` as `product.tax.position`,
`product.tax`.`custom_fields` as `product.tax.customFields`,
`product.tax`.`created_at` as `product.tax.createdAt`,
`product.tax`.`updated_at` as `product.tax.updatedAt`,
`product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`,
COALESCE(
`product`.`cheapest_price`, `product.parent`.`cheapest_price`
) as `product.cheapestPrice`,
`product`.`created_at` as `product.createdAt`,
`product`.`updated_at` as `product.updatedAt`,
`product.unit`.`id` as `product.unit.id`,
`product.unit`.`created_at` as `product.unit.createdAt`,
`product.unit`.`updated_at` as `product.unit.updatedAt`,
`product.unit.translation.shortCode`,
COALESCE(
`product.unit.translation.shortCode`,
`product.unit.translation.shortCode`
) as `product.unit.shortCode`,
`product.unit.translation.name`,
COALESCE(
`product.unit.translation.name`,
`product.unit.translation.name`
) as `product.unit.name`,
`product.unit.translation.customFields`,
COALESCE(
`product.unit.translation.customFields`,
`product.unit.translation.customFields`
) as `product.unit.customFields`,
`product.unit.translation.createdAt`,
`product.unit.translation.updatedAt`,
`product.unit.translation.unitId`,
`product.unit.translation.languageId`,
`product.deliveryTime`.`id` as `product.deliveryTime.id`,
`product.deliveryTime`.`min` as `product.deliveryTime.min`,
`product.deliveryTime`.`max` as `product.deliveryTime.max`,
`product.deliveryTime`.`unit` as `product.deliveryTime.unit`,
`product.deliveryTime`.`created_at` as `product.deliveryTime.createdAt`,
`product.deliveryTime`.`updated_at` as `product.deliveryTime.updatedAt`,
`product.deliveryTime.translation.name`,
COALESCE(
`product.deliveryTime.translation.name`,
`product.deliveryTime.translation.name`
) as `product.deliveryTime.name`,
`product.deliveryTime.translation.customFields`,
COALESCE(
`product.deliveryTime.translation.customFields`,
`product.deliveryTime.translation.customFields`
) as `product.deliveryTime.customFields`,
`product.deliveryTime.translation.createdAt`,
`product.deliveryTime.translation.updatedAt`,
`product.deliveryTime.translation.deliveryTimeId`,
`product.deliveryTime.translation.languageId`,
`product.cover`.`id` as `product.cover.id`,
`product.cover`.`version_id` as `product.cover.versionId`,
`product.cover`.`product_id` as `product.cover.productId`,
`product.cover`.`product_version_id` as `product.cover.productVersionId`,
`product.cover`.`media_id` as `product.cover.mediaId`,
`product.cover`.`position` as `product.cover.position`,
`product.cover.media`.`id` as `product.cover.media.id`,
`product.cover.media`.`user_id` as `product.cover.media.userId`,
`product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`,
`product.cover.media`.`mime_type` as `product.cover.media.mimeType`,
`product.cover.media`.`file_extension` as `product.cover.media.fileExtension`,
`product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`,
`product.cover.media`.`file_name` as `product.cover.media.fileName`,
`product.cover.media`.`file_size` as `product.cover.media.fileSize`,
`product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`,
`product.cover.media`.`meta_data` as `product.cover.media.metaData`,
`product.cover.media`.`private` as `product.cover.media.private`,
`product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`,
`product.cover.media`.`created_at` as `product.cover.media.createdAt`,
`product.cover.media`.`updated_at` as `product.cover.media.updatedAt`,
`product.cover.media.translation.title`,
COALESCE(
`product.cover.media.translation.title`,
`product.cover.media.translation.title`
) as `product.cover.media.title`,
`product.cover.media.translation.alt`,
COALESCE(
`product.cover.media.translation.alt`,
`product.cover.media.translation.alt`
) as `product.cover.media.alt`,
`product.cover.media.translation.customFields`,
COALESCE(
`product.cover.media.translation.customFields`,
`product.cover.media.translation.customFields`
) as `product.cover.media.customFields`,
`product.cover.media.translation.createdAt`,
`product.cover.media.translation.updatedAt`,
`product.cover.media.translation.mediaId`,
`product.cover.media.translation.languageId`,
`product.cover`.`custom_fields` as `product.cover.customFields`,
`product.cover`.`created_at` as `product.cover.createdAt`,
`product.cover`.`updated_at` as `product.cover.updatedAt`,
`product.translation.metaDescription`,
`product.parent.translation.metaDescription`,
COALESCE(
`product.translation.metaDescription`,
`product.parent.translation.metaDescription`,
`product.translation.metaDescription`
) as `product.metaDescription`,
`product.translation.name`,
`product.parent.translation.name`,
COALESCE(
`product.translation.name`, `product.parent.translation.name`,
`product.translation.name`
) as `product.name`,
`product.translation.keywords`,
`product.parent.translation.keywords`,
COALESCE(
`product.translation.keywords`,
`product.parent.translation.keywords`,
`product.translation.keywords`
) as `product.keywords`,
`product.translation.description`,
`product.parent.translation.description`,
COALESCE(
`product.translation.description`,
`product.parent.translation.description`,
`product.translation.description`
) as `product.description`,
`product.translation.metaTitle`,
`product.parent.translation.metaTitle`,
COALESCE(
`product.translation.metaTitle`,
`product.parent.translation.metaTitle`,
`product.translation.metaTitle`
) as `product.metaTitle`,
`product.translation.packUnit`,
`product.parent.translation.packUnit`,
COALESCE(
`product.translation.packUnit`,
`product.parent.translation.packUnit`,
`product.translation.packUnit`
) as `product.packUnit`,
`product.translation.packUnitPlural`,
`product.parent.translation.packUnitPlural`,
COALESCE(
`product.translation.packUnitPlural`,
`product.parent.translation.packUnitPlural`,
`product.translation.packUnitPlural`
) as `product.packUnitPlural`,
`product.translation.customSearchKeywords`,
`product.parent.translation.customSearchKeywords`,
COALESCE(
`product.translation.customSearchKeywords`,
`product.parent.translation.customSearchKeywords`,
`product.translation.customSearchKeywords`
) as `product.customSearchKeywords`,
`product.translation.slotConfig`,
`product.parent.translation.slotConfig`,
COALESCE(
`product.translation.slotConfig`,
`product.parent.translation.slotConfig`,
`product.translation.slotConfig`
) as `product.slotConfig`,
`product.translation.customFields`,
`product.parent.translation.customFields`,
COALESCE(
`product.translation.customFields`,
`product.parent.translation.customFields`,
`product.translation.customFields`
) as `product.customFields`,
`product.translation.createdAt`,
`product.parent.translation.createdAt`,
`product.translation.updatedAt`,
`product.parent.translation.updatedAt`,
`product.translation.productId`,
`product.parent.translation.productId`,
`product.translation.languageId`,
`product.parent.translation.languageId`,
`product.translation.productVersionId`,
`product.parent.translation.productVersionId`
FROM
`product`
LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id`
AND `product`.`version_id` = `product.parent`.`version_id`
LEFT JOIN (
SELECT
`product.translation`.product_id,
`product.translation`.product_version_id,
`product.translation`.meta_description as `product.translation.metaDescription`,
`product.translation`.name as `product.translation.name`,
`product.translation`.keywords as `product.translation.keywords`,
`product.translation`.description as `product.translation.description`,
`product.translation`.meta_title as `product.translation.metaTitle`,
`product.translation`.pack_unit as `product.translation.packUnit`,
`product.translation`.pack_unit_plural as `product.translation.packUnitPlural`,
`product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`,
`product.translation`.slot_config as `product.translation.slotConfig`,
`product.translation`.custom_fields as `product.translation.customFields`,
`product.translation`.created_at as `product.translation.createdAt`,
`product.translation`.updated_at as `product.translation.updatedAt`,
`product.translation`.product_id as `product.translation.productId`,
`product.translation`.language_id as `product.translation.languageId`,
`product.translation`.product_version_id as `product.translation.productVersionId`
FROM
`product_translation` `product.translation`
WHERE
`product.translation`.language_id = : languageId
) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id`
AND `product.product_translation`.product_version_id = `product`.version_id
LEFT JOIN (
SELECT
`product.parent.translation`.product_id,
`product.parent.translation`.product_version_id,
`product.parent.translation`.meta_description as `product.parent.translation.metaDescription`,
`product.parent.translation`.name as `product.parent.translation.name`,
`product.parent.translation`.keywords as `product.parent.translation.keywords`,
`product.parent.translation`.description as `product.parent.translation.description`,
`product.parent.translation`.meta_title as `product.parent.translation.metaTitle`,
`product.parent.translation`.pack_unit as `product.parent.translation.packUnit`,
`product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`,
`product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`,
`product.parent.translation`.slot_config as `product.parent.translation.slotConfig`,
`product.parent.translation`.custom_fields as `product.parent.translation.customFields`,
`product.parent.translation`.created_at as `product.parent.translation.createdAt`,
`product.parent.translation`.updated_at as `product.parent.translation.updatedAt`,
`product.parent.translation`.product_id as `product.parent.translation.productId`,
`product.parent.translation`.language_id as `product.parent.translation.languageId`,
`product.parent.translation`.product_version_id as `product.parent.translation.productVersionId`
FROM
`product_translation` `product.parent.translation`
WHERE
`product.parent.translation`.language_id = : languageId
) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id`
AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id
LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id`
LEFT JOIN `unit` `product.unit` ON `product`.`unit` = `product.unit`.`id`
LEFT JOIN `delivery_time` `product.deliveryTime` ON `product`.`deliveryTime` = `product.deliveryTime`.`id`
LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id`
AND `product`.`version_id` = `product.cover`.`version_id`
LEFT JOIN (
SELECT
`product.unit.translation`.unit_id,
`product.unit.translation`.short_code as `product.unit.translation.shortCode`,
`product.unit.translation`.name as `product.unit.translation.name`,
`product.unit.translation`.custom_fields as `product.unit.translation.customFields`,
`product.unit.translation`.created_at as `product.unit.translation.createdAt`,
`product.unit.translation`.updated_at as `product.unit.translation.updatedAt`,
`product.unit.translation`.unit_id as `product.unit.translation.unitId`,
`product.unit.translation`.language_id as `product.unit.translation.languageId`
FROM
`unit_translation` `product.unit.translation`
WHERE
`product.unit.translation`.language_id = : languageId
) `product.unit.unit_translation` ON `product.unit.unit_translation`.`unit_id` = `product.unit`.`id`
LEFT JOIN (
SELECT
`product.deliveryTime.translation`.delivery_time_id,
`product.deliveryTime.translation`.name as `product.deliveryTime.translation.name`,
`product.deliveryTime.translation`.custom_fields as `product.deliveryTime.translation.customFields`,
`product.deliveryTime.translation`.created_at as `product.deliveryTime.translation.createdAt`,
`product.deliveryTime.translation`.updated_at as `product.deliveryTime.translation.updatedAt`,
`product.deliveryTime.translation`.delivery_time_id as `product.deliveryTime.translation.deliveryTimeId`,
`product.deliveryTime.translation`.language_id as `product.deliveryTime.translation.languageId`
FROM
`delivery_time_translation` `product.deliveryTime.translation`
WHERE
`product.deliveryTime.translation`.language_id = : languageId
) `product.deliveryTime.delivery_time_translation` ON `product.deliveryTime.delivery_time_translation`.`delivery_time_id` = `product.deliveryTime`.`id`
LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id`
LEFT JOIN (
SELECT
`product.cover.media.translation`.media_id,
`product.cover.media.translation`.title as `product.cover.media.translation.title`,
`product.cover.media.translation`.alt as `product.cover.media.translation.alt`,
`product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`,
`product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`,
`product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`,
`product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`,
`product.cover.media.translation`.language_id as `product.cover.media.translation.languageId`
FROM
`media_translation` `product.cover.media.translation`
WHERE
`product.cover.media.translation`.language_id = : languageId
) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id`
WHERE
(
`product`.`version_id` = : version
)
AND (
`product`.`id` IN (: ids)
)
SELECT `product`.`id` as `product.id`, `product`.`version_id` as `product.versionId`, `product`.`parent_id` as `product.parentId`, `product`.`parent_version_id` as `product.parentVersionId`, COALESCE(`product`.`product_manufacturer_id`, `product.parent`.`product_manufacturer_id`) as `product.manufacturerId`, COALESCE(`product`.`product_manufacturer_version_id`, `product.parent`.`product_manufacturer_version_id`) as `product.productManufacturerVersionId`, COALESCE(`product`.`unit_id`, `product.parent`.`unit_id`) as `product.unitId`, COALESCE(`product`.`tax_id`, `product.parent`.`tax_id`) as `product.taxId`, COALESCE(`product`.`product_media_id`, `product.parent`.`product_media_id`) as `product.coverId`, COALESCE(`product`.`product_media_version_id`, `product.parent`.`product_media_version_id`) as `product.productMediaVersionId`, COALESCE(`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`) as `product.deliveryTimeId`, COALESCE(`product`.`product_feature_set_id`, `product.parent`.`product_feature_set_id`) as `product.featureSetId`, COALESCE(`product`.`canonical_product_id`, `product.parent`.`canonical_product_id`) as `product.canonicalProductId`, COALESCE(`product`.`cms_page_id`, `product.parent`.`cms_page_id`) as `product.cmsPageId`, COALESCE(`product`.`cms_page_version_id`, `product.parent`.`cms_page_version_id`) as `product.cmsPageVersionId`, `product.parent`.`price` as `product.price.inherited`, COALESCE(`product`.`price`, `product.parent`.`price`) as `product.price`, `product`.`product_number` as `product.productNumber`, `product`.`stock` as `product.stock`, COALESCE(`product`.`restock_time`, `product.parent`.`restock_time`) as `product.restockTime`, `product`.`auto_increment` as `product.autoIncrement`, COALESCE(`product`.`active`, `product.parent`.`active`) as `product.active`, `product`.`available_stock` as `product.availableStock`, `product`.`available` as `product.available`, COALESCE(`product`.`is_closeout`, `product.parent`.`is_closeout`) as `product.isCloseout`, `product`.`display_group` as `product.displayGroup`, `product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`, COALESCE(`product`.`configurator_group_config`, `product.parent`.`configurator_group_config`) as `product.configuratorGroupConfig`, COALESCE(`product`.`main_variant_id`, `product.parent`.`main_variant_id`) as `product.mainVariantId`, COALESCE(`product`.`display_parent`, `product.parent`.`display_parent`) as `product.displayParent`, `product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`, COALESCE(`product`.`variant_listing_config`, `product.parent`.`variant_listing_config`) as `product.variantListingConfig`, `product`.`variant_restrictions` as `product.variantRestrictions`, COALESCE(`product`.`manufacturer_number`, `product.parent`.`manufacturer_number`) as `product.manufacturerNumber`, COALESCE(`product`.`ean`, `product.parent`.`ean`) as `product.ean`, COALESCE(`product`.`purchase_steps`, `product.parent`.`purchase_steps`) as `product.purchaseSteps`, COALESCE(`product`.`max_purchase`, `product.parent`.`max_purchase`) as `product.maxPurchase`, COALESCE(`product`.`min_purchase`, `product.parent`.`min_purchase`) as `product.minPurchase`, COALESCE(`product`.`purchase_unit`, `product.parent`.`purchase_unit`) as `product.purchaseUnit`, COALESCE(`product`.`reference_unit`, `product.parent`.`reference_unit`) as `product.referenceUnit`, COALESCE(`product`.`shipping_free`, `product.parent`.`shipping_free`) as `product.shippingFree`, `product.parent`.`purchase_prices` as `product.purchasePrices.inherited`, COALESCE(`product`.`purchase_prices`, `product.parent`.`purchase_prices`) as `product.purchasePrices`, COALESCE(`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`) as `product.markAsTopseller`, COALESCE(`product`.`weight`, `product.parent`.`weight`) as `product.weight`, COALESCE(`product`.`width`, `product.parent`.`width`) as `product.width`, COALESCE(`product`.`height`, `product.parent`.`height`) as `product.height`, COALESCE(`product`.`length`, `product.parent`.`length`) as `product.length`, COALESCE(`product`.`release_date`, `product.parent`.`release_date`) as `product.releaseDate`, COALESCE(`product`.`rating_average`, `product.parent`.`rating_average`) as `product.ratingAverage`, `product.parent`.`category_tree` as `product.categoryTree.inherited`, COALESCE(`product`.`category_tree`, `product.parent`.`category_tree`) as `product.categoryTree`, `product.parent`.`property_ids` as `product.propertyIds.inherited`, COALESCE(`product`.`property_ids`, `product.parent`.`property_ids`) as `product.propertyIds`, `product.parent`.`option_ids` as `product.optionIds.inherited`, COALESCE(`product`.`option_ids`, `product.parent`.`option_ids`) as `product.optionIds`, `product.parent`.`stream_ids` as `product.streamIds.inherited`, COALESCE(`product`.`stream_ids`, `product.parent`.`stream_ids`) as `product.streamIds`, `product.parent`.`tag_ids` as `product.tagIds.inherited`, COALESCE(`product`.`tag_ids`, `product.parent`.`tag_ids`) as `product.tagIds`, `product.parent`.`category_ids` as `product.categoryIds.inherited`, COALESCE(`product`.`category_ids`, `product.parent`.`category_ids`) as `product.categoryIds`, `product`.`child_count` as `product.childCount`, COALESCE(`product`.`custom_field_set_selection_active`, `product.parent`.`custom_field_set_selection_active`) as `product.customFieldSetSelectionActive`, `product`.`sales` as `product.sales`, `product`.`states` as `product.states`, `product.tax`.`id` as `product.tax.id`, `product.tax`.`tax_rate` as `product.tax.taxRate`, `product.tax`.`name` as `product.tax.name`, `product.tax`.`position` as `product.tax.position`, `product.tax`.`custom_fields` as `product.tax.customFields`, `product.tax`.`created_at` as `product.tax.createdAt`, `product.tax`.`updated_at` as `product.tax.updatedAt`, `product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`, COALESCE(`product`.`cheapest_price`, `product.parent`.`cheapest_price`) as `product.cheapestPrice`, `product`.`created_at` as `product.createdAt`, `product`.`updated_at` as `product.updatedAt`, `product.unit`.`id` as `product.unit.id`, `product.unit`.`created_at` as `product.unit.createdAt`, `product.unit`.`updated_at` as `product.unit.updatedAt`, `product.unit.translation.shortCode`, COALESCE(`product.unit.translation.shortCode`,`product.unit.translation.shortCode`) as `product.unit.shortCode`, `product.unit.translation.name`, COALESCE(`product.unit.translation.name`,`product.unit.translation.name`) as `product.unit.name`, `product.unit.translation.customFields`, COALESCE(`product.unit.translation.customFields`,`product.unit.translation.customFields`) as `product.unit.customFields`, `product.unit.translation.createdAt`, `product.unit.translation.updatedAt`, `product.unit.translation.unitId`, `product.unit.translation.languageId`, `product.deliveryTime`.`id` as `product.deliveryTime.id`, `product.deliveryTime`.`min` as `product.deliveryTime.min`, `product.deliveryTime`.`max` as `product.deliveryTime.max`, `product.deliveryTime`.`unit` as `product.deliveryTime.unit`, `product.deliveryTime`.`created_at` as `product.deliveryTime.createdAt`, `product.deliveryTime`.`updated_at` as `product.deliveryTime.updatedAt`, `product.deliveryTime.translation.name`, COALESCE(`product.deliveryTime.translation.name`,`product.deliveryTime.translation.name`) as `product.deliveryTime.name`, `product.deliveryTime.translation.customFields`, COALESCE(`product.deliveryTime.translation.customFields`,`product.deliveryTime.translation.customFields`) as `product.deliveryTime.customFields`, `product.deliveryTime.translation.createdAt`, `product.deliveryTime.translation.updatedAt`, `product.deliveryTime.translation.deliveryTimeId`, `product.deliveryTime.translation.languageId`, `product.cover`.`id` as `product.cover.id`, `product.cover`.`version_id` as `product.cover.versionId`, `product.cover`.`product_id` as `product.cover.productId`, `product.cover`.`product_version_id` as `product.cover.productVersionId`, `product.cover`.`media_id` as `product.cover.mediaId`, `product.cover`.`position` as `product.cover.position`, `product.cover.media`.`id` as `product.cover.media.id`, `product.cover.media`.`user_id` as `product.cover.media.userId`, `product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`, `product.cover.media`.`mime_type` as `product.cover.media.mimeType`, `product.cover.media`.`file_extension` as `product.cover.media.fileExtension`, `product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`, `product.cover.media`.`file_name` as `product.cover.media.fileName`, `product.cover.media`.`file_size` as `product.cover.media.fileSize`, `product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`, `product.cover.media`.`meta_data` as `product.cover.media.metaData`, `product.cover.media`.`private` as `product.cover.media.private`, `product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`, `product.cover.media`.`created_at` as `product.cover.media.createdAt`, `product.cover.media`.`updated_at` as `product.cover.media.updatedAt`, `product.cover.media.translation.title`, COALESCE(`product.cover.media.translation.title`,`product.cover.media.translation.title`) as `product.cover.media.title`, `product.cover.media.translation.alt`, COALESCE(`product.cover.media.translation.alt`,`product.cover.media.translation.alt`) as `product.cover.media.alt`, `product.cover.media.translation.customFields`, COALESCE(`product.cover.media.translation.customFields`,`product.cover.media.translation.customFields`) as `product.cover.media.customFields`, `product.cover.media.translation.createdAt`, `product.cover.media.translation.updatedAt`, `product.cover.media.translation.mediaId`, `product.cover.media.translation.languageId`, `product.cover`.`custom_fields` as `product.cover.customFields`, `product.cover`.`created_at` as `product.cover.createdAt`, `product.cover`.`updated_at` as `product.cover.updatedAt`, `product.translation.metaDescription`, `product.parent.translation.metaDescription`, COALESCE(`product.translation.metaDescription`,`product.parent.translation.metaDescription`,`product.translation.metaDescription`) as `product.metaDescription`, `product.translation.name`, `product.parent.translation.name`, COALESCE(`product.translation.name`,`product.parent.translation.name`,`product.translation.name`) as `product.name`, `product.translation.keywords`, `product.parent.translation.keywords`, COALESCE(`product.translation.keywords`,`product.parent.translation.keywords`,`product.translation.keywords`) as `product.keywords`, `product.translation.description`, `product.parent.translation.description`, COALESCE(`product.translation.description`,`product.parent.translation.description`,`product.translation.description`) as `product.description`, `product.translation.metaTitle`, `product.parent.translation.metaTitle`, COALESCE(`product.translation.metaTitle`,`product.parent.translation.metaTitle`,`product.translation.metaTitle`) as `product.metaTitle`, `product.translation.packUnit`, `product.parent.translation.packUnit`, COALESCE(`product.translation.packUnit`,`product.parent.translation.packUnit`,`product.translation.packUnit`) as `product.packUnit`, `product.translation.packUnitPlural`, `product.parent.translation.packUnitPlural`, COALESCE(`product.translation.packUnitPlural`,`product.parent.translation.packUnitPlural`,`product.translation.packUnitPlural`) as `product.packUnitPlural`, `product.translation.customSearchKeywords`, `product.parent.translation.customSearchKeywords`, COALESCE(`product.translation.customSearchKeywords`,`product.parent.translation.customSearchKeywords`,`product.translation.customSearchKeywords`) as `product.customSearchKeywords`, `product.translation.slotConfig`, `product.parent.translation.slotConfig`, COALESCE(`product.translation.slotConfig`,`product.parent.translation.slotConfig`,`product.translation.slotConfig`) as `product.slotConfig`, `product.translation.customFields`, `product.parent.translation.customFields`, COALESCE(`product.translation.customFields`,`product.parent.translation.customFields`,`product.translation.customFields`) as `product.customFields`, `product.translation.createdAt`, `product.parent.translation.createdAt`, `product.translation.updatedAt`, `product.parent.translation.updatedAt`, `product.translation.productId`, `product.parent.translation.productId`, `product.translation.languageId`, `product.parent.translation.languageId`, `product.translation.productVersionId`, `product.parent.translation.productVersionId` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN (SELECT `product.translation`.product_id, `product.translation`.product_version_id, `product.translation`.meta_description as `product.translation.metaDescription`, `product.translation`.name as `product.translation.name`, `product.translation`.keywords as `product.translation.keywords`, `product.translation`.description as `product.translation.description`, `product.translation`.meta_title as `product.translation.metaTitle`, `product.translation`.pack_unit as `product.translation.packUnit`, `product.translation`.pack_unit_plural as `product.translation.packUnitPlural`, `product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`, `product.translation`.slot_config as `product.translation.slotConfig`, `product.translation`.custom_fields as `product.translation.customFields`, `product.translation`.created_at as `product.translation.createdAt`, `product.translation`.updated_at as `product.translation.updatedAt`, `product.translation`.product_id as `product.translation.productId`, `product.translation`.language_id as `product.translation.languageId`, `product.translation`.product_version_id as `product.translation.productVersionId` FROM `product_translation` `product.translation` WHERE `product.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id` AND `product.product_translation`.product_version_id = `product`.version_id LEFT JOIN (SELECT `product.parent.translation`.product_id, `product.parent.translation`.product_version_id, `product.parent.translation`.meta_description as `product.parent.translation.metaDescription`, `product.parent.translation`.name as `product.parent.translation.name`, `product.parent.translation`.keywords as `product.parent.translation.keywords`, `product.parent.translation`.description as `product.parent.translation.description`, `product.parent.translation`.meta_title as `product.parent.translation.metaTitle`, `product.parent.translation`.pack_unit as `product.parent.translation.packUnit`, `product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`, `product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`, `product.parent.translation`.slot_config as `product.parent.translation.slotConfig`, `product.parent.translation`.custom_fields as `product.parent.translation.customFields`, `product.parent.translation`.created_at as `product.parent.translation.createdAt`, `product.parent.translation`.updated_at as `product.parent.translation.updatedAt`, `product.parent.translation`.product_id as `product.parent.translation.productId`, `product.parent.translation`.language_id as `product.parent.translation.languageId`, `product.parent.translation`.product_version_id as `product.parent.translation.productVersionId` FROM `product_translation` `product.parent.translation` WHERE `product.parent.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id` AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id` LEFT JOIN `unit` `product.unit` ON `product`.`unit` = `product.unit`.`id` LEFT JOIN `delivery_time` `product.deliveryTime` ON `product`.`deliveryTime` = `product.deliveryTime`.`id` LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id` AND `product`.`version_id` = `product.cover`.`version_id` LEFT JOIN (SELECT `product.unit.translation`.unit_id, `product.unit.translation`.short_code as `product.unit.translation.shortCode`, `product.unit.translation`.name as `product.unit.translation.name`, `product.unit.translation`.custom_fields as `product.unit.translation.customFields`, `product.unit.translation`.created_at as `product.unit.translation.createdAt`, `product.unit.translation`.updated_at as `product.unit.translation.updatedAt`, `product.unit.translation`.unit_id as `product.unit.translation.unitId`, `product.unit.translation`.language_id as `product.unit.translation.languageId` FROM `unit_translation` `product.unit.translation` WHERE `product.unit.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.unit.unit_translation` ON `product.unit.unit_translation`.`unit_id` = `product.unit`.`id` LEFT JOIN (SELECT `product.deliveryTime.translation`.delivery_time_id, `product.deliveryTime.translation`.name as `product.deliveryTime.translation.name`, `product.deliveryTime.translation`.custom_fields as `product.deliveryTime.translation.customFields`, `product.deliveryTime.translation`.created_at as `product.deliveryTime.translation.createdAt`, `product.deliveryTime.translation`.updated_at as `product.deliveryTime.translation.updatedAt`, `product.deliveryTime.translation`.delivery_time_id as `product.deliveryTime.translation.deliveryTimeId`, `product.deliveryTime.translation`.language_id as `product.deliveryTime.translation.languageId` FROM `delivery_time_translation` `product.deliveryTime.translation` WHERE `product.deliveryTime.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.deliveryTime.delivery_time_translation` ON `product.deliveryTime.delivery_time_translation`.`delivery_time_id` = `product.deliveryTime`.`id` LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id` LEFT JOIN (SELECT `product.cover.media.translation`.media_id, `product.cover.media.translation`.title as `product.cover.media.translation.title`, `product.cover.media.translation`.alt as `product.cover.media.translation.alt`, `product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`, `product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`, `product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`, `product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`, `product.cover.media.translation`.language_id as `product.cover.media.translation.languageId` FROM `media_translation` `product.cover.media.translation` WHERE `product.cover.media.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id` WHERE (`product`.`version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425) AND (`product`.`id` IN (0xE8952557863C46F5B1074D52D84EA9FD));
array:37 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 242)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 316)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetch (line 148)"
4 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 93)"
5 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::read (line 195)"
6 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::read (line 133)"
7 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 36)"
8 => "Swag\PayPal\Util\Compatibility\SalesChannelRepositoryDecorator::search (line 207)"
9 => "Tds\MerwareDiscounts\Cart\Checkout\OverwrittenPriceCollector::getSalesChannelProduct (line 93)"
10 => "Tds\MerwareDiscounts\Cart\Checkout\OverwrittenPriceCollector::collect (line 103)"
11 => "Shopware\Core\Checkout\Cart\Processor::runProcessors (line 67)"
12 => "Shopware\Core\Checkout\Cart\Processor::Shopware\Core\Checkout\Cart\{closure} (line 59)"
13 => "Shopware\Core\Profiling\Profiler::trace (line 86)"
14 => "Shopware\Core\Checkout\Cart\Processor::process (line 132)"
15 => "Shopware\Core\Checkout\Cart\CartRuleLoader::Shopware\Core\Checkout\Cart\{closure} (line 59)"
16 => "Shopware\Core\Profiling\Profiler::trace (line 183)"
17 => "Shopware\Core\Checkout\Cart\CartRuleLoader::load (line 83)"
18 => "Shopware\Core\Checkout\Cart\CartRuleLoader::loadByToken (line 106)"
19 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::Shopware\Core\System\SalesChannel\Context\{closure} (line 59)"
20 => "Shopware\Core\Profiling\Profiler::trace (line 111)"
21 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::get (line 105)"
22 => "Shopware\Core\Framework\Routing\SalesChannelRequestContextResolver::resolve (line 38)"
23 => "Shopware\Core\Framework\Routing\ContextResolverListener::resolveContext (line 118)"
24 => "Symfony\Component\EventDispatcher\Debug\WrappedListener::__invoke (line 230)"
25 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
26 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
27 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
28 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
29 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
30 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
31 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 151)"
32 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
33 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
34 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
35 => "Shopware\Core\HttpKernel::doHandle (line 81)"
36 => "Shopware\Core\HttpKernel::handle (line 85)"
]
|
114 |
0.67 ms |
SELECT `product_price`.`id` as `product_price.id`, `product_price`.`version_id` as `product_price.versionId`, `product_price`.`product_id` as `product_price.productId`, `product_price`.`product_version_id` as `product_price.productVersionId`, `product_price`.`rule_id` as `product_price.ruleId`, `product_price`.`price` as `product_price.price`, `product_price`.`quantity_start` as `product_price.quantityStart`, `product_price`.`quantity_end` as `product_price.quantityEnd`, `product_price`.`custom_fields` as `product_price.customFields`, `product_price`.`created_at` as `product_price.createdAt`, `product_price`.`updated_at` as `product_price.updatedAt` FROM `product_price` WHERE (`product_price`.`version_id` = :version) AND ((`product_price`.`product_id` IN (:param_22e45362d504407f81269021d03cadee)))
SELECT `product_price`.`id` as `product_price.id`, `product_price`.`version_id` as `product_price.versionId`, `product_price`.`product_id` as `product_price.productId`, `product_price`.`product_version_id` as `product_price.productVersionId`, `product_price`.`rule_id` as `product_price.ruleId`, `product_price`.`price` as `product_price.price`, `product_price`.`quantity_start` as `product_price.quantityStart`, `product_price`.`quantity_end` as `product_price.quantityEnd`, `product_price`.`custom_fields` as `product_price.customFields`, `product_price`.`created_at` as `product_price.createdAt`, `product_price`.`updated_at` as `product_price.updatedAt` FROM `product_price` WHERE (`product_price`.`version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425) AND ((`product_price`.`product_id` IN (0xE8952557863C46F5B1074D52D84EA9FD, 0xD6EA2CF1851641F195F7A5C10020EC1C)));
array:41 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 242)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 316)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetch (line 148)"
4 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 503)"
5 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::loadOneToManyWithoutPagination (line 438)"
6 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::loadOneToMany (line 1210)"
7 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetchAssociations (line 152)"
8 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 93)"
9 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::read (line 195)"
10 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::read (line 133)"
11 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 36)"
12 => "Swag\PayPal\Util\Compatibility\SalesChannelRepositoryDecorator::search (line 207)"
13 => "Tds\MerwareDiscounts\Cart\Checkout\OverwrittenPriceCollector::getSalesChannelProduct (line 93)"
14 => "Tds\MerwareDiscounts\Cart\Checkout\OverwrittenPriceCollector::collect (line 103)"
15 => "Shopware\Core\Checkout\Cart\Processor::runProcessors (line 67)"
16 => "Shopware\Core\Checkout\Cart\Processor::Shopware\Core\Checkout\Cart\{closure} (line 59)"
17 => "Shopware\Core\Profiling\Profiler::trace (line 86)"
18 => "Shopware\Core\Checkout\Cart\Processor::process (line 132)"
19 => "Shopware\Core\Checkout\Cart\CartRuleLoader::Shopware\Core\Checkout\Cart\{closure} (line 59)"
20 => "Shopware\Core\Profiling\Profiler::trace (line 183)"
21 => "Shopware\Core\Checkout\Cart\CartRuleLoader::load (line 83)"
22 => "Shopware\Core\Checkout\Cart\CartRuleLoader::loadByToken (line 106)"
23 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::Shopware\Core\System\SalesChannel\Context\{closure} (line 59)"
24 => "Shopware\Core\Profiling\Profiler::trace (line 111)"
25 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::get (line 105)"
26 => "Shopware\Core\Framework\Routing\SalesChannelRequestContextResolver::resolve (line 38)"
27 => "Shopware\Core\Framework\Routing\ContextResolverListener::resolveContext (line 118)"
28 => "Symfony\Component\EventDispatcher\Debug\WrappedListener::__invoke (line 230)"
29 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
30 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
31 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
32 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
33 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
34 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
35 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 151)"
36 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
37 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
38 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
39 => "Shopware\Core\HttpKernel::doHandle (line 81)"
40 => "Shopware\Core\HttpKernel::handle (line 85)"
]
|
115 |
0.47 ms |
SELECT `product`.`id`, `product`.`product_number`, `product`.`auto_increment` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN `product_visibility` `product.visibilities` ON `product`.`visibilities` = `product.visibilities`.`product_id` AND `product`.version_id = `product.visibilities`.product_version_id WHERE (`product`.`version_id` = :version) AND ((((`product.visibilities`.`visibility` >= :param_0c86f1f2be0d43ada05131dabccf67f3) AND `product.visibilities`.`sales_channel_id` = :param_549c4d9294c645efa7b33bf62d904cb4 AND IFNULL(`product`.`active`, `product.parent`.`active`) = :param_d990b379c5a04a27a62630a35a210c17))) AND (`product`.`id` IN (:ids)) GROUP BY `product`.`id`
SELECT `product`.`id`, `product`.`product_number`, `product`.`auto_increment` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN `product_visibility` `product.visibilities` ON `product`.`visibilities` = `product.visibilities`.`product_id` AND `product`.version_id = `product.visibilities`.product_version_id WHERE (`product`.`version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425) AND ((((`product.visibilities`.`visibility` >= 10) AND `product.visibilities`.`sales_channel_id` = 0x4EB9108BE4654CC9B140D14DE85579E9 AND IFNULL(`product`.`active`, `product.parent`.`active`) = 1))) AND (`product`.`id` IN (0x4F3851EF49E54DF2BCC5D4E1BA574CDB)) GROUP BY `product`.`id`;
array:36 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 242)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 107)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntitySearcher::search (line 62)"
4 => "Shopware\Elasticsearch\Framework\DataAbstractionLayer\ElasticsearchEntitySearcher::search (line 216)"
5 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::doSearch (line 122)"
6 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 36)"
7 => "Swag\PayPal\Util\Compatibility\SalesChannelRepositoryDecorator::search (line 207)"
8 => "Tds\MerwareDiscounts\Cart\Checkout\OverwrittenPriceCollector::getSalesChannelProduct (line 93)"
9 => "Tds\MerwareDiscounts\Cart\Checkout\OverwrittenPriceCollector::collect (line 103)"
10 => "Shopware\Core\Checkout\Cart\Processor::runProcessors (line 67)"
11 => "Shopware\Core\Checkout\Cart\Processor::Shopware\Core\Checkout\Cart\{closure} (line 59)"
12 => "Shopware\Core\Profiling\Profiler::trace (line 86)"
13 => "Shopware\Core\Checkout\Cart\Processor::process (line 132)"
14 => "Shopware\Core\Checkout\Cart\CartRuleLoader::Shopware\Core\Checkout\Cart\{closure} (line 59)"
15 => "Shopware\Core\Profiling\Profiler::trace (line 183)"
16 => "Shopware\Core\Checkout\Cart\CartRuleLoader::load (line 83)"
17 => "Shopware\Core\Checkout\Cart\CartRuleLoader::loadByToken (line 106)"
18 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::Shopware\Core\System\SalesChannel\Context\{closure} (line 59)"
19 => "Shopware\Core\Profiling\Profiler::trace (line 111)"
20 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::get (line 105)"
21 => "Shopware\Core\Framework\Routing\SalesChannelRequestContextResolver::resolve (line 38)"
22 => "Shopware\Core\Framework\Routing\ContextResolverListener::resolveContext (line 118)"
23 => "Symfony\Component\EventDispatcher\Debug\WrappedListener::__invoke (line 230)"
24 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
25 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
26 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
27 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
28 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
29 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
30 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 151)"
31 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
32 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
33 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
34 => "Shopware\Core\HttpKernel::doHandle (line 81)"
35 => "Shopware\Core\HttpKernel::handle (line 85)"
]
|
116 |
14.65 ms |
SELECT `product`.`id` as `product.id`, `product`.`version_id` as `product.versionId`, `product`.`parent_id` as `product.parentId`, `product`.`parent_version_id` as `product.parentVersionId`, COALESCE(`product`.`product_manufacturer_id`, `product.parent`.`product_manufacturer_id`) as `product.manufacturerId`, COALESCE(`product`.`product_manufacturer_version_id`, `product.parent`.`product_manufacturer_version_id`) as `product.productManufacturerVersionId`, COALESCE(`product`.`unit_id`, `product.parent`.`unit_id`) as `product.unitId`, COALESCE(`product`.`tax_id`, `product.parent`.`tax_id`) as `product.taxId`, COALESCE(`product`.`product_media_id`, `product.parent`.`product_media_id`) as `product.coverId`, COALESCE(`product`.`product_media_version_id`, `product.parent`.`product_media_version_id`) as `product.productMediaVersionId`, COALESCE(`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`) as `product.deliveryTimeId`, COALESCE(`product`.`product_feature_set_id`, `product.parent`.`product_feature_set_id`) as `product.featureSetId`, COALESCE(`product`.`canonical_product_id`, `product.parent`.`canonical_product_id`) as `product.canonicalProductId`, COALESCE(`product`.`cms_page_id`, `product.parent`.`cms_page_id`) as `product.cmsPageId`, COALESCE(`product`.`cms_page_version_id`, `product.parent`.`cms_page_version_id`) as `product.cmsPageVersionId`, `product.parent`.`price` as `product.price.inherited`, COALESCE(`product`.`price`, `product.parent`.`price`) as `product.price`, `product`.`product_number` as `product.productNumber`, `product`.`stock` as `product.stock`, COALESCE(`product`.`restock_time`, `product.parent`.`restock_time`) as `product.restockTime`, `product`.`auto_increment` as `product.autoIncrement`, COALESCE(`product`.`active`, `product.parent`.`active`) as `product.active`, `product`.`available_stock` as `product.availableStock`, `product`.`available` as `product.available`, COALESCE(`product`.`is_closeout`, `product.parent`.`is_closeout`) as `product.isCloseout`, `product`.`display_group` as `product.displayGroup`, `product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`, COALESCE(`product`.`configurator_group_config`, `product.parent`.`configurator_group_config`) as `product.configuratorGroupConfig`, COALESCE(`product`.`main_variant_id`, `product.parent`.`main_variant_id`) as `product.mainVariantId`, COALESCE(`product`.`display_parent`, `product.parent`.`display_parent`) as `product.displayParent`, `product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`, COALESCE(`product`.`variant_listing_config`, `product.parent`.`variant_listing_config`) as `product.variantListingConfig`, `product`.`variant_restrictions` as `product.variantRestrictions`, COALESCE(`product`.`manufacturer_number`, `product.parent`.`manufacturer_number`) as `product.manufacturerNumber`, COALESCE(`product`.`ean`, `product.parent`.`ean`) as `product.ean`, COALESCE(`product`.`purchase_steps`, `product.parent`.`purchase_steps`) as `product.purchaseSteps`, COALESCE(`product`.`max_purchase`, `product.parent`.`max_purchase`) as `product.maxPurchase`, COALESCE(`product`.`min_purchase`, `product.parent`.`min_purchase`) as `product.minPurchase`, COALESCE(`product`.`purchase_unit`, `product.parent`.`purchase_unit`) as `product.purchaseUnit`, COALESCE(`product`.`reference_unit`, `product.parent`.`reference_unit`) as `product.referenceUnit`, COALESCE(`product`.`shipping_free`, `product.parent`.`shipping_free`) as `product.shippingFree`, `product.parent`.`purchase_prices` as `product.purchasePrices.inherited`, COALESCE(`product`.`purchase_prices`, `product.parent`.`purchase_prices`) as `product.purchasePrices`, COALESCE(`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`) as `product.markAsTopseller`, COALESCE(`product`.`weight`, `product.parent`.`weight`) as `product.weight`, COALESCE(`product`.`width`, `product.parent`.`width`) as `product.width`, COALESCE(`product`.`height`, `product.parent`.`height`) as `product.height`, COALESCE(`product`.`length`, `product.parent`.`length`) as `product.length`, COALESCE(`product`.`release_date`, `product.parent`.`release_date`) as `product.releaseDate`, COALESCE(`product`.`rating_average`, `product.parent`.`rating_average`) as `product.ratingAverage`, `product.parent`.`category_tree` as `product.categoryTree.inherited`, COALESCE(`product`.`category_tree`, `product.parent`.`category_tree`) as `product.categoryTree`, `product.parent`.`property_ids` as `product.propertyIds.inherited`, COALESCE(`product`.`property_ids`, `product.parent`.`property_ids`) as `product.propertyIds`, `product.parent`.`option_ids` as `product.optionIds.inherited`, COALESCE(`product`.`option_ids`, `product.parent`.`option_ids`) as `product.optionIds`, `product.parent`.`stream_ids` as `product.streamIds.inherited`, COALESCE(`product`.`stream_ids`, `product.parent`.`stream_ids`) as `product.streamIds`, `product.parent`.`tag_ids` as `product.tagIds.inherited`, COALESCE(`product`.`tag_ids`, `product.parent`.`tag_ids`) as `product.tagIds`, `product.parent`.`category_ids` as `product.categoryIds.inherited`, COALESCE(`product`.`category_ids`, `product.parent`.`category_ids`) as `product.categoryIds`, `product`.`child_count` as `product.childCount`, COALESCE(`product`.`custom_field_set_selection_active`, `product.parent`.`custom_field_set_selection_active`) as `product.customFieldSetSelectionActive`, `product`.`sales` as `product.sales`, `product`.`states` as `product.states`, `product.tax`.`id` as `product.tax.id`, `product.tax`.`tax_rate` as `product.tax.taxRate`, `product.tax`.`name` as `product.tax.name`, `product.tax`.`position` as `product.tax.position`, `product.tax`.`custom_fields` as `product.tax.customFields`, `product.tax`.`created_at` as `product.tax.createdAt`, `product.tax`.`updated_at` as `product.tax.updatedAt`, `product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`, COALESCE(`product`.`cheapest_price`, `product.parent`.`cheapest_price`) as `product.cheapestPrice`, `product`.`created_at` as `product.createdAt`, `product`.`updated_at` as `product.updatedAt`, `product.unit`.`id` as `product.unit.id`, `product.unit`.`created_at` as `product.unit.createdAt`, `product.unit`.`updated_at` as `product.unit.updatedAt`, `product.unit.translation.shortCode`, COALESCE(`product.unit.translation.shortCode`,`product.unit.translation.shortCode`) as `product.unit.shortCode`, `product.unit.translation.name`, COALESCE(`product.unit.translation.name`,`product.unit.translation.name`) as `product.unit.name`, `product.unit.translation.customFields`, COALESCE(`product.unit.translation.customFields`,`product.unit.translation.customFields`) as `product.unit.customFields`, `product.unit.translation.createdAt`, `product.unit.translation.updatedAt`, `product.unit.translation.unitId`, `product.unit.translation.languageId`, `product.deliveryTime`.`id` as `product.deliveryTime.id`, `product.deliveryTime`.`min` as `product.deliveryTime.min`, `product.deliveryTime`.`max` as `product.deliveryTime.max`, `product.deliveryTime`.`unit` as `product.deliveryTime.unit`, `product.deliveryTime`.`created_at` as `product.deliveryTime.createdAt`, `product.deliveryTime`.`updated_at` as `product.deliveryTime.updatedAt`, `product.deliveryTime.translation.name`, COALESCE(`product.deliveryTime.translation.name`,`product.deliveryTime.translation.name`) as `product.deliveryTime.name`, `product.deliveryTime.translation.customFields`, COALESCE(`product.deliveryTime.translation.customFields`,`product.deliveryTime.translation.customFields`) as `product.deliveryTime.customFields`, `product.deliveryTime.translation.createdAt`, `product.deliveryTime.translation.updatedAt`, `product.deliveryTime.translation.deliveryTimeId`, `product.deliveryTime.translation.languageId`, `product.cover`.`id` as `product.cover.id`, `product.cover`.`version_id` as `product.cover.versionId`, `product.cover`.`product_id` as `product.cover.productId`, `product.cover`.`product_version_id` as `product.cover.productVersionId`, `product.cover`.`media_id` as `product.cover.mediaId`, `product.cover`.`position` as `product.cover.position`, `product.cover.media`.`id` as `product.cover.media.id`, `product.cover.media`.`user_id` as `product.cover.media.userId`, `product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`, `product.cover.media`.`mime_type` as `product.cover.media.mimeType`, `product.cover.media`.`file_extension` as `product.cover.media.fileExtension`, `product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`, `product.cover.media`.`file_name` as `product.cover.media.fileName`, `product.cover.media`.`file_size` as `product.cover.media.fileSize`, `product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`, `product.cover.media`.`meta_data` as `product.cover.media.metaData`, `product.cover.media`.`private` as `product.cover.media.private`, `product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`, `product.cover.media`.`created_at` as `product.cover.media.createdAt`, `product.cover.media`.`updated_at` as `product.cover.media.updatedAt`, `product.cover.media.translation.title`, COALESCE(`product.cover.media.translation.title`,`product.cover.media.translation.title`) as `product.cover.media.title`, `product.cover.media.translation.alt`, COALESCE(`product.cover.media.translation.alt`,`product.cover.media.translation.alt`) as `product.cover.media.alt`, `product.cover.media.translation.customFields`, COALESCE(`product.cover.media.translation.customFields`,`product.cover.media.translation.customFields`) as `product.cover.media.customFields`, `product.cover.media.translation.createdAt`, `product.cover.media.translation.updatedAt`, `product.cover.media.translation.mediaId`, `product.cover.media.translation.languageId`, `product.cover`.`custom_fields` as `product.cover.customFields`, `product.cover`.`created_at` as `product.cover.createdAt`, `product.cover`.`updated_at` as `product.cover.updatedAt`, `product.translation.metaDescription`, `product.parent.translation.metaDescription`, COALESCE(`product.translation.metaDescription`,`product.parent.translation.metaDescription`,`product.translation.metaDescription`) as `product.metaDescription`, `product.translation.name`, `product.parent.translation.name`, COALESCE(`product.translation.name`,`product.parent.translation.name`,`product.translation.name`) as `product.name`, `product.translation.keywords`, `product.parent.translation.keywords`, COALESCE(`product.translation.keywords`,`product.parent.translation.keywords`,`product.translation.keywords`) as `product.keywords`, `product.translation.description`, `product.parent.translation.description`, COALESCE(`product.translation.description`,`product.parent.translation.description`,`product.translation.description`) as `product.description`, `product.translation.metaTitle`, `product.parent.translation.metaTitle`, COALESCE(`product.translation.metaTitle`,`product.parent.translation.metaTitle`,`product.translation.metaTitle`) as `product.metaTitle`, `product.translation.packUnit`, `product.parent.translation.packUnit`, COALESCE(`product.translation.packUnit`,`product.parent.translation.packUnit`,`product.translation.packUnit`) as `product.packUnit`, `product.translation.packUnitPlural`, `product.parent.translation.packUnitPlural`, COALESCE(`product.translation.packUnitPlural`,`product.parent.translation.packUnitPlural`,`product.translation.packUnitPlural`) as `product.packUnitPlural`, `product.translation.customSearchKeywords`, `product.parent.translation.customSearchKeywords`, COALESCE(`product.translation.customSearchKeywords`,`product.parent.translation.customSearchKeywords`,`product.translation.customSearchKeywords`) as `product.customSearchKeywords`, `product.translation.slotConfig`, `product.parent.translation.slotConfig`, COALESCE(`product.translation.slotConfig`,`product.parent.translation.slotConfig`,`product.translation.slotConfig`) as `product.slotConfig`, `product.translation.customFields`, `product.parent.translation.customFields`, COALESCE(`product.translation.customFields`,`product.parent.translation.customFields`,`product.translation.customFields`) as `product.customFields`, `product.translation.createdAt`, `product.parent.translation.createdAt`, `product.translation.updatedAt`, `product.parent.translation.updatedAt`, `product.translation.productId`, `product.parent.translation.productId`, `product.translation.languageId`, `product.parent.translation.languageId`, `product.translation.productVersionId`, `product.parent.translation.productVersionId` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN (SELECT `product.translation`.product_id, `product.translation`.product_version_id, `product.translation`.meta_description as `product.translation.metaDescription`, `product.translation`.name as `product.translation.name`, `product.translation`.keywords as `product.translation.keywords`, `product.translation`.description as `product.translation.description`, `product.translation`.meta_title as `product.translation.metaTitle`, `product.translation`.pack_unit as `product.translation.packUnit`, `product.translation`.pack_unit_plural as `product.translation.packUnitPlural`, `product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`, `product.translation`.slot_config as `product.translation.slotConfig`, `product.translation`.custom_fields as `product.translation.customFields`, `product.translation`.created_at as `product.translation.createdAt`, `product.translation`.updated_at as `product.translation.updatedAt`, `product.translation`.product_id as `product.translation.productId`, `product.translation`.language_id as `product.translation.languageId`, `product.translation`.product_version_id as `product.translation.productVersionId` FROM `product_translation` `product.translation` WHERE `product.translation`.language_id = :languageId) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id` AND `product.product_translation`.product_version_id = `product`.version_id LEFT JOIN (SELECT `product.parent.translation`.product_id, `product.parent.translation`.product_version_id, `product.parent.translation`.meta_description as `product.parent.translation.metaDescription`, `product.parent.translation`.name as `product.parent.translation.name`, `product.parent.translation`.keywords as `product.parent.translation.keywords`, `product.parent.translation`.description as `product.parent.translation.description`, `product.parent.translation`.meta_title as `product.parent.translation.metaTitle`, `product.parent.translation`.pack_unit as `product.parent.translation.packUnit`, `product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`, `product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`, `product.parent.translation`.slot_config as `product.parent.translation.slotConfig`, `product.parent.translation`.custom_fields as `product.parent.translation.customFields`, `product.parent.translation`.created_at as `product.parent.translation.createdAt`, `product.parent.translation`.updated_at as `product.parent.translation.updatedAt`, `product.parent.translation`.product_id as `product.parent.translation.productId`, `product.parent.translation`.language_id as `product.parent.translation.languageId`, `product.parent.translation`.product_version_id as `product.parent.translation.productVersionId` FROM `product_translation` `product.parent.translation` WHERE `product.parent.translation`.language_id = :languageId) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id` AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id` LEFT JOIN `unit` `product.unit` ON `product`.`unit` = `product.unit`.`id` LEFT JOIN `delivery_time` `product.deliveryTime` ON `product`.`deliveryTime` = `product.deliveryTime`.`id` LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id` AND `product`.`version_id` = `product.cover`.`version_id` LEFT JOIN (SELECT `product.unit.translation`.unit_id, `product.unit.translation`.short_code as `product.unit.translation.shortCode`, `product.unit.translation`.name as `product.unit.translation.name`, `product.unit.translation`.custom_fields as `product.unit.translation.customFields`, `product.unit.translation`.created_at as `product.unit.translation.createdAt`, `product.unit.translation`.updated_at as `product.unit.translation.updatedAt`, `product.unit.translation`.unit_id as `product.unit.translation.unitId`, `product.unit.translation`.language_id as `product.unit.translation.languageId` FROM `unit_translation` `product.unit.translation` WHERE `product.unit.translation`.language_id = :languageId) `product.unit.unit_translation` ON `product.unit.unit_translation`.`unit_id` = `product.unit`.`id` LEFT JOIN (SELECT `product.deliveryTime.translation`.delivery_time_id, `product.deliveryTime.translation`.name as `product.deliveryTime.translation.name`, `product.deliveryTime.translation`.custom_fields as `product.deliveryTime.translation.customFields`, `product.deliveryTime.translation`.created_at as `product.deliveryTime.translation.createdAt`, `product.deliveryTime.translation`.updated_at as `product.deliveryTime.translation.updatedAt`, `product.deliveryTime.translation`.delivery_time_id as `product.deliveryTime.translation.deliveryTimeId`, `product.deliveryTime.translation`.language_id as `product.deliveryTime.translation.languageId` FROM `delivery_time_translation` `product.deliveryTime.translation` WHERE `product.deliveryTime.translation`.language_id = :languageId) `product.deliveryTime.delivery_time_translation` ON `product.deliveryTime.delivery_time_translation`.`delivery_time_id` = `product.deliveryTime`.`id` LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id` LEFT JOIN (SELECT `product.cover.media.translation`.media_id, `product.cover.media.translation`.title as `product.cover.media.translation.title`, `product.cover.media.translation`.alt as `product.cover.media.translation.alt`, `product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`, `product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`, `product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`, `product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`, `product.cover.media.translation`.language_id as `product.cover.media.translation.languageId` FROM `media_translation` `product.cover.media.translation` WHERE `product.cover.media.translation`.language_id = :languageId) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id` WHERE (`product`.`version_id` = :version) AND (`product`.`id` IN (:ids))
SELECT
`product`.`id` as `product.id`,
`product`.`version_id` as `product.versionId`,
`product`.`parent_id` as `product.parentId`,
`product`.`parent_version_id` as `product.parentVersionId`,
COALESCE(
`product`.`product_manufacturer_id`,
`product.parent`.`product_manufacturer_id`
) as `product.manufacturerId`,
COALESCE(
`product`.`product_manufacturer_version_id`,
`product.parent`.`product_manufacturer_version_id`
) as `product.productManufacturerVersionId`,
COALESCE(
`product`.`unit_id`, `product.parent`.`unit_id`
) as `product.unitId`,
COALESCE(
`product`.`tax_id`, `product.parent`.`tax_id`
) as `product.taxId`,
COALESCE(
`product`.`product_media_id`, `product.parent`.`product_media_id`
) as `product.coverId`,
COALESCE(
`product`.`product_media_version_id`,
`product.parent`.`product_media_version_id`
) as `product.productMediaVersionId`,
COALESCE(
`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`
) as `product.deliveryTimeId`,
COALESCE(
`product`.`product_feature_set_id`,
`product.parent`.`product_feature_set_id`
) as `product.featureSetId`,
COALESCE(
`product`.`canonical_product_id`,
`product.parent`.`canonical_product_id`
) as `product.canonicalProductId`,
COALESCE(
`product`.`cms_page_id`, `product.parent`.`cms_page_id`
) as `product.cmsPageId`,
COALESCE(
`product`.`cms_page_version_id`,
`product.parent`.`cms_page_version_id`
) as `product.cmsPageVersionId`,
`product.parent`.`price` as `product.price.inherited`,
COALESCE(
`product`.`price`, `product.parent`.`price`
) as `product.price`,
`product`.`product_number` as `product.productNumber`,
`product`.`stock` as `product.stock`,
COALESCE(
`product`.`restock_time`, `product.parent`.`restock_time`
) as `product.restockTime`,
`product`.`auto_increment` as `product.autoIncrement`,
COALESCE(
`product`.`active`, `product.parent`.`active`
) as `product.active`,
`product`.`available_stock` as `product.availableStock`,
`product`.`available` as `product.available`,
COALESCE(
`product`.`is_closeout`, `product.parent`.`is_closeout`
) as `product.isCloseout`,
`product`.`display_group` as `product.displayGroup`,
`product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`,
COALESCE(
`product`.`configurator_group_config`,
`product.parent`.`configurator_group_config`
) as `product.configuratorGroupConfig`,
COALESCE(
`product`.`main_variant_id`, `product.parent`.`main_variant_id`
) as `product.mainVariantId`,
COALESCE(
`product`.`display_parent`, `product.parent`.`display_parent`
) as `product.displayParent`,
`product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`,
COALESCE(
`product`.`variant_listing_config`,
`product.parent`.`variant_listing_config`
) as `product.variantListingConfig`,
`product`.`variant_restrictions` as `product.variantRestrictions`,
COALESCE(
`product`.`manufacturer_number`,
`product.parent`.`manufacturer_number`
) as `product.manufacturerNumber`,
COALESCE(
`product`.`ean`, `product.parent`.`ean`
) as `product.ean`,
COALESCE(
`product`.`purchase_steps`, `product.parent`.`purchase_steps`
) as `product.purchaseSteps`,
COALESCE(
`product`.`max_purchase`, `product.parent`.`max_purchase`
) as `product.maxPurchase`,
COALESCE(
`product`.`min_purchase`, `product.parent`.`min_purchase`
) as `product.minPurchase`,
COALESCE(
`product`.`purchase_unit`, `product.parent`.`purchase_unit`
) as `product.purchaseUnit`,
COALESCE(
`product`.`reference_unit`, `product.parent`.`reference_unit`
) as `product.referenceUnit`,
COALESCE(
`product`.`shipping_free`, `product.parent`.`shipping_free`
) as `product.shippingFree`,
`product.parent`.`purchase_prices` as `product.purchasePrices.inherited`,
COALESCE(
`product`.`purchase_prices`, `product.parent`.`purchase_prices`
) as `product.purchasePrices`,
COALESCE(
`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`
) as `product.markAsTopseller`,
COALESCE(
`product`.`weight`, `product.parent`.`weight`
) as `product.weight`,
COALESCE(
`product`.`width`, `product.parent`.`width`
) as `product.width`,
COALESCE(
`product`.`height`, `product.parent`.`height`
) as `product.height`,
COALESCE(
`product`.`length`, `product.parent`.`length`
) as `product.length`,
COALESCE(
`product`.`release_date`, `product.parent`.`release_date`
) as `product.releaseDate`,
COALESCE(
`product`.`rating_average`, `product.parent`.`rating_average`
) as `product.ratingAverage`,
`product.parent`.`category_tree` as `product.categoryTree.inherited`,
COALESCE(
`product`.`category_tree`, `product.parent`.`category_tree`
) as `product.categoryTree`,
`product.parent`.`property_ids` as `product.propertyIds.inherited`,
COALESCE(
`product`.`property_ids`, `product.parent`.`property_ids`
) as `product.propertyIds`,
`product.parent`.`option_ids` as `product.optionIds.inherited`,
COALESCE(
`product`.`option_ids`, `product.parent`.`option_ids`
) as `product.optionIds`,
`product.parent`.`stream_ids` as `product.streamIds.inherited`,
COALESCE(
`product`.`stream_ids`, `product.parent`.`stream_ids`
) as `product.streamIds`,
`product.parent`.`tag_ids` as `product.tagIds.inherited`,
COALESCE(
`product`.`tag_ids`, `product.parent`.`tag_ids`
) as `product.tagIds`,
`product.parent`.`category_ids` as `product.categoryIds.inherited`,
COALESCE(
`product`.`category_ids`, `product.parent`.`category_ids`
) as `product.categoryIds`,
`product`.`child_count` as `product.childCount`,
COALESCE(
`product`.`custom_field_set_selection_active`,
`product.parent`.`custom_field_set_selection_active`
) as `product.customFieldSetSelectionActive`,
`product`.`sales` as `product.sales`,
`product`.`states` as `product.states`,
`product.tax`.`id` as `product.tax.id`,
`product.tax`.`tax_rate` as `product.tax.taxRate`,
`product.tax`.`name` as `product.tax.name`,
`product.tax`.`position` as `product.tax.position`,
`product.tax`.`custom_fields` as `product.tax.customFields`,
`product.tax`.`created_at` as `product.tax.createdAt`,
`product.tax`.`updated_at` as `product.tax.updatedAt`,
`product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`,
COALESCE(
`product`.`cheapest_price`, `product.parent`.`cheapest_price`
) as `product.cheapestPrice`,
`product`.`created_at` as `product.createdAt`,
`product`.`updated_at` as `product.updatedAt`,
`product.unit`.`id` as `product.unit.id`,
`product.unit`.`created_at` as `product.unit.createdAt`,
`product.unit`.`updated_at` as `product.unit.updatedAt`,
`product.unit.translation.shortCode`,
COALESCE(
`product.unit.translation.shortCode`,
`product.unit.translation.shortCode`
) as `product.unit.shortCode`,
`product.unit.translation.name`,
COALESCE(
`product.unit.translation.name`,
`product.unit.translation.name`
) as `product.unit.name`,
`product.unit.translation.customFields`,
COALESCE(
`product.unit.translation.customFields`,
`product.unit.translation.customFields`
) as `product.unit.customFields`,
`product.unit.translation.createdAt`,
`product.unit.translation.updatedAt`,
`product.unit.translation.unitId`,
`product.unit.translation.languageId`,
`product.deliveryTime`.`id` as `product.deliveryTime.id`,
`product.deliveryTime`.`min` as `product.deliveryTime.min`,
`product.deliveryTime`.`max` as `product.deliveryTime.max`,
`product.deliveryTime`.`unit` as `product.deliveryTime.unit`,
`product.deliveryTime`.`created_at` as `product.deliveryTime.createdAt`,
`product.deliveryTime`.`updated_at` as `product.deliveryTime.updatedAt`,
`product.deliveryTime.translation.name`,
COALESCE(
`product.deliveryTime.translation.name`,
`product.deliveryTime.translation.name`
) as `product.deliveryTime.name`,
`product.deliveryTime.translation.customFields`,
COALESCE(
`product.deliveryTime.translation.customFields`,
`product.deliveryTime.translation.customFields`
) as `product.deliveryTime.customFields`,
`product.deliveryTime.translation.createdAt`,
`product.deliveryTime.translation.updatedAt`,
`product.deliveryTime.translation.deliveryTimeId`,
`product.deliveryTime.translation.languageId`,
`product.cover`.`id` as `product.cover.id`,
`product.cover`.`version_id` as `product.cover.versionId`,
`product.cover`.`product_id` as `product.cover.productId`,
`product.cover`.`product_version_id` as `product.cover.productVersionId`,
`product.cover`.`media_id` as `product.cover.mediaId`,
`product.cover`.`position` as `product.cover.position`,
`product.cover.media`.`id` as `product.cover.media.id`,
`product.cover.media`.`user_id` as `product.cover.media.userId`,
`product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`,
`product.cover.media`.`mime_type` as `product.cover.media.mimeType`,
`product.cover.media`.`file_extension` as `product.cover.media.fileExtension`,
`product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`,
`product.cover.media`.`file_name` as `product.cover.media.fileName`,
`product.cover.media`.`file_size` as `product.cover.media.fileSize`,
`product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`,
`product.cover.media`.`meta_data` as `product.cover.media.metaData`,
`product.cover.media`.`private` as `product.cover.media.private`,
`product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`,
`product.cover.media`.`created_at` as `product.cover.media.createdAt`,
`product.cover.media`.`updated_at` as `product.cover.media.updatedAt`,
`product.cover.media.translation.title`,
COALESCE(
`product.cover.media.translation.title`,
`product.cover.media.translation.title`
) as `product.cover.media.title`,
`product.cover.media.translation.alt`,
COALESCE(
`product.cover.media.translation.alt`,
`product.cover.media.translation.alt`
) as `product.cover.media.alt`,
`product.cover.media.translation.customFields`,
COALESCE(
`product.cover.media.translation.customFields`,
`product.cover.media.translation.customFields`
) as `product.cover.media.customFields`,
`product.cover.media.translation.createdAt`,
`product.cover.media.translation.updatedAt`,
`product.cover.media.translation.mediaId`,
`product.cover.media.translation.languageId`,
`product.cover`.`custom_fields` as `product.cover.customFields`,
`product.cover`.`created_at` as `product.cover.createdAt`,
`product.cover`.`updated_at` as `product.cover.updatedAt`,
`product.translation.metaDescription`,
`product.parent.translation.metaDescription`,
COALESCE(
`product.translation.metaDescription`,
`product.parent.translation.metaDescription`,
`product.translation.metaDescription`
) as `product.metaDescription`,
`product.translation.name`,
`product.parent.translation.name`,
COALESCE(
`product.translation.name`, `product.parent.translation.name`,
`product.translation.name`
) as `product.name`,
`product.translation.keywords`,
`product.parent.translation.keywords`,
COALESCE(
`product.translation.keywords`,
`product.parent.translation.keywords`,
`product.translation.keywords`
) as `product.keywords`,
`product.translation.description`,
`product.parent.translation.description`,
COALESCE(
`product.translation.description`,
`product.parent.translation.description`,
`product.translation.description`
) as `product.description`,
`product.translation.metaTitle`,
`product.parent.translation.metaTitle`,
COALESCE(
`product.translation.metaTitle`,
`product.parent.translation.metaTitle`,
`product.translation.metaTitle`
) as `product.metaTitle`,
`product.translation.packUnit`,
`product.parent.translation.packUnit`,
COALESCE(
`product.translation.packUnit`,
`product.parent.translation.packUnit`,
`product.translation.packUnit`
) as `product.packUnit`,
`product.translation.packUnitPlural`,
`product.parent.translation.packUnitPlural`,
COALESCE(
`product.translation.packUnitPlural`,
`product.parent.translation.packUnitPlural`,
`product.translation.packUnitPlural`
) as `product.packUnitPlural`,
`product.translation.customSearchKeywords`,
`product.parent.translation.customSearchKeywords`,
COALESCE(
`product.translation.customSearchKeywords`,
`product.parent.translation.customSearchKeywords`,
`product.translation.customSearchKeywords`
) as `product.customSearchKeywords`,
`product.translation.slotConfig`,
`product.parent.translation.slotConfig`,
COALESCE(
`product.translation.slotConfig`,
`product.parent.translation.slotConfig`,
`product.translation.slotConfig`
) as `product.slotConfig`,
`product.translation.customFields`,
`product.parent.translation.customFields`,
COALESCE(
`product.translation.customFields`,
`product.parent.translation.customFields`,
`product.translation.customFields`
) as `product.customFields`,
`product.translation.createdAt`,
`product.parent.translation.createdAt`,
`product.translation.updatedAt`,
`product.parent.translation.updatedAt`,
`product.translation.productId`,
`product.parent.translation.productId`,
`product.translation.languageId`,
`product.parent.translation.languageId`,
`product.translation.productVersionId`,
`product.parent.translation.productVersionId`
FROM
`product`
LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id`
AND `product`.`version_id` = `product.parent`.`version_id`
LEFT JOIN (
SELECT
`product.translation`.product_id,
`product.translation`.product_version_id,
`product.translation`.meta_description as `product.translation.metaDescription`,
`product.translation`.name as `product.translation.name`,
`product.translation`.keywords as `product.translation.keywords`,
`product.translation`.description as `product.translation.description`,
`product.translation`.meta_title as `product.translation.metaTitle`,
`product.translation`.pack_unit as `product.translation.packUnit`,
`product.translation`.pack_unit_plural as `product.translation.packUnitPlural`,
`product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`,
`product.translation`.slot_config as `product.translation.slotConfig`,
`product.translation`.custom_fields as `product.translation.customFields`,
`product.translation`.created_at as `product.translation.createdAt`,
`product.translation`.updated_at as `product.translation.updatedAt`,
`product.translation`.product_id as `product.translation.productId`,
`product.translation`.language_id as `product.translation.languageId`,
`product.translation`.product_version_id as `product.translation.productVersionId`
FROM
`product_translation` `product.translation`
WHERE
`product.translation`.language_id = : languageId
) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id`
AND `product.product_translation`.product_version_id = `product`.version_id
LEFT JOIN (
SELECT
`product.parent.translation`.product_id,
`product.parent.translation`.product_version_id,
`product.parent.translation`.meta_description as `product.parent.translation.metaDescription`,
`product.parent.translation`.name as `product.parent.translation.name`,
`product.parent.translation`.keywords as `product.parent.translation.keywords`,
`product.parent.translation`.description as `product.parent.translation.description`,
`product.parent.translation`.meta_title as `product.parent.translation.metaTitle`,
`product.parent.translation`.pack_unit as `product.parent.translation.packUnit`,
`product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`,
`product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`,
`product.parent.translation`.slot_config as `product.parent.translation.slotConfig`,
`product.parent.translation`.custom_fields as `product.parent.translation.customFields`,
`product.parent.translation`.created_at as `product.parent.translation.createdAt`,
`product.parent.translation`.updated_at as `product.parent.translation.updatedAt`,
`product.parent.translation`.product_id as `product.parent.translation.productId`,
`product.parent.translation`.language_id as `product.parent.translation.languageId`,
`product.parent.translation`.product_version_id as `product.parent.translation.productVersionId`
FROM
`product_translation` `product.parent.translation`
WHERE
`product.parent.translation`.language_id = : languageId
) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id`
AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id
LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id`
LEFT JOIN `unit` `product.unit` ON `product`.`unit` = `product.unit`.`id`
LEFT JOIN `delivery_time` `product.deliveryTime` ON `product`.`deliveryTime` = `product.deliveryTime`.`id`
LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id`
AND `product`.`version_id` = `product.cover`.`version_id`
LEFT JOIN (
SELECT
`product.unit.translation`.unit_id,
`product.unit.translation`.short_code as `product.unit.translation.shortCode`,
`product.unit.translation`.name as `product.unit.translation.name`,
`product.unit.translation`.custom_fields as `product.unit.translation.customFields`,
`product.unit.translation`.created_at as `product.unit.translation.createdAt`,
`product.unit.translation`.updated_at as `product.unit.translation.updatedAt`,
`product.unit.translation`.unit_id as `product.unit.translation.unitId`,
`product.unit.translation`.language_id as `product.unit.translation.languageId`
FROM
`unit_translation` `product.unit.translation`
WHERE
`product.unit.translation`.language_id = : languageId
) `product.unit.unit_translation` ON `product.unit.unit_translation`.`unit_id` = `product.unit`.`id`
LEFT JOIN (
SELECT
`product.deliveryTime.translation`.delivery_time_id,
`product.deliveryTime.translation`.name as `product.deliveryTime.translation.name`,
`product.deliveryTime.translation`.custom_fields as `product.deliveryTime.translation.customFields`,
`product.deliveryTime.translation`.created_at as `product.deliveryTime.translation.createdAt`,
`product.deliveryTime.translation`.updated_at as `product.deliveryTime.translation.updatedAt`,
`product.deliveryTime.translation`.delivery_time_id as `product.deliveryTime.translation.deliveryTimeId`,
`product.deliveryTime.translation`.language_id as `product.deliveryTime.translation.languageId`
FROM
`delivery_time_translation` `product.deliveryTime.translation`
WHERE
`product.deliveryTime.translation`.language_id = : languageId
) `product.deliveryTime.delivery_time_translation` ON `product.deliveryTime.delivery_time_translation`.`delivery_time_id` = `product.deliveryTime`.`id`
LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id`
LEFT JOIN (
SELECT
`product.cover.media.translation`.media_id,
`product.cover.media.translation`.title as `product.cover.media.translation.title`,
`product.cover.media.translation`.alt as `product.cover.media.translation.alt`,
`product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`,
`product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`,
`product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`,
`product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`,
`product.cover.media.translation`.language_id as `product.cover.media.translation.languageId`
FROM
`media_translation` `product.cover.media.translation`
WHERE
`product.cover.media.translation`.language_id = : languageId
) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id`
WHERE
(
`product`.`version_id` = : version
)
AND (
`product`.`id` IN (: ids)
)
SELECT `product`.`id` as `product.id`, `product`.`version_id` as `product.versionId`, `product`.`parent_id` as `product.parentId`, `product`.`parent_version_id` as `product.parentVersionId`, COALESCE(`product`.`product_manufacturer_id`, `product.parent`.`product_manufacturer_id`) as `product.manufacturerId`, COALESCE(`product`.`product_manufacturer_version_id`, `product.parent`.`product_manufacturer_version_id`) as `product.productManufacturerVersionId`, COALESCE(`product`.`unit_id`, `product.parent`.`unit_id`) as `product.unitId`, COALESCE(`product`.`tax_id`, `product.parent`.`tax_id`) as `product.taxId`, COALESCE(`product`.`product_media_id`, `product.parent`.`product_media_id`) as `product.coverId`, COALESCE(`product`.`product_media_version_id`, `product.parent`.`product_media_version_id`) as `product.productMediaVersionId`, COALESCE(`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`) as `product.deliveryTimeId`, COALESCE(`product`.`product_feature_set_id`, `product.parent`.`product_feature_set_id`) as `product.featureSetId`, COALESCE(`product`.`canonical_product_id`, `product.parent`.`canonical_product_id`) as `product.canonicalProductId`, COALESCE(`product`.`cms_page_id`, `product.parent`.`cms_page_id`) as `product.cmsPageId`, COALESCE(`product`.`cms_page_version_id`, `product.parent`.`cms_page_version_id`) as `product.cmsPageVersionId`, `product.parent`.`price` as `product.price.inherited`, COALESCE(`product`.`price`, `product.parent`.`price`) as `product.price`, `product`.`product_number` as `product.productNumber`, `product`.`stock` as `product.stock`, COALESCE(`product`.`restock_time`, `product.parent`.`restock_time`) as `product.restockTime`, `product`.`auto_increment` as `product.autoIncrement`, COALESCE(`product`.`active`, `product.parent`.`active`) as `product.active`, `product`.`available_stock` as `product.availableStock`, `product`.`available` as `product.available`, COALESCE(`product`.`is_closeout`, `product.parent`.`is_closeout`) as `product.isCloseout`, `product`.`display_group` as `product.displayGroup`, `product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`, COALESCE(`product`.`configurator_group_config`, `product.parent`.`configurator_group_config`) as `product.configuratorGroupConfig`, COALESCE(`product`.`main_variant_id`, `product.parent`.`main_variant_id`) as `product.mainVariantId`, COALESCE(`product`.`display_parent`, `product.parent`.`display_parent`) as `product.displayParent`, `product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`, COALESCE(`product`.`variant_listing_config`, `product.parent`.`variant_listing_config`) as `product.variantListingConfig`, `product`.`variant_restrictions` as `product.variantRestrictions`, COALESCE(`product`.`manufacturer_number`, `product.parent`.`manufacturer_number`) as `product.manufacturerNumber`, COALESCE(`product`.`ean`, `product.parent`.`ean`) as `product.ean`, COALESCE(`product`.`purchase_steps`, `product.parent`.`purchase_steps`) as `product.purchaseSteps`, COALESCE(`product`.`max_purchase`, `product.parent`.`max_purchase`) as `product.maxPurchase`, COALESCE(`product`.`min_purchase`, `product.parent`.`min_purchase`) as `product.minPurchase`, COALESCE(`product`.`purchase_unit`, `product.parent`.`purchase_unit`) as `product.purchaseUnit`, COALESCE(`product`.`reference_unit`, `product.parent`.`reference_unit`) as `product.referenceUnit`, COALESCE(`product`.`shipping_free`, `product.parent`.`shipping_free`) as `product.shippingFree`, `product.parent`.`purchase_prices` as `product.purchasePrices.inherited`, COALESCE(`product`.`purchase_prices`, `product.parent`.`purchase_prices`) as `product.purchasePrices`, COALESCE(`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`) as `product.markAsTopseller`, COALESCE(`product`.`weight`, `product.parent`.`weight`) as `product.weight`, COALESCE(`product`.`width`, `product.parent`.`width`) as `product.width`, COALESCE(`product`.`height`, `product.parent`.`height`) as `product.height`, COALESCE(`product`.`length`, `product.parent`.`length`) as `product.length`, COALESCE(`product`.`release_date`, `product.parent`.`release_date`) as `product.releaseDate`, COALESCE(`product`.`rating_average`, `product.parent`.`rating_average`) as `product.ratingAverage`, `product.parent`.`category_tree` as `product.categoryTree.inherited`, COALESCE(`product`.`category_tree`, `product.parent`.`category_tree`) as `product.categoryTree`, `product.parent`.`property_ids` as `product.propertyIds.inherited`, COALESCE(`product`.`property_ids`, `product.parent`.`property_ids`) as `product.propertyIds`, `product.parent`.`option_ids` as `product.optionIds.inherited`, COALESCE(`product`.`option_ids`, `product.parent`.`option_ids`) as `product.optionIds`, `product.parent`.`stream_ids` as `product.streamIds.inherited`, COALESCE(`product`.`stream_ids`, `product.parent`.`stream_ids`) as `product.streamIds`, `product.parent`.`tag_ids` as `product.tagIds.inherited`, COALESCE(`product`.`tag_ids`, `product.parent`.`tag_ids`) as `product.tagIds`, `product.parent`.`category_ids` as `product.categoryIds.inherited`, COALESCE(`product`.`category_ids`, `product.parent`.`category_ids`) as `product.categoryIds`, `product`.`child_count` as `product.childCount`, COALESCE(`product`.`custom_field_set_selection_active`, `product.parent`.`custom_field_set_selection_active`) as `product.customFieldSetSelectionActive`, `product`.`sales` as `product.sales`, `product`.`states` as `product.states`, `product.tax`.`id` as `product.tax.id`, `product.tax`.`tax_rate` as `product.tax.taxRate`, `product.tax`.`name` as `product.tax.name`, `product.tax`.`position` as `product.tax.position`, `product.tax`.`custom_fields` as `product.tax.customFields`, `product.tax`.`created_at` as `product.tax.createdAt`, `product.tax`.`updated_at` as `product.tax.updatedAt`, `product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`, COALESCE(`product`.`cheapest_price`, `product.parent`.`cheapest_price`) as `product.cheapestPrice`, `product`.`created_at` as `product.createdAt`, `product`.`updated_at` as `product.updatedAt`, `product.unit`.`id` as `product.unit.id`, `product.unit`.`created_at` as `product.unit.createdAt`, `product.unit`.`updated_at` as `product.unit.updatedAt`, `product.unit.translation.shortCode`, COALESCE(`product.unit.translation.shortCode`,`product.unit.translation.shortCode`) as `product.unit.shortCode`, `product.unit.translation.name`, COALESCE(`product.unit.translation.name`,`product.unit.translation.name`) as `product.unit.name`, `product.unit.translation.customFields`, COALESCE(`product.unit.translation.customFields`,`product.unit.translation.customFields`) as `product.unit.customFields`, `product.unit.translation.createdAt`, `product.unit.translation.updatedAt`, `product.unit.translation.unitId`, `product.unit.translation.languageId`, `product.deliveryTime`.`id` as `product.deliveryTime.id`, `product.deliveryTime`.`min` as `product.deliveryTime.min`, `product.deliveryTime`.`max` as `product.deliveryTime.max`, `product.deliveryTime`.`unit` as `product.deliveryTime.unit`, `product.deliveryTime`.`created_at` as `product.deliveryTime.createdAt`, `product.deliveryTime`.`updated_at` as `product.deliveryTime.updatedAt`, `product.deliveryTime.translation.name`, COALESCE(`product.deliveryTime.translation.name`,`product.deliveryTime.translation.name`) as `product.deliveryTime.name`, `product.deliveryTime.translation.customFields`, COALESCE(`product.deliveryTime.translation.customFields`,`product.deliveryTime.translation.customFields`) as `product.deliveryTime.customFields`, `product.deliveryTime.translation.createdAt`, `product.deliveryTime.translation.updatedAt`, `product.deliveryTime.translation.deliveryTimeId`, `product.deliveryTime.translation.languageId`, `product.cover`.`id` as `product.cover.id`, `product.cover`.`version_id` as `product.cover.versionId`, `product.cover`.`product_id` as `product.cover.productId`, `product.cover`.`product_version_id` as `product.cover.productVersionId`, `product.cover`.`media_id` as `product.cover.mediaId`, `product.cover`.`position` as `product.cover.position`, `product.cover.media`.`id` as `product.cover.media.id`, `product.cover.media`.`user_id` as `product.cover.media.userId`, `product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`, `product.cover.media`.`mime_type` as `product.cover.media.mimeType`, `product.cover.media`.`file_extension` as `product.cover.media.fileExtension`, `product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`, `product.cover.media`.`file_name` as `product.cover.media.fileName`, `product.cover.media`.`file_size` as `product.cover.media.fileSize`, `product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`, `product.cover.media`.`meta_data` as `product.cover.media.metaData`, `product.cover.media`.`private` as `product.cover.media.private`, `product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`, `product.cover.media`.`created_at` as `product.cover.media.createdAt`, `product.cover.media`.`updated_at` as `product.cover.media.updatedAt`, `product.cover.media.translation.title`, COALESCE(`product.cover.media.translation.title`,`product.cover.media.translation.title`) as `product.cover.media.title`, `product.cover.media.translation.alt`, COALESCE(`product.cover.media.translation.alt`,`product.cover.media.translation.alt`) as `product.cover.media.alt`, `product.cover.media.translation.customFields`, COALESCE(`product.cover.media.translation.customFields`,`product.cover.media.translation.customFields`) as `product.cover.media.customFields`, `product.cover.media.translation.createdAt`, `product.cover.media.translation.updatedAt`, `product.cover.media.translation.mediaId`, `product.cover.media.translation.languageId`, `product.cover`.`custom_fields` as `product.cover.customFields`, `product.cover`.`created_at` as `product.cover.createdAt`, `product.cover`.`updated_at` as `product.cover.updatedAt`, `product.translation.metaDescription`, `product.parent.translation.metaDescription`, COALESCE(`product.translation.metaDescription`,`product.parent.translation.metaDescription`,`product.translation.metaDescription`) as `product.metaDescription`, `product.translation.name`, `product.parent.translation.name`, COALESCE(`product.translation.name`,`product.parent.translation.name`,`product.translation.name`) as `product.name`, `product.translation.keywords`, `product.parent.translation.keywords`, COALESCE(`product.translation.keywords`,`product.parent.translation.keywords`,`product.translation.keywords`) as `product.keywords`, `product.translation.description`, `product.parent.translation.description`, COALESCE(`product.translation.description`,`product.parent.translation.description`,`product.translation.description`) as `product.description`, `product.translation.metaTitle`, `product.parent.translation.metaTitle`, COALESCE(`product.translation.metaTitle`,`product.parent.translation.metaTitle`,`product.translation.metaTitle`) as `product.metaTitle`, `product.translation.packUnit`, `product.parent.translation.packUnit`, COALESCE(`product.translation.packUnit`,`product.parent.translation.packUnit`,`product.translation.packUnit`) as `product.packUnit`, `product.translation.packUnitPlural`, `product.parent.translation.packUnitPlural`, COALESCE(`product.translation.packUnitPlural`,`product.parent.translation.packUnitPlural`,`product.translation.packUnitPlural`) as `product.packUnitPlural`, `product.translation.customSearchKeywords`, `product.parent.translation.customSearchKeywords`, COALESCE(`product.translation.customSearchKeywords`,`product.parent.translation.customSearchKeywords`,`product.translation.customSearchKeywords`) as `product.customSearchKeywords`, `product.translation.slotConfig`, `product.parent.translation.slotConfig`, COALESCE(`product.translation.slotConfig`,`product.parent.translation.slotConfig`,`product.translation.slotConfig`) as `product.slotConfig`, `product.translation.customFields`, `product.parent.translation.customFields`, COALESCE(`product.translation.customFields`,`product.parent.translation.customFields`,`product.translation.customFields`) as `product.customFields`, `product.translation.createdAt`, `product.parent.translation.createdAt`, `product.translation.updatedAt`, `product.parent.translation.updatedAt`, `product.translation.productId`, `product.parent.translation.productId`, `product.translation.languageId`, `product.parent.translation.languageId`, `product.translation.productVersionId`, `product.parent.translation.productVersionId` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN (SELECT `product.translation`.product_id, `product.translation`.product_version_id, `product.translation`.meta_description as `product.translation.metaDescription`, `product.translation`.name as `product.translation.name`, `product.translation`.keywords as `product.translation.keywords`, `product.translation`.description as `product.translation.description`, `product.translation`.meta_title as `product.translation.metaTitle`, `product.translation`.pack_unit as `product.translation.packUnit`, `product.translation`.pack_unit_plural as `product.translation.packUnitPlural`, `product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`, `product.translation`.slot_config as `product.translation.slotConfig`, `product.translation`.custom_fields as `product.translation.customFields`, `product.translation`.created_at as `product.translation.createdAt`, `product.translation`.updated_at as `product.translation.updatedAt`, `product.translation`.product_id as `product.translation.productId`, `product.translation`.language_id as `product.translation.languageId`, `product.translation`.product_version_id as `product.translation.productVersionId` FROM `product_translation` `product.translation` WHERE `product.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id` AND `product.product_translation`.product_version_id = `product`.version_id LEFT JOIN (SELECT `product.parent.translation`.product_id, `product.parent.translation`.product_version_id, `product.parent.translation`.meta_description as `product.parent.translation.metaDescription`, `product.parent.translation`.name as `product.parent.translation.name`, `product.parent.translation`.keywords as `product.parent.translation.keywords`, `product.parent.translation`.description as `product.parent.translation.description`, `product.parent.translation`.meta_title as `product.parent.translation.metaTitle`, `product.parent.translation`.pack_unit as `product.parent.translation.packUnit`, `product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`, `product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`, `product.parent.translation`.slot_config as `product.parent.translation.slotConfig`, `product.parent.translation`.custom_fields as `product.parent.translation.customFields`, `product.parent.translation`.created_at as `product.parent.translation.createdAt`, `product.parent.translation`.updated_at as `product.parent.translation.updatedAt`, `product.parent.translation`.product_id as `product.parent.translation.productId`, `product.parent.translation`.language_id as `product.parent.translation.languageId`, `product.parent.translation`.product_version_id as `product.parent.translation.productVersionId` FROM `product_translation` `product.parent.translation` WHERE `product.parent.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id` AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id` LEFT JOIN `unit` `product.unit` ON `product`.`unit` = `product.unit`.`id` LEFT JOIN `delivery_time` `product.deliveryTime` ON `product`.`deliveryTime` = `product.deliveryTime`.`id` LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id` AND `product`.`version_id` = `product.cover`.`version_id` LEFT JOIN (SELECT `product.unit.translation`.unit_id, `product.unit.translation`.short_code as `product.unit.translation.shortCode`, `product.unit.translation`.name as `product.unit.translation.name`, `product.unit.translation`.custom_fields as `product.unit.translation.customFields`, `product.unit.translation`.created_at as `product.unit.translation.createdAt`, `product.unit.translation`.updated_at as `product.unit.translation.updatedAt`, `product.unit.translation`.unit_id as `product.unit.translation.unitId`, `product.unit.translation`.language_id as `product.unit.translation.languageId` FROM `unit_translation` `product.unit.translation` WHERE `product.unit.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.unit.unit_translation` ON `product.unit.unit_translation`.`unit_id` = `product.unit`.`id` LEFT JOIN (SELECT `product.deliveryTime.translation`.delivery_time_id, `product.deliveryTime.translation`.name as `product.deliveryTime.translation.name`, `product.deliveryTime.translation`.custom_fields as `product.deliveryTime.translation.customFields`, `product.deliveryTime.translation`.created_at as `product.deliveryTime.translation.createdAt`, `product.deliveryTime.translation`.updated_at as `product.deliveryTime.translation.updatedAt`, `product.deliveryTime.translation`.delivery_time_id as `product.deliveryTime.translation.deliveryTimeId`, `product.deliveryTime.translation`.language_id as `product.deliveryTime.translation.languageId` FROM `delivery_time_translation` `product.deliveryTime.translation` WHERE `product.deliveryTime.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.deliveryTime.delivery_time_translation` ON `product.deliveryTime.delivery_time_translation`.`delivery_time_id` = `product.deliveryTime`.`id` LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id` LEFT JOIN (SELECT `product.cover.media.translation`.media_id, `product.cover.media.translation`.title as `product.cover.media.translation.title`, `product.cover.media.translation`.alt as `product.cover.media.translation.alt`, `product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`, `product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`, `product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`, `product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`, `product.cover.media.translation`.language_id as `product.cover.media.translation.languageId` FROM `media_translation` `product.cover.media.translation` WHERE `product.cover.media.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id` WHERE (`product`.`version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425) AND (`product`.`id` IN (0x4F3851EF49E54DF2BCC5D4E1BA574CDB));
array:37 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 242)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 316)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetch (line 148)"
4 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 93)"
5 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::read (line 195)"
6 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::read (line 133)"
7 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 36)"
8 => "Swag\PayPal\Util\Compatibility\SalesChannelRepositoryDecorator::search (line 207)"
9 => "Tds\MerwareDiscounts\Cart\Checkout\OverwrittenPriceCollector::getSalesChannelProduct (line 93)"
10 => "Tds\MerwareDiscounts\Cart\Checkout\OverwrittenPriceCollector::collect (line 103)"
11 => "Shopware\Core\Checkout\Cart\Processor::runProcessors (line 67)"
12 => "Shopware\Core\Checkout\Cart\Processor::Shopware\Core\Checkout\Cart\{closure} (line 59)"
13 => "Shopware\Core\Profiling\Profiler::trace (line 86)"
14 => "Shopware\Core\Checkout\Cart\Processor::process (line 132)"
15 => "Shopware\Core\Checkout\Cart\CartRuleLoader::Shopware\Core\Checkout\Cart\{closure} (line 59)"
16 => "Shopware\Core\Profiling\Profiler::trace (line 183)"
17 => "Shopware\Core\Checkout\Cart\CartRuleLoader::load (line 83)"
18 => "Shopware\Core\Checkout\Cart\CartRuleLoader::loadByToken (line 106)"
19 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::Shopware\Core\System\SalesChannel\Context\{closure} (line 59)"
20 => "Shopware\Core\Profiling\Profiler::trace (line 111)"
21 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::get (line 105)"
22 => "Shopware\Core\Framework\Routing\SalesChannelRequestContextResolver::resolve (line 38)"
23 => "Shopware\Core\Framework\Routing\ContextResolverListener::resolveContext (line 118)"
24 => "Symfony\Component\EventDispatcher\Debug\WrappedListener::__invoke (line 230)"
25 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
26 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
27 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
28 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
29 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
30 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
31 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 151)"
32 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
33 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
34 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
35 => "Shopware\Core\HttpKernel::doHandle (line 81)"
36 => "Shopware\Core\HttpKernel::handle (line 85)"
]
|
117 |
0.65 ms |
SELECT `product_price`.`id` as `product_price.id`, `product_price`.`version_id` as `product_price.versionId`, `product_price`.`product_id` as `product_price.productId`, `product_price`.`product_version_id` as `product_price.productVersionId`, `product_price`.`rule_id` as `product_price.ruleId`, `product_price`.`price` as `product_price.price`, `product_price`.`quantity_start` as `product_price.quantityStart`, `product_price`.`quantity_end` as `product_price.quantityEnd`, `product_price`.`custom_fields` as `product_price.customFields`, `product_price`.`created_at` as `product_price.createdAt`, `product_price`.`updated_at` as `product_price.updatedAt` FROM `product_price` WHERE (`product_price`.`version_id` = :version) AND ((`product_price`.`product_id` IN (:param_4e0e73326a2f4c998b9863f936d5e1f3)))
SELECT `product_price`.`id` as `product_price.id`, `product_price`.`version_id` as `product_price.versionId`, `product_price`.`product_id` as `product_price.productId`, `product_price`.`product_version_id` as `product_price.productVersionId`, `product_price`.`rule_id` as `product_price.ruleId`, `product_price`.`price` as `product_price.price`, `product_price`.`quantity_start` as `product_price.quantityStart`, `product_price`.`quantity_end` as `product_price.quantityEnd`, `product_price`.`custom_fields` as `product_price.customFields`, `product_price`.`created_at` as `product_price.createdAt`, `product_price`.`updated_at` as `product_price.updatedAt` FROM `product_price` WHERE (`product_price`.`version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425) AND ((`product_price`.`product_id` IN (0x4F3851EF49E54DF2BCC5D4E1BA574CDB, 0xF9F9B3DE5FD1486BB34FAE31A720D7CF)));
array:41 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 242)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 316)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetch (line 148)"
4 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 503)"
5 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::loadOneToManyWithoutPagination (line 438)"
6 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::loadOneToMany (line 1210)"
7 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetchAssociations (line 152)"
8 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 93)"
9 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::read (line 195)"
10 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::read (line 133)"
11 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 36)"
12 => "Swag\PayPal\Util\Compatibility\SalesChannelRepositoryDecorator::search (line 207)"
13 => "Tds\MerwareDiscounts\Cart\Checkout\OverwrittenPriceCollector::getSalesChannelProduct (line 93)"
14 => "Tds\MerwareDiscounts\Cart\Checkout\OverwrittenPriceCollector::collect (line 103)"
15 => "Shopware\Core\Checkout\Cart\Processor::runProcessors (line 67)"
16 => "Shopware\Core\Checkout\Cart\Processor::Shopware\Core\Checkout\Cart\{closure} (line 59)"
17 => "Shopware\Core\Profiling\Profiler::trace (line 86)"
18 => "Shopware\Core\Checkout\Cart\Processor::process (line 132)"
19 => "Shopware\Core\Checkout\Cart\CartRuleLoader::Shopware\Core\Checkout\Cart\{closure} (line 59)"
20 => "Shopware\Core\Profiling\Profiler::trace (line 183)"
21 => "Shopware\Core\Checkout\Cart\CartRuleLoader::load (line 83)"
22 => "Shopware\Core\Checkout\Cart\CartRuleLoader::loadByToken (line 106)"
23 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::Shopware\Core\System\SalesChannel\Context\{closure} (line 59)"
24 => "Shopware\Core\Profiling\Profiler::trace (line 111)"
25 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::get (line 105)"
26 => "Shopware\Core\Framework\Routing\SalesChannelRequestContextResolver::resolve (line 38)"
27 => "Shopware\Core\Framework\Routing\ContextResolverListener::resolveContext (line 118)"
28 => "Symfony\Component\EventDispatcher\Debug\WrappedListener::__invoke (line 230)"
29 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
30 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
31 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
32 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
33 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
34 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
35 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 151)"
36 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
37 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
38 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
39 => "Shopware\Core\HttpKernel::doHandle (line 81)"
40 => "Shopware\Core\HttpKernel::handle (line 85)"
]
|
118 |
0.40 ms |
SELECT `product`.`id`, `product`.`product_number`, `product`.`auto_increment` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN `product_visibility` `product.visibilities` ON `product`.`visibilities` = `product.visibilities`.`product_id` AND `product`.version_id = `product.visibilities`.product_version_id WHERE (`product`.`version_id` = :version) AND ((((`product.visibilities`.`visibility` >= :param_6efc16eee543499db27fdfea3d548800) AND `product.visibilities`.`sales_channel_id` = :param_a4e95b208a7b44a1aed726f6617a5a84 AND IFNULL(`product`.`active`, `product.parent`.`active`) = :param_f33bb2197bf0461fab71fd04c1e08159))) AND (`product`.`id` IN (:ids)) GROUP BY `product`.`id`
SELECT `product`.`id`, `product`.`product_number`, `product`.`auto_increment` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN `product_visibility` `product.visibilities` ON `product`.`visibilities` = `product.visibilities`.`product_id` AND `product`.version_id = `product.visibilities`.product_version_id WHERE (`product`.`version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425) AND ((((`product.visibilities`.`visibility` >= 10) AND `product.visibilities`.`sales_channel_id` = 0x4EB9108BE4654CC9B140D14DE85579E9 AND IFNULL(`product`.`active`, `product.parent`.`active`) = 1))) AND (`product`.`id` IN (0x2EE9CBF22438490C941D8FB58E754063)) GROUP BY `product`.`id`;
array:36 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 242)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 107)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntitySearcher::search (line 62)"
4 => "Shopware\Elasticsearch\Framework\DataAbstractionLayer\ElasticsearchEntitySearcher::search (line 216)"
5 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::doSearch (line 122)"
6 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 36)"
7 => "Swag\PayPal\Util\Compatibility\SalesChannelRepositoryDecorator::search (line 207)"
8 => "Tds\MerwareDiscounts\Cart\Checkout\OverwrittenPriceCollector::getSalesChannelProduct (line 93)"
9 => "Tds\MerwareDiscounts\Cart\Checkout\OverwrittenPriceCollector::collect (line 103)"
10 => "Shopware\Core\Checkout\Cart\Processor::runProcessors (line 67)"
11 => "Shopware\Core\Checkout\Cart\Processor::Shopware\Core\Checkout\Cart\{closure} (line 59)"
12 => "Shopware\Core\Profiling\Profiler::trace (line 86)"
13 => "Shopware\Core\Checkout\Cart\Processor::process (line 132)"
14 => "Shopware\Core\Checkout\Cart\CartRuleLoader::Shopware\Core\Checkout\Cart\{closure} (line 59)"
15 => "Shopware\Core\Profiling\Profiler::trace (line 183)"
16 => "Shopware\Core\Checkout\Cart\CartRuleLoader::load (line 83)"
17 => "Shopware\Core\Checkout\Cart\CartRuleLoader::loadByToken (line 106)"
18 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::Shopware\Core\System\SalesChannel\Context\{closure} (line 59)"
19 => "Shopware\Core\Profiling\Profiler::trace (line 111)"
20 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::get (line 105)"
21 => "Shopware\Core\Framework\Routing\SalesChannelRequestContextResolver::resolve (line 38)"
22 => "Shopware\Core\Framework\Routing\ContextResolverListener::resolveContext (line 118)"
23 => "Symfony\Component\EventDispatcher\Debug\WrappedListener::__invoke (line 230)"
24 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
25 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
26 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
27 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
28 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
29 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
30 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 151)"
31 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
32 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
33 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
34 => "Shopware\Core\HttpKernel::doHandle (line 81)"
35 => "Shopware\Core\HttpKernel::handle (line 85)"
]
|
119 |
15.32 ms |
SELECT `product`.`id` as `product.id`, `product`.`version_id` as `product.versionId`, `product`.`parent_id` as `product.parentId`, `product`.`parent_version_id` as `product.parentVersionId`, COALESCE(`product`.`product_manufacturer_id`, `product.parent`.`product_manufacturer_id`) as `product.manufacturerId`, COALESCE(`product`.`product_manufacturer_version_id`, `product.parent`.`product_manufacturer_version_id`) as `product.productManufacturerVersionId`, COALESCE(`product`.`unit_id`, `product.parent`.`unit_id`) as `product.unitId`, COALESCE(`product`.`tax_id`, `product.parent`.`tax_id`) as `product.taxId`, COALESCE(`product`.`product_media_id`, `product.parent`.`product_media_id`) as `product.coverId`, COALESCE(`product`.`product_media_version_id`, `product.parent`.`product_media_version_id`) as `product.productMediaVersionId`, COALESCE(`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`) as `product.deliveryTimeId`, COALESCE(`product`.`product_feature_set_id`, `product.parent`.`product_feature_set_id`) as `product.featureSetId`, COALESCE(`product`.`canonical_product_id`, `product.parent`.`canonical_product_id`) as `product.canonicalProductId`, COALESCE(`product`.`cms_page_id`, `product.parent`.`cms_page_id`) as `product.cmsPageId`, COALESCE(`product`.`cms_page_version_id`, `product.parent`.`cms_page_version_id`) as `product.cmsPageVersionId`, `product.parent`.`price` as `product.price.inherited`, COALESCE(`product`.`price`, `product.parent`.`price`) as `product.price`, `product`.`product_number` as `product.productNumber`, `product`.`stock` as `product.stock`, COALESCE(`product`.`restock_time`, `product.parent`.`restock_time`) as `product.restockTime`, `product`.`auto_increment` as `product.autoIncrement`, COALESCE(`product`.`active`, `product.parent`.`active`) as `product.active`, `product`.`available_stock` as `product.availableStock`, `product`.`available` as `product.available`, COALESCE(`product`.`is_closeout`, `product.parent`.`is_closeout`) as `product.isCloseout`, `product`.`display_group` as `product.displayGroup`, `product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`, COALESCE(`product`.`configurator_group_config`, `product.parent`.`configurator_group_config`) as `product.configuratorGroupConfig`, COALESCE(`product`.`main_variant_id`, `product.parent`.`main_variant_id`) as `product.mainVariantId`, COALESCE(`product`.`display_parent`, `product.parent`.`display_parent`) as `product.displayParent`, `product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`, COALESCE(`product`.`variant_listing_config`, `product.parent`.`variant_listing_config`) as `product.variantListingConfig`, `product`.`variant_restrictions` as `product.variantRestrictions`, COALESCE(`product`.`manufacturer_number`, `product.parent`.`manufacturer_number`) as `product.manufacturerNumber`, COALESCE(`product`.`ean`, `product.parent`.`ean`) as `product.ean`, COALESCE(`product`.`purchase_steps`, `product.parent`.`purchase_steps`) as `product.purchaseSteps`, COALESCE(`product`.`max_purchase`, `product.parent`.`max_purchase`) as `product.maxPurchase`, COALESCE(`product`.`min_purchase`, `product.parent`.`min_purchase`) as `product.minPurchase`, COALESCE(`product`.`purchase_unit`, `product.parent`.`purchase_unit`) as `product.purchaseUnit`, COALESCE(`product`.`reference_unit`, `product.parent`.`reference_unit`) as `product.referenceUnit`, COALESCE(`product`.`shipping_free`, `product.parent`.`shipping_free`) as `product.shippingFree`, `product.parent`.`purchase_prices` as `product.purchasePrices.inherited`, COALESCE(`product`.`purchase_prices`, `product.parent`.`purchase_prices`) as `product.purchasePrices`, COALESCE(`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`) as `product.markAsTopseller`, COALESCE(`product`.`weight`, `product.parent`.`weight`) as `product.weight`, COALESCE(`product`.`width`, `product.parent`.`width`) as `product.width`, COALESCE(`product`.`height`, `product.parent`.`height`) as `product.height`, COALESCE(`product`.`length`, `product.parent`.`length`) as `product.length`, COALESCE(`product`.`release_date`, `product.parent`.`release_date`) as `product.releaseDate`, COALESCE(`product`.`rating_average`, `product.parent`.`rating_average`) as `product.ratingAverage`, `product.parent`.`category_tree` as `product.categoryTree.inherited`, COALESCE(`product`.`category_tree`, `product.parent`.`category_tree`) as `product.categoryTree`, `product.parent`.`property_ids` as `product.propertyIds.inherited`, COALESCE(`product`.`property_ids`, `product.parent`.`property_ids`) as `product.propertyIds`, `product.parent`.`option_ids` as `product.optionIds.inherited`, COALESCE(`product`.`option_ids`, `product.parent`.`option_ids`) as `product.optionIds`, `product.parent`.`stream_ids` as `product.streamIds.inherited`, COALESCE(`product`.`stream_ids`, `product.parent`.`stream_ids`) as `product.streamIds`, `product.parent`.`tag_ids` as `product.tagIds.inherited`, COALESCE(`product`.`tag_ids`, `product.parent`.`tag_ids`) as `product.tagIds`, `product.parent`.`category_ids` as `product.categoryIds.inherited`, COALESCE(`product`.`category_ids`, `product.parent`.`category_ids`) as `product.categoryIds`, `product`.`child_count` as `product.childCount`, COALESCE(`product`.`custom_field_set_selection_active`, `product.parent`.`custom_field_set_selection_active`) as `product.customFieldSetSelectionActive`, `product`.`sales` as `product.sales`, `product`.`states` as `product.states`, `product.tax`.`id` as `product.tax.id`, `product.tax`.`tax_rate` as `product.tax.taxRate`, `product.tax`.`name` as `product.tax.name`, `product.tax`.`position` as `product.tax.position`, `product.tax`.`custom_fields` as `product.tax.customFields`, `product.tax`.`created_at` as `product.tax.createdAt`, `product.tax`.`updated_at` as `product.tax.updatedAt`, `product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`, COALESCE(`product`.`cheapest_price`, `product.parent`.`cheapest_price`) as `product.cheapestPrice`, `product`.`created_at` as `product.createdAt`, `product`.`updated_at` as `product.updatedAt`, `product.unit`.`id` as `product.unit.id`, `product.unit`.`created_at` as `product.unit.createdAt`, `product.unit`.`updated_at` as `product.unit.updatedAt`, `product.unit.translation.shortCode`, COALESCE(`product.unit.translation.shortCode`,`product.unit.translation.shortCode`) as `product.unit.shortCode`, `product.unit.translation.name`, COALESCE(`product.unit.translation.name`,`product.unit.translation.name`) as `product.unit.name`, `product.unit.translation.customFields`, COALESCE(`product.unit.translation.customFields`,`product.unit.translation.customFields`) as `product.unit.customFields`, `product.unit.translation.createdAt`, `product.unit.translation.updatedAt`, `product.unit.translation.unitId`, `product.unit.translation.languageId`, `product.deliveryTime`.`id` as `product.deliveryTime.id`, `product.deliveryTime`.`min` as `product.deliveryTime.min`, `product.deliveryTime`.`max` as `product.deliveryTime.max`, `product.deliveryTime`.`unit` as `product.deliveryTime.unit`, `product.deliveryTime`.`created_at` as `product.deliveryTime.createdAt`, `product.deliveryTime`.`updated_at` as `product.deliveryTime.updatedAt`, `product.deliveryTime.translation.name`, COALESCE(`product.deliveryTime.translation.name`,`product.deliveryTime.translation.name`) as `product.deliveryTime.name`, `product.deliveryTime.translation.customFields`, COALESCE(`product.deliveryTime.translation.customFields`,`product.deliveryTime.translation.customFields`) as `product.deliveryTime.customFields`, `product.deliveryTime.translation.createdAt`, `product.deliveryTime.translation.updatedAt`, `product.deliveryTime.translation.deliveryTimeId`, `product.deliveryTime.translation.languageId`, `product.cover`.`id` as `product.cover.id`, `product.cover`.`version_id` as `product.cover.versionId`, `product.cover`.`product_id` as `product.cover.productId`, `product.cover`.`product_version_id` as `product.cover.productVersionId`, `product.cover`.`media_id` as `product.cover.mediaId`, `product.cover`.`position` as `product.cover.position`, `product.cover.media`.`id` as `product.cover.media.id`, `product.cover.media`.`user_id` as `product.cover.media.userId`, `product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`, `product.cover.media`.`mime_type` as `product.cover.media.mimeType`, `product.cover.media`.`file_extension` as `product.cover.media.fileExtension`, `product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`, `product.cover.media`.`file_name` as `product.cover.media.fileName`, `product.cover.media`.`file_size` as `product.cover.media.fileSize`, `product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`, `product.cover.media`.`meta_data` as `product.cover.media.metaData`, `product.cover.media`.`private` as `product.cover.media.private`, `product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`, `product.cover.media`.`created_at` as `product.cover.media.createdAt`, `product.cover.media`.`updated_at` as `product.cover.media.updatedAt`, `product.cover.media.translation.title`, COALESCE(`product.cover.media.translation.title`,`product.cover.media.translation.title`) as `product.cover.media.title`, `product.cover.media.translation.alt`, COALESCE(`product.cover.media.translation.alt`,`product.cover.media.translation.alt`) as `product.cover.media.alt`, `product.cover.media.translation.customFields`, COALESCE(`product.cover.media.translation.customFields`,`product.cover.media.translation.customFields`) as `product.cover.media.customFields`, `product.cover.media.translation.createdAt`, `product.cover.media.translation.updatedAt`, `product.cover.media.translation.mediaId`, `product.cover.media.translation.languageId`, `product.cover`.`custom_fields` as `product.cover.customFields`, `product.cover`.`created_at` as `product.cover.createdAt`, `product.cover`.`updated_at` as `product.cover.updatedAt`, `product.translation.metaDescription`, `product.parent.translation.metaDescription`, COALESCE(`product.translation.metaDescription`,`product.parent.translation.metaDescription`,`product.translation.metaDescription`) as `product.metaDescription`, `product.translation.name`, `product.parent.translation.name`, COALESCE(`product.translation.name`,`product.parent.translation.name`,`product.translation.name`) as `product.name`, `product.translation.keywords`, `product.parent.translation.keywords`, COALESCE(`product.translation.keywords`,`product.parent.translation.keywords`,`product.translation.keywords`) as `product.keywords`, `product.translation.description`, `product.parent.translation.description`, COALESCE(`product.translation.description`,`product.parent.translation.description`,`product.translation.description`) as `product.description`, `product.translation.metaTitle`, `product.parent.translation.metaTitle`, COALESCE(`product.translation.metaTitle`,`product.parent.translation.metaTitle`,`product.translation.metaTitle`) as `product.metaTitle`, `product.translation.packUnit`, `product.parent.translation.packUnit`, COALESCE(`product.translation.packUnit`,`product.parent.translation.packUnit`,`product.translation.packUnit`) as `product.packUnit`, `product.translation.packUnitPlural`, `product.parent.translation.packUnitPlural`, COALESCE(`product.translation.packUnitPlural`,`product.parent.translation.packUnitPlural`,`product.translation.packUnitPlural`) as `product.packUnitPlural`, `product.translation.customSearchKeywords`, `product.parent.translation.customSearchKeywords`, COALESCE(`product.translation.customSearchKeywords`,`product.parent.translation.customSearchKeywords`,`product.translation.customSearchKeywords`) as `product.customSearchKeywords`, `product.translation.slotConfig`, `product.parent.translation.slotConfig`, COALESCE(`product.translation.slotConfig`,`product.parent.translation.slotConfig`,`product.translation.slotConfig`) as `product.slotConfig`, `product.translation.customFields`, `product.parent.translation.customFields`, COALESCE(`product.translation.customFields`,`product.parent.translation.customFields`,`product.translation.customFields`) as `product.customFields`, `product.translation.createdAt`, `product.parent.translation.createdAt`, `product.translation.updatedAt`, `product.parent.translation.updatedAt`, `product.translation.productId`, `product.parent.translation.productId`, `product.translation.languageId`, `product.parent.translation.languageId`, `product.translation.productVersionId`, `product.parent.translation.productVersionId` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN (SELECT `product.translation`.product_id, `product.translation`.product_version_id, `product.translation`.meta_description as `product.translation.metaDescription`, `product.translation`.name as `product.translation.name`, `product.translation`.keywords as `product.translation.keywords`, `product.translation`.description as `product.translation.description`, `product.translation`.meta_title as `product.translation.metaTitle`, `product.translation`.pack_unit as `product.translation.packUnit`, `product.translation`.pack_unit_plural as `product.translation.packUnitPlural`, `product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`, `product.translation`.slot_config as `product.translation.slotConfig`, `product.translation`.custom_fields as `product.translation.customFields`, `product.translation`.created_at as `product.translation.createdAt`, `product.translation`.updated_at as `product.translation.updatedAt`, `product.translation`.product_id as `product.translation.productId`, `product.translation`.language_id as `product.translation.languageId`, `product.translation`.product_version_id as `product.translation.productVersionId` FROM `product_translation` `product.translation` WHERE `product.translation`.language_id = :languageId) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id` AND `product.product_translation`.product_version_id = `product`.version_id LEFT JOIN (SELECT `product.parent.translation`.product_id, `product.parent.translation`.product_version_id, `product.parent.translation`.meta_description as `product.parent.translation.metaDescription`, `product.parent.translation`.name as `product.parent.translation.name`, `product.parent.translation`.keywords as `product.parent.translation.keywords`, `product.parent.translation`.description as `product.parent.translation.description`, `product.parent.translation`.meta_title as `product.parent.translation.metaTitle`, `product.parent.translation`.pack_unit as `product.parent.translation.packUnit`, `product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`, `product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`, `product.parent.translation`.slot_config as `product.parent.translation.slotConfig`, `product.parent.translation`.custom_fields as `product.parent.translation.customFields`, `product.parent.translation`.created_at as `product.parent.translation.createdAt`, `product.parent.translation`.updated_at as `product.parent.translation.updatedAt`, `product.parent.translation`.product_id as `product.parent.translation.productId`, `product.parent.translation`.language_id as `product.parent.translation.languageId`, `product.parent.translation`.product_version_id as `product.parent.translation.productVersionId` FROM `product_translation` `product.parent.translation` WHERE `product.parent.translation`.language_id = :languageId) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id` AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id` LEFT JOIN `unit` `product.unit` ON `product`.`unit` = `product.unit`.`id` LEFT JOIN `delivery_time` `product.deliveryTime` ON `product`.`deliveryTime` = `product.deliveryTime`.`id` LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id` AND `product`.`version_id` = `product.cover`.`version_id` LEFT JOIN (SELECT `product.unit.translation`.unit_id, `product.unit.translation`.short_code as `product.unit.translation.shortCode`, `product.unit.translation`.name as `product.unit.translation.name`, `product.unit.translation`.custom_fields as `product.unit.translation.customFields`, `product.unit.translation`.created_at as `product.unit.translation.createdAt`, `product.unit.translation`.updated_at as `product.unit.translation.updatedAt`, `product.unit.translation`.unit_id as `product.unit.translation.unitId`, `product.unit.translation`.language_id as `product.unit.translation.languageId` FROM `unit_translation` `product.unit.translation` WHERE `product.unit.translation`.language_id = :languageId) `product.unit.unit_translation` ON `product.unit.unit_translation`.`unit_id` = `product.unit`.`id` LEFT JOIN (SELECT `product.deliveryTime.translation`.delivery_time_id, `product.deliveryTime.translation`.name as `product.deliveryTime.translation.name`, `product.deliveryTime.translation`.custom_fields as `product.deliveryTime.translation.customFields`, `product.deliveryTime.translation`.created_at as `product.deliveryTime.translation.createdAt`, `product.deliveryTime.translation`.updated_at as `product.deliveryTime.translation.updatedAt`, `product.deliveryTime.translation`.delivery_time_id as `product.deliveryTime.translation.deliveryTimeId`, `product.deliveryTime.translation`.language_id as `product.deliveryTime.translation.languageId` FROM `delivery_time_translation` `product.deliveryTime.translation` WHERE `product.deliveryTime.translation`.language_id = :languageId) `product.deliveryTime.delivery_time_translation` ON `product.deliveryTime.delivery_time_translation`.`delivery_time_id` = `product.deliveryTime`.`id` LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id` LEFT JOIN (SELECT `product.cover.media.translation`.media_id, `product.cover.media.translation`.title as `product.cover.media.translation.title`, `product.cover.media.translation`.alt as `product.cover.media.translation.alt`, `product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`, `product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`, `product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`, `product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`, `product.cover.media.translation`.language_id as `product.cover.media.translation.languageId` FROM `media_translation` `product.cover.media.translation` WHERE `product.cover.media.translation`.language_id = :languageId) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id` WHERE (`product`.`version_id` = :version) AND (`product`.`id` IN (:ids))
SELECT
`product`.`id` as `product.id`,
`product`.`version_id` as `product.versionId`,
`product`.`parent_id` as `product.parentId`,
`product`.`parent_version_id` as `product.parentVersionId`,
COALESCE(
`product`.`product_manufacturer_id`,
`product.parent`.`product_manufacturer_id`
) as `product.manufacturerId`,
COALESCE(
`product`.`product_manufacturer_version_id`,
`product.parent`.`product_manufacturer_version_id`
) as `product.productManufacturerVersionId`,
COALESCE(
`product`.`unit_id`, `product.parent`.`unit_id`
) as `product.unitId`,
COALESCE(
`product`.`tax_id`, `product.parent`.`tax_id`
) as `product.taxId`,
COALESCE(
`product`.`product_media_id`, `product.parent`.`product_media_id`
) as `product.coverId`,
COALESCE(
`product`.`product_media_version_id`,
`product.parent`.`product_media_version_id`
) as `product.productMediaVersionId`,
COALESCE(
`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`
) as `product.deliveryTimeId`,
COALESCE(
`product`.`product_feature_set_id`,
`product.parent`.`product_feature_set_id`
) as `product.featureSetId`,
COALESCE(
`product`.`canonical_product_id`,
`product.parent`.`canonical_product_id`
) as `product.canonicalProductId`,
COALESCE(
`product`.`cms_page_id`, `product.parent`.`cms_page_id`
) as `product.cmsPageId`,
COALESCE(
`product`.`cms_page_version_id`,
`product.parent`.`cms_page_version_id`
) as `product.cmsPageVersionId`,
`product.parent`.`price` as `product.price.inherited`,
COALESCE(
`product`.`price`, `product.parent`.`price`
) as `product.price`,
`product`.`product_number` as `product.productNumber`,
`product`.`stock` as `product.stock`,
COALESCE(
`product`.`restock_time`, `product.parent`.`restock_time`
) as `product.restockTime`,
`product`.`auto_increment` as `product.autoIncrement`,
COALESCE(
`product`.`active`, `product.parent`.`active`
) as `product.active`,
`product`.`available_stock` as `product.availableStock`,
`product`.`available` as `product.available`,
COALESCE(
`product`.`is_closeout`, `product.parent`.`is_closeout`
) as `product.isCloseout`,
`product`.`display_group` as `product.displayGroup`,
`product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`,
COALESCE(
`product`.`configurator_group_config`,
`product.parent`.`configurator_group_config`
) as `product.configuratorGroupConfig`,
COALESCE(
`product`.`main_variant_id`, `product.parent`.`main_variant_id`
) as `product.mainVariantId`,
COALESCE(
`product`.`display_parent`, `product.parent`.`display_parent`
) as `product.displayParent`,
`product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`,
COALESCE(
`product`.`variant_listing_config`,
`product.parent`.`variant_listing_config`
) as `product.variantListingConfig`,
`product`.`variant_restrictions` as `product.variantRestrictions`,
COALESCE(
`product`.`manufacturer_number`,
`product.parent`.`manufacturer_number`
) as `product.manufacturerNumber`,
COALESCE(
`product`.`ean`, `product.parent`.`ean`
) as `product.ean`,
COALESCE(
`product`.`purchase_steps`, `product.parent`.`purchase_steps`
) as `product.purchaseSteps`,
COALESCE(
`product`.`max_purchase`, `product.parent`.`max_purchase`
) as `product.maxPurchase`,
COALESCE(
`product`.`min_purchase`, `product.parent`.`min_purchase`
) as `product.minPurchase`,
COALESCE(
`product`.`purchase_unit`, `product.parent`.`purchase_unit`
) as `product.purchaseUnit`,
COALESCE(
`product`.`reference_unit`, `product.parent`.`reference_unit`
) as `product.referenceUnit`,
COALESCE(
`product`.`shipping_free`, `product.parent`.`shipping_free`
) as `product.shippingFree`,
`product.parent`.`purchase_prices` as `product.purchasePrices.inherited`,
COALESCE(
`product`.`purchase_prices`, `product.parent`.`purchase_prices`
) as `product.purchasePrices`,
COALESCE(
`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`
) as `product.markAsTopseller`,
COALESCE(
`product`.`weight`, `product.parent`.`weight`
) as `product.weight`,
COALESCE(
`product`.`width`, `product.parent`.`width`
) as `product.width`,
COALESCE(
`product`.`height`, `product.parent`.`height`
) as `product.height`,
COALESCE(
`product`.`length`, `product.parent`.`length`
) as `product.length`,
COALESCE(
`product`.`release_date`, `product.parent`.`release_date`
) as `product.releaseDate`,
COALESCE(
`product`.`rating_average`, `product.parent`.`rating_average`
) as `product.ratingAverage`,
`product.parent`.`category_tree` as `product.categoryTree.inherited`,
COALESCE(
`product`.`category_tree`, `product.parent`.`category_tree`
) as `product.categoryTree`,
`product.parent`.`property_ids` as `product.propertyIds.inherited`,
COALESCE(
`product`.`property_ids`, `product.parent`.`property_ids`
) as `product.propertyIds`,
`product.parent`.`option_ids` as `product.optionIds.inherited`,
COALESCE(
`product`.`option_ids`, `product.parent`.`option_ids`
) as `product.optionIds`,
`product.parent`.`stream_ids` as `product.streamIds.inherited`,
COALESCE(
`product`.`stream_ids`, `product.parent`.`stream_ids`
) as `product.streamIds`,
`product.parent`.`tag_ids` as `product.tagIds.inherited`,
COALESCE(
`product`.`tag_ids`, `product.parent`.`tag_ids`
) as `product.tagIds`,
`product.parent`.`category_ids` as `product.categoryIds.inherited`,
COALESCE(
`product`.`category_ids`, `product.parent`.`category_ids`
) as `product.categoryIds`,
`product`.`child_count` as `product.childCount`,
COALESCE(
`product`.`custom_field_set_selection_active`,
`product.parent`.`custom_field_set_selection_active`
) as `product.customFieldSetSelectionActive`,
`product`.`sales` as `product.sales`,
`product`.`states` as `product.states`,
`product.tax`.`id` as `product.tax.id`,
`product.tax`.`tax_rate` as `product.tax.taxRate`,
`product.tax`.`name` as `product.tax.name`,
`product.tax`.`position` as `product.tax.position`,
`product.tax`.`custom_fields` as `product.tax.customFields`,
`product.tax`.`created_at` as `product.tax.createdAt`,
`product.tax`.`updated_at` as `product.tax.updatedAt`,
`product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`,
COALESCE(
`product`.`cheapest_price`, `product.parent`.`cheapest_price`
) as `product.cheapestPrice`,
`product`.`created_at` as `product.createdAt`,
`product`.`updated_at` as `product.updatedAt`,
`product.unit`.`id` as `product.unit.id`,
`product.unit`.`created_at` as `product.unit.createdAt`,
`product.unit`.`updated_at` as `product.unit.updatedAt`,
`product.unit.translation.shortCode`,
COALESCE(
`product.unit.translation.shortCode`,
`product.unit.translation.shortCode`
) as `product.unit.shortCode`,
`product.unit.translation.name`,
COALESCE(
`product.unit.translation.name`,
`product.unit.translation.name`
) as `product.unit.name`,
`product.unit.translation.customFields`,
COALESCE(
`product.unit.translation.customFields`,
`product.unit.translation.customFields`
) as `product.unit.customFields`,
`product.unit.translation.createdAt`,
`product.unit.translation.updatedAt`,
`product.unit.translation.unitId`,
`product.unit.translation.languageId`,
`product.deliveryTime`.`id` as `product.deliveryTime.id`,
`product.deliveryTime`.`min` as `product.deliveryTime.min`,
`product.deliveryTime`.`max` as `product.deliveryTime.max`,
`product.deliveryTime`.`unit` as `product.deliveryTime.unit`,
`product.deliveryTime`.`created_at` as `product.deliveryTime.createdAt`,
`product.deliveryTime`.`updated_at` as `product.deliveryTime.updatedAt`,
`product.deliveryTime.translation.name`,
COALESCE(
`product.deliveryTime.translation.name`,
`product.deliveryTime.translation.name`
) as `product.deliveryTime.name`,
`product.deliveryTime.translation.customFields`,
COALESCE(
`product.deliveryTime.translation.customFields`,
`product.deliveryTime.translation.customFields`
) as `product.deliveryTime.customFields`,
`product.deliveryTime.translation.createdAt`,
`product.deliveryTime.translation.updatedAt`,
`product.deliveryTime.translation.deliveryTimeId`,
`product.deliveryTime.translation.languageId`,
`product.cover`.`id` as `product.cover.id`,
`product.cover`.`version_id` as `product.cover.versionId`,
`product.cover`.`product_id` as `product.cover.productId`,
`product.cover`.`product_version_id` as `product.cover.productVersionId`,
`product.cover`.`media_id` as `product.cover.mediaId`,
`product.cover`.`position` as `product.cover.position`,
`product.cover.media`.`id` as `product.cover.media.id`,
`product.cover.media`.`user_id` as `product.cover.media.userId`,
`product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`,
`product.cover.media`.`mime_type` as `product.cover.media.mimeType`,
`product.cover.media`.`file_extension` as `product.cover.media.fileExtension`,
`product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`,
`product.cover.media`.`file_name` as `product.cover.media.fileName`,
`product.cover.media`.`file_size` as `product.cover.media.fileSize`,
`product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`,
`product.cover.media`.`meta_data` as `product.cover.media.metaData`,
`product.cover.media`.`private` as `product.cover.media.private`,
`product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`,
`product.cover.media`.`created_at` as `product.cover.media.createdAt`,
`product.cover.media`.`updated_at` as `product.cover.media.updatedAt`,
`product.cover.media.translation.title`,
COALESCE(
`product.cover.media.translation.title`,
`product.cover.media.translation.title`
) as `product.cover.media.title`,
`product.cover.media.translation.alt`,
COALESCE(
`product.cover.media.translation.alt`,
`product.cover.media.translation.alt`
) as `product.cover.media.alt`,
`product.cover.media.translation.customFields`,
COALESCE(
`product.cover.media.translation.customFields`,
`product.cover.media.translation.customFields`
) as `product.cover.media.customFields`,
`product.cover.media.translation.createdAt`,
`product.cover.media.translation.updatedAt`,
`product.cover.media.translation.mediaId`,
`product.cover.media.translation.languageId`,
`product.cover`.`custom_fields` as `product.cover.customFields`,
`product.cover`.`created_at` as `product.cover.createdAt`,
`product.cover`.`updated_at` as `product.cover.updatedAt`,
`product.translation.metaDescription`,
`product.parent.translation.metaDescription`,
COALESCE(
`product.translation.metaDescription`,
`product.parent.translation.metaDescription`,
`product.translation.metaDescription`
) as `product.metaDescription`,
`product.translation.name`,
`product.parent.translation.name`,
COALESCE(
`product.translation.name`, `product.parent.translation.name`,
`product.translation.name`
) as `product.name`,
`product.translation.keywords`,
`product.parent.translation.keywords`,
COALESCE(
`product.translation.keywords`,
`product.parent.translation.keywords`,
`product.translation.keywords`
) as `product.keywords`,
`product.translation.description`,
`product.parent.translation.description`,
COALESCE(
`product.translation.description`,
`product.parent.translation.description`,
`product.translation.description`
) as `product.description`,
`product.translation.metaTitle`,
`product.parent.translation.metaTitle`,
COALESCE(
`product.translation.metaTitle`,
`product.parent.translation.metaTitle`,
`product.translation.metaTitle`
) as `product.metaTitle`,
`product.translation.packUnit`,
`product.parent.translation.packUnit`,
COALESCE(
`product.translation.packUnit`,
`product.parent.translation.packUnit`,
`product.translation.packUnit`
) as `product.packUnit`,
`product.translation.packUnitPlural`,
`product.parent.translation.packUnitPlural`,
COALESCE(
`product.translation.packUnitPlural`,
`product.parent.translation.packUnitPlural`,
`product.translation.packUnitPlural`
) as `product.packUnitPlural`,
`product.translation.customSearchKeywords`,
`product.parent.translation.customSearchKeywords`,
COALESCE(
`product.translation.customSearchKeywords`,
`product.parent.translation.customSearchKeywords`,
`product.translation.customSearchKeywords`
) as `product.customSearchKeywords`,
`product.translation.slotConfig`,
`product.parent.translation.slotConfig`,
COALESCE(
`product.translation.slotConfig`,
`product.parent.translation.slotConfig`,
`product.translation.slotConfig`
) as `product.slotConfig`,
`product.translation.customFields`,
`product.parent.translation.customFields`,
COALESCE(
`product.translation.customFields`,
`product.parent.translation.customFields`,
`product.translation.customFields`
) as `product.customFields`,
`product.translation.createdAt`,
`product.parent.translation.createdAt`,
`product.translation.updatedAt`,
`product.parent.translation.updatedAt`,
`product.translation.productId`,
`product.parent.translation.productId`,
`product.translation.languageId`,
`product.parent.translation.languageId`,
`product.translation.productVersionId`,
`product.parent.translation.productVersionId`
FROM
`product`
LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id`
AND `product`.`version_id` = `product.parent`.`version_id`
LEFT JOIN (
SELECT
`product.translation`.product_id,
`product.translation`.product_version_id,
`product.translation`.meta_description as `product.translation.metaDescription`,
`product.translation`.name as `product.translation.name`,
`product.translation`.keywords as `product.translation.keywords`,
`product.translation`.description as `product.translation.description`,
`product.translation`.meta_title as `product.translation.metaTitle`,
`product.translation`.pack_unit as `product.translation.packUnit`,
`product.translation`.pack_unit_plural as `product.translation.packUnitPlural`,
`product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`,
`product.translation`.slot_config as `product.translation.slotConfig`,
`product.translation`.custom_fields as `product.translation.customFields`,
`product.translation`.created_at as `product.translation.createdAt`,
`product.translation`.updated_at as `product.translation.updatedAt`,
`product.translation`.product_id as `product.translation.productId`,
`product.translation`.language_id as `product.translation.languageId`,
`product.translation`.product_version_id as `product.translation.productVersionId`
FROM
`product_translation` `product.translation`
WHERE
`product.translation`.language_id = : languageId
) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id`
AND `product.product_translation`.product_version_id = `product`.version_id
LEFT JOIN (
SELECT
`product.parent.translation`.product_id,
`product.parent.translation`.product_version_id,
`product.parent.translation`.meta_description as `product.parent.translation.metaDescription`,
`product.parent.translation`.name as `product.parent.translation.name`,
`product.parent.translation`.keywords as `product.parent.translation.keywords`,
`product.parent.translation`.description as `product.parent.translation.description`,
`product.parent.translation`.meta_title as `product.parent.translation.metaTitle`,
`product.parent.translation`.pack_unit as `product.parent.translation.packUnit`,
`product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`,
`product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`,
`product.parent.translation`.slot_config as `product.parent.translation.slotConfig`,
`product.parent.translation`.custom_fields as `product.parent.translation.customFields`,
`product.parent.translation`.created_at as `product.parent.translation.createdAt`,
`product.parent.translation`.updated_at as `product.parent.translation.updatedAt`,
`product.parent.translation`.product_id as `product.parent.translation.productId`,
`product.parent.translation`.language_id as `product.parent.translation.languageId`,
`product.parent.translation`.product_version_id as `product.parent.translation.productVersionId`
FROM
`product_translation` `product.parent.translation`
WHERE
`product.parent.translation`.language_id = : languageId
) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id`
AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id
LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id`
LEFT JOIN `unit` `product.unit` ON `product`.`unit` = `product.unit`.`id`
LEFT JOIN `delivery_time` `product.deliveryTime` ON `product`.`deliveryTime` = `product.deliveryTime`.`id`
LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id`
AND `product`.`version_id` = `product.cover`.`version_id`
LEFT JOIN (
SELECT
`product.unit.translation`.unit_id,
`product.unit.translation`.short_code as `product.unit.translation.shortCode`,
`product.unit.translation`.name as `product.unit.translation.name`,
`product.unit.translation`.custom_fields as `product.unit.translation.customFields`,
`product.unit.translation`.created_at as `product.unit.translation.createdAt`,
`product.unit.translation`.updated_at as `product.unit.translation.updatedAt`,
`product.unit.translation`.unit_id as `product.unit.translation.unitId`,
`product.unit.translation`.language_id as `product.unit.translation.languageId`
FROM
`unit_translation` `product.unit.translation`
WHERE
`product.unit.translation`.language_id = : languageId
) `product.unit.unit_translation` ON `product.unit.unit_translation`.`unit_id` = `product.unit`.`id`
LEFT JOIN (
SELECT
`product.deliveryTime.translation`.delivery_time_id,
`product.deliveryTime.translation`.name as `product.deliveryTime.translation.name`,
`product.deliveryTime.translation`.custom_fields as `product.deliveryTime.translation.customFields`,
`product.deliveryTime.translation`.created_at as `product.deliveryTime.translation.createdAt`,
`product.deliveryTime.translation`.updated_at as `product.deliveryTime.translation.updatedAt`,
`product.deliveryTime.translation`.delivery_time_id as `product.deliveryTime.translation.deliveryTimeId`,
`product.deliveryTime.translation`.language_id as `product.deliveryTime.translation.languageId`
FROM
`delivery_time_translation` `product.deliveryTime.translation`
WHERE
`product.deliveryTime.translation`.language_id = : languageId
) `product.deliveryTime.delivery_time_translation` ON `product.deliveryTime.delivery_time_translation`.`delivery_time_id` = `product.deliveryTime`.`id`
LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id`
LEFT JOIN (
SELECT
`product.cover.media.translation`.media_id,
`product.cover.media.translation`.title as `product.cover.media.translation.title`,
`product.cover.media.translation`.alt as `product.cover.media.translation.alt`,
`product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`,
`product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`,
`product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`,
`product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`,
`product.cover.media.translation`.language_id as `product.cover.media.translation.languageId`
FROM
`media_translation` `product.cover.media.translation`
WHERE
`product.cover.media.translation`.language_id = : languageId
) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id`
WHERE
(
`product`.`version_id` = : version
)
AND (
`product`.`id` IN (: ids)
)
SELECT `product`.`id` as `product.id`, `product`.`version_id` as `product.versionId`, `product`.`parent_id` as `product.parentId`, `product`.`parent_version_id` as `product.parentVersionId`, COALESCE(`product`.`product_manufacturer_id`, `product.parent`.`product_manufacturer_id`) as `product.manufacturerId`, COALESCE(`product`.`product_manufacturer_version_id`, `product.parent`.`product_manufacturer_version_id`) as `product.productManufacturerVersionId`, COALESCE(`product`.`unit_id`, `product.parent`.`unit_id`) as `product.unitId`, COALESCE(`product`.`tax_id`, `product.parent`.`tax_id`) as `product.taxId`, COALESCE(`product`.`product_media_id`, `product.parent`.`product_media_id`) as `product.coverId`, COALESCE(`product`.`product_media_version_id`, `product.parent`.`product_media_version_id`) as `product.productMediaVersionId`, COALESCE(`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`) as `product.deliveryTimeId`, COALESCE(`product`.`product_feature_set_id`, `product.parent`.`product_feature_set_id`) as `product.featureSetId`, COALESCE(`product`.`canonical_product_id`, `product.parent`.`canonical_product_id`) as `product.canonicalProductId`, COALESCE(`product`.`cms_page_id`, `product.parent`.`cms_page_id`) as `product.cmsPageId`, COALESCE(`product`.`cms_page_version_id`, `product.parent`.`cms_page_version_id`) as `product.cmsPageVersionId`, `product.parent`.`price` as `product.price.inherited`, COALESCE(`product`.`price`, `product.parent`.`price`) as `product.price`, `product`.`product_number` as `product.productNumber`, `product`.`stock` as `product.stock`, COALESCE(`product`.`restock_time`, `product.parent`.`restock_time`) as `product.restockTime`, `product`.`auto_increment` as `product.autoIncrement`, COALESCE(`product`.`active`, `product.parent`.`active`) as `product.active`, `product`.`available_stock` as `product.availableStock`, `product`.`available` as `product.available`, COALESCE(`product`.`is_closeout`, `product.parent`.`is_closeout`) as `product.isCloseout`, `product`.`display_group` as `product.displayGroup`, `product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`, COALESCE(`product`.`configurator_group_config`, `product.parent`.`configurator_group_config`) as `product.configuratorGroupConfig`, COALESCE(`product`.`main_variant_id`, `product.parent`.`main_variant_id`) as `product.mainVariantId`, COALESCE(`product`.`display_parent`, `product.parent`.`display_parent`) as `product.displayParent`, `product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`, COALESCE(`product`.`variant_listing_config`, `product.parent`.`variant_listing_config`) as `product.variantListingConfig`, `product`.`variant_restrictions` as `product.variantRestrictions`, COALESCE(`product`.`manufacturer_number`, `product.parent`.`manufacturer_number`) as `product.manufacturerNumber`, COALESCE(`product`.`ean`, `product.parent`.`ean`) as `product.ean`, COALESCE(`product`.`purchase_steps`, `product.parent`.`purchase_steps`) as `product.purchaseSteps`, COALESCE(`product`.`max_purchase`, `product.parent`.`max_purchase`) as `product.maxPurchase`, COALESCE(`product`.`min_purchase`, `product.parent`.`min_purchase`) as `product.minPurchase`, COALESCE(`product`.`purchase_unit`, `product.parent`.`purchase_unit`) as `product.purchaseUnit`, COALESCE(`product`.`reference_unit`, `product.parent`.`reference_unit`) as `product.referenceUnit`, COALESCE(`product`.`shipping_free`, `product.parent`.`shipping_free`) as `product.shippingFree`, `product.parent`.`purchase_prices` as `product.purchasePrices.inherited`, COALESCE(`product`.`purchase_prices`, `product.parent`.`purchase_prices`) as `product.purchasePrices`, COALESCE(`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`) as `product.markAsTopseller`, COALESCE(`product`.`weight`, `product.parent`.`weight`) as `product.weight`, COALESCE(`product`.`width`, `product.parent`.`width`) as `product.width`, COALESCE(`product`.`height`, `product.parent`.`height`) as `product.height`, COALESCE(`product`.`length`, `product.parent`.`length`) as `product.length`, COALESCE(`product`.`release_date`, `product.parent`.`release_date`) as `product.releaseDate`, COALESCE(`product`.`rating_average`, `product.parent`.`rating_average`) as `product.ratingAverage`, `product.parent`.`category_tree` as `product.categoryTree.inherited`, COALESCE(`product`.`category_tree`, `product.parent`.`category_tree`) as `product.categoryTree`, `product.parent`.`property_ids` as `product.propertyIds.inherited`, COALESCE(`product`.`property_ids`, `product.parent`.`property_ids`) as `product.propertyIds`, `product.parent`.`option_ids` as `product.optionIds.inherited`, COALESCE(`product`.`option_ids`, `product.parent`.`option_ids`) as `product.optionIds`, `product.parent`.`stream_ids` as `product.streamIds.inherited`, COALESCE(`product`.`stream_ids`, `product.parent`.`stream_ids`) as `product.streamIds`, `product.parent`.`tag_ids` as `product.tagIds.inherited`, COALESCE(`product`.`tag_ids`, `product.parent`.`tag_ids`) as `product.tagIds`, `product.parent`.`category_ids` as `product.categoryIds.inherited`, COALESCE(`product`.`category_ids`, `product.parent`.`category_ids`) as `product.categoryIds`, `product`.`child_count` as `product.childCount`, COALESCE(`product`.`custom_field_set_selection_active`, `product.parent`.`custom_field_set_selection_active`) as `product.customFieldSetSelectionActive`, `product`.`sales` as `product.sales`, `product`.`states` as `product.states`, `product.tax`.`id` as `product.tax.id`, `product.tax`.`tax_rate` as `product.tax.taxRate`, `product.tax`.`name` as `product.tax.name`, `product.tax`.`position` as `product.tax.position`, `product.tax`.`custom_fields` as `product.tax.customFields`, `product.tax`.`created_at` as `product.tax.createdAt`, `product.tax`.`updated_at` as `product.tax.updatedAt`, `product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`, COALESCE(`product`.`cheapest_price`, `product.parent`.`cheapest_price`) as `product.cheapestPrice`, `product`.`created_at` as `product.createdAt`, `product`.`updated_at` as `product.updatedAt`, `product.unit`.`id` as `product.unit.id`, `product.unit`.`created_at` as `product.unit.createdAt`, `product.unit`.`updated_at` as `product.unit.updatedAt`, `product.unit.translation.shortCode`, COALESCE(`product.unit.translation.shortCode`,`product.unit.translation.shortCode`) as `product.unit.shortCode`, `product.unit.translation.name`, COALESCE(`product.unit.translation.name`,`product.unit.translation.name`) as `product.unit.name`, `product.unit.translation.customFields`, COALESCE(`product.unit.translation.customFields`,`product.unit.translation.customFields`) as `product.unit.customFields`, `product.unit.translation.createdAt`, `product.unit.translation.updatedAt`, `product.unit.translation.unitId`, `product.unit.translation.languageId`, `product.deliveryTime`.`id` as `product.deliveryTime.id`, `product.deliveryTime`.`min` as `product.deliveryTime.min`, `product.deliveryTime`.`max` as `product.deliveryTime.max`, `product.deliveryTime`.`unit` as `product.deliveryTime.unit`, `product.deliveryTime`.`created_at` as `product.deliveryTime.createdAt`, `product.deliveryTime`.`updated_at` as `product.deliveryTime.updatedAt`, `product.deliveryTime.translation.name`, COALESCE(`product.deliveryTime.translation.name`,`product.deliveryTime.translation.name`) as `product.deliveryTime.name`, `product.deliveryTime.translation.customFields`, COALESCE(`product.deliveryTime.translation.customFields`,`product.deliveryTime.translation.customFields`) as `product.deliveryTime.customFields`, `product.deliveryTime.translation.createdAt`, `product.deliveryTime.translation.updatedAt`, `product.deliveryTime.translation.deliveryTimeId`, `product.deliveryTime.translation.languageId`, `product.cover`.`id` as `product.cover.id`, `product.cover`.`version_id` as `product.cover.versionId`, `product.cover`.`product_id` as `product.cover.productId`, `product.cover`.`product_version_id` as `product.cover.productVersionId`, `product.cover`.`media_id` as `product.cover.mediaId`, `product.cover`.`position` as `product.cover.position`, `product.cover.media`.`id` as `product.cover.media.id`, `product.cover.media`.`user_id` as `product.cover.media.userId`, `product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`, `product.cover.media`.`mime_type` as `product.cover.media.mimeType`, `product.cover.media`.`file_extension` as `product.cover.media.fileExtension`, `product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`, `product.cover.media`.`file_name` as `product.cover.media.fileName`, `product.cover.media`.`file_size` as `product.cover.media.fileSize`, `product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`, `product.cover.media`.`meta_data` as `product.cover.media.metaData`, `product.cover.media`.`private` as `product.cover.media.private`, `product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`, `product.cover.media`.`created_at` as `product.cover.media.createdAt`, `product.cover.media`.`updated_at` as `product.cover.media.updatedAt`, `product.cover.media.translation.title`, COALESCE(`product.cover.media.translation.title`,`product.cover.media.translation.title`) as `product.cover.media.title`, `product.cover.media.translation.alt`, COALESCE(`product.cover.media.translation.alt`,`product.cover.media.translation.alt`) as `product.cover.media.alt`, `product.cover.media.translation.customFields`, COALESCE(`product.cover.media.translation.customFields`,`product.cover.media.translation.customFields`) as `product.cover.media.customFields`, `product.cover.media.translation.createdAt`, `product.cover.media.translation.updatedAt`, `product.cover.media.translation.mediaId`, `product.cover.media.translation.languageId`, `product.cover`.`custom_fields` as `product.cover.customFields`, `product.cover`.`created_at` as `product.cover.createdAt`, `product.cover`.`updated_at` as `product.cover.updatedAt`, `product.translation.metaDescription`, `product.parent.translation.metaDescription`, COALESCE(`product.translation.metaDescription`,`product.parent.translation.metaDescription`,`product.translation.metaDescription`) as `product.metaDescription`, `product.translation.name`, `product.parent.translation.name`, COALESCE(`product.translation.name`,`product.parent.translation.name`,`product.translation.name`) as `product.name`, `product.translation.keywords`, `product.parent.translation.keywords`, COALESCE(`product.translation.keywords`,`product.parent.translation.keywords`,`product.translation.keywords`) as `product.keywords`, `product.translation.description`, `product.parent.translation.description`, COALESCE(`product.translation.description`,`product.parent.translation.description`,`product.translation.description`) as `product.description`, `product.translation.metaTitle`, `product.parent.translation.metaTitle`, COALESCE(`product.translation.metaTitle`,`product.parent.translation.metaTitle`,`product.translation.metaTitle`) as `product.metaTitle`, `product.translation.packUnit`, `product.parent.translation.packUnit`, COALESCE(`product.translation.packUnit`,`product.parent.translation.packUnit`,`product.translation.packUnit`) as `product.packUnit`, `product.translation.packUnitPlural`, `product.parent.translation.packUnitPlural`, COALESCE(`product.translation.packUnitPlural`,`product.parent.translation.packUnitPlural`,`product.translation.packUnitPlural`) as `product.packUnitPlural`, `product.translation.customSearchKeywords`, `product.parent.translation.customSearchKeywords`, COALESCE(`product.translation.customSearchKeywords`,`product.parent.translation.customSearchKeywords`,`product.translation.customSearchKeywords`) as `product.customSearchKeywords`, `product.translation.slotConfig`, `product.parent.translation.slotConfig`, COALESCE(`product.translation.slotConfig`,`product.parent.translation.slotConfig`,`product.translation.slotConfig`) as `product.slotConfig`, `product.translation.customFields`, `product.parent.translation.customFields`, COALESCE(`product.translation.customFields`,`product.parent.translation.customFields`,`product.translation.customFields`) as `product.customFields`, `product.translation.createdAt`, `product.parent.translation.createdAt`, `product.translation.updatedAt`, `product.parent.translation.updatedAt`, `product.translation.productId`, `product.parent.translation.productId`, `product.translation.languageId`, `product.parent.translation.languageId`, `product.translation.productVersionId`, `product.parent.translation.productVersionId` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN (SELECT `product.translation`.product_id, `product.translation`.product_version_id, `product.translation`.meta_description as `product.translation.metaDescription`, `product.translation`.name as `product.translation.name`, `product.translation`.keywords as `product.translation.keywords`, `product.translation`.description as `product.translation.description`, `product.translation`.meta_title as `product.translation.metaTitle`, `product.translation`.pack_unit as `product.translation.packUnit`, `product.translation`.pack_unit_plural as `product.translation.packUnitPlural`, `product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`, `product.translation`.slot_config as `product.translation.slotConfig`, `product.translation`.custom_fields as `product.translation.customFields`, `product.translation`.created_at as `product.translation.createdAt`, `product.translation`.updated_at as `product.translation.updatedAt`, `product.translation`.product_id as `product.translation.productId`, `product.translation`.language_id as `product.translation.languageId`, `product.translation`.product_version_id as `product.translation.productVersionId` FROM `product_translation` `product.translation` WHERE `product.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id` AND `product.product_translation`.product_version_id = `product`.version_id LEFT JOIN (SELECT `product.parent.translation`.product_id, `product.parent.translation`.product_version_id, `product.parent.translation`.meta_description as `product.parent.translation.metaDescription`, `product.parent.translation`.name as `product.parent.translation.name`, `product.parent.translation`.keywords as `product.parent.translation.keywords`, `product.parent.translation`.description as `product.parent.translation.description`, `product.parent.translation`.meta_title as `product.parent.translation.metaTitle`, `product.parent.translation`.pack_unit as `product.parent.translation.packUnit`, `product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`, `product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`, `product.parent.translation`.slot_config as `product.parent.translation.slotConfig`, `product.parent.translation`.custom_fields as `product.parent.translation.customFields`, `product.parent.translation`.created_at as `product.parent.translation.createdAt`, `product.parent.translation`.updated_at as `product.parent.translation.updatedAt`, `product.parent.translation`.product_id as `product.parent.translation.productId`, `product.parent.translation`.language_id as `product.parent.translation.languageId`, `product.parent.translation`.product_version_id as `product.parent.translation.productVersionId` FROM `product_translation` `product.parent.translation` WHERE `product.parent.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id` AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id` LEFT JOIN `unit` `product.unit` ON `product`.`unit` = `product.unit`.`id` LEFT JOIN `delivery_time` `product.deliveryTime` ON `product`.`deliveryTime` = `product.deliveryTime`.`id` LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id` AND `product`.`version_id` = `product.cover`.`version_id` LEFT JOIN (SELECT `product.unit.translation`.unit_id, `product.unit.translation`.short_code as `product.unit.translation.shortCode`, `product.unit.translation`.name as `product.unit.translation.name`, `product.unit.translation`.custom_fields as `product.unit.translation.customFields`, `product.unit.translation`.created_at as `product.unit.translation.createdAt`, `product.unit.translation`.updated_at as `product.unit.translation.updatedAt`, `product.unit.translation`.unit_id as `product.unit.translation.unitId`, `product.unit.translation`.language_id as `product.unit.translation.languageId` FROM `unit_translation` `product.unit.translation` WHERE `product.unit.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.unit.unit_translation` ON `product.unit.unit_translation`.`unit_id` = `product.unit`.`id` LEFT JOIN (SELECT `product.deliveryTime.translation`.delivery_time_id, `product.deliveryTime.translation`.name as `product.deliveryTime.translation.name`, `product.deliveryTime.translation`.custom_fields as `product.deliveryTime.translation.customFields`, `product.deliveryTime.translation`.created_at as `product.deliveryTime.translation.createdAt`, `product.deliveryTime.translation`.updated_at as `product.deliveryTime.translation.updatedAt`, `product.deliveryTime.translation`.delivery_time_id as `product.deliveryTime.translation.deliveryTimeId`, `product.deliveryTime.translation`.language_id as `product.deliveryTime.translation.languageId` FROM `delivery_time_translation` `product.deliveryTime.translation` WHERE `product.deliveryTime.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.deliveryTime.delivery_time_translation` ON `product.deliveryTime.delivery_time_translation`.`delivery_time_id` = `product.deliveryTime`.`id` LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id` LEFT JOIN (SELECT `product.cover.media.translation`.media_id, `product.cover.media.translation`.title as `product.cover.media.translation.title`, `product.cover.media.translation`.alt as `product.cover.media.translation.alt`, `product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`, `product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`, `product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`, `product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`, `product.cover.media.translation`.language_id as `product.cover.media.translation.languageId` FROM `media_translation` `product.cover.media.translation` WHERE `product.cover.media.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id` WHERE (`product`.`version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425) AND (`product`.`id` IN (0x2EE9CBF22438490C941D8FB58E754063));
array:37 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 242)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 316)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetch (line 148)"
4 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 93)"
5 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::read (line 195)"
6 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::read (line 133)"
7 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 36)"
8 => "Swag\PayPal\Util\Compatibility\SalesChannelRepositoryDecorator::search (line 207)"
9 => "Tds\MerwareDiscounts\Cart\Checkout\OverwrittenPriceCollector::getSalesChannelProduct (line 93)"
10 => "Tds\MerwareDiscounts\Cart\Checkout\OverwrittenPriceCollector::collect (line 103)"
11 => "Shopware\Core\Checkout\Cart\Processor::runProcessors (line 67)"
12 => "Shopware\Core\Checkout\Cart\Processor::Shopware\Core\Checkout\Cart\{closure} (line 59)"
13 => "Shopware\Core\Profiling\Profiler::trace (line 86)"
14 => "Shopware\Core\Checkout\Cart\Processor::process (line 132)"
15 => "Shopware\Core\Checkout\Cart\CartRuleLoader::Shopware\Core\Checkout\Cart\{closure} (line 59)"
16 => "Shopware\Core\Profiling\Profiler::trace (line 183)"
17 => "Shopware\Core\Checkout\Cart\CartRuleLoader::load (line 83)"
18 => "Shopware\Core\Checkout\Cart\CartRuleLoader::loadByToken (line 106)"
19 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::Shopware\Core\System\SalesChannel\Context\{closure} (line 59)"
20 => "Shopware\Core\Profiling\Profiler::trace (line 111)"
21 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::get (line 105)"
22 => "Shopware\Core\Framework\Routing\SalesChannelRequestContextResolver::resolve (line 38)"
23 => "Shopware\Core\Framework\Routing\ContextResolverListener::resolveContext (line 118)"
24 => "Symfony\Component\EventDispatcher\Debug\WrappedListener::__invoke (line 230)"
25 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
26 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
27 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
28 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
29 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
30 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
31 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 151)"
32 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
33 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
34 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
35 => "Shopware\Core\HttpKernel::doHandle (line 81)"
36 => "Shopware\Core\HttpKernel::handle (line 85)"
]
|
120 |
0.71 ms |
SELECT `product_price`.`id` as `product_price.id`, `product_price`.`version_id` as `product_price.versionId`, `product_price`.`product_id` as `product_price.productId`, `product_price`.`product_version_id` as `product_price.productVersionId`, `product_price`.`rule_id` as `product_price.ruleId`, `product_price`.`price` as `product_price.price`, `product_price`.`quantity_start` as `product_price.quantityStart`, `product_price`.`quantity_end` as `product_price.quantityEnd`, `product_price`.`custom_fields` as `product_price.customFields`, `product_price`.`created_at` as `product_price.createdAt`, `product_price`.`updated_at` as `product_price.updatedAt` FROM `product_price` WHERE (`product_price`.`version_id` = :version) AND ((`product_price`.`product_id` IN (:param_e9e6b8979ccb445fb4117a07a5612704)))
SELECT `product_price`.`id` as `product_price.id`, `product_price`.`version_id` as `product_price.versionId`, `product_price`.`product_id` as `product_price.productId`, `product_price`.`product_version_id` as `product_price.productVersionId`, `product_price`.`rule_id` as `product_price.ruleId`, `product_price`.`price` as `product_price.price`, `product_price`.`quantity_start` as `product_price.quantityStart`, `product_price`.`quantity_end` as `product_price.quantityEnd`, `product_price`.`custom_fields` as `product_price.customFields`, `product_price`.`created_at` as `product_price.createdAt`, `product_price`.`updated_at` as `product_price.updatedAt` FROM `product_price` WHERE (`product_price`.`version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425) AND ((`product_price`.`product_id` IN (0x2EE9CBF22438490C941D8FB58E754063, 0xF9F9B3DE5FD1486BB34FAE31A720D7CF)));
array:41 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 242)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 316)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetch (line 148)"
4 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 503)"
5 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::loadOneToManyWithoutPagination (line 438)"
6 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::loadOneToMany (line 1210)"
7 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetchAssociations (line 152)"
8 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 93)"
9 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::read (line 195)"
10 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::read (line 133)"
11 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 36)"
12 => "Swag\PayPal\Util\Compatibility\SalesChannelRepositoryDecorator::search (line 207)"
13 => "Tds\MerwareDiscounts\Cart\Checkout\OverwrittenPriceCollector::getSalesChannelProduct (line 93)"
14 => "Tds\MerwareDiscounts\Cart\Checkout\OverwrittenPriceCollector::collect (line 103)"
15 => "Shopware\Core\Checkout\Cart\Processor::runProcessors (line 67)"
16 => "Shopware\Core\Checkout\Cart\Processor::Shopware\Core\Checkout\Cart\{closure} (line 59)"
17 => "Shopware\Core\Profiling\Profiler::trace (line 86)"
18 => "Shopware\Core\Checkout\Cart\Processor::process (line 132)"
19 => "Shopware\Core\Checkout\Cart\CartRuleLoader::Shopware\Core\Checkout\Cart\{closure} (line 59)"
20 => "Shopware\Core\Profiling\Profiler::trace (line 183)"
21 => "Shopware\Core\Checkout\Cart\CartRuleLoader::load (line 83)"
22 => "Shopware\Core\Checkout\Cart\CartRuleLoader::loadByToken (line 106)"
23 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::Shopware\Core\System\SalesChannel\Context\{closure} (line 59)"
24 => "Shopware\Core\Profiling\Profiler::trace (line 111)"
25 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::get (line 105)"
26 => "Shopware\Core\Framework\Routing\SalesChannelRequestContextResolver::resolve (line 38)"
27 => "Shopware\Core\Framework\Routing\ContextResolverListener::resolveContext (line 118)"
28 => "Symfony\Component\EventDispatcher\Debug\WrappedListener::__invoke (line 230)"
29 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
30 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
31 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
32 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
33 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
34 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
35 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 151)"
36 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
37 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
38 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
39 => "Shopware\Core\HttpKernel::doHandle (line 81)"
40 => "Shopware\Core\HttpKernel::handle (line 85)"
]
|
121 |
0.87 ms |
SELECT `product`.`id`, `product`.`product_number`, `product`.`auto_increment` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN `product_visibility` `product.visibilities` ON `product`.`visibilities` = `product.visibilities`.`product_id` AND `product`.version_id = `product.visibilities`.product_version_id WHERE (`product`.`version_id` = :version) AND ((((`product.visibilities`.`visibility` >= :param_6a1824507530465ebdd51d701f85f72e) AND `product.visibilities`.`sales_channel_id` = :param_6c8b6b8cd6d24aa1b69815093cdbd63b AND IFNULL(`product`.`active`, `product.parent`.`active`) = :param_09d4905f767d4286b65d541176e23663))) AND (`product`.`id` IN (:ids)) GROUP BY `product`.`id`
SELECT `product`.`id`, `product`.`product_number`, `product`.`auto_increment` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN `product_visibility` `product.visibilities` ON `product`.`visibilities` = `product.visibilities`.`product_id` AND `product`.version_id = `product.visibilities`.product_version_id WHERE (`product`.`version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425) AND ((((`product.visibilities`.`visibility` >= 10) AND `product.visibilities`.`sales_channel_id` = 0x4EB9108BE4654CC9B140D14DE85579E9 AND IFNULL(`product`.`active`, `product.parent`.`active`) = 1))) AND (`product`.`id` IN (0xF3BAFEA4602B4D9D8C9C7C37C9555813)) GROUP BY `product`.`id`;
array:36 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 242)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 107)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntitySearcher::search (line 62)"
4 => "Shopware\Elasticsearch\Framework\DataAbstractionLayer\ElasticsearchEntitySearcher::search (line 216)"
5 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::doSearch (line 122)"
6 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 36)"
7 => "Swag\PayPal\Util\Compatibility\SalesChannelRepositoryDecorator::search (line 207)"
8 => "Tds\MerwareDiscounts\Cart\Checkout\OverwrittenPriceCollector::getSalesChannelProduct (line 93)"
9 => "Tds\MerwareDiscounts\Cart\Checkout\OverwrittenPriceCollector::collect (line 103)"
10 => "Shopware\Core\Checkout\Cart\Processor::runProcessors (line 67)"
11 => "Shopware\Core\Checkout\Cart\Processor::Shopware\Core\Checkout\Cart\{closure} (line 59)"
12 => "Shopware\Core\Profiling\Profiler::trace (line 86)"
13 => "Shopware\Core\Checkout\Cart\Processor::process (line 132)"
14 => "Shopware\Core\Checkout\Cart\CartRuleLoader::Shopware\Core\Checkout\Cart\{closure} (line 59)"
15 => "Shopware\Core\Profiling\Profiler::trace (line 183)"
16 => "Shopware\Core\Checkout\Cart\CartRuleLoader::load (line 83)"
17 => "Shopware\Core\Checkout\Cart\CartRuleLoader::loadByToken (line 106)"
18 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::Shopware\Core\System\SalesChannel\Context\{closure} (line 59)"
19 => "Shopware\Core\Profiling\Profiler::trace (line 111)"
20 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::get (line 105)"
21 => "Shopware\Core\Framework\Routing\SalesChannelRequestContextResolver::resolve (line 38)"
22 => "Shopware\Core\Framework\Routing\ContextResolverListener::resolveContext (line 118)"
23 => "Symfony\Component\EventDispatcher\Debug\WrappedListener::__invoke (line 230)"
24 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
25 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
26 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
27 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
28 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
29 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
30 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 151)"
31 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
32 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
33 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
34 => "Shopware\Core\HttpKernel::doHandle (line 81)"
35 => "Shopware\Core\HttpKernel::handle (line 85)"
]
|
122 |
13.16 ms |
SELECT `product`.`id` as `product.id`, `product`.`version_id` as `product.versionId`, `product`.`parent_id` as `product.parentId`, `product`.`parent_version_id` as `product.parentVersionId`, COALESCE(`product`.`product_manufacturer_id`, `product.parent`.`product_manufacturer_id`) as `product.manufacturerId`, COALESCE(`product`.`product_manufacturer_version_id`, `product.parent`.`product_manufacturer_version_id`) as `product.productManufacturerVersionId`, COALESCE(`product`.`unit_id`, `product.parent`.`unit_id`) as `product.unitId`, COALESCE(`product`.`tax_id`, `product.parent`.`tax_id`) as `product.taxId`, COALESCE(`product`.`product_media_id`, `product.parent`.`product_media_id`) as `product.coverId`, COALESCE(`product`.`product_media_version_id`, `product.parent`.`product_media_version_id`) as `product.productMediaVersionId`, COALESCE(`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`) as `product.deliveryTimeId`, COALESCE(`product`.`product_feature_set_id`, `product.parent`.`product_feature_set_id`) as `product.featureSetId`, COALESCE(`product`.`canonical_product_id`, `product.parent`.`canonical_product_id`) as `product.canonicalProductId`, COALESCE(`product`.`cms_page_id`, `product.parent`.`cms_page_id`) as `product.cmsPageId`, COALESCE(`product`.`cms_page_version_id`, `product.parent`.`cms_page_version_id`) as `product.cmsPageVersionId`, `product.parent`.`price` as `product.price.inherited`, COALESCE(`product`.`price`, `product.parent`.`price`) as `product.price`, `product`.`product_number` as `product.productNumber`, `product`.`stock` as `product.stock`, COALESCE(`product`.`restock_time`, `product.parent`.`restock_time`) as `product.restockTime`, `product`.`auto_increment` as `product.autoIncrement`, COALESCE(`product`.`active`, `product.parent`.`active`) as `product.active`, `product`.`available_stock` as `product.availableStock`, `product`.`available` as `product.available`, COALESCE(`product`.`is_closeout`, `product.parent`.`is_closeout`) as `product.isCloseout`, `product`.`display_group` as `product.displayGroup`, `product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`, COALESCE(`product`.`configurator_group_config`, `product.parent`.`configurator_group_config`) as `product.configuratorGroupConfig`, COALESCE(`product`.`main_variant_id`, `product.parent`.`main_variant_id`) as `product.mainVariantId`, COALESCE(`product`.`display_parent`, `product.parent`.`display_parent`) as `product.displayParent`, `product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`, COALESCE(`product`.`variant_listing_config`, `product.parent`.`variant_listing_config`) as `product.variantListingConfig`, `product`.`variant_restrictions` as `product.variantRestrictions`, COALESCE(`product`.`manufacturer_number`, `product.parent`.`manufacturer_number`) as `product.manufacturerNumber`, COALESCE(`product`.`ean`, `product.parent`.`ean`) as `product.ean`, COALESCE(`product`.`purchase_steps`, `product.parent`.`purchase_steps`) as `product.purchaseSteps`, COALESCE(`product`.`max_purchase`, `product.parent`.`max_purchase`) as `product.maxPurchase`, COALESCE(`product`.`min_purchase`, `product.parent`.`min_purchase`) as `product.minPurchase`, COALESCE(`product`.`purchase_unit`, `product.parent`.`purchase_unit`) as `product.purchaseUnit`, COALESCE(`product`.`reference_unit`, `product.parent`.`reference_unit`) as `product.referenceUnit`, COALESCE(`product`.`shipping_free`, `product.parent`.`shipping_free`) as `product.shippingFree`, `product.parent`.`purchase_prices` as `product.purchasePrices.inherited`, COALESCE(`product`.`purchase_prices`, `product.parent`.`purchase_prices`) as `product.purchasePrices`, COALESCE(`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`) as `product.markAsTopseller`, COALESCE(`product`.`weight`, `product.parent`.`weight`) as `product.weight`, COALESCE(`product`.`width`, `product.parent`.`width`) as `product.width`, COALESCE(`product`.`height`, `product.parent`.`height`) as `product.height`, COALESCE(`product`.`length`, `product.parent`.`length`) as `product.length`, COALESCE(`product`.`release_date`, `product.parent`.`release_date`) as `product.releaseDate`, COALESCE(`product`.`rating_average`, `product.parent`.`rating_average`) as `product.ratingAverage`, `product.parent`.`category_tree` as `product.categoryTree.inherited`, COALESCE(`product`.`category_tree`, `product.parent`.`category_tree`) as `product.categoryTree`, `product.parent`.`property_ids` as `product.propertyIds.inherited`, COALESCE(`product`.`property_ids`, `product.parent`.`property_ids`) as `product.propertyIds`, `product.parent`.`option_ids` as `product.optionIds.inherited`, COALESCE(`product`.`option_ids`, `product.parent`.`option_ids`) as `product.optionIds`, `product.parent`.`stream_ids` as `product.streamIds.inherited`, COALESCE(`product`.`stream_ids`, `product.parent`.`stream_ids`) as `product.streamIds`, `product.parent`.`tag_ids` as `product.tagIds.inherited`, COALESCE(`product`.`tag_ids`, `product.parent`.`tag_ids`) as `product.tagIds`, `product.parent`.`category_ids` as `product.categoryIds.inherited`, COALESCE(`product`.`category_ids`, `product.parent`.`category_ids`) as `product.categoryIds`, `product`.`child_count` as `product.childCount`, COALESCE(`product`.`custom_field_set_selection_active`, `product.parent`.`custom_field_set_selection_active`) as `product.customFieldSetSelectionActive`, `product`.`sales` as `product.sales`, `product`.`states` as `product.states`, `product.tax`.`id` as `product.tax.id`, `product.tax`.`tax_rate` as `product.tax.taxRate`, `product.tax`.`name` as `product.tax.name`, `product.tax`.`position` as `product.tax.position`, `product.tax`.`custom_fields` as `product.tax.customFields`, `product.tax`.`created_at` as `product.tax.createdAt`, `product.tax`.`updated_at` as `product.tax.updatedAt`, `product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`, COALESCE(`product`.`cheapest_price`, `product.parent`.`cheapest_price`) as `product.cheapestPrice`, `product`.`created_at` as `product.createdAt`, `product`.`updated_at` as `product.updatedAt`, `product.unit`.`id` as `product.unit.id`, `product.unit`.`created_at` as `product.unit.createdAt`, `product.unit`.`updated_at` as `product.unit.updatedAt`, `product.unit.translation.shortCode`, COALESCE(`product.unit.translation.shortCode`,`product.unit.translation.shortCode`) as `product.unit.shortCode`, `product.unit.translation.name`, COALESCE(`product.unit.translation.name`,`product.unit.translation.name`) as `product.unit.name`, `product.unit.translation.customFields`, COALESCE(`product.unit.translation.customFields`,`product.unit.translation.customFields`) as `product.unit.customFields`, `product.unit.translation.createdAt`, `product.unit.translation.updatedAt`, `product.unit.translation.unitId`, `product.unit.translation.languageId`, `product.deliveryTime`.`id` as `product.deliveryTime.id`, `product.deliveryTime`.`min` as `product.deliveryTime.min`, `product.deliveryTime`.`max` as `product.deliveryTime.max`, `product.deliveryTime`.`unit` as `product.deliveryTime.unit`, `product.deliveryTime`.`created_at` as `product.deliveryTime.createdAt`, `product.deliveryTime`.`updated_at` as `product.deliveryTime.updatedAt`, `product.deliveryTime.translation.name`, COALESCE(`product.deliveryTime.translation.name`,`product.deliveryTime.translation.name`) as `product.deliveryTime.name`, `product.deliveryTime.translation.customFields`, COALESCE(`product.deliveryTime.translation.customFields`,`product.deliveryTime.translation.customFields`) as `product.deliveryTime.customFields`, `product.deliveryTime.translation.createdAt`, `product.deliveryTime.translation.updatedAt`, `product.deliveryTime.translation.deliveryTimeId`, `product.deliveryTime.translation.languageId`, `product.cover`.`id` as `product.cover.id`, `product.cover`.`version_id` as `product.cover.versionId`, `product.cover`.`product_id` as `product.cover.productId`, `product.cover`.`product_version_id` as `product.cover.productVersionId`, `product.cover`.`media_id` as `product.cover.mediaId`, `product.cover`.`position` as `product.cover.position`, `product.cover.media`.`id` as `product.cover.media.id`, `product.cover.media`.`user_id` as `product.cover.media.userId`, `product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`, `product.cover.media`.`mime_type` as `product.cover.media.mimeType`, `product.cover.media`.`file_extension` as `product.cover.media.fileExtension`, `product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`, `product.cover.media`.`file_name` as `product.cover.media.fileName`, `product.cover.media`.`file_size` as `product.cover.media.fileSize`, `product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`, `product.cover.media`.`meta_data` as `product.cover.media.metaData`, `product.cover.media`.`private` as `product.cover.media.private`, `product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`, `product.cover.media`.`created_at` as `product.cover.media.createdAt`, `product.cover.media`.`updated_at` as `product.cover.media.updatedAt`, `product.cover.media.translation.title`, COALESCE(`product.cover.media.translation.title`,`product.cover.media.translation.title`) as `product.cover.media.title`, `product.cover.media.translation.alt`, COALESCE(`product.cover.media.translation.alt`,`product.cover.media.translation.alt`) as `product.cover.media.alt`, `product.cover.media.translation.customFields`, COALESCE(`product.cover.media.translation.customFields`,`product.cover.media.translation.customFields`) as `product.cover.media.customFields`, `product.cover.media.translation.createdAt`, `product.cover.media.translation.updatedAt`, `product.cover.media.translation.mediaId`, `product.cover.media.translation.languageId`, `product.cover`.`custom_fields` as `product.cover.customFields`, `product.cover`.`created_at` as `product.cover.createdAt`, `product.cover`.`updated_at` as `product.cover.updatedAt`, `product.translation.metaDescription`, `product.parent.translation.metaDescription`, COALESCE(`product.translation.metaDescription`,`product.parent.translation.metaDescription`,`product.translation.metaDescription`) as `product.metaDescription`, `product.translation.name`, `product.parent.translation.name`, COALESCE(`product.translation.name`,`product.parent.translation.name`,`product.translation.name`) as `product.name`, `product.translation.keywords`, `product.parent.translation.keywords`, COALESCE(`product.translation.keywords`,`product.parent.translation.keywords`,`product.translation.keywords`) as `product.keywords`, `product.translation.description`, `product.parent.translation.description`, COALESCE(`product.translation.description`,`product.parent.translation.description`,`product.translation.description`) as `product.description`, `product.translation.metaTitle`, `product.parent.translation.metaTitle`, COALESCE(`product.translation.metaTitle`,`product.parent.translation.metaTitle`,`product.translation.metaTitle`) as `product.metaTitle`, `product.translation.packUnit`, `product.parent.translation.packUnit`, COALESCE(`product.translation.packUnit`,`product.parent.translation.packUnit`,`product.translation.packUnit`) as `product.packUnit`, `product.translation.packUnitPlural`, `product.parent.translation.packUnitPlural`, COALESCE(`product.translation.packUnitPlural`,`product.parent.translation.packUnitPlural`,`product.translation.packUnitPlural`) as `product.packUnitPlural`, `product.translation.customSearchKeywords`, `product.parent.translation.customSearchKeywords`, COALESCE(`product.translation.customSearchKeywords`,`product.parent.translation.customSearchKeywords`,`product.translation.customSearchKeywords`) as `product.customSearchKeywords`, `product.translation.slotConfig`, `product.parent.translation.slotConfig`, COALESCE(`product.translation.slotConfig`,`product.parent.translation.slotConfig`,`product.translation.slotConfig`) as `product.slotConfig`, `product.translation.customFields`, `product.parent.translation.customFields`, COALESCE(`product.translation.customFields`,`product.parent.translation.customFields`,`product.translation.customFields`) as `product.customFields`, `product.translation.createdAt`, `product.parent.translation.createdAt`, `product.translation.updatedAt`, `product.parent.translation.updatedAt`, `product.translation.productId`, `product.parent.translation.productId`, `product.translation.languageId`, `product.parent.translation.languageId`, `product.translation.productVersionId`, `product.parent.translation.productVersionId` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN (SELECT `product.translation`.product_id, `product.translation`.product_version_id, `product.translation`.meta_description as `product.translation.metaDescription`, `product.translation`.name as `product.translation.name`, `product.translation`.keywords as `product.translation.keywords`, `product.translation`.description as `product.translation.description`, `product.translation`.meta_title as `product.translation.metaTitle`, `product.translation`.pack_unit as `product.translation.packUnit`, `product.translation`.pack_unit_plural as `product.translation.packUnitPlural`, `product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`, `product.translation`.slot_config as `product.translation.slotConfig`, `product.translation`.custom_fields as `product.translation.customFields`, `product.translation`.created_at as `product.translation.createdAt`, `product.translation`.updated_at as `product.translation.updatedAt`, `product.translation`.product_id as `product.translation.productId`, `product.translation`.language_id as `product.translation.languageId`, `product.translation`.product_version_id as `product.translation.productVersionId` FROM `product_translation` `product.translation` WHERE `product.translation`.language_id = :languageId) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id` AND `product.product_translation`.product_version_id = `product`.version_id LEFT JOIN (SELECT `product.parent.translation`.product_id, `product.parent.translation`.product_version_id, `product.parent.translation`.meta_description as `product.parent.translation.metaDescription`, `product.parent.translation`.name as `product.parent.translation.name`, `product.parent.translation`.keywords as `product.parent.translation.keywords`, `product.parent.translation`.description as `product.parent.translation.description`, `product.parent.translation`.meta_title as `product.parent.translation.metaTitle`, `product.parent.translation`.pack_unit as `product.parent.translation.packUnit`, `product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`, `product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`, `product.parent.translation`.slot_config as `product.parent.translation.slotConfig`, `product.parent.translation`.custom_fields as `product.parent.translation.customFields`, `product.parent.translation`.created_at as `product.parent.translation.createdAt`, `product.parent.translation`.updated_at as `product.parent.translation.updatedAt`, `product.parent.translation`.product_id as `product.parent.translation.productId`, `product.parent.translation`.language_id as `product.parent.translation.languageId`, `product.parent.translation`.product_version_id as `product.parent.translation.productVersionId` FROM `product_translation` `product.parent.translation` WHERE `product.parent.translation`.language_id = :languageId) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id` AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id` LEFT JOIN `unit` `product.unit` ON `product`.`unit` = `product.unit`.`id` LEFT JOIN `delivery_time` `product.deliveryTime` ON `product`.`deliveryTime` = `product.deliveryTime`.`id` LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id` AND `product`.`version_id` = `product.cover`.`version_id` LEFT JOIN (SELECT `product.unit.translation`.unit_id, `product.unit.translation`.short_code as `product.unit.translation.shortCode`, `product.unit.translation`.name as `product.unit.translation.name`, `product.unit.translation`.custom_fields as `product.unit.translation.customFields`, `product.unit.translation`.created_at as `product.unit.translation.createdAt`, `product.unit.translation`.updated_at as `product.unit.translation.updatedAt`, `product.unit.translation`.unit_id as `product.unit.translation.unitId`, `product.unit.translation`.language_id as `product.unit.translation.languageId` FROM `unit_translation` `product.unit.translation` WHERE `product.unit.translation`.language_id = :languageId) `product.unit.unit_translation` ON `product.unit.unit_translation`.`unit_id` = `product.unit`.`id` LEFT JOIN (SELECT `product.deliveryTime.translation`.delivery_time_id, `product.deliveryTime.translation`.name as `product.deliveryTime.translation.name`, `product.deliveryTime.translation`.custom_fields as `product.deliveryTime.translation.customFields`, `product.deliveryTime.translation`.created_at as `product.deliveryTime.translation.createdAt`, `product.deliveryTime.translation`.updated_at as `product.deliveryTime.translation.updatedAt`, `product.deliveryTime.translation`.delivery_time_id as `product.deliveryTime.translation.deliveryTimeId`, `product.deliveryTime.translation`.language_id as `product.deliveryTime.translation.languageId` FROM `delivery_time_translation` `product.deliveryTime.translation` WHERE `product.deliveryTime.translation`.language_id = :languageId) `product.deliveryTime.delivery_time_translation` ON `product.deliveryTime.delivery_time_translation`.`delivery_time_id` = `product.deliveryTime`.`id` LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id` LEFT JOIN (SELECT `product.cover.media.translation`.media_id, `product.cover.media.translation`.title as `product.cover.media.translation.title`, `product.cover.media.translation`.alt as `product.cover.media.translation.alt`, `product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`, `product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`, `product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`, `product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`, `product.cover.media.translation`.language_id as `product.cover.media.translation.languageId` FROM `media_translation` `product.cover.media.translation` WHERE `product.cover.media.translation`.language_id = :languageId) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id` WHERE (`product`.`version_id` = :version) AND (`product`.`id` IN (:ids))
SELECT
`product`.`id` as `product.id`,
`product`.`version_id` as `product.versionId`,
`product`.`parent_id` as `product.parentId`,
`product`.`parent_version_id` as `product.parentVersionId`,
COALESCE(
`product`.`product_manufacturer_id`,
`product.parent`.`product_manufacturer_id`
) as `product.manufacturerId`,
COALESCE(
`product`.`product_manufacturer_version_id`,
`product.parent`.`product_manufacturer_version_id`
) as `product.productManufacturerVersionId`,
COALESCE(
`product`.`unit_id`, `product.parent`.`unit_id`
) as `product.unitId`,
COALESCE(
`product`.`tax_id`, `product.parent`.`tax_id`
) as `product.taxId`,
COALESCE(
`product`.`product_media_id`, `product.parent`.`product_media_id`
) as `product.coverId`,
COALESCE(
`product`.`product_media_version_id`,
`product.parent`.`product_media_version_id`
) as `product.productMediaVersionId`,
COALESCE(
`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`
) as `product.deliveryTimeId`,
COALESCE(
`product`.`product_feature_set_id`,
`product.parent`.`product_feature_set_id`
) as `product.featureSetId`,
COALESCE(
`product`.`canonical_product_id`,
`product.parent`.`canonical_product_id`
) as `product.canonicalProductId`,
COALESCE(
`product`.`cms_page_id`, `product.parent`.`cms_page_id`
) as `product.cmsPageId`,
COALESCE(
`product`.`cms_page_version_id`,
`product.parent`.`cms_page_version_id`
) as `product.cmsPageVersionId`,
`product.parent`.`price` as `product.price.inherited`,
COALESCE(
`product`.`price`, `product.parent`.`price`
) as `product.price`,
`product`.`product_number` as `product.productNumber`,
`product`.`stock` as `product.stock`,
COALESCE(
`product`.`restock_time`, `product.parent`.`restock_time`
) as `product.restockTime`,
`product`.`auto_increment` as `product.autoIncrement`,
COALESCE(
`product`.`active`, `product.parent`.`active`
) as `product.active`,
`product`.`available_stock` as `product.availableStock`,
`product`.`available` as `product.available`,
COALESCE(
`product`.`is_closeout`, `product.parent`.`is_closeout`
) as `product.isCloseout`,
`product`.`display_group` as `product.displayGroup`,
`product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`,
COALESCE(
`product`.`configurator_group_config`,
`product.parent`.`configurator_group_config`
) as `product.configuratorGroupConfig`,
COALESCE(
`product`.`main_variant_id`, `product.parent`.`main_variant_id`
) as `product.mainVariantId`,
COALESCE(
`product`.`display_parent`, `product.parent`.`display_parent`
) as `product.displayParent`,
`product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`,
COALESCE(
`product`.`variant_listing_config`,
`product.parent`.`variant_listing_config`
) as `product.variantListingConfig`,
`product`.`variant_restrictions` as `product.variantRestrictions`,
COALESCE(
`product`.`manufacturer_number`,
`product.parent`.`manufacturer_number`
) as `product.manufacturerNumber`,
COALESCE(
`product`.`ean`, `product.parent`.`ean`
) as `product.ean`,
COALESCE(
`product`.`purchase_steps`, `product.parent`.`purchase_steps`
) as `product.purchaseSteps`,
COALESCE(
`product`.`max_purchase`, `product.parent`.`max_purchase`
) as `product.maxPurchase`,
COALESCE(
`product`.`min_purchase`, `product.parent`.`min_purchase`
) as `product.minPurchase`,
COALESCE(
`product`.`purchase_unit`, `product.parent`.`purchase_unit`
) as `product.purchaseUnit`,
COALESCE(
`product`.`reference_unit`, `product.parent`.`reference_unit`
) as `product.referenceUnit`,
COALESCE(
`product`.`shipping_free`, `product.parent`.`shipping_free`
) as `product.shippingFree`,
`product.parent`.`purchase_prices` as `product.purchasePrices.inherited`,
COALESCE(
`product`.`purchase_prices`, `product.parent`.`purchase_prices`
) as `product.purchasePrices`,
COALESCE(
`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`
) as `product.markAsTopseller`,
COALESCE(
`product`.`weight`, `product.parent`.`weight`
) as `product.weight`,
COALESCE(
`product`.`width`, `product.parent`.`width`
) as `product.width`,
COALESCE(
`product`.`height`, `product.parent`.`height`
) as `product.height`,
COALESCE(
`product`.`length`, `product.parent`.`length`
) as `product.length`,
COALESCE(
`product`.`release_date`, `product.parent`.`release_date`
) as `product.releaseDate`,
COALESCE(
`product`.`rating_average`, `product.parent`.`rating_average`
) as `product.ratingAverage`,
`product.parent`.`category_tree` as `product.categoryTree.inherited`,
COALESCE(
`product`.`category_tree`, `product.parent`.`category_tree`
) as `product.categoryTree`,
`product.parent`.`property_ids` as `product.propertyIds.inherited`,
COALESCE(
`product`.`property_ids`, `product.parent`.`property_ids`
) as `product.propertyIds`,
`product.parent`.`option_ids` as `product.optionIds.inherited`,
COALESCE(
`product`.`option_ids`, `product.parent`.`option_ids`
) as `product.optionIds`,
`product.parent`.`stream_ids` as `product.streamIds.inherited`,
COALESCE(
`product`.`stream_ids`, `product.parent`.`stream_ids`
) as `product.streamIds`,
`product.parent`.`tag_ids` as `product.tagIds.inherited`,
COALESCE(
`product`.`tag_ids`, `product.parent`.`tag_ids`
) as `product.tagIds`,
`product.parent`.`category_ids` as `product.categoryIds.inherited`,
COALESCE(
`product`.`category_ids`, `product.parent`.`category_ids`
) as `product.categoryIds`,
`product`.`child_count` as `product.childCount`,
COALESCE(
`product`.`custom_field_set_selection_active`,
`product.parent`.`custom_field_set_selection_active`
) as `product.customFieldSetSelectionActive`,
`product`.`sales` as `product.sales`,
`product`.`states` as `product.states`,
`product.tax`.`id` as `product.tax.id`,
`product.tax`.`tax_rate` as `product.tax.taxRate`,
`product.tax`.`name` as `product.tax.name`,
`product.tax`.`position` as `product.tax.position`,
`product.tax`.`custom_fields` as `product.tax.customFields`,
`product.tax`.`created_at` as `product.tax.createdAt`,
`product.tax`.`updated_at` as `product.tax.updatedAt`,
`product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`,
COALESCE(
`product`.`cheapest_price`, `product.parent`.`cheapest_price`
) as `product.cheapestPrice`,
`product`.`created_at` as `product.createdAt`,
`product`.`updated_at` as `product.updatedAt`,
`product.unit`.`id` as `product.unit.id`,
`product.unit`.`created_at` as `product.unit.createdAt`,
`product.unit`.`updated_at` as `product.unit.updatedAt`,
`product.unit.translation.shortCode`,
COALESCE(
`product.unit.translation.shortCode`,
`product.unit.translation.shortCode`
) as `product.unit.shortCode`,
`product.unit.translation.name`,
COALESCE(
`product.unit.translation.name`,
`product.unit.translation.name`
) as `product.unit.name`,
`product.unit.translation.customFields`,
COALESCE(
`product.unit.translation.customFields`,
`product.unit.translation.customFields`
) as `product.unit.customFields`,
`product.unit.translation.createdAt`,
`product.unit.translation.updatedAt`,
`product.unit.translation.unitId`,
`product.unit.translation.languageId`,
`product.deliveryTime`.`id` as `product.deliveryTime.id`,
`product.deliveryTime`.`min` as `product.deliveryTime.min`,
`product.deliveryTime`.`max` as `product.deliveryTime.max`,
`product.deliveryTime`.`unit` as `product.deliveryTime.unit`,
`product.deliveryTime`.`created_at` as `product.deliveryTime.createdAt`,
`product.deliveryTime`.`updated_at` as `product.deliveryTime.updatedAt`,
`product.deliveryTime.translation.name`,
COALESCE(
`product.deliveryTime.translation.name`,
`product.deliveryTime.translation.name`
) as `product.deliveryTime.name`,
`product.deliveryTime.translation.customFields`,
COALESCE(
`product.deliveryTime.translation.customFields`,
`product.deliveryTime.translation.customFields`
) as `product.deliveryTime.customFields`,
`product.deliveryTime.translation.createdAt`,
`product.deliveryTime.translation.updatedAt`,
`product.deliveryTime.translation.deliveryTimeId`,
`product.deliveryTime.translation.languageId`,
`product.cover`.`id` as `product.cover.id`,
`product.cover`.`version_id` as `product.cover.versionId`,
`product.cover`.`product_id` as `product.cover.productId`,
`product.cover`.`product_version_id` as `product.cover.productVersionId`,
`product.cover`.`media_id` as `product.cover.mediaId`,
`product.cover`.`position` as `product.cover.position`,
`product.cover.media`.`id` as `product.cover.media.id`,
`product.cover.media`.`user_id` as `product.cover.media.userId`,
`product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`,
`product.cover.media`.`mime_type` as `product.cover.media.mimeType`,
`product.cover.media`.`file_extension` as `product.cover.media.fileExtension`,
`product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`,
`product.cover.media`.`file_name` as `product.cover.media.fileName`,
`product.cover.media`.`file_size` as `product.cover.media.fileSize`,
`product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`,
`product.cover.media`.`meta_data` as `product.cover.media.metaData`,
`product.cover.media`.`private` as `product.cover.media.private`,
`product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`,
`product.cover.media`.`created_at` as `product.cover.media.createdAt`,
`product.cover.media`.`updated_at` as `product.cover.media.updatedAt`,
`product.cover.media.translation.title`,
COALESCE(
`product.cover.media.translation.title`,
`product.cover.media.translation.title`
) as `product.cover.media.title`,
`product.cover.media.translation.alt`,
COALESCE(
`product.cover.media.translation.alt`,
`product.cover.media.translation.alt`
) as `product.cover.media.alt`,
`product.cover.media.translation.customFields`,
COALESCE(
`product.cover.media.translation.customFields`,
`product.cover.media.translation.customFields`
) as `product.cover.media.customFields`,
`product.cover.media.translation.createdAt`,
`product.cover.media.translation.updatedAt`,
`product.cover.media.translation.mediaId`,
`product.cover.media.translation.languageId`,
`product.cover`.`custom_fields` as `product.cover.customFields`,
`product.cover`.`created_at` as `product.cover.createdAt`,
`product.cover`.`updated_at` as `product.cover.updatedAt`,
`product.translation.metaDescription`,
`product.parent.translation.metaDescription`,
COALESCE(
`product.translation.metaDescription`,
`product.parent.translation.metaDescription`,
`product.translation.metaDescription`
) as `product.metaDescription`,
`product.translation.name`,
`product.parent.translation.name`,
COALESCE(
`product.translation.name`, `product.parent.translation.name`,
`product.translation.name`
) as `product.name`,
`product.translation.keywords`,
`product.parent.translation.keywords`,
COALESCE(
`product.translation.keywords`,
`product.parent.translation.keywords`,
`product.translation.keywords`
) as `product.keywords`,
`product.translation.description`,
`product.parent.translation.description`,
COALESCE(
`product.translation.description`,
`product.parent.translation.description`,
`product.translation.description`
) as `product.description`,
`product.translation.metaTitle`,
`product.parent.translation.metaTitle`,
COALESCE(
`product.translation.metaTitle`,
`product.parent.translation.metaTitle`,
`product.translation.metaTitle`
) as `product.metaTitle`,
`product.translation.packUnit`,
`product.parent.translation.packUnit`,
COALESCE(
`product.translation.packUnit`,
`product.parent.translation.packUnit`,
`product.translation.packUnit`
) as `product.packUnit`,
`product.translation.packUnitPlural`,
`product.parent.translation.packUnitPlural`,
COALESCE(
`product.translation.packUnitPlural`,
`product.parent.translation.packUnitPlural`,
`product.translation.packUnitPlural`
) as `product.packUnitPlural`,
`product.translation.customSearchKeywords`,
`product.parent.translation.customSearchKeywords`,
COALESCE(
`product.translation.customSearchKeywords`,
`product.parent.translation.customSearchKeywords`,
`product.translation.customSearchKeywords`
) as `product.customSearchKeywords`,
`product.translation.slotConfig`,
`product.parent.translation.slotConfig`,
COALESCE(
`product.translation.slotConfig`,
`product.parent.translation.slotConfig`,
`product.translation.slotConfig`
) as `product.slotConfig`,
`product.translation.customFields`,
`product.parent.translation.customFields`,
COALESCE(
`product.translation.customFields`,
`product.parent.translation.customFields`,
`product.translation.customFields`
) as `product.customFields`,
`product.translation.createdAt`,
`product.parent.translation.createdAt`,
`product.translation.updatedAt`,
`product.parent.translation.updatedAt`,
`product.translation.productId`,
`product.parent.translation.productId`,
`product.translation.languageId`,
`product.parent.translation.languageId`,
`product.translation.productVersionId`,
`product.parent.translation.productVersionId`
FROM
`product`
LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id`
AND `product`.`version_id` = `product.parent`.`version_id`
LEFT JOIN (
SELECT
`product.translation`.product_id,
`product.translation`.product_version_id,
`product.translation`.meta_description as `product.translation.metaDescription`,
`product.translation`.name as `product.translation.name`,
`product.translation`.keywords as `product.translation.keywords`,
`product.translation`.description as `product.translation.description`,
`product.translation`.meta_title as `product.translation.metaTitle`,
`product.translation`.pack_unit as `product.translation.packUnit`,
`product.translation`.pack_unit_plural as `product.translation.packUnitPlural`,
`product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`,
`product.translation`.slot_config as `product.translation.slotConfig`,
`product.translation`.custom_fields as `product.translation.customFields`,
`product.translation`.created_at as `product.translation.createdAt`,
`product.translation`.updated_at as `product.translation.updatedAt`,
`product.translation`.product_id as `product.translation.productId`,
`product.translation`.language_id as `product.translation.languageId`,
`product.translation`.product_version_id as `product.translation.productVersionId`
FROM
`product_translation` `product.translation`
WHERE
`product.translation`.language_id = : languageId
) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id`
AND `product.product_translation`.product_version_id = `product`.version_id
LEFT JOIN (
SELECT
`product.parent.translation`.product_id,
`product.parent.translation`.product_version_id,
`product.parent.translation`.meta_description as `product.parent.translation.metaDescription`,
`product.parent.translation`.name as `product.parent.translation.name`,
`product.parent.translation`.keywords as `product.parent.translation.keywords`,
`product.parent.translation`.description as `product.parent.translation.description`,
`product.parent.translation`.meta_title as `product.parent.translation.metaTitle`,
`product.parent.translation`.pack_unit as `product.parent.translation.packUnit`,
`product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`,
`product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`,
`product.parent.translation`.slot_config as `product.parent.translation.slotConfig`,
`product.parent.translation`.custom_fields as `product.parent.translation.customFields`,
`product.parent.translation`.created_at as `product.parent.translation.createdAt`,
`product.parent.translation`.updated_at as `product.parent.translation.updatedAt`,
`product.parent.translation`.product_id as `product.parent.translation.productId`,
`product.parent.translation`.language_id as `product.parent.translation.languageId`,
`product.parent.translation`.product_version_id as `product.parent.translation.productVersionId`
FROM
`product_translation` `product.parent.translation`
WHERE
`product.parent.translation`.language_id = : languageId
) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id`
AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id
LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id`
LEFT JOIN `unit` `product.unit` ON `product`.`unit` = `product.unit`.`id`
LEFT JOIN `delivery_time` `product.deliveryTime` ON `product`.`deliveryTime` = `product.deliveryTime`.`id`
LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id`
AND `product`.`version_id` = `product.cover`.`version_id`
LEFT JOIN (
SELECT
`product.unit.translation`.unit_id,
`product.unit.translation`.short_code as `product.unit.translation.shortCode`,
`product.unit.translation`.name as `product.unit.translation.name`,
`product.unit.translation`.custom_fields as `product.unit.translation.customFields`,
`product.unit.translation`.created_at as `product.unit.translation.createdAt`,
`product.unit.translation`.updated_at as `product.unit.translation.updatedAt`,
`product.unit.translation`.unit_id as `product.unit.translation.unitId`,
`product.unit.translation`.language_id as `product.unit.translation.languageId`
FROM
`unit_translation` `product.unit.translation`
WHERE
`product.unit.translation`.language_id = : languageId
) `product.unit.unit_translation` ON `product.unit.unit_translation`.`unit_id` = `product.unit`.`id`
LEFT JOIN (
SELECT
`product.deliveryTime.translation`.delivery_time_id,
`product.deliveryTime.translation`.name as `product.deliveryTime.translation.name`,
`product.deliveryTime.translation`.custom_fields as `product.deliveryTime.translation.customFields`,
`product.deliveryTime.translation`.created_at as `product.deliveryTime.translation.createdAt`,
`product.deliveryTime.translation`.updated_at as `product.deliveryTime.translation.updatedAt`,
`product.deliveryTime.translation`.delivery_time_id as `product.deliveryTime.translation.deliveryTimeId`,
`product.deliveryTime.translation`.language_id as `product.deliveryTime.translation.languageId`
FROM
`delivery_time_translation` `product.deliveryTime.translation`
WHERE
`product.deliveryTime.translation`.language_id = : languageId
) `product.deliveryTime.delivery_time_translation` ON `product.deliveryTime.delivery_time_translation`.`delivery_time_id` = `product.deliveryTime`.`id`
LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id`
LEFT JOIN (
SELECT
`product.cover.media.translation`.media_id,
`product.cover.media.translation`.title as `product.cover.media.translation.title`,
`product.cover.media.translation`.alt as `product.cover.media.translation.alt`,
`product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`,
`product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`,
`product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`,
`product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`,
`product.cover.media.translation`.language_id as `product.cover.media.translation.languageId`
FROM
`media_translation` `product.cover.media.translation`
WHERE
`product.cover.media.translation`.language_id = : languageId
) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id`
WHERE
(
`product`.`version_id` = : version
)
AND (
`product`.`id` IN (: ids)
)
SELECT `product`.`id` as `product.id`, `product`.`version_id` as `product.versionId`, `product`.`parent_id` as `product.parentId`, `product`.`parent_version_id` as `product.parentVersionId`, COALESCE(`product`.`product_manufacturer_id`, `product.parent`.`product_manufacturer_id`) as `product.manufacturerId`, COALESCE(`product`.`product_manufacturer_version_id`, `product.parent`.`product_manufacturer_version_id`) as `product.productManufacturerVersionId`, COALESCE(`product`.`unit_id`, `product.parent`.`unit_id`) as `product.unitId`, COALESCE(`product`.`tax_id`, `product.parent`.`tax_id`) as `product.taxId`, COALESCE(`product`.`product_media_id`, `product.parent`.`product_media_id`) as `product.coverId`, COALESCE(`product`.`product_media_version_id`, `product.parent`.`product_media_version_id`) as `product.productMediaVersionId`, COALESCE(`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`) as `product.deliveryTimeId`, COALESCE(`product`.`product_feature_set_id`, `product.parent`.`product_feature_set_id`) as `product.featureSetId`, COALESCE(`product`.`canonical_product_id`, `product.parent`.`canonical_product_id`) as `product.canonicalProductId`, COALESCE(`product`.`cms_page_id`, `product.parent`.`cms_page_id`) as `product.cmsPageId`, COALESCE(`product`.`cms_page_version_id`, `product.parent`.`cms_page_version_id`) as `product.cmsPageVersionId`, `product.parent`.`price` as `product.price.inherited`, COALESCE(`product`.`price`, `product.parent`.`price`) as `product.price`, `product`.`product_number` as `product.productNumber`, `product`.`stock` as `product.stock`, COALESCE(`product`.`restock_time`, `product.parent`.`restock_time`) as `product.restockTime`, `product`.`auto_increment` as `product.autoIncrement`, COALESCE(`product`.`active`, `product.parent`.`active`) as `product.active`, `product`.`available_stock` as `product.availableStock`, `product`.`available` as `product.available`, COALESCE(`product`.`is_closeout`, `product.parent`.`is_closeout`) as `product.isCloseout`, `product`.`display_group` as `product.displayGroup`, `product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`, COALESCE(`product`.`configurator_group_config`, `product.parent`.`configurator_group_config`) as `product.configuratorGroupConfig`, COALESCE(`product`.`main_variant_id`, `product.parent`.`main_variant_id`) as `product.mainVariantId`, COALESCE(`product`.`display_parent`, `product.parent`.`display_parent`) as `product.displayParent`, `product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`, COALESCE(`product`.`variant_listing_config`, `product.parent`.`variant_listing_config`) as `product.variantListingConfig`, `product`.`variant_restrictions` as `product.variantRestrictions`, COALESCE(`product`.`manufacturer_number`, `product.parent`.`manufacturer_number`) as `product.manufacturerNumber`, COALESCE(`product`.`ean`, `product.parent`.`ean`) as `product.ean`, COALESCE(`product`.`purchase_steps`, `product.parent`.`purchase_steps`) as `product.purchaseSteps`, COALESCE(`product`.`max_purchase`, `product.parent`.`max_purchase`) as `product.maxPurchase`, COALESCE(`product`.`min_purchase`, `product.parent`.`min_purchase`) as `product.minPurchase`, COALESCE(`product`.`purchase_unit`, `product.parent`.`purchase_unit`) as `product.purchaseUnit`, COALESCE(`product`.`reference_unit`, `product.parent`.`reference_unit`) as `product.referenceUnit`, COALESCE(`product`.`shipping_free`, `product.parent`.`shipping_free`) as `product.shippingFree`, `product.parent`.`purchase_prices` as `product.purchasePrices.inherited`, COALESCE(`product`.`purchase_prices`, `product.parent`.`purchase_prices`) as `product.purchasePrices`, COALESCE(`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`) as `product.markAsTopseller`, COALESCE(`product`.`weight`, `product.parent`.`weight`) as `product.weight`, COALESCE(`product`.`width`, `product.parent`.`width`) as `product.width`, COALESCE(`product`.`height`, `product.parent`.`height`) as `product.height`, COALESCE(`product`.`length`, `product.parent`.`length`) as `product.length`, COALESCE(`product`.`release_date`, `product.parent`.`release_date`) as `product.releaseDate`, COALESCE(`product`.`rating_average`, `product.parent`.`rating_average`) as `product.ratingAverage`, `product.parent`.`category_tree` as `product.categoryTree.inherited`, COALESCE(`product`.`category_tree`, `product.parent`.`category_tree`) as `product.categoryTree`, `product.parent`.`property_ids` as `product.propertyIds.inherited`, COALESCE(`product`.`property_ids`, `product.parent`.`property_ids`) as `product.propertyIds`, `product.parent`.`option_ids` as `product.optionIds.inherited`, COALESCE(`product`.`option_ids`, `product.parent`.`option_ids`) as `product.optionIds`, `product.parent`.`stream_ids` as `product.streamIds.inherited`, COALESCE(`product`.`stream_ids`, `product.parent`.`stream_ids`) as `product.streamIds`, `product.parent`.`tag_ids` as `product.tagIds.inherited`, COALESCE(`product`.`tag_ids`, `product.parent`.`tag_ids`) as `product.tagIds`, `product.parent`.`category_ids` as `product.categoryIds.inherited`, COALESCE(`product`.`category_ids`, `product.parent`.`category_ids`) as `product.categoryIds`, `product`.`child_count` as `product.childCount`, COALESCE(`product`.`custom_field_set_selection_active`, `product.parent`.`custom_field_set_selection_active`) as `product.customFieldSetSelectionActive`, `product`.`sales` as `product.sales`, `product`.`states` as `product.states`, `product.tax`.`id` as `product.tax.id`, `product.tax`.`tax_rate` as `product.tax.taxRate`, `product.tax`.`name` as `product.tax.name`, `product.tax`.`position` as `product.tax.position`, `product.tax`.`custom_fields` as `product.tax.customFields`, `product.tax`.`created_at` as `product.tax.createdAt`, `product.tax`.`updated_at` as `product.tax.updatedAt`, `product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`, COALESCE(`product`.`cheapest_price`, `product.parent`.`cheapest_price`) as `product.cheapestPrice`, `product`.`created_at` as `product.createdAt`, `product`.`updated_at` as `product.updatedAt`, `product.unit`.`id` as `product.unit.id`, `product.unit`.`created_at` as `product.unit.createdAt`, `product.unit`.`updated_at` as `product.unit.updatedAt`, `product.unit.translation.shortCode`, COALESCE(`product.unit.translation.shortCode`,`product.unit.translation.shortCode`) as `product.unit.shortCode`, `product.unit.translation.name`, COALESCE(`product.unit.translation.name`,`product.unit.translation.name`) as `product.unit.name`, `product.unit.translation.customFields`, COALESCE(`product.unit.translation.customFields`,`product.unit.translation.customFields`) as `product.unit.customFields`, `product.unit.translation.createdAt`, `product.unit.translation.updatedAt`, `product.unit.translation.unitId`, `product.unit.translation.languageId`, `product.deliveryTime`.`id` as `product.deliveryTime.id`, `product.deliveryTime`.`min` as `product.deliveryTime.min`, `product.deliveryTime`.`max` as `product.deliveryTime.max`, `product.deliveryTime`.`unit` as `product.deliveryTime.unit`, `product.deliveryTime`.`created_at` as `product.deliveryTime.createdAt`, `product.deliveryTime`.`updated_at` as `product.deliveryTime.updatedAt`, `product.deliveryTime.translation.name`, COALESCE(`product.deliveryTime.translation.name`,`product.deliveryTime.translation.name`) as `product.deliveryTime.name`, `product.deliveryTime.translation.customFields`, COALESCE(`product.deliveryTime.translation.customFields`,`product.deliveryTime.translation.customFields`) as `product.deliveryTime.customFields`, `product.deliveryTime.translation.createdAt`, `product.deliveryTime.translation.updatedAt`, `product.deliveryTime.translation.deliveryTimeId`, `product.deliveryTime.translation.languageId`, `product.cover`.`id` as `product.cover.id`, `product.cover`.`version_id` as `product.cover.versionId`, `product.cover`.`product_id` as `product.cover.productId`, `product.cover`.`product_version_id` as `product.cover.productVersionId`, `product.cover`.`media_id` as `product.cover.mediaId`, `product.cover`.`position` as `product.cover.position`, `product.cover.media`.`id` as `product.cover.media.id`, `product.cover.media`.`user_id` as `product.cover.media.userId`, `product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`, `product.cover.media`.`mime_type` as `product.cover.media.mimeType`, `product.cover.media`.`file_extension` as `product.cover.media.fileExtension`, `product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`, `product.cover.media`.`file_name` as `product.cover.media.fileName`, `product.cover.media`.`file_size` as `product.cover.media.fileSize`, `product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`, `product.cover.media`.`meta_data` as `product.cover.media.metaData`, `product.cover.media`.`private` as `product.cover.media.private`, `product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`, `product.cover.media`.`created_at` as `product.cover.media.createdAt`, `product.cover.media`.`updated_at` as `product.cover.media.updatedAt`, `product.cover.media.translation.title`, COALESCE(`product.cover.media.translation.title`,`product.cover.media.translation.title`) as `product.cover.media.title`, `product.cover.media.translation.alt`, COALESCE(`product.cover.media.translation.alt`,`product.cover.media.translation.alt`) as `product.cover.media.alt`, `product.cover.media.translation.customFields`, COALESCE(`product.cover.media.translation.customFields`,`product.cover.media.translation.customFields`) as `product.cover.media.customFields`, `product.cover.media.translation.createdAt`, `product.cover.media.translation.updatedAt`, `product.cover.media.translation.mediaId`, `product.cover.media.translation.languageId`, `product.cover`.`custom_fields` as `product.cover.customFields`, `product.cover`.`created_at` as `product.cover.createdAt`, `product.cover`.`updated_at` as `product.cover.updatedAt`, `product.translation.metaDescription`, `product.parent.translation.metaDescription`, COALESCE(`product.translation.metaDescription`,`product.parent.translation.metaDescription`,`product.translation.metaDescription`) as `product.metaDescription`, `product.translation.name`, `product.parent.translation.name`, COALESCE(`product.translation.name`,`product.parent.translation.name`,`product.translation.name`) as `product.name`, `product.translation.keywords`, `product.parent.translation.keywords`, COALESCE(`product.translation.keywords`,`product.parent.translation.keywords`,`product.translation.keywords`) as `product.keywords`, `product.translation.description`, `product.parent.translation.description`, COALESCE(`product.translation.description`,`product.parent.translation.description`,`product.translation.description`) as `product.description`, `product.translation.metaTitle`, `product.parent.translation.metaTitle`, COALESCE(`product.translation.metaTitle`,`product.parent.translation.metaTitle`,`product.translation.metaTitle`) as `product.metaTitle`, `product.translation.packUnit`, `product.parent.translation.packUnit`, COALESCE(`product.translation.packUnit`,`product.parent.translation.packUnit`,`product.translation.packUnit`) as `product.packUnit`, `product.translation.packUnitPlural`, `product.parent.translation.packUnitPlural`, COALESCE(`product.translation.packUnitPlural`,`product.parent.translation.packUnitPlural`,`product.translation.packUnitPlural`) as `product.packUnitPlural`, `product.translation.customSearchKeywords`, `product.parent.translation.customSearchKeywords`, COALESCE(`product.translation.customSearchKeywords`,`product.parent.translation.customSearchKeywords`,`product.translation.customSearchKeywords`) as `product.customSearchKeywords`, `product.translation.slotConfig`, `product.parent.translation.slotConfig`, COALESCE(`product.translation.slotConfig`,`product.parent.translation.slotConfig`,`product.translation.slotConfig`) as `product.slotConfig`, `product.translation.customFields`, `product.parent.translation.customFields`, COALESCE(`product.translation.customFields`,`product.parent.translation.customFields`,`product.translation.customFields`) as `product.customFields`, `product.translation.createdAt`, `product.parent.translation.createdAt`, `product.translation.updatedAt`, `product.parent.translation.updatedAt`, `product.translation.productId`, `product.parent.translation.productId`, `product.translation.languageId`, `product.parent.translation.languageId`, `product.translation.productVersionId`, `product.parent.translation.productVersionId` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN (SELECT `product.translation`.product_id, `product.translation`.product_version_id, `product.translation`.meta_description as `product.translation.metaDescription`, `product.translation`.name as `product.translation.name`, `product.translation`.keywords as `product.translation.keywords`, `product.translation`.description as `product.translation.description`, `product.translation`.meta_title as `product.translation.metaTitle`, `product.translation`.pack_unit as `product.translation.packUnit`, `product.translation`.pack_unit_plural as `product.translation.packUnitPlural`, `product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`, `product.translation`.slot_config as `product.translation.slotConfig`, `product.translation`.custom_fields as `product.translation.customFields`, `product.translation`.created_at as `product.translation.createdAt`, `product.translation`.updated_at as `product.translation.updatedAt`, `product.translation`.product_id as `product.translation.productId`, `product.translation`.language_id as `product.translation.languageId`, `product.translation`.product_version_id as `product.translation.productVersionId` FROM `product_translation` `product.translation` WHERE `product.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id` AND `product.product_translation`.product_version_id = `product`.version_id LEFT JOIN (SELECT `product.parent.translation`.product_id, `product.parent.translation`.product_version_id, `product.parent.translation`.meta_description as `product.parent.translation.metaDescription`, `product.parent.translation`.name as `product.parent.translation.name`, `product.parent.translation`.keywords as `product.parent.translation.keywords`, `product.parent.translation`.description as `product.parent.translation.description`, `product.parent.translation`.meta_title as `product.parent.translation.metaTitle`, `product.parent.translation`.pack_unit as `product.parent.translation.packUnit`, `product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`, `product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`, `product.parent.translation`.slot_config as `product.parent.translation.slotConfig`, `product.parent.translation`.custom_fields as `product.parent.translation.customFields`, `product.parent.translation`.created_at as `product.parent.translation.createdAt`, `product.parent.translation`.updated_at as `product.parent.translation.updatedAt`, `product.parent.translation`.product_id as `product.parent.translation.productId`, `product.parent.translation`.language_id as `product.parent.translation.languageId`, `product.parent.translation`.product_version_id as `product.parent.translation.productVersionId` FROM `product_translation` `product.parent.translation` WHERE `product.parent.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id` AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id` LEFT JOIN `unit` `product.unit` ON `product`.`unit` = `product.unit`.`id` LEFT JOIN `delivery_time` `product.deliveryTime` ON `product`.`deliveryTime` = `product.deliveryTime`.`id` LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id` AND `product`.`version_id` = `product.cover`.`version_id` LEFT JOIN (SELECT `product.unit.translation`.unit_id, `product.unit.translation`.short_code as `product.unit.translation.shortCode`, `product.unit.translation`.name as `product.unit.translation.name`, `product.unit.translation`.custom_fields as `product.unit.translation.customFields`, `product.unit.translation`.created_at as `product.unit.translation.createdAt`, `product.unit.translation`.updated_at as `product.unit.translation.updatedAt`, `product.unit.translation`.unit_id as `product.unit.translation.unitId`, `product.unit.translation`.language_id as `product.unit.translation.languageId` FROM `unit_translation` `product.unit.translation` WHERE `product.unit.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.unit.unit_translation` ON `product.unit.unit_translation`.`unit_id` = `product.unit`.`id` LEFT JOIN (SELECT `product.deliveryTime.translation`.delivery_time_id, `product.deliveryTime.translation`.name as `product.deliveryTime.translation.name`, `product.deliveryTime.translation`.custom_fields as `product.deliveryTime.translation.customFields`, `product.deliveryTime.translation`.created_at as `product.deliveryTime.translation.createdAt`, `product.deliveryTime.translation`.updated_at as `product.deliveryTime.translation.updatedAt`, `product.deliveryTime.translation`.delivery_time_id as `product.deliveryTime.translation.deliveryTimeId`, `product.deliveryTime.translation`.language_id as `product.deliveryTime.translation.languageId` FROM `delivery_time_translation` `product.deliveryTime.translation` WHERE `product.deliveryTime.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.deliveryTime.delivery_time_translation` ON `product.deliveryTime.delivery_time_translation`.`delivery_time_id` = `product.deliveryTime`.`id` LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id` LEFT JOIN (SELECT `product.cover.media.translation`.media_id, `product.cover.media.translation`.title as `product.cover.media.translation.title`, `product.cover.media.translation`.alt as `product.cover.media.translation.alt`, `product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`, `product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`, `product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`, `product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`, `product.cover.media.translation`.language_id as `product.cover.media.translation.languageId` FROM `media_translation` `product.cover.media.translation` WHERE `product.cover.media.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id` WHERE (`product`.`version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425) AND (`product`.`id` IN (0xF3BAFEA4602B4D9D8C9C7C37C9555813));
array:37 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 242)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 316)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetch (line 148)"
4 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 93)"
5 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::read (line 195)"
6 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::read (line 133)"
7 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 36)"
8 => "Swag\PayPal\Util\Compatibility\SalesChannelRepositoryDecorator::search (line 207)"
9 => "Tds\MerwareDiscounts\Cart\Checkout\OverwrittenPriceCollector::getSalesChannelProduct (line 93)"
10 => "Tds\MerwareDiscounts\Cart\Checkout\OverwrittenPriceCollector::collect (line 103)"
11 => "Shopware\Core\Checkout\Cart\Processor::runProcessors (line 67)"
12 => "Shopware\Core\Checkout\Cart\Processor::Shopware\Core\Checkout\Cart\{closure} (line 59)"
13 => "Shopware\Core\Profiling\Profiler::trace (line 86)"
14 => "Shopware\Core\Checkout\Cart\Processor::process (line 132)"
15 => "Shopware\Core\Checkout\Cart\CartRuleLoader::Shopware\Core\Checkout\Cart\{closure} (line 59)"
16 => "Shopware\Core\Profiling\Profiler::trace (line 183)"
17 => "Shopware\Core\Checkout\Cart\CartRuleLoader::load (line 83)"
18 => "Shopware\Core\Checkout\Cart\CartRuleLoader::loadByToken (line 106)"
19 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::Shopware\Core\System\SalesChannel\Context\{closure} (line 59)"
20 => "Shopware\Core\Profiling\Profiler::trace (line 111)"
21 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::get (line 105)"
22 => "Shopware\Core\Framework\Routing\SalesChannelRequestContextResolver::resolve (line 38)"
23 => "Shopware\Core\Framework\Routing\ContextResolverListener::resolveContext (line 118)"
24 => "Symfony\Component\EventDispatcher\Debug\WrappedListener::__invoke (line 230)"
25 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
26 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
27 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
28 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
29 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
30 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
31 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 151)"
32 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
33 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
34 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
35 => "Shopware\Core\HttpKernel::doHandle (line 81)"
36 => "Shopware\Core\HttpKernel::handle (line 85)"
]
|
123 |
0.65 ms |
SELECT `product_price`.`id` as `product_price.id`, `product_price`.`version_id` as `product_price.versionId`, `product_price`.`product_id` as `product_price.productId`, `product_price`.`product_version_id` as `product_price.productVersionId`, `product_price`.`rule_id` as `product_price.ruleId`, `product_price`.`price` as `product_price.price`, `product_price`.`quantity_start` as `product_price.quantityStart`, `product_price`.`quantity_end` as `product_price.quantityEnd`, `product_price`.`custom_fields` as `product_price.customFields`, `product_price`.`created_at` as `product_price.createdAt`, `product_price`.`updated_at` as `product_price.updatedAt` FROM `product_price` WHERE (`product_price`.`version_id` = :version) AND ((`product_price`.`product_id` IN (:param_75adb2a6bb17422991ebcaaca28b9011)))
SELECT `product_price`.`id` as `product_price.id`, `product_price`.`version_id` as `product_price.versionId`, `product_price`.`product_id` as `product_price.productId`, `product_price`.`product_version_id` as `product_price.productVersionId`, `product_price`.`rule_id` as `product_price.ruleId`, `product_price`.`price` as `product_price.price`, `product_price`.`quantity_start` as `product_price.quantityStart`, `product_price`.`quantity_end` as `product_price.quantityEnd`, `product_price`.`custom_fields` as `product_price.customFields`, `product_price`.`created_at` as `product_price.createdAt`, `product_price`.`updated_at` as `product_price.updatedAt` FROM `product_price` WHERE (`product_price`.`version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425) AND ((`product_price`.`product_id` IN (0xF3BAFEA4602B4D9D8C9C7C37C9555813, 0xADB2294AA5954335BA2E15B22EBC821C)));
array:41 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 242)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 316)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetch (line 148)"
4 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 503)"
5 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::loadOneToManyWithoutPagination (line 438)"
6 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::loadOneToMany (line 1210)"
7 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetchAssociations (line 152)"
8 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 93)"
9 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::read (line 195)"
10 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::read (line 133)"
11 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 36)"
12 => "Swag\PayPal\Util\Compatibility\SalesChannelRepositoryDecorator::search (line 207)"
13 => "Tds\MerwareDiscounts\Cart\Checkout\OverwrittenPriceCollector::getSalesChannelProduct (line 93)"
14 => "Tds\MerwareDiscounts\Cart\Checkout\OverwrittenPriceCollector::collect (line 103)"
15 => "Shopware\Core\Checkout\Cart\Processor::runProcessors (line 67)"
16 => "Shopware\Core\Checkout\Cart\Processor::Shopware\Core\Checkout\Cart\{closure} (line 59)"
17 => "Shopware\Core\Profiling\Profiler::trace (line 86)"
18 => "Shopware\Core\Checkout\Cart\Processor::process (line 132)"
19 => "Shopware\Core\Checkout\Cart\CartRuleLoader::Shopware\Core\Checkout\Cart\{closure} (line 59)"
20 => "Shopware\Core\Profiling\Profiler::trace (line 183)"
21 => "Shopware\Core\Checkout\Cart\CartRuleLoader::load (line 83)"
22 => "Shopware\Core\Checkout\Cart\CartRuleLoader::loadByToken (line 106)"
23 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::Shopware\Core\System\SalesChannel\Context\{closure} (line 59)"
24 => "Shopware\Core\Profiling\Profiler::trace (line 111)"
25 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::get (line 105)"
26 => "Shopware\Core\Framework\Routing\SalesChannelRequestContextResolver::resolve (line 38)"
27 => "Shopware\Core\Framework\Routing\ContextResolverListener::resolveContext (line 118)"
28 => "Symfony\Component\EventDispatcher\Debug\WrappedListener::__invoke (line 230)"
29 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
30 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
31 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
32 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
33 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
34 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
35 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 151)"
36 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
37 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
38 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
39 => "Shopware\Core\HttpKernel::doHandle (line 81)"
40 => "Shopware\Core\HttpKernel::handle (line 85)"
]
|
124 |
0.44 ms |
SELECT `product`.`id`, `product`.`product_number`, `product`.`auto_increment` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN `product_visibility` `product.visibilities` ON `product`.`visibilities` = `product.visibilities`.`product_id` AND `product`.version_id = `product.visibilities`.product_version_id WHERE (`product`.`version_id` = :version) AND ((((`product.visibilities`.`visibility` >= :param_bf3b3dbc0e3241a0840649389029e906) AND `product.visibilities`.`sales_channel_id` = :param_0bf38dfcebad451aa057ee2f4463b35b AND IFNULL(`product`.`active`, `product.parent`.`active`) = :param_07d7ae403bd249598133bbc08aa0f6fd))) AND (`product`.`id` IN (:ids)) GROUP BY `product`.`id`
SELECT `product`.`id`, `product`.`product_number`, `product`.`auto_increment` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN `product_visibility` `product.visibilities` ON `product`.`visibilities` = `product.visibilities`.`product_id` AND `product`.version_id = `product.visibilities`.product_version_id WHERE (`product`.`version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425) AND ((((`product.visibilities`.`visibility` >= 10) AND `product.visibilities`.`sales_channel_id` = 0x4EB9108BE4654CC9B140D14DE85579E9 AND IFNULL(`product`.`active`, `product.parent`.`active`) = 1))) AND (`product`.`id` IN (0x918EC53474924911BF421C9B1C22829E)) GROUP BY `product`.`id`;
array:36 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 242)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 107)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntitySearcher::search (line 62)"
4 => "Shopware\Elasticsearch\Framework\DataAbstractionLayer\ElasticsearchEntitySearcher::search (line 216)"
5 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::doSearch (line 122)"
6 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 36)"
7 => "Swag\PayPal\Util\Compatibility\SalesChannelRepositoryDecorator::search (line 207)"
8 => "Tds\MerwareDiscounts\Cart\Checkout\OverwrittenPriceCollector::getSalesChannelProduct (line 93)"
9 => "Tds\MerwareDiscounts\Cart\Checkout\OverwrittenPriceCollector::collect (line 103)"
10 => "Shopware\Core\Checkout\Cart\Processor::runProcessors (line 67)"
11 => "Shopware\Core\Checkout\Cart\Processor::Shopware\Core\Checkout\Cart\{closure} (line 59)"
12 => "Shopware\Core\Profiling\Profiler::trace (line 86)"
13 => "Shopware\Core\Checkout\Cart\Processor::process (line 132)"
14 => "Shopware\Core\Checkout\Cart\CartRuleLoader::Shopware\Core\Checkout\Cart\{closure} (line 59)"
15 => "Shopware\Core\Profiling\Profiler::trace (line 183)"
16 => "Shopware\Core\Checkout\Cart\CartRuleLoader::load (line 83)"
17 => "Shopware\Core\Checkout\Cart\CartRuleLoader::loadByToken (line 106)"
18 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::Shopware\Core\System\SalesChannel\Context\{closure} (line 59)"
19 => "Shopware\Core\Profiling\Profiler::trace (line 111)"
20 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::get (line 105)"
21 => "Shopware\Core\Framework\Routing\SalesChannelRequestContextResolver::resolve (line 38)"
22 => "Shopware\Core\Framework\Routing\ContextResolverListener::resolveContext (line 118)"
23 => "Symfony\Component\EventDispatcher\Debug\WrappedListener::__invoke (line 230)"
24 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
25 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
26 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
27 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
28 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
29 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
30 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 151)"
31 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
32 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
33 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
34 => "Shopware\Core\HttpKernel::doHandle (line 81)"
35 => "Shopware\Core\HttpKernel::handle (line 85)"
]
|
125 |
9.68 ms |
SELECT `product`.`id` as `product.id`, `product`.`version_id` as `product.versionId`, `product`.`parent_id` as `product.parentId`, `product`.`parent_version_id` as `product.parentVersionId`, COALESCE(`product`.`product_manufacturer_id`, `product.parent`.`product_manufacturer_id`) as `product.manufacturerId`, COALESCE(`product`.`product_manufacturer_version_id`, `product.parent`.`product_manufacturer_version_id`) as `product.productManufacturerVersionId`, COALESCE(`product`.`unit_id`, `product.parent`.`unit_id`) as `product.unitId`, COALESCE(`product`.`tax_id`, `product.parent`.`tax_id`) as `product.taxId`, COALESCE(`product`.`product_media_id`, `product.parent`.`product_media_id`) as `product.coverId`, COALESCE(`product`.`product_media_version_id`, `product.parent`.`product_media_version_id`) as `product.productMediaVersionId`, COALESCE(`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`) as `product.deliveryTimeId`, COALESCE(`product`.`product_feature_set_id`, `product.parent`.`product_feature_set_id`) as `product.featureSetId`, COALESCE(`product`.`canonical_product_id`, `product.parent`.`canonical_product_id`) as `product.canonicalProductId`, COALESCE(`product`.`cms_page_id`, `product.parent`.`cms_page_id`) as `product.cmsPageId`, COALESCE(`product`.`cms_page_version_id`, `product.parent`.`cms_page_version_id`) as `product.cmsPageVersionId`, `product.parent`.`price` as `product.price.inherited`, COALESCE(`product`.`price`, `product.parent`.`price`) as `product.price`, `product`.`product_number` as `product.productNumber`, `product`.`stock` as `product.stock`, COALESCE(`product`.`restock_time`, `product.parent`.`restock_time`) as `product.restockTime`, `product`.`auto_increment` as `product.autoIncrement`, COALESCE(`product`.`active`, `product.parent`.`active`) as `product.active`, `product`.`available_stock` as `product.availableStock`, `product`.`available` as `product.available`, COALESCE(`product`.`is_closeout`, `product.parent`.`is_closeout`) as `product.isCloseout`, `product`.`display_group` as `product.displayGroup`, `product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`, COALESCE(`product`.`configurator_group_config`, `product.parent`.`configurator_group_config`) as `product.configuratorGroupConfig`, COALESCE(`product`.`main_variant_id`, `product.parent`.`main_variant_id`) as `product.mainVariantId`, COALESCE(`product`.`display_parent`, `product.parent`.`display_parent`) as `product.displayParent`, `product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`, COALESCE(`product`.`variant_listing_config`, `product.parent`.`variant_listing_config`) as `product.variantListingConfig`, `product`.`variant_restrictions` as `product.variantRestrictions`, COALESCE(`product`.`manufacturer_number`, `product.parent`.`manufacturer_number`) as `product.manufacturerNumber`, COALESCE(`product`.`ean`, `product.parent`.`ean`) as `product.ean`, COALESCE(`product`.`purchase_steps`, `product.parent`.`purchase_steps`) as `product.purchaseSteps`, COALESCE(`product`.`max_purchase`, `product.parent`.`max_purchase`) as `product.maxPurchase`, COALESCE(`product`.`min_purchase`, `product.parent`.`min_purchase`) as `product.minPurchase`, COALESCE(`product`.`purchase_unit`, `product.parent`.`purchase_unit`) as `product.purchaseUnit`, COALESCE(`product`.`reference_unit`, `product.parent`.`reference_unit`) as `product.referenceUnit`, COALESCE(`product`.`shipping_free`, `product.parent`.`shipping_free`) as `product.shippingFree`, `product.parent`.`purchase_prices` as `product.purchasePrices.inherited`, COALESCE(`product`.`purchase_prices`, `product.parent`.`purchase_prices`) as `product.purchasePrices`, COALESCE(`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`) as `product.markAsTopseller`, COALESCE(`product`.`weight`, `product.parent`.`weight`) as `product.weight`, COALESCE(`product`.`width`, `product.parent`.`width`) as `product.width`, COALESCE(`product`.`height`, `product.parent`.`height`) as `product.height`, COALESCE(`product`.`length`, `product.parent`.`length`) as `product.length`, COALESCE(`product`.`release_date`, `product.parent`.`release_date`) as `product.releaseDate`, COALESCE(`product`.`rating_average`, `product.parent`.`rating_average`) as `product.ratingAverage`, `product.parent`.`category_tree` as `product.categoryTree.inherited`, COALESCE(`product`.`category_tree`, `product.parent`.`category_tree`) as `product.categoryTree`, `product.parent`.`property_ids` as `product.propertyIds.inherited`, COALESCE(`product`.`property_ids`, `product.parent`.`property_ids`) as `product.propertyIds`, `product.parent`.`option_ids` as `product.optionIds.inherited`, COALESCE(`product`.`option_ids`, `product.parent`.`option_ids`) as `product.optionIds`, `product.parent`.`stream_ids` as `product.streamIds.inherited`, COALESCE(`product`.`stream_ids`, `product.parent`.`stream_ids`) as `product.streamIds`, `product.parent`.`tag_ids` as `product.tagIds.inherited`, COALESCE(`product`.`tag_ids`, `product.parent`.`tag_ids`) as `product.tagIds`, `product.parent`.`category_ids` as `product.categoryIds.inherited`, COALESCE(`product`.`category_ids`, `product.parent`.`category_ids`) as `product.categoryIds`, `product`.`child_count` as `product.childCount`, COALESCE(`product`.`custom_field_set_selection_active`, `product.parent`.`custom_field_set_selection_active`) as `product.customFieldSetSelectionActive`, `product`.`sales` as `product.sales`, `product`.`states` as `product.states`, `product.tax`.`id` as `product.tax.id`, `product.tax`.`tax_rate` as `product.tax.taxRate`, `product.tax`.`name` as `product.tax.name`, `product.tax`.`position` as `product.tax.position`, `product.tax`.`custom_fields` as `product.tax.customFields`, `product.tax`.`created_at` as `product.tax.createdAt`, `product.tax`.`updated_at` as `product.tax.updatedAt`, `product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`, COALESCE(`product`.`cheapest_price`, `product.parent`.`cheapest_price`) as `product.cheapestPrice`, `product`.`created_at` as `product.createdAt`, `product`.`updated_at` as `product.updatedAt`, `product.unit`.`id` as `product.unit.id`, `product.unit`.`created_at` as `product.unit.createdAt`, `product.unit`.`updated_at` as `product.unit.updatedAt`, `product.unit.translation.shortCode`, COALESCE(`product.unit.translation.shortCode`,`product.unit.translation.shortCode`) as `product.unit.shortCode`, `product.unit.translation.name`, COALESCE(`product.unit.translation.name`,`product.unit.translation.name`) as `product.unit.name`, `product.unit.translation.customFields`, COALESCE(`product.unit.translation.customFields`,`product.unit.translation.customFields`) as `product.unit.customFields`, `product.unit.translation.createdAt`, `product.unit.translation.updatedAt`, `product.unit.translation.unitId`, `product.unit.translation.languageId`, `product.deliveryTime`.`id` as `product.deliveryTime.id`, `product.deliveryTime`.`min` as `product.deliveryTime.min`, `product.deliveryTime`.`max` as `product.deliveryTime.max`, `product.deliveryTime`.`unit` as `product.deliveryTime.unit`, `product.deliveryTime`.`created_at` as `product.deliveryTime.createdAt`, `product.deliveryTime`.`updated_at` as `product.deliveryTime.updatedAt`, `product.deliveryTime.translation.name`, COALESCE(`product.deliveryTime.translation.name`,`product.deliveryTime.translation.name`) as `product.deliveryTime.name`, `product.deliveryTime.translation.customFields`, COALESCE(`product.deliveryTime.translation.customFields`,`product.deliveryTime.translation.customFields`) as `product.deliveryTime.customFields`, `product.deliveryTime.translation.createdAt`, `product.deliveryTime.translation.updatedAt`, `product.deliveryTime.translation.deliveryTimeId`, `product.deliveryTime.translation.languageId`, `product.cover`.`id` as `product.cover.id`, `product.cover`.`version_id` as `product.cover.versionId`, `product.cover`.`product_id` as `product.cover.productId`, `product.cover`.`product_version_id` as `product.cover.productVersionId`, `product.cover`.`media_id` as `product.cover.mediaId`, `product.cover`.`position` as `product.cover.position`, `product.cover.media`.`id` as `product.cover.media.id`, `product.cover.media`.`user_id` as `product.cover.media.userId`, `product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`, `product.cover.media`.`mime_type` as `product.cover.media.mimeType`, `product.cover.media`.`file_extension` as `product.cover.media.fileExtension`, `product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`, `product.cover.media`.`file_name` as `product.cover.media.fileName`, `product.cover.media`.`file_size` as `product.cover.media.fileSize`, `product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`, `product.cover.media`.`meta_data` as `product.cover.media.metaData`, `product.cover.media`.`private` as `product.cover.media.private`, `product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`, `product.cover.media`.`created_at` as `product.cover.media.createdAt`, `product.cover.media`.`updated_at` as `product.cover.media.updatedAt`, `product.cover.media.translation.title`, COALESCE(`product.cover.media.translation.title`,`product.cover.media.translation.title`) as `product.cover.media.title`, `product.cover.media.translation.alt`, COALESCE(`product.cover.media.translation.alt`,`product.cover.media.translation.alt`) as `product.cover.media.alt`, `product.cover.media.translation.customFields`, COALESCE(`product.cover.media.translation.customFields`,`product.cover.media.translation.customFields`) as `product.cover.media.customFields`, `product.cover.media.translation.createdAt`, `product.cover.media.translation.updatedAt`, `product.cover.media.translation.mediaId`, `product.cover.media.translation.languageId`, `product.cover`.`custom_fields` as `product.cover.customFields`, `product.cover`.`created_at` as `product.cover.createdAt`, `product.cover`.`updated_at` as `product.cover.updatedAt`, `product.translation.metaDescription`, `product.parent.translation.metaDescription`, COALESCE(`product.translation.metaDescription`,`product.parent.translation.metaDescription`,`product.translation.metaDescription`) as `product.metaDescription`, `product.translation.name`, `product.parent.translation.name`, COALESCE(`product.translation.name`,`product.parent.translation.name`,`product.translation.name`) as `product.name`, `product.translation.keywords`, `product.parent.translation.keywords`, COALESCE(`product.translation.keywords`,`product.parent.translation.keywords`,`product.translation.keywords`) as `product.keywords`, `product.translation.description`, `product.parent.translation.description`, COALESCE(`product.translation.description`,`product.parent.translation.description`,`product.translation.description`) as `product.description`, `product.translation.metaTitle`, `product.parent.translation.metaTitle`, COALESCE(`product.translation.metaTitle`,`product.parent.translation.metaTitle`,`product.translation.metaTitle`) as `product.metaTitle`, `product.translation.packUnit`, `product.parent.translation.packUnit`, COALESCE(`product.translation.packUnit`,`product.parent.translation.packUnit`,`product.translation.packUnit`) as `product.packUnit`, `product.translation.packUnitPlural`, `product.parent.translation.packUnitPlural`, COALESCE(`product.translation.packUnitPlural`,`product.parent.translation.packUnitPlural`,`product.translation.packUnitPlural`) as `product.packUnitPlural`, `product.translation.customSearchKeywords`, `product.parent.translation.customSearchKeywords`, COALESCE(`product.translation.customSearchKeywords`,`product.parent.translation.customSearchKeywords`,`product.translation.customSearchKeywords`) as `product.customSearchKeywords`, `product.translation.slotConfig`, `product.parent.translation.slotConfig`, COALESCE(`product.translation.slotConfig`,`product.parent.translation.slotConfig`,`product.translation.slotConfig`) as `product.slotConfig`, `product.translation.customFields`, `product.parent.translation.customFields`, COALESCE(`product.translation.customFields`,`product.parent.translation.customFields`,`product.translation.customFields`) as `product.customFields`, `product.translation.createdAt`, `product.parent.translation.createdAt`, `product.translation.updatedAt`, `product.parent.translation.updatedAt`, `product.translation.productId`, `product.parent.translation.productId`, `product.translation.languageId`, `product.parent.translation.languageId`, `product.translation.productVersionId`, `product.parent.translation.productVersionId` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN (SELECT `product.translation`.product_id, `product.translation`.product_version_id, `product.translation`.meta_description as `product.translation.metaDescription`, `product.translation`.name as `product.translation.name`, `product.translation`.keywords as `product.translation.keywords`, `product.translation`.description as `product.translation.description`, `product.translation`.meta_title as `product.translation.metaTitle`, `product.translation`.pack_unit as `product.translation.packUnit`, `product.translation`.pack_unit_plural as `product.translation.packUnitPlural`, `product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`, `product.translation`.slot_config as `product.translation.slotConfig`, `product.translation`.custom_fields as `product.translation.customFields`, `product.translation`.created_at as `product.translation.createdAt`, `product.translation`.updated_at as `product.translation.updatedAt`, `product.translation`.product_id as `product.translation.productId`, `product.translation`.language_id as `product.translation.languageId`, `product.translation`.product_version_id as `product.translation.productVersionId` FROM `product_translation` `product.translation` WHERE `product.translation`.language_id = :languageId) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id` AND `product.product_translation`.product_version_id = `product`.version_id LEFT JOIN (SELECT `product.parent.translation`.product_id, `product.parent.translation`.product_version_id, `product.parent.translation`.meta_description as `product.parent.translation.metaDescription`, `product.parent.translation`.name as `product.parent.translation.name`, `product.parent.translation`.keywords as `product.parent.translation.keywords`, `product.parent.translation`.description as `product.parent.translation.description`, `product.parent.translation`.meta_title as `product.parent.translation.metaTitle`, `product.parent.translation`.pack_unit as `product.parent.translation.packUnit`, `product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`, `product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`, `product.parent.translation`.slot_config as `product.parent.translation.slotConfig`, `product.parent.translation`.custom_fields as `product.parent.translation.customFields`, `product.parent.translation`.created_at as `product.parent.translation.createdAt`, `product.parent.translation`.updated_at as `product.parent.translation.updatedAt`, `product.parent.translation`.product_id as `product.parent.translation.productId`, `product.parent.translation`.language_id as `product.parent.translation.languageId`, `product.parent.translation`.product_version_id as `product.parent.translation.productVersionId` FROM `product_translation` `product.parent.translation` WHERE `product.parent.translation`.language_id = :languageId) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id` AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id` LEFT JOIN `unit` `product.unit` ON `product`.`unit` = `product.unit`.`id` LEFT JOIN `delivery_time` `product.deliveryTime` ON `product`.`deliveryTime` = `product.deliveryTime`.`id` LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id` AND `product`.`version_id` = `product.cover`.`version_id` LEFT JOIN (SELECT `product.unit.translation`.unit_id, `product.unit.translation`.short_code as `product.unit.translation.shortCode`, `product.unit.translation`.name as `product.unit.translation.name`, `product.unit.translation`.custom_fields as `product.unit.translation.customFields`, `product.unit.translation`.created_at as `product.unit.translation.createdAt`, `product.unit.translation`.updated_at as `product.unit.translation.updatedAt`, `product.unit.translation`.unit_id as `product.unit.translation.unitId`, `product.unit.translation`.language_id as `product.unit.translation.languageId` FROM `unit_translation` `product.unit.translation` WHERE `product.unit.translation`.language_id = :languageId) `product.unit.unit_translation` ON `product.unit.unit_translation`.`unit_id` = `product.unit`.`id` LEFT JOIN (SELECT `product.deliveryTime.translation`.delivery_time_id, `product.deliveryTime.translation`.name as `product.deliveryTime.translation.name`, `product.deliveryTime.translation`.custom_fields as `product.deliveryTime.translation.customFields`, `product.deliveryTime.translation`.created_at as `product.deliveryTime.translation.createdAt`, `product.deliveryTime.translation`.updated_at as `product.deliveryTime.translation.updatedAt`, `product.deliveryTime.translation`.delivery_time_id as `product.deliveryTime.translation.deliveryTimeId`, `product.deliveryTime.translation`.language_id as `product.deliveryTime.translation.languageId` FROM `delivery_time_translation` `product.deliveryTime.translation` WHERE `product.deliveryTime.translation`.language_id = :languageId) `product.deliveryTime.delivery_time_translation` ON `product.deliveryTime.delivery_time_translation`.`delivery_time_id` = `product.deliveryTime`.`id` LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id` LEFT JOIN (SELECT `product.cover.media.translation`.media_id, `product.cover.media.translation`.title as `product.cover.media.translation.title`, `product.cover.media.translation`.alt as `product.cover.media.translation.alt`, `product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`, `product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`, `product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`, `product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`, `product.cover.media.translation`.language_id as `product.cover.media.translation.languageId` FROM `media_translation` `product.cover.media.translation` WHERE `product.cover.media.translation`.language_id = :languageId) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id` WHERE (`product`.`version_id` = :version) AND (`product`.`id` IN (:ids))
SELECT
`product`.`id` as `product.id`,
`product`.`version_id` as `product.versionId`,
`product`.`parent_id` as `product.parentId`,
`product`.`parent_version_id` as `product.parentVersionId`,
COALESCE(
`product`.`product_manufacturer_id`,
`product.parent`.`product_manufacturer_id`
) as `product.manufacturerId`,
COALESCE(
`product`.`product_manufacturer_version_id`,
`product.parent`.`product_manufacturer_version_id`
) as `product.productManufacturerVersionId`,
COALESCE(
`product`.`unit_id`, `product.parent`.`unit_id`
) as `product.unitId`,
COALESCE(
`product`.`tax_id`, `product.parent`.`tax_id`
) as `product.taxId`,
COALESCE(
`product`.`product_media_id`, `product.parent`.`product_media_id`
) as `product.coverId`,
COALESCE(
`product`.`product_media_version_id`,
`product.parent`.`product_media_version_id`
) as `product.productMediaVersionId`,
COALESCE(
`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`
) as `product.deliveryTimeId`,
COALESCE(
`product`.`product_feature_set_id`,
`product.parent`.`product_feature_set_id`
) as `product.featureSetId`,
COALESCE(
`product`.`canonical_product_id`,
`product.parent`.`canonical_product_id`
) as `product.canonicalProductId`,
COALESCE(
`product`.`cms_page_id`, `product.parent`.`cms_page_id`
) as `product.cmsPageId`,
COALESCE(
`product`.`cms_page_version_id`,
`product.parent`.`cms_page_version_id`
) as `product.cmsPageVersionId`,
`product.parent`.`price` as `product.price.inherited`,
COALESCE(
`product`.`price`, `product.parent`.`price`
) as `product.price`,
`product`.`product_number` as `product.productNumber`,
`product`.`stock` as `product.stock`,
COALESCE(
`product`.`restock_time`, `product.parent`.`restock_time`
) as `product.restockTime`,
`product`.`auto_increment` as `product.autoIncrement`,
COALESCE(
`product`.`active`, `product.parent`.`active`
) as `product.active`,
`product`.`available_stock` as `product.availableStock`,
`product`.`available` as `product.available`,
COALESCE(
`product`.`is_closeout`, `product.parent`.`is_closeout`
) as `product.isCloseout`,
`product`.`display_group` as `product.displayGroup`,
`product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`,
COALESCE(
`product`.`configurator_group_config`,
`product.parent`.`configurator_group_config`
) as `product.configuratorGroupConfig`,
COALESCE(
`product`.`main_variant_id`, `product.parent`.`main_variant_id`
) as `product.mainVariantId`,
COALESCE(
`product`.`display_parent`, `product.parent`.`display_parent`
) as `product.displayParent`,
`product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`,
COALESCE(
`product`.`variant_listing_config`,
`product.parent`.`variant_listing_config`
) as `product.variantListingConfig`,
`product`.`variant_restrictions` as `product.variantRestrictions`,
COALESCE(
`product`.`manufacturer_number`,
`product.parent`.`manufacturer_number`
) as `product.manufacturerNumber`,
COALESCE(
`product`.`ean`, `product.parent`.`ean`
) as `product.ean`,
COALESCE(
`product`.`purchase_steps`, `product.parent`.`purchase_steps`
) as `product.purchaseSteps`,
COALESCE(
`product`.`max_purchase`, `product.parent`.`max_purchase`
) as `product.maxPurchase`,
COALESCE(
`product`.`min_purchase`, `product.parent`.`min_purchase`
) as `product.minPurchase`,
COALESCE(
`product`.`purchase_unit`, `product.parent`.`purchase_unit`
) as `product.purchaseUnit`,
COALESCE(
`product`.`reference_unit`, `product.parent`.`reference_unit`
) as `product.referenceUnit`,
COALESCE(
`product`.`shipping_free`, `product.parent`.`shipping_free`
) as `product.shippingFree`,
`product.parent`.`purchase_prices` as `product.purchasePrices.inherited`,
COALESCE(
`product`.`purchase_prices`, `product.parent`.`purchase_prices`
) as `product.purchasePrices`,
COALESCE(
`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`
) as `product.markAsTopseller`,
COALESCE(
`product`.`weight`, `product.parent`.`weight`
) as `product.weight`,
COALESCE(
`product`.`width`, `product.parent`.`width`
) as `product.width`,
COALESCE(
`product`.`height`, `product.parent`.`height`
) as `product.height`,
COALESCE(
`product`.`length`, `product.parent`.`length`
) as `product.length`,
COALESCE(
`product`.`release_date`, `product.parent`.`release_date`
) as `product.releaseDate`,
COALESCE(
`product`.`rating_average`, `product.parent`.`rating_average`
) as `product.ratingAverage`,
`product.parent`.`category_tree` as `product.categoryTree.inherited`,
COALESCE(
`product`.`category_tree`, `product.parent`.`category_tree`
) as `product.categoryTree`,
`product.parent`.`property_ids` as `product.propertyIds.inherited`,
COALESCE(
`product`.`property_ids`, `product.parent`.`property_ids`
) as `product.propertyIds`,
`product.parent`.`option_ids` as `product.optionIds.inherited`,
COALESCE(
`product`.`option_ids`, `product.parent`.`option_ids`
) as `product.optionIds`,
`product.parent`.`stream_ids` as `product.streamIds.inherited`,
COALESCE(
`product`.`stream_ids`, `product.parent`.`stream_ids`
) as `product.streamIds`,
`product.parent`.`tag_ids` as `product.tagIds.inherited`,
COALESCE(
`product`.`tag_ids`, `product.parent`.`tag_ids`
) as `product.tagIds`,
`product.parent`.`category_ids` as `product.categoryIds.inherited`,
COALESCE(
`product`.`category_ids`, `product.parent`.`category_ids`
) as `product.categoryIds`,
`product`.`child_count` as `product.childCount`,
COALESCE(
`product`.`custom_field_set_selection_active`,
`product.parent`.`custom_field_set_selection_active`
) as `product.customFieldSetSelectionActive`,
`product`.`sales` as `product.sales`,
`product`.`states` as `product.states`,
`product.tax`.`id` as `product.tax.id`,
`product.tax`.`tax_rate` as `product.tax.taxRate`,
`product.tax`.`name` as `product.tax.name`,
`product.tax`.`position` as `product.tax.position`,
`product.tax`.`custom_fields` as `product.tax.customFields`,
`product.tax`.`created_at` as `product.tax.createdAt`,
`product.tax`.`updated_at` as `product.tax.updatedAt`,
`product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`,
COALESCE(
`product`.`cheapest_price`, `product.parent`.`cheapest_price`
) as `product.cheapestPrice`,
`product`.`created_at` as `product.createdAt`,
`product`.`updated_at` as `product.updatedAt`,
`product.unit`.`id` as `product.unit.id`,
`product.unit`.`created_at` as `product.unit.createdAt`,
`product.unit`.`updated_at` as `product.unit.updatedAt`,
`product.unit.translation.shortCode`,
COALESCE(
`product.unit.translation.shortCode`,
`product.unit.translation.shortCode`
) as `product.unit.shortCode`,
`product.unit.translation.name`,
COALESCE(
`product.unit.translation.name`,
`product.unit.translation.name`
) as `product.unit.name`,
`product.unit.translation.customFields`,
COALESCE(
`product.unit.translation.customFields`,
`product.unit.translation.customFields`
) as `product.unit.customFields`,
`product.unit.translation.createdAt`,
`product.unit.translation.updatedAt`,
`product.unit.translation.unitId`,
`product.unit.translation.languageId`,
`product.deliveryTime`.`id` as `product.deliveryTime.id`,
`product.deliveryTime`.`min` as `product.deliveryTime.min`,
`product.deliveryTime`.`max` as `product.deliveryTime.max`,
`product.deliveryTime`.`unit` as `product.deliveryTime.unit`,
`product.deliveryTime`.`created_at` as `product.deliveryTime.createdAt`,
`product.deliveryTime`.`updated_at` as `product.deliveryTime.updatedAt`,
`product.deliveryTime.translation.name`,
COALESCE(
`product.deliveryTime.translation.name`,
`product.deliveryTime.translation.name`
) as `product.deliveryTime.name`,
`product.deliveryTime.translation.customFields`,
COALESCE(
`product.deliveryTime.translation.customFields`,
`product.deliveryTime.translation.customFields`
) as `product.deliveryTime.customFields`,
`product.deliveryTime.translation.createdAt`,
`product.deliveryTime.translation.updatedAt`,
`product.deliveryTime.translation.deliveryTimeId`,
`product.deliveryTime.translation.languageId`,
`product.cover`.`id` as `product.cover.id`,
`product.cover`.`version_id` as `product.cover.versionId`,
`product.cover`.`product_id` as `product.cover.productId`,
`product.cover`.`product_version_id` as `product.cover.productVersionId`,
`product.cover`.`media_id` as `product.cover.mediaId`,
`product.cover`.`position` as `product.cover.position`,
`product.cover.media`.`id` as `product.cover.media.id`,
`product.cover.media`.`user_id` as `product.cover.media.userId`,
`product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`,
`product.cover.media`.`mime_type` as `product.cover.media.mimeType`,
`product.cover.media`.`file_extension` as `product.cover.media.fileExtension`,
`product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`,
`product.cover.media`.`file_name` as `product.cover.media.fileName`,
`product.cover.media`.`file_size` as `product.cover.media.fileSize`,
`product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`,
`product.cover.media`.`meta_data` as `product.cover.media.metaData`,
`product.cover.media`.`private` as `product.cover.media.private`,
`product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`,
`product.cover.media`.`created_at` as `product.cover.media.createdAt`,
`product.cover.media`.`updated_at` as `product.cover.media.updatedAt`,
`product.cover.media.translation.title`,
COALESCE(
`product.cover.media.translation.title`,
`product.cover.media.translation.title`
) as `product.cover.media.title`,
`product.cover.media.translation.alt`,
COALESCE(
`product.cover.media.translation.alt`,
`product.cover.media.translation.alt`
) as `product.cover.media.alt`,
`product.cover.media.translation.customFields`,
COALESCE(
`product.cover.media.translation.customFields`,
`product.cover.media.translation.customFields`
) as `product.cover.media.customFields`,
`product.cover.media.translation.createdAt`,
`product.cover.media.translation.updatedAt`,
`product.cover.media.translation.mediaId`,
`product.cover.media.translation.languageId`,
`product.cover`.`custom_fields` as `product.cover.customFields`,
`product.cover`.`created_at` as `product.cover.createdAt`,
`product.cover`.`updated_at` as `product.cover.updatedAt`,
`product.translation.metaDescription`,
`product.parent.translation.metaDescription`,
COALESCE(
`product.translation.metaDescription`,
`product.parent.translation.metaDescription`,
`product.translation.metaDescription`
) as `product.metaDescription`,
`product.translation.name`,
`product.parent.translation.name`,
COALESCE(
`product.translation.name`, `product.parent.translation.name`,
`product.translation.name`
) as `product.name`,
`product.translation.keywords`,
`product.parent.translation.keywords`,
COALESCE(
`product.translation.keywords`,
`product.parent.translation.keywords`,
`product.translation.keywords`
) as `product.keywords`,
`product.translation.description`,
`product.parent.translation.description`,
COALESCE(
`product.translation.description`,
`product.parent.translation.description`,
`product.translation.description`
) as `product.description`,
`product.translation.metaTitle`,
`product.parent.translation.metaTitle`,
COALESCE(
`product.translation.metaTitle`,
`product.parent.translation.metaTitle`,
`product.translation.metaTitle`
) as `product.metaTitle`,
`product.translation.packUnit`,
`product.parent.translation.packUnit`,
COALESCE(
`product.translation.packUnit`,
`product.parent.translation.packUnit`,
`product.translation.packUnit`
) as `product.packUnit`,
`product.translation.packUnitPlural`,
`product.parent.translation.packUnitPlural`,
COALESCE(
`product.translation.packUnitPlural`,
`product.parent.translation.packUnitPlural`,
`product.translation.packUnitPlural`
) as `product.packUnitPlural`,
`product.translation.customSearchKeywords`,
`product.parent.translation.customSearchKeywords`,
COALESCE(
`product.translation.customSearchKeywords`,
`product.parent.translation.customSearchKeywords`,
`product.translation.customSearchKeywords`
) as `product.customSearchKeywords`,
`product.translation.slotConfig`,
`product.parent.translation.slotConfig`,
COALESCE(
`product.translation.slotConfig`,
`product.parent.translation.slotConfig`,
`product.translation.slotConfig`
) as `product.slotConfig`,
`product.translation.customFields`,
`product.parent.translation.customFields`,
COALESCE(
`product.translation.customFields`,
`product.parent.translation.customFields`,
`product.translation.customFields`
) as `product.customFields`,
`product.translation.createdAt`,
`product.parent.translation.createdAt`,
`product.translation.updatedAt`,
`product.parent.translation.updatedAt`,
`product.translation.productId`,
`product.parent.translation.productId`,
`product.translation.languageId`,
`product.parent.translation.languageId`,
`product.translation.productVersionId`,
`product.parent.translation.productVersionId`
FROM
`product`
LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id`
AND `product`.`version_id` = `product.parent`.`version_id`
LEFT JOIN (
SELECT
`product.translation`.product_id,
`product.translation`.product_version_id,
`product.translation`.meta_description as `product.translation.metaDescription`,
`product.translation`.name as `product.translation.name`,
`product.translation`.keywords as `product.translation.keywords`,
`product.translation`.description as `product.translation.description`,
`product.translation`.meta_title as `product.translation.metaTitle`,
`product.translation`.pack_unit as `product.translation.packUnit`,
`product.translation`.pack_unit_plural as `product.translation.packUnitPlural`,
`product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`,
`product.translation`.slot_config as `product.translation.slotConfig`,
`product.translation`.custom_fields as `product.translation.customFields`,
`product.translation`.created_at as `product.translation.createdAt`,
`product.translation`.updated_at as `product.translation.updatedAt`,
`product.translation`.product_id as `product.translation.productId`,
`product.translation`.language_id as `product.translation.languageId`,
`product.translation`.product_version_id as `product.translation.productVersionId`
FROM
`product_translation` `product.translation`
WHERE
`product.translation`.language_id = : languageId
) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id`
AND `product.product_translation`.product_version_id = `product`.version_id
LEFT JOIN (
SELECT
`product.parent.translation`.product_id,
`product.parent.translation`.product_version_id,
`product.parent.translation`.meta_description as `product.parent.translation.metaDescription`,
`product.parent.translation`.name as `product.parent.translation.name`,
`product.parent.translation`.keywords as `product.parent.translation.keywords`,
`product.parent.translation`.description as `product.parent.translation.description`,
`product.parent.translation`.meta_title as `product.parent.translation.metaTitle`,
`product.parent.translation`.pack_unit as `product.parent.translation.packUnit`,
`product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`,
`product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`,
`product.parent.translation`.slot_config as `product.parent.translation.slotConfig`,
`product.parent.translation`.custom_fields as `product.parent.translation.customFields`,
`product.parent.translation`.created_at as `product.parent.translation.createdAt`,
`product.parent.translation`.updated_at as `product.parent.translation.updatedAt`,
`product.parent.translation`.product_id as `product.parent.translation.productId`,
`product.parent.translation`.language_id as `product.parent.translation.languageId`,
`product.parent.translation`.product_version_id as `product.parent.translation.productVersionId`
FROM
`product_translation` `product.parent.translation`
WHERE
`product.parent.translation`.language_id = : languageId
) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id`
AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id
LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id`
LEFT JOIN `unit` `product.unit` ON `product`.`unit` = `product.unit`.`id`
LEFT JOIN `delivery_time` `product.deliveryTime` ON `product`.`deliveryTime` = `product.deliveryTime`.`id`
LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id`
AND `product`.`version_id` = `product.cover`.`version_id`
LEFT JOIN (
SELECT
`product.unit.translation`.unit_id,
`product.unit.translation`.short_code as `product.unit.translation.shortCode`,
`product.unit.translation`.name as `product.unit.translation.name`,
`product.unit.translation`.custom_fields as `product.unit.translation.customFields`,
`product.unit.translation`.created_at as `product.unit.translation.createdAt`,
`product.unit.translation`.updated_at as `product.unit.translation.updatedAt`,
`product.unit.translation`.unit_id as `product.unit.translation.unitId`,
`product.unit.translation`.language_id as `product.unit.translation.languageId`
FROM
`unit_translation` `product.unit.translation`
WHERE
`product.unit.translation`.language_id = : languageId
) `product.unit.unit_translation` ON `product.unit.unit_translation`.`unit_id` = `product.unit`.`id`
LEFT JOIN (
SELECT
`product.deliveryTime.translation`.delivery_time_id,
`product.deliveryTime.translation`.name as `product.deliveryTime.translation.name`,
`product.deliveryTime.translation`.custom_fields as `product.deliveryTime.translation.customFields`,
`product.deliveryTime.translation`.created_at as `product.deliveryTime.translation.createdAt`,
`product.deliveryTime.translation`.updated_at as `product.deliveryTime.translation.updatedAt`,
`product.deliveryTime.translation`.delivery_time_id as `product.deliveryTime.translation.deliveryTimeId`,
`product.deliveryTime.translation`.language_id as `product.deliveryTime.translation.languageId`
FROM
`delivery_time_translation` `product.deliveryTime.translation`
WHERE
`product.deliveryTime.translation`.language_id = : languageId
) `product.deliveryTime.delivery_time_translation` ON `product.deliveryTime.delivery_time_translation`.`delivery_time_id` = `product.deliveryTime`.`id`
LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id`
LEFT JOIN (
SELECT
`product.cover.media.translation`.media_id,
`product.cover.media.translation`.title as `product.cover.media.translation.title`,
`product.cover.media.translation`.alt as `product.cover.media.translation.alt`,
`product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`,
`product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`,
`product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`,
`product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`,
`product.cover.media.translation`.language_id as `product.cover.media.translation.languageId`
FROM
`media_translation` `product.cover.media.translation`
WHERE
`product.cover.media.translation`.language_id = : languageId
) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id`
WHERE
(
`product`.`version_id` = : version
)
AND (
`product`.`id` IN (: ids)
)
SELECT `product`.`id` as `product.id`, `product`.`version_id` as `product.versionId`, `product`.`parent_id` as `product.parentId`, `product`.`parent_version_id` as `product.parentVersionId`, COALESCE(`product`.`product_manufacturer_id`, `product.parent`.`product_manufacturer_id`) as `product.manufacturerId`, COALESCE(`product`.`product_manufacturer_version_id`, `product.parent`.`product_manufacturer_version_id`) as `product.productManufacturerVersionId`, COALESCE(`product`.`unit_id`, `product.parent`.`unit_id`) as `product.unitId`, COALESCE(`product`.`tax_id`, `product.parent`.`tax_id`) as `product.taxId`, COALESCE(`product`.`product_media_id`, `product.parent`.`product_media_id`) as `product.coverId`, COALESCE(`product`.`product_media_version_id`, `product.parent`.`product_media_version_id`) as `product.productMediaVersionId`, COALESCE(`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`) as `product.deliveryTimeId`, COALESCE(`product`.`product_feature_set_id`, `product.parent`.`product_feature_set_id`) as `product.featureSetId`, COALESCE(`product`.`canonical_product_id`, `product.parent`.`canonical_product_id`) as `product.canonicalProductId`, COALESCE(`product`.`cms_page_id`, `product.parent`.`cms_page_id`) as `product.cmsPageId`, COALESCE(`product`.`cms_page_version_id`, `product.parent`.`cms_page_version_id`) as `product.cmsPageVersionId`, `product.parent`.`price` as `product.price.inherited`, COALESCE(`product`.`price`, `product.parent`.`price`) as `product.price`, `product`.`product_number` as `product.productNumber`, `product`.`stock` as `product.stock`, COALESCE(`product`.`restock_time`, `product.parent`.`restock_time`) as `product.restockTime`, `product`.`auto_increment` as `product.autoIncrement`, COALESCE(`product`.`active`, `product.parent`.`active`) as `product.active`, `product`.`available_stock` as `product.availableStock`, `product`.`available` as `product.available`, COALESCE(`product`.`is_closeout`, `product.parent`.`is_closeout`) as `product.isCloseout`, `product`.`display_group` as `product.displayGroup`, `product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`, COALESCE(`product`.`configurator_group_config`, `product.parent`.`configurator_group_config`) as `product.configuratorGroupConfig`, COALESCE(`product`.`main_variant_id`, `product.parent`.`main_variant_id`) as `product.mainVariantId`, COALESCE(`product`.`display_parent`, `product.parent`.`display_parent`) as `product.displayParent`, `product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`, COALESCE(`product`.`variant_listing_config`, `product.parent`.`variant_listing_config`) as `product.variantListingConfig`, `product`.`variant_restrictions` as `product.variantRestrictions`, COALESCE(`product`.`manufacturer_number`, `product.parent`.`manufacturer_number`) as `product.manufacturerNumber`, COALESCE(`product`.`ean`, `product.parent`.`ean`) as `product.ean`, COALESCE(`product`.`purchase_steps`, `product.parent`.`purchase_steps`) as `product.purchaseSteps`, COALESCE(`product`.`max_purchase`, `product.parent`.`max_purchase`) as `product.maxPurchase`, COALESCE(`product`.`min_purchase`, `product.parent`.`min_purchase`) as `product.minPurchase`, COALESCE(`product`.`purchase_unit`, `product.parent`.`purchase_unit`) as `product.purchaseUnit`, COALESCE(`product`.`reference_unit`, `product.parent`.`reference_unit`) as `product.referenceUnit`, COALESCE(`product`.`shipping_free`, `product.parent`.`shipping_free`) as `product.shippingFree`, `product.parent`.`purchase_prices` as `product.purchasePrices.inherited`, COALESCE(`product`.`purchase_prices`, `product.parent`.`purchase_prices`) as `product.purchasePrices`, COALESCE(`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`) as `product.markAsTopseller`, COALESCE(`product`.`weight`, `product.parent`.`weight`) as `product.weight`, COALESCE(`product`.`width`, `product.parent`.`width`) as `product.width`, COALESCE(`product`.`height`, `product.parent`.`height`) as `product.height`, COALESCE(`product`.`length`, `product.parent`.`length`) as `product.length`, COALESCE(`product`.`release_date`, `product.parent`.`release_date`) as `product.releaseDate`, COALESCE(`product`.`rating_average`, `product.parent`.`rating_average`) as `product.ratingAverage`, `product.parent`.`category_tree` as `product.categoryTree.inherited`, COALESCE(`product`.`category_tree`, `product.parent`.`category_tree`) as `product.categoryTree`, `product.parent`.`property_ids` as `product.propertyIds.inherited`, COALESCE(`product`.`property_ids`, `product.parent`.`property_ids`) as `product.propertyIds`, `product.parent`.`option_ids` as `product.optionIds.inherited`, COALESCE(`product`.`option_ids`, `product.parent`.`option_ids`) as `product.optionIds`, `product.parent`.`stream_ids` as `product.streamIds.inherited`, COALESCE(`product`.`stream_ids`, `product.parent`.`stream_ids`) as `product.streamIds`, `product.parent`.`tag_ids` as `product.tagIds.inherited`, COALESCE(`product`.`tag_ids`, `product.parent`.`tag_ids`) as `product.tagIds`, `product.parent`.`category_ids` as `product.categoryIds.inherited`, COALESCE(`product`.`category_ids`, `product.parent`.`category_ids`) as `product.categoryIds`, `product`.`child_count` as `product.childCount`, COALESCE(`product`.`custom_field_set_selection_active`, `product.parent`.`custom_field_set_selection_active`) as `product.customFieldSetSelectionActive`, `product`.`sales` as `product.sales`, `product`.`states` as `product.states`, `product.tax`.`id` as `product.tax.id`, `product.tax`.`tax_rate` as `product.tax.taxRate`, `product.tax`.`name` as `product.tax.name`, `product.tax`.`position` as `product.tax.position`, `product.tax`.`custom_fields` as `product.tax.customFields`, `product.tax`.`created_at` as `product.tax.createdAt`, `product.tax`.`updated_at` as `product.tax.updatedAt`, `product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`, COALESCE(`product`.`cheapest_price`, `product.parent`.`cheapest_price`) as `product.cheapestPrice`, `product`.`created_at` as `product.createdAt`, `product`.`updated_at` as `product.updatedAt`, `product.unit`.`id` as `product.unit.id`, `product.unit`.`created_at` as `product.unit.createdAt`, `product.unit`.`updated_at` as `product.unit.updatedAt`, `product.unit.translation.shortCode`, COALESCE(`product.unit.translation.shortCode`,`product.unit.translation.shortCode`) as `product.unit.shortCode`, `product.unit.translation.name`, COALESCE(`product.unit.translation.name`,`product.unit.translation.name`) as `product.unit.name`, `product.unit.translation.customFields`, COALESCE(`product.unit.translation.customFields`,`product.unit.translation.customFields`) as `product.unit.customFields`, `product.unit.translation.createdAt`, `product.unit.translation.updatedAt`, `product.unit.translation.unitId`, `product.unit.translation.languageId`, `product.deliveryTime`.`id` as `product.deliveryTime.id`, `product.deliveryTime`.`min` as `product.deliveryTime.min`, `product.deliveryTime`.`max` as `product.deliveryTime.max`, `product.deliveryTime`.`unit` as `product.deliveryTime.unit`, `product.deliveryTime`.`created_at` as `product.deliveryTime.createdAt`, `product.deliveryTime`.`updated_at` as `product.deliveryTime.updatedAt`, `product.deliveryTime.translation.name`, COALESCE(`product.deliveryTime.translation.name`,`product.deliveryTime.translation.name`) as `product.deliveryTime.name`, `product.deliveryTime.translation.customFields`, COALESCE(`product.deliveryTime.translation.customFields`,`product.deliveryTime.translation.customFields`) as `product.deliveryTime.customFields`, `product.deliveryTime.translation.createdAt`, `product.deliveryTime.translation.updatedAt`, `product.deliveryTime.translation.deliveryTimeId`, `product.deliveryTime.translation.languageId`, `product.cover`.`id` as `product.cover.id`, `product.cover`.`version_id` as `product.cover.versionId`, `product.cover`.`product_id` as `product.cover.productId`, `product.cover`.`product_version_id` as `product.cover.productVersionId`, `product.cover`.`media_id` as `product.cover.mediaId`, `product.cover`.`position` as `product.cover.position`, `product.cover.media`.`id` as `product.cover.media.id`, `product.cover.media`.`user_id` as `product.cover.media.userId`, `product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`, `product.cover.media`.`mime_type` as `product.cover.media.mimeType`, `product.cover.media`.`file_extension` as `product.cover.media.fileExtension`, `product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`, `product.cover.media`.`file_name` as `product.cover.media.fileName`, `product.cover.media`.`file_size` as `product.cover.media.fileSize`, `product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`, `product.cover.media`.`meta_data` as `product.cover.media.metaData`, `product.cover.media`.`private` as `product.cover.media.private`, `product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`, `product.cover.media`.`created_at` as `product.cover.media.createdAt`, `product.cover.media`.`updated_at` as `product.cover.media.updatedAt`, `product.cover.media.translation.title`, COALESCE(`product.cover.media.translation.title`,`product.cover.media.translation.title`) as `product.cover.media.title`, `product.cover.media.translation.alt`, COALESCE(`product.cover.media.translation.alt`,`product.cover.media.translation.alt`) as `product.cover.media.alt`, `product.cover.media.translation.customFields`, COALESCE(`product.cover.media.translation.customFields`,`product.cover.media.translation.customFields`) as `product.cover.media.customFields`, `product.cover.media.translation.createdAt`, `product.cover.media.translation.updatedAt`, `product.cover.media.translation.mediaId`, `product.cover.media.translation.languageId`, `product.cover`.`custom_fields` as `product.cover.customFields`, `product.cover`.`created_at` as `product.cover.createdAt`, `product.cover`.`updated_at` as `product.cover.updatedAt`, `product.translation.metaDescription`, `product.parent.translation.metaDescription`, COALESCE(`product.translation.metaDescription`,`product.parent.translation.metaDescription`,`product.translation.metaDescription`) as `product.metaDescription`, `product.translation.name`, `product.parent.translation.name`, COALESCE(`product.translation.name`,`product.parent.translation.name`,`product.translation.name`) as `product.name`, `product.translation.keywords`, `product.parent.translation.keywords`, COALESCE(`product.translation.keywords`,`product.parent.translation.keywords`,`product.translation.keywords`) as `product.keywords`, `product.translation.description`, `product.parent.translation.description`, COALESCE(`product.translation.description`,`product.parent.translation.description`,`product.translation.description`) as `product.description`, `product.translation.metaTitle`, `product.parent.translation.metaTitle`, COALESCE(`product.translation.metaTitle`,`product.parent.translation.metaTitle`,`product.translation.metaTitle`) as `product.metaTitle`, `product.translation.packUnit`, `product.parent.translation.packUnit`, COALESCE(`product.translation.packUnit`,`product.parent.translation.packUnit`,`product.translation.packUnit`) as `product.packUnit`, `product.translation.packUnitPlural`, `product.parent.translation.packUnitPlural`, COALESCE(`product.translation.packUnitPlural`,`product.parent.translation.packUnitPlural`,`product.translation.packUnitPlural`) as `product.packUnitPlural`, `product.translation.customSearchKeywords`, `product.parent.translation.customSearchKeywords`, COALESCE(`product.translation.customSearchKeywords`,`product.parent.translation.customSearchKeywords`,`product.translation.customSearchKeywords`) as `product.customSearchKeywords`, `product.translation.slotConfig`, `product.parent.translation.slotConfig`, COALESCE(`product.translation.slotConfig`,`product.parent.translation.slotConfig`,`product.translation.slotConfig`) as `product.slotConfig`, `product.translation.customFields`, `product.parent.translation.customFields`, COALESCE(`product.translation.customFields`,`product.parent.translation.customFields`,`product.translation.customFields`) as `product.customFields`, `product.translation.createdAt`, `product.parent.translation.createdAt`, `product.translation.updatedAt`, `product.parent.translation.updatedAt`, `product.translation.productId`, `product.parent.translation.productId`, `product.translation.languageId`, `product.parent.translation.languageId`, `product.translation.productVersionId`, `product.parent.translation.productVersionId` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN (SELECT `product.translation`.product_id, `product.translation`.product_version_id, `product.translation`.meta_description as `product.translation.metaDescription`, `product.translation`.name as `product.translation.name`, `product.translation`.keywords as `product.translation.keywords`, `product.translation`.description as `product.translation.description`, `product.translation`.meta_title as `product.translation.metaTitle`, `product.translation`.pack_unit as `product.translation.packUnit`, `product.translation`.pack_unit_plural as `product.translation.packUnitPlural`, `product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`, `product.translation`.slot_config as `product.translation.slotConfig`, `product.translation`.custom_fields as `product.translation.customFields`, `product.translation`.created_at as `product.translation.createdAt`, `product.translation`.updated_at as `product.translation.updatedAt`, `product.translation`.product_id as `product.translation.productId`, `product.translation`.language_id as `product.translation.languageId`, `product.translation`.product_version_id as `product.translation.productVersionId` FROM `product_translation` `product.translation` WHERE `product.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id` AND `product.product_translation`.product_version_id = `product`.version_id LEFT JOIN (SELECT `product.parent.translation`.product_id, `product.parent.translation`.product_version_id, `product.parent.translation`.meta_description as `product.parent.translation.metaDescription`, `product.parent.translation`.name as `product.parent.translation.name`, `product.parent.translation`.keywords as `product.parent.translation.keywords`, `product.parent.translation`.description as `product.parent.translation.description`, `product.parent.translation`.meta_title as `product.parent.translation.metaTitle`, `product.parent.translation`.pack_unit as `product.parent.translation.packUnit`, `product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`, `product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`, `product.parent.translation`.slot_config as `product.parent.translation.slotConfig`, `product.parent.translation`.custom_fields as `product.parent.translation.customFields`, `product.parent.translation`.created_at as `product.parent.translation.createdAt`, `product.parent.translation`.updated_at as `product.parent.translation.updatedAt`, `product.parent.translation`.product_id as `product.parent.translation.productId`, `product.parent.translation`.language_id as `product.parent.translation.languageId`, `product.parent.translation`.product_version_id as `product.parent.translation.productVersionId` FROM `product_translation` `product.parent.translation` WHERE `product.parent.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id` AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id` LEFT JOIN `unit` `product.unit` ON `product`.`unit` = `product.unit`.`id` LEFT JOIN `delivery_time` `product.deliveryTime` ON `product`.`deliveryTime` = `product.deliveryTime`.`id` LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id` AND `product`.`version_id` = `product.cover`.`version_id` LEFT JOIN (SELECT `product.unit.translation`.unit_id, `product.unit.translation`.short_code as `product.unit.translation.shortCode`, `product.unit.translation`.name as `product.unit.translation.name`, `product.unit.translation`.custom_fields as `product.unit.translation.customFields`, `product.unit.translation`.created_at as `product.unit.translation.createdAt`, `product.unit.translation`.updated_at as `product.unit.translation.updatedAt`, `product.unit.translation`.unit_id as `product.unit.translation.unitId`, `product.unit.translation`.language_id as `product.unit.translation.languageId` FROM `unit_translation` `product.unit.translation` WHERE `product.unit.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.unit.unit_translation` ON `product.unit.unit_translation`.`unit_id` = `product.unit`.`id` LEFT JOIN (SELECT `product.deliveryTime.translation`.delivery_time_id, `product.deliveryTime.translation`.name as `product.deliveryTime.translation.name`, `product.deliveryTime.translation`.custom_fields as `product.deliveryTime.translation.customFields`, `product.deliveryTime.translation`.created_at as `product.deliveryTime.translation.createdAt`, `product.deliveryTime.translation`.updated_at as `product.deliveryTime.translation.updatedAt`, `product.deliveryTime.translation`.delivery_time_id as `product.deliveryTime.translation.deliveryTimeId`, `product.deliveryTime.translation`.language_id as `product.deliveryTime.translation.languageId` FROM `delivery_time_translation` `product.deliveryTime.translation` WHERE `product.deliveryTime.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.deliveryTime.delivery_time_translation` ON `product.deliveryTime.delivery_time_translation`.`delivery_time_id` = `product.deliveryTime`.`id` LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id` LEFT JOIN (SELECT `product.cover.media.translation`.media_id, `product.cover.media.translation`.title as `product.cover.media.translation.title`, `product.cover.media.translation`.alt as `product.cover.media.translation.alt`, `product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`, `product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`, `product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`, `product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`, `product.cover.media.translation`.language_id as `product.cover.media.translation.languageId` FROM `media_translation` `product.cover.media.translation` WHERE `product.cover.media.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id` WHERE (`product`.`version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425) AND (`product`.`id` IN (0x918EC53474924911BF421C9B1C22829E));
array:37 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 242)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 316)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetch (line 148)"
4 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 93)"
5 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::read (line 195)"
6 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::read (line 133)"
7 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 36)"
8 => "Swag\PayPal\Util\Compatibility\SalesChannelRepositoryDecorator::search (line 207)"
9 => "Tds\MerwareDiscounts\Cart\Checkout\OverwrittenPriceCollector::getSalesChannelProduct (line 93)"
10 => "Tds\MerwareDiscounts\Cart\Checkout\OverwrittenPriceCollector::collect (line 103)"
11 => "Shopware\Core\Checkout\Cart\Processor::runProcessors (line 67)"
12 => "Shopware\Core\Checkout\Cart\Processor::Shopware\Core\Checkout\Cart\{closure} (line 59)"
13 => "Shopware\Core\Profiling\Profiler::trace (line 86)"
14 => "Shopware\Core\Checkout\Cart\Processor::process (line 132)"
15 => "Shopware\Core\Checkout\Cart\CartRuleLoader::Shopware\Core\Checkout\Cart\{closure} (line 59)"
16 => "Shopware\Core\Profiling\Profiler::trace (line 183)"
17 => "Shopware\Core\Checkout\Cart\CartRuleLoader::load (line 83)"
18 => "Shopware\Core\Checkout\Cart\CartRuleLoader::loadByToken (line 106)"
19 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::Shopware\Core\System\SalesChannel\Context\{closure} (line 59)"
20 => "Shopware\Core\Profiling\Profiler::trace (line 111)"
21 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::get (line 105)"
22 => "Shopware\Core\Framework\Routing\SalesChannelRequestContextResolver::resolve (line 38)"
23 => "Shopware\Core\Framework\Routing\ContextResolverListener::resolveContext (line 118)"
24 => "Symfony\Component\EventDispatcher\Debug\WrappedListener::__invoke (line 230)"
25 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
26 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
27 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
28 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
29 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
30 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
31 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 151)"
32 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
33 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
34 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
35 => "Shopware\Core\HttpKernel::doHandle (line 81)"
36 => "Shopware\Core\HttpKernel::handle (line 85)"
]
|
126 |
0.55 ms |
SELECT `product_price`.`id` as `product_price.id`, `product_price`.`version_id` as `product_price.versionId`, `product_price`.`product_id` as `product_price.productId`, `product_price`.`product_version_id` as `product_price.productVersionId`, `product_price`.`rule_id` as `product_price.ruleId`, `product_price`.`price` as `product_price.price`, `product_price`.`quantity_start` as `product_price.quantityStart`, `product_price`.`quantity_end` as `product_price.quantityEnd`, `product_price`.`custom_fields` as `product_price.customFields`, `product_price`.`created_at` as `product_price.createdAt`, `product_price`.`updated_at` as `product_price.updatedAt` FROM `product_price` WHERE (`product_price`.`version_id` = :version) AND ((`product_price`.`product_id` IN (:param_33fdfd0fd3a84ae8b78b3a3cfec232a3)))
SELECT `product_price`.`id` as `product_price.id`, `product_price`.`version_id` as `product_price.versionId`, `product_price`.`product_id` as `product_price.productId`, `product_price`.`product_version_id` as `product_price.productVersionId`, `product_price`.`rule_id` as `product_price.ruleId`, `product_price`.`price` as `product_price.price`, `product_price`.`quantity_start` as `product_price.quantityStart`, `product_price`.`quantity_end` as `product_price.quantityEnd`, `product_price`.`custom_fields` as `product_price.customFields`, `product_price`.`created_at` as `product_price.createdAt`, `product_price`.`updated_at` as `product_price.updatedAt` FROM `product_price` WHERE (`product_price`.`version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425) AND ((`product_price`.`product_id` IN (0x918EC53474924911BF421C9B1C22829E, 0x7474565DCCBF4CA0BF976E225D0A58E3)));
array:41 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 242)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 316)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetch (line 148)"
4 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 503)"
5 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::loadOneToManyWithoutPagination (line 438)"
6 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::loadOneToMany (line 1210)"
7 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetchAssociations (line 152)"
8 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 93)"
9 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::read (line 195)"
10 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::read (line 133)"
11 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 36)"
12 => "Swag\PayPal\Util\Compatibility\SalesChannelRepositoryDecorator::search (line 207)"
13 => "Tds\MerwareDiscounts\Cart\Checkout\OverwrittenPriceCollector::getSalesChannelProduct (line 93)"
14 => "Tds\MerwareDiscounts\Cart\Checkout\OverwrittenPriceCollector::collect (line 103)"
15 => "Shopware\Core\Checkout\Cart\Processor::runProcessors (line 67)"
16 => "Shopware\Core\Checkout\Cart\Processor::Shopware\Core\Checkout\Cart\{closure} (line 59)"
17 => "Shopware\Core\Profiling\Profiler::trace (line 86)"
18 => "Shopware\Core\Checkout\Cart\Processor::process (line 132)"
19 => "Shopware\Core\Checkout\Cart\CartRuleLoader::Shopware\Core\Checkout\Cart\{closure} (line 59)"
20 => "Shopware\Core\Profiling\Profiler::trace (line 183)"
21 => "Shopware\Core\Checkout\Cart\CartRuleLoader::load (line 83)"
22 => "Shopware\Core\Checkout\Cart\CartRuleLoader::loadByToken (line 106)"
23 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::Shopware\Core\System\SalesChannel\Context\{closure} (line 59)"
24 => "Shopware\Core\Profiling\Profiler::trace (line 111)"
25 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::get (line 105)"
26 => "Shopware\Core\Framework\Routing\SalesChannelRequestContextResolver::resolve (line 38)"
27 => "Shopware\Core\Framework\Routing\ContextResolverListener::resolveContext (line 118)"
28 => "Symfony\Component\EventDispatcher\Debug\WrappedListener::__invoke (line 230)"
29 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
30 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
31 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
32 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
33 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
34 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
35 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 151)"
36 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
37 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
38 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
39 => "Shopware\Core\HttpKernel::doHandle (line 81)"
40 => "Shopware\Core\HttpKernel::handle (line 85)"
]
|
127 |
1.49 ms |
SELECT `product`.`id`, `product`.`product_number`, `product`.`auto_increment` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN `product_visibility` `product.visibilities` ON `product`.`visibilities` = `product.visibilities`.`product_id` AND `product`.version_id = `product.visibilities`.product_version_id WHERE (`product`.`version_id` = :version) AND ((((`product.visibilities`.`visibility` >= :param_86d92716ab71439aa996349b6be35086) AND `product.visibilities`.`sales_channel_id` = :param_b910c81230c54bb2b3737543663c06d7 AND IFNULL(`product`.`active`, `product.parent`.`active`) = :param_0e855fe357c94f5dbefb46f87cb7e919))) AND (`product`.`id` IN (:ids)) GROUP BY `product`.`id`
SELECT `product`.`id`, `product`.`product_number`, `product`.`auto_increment` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN `product_visibility` `product.visibilities` ON `product`.`visibilities` = `product.visibilities`.`product_id` AND `product`.version_id = `product.visibilities`.product_version_id WHERE (`product`.`version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425) AND ((((`product.visibilities`.`visibility` >= 10) AND `product.visibilities`.`sales_channel_id` = 0x4EB9108BE4654CC9B140D14DE85579E9 AND IFNULL(`product`.`active`, `product.parent`.`active`) = 1))) AND (`product`.`id` IN (0x0D281F6FBC5F4B36926D104DAB40F116)) GROUP BY `product`.`id`;
array:36 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 242)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 107)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntitySearcher::search (line 62)"
4 => "Shopware\Elasticsearch\Framework\DataAbstractionLayer\ElasticsearchEntitySearcher::search (line 216)"
5 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::doSearch (line 122)"
6 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 36)"
7 => "Swag\PayPal\Util\Compatibility\SalesChannelRepositoryDecorator::search (line 207)"
8 => "Tds\MerwareDiscounts\Cart\Checkout\OverwrittenPriceCollector::getSalesChannelProduct (line 93)"
9 => "Tds\MerwareDiscounts\Cart\Checkout\OverwrittenPriceCollector::collect (line 103)"
10 => "Shopware\Core\Checkout\Cart\Processor::runProcessors (line 67)"
11 => "Shopware\Core\Checkout\Cart\Processor::Shopware\Core\Checkout\Cart\{closure} (line 59)"
12 => "Shopware\Core\Profiling\Profiler::trace (line 86)"
13 => "Shopware\Core\Checkout\Cart\Processor::process (line 132)"
14 => "Shopware\Core\Checkout\Cart\CartRuleLoader::Shopware\Core\Checkout\Cart\{closure} (line 59)"
15 => "Shopware\Core\Profiling\Profiler::trace (line 183)"
16 => "Shopware\Core\Checkout\Cart\CartRuleLoader::load (line 83)"
17 => "Shopware\Core\Checkout\Cart\CartRuleLoader::loadByToken (line 106)"
18 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::Shopware\Core\System\SalesChannel\Context\{closure} (line 59)"
19 => "Shopware\Core\Profiling\Profiler::trace (line 111)"
20 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::get (line 105)"
21 => "Shopware\Core\Framework\Routing\SalesChannelRequestContextResolver::resolve (line 38)"
22 => "Shopware\Core\Framework\Routing\ContextResolverListener::resolveContext (line 118)"
23 => "Symfony\Component\EventDispatcher\Debug\WrappedListener::__invoke (line 230)"
24 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
25 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
26 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
27 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
28 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
29 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
30 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 151)"
31 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
32 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
33 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
34 => "Shopware\Core\HttpKernel::doHandle (line 81)"
35 => "Shopware\Core\HttpKernel::handle (line 85)"
]
|
128 |
16.90 ms |
SELECT `product`.`id` as `product.id`, `product`.`version_id` as `product.versionId`, `product`.`parent_id` as `product.parentId`, `product`.`parent_version_id` as `product.parentVersionId`, COALESCE(`product`.`product_manufacturer_id`, `product.parent`.`product_manufacturer_id`) as `product.manufacturerId`, COALESCE(`product`.`product_manufacturer_version_id`, `product.parent`.`product_manufacturer_version_id`) as `product.productManufacturerVersionId`, COALESCE(`product`.`unit_id`, `product.parent`.`unit_id`) as `product.unitId`, COALESCE(`product`.`tax_id`, `product.parent`.`tax_id`) as `product.taxId`, COALESCE(`product`.`product_media_id`, `product.parent`.`product_media_id`) as `product.coverId`, COALESCE(`product`.`product_media_version_id`, `product.parent`.`product_media_version_id`) as `product.productMediaVersionId`, COALESCE(`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`) as `product.deliveryTimeId`, COALESCE(`product`.`product_feature_set_id`, `product.parent`.`product_feature_set_id`) as `product.featureSetId`, COALESCE(`product`.`canonical_product_id`, `product.parent`.`canonical_product_id`) as `product.canonicalProductId`, COALESCE(`product`.`cms_page_id`, `product.parent`.`cms_page_id`) as `product.cmsPageId`, COALESCE(`product`.`cms_page_version_id`, `product.parent`.`cms_page_version_id`) as `product.cmsPageVersionId`, `product.parent`.`price` as `product.price.inherited`, COALESCE(`product`.`price`, `product.parent`.`price`) as `product.price`, `product`.`product_number` as `product.productNumber`, `product`.`stock` as `product.stock`, COALESCE(`product`.`restock_time`, `product.parent`.`restock_time`) as `product.restockTime`, `product`.`auto_increment` as `product.autoIncrement`, COALESCE(`product`.`active`, `product.parent`.`active`) as `product.active`, `product`.`available_stock` as `product.availableStock`, `product`.`available` as `product.available`, COALESCE(`product`.`is_closeout`, `product.parent`.`is_closeout`) as `product.isCloseout`, `product`.`display_group` as `product.displayGroup`, `product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`, COALESCE(`product`.`configurator_group_config`, `product.parent`.`configurator_group_config`) as `product.configuratorGroupConfig`, COALESCE(`product`.`main_variant_id`, `product.parent`.`main_variant_id`) as `product.mainVariantId`, COALESCE(`product`.`display_parent`, `product.parent`.`display_parent`) as `product.displayParent`, `product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`, COALESCE(`product`.`variant_listing_config`, `product.parent`.`variant_listing_config`) as `product.variantListingConfig`, `product`.`variant_restrictions` as `product.variantRestrictions`, COALESCE(`product`.`manufacturer_number`, `product.parent`.`manufacturer_number`) as `product.manufacturerNumber`, COALESCE(`product`.`ean`, `product.parent`.`ean`) as `product.ean`, COALESCE(`product`.`purchase_steps`, `product.parent`.`purchase_steps`) as `product.purchaseSteps`, COALESCE(`product`.`max_purchase`, `product.parent`.`max_purchase`) as `product.maxPurchase`, COALESCE(`product`.`min_purchase`, `product.parent`.`min_purchase`) as `product.minPurchase`, COALESCE(`product`.`purchase_unit`, `product.parent`.`purchase_unit`) as `product.purchaseUnit`, COALESCE(`product`.`reference_unit`, `product.parent`.`reference_unit`) as `product.referenceUnit`, COALESCE(`product`.`shipping_free`, `product.parent`.`shipping_free`) as `product.shippingFree`, `product.parent`.`purchase_prices` as `product.purchasePrices.inherited`, COALESCE(`product`.`purchase_prices`, `product.parent`.`purchase_prices`) as `product.purchasePrices`, COALESCE(`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`) as `product.markAsTopseller`, COALESCE(`product`.`weight`, `product.parent`.`weight`) as `product.weight`, COALESCE(`product`.`width`, `product.parent`.`width`) as `product.width`, COALESCE(`product`.`height`, `product.parent`.`height`) as `product.height`, COALESCE(`product`.`length`, `product.parent`.`length`) as `product.length`, COALESCE(`product`.`release_date`, `product.parent`.`release_date`) as `product.releaseDate`, COALESCE(`product`.`rating_average`, `product.parent`.`rating_average`) as `product.ratingAverage`, `product.parent`.`category_tree` as `product.categoryTree.inherited`, COALESCE(`product`.`category_tree`, `product.parent`.`category_tree`) as `product.categoryTree`, `product.parent`.`property_ids` as `product.propertyIds.inherited`, COALESCE(`product`.`property_ids`, `product.parent`.`property_ids`) as `product.propertyIds`, `product.parent`.`option_ids` as `product.optionIds.inherited`, COALESCE(`product`.`option_ids`, `product.parent`.`option_ids`) as `product.optionIds`, `product.parent`.`stream_ids` as `product.streamIds.inherited`, COALESCE(`product`.`stream_ids`, `product.parent`.`stream_ids`) as `product.streamIds`, `product.parent`.`tag_ids` as `product.tagIds.inherited`, COALESCE(`product`.`tag_ids`, `product.parent`.`tag_ids`) as `product.tagIds`, `product.parent`.`category_ids` as `product.categoryIds.inherited`, COALESCE(`product`.`category_ids`, `product.parent`.`category_ids`) as `product.categoryIds`, `product`.`child_count` as `product.childCount`, COALESCE(`product`.`custom_field_set_selection_active`, `product.parent`.`custom_field_set_selection_active`) as `product.customFieldSetSelectionActive`, `product`.`sales` as `product.sales`, `product`.`states` as `product.states`, `product.tax`.`id` as `product.tax.id`, `product.tax`.`tax_rate` as `product.tax.taxRate`, `product.tax`.`name` as `product.tax.name`, `product.tax`.`position` as `product.tax.position`, `product.tax`.`custom_fields` as `product.tax.customFields`, `product.tax`.`created_at` as `product.tax.createdAt`, `product.tax`.`updated_at` as `product.tax.updatedAt`, `product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`, COALESCE(`product`.`cheapest_price`, `product.parent`.`cheapest_price`) as `product.cheapestPrice`, `product`.`created_at` as `product.createdAt`, `product`.`updated_at` as `product.updatedAt`, `product.unit`.`id` as `product.unit.id`, `product.unit`.`created_at` as `product.unit.createdAt`, `product.unit`.`updated_at` as `product.unit.updatedAt`, `product.unit.translation.shortCode`, COALESCE(`product.unit.translation.shortCode`,`product.unit.translation.shortCode`) as `product.unit.shortCode`, `product.unit.translation.name`, COALESCE(`product.unit.translation.name`,`product.unit.translation.name`) as `product.unit.name`, `product.unit.translation.customFields`, COALESCE(`product.unit.translation.customFields`,`product.unit.translation.customFields`) as `product.unit.customFields`, `product.unit.translation.createdAt`, `product.unit.translation.updatedAt`, `product.unit.translation.unitId`, `product.unit.translation.languageId`, `product.deliveryTime`.`id` as `product.deliveryTime.id`, `product.deliveryTime`.`min` as `product.deliveryTime.min`, `product.deliveryTime`.`max` as `product.deliveryTime.max`, `product.deliveryTime`.`unit` as `product.deliveryTime.unit`, `product.deliveryTime`.`created_at` as `product.deliveryTime.createdAt`, `product.deliveryTime`.`updated_at` as `product.deliveryTime.updatedAt`, `product.deliveryTime.translation.name`, COALESCE(`product.deliveryTime.translation.name`,`product.deliveryTime.translation.name`) as `product.deliveryTime.name`, `product.deliveryTime.translation.customFields`, COALESCE(`product.deliveryTime.translation.customFields`,`product.deliveryTime.translation.customFields`) as `product.deliveryTime.customFields`, `product.deliveryTime.translation.createdAt`, `product.deliveryTime.translation.updatedAt`, `product.deliveryTime.translation.deliveryTimeId`, `product.deliveryTime.translation.languageId`, `product.cover`.`id` as `product.cover.id`, `product.cover`.`version_id` as `product.cover.versionId`, `product.cover`.`product_id` as `product.cover.productId`, `product.cover`.`product_version_id` as `product.cover.productVersionId`, `product.cover`.`media_id` as `product.cover.mediaId`, `product.cover`.`position` as `product.cover.position`, `product.cover.media`.`id` as `product.cover.media.id`, `product.cover.media`.`user_id` as `product.cover.media.userId`, `product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`, `product.cover.media`.`mime_type` as `product.cover.media.mimeType`, `product.cover.media`.`file_extension` as `product.cover.media.fileExtension`, `product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`, `product.cover.media`.`file_name` as `product.cover.media.fileName`, `product.cover.media`.`file_size` as `product.cover.media.fileSize`, `product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`, `product.cover.media`.`meta_data` as `product.cover.media.metaData`, `product.cover.media`.`private` as `product.cover.media.private`, `product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`, `product.cover.media`.`created_at` as `product.cover.media.createdAt`, `product.cover.media`.`updated_at` as `product.cover.media.updatedAt`, `product.cover.media.translation.title`, COALESCE(`product.cover.media.translation.title`,`product.cover.media.translation.title`) as `product.cover.media.title`, `product.cover.media.translation.alt`, COALESCE(`product.cover.media.translation.alt`,`product.cover.media.translation.alt`) as `product.cover.media.alt`, `product.cover.media.translation.customFields`, COALESCE(`product.cover.media.translation.customFields`,`product.cover.media.translation.customFields`) as `product.cover.media.customFields`, `product.cover.media.translation.createdAt`, `product.cover.media.translation.updatedAt`, `product.cover.media.translation.mediaId`, `product.cover.media.translation.languageId`, `product.cover`.`custom_fields` as `product.cover.customFields`, `product.cover`.`created_at` as `product.cover.createdAt`, `product.cover`.`updated_at` as `product.cover.updatedAt`, `product.translation.metaDescription`, `product.parent.translation.metaDescription`, COALESCE(`product.translation.metaDescription`,`product.parent.translation.metaDescription`,`product.translation.metaDescription`) as `product.metaDescription`, `product.translation.name`, `product.parent.translation.name`, COALESCE(`product.translation.name`,`product.parent.translation.name`,`product.translation.name`) as `product.name`, `product.translation.keywords`, `product.parent.translation.keywords`, COALESCE(`product.translation.keywords`,`product.parent.translation.keywords`,`product.translation.keywords`) as `product.keywords`, `product.translation.description`, `product.parent.translation.description`, COALESCE(`product.translation.description`,`product.parent.translation.description`,`product.translation.description`) as `product.description`, `product.translation.metaTitle`, `product.parent.translation.metaTitle`, COALESCE(`product.translation.metaTitle`,`product.parent.translation.metaTitle`,`product.translation.metaTitle`) as `product.metaTitle`, `product.translation.packUnit`, `product.parent.translation.packUnit`, COALESCE(`product.translation.packUnit`,`product.parent.translation.packUnit`,`product.translation.packUnit`) as `product.packUnit`, `product.translation.packUnitPlural`, `product.parent.translation.packUnitPlural`, COALESCE(`product.translation.packUnitPlural`,`product.parent.translation.packUnitPlural`,`product.translation.packUnitPlural`) as `product.packUnitPlural`, `product.translation.customSearchKeywords`, `product.parent.translation.customSearchKeywords`, COALESCE(`product.translation.customSearchKeywords`,`product.parent.translation.customSearchKeywords`,`product.translation.customSearchKeywords`) as `product.customSearchKeywords`, `product.translation.slotConfig`, `product.parent.translation.slotConfig`, COALESCE(`product.translation.slotConfig`,`product.parent.translation.slotConfig`,`product.translation.slotConfig`) as `product.slotConfig`, `product.translation.customFields`, `product.parent.translation.customFields`, COALESCE(`product.translation.customFields`,`product.parent.translation.customFields`,`product.translation.customFields`) as `product.customFields`, `product.translation.createdAt`, `product.parent.translation.createdAt`, `product.translation.updatedAt`, `product.parent.translation.updatedAt`, `product.translation.productId`, `product.parent.translation.productId`, `product.translation.languageId`, `product.parent.translation.languageId`, `product.translation.productVersionId`, `product.parent.translation.productVersionId` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN (SELECT `product.translation`.product_id, `product.translation`.product_version_id, `product.translation`.meta_description as `product.translation.metaDescription`, `product.translation`.name as `product.translation.name`, `product.translation`.keywords as `product.translation.keywords`, `product.translation`.description as `product.translation.description`, `product.translation`.meta_title as `product.translation.metaTitle`, `product.translation`.pack_unit as `product.translation.packUnit`, `product.translation`.pack_unit_plural as `product.translation.packUnitPlural`, `product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`, `product.translation`.slot_config as `product.translation.slotConfig`, `product.translation`.custom_fields as `product.translation.customFields`, `product.translation`.created_at as `product.translation.createdAt`, `product.translation`.updated_at as `product.translation.updatedAt`, `product.translation`.product_id as `product.translation.productId`, `product.translation`.language_id as `product.translation.languageId`, `product.translation`.product_version_id as `product.translation.productVersionId` FROM `product_translation` `product.translation` WHERE `product.translation`.language_id = :languageId) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id` AND `product.product_translation`.product_version_id = `product`.version_id LEFT JOIN (SELECT `product.parent.translation`.product_id, `product.parent.translation`.product_version_id, `product.parent.translation`.meta_description as `product.parent.translation.metaDescription`, `product.parent.translation`.name as `product.parent.translation.name`, `product.parent.translation`.keywords as `product.parent.translation.keywords`, `product.parent.translation`.description as `product.parent.translation.description`, `product.parent.translation`.meta_title as `product.parent.translation.metaTitle`, `product.parent.translation`.pack_unit as `product.parent.translation.packUnit`, `product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`, `product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`, `product.parent.translation`.slot_config as `product.parent.translation.slotConfig`, `product.parent.translation`.custom_fields as `product.parent.translation.customFields`, `product.parent.translation`.created_at as `product.parent.translation.createdAt`, `product.parent.translation`.updated_at as `product.parent.translation.updatedAt`, `product.parent.translation`.product_id as `product.parent.translation.productId`, `product.parent.translation`.language_id as `product.parent.translation.languageId`, `product.parent.translation`.product_version_id as `product.parent.translation.productVersionId` FROM `product_translation` `product.parent.translation` WHERE `product.parent.translation`.language_id = :languageId) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id` AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id` LEFT JOIN `unit` `product.unit` ON `product`.`unit` = `product.unit`.`id` LEFT JOIN `delivery_time` `product.deliveryTime` ON `product`.`deliveryTime` = `product.deliveryTime`.`id` LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id` AND `product`.`version_id` = `product.cover`.`version_id` LEFT JOIN (SELECT `product.unit.translation`.unit_id, `product.unit.translation`.short_code as `product.unit.translation.shortCode`, `product.unit.translation`.name as `product.unit.translation.name`, `product.unit.translation`.custom_fields as `product.unit.translation.customFields`, `product.unit.translation`.created_at as `product.unit.translation.createdAt`, `product.unit.translation`.updated_at as `product.unit.translation.updatedAt`, `product.unit.translation`.unit_id as `product.unit.translation.unitId`, `product.unit.translation`.language_id as `product.unit.translation.languageId` FROM `unit_translation` `product.unit.translation` WHERE `product.unit.translation`.language_id = :languageId) `product.unit.unit_translation` ON `product.unit.unit_translation`.`unit_id` = `product.unit`.`id` LEFT JOIN (SELECT `product.deliveryTime.translation`.delivery_time_id, `product.deliveryTime.translation`.name as `product.deliveryTime.translation.name`, `product.deliveryTime.translation`.custom_fields as `product.deliveryTime.translation.customFields`, `product.deliveryTime.translation`.created_at as `product.deliveryTime.translation.createdAt`, `product.deliveryTime.translation`.updated_at as `product.deliveryTime.translation.updatedAt`, `product.deliveryTime.translation`.delivery_time_id as `product.deliveryTime.translation.deliveryTimeId`, `product.deliveryTime.translation`.language_id as `product.deliveryTime.translation.languageId` FROM `delivery_time_translation` `product.deliveryTime.translation` WHERE `product.deliveryTime.translation`.language_id = :languageId) `product.deliveryTime.delivery_time_translation` ON `product.deliveryTime.delivery_time_translation`.`delivery_time_id` = `product.deliveryTime`.`id` LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id` LEFT JOIN (SELECT `product.cover.media.translation`.media_id, `product.cover.media.translation`.title as `product.cover.media.translation.title`, `product.cover.media.translation`.alt as `product.cover.media.translation.alt`, `product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`, `product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`, `product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`, `product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`, `product.cover.media.translation`.language_id as `product.cover.media.translation.languageId` FROM `media_translation` `product.cover.media.translation` WHERE `product.cover.media.translation`.language_id = :languageId) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id` WHERE (`product`.`version_id` = :version) AND (`product`.`id` IN (:ids))
SELECT
`product`.`id` as `product.id`,
`product`.`version_id` as `product.versionId`,
`product`.`parent_id` as `product.parentId`,
`product`.`parent_version_id` as `product.parentVersionId`,
COALESCE(
`product`.`product_manufacturer_id`,
`product.parent`.`product_manufacturer_id`
) as `product.manufacturerId`,
COALESCE(
`product`.`product_manufacturer_version_id`,
`product.parent`.`product_manufacturer_version_id`
) as `product.productManufacturerVersionId`,
COALESCE(
`product`.`unit_id`, `product.parent`.`unit_id`
) as `product.unitId`,
COALESCE(
`product`.`tax_id`, `product.parent`.`tax_id`
) as `product.taxId`,
COALESCE(
`product`.`product_media_id`, `product.parent`.`product_media_id`
) as `product.coverId`,
COALESCE(
`product`.`product_media_version_id`,
`product.parent`.`product_media_version_id`
) as `product.productMediaVersionId`,
COALESCE(
`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`
) as `product.deliveryTimeId`,
COALESCE(
`product`.`product_feature_set_id`,
`product.parent`.`product_feature_set_id`
) as `product.featureSetId`,
COALESCE(
`product`.`canonical_product_id`,
`product.parent`.`canonical_product_id`
) as `product.canonicalProductId`,
COALESCE(
`product`.`cms_page_id`, `product.parent`.`cms_page_id`
) as `product.cmsPageId`,
COALESCE(
`product`.`cms_page_version_id`,
`product.parent`.`cms_page_version_id`
) as `product.cmsPageVersionId`,
`product.parent`.`price` as `product.price.inherited`,
COALESCE(
`product`.`price`, `product.parent`.`price`
) as `product.price`,
`product`.`product_number` as `product.productNumber`,
`product`.`stock` as `product.stock`,
COALESCE(
`product`.`restock_time`, `product.parent`.`restock_time`
) as `product.restockTime`,
`product`.`auto_increment` as `product.autoIncrement`,
COALESCE(
`product`.`active`, `product.parent`.`active`
) as `product.active`,
`product`.`available_stock` as `product.availableStock`,
`product`.`available` as `product.available`,
COALESCE(
`product`.`is_closeout`, `product.parent`.`is_closeout`
) as `product.isCloseout`,
`product`.`display_group` as `product.displayGroup`,
`product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`,
COALESCE(
`product`.`configurator_group_config`,
`product.parent`.`configurator_group_config`
) as `product.configuratorGroupConfig`,
COALESCE(
`product`.`main_variant_id`, `product.parent`.`main_variant_id`
) as `product.mainVariantId`,
COALESCE(
`product`.`display_parent`, `product.parent`.`display_parent`
) as `product.displayParent`,
`product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`,
COALESCE(
`product`.`variant_listing_config`,
`product.parent`.`variant_listing_config`
) as `product.variantListingConfig`,
`product`.`variant_restrictions` as `product.variantRestrictions`,
COALESCE(
`product`.`manufacturer_number`,
`product.parent`.`manufacturer_number`
) as `product.manufacturerNumber`,
COALESCE(
`product`.`ean`, `product.parent`.`ean`
) as `product.ean`,
COALESCE(
`product`.`purchase_steps`, `product.parent`.`purchase_steps`
) as `product.purchaseSteps`,
COALESCE(
`product`.`max_purchase`, `product.parent`.`max_purchase`
) as `product.maxPurchase`,
COALESCE(
`product`.`min_purchase`, `product.parent`.`min_purchase`
) as `product.minPurchase`,
COALESCE(
`product`.`purchase_unit`, `product.parent`.`purchase_unit`
) as `product.purchaseUnit`,
COALESCE(
`product`.`reference_unit`, `product.parent`.`reference_unit`
) as `product.referenceUnit`,
COALESCE(
`product`.`shipping_free`, `product.parent`.`shipping_free`
) as `product.shippingFree`,
`product.parent`.`purchase_prices` as `product.purchasePrices.inherited`,
COALESCE(
`product`.`purchase_prices`, `product.parent`.`purchase_prices`
) as `product.purchasePrices`,
COALESCE(
`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`
) as `product.markAsTopseller`,
COALESCE(
`product`.`weight`, `product.parent`.`weight`
) as `product.weight`,
COALESCE(
`product`.`width`, `product.parent`.`width`
) as `product.width`,
COALESCE(
`product`.`height`, `product.parent`.`height`
) as `product.height`,
COALESCE(
`product`.`length`, `product.parent`.`length`
) as `product.length`,
COALESCE(
`product`.`release_date`, `product.parent`.`release_date`
) as `product.releaseDate`,
COALESCE(
`product`.`rating_average`, `product.parent`.`rating_average`
) as `product.ratingAverage`,
`product.parent`.`category_tree` as `product.categoryTree.inherited`,
COALESCE(
`product`.`category_tree`, `product.parent`.`category_tree`
) as `product.categoryTree`,
`product.parent`.`property_ids` as `product.propertyIds.inherited`,
COALESCE(
`product`.`property_ids`, `product.parent`.`property_ids`
) as `product.propertyIds`,
`product.parent`.`option_ids` as `product.optionIds.inherited`,
COALESCE(
`product`.`option_ids`, `product.parent`.`option_ids`
) as `product.optionIds`,
`product.parent`.`stream_ids` as `product.streamIds.inherited`,
COALESCE(
`product`.`stream_ids`, `product.parent`.`stream_ids`
) as `product.streamIds`,
`product.parent`.`tag_ids` as `product.tagIds.inherited`,
COALESCE(
`product`.`tag_ids`, `product.parent`.`tag_ids`
) as `product.tagIds`,
`product.parent`.`category_ids` as `product.categoryIds.inherited`,
COALESCE(
`product`.`category_ids`, `product.parent`.`category_ids`
) as `product.categoryIds`,
`product`.`child_count` as `product.childCount`,
COALESCE(
`product`.`custom_field_set_selection_active`,
`product.parent`.`custom_field_set_selection_active`
) as `product.customFieldSetSelectionActive`,
`product`.`sales` as `product.sales`,
`product`.`states` as `product.states`,
`product.tax`.`id` as `product.tax.id`,
`product.tax`.`tax_rate` as `product.tax.taxRate`,
`product.tax`.`name` as `product.tax.name`,
`product.tax`.`position` as `product.tax.position`,
`product.tax`.`custom_fields` as `product.tax.customFields`,
`product.tax`.`created_at` as `product.tax.createdAt`,
`product.tax`.`updated_at` as `product.tax.updatedAt`,
`product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`,
COALESCE(
`product`.`cheapest_price`, `product.parent`.`cheapest_price`
) as `product.cheapestPrice`,
`product`.`created_at` as `product.createdAt`,
`product`.`updated_at` as `product.updatedAt`,
`product.unit`.`id` as `product.unit.id`,
`product.unit`.`created_at` as `product.unit.createdAt`,
`product.unit`.`updated_at` as `product.unit.updatedAt`,
`product.unit.translation.shortCode`,
COALESCE(
`product.unit.translation.shortCode`,
`product.unit.translation.shortCode`
) as `product.unit.shortCode`,
`product.unit.translation.name`,
COALESCE(
`product.unit.translation.name`,
`product.unit.translation.name`
) as `product.unit.name`,
`product.unit.translation.customFields`,
COALESCE(
`product.unit.translation.customFields`,
`product.unit.translation.customFields`
) as `product.unit.customFields`,
`product.unit.translation.createdAt`,
`product.unit.translation.updatedAt`,
`product.unit.translation.unitId`,
`product.unit.translation.languageId`,
`product.deliveryTime`.`id` as `product.deliveryTime.id`,
`product.deliveryTime`.`min` as `product.deliveryTime.min`,
`product.deliveryTime`.`max` as `product.deliveryTime.max`,
`product.deliveryTime`.`unit` as `product.deliveryTime.unit`,
`product.deliveryTime`.`created_at` as `product.deliveryTime.createdAt`,
`product.deliveryTime`.`updated_at` as `product.deliveryTime.updatedAt`,
`product.deliveryTime.translation.name`,
COALESCE(
`product.deliveryTime.translation.name`,
`product.deliveryTime.translation.name`
) as `product.deliveryTime.name`,
`product.deliveryTime.translation.customFields`,
COALESCE(
`product.deliveryTime.translation.customFields`,
`product.deliveryTime.translation.customFields`
) as `product.deliveryTime.customFields`,
`product.deliveryTime.translation.createdAt`,
`product.deliveryTime.translation.updatedAt`,
`product.deliveryTime.translation.deliveryTimeId`,
`product.deliveryTime.translation.languageId`,
`product.cover`.`id` as `product.cover.id`,
`product.cover`.`version_id` as `product.cover.versionId`,
`product.cover`.`product_id` as `product.cover.productId`,
`product.cover`.`product_version_id` as `product.cover.productVersionId`,
`product.cover`.`media_id` as `product.cover.mediaId`,
`product.cover`.`position` as `product.cover.position`,
`product.cover.media`.`id` as `product.cover.media.id`,
`product.cover.media`.`user_id` as `product.cover.media.userId`,
`product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`,
`product.cover.media`.`mime_type` as `product.cover.media.mimeType`,
`product.cover.media`.`file_extension` as `product.cover.media.fileExtension`,
`product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`,
`product.cover.media`.`file_name` as `product.cover.media.fileName`,
`product.cover.media`.`file_size` as `product.cover.media.fileSize`,
`product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`,
`product.cover.media`.`meta_data` as `product.cover.media.metaData`,
`product.cover.media`.`private` as `product.cover.media.private`,
`product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`,
`product.cover.media`.`created_at` as `product.cover.media.createdAt`,
`product.cover.media`.`updated_at` as `product.cover.media.updatedAt`,
`product.cover.media.translation.title`,
COALESCE(
`product.cover.media.translation.title`,
`product.cover.media.translation.title`
) as `product.cover.media.title`,
`product.cover.media.translation.alt`,
COALESCE(
`product.cover.media.translation.alt`,
`product.cover.media.translation.alt`
) as `product.cover.media.alt`,
`product.cover.media.translation.customFields`,
COALESCE(
`product.cover.media.translation.customFields`,
`product.cover.media.translation.customFields`
) as `product.cover.media.customFields`,
`product.cover.media.translation.createdAt`,
`product.cover.media.translation.updatedAt`,
`product.cover.media.translation.mediaId`,
`product.cover.media.translation.languageId`,
`product.cover`.`custom_fields` as `product.cover.customFields`,
`product.cover`.`created_at` as `product.cover.createdAt`,
`product.cover`.`updated_at` as `product.cover.updatedAt`,
`product.translation.metaDescription`,
`product.parent.translation.metaDescription`,
COALESCE(
`product.translation.metaDescription`,
`product.parent.translation.metaDescription`,
`product.translation.metaDescription`
) as `product.metaDescription`,
`product.translation.name`,
`product.parent.translation.name`,
COALESCE(
`product.translation.name`, `product.parent.translation.name`,
`product.translation.name`
) as `product.name`,
`product.translation.keywords`,
`product.parent.translation.keywords`,
COALESCE(
`product.translation.keywords`,
`product.parent.translation.keywords`,
`product.translation.keywords`
) as `product.keywords`,
`product.translation.description`,
`product.parent.translation.description`,
COALESCE(
`product.translation.description`,
`product.parent.translation.description`,
`product.translation.description`
) as `product.description`,
`product.translation.metaTitle`,
`product.parent.translation.metaTitle`,
COALESCE(
`product.translation.metaTitle`,
`product.parent.translation.metaTitle`,
`product.translation.metaTitle`
) as `product.metaTitle`,
`product.translation.packUnit`,
`product.parent.translation.packUnit`,
COALESCE(
`product.translation.packUnit`,
`product.parent.translation.packUnit`,
`product.translation.packUnit`
) as `product.packUnit`,
`product.translation.packUnitPlural`,
`product.parent.translation.packUnitPlural`,
COALESCE(
`product.translation.packUnitPlural`,
`product.parent.translation.packUnitPlural`,
`product.translation.packUnitPlural`
) as `product.packUnitPlural`,
`product.translation.customSearchKeywords`,
`product.parent.translation.customSearchKeywords`,
COALESCE(
`product.translation.customSearchKeywords`,
`product.parent.translation.customSearchKeywords`,
`product.translation.customSearchKeywords`
) as `product.customSearchKeywords`,
`product.translation.slotConfig`,
`product.parent.translation.slotConfig`,
COALESCE(
`product.translation.slotConfig`,
`product.parent.translation.slotConfig`,
`product.translation.slotConfig`
) as `product.slotConfig`,
`product.translation.customFields`,
`product.parent.translation.customFields`,
COALESCE(
`product.translation.customFields`,
`product.parent.translation.customFields`,
`product.translation.customFields`
) as `product.customFields`,
`product.translation.createdAt`,
`product.parent.translation.createdAt`,
`product.translation.updatedAt`,
`product.parent.translation.updatedAt`,
`product.translation.productId`,
`product.parent.translation.productId`,
`product.translation.languageId`,
`product.parent.translation.languageId`,
`product.translation.productVersionId`,
`product.parent.translation.productVersionId`
FROM
`product`
LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id`
AND `product`.`version_id` = `product.parent`.`version_id`
LEFT JOIN (
SELECT
`product.translation`.product_id,
`product.translation`.product_version_id,
`product.translation`.meta_description as `product.translation.metaDescription`,
`product.translation`.name as `product.translation.name`,
`product.translation`.keywords as `product.translation.keywords`,
`product.translation`.description as `product.translation.description`,
`product.translation`.meta_title as `product.translation.metaTitle`,
`product.translation`.pack_unit as `product.translation.packUnit`,
`product.translation`.pack_unit_plural as `product.translation.packUnitPlural`,
`product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`,
`product.translation`.slot_config as `product.translation.slotConfig`,
`product.translation`.custom_fields as `product.translation.customFields`,
`product.translation`.created_at as `product.translation.createdAt`,
`product.translation`.updated_at as `product.translation.updatedAt`,
`product.translation`.product_id as `product.translation.productId`,
`product.translation`.language_id as `product.translation.languageId`,
`product.translation`.product_version_id as `product.translation.productVersionId`
FROM
`product_translation` `product.translation`
WHERE
`product.translation`.language_id = : languageId
) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id`
AND `product.product_translation`.product_version_id = `product`.version_id
LEFT JOIN (
SELECT
`product.parent.translation`.product_id,
`product.parent.translation`.product_version_id,
`product.parent.translation`.meta_description as `product.parent.translation.metaDescription`,
`product.parent.translation`.name as `product.parent.translation.name`,
`product.parent.translation`.keywords as `product.parent.translation.keywords`,
`product.parent.translation`.description as `product.parent.translation.description`,
`product.parent.translation`.meta_title as `product.parent.translation.metaTitle`,
`product.parent.translation`.pack_unit as `product.parent.translation.packUnit`,
`product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`,
`product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`,
`product.parent.translation`.slot_config as `product.parent.translation.slotConfig`,
`product.parent.translation`.custom_fields as `product.parent.translation.customFields`,
`product.parent.translation`.created_at as `product.parent.translation.createdAt`,
`product.parent.translation`.updated_at as `product.parent.translation.updatedAt`,
`product.parent.translation`.product_id as `product.parent.translation.productId`,
`product.parent.translation`.language_id as `product.parent.translation.languageId`,
`product.parent.translation`.product_version_id as `product.parent.translation.productVersionId`
FROM
`product_translation` `product.parent.translation`
WHERE
`product.parent.translation`.language_id = : languageId
) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id`
AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id
LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id`
LEFT JOIN `unit` `product.unit` ON `product`.`unit` = `product.unit`.`id`
LEFT JOIN `delivery_time` `product.deliveryTime` ON `product`.`deliveryTime` = `product.deliveryTime`.`id`
LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id`
AND `product`.`version_id` = `product.cover`.`version_id`
LEFT JOIN (
SELECT
`product.unit.translation`.unit_id,
`product.unit.translation`.short_code as `product.unit.translation.shortCode`,
`product.unit.translation`.name as `product.unit.translation.name`,
`product.unit.translation`.custom_fields as `product.unit.translation.customFields`,
`product.unit.translation`.created_at as `product.unit.translation.createdAt`,
`product.unit.translation`.updated_at as `product.unit.translation.updatedAt`,
`product.unit.translation`.unit_id as `product.unit.translation.unitId`,
`product.unit.translation`.language_id as `product.unit.translation.languageId`
FROM
`unit_translation` `product.unit.translation`
WHERE
`product.unit.translation`.language_id = : languageId
) `product.unit.unit_translation` ON `product.unit.unit_translation`.`unit_id` = `product.unit`.`id`
LEFT JOIN (
SELECT
`product.deliveryTime.translation`.delivery_time_id,
`product.deliveryTime.translation`.name as `product.deliveryTime.translation.name`,
`product.deliveryTime.translation`.custom_fields as `product.deliveryTime.translation.customFields`,
`product.deliveryTime.translation`.created_at as `product.deliveryTime.translation.createdAt`,
`product.deliveryTime.translation`.updated_at as `product.deliveryTime.translation.updatedAt`,
`product.deliveryTime.translation`.delivery_time_id as `product.deliveryTime.translation.deliveryTimeId`,
`product.deliveryTime.translation`.language_id as `product.deliveryTime.translation.languageId`
FROM
`delivery_time_translation` `product.deliveryTime.translation`
WHERE
`product.deliveryTime.translation`.language_id = : languageId
) `product.deliveryTime.delivery_time_translation` ON `product.deliveryTime.delivery_time_translation`.`delivery_time_id` = `product.deliveryTime`.`id`
LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id`
LEFT JOIN (
SELECT
`product.cover.media.translation`.media_id,
`product.cover.media.translation`.title as `product.cover.media.translation.title`,
`product.cover.media.translation`.alt as `product.cover.media.translation.alt`,
`product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`,
`product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`,
`product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`,
`product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`,
`product.cover.media.translation`.language_id as `product.cover.media.translation.languageId`
FROM
`media_translation` `product.cover.media.translation`
WHERE
`product.cover.media.translation`.language_id = : languageId
) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id`
WHERE
(
`product`.`version_id` = : version
)
AND (
`product`.`id` IN (: ids)
)
SELECT `product`.`id` as `product.id`, `product`.`version_id` as `product.versionId`, `product`.`parent_id` as `product.parentId`, `product`.`parent_version_id` as `product.parentVersionId`, COALESCE(`product`.`product_manufacturer_id`, `product.parent`.`product_manufacturer_id`) as `product.manufacturerId`, COALESCE(`product`.`product_manufacturer_version_id`, `product.parent`.`product_manufacturer_version_id`) as `product.productManufacturerVersionId`, COALESCE(`product`.`unit_id`, `product.parent`.`unit_id`) as `product.unitId`, COALESCE(`product`.`tax_id`, `product.parent`.`tax_id`) as `product.taxId`, COALESCE(`product`.`product_media_id`, `product.parent`.`product_media_id`) as `product.coverId`, COALESCE(`product`.`product_media_version_id`, `product.parent`.`product_media_version_id`) as `product.productMediaVersionId`, COALESCE(`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`) as `product.deliveryTimeId`, COALESCE(`product`.`product_feature_set_id`, `product.parent`.`product_feature_set_id`) as `product.featureSetId`, COALESCE(`product`.`canonical_product_id`, `product.parent`.`canonical_product_id`) as `product.canonicalProductId`, COALESCE(`product`.`cms_page_id`, `product.parent`.`cms_page_id`) as `product.cmsPageId`, COALESCE(`product`.`cms_page_version_id`, `product.parent`.`cms_page_version_id`) as `product.cmsPageVersionId`, `product.parent`.`price` as `product.price.inherited`, COALESCE(`product`.`price`, `product.parent`.`price`) as `product.price`, `product`.`product_number` as `product.productNumber`, `product`.`stock` as `product.stock`, COALESCE(`product`.`restock_time`, `product.parent`.`restock_time`) as `product.restockTime`, `product`.`auto_increment` as `product.autoIncrement`, COALESCE(`product`.`active`, `product.parent`.`active`) as `product.active`, `product`.`available_stock` as `product.availableStock`, `product`.`available` as `product.available`, COALESCE(`product`.`is_closeout`, `product.parent`.`is_closeout`) as `product.isCloseout`, `product`.`display_group` as `product.displayGroup`, `product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`, COALESCE(`product`.`configurator_group_config`, `product.parent`.`configurator_group_config`) as `product.configuratorGroupConfig`, COALESCE(`product`.`main_variant_id`, `product.parent`.`main_variant_id`) as `product.mainVariantId`, COALESCE(`product`.`display_parent`, `product.parent`.`display_parent`) as `product.displayParent`, `product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`, COALESCE(`product`.`variant_listing_config`, `product.parent`.`variant_listing_config`) as `product.variantListingConfig`, `product`.`variant_restrictions` as `product.variantRestrictions`, COALESCE(`product`.`manufacturer_number`, `product.parent`.`manufacturer_number`) as `product.manufacturerNumber`, COALESCE(`product`.`ean`, `product.parent`.`ean`) as `product.ean`, COALESCE(`product`.`purchase_steps`, `product.parent`.`purchase_steps`) as `product.purchaseSteps`, COALESCE(`product`.`max_purchase`, `product.parent`.`max_purchase`) as `product.maxPurchase`, COALESCE(`product`.`min_purchase`, `product.parent`.`min_purchase`) as `product.minPurchase`, COALESCE(`product`.`purchase_unit`, `product.parent`.`purchase_unit`) as `product.purchaseUnit`, COALESCE(`product`.`reference_unit`, `product.parent`.`reference_unit`) as `product.referenceUnit`, COALESCE(`product`.`shipping_free`, `product.parent`.`shipping_free`) as `product.shippingFree`, `product.parent`.`purchase_prices` as `product.purchasePrices.inherited`, COALESCE(`product`.`purchase_prices`, `product.parent`.`purchase_prices`) as `product.purchasePrices`, COALESCE(`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`) as `product.markAsTopseller`, COALESCE(`product`.`weight`, `product.parent`.`weight`) as `product.weight`, COALESCE(`product`.`width`, `product.parent`.`width`) as `product.width`, COALESCE(`product`.`height`, `product.parent`.`height`) as `product.height`, COALESCE(`product`.`length`, `product.parent`.`length`) as `product.length`, COALESCE(`product`.`release_date`, `product.parent`.`release_date`) as `product.releaseDate`, COALESCE(`product`.`rating_average`, `product.parent`.`rating_average`) as `product.ratingAverage`, `product.parent`.`category_tree` as `product.categoryTree.inherited`, COALESCE(`product`.`category_tree`, `product.parent`.`category_tree`) as `product.categoryTree`, `product.parent`.`property_ids` as `product.propertyIds.inherited`, COALESCE(`product`.`property_ids`, `product.parent`.`property_ids`) as `product.propertyIds`, `product.parent`.`option_ids` as `product.optionIds.inherited`, COALESCE(`product`.`option_ids`, `product.parent`.`option_ids`) as `product.optionIds`, `product.parent`.`stream_ids` as `product.streamIds.inherited`, COALESCE(`product`.`stream_ids`, `product.parent`.`stream_ids`) as `product.streamIds`, `product.parent`.`tag_ids` as `product.tagIds.inherited`, COALESCE(`product`.`tag_ids`, `product.parent`.`tag_ids`) as `product.tagIds`, `product.parent`.`category_ids` as `product.categoryIds.inherited`, COALESCE(`product`.`category_ids`, `product.parent`.`category_ids`) as `product.categoryIds`, `product`.`child_count` as `product.childCount`, COALESCE(`product`.`custom_field_set_selection_active`, `product.parent`.`custom_field_set_selection_active`) as `product.customFieldSetSelectionActive`, `product`.`sales` as `product.sales`, `product`.`states` as `product.states`, `product.tax`.`id` as `product.tax.id`, `product.tax`.`tax_rate` as `product.tax.taxRate`, `product.tax`.`name` as `product.tax.name`, `product.tax`.`position` as `product.tax.position`, `product.tax`.`custom_fields` as `product.tax.customFields`, `product.tax`.`created_at` as `product.tax.createdAt`, `product.tax`.`updated_at` as `product.tax.updatedAt`, `product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`, COALESCE(`product`.`cheapest_price`, `product.parent`.`cheapest_price`) as `product.cheapestPrice`, `product`.`created_at` as `product.createdAt`, `product`.`updated_at` as `product.updatedAt`, `product.unit`.`id` as `product.unit.id`, `product.unit`.`created_at` as `product.unit.createdAt`, `product.unit`.`updated_at` as `product.unit.updatedAt`, `product.unit.translation.shortCode`, COALESCE(`product.unit.translation.shortCode`,`product.unit.translation.shortCode`) as `product.unit.shortCode`, `product.unit.translation.name`, COALESCE(`product.unit.translation.name`,`product.unit.translation.name`) as `product.unit.name`, `product.unit.translation.customFields`, COALESCE(`product.unit.translation.customFields`,`product.unit.translation.customFields`) as `product.unit.customFields`, `product.unit.translation.createdAt`, `product.unit.translation.updatedAt`, `product.unit.translation.unitId`, `product.unit.translation.languageId`, `product.deliveryTime`.`id` as `product.deliveryTime.id`, `product.deliveryTime`.`min` as `product.deliveryTime.min`, `product.deliveryTime`.`max` as `product.deliveryTime.max`, `product.deliveryTime`.`unit` as `product.deliveryTime.unit`, `product.deliveryTime`.`created_at` as `product.deliveryTime.createdAt`, `product.deliveryTime`.`updated_at` as `product.deliveryTime.updatedAt`, `product.deliveryTime.translation.name`, COALESCE(`product.deliveryTime.translation.name`,`product.deliveryTime.translation.name`) as `product.deliveryTime.name`, `product.deliveryTime.translation.customFields`, COALESCE(`product.deliveryTime.translation.customFields`,`product.deliveryTime.translation.customFields`) as `product.deliveryTime.customFields`, `product.deliveryTime.translation.createdAt`, `product.deliveryTime.translation.updatedAt`, `product.deliveryTime.translation.deliveryTimeId`, `product.deliveryTime.translation.languageId`, `product.cover`.`id` as `product.cover.id`, `product.cover`.`version_id` as `product.cover.versionId`, `product.cover`.`product_id` as `product.cover.productId`, `product.cover`.`product_version_id` as `product.cover.productVersionId`, `product.cover`.`media_id` as `product.cover.mediaId`, `product.cover`.`position` as `product.cover.position`, `product.cover.media`.`id` as `product.cover.media.id`, `product.cover.media`.`user_id` as `product.cover.media.userId`, `product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`, `product.cover.media`.`mime_type` as `product.cover.media.mimeType`, `product.cover.media`.`file_extension` as `product.cover.media.fileExtension`, `product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`, `product.cover.media`.`file_name` as `product.cover.media.fileName`, `product.cover.media`.`file_size` as `product.cover.media.fileSize`, `product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`, `product.cover.media`.`meta_data` as `product.cover.media.metaData`, `product.cover.media`.`private` as `product.cover.media.private`, `product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`, `product.cover.media`.`created_at` as `product.cover.media.createdAt`, `product.cover.media`.`updated_at` as `product.cover.media.updatedAt`, `product.cover.media.translation.title`, COALESCE(`product.cover.media.translation.title`,`product.cover.media.translation.title`) as `product.cover.media.title`, `product.cover.media.translation.alt`, COALESCE(`product.cover.media.translation.alt`,`product.cover.media.translation.alt`) as `product.cover.media.alt`, `product.cover.media.translation.customFields`, COALESCE(`product.cover.media.translation.customFields`,`product.cover.media.translation.customFields`) as `product.cover.media.customFields`, `product.cover.media.translation.createdAt`, `product.cover.media.translation.updatedAt`, `product.cover.media.translation.mediaId`, `product.cover.media.translation.languageId`, `product.cover`.`custom_fields` as `product.cover.customFields`, `product.cover`.`created_at` as `product.cover.createdAt`, `product.cover`.`updated_at` as `product.cover.updatedAt`, `product.translation.metaDescription`, `product.parent.translation.metaDescription`, COALESCE(`product.translation.metaDescription`,`product.parent.translation.metaDescription`,`product.translation.metaDescription`) as `product.metaDescription`, `product.translation.name`, `product.parent.translation.name`, COALESCE(`product.translation.name`,`product.parent.translation.name`,`product.translation.name`) as `product.name`, `product.translation.keywords`, `product.parent.translation.keywords`, COALESCE(`product.translation.keywords`,`product.parent.translation.keywords`,`product.translation.keywords`) as `product.keywords`, `product.translation.description`, `product.parent.translation.description`, COALESCE(`product.translation.description`,`product.parent.translation.description`,`product.translation.description`) as `product.description`, `product.translation.metaTitle`, `product.parent.translation.metaTitle`, COALESCE(`product.translation.metaTitle`,`product.parent.translation.metaTitle`,`product.translation.metaTitle`) as `product.metaTitle`, `product.translation.packUnit`, `product.parent.translation.packUnit`, COALESCE(`product.translation.packUnit`,`product.parent.translation.packUnit`,`product.translation.packUnit`) as `product.packUnit`, `product.translation.packUnitPlural`, `product.parent.translation.packUnitPlural`, COALESCE(`product.translation.packUnitPlural`,`product.parent.translation.packUnitPlural`,`product.translation.packUnitPlural`) as `product.packUnitPlural`, `product.translation.customSearchKeywords`, `product.parent.translation.customSearchKeywords`, COALESCE(`product.translation.customSearchKeywords`,`product.parent.translation.customSearchKeywords`,`product.translation.customSearchKeywords`) as `product.customSearchKeywords`, `product.translation.slotConfig`, `product.parent.translation.slotConfig`, COALESCE(`product.translation.slotConfig`,`product.parent.translation.slotConfig`,`product.translation.slotConfig`) as `product.slotConfig`, `product.translation.customFields`, `product.parent.translation.customFields`, COALESCE(`product.translation.customFields`,`product.parent.translation.customFields`,`product.translation.customFields`) as `product.customFields`, `product.translation.createdAt`, `product.parent.translation.createdAt`, `product.translation.updatedAt`, `product.parent.translation.updatedAt`, `product.translation.productId`, `product.parent.translation.productId`, `product.translation.languageId`, `product.parent.translation.languageId`, `product.translation.productVersionId`, `product.parent.translation.productVersionId` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN (SELECT `product.translation`.product_id, `product.translation`.product_version_id, `product.translation`.meta_description as `product.translation.metaDescription`, `product.translation`.name as `product.translation.name`, `product.translation`.keywords as `product.translation.keywords`, `product.translation`.description as `product.translation.description`, `product.translation`.meta_title as `product.translation.metaTitle`, `product.translation`.pack_unit as `product.translation.packUnit`, `product.translation`.pack_unit_plural as `product.translation.packUnitPlural`, `product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`, `product.translation`.slot_config as `product.translation.slotConfig`, `product.translation`.custom_fields as `product.translation.customFields`, `product.translation`.created_at as `product.translation.createdAt`, `product.translation`.updated_at as `product.translation.updatedAt`, `product.translation`.product_id as `product.translation.productId`, `product.translation`.language_id as `product.translation.languageId`, `product.translation`.product_version_id as `product.translation.productVersionId` FROM `product_translation` `product.translation` WHERE `product.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id` AND `product.product_translation`.product_version_id = `product`.version_id LEFT JOIN (SELECT `product.parent.translation`.product_id, `product.parent.translation`.product_version_id, `product.parent.translation`.meta_description as `product.parent.translation.metaDescription`, `product.parent.translation`.name as `product.parent.translation.name`, `product.parent.translation`.keywords as `product.parent.translation.keywords`, `product.parent.translation`.description as `product.parent.translation.description`, `product.parent.translation`.meta_title as `product.parent.translation.metaTitle`, `product.parent.translation`.pack_unit as `product.parent.translation.packUnit`, `product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`, `product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`, `product.parent.translation`.slot_config as `product.parent.translation.slotConfig`, `product.parent.translation`.custom_fields as `product.parent.translation.customFields`, `product.parent.translation`.created_at as `product.parent.translation.createdAt`, `product.parent.translation`.updated_at as `product.parent.translation.updatedAt`, `product.parent.translation`.product_id as `product.parent.translation.productId`, `product.parent.translation`.language_id as `product.parent.translation.languageId`, `product.parent.translation`.product_version_id as `product.parent.translation.productVersionId` FROM `product_translation` `product.parent.translation` WHERE `product.parent.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id` AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id` LEFT JOIN `unit` `product.unit` ON `product`.`unit` = `product.unit`.`id` LEFT JOIN `delivery_time` `product.deliveryTime` ON `product`.`deliveryTime` = `product.deliveryTime`.`id` LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id` AND `product`.`version_id` = `product.cover`.`version_id` LEFT JOIN (SELECT `product.unit.translation`.unit_id, `product.unit.translation`.short_code as `product.unit.translation.shortCode`, `product.unit.translation`.name as `product.unit.translation.name`, `product.unit.translation`.custom_fields as `product.unit.translation.customFields`, `product.unit.translation`.created_at as `product.unit.translation.createdAt`, `product.unit.translation`.updated_at as `product.unit.translation.updatedAt`, `product.unit.translation`.unit_id as `product.unit.translation.unitId`, `product.unit.translation`.language_id as `product.unit.translation.languageId` FROM `unit_translation` `product.unit.translation` WHERE `product.unit.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.unit.unit_translation` ON `product.unit.unit_translation`.`unit_id` = `product.unit`.`id` LEFT JOIN (SELECT `product.deliveryTime.translation`.delivery_time_id, `product.deliveryTime.translation`.name as `product.deliveryTime.translation.name`, `product.deliveryTime.translation`.custom_fields as `product.deliveryTime.translation.customFields`, `product.deliveryTime.translation`.created_at as `product.deliveryTime.translation.createdAt`, `product.deliveryTime.translation`.updated_at as `product.deliveryTime.translation.updatedAt`, `product.deliveryTime.translation`.delivery_time_id as `product.deliveryTime.translation.deliveryTimeId`, `product.deliveryTime.translation`.language_id as `product.deliveryTime.translation.languageId` FROM `delivery_time_translation` `product.deliveryTime.translation` WHERE `product.deliveryTime.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.deliveryTime.delivery_time_translation` ON `product.deliveryTime.delivery_time_translation`.`delivery_time_id` = `product.deliveryTime`.`id` LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id` LEFT JOIN (SELECT `product.cover.media.translation`.media_id, `product.cover.media.translation`.title as `product.cover.media.translation.title`, `product.cover.media.translation`.alt as `product.cover.media.translation.alt`, `product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`, `product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`, `product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`, `product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`, `product.cover.media.translation`.language_id as `product.cover.media.translation.languageId` FROM `media_translation` `product.cover.media.translation` WHERE `product.cover.media.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id` WHERE (`product`.`version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425) AND (`product`.`id` IN (0x0D281F6FBC5F4B36926D104DAB40F116));
array:37 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 242)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 316)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetch (line 148)"
4 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 93)"
5 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::read (line 195)"
6 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::read (line 133)"
7 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 36)"
8 => "Swag\PayPal\Util\Compatibility\SalesChannelRepositoryDecorator::search (line 207)"
9 => "Tds\MerwareDiscounts\Cart\Checkout\OverwrittenPriceCollector::getSalesChannelProduct (line 93)"
10 => "Tds\MerwareDiscounts\Cart\Checkout\OverwrittenPriceCollector::collect (line 103)"
11 => "Shopware\Core\Checkout\Cart\Processor::runProcessors (line 67)"
12 => "Shopware\Core\Checkout\Cart\Processor::Shopware\Core\Checkout\Cart\{closure} (line 59)"
13 => "Shopware\Core\Profiling\Profiler::trace (line 86)"
14 => "Shopware\Core\Checkout\Cart\Processor::process (line 132)"
15 => "Shopware\Core\Checkout\Cart\CartRuleLoader::Shopware\Core\Checkout\Cart\{closure} (line 59)"
16 => "Shopware\Core\Profiling\Profiler::trace (line 183)"
17 => "Shopware\Core\Checkout\Cart\CartRuleLoader::load (line 83)"
18 => "Shopware\Core\Checkout\Cart\CartRuleLoader::loadByToken (line 106)"
19 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::Shopware\Core\System\SalesChannel\Context\{closure} (line 59)"
20 => "Shopware\Core\Profiling\Profiler::trace (line 111)"
21 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::get (line 105)"
22 => "Shopware\Core\Framework\Routing\SalesChannelRequestContextResolver::resolve (line 38)"
23 => "Shopware\Core\Framework\Routing\ContextResolverListener::resolveContext (line 118)"
24 => "Symfony\Component\EventDispatcher\Debug\WrappedListener::__invoke (line 230)"
25 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
26 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
27 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
28 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
29 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
30 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
31 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 151)"
32 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
33 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
34 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
35 => "Shopware\Core\HttpKernel::doHandle (line 81)"
36 => "Shopware\Core\HttpKernel::handle (line 85)"
]
|
129 |
0.67 ms |
SELECT `product_price`.`id` as `product_price.id`, `product_price`.`version_id` as `product_price.versionId`, `product_price`.`product_id` as `product_price.productId`, `product_price`.`product_version_id` as `product_price.productVersionId`, `product_price`.`rule_id` as `product_price.ruleId`, `product_price`.`price` as `product_price.price`, `product_price`.`quantity_start` as `product_price.quantityStart`, `product_price`.`quantity_end` as `product_price.quantityEnd`, `product_price`.`custom_fields` as `product_price.customFields`, `product_price`.`created_at` as `product_price.createdAt`, `product_price`.`updated_at` as `product_price.updatedAt` FROM `product_price` WHERE (`product_price`.`version_id` = :version) AND ((`product_price`.`product_id` IN (:param_f4e90b6ef0c1420b8f86af6aefd45264)))
SELECT `product_price`.`id` as `product_price.id`, `product_price`.`version_id` as `product_price.versionId`, `product_price`.`product_id` as `product_price.productId`, `product_price`.`product_version_id` as `product_price.productVersionId`, `product_price`.`rule_id` as `product_price.ruleId`, `product_price`.`price` as `product_price.price`, `product_price`.`quantity_start` as `product_price.quantityStart`, `product_price`.`quantity_end` as `product_price.quantityEnd`, `product_price`.`custom_fields` as `product_price.customFields`, `product_price`.`created_at` as `product_price.createdAt`, `product_price`.`updated_at` as `product_price.updatedAt` FROM `product_price` WHERE (`product_price`.`version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425) AND ((`product_price`.`product_id` IN (0x0D281F6FBC5F4B36926D104DAB40F116, 0x7474565DCCBF4CA0BF976E225D0A58E3)));
array:41 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 242)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 316)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetch (line 148)"
4 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 503)"
5 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::loadOneToManyWithoutPagination (line 438)"
6 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::loadOneToMany (line 1210)"
7 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetchAssociations (line 152)"
8 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 93)"
9 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::read (line 195)"
10 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::read (line 133)"
11 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 36)"
12 => "Swag\PayPal\Util\Compatibility\SalesChannelRepositoryDecorator::search (line 207)"
13 => "Tds\MerwareDiscounts\Cart\Checkout\OverwrittenPriceCollector::getSalesChannelProduct (line 93)"
14 => "Tds\MerwareDiscounts\Cart\Checkout\OverwrittenPriceCollector::collect (line 103)"
15 => "Shopware\Core\Checkout\Cart\Processor::runProcessors (line 67)"
16 => "Shopware\Core\Checkout\Cart\Processor::Shopware\Core\Checkout\Cart\{closure} (line 59)"
17 => "Shopware\Core\Profiling\Profiler::trace (line 86)"
18 => "Shopware\Core\Checkout\Cart\Processor::process (line 132)"
19 => "Shopware\Core\Checkout\Cart\CartRuleLoader::Shopware\Core\Checkout\Cart\{closure} (line 59)"
20 => "Shopware\Core\Profiling\Profiler::trace (line 183)"
21 => "Shopware\Core\Checkout\Cart\CartRuleLoader::load (line 83)"
22 => "Shopware\Core\Checkout\Cart\CartRuleLoader::loadByToken (line 106)"
23 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::Shopware\Core\System\SalesChannel\Context\{closure} (line 59)"
24 => "Shopware\Core\Profiling\Profiler::trace (line 111)"
25 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::get (line 105)"
26 => "Shopware\Core\Framework\Routing\SalesChannelRequestContextResolver::resolve (line 38)"
27 => "Shopware\Core\Framework\Routing\ContextResolverListener::resolveContext (line 118)"
28 => "Symfony\Component\EventDispatcher\Debug\WrappedListener::__invoke (line 230)"
29 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
30 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
31 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
32 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
33 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
34 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
35 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 151)"
36 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
37 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
38 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
39 => "Shopware\Core\HttpKernel::doHandle (line 81)"
40 => "Shopware\Core\HttpKernel::handle (line 85)"
]
|
130 |
1.35 ms |
SELECT `product`.`id`, `product`.`product_number`, `product`.`auto_increment` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN `product_visibility` `product.visibilities` ON `product`.`visibilities` = `product.visibilities`.`product_id` AND `product`.version_id = `product.visibilities`.product_version_id WHERE (`product`.`version_id` = :version) AND ((((`product.visibilities`.`visibility` >= :param_2ad05e3a5a8048529246c18ad32df002) AND `product.visibilities`.`sales_channel_id` = :param_e53f12c0e2824fa990e27c258b7ca53d AND IFNULL(`product`.`active`, `product.parent`.`active`) = :param_34eaae85ad3245f3828ddfd9287fc8bf))) AND (`product`.`id` IN (:ids)) GROUP BY `product`.`id`
SELECT `product`.`id`, `product`.`product_number`, `product`.`auto_increment` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN `product_visibility` `product.visibilities` ON `product`.`visibilities` = `product.visibilities`.`product_id` AND `product`.version_id = `product.visibilities`.product_version_id WHERE (`product`.`version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425) AND ((((`product.visibilities`.`visibility` >= 10) AND `product.visibilities`.`sales_channel_id` = 0x4EB9108BE4654CC9B140D14DE85579E9 AND IFNULL(`product`.`active`, `product.parent`.`active`) = 1))) AND (`product`.`id` IN (0x039588C24E8D4085A567726D690A7FB1)) GROUP BY `product`.`id`;
array:36 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 242)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 107)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntitySearcher::search (line 62)"
4 => "Shopware\Elasticsearch\Framework\DataAbstractionLayer\ElasticsearchEntitySearcher::search (line 216)"
5 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::doSearch (line 122)"
6 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 36)"
7 => "Swag\PayPal\Util\Compatibility\SalesChannelRepositoryDecorator::search (line 207)"
8 => "Tds\MerwareDiscounts\Cart\Checkout\OverwrittenPriceCollector::getSalesChannelProduct (line 93)"
9 => "Tds\MerwareDiscounts\Cart\Checkout\OverwrittenPriceCollector::collect (line 103)"
10 => "Shopware\Core\Checkout\Cart\Processor::runProcessors (line 67)"
11 => "Shopware\Core\Checkout\Cart\Processor::Shopware\Core\Checkout\Cart\{closure} (line 59)"
12 => "Shopware\Core\Profiling\Profiler::trace (line 86)"
13 => "Shopware\Core\Checkout\Cart\Processor::process (line 132)"
14 => "Shopware\Core\Checkout\Cart\CartRuleLoader::Shopware\Core\Checkout\Cart\{closure} (line 59)"
15 => "Shopware\Core\Profiling\Profiler::trace (line 183)"
16 => "Shopware\Core\Checkout\Cart\CartRuleLoader::load (line 83)"
17 => "Shopware\Core\Checkout\Cart\CartRuleLoader::loadByToken (line 106)"
18 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::Shopware\Core\System\SalesChannel\Context\{closure} (line 59)"
19 => "Shopware\Core\Profiling\Profiler::trace (line 111)"
20 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::get (line 105)"
21 => "Shopware\Core\Framework\Routing\SalesChannelRequestContextResolver::resolve (line 38)"
22 => "Shopware\Core\Framework\Routing\ContextResolverListener::resolveContext (line 118)"
23 => "Symfony\Component\EventDispatcher\Debug\WrappedListener::__invoke (line 230)"
24 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
25 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
26 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
27 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
28 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
29 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
30 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 151)"
31 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
32 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
33 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
34 => "Shopware\Core\HttpKernel::doHandle (line 81)"
35 => "Shopware\Core\HttpKernel::handle (line 85)"
]
|
131 |
13.42 ms |
SELECT `product`.`id` as `product.id`, `product`.`version_id` as `product.versionId`, `product`.`parent_id` as `product.parentId`, `product`.`parent_version_id` as `product.parentVersionId`, COALESCE(`product`.`product_manufacturer_id`, `product.parent`.`product_manufacturer_id`) as `product.manufacturerId`, COALESCE(`product`.`product_manufacturer_version_id`, `product.parent`.`product_manufacturer_version_id`) as `product.productManufacturerVersionId`, COALESCE(`product`.`unit_id`, `product.parent`.`unit_id`) as `product.unitId`, COALESCE(`product`.`tax_id`, `product.parent`.`tax_id`) as `product.taxId`, COALESCE(`product`.`product_media_id`, `product.parent`.`product_media_id`) as `product.coverId`, COALESCE(`product`.`product_media_version_id`, `product.parent`.`product_media_version_id`) as `product.productMediaVersionId`, COALESCE(`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`) as `product.deliveryTimeId`, COALESCE(`product`.`product_feature_set_id`, `product.parent`.`product_feature_set_id`) as `product.featureSetId`, COALESCE(`product`.`canonical_product_id`, `product.parent`.`canonical_product_id`) as `product.canonicalProductId`, COALESCE(`product`.`cms_page_id`, `product.parent`.`cms_page_id`) as `product.cmsPageId`, COALESCE(`product`.`cms_page_version_id`, `product.parent`.`cms_page_version_id`) as `product.cmsPageVersionId`, `product.parent`.`price` as `product.price.inherited`, COALESCE(`product`.`price`, `product.parent`.`price`) as `product.price`, `product`.`product_number` as `product.productNumber`, `product`.`stock` as `product.stock`, COALESCE(`product`.`restock_time`, `product.parent`.`restock_time`) as `product.restockTime`, `product`.`auto_increment` as `product.autoIncrement`, COALESCE(`product`.`active`, `product.parent`.`active`) as `product.active`, `product`.`available_stock` as `product.availableStock`, `product`.`available` as `product.available`, COALESCE(`product`.`is_closeout`, `product.parent`.`is_closeout`) as `product.isCloseout`, `product`.`display_group` as `product.displayGroup`, `product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`, COALESCE(`product`.`configurator_group_config`, `product.parent`.`configurator_group_config`) as `product.configuratorGroupConfig`, COALESCE(`product`.`main_variant_id`, `product.parent`.`main_variant_id`) as `product.mainVariantId`, COALESCE(`product`.`display_parent`, `product.parent`.`display_parent`) as `product.displayParent`, `product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`, COALESCE(`product`.`variant_listing_config`, `product.parent`.`variant_listing_config`) as `product.variantListingConfig`, `product`.`variant_restrictions` as `product.variantRestrictions`, COALESCE(`product`.`manufacturer_number`, `product.parent`.`manufacturer_number`) as `product.manufacturerNumber`, COALESCE(`product`.`ean`, `product.parent`.`ean`) as `product.ean`, COALESCE(`product`.`purchase_steps`, `product.parent`.`purchase_steps`) as `product.purchaseSteps`, COALESCE(`product`.`max_purchase`, `product.parent`.`max_purchase`) as `product.maxPurchase`, COALESCE(`product`.`min_purchase`, `product.parent`.`min_purchase`) as `product.minPurchase`, COALESCE(`product`.`purchase_unit`, `product.parent`.`purchase_unit`) as `product.purchaseUnit`, COALESCE(`product`.`reference_unit`, `product.parent`.`reference_unit`) as `product.referenceUnit`, COALESCE(`product`.`shipping_free`, `product.parent`.`shipping_free`) as `product.shippingFree`, `product.parent`.`purchase_prices` as `product.purchasePrices.inherited`, COALESCE(`product`.`purchase_prices`, `product.parent`.`purchase_prices`) as `product.purchasePrices`, COALESCE(`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`) as `product.markAsTopseller`, COALESCE(`product`.`weight`, `product.parent`.`weight`) as `product.weight`, COALESCE(`product`.`width`, `product.parent`.`width`) as `product.width`, COALESCE(`product`.`height`, `product.parent`.`height`) as `product.height`, COALESCE(`product`.`length`, `product.parent`.`length`) as `product.length`, COALESCE(`product`.`release_date`, `product.parent`.`release_date`) as `product.releaseDate`, COALESCE(`product`.`rating_average`, `product.parent`.`rating_average`) as `product.ratingAverage`, `product.parent`.`category_tree` as `product.categoryTree.inherited`, COALESCE(`product`.`category_tree`, `product.parent`.`category_tree`) as `product.categoryTree`, `product.parent`.`property_ids` as `product.propertyIds.inherited`, COALESCE(`product`.`property_ids`, `product.parent`.`property_ids`) as `product.propertyIds`, `product.parent`.`option_ids` as `product.optionIds.inherited`, COALESCE(`product`.`option_ids`, `product.parent`.`option_ids`) as `product.optionIds`, `product.parent`.`stream_ids` as `product.streamIds.inherited`, COALESCE(`product`.`stream_ids`, `product.parent`.`stream_ids`) as `product.streamIds`, `product.parent`.`tag_ids` as `product.tagIds.inherited`, COALESCE(`product`.`tag_ids`, `product.parent`.`tag_ids`) as `product.tagIds`, `product.parent`.`category_ids` as `product.categoryIds.inherited`, COALESCE(`product`.`category_ids`, `product.parent`.`category_ids`) as `product.categoryIds`, `product`.`child_count` as `product.childCount`, COALESCE(`product`.`custom_field_set_selection_active`, `product.parent`.`custom_field_set_selection_active`) as `product.customFieldSetSelectionActive`, `product`.`sales` as `product.sales`, `product`.`states` as `product.states`, `product.tax`.`id` as `product.tax.id`, `product.tax`.`tax_rate` as `product.tax.taxRate`, `product.tax`.`name` as `product.tax.name`, `product.tax`.`position` as `product.tax.position`, `product.tax`.`custom_fields` as `product.tax.customFields`, `product.tax`.`created_at` as `product.tax.createdAt`, `product.tax`.`updated_at` as `product.tax.updatedAt`, `product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`, COALESCE(`product`.`cheapest_price`, `product.parent`.`cheapest_price`) as `product.cheapestPrice`, `product`.`created_at` as `product.createdAt`, `product`.`updated_at` as `product.updatedAt`, `product.unit`.`id` as `product.unit.id`, `product.unit`.`created_at` as `product.unit.createdAt`, `product.unit`.`updated_at` as `product.unit.updatedAt`, `product.unit.translation.shortCode`, COALESCE(`product.unit.translation.shortCode`,`product.unit.translation.shortCode`) as `product.unit.shortCode`, `product.unit.translation.name`, COALESCE(`product.unit.translation.name`,`product.unit.translation.name`) as `product.unit.name`, `product.unit.translation.customFields`, COALESCE(`product.unit.translation.customFields`,`product.unit.translation.customFields`) as `product.unit.customFields`, `product.unit.translation.createdAt`, `product.unit.translation.updatedAt`, `product.unit.translation.unitId`, `product.unit.translation.languageId`, `product.deliveryTime`.`id` as `product.deliveryTime.id`, `product.deliveryTime`.`min` as `product.deliveryTime.min`, `product.deliveryTime`.`max` as `product.deliveryTime.max`, `product.deliveryTime`.`unit` as `product.deliveryTime.unit`, `product.deliveryTime`.`created_at` as `product.deliveryTime.createdAt`, `product.deliveryTime`.`updated_at` as `product.deliveryTime.updatedAt`, `product.deliveryTime.translation.name`, COALESCE(`product.deliveryTime.translation.name`,`product.deliveryTime.translation.name`) as `product.deliveryTime.name`, `product.deliveryTime.translation.customFields`, COALESCE(`product.deliveryTime.translation.customFields`,`product.deliveryTime.translation.customFields`) as `product.deliveryTime.customFields`, `product.deliveryTime.translation.createdAt`, `product.deliveryTime.translation.updatedAt`, `product.deliveryTime.translation.deliveryTimeId`, `product.deliveryTime.translation.languageId`, `product.cover`.`id` as `product.cover.id`, `product.cover`.`version_id` as `product.cover.versionId`, `product.cover`.`product_id` as `product.cover.productId`, `product.cover`.`product_version_id` as `product.cover.productVersionId`, `product.cover`.`media_id` as `product.cover.mediaId`, `product.cover`.`position` as `product.cover.position`, `product.cover.media`.`id` as `product.cover.media.id`, `product.cover.media`.`user_id` as `product.cover.media.userId`, `product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`, `product.cover.media`.`mime_type` as `product.cover.media.mimeType`, `product.cover.media`.`file_extension` as `product.cover.media.fileExtension`, `product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`, `product.cover.media`.`file_name` as `product.cover.media.fileName`, `product.cover.media`.`file_size` as `product.cover.media.fileSize`, `product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`, `product.cover.media`.`meta_data` as `product.cover.media.metaData`, `product.cover.media`.`private` as `product.cover.media.private`, `product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`, `product.cover.media`.`created_at` as `product.cover.media.createdAt`, `product.cover.media`.`updated_at` as `product.cover.media.updatedAt`, `product.cover.media.translation.title`, COALESCE(`product.cover.media.translation.title`,`product.cover.media.translation.title`) as `product.cover.media.title`, `product.cover.media.translation.alt`, COALESCE(`product.cover.media.translation.alt`,`product.cover.media.translation.alt`) as `product.cover.media.alt`, `product.cover.media.translation.customFields`, COALESCE(`product.cover.media.translation.customFields`,`product.cover.media.translation.customFields`) as `product.cover.media.customFields`, `product.cover.media.translation.createdAt`, `product.cover.media.translation.updatedAt`, `product.cover.media.translation.mediaId`, `product.cover.media.translation.languageId`, `product.cover`.`custom_fields` as `product.cover.customFields`, `product.cover`.`created_at` as `product.cover.createdAt`, `product.cover`.`updated_at` as `product.cover.updatedAt`, `product.translation.metaDescription`, `product.parent.translation.metaDescription`, COALESCE(`product.translation.metaDescription`,`product.parent.translation.metaDescription`,`product.translation.metaDescription`) as `product.metaDescription`, `product.translation.name`, `product.parent.translation.name`, COALESCE(`product.translation.name`,`product.parent.translation.name`,`product.translation.name`) as `product.name`, `product.translation.keywords`, `product.parent.translation.keywords`, COALESCE(`product.translation.keywords`,`product.parent.translation.keywords`,`product.translation.keywords`) as `product.keywords`, `product.translation.description`, `product.parent.translation.description`, COALESCE(`product.translation.description`,`product.parent.translation.description`,`product.translation.description`) as `product.description`, `product.translation.metaTitle`, `product.parent.translation.metaTitle`, COALESCE(`product.translation.metaTitle`,`product.parent.translation.metaTitle`,`product.translation.metaTitle`) as `product.metaTitle`, `product.translation.packUnit`, `product.parent.translation.packUnit`, COALESCE(`product.translation.packUnit`,`product.parent.translation.packUnit`,`product.translation.packUnit`) as `product.packUnit`, `product.translation.packUnitPlural`, `product.parent.translation.packUnitPlural`, COALESCE(`product.translation.packUnitPlural`,`product.parent.translation.packUnitPlural`,`product.translation.packUnitPlural`) as `product.packUnitPlural`, `product.translation.customSearchKeywords`, `product.parent.translation.customSearchKeywords`, COALESCE(`product.translation.customSearchKeywords`,`product.parent.translation.customSearchKeywords`,`product.translation.customSearchKeywords`) as `product.customSearchKeywords`, `product.translation.slotConfig`, `product.parent.translation.slotConfig`, COALESCE(`product.translation.slotConfig`,`product.parent.translation.slotConfig`,`product.translation.slotConfig`) as `product.slotConfig`, `product.translation.customFields`, `product.parent.translation.customFields`, COALESCE(`product.translation.customFields`,`product.parent.translation.customFields`,`product.translation.customFields`) as `product.customFields`, `product.translation.createdAt`, `product.parent.translation.createdAt`, `product.translation.updatedAt`, `product.parent.translation.updatedAt`, `product.translation.productId`, `product.parent.translation.productId`, `product.translation.languageId`, `product.parent.translation.languageId`, `product.translation.productVersionId`, `product.parent.translation.productVersionId` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN (SELECT `product.translation`.product_id, `product.translation`.product_version_id, `product.translation`.meta_description as `product.translation.metaDescription`, `product.translation`.name as `product.translation.name`, `product.translation`.keywords as `product.translation.keywords`, `product.translation`.description as `product.translation.description`, `product.translation`.meta_title as `product.translation.metaTitle`, `product.translation`.pack_unit as `product.translation.packUnit`, `product.translation`.pack_unit_plural as `product.translation.packUnitPlural`, `product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`, `product.translation`.slot_config as `product.translation.slotConfig`, `product.translation`.custom_fields as `product.translation.customFields`, `product.translation`.created_at as `product.translation.createdAt`, `product.translation`.updated_at as `product.translation.updatedAt`, `product.translation`.product_id as `product.translation.productId`, `product.translation`.language_id as `product.translation.languageId`, `product.translation`.product_version_id as `product.translation.productVersionId` FROM `product_translation` `product.translation` WHERE `product.translation`.language_id = :languageId) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id` AND `product.product_translation`.product_version_id = `product`.version_id LEFT JOIN (SELECT `product.parent.translation`.product_id, `product.parent.translation`.product_version_id, `product.parent.translation`.meta_description as `product.parent.translation.metaDescription`, `product.parent.translation`.name as `product.parent.translation.name`, `product.parent.translation`.keywords as `product.parent.translation.keywords`, `product.parent.translation`.description as `product.parent.translation.description`, `product.parent.translation`.meta_title as `product.parent.translation.metaTitle`, `product.parent.translation`.pack_unit as `product.parent.translation.packUnit`, `product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`, `product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`, `product.parent.translation`.slot_config as `product.parent.translation.slotConfig`, `product.parent.translation`.custom_fields as `product.parent.translation.customFields`, `product.parent.translation`.created_at as `product.parent.translation.createdAt`, `product.parent.translation`.updated_at as `product.parent.translation.updatedAt`, `product.parent.translation`.product_id as `product.parent.translation.productId`, `product.parent.translation`.language_id as `product.parent.translation.languageId`, `product.parent.translation`.product_version_id as `product.parent.translation.productVersionId` FROM `product_translation` `product.parent.translation` WHERE `product.parent.translation`.language_id = :languageId) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id` AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id` LEFT JOIN `unit` `product.unit` ON `product`.`unit` = `product.unit`.`id` LEFT JOIN `delivery_time` `product.deliveryTime` ON `product`.`deliveryTime` = `product.deliveryTime`.`id` LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id` AND `product`.`version_id` = `product.cover`.`version_id` LEFT JOIN (SELECT `product.unit.translation`.unit_id, `product.unit.translation`.short_code as `product.unit.translation.shortCode`, `product.unit.translation`.name as `product.unit.translation.name`, `product.unit.translation`.custom_fields as `product.unit.translation.customFields`, `product.unit.translation`.created_at as `product.unit.translation.createdAt`, `product.unit.translation`.updated_at as `product.unit.translation.updatedAt`, `product.unit.translation`.unit_id as `product.unit.translation.unitId`, `product.unit.translation`.language_id as `product.unit.translation.languageId` FROM `unit_translation` `product.unit.translation` WHERE `product.unit.translation`.language_id = :languageId) `product.unit.unit_translation` ON `product.unit.unit_translation`.`unit_id` = `product.unit`.`id` LEFT JOIN (SELECT `product.deliveryTime.translation`.delivery_time_id, `product.deliveryTime.translation`.name as `product.deliveryTime.translation.name`, `product.deliveryTime.translation`.custom_fields as `product.deliveryTime.translation.customFields`, `product.deliveryTime.translation`.created_at as `product.deliveryTime.translation.createdAt`, `product.deliveryTime.translation`.updated_at as `product.deliveryTime.translation.updatedAt`, `product.deliveryTime.translation`.delivery_time_id as `product.deliveryTime.translation.deliveryTimeId`, `product.deliveryTime.translation`.language_id as `product.deliveryTime.translation.languageId` FROM `delivery_time_translation` `product.deliveryTime.translation` WHERE `product.deliveryTime.translation`.language_id = :languageId) `product.deliveryTime.delivery_time_translation` ON `product.deliveryTime.delivery_time_translation`.`delivery_time_id` = `product.deliveryTime`.`id` LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id` LEFT JOIN (SELECT `product.cover.media.translation`.media_id, `product.cover.media.translation`.title as `product.cover.media.translation.title`, `product.cover.media.translation`.alt as `product.cover.media.translation.alt`, `product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`, `product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`, `product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`, `product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`, `product.cover.media.translation`.language_id as `product.cover.media.translation.languageId` FROM `media_translation` `product.cover.media.translation` WHERE `product.cover.media.translation`.language_id = :languageId) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id` WHERE (`product`.`version_id` = :version) AND (`product`.`id` IN (:ids))
SELECT
`product`.`id` as `product.id`,
`product`.`version_id` as `product.versionId`,
`product`.`parent_id` as `product.parentId`,
`product`.`parent_version_id` as `product.parentVersionId`,
COALESCE(
`product`.`product_manufacturer_id`,
`product.parent`.`product_manufacturer_id`
) as `product.manufacturerId`,
COALESCE(
`product`.`product_manufacturer_version_id`,
`product.parent`.`product_manufacturer_version_id`
) as `product.productManufacturerVersionId`,
COALESCE(
`product`.`unit_id`, `product.parent`.`unit_id`
) as `product.unitId`,
COALESCE(
`product`.`tax_id`, `product.parent`.`tax_id`
) as `product.taxId`,
COALESCE(
`product`.`product_media_id`, `product.parent`.`product_media_id`
) as `product.coverId`,
COALESCE(
`product`.`product_media_version_id`,
`product.parent`.`product_media_version_id`
) as `product.productMediaVersionId`,
COALESCE(
`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`
) as `product.deliveryTimeId`,
COALESCE(
`product`.`product_feature_set_id`,
`product.parent`.`product_feature_set_id`
) as `product.featureSetId`,
COALESCE(
`product`.`canonical_product_id`,
`product.parent`.`canonical_product_id`
) as `product.canonicalProductId`,
COALESCE(
`product`.`cms_page_id`, `product.parent`.`cms_page_id`
) as `product.cmsPageId`,
COALESCE(
`product`.`cms_page_version_id`,
`product.parent`.`cms_page_version_id`
) as `product.cmsPageVersionId`,
`product.parent`.`price` as `product.price.inherited`,
COALESCE(
`product`.`price`, `product.parent`.`price`
) as `product.price`,
`product`.`product_number` as `product.productNumber`,
`product`.`stock` as `product.stock`,
COALESCE(
`product`.`restock_time`, `product.parent`.`restock_time`
) as `product.restockTime`,
`product`.`auto_increment` as `product.autoIncrement`,
COALESCE(
`product`.`active`, `product.parent`.`active`
) as `product.active`,
`product`.`available_stock` as `product.availableStock`,
`product`.`available` as `product.available`,
COALESCE(
`product`.`is_closeout`, `product.parent`.`is_closeout`
) as `product.isCloseout`,
`product`.`display_group` as `product.displayGroup`,
`product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`,
COALESCE(
`product`.`configurator_group_config`,
`product.parent`.`configurator_group_config`
) as `product.configuratorGroupConfig`,
COALESCE(
`product`.`main_variant_id`, `product.parent`.`main_variant_id`
) as `product.mainVariantId`,
COALESCE(
`product`.`display_parent`, `product.parent`.`display_parent`
) as `product.displayParent`,
`product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`,
COALESCE(
`product`.`variant_listing_config`,
`product.parent`.`variant_listing_config`
) as `product.variantListingConfig`,
`product`.`variant_restrictions` as `product.variantRestrictions`,
COALESCE(
`product`.`manufacturer_number`,
`product.parent`.`manufacturer_number`
) as `product.manufacturerNumber`,
COALESCE(
`product`.`ean`, `product.parent`.`ean`
) as `product.ean`,
COALESCE(
`product`.`purchase_steps`, `product.parent`.`purchase_steps`
) as `product.purchaseSteps`,
COALESCE(
`product`.`max_purchase`, `product.parent`.`max_purchase`
) as `product.maxPurchase`,
COALESCE(
`product`.`min_purchase`, `product.parent`.`min_purchase`
) as `product.minPurchase`,
COALESCE(
`product`.`purchase_unit`, `product.parent`.`purchase_unit`
) as `product.purchaseUnit`,
COALESCE(
`product`.`reference_unit`, `product.parent`.`reference_unit`
) as `product.referenceUnit`,
COALESCE(
`product`.`shipping_free`, `product.parent`.`shipping_free`
) as `product.shippingFree`,
`product.parent`.`purchase_prices` as `product.purchasePrices.inherited`,
COALESCE(
`product`.`purchase_prices`, `product.parent`.`purchase_prices`
) as `product.purchasePrices`,
COALESCE(
`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`
) as `product.markAsTopseller`,
COALESCE(
`product`.`weight`, `product.parent`.`weight`
) as `product.weight`,
COALESCE(
`product`.`width`, `product.parent`.`width`
) as `product.width`,
COALESCE(
`product`.`height`, `product.parent`.`height`
) as `product.height`,
COALESCE(
`product`.`length`, `product.parent`.`length`
) as `product.length`,
COALESCE(
`product`.`release_date`, `product.parent`.`release_date`
) as `product.releaseDate`,
COALESCE(
`product`.`rating_average`, `product.parent`.`rating_average`
) as `product.ratingAverage`,
`product.parent`.`category_tree` as `product.categoryTree.inherited`,
COALESCE(
`product`.`category_tree`, `product.parent`.`category_tree`
) as `product.categoryTree`,
`product.parent`.`property_ids` as `product.propertyIds.inherited`,
COALESCE(
`product`.`property_ids`, `product.parent`.`property_ids`
) as `product.propertyIds`,
`product.parent`.`option_ids` as `product.optionIds.inherited`,
COALESCE(
`product`.`option_ids`, `product.parent`.`option_ids`
) as `product.optionIds`,
`product.parent`.`stream_ids` as `product.streamIds.inherited`,
COALESCE(
`product`.`stream_ids`, `product.parent`.`stream_ids`
) as `product.streamIds`,
`product.parent`.`tag_ids` as `product.tagIds.inherited`,
COALESCE(
`product`.`tag_ids`, `product.parent`.`tag_ids`
) as `product.tagIds`,
`product.parent`.`category_ids` as `product.categoryIds.inherited`,
COALESCE(
`product`.`category_ids`, `product.parent`.`category_ids`
) as `product.categoryIds`,
`product`.`child_count` as `product.childCount`,
COALESCE(
`product`.`custom_field_set_selection_active`,
`product.parent`.`custom_field_set_selection_active`
) as `product.customFieldSetSelectionActive`,
`product`.`sales` as `product.sales`,
`product`.`states` as `product.states`,
`product.tax`.`id` as `product.tax.id`,
`product.tax`.`tax_rate` as `product.tax.taxRate`,
`product.tax`.`name` as `product.tax.name`,
`product.tax`.`position` as `product.tax.position`,
`product.tax`.`custom_fields` as `product.tax.customFields`,
`product.tax`.`created_at` as `product.tax.createdAt`,
`product.tax`.`updated_at` as `product.tax.updatedAt`,
`product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`,
COALESCE(
`product`.`cheapest_price`, `product.parent`.`cheapest_price`
) as `product.cheapestPrice`,
`product`.`created_at` as `product.createdAt`,
`product`.`updated_at` as `product.updatedAt`,
`product.unit`.`id` as `product.unit.id`,
`product.unit`.`created_at` as `product.unit.createdAt`,
`product.unit`.`updated_at` as `product.unit.updatedAt`,
`product.unit.translation.shortCode`,
COALESCE(
`product.unit.translation.shortCode`,
`product.unit.translation.shortCode`
) as `product.unit.shortCode`,
`product.unit.translation.name`,
COALESCE(
`product.unit.translation.name`,
`product.unit.translation.name`
) as `product.unit.name`,
`product.unit.translation.customFields`,
COALESCE(
`product.unit.translation.customFields`,
`product.unit.translation.customFields`
) as `product.unit.customFields`,
`product.unit.translation.createdAt`,
`product.unit.translation.updatedAt`,
`product.unit.translation.unitId`,
`product.unit.translation.languageId`,
`product.deliveryTime`.`id` as `product.deliveryTime.id`,
`product.deliveryTime`.`min` as `product.deliveryTime.min`,
`product.deliveryTime`.`max` as `product.deliveryTime.max`,
`product.deliveryTime`.`unit` as `product.deliveryTime.unit`,
`product.deliveryTime`.`created_at` as `product.deliveryTime.createdAt`,
`product.deliveryTime`.`updated_at` as `product.deliveryTime.updatedAt`,
`product.deliveryTime.translation.name`,
COALESCE(
`product.deliveryTime.translation.name`,
`product.deliveryTime.translation.name`
) as `product.deliveryTime.name`,
`product.deliveryTime.translation.customFields`,
COALESCE(
`product.deliveryTime.translation.customFields`,
`product.deliveryTime.translation.customFields`
) as `product.deliveryTime.customFields`,
`product.deliveryTime.translation.createdAt`,
`product.deliveryTime.translation.updatedAt`,
`product.deliveryTime.translation.deliveryTimeId`,
`product.deliveryTime.translation.languageId`,
`product.cover`.`id` as `product.cover.id`,
`product.cover`.`version_id` as `product.cover.versionId`,
`product.cover`.`product_id` as `product.cover.productId`,
`product.cover`.`product_version_id` as `product.cover.productVersionId`,
`product.cover`.`media_id` as `product.cover.mediaId`,
`product.cover`.`position` as `product.cover.position`,
`product.cover.media`.`id` as `product.cover.media.id`,
`product.cover.media`.`user_id` as `product.cover.media.userId`,
`product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`,
`product.cover.media`.`mime_type` as `product.cover.media.mimeType`,
`product.cover.media`.`file_extension` as `product.cover.media.fileExtension`,
`product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`,
`product.cover.media`.`file_name` as `product.cover.media.fileName`,
`product.cover.media`.`file_size` as `product.cover.media.fileSize`,
`product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`,
`product.cover.media`.`meta_data` as `product.cover.media.metaData`,
`product.cover.media`.`private` as `product.cover.media.private`,
`product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`,
`product.cover.media`.`created_at` as `product.cover.media.createdAt`,
`product.cover.media`.`updated_at` as `product.cover.media.updatedAt`,
`product.cover.media.translation.title`,
COALESCE(
`product.cover.media.translation.title`,
`product.cover.media.translation.title`
) as `product.cover.media.title`,
`product.cover.media.translation.alt`,
COALESCE(
`product.cover.media.translation.alt`,
`product.cover.media.translation.alt`
) as `product.cover.media.alt`,
`product.cover.media.translation.customFields`,
COALESCE(
`product.cover.media.translation.customFields`,
`product.cover.media.translation.customFields`
) as `product.cover.media.customFields`,
`product.cover.media.translation.createdAt`,
`product.cover.media.translation.updatedAt`,
`product.cover.media.translation.mediaId`,
`product.cover.media.translation.languageId`,
`product.cover`.`custom_fields` as `product.cover.customFields`,
`product.cover`.`created_at` as `product.cover.createdAt`,
`product.cover`.`updated_at` as `product.cover.updatedAt`,
`product.translation.metaDescription`,
`product.parent.translation.metaDescription`,
COALESCE(
`product.translation.metaDescription`,
`product.parent.translation.metaDescription`,
`product.translation.metaDescription`
) as `product.metaDescription`,
`product.translation.name`,
`product.parent.translation.name`,
COALESCE(
`product.translation.name`, `product.parent.translation.name`,
`product.translation.name`
) as `product.name`,
`product.translation.keywords`,
`product.parent.translation.keywords`,
COALESCE(
`product.translation.keywords`,
`product.parent.translation.keywords`,
`product.translation.keywords`
) as `product.keywords`,
`product.translation.description`,
`product.parent.translation.description`,
COALESCE(
`product.translation.description`,
`product.parent.translation.description`,
`product.translation.description`
) as `product.description`,
`product.translation.metaTitle`,
`product.parent.translation.metaTitle`,
COALESCE(
`product.translation.metaTitle`,
`product.parent.translation.metaTitle`,
`product.translation.metaTitle`
) as `product.metaTitle`,
`product.translation.packUnit`,
`product.parent.translation.packUnit`,
COALESCE(
`product.translation.packUnit`,
`product.parent.translation.packUnit`,
`product.translation.packUnit`
) as `product.packUnit`,
`product.translation.packUnitPlural`,
`product.parent.translation.packUnitPlural`,
COALESCE(
`product.translation.packUnitPlural`,
`product.parent.translation.packUnitPlural`,
`product.translation.packUnitPlural`
) as `product.packUnitPlural`,
`product.translation.customSearchKeywords`,
`product.parent.translation.customSearchKeywords`,
COALESCE(
`product.translation.customSearchKeywords`,
`product.parent.translation.customSearchKeywords`,
`product.translation.customSearchKeywords`
) as `product.customSearchKeywords`,
`product.translation.slotConfig`,
`product.parent.translation.slotConfig`,
COALESCE(
`product.translation.slotConfig`,
`product.parent.translation.slotConfig`,
`product.translation.slotConfig`
) as `product.slotConfig`,
`product.translation.customFields`,
`product.parent.translation.customFields`,
COALESCE(
`product.translation.customFields`,
`product.parent.translation.customFields`,
`product.translation.customFields`
) as `product.customFields`,
`product.translation.createdAt`,
`product.parent.translation.createdAt`,
`product.translation.updatedAt`,
`product.parent.translation.updatedAt`,
`product.translation.productId`,
`product.parent.translation.productId`,
`product.translation.languageId`,
`product.parent.translation.languageId`,
`product.translation.productVersionId`,
`product.parent.translation.productVersionId`
FROM
`product`
LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id`
AND `product`.`version_id` = `product.parent`.`version_id`
LEFT JOIN (
SELECT
`product.translation`.product_id,
`product.translation`.product_version_id,
`product.translation`.meta_description as `product.translation.metaDescription`,
`product.translation`.name as `product.translation.name`,
`product.translation`.keywords as `product.translation.keywords`,
`product.translation`.description as `product.translation.description`,
`product.translation`.meta_title as `product.translation.metaTitle`,
`product.translation`.pack_unit as `product.translation.packUnit`,
`product.translation`.pack_unit_plural as `product.translation.packUnitPlural`,
`product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`,
`product.translation`.slot_config as `product.translation.slotConfig`,
`product.translation`.custom_fields as `product.translation.customFields`,
`product.translation`.created_at as `product.translation.createdAt`,
`product.translation`.updated_at as `product.translation.updatedAt`,
`product.translation`.product_id as `product.translation.productId`,
`product.translation`.language_id as `product.translation.languageId`,
`product.translation`.product_version_id as `product.translation.productVersionId`
FROM
`product_translation` `product.translation`
WHERE
`product.translation`.language_id = : languageId
) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id`
AND `product.product_translation`.product_version_id = `product`.version_id
LEFT JOIN (
SELECT
`product.parent.translation`.product_id,
`product.parent.translation`.product_version_id,
`product.parent.translation`.meta_description as `product.parent.translation.metaDescription`,
`product.parent.translation`.name as `product.parent.translation.name`,
`product.parent.translation`.keywords as `product.parent.translation.keywords`,
`product.parent.translation`.description as `product.parent.translation.description`,
`product.parent.translation`.meta_title as `product.parent.translation.metaTitle`,
`product.parent.translation`.pack_unit as `product.parent.translation.packUnit`,
`product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`,
`product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`,
`product.parent.translation`.slot_config as `product.parent.translation.slotConfig`,
`product.parent.translation`.custom_fields as `product.parent.translation.customFields`,
`product.parent.translation`.created_at as `product.parent.translation.createdAt`,
`product.parent.translation`.updated_at as `product.parent.translation.updatedAt`,
`product.parent.translation`.product_id as `product.parent.translation.productId`,
`product.parent.translation`.language_id as `product.parent.translation.languageId`,
`product.parent.translation`.product_version_id as `product.parent.translation.productVersionId`
FROM
`product_translation` `product.parent.translation`
WHERE
`product.parent.translation`.language_id = : languageId
) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id`
AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id
LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id`
LEFT JOIN `unit` `product.unit` ON `product`.`unit` = `product.unit`.`id`
LEFT JOIN `delivery_time` `product.deliveryTime` ON `product`.`deliveryTime` = `product.deliveryTime`.`id`
LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id`
AND `product`.`version_id` = `product.cover`.`version_id`
LEFT JOIN (
SELECT
`product.unit.translation`.unit_id,
`product.unit.translation`.short_code as `product.unit.translation.shortCode`,
`product.unit.translation`.name as `product.unit.translation.name`,
`product.unit.translation`.custom_fields as `product.unit.translation.customFields`,
`product.unit.translation`.created_at as `product.unit.translation.createdAt`,
`product.unit.translation`.updated_at as `product.unit.translation.updatedAt`,
`product.unit.translation`.unit_id as `product.unit.translation.unitId`,
`product.unit.translation`.language_id as `product.unit.translation.languageId`
FROM
`unit_translation` `product.unit.translation`
WHERE
`product.unit.translation`.language_id = : languageId
) `product.unit.unit_translation` ON `product.unit.unit_translation`.`unit_id` = `product.unit`.`id`
LEFT JOIN (
SELECT
`product.deliveryTime.translation`.delivery_time_id,
`product.deliveryTime.translation`.name as `product.deliveryTime.translation.name`,
`product.deliveryTime.translation`.custom_fields as `product.deliveryTime.translation.customFields`,
`product.deliveryTime.translation`.created_at as `product.deliveryTime.translation.createdAt`,
`product.deliveryTime.translation`.updated_at as `product.deliveryTime.translation.updatedAt`,
`product.deliveryTime.translation`.delivery_time_id as `product.deliveryTime.translation.deliveryTimeId`,
`product.deliveryTime.translation`.language_id as `product.deliveryTime.translation.languageId`
FROM
`delivery_time_translation` `product.deliveryTime.translation`
WHERE
`product.deliveryTime.translation`.language_id = : languageId
) `product.deliveryTime.delivery_time_translation` ON `product.deliveryTime.delivery_time_translation`.`delivery_time_id` = `product.deliveryTime`.`id`
LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id`
LEFT JOIN (
SELECT
`product.cover.media.translation`.media_id,
`product.cover.media.translation`.title as `product.cover.media.translation.title`,
`product.cover.media.translation`.alt as `product.cover.media.translation.alt`,
`product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`,
`product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`,
`product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`,
`product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`,
`product.cover.media.translation`.language_id as `product.cover.media.translation.languageId`
FROM
`media_translation` `product.cover.media.translation`
WHERE
`product.cover.media.translation`.language_id = : languageId
) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id`
WHERE
(
`product`.`version_id` = : version
)
AND (
`product`.`id` IN (: ids)
)
SELECT `product`.`id` as `product.id`, `product`.`version_id` as `product.versionId`, `product`.`parent_id` as `product.parentId`, `product`.`parent_version_id` as `product.parentVersionId`, COALESCE(`product`.`product_manufacturer_id`, `product.parent`.`product_manufacturer_id`) as `product.manufacturerId`, COALESCE(`product`.`product_manufacturer_version_id`, `product.parent`.`product_manufacturer_version_id`) as `product.productManufacturerVersionId`, COALESCE(`product`.`unit_id`, `product.parent`.`unit_id`) as `product.unitId`, COALESCE(`product`.`tax_id`, `product.parent`.`tax_id`) as `product.taxId`, COALESCE(`product`.`product_media_id`, `product.parent`.`product_media_id`) as `product.coverId`, COALESCE(`product`.`product_media_version_id`, `product.parent`.`product_media_version_id`) as `product.productMediaVersionId`, COALESCE(`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`) as `product.deliveryTimeId`, COALESCE(`product`.`product_feature_set_id`, `product.parent`.`product_feature_set_id`) as `product.featureSetId`, COALESCE(`product`.`canonical_product_id`, `product.parent`.`canonical_product_id`) as `product.canonicalProductId`, COALESCE(`product`.`cms_page_id`, `product.parent`.`cms_page_id`) as `product.cmsPageId`, COALESCE(`product`.`cms_page_version_id`, `product.parent`.`cms_page_version_id`) as `product.cmsPageVersionId`, `product.parent`.`price` as `product.price.inherited`, COALESCE(`product`.`price`, `product.parent`.`price`) as `product.price`, `product`.`product_number` as `product.productNumber`, `product`.`stock` as `product.stock`, COALESCE(`product`.`restock_time`, `product.parent`.`restock_time`) as `product.restockTime`, `product`.`auto_increment` as `product.autoIncrement`, COALESCE(`product`.`active`, `product.parent`.`active`) as `product.active`, `product`.`available_stock` as `product.availableStock`, `product`.`available` as `product.available`, COALESCE(`product`.`is_closeout`, `product.parent`.`is_closeout`) as `product.isCloseout`, `product`.`display_group` as `product.displayGroup`, `product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`, COALESCE(`product`.`configurator_group_config`, `product.parent`.`configurator_group_config`) as `product.configuratorGroupConfig`, COALESCE(`product`.`main_variant_id`, `product.parent`.`main_variant_id`) as `product.mainVariantId`, COALESCE(`product`.`display_parent`, `product.parent`.`display_parent`) as `product.displayParent`, `product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`, COALESCE(`product`.`variant_listing_config`, `product.parent`.`variant_listing_config`) as `product.variantListingConfig`, `product`.`variant_restrictions` as `product.variantRestrictions`, COALESCE(`product`.`manufacturer_number`, `product.parent`.`manufacturer_number`) as `product.manufacturerNumber`, COALESCE(`product`.`ean`, `product.parent`.`ean`) as `product.ean`, COALESCE(`product`.`purchase_steps`, `product.parent`.`purchase_steps`) as `product.purchaseSteps`, COALESCE(`product`.`max_purchase`, `product.parent`.`max_purchase`) as `product.maxPurchase`, COALESCE(`product`.`min_purchase`, `product.parent`.`min_purchase`) as `product.minPurchase`, COALESCE(`product`.`purchase_unit`, `product.parent`.`purchase_unit`) as `product.purchaseUnit`, COALESCE(`product`.`reference_unit`, `product.parent`.`reference_unit`) as `product.referenceUnit`, COALESCE(`product`.`shipping_free`, `product.parent`.`shipping_free`) as `product.shippingFree`, `product.parent`.`purchase_prices` as `product.purchasePrices.inherited`, COALESCE(`product`.`purchase_prices`, `product.parent`.`purchase_prices`) as `product.purchasePrices`, COALESCE(`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`) as `product.markAsTopseller`, COALESCE(`product`.`weight`, `product.parent`.`weight`) as `product.weight`, COALESCE(`product`.`width`, `product.parent`.`width`) as `product.width`, COALESCE(`product`.`height`, `product.parent`.`height`) as `product.height`, COALESCE(`product`.`length`, `product.parent`.`length`) as `product.length`, COALESCE(`product`.`release_date`, `product.parent`.`release_date`) as `product.releaseDate`, COALESCE(`product`.`rating_average`, `product.parent`.`rating_average`) as `product.ratingAverage`, `product.parent`.`category_tree` as `product.categoryTree.inherited`, COALESCE(`product`.`category_tree`, `product.parent`.`category_tree`) as `product.categoryTree`, `product.parent`.`property_ids` as `product.propertyIds.inherited`, COALESCE(`product`.`property_ids`, `product.parent`.`property_ids`) as `product.propertyIds`, `product.parent`.`option_ids` as `product.optionIds.inherited`, COALESCE(`product`.`option_ids`, `product.parent`.`option_ids`) as `product.optionIds`, `product.parent`.`stream_ids` as `product.streamIds.inherited`, COALESCE(`product`.`stream_ids`, `product.parent`.`stream_ids`) as `product.streamIds`, `product.parent`.`tag_ids` as `product.tagIds.inherited`, COALESCE(`product`.`tag_ids`, `product.parent`.`tag_ids`) as `product.tagIds`, `product.parent`.`category_ids` as `product.categoryIds.inherited`, COALESCE(`product`.`category_ids`, `product.parent`.`category_ids`) as `product.categoryIds`, `product`.`child_count` as `product.childCount`, COALESCE(`product`.`custom_field_set_selection_active`, `product.parent`.`custom_field_set_selection_active`) as `product.customFieldSetSelectionActive`, `product`.`sales` as `product.sales`, `product`.`states` as `product.states`, `product.tax`.`id` as `product.tax.id`, `product.tax`.`tax_rate` as `product.tax.taxRate`, `product.tax`.`name` as `product.tax.name`, `product.tax`.`position` as `product.tax.position`, `product.tax`.`custom_fields` as `product.tax.customFields`, `product.tax`.`created_at` as `product.tax.createdAt`, `product.tax`.`updated_at` as `product.tax.updatedAt`, `product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`, COALESCE(`product`.`cheapest_price`, `product.parent`.`cheapest_price`) as `product.cheapestPrice`, `product`.`created_at` as `product.createdAt`, `product`.`updated_at` as `product.updatedAt`, `product.unit`.`id` as `product.unit.id`, `product.unit`.`created_at` as `product.unit.createdAt`, `product.unit`.`updated_at` as `product.unit.updatedAt`, `product.unit.translation.shortCode`, COALESCE(`product.unit.translation.shortCode`,`product.unit.translation.shortCode`) as `product.unit.shortCode`, `product.unit.translation.name`, COALESCE(`product.unit.translation.name`,`product.unit.translation.name`) as `product.unit.name`, `product.unit.translation.customFields`, COALESCE(`product.unit.translation.customFields`,`product.unit.translation.customFields`) as `product.unit.customFields`, `product.unit.translation.createdAt`, `product.unit.translation.updatedAt`, `product.unit.translation.unitId`, `product.unit.translation.languageId`, `product.deliveryTime`.`id` as `product.deliveryTime.id`, `product.deliveryTime`.`min` as `product.deliveryTime.min`, `product.deliveryTime`.`max` as `product.deliveryTime.max`, `product.deliveryTime`.`unit` as `product.deliveryTime.unit`, `product.deliveryTime`.`created_at` as `product.deliveryTime.createdAt`, `product.deliveryTime`.`updated_at` as `product.deliveryTime.updatedAt`, `product.deliveryTime.translation.name`, COALESCE(`product.deliveryTime.translation.name`,`product.deliveryTime.translation.name`) as `product.deliveryTime.name`, `product.deliveryTime.translation.customFields`, COALESCE(`product.deliveryTime.translation.customFields`,`product.deliveryTime.translation.customFields`) as `product.deliveryTime.customFields`, `product.deliveryTime.translation.createdAt`, `product.deliveryTime.translation.updatedAt`, `product.deliveryTime.translation.deliveryTimeId`, `product.deliveryTime.translation.languageId`, `product.cover`.`id` as `product.cover.id`, `product.cover`.`version_id` as `product.cover.versionId`, `product.cover`.`product_id` as `product.cover.productId`, `product.cover`.`product_version_id` as `product.cover.productVersionId`, `product.cover`.`media_id` as `product.cover.mediaId`, `product.cover`.`position` as `product.cover.position`, `product.cover.media`.`id` as `product.cover.media.id`, `product.cover.media`.`user_id` as `product.cover.media.userId`, `product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`, `product.cover.media`.`mime_type` as `product.cover.media.mimeType`, `product.cover.media`.`file_extension` as `product.cover.media.fileExtension`, `product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`, `product.cover.media`.`file_name` as `product.cover.media.fileName`, `product.cover.media`.`file_size` as `product.cover.media.fileSize`, `product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`, `product.cover.media`.`meta_data` as `product.cover.media.metaData`, `product.cover.media`.`private` as `product.cover.media.private`, `product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`, `product.cover.media`.`created_at` as `product.cover.media.createdAt`, `product.cover.media`.`updated_at` as `product.cover.media.updatedAt`, `product.cover.media.translation.title`, COALESCE(`product.cover.media.translation.title`,`product.cover.media.translation.title`) as `product.cover.media.title`, `product.cover.media.translation.alt`, COALESCE(`product.cover.media.translation.alt`,`product.cover.media.translation.alt`) as `product.cover.media.alt`, `product.cover.media.translation.customFields`, COALESCE(`product.cover.media.translation.customFields`,`product.cover.media.translation.customFields`) as `product.cover.media.customFields`, `product.cover.media.translation.createdAt`, `product.cover.media.translation.updatedAt`, `product.cover.media.translation.mediaId`, `product.cover.media.translation.languageId`, `product.cover`.`custom_fields` as `product.cover.customFields`, `product.cover`.`created_at` as `product.cover.createdAt`, `product.cover`.`updated_at` as `product.cover.updatedAt`, `product.translation.metaDescription`, `product.parent.translation.metaDescription`, COALESCE(`product.translation.metaDescription`,`product.parent.translation.metaDescription`,`product.translation.metaDescription`) as `product.metaDescription`, `product.translation.name`, `product.parent.translation.name`, COALESCE(`product.translation.name`,`product.parent.translation.name`,`product.translation.name`) as `product.name`, `product.translation.keywords`, `product.parent.translation.keywords`, COALESCE(`product.translation.keywords`,`product.parent.translation.keywords`,`product.translation.keywords`) as `product.keywords`, `product.translation.description`, `product.parent.translation.description`, COALESCE(`product.translation.description`,`product.parent.translation.description`,`product.translation.description`) as `product.description`, `product.translation.metaTitle`, `product.parent.translation.metaTitle`, COALESCE(`product.translation.metaTitle`,`product.parent.translation.metaTitle`,`product.translation.metaTitle`) as `product.metaTitle`, `product.translation.packUnit`, `product.parent.translation.packUnit`, COALESCE(`product.translation.packUnit`,`product.parent.translation.packUnit`,`product.translation.packUnit`) as `product.packUnit`, `product.translation.packUnitPlural`, `product.parent.translation.packUnitPlural`, COALESCE(`product.translation.packUnitPlural`,`product.parent.translation.packUnitPlural`,`product.translation.packUnitPlural`) as `product.packUnitPlural`, `product.translation.customSearchKeywords`, `product.parent.translation.customSearchKeywords`, COALESCE(`product.translation.customSearchKeywords`,`product.parent.translation.customSearchKeywords`,`product.translation.customSearchKeywords`) as `product.customSearchKeywords`, `product.translation.slotConfig`, `product.parent.translation.slotConfig`, COALESCE(`product.translation.slotConfig`,`product.parent.translation.slotConfig`,`product.translation.slotConfig`) as `product.slotConfig`, `product.translation.customFields`, `product.parent.translation.customFields`, COALESCE(`product.translation.customFields`,`product.parent.translation.customFields`,`product.translation.customFields`) as `product.customFields`, `product.translation.createdAt`, `product.parent.translation.createdAt`, `product.translation.updatedAt`, `product.parent.translation.updatedAt`, `product.translation.productId`, `product.parent.translation.productId`, `product.translation.languageId`, `product.parent.translation.languageId`, `product.translation.productVersionId`, `product.parent.translation.productVersionId` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN (SELECT `product.translation`.product_id, `product.translation`.product_version_id, `product.translation`.meta_description as `product.translation.metaDescription`, `product.translation`.name as `product.translation.name`, `product.translation`.keywords as `product.translation.keywords`, `product.translation`.description as `product.translation.description`, `product.translation`.meta_title as `product.translation.metaTitle`, `product.translation`.pack_unit as `product.translation.packUnit`, `product.translation`.pack_unit_plural as `product.translation.packUnitPlural`, `product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`, `product.translation`.slot_config as `product.translation.slotConfig`, `product.translation`.custom_fields as `product.translation.customFields`, `product.translation`.created_at as `product.translation.createdAt`, `product.translation`.updated_at as `product.translation.updatedAt`, `product.translation`.product_id as `product.translation.productId`, `product.translation`.language_id as `product.translation.languageId`, `product.translation`.product_version_id as `product.translation.productVersionId` FROM `product_translation` `product.translation` WHERE `product.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id` AND `product.product_translation`.product_version_id = `product`.version_id LEFT JOIN (SELECT `product.parent.translation`.product_id, `product.parent.translation`.product_version_id, `product.parent.translation`.meta_description as `product.parent.translation.metaDescription`, `product.parent.translation`.name as `product.parent.translation.name`, `product.parent.translation`.keywords as `product.parent.translation.keywords`, `product.parent.translation`.description as `product.parent.translation.description`, `product.parent.translation`.meta_title as `product.parent.translation.metaTitle`, `product.parent.translation`.pack_unit as `product.parent.translation.packUnit`, `product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`, `product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`, `product.parent.translation`.slot_config as `product.parent.translation.slotConfig`, `product.parent.translation`.custom_fields as `product.parent.translation.customFields`, `product.parent.translation`.created_at as `product.parent.translation.createdAt`, `product.parent.translation`.updated_at as `product.parent.translation.updatedAt`, `product.parent.translation`.product_id as `product.parent.translation.productId`, `product.parent.translation`.language_id as `product.parent.translation.languageId`, `product.parent.translation`.product_version_id as `product.parent.translation.productVersionId` FROM `product_translation` `product.parent.translation` WHERE `product.parent.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id` AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id` LEFT JOIN `unit` `product.unit` ON `product`.`unit` = `product.unit`.`id` LEFT JOIN `delivery_time` `product.deliveryTime` ON `product`.`deliveryTime` = `product.deliveryTime`.`id` LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id` AND `product`.`version_id` = `product.cover`.`version_id` LEFT JOIN (SELECT `product.unit.translation`.unit_id, `product.unit.translation`.short_code as `product.unit.translation.shortCode`, `product.unit.translation`.name as `product.unit.translation.name`, `product.unit.translation`.custom_fields as `product.unit.translation.customFields`, `product.unit.translation`.created_at as `product.unit.translation.createdAt`, `product.unit.translation`.updated_at as `product.unit.translation.updatedAt`, `product.unit.translation`.unit_id as `product.unit.translation.unitId`, `product.unit.translation`.language_id as `product.unit.translation.languageId` FROM `unit_translation` `product.unit.translation` WHERE `product.unit.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.unit.unit_translation` ON `product.unit.unit_translation`.`unit_id` = `product.unit`.`id` LEFT JOIN (SELECT `product.deliveryTime.translation`.delivery_time_id, `product.deliveryTime.translation`.name as `product.deliveryTime.translation.name`, `product.deliveryTime.translation`.custom_fields as `product.deliveryTime.translation.customFields`, `product.deliveryTime.translation`.created_at as `product.deliveryTime.translation.createdAt`, `product.deliveryTime.translation`.updated_at as `product.deliveryTime.translation.updatedAt`, `product.deliveryTime.translation`.delivery_time_id as `product.deliveryTime.translation.deliveryTimeId`, `product.deliveryTime.translation`.language_id as `product.deliveryTime.translation.languageId` FROM `delivery_time_translation` `product.deliveryTime.translation` WHERE `product.deliveryTime.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.deliveryTime.delivery_time_translation` ON `product.deliveryTime.delivery_time_translation`.`delivery_time_id` = `product.deliveryTime`.`id` LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id` LEFT JOIN (SELECT `product.cover.media.translation`.media_id, `product.cover.media.translation`.title as `product.cover.media.translation.title`, `product.cover.media.translation`.alt as `product.cover.media.translation.alt`, `product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`, `product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`, `product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`, `product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`, `product.cover.media.translation`.language_id as `product.cover.media.translation.languageId` FROM `media_translation` `product.cover.media.translation` WHERE `product.cover.media.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id` WHERE (`product`.`version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425) AND (`product`.`id` IN (0x039588C24E8D4085A567726D690A7FB1));
array:37 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 242)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 316)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetch (line 148)"
4 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 93)"
5 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::read (line 195)"
6 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::read (line 133)"
7 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 36)"
8 => "Swag\PayPal\Util\Compatibility\SalesChannelRepositoryDecorator::search (line 207)"
9 => "Tds\MerwareDiscounts\Cart\Checkout\OverwrittenPriceCollector::getSalesChannelProduct (line 93)"
10 => "Tds\MerwareDiscounts\Cart\Checkout\OverwrittenPriceCollector::collect (line 103)"
11 => "Shopware\Core\Checkout\Cart\Processor::runProcessors (line 67)"
12 => "Shopware\Core\Checkout\Cart\Processor::Shopware\Core\Checkout\Cart\{closure} (line 59)"
13 => "Shopware\Core\Profiling\Profiler::trace (line 86)"
14 => "Shopware\Core\Checkout\Cart\Processor::process (line 132)"
15 => "Shopware\Core\Checkout\Cart\CartRuleLoader::Shopware\Core\Checkout\Cart\{closure} (line 59)"
16 => "Shopware\Core\Profiling\Profiler::trace (line 183)"
17 => "Shopware\Core\Checkout\Cart\CartRuleLoader::load (line 83)"
18 => "Shopware\Core\Checkout\Cart\CartRuleLoader::loadByToken (line 106)"
19 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::Shopware\Core\System\SalesChannel\Context\{closure} (line 59)"
20 => "Shopware\Core\Profiling\Profiler::trace (line 111)"
21 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::get (line 105)"
22 => "Shopware\Core\Framework\Routing\SalesChannelRequestContextResolver::resolve (line 38)"
23 => "Shopware\Core\Framework\Routing\ContextResolverListener::resolveContext (line 118)"
24 => "Symfony\Component\EventDispatcher\Debug\WrappedListener::__invoke (line 230)"
25 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
26 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
27 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
28 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
29 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
30 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
31 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 151)"
32 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
33 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
34 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
35 => "Shopware\Core\HttpKernel::doHandle (line 81)"
36 => "Shopware\Core\HttpKernel::handle (line 85)"
]
|
132 |
1.08 ms |
SELECT `product_price`.`id` as `product_price.id`, `product_price`.`version_id` as `product_price.versionId`, `product_price`.`product_id` as `product_price.productId`, `product_price`.`product_version_id` as `product_price.productVersionId`, `product_price`.`rule_id` as `product_price.ruleId`, `product_price`.`price` as `product_price.price`, `product_price`.`quantity_start` as `product_price.quantityStart`, `product_price`.`quantity_end` as `product_price.quantityEnd`, `product_price`.`custom_fields` as `product_price.customFields`, `product_price`.`created_at` as `product_price.createdAt`, `product_price`.`updated_at` as `product_price.updatedAt` FROM `product_price` WHERE (`product_price`.`version_id` = :version) AND ((`product_price`.`product_id` IN (:param_7da3b64d97404eb89d3cfe89898bbaca)))
SELECT `product_price`.`id` as `product_price.id`, `product_price`.`version_id` as `product_price.versionId`, `product_price`.`product_id` as `product_price.productId`, `product_price`.`product_version_id` as `product_price.productVersionId`, `product_price`.`rule_id` as `product_price.ruleId`, `product_price`.`price` as `product_price.price`, `product_price`.`quantity_start` as `product_price.quantityStart`, `product_price`.`quantity_end` as `product_price.quantityEnd`, `product_price`.`custom_fields` as `product_price.customFields`, `product_price`.`created_at` as `product_price.createdAt`, `product_price`.`updated_at` as `product_price.updatedAt` FROM `product_price` WHERE (`product_price`.`version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425) AND ((`product_price`.`product_id` IN (0x039588C24E8D4085A567726D690A7FB1, 0x9D7267EB5F2D44208B128DD081565AB8)));
array:41 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 242)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 316)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetch (line 148)"
4 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 503)"
5 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::loadOneToManyWithoutPagination (line 438)"
6 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::loadOneToMany (line 1210)"
7 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetchAssociations (line 152)"
8 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 93)"
9 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::read (line 195)"
10 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::read (line 133)"
11 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 36)"
12 => "Swag\PayPal\Util\Compatibility\SalesChannelRepositoryDecorator::search (line 207)"
13 => "Tds\MerwareDiscounts\Cart\Checkout\OverwrittenPriceCollector::getSalesChannelProduct (line 93)"
14 => "Tds\MerwareDiscounts\Cart\Checkout\OverwrittenPriceCollector::collect (line 103)"
15 => "Shopware\Core\Checkout\Cart\Processor::runProcessors (line 67)"
16 => "Shopware\Core\Checkout\Cart\Processor::Shopware\Core\Checkout\Cart\{closure} (line 59)"
17 => "Shopware\Core\Profiling\Profiler::trace (line 86)"
18 => "Shopware\Core\Checkout\Cart\Processor::process (line 132)"
19 => "Shopware\Core\Checkout\Cart\CartRuleLoader::Shopware\Core\Checkout\Cart\{closure} (line 59)"
20 => "Shopware\Core\Profiling\Profiler::trace (line 183)"
21 => "Shopware\Core\Checkout\Cart\CartRuleLoader::load (line 83)"
22 => "Shopware\Core\Checkout\Cart\CartRuleLoader::loadByToken (line 106)"
23 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::Shopware\Core\System\SalesChannel\Context\{closure} (line 59)"
24 => "Shopware\Core\Profiling\Profiler::trace (line 111)"
25 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::get (line 105)"
26 => "Shopware\Core\Framework\Routing\SalesChannelRequestContextResolver::resolve (line 38)"
27 => "Shopware\Core\Framework\Routing\ContextResolverListener::resolveContext (line 118)"
28 => "Symfony\Component\EventDispatcher\Debug\WrappedListener::__invoke (line 230)"
29 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
30 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
31 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
32 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
33 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
34 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
35 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 151)"
36 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
37 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
38 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
39 => "Shopware\Core\HttpKernel::doHandle (line 81)"
40 => "Shopware\Core\HttpKernel::handle (line 85)"
]
|
133 |
0.64 ms |
SELECT `product`.`id`, `product`.`product_number`, `product`.`auto_increment` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN `product_visibility` `product.visibilities` ON `product`.`visibilities` = `product.visibilities`.`product_id` AND `product`.version_id = `product.visibilities`.product_version_id WHERE (`product`.`version_id` = :version) AND ((((`product.visibilities`.`visibility` >= :param_d8badd221a5d4f6d82f82891f5b76741) AND `product.visibilities`.`sales_channel_id` = :param_331804d83d5544e49f3120cb06f9348c AND IFNULL(`product`.`active`, `product.parent`.`active`) = :param_a0ef1a3761e64658bc8e0edbfa94a520))) AND (`product`.`id` IN (:ids)) GROUP BY `product`.`id`
SELECT `product`.`id`, `product`.`product_number`, `product`.`auto_increment` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN `product_visibility` `product.visibilities` ON `product`.`visibilities` = `product.visibilities`.`product_id` AND `product`.version_id = `product.visibilities`.product_version_id WHERE (`product`.`version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425) AND ((((`product.visibilities`.`visibility` >= 10) AND `product.visibilities`.`sales_channel_id` = 0x4EB9108BE4654CC9B140D14DE85579E9 AND IFNULL(`product`.`active`, `product.parent`.`active`) = 1))) AND (`product`.`id` IN (0x8C19A5E15C644D799A0A60985B6962AF)) GROUP BY `product`.`id`;
array:36 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 242)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 107)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntitySearcher::search (line 62)"
4 => "Shopware\Elasticsearch\Framework\DataAbstractionLayer\ElasticsearchEntitySearcher::search (line 216)"
5 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::doSearch (line 122)"
6 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 36)"
7 => "Swag\PayPal\Util\Compatibility\SalesChannelRepositoryDecorator::search (line 207)"
8 => "Tds\MerwareDiscounts\Cart\Checkout\OverwrittenPriceCollector::getSalesChannelProduct (line 93)"
9 => "Tds\MerwareDiscounts\Cart\Checkout\OverwrittenPriceCollector::collect (line 103)"
10 => "Shopware\Core\Checkout\Cart\Processor::runProcessors (line 67)"
11 => "Shopware\Core\Checkout\Cart\Processor::Shopware\Core\Checkout\Cart\{closure} (line 59)"
12 => "Shopware\Core\Profiling\Profiler::trace (line 86)"
13 => "Shopware\Core\Checkout\Cart\Processor::process (line 132)"
14 => "Shopware\Core\Checkout\Cart\CartRuleLoader::Shopware\Core\Checkout\Cart\{closure} (line 59)"
15 => "Shopware\Core\Profiling\Profiler::trace (line 183)"
16 => "Shopware\Core\Checkout\Cart\CartRuleLoader::load (line 83)"
17 => "Shopware\Core\Checkout\Cart\CartRuleLoader::loadByToken (line 106)"
18 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::Shopware\Core\System\SalesChannel\Context\{closure} (line 59)"
19 => "Shopware\Core\Profiling\Profiler::trace (line 111)"
20 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::get (line 105)"
21 => "Shopware\Core\Framework\Routing\SalesChannelRequestContextResolver::resolve (line 38)"
22 => "Shopware\Core\Framework\Routing\ContextResolverListener::resolveContext (line 118)"
23 => "Symfony\Component\EventDispatcher\Debug\WrappedListener::__invoke (line 230)"
24 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
25 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
26 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
27 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
28 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
29 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
30 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 151)"
31 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
32 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
33 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
34 => "Shopware\Core\HttpKernel::doHandle (line 81)"
35 => "Shopware\Core\HttpKernel::handle (line 85)"
]
|
134 |
19.84 ms |
SELECT `product`.`id` as `product.id`, `product`.`version_id` as `product.versionId`, `product`.`parent_id` as `product.parentId`, `product`.`parent_version_id` as `product.parentVersionId`, COALESCE(`product`.`product_manufacturer_id`, `product.parent`.`product_manufacturer_id`) as `product.manufacturerId`, COALESCE(`product`.`product_manufacturer_version_id`, `product.parent`.`product_manufacturer_version_id`) as `product.productManufacturerVersionId`, COALESCE(`product`.`unit_id`, `product.parent`.`unit_id`) as `product.unitId`, COALESCE(`product`.`tax_id`, `product.parent`.`tax_id`) as `product.taxId`, COALESCE(`product`.`product_media_id`, `product.parent`.`product_media_id`) as `product.coverId`, COALESCE(`product`.`product_media_version_id`, `product.parent`.`product_media_version_id`) as `product.productMediaVersionId`, COALESCE(`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`) as `product.deliveryTimeId`, COALESCE(`product`.`product_feature_set_id`, `product.parent`.`product_feature_set_id`) as `product.featureSetId`, COALESCE(`product`.`canonical_product_id`, `product.parent`.`canonical_product_id`) as `product.canonicalProductId`, COALESCE(`product`.`cms_page_id`, `product.parent`.`cms_page_id`) as `product.cmsPageId`, COALESCE(`product`.`cms_page_version_id`, `product.parent`.`cms_page_version_id`) as `product.cmsPageVersionId`, `product.parent`.`price` as `product.price.inherited`, COALESCE(`product`.`price`, `product.parent`.`price`) as `product.price`, `product`.`product_number` as `product.productNumber`, `product`.`stock` as `product.stock`, COALESCE(`product`.`restock_time`, `product.parent`.`restock_time`) as `product.restockTime`, `product`.`auto_increment` as `product.autoIncrement`, COALESCE(`product`.`active`, `product.parent`.`active`) as `product.active`, `product`.`available_stock` as `product.availableStock`, `product`.`available` as `product.available`, COALESCE(`product`.`is_closeout`, `product.parent`.`is_closeout`) as `product.isCloseout`, `product`.`display_group` as `product.displayGroup`, `product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`, COALESCE(`product`.`configurator_group_config`, `product.parent`.`configurator_group_config`) as `product.configuratorGroupConfig`, COALESCE(`product`.`main_variant_id`, `product.parent`.`main_variant_id`) as `product.mainVariantId`, COALESCE(`product`.`display_parent`, `product.parent`.`display_parent`) as `product.displayParent`, `product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`, COALESCE(`product`.`variant_listing_config`, `product.parent`.`variant_listing_config`) as `product.variantListingConfig`, `product`.`variant_restrictions` as `product.variantRestrictions`, COALESCE(`product`.`manufacturer_number`, `product.parent`.`manufacturer_number`) as `product.manufacturerNumber`, COALESCE(`product`.`ean`, `product.parent`.`ean`) as `product.ean`, COALESCE(`product`.`purchase_steps`, `product.parent`.`purchase_steps`) as `product.purchaseSteps`, COALESCE(`product`.`max_purchase`, `product.parent`.`max_purchase`) as `product.maxPurchase`, COALESCE(`product`.`min_purchase`, `product.parent`.`min_purchase`) as `product.minPurchase`, COALESCE(`product`.`purchase_unit`, `product.parent`.`purchase_unit`) as `product.purchaseUnit`, COALESCE(`product`.`reference_unit`, `product.parent`.`reference_unit`) as `product.referenceUnit`, COALESCE(`product`.`shipping_free`, `product.parent`.`shipping_free`) as `product.shippingFree`, `product.parent`.`purchase_prices` as `product.purchasePrices.inherited`, COALESCE(`product`.`purchase_prices`, `product.parent`.`purchase_prices`) as `product.purchasePrices`, COALESCE(`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`) as `product.markAsTopseller`, COALESCE(`product`.`weight`, `product.parent`.`weight`) as `product.weight`, COALESCE(`product`.`width`, `product.parent`.`width`) as `product.width`, COALESCE(`product`.`height`, `product.parent`.`height`) as `product.height`, COALESCE(`product`.`length`, `product.parent`.`length`) as `product.length`, COALESCE(`product`.`release_date`, `product.parent`.`release_date`) as `product.releaseDate`, COALESCE(`product`.`rating_average`, `product.parent`.`rating_average`) as `product.ratingAverage`, `product.parent`.`category_tree` as `product.categoryTree.inherited`, COALESCE(`product`.`category_tree`, `product.parent`.`category_tree`) as `product.categoryTree`, `product.parent`.`property_ids` as `product.propertyIds.inherited`, COALESCE(`product`.`property_ids`, `product.parent`.`property_ids`) as `product.propertyIds`, `product.parent`.`option_ids` as `product.optionIds.inherited`, COALESCE(`product`.`option_ids`, `product.parent`.`option_ids`) as `product.optionIds`, `product.parent`.`stream_ids` as `product.streamIds.inherited`, COALESCE(`product`.`stream_ids`, `product.parent`.`stream_ids`) as `product.streamIds`, `product.parent`.`tag_ids` as `product.tagIds.inherited`, COALESCE(`product`.`tag_ids`, `product.parent`.`tag_ids`) as `product.tagIds`, `product.parent`.`category_ids` as `product.categoryIds.inherited`, COALESCE(`product`.`category_ids`, `product.parent`.`category_ids`) as `product.categoryIds`, `product`.`child_count` as `product.childCount`, COALESCE(`product`.`custom_field_set_selection_active`, `product.parent`.`custom_field_set_selection_active`) as `product.customFieldSetSelectionActive`, `product`.`sales` as `product.sales`, `product`.`states` as `product.states`, `product.tax`.`id` as `product.tax.id`, `product.tax`.`tax_rate` as `product.tax.taxRate`, `product.tax`.`name` as `product.tax.name`, `product.tax`.`position` as `product.tax.position`, `product.tax`.`custom_fields` as `product.tax.customFields`, `product.tax`.`created_at` as `product.tax.createdAt`, `product.tax`.`updated_at` as `product.tax.updatedAt`, `product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`, COALESCE(`product`.`cheapest_price`, `product.parent`.`cheapest_price`) as `product.cheapestPrice`, `product`.`created_at` as `product.createdAt`, `product`.`updated_at` as `product.updatedAt`, `product.unit`.`id` as `product.unit.id`, `product.unit`.`created_at` as `product.unit.createdAt`, `product.unit`.`updated_at` as `product.unit.updatedAt`, `product.unit.translation.shortCode`, COALESCE(`product.unit.translation.shortCode`,`product.unit.translation.shortCode`) as `product.unit.shortCode`, `product.unit.translation.name`, COALESCE(`product.unit.translation.name`,`product.unit.translation.name`) as `product.unit.name`, `product.unit.translation.customFields`, COALESCE(`product.unit.translation.customFields`,`product.unit.translation.customFields`) as `product.unit.customFields`, `product.unit.translation.createdAt`, `product.unit.translation.updatedAt`, `product.unit.translation.unitId`, `product.unit.translation.languageId`, `product.deliveryTime`.`id` as `product.deliveryTime.id`, `product.deliveryTime`.`min` as `product.deliveryTime.min`, `product.deliveryTime`.`max` as `product.deliveryTime.max`, `product.deliveryTime`.`unit` as `product.deliveryTime.unit`, `product.deliveryTime`.`created_at` as `product.deliveryTime.createdAt`, `product.deliveryTime`.`updated_at` as `product.deliveryTime.updatedAt`, `product.deliveryTime.translation.name`, COALESCE(`product.deliveryTime.translation.name`,`product.deliveryTime.translation.name`) as `product.deliveryTime.name`, `product.deliveryTime.translation.customFields`, COALESCE(`product.deliveryTime.translation.customFields`,`product.deliveryTime.translation.customFields`) as `product.deliveryTime.customFields`, `product.deliveryTime.translation.createdAt`, `product.deliveryTime.translation.updatedAt`, `product.deliveryTime.translation.deliveryTimeId`, `product.deliveryTime.translation.languageId`, `product.cover`.`id` as `product.cover.id`, `product.cover`.`version_id` as `product.cover.versionId`, `product.cover`.`product_id` as `product.cover.productId`, `product.cover`.`product_version_id` as `product.cover.productVersionId`, `product.cover`.`media_id` as `product.cover.mediaId`, `product.cover`.`position` as `product.cover.position`, `product.cover.media`.`id` as `product.cover.media.id`, `product.cover.media`.`user_id` as `product.cover.media.userId`, `product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`, `product.cover.media`.`mime_type` as `product.cover.media.mimeType`, `product.cover.media`.`file_extension` as `product.cover.media.fileExtension`, `product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`, `product.cover.media`.`file_name` as `product.cover.media.fileName`, `product.cover.media`.`file_size` as `product.cover.media.fileSize`, `product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`, `product.cover.media`.`meta_data` as `product.cover.media.metaData`, `product.cover.media`.`private` as `product.cover.media.private`, `product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`, `product.cover.media`.`created_at` as `product.cover.media.createdAt`, `product.cover.media`.`updated_at` as `product.cover.media.updatedAt`, `product.cover.media.translation.title`, COALESCE(`product.cover.media.translation.title`,`product.cover.media.translation.title`) as `product.cover.media.title`, `product.cover.media.translation.alt`, COALESCE(`product.cover.media.translation.alt`,`product.cover.media.translation.alt`) as `product.cover.media.alt`, `product.cover.media.translation.customFields`, COALESCE(`product.cover.media.translation.customFields`,`product.cover.media.translation.customFields`) as `product.cover.media.customFields`, `product.cover.media.translation.createdAt`, `product.cover.media.translation.updatedAt`, `product.cover.media.translation.mediaId`, `product.cover.media.translation.languageId`, `product.cover`.`custom_fields` as `product.cover.customFields`, `product.cover`.`created_at` as `product.cover.createdAt`, `product.cover`.`updated_at` as `product.cover.updatedAt`, `product.translation.metaDescription`, `product.parent.translation.metaDescription`, COALESCE(`product.translation.metaDescription`,`product.parent.translation.metaDescription`,`product.translation.metaDescription`) as `product.metaDescription`, `product.translation.name`, `product.parent.translation.name`, COALESCE(`product.translation.name`,`product.parent.translation.name`,`product.translation.name`) as `product.name`, `product.translation.keywords`, `product.parent.translation.keywords`, COALESCE(`product.translation.keywords`,`product.parent.translation.keywords`,`product.translation.keywords`) as `product.keywords`, `product.translation.description`, `product.parent.translation.description`, COALESCE(`product.translation.description`,`product.parent.translation.description`,`product.translation.description`) as `product.description`, `product.translation.metaTitle`, `product.parent.translation.metaTitle`, COALESCE(`product.translation.metaTitle`,`product.parent.translation.metaTitle`,`product.translation.metaTitle`) as `product.metaTitle`, `product.translation.packUnit`, `product.parent.translation.packUnit`, COALESCE(`product.translation.packUnit`,`product.parent.translation.packUnit`,`product.translation.packUnit`) as `product.packUnit`, `product.translation.packUnitPlural`, `product.parent.translation.packUnitPlural`, COALESCE(`product.translation.packUnitPlural`,`product.parent.translation.packUnitPlural`,`product.translation.packUnitPlural`) as `product.packUnitPlural`, `product.translation.customSearchKeywords`, `product.parent.translation.customSearchKeywords`, COALESCE(`product.translation.customSearchKeywords`,`product.parent.translation.customSearchKeywords`,`product.translation.customSearchKeywords`) as `product.customSearchKeywords`, `product.translation.slotConfig`, `product.parent.translation.slotConfig`, COALESCE(`product.translation.slotConfig`,`product.parent.translation.slotConfig`,`product.translation.slotConfig`) as `product.slotConfig`, `product.translation.customFields`, `product.parent.translation.customFields`, COALESCE(`product.translation.customFields`,`product.parent.translation.customFields`,`product.translation.customFields`) as `product.customFields`, `product.translation.createdAt`, `product.parent.translation.createdAt`, `product.translation.updatedAt`, `product.parent.translation.updatedAt`, `product.translation.productId`, `product.parent.translation.productId`, `product.translation.languageId`, `product.parent.translation.languageId`, `product.translation.productVersionId`, `product.parent.translation.productVersionId` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN (SELECT `product.translation`.product_id, `product.translation`.product_version_id, `product.translation`.meta_description as `product.translation.metaDescription`, `product.translation`.name as `product.translation.name`, `product.translation`.keywords as `product.translation.keywords`, `product.translation`.description as `product.translation.description`, `product.translation`.meta_title as `product.translation.metaTitle`, `product.translation`.pack_unit as `product.translation.packUnit`, `product.translation`.pack_unit_plural as `product.translation.packUnitPlural`, `product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`, `product.translation`.slot_config as `product.translation.slotConfig`, `product.translation`.custom_fields as `product.translation.customFields`, `product.translation`.created_at as `product.translation.createdAt`, `product.translation`.updated_at as `product.translation.updatedAt`, `product.translation`.product_id as `product.translation.productId`, `product.translation`.language_id as `product.translation.languageId`, `product.translation`.product_version_id as `product.translation.productVersionId` FROM `product_translation` `product.translation` WHERE `product.translation`.language_id = :languageId) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id` AND `product.product_translation`.product_version_id = `product`.version_id LEFT JOIN (SELECT `product.parent.translation`.product_id, `product.parent.translation`.product_version_id, `product.parent.translation`.meta_description as `product.parent.translation.metaDescription`, `product.parent.translation`.name as `product.parent.translation.name`, `product.parent.translation`.keywords as `product.parent.translation.keywords`, `product.parent.translation`.description as `product.parent.translation.description`, `product.parent.translation`.meta_title as `product.parent.translation.metaTitle`, `product.parent.translation`.pack_unit as `product.parent.translation.packUnit`, `product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`, `product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`, `product.parent.translation`.slot_config as `product.parent.translation.slotConfig`, `product.parent.translation`.custom_fields as `product.parent.translation.customFields`, `product.parent.translation`.created_at as `product.parent.translation.createdAt`, `product.parent.translation`.updated_at as `product.parent.translation.updatedAt`, `product.parent.translation`.product_id as `product.parent.translation.productId`, `product.parent.translation`.language_id as `product.parent.translation.languageId`, `product.parent.translation`.product_version_id as `product.parent.translation.productVersionId` FROM `product_translation` `product.parent.translation` WHERE `product.parent.translation`.language_id = :languageId) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id` AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id` LEFT JOIN `unit` `product.unit` ON `product`.`unit` = `product.unit`.`id` LEFT JOIN `delivery_time` `product.deliveryTime` ON `product`.`deliveryTime` = `product.deliveryTime`.`id` LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id` AND `product`.`version_id` = `product.cover`.`version_id` LEFT JOIN (SELECT `product.unit.translation`.unit_id, `product.unit.translation`.short_code as `product.unit.translation.shortCode`, `product.unit.translation`.name as `product.unit.translation.name`, `product.unit.translation`.custom_fields as `product.unit.translation.customFields`, `product.unit.translation`.created_at as `product.unit.translation.createdAt`, `product.unit.translation`.updated_at as `product.unit.translation.updatedAt`, `product.unit.translation`.unit_id as `product.unit.translation.unitId`, `product.unit.translation`.language_id as `product.unit.translation.languageId` FROM `unit_translation` `product.unit.translation` WHERE `product.unit.translation`.language_id = :languageId) `product.unit.unit_translation` ON `product.unit.unit_translation`.`unit_id` = `product.unit`.`id` LEFT JOIN (SELECT `product.deliveryTime.translation`.delivery_time_id, `product.deliveryTime.translation`.name as `product.deliveryTime.translation.name`, `product.deliveryTime.translation`.custom_fields as `product.deliveryTime.translation.customFields`, `product.deliveryTime.translation`.created_at as `product.deliveryTime.translation.createdAt`, `product.deliveryTime.translation`.updated_at as `product.deliveryTime.translation.updatedAt`, `product.deliveryTime.translation`.delivery_time_id as `product.deliveryTime.translation.deliveryTimeId`, `product.deliveryTime.translation`.language_id as `product.deliveryTime.translation.languageId` FROM `delivery_time_translation` `product.deliveryTime.translation` WHERE `product.deliveryTime.translation`.language_id = :languageId) `product.deliveryTime.delivery_time_translation` ON `product.deliveryTime.delivery_time_translation`.`delivery_time_id` = `product.deliveryTime`.`id` LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id` LEFT JOIN (SELECT `product.cover.media.translation`.media_id, `product.cover.media.translation`.title as `product.cover.media.translation.title`, `product.cover.media.translation`.alt as `product.cover.media.translation.alt`, `product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`, `product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`, `product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`, `product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`, `product.cover.media.translation`.language_id as `product.cover.media.translation.languageId` FROM `media_translation` `product.cover.media.translation` WHERE `product.cover.media.translation`.language_id = :languageId) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id` WHERE (`product`.`version_id` = :version) AND (`product`.`id` IN (:ids))
SELECT
`product`.`id` as `product.id`,
`product`.`version_id` as `product.versionId`,
`product`.`parent_id` as `product.parentId`,
`product`.`parent_version_id` as `product.parentVersionId`,
COALESCE(
`product`.`product_manufacturer_id`,
`product.parent`.`product_manufacturer_id`
) as `product.manufacturerId`,
COALESCE(
`product`.`product_manufacturer_version_id`,
`product.parent`.`product_manufacturer_version_id`
) as `product.productManufacturerVersionId`,
COALESCE(
`product`.`unit_id`, `product.parent`.`unit_id`
) as `product.unitId`,
COALESCE(
`product`.`tax_id`, `product.parent`.`tax_id`
) as `product.taxId`,
COALESCE(
`product`.`product_media_id`, `product.parent`.`product_media_id`
) as `product.coverId`,
COALESCE(
`product`.`product_media_version_id`,
`product.parent`.`product_media_version_id`
) as `product.productMediaVersionId`,
COALESCE(
`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`
) as `product.deliveryTimeId`,
COALESCE(
`product`.`product_feature_set_id`,
`product.parent`.`product_feature_set_id`
) as `product.featureSetId`,
COALESCE(
`product`.`canonical_product_id`,
`product.parent`.`canonical_product_id`
) as `product.canonicalProductId`,
COALESCE(
`product`.`cms_page_id`, `product.parent`.`cms_page_id`
) as `product.cmsPageId`,
COALESCE(
`product`.`cms_page_version_id`,
`product.parent`.`cms_page_version_id`
) as `product.cmsPageVersionId`,
`product.parent`.`price` as `product.price.inherited`,
COALESCE(
`product`.`price`, `product.parent`.`price`
) as `product.price`,
`product`.`product_number` as `product.productNumber`,
`product`.`stock` as `product.stock`,
COALESCE(
`product`.`restock_time`, `product.parent`.`restock_time`
) as `product.restockTime`,
`product`.`auto_increment` as `product.autoIncrement`,
COALESCE(
`product`.`active`, `product.parent`.`active`
) as `product.active`,
`product`.`available_stock` as `product.availableStock`,
`product`.`available` as `product.available`,
COALESCE(
`product`.`is_closeout`, `product.parent`.`is_closeout`
) as `product.isCloseout`,
`product`.`display_group` as `product.displayGroup`,
`product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`,
COALESCE(
`product`.`configurator_group_config`,
`product.parent`.`configurator_group_config`
) as `product.configuratorGroupConfig`,
COALESCE(
`product`.`main_variant_id`, `product.parent`.`main_variant_id`
) as `product.mainVariantId`,
COALESCE(
`product`.`display_parent`, `product.parent`.`display_parent`
) as `product.displayParent`,
`product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`,
COALESCE(
`product`.`variant_listing_config`,
`product.parent`.`variant_listing_config`
) as `product.variantListingConfig`,
`product`.`variant_restrictions` as `product.variantRestrictions`,
COALESCE(
`product`.`manufacturer_number`,
`product.parent`.`manufacturer_number`
) as `product.manufacturerNumber`,
COALESCE(
`product`.`ean`, `product.parent`.`ean`
) as `product.ean`,
COALESCE(
`product`.`purchase_steps`, `product.parent`.`purchase_steps`
) as `product.purchaseSteps`,
COALESCE(
`product`.`max_purchase`, `product.parent`.`max_purchase`
) as `product.maxPurchase`,
COALESCE(
`product`.`min_purchase`, `product.parent`.`min_purchase`
) as `product.minPurchase`,
COALESCE(
`product`.`purchase_unit`, `product.parent`.`purchase_unit`
) as `product.purchaseUnit`,
COALESCE(
`product`.`reference_unit`, `product.parent`.`reference_unit`
) as `product.referenceUnit`,
COALESCE(
`product`.`shipping_free`, `product.parent`.`shipping_free`
) as `product.shippingFree`,
`product.parent`.`purchase_prices` as `product.purchasePrices.inherited`,
COALESCE(
`product`.`purchase_prices`, `product.parent`.`purchase_prices`
) as `product.purchasePrices`,
COALESCE(
`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`
) as `product.markAsTopseller`,
COALESCE(
`product`.`weight`, `product.parent`.`weight`
) as `product.weight`,
COALESCE(
`product`.`width`, `product.parent`.`width`
) as `product.width`,
COALESCE(
`product`.`height`, `product.parent`.`height`
) as `product.height`,
COALESCE(
`product`.`length`, `product.parent`.`length`
) as `product.length`,
COALESCE(
`product`.`release_date`, `product.parent`.`release_date`
) as `product.releaseDate`,
COALESCE(
`product`.`rating_average`, `product.parent`.`rating_average`
) as `product.ratingAverage`,
`product.parent`.`category_tree` as `product.categoryTree.inherited`,
COALESCE(
`product`.`category_tree`, `product.parent`.`category_tree`
) as `product.categoryTree`,
`product.parent`.`property_ids` as `product.propertyIds.inherited`,
COALESCE(
`product`.`property_ids`, `product.parent`.`property_ids`
) as `product.propertyIds`,
`product.parent`.`option_ids` as `product.optionIds.inherited`,
COALESCE(
`product`.`option_ids`, `product.parent`.`option_ids`
) as `product.optionIds`,
`product.parent`.`stream_ids` as `product.streamIds.inherited`,
COALESCE(
`product`.`stream_ids`, `product.parent`.`stream_ids`
) as `product.streamIds`,
`product.parent`.`tag_ids` as `product.tagIds.inherited`,
COALESCE(
`product`.`tag_ids`, `product.parent`.`tag_ids`
) as `product.tagIds`,
`product.parent`.`category_ids` as `product.categoryIds.inherited`,
COALESCE(
`product`.`category_ids`, `product.parent`.`category_ids`
) as `product.categoryIds`,
`product`.`child_count` as `product.childCount`,
COALESCE(
`product`.`custom_field_set_selection_active`,
`product.parent`.`custom_field_set_selection_active`
) as `product.customFieldSetSelectionActive`,
`product`.`sales` as `product.sales`,
`product`.`states` as `product.states`,
`product.tax`.`id` as `product.tax.id`,
`product.tax`.`tax_rate` as `product.tax.taxRate`,
`product.tax`.`name` as `product.tax.name`,
`product.tax`.`position` as `product.tax.position`,
`product.tax`.`custom_fields` as `product.tax.customFields`,
`product.tax`.`created_at` as `product.tax.createdAt`,
`product.tax`.`updated_at` as `product.tax.updatedAt`,
`product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`,
COALESCE(
`product`.`cheapest_price`, `product.parent`.`cheapest_price`
) as `product.cheapestPrice`,
`product`.`created_at` as `product.createdAt`,
`product`.`updated_at` as `product.updatedAt`,
`product.unit`.`id` as `product.unit.id`,
`product.unit`.`created_at` as `product.unit.createdAt`,
`product.unit`.`updated_at` as `product.unit.updatedAt`,
`product.unit.translation.shortCode`,
COALESCE(
`product.unit.translation.shortCode`,
`product.unit.translation.shortCode`
) as `product.unit.shortCode`,
`product.unit.translation.name`,
COALESCE(
`product.unit.translation.name`,
`product.unit.translation.name`
) as `product.unit.name`,
`product.unit.translation.customFields`,
COALESCE(
`product.unit.translation.customFields`,
`product.unit.translation.customFields`
) as `product.unit.customFields`,
`product.unit.translation.createdAt`,
`product.unit.translation.updatedAt`,
`product.unit.translation.unitId`,
`product.unit.translation.languageId`,
`product.deliveryTime`.`id` as `product.deliveryTime.id`,
`product.deliveryTime`.`min` as `product.deliveryTime.min`,
`product.deliveryTime`.`max` as `product.deliveryTime.max`,
`product.deliveryTime`.`unit` as `product.deliveryTime.unit`,
`product.deliveryTime`.`created_at` as `product.deliveryTime.createdAt`,
`product.deliveryTime`.`updated_at` as `product.deliveryTime.updatedAt`,
`product.deliveryTime.translation.name`,
COALESCE(
`product.deliveryTime.translation.name`,
`product.deliveryTime.translation.name`
) as `product.deliveryTime.name`,
`product.deliveryTime.translation.customFields`,
COALESCE(
`product.deliveryTime.translation.customFields`,
`product.deliveryTime.translation.customFields`
) as `product.deliveryTime.customFields`,
`product.deliveryTime.translation.createdAt`,
`product.deliveryTime.translation.updatedAt`,
`product.deliveryTime.translation.deliveryTimeId`,
`product.deliveryTime.translation.languageId`,
`product.cover`.`id` as `product.cover.id`,
`product.cover`.`version_id` as `product.cover.versionId`,
`product.cover`.`product_id` as `product.cover.productId`,
`product.cover`.`product_version_id` as `product.cover.productVersionId`,
`product.cover`.`media_id` as `product.cover.mediaId`,
`product.cover`.`position` as `product.cover.position`,
`product.cover.media`.`id` as `product.cover.media.id`,
`product.cover.media`.`user_id` as `product.cover.media.userId`,
`product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`,
`product.cover.media`.`mime_type` as `product.cover.media.mimeType`,
`product.cover.media`.`file_extension` as `product.cover.media.fileExtension`,
`product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`,
`product.cover.media`.`file_name` as `product.cover.media.fileName`,
`product.cover.media`.`file_size` as `product.cover.media.fileSize`,
`product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`,
`product.cover.media`.`meta_data` as `product.cover.media.metaData`,
`product.cover.media`.`private` as `product.cover.media.private`,
`product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`,
`product.cover.media`.`created_at` as `product.cover.media.createdAt`,
`product.cover.media`.`updated_at` as `product.cover.media.updatedAt`,
`product.cover.media.translation.title`,
COALESCE(
`product.cover.media.translation.title`,
`product.cover.media.translation.title`
) as `product.cover.media.title`,
`product.cover.media.translation.alt`,
COALESCE(
`product.cover.media.translation.alt`,
`product.cover.media.translation.alt`
) as `product.cover.media.alt`,
`product.cover.media.translation.customFields`,
COALESCE(
`product.cover.media.translation.customFields`,
`product.cover.media.translation.customFields`
) as `product.cover.media.customFields`,
`product.cover.media.translation.createdAt`,
`product.cover.media.translation.updatedAt`,
`product.cover.media.translation.mediaId`,
`product.cover.media.translation.languageId`,
`product.cover`.`custom_fields` as `product.cover.customFields`,
`product.cover`.`created_at` as `product.cover.createdAt`,
`product.cover`.`updated_at` as `product.cover.updatedAt`,
`product.translation.metaDescription`,
`product.parent.translation.metaDescription`,
COALESCE(
`product.translation.metaDescription`,
`product.parent.translation.metaDescription`,
`product.translation.metaDescription`
) as `product.metaDescription`,
`product.translation.name`,
`product.parent.translation.name`,
COALESCE(
`product.translation.name`, `product.parent.translation.name`,
`product.translation.name`
) as `product.name`,
`product.translation.keywords`,
`product.parent.translation.keywords`,
COALESCE(
`product.translation.keywords`,
`product.parent.translation.keywords`,
`product.translation.keywords`
) as `product.keywords`,
`product.translation.description`,
`product.parent.translation.description`,
COALESCE(
`product.translation.description`,
`product.parent.translation.description`,
`product.translation.description`
) as `product.description`,
`product.translation.metaTitle`,
`product.parent.translation.metaTitle`,
COALESCE(
`product.translation.metaTitle`,
`product.parent.translation.metaTitle`,
`product.translation.metaTitle`
) as `product.metaTitle`,
`product.translation.packUnit`,
`product.parent.translation.packUnit`,
COALESCE(
`product.translation.packUnit`,
`product.parent.translation.packUnit`,
`product.translation.packUnit`
) as `product.packUnit`,
`product.translation.packUnitPlural`,
`product.parent.translation.packUnitPlural`,
COALESCE(
`product.translation.packUnitPlural`,
`product.parent.translation.packUnitPlural`,
`product.translation.packUnitPlural`
) as `product.packUnitPlural`,
`product.translation.customSearchKeywords`,
`product.parent.translation.customSearchKeywords`,
COALESCE(
`product.translation.customSearchKeywords`,
`product.parent.translation.customSearchKeywords`,
`product.translation.customSearchKeywords`
) as `product.customSearchKeywords`,
`product.translation.slotConfig`,
`product.parent.translation.slotConfig`,
COALESCE(
`product.translation.slotConfig`,
`product.parent.translation.slotConfig`,
`product.translation.slotConfig`
) as `product.slotConfig`,
`product.translation.customFields`,
`product.parent.translation.customFields`,
COALESCE(
`product.translation.customFields`,
`product.parent.translation.customFields`,
`product.translation.customFields`
) as `product.customFields`,
`product.translation.createdAt`,
`product.parent.translation.createdAt`,
`product.translation.updatedAt`,
`product.parent.translation.updatedAt`,
`product.translation.productId`,
`product.parent.translation.productId`,
`product.translation.languageId`,
`product.parent.translation.languageId`,
`product.translation.productVersionId`,
`product.parent.translation.productVersionId`
FROM
`product`
LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id`
AND `product`.`version_id` = `product.parent`.`version_id`
LEFT JOIN (
SELECT
`product.translation`.product_id,
`product.translation`.product_version_id,
`product.translation`.meta_description as `product.translation.metaDescription`,
`product.translation`.name as `product.translation.name`,
`product.translation`.keywords as `product.translation.keywords`,
`product.translation`.description as `product.translation.description`,
`product.translation`.meta_title as `product.translation.metaTitle`,
`product.translation`.pack_unit as `product.translation.packUnit`,
`product.translation`.pack_unit_plural as `product.translation.packUnitPlural`,
`product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`,
`product.translation`.slot_config as `product.translation.slotConfig`,
`product.translation`.custom_fields as `product.translation.customFields`,
`product.translation`.created_at as `product.translation.createdAt`,
`product.translation`.updated_at as `product.translation.updatedAt`,
`product.translation`.product_id as `product.translation.productId`,
`product.translation`.language_id as `product.translation.languageId`,
`product.translation`.product_version_id as `product.translation.productVersionId`
FROM
`product_translation` `product.translation`
WHERE
`product.translation`.language_id = : languageId
) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id`
AND `product.product_translation`.product_version_id = `product`.version_id
LEFT JOIN (
SELECT
`product.parent.translation`.product_id,
`product.parent.translation`.product_version_id,
`product.parent.translation`.meta_description as `product.parent.translation.metaDescription`,
`product.parent.translation`.name as `product.parent.translation.name`,
`product.parent.translation`.keywords as `product.parent.translation.keywords`,
`product.parent.translation`.description as `product.parent.translation.description`,
`product.parent.translation`.meta_title as `product.parent.translation.metaTitle`,
`product.parent.translation`.pack_unit as `product.parent.translation.packUnit`,
`product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`,
`product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`,
`product.parent.translation`.slot_config as `product.parent.translation.slotConfig`,
`product.parent.translation`.custom_fields as `product.parent.translation.customFields`,
`product.parent.translation`.created_at as `product.parent.translation.createdAt`,
`product.parent.translation`.updated_at as `product.parent.translation.updatedAt`,
`product.parent.translation`.product_id as `product.parent.translation.productId`,
`product.parent.translation`.language_id as `product.parent.translation.languageId`,
`product.parent.translation`.product_version_id as `product.parent.translation.productVersionId`
FROM
`product_translation` `product.parent.translation`
WHERE
`product.parent.translation`.language_id = : languageId
) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id`
AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id
LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id`
LEFT JOIN `unit` `product.unit` ON `product`.`unit` = `product.unit`.`id`
LEFT JOIN `delivery_time` `product.deliveryTime` ON `product`.`deliveryTime` = `product.deliveryTime`.`id`
LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id`
AND `product`.`version_id` = `product.cover`.`version_id`
LEFT JOIN (
SELECT
`product.unit.translation`.unit_id,
`product.unit.translation`.short_code as `product.unit.translation.shortCode`,
`product.unit.translation`.name as `product.unit.translation.name`,
`product.unit.translation`.custom_fields as `product.unit.translation.customFields`,
`product.unit.translation`.created_at as `product.unit.translation.createdAt`,
`product.unit.translation`.updated_at as `product.unit.translation.updatedAt`,
`product.unit.translation`.unit_id as `product.unit.translation.unitId`,
`product.unit.translation`.language_id as `product.unit.translation.languageId`
FROM
`unit_translation` `product.unit.translation`
WHERE
`product.unit.translation`.language_id = : languageId
) `product.unit.unit_translation` ON `product.unit.unit_translation`.`unit_id` = `product.unit`.`id`
LEFT JOIN (
SELECT
`product.deliveryTime.translation`.delivery_time_id,
`product.deliveryTime.translation`.name as `product.deliveryTime.translation.name`,
`product.deliveryTime.translation`.custom_fields as `product.deliveryTime.translation.customFields`,
`product.deliveryTime.translation`.created_at as `product.deliveryTime.translation.createdAt`,
`product.deliveryTime.translation`.updated_at as `product.deliveryTime.translation.updatedAt`,
`product.deliveryTime.translation`.delivery_time_id as `product.deliveryTime.translation.deliveryTimeId`,
`product.deliveryTime.translation`.language_id as `product.deliveryTime.translation.languageId`
FROM
`delivery_time_translation` `product.deliveryTime.translation`
WHERE
`product.deliveryTime.translation`.language_id = : languageId
) `product.deliveryTime.delivery_time_translation` ON `product.deliveryTime.delivery_time_translation`.`delivery_time_id` = `product.deliveryTime`.`id`
LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id`
LEFT JOIN (
SELECT
`product.cover.media.translation`.media_id,
`product.cover.media.translation`.title as `product.cover.media.translation.title`,
`product.cover.media.translation`.alt as `product.cover.media.translation.alt`,
`product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`,
`product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`,
`product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`,
`product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`,
`product.cover.media.translation`.language_id as `product.cover.media.translation.languageId`
FROM
`media_translation` `product.cover.media.translation`
WHERE
`product.cover.media.translation`.language_id = : languageId
) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id`
WHERE
(
`product`.`version_id` = : version
)
AND (
`product`.`id` IN (: ids)
)
SELECT `product`.`id` as `product.id`, `product`.`version_id` as `product.versionId`, `product`.`parent_id` as `product.parentId`, `product`.`parent_version_id` as `product.parentVersionId`, COALESCE(`product`.`product_manufacturer_id`, `product.parent`.`product_manufacturer_id`) as `product.manufacturerId`, COALESCE(`product`.`product_manufacturer_version_id`, `product.parent`.`product_manufacturer_version_id`) as `product.productManufacturerVersionId`, COALESCE(`product`.`unit_id`, `product.parent`.`unit_id`) as `product.unitId`, COALESCE(`product`.`tax_id`, `product.parent`.`tax_id`) as `product.taxId`, COALESCE(`product`.`product_media_id`, `product.parent`.`product_media_id`) as `product.coverId`, COALESCE(`product`.`product_media_version_id`, `product.parent`.`product_media_version_id`) as `product.productMediaVersionId`, COALESCE(`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`) as `product.deliveryTimeId`, COALESCE(`product`.`product_feature_set_id`, `product.parent`.`product_feature_set_id`) as `product.featureSetId`, COALESCE(`product`.`canonical_product_id`, `product.parent`.`canonical_product_id`) as `product.canonicalProductId`, COALESCE(`product`.`cms_page_id`, `product.parent`.`cms_page_id`) as `product.cmsPageId`, COALESCE(`product`.`cms_page_version_id`, `product.parent`.`cms_page_version_id`) as `product.cmsPageVersionId`, `product.parent`.`price` as `product.price.inherited`, COALESCE(`product`.`price`, `product.parent`.`price`) as `product.price`, `product`.`product_number` as `product.productNumber`, `product`.`stock` as `product.stock`, COALESCE(`product`.`restock_time`, `product.parent`.`restock_time`) as `product.restockTime`, `product`.`auto_increment` as `product.autoIncrement`, COALESCE(`product`.`active`, `product.parent`.`active`) as `product.active`, `product`.`available_stock` as `product.availableStock`, `product`.`available` as `product.available`, COALESCE(`product`.`is_closeout`, `product.parent`.`is_closeout`) as `product.isCloseout`, `product`.`display_group` as `product.displayGroup`, `product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`, COALESCE(`product`.`configurator_group_config`, `product.parent`.`configurator_group_config`) as `product.configuratorGroupConfig`, COALESCE(`product`.`main_variant_id`, `product.parent`.`main_variant_id`) as `product.mainVariantId`, COALESCE(`product`.`display_parent`, `product.parent`.`display_parent`) as `product.displayParent`, `product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`, COALESCE(`product`.`variant_listing_config`, `product.parent`.`variant_listing_config`) as `product.variantListingConfig`, `product`.`variant_restrictions` as `product.variantRestrictions`, COALESCE(`product`.`manufacturer_number`, `product.parent`.`manufacturer_number`) as `product.manufacturerNumber`, COALESCE(`product`.`ean`, `product.parent`.`ean`) as `product.ean`, COALESCE(`product`.`purchase_steps`, `product.parent`.`purchase_steps`) as `product.purchaseSteps`, COALESCE(`product`.`max_purchase`, `product.parent`.`max_purchase`) as `product.maxPurchase`, COALESCE(`product`.`min_purchase`, `product.parent`.`min_purchase`) as `product.minPurchase`, COALESCE(`product`.`purchase_unit`, `product.parent`.`purchase_unit`) as `product.purchaseUnit`, COALESCE(`product`.`reference_unit`, `product.parent`.`reference_unit`) as `product.referenceUnit`, COALESCE(`product`.`shipping_free`, `product.parent`.`shipping_free`) as `product.shippingFree`, `product.parent`.`purchase_prices` as `product.purchasePrices.inherited`, COALESCE(`product`.`purchase_prices`, `product.parent`.`purchase_prices`) as `product.purchasePrices`, COALESCE(`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`) as `product.markAsTopseller`, COALESCE(`product`.`weight`, `product.parent`.`weight`) as `product.weight`, COALESCE(`product`.`width`, `product.parent`.`width`) as `product.width`, COALESCE(`product`.`height`, `product.parent`.`height`) as `product.height`, COALESCE(`product`.`length`, `product.parent`.`length`) as `product.length`, COALESCE(`product`.`release_date`, `product.parent`.`release_date`) as `product.releaseDate`, COALESCE(`product`.`rating_average`, `product.parent`.`rating_average`) as `product.ratingAverage`, `product.parent`.`category_tree` as `product.categoryTree.inherited`, COALESCE(`product`.`category_tree`, `product.parent`.`category_tree`) as `product.categoryTree`, `product.parent`.`property_ids` as `product.propertyIds.inherited`, COALESCE(`product`.`property_ids`, `product.parent`.`property_ids`) as `product.propertyIds`, `product.parent`.`option_ids` as `product.optionIds.inherited`, COALESCE(`product`.`option_ids`, `product.parent`.`option_ids`) as `product.optionIds`, `product.parent`.`stream_ids` as `product.streamIds.inherited`, COALESCE(`product`.`stream_ids`, `product.parent`.`stream_ids`) as `product.streamIds`, `product.parent`.`tag_ids` as `product.tagIds.inherited`, COALESCE(`product`.`tag_ids`, `product.parent`.`tag_ids`) as `product.tagIds`, `product.parent`.`category_ids` as `product.categoryIds.inherited`, COALESCE(`product`.`category_ids`, `product.parent`.`category_ids`) as `product.categoryIds`, `product`.`child_count` as `product.childCount`, COALESCE(`product`.`custom_field_set_selection_active`, `product.parent`.`custom_field_set_selection_active`) as `product.customFieldSetSelectionActive`, `product`.`sales` as `product.sales`, `product`.`states` as `product.states`, `product.tax`.`id` as `product.tax.id`, `product.tax`.`tax_rate` as `product.tax.taxRate`, `product.tax`.`name` as `product.tax.name`, `product.tax`.`position` as `product.tax.position`, `product.tax`.`custom_fields` as `product.tax.customFields`, `product.tax`.`created_at` as `product.tax.createdAt`, `product.tax`.`updated_at` as `product.tax.updatedAt`, `product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`, COALESCE(`product`.`cheapest_price`, `product.parent`.`cheapest_price`) as `product.cheapestPrice`, `product`.`created_at` as `product.createdAt`, `product`.`updated_at` as `product.updatedAt`, `product.unit`.`id` as `product.unit.id`, `product.unit`.`created_at` as `product.unit.createdAt`, `product.unit`.`updated_at` as `product.unit.updatedAt`, `product.unit.translation.shortCode`, COALESCE(`product.unit.translation.shortCode`,`product.unit.translation.shortCode`) as `product.unit.shortCode`, `product.unit.translation.name`, COALESCE(`product.unit.translation.name`,`product.unit.translation.name`) as `product.unit.name`, `product.unit.translation.customFields`, COALESCE(`product.unit.translation.customFields`,`product.unit.translation.customFields`) as `product.unit.customFields`, `product.unit.translation.createdAt`, `product.unit.translation.updatedAt`, `product.unit.translation.unitId`, `product.unit.translation.languageId`, `product.deliveryTime`.`id` as `product.deliveryTime.id`, `product.deliveryTime`.`min` as `product.deliveryTime.min`, `product.deliveryTime`.`max` as `product.deliveryTime.max`, `product.deliveryTime`.`unit` as `product.deliveryTime.unit`, `product.deliveryTime`.`created_at` as `product.deliveryTime.createdAt`, `product.deliveryTime`.`updated_at` as `product.deliveryTime.updatedAt`, `product.deliveryTime.translation.name`, COALESCE(`product.deliveryTime.translation.name`,`product.deliveryTime.translation.name`) as `product.deliveryTime.name`, `product.deliveryTime.translation.customFields`, COALESCE(`product.deliveryTime.translation.customFields`,`product.deliveryTime.translation.customFields`) as `product.deliveryTime.customFields`, `product.deliveryTime.translation.createdAt`, `product.deliveryTime.translation.updatedAt`, `product.deliveryTime.translation.deliveryTimeId`, `product.deliveryTime.translation.languageId`, `product.cover`.`id` as `product.cover.id`, `product.cover`.`version_id` as `product.cover.versionId`, `product.cover`.`product_id` as `product.cover.productId`, `product.cover`.`product_version_id` as `product.cover.productVersionId`, `product.cover`.`media_id` as `product.cover.mediaId`, `product.cover`.`position` as `product.cover.position`, `product.cover.media`.`id` as `product.cover.media.id`, `product.cover.media`.`user_id` as `product.cover.media.userId`, `product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`, `product.cover.media`.`mime_type` as `product.cover.media.mimeType`, `product.cover.media`.`file_extension` as `product.cover.media.fileExtension`, `product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`, `product.cover.media`.`file_name` as `product.cover.media.fileName`, `product.cover.media`.`file_size` as `product.cover.media.fileSize`, `product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`, `product.cover.media`.`meta_data` as `product.cover.media.metaData`, `product.cover.media`.`private` as `product.cover.media.private`, `product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`, `product.cover.media`.`created_at` as `product.cover.media.createdAt`, `product.cover.media`.`updated_at` as `product.cover.media.updatedAt`, `product.cover.media.translation.title`, COALESCE(`product.cover.media.translation.title`,`product.cover.media.translation.title`) as `product.cover.media.title`, `product.cover.media.translation.alt`, COALESCE(`product.cover.media.translation.alt`,`product.cover.media.translation.alt`) as `product.cover.media.alt`, `product.cover.media.translation.customFields`, COALESCE(`product.cover.media.translation.customFields`,`product.cover.media.translation.customFields`) as `product.cover.media.customFields`, `product.cover.media.translation.createdAt`, `product.cover.media.translation.updatedAt`, `product.cover.media.translation.mediaId`, `product.cover.media.translation.languageId`, `product.cover`.`custom_fields` as `product.cover.customFields`, `product.cover`.`created_at` as `product.cover.createdAt`, `product.cover`.`updated_at` as `product.cover.updatedAt`, `product.translation.metaDescription`, `product.parent.translation.metaDescription`, COALESCE(`product.translation.metaDescription`,`product.parent.translation.metaDescription`,`product.translation.metaDescription`) as `product.metaDescription`, `product.translation.name`, `product.parent.translation.name`, COALESCE(`product.translation.name`,`product.parent.translation.name`,`product.translation.name`) as `product.name`, `product.translation.keywords`, `product.parent.translation.keywords`, COALESCE(`product.translation.keywords`,`product.parent.translation.keywords`,`product.translation.keywords`) as `product.keywords`, `product.translation.description`, `product.parent.translation.description`, COALESCE(`product.translation.description`,`product.parent.translation.description`,`product.translation.description`) as `product.description`, `product.translation.metaTitle`, `product.parent.translation.metaTitle`, COALESCE(`product.translation.metaTitle`,`product.parent.translation.metaTitle`,`product.translation.metaTitle`) as `product.metaTitle`, `product.translation.packUnit`, `product.parent.translation.packUnit`, COALESCE(`product.translation.packUnit`,`product.parent.translation.packUnit`,`product.translation.packUnit`) as `product.packUnit`, `product.translation.packUnitPlural`, `product.parent.translation.packUnitPlural`, COALESCE(`product.translation.packUnitPlural`,`product.parent.translation.packUnitPlural`,`product.translation.packUnitPlural`) as `product.packUnitPlural`, `product.translation.customSearchKeywords`, `product.parent.translation.customSearchKeywords`, COALESCE(`product.translation.customSearchKeywords`,`product.parent.translation.customSearchKeywords`,`product.translation.customSearchKeywords`) as `product.customSearchKeywords`, `product.translation.slotConfig`, `product.parent.translation.slotConfig`, COALESCE(`product.translation.slotConfig`,`product.parent.translation.slotConfig`,`product.translation.slotConfig`) as `product.slotConfig`, `product.translation.customFields`, `product.parent.translation.customFields`, COALESCE(`product.translation.customFields`,`product.parent.translation.customFields`,`product.translation.customFields`) as `product.customFields`, `product.translation.createdAt`, `product.parent.translation.createdAt`, `product.translation.updatedAt`, `product.parent.translation.updatedAt`, `product.translation.productId`, `product.parent.translation.productId`, `product.translation.languageId`, `product.parent.translation.languageId`, `product.translation.productVersionId`, `product.parent.translation.productVersionId` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN (SELECT `product.translation`.product_id, `product.translation`.product_version_id, `product.translation`.meta_description as `product.translation.metaDescription`, `product.translation`.name as `product.translation.name`, `product.translation`.keywords as `product.translation.keywords`, `product.translation`.description as `product.translation.description`, `product.translation`.meta_title as `product.translation.metaTitle`, `product.translation`.pack_unit as `product.translation.packUnit`, `product.translation`.pack_unit_plural as `product.translation.packUnitPlural`, `product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`, `product.translation`.slot_config as `product.translation.slotConfig`, `product.translation`.custom_fields as `product.translation.customFields`, `product.translation`.created_at as `product.translation.createdAt`, `product.translation`.updated_at as `product.translation.updatedAt`, `product.translation`.product_id as `product.translation.productId`, `product.translation`.language_id as `product.translation.languageId`, `product.translation`.product_version_id as `product.translation.productVersionId` FROM `product_translation` `product.translation` WHERE `product.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id` AND `product.product_translation`.product_version_id = `product`.version_id LEFT JOIN (SELECT `product.parent.translation`.product_id, `product.parent.translation`.product_version_id, `product.parent.translation`.meta_description as `product.parent.translation.metaDescription`, `product.parent.translation`.name as `product.parent.translation.name`, `product.parent.translation`.keywords as `product.parent.translation.keywords`, `product.parent.translation`.description as `product.parent.translation.description`, `product.parent.translation`.meta_title as `product.parent.translation.metaTitle`, `product.parent.translation`.pack_unit as `product.parent.translation.packUnit`, `product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`, `product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`, `product.parent.translation`.slot_config as `product.parent.translation.slotConfig`, `product.parent.translation`.custom_fields as `product.parent.translation.customFields`, `product.parent.translation`.created_at as `product.parent.translation.createdAt`, `product.parent.translation`.updated_at as `product.parent.translation.updatedAt`, `product.parent.translation`.product_id as `product.parent.translation.productId`, `product.parent.translation`.language_id as `product.parent.translation.languageId`, `product.parent.translation`.product_version_id as `product.parent.translation.productVersionId` FROM `product_translation` `product.parent.translation` WHERE `product.parent.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id` AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id` LEFT JOIN `unit` `product.unit` ON `product`.`unit` = `product.unit`.`id` LEFT JOIN `delivery_time` `product.deliveryTime` ON `product`.`deliveryTime` = `product.deliveryTime`.`id` LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id` AND `product`.`version_id` = `product.cover`.`version_id` LEFT JOIN (SELECT `product.unit.translation`.unit_id, `product.unit.translation`.short_code as `product.unit.translation.shortCode`, `product.unit.translation`.name as `product.unit.translation.name`, `product.unit.translation`.custom_fields as `product.unit.translation.customFields`, `product.unit.translation`.created_at as `product.unit.translation.createdAt`, `product.unit.translation`.updated_at as `product.unit.translation.updatedAt`, `product.unit.translation`.unit_id as `product.unit.translation.unitId`, `product.unit.translation`.language_id as `product.unit.translation.languageId` FROM `unit_translation` `product.unit.translation` WHERE `product.unit.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.unit.unit_translation` ON `product.unit.unit_translation`.`unit_id` = `product.unit`.`id` LEFT JOIN (SELECT `product.deliveryTime.translation`.delivery_time_id, `product.deliveryTime.translation`.name as `product.deliveryTime.translation.name`, `product.deliveryTime.translation`.custom_fields as `product.deliveryTime.translation.customFields`, `product.deliveryTime.translation`.created_at as `product.deliveryTime.translation.createdAt`, `product.deliveryTime.translation`.updated_at as `product.deliveryTime.translation.updatedAt`, `product.deliveryTime.translation`.delivery_time_id as `product.deliveryTime.translation.deliveryTimeId`, `product.deliveryTime.translation`.language_id as `product.deliveryTime.translation.languageId` FROM `delivery_time_translation` `product.deliveryTime.translation` WHERE `product.deliveryTime.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.deliveryTime.delivery_time_translation` ON `product.deliveryTime.delivery_time_translation`.`delivery_time_id` = `product.deliveryTime`.`id` LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id` LEFT JOIN (SELECT `product.cover.media.translation`.media_id, `product.cover.media.translation`.title as `product.cover.media.translation.title`, `product.cover.media.translation`.alt as `product.cover.media.translation.alt`, `product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`, `product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`, `product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`, `product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`, `product.cover.media.translation`.language_id as `product.cover.media.translation.languageId` FROM `media_translation` `product.cover.media.translation` WHERE `product.cover.media.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id` WHERE (`product`.`version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425) AND (`product`.`id` IN (0x8C19A5E15C644D799A0A60985B6962AF));
array:37 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 242)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 316)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetch (line 148)"
4 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 93)"
5 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::read (line 195)"
6 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::read (line 133)"
7 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 36)"
8 => "Swag\PayPal\Util\Compatibility\SalesChannelRepositoryDecorator::search (line 207)"
9 => "Tds\MerwareDiscounts\Cart\Checkout\OverwrittenPriceCollector::getSalesChannelProduct (line 93)"
10 => "Tds\MerwareDiscounts\Cart\Checkout\OverwrittenPriceCollector::collect (line 103)"
11 => "Shopware\Core\Checkout\Cart\Processor::runProcessors (line 67)"
12 => "Shopware\Core\Checkout\Cart\Processor::Shopware\Core\Checkout\Cart\{closure} (line 59)"
13 => "Shopware\Core\Profiling\Profiler::trace (line 86)"
14 => "Shopware\Core\Checkout\Cart\Processor::process (line 132)"
15 => "Shopware\Core\Checkout\Cart\CartRuleLoader::Shopware\Core\Checkout\Cart\{closure} (line 59)"
16 => "Shopware\Core\Profiling\Profiler::trace (line 183)"
17 => "Shopware\Core\Checkout\Cart\CartRuleLoader::load (line 83)"
18 => "Shopware\Core\Checkout\Cart\CartRuleLoader::loadByToken (line 106)"
19 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::Shopware\Core\System\SalesChannel\Context\{closure} (line 59)"
20 => "Shopware\Core\Profiling\Profiler::trace (line 111)"
21 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::get (line 105)"
22 => "Shopware\Core\Framework\Routing\SalesChannelRequestContextResolver::resolve (line 38)"
23 => "Shopware\Core\Framework\Routing\ContextResolverListener::resolveContext (line 118)"
24 => "Symfony\Component\EventDispatcher\Debug\WrappedListener::__invoke (line 230)"
25 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
26 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
27 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
28 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
29 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
30 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
31 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 151)"
32 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
33 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
34 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
35 => "Shopware\Core\HttpKernel::doHandle (line 81)"
36 => "Shopware\Core\HttpKernel::handle (line 85)"
]
|
135 |
0.85 ms |
SELECT `product_price`.`id` as `product_price.id`, `product_price`.`version_id` as `product_price.versionId`, `product_price`.`product_id` as `product_price.productId`, `product_price`.`product_version_id` as `product_price.productVersionId`, `product_price`.`rule_id` as `product_price.ruleId`, `product_price`.`price` as `product_price.price`, `product_price`.`quantity_start` as `product_price.quantityStart`, `product_price`.`quantity_end` as `product_price.quantityEnd`, `product_price`.`custom_fields` as `product_price.customFields`, `product_price`.`created_at` as `product_price.createdAt`, `product_price`.`updated_at` as `product_price.updatedAt` FROM `product_price` WHERE (`product_price`.`version_id` = :version) AND ((`product_price`.`product_id` IN (:param_06ddbc59e7a849be815efab7cbc004dd)))
SELECT `product_price`.`id` as `product_price.id`, `product_price`.`version_id` as `product_price.versionId`, `product_price`.`product_id` as `product_price.productId`, `product_price`.`product_version_id` as `product_price.productVersionId`, `product_price`.`rule_id` as `product_price.ruleId`, `product_price`.`price` as `product_price.price`, `product_price`.`quantity_start` as `product_price.quantityStart`, `product_price`.`quantity_end` as `product_price.quantityEnd`, `product_price`.`custom_fields` as `product_price.customFields`, `product_price`.`created_at` as `product_price.createdAt`, `product_price`.`updated_at` as `product_price.updatedAt` FROM `product_price` WHERE (`product_price`.`version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425) AND ((`product_price`.`product_id` IN (0x8C19A5E15C644D799A0A60985B6962AF, 0x7A49814066CB478EA5A49191AF1BBF0C)));
array:41 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 242)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 316)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetch (line 148)"
4 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 503)"
5 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::loadOneToManyWithoutPagination (line 438)"
6 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::loadOneToMany (line 1210)"
7 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetchAssociations (line 152)"
8 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 93)"
9 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::read (line 195)"
10 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::read (line 133)"
11 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 36)"
12 => "Swag\PayPal\Util\Compatibility\SalesChannelRepositoryDecorator::search (line 207)"
13 => "Tds\MerwareDiscounts\Cart\Checkout\OverwrittenPriceCollector::getSalesChannelProduct (line 93)"
14 => "Tds\MerwareDiscounts\Cart\Checkout\OverwrittenPriceCollector::collect (line 103)"
15 => "Shopware\Core\Checkout\Cart\Processor::runProcessors (line 67)"
16 => "Shopware\Core\Checkout\Cart\Processor::Shopware\Core\Checkout\Cart\{closure} (line 59)"
17 => "Shopware\Core\Profiling\Profiler::trace (line 86)"
18 => "Shopware\Core\Checkout\Cart\Processor::process (line 132)"
19 => "Shopware\Core\Checkout\Cart\CartRuleLoader::Shopware\Core\Checkout\Cart\{closure} (line 59)"
20 => "Shopware\Core\Profiling\Profiler::trace (line 183)"
21 => "Shopware\Core\Checkout\Cart\CartRuleLoader::load (line 83)"
22 => "Shopware\Core\Checkout\Cart\CartRuleLoader::loadByToken (line 106)"
23 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::Shopware\Core\System\SalesChannel\Context\{closure} (line 59)"
24 => "Shopware\Core\Profiling\Profiler::trace (line 111)"
25 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::get (line 105)"
26 => "Shopware\Core\Framework\Routing\SalesChannelRequestContextResolver::resolve (line 38)"
27 => "Shopware\Core\Framework\Routing\ContextResolverListener::resolveContext (line 118)"
28 => "Symfony\Component\EventDispatcher\Debug\WrappedListener::__invoke (line 230)"
29 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
30 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
31 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
32 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
33 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
34 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
35 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 151)"
36 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
37 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
38 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
39 => "Shopware\Core\HttpKernel::doHandle (line 81)"
40 => "Shopware\Core\HttpKernel::handle (line 85)"
]
|
136 |
0.46 ms |
SELECT `product`.`id`, `product`.`product_number`, `product`.`auto_increment` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN `product_visibility` `product.visibilities` ON `product`.`visibilities` = `product.visibilities`.`product_id` AND `product`.version_id = `product.visibilities`.product_version_id WHERE (`product`.`version_id` = :version) AND ((((`product.visibilities`.`visibility` >= :param_382c9cc1e98843289e9dbebbde4e3fa7) AND `product.visibilities`.`sales_channel_id` = :param_1c51911f27724a19ae503ad39c9af09f AND IFNULL(`product`.`active`, `product.parent`.`active`) = :param_8a1cdd8a564a4979b69a96877be8f15f))) AND (`product`.`id` IN (:ids)) GROUP BY `product`.`id`
SELECT `product`.`id`, `product`.`product_number`, `product`.`auto_increment` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN `product_visibility` `product.visibilities` ON `product`.`visibilities` = `product.visibilities`.`product_id` AND `product`.version_id = `product.visibilities`.product_version_id WHERE (`product`.`version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425) AND ((((`product.visibilities`.`visibility` >= 10) AND `product.visibilities`.`sales_channel_id` = 0x4EB9108BE4654CC9B140D14DE85579E9 AND IFNULL(`product`.`active`, `product.parent`.`active`) = 1))) AND (`product`.`id` IN (0x319A8F4815FD488EA8EAC21E147D89E3)) GROUP BY `product`.`id`;
array:36 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 242)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 107)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntitySearcher::search (line 62)"
4 => "Shopware\Elasticsearch\Framework\DataAbstractionLayer\ElasticsearchEntitySearcher::search (line 216)"
5 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::doSearch (line 122)"
6 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 36)"
7 => "Swag\PayPal\Util\Compatibility\SalesChannelRepositoryDecorator::search (line 207)"
8 => "Tds\MerwareDiscounts\Cart\Checkout\OverwrittenPriceCollector::getSalesChannelProduct (line 93)"
9 => "Tds\MerwareDiscounts\Cart\Checkout\OverwrittenPriceCollector::collect (line 103)"
10 => "Shopware\Core\Checkout\Cart\Processor::runProcessors (line 67)"
11 => "Shopware\Core\Checkout\Cart\Processor::Shopware\Core\Checkout\Cart\{closure} (line 59)"
12 => "Shopware\Core\Profiling\Profiler::trace (line 86)"
13 => "Shopware\Core\Checkout\Cart\Processor::process (line 132)"
14 => "Shopware\Core\Checkout\Cart\CartRuleLoader::Shopware\Core\Checkout\Cart\{closure} (line 59)"
15 => "Shopware\Core\Profiling\Profiler::trace (line 183)"
16 => "Shopware\Core\Checkout\Cart\CartRuleLoader::load (line 83)"
17 => "Shopware\Core\Checkout\Cart\CartRuleLoader::loadByToken (line 106)"
18 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::Shopware\Core\System\SalesChannel\Context\{closure} (line 59)"
19 => "Shopware\Core\Profiling\Profiler::trace (line 111)"
20 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::get (line 105)"
21 => "Shopware\Core\Framework\Routing\SalesChannelRequestContextResolver::resolve (line 38)"
22 => "Shopware\Core\Framework\Routing\ContextResolverListener::resolveContext (line 118)"
23 => "Symfony\Component\EventDispatcher\Debug\WrappedListener::__invoke (line 230)"
24 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
25 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
26 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
27 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
28 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
29 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
30 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 151)"
31 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
32 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
33 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
34 => "Shopware\Core\HttpKernel::doHandle (line 81)"
35 => "Shopware\Core\HttpKernel::handle (line 85)"
]
|
137 |
16.29 ms |
SELECT `product`.`id` as `product.id`, `product`.`version_id` as `product.versionId`, `product`.`parent_id` as `product.parentId`, `product`.`parent_version_id` as `product.parentVersionId`, COALESCE(`product`.`product_manufacturer_id`, `product.parent`.`product_manufacturer_id`) as `product.manufacturerId`, COALESCE(`product`.`product_manufacturer_version_id`, `product.parent`.`product_manufacturer_version_id`) as `product.productManufacturerVersionId`, COALESCE(`product`.`unit_id`, `product.parent`.`unit_id`) as `product.unitId`, COALESCE(`product`.`tax_id`, `product.parent`.`tax_id`) as `product.taxId`, COALESCE(`product`.`product_media_id`, `product.parent`.`product_media_id`) as `product.coverId`, COALESCE(`product`.`product_media_version_id`, `product.parent`.`product_media_version_id`) as `product.productMediaVersionId`, COALESCE(`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`) as `product.deliveryTimeId`, COALESCE(`product`.`product_feature_set_id`, `product.parent`.`product_feature_set_id`) as `product.featureSetId`, COALESCE(`product`.`canonical_product_id`, `product.parent`.`canonical_product_id`) as `product.canonicalProductId`, COALESCE(`product`.`cms_page_id`, `product.parent`.`cms_page_id`) as `product.cmsPageId`, COALESCE(`product`.`cms_page_version_id`, `product.parent`.`cms_page_version_id`) as `product.cmsPageVersionId`, `product.parent`.`price` as `product.price.inherited`, COALESCE(`product`.`price`, `product.parent`.`price`) as `product.price`, `product`.`product_number` as `product.productNumber`, `product`.`stock` as `product.stock`, COALESCE(`product`.`restock_time`, `product.parent`.`restock_time`) as `product.restockTime`, `product`.`auto_increment` as `product.autoIncrement`, COALESCE(`product`.`active`, `product.parent`.`active`) as `product.active`, `product`.`available_stock` as `product.availableStock`, `product`.`available` as `product.available`, COALESCE(`product`.`is_closeout`, `product.parent`.`is_closeout`) as `product.isCloseout`, `product`.`display_group` as `product.displayGroup`, `product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`, COALESCE(`product`.`configurator_group_config`, `product.parent`.`configurator_group_config`) as `product.configuratorGroupConfig`, COALESCE(`product`.`main_variant_id`, `product.parent`.`main_variant_id`) as `product.mainVariantId`, COALESCE(`product`.`display_parent`, `product.parent`.`display_parent`) as `product.displayParent`, `product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`, COALESCE(`product`.`variant_listing_config`, `product.parent`.`variant_listing_config`) as `product.variantListingConfig`, `product`.`variant_restrictions` as `product.variantRestrictions`, COALESCE(`product`.`manufacturer_number`, `product.parent`.`manufacturer_number`) as `product.manufacturerNumber`, COALESCE(`product`.`ean`, `product.parent`.`ean`) as `product.ean`, COALESCE(`product`.`purchase_steps`, `product.parent`.`purchase_steps`) as `product.purchaseSteps`, COALESCE(`product`.`max_purchase`, `product.parent`.`max_purchase`) as `product.maxPurchase`, COALESCE(`product`.`min_purchase`, `product.parent`.`min_purchase`) as `product.minPurchase`, COALESCE(`product`.`purchase_unit`, `product.parent`.`purchase_unit`) as `product.purchaseUnit`, COALESCE(`product`.`reference_unit`, `product.parent`.`reference_unit`) as `product.referenceUnit`, COALESCE(`product`.`shipping_free`, `product.parent`.`shipping_free`) as `product.shippingFree`, `product.parent`.`purchase_prices` as `product.purchasePrices.inherited`, COALESCE(`product`.`purchase_prices`, `product.parent`.`purchase_prices`) as `product.purchasePrices`, COALESCE(`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`) as `product.markAsTopseller`, COALESCE(`product`.`weight`, `product.parent`.`weight`) as `product.weight`, COALESCE(`product`.`width`, `product.parent`.`width`) as `product.width`, COALESCE(`product`.`height`, `product.parent`.`height`) as `product.height`, COALESCE(`product`.`length`, `product.parent`.`length`) as `product.length`, COALESCE(`product`.`release_date`, `product.parent`.`release_date`) as `product.releaseDate`, COALESCE(`product`.`rating_average`, `product.parent`.`rating_average`) as `product.ratingAverage`, `product.parent`.`category_tree` as `product.categoryTree.inherited`, COALESCE(`product`.`category_tree`, `product.parent`.`category_tree`) as `product.categoryTree`, `product.parent`.`property_ids` as `product.propertyIds.inherited`, COALESCE(`product`.`property_ids`, `product.parent`.`property_ids`) as `product.propertyIds`, `product.parent`.`option_ids` as `product.optionIds.inherited`, COALESCE(`product`.`option_ids`, `product.parent`.`option_ids`) as `product.optionIds`, `product.parent`.`stream_ids` as `product.streamIds.inherited`, COALESCE(`product`.`stream_ids`, `product.parent`.`stream_ids`) as `product.streamIds`, `product.parent`.`tag_ids` as `product.tagIds.inherited`, COALESCE(`product`.`tag_ids`, `product.parent`.`tag_ids`) as `product.tagIds`, `product.parent`.`category_ids` as `product.categoryIds.inherited`, COALESCE(`product`.`category_ids`, `product.parent`.`category_ids`) as `product.categoryIds`, `product`.`child_count` as `product.childCount`, COALESCE(`product`.`custom_field_set_selection_active`, `product.parent`.`custom_field_set_selection_active`) as `product.customFieldSetSelectionActive`, `product`.`sales` as `product.sales`, `product`.`states` as `product.states`, `product.tax`.`id` as `product.tax.id`, `product.tax`.`tax_rate` as `product.tax.taxRate`, `product.tax`.`name` as `product.tax.name`, `product.tax`.`position` as `product.tax.position`, `product.tax`.`custom_fields` as `product.tax.customFields`, `product.tax`.`created_at` as `product.tax.createdAt`, `product.tax`.`updated_at` as `product.tax.updatedAt`, `product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`, COALESCE(`product`.`cheapest_price`, `product.parent`.`cheapest_price`) as `product.cheapestPrice`, `product`.`created_at` as `product.createdAt`, `product`.`updated_at` as `product.updatedAt`, `product.unit`.`id` as `product.unit.id`, `product.unit`.`created_at` as `product.unit.createdAt`, `product.unit`.`updated_at` as `product.unit.updatedAt`, `product.unit.translation.shortCode`, COALESCE(`product.unit.translation.shortCode`,`product.unit.translation.shortCode`) as `product.unit.shortCode`, `product.unit.translation.name`, COALESCE(`product.unit.translation.name`,`product.unit.translation.name`) as `product.unit.name`, `product.unit.translation.customFields`, COALESCE(`product.unit.translation.customFields`,`product.unit.translation.customFields`) as `product.unit.customFields`, `product.unit.translation.createdAt`, `product.unit.translation.updatedAt`, `product.unit.translation.unitId`, `product.unit.translation.languageId`, `product.deliveryTime`.`id` as `product.deliveryTime.id`, `product.deliveryTime`.`min` as `product.deliveryTime.min`, `product.deliveryTime`.`max` as `product.deliveryTime.max`, `product.deliveryTime`.`unit` as `product.deliveryTime.unit`, `product.deliveryTime`.`created_at` as `product.deliveryTime.createdAt`, `product.deliveryTime`.`updated_at` as `product.deliveryTime.updatedAt`, `product.deliveryTime.translation.name`, COALESCE(`product.deliveryTime.translation.name`,`product.deliveryTime.translation.name`) as `product.deliveryTime.name`, `product.deliveryTime.translation.customFields`, COALESCE(`product.deliveryTime.translation.customFields`,`product.deliveryTime.translation.customFields`) as `product.deliveryTime.customFields`, `product.deliveryTime.translation.createdAt`, `product.deliveryTime.translation.updatedAt`, `product.deliveryTime.translation.deliveryTimeId`, `product.deliveryTime.translation.languageId`, `product.cover`.`id` as `product.cover.id`, `product.cover`.`version_id` as `product.cover.versionId`, `product.cover`.`product_id` as `product.cover.productId`, `product.cover`.`product_version_id` as `product.cover.productVersionId`, `product.cover`.`media_id` as `product.cover.mediaId`, `product.cover`.`position` as `product.cover.position`, `product.cover.media`.`id` as `product.cover.media.id`, `product.cover.media`.`user_id` as `product.cover.media.userId`, `product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`, `product.cover.media`.`mime_type` as `product.cover.media.mimeType`, `product.cover.media`.`file_extension` as `product.cover.media.fileExtension`, `product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`, `product.cover.media`.`file_name` as `product.cover.media.fileName`, `product.cover.media`.`file_size` as `product.cover.media.fileSize`, `product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`, `product.cover.media`.`meta_data` as `product.cover.media.metaData`, `product.cover.media`.`private` as `product.cover.media.private`, `product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`, `product.cover.media`.`created_at` as `product.cover.media.createdAt`, `product.cover.media`.`updated_at` as `product.cover.media.updatedAt`, `product.cover.media.translation.title`, COALESCE(`product.cover.media.translation.title`,`product.cover.media.translation.title`) as `product.cover.media.title`, `product.cover.media.translation.alt`, COALESCE(`product.cover.media.translation.alt`,`product.cover.media.translation.alt`) as `product.cover.media.alt`, `product.cover.media.translation.customFields`, COALESCE(`product.cover.media.translation.customFields`,`product.cover.media.translation.customFields`) as `product.cover.media.customFields`, `product.cover.media.translation.createdAt`, `product.cover.media.translation.updatedAt`, `product.cover.media.translation.mediaId`, `product.cover.media.translation.languageId`, `product.cover`.`custom_fields` as `product.cover.customFields`, `product.cover`.`created_at` as `product.cover.createdAt`, `product.cover`.`updated_at` as `product.cover.updatedAt`, `product.translation.metaDescription`, `product.parent.translation.metaDescription`, COALESCE(`product.translation.metaDescription`,`product.parent.translation.metaDescription`,`product.translation.metaDescription`) as `product.metaDescription`, `product.translation.name`, `product.parent.translation.name`, COALESCE(`product.translation.name`,`product.parent.translation.name`,`product.translation.name`) as `product.name`, `product.translation.keywords`, `product.parent.translation.keywords`, COALESCE(`product.translation.keywords`,`product.parent.translation.keywords`,`product.translation.keywords`) as `product.keywords`, `product.translation.description`, `product.parent.translation.description`, COALESCE(`product.translation.description`,`product.parent.translation.description`,`product.translation.description`) as `product.description`, `product.translation.metaTitle`, `product.parent.translation.metaTitle`, COALESCE(`product.translation.metaTitle`,`product.parent.translation.metaTitle`,`product.translation.metaTitle`) as `product.metaTitle`, `product.translation.packUnit`, `product.parent.translation.packUnit`, COALESCE(`product.translation.packUnit`,`product.parent.translation.packUnit`,`product.translation.packUnit`) as `product.packUnit`, `product.translation.packUnitPlural`, `product.parent.translation.packUnitPlural`, COALESCE(`product.translation.packUnitPlural`,`product.parent.translation.packUnitPlural`,`product.translation.packUnitPlural`) as `product.packUnitPlural`, `product.translation.customSearchKeywords`, `product.parent.translation.customSearchKeywords`, COALESCE(`product.translation.customSearchKeywords`,`product.parent.translation.customSearchKeywords`,`product.translation.customSearchKeywords`) as `product.customSearchKeywords`, `product.translation.slotConfig`, `product.parent.translation.slotConfig`, COALESCE(`product.translation.slotConfig`,`product.parent.translation.slotConfig`,`product.translation.slotConfig`) as `product.slotConfig`, `product.translation.customFields`, `product.parent.translation.customFields`, COALESCE(`product.translation.customFields`,`product.parent.translation.customFields`,`product.translation.customFields`) as `product.customFields`, `product.translation.createdAt`, `product.parent.translation.createdAt`, `product.translation.updatedAt`, `product.parent.translation.updatedAt`, `product.translation.productId`, `product.parent.translation.productId`, `product.translation.languageId`, `product.parent.translation.languageId`, `product.translation.productVersionId`, `product.parent.translation.productVersionId` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN (SELECT `product.translation`.product_id, `product.translation`.product_version_id, `product.translation`.meta_description as `product.translation.metaDescription`, `product.translation`.name as `product.translation.name`, `product.translation`.keywords as `product.translation.keywords`, `product.translation`.description as `product.translation.description`, `product.translation`.meta_title as `product.translation.metaTitle`, `product.translation`.pack_unit as `product.translation.packUnit`, `product.translation`.pack_unit_plural as `product.translation.packUnitPlural`, `product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`, `product.translation`.slot_config as `product.translation.slotConfig`, `product.translation`.custom_fields as `product.translation.customFields`, `product.translation`.created_at as `product.translation.createdAt`, `product.translation`.updated_at as `product.translation.updatedAt`, `product.translation`.product_id as `product.translation.productId`, `product.translation`.language_id as `product.translation.languageId`, `product.translation`.product_version_id as `product.translation.productVersionId` FROM `product_translation` `product.translation` WHERE `product.translation`.language_id = :languageId) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id` AND `product.product_translation`.product_version_id = `product`.version_id LEFT JOIN (SELECT `product.parent.translation`.product_id, `product.parent.translation`.product_version_id, `product.parent.translation`.meta_description as `product.parent.translation.metaDescription`, `product.parent.translation`.name as `product.parent.translation.name`, `product.parent.translation`.keywords as `product.parent.translation.keywords`, `product.parent.translation`.description as `product.parent.translation.description`, `product.parent.translation`.meta_title as `product.parent.translation.metaTitle`, `product.parent.translation`.pack_unit as `product.parent.translation.packUnit`, `product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`, `product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`, `product.parent.translation`.slot_config as `product.parent.translation.slotConfig`, `product.parent.translation`.custom_fields as `product.parent.translation.customFields`, `product.parent.translation`.created_at as `product.parent.translation.createdAt`, `product.parent.translation`.updated_at as `product.parent.translation.updatedAt`, `product.parent.translation`.product_id as `product.parent.translation.productId`, `product.parent.translation`.language_id as `product.parent.translation.languageId`, `product.parent.translation`.product_version_id as `product.parent.translation.productVersionId` FROM `product_translation` `product.parent.translation` WHERE `product.parent.translation`.language_id = :languageId) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id` AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id` LEFT JOIN `unit` `product.unit` ON `product`.`unit` = `product.unit`.`id` LEFT JOIN `delivery_time` `product.deliveryTime` ON `product`.`deliveryTime` = `product.deliveryTime`.`id` LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id` AND `product`.`version_id` = `product.cover`.`version_id` LEFT JOIN (SELECT `product.unit.translation`.unit_id, `product.unit.translation`.short_code as `product.unit.translation.shortCode`, `product.unit.translation`.name as `product.unit.translation.name`, `product.unit.translation`.custom_fields as `product.unit.translation.customFields`, `product.unit.translation`.created_at as `product.unit.translation.createdAt`, `product.unit.translation`.updated_at as `product.unit.translation.updatedAt`, `product.unit.translation`.unit_id as `product.unit.translation.unitId`, `product.unit.translation`.language_id as `product.unit.translation.languageId` FROM `unit_translation` `product.unit.translation` WHERE `product.unit.translation`.language_id = :languageId) `product.unit.unit_translation` ON `product.unit.unit_translation`.`unit_id` = `product.unit`.`id` LEFT JOIN (SELECT `product.deliveryTime.translation`.delivery_time_id, `product.deliveryTime.translation`.name as `product.deliveryTime.translation.name`, `product.deliveryTime.translation`.custom_fields as `product.deliveryTime.translation.customFields`, `product.deliveryTime.translation`.created_at as `product.deliveryTime.translation.createdAt`, `product.deliveryTime.translation`.updated_at as `product.deliveryTime.translation.updatedAt`, `product.deliveryTime.translation`.delivery_time_id as `product.deliveryTime.translation.deliveryTimeId`, `product.deliveryTime.translation`.language_id as `product.deliveryTime.translation.languageId` FROM `delivery_time_translation` `product.deliveryTime.translation` WHERE `product.deliveryTime.translation`.language_id = :languageId) `product.deliveryTime.delivery_time_translation` ON `product.deliveryTime.delivery_time_translation`.`delivery_time_id` = `product.deliveryTime`.`id` LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id` LEFT JOIN (SELECT `product.cover.media.translation`.media_id, `product.cover.media.translation`.title as `product.cover.media.translation.title`, `product.cover.media.translation`.alt as `product.cover.media.translation.alt`, `product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`, `product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`, `product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`, `product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`, `product.cover.media.translation`.language_id as `product.cover.media.translation.languageId` FROM `media_translation` `product.cover.media.translation` WHERE `product.cover.media.translation`.language_id = :languageId) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id` WHERE (`product`.`version_id` = :version) AND (`product`.`id` IN (:ids))
SELECT
`product`.`id` as `product.id`,
`product`.`version_id` as `product.versionId`,
`product`.`parent_id` as `product.parentId`,
`product`.`parent_version_id` as `product.parentVersionId`,
COALESCE(
`product`.`product_manufacturer_id`,
`product.parent`.`product_manufacturer_id`
) as `product.manufacturerId`,
COALESCE(
`product`.`product_manufacturer_version_id`,
`product.parent`.`product_manufacturer_version_id`
) as `product.productManufacturerVersionId`,
COALESCE(
`product`.`unit_id`, `product.parent`.`unit_id`
) as `product.unitId`,
COALESCE(
`product`.`tax_id`, `product.parent`.`tax_id`
) as `product.taxId`,
COALESCE(
`product`.`product_media_id`, `product.parent`.`product_media_id`
) as `product.coverId`,
COALESCE(
`product`.`product_media_version_id`,
`product.parent`.`product_media_version_id`
) as `product.productMediaVersionId`,
COALESCE(
`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`
) as `product.deliveryTimeId`,
COALESCE(
`product`.`product_feature_set_id`,
`product.parent`.`product_feature_set_id`
) as `product.featureSetId`,
COALESCE(
`product`.`canonical_product_id`,
`product.parent`.`canonical_product_id`
) as `product.canonicalProductId`,
COALESCE(
`product`.`cms_page_id`, `product.parent`.`cms_page_id`
) as `product.cmsPageId`,
COALESCE(
`product`.`cms_page_version_id`,
`product.parent`.`cms_page_version_id`
) as `product.cmsPageVersionId`,
`product.parent`.`price` as `product.price.inherited`,
COALESCE(
`product`.`price`, `product.parent`.`price`
) as `product.price`,
`product`.`product_number` as `product.productNumber`,
`product`.`stock` as `product.stock`,
COALESCE(
`product`.`restock_time`, `product.parent`.`restock_time`
) as `product.restockTime`,
`product`.`auto_increment` as `product.autoIncrement`,
COALESCE(
`product`.`active`, `product.parent`.`active`
) as `product.active`,
`product`.`available_stock` as `product.availableStock`,
`product`.`available` as `product.available`,
COALESCE(
`product`.`is_closeout`, `product.parent`.`is_closeout`
) as `product.isCloseout`,
`product`.`display_group` as `product.displayGroup`,
`product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`,
COALESCE(
`product`.`configurator_group_config`,
`product.parent`.`configurator_group_config`
) as `product.configuratorGroupConfig`,
COALESCE(
`product`.`main_variant_id`, `product.parent`.`main_variant_id`
) as `product.mainVariantId`,
COALESCE(
`product`.`display_parent`, `product.parent`.`display_parent`
) as `product.displayParent`,
`product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`,
COALESCE(
`product`.`variant_listing_config`,
`product.parent`.`variant_listing_config`
) as `product.variantListingConfig`,
`product`.`variant_restrictions` as `product.variantRestrictions`,
COALESCE(
`product`.`manufacturer_number`,
`product.parent`.`manufacturer_number`
) as `product.manufacturerNumber`,
COALESCE(
`product`.`ean`, `product.parent`.`ean`
) as `product.ean`,
COALESCE(
`product`.`purchase_steps`, `product.parent`.`purchase_steps`
) as `product.purchaseSteps`,
COALESCE(
`product`.`max_purchase`, `product.parent`.`max_purchase`
) as `product.maxPurchase`,
COALESCE(
`product`.`min_purchase`, `product.parent`.`min_purchase`
) as `product.minPurchase`,
COALESCE(
`product`.`purchase_unit`, `product.parent`.`purchase_unit`
) as `product.purchaseUnit`,
COALESCE(
`product`.`reference_unit`, `product.parent`.`reference_unit`
) as `product.referenceUnit`,
COALESCE(
`product`.`shipping_free`, `product.parent`.`shipping_free`
) as `product.shippingFree`,
`product.parent`.`purchase_prices` as `product.purchasePrices.inherited`,
COALESCE(
`product`.`purchase_prices`, `product.parent`.`purchase_prices`
) as `product.purchasePrices`,
COALESCE(
`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`
) as `product.markAsTopseller`,
COALESCE(
`product`.`weight`, `product.parent`.`weight`
) as `product.weight`,
COALESCE(
`product`.`width`, `product.parent`.`width`
) as `product.width`,
COALESCE(
`product`.`height`, `product.parent`.`height`
) as `product.height`,
COALESCE(
`product`.`length`, `product.parent`.`length`
) as `product.length`,
COALESCE(
`product`.`release_date`, `product.parent`.`release_date`
) as `product.releaseDate`,
COALESCE(
`product`.`rating_average`, `product.parent`.`rating_average`
) as `product.ratingAverage`,
`product.parent`.`category_tree` as `product.categoryTree.inherited`,
COALESCE(
`product`.`category_tree`, `product.parent`.`category_tree`
) as `product.categoryTree`,
`product.parent`.`property_ids` as `product.propertyIds.inherited`,
COALESCE(
`product`.`property_ids`, `product.parent`.`property_ids`
) as `product.propertyIds`,
`product.parent`.`option_ids` as `product.optionIds.inherited`,
COALESCE(
`product`.`option_ids`, `product.parent`.`option_ids`
) as `product.optionIds`,
`product.parent`.`stream_ids` as `product.streamIds.inherited`,
COALESCE(
`product`.`stream_ids`, `product.parent`.`stream_ids`
) as `product.streamIds`,
`product.parent`.`tag_ids` as `product.tagIds.inherited`,
COALESCE(
`product`.`tag_ids`, `product.parent`.`tag_ids`
) as `product.tagIds`,
`product.parent`.`category_ids` as `product.categoryIds.inherited`,
COALESCE(
`product`.`category_ids`, `product.parent`.`category_ids`
) as `product.categoryIds`,
`product`.`child_count` as `product.childCount`,
COALESCE(
`product`.`custom_field_set_selection_active`,
`product.parent`.`custom_field_set_selection_active`
) as `product.customFieldSetSelectionActive`,
`product`.`sales` as `product.sales`,
`product`.`states` as `product.states`,
`product.tax`.`id` as `product.tax.id`,
`product.tax`.`tax_rate` as `product.tax.taxRate`,
`product.tax`.`name` as `product.tax.name`,
`product.tax`.`position` as `product.tax.position`,
`product.tax`.`custom_fields` as `product.tax.customFields`,
`product.tax`.`created_at` as `product.tax.createdAt`,
`product.tax`.`updated_at` as `product.tax.updatedAt`,
`product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`,
COALESCE(
`product`.`cheapest_price`, `product.parent`.`cheapest_price`
) as `product.cheapestPrice`,
`product`.`created_at` as `product.createdAt`,
`product`.`updated_at` as `product.updatedAt`,
`product.unit`.`id` as `product.unit.id`,
`product.unit`.`created_at` as `product.unit.createdAt`,
`product.unit`.`updated_at` as `product.unit.updatedAt`,
`product.unit.translation.shortCode`,
COALESCE(
`product.unit.translation.shortCode`,
`product.unit.translation.shortCode`
) as `product.unit.shortCode`,
`product.unit.translation.name`,
COALESCE(
`product.unit.translation.name`,
`product.unit.translation.name`
) as `product.unit.name`,
`product.unit.translation.customFields`,
COALESCE(
`product.unit.translation.customFields`,
`product.unit.translation.customFields`
) as `product.unit.customFields`,
`product.unit.translation.createdAt`,
`product.unit.translation.updatedAt`,
`product.unit.translation.unitId`,
`product.unit.translation.languageId`,
`product.deliveryTime`.`id` as `product.deliveryTime.id`,
`product.deliveryTime`.`min` as `product.deliveryTime.min`,
`product.deliveryTime`.`max` as `product.deliveryTime.max`,
`product.deliveryTime`.`unit` as `product.deliveryTime.unit`,
`product.deliveryTime`.`created_at` as `product.deliveryTime.createdAt`,
`product.deliveryTime`.`updated_at` as `product.deliveryTime.updatedAt`,
`product.deliveryTime.translation.name`,
COALESCE(
`product.deliveryTime.translation.name`,
`product.deliveryTime.translation.name`
) as `product.deliveryTime.name`,
`product.deliveryTime.translation.customFields`,
COALESCE(
`product.deliveryTime.translation.customFields`,
`product.deliveryTime.translation.customFields`
) as `product.deliveryTime.customFields`,
`product.deliveryTime.translation.createdAt`,
`product.deliveryTime.translation.updatedAt`,
`product.deliveryTime.translation.deliveryTimeId`,
`product.deliveryTime.translation.languageId`,
`product.cover`.`id` as `product.cover.id`,
`product.cover`.`version_id` as `product.cover.versionId`,
`product.cover`.`product_id` as `product.cover.productId`,
`product.cover`.`product_version_id` as `product.cover.productVersionId`,
`product.cover`.`media_id` as `product.cover.mediaId`,
`product.cover`.`position` as `product.cover.position`,
`product.cover.media`.`id` as `product.cover.media.id`,
`product.cover.media`.`user_id` as `product.cover.media.userId`,
`product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`,
`product.cover.media`.`mime_type` as `product.cover.media.mimeType`,
`product.cover.media`.`file_extension` as `product.cover.media.fileExtension`,
`product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`,
`product.cover.media`.`file_name` as `product.cover.media.fileName`,
`product.cover.media`.`file_size` as `product.cover.media.fileSize`,
`product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`,
`product.cover.media`.`meta_data` as `product.cover.media.metaData`,
`product.cover.media`.`private` as `product.cover.media.private`,
`product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`,
`product.cover.media`.`created_at` as `product.cover.media.createdAt`,
`product.cover.media`.`updated_at` as `product.cover.media.updatedAt`,
`product.cover.media.translation.title`,
COALESCE(
`product.cover.media.translation.title`,
`product.cover.media.translation.title`
) as `product.cover.media.title`,
`product.cover.media.translation.alt`,
COALESCE(
`product.cover.media.translation.alt`,
`product.cover.media.translation.alt`
) as `product.cover.media.alt`,
`product.cover.media.translation.customFields`,
COALESCE(
`product.cover.media.translation.customFields`,
`product.cover.media.translation.customFields`
) as `product.cover.media.customFields`,
`product.cover.media.translation.createdAt`,
`product.cover.media.translation.updatedAt`,
`product.cover.media.translation.mediaId`,
`product.cover.media.translation.languageId`,
`product.cover`.`custom_fields` as `product.cover.customFields`,
`product.cover`.`created_at` as `product.cover.createdAt`,
`product.cover`.`updated_at` as `product.cover.updatedAt`,
`product.translation.metaDescription`,
`product.parent.translation.metaDescription`,
COALESCE(
`product.translation.metaDescription`,
`product.parent.translation.metaDescription`,
`product.translation.metaDescription`
) as `product.metaDescription`,
`product.translation.name`,
`product.parent.translation.name`,
COALESCE(
`product.translation.name`, `product.parent.translation.name`,
`product.translation.name`
) as `product.name`,
`product.translation.keywords`,
`product.parent.translation.keywords`,
COALESCE(
`product.translation.keywords`,
`product.parent.translation.keywords`,
`product.translation.keywords`
) as `product.keywords`,
`product.translation.description`,
`product.parent.translation.description`,
COALESCE(
`product.translation.description`,
`product.parent.translation.description`,
`product.translation.description`
) as `product.description`,
`product.translation.metaTitle`,
`product.parent.translation.metaTitle`,
COALESCE(
`product.translation.metaTitle`,
`product.parent.translation.metaTitle`,
`product.translation.metaTitle`
) as `product.metaTitle`,
`product.translation.packUnit`,
`product.parent.translation.packUnit`,
COALESCE(
`product.translation.packUnit`,
`product.parent.translation.packUnit`,
`product.translation.packUnit`
) as `product.packUnit`,
`product.translation.packUnitPlural`,
`product.parent.translation.packUnitPlural`,
COALESCE(
`product.translation.packUnitPlural`,
`product.parent.translation.packUnitPlural`,
`product.translation.packUnitPlural`
) as `product.packUnitPlural`,
`product.translation.customSearchKeywords`,
`product.parent.translation.customSearchKeywords`,
COALESCE(
`product.translation.customSearchKeywords`,
`product.parent.translation.customSearchKeywords`,
`product.translation.customSearchKeywords`
) as `product.customSearchKeywords`,
`product.translation.slotConfig`,
`product.parent.translation.slotConfig`,
COALESCE(
`product.translation.slotConfig`,
`product.parent.translation.slotConfig`,
`product.translation.slotConfig`
) as `product.slotConfig`,
`product.translation.customFields`,
`product.parent.translation.customFields`,
COALESCE(
`product.translation.customFields`,
`product.parent.translation.customFields`,
`product.translation.customFields`
) as `product.customFields`,
`product.translation.createdAt`,
`product.parent.translation.createdAt`,
`product.translation.updatedAt`,
`product.parent.translation.updatedAt`,
`product.translation.productId`,
`product.parent.translation.productId`,
`product.translation.languageId`,
`product.parent.translation.languageId`,
`product.translation.productVersionId`,
`product.parent.translation.productVersionId`
FROM
`product`
LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id`
AND `product`.`version_id` = `product.parent`.`version_id`
LEFT JOIN (
SELECT
`product.translation`.product_id,
`product.translation`.product_version_id,
`product.translation`.meta_description as `product.translation.metaDescription`,
`product.translation`.name as `product.translation.name`,
`product.translation`.keywords as `product.translation.keywords`,
`product.translation`.description as `product.translation.description`,
`product.translation`.meta_title as `product.translation.metaTitle`,
`product.translation`.pack_unit as `product.translation.packUnit`,
`product.translation`.pack_unit_plural as `product.translation.packUnitPlural`,
`product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`,
`product.translation`.slot_config as `product.translation.slotConfig`,
`product.translation`.custom_fields as `product.translation.customFields`,
`product.translation`.created_at as `product.translation.createdAt`,
`product.translation`.updated_at as `product.translation.updatedAt`,
`product.translation`.product_id as `product.translation.productId`,
`product.translation`.language_id as `product.translation.languageId`,
`product.translation`.product_version_id as `product.translation.productVersionId`
FROM
`product_translation` `product.translation`
WHERE
`product.translation`.language_id = : languageId
) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id`
AND `product.product_translation`.product_version_id = `product`.version_id
LEFT JOIN (
SELECT
`product.parent.translation`.product_id,
`product.parent.translation`.product_version_id,
`product.parent.translation`.meta_description as `product.parent.translation.metaDescription`,
`product.parent.translation`.name as `product.parent.translation.name`,
`product.parent.translation`.keywords as `product.parent.translation.keywords`,
`product.parent.translation`.description as `product.parent.translation.description`,
`product.parent.translation`.meta_title as `product.parent.translation.metaTitle`,
`product.parent.translation`.pack_unit as `product.parent.translation.packUnit`,
`product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`,
`product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`,
`product.parent.translation`.slot_config as `product.parent.translation.slotConfig`,
`product.parent.translation`.custom_fields as `product.parent.translation.customFields`,
`product.parent.translation`.created_at as `product.parent.translation.createdAt`,
`product.parent.translation`.updated_at as `product.parent.translation.updatedAt`,
`product.parent.translation`.product_id as `product.parent.translation.productId`,
`product.parent.translation`.language_id as `product.parent.translation.languageId`,
`product.parent.translation`.product_version_id as `product.parent.translation.productVersionId`
FROM
`product_translation` `product.parent.translation`
WHERE
`product.parent.translation`.language_id = : languageId
) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id`
AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id
LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id`
LEFT JOIN `unit` `product.unit` ON `product`.`unit` = `product.unit`.`id`
LEFT JOIN `delivery_time` `product.deliveryTime` ON `product`.`deliveryTime` = `product.deliveryTime`.`id`
LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id`
AND `product`.`version_id` = `product.cover`.`version_id`
LEFT JOIN (
SELECT
`product.unit.translation`.unit_id,
`product.unit.translation`.short_code as `product.unit.translation.shortCode`,
`product.unit.translation`.name as `product.unit.translation.name`,
`product.unit.translation`.custom_fields as `product.unit.translation.customFields`,
`product.unit.translation`.created_at as `product.unit.translation.createdAt`,
`product.unit.translation`.updated_at as `product.unit.translation.updatedAt`,
`product.unit.translation`.unit_id as `product.unit.translation.unitId`,
`product.unit.translation`.language_id as `product.unit.translation.languageId`
FROM
`unit_translation` `product.unit.translation`
WHERE
`product.unit.translation`.language_id = : languageId
) `product.unit.unit_translation` ON `product.unit.unit_translation`.`unit_id` = `product.unit`.`id`
LEFT JOIN (
SELECT
`product.deliveryTime.translation`.delivery_time_id,
`product.deliveryTime.translation`.name as `product.deliveryTime.translation.name`,
`product.deliveryTime.translation`.custom_fields as `product.deliveryTime.translation.customFields`,
`product.deliveryTime.translation`.created_at as `product.deliveryTime.translation.createdAt`,
`product.deliveryTime.translation`.updated_at as `product.deliveryTime.translation.updatedAt`,
`product.deliveryTime.translation`.delivery_time_id as `product.deliveryTime.translation.deliveryTimeId`,
`product.deliveryTime.translation`.language_id as `product.deliveryTime.translation.languageId`
FROM
`delivery_time_translation` `product.deliveryTime.translation`
WHERE
`product.deliveryTime.translation`.language_id = : languageId
) `product.deliveryTime.delivery_time_translation` ON `product.deliveryTime.delivery_time_translation`.`delivery_time_id` = `product.deliveryTime`.`id`
LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id`
LEFT JOIN (
SELECT
`product.cover.media.translation`.media_id,
`product.cover.media.translation`.title as `product.cover.media.translation.title`,
`product.cover.media.translation`.alt as `product.cover.media.translation.alt`,
`product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`,
`product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`,
`product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`,
`product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`,
`product.cover.media.translation`.language_id as `product.cover.media.translation.languageId`
FROM
`media_translation` `product.cover.media.translation`
WHERE
`product.cover.media.translation`.language_id = : languageId
) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id`
WHERE
(
`product`.`version_id` = : version
)
AND (
`product`.`id` IN (: ids)
)
SELECT `product`.`id` as `product.id`, `product`.`version_id` as `product.versionId`, `product`.`parent_id` as `product.parentId`, `product`.`parent_version_id` as `product.parentVersionId`, COALESCE(`product`.`product_manufacturer_id`, `product.parent`.`product_manufacturer_id`) as `product.manufacturerId`, COALESCE(`product`.`product_manufacturer_version_id`, `product.parent`.`product_manufacturer_version_id`) as `product.productManufacturerVersionId`, COALESCE(`product`.`unit_id`, `product.parent`.`unit_id`) as `product.unitId`, COALESCE(`product`.`tax_id`, `product.parent`.`tax_id`) as `product.taxId`, COALESCE(`product`.`product_media_id`, `product.parent`.`product_media_id`) as `product.coverId`, COALESCE(`product`.`product_media_version_id`, `product.parent`.`product_media_version_id`) as `product.productMediaVersionId`, COALESCE(`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`) as `product.deliveryTimeId`, COALESCE(`product`.`product_feature_set_id`, `product.parent`.`product_feature_set_id`) as `product.featureSetId`, COALESCE(`product`.`canonical_product_id`, `product.parent`.`canonical_product_id`) as `product.canonicalProductId`, COALESCE(`product`.`cms_page_id`, `product.parent`.`cms_page_id`) as `product.cmsPageId`, COALESCE(`product`.`cms_page_version_id`, `product.parent`.`cms_page_version_id`) as `product.cmsPageVersionId`, `product.parent`.`price` as `product.price.inherited`, COALESCE(`product`.`price`, `product.parent`.`price`) as `product.price`, `product`.`product_number` as `product.productNumber`, `product`.`stock` as `product.stock`, COALESCE(`product`.`restock_time`, `product.parent`.`restock_time`) as `product.restockTime`, `product`.`auto_increment` as `product.autoIncrement`, COALESCE(`product`.`active`, `product.parent`.`active`) as `product.active`, `product`.`available_stock` as `product.availableStock`, `product`.`available` as `product.available`, COALESCE(`product`.`is_closeout`, `product.parent`.`is_closeout`) as `product.isCloseout`, `product`.`display_group` as `product.displayGroup`, `product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`, COALESCE(`product`.`configurator_group_config`, `product.parent`.`configurator_group_config`) as `product.configuratorGroupConfig`, COALESCE(`product`.`main_variant_id`, `product.parent`.`main_variant_id`) as `product.mainVariantId`, COALESCE(`product`.`display_parent`, `product.parent`.`display_parent`) as `product.displayParent`, `product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`, COALESCE(`product`.`variant_listing_config`, `product.parent`.`variant_listing_config`) as `product.variantListingConfig`, `product`.`variant_restrictions` as `product.variantRestrictions`, COALESCE(`product`.`manufacturer_number`, `product.parent`.`manufacturer_number`) as `product.manufacturerNumber`, COALESCE(`product`.`ean`, `product.parent`.`ean`) as `product.ean`, COALESCE(`product`.`purchase_steps`, `product.parent`.`purchase_steps`) as `product.purchaseSteps`, COALESCE(`product`.`max_purchase`, `product.parent`.`max_purchase`) as `product.maxPurchase`, COALESCE(`product`.`min_purchase`, `product.parent`.`min_purchase`) as `product.minPurchase`, COALESCE(`product`.`purchase_unit`, `product.parent`.`purchase_unit`) as `product.purchaseUnit`, COALESCE(`product`.`reference_unit`, `product.parent`.`reference_unit`) as `product.referenceUnit`, COALESCE(`product`.`shipping_free`, `product.parent`.`shipping_free`) as `product.shippingFree`, `product.parent`.`purchase_prices` as `product.purchasePrices.inherited`, COALESCE(`product`.`purchase_prices`, `product.parent`.`purchase_prices`) as `product.purchasePrices`, COALESCE(`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`) as `product.markAsTopseller`, COALESCE(`product`.`weight`, `product.parent`.`weight`) as `product.weight`, COALESCE(`product`.`width`, `product.parent`.`width`) as `product.width`, COALESCE(`product`.`height`, `product.parent`.`height`) as `product.height`, COALESCE(`product`.`length`, `product.parent`.`length`) as `product.length`, COALESCE(`product`.`release_date`, `product.parent`.`release_date`) as `product.releaseDate`, COALESCE(`product`.`rating_average`, `product.parent`.`rating_average`) as `product.ratingAverage`, `product.parent`.`category_tree` as `product.categoryTree.inherited`, COALESCE(`product`.`category_tree`, `product.parent`.`category_tree`) as `product.categoryTree`, `product.parent`.`property_ids` as `product.propertyIds.inherited`, COALESCE(`product`.`property_ids`, `product.parent`.`property_ids`) as `product.propertyIds`, `product.parent`.`option_ids` as `product.optionIds.inherited`, COALESCE(`product`.`option_ids`, `product.parent`.`option_ids`) as `product.optionIds`, `product.parent`.`stream_ids` as `product.streamIds.inherited`, COALESCE(`product`.`stream_ids`, `product.parent`.`stream_ids`) as `product.streamIds`, `product.parent`.`tag_ids` as `product.tagIds.inherited`, COALESCE(`product`.`tag_ids`, `product.parent`.`tag_ids`) as `product.tagIds`, `product.parent`.`category_ids` as `product.categoryIds.inherited`, COALESCE(`product`.`category_ids`, `product.parent`.`category_ids`) as `product.categoryIds`, `product`.`child_count` as `product.childCount`, COALESCE(`product`.`custom_field_set_selection_active`, `product.parent`.`custom_field_set_selection_active`) as `product.customFieldSetSelectionActive`, `product`.`sales` as `product.sales`, `product`.`states` as `product.states`, `product.tax`.`id` as `product.tax.id`, `product.tax`.`tax_rate` as `product.tax.taxRate`, `product.tax`.`name` as `product.tax.name`, `product.tax`.`position` as `product.tax.position`, `product.tax`.`custom_fields` as `product.tax.customFields`, `product.tax`.`created_at` as `product.tax.createdAt`, `product.tax`.`updated_at` as `product.tax.updatedAt`, `product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`, COALESCE(`product`.`cheapest_price`, `product.parent`.`cheapest_price`) as `product.cheapestPrice`, `product`.`created_at` as `product.createdAt`, `product`.`updated_at` as `product.updatedAt`, `product.unit`.`id` as `product.unit.id`, `product.unit`.`created_at` as `product.unit.createdAt`, `product.unit`.`updated_at` as `product.unit.updatedAt`, `product.unit.translation.shortCode`, COALESCE(`product.unit.translation.shortCode`,`product.unit.translation.shortCode`) as `product.unit.shortCode`, `product.unit.translation.name`, COALESCE(`product.unit.translation.name`,`product.unit.translation.name`) as `product.unit.name`, `product.unit.translation.customFields`, COALESCE(`product.unit.translation.customFields`,`product.unit.translation.customFields`) as `product.unit.customFields`, `product.unit.translation.createdAt`, `product.unit.translation.updatedAt`, `product.unit.translation.unitId`, `product.unit.translation.languageId`, `product.deliveryTime`.`id` as `product.deliveryTime.id`, `product.deliveryTime`.`min` as `product.deliveryTime.min`, `product.deliveryTime`.`max` as `product.deliveryTime.max`, `product.deliveryTime`.`unit` as `product.deliveryTime.unit`, `product.deliveryTime`.`created_at` as `product.deliveryTime.createdAt`, `product.deliveryTime`.`updated_at` as `product.deliveryTime.updatedAt`, `product.deliveryTime.translation.name`, COALESCE(`product.deliveryTime.translation.name`,`product.deliveryTime.translation.name`) as `product.deliveryTime.name`, `product.deliveryTime.translation.customFields`, COALESCE(`product.deliveryTime.translation.customFields`,`product.deliveryTime.translation.customFields`) as `product.deliveryTime.customFields`, `product.deliveryTime.translation.createdAt`, `product.deliveryTime.translation.updatedAt`, `product.deliveryTime.translation.deliveryTimeId`, `product.deliveryTime.translation.languageId`, `product.cover`.`id` as `product.cover.id`, `product.cover`.`version_id` as `product.cover.versionId`, `product.cover`.`product_id` as `product.cover.productId`, `product.cover`.`product_version_id` as `product.cover.productVersionId`, `product.cover`.`media_id` as `product.cover.mediaId`, `product.cover`.`position` as `product.cover.position`, `product.cover.media`.`id` as `product.cover.media.id`, `product.cover.media`.`user_id` as `product.cover.media.userId`, `product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`, `product.cover.media`.`mime_type` as `product.cover.media.mimeType`, `product.cover.media`.`file_extension` as `product.cover.media.fileExtension`, `product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`, `product.cover.media`.`file_name` as `product.cover.media.fileName`, `product.cover.media`.`file_size` as `product.cover.media.fileSize`, `product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`, `product.cover.media`.`meta_data` as `product.cover.media.metaData`, `product.cover.media`.`private` as `product.cover.media.private`, `product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`, `product.cover.media`.`created_at` as `product.cover.media.createdAt`, `product.cover.media`.`updated_at` as `product.cover.media.updatedAt`, `product.cover.media.translation.title`, COALESCE(`product.cover.media.translation.title`,`product.cover.media.translation.title`) as `product.cover.media.title`, `product.cover.media.translation.alt`, COALESCE(`product.cover.media.translation.alt`,`product.cover.media.translation.alt`) as `product.cover.media.alt`, `product.cover.media.translation.customFields`, COALESCE(`product.cover.media.translation.customFields`,`product.cover.media.translation.customFields`) as `product.cover.media.customFields`, `product.cover.media.translation.createdAt`, `product.cover.media.translation.updatedAt`, `product.cover.media.translation.mediaId`, `product.cover.media.translation.languageId`, `product.cover`.`custom_fields` as `product.cover.customFields`, `product.cover`.`created_at` as `product.cover.createdAt`, `product.cover`.`updated_at` as `product.cover.updatedAt`, `product.translation.metaDescription`, `product.parent.translation.metaDescription`, COALESCE(`product.translation.metaDescription`,`product.parent.translation.metaDescription`,`product.translation.metaDescription`) as `product.metaDescription`, `product.translation.name`, `product.parent.translation.name`, COALESCE(`product.translation.name`,`product.parent.translation.name`,`product.translation.name`) as `product.name`, `product.translation.keywords`, `product.parent.translation.keywords`, COALESCE(`product.translation.keywords`,`product.parent.translation.keywords`,`product.translation.keywords`) as `product.keywords`, `product.translation.description`, `product.parent.translation.description`, COALESCE(`product.translation.description`,`product.parent.translation.description`,`product.translation.description`) as `product.description`, `product.translation.metaTitle`, `product.parent.translation.metaTitle`, COALESCE(`product.translation.metaTitle`,`product.parent.translation.metaTitle`,`product.translation.metaTitle`) as `product.metaTitle`, `product.translation.packUnit`, `product.parent.translation.packUnit`, COALESCE(`product.translation.packUnit`,`product.parent.translation.packUnit`,`product.translation.packUnit`) as `product.packUnit`, `product.translation.packUnitPlural`, `product.parent.translation.packUnitPlural`, COALESCE(`product.translation.packUnitPlural`,`product.parent.translation.packUnitPlural`,`product.translation.packUnitPlural`) as `product.packUnitPlural`, `product.translation.customSearchKeywords`, `product.parent.translation.customSearchKeywords`, COALESCE(`product.translation.customSearchKeywords`,`product.parent.translation.customSearchKeywords`,`product.translation.customSearchKeywords`) as `product.customSearchKeywords`, `product.translation.slotConfig`, `product.parent.translation.slotConfig`, COALESCE(`product.translation.slotConfig`,`product.parent.translation.slotConfig`,`product.translation.slotConfig`) as `product.slotConfig`, `product.translation.customFields`, `product.parent.translation.customFields`, COALESCE(`product.translation.customFields`,`product.parent.translation.customFields`,`product.translation.customFields`) as `product.customFields`, `product.translation.createdAt`, `product.parent.translation.createdAt`, `product.translation.updatedAt`, `product.parent.translation.updatedAt`, `product.translation.productId`, `product.parent.translation.productId`, `product.translation.languageId`, `product.parent.translation.languageId`, `product.translation.productVersionId`, `product.parent.translation.productVersionId` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN (SELECT `product.translation`.product_id, `product.translation`.product_version_id, `product.translation`.meta_description as `product.translation.metaDescription`, `product.translation`.name as `product.translation.name`, `product.translation`.keywords as `product.translation.keywords`, `product.translation`.description as `product.translation.description`, `product.translation`.meta_title as `product.translation.metaTitle`, `product.translation`.pack_unit as `product.translation.packUnit`, `product.translation`.pack_unit_plural as `product.translation.packUnitPlural`, `product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`, `product.translation`.slot_config as `product.translation.slotConfig`, `product.translation`.custom_fields as `product.translation.customFields`, `product.translation`.created_at as `product.translation.createdAt`, `product.translation`.updated_at as `product.translation.updatedAt`, `product.translation`.product_id as `product.translation.productId`, `product.translation`.language_id as `product.translation.languageId`, `product.translation`.product_version_id as `product.translation.productVersionId` FROM `product_translation` `product.translation` WHERE `product.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id` AND `product.product_translation`.product_version_id = `product`.version_id LEFT JOIN (SELECT `product.parent.translation`.product_id, `product.parent.translation`.product_version_id, `product.parent.translation`.meta_description as `product.parent.translation.metaDescription`, `product.parent.translation`.name as `product.parent.translation.name`, `product.parent.translation`.keywords as `product.parent.translation.keywords`, `product.parent.translation`.description as `product.parent.translation.description`, `product.parent.translation`.meta_title as `product.parent.translation.metaTitle`, `product.parent.translation`.pack_unit as `product.parent.translation.packUnit`, `product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`, `product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`, `product.parent.translation`.slot_config as `product.parent.translation.slotConfig`, `product.parent.translation`.custom_fields as `product.parent.translation.customFields`, `product.parent.translation`.created_at as `product.parent.translation.createdAt`, `product.parent.translation`.updated_at as `product.parent.translation.updatedAt`, `product.parent.translation`.product_id as `product.parent.translation.productId`, `product.parent.translation`.language_id as `product.parent.translation.languageId`, `product.parent.translation`.product_version_id as `product.parent.translation.productVersionId` FROM `product_translation` `product.parent.translation` WHERE `product.parent.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id` AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id` LEFT JOIN `unit` `product.unit` ON `product`.`unit` = `product.unit`.`id` LEFT JOIN `delivery_time` `product.deliveryTime` ON `product`.`deliveryTime` = `product.deliveryTime`.`id` LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id` AND `product`.`version_id` = `product.cover`.`version_id` LEFT JOIN (SELECT `product.unit.translation`.unit_id, `product.unit.translation`.short_code as `product.unit.translation.shortCode`, `product.unit.translation`.name as `product.unit.translation.name`, `product.unit.translation`.custom_fields as `product.unit.translation.customFields`, `product.unit.translation`.created_at as `product.unit.translation.createdAt`, `product.unit.translation`.updated_at as `product.unit.translation.updatedAt`, `product.unit.translation`.unit_id as `product.unit.translation.unitId`, `product.unit.translation`.language_id as `product.unit.translation.languageId` FROM `unit_translation` `product.unit.translation` WHERE `product.unit.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.unit.unit_translation` ON `product.unit.unit_translation`.`unit_id` = `product.unit`.`id` LEFT JOIN (SELECT `product.deliveryTime.translation`.delivery_time_id, `product.deliveryTime.translation`.name as `product.deliveryTime.translation.name`, `product.deliveryTime.translation`.custom_fields as `product.deliveryTime.translation.customFields`, `product.deliveryTime.translation`.created_at as `product.deliveryTime.translation.createdAt`, `product.deliveryTime.translation`.updated_at as `product.deliveryTime.translation.updatedAt`, `product.deliveryTime.translation`.delivery_time_id as `product.deliveryTime.translation.deliveryTimeId`, `product.deliveryTime.translation`.language_id as `product.deliveryTime.translation.languageId` FROM `delivery_time_translation` `product.deliveryTime.translation` WHERE `product.deliveryTime.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.deliveryTime.delivery_time_translation` ON `product.deliveryTime.delivery_time_translation`.`delivery_time_id` = `product.deliveryTime`.`id` LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id` LEFT JOIN (SELECT `product.cover.media.translation`.media_id, `product.cover.media.translation`.title as `product.cover.media.translation.title`, `product.cover.media.translation`.alt as `product.cover.media.translation.alt`, `product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`, `product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`, `product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`, `product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`, `product.cover.media.translation`.language_id as `product.cover.media.translation.languageId` FROM `media_translation` `product.cover.media.translation` WHERE `product.cover.media.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id` WHERE (`product`.`version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425) AND (`product`.`id` IN (0x319A8F4815FD488EA8EAC21E147D89E3));
array:37 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 242)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 316)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetch (line 148)"
4 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 93)"
5 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::read (line 195)"
6 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::read (line 133)"
7 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 36)"
8 => "Swag\PayPal\Util\Compatibility\SalesChannelRepositoryDecorator::search (line 207)"
9 => "Tds\MerwareDiscounts\Cart\Checkout\OverwrittenPriceCollector::getSalesChannelProduct (line 93)"
10 => "Tds\MerwareDiscounts\Cart\Checkout\OverwrittenPriceCollector::collect (line 103)"
11 => "Shopware\Core\Checkout\Cart\Processor::runProcessors (line 67)"
12 => "Shopware\Core\Checkout\Cart\Processor::Shopware\Core\Checkout\Cart\{closure} (line 59)"
13 => "Shopware\Core\Profiling\Profiler::trace (line 86)"
14 => "Shopware\Core\Checkout\Cart\Processor::process (line 132)"
15 => "Shopware\Core\Checkout\Cart\CartRuleLoader::Shopware\Core\Checkout\Cart\{closure} (line 59)"
16 => "Shopware\Core\Profiling\Profiler::trace (line 183)"
17 => "Shopware\Core\Checkout\Cart\CartRuleLoader::load (line 83)"
18 => "Shopware\Core\Checkout\Cart\CartRuleLoader::loadByToken (line 106)"
19 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::Shopware\Core\System\SalesChannel\Context\{closure} (line 59)"
20 => "Shopware\Core\Profiling\Profiler::trace (line 111)"
21 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::get (line 105)"
22 => "Shopware\Core\Framework\Routing\SalesChannelRequestContextResolver::resolve (line 38)"
23 => "Shopware\Core\Framework\Routing\ContextResolverListener::resolveContext (line 118)"
24 => "Symfony\Component\EventDispatcher\Debug\WrappedListener::__invoke (line 230)"
25 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
26 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
27 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
28 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
29 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
30 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
31 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 151)"
32 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
33 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
34 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
35 => "Shopware\Core\HttpKernel::doHandle (line 81)"
36 => "Shopware\Core\HttpKernel::handle (line 85)"
]
|
138 |
0.59 ms |
SELECT `product_price`.`id` as `product_price.id`, `product_price`.`version_id` as `product_price.versionId`, `product_price`.`product_id` as `product_price.productId`, `product_price`.`product_version_id` as `product_price.productVersionId`, `product_price`.`rule_id` as `product_price.ruleId`, `product_price`.`price` as `product_price.price`, `product_price`.`quantity_start` as `product_price.quantityStart`, `product_price`.`quantity_end` as `product_price.quantityEnd`, `product_price`.`custom_fields` as `product_price.customFields`, `product_price`.`created_at` as `product_price.createdAt`, `product_price`.`updated_at` as `product_price.updatedAt` FROM `product_price` WHERE (`product_price`.`version_id` = :version) AND ((`product_price`.`product_id` IN (:param_239bc15f47764ba8acafca8ced9d966d)))
SELECT `product_price`.`id` as `product_price.id`, `product_price`.`version_id` as `product_price.versionId`, `product_price`.`product_id` as `product_price.productId`, `product_price`.`product_version_id` as `product_price.productVersionId`, `product_price`.`rule_id` as `product_price.ruleId`, `product_price`.`price` as `product_price.price`, `product_price`.`quantity_start` as `product_price.quantityStart`, `product_price`.`quantity_end` as `product_price.quantityEnd`, `product_price`.`custom_fields` as `product_price.customFields`, `product_price`.`created_at` as `product_price.createdAt`, `product_price`.`updated_at` as `product_price.updatedAt` FROM `product_price` WHERE (`product_price`.`version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425) AND ((`product_price`.`product_id` IN (0x319A8F4815FD488EA8EAC21E147D89E3, 0x1583B9EB636D4B95A79984CC16ECD26A)));
array:41 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 242)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 316)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetch (line 148)"
4 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 503)"
5 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::loadOneToManyWithoutPagination (line 438)"
6 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::loadOneToMany (line 1210)"
7 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetchAssociations (line 152)"
8 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 93)"
9 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::read (line 195)"
10 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::read (line 133)"
11 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 36)"
12 => "Swag\PayPal\Util\Compatibility\SalesChannelRepositoryDecorator::search (line 207)"
13 => "Tds\MerwareDiscounts\Cart\Checkout\OverwrittenPriceCollector::getSalesChannelProduct (line 93)"
14 => "Tds\MerwareDiscounts\Cart\Checkout\OverwrittenPriceCollector::collect (line 103)"
15 => "Shopware\Core\Checkout\Cart\Processor::runProcessors (line 67)"
16 => "Shopware\Core\Checkout\Cart\Processor::Shopware\Core\Checkout\Cart\{closure} (line 59)"
17 => "Shopware\Core\Profiling\Profiler::trace (line 86)"
18 => "Shopware\Core\Checkout\Cart\Processor::process (line 132)"
19 => "Shopware\Core\Checkout\Cart\CartRuleLoader::Shopware\Core\Checkout\Cart\{closure} (line 59)"
20 => "Shopware\Core\Profiling\Profiler::trace (line 183)"
21 => "Shopware\Core\Checkout\Cart\CartRuleLoader::load (line 83)"
22 => "Shopware\Core\Checkout\Cart\CartRuleLoader::loadByToken (line 106)"
23 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::Shopware\Core\System\SalesChannel\Context\{closure} (line 59)"
24 => "Shopware\Core\Profiling\Profiler::trace (line 111)"
25 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::get (line 105)"
26 => "Shopware\Core\Framework\Routing\SalesChannelRequestContextResolver::resolve (line 38)"
27 => "Shopware\Core\Framework\Routing\ContextResolverListener::resolveContext (line 118)"
28 => "Symfony\Component\EventDispatcher\Debug\WrappedListener::__invoke (line 230)"
29 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
30 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
31 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
32 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
33 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
34 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
35 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 151)"
36 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
37 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
38 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
39 => "Shopware\Core\HttpKernel::doHandle (line 81)"
40 => "Shopware\Core\HttpKernel::handle (line 85)"
]
|
139 |
1.44 ms |
SELECT `shipping_method`.`id` as `shipping_method.id`, `shipping_method`.`active` as `shipping_method.active`, `shipping_method`.`position` as `shipping_method.position`, `shipping_method`.`availability_rule_id` as `shipping_method.availabilityRuleId`, `shipping_method`.`media_id` as `shipping_method.mediaId`, `shipping_method`.`delivery_time_id` as `shipping_method.deliveryTimeId`, `shipping_method`.`tax_type` as `shipping_method.taxType`, `shipping_method`.`tax_id` as `shipping_method.taxId`, `shipping_method.deliveryTime`.`id` as `shipping_method.deliveryTime.id`, `shipping_method.deliveryTime`.`min` as `shipping_method.deliveryTime.min`, `shipping_method.deliveryTime`.`max` as `shipping_method.deliveryTime.max`, `shipping_method.deliveryTime`.`unit` as `shipping_method.deliveryTime.unit`, `shipping_method.deliveryTime`.`created_at` as `shipping_method.deliveryTime.createdAt`, `shipping_method.deliveryTime`.`updated_at` as `shipping_method.deliveryTime.updatedAt`, `shipping_method.deliveryTime.translation.name`, COALESCE(`shipping_method.deliveryTime.translation.name`,`shipping_method.deliveryTime.translation.name`) as `shipping_method.deliveryTime.name`, `shipping_method.deliveryTime.translation.customFields`, COALESCE(`shipping_method.deliveryTime.translation.customFields`,`shipping_method.deliveryTime.translation.customFields`) as `shipping_method.deliveryTime.customFields`, `shipping_method.deliveryTime.translation.createdAt`, `shipping_method.deliveryTime.translation.updatedAt`, `shipping_method.deliveryTime.translation.deliveryTimeId`, `shipping_method.deliveryTime.translation.languageId`, `shipping_method`.`created_at` as `shipping_method.createdAt`, `shipping_method`.`updated_at` as `shipping_method.updatedAt`, `shipping_method.tax`.`id` as `shipping_method.tax.id`, `shipping_method.tax`.`tax_rate` as `shipping_method.tax.taxRate`, `shipping_method.tax`.`name` as `shipping_method.tax.name`, `shipping_method.tax`.`position` as `shipping_method.tax.position`, `shipping_method.tax`.`custom_fields` as `shipping_method.tax.customFields`, `shipping_method.tax`.`created_at` as `shipping_method.tax.createdAt`, `shipping_method.tax`.`updated_at` as `shipping_method.tax.updatedAt`, `shipping_method.translation.name`, COALESCE(`shipping_method.translation.name`,`shipping_method.translation.name`) as `shipping_method.name`, `shipping_method.translation.description`, COALESCE(`shipping_method.translation.description`,`shipping_method.translation.description`) as `shipping_method.description`, `shipping_method.translation.trackingUrl`, COALESCE(`shipping_method.translation.trackingUrl`,`shipping_method.translation.trackingUrl`) as `shipping_method.trackingUrl`, `shipping_method.translation.customFields`, COALESCE(`shipping_method.translation.customFields`,`shipping_method.translation.customFields`) as `shipping_method.customFields`, `shipping_method.translation.createdAt`, `shipping_method.translation.updatedAt`, `shipping_method.translation.shippingMethodId`, `shipping_method.translation.languageId` FROM `shipping_method` LEFT JOIN (SELECT `shipping_method.translation`.shipping_method_id, `shipping_method.translation`.name as `shipping_method.translation.name`, `shipping_method.translation`.description as `shipping_method.translation.description`, `shipping_method.translation`.tracking_url as `shipping_method.translation.trackingUrl`, `shipping_method.translation`.custom_fields as `shipping_method.translation.customFields`, `shipping_method.translation`.created_at as `shipping_method.translation.createdAt`, `shipping_method.translation`.updated_at as `shipping_method.translation.updatedAt`, `shipping_method.translation`.shipping_method_id as `shipping_method.translation.shippingMethodId`, `shipping_method.translation`.language_id as `shipping_method.translation.languageId` FROM `shipping_method_translation` `shipping_method.translation` WHERE `shipping_method.translation`.language_id = :languageId) `shipping_method.shipping_method_translation` ON `shipping_method.shipping_method_translation`.`shipping_method_id` = `shipping_method`.`id` LEFT JOIN `delivery_time` `shipping_method.deliveryTime` ON `shipping_method`.`delivery_time_id` = `shipping_method.deliveryTime`.`id` LEFT JOIN `tax` `shipping_method.tax` ON `shipping_method`.`tax_id` = `shipping_method.tax`.`id` LEFT JOIN (SELECT `shipping_method.deliveryTime.translation`.delivery_time_id, `shipping_method.deliveryTime.translation`.name as `shipping_method.deliveryTime.translation.name`, `shipping_method.deliveryTime.translation`.custom_fields as `shipping_method.deliveryTime.translation.customFields`, `shipping_method.deliveryTime.translation`.created_at as `shipping_method.deliveryTime.translation.createdAt`, `shipping_method.deliveryTime.translation`.updated_at as `shipping_method.deliveryTime.translation.updatedAt`, `shipping_method.deliveryTime.translation`.delivery_time_id as `shipping_method.deliveryTime.translation.deliveryTimeId`, `shipping_method.deliveryTime.translation`.language_id as `shipping_method.deliveryTime.translation.languageId` FROM `delivery_time_translation` `shipping_method.deliveryTime.translation` WHERE `shipping_method.deliveryTime.translation`.language_id = :languageId) `shipping_method.deliveryTime.delivery_time_translation` ON `shipping_method.deliveryTime.delivery_time_translation`.`delivery_time_id` = `shipping_method.deliveryTime`.`id` WHERE `shipping_method`.`id` IN (:ids)
SELECT
`shipping_method`.`id` as `shipping_method.id`,
`shipping_method`.`active` as `shipping_method.active`,
`shipping_method`.`position` as `shipping_method.position`,
`shipping_method`.`availability_rule_id` as `shipping_method.availabilityRuleId`,
`shipping_method`.`media_id` as `shipping_method.mediaId`,
`shipping_method`.`delivery_time_id` as `shipping_method.deliveryTimeId`,
`shipping_method`.`tax_type` as `shipping_method.taxType`,
`shipping_method`.`tax_id` as `shipping_method.taxId`,
`shipping_method.deliveryTime`.`id` as `shipping_method.deliveryTime.id`,
`shipping_method.deliveryTime`.`min` as `shipping_method.deliveryTime.min`,
`shipping_method.deliveryTime`.`max` as `shipping_method.deliveryTime.max`,
`shipping_method.deliveryTime`.`unit` as `shipping_method.deliveryTime.unit`,
`shipping_method.deliveryTime`.`created_at` as `shipping_method.deliveryTime.createdAt`,
`shipping_method.deliveryTime`.`updated_at` as `shipping_method.deliveryTime.updatedAt`,
`shipping_method.deliveryTime.translation.name`,
COALESCE(
`shipping_method.deliveryTime.translation.name`,
`shipping_method.deliveryTime.translation.name`
) as `shipping_method.deliveryTime.name`,
`shipping_method.deliveryTime.translation.customFields`,
COALESCE(
`shipping_method.deliveryTime.translation.customFields`,
`shipping_method.deliveryTime.translation.customFields`
) as `shipping_method.deliveryTime.customFields`,
`shipping_method.deliveryTime.translation.createdAt`,
`shipping_method.deliveryTime.translation.updatedAt`,
`shipping_method.deliveryTime.translation.deliveryTimeId`,
`shipping_method.deliveryTime.translation.languageId`,
`shipping_method`.`created_at` as `shipping_method.createdAt`,
`shipping_method`.`updated_at` as `shipping_method.updatedAt`,
`shipping_method.tax`.`id` as `shipping_method.tax.id`,
`shipping_method.tax`.`tax_rate` as `shipping_method.tax.taxRate`,
`shipping_method.tax`.`name` as `shipping_method.tax.name`,
`shipping_method.tax`.`position` as `shipping_method.tax.position`,
`shipping_method.tax`.`custom_fields` as `shipping_method.tax.customFields`,
`shipping_method.tax`.`created_at` as `shipping_method.tax.createdAt`,
`shipping_method.tax`.`updated_at` as `shipping_method.tax.updatedAt`,
`shipping_method.translation.name`,
COALESCE(
`shipping_method.translation.name`,
`shipping_method.translation.name`
) as `shipping_method.name`,
`shipping_method.translation.description`,
COALESCE(
`shipping_method.translation.description`,
`shipping_method.translation.description`
) as `shipping_method.description`,
`shipping_method.translation.trackingUrl`,
COALESCE(
`shipping_method.translation.trackingUrl`,
`shipping_method.translation.trackingUrl`
) as `shipping_method.trackingUrl`,
`shipping_method.translation.customFields`,
COALESCE(
`shipping_method.translation.customFields`,
`shipping_method.translation.customFields`
) as `shipping_method.customFields`,
`shipping_method.translation.createdAt`,
`shipping_method.translation.updatedAt`,
`shipping_method.translation.shippingMethodId`,
`shipping_method.translation.languageId`
FROM
`shipping_method`
LEFT JOIN (
SELECT
`shipping_method.translation`.shipping_method_id,
`shipping_method.translation`.name as `shipping_method.translation.name`,
`shipping_method.translation`.description as `shipping_method.translation.description`,
`shipping_method.translation`.tracking_url as `shipping_method.translation.trackingUrl`,
`shipping_method.translation`.custom_fields as `shipping_method.translation.customFields`,
`shipping_method.translation`.created_at as `shipping_method.translation.createdAt`,
`shipping_method.translation`.updated_at as `shipping_method.translation.updatedAt`,
`shipping_method.translation`.shipping_method_id as `shipping_method.translation.shippingMethodId`,
`shipping_method.translation`.language_id as `shipping_method.translation.languageId`
FROM
`shipping_method_translation` `shipping_method.translation`
WHERE
`shipping_method.translation`.language_id = : languageId
) `shipping_method.shipping_method_translation` ON `shipping_method.shipping_method_translation`.`shipping_method_id` = `shipping_method`.`id`
LEFT JOIN `delivery_time` `shipping_method.deliveryTime` ON `shipping_method`.`delivery_time_id` = `shipping_method.deliveryTime`.`id`
LEFT JOIN `tax` `shipping_method.tax` ON `shipping_method`.`tax_id` = `shipping_method.tax`.`id`
LEFT JOIN (
SELECT
`shipping_method.deliveryTime.translation`.delivery_time_id,
`shipping_method.deliveryTime.translation`.name as `shipping_method.deliveryTime.translation.name`,
`shipping_method.deliveryTime.translation`.custom_fields as `shipping_method.deliveryTime.translation.customFields`,
`shipping_method.deliveryTime.translation`.created_at as `shipping_method.deliveryTime.translation.createdAt`,
`shipping_method.deliveryTime.translation`.updated_at as `shipping_method.deliveryTime.translation.updatedAt`,
`shipping_method.deliveryTime.translation`.delivery_time_id as `shipping_method.deliveryTime.translation.deliveryTimeId`,
`shipping_method.deliveryTime.translation`.language_id as `shipping_method.deliveryTime.translation.languageId`
FROM
`delivery_time_translation` `shipping_method.deliveryTime.translation`
WHERE
`shipping_method.deliveryTime.translation`.language_id = : languageId
) `shipping_method.deliveryTime.delivery_time_translation` ON `shipping_method.deliveryTime.delivery_time_translation`.`delivery_time_id` = `shipping_method.deliveryTime`.`id`
WHERE
`shipping_method`.`id` IN (: ids)
SELECT `shipping_method`.`id` as `shipping_method.id`, `shipping_method`.`active` as `shipping_method.active`, `shipping_method`.`position` as `shipping_method.position`, `shipping_method`.`availability_rule_id` as `shipping_method.availabilityRuleId`, `shipping_method`.`media_id` as `shipping_method.mediaId`, `shipping_method`.`delivery_time_id` as `shipping_method.deliveryTimeId`, `shipping_method`.`tax_type` as `shipping_method.taxType`, `shipping_method`.`tax_id` as `shipping_method.taxId`, `shipping_method.deliveryTime`.`id` as `shipping_method.deliveryTime.id`, `shipping_method.deliveryTime`.`min` as `shipping_method.deliveryTime.min`, `shipping_method.deliveryTime`.`max` as `shipping_method.deliveryTime.max`, `shipping_method.deliveryTime`.`unit` as `shipping_method.deliveryTime.unit`, `shipping_method.deliveryTime`.`created_at` as `shipping_method.deliveryTime.createdAt`, `shipping_method.deliveryTime`.`updated_at` as `shipping_method.deliveryTime.updatedAt`, `shipping_method.deliveryTime.translation.name`, COALESCE(`shipping_method.deliveryTime.translation.name`,`shipping_method.deliveryTime.translation.name`) as `shipping_method.deliveryTime.name`, `shipping_method.deliveryTime.translation.customFields`, COALESCE(`shipping_method.deliveryTime.translation.customFields`,`shipping_method.deliveryTime.translation.customFields`) as `shipping_method.deliveryTime.customFields`, `shipping_method.deliveryTime.translation.createdAt`, `shipping_method.deliveryTime.translation.updatedAt`, `shipping_method.deliveryTime.translation.deliveryTimeId`, `shipping_method.deliveryTime.translation.languageId`, `shipping_method`.`created_at` as `shipping_method.createdAt`, `shipping_method`.`updated_at` as `shipping_method.updatedAt`, `shipping_method.tax`.`id` as `shipping_method.tax.id`, `shipping_method.tax`.`tax_rate` as `shipping_method.tax.taxRate`, `shipping_method.tax`.`name` as `shipping_method.tax.name`, `shipping_method.tax`.`position` as `shipping_method.tax.position`, `shipping_method.tax`.`custom_fields` as `shipping_method.tax.customFields`, `shipping_method.tax`.`created_at` as `shipping_method.tax.createdAt`, `shipping_method.tax`.`updated_at` as `shipping_method.tax.updatedAt`, `shipping_method.translation.name`, COALESCE(`shipping_method.translation.name`,`shipping_method.translation.name`) as `shipping_method.name`, `shipping_method.translation.description`, COALESCE(`shipping_method.translation.description`,`shipping_method.translation.description`) as `shipping_method.description`, `shipping_method.translation.trackingUrl`, COALESCE(`shipping_method.translation.trackingUrl`,`shipping_method.translation.trackingUrl`) as `shipping_method.trackingUrl`, `shipping_method.translation.customFields`, COALESCE(`shipping_method.translation.customFields`,`shipping_method.translation.customFields`) as `shipping_method.customFields`, `shipping_method.translation.createdAt`, `shipping_method.translation.updatedAt`, `shipping_method.translation.shippingMethodId`, `shipping_method.translation.languageId` FROM `shipping_method` LEFT JOIN (SELECT `shipping_method.translation`.shipping_method_id, `shipping_method.translation`.name as `shipping_method.translation.name`, `shipping_method.translation`.description as `shipping_method.translation.description`, `shipping_method.translation`.tracking_url as `shipping_method.translation.trackingUrl`, `shipping_method.translation`.custom_fields as `shipping_method.translation.customFields`, `shipping_method.translation`.created_at as `shipping_method.translation.createdAt`, `shipping_method.translation`.updated_at as `shipping_method.translation.updatedAt`, `shipping_method.translation`.shipping_method_id as `shipping_method.translation.shippingMethodId`, `shipping_method.translation`.language_id as `shipping_method.translation.languageId` FROM `shipping_method_translation` `shipping_method.translation` WHERE `shipping_method.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `shipping_method.shipping_method_translation` ON `shipping_method.shipping_method_translation`.`shipping_method_id` = `shipping_method`.`id` LEFT JOIN `delivery_time` `shipping_method.deliveryTime` ON `shipping_method`.`delivery_time_id` = `shipping_method.deliveryTime`.`id` LEFT JOIN `tax` `shipping_method.tax` ON `shipping_method`.`tax_id` = `shipping_method.tax`.`id` LEFT JOIN (SELECT `shipping_method.deliveryTime.translation`.delivery_time_id, `shipping_method.deliveryTime.translation`.name as `shipping_method.deliveryTime.translation.name`, `shipping_method.deliveryTime.translation`.custom_fields as `shipping_method.deliveryTime.translation.customFields`, `shipping_method.deliveryTime.translation`.created_at as `shipping_method.deliveryTime.translation.createdAt`, `shipping_method.deliveryTime.translation`.updated_at as `shipping_method.deliveryTime.translation.updatedAt`, `shipping_method.deliveryTime.translation`.delivery_time_id as `shipping_method.deliveryTime.translation.deliveryTimeId`, `shipping_method.deliveryTime.translation`.language_id as `shipping_method.deliveryTime.translation.languageId` FROM `delivery_time_translation` `shipping_method.deliveryTime.translation` WHERE `shipping_method.deliveryTime.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `shipping_method.deliveryTime.delivery_time_translation` ON `shipping_method.deliveryTime.delivery_time_translation`.`delivery_time_id` = `shipping_method.deliveryTime`.`id` WHERE `shipping_method`.`id` IN (0x1CAACEA3AA144B54912185A05ED8350C, 0x1CAACEA3AA144B54912185A05ED8350C);
array:41 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 242)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 316)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetch (line 148)"
4 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 93)"
5 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::read (line 257)"
6 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::read (line 286)"
7 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::_search (line 110)"
8 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::Shopware\Core\Framework\DataAbstractionLayer\{closure} (line 59)"
9 => "Shopware\Core\Profiling\Profiler::trace (line 111)"
10 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::search (line 51)"
11 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepositoryForwardCompatibilityDecorator::search (line 86)"
12 => "Shopware\Core\Checkout\Cart\Delivery\DeliveryProcessor::Shopware\Core\Checkout\Cart\Delivery\{closure} (line 59)"
13 => "Shopware\Core\Profiling\Profiler::trace (line 97)"
14 => "Shopware\Core\Checkout\Cart\Delivery\DeliveryProcessor::collect (line 103)"
15 => "Shopware\Core\Checkout\Cart\Processor::runProcessors (line 67)"
16 => "Shopware\Core\Checkout\Cart\Processor::Shopware\Core\Checkout\Cart\{closure} (line 59)"
17 => "Shopware\Core\Profiling\Profiler::trace (line 86)"
18 => "Shopware\Core\Checkout\Cart\Processor::process (line 132)"
19 => "Shopware\Core\Checkout\Cart\CartRuleLoader::Shopware\Core\Checkout\Cart\{closure} (line 59)"
20 => "Shopware\Core\Profiling\Profiler::trace (line 183)"
21 => "Shopware\Core\Checkout\Cart\CartRuleLoader::load (line 83)"
22 => "Shopware\Core\Checkout\Cart\CartRuleLoader::loadByToken (line 106)"
23 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::Shopware\Core\System\SalesChannel\Context\{closure} (line 59)"
24 => "Shopware\Core\Profiling\Profiler::trace (line 111)"
25 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::get (line 105)"
26 => "Shopware\Core\Framework\Routing\SalesChannelRequestContextResolver::resolve (line 38)"
27 => "Shopware\Core\Framework\Routing\ContextResolverListener::resolveContext (line 118)"
28 => "Symfony\Component\EventDispatcher\Debug\WrappedListener::__invoke (line 230)"
29 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
30 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
31 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
32 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
33 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
34 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
35 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 151)"
36 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
37 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
38 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
39 => "Shopware\Core\HttpKernel::doHandle (line 81)"
40 => "Shopware\Core\HttpKernel::handle (line 85)"
]
|
140 |
0.28 ms |
SELECT `shipping_method_price`.`id` as `shipping_method_price.id`, `shipping_method_price`.`shipping_method_id` as `shipping_method_price.shippingMethodId`, `shipping_method_price`.`rule_id` as `shipping_method_price.ruleId`, `shipping_method_price`.`calculation` as `shipping_method_price.calculation`, `shipping_method_price`.`calculation_rule_id` as `shipping_method_price.calculationRuleId`, `shipping_method_price`.`quantity_start` as `shipping_method_price.quantityStart`, `shipping_method_price`.`quantity_end` as `shipping_method_price.quantityEnd`, `shipping_method_price`.`currency_price` as `shipping_method_price.currencyPrice`, `shipping_method_price`.`custom_fields` as `shipping_method_price.customFields`, `shipping_method_price`.`created_at` as `shipping_method_price.createdAt`, `shipping_method_price`.`updated_at` as `shipping_method_price.updatedAt` FROM `shipping_method_price` WHERE (`shipping_method_price`.`shipping_method_id` IN (:param_5df621b7f93e4601be9c6b65d1483187))
SELECT `shipping_method_price`.`id` as `shipping_method_price.id`, `shipping_method_price`.`shipping_method_id` as `shipping_method_price.shippingMethodId`, `shipping_method_price`.`rule_id` as `shipping_method_price.ruleId`, `shipping_method_price`.`calculation` as `shipping_method_price.calculation`, `shipping_method_price`.`calculation_rule_id` as `shipping_method_price.calculationRuleId`, `shipping_method_price`.`quantity_start` as `shipping_method_price.quantityStart`, `shipping_method_price`.`quantity_end` as `shipping_method_price.quantityEnd`, `shipping_method_price`.`currency_price` as `shipping_method_price.currencyPrice`, `shipping_method_price`.`custom_fields` as `shipping_method_price.customFields`, `shipping_method_price`.`created_at` as `shipping_method_price.createdAt`, `shipping_method_price`.`updated_at` as `shipping_method_price.updatedAt` FROM `shipping_method_price` WHERE (`shipping_method_price`.`shipping_method_id` IN (0x1CAACEA3AA144B54912185A05ED8350C));
array:45 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 242)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 316)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetch (line 148)"
4 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 503)"
5 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::loadOneToManyWithoutPagination (line 438)"
6 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::loadOneToMany (line 1210)"
7 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetchAssociations (line 152)"
8 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 93)"
9 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::read (line 257)"
10 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::read (line 286)"
11 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::_search (line 110)"
12 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::Shopware\Core\Framework\DataAbstractionLayer\{closure} (line 59)"
13 => "Shopware\Core\Profiling\Profiler::trace (line 111)"
14 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::search (line 51)"
15 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepositoryForwardCompatibilityDecorator::search (line 86)"
16 => "Shopware\Core\Checkout\Cart\Delivery\DeliveryProcessor::Shopware\Core\Checkout\Cart\Delivery\{closure} (line 59)"
17 => "Shopware\Core\Profiling\Profiler::trace (line 97)"
18 => "Shopware\Core\Checkout\Cart\Delivery\DeliveryProcessor::collect (line 103)"
19 => "Shopware\Core\Checkout\Cart\Processor::runProcessors (line 67)"
20 => "Shopware\Core\Checkout\Cart\Processor::Shopware\Core\Checkout\Cart\{closure} (line 59)"
21 => "Shopware\Core\Profiling\Profiler::trace (line 86)"
22 => "Shopware\Core\Checkout\Cart\Processor::process (line 132)"
23 => "Shopware\Core\Checkout\Cart\CartRuleLoader::Shopware\Core\Checkout\Cart\{closure} (line 59)"
24 => "Shopware\Core\Profiling\Profiler::trace (line 183)"
25 => "Shopware\Core\Checkout\Cart\CartRuleLoader::load (line 83)"
26 => "Shopware\Core\Checkout\Cart\CartRuleLoader::loadByToken (line 106)"
27 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::Shopware\Core\System\SalesChannel\Context\{closure} (line 59)"
28 => "Shopware\Core\Profiling\Profiler::trace (line 111)"
29 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::get (line 105)"
30 => "Shopware\Core\Framework\Routing\SalesChannelRequestContextResolver::resolve (line 38)"
31 => "Shopware\Core\Framework\Routing\ContextResolverListener::resolveContext (line 118)"
32 => "Symfony\Component\EventDispatcher\Debug\WrappedListener::__invoke (line 230)"
33 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
34 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
35 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
36 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
37 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
38 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
39 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 151)"
40 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
41 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
42 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
43 => "Shopware\Core\HttpKernel::doHandle (line 81)"
44 => "Shopware\Core\HttpKernel::handle (line 85)"
]
|
141 |
1.82 ms |
SELECT `app`.`id` as `app.id`, `app`.`name` as `app.name`, `app`.`path` as `app.path`, `app`.`author` as `app.author`, `app`.`copyright` as `app.copyright`, `app`.`license` as `app.license`, `app`.`active` as `app.active`, `app`.`configurable` as `app.configurable`, `app`.`privacy` as `app.privacy`, `app`.`version` as `app.version`, `app`.`icon` as `app.iconRaw`, `app`.`app_secret` as `app.appSecret`, `app`.`modules` as `app.modules`, `app`.`main_module` as `app.mainModule`, `app`.`cookies` as `app.cookies`, `app`.`allow_disable` as `app.allowDisable`, `app`.`base_app_url` as `app.baseAppUrl`, `app`.`allowed_hosts` as `app.allowedHosts`, `app`.`template_load_priority` as `app.templateLoadPriority`, `app`.`integration_id` as `app.integrationId`, `app.integration`.`id` as `app.integration.id`, `app.integration`.`label` as `app.integration.label`, `app.integration`.`access_key` as `app.integration.accessKey`, `app.integration`.`secret_access_key` as `app.integration.secretAccessKey`, `app.integration`.`write_access` as `app.integration.writeAccess`, `app.integration`.`last_usage_at` as `app.integration.lastUsageAt`, `app.integration`.`admin` as `app.integration.admin`, `app.integration`.`custom_fields` as `app.integration.customFields`, `app.integration`.`deleted_at` as `app.integration.deletedAt`, `app.integration`.`created_at` as `app.integration.createdAt`, `app.integration`.`updated_at` as `app.integration.updatedAt`, `app`.`acl_role_id` as `app.aclRoleId`, `app.aclRole`.`id` as `app.aclRole.id`, `app.aclRole`.`name` as `app.aclRole.name`, `app.aclRole`.`description` as `app.aclRole.description`, `app.aclRole`.`privileges` as `app.aclRole.privileges`, `app.aclRole`.`deleted_at` as `app.aclRole.deletedAt`, `app.aclRole`.`created_at` as `app.aclRole.createdAt`, `app.aclRole`.`updated_at` as `app.aclRole.updatedAt`, `app`.`created_at` as `app.createdAt`, `app`.`updated_at` as `app.updatedAt`, `app.translation.label`, COALESCE(`app.translation.label`,`app.translation.label`) as `app.label`, `app.translation.description`, COALESCE(`app.translation.description`,`app.translation.description`) as `app.description`, `app.translation.privacyPolicyExtensions`, COALESCE(`app.translation.privacyPolicyExtensions`,`app.translation.privacyPolicyExtensions`) as `app.privacyPolicyExtensions`, `app.translation.customFields`, COALESCE(`app.translation.customFields`,`app.translation.customFields`) as `app.customFields`, `app.translation.createdAt`, `app.translation.updatedAt`, `app.translation.appId`, `app.translation.languageId` FROM `app` LEFT JOIN (SELECT `app.translation`.app_id, `app.translation`.label as `app.translation.label`, `app.translation`.description as `app.translation.description`, `app.translation`.privacy_policy_extensions as `app.translation.privacyPolicyExtensions`, `app.translation`.custom_fields as `app.translation.customFields`, `app.translation`.created_at as `app.translation.createdAt`, `app.translation`.updated_at as `app.translation.updatedAt`, `app.translation`.app_id as `app.translation.appId`, `app.translation`.language_id as `app.translation.languageId` FROM `app_translation` `app.translation` WHERE `app.translation`.language_id = :languageId) `app.app_translation` ON `app.app_translation`.`app_id` = `app`.`id` LEFT JOIN `integration` `app.integration` ON `app`.`integration_id` = `app.integration`.`id` LEFT JOIN `acl_role` `app.aclRole` ON `app`.`acl_role_id` = `app.aclRole`.`id` WHERE (`app`.`active` = :param_16b600c3d58f4325a4d345a59a82a823)
SELECT
`app`.`id` as `app.id`,
`app`.`name` as `app.name`,
`app`.`path` as `app.path`,
`app`.`author` as `app.author`,
`app`.`copyright` as `app.copyright`,
`app`.`license` as `app.license`,
`app`.`active` as `app.active`,
`app`.`configurable` as `app.configurable`,
`app`.`privacy` as `app.privacy`,
`app`.`version` as `app.version`,
`app`.`icon` as `app.iconRaw`,
`app`.`app_secret` as `app.appSecret`,
`app`.`modules` as `app.modules`,
`app`.`main_module` as `app.mainModule`,
`app`.`cookies` as `app.cookies`,
`app`.`allow_disable` as `app.allowDisable`,
`app`.`base_app_url` as `app.baseAppUrl`,
`app`.`allowed_hosts` as `app.allowedHosts`,
`app`.`template_load_priority` as `app.templateLoadPriority`,
`app`.`integration_id` as `app.integrationId`,
`app.integration`.`id` as `app.integration.id`,
`app.integration`.`label` as `app.integration.label`,
`app.integration`.`access_key` as `app.integration.accessKey`,
`app.integration`.`secret_access_key` as `app.integration.secretAccessKey`,
`app.integration`.`write_access` as `app.integration.writeAccess`,
`app.integration`.`last_usage_at` as `app.integration.lastUsageAt`,
`app.integration`.`admin` as `app.integration.admin`,
`app.integration`.`custom_fields` as `app.integration.customFields`,
`app.integration`.`deleted_at` as `app.integration.deletedAt`,
`app.integration`.`created_at` as `app.integration.createdAt`,
`app.integration`.`updated_at` as `app.integration.updatedAt`,
`app`.`acl_role_id` as `app.aclRoleId`,
`app.aclRole`.`id` as `app.aclRole.id`,
`app.aclRole`.`name` as `app.aclRole.name`,
`app.aclRole`.`description` as `app.aclRole.description`,
`app.aclRole`.`privileges` as `app.aclRole.privileges`,
`app.aclRole`.`deleted_at` as `app.aclRole.deletedAt`,
`app.aclRole`.`created_at` as `app.aclRole.createdAt`,
`app.aclRole`.`updated_at` as `app.aclRole.updatedAt`,
`app`.`created_at` as `app.createdAt`,
`app`.`updated_at` as `app.updatedAt`,
`app.translation.label`,
COALESCE(
`app.translation.label`, `app.translation.label`
) as `app.label`,
`app.translation.description`,
COALESCE(
`app.translation.description`, `app.translation.description`
) as `app.description`,
`app.translation.privacyPolicyExtensions`,
COALESCE(
`app.translation.privacyPolicyExtensions`,
`app.translation.privacyPolicyExtensions`
) as `app.privacyPolicyExtensions`,
`app.translation.customFields`,
COALESCE(
`app.translation.customFields`,
`app.translation.customFields`
) as `app.customFields`,
`app.translation.createdAt`,
`app.translation.updatedAt`,
`app.translation.appId`,
`app.translation.languageId`
FROM
`app`
LEFT JOIN (
SELECT
`app.translation`.app_id,
`app.translation`.label as `app.translation.label`,
`app.translation`.description as `app.translation.description`,
`app.translation`.privacy_policy_extensions as `app.translation.privacyPolicyExtensions`,
`app.translation`.custom_fields as `app.translation.customFields`,
`app.translation`.created_at as `app.translation.createdAt`,
`app.translation`.updated_at as `app.translation.updatedAt`,
`app.translation`.app_id as `app.translation.appId`,
`app.translation`.language_id as `app.translation.languageId`
FROM
`app_translation` `app.translation`
WHERE
`app.translation`.language_id = : languageId
) `app.app_translation` ON `app.app_translation`.`app_id` = `app`.`id`
LEFT JOIN `integration` `app.integration` ON `app`.`integration_id` = `app.integration`.`id`
LEFT JOIN `acl_role` `app.aclRole` ON `app`.`acl_role_id` = `app.aclRole`.`id`
WHERE
(
`app`.`active` = : param_16b600c3d58f4325a4d345a59a82a823
)
SELECT `app`.`id` as `app.id`, `app`.`name` as `app.name`, `app`.`path` as `app.path`, `app`.`author` as `app.author`, `app`.`copyright` as `app.copyright`, `app`.`license` as `app.license`, `app`.`active` as `app.active`, `app`.`configurable` as `app.configurable`, `app`.`privacy` as `app.privacy`, `app`.`version` as `app.version`, `app`.`icon` as `app.iconRaw`, `app`.`app_secret` as `app.appSecret`, `app`.`modules` as `app.modules`, `app`.`main_module` as `app.mainModule`, `app`.`cookies` as `app.cookies`, `app`.`allow_disable` as `app.allowDisable`, `app`.`base_app_url` as `app.baseAppUrl`, `app`.`allowed_hosts` as `app.allowedHosts`, `app`.`template_load_priority` as `app.templateLoadPriority`, `app`.`integration_id` as `app.integrationId`, `app.integration`.`id` as `app.integration.id`, `app.integration`.`label` as `app.integration.label`, `app.integration`.`access_key` as `app.integration.accessKey`, `app.integration`.`secret_access_key` as `app.integration.secretAccessKey`, `app.integration`.`write_access` as `app.integration.writeAccess`, `app.integration`.`last_usage_at` as `app.integration.lastUsageAt`, `app.integration`.`admin` as `app.integration.admin`, `app.integration`.`custom_fields` as `app.integration.customFields`, `app.integration`.`deleted_at` as `app.integration.deletedAt`, `app.integration`.`created_at` as `app.integration.createdAt`, `app.integration`.`updated_at` as `app.integration.updatedAt`, `app`.`acl_role_id` as `app.aclRoleId`, `app.aclRole`.`id` as `app.aclRole.id`, `app.aclRole`.`name` as `app.aclRole.name`, `app.aclRole`.`description` as `app.aclRole.description`, `app.aclRole`.`privileges` as `app.aclRole.privileges`, `app.aclRole`.`deleted_at` as `app.aclRole.deletedAt`, `app.aclRole`.`created_at` as `app.aclRole.createdAt`, `app.aclRole`.`updated_at` as `app.aclRole.updatedAt`, `app`.`created_at` as `app.createdAt`, `app`.`updated_at` as `app.updatedAt`, `app.translation.label`, COALESCE(`app.translation.label`,`app.translation.label`) as `app.label`, `app.translation.description`, COALESCE(`app.translation.description`,`app.translation.description`) as `app.description`, `app.translation.privacyPolicyExtensions`, COALESCE(`app.translation.privacyPolicyExtensions`,`app.translation.privacyPolicyExtensions`) as `app.privacyPolicyExtensions`, `app.translation.customFields`, COALESCE(`app.translation.customFields`,`app.translation.customFields`) as `app.customFields`, `app.translation.createdAt`, `app.translation.updatedAt`, `app.translation.appId`, `app.translation.languageId` FROM `app` LEFT JOIN (SELECT `app.translation`.app_id, `app.translation`.label as `app.translation.label`, `app.translation`.description as `app.translation.description`, `app.translation`.privacy_policy_extensions as `app.translation.privacyPolicyExtensions`, `app.translation`.custom_fields as `app.translation.customFields`, `app.translation`.created_at as `app.translation.createdAt`, `app.translation`.updated_at as `app.translation.updatedAt`, `app.translation`.app_id as `app.translation.appId`, `app.translation`.language_id as `app.translation.languageId` FROM `app_translation` `app.translation` WHERE `app.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `app.app_translation` ON `app.app_translation`.`app_id` = `app`.`id` LEFT JOIN `integration` `app.integration` ON `app`.`integration_id` = `app.integration`.`id` LEFT JOIN `acl_role` `app.aclRole` ON `app`.`acl_role_id` = `app.aclRole`.`id` WHERE (`app`.`active` = 1);
array:41 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 242)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 316)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetch (line 148)"
4 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 93)"
5 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::read (line 257)"
6 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::read (line 286)"
7 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::_search (line 110)"
8 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::Shopware\Core\Framework\DataAbstractionLayer\{closure} (line 59)"
9 => "Shopware\Core\Profiling\Profiler::trace (line 111)"
10 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::search (line 51)"
11 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepositoryForwardCompatibilityDecorator::search (line 119)"
12 => "Shopware\Core\Framework\App\Lifecycle\Persister\ScriptPersister::refresh (line 73)"
13 => "Shopware\Core\Framework\Script\Execution\ScriptLoader::load (line 57)"
14 => "Shopware\Core\Framework\Script\Execution\ScriptLoader::get (line 71)"
15 => "Shopware\Core\Framework\Script\Execution\ScriptExecutor::execute (line 70)"
16 => "Shopware\Core\Checkout\Cart\Processor::Shopware\Core\Checkout\Cart\{closure} (line 59)"
17 => "Shopware\Core\Profiling\Profiler::trace (line 86)"
18 => "Shopware\Core\Checkout\Cart\Processor::process (line 132)"
19 => "Shopware\Core\Checkout\Cart\CartRuleLoader::Shopware\Core\Checkout\Cart\{closure} (line 59)"
20 => "Shopware\Core\Profiling\Profiler::trace (line 183)"
21 => "Shopware\Core\Checkout\Cart\CartRuleLoader::load (line 83)"
22 => "Shopware\Core\Checkout\Cart\CartRuleLoader::loadByToken (line 106)"
23 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::Shopware\Core\System\SalesChannel\Context\{closure} (line 59)"
24 => "Shopware\Core\Profiling\Profiler::trace (line 111)"
25 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::get (line 105)"
26 => "Shopware\Core\Framework\Routing\SalesChannelRequestContextResolver::resolve (line 38)"
27 => "Shopware\Core\Framework\Routing\ContextResolverListener::resolveContext (line 118)"
28 => "Symfony\Component\EventDispatcher\Debug\WrappedListener::__invoke (line 230)"
29 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
30 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
31 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
32 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
33 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
34 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
35 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 151)"
36 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
37 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
38 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
39 => "Shopware\Core\HttpKernel::doHandle (line 81)"
40 => "Shopware\Core\HttpKernel::handle (line 85)"
]
|
142 |
3.18 ms |
SELECT `app`.`id` as `app.id`, `app`.`name` as `app.name`, `app`.`path` as `app.path`, `app`.`author` as `app.author`, `app`.`copyright` as `app.copyright`, `app`.`license` as `app.license`, `app`.`active` as `app.active`, `app`.`configurable` as `app.configurable`, `app`.`privacy` as `app.privacy`, `app`.`version` as `app.version`, `app`.`icon` as `app.iconRaw`, `app`.`app_secret` as `app.appSecret`, `app`.`modules` as `app.modules`, `app`.`main_module` as `app.mainModule`, `app`.`cookies` as `app.cookies`, `app`.`allow_disable` as `app.allowDisable`, `app`.`base_app_url` as `app.baseAppUrl`, `app`.`allowed_hosts` as `app.allowedHosts`, `app`.`template_load_priority` as `app.templateLoadPriority`, `app`.`integration_id` as `app.integrationId`, `app.integration`.`id` as `app.integration.id`, `app.integration`.`label` as `app.integration.label`, `app.integration`.`access_key` as `app.integration.accessKey`, `app.integration`.`secret_access_key` as `app.integration.secretAccessKey`, `app.integration`.`write_access` as `app.integration.writeAccess`, `app.integration`.`last_usage_at` as `app.integration.lastUsageAt`, `app.integration`.`admin` as `app.integration.admin`, `app.integration`.`custom_fields` as `app.integration.customFields`, `app.integration`.`deleted_at` as `app.integration.deletedAt`, `app.integration`.`created_at` as `app.integration.createdAt`, `app.integration`.`updated_at` as `app.integration.updatedAt`, `app`.`acl_role_id` as `app.aclRoleId`, `app.aclRole`.`id` as `app.aclRole.id`, `app.aclRole`.`name` as `app.aclRole.name`, `app.aclRole`.`description` as `app.aclRole.description`, `app.aclRole`.`privileges` as `app.aclRole.privileges`, `app.aclRole`.`deleted_at` as `app.aclRole.deletedAt`, `app.aclRole`.`created_at` as `app.aclRole.createdAt`, `app.aclRole`.`updated_at` as `app.aclRole.updatedAt`, `app`.`created_at` as `app.createdAt`, `app`.`updated_at` as `app.updatedAt`, `app.translation.label`, COALESCE(`app.translation.label`,`app.translation.label`) as `app.label`, `app.translation.description`, COALESCE(`app.translation.description`,`app.translation.description`) as `app.description`, `app.translation.privacyPolicyExtensions`, COALESCE(`app.translation.privacyPolicyExtensions`,`app.translation.privacyPolicyExtensions`) as `app.privacyPolicyExtensions`, `app.translation.customFields`, COALESCE(`app.translation.customFields`,`app.translation.customFields`) as `app.customFields`, `app.translation.createdAt`, `app.translation.updatedAt`, `app.translation.appId`, `app.translation.languageId` FROM `app` LEFT JOIN (SELECT `app.translation`.app_id, `app.translation`.label as `app.translation.label`, `app.translation`.description as `app.translation.description`, `app.translation`.privacy_policy_extensions as `app.translation.privacyPolicyExtensions`, `app.translation`.custom_fields as `app.translation.customFields`, `app.translation`.created_at as `app.translation.createdAt`, `app.translation`.updated_at as `app.translation.updatedAt`, `app.translation`.app_id as `app.translation.appId`, `app.translation`.language_id as `app.translation.languageId` FROM `app_translation` `app.translation` WHERE `app.translation`.language_id = :languageId) `app.app_translation` ON `app.app_translation`.`app_id` = `app`.`id` LEFT JOIN `integration` `app.integration` ON `app`.`integration_id` = `app.integration`.`id` LEFT JOIN `acl_role` `app.aclRole` ON `app`.`acl_role_id` = `app.aclRole`.`id` WHERE `app`.`id` IN (:ids)
SELECT
`app`.`id` as `app.id`,
`app`.`name` as `app.name`,
`app`.`path` as `app.path`,
`app`.`author` as `app.author`,
`app`.`copyright` as `app.copyright`,
`app`.`license` as `app.license`,
`app`.`active` as `app.active`,
`app`.`configurable` as `app.configurable`,
`app`.`privacy` as `app.privacy`,
`app`.`version` as `app.version`,
`app`.`icon` as `app.iconRaw`,
`app`.`app_secret` as `app.appSecret`,
`app`.`modules` as `app.modules`,
`app`.`main_module` as `app.mainModule`,
`app`.`cookies` as `app.cookies`,
`app`.`allow_disable` as `app.allowDisable`,
`app`.`base_app_url` as `app.baseAppUrl`,
`app`.`allowed_hosts` as `app.allowedHosts`,
`app`.`template_load_priority` as `app.templateLoadPriority`,
`app`.`integration_id` as `app.integrationId`,
`app.integration`.`id` as `app.integration.id`,
`app.integration`.`label` as `app.integration.label`,
`app.integration`.`access_key` as `app.integration.accessKey`,
`app.integration`.`secret_access_key` as `app.integration.secretAccessKey`,
`app.integration`.`write_access` as `app.integration.writeAccess`,
`app.integration`.`last_usage_at` as `app.integration.lastUsageAt`,
`app.integration`.`admin` as `app.integration.admin`,
`app.integration`.`custom_fields` as `app.integration.customFields`,
`app.integration`.`deleted_at` as `app.integration.deletedAt`,
`app.integration`.`created_at` as `app.integration.createdAt`,
`app.integration`.`updated_at` as `app.integration.updatedAt`,
`app`.`acl_role_id` as `app.aclRoleId`,
`app.aclRole`.`id` as `app.aclRole.id`,
`app.aclRole`.`name` as `app.aclRole.name`,
`app.aclRole`.`description` as `app.aclRole.description`,
`app.aclRole`.`privileges` as `app.aclRole.privileges`,
`app.aclRole`.`deleted_at` as `app.aclRole.deletedAt`,
`app.aclRole`.`created_at` as `app.aclRole.createdAt`,
`app.aclRole`.`updated_at` as `app.aclRole.updatedAt`,
`app`.`created_at` as `app.createdAt`,
`app`.`updated_at` as `app.updatedAt`,
`app.translation.label`,
COALESCE(
`app.translation.label`, `app.translation.label`
) as `app.label`,
`app.translation.description`,
COALESCE(
`app.translation.description`, `app.translation.description`
) as `app.description`,
`app.translation.privacyPolicyExtensions`,
COALESCE(
`app.translation.privacyPolicyExtensions`,
`app.translation.privacyPolicyExtensions`
) as `app.privacyPolicyExtensions`,
`app.translation.customFields`,
COALESCE(
`app.translation.customFields`,
`app.translation.customFields`
) as `app.customFields`,
`app.translation.createdAt`,
`app.translation.updatedAt`,
`app.translation.appId`,
`app.translation.languageId`
FROM
`app`
LEFT JOIN (
SELECT
`app.translation`.app_id,
`app.translation`.label as `app.translation.label`,
`app.translation`.description as `app.translation.description`,
`app.translation`.privacy_policy_extensions as `app.translation.privacyPolicyExtensions`,
`app.translation`.custom_fields as `app.translation.customFields`,
`app.translation`.created_at as `app.translation.createdAt`,
`app.translation`.updated_at as `app.translation.updatedAt`,
`app.translation`.app_id as `app.translation.appId`,
`app.translation`.language_id as `app.translation.languageId`
FROM
`app_translation` `app.translation`
WHERE
`app.translation`.language_id = : languageId
) `app.app_translation` ON `app.app_translation`.`app_id` = `app`.`id`
LEFT JOIN `integration` `app.integration` ON `app`.`integration_id` = `app.integration`.`id`
LEFT JOIN `acl_role` `app.aclRole` ON `app`.`acl_role_id` = `app.aclRole`.`id`
WHERE
`app`.`id` IN (: ids)
SELECT `app`.`id` as `app.id`, `app`.`name` as `app.name`, `app`.`path` as `app.path`, `app`.`author` as `app.author`, `app`.`copyright` as `app.copyright`, `app`.`license` as `app.license`, `app`.`active` as `app.active`, `app`.`configurable` as `app.configurable`, `app`.`privacy` as `app.privacy`, `app`.`version` as `app.version`, `app`.`icon` as `app.iconRaw`, `app`.`app_secret` as `app.appSecret`, `app`.`modules` as `app.modules`, `app`.`main_module` as `app.mainModule`, `app`.`cookies` as `app.cookies`, `app`.`allow_disable` as `app.allowDisable`, `app`.`base_app_url` as `app.baseAppUrl`, `app`.`allowed_hosts` as `app.allowedHosts`, `app`.`template_load_priority` as `app.templateLoadPriority`, `app`.`integration_id` as `app.integrationId`, `app.integration`.`id` as `app.integration.id`, `app.integration`.`label` as `app.integration.label`, `app.integration`.`access_key` as `app.integration.accessKey`, `app.integration`.`secret_access_key` as `app.integration.secretAccessKey`, `app.integration`.`write_access` as `app.integration.writeAccess`, `app.integration`.`last_usage_at` as `app.integration.lastUsageAt`, `app.integration`.`admin` as `app.integration.admin`, `app.integration`.`custom_fields` as `app.integration.customFields`, `app.integration`.`deleted_at` as `app.integration.deletedAt`, `app.integration`.`created_at` as `app.integration.createdAt`, `app.integration`.`updated_at` as `app.integration.updatedAt`, `app`.`acl_role_id` as `app.aclRoleId`, `app.aclRole`.`id` as `app.aclRole.id`, `app.aclRole`.`name` as `app.aclRole.name`, `app.aclRole`.`description` as `app.aclRole.description`, `app.aclRole`.`privileges` as `app.aclRole.privileges`, `app.aclRole`.`deleted_at` as `app.aclRole.deletedAt`, `app.aclRole`.`created_at` as `app.aclRole.createdAt`, `app.aclRole`.`updated_at` as `app.aclRole.updatedAt`, `app`.`created_at` as `app.createdAt`, `app`.`updated_at` as `app.updatedAt`, `app.translation.label`, COALESCE(`app.translation.label`,`app.translation.label`) as `app.label`, `app.translation.description`, COALESCE(`app.translation.description`,`app.translation.description`) as `app.description`, `app.translation.privacyPolicyExtensions`, COALESCE(`app.translation.privacyPolicyExtensions`,`app.translation.privacyPolicyExtensions`) as `app.privacyPolicyExtensions`, `app.translation.customFields`, COALESCE(`app.translation.customFields`,`app.translation.customFields`) as `app.customFields`, `app.translation.createdAt`, `app.translation.updatedAt`, `app.translation.appId`, `app.translation.languageId` FROM `app` LEFT JOIN (SELECT `app.translation`.app_id, `app.translation`.label as `app.translation.label`, `app.translation`.description as `app.translation.description`, `app.translation`.privacy_policy_extensions as `app.translation.privacyPolicyExtensions`, `app.translation`.custom_fields as `app.translation.customFields`, `app.translation`.created_at as `app.translation.createdAt`, `app.translation`.updated_at as `app.translation.updatedAt`, `app.translation`.app_id as `app.translation.appId`, `app.translation`.language_id as `app.translation.languageId` FROM `app_translation` `app.translation` WHERE `app.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `app.app_translation` ON `app.app_translation`.`app_id` = `app`.`id` LEFT JOIN `integration` `app.integration` ON `app`.`integration_id` = `app.integration`.`id` LEFT JOIN `acl_role` `app.aclRole` ON `app`.`acl_role_id` = `app.aclRole`.`id` WHERE `app`.`id` IN (0xFAE4CAC26CC640B8B3F7A1499F103CDE);
array:41 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 242)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 316)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetch (line 148)"
4 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 93)"
5 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::read (line 257)"
6 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::read (line 286)"
7 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::_search (line 106)"
8 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::search (line 51)"
9 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepositoryForwardCompatibilityDecorator::search (line 147)"
10 => "Shopware\Core\Framework\App\Lifecycle\Persister\ScriptPersister::getAppWithExistingScripts (line 39)"
11 => "Shopware\Core\Framework\App\Lifecycle\Persister\ScriptPersister::updateScripts (line 123)"
12 => "Shopware\Core\Framework\App\Lifecycle\Persister\ScriptPersister::refresh (line 73)"
13 => "Shopware\Core\Framework\Script\Execution\ScriptLoader::load (line 57)"
14 => "Shopware\Core\Framework\Script\Execution\ScriptLoader::get (line 71)"
15 => "Shopware\Core\Framework\Script\Execution\ScriptExecutor::execute (line 70)"
16 => "Shopware\Core\Checkout\Cart\Processor::Shopware\Core\Checkout\Cart\{closure} (line 59)"
17 => "Shopware\Core\Profiling\Profiler::trace (line 86)"
18 => "Shopware\Core\Checkout\Cart\Processor::process (line 132)"
19 => "Shopware\Core\Checkout\Cart\CartRuleLoader::Shopware\Core\Checkout\Cart\{closure} (line 59)"
20 => "Shopware\Core\Profiling\Profiler::trace (line 183)"
21 => "Shopware\Core\Checkout\Cart\CartRuleLoader::load (line 83)"
22 => "Shopware\Core\Checkout\Cart\CartRuleLoader::loadByToken (line 106)"
23 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::Shopware\Core\System\SalesChannel\Context\{closure} (line 59)"
24 => "Shopware\Core\Profiling\Profiler::trace (line 111)"
25 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::get (line 105)"
26 => "Shopware\Core\Framework\Routing\SalesChannelRequestContextResolver::resolve (line 38)"
27 => "Shopware\Core\Framework\Routing\ContextResolverListener::resolveContext (line 118)"
28 => "Symfony\Component\EventDispatcher\Debug\WrappedListener::__invoke (line 230)"
29 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
30 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
31 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
32 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
33 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
34 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
35 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 151)"
36 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
37 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
38 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
39 => "Shopware\Core\HttpKernel::doHandle (line 81)"
40 => "Shopware\Core\HttpKernel::handle (line 85)"
]
|
143 |
0.34 ms |
SELECT `script`.`id` as `script.id`, `script`.`script` as `script.script`, `script`.`hook` as `script.hook`, `script`.`name` as `script.name`, `script`.`active` as `script.active`, `script`.`app_id` as `script.appId`, `script`.`created_at` as `script.createdAt`, `script`.`updated_at` as `script.updatedAt` FROM `script` WHERE (`script`.`app_id` IN (:param_5f3fb655abc34c1b9633424ed82ae873))
SELECT `script`.`id` as `script.id`, `script`.`script` as `script.script`, `script`.`hook` as `script.hook`, `script`.`name` as `script.name`, `script`.`active` as `script.active`, `script`.`app_id` as `script.appId`, `script`.`created_at` as `script.createdAt`, `script`.`updated_at` as `script.updatedAt` FROM `script` WHERE (`script`.`app_id` IN (0xFAE4CAC26CC640B8B3F7A1499F103CDE));
array:45 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 242)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 316)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetch (line 148)"
4 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 503)"
5 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::loadOneToManyWithoutPagination (line 438)"
6 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::loadOneToMany (line 1210)"
7 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetchAssociations (line 152)"
8 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 93)"
9 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::read (line 257)"
10 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::read (line 286)"
11 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::_search (line 106)"
12 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::search (line 51)"
13 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepositoryForwardCompatibilityDecorator::search (line 147)"
14 => "Shopware\Core\Framework\App\Lifecycle\Persister\ScriptPersister::getAppWithExistingScripts (line 39)"
15 => "Shopware\Core\Framework\App\Lifecycle\Persister\ScriptPersister::updateScripts (line 123)"
16 => "Shopware\Core\Framework\App\Lifecycle\Persister\ScriptPersister::refresh (line 73)"
17 => "Shopware\Core\Framework\Script\Execution\ScriptLoader::load (line 57)"
18 => "Shopware\Core\Framework\Script\Execution\ScriptLoader::get (line 71)"
19 => "Shopware\Core\Framework\Script\Execution\ScriptExecutor::execute (line 70)"
20 => "Shopware\Core\Checkout\Cart\Processor::Shopware\Core\Checkout\Cart\{closure} (line 59)"
21 => "Shopware\Core\Profiling\Profiler::trace (line 86)"
22 => "Shopware\Core\Checkout\Cart\Processor::process (line 132)"
23 => "Shopware\Core\Checkout\Cart\CartRuleLoader::Shopware\Core\Checkout\Cart\{closure} (line 59)"
24 => "Shopware\Core\Profiling\Profiler::trace (line 183)"
25 => "Shopware\Core\Checkout\Cart\CartRuleLoader::load (line 83)"
26 => "Shopware\Core\Checkout\Cart\CartRuleLoader::loadByToken (line 106)"
27 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::Shopware\Core\System\SalesChannel\Context\{closure} (line 59)"
28 => "Shopware\Core\Profiling\Profiler::trace (line 111)"
29 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::get (line 105)"
30 => "Shopware\Core\Framework\Routing\SalesChannelRequestContextResolver::resolve (line 38)"
31 => "Shopware\Core\Framework\Routing\ContextResolverListener::resolveContext (line 118)"
32 => "Symfony\Component\EventDispatcher\Debug\WrappedListener::__invoke (line 230)"
33 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
34 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
35 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
36 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
37 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
38 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
39 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 151)"
40 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
41 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
42 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
43 => "Shopware\Core\HttpKernel::doHandle (line 81)"
44 => "Shopware\Core\HttpKernel::handle (line 85)"
]
|
144 |
0.45 ms |
SELECT LOWER(HEX(`script`.`app_id`)) as `app_id`,
`script`.`name` AS scriptName,
`script`.`script` AS script,
`script`.`hook` AS hook,
IFNULL(`script`.`updated_at`, `script`.`created_at`) AS lastModified,
`app`.`name` AS appName,
LOWER(HEX(`app`.`integration_id`)) AS integrationId,
`app`.`version` AS appVersion,
`script`.`active` AS active
FROM `script`
LEFT JOIN `app` ON `script`.`app_id` = `app`.`id`
WHERE `script`.`hook` != 'include'
ORDER BY `app`.`created_at`, `app`.`id`, `script`.`name`
SELECT LOWER(HEX(`script`.`app_id`)) as `app_id`,
`script`.`name` AS scriptName,
`script`.`script` AS script,
`script`.`hook` AS hook,
IFNULL(`script`.`updated_at`, `script`.`created_at`) AS lastModified,
`app`.`name` AS appName,
LOWER(HEX(`app`.`integration_id`)) AS integrationId,
`app`.`version` AS appVersion,
`script`.`active` AS active
FROM `script`
LEFT JOIN `app` ON `script`.`app_id` = `app`.`id`
WHERE `script`.`hook` != 'include'
ORDER BY `app`.`created_at`, `app`.`id`, `script`.`name`
;
array:31 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 1042)"
2 => "Doctrine\DBAL\Connection::fetchAllAssociative (line 76)"
3 => "Shopware\Core\Framework\Script\Execution\ScriptLoader::load (line 57)"
4 => "Shopware\Core\Framework\Script\Execution\ScriptLoader::get (line 71)"
5 => "Shopware\Core\Framework\Script\Execution\ScriptExecutor::execute (line 70)"
6 => "Shopware\Core\Checkout\Cart\Processor::Shopware\Core\Checkout\Cart\{closure} (line 59)"
7 => "Shopware\Core\Profiling\Profiler::trace (line 86)"
8 => "Shopware\Core\Checkout\Cart\Processor::process (line 132)"
9 => "Shopware\Core\Checkout\Cart\CartRuleLoader::Shopware\Core\Checkout\Cart\{closure} (line 59)"
10 => "Shopware\Core\Profiling\Profiler::trace (line 183)"
11 => "Shopware\Core\Checkout\Cart\CartRuleLoader::load (line 83)"
12 => "Shopware\Core\Checkout\Cart\CartRuleLoader::loadByToken (line 106)"
13 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::Shopware\Core\System\SalesChannel\Context\{closure} (line 59)"
14 => "Shopware\Core\Profiling\Profiler::trace (line 111)"
15 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::get (line 105)"
16 => "Shopware\Core\Framework\Routing\SalesChannelRequestContextResolver::resolve (line 38)"
17 => "Shopware\Core\Framework\Routing\ContextResolverListener::resolveContext (line 118)"
18 => "Symfony\Component\EventDispatcher\Debug\WrappedListener::__invoke (line 230)"
19 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
20 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
21 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
22 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
23 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
24 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
25 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 151)"
26 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
27 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
28 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
29 => "Shopware\Core\HttpKernel::doHandle (line 81)"
30 => "Shopware\Core\HttpKernel::handle (line 85)"
]
|
145 |
0.28 ms |
SELECT LOWER(HEX(`script`.`app_id`)) as `app_id`,
`script`.`name` AS name,
`script`.`script` AS script,
`app`.`name` AS appName,
LOWER(HEX(`app`.`integration_id`)) AS integrationId,
IFNULL(`script`.`updated_at`, `script`.`created_at`) AS lastModified
FROM `script`
LEFT JOIN `app` ON `script`.`app_id` = `app`.`id`
WHERE `script`.`hook` = 'include'
ORDER BY `app`.`created_at`, `app`.`id`, `script`.`name`
SELECT LOWER(HEX(`script`.`app_id`)) as `app_id`,
`script`.`name` AS name,
`script`.`script` AS script,
`app`.`name` AS appName,
LOWER(HEX(`app`.`integration_id`)) AS integrationId,
IFNULL(`script`.`updated_at`, `script`.`created_at`) AS lastModified
FROM `script`
LEFT JOIN `app` ON `script`.`app_id` = `app`.`id`
WHERE `script`.`hook` = 'include'
ORDER BY `app`.`created_at`, `app`.`id`, `script`.`name`
;
array:31 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 1042)"
2 => "Doctrine\DBAL\Connection::fetchAllAssociative (line 92)"
3 => "Shopware\Core\Framework\Script\Execution\ScriptLoader::load (line 57)"
4 => "Shopware\Core\Framework\Script\Execution\ScriptLoader::get (line 71)"
5 => "Shopware\Core\Framework\Script\Execution\ScriptExecutor::execute (line 70)"
6 => "Shopware\Core\Checkout\Cart\Processor::Shopware\Core\Checkout\Cart\{closure} (line 59)"
7 => "Shopware\Core\Profiling\Profiler::trace (line 86)"
8 => "Shopware\Core\Checkout\Cart\Processor::process (line 132)"
9 => "Shopware\Core\Checkout\Cart\CartRuleLoader::Shopware\Core\Checkout\Cart\{closure} (line 59)"
10 => "Shopware\Core\Profiling\Profiler::trace (line 183)"
11 => "Shopware\Core\Checkout\Cart\CartRuleLoader::load (line 83)"
12 => "Shopware\Core\Checkout\Cart\CartRuleLoader::loadByToken (line 106)"
13 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::Shopware\Core\System\SalesChannel\Context\{closure} (line 59)"
14 => "Shopware\Core\Profiling\Profiler::trace (line 111)"
15 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::get (line 105)"
16 => "Shopware\Core\Framework\Routing\SalesChannelRequestContextResolver::resolve (line 38)"
17 => "Shopware\Core\Framework\Routing\ContextResolverListener::resolveContext (line 118)"
18 => "Symfony\Component\EventDispatcher\Debug\WrappedListener::__invoke (line 230)"
19 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
20 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
21 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
22 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
23 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
24 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
25 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 151)"
26 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
27 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
28 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
29 => "Shopware\Core\HttpKernel::doHandle (line 81)"
30 => "Shopware\Core\HttpKernel::handle (line 85)"
]
|
146 |
0.72 ms |
SELECT `country`.`id` FROM `country` LEFT JOIN `sales_channel_country` `country.salesChannels.mapping` ON `country`.`id` = `country.salesChannels.mapping`.`country_id` LEFT JOIN `sales_channel` `country.salesChannels` ON `country.salesChannels.mapping`.`sales_channel_id` = `country.salesChannels`.`id` WHERE ((`country.salesChannels`.`id` = :param_af09a8f63117440bb9e3111a30e664f8)) AND (`country`.`id` IN (:ids)) GROUP BY `country`.`id`
SELECT `country`.`id` FROM `country` LEFT JOIN `sales_channel_country` `country.salesChannels.mapping` ON `country`.`id` = `country.salesChannels.mapping`.`country_id` LEFT JOIN `sales_channel` `country.salesChannels` ON `country.salesChannels.mapping`.`sales_channel_id` = `country.salesChannels`.`id` WHERE ((`country.salesChannels`.`id` = 0x4EB9108BE4654CC9B140D14DE85579E9)) AND (`country`.`id` IN (0x9BE34119165046CCAAF22F2A8FE524F9)) GROUP BY `country`.`id`;
array:35 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 242)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 107)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntitySearcher::search (line 62)"
4 => "Shopware\Elasticsearch\Framework\DataAbstractionLayer\ElasticsearchEntitySearcher::search (line 132)"
5 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::searchIds (line 41)"
6 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepositoryForwardCompatibilityDecorator::searchIds (line 104)"
7 => "Shopware\Core\Checkout\Cart\Address\AddressValidator::isSalesChannelCountry (line 58)"
8 => "Shopware\Core\Checkout\Cart\Address\AddressValidator::validate (line 29)"
9 => "Shopware\Core\Checkout\Cart\Validator::validate (line 76)"
10 => "Shopware\Core\Checkout\Cart\Processor::Shopware\Core\Checkout\Cart\{closure} (line 59)"
11 => "Shopware\Core\Profiling\Profiler::trace (line 86)"
12 => "Shopware\Core\Checkout\Cart\Processor::process (line 132)"
13 => "Shopware\Core\Checkout\Cart\CartRuleLoader::Shopware\Core\Checkout\Cart\{closure} (line 59)"
14 => "Shopware\Core\Profiling\Profiler::trace (line 183)"
15 => "Shopware\Core\Checkout\Cart\CartRuleLoader::load (line 83)"
16 => "Shopware\Core\Checkout\Cart\CartRuleLoader::loadByToken (line 106)"
17 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::Shopware\Core\System\SalesChannel\Context\{closure} (line 59)"
18 => "Shopware\Core\Profiling\Profiler::trace (line 111)"
19 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::get (line 105)"
20 => "Shopware\Core\Framework\Routing\SalesChannelRequestContextResolver::resolve (line 38)"
21 => "Shopware\Core\Framework\Routing\ContextResolverListener::resolveContext (line 118)"
22 => "Symfony\Component\EventDispatcher\Debug\WrappedListener::__invoke (line 230)"
23 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
24 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
25 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
26 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
27 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
28 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
29 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 151)"
30 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
31 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
32 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
33 => "Shopware\Core\HttpKernel::doHandle (line 81)"
34 => "Shopware\Core\HttpKernel::handle (line 85)"
]
|
147 |
1.71 ms |
SELECT `app`.`id` as `app.id`, `app`.`name` as `app.name`, `app`.`path` as `app.path`, `app`.`author` as `app.author`, `app`.`copyright` as `app.copyright`, `app`.`license` as `app.license`, `app`.`active` as `app.active`, `app`.`configurable` as `app.configurable`, `app`.`privacy` as `app.privacy`, `app`.`version` as `app.version`, `app`.`icon` as `app.iconRaw`, `app`.`app_secret` as `app.appSecret`, `app`.`modules` as `app.modules`, `app`.`main_module` as `app.mainModule`, `app`.`cookies` as `app.cookies`, `app`.`allow_disable` as `app.allowDisable`, `app`.`base_app_url` as `app.baseAppUrl`, `app`.`allowed_hosts` as `app.allowedHosts`, `app`.`template_load_priority` as `app.templateLoadPriority`, `app`.`integration_id` as `app.integrationId`, `app.integration`.`id` as `app.integration.id`, `app.integration`.`label` as `app.integration.label`, `app.integration`.`access_key` as `app.integration.accessKey`, `app.integration`.`secret_access_key` as `app.integration.secretAccessKey`, `app.integration`.`write_access` as `app.integration.writeAccess`, `app.integration`.`last_usage_at` as `app.integration.lastUsageAt`, `app.integration`.`admin` as `app.integration.admin`, `app.integration`.`custom_fields` as `app.integration.customFields`, `app.integration`.`deleted_at` as `app.integration.deletedAt`, `app.integration`.`created_at` as `app.integration.createdAt`, `app.integration`.`updated_at` as `app.integration.updatedAt`, `app`.`acl_role_id` as `app.aclRoleId`, `app.aclRole`.`id` as `app.aclRole.id`, `app.aclRole`.`name` as `app.aclRole.name`, `app.aclRole`.`description` as `app.aclRole.description`, `app.aclRole`.`privileges` as `app.aclRole.privileges`, `app.aclRole`.`deleted_at` as `app.aclRole.deletedAt`, `app.aclRole`.`created_at` as `app.aclRole.createdAt`, `app.aclRole`.`updated_at` as `app.aclRole.updatedAt`, `app`.`created_at` as `app.createdAt`, `app`.`updated_at` as `app.updatedAt`, `app.translation.label`, COALESCE(`app.translation.label`,`app.translation.label`) as `app.label`, `app.translation.description`, COALESCE(`app.translation.description`,`app.translation.description`) as `app.description`, `app.translation.privacyPolicyExtensions`, COALESCE(`app.translation.privacyPolicyExtensions`,`app.translation.privacyPolicyExtensions`) as `app.privacyPolicyExtensions`, `app.translation.customFields`, COALESCE(`app.translation.customFields`,`app.translation.customFields`) as `app.customFields`, `app.translation.createdAt`, `app.translation.updatedAt`, `app.translation.appId`, `app.translation.languageId` FROM `app` LEFT JOIN (SELECT `app.translation`.app_id, `app.translation`.label as `app.translation.label`, `app.translation`.description as `app.translation.description`, `app.translation`.privacy_policy_extensions as `app.translation.privacyPolicyExtensions`, `app.translation`.custom_fields as `app.translation.customFields`, `app.translation`.created_at as `app.translation.createdAt`, `app.translation`.updated_at as `app.translation.updatedAt`, `app.translation`.app_id as `app.translation.appId`, `app.translation`.language_id as `app.translation.languageId` FROM `app_translation` `app.translation` WHERE `app.translation`.language_id = :languageId) `app.app_translation` ON `app.app_translation`.`app_id` = `app`.`id` LEFT JOIN `integration` `app.integration` ON `app`.`integration_id` = `app.integration`.`id` LEFT JOIN `acl_role` `app.aclRole` ON `app`.`acl_role_id` = `app.aclRole`.`id` WHERE (`app`.`active` = :param_5c10fda1beef4b1eb6501472050614b7)
SELECT
`app`.`id` as `app.id`,
`app`.`name` as `app.name`,
`app`.`path` as `app.path`,
`app`.`author` as `app.author`,
`app`.`copyright` as `app.copyright`,
`app`.`license` as `app.license`,
`app`.`active` as `app.active`,
`app`.`configurable` as `app.configurable`,
`app`.`privacy` as `app.privacy`,
`app`.`version` as `app.version`,
`app`.`icon` as `app.iconRaw`,
`app`.`app_secret` as `app.appSecret`,
`app`.`modules` as `app.modules`,
`app`.`main_module` as `app.mainModule`,
`app`.`cookies` as `app.cookies`,
`app`.`allow_disable` as `app.allowDisable`,
`app`.`base_app_url` as `app.baseAppUrl`,
`app`.`allowed_hosts` as `app.allowedHosts`,
`app`.`template_load_priority` as `app.templateLoadPriority`,
`app`.`integration_id` as `app.integrationId`,
`app.integration`.`id` as `app.integration.id`,
`app.integration`.`label` as `app.integration.label`,
`app.integration`.`access_key` as `app.integration.accessKey`,
`app.integration`.`secret_access_key` as `app.integration.secretAccessKey`,
`app.integration`.`write_access` as `app.integration.writeAccess`,
`app.integration`.`last_usage_at` as `app.integration.lastUsageAt`,
`app.integration`.`admin` as `app.integration.admin`,
`app.integration`.`custom_fields` as `app.integration.customFields`,
`app.integration`.`deleted_at` as `app.integration.deletedAt`,
`app.integration`.`created_at` as `app.integration.createdAt`,
`app.integration`.`updated_at` as `app.integration.updatedAt`,
`app`.`acl_role_id` as `app.aclRoleId`,
`app.aclRole`.`id` as `app.aclRole.id`,
`app.aclRole`.`name` as `app.aclRole.name`,
`app.aclRole`.`description` as `app.aclRole.description`,
`app.aclRole`.`privileges` as `app.aclRole.privileges`,
`app.aclRole`.`deleted_at` as `app.aclRole.deletedAt`,
`app.aclRole`.`created_at` as `app.aclRole.createdAt`,
`app.aclRole`.`updated_at` as `app.aclRole.updatedAt`,
`app`.`created_at` as `app.createdAt`,
`app`.`updated_at` as `app.updatedAt`,
`app.translation.label`,
COALESCE(
`app.translation.label`, `app.translation.label`
) as `app.label`,
`app.translation.description`,
COALESCE(
`app.translation.description`, `app.translation.description`
) as `app.description`,
`app.translation.privacyPolicyExtensions`,
COALESCE(
`app.translation.privacyPolicyExtensions`,
`app.translation.privacyPolicyExtensions`
) as `app.privacyPolicyExtensions`,
`app.translation.customFields`,
COALESCE(
`app.translation.customFields`,
`app.translation.customFields`
) as `app.customFields`,
`app.translation.createdAt`,
`app.translation.updatedAt`,
`app.translation.appId`,
`app.translation.languageId`
FROM
`app`
LEFT JOIN (
SELECT
`app.translation`.app_id,
`app.translation`.label as `app.translation.label`,
`app.translation`.description as `app.translation.description`,
`app.translation`.privacy_policy_extensions as `app.translation.privacyPolicyExtensions`,
`app.translation`.custom_fields as `app.translation.customFields`,
`app.translation`.created_at as `app.translation.createdAt`,
`app.translation`.updated_at as `app.translation.updatedAt`,
`app.translation`.app_id as `app.translation.appId`,
`app.translation`.language_id as `app.translation.languageId`
FROM
`app_translation` `app.translation`
WHERE
`app.translation`.language_id = : languageId
) `app.app_translation` ON `app.app_translation`.`app_id` = `app`.`id`
LEFT JOIN `integration` `app.integration` ON `app`.`integration_id` = `app.integration`.`id`
LEFT JOIN `acl_role` `app.aclRole` ON `app`.`acl_role_id` = `app.aclRole`.`id`
WHERE
(
`app`.`active` = : param_5c10fda1beef4b1eb6501472050614b7
)
SELECT `app`.`id` as `app.id`, `app`.`name` as `app.name`, `app`.`path` as `app.path`, `app`.`author` as `app.author`, `app`.`copyright` as `app.copyright`, `app`.`license` as `app.license`, `app`.`active` as `app.active`, `app`.`configurable` as `app.configurable`, `app`.`privacy` as `app.privacy`, `app`.`version` as `app.version`, `app`.`icon` as `app.iconRaw`, `app`.`app_secret` as `app.appSecret`, `app`.`modules` as `app.modules`, `app`.`main_module` as `app.mainModule`, `app`.`cookies` as `app.cookies`, `app`.`allow_disable` as `app.allowDisable`, `app`.`base_app_url` as `app.baseAppUrl`, `app`.`allowed_hosts` as `app.allowedHosts`, `app`.`template_load_priority` as `app.templateLoadPriority`, `app`.`integration_id` as `app.integrationId`, `app.integration`.`id` as `app.integration.id`, `app.integration`.`label` as `app.integration.label`, `app.integration`.`access_key` as `app.integration.accessKey`, `app.integration`.`secret_access_key` as `app.integration.secretAccessKey`, `app.integration`.`write_access` as `app.integration.writeAccess`, `app.integration`.`last_usage_at` as `app.integration.lastUsageAt`, `app.integration`.`admin` as `app.integration.admin`, `app.integration`.`custom_fields` as `app.integration.customFields`, `app.integration`.`deleted_at` as `app.integration.deletedAt`, `app.integration`.`created_at` as `app.integration.createdAt`, `app.integration`.`updated_at` as `app.integration.updatedAt`, `app`.`acl_role_id` as `app.aclRoleId`, `app.aclRole`.`id` as `app.aclRole.id`, `app.aclRole`.`name` as `app.aclRole.name`, `app.aclRole`.`description` as `app.aclRole.description`, `app.aclRole`.`privileges` as `app.aclRole.privileges`, `app.aclRole`.`deleted_at` as `app.aclRole.deletedAt`, `app.aclRole`.`created_at` as `app.aclRole.createdAt`, `app.aclRole`.`updated_at` as `app.aclRole.updatedAt`, `app`.`created_at` as `app.createdAt`, `app`.`updated_at` as `app.updatedAt`, `app.translation.label`, COALESCE(`app.translation.label`,`app.translation.label`) as `app.label`, `app.translation.description`, COALESCE(`app.translation.description`,`app.translation.description`) as `app.description`, `app.translation.privacyPolicyExtensions`, COALESCE(`app.translation.privacyPolicyExtensions`,`app.translation.privacyPolicyExtensions`) as `app.privacyPolicyExtensions`, `app.translation.customFields`, COALESCE(`app.translation.customFields`,`app.translation.customFields`) as `app.customFields`, `app.translation.createdAt`, `app.translation.updatedAt`, `app.translation.appId`, `app.translation.languageId` FROM `app` LEFT JOIN (SELECT `app.translation`.app_id, `app.translation`.label as `app.translation.label`, `app.translation`.description as `app.translation.description`, `app.translation`.privacy_policy_extensions as `app.translation.privacyPolicyExtensions`, `app.translation`.custom_fields as `app.translation.customFields`, `app.translation`.created_at as `app.translation.createdAt`, `app.translation`.updated_at as `app.translation.updatedAt`, `app.translation`.app_id as `app.translation.appId`, `app.translation`.language_id as `app.translation.languageId` FROM `app_translation` `app.translation` WHERE `app.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `app.app_translation` ON `app.app_translation`.`app_id` = `app`.`id` LEFT JOIN `integration` `app.integration` ON `app`.`integration_id` = `app.integration`.`id` LEFT JOIN `acl_role` `app.aclRole` ON `app`.`acl_role_id` = `app.aclRole`.`id` WHERE (`app`.`active` = 1);
array:41 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 242)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 316)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetch (line 148)"
4 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 93)"
5 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::read (line 257)"
6 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::read (line 286)"
7 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::_search (line 110)"
8 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::Shopware\Core\Framework\DataAbstractionLayer\{closure} (line 59)"
9 => "Shopware\Core\Profiling\Profiler::trace (line 111)"
10 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::search (line 51)"
11 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepositoryForwardCompatibilityDecorator::search (line 119)"
12 => "Shopware\Core\Framework\App\Lifecycle\Persister\ScriptPersister::refresh (line 73)"
13 => "Shopware\Core\Framework\Script\Execution\ScriptLoader::load (line 57)"
14 => "Shopware\Core\Framework\Script\Execution\ScriptLoader::get (line 71)"
15 => "Shopware\Core\Framework\Script\Execution\ScriptExecutor::execute (line 70)"
16 => "Shopware\Core\Checkout\Cart\Processor::Shopware\Core\Checkout\Cart\{closure} (line 59)"
17 => "Shopware\Core\Profiling\Profiler::trace (line 86)"
18 => "Shopware\Core\Checkout\Cart\Processor::process (line 148)"
19 => "Shopware\Core\Checkout\Cart\CartRuleLoader::Shopware\Core\Checkout\Cart\{closure} (line 59)"
20 => "Shopware\Core\Profiling\Profiler::trace (line 183)"
21 => "Shopware\Core\Checkout\Cart\CartRuleLoader::load (line 83)"
22 => "Shopware\Core\Checkout\Cart\CartRuleLoader::loadByToken (line 106)"
23 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::Shopware\Core\System\SalesChannel\Context\{closure} (line 59)"
24 => "Shopware\Core\Profiling\Profiler::trace (line 111)"
25 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::get (line 105)"
26 => "Shopware\Core\Framework\Routing\SalesChannelRequestContextResolver::resolve (line 38)"
27 => "Shopware\Core\Framework\Routing\ContextResolverListener::resolveContext (line 118)"
28 => "Symfony\Component\EventDispatcher\Debug\WrappedListener::__invoke (line 230)"
29 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
30 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
31 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
32 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
33 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
34 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
35 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 151)"
36 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
37 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
38 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
39 => "Shopware\Core\HttpKernel::doHandle (line 81)"
40 => "Shopware\Core\HttpKernel::handle (line 85)"
]
|
148 |
0.97 ms |
SELECT `app`.`id` as `app.id`, `app`.`name` as `app.name`, `app`.`path` as `app.path`, `app`.`author` as `app.author`, `app`.`copyright` as `app.copyright`, `app`.`license` as `app.license`, `app`.`active` as `app.active`, `app`.`configurable` as `app.configurable`, `app`.`privacy` as `app.privacy`, `app`.`version` as `app.version`, `app`.`icon` as `app.iconRaw`, `app`.`app_secret` as `app.appSecret`, `app`.`modules` as `app.modules`, `app`.`main_module` as `app.mainModule`, `app`.`cookies` as `app.cookies`, `app`.`allow_disable` as `app.allowDisable`, `app`.`base_app_url` as `app.baseAppUrl`, `app`.`allowed_hosts` as `app.allowedHosts`, `app`.`template_load_priority` as `app.templateLoadPriority`, `app`.`integration_id` as `app.integrationId`, `app.integration`.`id` as `app.integration.id`, `app.integration`.`label` as `app.integration.label`, `app.integration`.`access_key` as `app.integration.accessKey`, `app.integration`.`secret_access_key` as `app.integration.secretAccessKey`, `app.integration`.`write_access` as `app.integration.writeAccess`, `app.integration`.`last_usage_at` as `app.integration.lastUsageAt`, `app.integration`.`admin` as `app.integration.admin`, `app.integration`.`custom_fields` as `app.integration.customFields`, `app.integration`.`deleted_at` as `app.integration.deletedAt`, `app.integration`.`created_at` as `app.integration.createdAt`, `app.integration`.`updated_at` as `app.integration.updatedAt`, `app`.`acl_role_id` as `app.aclRoleId`, `app.aclRole`.`id` as `app.aclRole.id`, `app.aclRole`.`name` as `app.aclRole.name`, `app.aclRole`.`description` as `app.aclRole.description`, `app.aclRole`.`privileges` as `app.aclRole.privileges`, `app.aclRole`.`deleted_at` as `app.aclRole.deletedAt`, `app.aclRole`.`created_at` as `app.aclRole.createdAt`, `app.aclRole`.`updated_at` as `app.aclRole.updatedAt`, `app`.`created_at` as `app.createdAt`, `app`.`updated_at` as `app.updatedAt`, `app.translation.label`, COALESCE(`app.translation.label`,`app.translation.label`) as `app.label`, `app.translation.description`, COALESCE(`app.translation.description`,`app.translation.description`) as `app.description`, `app.translation.privacyPolicyExtensions`, COALESCE(`app.translation.privacyPolicyExtensions`,`app.translation.privacyPolicyExtensions`) as `app.privacyPolicyExtensions`, `app.translation.customFields`, COALESCE(`app.translation.customFields`,`app.translation.customFields`) as `app.customFields`, `app.translation.createdAt`, `app.translation.updatedAt`, `app.translation.appId`, `app.translation.languageId` FROM `app` LEFT JOIN (SELECT `app.translation`.app_id, `app.translation`.label as `app.translation.label`, `app.translation`.description as `app.translation.description`, `app.translation`.privacy_policy_extensions as `app.translation.privacyPolicyExtensions`, `app.translation`.custom_fields as `app.translation.customFields`, `app.translation`.created_at as `app.translation.createdAt`, `app.translation`.updated_at as `app.translation.updatedAt`, `app.translation`.app_id as `app.translation.appId`, `app.translation`.language_id as `app.translation.languageId` FROM `app_translation` `app.translation` WHERE `app.translation`.language_id = :languageId) `app.app_translation` ON `app.app_translation`.`app_id` = `app`.`id` LEFT JOIN `integration` `app.integration` ON `app`.`integration_id` = `app.integration`.`id` LEFT JOIN `acl_role` `app.aclRole` ON `app`.`acl_role_id` = `app.aclRole`.`id` WHERE `app`.`id` IN (:ids)
SELECT
`app`.`id` as `app.id`,
`app`.`name` as `app.name`,
`app`.`path` as `app.path`,
`app`.`author` as `app.author`,
`app`.`copyright` as `app.copyright`,
`app`.`license` as `app.license`,
`app`.`active` as `app.active`,
`app`.`configurable` as `app.configurable`,
`app`.`privacy` as `app.privacy`,
`app`.`version` as `app.version`,
`app`.`icon` as `app.iconRaw`,
`app`.`app_secret` as `app.appSecret`,
`app`.`modules` as `app.modules`,
`app`.`main_module` as `app.mainModule`,
`app`.`cookies` as `app.cookies`,
`app`.`allow_disable` as `app.allowDisable`,
`app`.`base_app_url` as `app.baseAppUrl`,
`app`.`allowed_hosts` as `app.allowedHosts`,
`app`.`template_load_priority` as `app.templateLoadPriority`,
`app`.`integration_id` as `app.integrationId`,
`app.integration`.`id` as `app.integration.id`,
`app.integration`.`label` as `app.integration.label`,
`app.integration`.`access_key` as `app.integration.accessKey`,
`app.integration`.`secret_access_key` as `app.integration.secretAccessKey`,
`app.integration`.`write_access` as `app.integration.writeAccess`,
`app.integration`.`last_usage_at` as `app.integration.lastUsageAt`,
`app.integration`.`admin` as `app.integration.admin`,
`app.integration`.`custom_fields` as `app.integration.customFields`,
`app.integration`.`deleted_at` as `app.integration.deletedAt`,
`app.integration`.`created_at` as `app.integration.createdAt`,
`app.integration`.`updated_at` as `app.integration.updatedAt`,
`app`.`acl_role_id` as `app.aclRoleId`,
`app.aclRole`.`id` as `app.aclRole.id`,
`app.aclRole`.`name` as `app.aclRole.name`,
`app.aclRole`.`description` as `app.aclRole.description`,
`app.aclRole`.`privileges` as `app.aclRole.privileges`,
`app.aclRole`.`deleted_at` as `app.aclRole.deletedAt`,
`app.aclRole`.`created_at` as `app.aclRole.createdAt`,
`app.aclRole`.`updated_at` as `app.aclRole.updatedAt`,
`app`.`created_at` as `app.createdAt`,
`app`.`updated_at` as `app.updatedAt`,
`app.translation.label`,
COALESCE(
`app.translation.label`, `app.translation.label`
) as `app.label`,
`app.translation.description`,
COALESCE(
`app.translation.description`, `app.translation.description`
) as `app.description`,
`app.translation.privacyPolicyExtensions`,
COALESCE(
`app.translation.privacyPolicyExtensions`,
`app.translation.privacyPolicyExtensions`
) as `app.privacyPolicyExtensions`,
`app.translation.customFields`,
COALESCE(
`app.translation.customFields`,
`app.translation.customFields`
) as `app.customFields`,
`app.translation.createdAt`,
`app.translation.updatedAt`,
`app.translation.appId`,
`app.translation.languageId`
FROM
`app`
LEFT JOIN (
SELECT
`app.translation`.app_id,
`app.translation`.label as `app.translation.label`,
`app.translation`.description as `app.translation.description`,
`app.translation`.privacy_policy_extensions as `app.translation.privacyPolicyExtensions`,
`app.translation`.custom_fields as `app.translation.customFields`,
`app.translation`.created_at as `app.translation.createdAt`,
`app.translation`.updated_at as `app.translation.updatedAt`,
`app.translation`.app_id as `app.translation.appId`,
`app.translation`.language_id as `app.translation.languageId`
FROM
`app_translation` `app.translation`
WHERE
`app.translation`.language_id = : languageId
) `app.app_translation` ON `app.app_translation`.`app_id` = `app`.`id`
LEFT JOIN `integration` `app.integration` ON `app`.`integration_id` = `app.integration`.`id`
LEFT JOIN `acl_role` `app.aclRole` ON `app`.`acl_role_id` = `app.aclRole`.`id`
WHERE
`app`.`id` IN (: ids)
SELECT `app`.`id` as `app.id`, `app`.`name` as `app.name`, `app`.`path` as `app.path`, `app`.`author` as `app.author`, `app`.`copyright` as `app.copyright`, `app`.`license` as `app.license`, `app`.`active` as `app.active`, `app`.`configurable` as `app.configurable`, `app`.`privacy` as `app.privacy`, `app`.`version` as `app.version`, `app`.`icon` as `app.iconRaw`, `app`.`app_secret` as `app.appSecret`, `app`.`modules` as `app.modules`, `app`.`main_module` as `app.mainModule`, `app`.`cookies` as `app.cookies`, `app`.`allow_disable` as `app.allowDisable`, `app`.`base_app_url` as `app.baseAppUrl`, `app`.`allowed_hosts` as `app.allowedHosts`, `app`.`template_load_priority` as `app.templateLoadPriority`, `app`.`integration_id` as `app.integrationId`, `app.integration`.`id` as `app.integration.id`, `app.integration`.`label` as `app.integration.label`, `app.integration`.`access_key` as `app.integration.accessKey`, `app.integration`.`secret_access_key` as `app.integration.secretAccessKey`, `app.integration`.`write_access` as `app.integration.writeAccess`, `app.integration`.`last_usage_at` as `app.integration.lastUsageAt`, `app.integration`.`admin` as `app.integration.admin`, `app.integration`.`custom_fields` as `app.integration.customFields`, `app.integration`.`deleted_at` as `app.integration.deletedAt`, `app.integration`.`created_at` as `app.integration.createdAt`, `app.integration`.`updated_at` as `app.integration.updatedAt`, `app`.`acl_role_id` as `app.aclRoleId`, `app.aclRole`.`id` as `app.aclRole.id`, `app.aclRole`.`name` as `app.aclRole.name`, `app.aclRole`.`description` as `app.aclRole.description`, `app.aclRole`.`privileges` as `app.aclRole.privileges`, `app.aclRole`.`deleted_at` as `app.aclRole.deletedAt`, `app.aclRole`.`created_at` as `app.aclRole.createdAt`, `app.aclRole`.`updated_at` as `app.aclRole.updatedAt`, `app`.`created_at` as `app.createdAt`, `app`.`updated_at` as `app.updatedAt`, `app.translation.label`, COALESCE(`app.translation.label`,`app.translation.label`) as `app.label`, `app.translation.description`, COALESCE(`app.translation.description`,`app.translation.description`) as `app.description`, `app.translation.privacyPolicyExtensions`, COALESCE(`app.translation.privacyPolicyExtensions`,`app.translation.privacyPolicyExtensions`) as `app.privacyPolicyExtensions`, `app.translation.customFields`, COALESCE(`app.translation.customFields`,`app.translation.customFields`) as `app.customFields`, `app.translation.createdAt`, `app.translation.updatedAt`, `app.translation.appId`, `app.translation.languageId` FROM `app` LEFT JOIN (SELECT `app.translation`.app_id, `app.translation`.label as `app.translation.label`, `app.translation`.description as `app.translation.description`, `app.translation`.privacy_policy_extensions as `app.translation.privacyPolicyExtensions`, `app.translation`.custom_fields as `app.translation.customFields`, `app.translation`.created_at as `app.translation.createdAt`, `app.translation`.updated_at as `app.translation.updatedAt`, `app.translation`.app_id as `app.translation.appId`, `app.translation`.language_id as `app.translation.languageId` FROM `app_translation` `app.translation` WHERE `app.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `app.app_translation` ON `app.app_translation`.`app_id` = `app`.`id` LEFT JOIN `integration` `app.integration` ON `app`.`integration_id` = `app.integration`.`id` LEFT JOIN `acl_role` `app.aclRole` ON `app`.`acl_role_id` = `app.aclRole`.`id` WHERE `app`.`id` IN (0xFAE4CAC26CC640B8B3F7A1499F103CDE);
array:41 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 242)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 316)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetch (line 148)"
4 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 93)"
5 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::read (line 257)"
6 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::read (line 286)"
7 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::_search (line 106)"
8 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::search (line 51)"
9 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepositoryForwardCompatibilityDecorator::search (line 147)"
10 => "Shopware\Core\Framework\App\Lifecycle\Persister\ScriptPersister::getAppWithExistingScripts (line 39)"
11 => "Shopware\Core\Framework\App\Lifecycle\Persister\ScriptPersister::updateScripts (line 123)"
12 => "Shopware\Core\Framework\App\Lifecycle\Persister\ScriptPersister::refresh (line 73)"
13 => "Shopware\Core\Framework\Script\Execution\ScriptLoader::load (line 57)"
14 => "Shopware\Core\Framework\Script\Execution\ScriptLoader::get (line 71)"
15 => "Shopware\Core\Framework\Script\Execution\ScriptExecutor::execute (line 70)"
16 => "Shopware\Core\Checkout\Cart\Processor::Shopware\Core\Checkout\Cart\{closure} (line 59)"
17 => "Shopware\Core\Profiling\Profiler::trace (line 86)"
18 => "Shopware\Core\Checkout\Cart\Processor::process (line 148)"
19 => "Shopware\Core\Checkout\Cart\CartRuleLoader::Shopware\Core\Checkout\Cart\{closure} (line 59)"
20 => "Shopware\Core\Profiling\Profiler::trace (line 183)"
21 => "Shopware\Core\Checkout\Cart\CartRuleLoader::load (line 83)"
22 => "Shopware\Core\Checkout\Cart\CartRuleLoader::loadByToken (line 106)"
23 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::Shopware\Core\System\SalesChannel\Context\{closure} (line 59)"
24 => "Shopware\Core\Profiling\Profiler::trace (line 111)"
25 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::get (line 105)"
26 => "Shopware\Core\Framework\Routing\SalesChannelRequestContextResolver::resolve (line 38)"
27 => "Shopware\Core\Framework\Routing\ContextResolverListener::resolveContext (line 118)"
28 => "Symfony\Component\EventDispatcher\Debug\WrappedListener::__invoke (line 230)"
29 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
30 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
31 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
32 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
33 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
34 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
35 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 151)"
36 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
37 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
38 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
39 => "Shopware\Core\HttpKernel::doHandle (line 81)"
40 => "Shopware\Core\HttpKernel::handle (line 85)"
]
|
149 |
0.31 ms |
SELECT `script`.`id` as `script.id`, `script`.`script` as `script.script`, `script`.`hook` as `script.hook`, `script`.`name` as `script.name`, `script`.`active` as `script.active`, `script`.`app_id` as `script.appId`, `script`.`created_at` as `script.createdAt`, `script`.`updated_at` as `script.updatedAt` FROM `script` WHERE (`script`.`app_id` IN (:param_9283ea1e4c474da4a9a2a79d39c4a142))
SELECT `script`.`id` as `script.id`, `script`.`script` as `script.script`, `script`.`hook` as `script.hook`, `script`.`name` as `script.name`, `script`.`active` as `script.active`, `script`.`app_id` as `script.appId`, `script`.`created_at` as `script.createdAt`, `script`.`updated_at` as `script.updatedAt` FROM `script` WHERE (`script`.`app_id` IN (0xFAE4CAC26CC640B8B3F7A1499F103CDE));
array:45 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 242)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 316)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetch (line 148)"
4 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 503)"
5 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::loadOneToManyWithoutPagination (line 438)"
6 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::loadOneToMany (line 1210)"
7 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetchAssociations (line 152)"
8 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 93)"
9 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::read (line 257)"
10 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::read (line 286)"
11 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::_search (line 106)"
12 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::search (line 51)"
13 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepositoryForwardCompatibilityDecorator::search (line 147)"
14 => "Shopware\Core\Framework\App\Lifecycle\Persister\ScriptPersister::getAppWithExistingScripts (line 39)"
15 => "Shopware\Core\Framework\App\Lifecycle\Persister\ScriptPersister::updateScripts (line 123)"
16 => "Shopware\Core\Framework\App\Lifecycle\Persister\ScriptPersister::refresh (line 73)"
17 => "Shopware\Core\Framework\Script\Execution\ScriptLoader::load (line 57)"
18 => "Shopware\Core\Framework\Script\Execution\ScriptLoader::get (line 71)"
19 => "Shopware\Core\Framework\Script\Execution\ScriptExecutor::execute (line 70)"
20 => "Shopware\Core\Checkout\Cart\Processor::Shopware\Core\Checkout\Cart\{closure} (line 59)"
21 => "Shopware\Core\Profiling\Profiler::trace (line 86)"
22 => "Shopware\Core\Checkout\Cart\Processor::process (line 148)"
23 => "Shopware\Core\Checkout\Cart\CartRuleLoader::Shopware\Core\Checkout\Cart\{closure} (line 59)"
24 => "Shopware\Core\Profiling\Profiler::trace (line 183)"
25 => "Shopware\Core\Checkout\Cart\CartRuleLoader::load (line 83)"
26 => "Shopware\Core\Checkout\Cart\CartRuleLoader::loadByToken (line 106)"
27 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::Shopware\Core\System\SalesChannel\Context\{closure} (line 59)"
28 => "Shopware\Core\Profiling\Profiler::trace (line 111)"
29 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::get (line 105)"
30 => "Shopware\Core\Framework\Routing\SalesChannelRequestContextResolver::resolve (line 38)"
31 => "Shopware\Core\Framework\Routing\ContextResolverListener::resolveContext (line 118)"
32 => "Symfony\Component\EventDispatcher\Debug\WrappedListener::__invoke (line 230)"
33 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
34 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
35 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
36 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
37 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
38 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
39 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 151)"
40 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
41 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
42 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
43 => "Shopware\Core\HttpKernel::doHandle (line 81)"
44 => "Shopware\Core\HttpKernel::handle (line 85)"
]
|
150 |
0.46 ms |
SELECT LOWER(HEX(`script`.`app_id`)) as `app_id`,
`script`.`name` AS scriptName,
`script`.`script` AS script,
`script`.`hook` AS hook,
IFNULL(`script`.`updated_at`, `script`.`created_at`) AS lastModified,
`app`.`name` AS appName,
LOWER(HEX(`app`.`integration_id`)) AS integrationId,
`app`.`version` AS appVersion,
`script`.`active` AS active
FROM `script`
LEFT JOIN `app` ON `script`.`app_id` = `app`.`id`
WHERE `script`.`hook` != 'include'
ORDER BY `app`.`created_at`, `app`.`id`, `script`.`name`
SELECT LOWER(HEX(`script`.`app_id`)) as `app_id`,
`script`.`name` AS scriptName,
`script`.`script` AS script,
`script`.`hook` AS hook,
IFNULL(`script`.`updated_at`, `script`.`created_at`) AS lastModified,
`app`.`name` AS appName,
LOWER(HEX(`app`.`integration_id`)) AS integrationId,
`app`.`version` AS appVersion,
`script`.`active` AS active
FROM `script`
LEFT JOIN `app` ON `script`.`app_id` = `app`.`id`
WHERE `script`.`hook` != 'include'
ORDER BY `app`.`created_at`, `app`.`id`, `script`.`name`
;
array:31 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 1042)"
2 => "Doctrine\DBAL\Connection::fetchAllAssociative (line 76)"
3 => "Shopware\Core\Framework\Script\Execution\ScriptLoader::load (line 57)"
4 => "Shopware\Core\Framework\Script\Execution\ScriptLoader::get (line 71)"
5 => "Shopware\Core\Framework\Script\Execution\ScriptExecutor::execute (line 70)"
6 => "Shopware\Core\Checkout\Cart\Processor::Shopware\Core\Checkout\Cart\{closure} (line 59)"
7 => "Shopware\Core\Profiling\Profiler::trace (line 86)"
8 => "Shopware\Core\Checkout\Cart\Processor::process (line 148)"
9 => "Shopware\Core\Checkout\Cart\CartRuleLoader::Shopware\Core\Checkout\Cart\{closure} (line 59)"
10 => "Shopware\Core\Profiling\Profiler::trace (line 183)"
11 => "Shopware\Core\Checkout\Cart\CartRuleLoader::load (line 83)"
12 => "Shopware\Core\Checkout\Cart\CartRuleLoader::loadByToken (line 106)"
13 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::Shopware\Core\System\SalesChannel\Context\{closure} (line 59)"
14 => "Shopware\Core\Profiling\Profiler::trace (line 111)"
15 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::get (line 105)"
16 => "Shopware\Core\Framework\Routing\SalesChannelRequestContextResolver::resolve (line 38)"
17 => "Shopware\Core\Framework\Routing\ContextResolverListener::resolveContext (line 118)"
18 => "Symfony\Component\EventDispatcher\Debug\WrappedListener::__invoke (line 230)"
19 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
20 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
21 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
22 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
23 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
24 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
25 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 151)"
26 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
27 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
28 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
29 => "Shopware\Core\HttpKernel::doHandle (line 81)"
30 => "Shopware\Core\HttpKernel::handle (line 85)"
]
|
151 |
0.32 ms |
SELECT LOWER(HEX(`script`.`app_id`)) as `app_id`,
`script`.`name` AS name,
`script`.`script` AS script,
`app`.`name` AS appName,
LOWER(HEX(`app`.`integration_id`)) AS integrationId,
IFNULL(`script`.`updated_at`, `script`.`created_at`) AS lastModified
FROM `script`
LEFT JOIN `app` ON `script`.`app_id` = `app`.`id`
WHERE `script`.`hook` = 'include'
ORDER BY `app`.`created_at`, `app`.`id`, `script`.`name`
SELECT LOWER(HEX(`script`.`app_id`)) as `app_id`,
`script`.`name` AS name,
`script`.`script` AS script,
`app`.`name` AS appName,
LOWER(HEX(`app`.`integration_id`)) AS integrationId,
IFNULL(`script`.`updated_at`, `script`.`created_at`) AS lastModified
FROM `script`
LEFT JOIN `app` ON `script`.`app_id` = `app`.`id`
WHERE `script`.`hook` = 'include'
ORDER BY `app`.`created_at`, `app`.`id`, `script`.`name`
;
array:31 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 1042)"
2 => "Doctrine\DBAL\Connection::fetchAllAssociative (line 92)"
3 => "Shopware\Core\Framework\Script\Execution\ScriptLoader::load (line 57)"
4 => "Shopware\Core\Framework\Script\Execution\ScriptLoader::get (line 71)"
5 => "Shopware\Core\Framework\Script\Execution\ScriptExecutor::execute (line 70)"
6 => "Shopware\Core\Checkout\Cart\Processor::Shopware\Core\Checkout\Cart\{closure} (line 59)"
7 => "Shopware\Core\Profiling\Profiler::trace (line 86)"
8 => "Shopware\Core\Checkout\Cart\Processor::process (line 148)"
9 => "Shopware\Core\Checkout\Cart\CartRuleLoader::Shopware\Core\Checkout\Cart\{closure} (line 59)"
10 => "Shopware\Core\Profiling\Profiler::trace (line 183)"
11 => "Shopware\Core\Checkout\Cart\CartRuleLoader::load (line 83)"
12 => "Shopware\Core\Checkout\Cart\CartRuleLoader::loadByToken (line 106)"
13 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::Shopware\Core\System\SalesChannel\Context\{closure} (line 59)"
14 => "Shopware\Core\Profiling\Profiler::trace (line 111)"
15 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::get (line 105)"
16 => "Shopware\Core\Framework\Routing\SalesChannelRequestContextResolver::resolve (line 38)"
17 => "Shopware\Core\Framework\Routing\ContextResolverListener::resolveContext (line 118)"
18 => "Symfony\Component\EventDispatcher\Debug\WrappedListener::__invoke (line 230)"
19 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
20 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
21 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
22 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
23 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
24 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
25 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 151)"
26 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
27 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
28 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
29 => "Shopware\Core\HttpKernel::doHandle (line 81)"
30 => "Shopware\Core\HttpKernel::handle (line 85)"
]
|
152 |
0.43 ms |
SHOW COLUMNS FROM `cart` WHERE `Field` LIKE :column
SHOW COLUMNS FROM `cart` WHERE `Field` LIKE 'payload';
array:28 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 734)"
2 => "Doctrine\DBAL\Connection::fetchOne (line 52)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityDefinitionQueryHelper::columnExists (line 169)"
4 => "Shopware\Core\Checkout\Cart\CartPersister::payloadExists (line 102)"
5 => "Shopware\Core\Checkout\Cart\CartPersister::save (line 179)"
6 => "Shopware\Core\Checkout\Cart\CartRuleLoader::Shopware\Core\Checkout\Cart\{closure} (line 59)"
7 => "Shopware\Core\Profiling\Profiler::trace (line 183)"
8 => "Shopware\Core\Checkout\Cart\CartRuleLoader::load (line 83)"
9 => "Shopware\Core\Checkout\Cart\CartRuleLoader::loadByToken (line 106)"
10 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::Shopware\Core\System\SalesChannel\Context\{closure} (line 59)"
11 => "Shopware\Core\Profiling\Profiler::trace (line 111)"
12 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::get (line 105)"
13 => "Shopware\Core\Framework\Routing\SalesChannelRequestContextResolver::resolve (line 38)"
14 => "Shopware\Core\Framework\Routing\ContextResolverListener::resolveContext (line 118)"
15 => "Symfony\Component\EventDispatcher\Debug\WrappedListener::__invoke (line 230)"
16 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
17 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
18 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
19 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
20 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
21 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
22 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 151)"
23 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
24 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
25 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
26 => "Shopware\Core\HttpKernel::doHandle (line 81)"
27 => "Shopware\Core\HttpKernel::handle (line 85)"
]
|
153 |
0.56 ms |
SELECT `language`.`id` FROM `language` LEFT JOIN `sales_channel_domain` `language.salesChannelDomains` ON `language`.`id` = `language.salesChannelDomains`.`language_id` LEFT JOIN `sales_channel_language` `language.salesChannels.mapping` ON `language`.`id` = `language.salesChannels.mapping`.`language_id` LEFT JOIN `sales_channel` `language.salesChannels` ON `language.salesChannels.mapping`.`sales_channel_id` = `language.salesChannels`.`id` WHERE (`language.salesChannelDomains`.`sales_channel_id` = :param_0bda91b76927410599dced1eaea955e0 AND `language.salesChannels`.`id` = :param_e865eb631f284ebe945602c9a46352a1) GROUP BY `language`.`id` ORDER BY MIN(`language`.`name`) ASC
SELECT `language`.`id` FROM `language` LEFT JOIN `sales_channel_domain` `language.salesChannelDomains` ON `language`.`id` = `language.salesChannelDomains`.`language_id` LEFT JOIN `sales_channel_language` `language.salesChannels.mapping` ON `language`.`id` = `language.salesChannels.mapping`.`language_id` LEFT JOIN `sales_channel` `language.salesChannels` ON `language.salesChannels.mapping`.`sales_channel_id` = `language.salesChannels`.`id` WHERE (`language.salesChannelDomains`.`sales_channel_id` = 0x4EB9108BE4654CC9B140D14DE85579E9 AND `language.salesChannels`.`id` = 0x4EB9108BE4654CC9B140D14DE85579E9) GROUP BY `language`.`id` ORDER BY MIN(`language`.`name`) ASC;
array:34 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 242)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 107)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntitySearcher::search (line 62)"
4 => "Shopware\Elasticsearch\Framework\DataAbstractionLayer\ElasticsearchEntitySearcher::search (line 216)"
5 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::doSearch (line 122)"
6 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 50)"
7 => "Shopware\Core\System\Language\SalesChannel\LanguageRoute::load (line 102)"
8 => "Shopware\Core\System\Language\SalesChannel\CachedLanguageRoute::Shopware\Core\System\Language\SalesChannel\{closure} (line 350)"
9 => "Shopware\Core\System\SystemConfig\SystemConfigService::trace (line 44)"
10 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 120)"
11 => "Shopware\Core\Framework\Adapter\Translation\Translator::trace (line 45)"
12 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 46)"
13 => "Shopware\Core\Framework\Adapter\Cache\CacheTagCollection::trace (line 46)"
14 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::trace (line 41)"
15 => "Shopware\Storefront\Framework\Cache\CacheTracer::Shopware\Storefront\Framework\Cache\{closure} (line 59)"
16 => "Shopware\Storefront\Theme\ThemeConfigValueAccessor::trace (line 42)"
17 => "Shopware\Storefront\Framework\Cache\CacheTracer::trace (line 103)"
18 => "Shopware\Core\System\Language\SalesChannel\CachedLanguageRoute::Shopware\Core\System\Language\SalesChannel\{closure} (line 72)"
19 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
20 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 108)"
21 => "Shopware\Core\System\Language\SalesChannel\CachedLanguageRoute::load (line 132)"
22 => "Shopware\Storefront\Pagelet\Header\HeaderPageletLoader::getLanguages (line 64)"
23 => "Shopware\Storefront\Pagelet\Header\HeaderPageletLoader::load (line 89)"
24 => "Shopware\Storefront\Page\GenericPageLoader::Shopware\Storefront\Page\{closure} (line 59)"
25 => "Shopware\Core\Profiling\Profiler::trace (line 132)"
26 => "Shopware\Storefront\Page\GenericPageLoader::load (line 66)"
27 => "Shopware\Storefront\Page\Account\Order\AccountOrderPageLoader::load (line 119)"
28 => "Shopware\Storefront\Controller\AccountOrderController::orderOverview (line 163)"
29 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
30 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
31 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
32 => "Shopware\Core\HttpKernel::doHandle (line 81)"
33 => "Shopware\Core\HttpKernel::handle (line 85)"
]
|
154 |
1.03 ms |
SELECT `language`.`id` as `language.id`, `language`.`parent_id` as `language.parentId`, `language`.`locale_id` as `language.localeId`, `language`.`translation_code_id` as `language.translationCodeId`, `language`.`name` as `language.name`, `language`.`custom_fields` as `language.customFields`, `language`.`created_at` as `language.createdAt`, `language`.`updated_at` as `language.updatedAt`, `language.productSearchConfig`.`id` as `language.productSearchConfig.id`, `language.productSearchConfig`.`language_id` as `language.productSearchConfig.languageId`, `language.productSearchConfig`.`and_logic` as `language.productSearchConfig.andLogic`, `language.productSearchConfig`.`min_search_length` as `language.productSearchConfig.minSearchLength`, `language.productSearchConfig`.`excluded_terms` as `language.productSearchConfig.excludedTerms`, `language.productSearchConfig`.`created_at` as `language.productSearchConfig.createdAt`, `language.productSearchConfig`.`updated_at` as `language.productSearchConfig.updatedAt`, `language.translationCode`.`id` as `language.translationCode.id`, `language.translationCode`.`code` as `language.translationCode.code`, `language.translationCode`.`created_at` as `language.translationCode.createdAt`, `language.translationCode`.`updated_at` as `language.translationCode.updatedAt`, `language.translationCode.translation.name`, COALESCE(`language.translationCode.translation.name`,`language.translationCode.translation.name`) as `language.translationCode.name`, `language.translationCode.translation.territory`, COALESCE(`language.translationCode.translation.territory`,`language.translationCode.translation.territory`) as `language.translationCode.territory`, `language.translationCode.translation.customFields`, COALESCE(`language.translationCode.translation.customFields`,`language.translationCode.translation.customFields`) as `language.translationCode.customFields`, `language.translationCode.translation.createdAt`, `language.translationCode.translation.updatedAt`, `language.translationCode.translation.localeId`, `language.translationCode.translation.languageId` FROM `language` LEFT JOIN `product_search_config` `language.productSearchConfig` ON `language`.`id` = `language.productSearchConfig`.`language_id` LEFT JOIN `locale` `language.translationCode` ON `language`.`translation_code_id` = `language.translationCode`.`id` LEFT JOIN (SELECT `language.translationCode.translation`.locale_id, `language.translationCode.translation`.name as `language.translationCode.translation.name`, `language.translationCode.translation`.territory as `language.translationCode.translation.territory`, `language.translationCode.translation`.custom_fields as `language.translationCode.translation.customFields`, `language.translationCode.translation`.created_at as `language.translationCode.translation.createdAt`, `language.translationCode.translation`.updated_at as `language.translationCode.translation.updatedAt`, `language.translationCode.translation`.locale_id as `language.translationCode.translation.localeId`, `language.translationCode.translation`.language_id as `language.translationCode.translation.languageId` FROM `locale_translation` `language.translationCode.translation` WHERE `language.translationCode.translation`.language_id = :languageId) `language.translationCode.locale_translation` ON `language.translationCode.locale_translation`.`locale_id` = `language.translationCode`.`id` WHERE `language`.`id` IN (:ids)
SELECT `language`.`id` as `language.id`, `language`.`parent_id` as `language.parentId`, `language`.`locale_id` as `language.localeId`, `language`.`translation_code_id` as `language.translationCodeId`, `language`.`name` as `language.name`, `language`.`custom_fields` as `language.customFields`, `language`.`created_at` as `language.createdAt`, `language`.`updated_at` as `language.updatedAt`, `language.productSearchConfig`.`id` as `language.productSearchConfig.id`, `language.productSearchConfig`.`language_id` as `language.productSearchConfig.languageId`, `language.productSearchConfig`.`and_logic` as `language.productSearchConfig.andLogic`, `language.productSearchConfig`.`min_search_length` as `language.productSearchConfig.minSearchLength`, `language.productSearchConfig`.`excluded_terms` as `language.productSearchConfig.excludedTerms`, `language.productSearchConfig`.`created_at` as `language.productSearchConfig.createdAt`, `language.productSearchConfig`.`updated_at` as `language.productSearchConfig.updatedAt`, `language.translationCode`.`id` as `language.translationCode.id`, `language.translationCode`.`code` as `language.translationCode.code`, `language.translationCode`.`created_at` as `language.translationCode.createdAt`, `language.translationCode`.`updated_at` as `language.translationCode.updatedAt`, `language.translationCode.translation.name`, COALESCE(`language.translationCode.translation.name`,`language.translationCode.translation.name`) as `language.translationCode.name`, `language.translationCode.translation.territory`, COALESCE(`language.translationCode.translation.territory`,`language.translationCode.translation.territory`) as `language.translationCode.territory`, `language.translationCode.translation.customFields`, COALESCE(`language.translationCode.translation.customFields`,`language.translationCode.translation.customFields`) as `language.translationCode.customFields`, `language.translationCode.translation.createdAt`, `language.translationCode.translation.updatedAt`, `language.translationCode.translation.localeId`, `language.translationCode.translation.languageId` FROM `language` LEFT JOIN `product_search_config` `language.productSearchConfig` ON `language`.`id` = `language.productSearchConfig`.`language_id` LEFT JOIN `locale` `language.translationCode` ON `language`.`translation_code_id` = `language.translationCode`.`id` LEFT JOIN (SELECT `language.translationCode.translation`.locale_id, `language.translationCode.translation`.name as `language.translationCode.translation.name`, `language.translationCode.translation`.territory as `language.translationCode.translation.territory`, `language.translationCode.translation`.custom_fields as `language.translationCode.translation.customFields`, `language.translationCode.translation`.created_at as `language.translationCode.translation.createdAt`, `language.translationCode.translation`.updated_at as `language.translationCode.translation.updatedAt`, `language.translationCode.translation`.locale_id as `language.translationCode.translation.localeId`, `language.translationCode.translation`.language_id as `language.translationCode.translation.languageId` FROM `locale_translation` `language.translationCode.translation` WHERE `language.translationCode.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `language.translationCode.locale_translation` ON `language.translationCode.locale_translation`.`locale_id` = `language.translationCode`.`id` WHERE `language`.`id` IN (0x2FBB5FE2E29A4D70AA5854CE7CE3E20B, 0xED273AF29DCE44A98CF3C1D2E5C49907, 0x92CFD36564914CFAB3C98806C73E4305);
array:35 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 242)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 316)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetch (line 148)"
4 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 93)"
5 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::read (line 195)"
6 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::read (line 133)"
7 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 50)"
8 => "Shopware\Core\System\Language\SalesChannel\LanguageRoute::load (line 102)"
9 => "Shopware\Core\System\Language\SalesChannel\CachedLanguageRoute::Shopware\Core\System\Language\SalesChannel\{closure} (line 350)"
10 => "Shopware\Core\System\SystemConfig\SystemConfigService::trace (line 44)"
11 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 120)"
12 => "Shopware\Core\Framework\Adapter\Translation\Translator::trace (line 45)"
13 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 46)"
14 => "Shopware\Core\Framework\Adapter\Cache\CacheTagCollection::trace (line 46)"
15 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::trace (line 41)"
16 => "Shopware\Storefront\Framework\Cache\CacheTracer::Shopware\Storefront\Framework\Cache\{closure} (line 59)"
17 => "Shopware\Storefront\Theme\ThemeConfigValueAccessor::trace (line 42)"
18 => "Shopware\Storefront\Framework\Cache\CacheTracer::trace (line 103)"
19 => "Shopware\Core\System\Language\SalesChannel\CachedLanguageRoute::Shopware\Core\System\Language\SalesChannel\{closure} (line 72)"
20 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
21 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 108)"
22 => "Shopware\Core\System\Language\SalesChannel\CachedLanguageRoute::load (line 132)"
23 => "Shopware\Storefront\Pagelet\Header\HeaderPageletLoader::getLanguages (line 64)"
24 => "Shopware\Storefront\Pagelet\Header\HeaderPageletLoader::load (line 89)"
25 => "Shopware\Storefront\Page\GenericPageLoader::Shopware\Storefront\Page\{closure} (line 59)"
26 => "Shopware\Core\Profiling\Profiler::trace (line 132)"
27 => "Shopware\Storefront\Page\GenericPageLoader::load (line 66)"
28 => "Shopware\Storefront\Page\Account\Order\AccountOrderPageLoader::load (line 119)"
29 => "Shopware\Storefront\Controller\AccountOrderController::orderOverview (line 163)"
30 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
31 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
32 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
33 => "Shopware\Core\HttpKernel::doHandle (line 81)"
34 => "Shopware\Core\HttpKernel::handle (line 85)"
]
|
155 |
0.61 ms |
SELECT LOWER(HEX(`id`)), `path`, `level`
FROM `category`
WHERE `id` = :activeId OR `parent_id` = :activeId OR `id` = :rootId
SELECT LOWER(HEX(`id`)), `path`, `level`
FROM `category`
WHERE `id` = 0x444F1EF553A64BD8821A8BC076AC9A42 OR `parent_id` = 0x444F1EF553A64BD8821A8BC076AC9A42 OR `id` = 0x444F1EF553A64BD8821A8BC076AC9A42
;
array:35 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 1042)"
2 => "Doctrine\DBAL\Connection::fetchAllAssociative (line 146)"
3 => "Shopware\Core\Content\Category\SalesChannel\NavigationRoute::getCategoryMetaInfo (line 74)"
4 => "Shopware\Core\Content\Category\SalesChannel\NavigationRoute::load (line 136)"
5 => "Shopware\Core\Content\Category\SalesChannel\CachedNavigationRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 350)"
6 => "Shopware\Core\System\SystemConfig\SystemConfigService::trace (line 44)"
7 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 120)"
8 => "Shopware\Core\Framework\Adapter\Translation\Translator::trace (line 45)"
9 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 46)"
10 => "Shopware\Core\Framework\Adapter\Cache\CacheTagCollection::trace (line 46)"
11 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::trace (line 41)"
12 => "Shopware\Storefront\Framework\Cache\CacheTracer::Shopware\Storefront\Framework\Cache\{closure} (line 59)"
13 => "Shopware\Storefront\Theme\ThemeConfigValueAccessor::trace (line 42)"
14 => "Shopware\Storefront\Framework\Cache\CacheTracer::trace (line 137)"
15 => "Shopware\Core\Content\Category\SalesChannel\CachedNavigationRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 72)"
16 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
17 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 142)"
18 => "Shopware\Core\Content\Category\SalesChannel\CachedNavigationRoute::loadNavigation (line 98)"
19 => "Shopware\Core\Content\Category\SalesChannel\CachedNavigationRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 59)"
20 => "Shopware\Core\Profiling\Profiler::trace (line 111)"
21 => "Shopware\Core\Content\Category\SalesChannel\CachedNavigationRoute::load (line 48)"
22 => "Shopware\Core\Content\Category\SalesChannel\TreeBuildingNavigationRoute::load (line 68)"
23 => "Shopware\Core\Content\Category\Service\NavigationLoader::load (line 72)"
24 => "Shopware\Storefront\Pagelet\Header\HeaderPageletLoader::load (line 89)"
25 => "Shopware\Storefront\Page\GenericPageLoader::Shopware\Storefront\Page\{closure} (line 59)"
26 => "Shopware\Core\Profiling\Profiler::trace (line 132)"
27 => "Shopware\Storefront\Page\GenericPageLoader::load (line 66)"
28 => "Shopware\Storefront\Page\Account\Order\AccountOrderPageLoader::load (line 119)"
29 => "Shopware\Storefront\Controller\AccountOrderController::orderOverview (line 163)"
30 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
31 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
32 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
33 => "Shopware\Core\HttpKernel::doHandle (line 81)"
34 => "Shopware\Core\HttpKernel::handle (line 85)"
]
|
156 |
7.99 ms |
SELECT `category`.`id` as `category.id`, `category`.`version_id` as `category.versionId`, `category`.`parent_id` as `category.parentId`, `category`.`parent_version_id` as `category.parentVersionId`, `category`.`after_category_id` as `category.afterCategoryId`, `category`.`after_category_version_id` as `category.afterCategoryVersionId`, `category`.`media_id` as `category.mediaId`, `category`.`display_nested_products` as `category.displayNestedProducts`, `category`.`auto_increment` as `category.autoIncrement`, `category`.`level` as `category.level`, `category`.`path` as `category.path`, `category`.`child_count` as `category.childCount`, `category`.`type` as `category.type`, `category`.`product_assignment_type` as `category.productAssignmentType`, `category`.`visible` as `category.visible`, `category`.`active` as `category.active`, `category`.`cms_page_id` as `category.cmsPageId`, `category`.`cms_page_version_id` as `category.cmsPageVersionId`, `category`.`product_stream_id` as `category.productStreamId`, `category`.`created_at` as `category.createdAt`, `category`.`updated_at` as `category.updatedAt`, `category.media`.`id` as `category.media.id`, `category.media`.`user_id` as `category.media.userId`, `category.media`.`media_folder_id` as `category.media.mediaFolderId`, `category.media`.`mime_type` as `category.media.mimeType`, `category.media`.`file_extension` as `category.media.fileExtension`, `category.media`.`uploaded_at` as `category.media.uploadedAt`, `category.media`.`file_name` as `category.media.fileName`, `category.media`.`file_size` as `category.media.fileSize`, `category.media`.`media_type` as `category.media.mediaTypeRaw`, `category.media`.`meta_data` as `category.media.metaData`, `category.media`.`private` as `category.media.private`, `category.media`.`thumbnails_ro` as `category.media.thumbnailsRo`, `category.media`.`created_at` as `category.media.createdAt`, `category.media`.`updated_at` as `category.media.updatedAt`, `category.media.translation.title`, COALESCE(`category.media.translation.title`,`category.media.translation.title`) as `category.media.title`, `category.media.translation.alt`, COALESCE(`category.media.translation.alt`,`category.media.translation.alt`) as `category.media.alt`, `category.media.translation.customFields`, COALESCE(`category.media.translation.customFields`,`category.media.translation.customFields`) as `category.media.customFields`, `category.media.translation.createdAt`, `category.media.translation.updatedAt`, `category.media.translation.mediaId`, `category.media.translation.languageId`, `category.translation.name`, COALESCE(`category.translation.name`,`category.translation.name`) as `category.name`, `category.translation.breadcrumb`, COALESCE(`category.translation.breadcrumb`,`category.translation.breadcrumb`) as `category.breadcrumb`, `category.translation.slotConfig`, COALESCE(`category.translation.slotConfig`,`category.translation.slotConfig`) as `category.slotConfig`, `category.translation.linkType`, COALESCE(`category.translation.linkType`,`category.translation.linkType`) as `category.linkType`, `category.translation.internalLink`, COALESCE(`category.translation.internalLink`,`category.translation.internalLink`) as `category.internalLink`, `category.translation.externalLink`, COALESCE(`category.translation.externalLink`,`category.translation.externalLink`) as `category.externalLink`, `category.translation.linkNewTab`, COALESCE(`category.translation.linkNewTab`,`category.translation.linkNewTab`) as `category.linkNewTab`, `category.translation.description`, COALESCE(`category.translation.description`,`category.translation.description`) as `category.description`, `category.translation.metaTitle`, COALESCE(`category.translation.metaTitle`,`category.translation.metaTitle`) as `category.metaTitle`, `category.translation.metaDescription`, COALESCE(`category.translation.metaDescription`,`category.translation.metaDescription`) as `category.metaDescription`, `category.translation.keywords`, COALESCE(`category.translation.keywords`,`category.translation.keywords`) as `category.keywords`, `category.translation.customFields`, COALESCE(`category.translation.customFields`,`category.translation.customFields`) as `category.customFields`, `category.translation.createdAt`, `category.translation.updatedAt`, `category.translation.categoryId`, `category.translation.languageId`, `category.translation.categoryVersionId` FROM `category` LEFT JOIN (SELECT `category.translation`.category_id, `category.translation`.category_version_id, `category.translation`.name as `category.translation.name`, `category.translation`.breadcrumb as `category.translation.breadcrumb`, `category.translation`.slot_config as `category.translation.slotConfig`, `category.translation`.link_type as `category.translation.linkType`, `category.translation`.internal_link as `category.translation.internalLink`, `category.translation`.external_link as `category.translation.externalLink`, `category.translation`.link_new_tab as `category.translation.linkNewTab`, `category.translation`.description as `category.translation.description`, `category.translation`.meta_title as `category.translation.metaTitle`, `category.translation`.meta_description as `category.translation.metaDescription`, `category.translation`.keywords as `category.translation.keywords`, `category.translation`.custom_fields as `category.translation.customFields`, `category.translation`.created_at as `category.translation.createdAt`, `category.translation`.updated_at as `category.translation.updatedAt`, `category.translation`.category_id as `category.translation.categoryId`, `category.translation`.language_id as `category.translation.languageId`, `category.translation`.category_version_id as `category.translation.categoryVersionId` FROM `category_translation` `category.translation` WHERE `category.translation`.language_id = :languageId) `category.category_translation` ON `category.category_translation`.`category_id` = `category`.`id` AND `category.category_translation`.category_version_id = `category`.version_id LEFT JOIN `media` `category.media` ON `category`.`media_id` = `category.media`.`id` LEFT JOIN (SELECT `category.media.translation`.media_id, `category.media.translation`.title as `category.media.translation.title`, `category.media.translation`.alt as `category.media.translation.alt`, `category.media.translation`.custom_fields as `category.media.translation.customFields`, `category.media.translation`.created_at as `category.media.translation.createdAt`, `category.media.translation`.updated_at as `category.media.translation.updatedAt`, `category.media.translation`.media_id as `category.media.translation.mediaId`, `category.media.translation`.language_id as `category.media.translation.languageId` FROM `media_translation` `category.media.translation` WHERE `category.media.translation`.language_id = :languageId) `category.media.media_translation` ON `category.media.media_translation`.`media_id` = `category.media`.`id` WHERE (`category`.`version_id` = :version) AND ((`category`.`path` LIKE :param_95bc087f2abc4aee8979dffc8f6096b7 AND (`category`.`level` > :param_5f3a2c43732b4eb793d7e228aac2cffd AND `category`.`level` <= :param_72b5cdbb458049e2aecab365c6b7ca31)))
SELECT
`category`.`id` as `category.id`,
`category`.`version_id` as `category.versionId`,
`category`.`parent_id` as `category.parentId`,
`category`.`parent_version_id` as `category.parentVersionId`,
`category`.`after_category_id` as `category.afterCategoryId`,
`category`.`after_category_version_id` as `category.afterCategoryVersionId`,
`category`.`media_id` as `category.mediaId`,
`category`.`display_nested_products` as `category.displayNestedProducts`,
`category`.`auto_increment` as `category.autoIncrement`,
`category`.`level` as `category.level`,
`category`.`path` as `category.path`,
`category`.`child_count` as `category.childCount`,
`category`.`type` as `category.type`,
`category`.`product_assignment_type` as `category.productAssignmentType`,
`category`.`visible` as `category.visible`,
`category`.`active` as `category.active`,
`category`.`cms_page_id` as `category.cmsPageId`,
`category`.`cms_page_version_id` as `category.cmsPageVersionId`,
`category`.`product_stream_id` as `category.productStreamId`,
`category`.`created_at` as `category.createdAt`,
`category`.`updated_at` as `category.updatedAt`,
`category.media`.`id` as `category.media.id`,
`category.media`.`user_id` as `category.media.userId`,
`category.media`.`media_folder_id` as `category.media.mediaFolderId`,
`category.media`.`mime_type` as `category.media.mimeType`,
`category.media`.`file_extension` as `category.media.fileExtension`,
`category.media`.`uploaded_at` as `category.media.uploadedAt`,
`category.media`.`file_name` as `category.media.fileName`,
`category.media`.`file_size` as `category.media.fileSize`,
`category.media`.`media_type` as `category.media.mediaTypeRaw`,
`category.media`.`meta_data` as `category.media.metaData`,
`category.media`.`private` as `category.media.private`,
`category.media`.`thumbnails_ro` as `category.media.thumbnailsRo`,
`category.media`.`created_at` as `category.media.createdAt`,
`category.media`.`updated_at` as `category.media.updatedAt`,
`category.media.translation.title`,
COALESCE(
`category.media.translation.title`,
`category.media.translation.title`
) as `category.media.title`,
`category.media.translation.alt`,
COALESCE(
`category.media.translation.alt`,
`category.media.translation.alt`
) as `category.media.alt`,
`category.media.translation.customFields`,
COALESCE(
`category.media.translation.customFields`,
`category.media.translation.customFields`
) as `category.media.customFields`,
`category.media.translation.createdAt`,
`category.media.translation.updatedAt`,
`category.media.translation.mediaId`,
`category.media.translation.languageId`,
`category.translation.name`,
COALESCE(
`category.translation.name`, `category.translation.name`
) as `category.name`,
`category.translation.breadcrumb`,
COALESCE(
`category.translation.breadcrumb`,
`category.translation.breadcrumb`
) as `category.breadcrumb`,
`category.translation.slotConfig`,
COALESCE(
`category.translation.slotConfig`,
`category.translation.slotConfig`
) as `category.slotConfig`,
`category.translation.linkType`,
COALESCE(
`category.translation.linkType`,
`category.translation.linkType`
) as `category.linkType`,
`category.translation.internalLink`,
COALESCE(
`category.translation.internalLink`,
`category.translation.internalLink`
) as `category.internalLink`,
`category.translation.externalLink`,
COALESCE(
`category.translation.externalLink`,
`category.translation.externalLink`
) as `category.externalLink`,
`category.translation.linkNewTab`,
COALESCE(
`category.translation.linkNewTab`,
`category.translation.linkNewTab`
) as `category.linkNewTab`,
`category.translation.description`,
COALESCE(
`category.translation.description`,
`category.translation.description`
) as `category.description`,
`category.translation.metaTitle`,
COALESCE(
`category.translation.metaTitle`,
`category.translation.metaTitle`
) as `category.metaTitle`,
`category.translation.metaDescription`,
COALESCE(
`category.translation.metaDescription`,
`category.translation.metaDescription`
) as `category.metaDescription`,
`category.translation.keywords`,
COALESCE(
`category.translation.keywords`,
`category.translation.keywords`
) as `category.keywords`,
`category.translation.customFields`,
COALESCE(
`category.translation.customFields`,
`category.translation.customFields`
) as `category.customFields`,
`category.translation.createdAt`,
`category.translation.updatedAt`,
`category.translation.categoryId`,
`category.translation.languageId`,
`category.translation.categoryVersionId`
FROM
`category`
LEFT JOIN (
SELECT
`category.translation`.category_id,
`category.translation`.category_version_id,
`category.translation`.name as `category.translation.name`,
`category.translation`.breadcrumb as `category.translation.breadcrumb`,
`category.translation`.slot_config as `category.translation.slotConfig`,
`category.translation`.link_type as `category.translation.linkType`,
`category.translation`.internal_link as `category.translation.internalLink`,
`category.translation`.external_link as `category.translation.externalLink`,
`category.translation`.link_new_tab as `category.translation.linkNewTab`,
`category.translation`.description as `category.translation.description`,
`category.translation`.meta_title as `category.translation.metaTitle`,
`category.translation`.meta_description as `category.translation.metaDescription`,
`category.translation`.keywords as `category.translation.keywords`,
`category.translation`.custom_fields as `category.translation.customFields`,
`category.translation`.created_at as `category.translation.createdAt`,
`category.translation`.updated_at as `category.translation.updatedAt`,
`category.translation`.category_id as `category.translation.categoryId`,
`category.translation`.language_id as `category.translation.languageId`,
`category.translation`.category_version_id as `category.translation.categoryVersionId`
FROM
`category_translation` `category.translation`
WHERE
`category.translation`.language_id = : languageId
) `category.category_translation` ON `category.category_translation`.`category_id` = `category`.`id`
AND `category.category_translation`.category_version_id = `category`.version_id
LEFT JOIN `media` `category.media` ON `category`.`media_id` = `category.media`.`id`
LEFT JOIN (
SELECT
`category.media.translation`.media_id,
`category.media.translation`.title as `category.media.translation.title`,
`category.media.translation`.alt as `category.media.translation.alt`,
`category.media.translation`.custom_fields as `category.media.translation.customFields`,
`category.media.translation`.created_at as `category.media.translation.createdAt`,
`category.media.translation`.updated_at as `category.media.translation.updatedAt`,
`category.media.translation`.media_id as `category.media.translation.mediaId`,
`category.media.translation`.language_id as `category.media.translation.languageId`
FROM
`media_translation` `category.media.translation`
WHERE
`category.media.translation`.language_id = : languageId
) `category.media.media_translation` ON `category.media.media_translation`.`media_id` = `category.media`.`id`
WHERE
(
`category`.`version_id` = : version
)
AND (
(
`category`.`path` LIKE : param_95bc087f2abc4aee8979dffc8f6096b7
AND (
`category`.`level` > : param_5f3a2c43732b4eb793d7e228aac2cffd
AND `category`.`level` <= : param_72b5cdbb458049e2aecab365c6b7ca31
)
)
)
SELECT `category`.`id` as `category.id`, `category`.`version_id` as `category.versionId`, `category`.`parent_id` as `category.parentId`, `category`.`parent_version_id` as `category.parentVersionId`, `category`.`after_category_id` as `category.afterCategoryId`, `category`.`after_category_version_id` as `category.afterCategoryVersionId`, `category`.`media_id` as `category.mediaId`, `category`.`display_nested_products` as `category.displayNestedProducts`, `category`.`auto_increment` as `category.autoIncrement`, `category`.`level` as `category.level`, `category`.`path` as `category.path`, `category`.`child_count` as `category.childCount`, `category`.`type` as `category.type`, `category`.`product_assignment_type` as `category.productAssignmentType`, `category`.`visible` as `category.visible`, `category`.`active` as `category.active`, `category`.`cms_page_id` as `category.cmsPageId`, `category`.`cms_page_version_id` as `category.cmsPageVersionId`, `category`.`product_stream_id` as `category.productStreamId`, `category`.`created_at` as `category.createdAt`, `category`.`updated_at` as `category.updatedAt`, `category.media`.`id` as `category.media.id`, `category.media`.`user_id` as `category.media.userId`, `category.media`.`media_folder_id` as `category.media.mediaFolderId`, `category.media`.`mime_type` as `category.media.mimeType`, `category.media`.`file_extension` as `category.media.fileExtension`, `category.media`.`uploaded_at` as `category.media.uploadedAt`, `category.media`.`file_name` as `category.media.fileName`, `category.media`.`file_size` as `category.media.fileSize`, `category.media`.`media_type` as `category.media.mediaTypeRaw`, `category.media`.`meta_data` as `category.media.metaData`, `category.media`.`private` as `category.media.private`, `category.media`.`thumbnails_ro` as `category.media.thumbnailsRo`, `category.media`.`created_at` as `category.media.createdAt`, `category.media`.`updated_at` as `category.media.updatedAt`, `category.media.translation.title`, COALESCE(`category.media.translation.title`,`category.media.translation.title`) as `category.media.title`, `category.media.translation.alt`, COALESCE(`category.media.translation.alt`,`category.media.translation.alt`) as `category.media.alt`, `category.media.translation.customFields`, COALESCE(`category.media.translation.customFields`,`category.media.translation.customFields`) as `category.media.customFields`, `category.media.translation.createdAt`, `category.media.translation.updatedAt`, `category.media.translation.mediaId`, `category.media.translation.languageId`, `category.translation.name`, COALESCE(`category.translation.name`,`category.translation.name`) as `category.name`, `category.translation.breadcrumb`, COALESCE(`category.translation.breadcrumb`,`category.translation.breadcrumb`) as `category.breadcrumb`, `category.translation.slotConfig`, COALESCE(`category.translation.slotConfig`,`category.translation.slotConfig`) as `category.slotConfig`, `category.translation.linkType`, COALESCE(`category.translation.linkType`,`category.translation.linkType`) as `category.linkType`, `category.translation.internalLink`, COALESCE(`category.translation.internalLink`,`category.translation.internalLink`) as `category.internalLink`, `category.translation.externalLink`, COALESCE(`category.translation.externalLink`,`category.translation.externalLink`) as `category.externalLink`, `category.translation.linkNewTab`, COALESCE(`category.translation.linkNewTab`,`category.translation.linkNewTab`) as `category.linkNewTab`, `category.translation.description`, COALESCE(`category.translation.description`,`category.translation.description`) as `category.description`, `category.translation.metaTitle`, COALESCE(`category.translation.metaTitle`,`category.translation.metaTitle`) as `category.metaTitle`, `category.translation.metaDescription`, COALESCE(`category.translation.metaDescription`,`category.translation.metaDescription`) as `category.metaDescription`, `category.translation.keywords`, COALESCE(`category.translation.keywords`,`category.translation.keywords`) as `category.keywords`, `category.translation.customFields`, COALESCE(`category.translation.customFields`,`category.translation.customFields`) as `category.customFields`, `category.translation.createdAt`, `category.translation.updatedAt`, `category.translation.categoryId`, `category.translation.languageId`, `category.translation.categoryVersionId` FROM `category` LEFT JOIN (SELECT `category.translation`.category_id, `category.translation`.category_version_id, `category.translation`.name as `category.translation.name`, `category.translation`.breadcrumb as `category.translation.breadcrumb`, `category.translation`.slot_config as `category.translation.slotConfig`, `category.translation`.link_type as `category.translation.linkType`, `category.translation`.internal_link as `category.translation.internalLink`, `category.translation`.external_link as `category.translation.externalLink`, `category.translation`.link_new_tab as `category.translation.linkNewTab`, `category.translation`.description as `category.translation.description`, `category.translation`.meta_title as `category.translation.metaTitle`, `category.translation`.meta_description as `category.translation.metaDescription`, `category.translation`.keywords as `category.translation.keywords`, `category.translation`.custom_fields as `category.translation.customFields`, `category.translation`.created_at as `category.translation.createdAt`, `category.translation`.updated_at as `category.translation.updatedAt`, `category.translation`.category_id as `category.translation.categoryId`, `category.translation`.language_id as `category.translation.languageId`, `category.translation`.category_version_id as `category.translation.categoryVersionId` FROM `category_translation` `category.translation` WHERE `category.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `category.category_translation` ON `category.category_translation`.`category_id` = `category`.`id` AND `category.category_translation`.category_version_id = `category`.version_id LEFT JOIN `media` `category.media` ON `category`.`media_id` = `category.media`.`id` LEFT JOIN (SELECT `category.media.translation`.media_id, `category.media.translation`.title as `category.media.translation.title`, `category.media.translation`.alt as `category.media.translation.alt`, `category.media.translation`.custom_fields as `category.media.translation.customFields`, `category.media.translation`.created_at as `category.media.translation.createdAt`, `category.media.translation`.updated_at as `category.media.translation.updatedAt`, `category.media.translation`.media_id as `category.media.translation.mediaId`, `category.media.translation`.language_id as `category.media.translation.languageId` FROM `media_translation` `category.media.translation` WHERE `category.media.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `category.media.media_translation` ON `category.media.media_translation`.`media_id` = `category.media`.`id` WHERE (`category`.`version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425) AND ((`category`.`path` LIKE '%|444f1ef553a64bd8821a8bc076ac9a42|%' AND (`category`.`level` > 1 AND `category`.`level` <= 5)));
array:40 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 242)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 316)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetch (line 148)"
4 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 93)"
5 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::read (line 195)"
6 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::read (line 117)"
7 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 132)"
8 => "Shopware\Core\Content\Category\SalesChannel\NavigationRoute::loadLevels (line 95)"
9 => "Shopware\Core\Content\Category\SalesChannel\NavigationRoute::load (line 136)"
10 => "Shopware\Core\Content\Category\SalesChannel\CachedNavigationRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 350)"
11 => "Shopware\Core\System\SystemConfig\SystemConfigService::trace (line 44)"
12 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 120)"
13 => "Shopware\Core\Framework\Adapter\Translation\Translator::trace (line 45)"
14 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 46)"
15 => "Shopware\Core\Framework\Adapter\Cache\CacheTagCollection::trace (line 46)"
16 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::trace (line 41)"
17 => "Shopware\Storefront\Framework\Cache\CacheTracer::Shopware\Storefront\Framework\Cache\{closure} (line 59)"
18 => "Shopware\Storefront\Theme\ThemeConfigValueAccessor::trace (line 42)"
19 => "Shopware\Storefront\Framework\Cache\CacheTracer::trace (line 137)"
20 => "Shopware\Core\Content\Category\SalesChannel\CachedNavigationRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 72)"
21 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
22 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 142)"
23 => "Shopware\Core\Content\Category\SalesChannel\CachedNavigationRoute::loadNavigation (line 98)"
24 => "Shopware\Core\Content\Category\SalesChannel\CachedNavigationRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 59)"
25 => "Shopware\Core\Profiling\Profiler::trace (line 111)"
26 => "Shopware\Core\Content\Category\SalesChannel\CachedNavigationRoute::load (line 48)"
27 => "Shopware\Core\Content\Category\SalesChannel\TreeBuildingNavigationRoute::load (line 68)"
28 => "Shopware\Core\Content\Category\Service\NavigationLoader::load (line 72)"
29 => "Shopware\Storefront\Pagelet\Header\HeaderPageletLoader::load (line 89)"
30 => "Shopware\Storefront\Page\GenericPageLoader::Shopware\Storefront\Page\{closure} (line 59)"
31 => "Shopware\Core\Profiling\Profiler::trace (line 132)"
32 => "Shopware\Storefront\Page\GenericPageLoader::load (line 66)"
33 => "Shopware\Storefront\Page\Account\Order\AccountOrderPageLoader::load (line 119)"
34 => "Shopware\Storefront\Controller\AccountOrderController::orderOverview (line 163)"
35 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
36 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
37 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
38 => "Shopware\Core\HttpKernel::doHandle (line 81)"
39 => "Shopware\Core\HttpKernel::handle (line 85)"
]
|
157 |
1.26 ms |
SELECT LOWER(HEX(`category`.`parent_id`)) as `category-ids.key`, COUNT(`category`.`id`) as `category-ids.count`, COUNT(DISTINCT `category`.`id`) as `visible-children-count` FROM `category` WHERE (`category`.`version_id` = :version) AND ((`category`.`path` LIKE :param_616a61a48b2541689af60096e4043a23 AND `category`.`level` = :param_b3b15a9594e343eaa58957fdbf152c59 AND `category`.`active` = :param_232cffecd1c44e6e9c9bf89c528943c3 AND `category`.`visible` = :param_9dbf1110bec7403489592c3ae59f7246)) GROUP BY `category`.`parent_id`
SELECT LOWER(HEX(`category`.`parent_id`)) as `category-ids.key`, COUNT(`category`.`id`) as `category-ids.count`, COUNT(DISTINCT `category`.`id`) as `visible-children-count` FROM `category` WHERE (`category`.`version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425) AND ((`category`.`path` LIKE '%|444f1ef553a64bd8821a8bc076ac9a42|%' AND `category`.`level` = 5 AND `category`.`active` = 1 AND `category`.`visible` = 1)) GROUP BY `category`.`parent_id`;
array:40 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 242)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 205)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityAggregator::fetchAggregation (line 95)"
4 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityAggregator::aggregate (line 52)"
5 => "Shopware\Elasticsearch\Framework\DataAbstractionLayer\ElasticsearchEntityAggregator::aggregate (line 171)"
6 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::aggregate (line 263)"
7 => "Shopware\Core\Content\Category\SalesChannel\NavigationRoute::addVisibilityCounts (line 134)"
8 => "Shopware\Core\Content\Category\SalesChannel\NavigationRoute::loadLevels (line 95)"
9 => "Shopware\Core\Content\Category\SalesChannel\NavigationRoute::load (line 136)"
10 => "Shopware\Core\Content\Category\SalesChannel\CachedNavigationRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 350)"
11 => "Shopware\Core\System\SystemConfig\SystemConfigService::trace (line 44)"
12 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 120)"
13 => "Shopware\Core\Framework\Adapter\Translation\Translator::trace (line 45)"
14 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 46)"
15 => "Shopware\Core\Framework\Adapter\Cache\CacheTagCollection::trace (line 46)"
16 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::trace (line 41)"
17 => "Shopware\Storefront\Framework\Cache\CacheTracer::Shopware\Storefront\Framework\Cache\{closure} (line 59)"
18 => "Shopware\Storefront\Theme\ThemeConfigValueAccessor::trace (line 42)"
19 => "Shopware\Storefront\Framework\Cache\CacheTracer::trace (line 137)"
20 => "Shopware\Core\Content\Category\SalesChannel\CachedNavigationRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 72)"
21 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
22 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 142)"
23 => "Shopware\Core\Content\Category\SalesChannel\CachedNavigationRoute::loadNavigation (line 98)"
24 => "Shopware\Core\Content\Category\SalesChannel\CachedNavigationRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 59)"
25 => "Shopware\Core\Profiling\Profiler::trace (line 111)"
26 => "Shopware\Core\Content\Category\SalesChannel\CachedNavigationRoute::load (line 48)"
27 => "Shopware\Core\Content\Category\SalesChannel\TreeBuildingNavigationRoute::load (line 68)"
28 => "Shopware\Core\Content\Category\Service\NavigationLoader::load (line 72)"
29 => "Shopware\Storefront\Pagelet\Header\HeaderPageletLoader::load (line 89)"
30 => "Shopware\Storefront\Page\GenericPageLoader::Shopware\Storefront\Page\{closure} (line 59)"
31 => "Shopware\Core\Profiling\Profiler::trace (line 132)"
32 => "Shopware\Storefront\Page\GenericPageLoader::load (line 66)"
33 => "Shopware\Storefront\Page\Account\Order\AccountOrderPageLoader::load (line 119)"
34 => "Shopware\Storefront\Controller\AccountOrderController::orderOverview (line 163)"
35 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
36 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
37 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
38 => "Shopware\Core\HttpKernel::doHandle (line 81)"
39 => "Shopware\Core\HttpKernel::handle (line 85)"
]
|
158 |
1.97 ms |
SELECT `category`.`id` as `category.id`, `category`.`version_id` as `category.versionId`, `category`.`parent_id` as `category.parentId`, `category`.`parent_version_id` as `category.parentVersionId`, `category`.`after_category_id` as `category.afterCategoryId`, `category`.`after_category_version_id` as `category.afterCategoryVersionId`, `category`.`media_id` as `category.mediaId`, `category`.`display_nested_products` as `category.displayNestedProducts`, `category`.`auto_increment` as `category.autoIncrement`, `category`.`level` as `category.level`, `category`.`path` as `category.path`, `category`.`child_count` as `category.childCount`, `category`.`type` as `category.type`, `category`.`product_assignment_type` as `category.productAssignmentType`, `category`.`visible` as `category.visible`, `category`.`active` as `category.active`, `category`.`cms_page_id` as `category.cmsPageId`, `category`.`cms_page_version_id` as `category.cmsPageVersionId`, `category`.`product_stream_id` as `category.productStreamId`, `category`.`created_at` as `category.createdAt`, `category`.`updated_at` as `category.updatedAt`, `category.media`.`id` as `category.media.id`, `category.media`.`user_id` as `category.media.userId`, `category.media`.`media_folder_id` as `category.media.mediaFolderId`, `category.media`.`mime_type` as `category.media.mimeType`, `category.media`.`file_extension` as `category.media.fileExtension`, `category.media`.`uploaded_at` as `category.media.uploadedAt`, `category.media`.`file_name` as `category.media.fileName`, `category.media`.`file_size` as `category.media.fileSize`, `category.media`.`media_type` as `category.media.mediaTypeRaw`, `category.media`.`meta_data` as `category.media.metaData`, `category.media`.`private` as `category.media.private`, `category.media`.`thumbnails_ro` as `category.media.thumbnailsRo`, `category.media`.`created_at` as `category.media.createdAt`, `category.media`.`updated_at` as `category.media.updatedAt`, `category.media.translation.title`, COALESCE(`category.media.translation.title`,`category.media.translation.title`) as `category.media.title`, `category.media.translation.alt`, COALESCE(`category.media.translation.alt`,`category.media.translation.alt`) as `category.media.alt`, `category.media.translation.customFields`, COALESCE(`category.media.translation.customFields`,`category.media.translation.customFields`) as `category.media.customFields`, `category.media.translation.createdAt`, `category.media.translation.updatedAt`, `category.media.translation.mediaId`, `category.media.translation.languageId`, `category.translation.name`, COALESCE(`category.translation.name`,`category.translation.name`) as `category.name`, `category.translation.breadcrumb`, COALESCE(`category.translation.breadcrumb`,`category.translation.breadcrumb`) as `category.breadcrumb`, `category.translation.slotConfig`, COALESCE(`category.translation.slotConfig`,`category.translation.slotConfig`) as `category.slotConfig`, `category.translation.linkType`, COALESCE(`category.translation.linkType`,`category.translation.linkType`) as `category.linkType`, `category.translation.internalLink`, COALESCE(`category.translation.internalLink`,`category.translation.internalLink`) as `category.internalLink`, `category.translation.externalLink`, COALESCE(`category.translation.externalLink`,`category.translation.externalLink`) as `category.externalLink`, `category.translation.linkNewTab`, COALESCE(`category.translation.linkNewTab`,`category.translation.linkNewTab`) as `category.linkNewTab`, `category.translation.description`, COALESCE(`category.translation.description`,`category.translation.description`) as `category.description`, `category.translation.metaTitle`, COALESCE(`category.translation.metaTitle`,`category.translation.metaTitle`) as `category.metaTitle`, `category.translation.metaDescription`, COALESCE(`category.translation.metaDescription`,`category.translation.metaDescription`) as `category.metaDescription`, `category.translation.keywords`, COALESCE(`category.translation.keywords`,`category.translation.keywords`) as `category.keywords`, `category.translation.customFields`, COALESCE(`category.translation.customFields`,`category.translation.customFields`) as `category.customFields`, `category.translation.createdAt`, `category.translation.updatedAt`, `category.translation.categoryId`, `category.translation.languageId`, `category.translation.categoryVersionId` FROM `category` LEFT JOIN (SELECT `category.translation`.category_id, `category.translation`.category_version_id, `category.translation`.name as `category.translation.name`, `category.translation`.breadcrumb as `category.translation.breadcrumb`, `category.translation`.slot_config as `category.translation.slotConfig`, `category.translation`.link_type as `category.translation.linkType`, `category.translation`.internal_link as `category.translation.internalLink`, `category.translation`.external_link as `category.translation.externalLink`, `category.translation`.link_new_tab as `category.translation.linkNewTab`, `category.translation`.description as `category.translation.description`, `category.translation`.meta_title as `category.translation.metaTitle`, `category.translation`.meta_description as `category.translation.metaDescription`, `category.translation`.keywords as `category.translation.keywords`, `category.translation`.custom_fields as `category.translation.customFields`, `category.translation`.created_at as `category.translation.createdAt`, `category.translation`.updated_at as `category.translation.updatedAt`, `category.translation`.category_id as `category.translation.categoryId`, `category.translation`.language_id as `category.translation.languageId`, `category.translation`.category_version_id as `category.translation.categoryVersionId` FROM `category_translation` `category.translation` WHERE `category.translation`.language_id = :languageId) `category.category_translation` ON `category.category_translation`.`category_id` = `category`.`id` AND `category.category_translation`.category_version_id = `category`.version_id LEFT JOIN `media` `category.media` ON `category`.`media_id` = `category.media`.`id` LEFT JOIN (SELECT `category.media.translation`.media_id, `category.media.translation`.title as `category.media.translation.title`, `category.media.translation`.alt as `category.media.translation.alt`, `category.media.translation`.custom_fields as `category.media.translation.customFields`, `category.media.translation`.created_at as `category.media.translation.createdAt`, `category.media.translation`.updated_at as `category.media.translation.updatedAt`, `category.media.translation`.media_id as `category.media.translation.mediaId`, `category.media.translation`.language_id as `category.media.translation.languageId` FROM `media_translation` `category.media.translation` WHERE `category.media.translation`.language_id = :languageId) `category.media.media_translation` ON `category.media.media_translation`.`media_id` = `category.media`.`id` WHERE (`category`.`version_id` = :version) AND (`category`.`id` IN (:ids))
SELECT
`category`.`id` as `category.id`,
`category`.`version_id` as `category.versionId`,
`category`.`parent_id` as `category.parentId`,
`category`.`parent_version_id` as `category.parentVersionId`,
`category`.`after_category_id` as `category.afterCategoryId`,
`category`.`after_category_version_id` as `category.afterCategoryVersionId`,
`category`.`media_id` as `category.mediaId`,
`category`.`display_nested_products` as `category.displayNestedProducts`,
`category`.`auto_increment` as `category.autoIncrement`,
`category`.`level` as `category.level`,
`category`.`path` as `category.path`,
`category`.`child_count` as `category.childCount`,
`category`.`type` as `category.type`,
`category`.`product_assignment_type` as `category.productAssignmentType`,
`category`.`visible` as `category.visible`,
`category`.`active` as `category.active`,
`category`.`cms_page_id` as `category.cmsPageId`,
`category`.`cms_page_version_id` as `category.cmsPageVersionId`,
`category`.`product_stream_id` as `category.productStreamId`,
`category`.`created_at` as `category.createdAt`,
`category`.`updated_at` as `category.updatedAt`,
`category.media`.`id` as `category.media.id`,
`category.media`.`user_id` as `category.media.userId`,
`category.media`.`media_folder_id` as `category.media.mediaFolderId`,
`category.media`.`mime_type` as `category.media.mimeType`,
`category.media`.`file_extension` as `category.media.fileExtension`,
`category.media`.`uploaded_at` as `category.media.uploadedAt`,
`category.media`.`file_name` as `category.media.fileName`,
`category.media`.`file_size` as `category.media.fileSize`,
`category.media`.`media_type` as `category.media.mediaTypeRaw`,
`category.media`.`meta_data` as `category.media.metaData`,
`category.media`.`private` as `category.media.private`,
`category.media`.`thumbnails_ro` as `category.media.thumbnailsRo`,
`category.media`.`created_at` as `category.media.createdAt`,
`category.media`.`updated_at` as `category.media.updatedAt`,
`category.media.translation.title`,
COALESCE(
`category.media.translation.title`,
`category.media.translation.title`
) as `category.media.title`,
`category.media.translation.alt`,
COALESCE(
`category.media.translation.alt`,
`category.media.translation.alt`
) as `category.media.alt`,
`category.media.translation.customFields`,
COALESCE(
`category.media.translation.customFields`,
`category.media.translation.customFields`
) as `category.media.customFields`,
`category.media.translation.createdAt`,
`category.media.translation.updatedAt`,
`category.media.translation.mediaId`,
`category.media.translation.languageId`,
`category.translation.name`,
COALESCE(
`category.translation.name`, `category.translation.name`
) as `category.name`,
`category.translation.breadcrumb`,
COALESCE(
`category.translation.breadcrumb`,
`category.translation.breadcrumb`
) as `category.breadcrumb`,
`category.translation.slotConfig`,
COALESCE(
`category.translation.slotConfig`,
`category.translation.slotConfig`
) as `category.slotConfig`,
`category.translation.linkType`,
COALESCE(
`category.translation.linkType`,
`category.translation.linkType`
) as `category.linkType`,
`category.translation.internalLink`,
COALESCE(
`category.translation.internalLink`,
`category.translation.internalLink`
) as `category.internalLink`,
`category.translation.externalLink`,
COALESCE(
`category.translation.externalLink`,
`category.translation.externalLink`
) as `category.externalLink`,
`category.translation.linkNewTab`,
COALESCE(
`category.translation.linkNewTab`,
`category.translation.linkNewTab`
) as `category.linkNewTab`,
`category.translation.description`,
COALESCE(
`category.translation.description`,
`category.translation.description`
) as `category.description`,
`category.translation.metaTitle`,
COALESCE(
`category.translation.metaTitle`,
`category.translation.metaTitle`
) as `category.metaTitle`,
`category.translation.metaDescription`,
COALESCE(
`category.translation.metaDescription`,
`category.translation.metaDescription`
) as `category.metaDescription`,
`category.translation.keywords`,
COALESCE(
`category.translation.keywords`,
`category.translation.keywords`
) as `category.keywords`,
`category.translation.customFields`,
COALESCE(
`category.translation.customFields`,
`category.translation.customFields`
) as `category.customFields`,
`category.translation.createdAt`,
`category.translation.updatedAt`,
`category.translation.categoryId`,
`category.translation.languageId`,
`category.translation.categoryVersionId`
FROM
`category`
LEFT JOIN (
SELECT
`category.translation`.category_id,
`category.translation`.category_version_id,
`category.translation`.name as `category.translation.name`,
`category.translation`.breadcrumb as `category.translation.breadcrumb`,
`category.translation`.slot_config as `category.translation.slotConfig`,
`category.translation`.link_type as `category.translation.linkType`,
`category.translation`.internal_link as `category.translation.internalLink`,
`category.translation`.external_link as `category.translation.externalLink`,
`category.translation`.link_new_tab as `category.translation.linkNewTab`,
`category.translation`.description as `category.translation.description`,
`category.translation`.meta_title as `category.translation.metaTitle`,
`category.translation`.meta_description as `category.translation.metaDescription`,
`category.translation`.keywords as `category.translation.keywords`,
`category.translation`.custom_fields as `category.translation.customFields`,
`category.translation`.created_at as `category.translation.createdAt`,
`category.translation`.updated_at as `category.translation.updatedAt`,
`category.translation`.category_id as `category.translation.categoryId`,
`category.translation`.language_id as `category.translation.languageId`,
`category.translation`.category_version_id as `category.translation.categoryVersionId`
FROM
`category_translation` `category.translation`
WHERE
`category.translation`.language_id = : languageId
) `category.category_translation` ON `category.category_translation`.`category_id` = `category`.`id`
AND `category.category_translation`.category_version_id = `category`.version_id
LEFT JOIN `media` `category.media` ON `category`.`media_id` = `category.media`.`id`
LEFT JOIN (
SELECT
`category.media.translation`.media_id,
`category.media.translation`.title as `category.media.translation.title`,
`category.media.translation`.alt as `category.media.translation.alt`,
`category.media.translation`.custom_fields as `category.media.translation.customFields`,
`category.media.translation`.created_at as `category.media.translation.createdAt`,
`category.media.translation`.updated_at as `category.media.translation.updatedAt`,
`category.media.translation`.media_id as `category.media.translation.mediaId`,
`category.media.translation`.language_id as `category.media.translation.languageId`
FROM
`media_translation` `category.media.translation`
WHERE
`category.media.translation`.language_id = : languageId
) `category.media.media_translation` ON `category.media.media_translation`.`media_id` = `category.media`.`id`
WHERE
(
`category`.`version_id` = : version
)
AND (
`category`.`id` IN (: ids)
)
SELECT `category`.`id` as `category.id`, `category`.`version_id` as `category.versionId`, `category`.`parent_id` as `category.parentId`, `category`.`parent_version_id` as `category.parentVersionId`, `category`.`after_category_id` as `category.afterCategoryId`, `category`.`after_category_version_id` as `category.afterCategoryVersionId`, `category`.`media_id` as `category.mediaId`, `category`.`display_nested_products` as `category.displayNestedProducts`, `category`.`auto_increment` as `category.autoIncrement`, `category`.`level` as `category.level`, `category`.`path` as `category.path`, `category`.`child_count` as `category.childCount`, `category`.`type` as `category.type`, `category`.`product_assignment_type` as `category.productAssignmentType`, `category`.`visible` as `category.visible`, `category`.`active` as `category.active`, `category`.`cms_page_id` as `category.cmsPageId`, `category`.`cms_page_version_id` as `category.cmsPageVersionId`, `category`.`product_stream_id` as `category.productStreamId`, `category`.`created_at` as `category.createdAt`, `category`.`updated_at` as `category.updatedAt`, `category.media`.`id` as `category.media.id`, `category.media`.`user_id` as `category.media.userId`, `category.media`.`media_folder_id` as `category.media.mediaFolderId`, `category.media`.`mime_type` as `category.media.mimeType`, `category.media`.`file_extension` as `category.media.fileExtension`, `category.media`.`uploaded_at` as `category.media.uploadedAt`, `category.media`.`file_name` as `category.media.fileName`, `category.media`.`file_size` as `category.media.fileSize`, `category.media`.`media_type` as `category.media.mediaTypeRaw`, `category.media`.`meta_data` as `category.media.metaData`, `category.media`.`private` as `category.media.private`, `category.media`.`thumbnails_ro` as `category.media.thumbnailsRo`, `category.media`.`created_at` as `category.media.createdAt`, `category.media`.`updated_at` as `category.media.updatedAt`, `category.media.translation.title`, COALESCE(`category.media.translation.title`,`category.media.translation.title`) as `category.media.title`, `category.media.translation.alt`, COALESCE(`category.media.translation.alt`,`category.media.translation.alt`) as `category.media.alt`, `category.media.translation.customFields`, COALESCE(`category.media.translation.customFields`,`category.media.translation.customFields`) as `category.media.customFields`, `category.media.translation.createdAt`, `category.media.translation.updatedAt`, `category.media.translation.mediaId`, `category.media.translation.languageId`, `category.translation.name`, COALESCE(`category.translation.name`,`category.translation.name`) as `category.name`, `category.translation.breadcrumb`, COALESCE(`category.translation.breadcrumb`,`category.translation.breadcrumb`) as `category.breadcrumb`, `category.translation.slotConfig`, COALESCE(`category.translation.slotConfig`,`category.translation.slotConfig`) as `category.slotConfig`, `category.translation.linkType`, COALESCE(`category.translation.linkType`,`category.translation.linkType`) as `category.linkType`, `category.translation.internalLink`, COALESCE(`category.translation.internalLink`,`category.translation.internalLink`) as `category.internalLink`, `category.translation.externalLink`, COALESCE(`category.translation.externalLink`,`category.translation.externalLink`) as `category.externalLink`, `category.translation.linkNewTab`, COALESCE(`category.translation.linkNewTab`,`category.translation.linkNewTab`) as `category.linkNewTab`, `category.translation.description`, COALESCE(`category.translation.description`,`category.translation.description`) as `category.description`, `category.translation.metaTitle`, COALESCE(`category.translation.metaTitle`,`category.translation.metaTitle`) as `category.metaTitle`, `category.translation.metaDescription`, COALESCE(`category.translation.metaDescription`,`category.translation.metaDescription`) as `category.metaDescription`, `category.translation.keywords`, COALESCE(`category.translation.keywords`,`category.translation.keywords`) as `category.keywords`, `category.translation.customFields`, COALESCE(`category.translation.customFields`,`category.translation.customFields`) as `category.customFields`, `category.translation.createdAt`, `category.translation.updatedAt`, `category.translation.categoryId`, `category.translation.languageId`, `category.translation.categoryVersionId` FROM `category` LEFT JOIN (SELECT `category.translation`.category_id, `category.translation`.category_version_id, `category.translation`.name as `category.translation.name`, `category.translation`.breadcrumb as `category.translation.breadcrumb`, `category.translation`.slot_config as `category.translation.slotConfig`, `category.translation`.link_type as `category.translation.linkType`, `category.translation`.internal_link as `category.translation.internalLink`, `category.translation`.external_link as `category.translation.externalLink`, `category.translation`.link_new_tab as `category.translation.linkNewTab`, `category.translation`.description as `category.translation.description`, `category.translation`.meta_title as `category.translation.metaTitle`, `category.translation`.meta_description as `category.translation.metaDescription`, `category.translation`.keywords as `category.translation.keywords`, `category.translation`.custom_fields as `category.translation.customFields`, `category.translation`.created_at as `category.translation.createdAt`, `category.translation`.updated_at as `category.translation.updatedAt`, `category.translation`.category_id as `category.translation.categoryId`, `category.translation`.language_id as `category.translation.languageId`, `category.translation`.category_version_id as `category.translation.categoryVersionId` FROM `category_translation` `category.translation` WHERE `category.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `category.category_translation` ON `category.category_translation`.`category_id` = `category`.`id` AND `category.category_translation`.category_version_id = `category`.version_id LEFT JOIN `media` `category.media` ON `category`.`media_id` = `category.media`.`id` LEFT JOIN (SELECT `category.media.translation`.media_id, `category.media.translation`.title as `category.media.translation.title`, `category.media.translation`.alt as `category.media.translation.alt`, `category.media.translation`.custom_fields as `category.media.translation.customFields`, `category.media.translation`.created_at as `category.media.translation.createdAt`, `category.media.translation`.updated_at as `category.media.translation.updatedAt`, `category.media.translation`.media_id as `category.media.translation.mediaId`, `category.media.translation`.language_id as `category.media.translation.languageId` FROM `media_translation` `category.media.translation` WHERE `category.media.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `category.media.media_translation` ON `category.media.media_translation`.`media_id` = `category.media`.`id` WHERE (`category`.`version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425) AND (`category`.`id` IN (0x444F1EF553A64BD8821A8BC076AC9A42));
array:41 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 242)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 316)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetch (line 148)"
4 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 93)"
5 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::read (line 195)"
6 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::read (line 117)"
7 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 111)"
8 => "Shopware\Core\Content\Category\SalesChannel\NavigationRoute::loadCategories (line 179)"
9 => "Shopware\Core\Content\Category\SalesChannel\NavigationRoute::loadChildren (line 99)"
10 => "Shopware\Core\Content\Category\SalesChannel\NavigationRoute::load (line 136)"
11 => "Shopware\Core\Content\Category\SalesChannel\CachedNavigationRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 350)"
12 => "Shopware\Core\System\SystemConfig\SystemConfigService::trace (line 44)"
13 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 120)"
14 => "Shopware\Core\Framework\Adapter\Translation\Translator::trace (line 45)"
15 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 46)"
16 => "Shopware\Core\Framework\Adapter\Cache\CacheTagCollection::trace (line 46)"
17 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::trace (line 41)"
18 => "Shopware\Storefront\Framework\Cache\CacheTracer::Shopware\Storefront\Framework\Cache\{closure} (line 59)"
19 => "Shopware\Storefront\Theme\ThemeConfigValueAccessor::trace (line 42)"
20 => "Shopware\Storefront\Framework\Cache\CacheTracer::trace (line 137)"
21 => "Shopware\Core\Content\Category\SalesChannel\CachedNavigationRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 72)"
22 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
23 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 142)"
24 => "Shopware\Core\Content\Category\SalesChannel\CachedNavigationRoute::loadNavigation (line 98)"
25 => "Shopware\Core\Content\Category\SalesChannel\CachedNavigationRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 59)"
26 => "Shopware\Core\Profiling\Profiler::trace (line 111)"
27 => "Shopware\Core\Content\Category\SalesChannel\CachedNavigationRoute::load (line 48)"
28 => "Shopware\Core\Content\Category\SalesChannel\TreeBuildingNavigationRoute::load (line 68)"
29 => "Shopware\Core\Content\Category\Service\NavigationLoader::load (line 72)"
30 => "Shopware\Storefront\Pagelet\Header\HeaderPageletLoader::load (line 89)"
31 => "Shopware\Storefront\Page\GenericPageLoader::Shopware\Storefront\Page\{closure} (line 59)"
32 => "Shopware\Core\Profiling\Profiler::trace (line 132)"
33 => "Shopware\Storefront\Page\GenericPageLoader::load (line 66)"
34 => "Shopware\Storefront\Page\Account\Order\AccountOrderPageLoader::load (line 119)"
35 => "Shopware\Storefront\Controller\AccountOrderController::orderOverview (line 163)"
36 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
37 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
38 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
39 => "Shopware\Core\HttpKernel::doHandle (line 81)"
40 => "Shopware\Core\HttpKernel::handle (line 85)"
]
|
159 |
0.58 ms |
SELECT `currency`.`id` FROM `currency` LEFT JOIN `sales_channel_currency` `currency.salesChannels.mapping` ON `currency`.`id` = `currency.salesChannels.mapping`.`currency_id` LEFT JOIN `sales_channel` `currency.salesChannels` ON `currency.salesChannels.mapping`.`sales_channel_id` = `currency.salesChannels`.`id` WHERE (`currency.salesChannels`.`id` = :param_cce4c4b8ed28499aad62cdd4c7688fe0) GROUP BY `currency`.`id`
SELECT `currency`.`id` FROM `currency` LEFT JOIN `sales_channel_currency` `currency.salesChannels.mapping` ON `currency`.`id` = `currency.salesChannels.mapping`.`currency_id` LEFT JOIN `sales_channel` `currency.salesChannels` ON `currency.salesChannels.mapping`.`sales_channel_id` = `currency.salesChannels`.`id` WHERE (`currency.salesChannels`.`id` = 0x4EB9108BE4654CC9B140D14DE85579E9) GROUP BY `currency`.`id`;
array:33 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 242)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 107)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntitySearcher::search (line 62)"
4 => "Shopware\Elasticsearch\Framework\DataAbstractionLayer\ElasticsearchEntitySearcher::search (line 216)"
5 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::doSearch (line 122)"
6 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 49)"
7 => "Shopware\Core\System\Currency\SalesChannel\CurrencyRoute::load (line 102)"
8 => "Shopware\Core\System\Currency\SalesChannel\CachedCurrencyRoute::Shopware\Core\System\Currency\SalesChannel\{closure} (line 350)"
9 => "Shopware\Core\System\SystemConfig\SystemConfigService::trace (line 44)"
10 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 120)"
11 => "Shopware\Core\Framework\Adapter\Translation\Translator::trace (line 45)"
12 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 46)"
13 => "Shopware\Core\Framework\Adapter\Cache\CacheTagCollection::trace (line 46)"
14 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::trace (line 41)"
15 => "Shopware\Storefront\Framework\Cache\CacheTracer::Shopware\Storefront\Framework\Cache\{closure} (line 59)"
16 => "Shopware\Storefront\Theme\ThemeConfigValueAccessor::trace (line 42)"
17 => "Shopware\Storefront\Framework\Cache\CacheTracer::trace (line 103)"
18 => "Shopware\Core\System\Currency\SalesChannel\CachedCurrencyRoute::Shopware\Core\System\Currency\SalesChannel\{closure} (line 72)"
19 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
20 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 108)"
21 => "Shopware\Core\System\Currency\SalesChannel\CachedCurrencyRoute::load (line 79)"
22 => "Shopware\Storefront\Pagelet\Header\HeaderPageletLoader::load (line 89)"
23 => "Shopware\Storefront\Page\GenericPageLoader::Shopware\Storefront\Page\{closure} (line 59)"
24 => "Shopware\Core\Profiling\Profiler::trace (line 132)"
25 => "Shopware\Storefront\Page\GenericPageLoader::load (line 66)"
26 => "Shopware\Storefront\Page\Account\Order\AccountOrderPageLoader::load (line 119)"
27 => "Shopware\Storefront\Controller\AccountOrderController::orderOverview (line 163)"
28 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
29 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
30 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
31 => "Shopware\Core\HttpKernel::doHandle (line 81)"
32 => "Shopware\Core\HttpKernel::handle (line 85)"
]
|
160 |
0.67 ms |
SELECT `currency`.`id` as `currency.id`, `currency`.`factor` as `currency.factor`, `currency`.`symbol` as `currency.symbol`, `currency`.`iso_code` as `currency.isoCode`, `currency`.`position` as `currency.position`, `currency`.`item_rounding` as `currency.itemRounding`, `currency`.`total_rounding` as `currency.totalRounding`, `currency`.`tax_free_from` as `currency.taxFreeFrom`, `currency`.`created_at` as `currency.createdAt`, `currency`.`updated_at` as `currency.updatedAt`, `currency.translation.shortName`, COALESCE(`currency.translation.shortName`,`currency.translation.shortName`) as `currency.shortName`, `currency.translation.name`, COALESCE(`currency.translation.name`,`currency.translation.name`) as `currency.name`, `currency.translation.customFields`, COALESCE(`currency.translation.customFields`,`currency.translation.customFields`) as `currency.customFields`, `currency.translation.createdAt`, `currency.translation.updatedAt`, `currency.translation.currencyId`, `currency.translation.languageId` FROM `currency` LEFT JOIN (SELECT `currency.translation`.currency_id, `currency.translation`.short_name as `currency.translation.shortName`, `currency.translation`.name as `currency.translation.name`, `currency.translation`.custom_fields as `currency.translation.customFields`, `currency.translation`.created_at as `currency.translation.createdAt`, `currency.translation`.updated_at as `currency.translation.updatedAt`, `currency.translation`.currency_id as `currency.translation.currencyId`, `currency.translation`.language_id as `currency.translation.languageId` FROM `currency_translation` `currency.translation` WHERE `currency.translation`.language_id = :languageId) `currency.currency_translation` ON `currency.currency_translation`.`currency_id` = `currency`.`id` WHERE `currency`.`id` IN (:ids)
SELECT `currency`.`id` as `currency.id`, `currency`.`factor` as `currency.factor`, `currency`.`symbol` as `currency.symbol`, `currency`.`iso_code` as `currency.isoCode`, `currency`.`position` as `currency.position`, `currency`.`item_rounding` as `currency.itemRounding`, `currency`.`total_rounding` as `currency.totalRounding`, `currency`.`tax_free_from` as `currency.taxFreeFrom`, `currency`.`created_at` as `currency.createdAt`, `currency`.`updated_at` as `currency.updatedAt`, `currency.translation.shortName`, COALESCE(`currency.translation.shortName`,`currency.translation.shortName`) as `currency.shortName`, `currency.translation.name`, COALESCE(`currency.translation.name`,`currency.translation.name`) as `currency.name`, `currency.translation.customFields`, COALESCE(`currency.translation.customFields`,`currency.translation.customFields`) as `currency.customFields`, `currency.translation.createdAt`, `currency.translation.updatedAt`, `currency.translation.currencyId`, `currency.translation.languageId` FROM `currency` LEFT JOIN (SELECT `currency.translation`.currency_id, `currency.translation`.short_name as `currency.translation.shortName`, `currency.translation`.name as `currency.translation.name`, `currency.translation`.custom_fields as `currency.translation.customFields`, `currency.translation`.created_at as `currency.translation.createdAt`, `currency.translation`.updated_at as `currency.translation.updatedAt`, `currency.translation`.currency_id as `currency.translation.currencyId`, `currency.translation`.language_id as `currency.translation.languageId` FROM `currency_translation` `currency.translation` WHERE `currency.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `currency.currency_translation` ON `currency.currency_translation`.`currency_id` = `currency`.`id` WHERE `currency`.`id` IN (0xB7D2554B0CE847CD82F3AC9BD1C0DFCA);
array:34 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 242)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 316)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetch (line 148)"
4 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 93)"
5 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::read (line 195)"
6 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::read (line 133)"
7 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 49)"
8 => "Shopware\Core\System\Currency\SalesChannel\CurrencyRoute::load (line 102)"
9 => "Shopware\Core\System\Currency\SalesChannel\CachedCurrencyRoute::Shopware\Core\System\Currency\SalesChannel\{closure} (line 350)"
10 => "Shopware\Core\System\SystemConfig\SystemConfigService::trace (line 44)"
11 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 120)"
12 => "Shopware\Core\Framework\Adapter\Translation\Translator::trace (line 45)"
13 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 46)"
14 => "Shopware\Core\Framework\Adapter\Cache\CacheTagCollection::trace (line 46)"
15 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::trace (line 41)"
16 => "Shopware\Storefront\Framework\Cache\CacheTracer::Shopware\Storefront\Framework\Cache\{closure} (line 59)"
17 => "Shopware\Storefront\Theme\ThemeConfigValueAccessor::trace (line 42)"
18 => "Shopware\Storefront\Framework\Cache\CacheTracer::trace (line 103)"
19 => "Shopware\Core\System\Currency\SalesChannel\CachedCurrencyRoute::Shopware\Core\System\Currency\SalesChannel\{closure} (line 72)"
20 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
21 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 108)"
22 => "Shopware\Core\System\Currency\SalesChannel\CachedCurrencyRoute::load (line 79)"
23 => "Shopware\Storefront\Pagelet\Header\HeaderPageletLoader::load (line 89)"
24 => "Shopware\Storefront\Page\GenericPageLoader::Shopware\Storefront\Page\{closure} (line 59)"
25 => "Shopware\Core\Profiling\Profiler::trace (line 132)"
26 => "Shopware\Storefront\Page\GenericPageLoader::load (line 66)"
27 => "Shopware\Storefront\Page\Account\Order\AccountOrderPageLoader::load (line 119)"
28 => "Shopware\Storefront\Controller\AccountOrderController::orderOverview (line 163)"
29 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
30 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
31 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
32 => "Shopware\Core\HttpKernel::doHandle (line 81)"
33 => "Shopware\Core\HttpKernel::handle (line 85)"
]
|
161 |
0.43 ms |
SELECT LOWER(HEX(`id`)), `path`, `level`
FROM `category`
WHERE `id` = :activeId OR `parent_id` = :activeId OR `id` = :rootId
SELECT LOWER(HEX(`id`)), `path`, `level`
FROM `category`
WHERE `id` = 0xB3D8DD903D234D18ABE7BD3BCC555F85 OR `parent_id` = 0xB3D8DD903D234D18ABE7BD3BCC555F85 OR `id` = 0xB3D8DD903D234D18ABE7BD3BCC555F85
;
array:36 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 1042)"
2 => "Doctrine\DBAL\Connection::fetchAllAssociative (line 146)"
3 => "Shopware\Core\Content\Category\SalesChannel\NavigationRoute::getCategoryMetaInfo (line 74)"
4 => "Shopware\Core\Content\Category\SalesChannel\NavigationRoute::load (line 136)"
5 => "Shopware\Core\Content\Category\SalesChannel\CachedNavigationRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 350)"
6 => "Shopware\Core\System\SystemConfig\SystemConfigService::trace (line 44)"
7 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 120)"
8 => "Shopware\Core\Framework\Adapter\Translation\Translator::trace (line 45)"
9 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 46)"
10 => "Shopware\Core\Framework\Adapter\Cache\CacheTagCollection::trace (line 46)"
11 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::trace (line 41)"
12 => "Shopware\Storefront\Framework\Cache\CacheTracer::Shopware\Storefront\Framework\Cache\{closure} (line 59)"
13 => "Shopware\Storefront\Theme\ThemeConfigValueAccessor::trace (line 42)"
14 => "Shopware\Storefront\Framework\Cache\CacheTracer::trace (line 137)"
15 => "Shopware\Core\Content\Category\SalesChannel\CachedNavigationRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 72)"
16 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
17 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 142)"
18 => "Shopware\Core\Content\Category\SalesChannel\CachedNavigationRoute::loadNavigation (line 98)"
19 => "Shopware\Core\Content\Category\SalesChannel\CachedNavigationRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 59)"
20 => "Shopware\Core\Profiling\Profiler::trace (line 111)"
21 => "Shopware\Core\Content\Category\SalesChannel\CachedNavigationRoute::load (line 48)"
22 => "Shopware\Core\Content\Category\SalesChannel\TreeBuildingNavigationRoute::load (line 68)"
23 => "Shopware\Core\Content\Category\Service\NavigationLoader::load (line 109)"
24 => "Shopware\Storefront\Pagelet\Header\HeaderPageletLoader::getServiceMenu (line 93)"
25 => "Shopware\Storefront\Pagelet\Header\HeaderPageletLoader::load (line 89)"
26 => "Shopware\Storefront\Page\GenericPageLoader::Shopware\Storefront\Page\{closure} (line 59)"
27 => "Shopware\Core\Profiling\Profiler::trace (line 132)"
28 => "Shopware\Storefront\Page\GenericPageLoader::load (line 66)"
29 => "Shopware\Storefront\Page\Account\Order\AccountOrderPageLoader::load (line 119)"
30 => "Shopware\Storefront\Controller\AccountOrderController::orderOverview (line 163)"
31 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
32 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
33 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
34 => "Shopware\Core\HttpKernel::doHandle (line 81)"
35 => "Shopware\Core\HttpKernel::handle (line 85)"
]
|
162 |
2.27 ms |
SELECT `category`.`id` as `category.id`, `category`.`version_id` as `category.versionId`, `category`.`parent_id` as `category.parentId`, `category`.`parent_version_id` as `category.parentVersionId`, `category`.`after_category_id` as `category.afterCategoryId`, `category`.`after_category_version_id` as `category.afterCategoryVersionId`, `category`.`media_id` as `category.mediaId`, `category`.`display_nested_products` as `category.displayNestedProducts`, `category`.`auto_increment` as `category.autoIncrement`, `category`.`level` as `category.level`, `category`.`path` as `category.path`, `category`.`child_count` as `category.childCount`, `category`.`type` as `category.type`, `category`.`product_assignment_type` as `category.productAssignmentType`, `category`.`visible` as `category.visible`, `category`.`active` as `category.active`, `category`.`cms_page_id` as `category.cmsPageId`, `category`.`cms_page_version_id` as `category.cmsPageVersionId`, `category`.`product_stream_id` as `category.productStreamId`, `category`.`created_at` as `category.createdAt`, `category`.`updated_at` as `category.updatedAt`, `category.media`.`id` as `category.media.id`, `category.media`.`user_id` as `category.media.userId`, `category.media`.`media_folder_id` as `category.media.mediaFolderId`, `category.media`.`mime_type` as `category.media.mimeType`, `category.media`.`file_extension` as `category.media.fileExtension`, `category.media`.`uploaded_at` as `category.media.uploadedAt`, `category.media`.`file_name` as `category.media.fileName`, `category.media`.`file_size` as `category.media.fileSize`, `category.media`.`media_type` as `category.media.mediaTypeRaw`, `category.media`.`meta_data` as `category.media.metaData`, `category.media`.`private` as `category.media.private`, `category.media`.`thumbnails_ro` as `category.media.thumbnailsRo`, `category.media`.`created_at` as `category.media.createdAt`, `category.media`.`updated_at` as `category.media.updatedAt`, `category.media.translation.title`, COALESCE(`category.media.translation.title`,`category.media.translation.title`) as `category.media.title`, `category.media.translation.alt`, COALESCE(`category.media.translation.alt`,`category.media.translation.alt`) as `category.media.alt`, `category.media.translation.customFields`, COALESCE(`category.media.translation.customFields`,`category.media.translation.customFields`) as `category.media.customFields`, `category.media.translation.createdAt`, `category.media.translation.updatedAt`, `category.media.translation.mediaId`, `category.media.translation.languageId`, `category.translation.name`, COALESCE(`category.translation.name`,`category.translation.name`) as `category.name`, `category.translation.breadcrumb`, COALESCE(`category.translation.breadcrumb`,`category.translation.breadcrumb`) as `category.breadcrumb`, `category.translation.slotConfig`, COALESCE(`category.translation.slotConfig`,`category.translation.slotConfig`) as `category.slotConfig`, `category.translation.linkType`, COALESCE(`category.translation.linkType`,`category.translation.linkType`) as `category.linkType`, `category.translation.internalLink`, COALESCE(`category.translation.internalLink`,`category.translation.internalLink`) as `category.internalLink`, `category.translation.externalLink`, COALESCE(`category.translation.externalLink`,`category.translation.externalLink`) as `category.externalLink`, `category.translation.linkNewTab`, COALESCE(`category.translation.linkNewTab`,`category.translation.linkNewTab`) as `category.linkNewTab`, `category.translation.description`, COALESCE(`category.translation.description`,`category.translation.description`) as `category.description`, `category.translation.metaTitle`, COALESCE(`category.translation.metaTitle`,`category.translation.metaTitle`) as `category.metaTitle`, `category.translation.metaDescription`, COALESCE(`category.translation.metaDescription`,`category.translation.metaDescription`) as `category.metaDescription`, `category.translation.keywords`, COALESCE(`category.translation.keywords`,`category.translation.keywords`) as `category.keywords`, `category.translation.customFields`, COALESCE(`category.translation.customFields`,`category.translation.customFields`) as `category.customFields`, `category.translation.createdAt`, `category.translation.updatedAt`, `category.translation.categoryId`, `category.translation.languageId`, `category.translation.categoryVersionId` FROM `category` LEFT JOIN (SELECT `category.translation`.category_id, `category.translation`.category_version_id, `category.translation`.name as `category.translation.name`, `category.translation`.breadcrumb as `category.translation.breadcrumb`, `category.translation`.slot_config as `category.translation.slotConfig`, `category.translation`.link_type as `category.translation.linkType`, `category.translation`.internal_link as `category.translation.internalLink`, `category.translation`.external_link as `category.translation.externalLink`, `category.translation`.link_new_tab as `category.translation.linkNewTab`, `category.translation`.description as `category.translation.description`, `category.translation`.meta_title as `category.translation.metaTitle`, `category.translation`.meta_description as `category.translation.metaDescription`, `category.translation`.keywords as `category.translation.keywords`, `category.translation`.custom_fields as `category.translation.customFields`, `category.translation`.created_at as `category.translation.createdAt`, `category.translation`.updated_at as `category.translation.updatedAt`, `category.translation`.category_id as `category.translation.categoryId`, `category.translation`.language_id as `category.translation.languageId`, `category.translation`.category_version_id as `category.translation.categoryVersionId` FROM `category_translation` `category.translation` WHERE `category.translation`.language_id = :languageId) `category.category_translation` ON `category.category_translation`.`category_id` = `category`.`id` AND `category.category_translation`.category_version_id = `category`.version_id LEFT JOIN `media` `category.media` ON `category`.`media_id` = `category.media`.`id` LEFT JOIN (SELECT `category.media.translation`.media_id, `category.media.translation`.title as `category.media.translation.title`, `category.media.translation`.alt as `category.media.translation.alt`, `category.media.translation`.custom_fields as `category.media.translation.customFields`, `category.media.translation`.created_at as `category.media.translation.createdAt`, `category.media.translation`.updated_at as `category.media.translation.updatedAt`, `category.media.translation`.media_id as `category.media.translation.mediaId`, `category.media.translation`.language_id as `category.media.translation.languageId` FROM `media_translation` `category.media.translation` WHERE `category.media.translation`.language_id = :languageId) `category.media.media_translation` ON `category.media.media_translation`.`media_id` = `category.media`.`id` WHERE (`category`.`version_id` = :version) AND ((`category`.`path` LIKE :param_544233683d904b069cdc2ab9865f78eb AND (`category`.`level` > :param_9d367d7088f84b01bdb4f38c27b35e26 AND `category`.`level` <= :param_490ece8692834a378e3c865fe7c345a1)))
SELECT
`category`.`id` as `category.id`,
`category`.`version_id` as `category.versionId`,
`category`.`parent_id` as `category.parentId`,
`category`.`parent_version_id` as `category.parentVersionId`,
`category`.`after_category_id` as `category.afterCategoryId`,
`category`.`after_category_version_id` as `category.afterCategoryVersionId`,
`category`.`media_id` as `category.mediaId`,
`category`.`display_nested_products` as `category.displayNestedProducts`,
`category`.`auto_increment` as `category.autoIncrement`,
`category`.`level` as `category.level`,
`category`.`path` as `category.path`,
`category`.`child_count` as `category.childCount`,
`category`.`type` as `category.type`,
`category`.`product_assignment_type` as `category.productAssignmentType`,
`category`.`visible` as `category.visible`,
`category`.`active` as `category.active`,
`category`.`cms_page_id` as `category.cmsPageId`,
`category`.`cms_page_version_id` as `category.cmsPageVersionId`,
`category`.`product_stream_id` as `category.productStreamId`,
`category`.`created_at` as `category.createdAt`,
`category`.`updated_at` as `category.updatedAt`,
`category.media`.`id` as `category.media.id`,
`category.media`.`user_id` as `category.media.userId`,
`category.media`.`media_folder_id` as `category.media.mediaFolderId`,
`category.media`.`mime_type` as `category.media.mimeType`,
`category.media`.`file_extension` as `category.media.fileExtension`,
`category.media`.`uploaded_at` as `category.media.uploadedAt`,
`category.media`.`file_name` as `category.media.fileName`,
`category.media`.`file_size` as `category.media.fileSize`,
`category.media`.`media_type` as `category.media.mediaTypeRaw`,
`category.media`.`meta_data` as `category.media.metaData`,
`category.media`.`private` as `category.media.private`,
`category.media`.`thumbnails_ro` as `category.media.thumbnailsRo`,
`category.media`.`created_at` as `category.media.createdAt`,
`category.media`.`updated_at` as `category.media.updatedAt`,
`category.media.translation.title`,
COALESCE(
`category.media.translation.title`,
`category.media.translation.title`
) as `category.media.title`,
`category.media.translation.alt`,
COALESCE(
`category.media.translation.alt`,
`category.media.translation.alt`
) as `category.media.alt`,
`category.media.translation.customFields`,
COALESCE(
`category.media.translation.customFields`,
`category.media.translation.customFields`
) as `category.media.customFields`,
`category.media.translation.createdAt`,
`category.media.translation.updatedAt`,
`category.media.translation.mediaId`,
`category.media.translation.languageId`,
`category.translation.name`,
COALESCE(
`category.translation.name`, `category.translation.name`
) as `category.name`,
`category.translation.breadcrumb`,
COALESCE(
`category.translation.breadcrumb`,
`category.translation.breadcrumb`
) as `category.breadcrumb`,
`category.translation.slotConfig`,
COALESCE(
`category.translation.slotConfig`,
`category.translation.slotConfig`
) as `category.slotConfig`,
`category.translation.linkType`,
COALESCE(
`category.translation.linkType`,
`category.translation.linkType`
) as `category.linkType`,
`category.translation.internalLink`,
COALESCE(
`category.translation.internalLink`,
`category.translation.internalLink`
) as `category.internalLink`,
`category.translation.externalLink`,
COALESCE(
`category.translation.externalLink`,
`category.translation.externalLink`
) as `category.externalLink`,
`category.translation.linkNewTab`,
COALESCE(
`category.translation.linkNewTab`,
`category.translation.linkNewTab`
) as `category.linkNewTab`,
`category.translation.description`,
COALESCE(
`category.translation.description`,
`category.translation.description`
) as `category.description`,
`category.translation.metaTitle`,
COALESCE(
`category.translation.metaTitle`,
`category.translation.metaTitle`
) as `category.metaTitle`,
`category.translation.metaDescription`,
COALESCE(
`category.translation.metaDescription`,
`category.translation.metaDescription`
) as `category.metaDescription`,
`category.translation.keywords`,
COALESCE(
`category.translation.keywords`,
`category.translation.keywords`
) as `category.keywords`,
`category.translation.customFields`,
COALESCE(
`category.translation.customFields`,
`category.translation.customFields`
) as `category.customFields`,
`category.translation.createdAt`,
`category.translation.updatedAt`,
`category.translation.categoryId`,
`category.translation.languageId`,
`category.translation.categoryVersionId`
FROM
`category`
LEFT JOIN (
SELECT
`category.translation`.category_id,
`category.translation`.category_version_id,
`category.translation`.name as `category.translation.name`,
`category.translation`.breadcrumb as `category.translation.breadcrumb`,
`category.translation`.slot_config as `category.translation.slotConfig`,
`category.translation`.link_type as `category.translation.linkType`,
`category.translation`.internal_link as `category.translation.internalLink`,
`category.translation`.external_link as `category.translation.externalLink`,
`category.translation`.link_new_tab as `category.translation.linkNewTab`,
`category.translation`.description as `category.translation.description`,
`category.translation`.meta_title as `category.translation.metaTitle`,
`category.translation`.meta_description as `category.translation.metaDescription`,
`category.translation`.keywords as `category.translation.keywords`,
`category.translation`.custom_fields as `category.translation.customFields`,
`category.translation`.created_at as `category.translation.createdAt`,
`category.translation`.updated_at as `category.translation.updatedAt`,
`category.translation`.category_id as `category.translation.categoryId`,
`category.translation`.language_id as `category.translation.languageId`,
`category.translation`.category_version_id as `category.translation.categoryVersionId`
FROM
`category_translation` `category.translation`
WHERE
`category.translation`.language_id = : languageId
) `category.category_translation` ON `category.category_translation`.`category_id` = `category`.`id`
AND `category.category_translation`.category_version_id = `category`.version_id
LEFT JOIN `media` `category.media` ON `category`.`media_id` = `category.media`.`id`
LEFT JOIN (
SELECT
`category.media.translation`.media_id,
`category.media.translation`.title as `category.media.translation.title`,
`category.media.translation`.alt as `category.media.translation.alt`,
`category.media.translation`.custom_fields as `category.media.translation.customFields`,
`category.media.translation`.created_at as `category.media.translation.createdAt`,
`category.media.translation`.updated_at as `category.media.translation.updatedAt`,
`category.media.translation`.media_id as `category.media.translation.mediaId`,
`category.media.translation`.language_id as `category.media.translation.languageId`
FROM
`media_translation` `category.media.translation`
WHERE
`category.media.translation`.language_id = : languageId
) `category.media.media_translation` ON `category.media.media_translation`.`media_id` = `category.media`.`id`
WHERE
(
`category`.`version_id` = : version
)
AND (
(
`category`.`path` LIKE : param_544233683d904b069cdc2ab9865f78eb
AND (
`category`.`level` > : param_9d367d7088f84b01bdb4f38c27b35e26
AND `category`.`level` <= : param_490ece8692834a378e3c865fe7c345a1
)
)
)
SELECT `category`.`id` as `category.id`, `category`.`version_id` as `category.versionId`, `category`.`parent_id` as `category.parentId`, `category`.`parent_version_id` as `category.parentVersionId`, `category`.`after_category_id` as `category.afterCategoryId`, `category`.`after_category_version_id` as `category.afterCategoryVersionId`, `category`.`media_id` as `category.mediaId`, `category`.`display_nested_products` as `category.displayNestedProducts`, `category`.`auto_increment` as `category.autoIncrement`, `category`.`level` as `category.level`, `category`.`path` as `category.path`, `category`.`child_count` as `category.childCount`, `category`.`type` as `category.type`, `category`.`product_assignment_type` as `category.productAssignmentType`, `category`.`visible` as `category.visible`, `category`.`active` as `category.active`, `category`.`cms_page_id` as `category.cmsPageId`, `category`.`cms_page_version_id` as `category.cmsPageVersionId`, `category`.`product_stream_id` as `category.productStreamId`, `category`.`created_at` as `category.createdAt`, `category`.`updated_at` as `category.updatedAt`, `category.media`.`id` as `category.media.id`, `category.media`.`user_id` as `category.media.userId`, `category.media`.`media_folder_id` as `category.media.mediaFolderId`, `category.media`.`mime_type` as `category.media.mimeType`, `category.media`.`file_extension` as `category.media.fileExtension`, `category.media`.`uploaded_at` as `category.media.uploadedAt`, `category.media`.`file_name` as `category.media.fileName`, `category.media`.`file_size` as `category.media.fileSize`, `category.media`.`media_type` as `category.media.mediaTypeRaw`, `category.media`.`meta_data` as `category.media.metaData`, `category.media`.`private` as `category.media.private`, `category.media`.`thumbnails_ro` as `category.media.thumbnailsRo`, `category.media`.`created_at` as `category.media.createdAt`, `category.media`.`updated_at` as `category.media.updatedAt`, `category.media.translation.title`, COALESCE(`category.media.translation.title`,`category.media.translation.title`) as `category.media.title`, `category.media.translation.alt`, COALESCE(`category.media.translation.alt`,`category.media.translation.alt`) as `category.media.alt`, `category.media.translation.customFields`, COALESCE(`category.media.translation.customFields`,`category.media.translation.customFields`) as `category.media.customFields`, `category.media.translation.createdAt`, `category.media.translation.updatedAt`, `category.media.translation.mediaId`, `category.media.translation.languageId`, `category.translation.name`, COALESCE(`category.translation.name`,`category.translation.name`) as `category.name`, `category.translation.breadcrumb`, COALESCE(`category.translation.breadcrumb`,`category.translation.breadcrumb`) as `category.breadcrumb`, `category.translation.slotConfig`, COALESCE(`category.translation.slotConfig`,`category.translation.slotConfig`) as `category.slotConfig`, `category.translation.linkType`, COALESCE(`category.translation.linkType`,`category.translation.linkType`) as `category.linkType`, `category.translation.internalLink`, COALESCE(`category.translation.internalLink`,`category.translation.internalLink`) as `category.internalLink`, `category.translation.externalLink`, COALESCE(`category.translation.externalLink`,`category.translation.externalLink`) as `category.externalLink`, `category.translation.linkNewTab`, COALESCE(`category.translation.linkNewTab`,`category.translation.linkNewTab`) as `category.linkNewTab`, `category.translation.description`, COALESCE(`category.translation.description`,`category.translation.description`) as `category.description`, `category.translation.metaTitle`, COALESCE(`category.translation.metaTitle`,`category.translation.metaTitle`) as `category.metaTitle`, `category.translation.metaDescription`, COALESCE(`category.translation.metaDescription`,`category.translation.metaDescription`) as `category.metaDescription`, `category.translation.keywords`, COALESCE(`category.translation.keywords`,`category.translation.keywords`) as `category.keywords`, `category.translation.customFields`, COALESCE(`category.translation.customFields`,`category.translation.customFields`) as `category.customFields`, `category.translation.createdAt`, `category.translation.updatedAt`, `category.translation.categoryId`, `category.translation.languageId`, `category.translation.categoryVersionId` FROM `category` LEFT JOIN (SELECT `category.translation`.category_id, `category.translation`.category_version_id, `category.translation`.name as `category.translation.name`, `category.translation`.breadcrumb as `category.translation.breadcrumb`, `category.translation`.slot_config as `category.translation.slotConfig`, `category.translation`.link_type as `category.translation.linkType`, `category.translation`.internal_link as `category.translation.internalLink`, `category.translation`.external_link as `category.translation.externalLink`, `category.translation`.link_new_tab as `category.translation.linkNewTab`, `category.translation`.description as `category.translation.description`, `category.translation`.meta_title as `category.translation.metaTitle`, `category.translation`.meta_description as `category.translation.metaDescription`, `category.translation`.keywords as `category.translation.keywords`, `category.translation`.custom_fields as `category.translation.customFields`, `category.translation`.created_at as `category.translation.createdAt`, `category.translation`.updated_at as `category.translation.updatedAt`, `category.translation`.category_id as `category.translation.categoryId`, `category.translation`.language_id as `category.translation.languageId`, `category.translation`.category_version_id as `category.translation.categoryVersionId` FROM `category_translation` `category.translation` WHERE `category.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `category.category_translation` ON `category.category_translation`.`category_id` = `category`.`id` AND `category.category_translation`.category_version_id = `category`.version_id LEFT JOIN `media` `category.media` ON `category`.`media_id` = `category.media`.`id` LEFT JOIN (SELECT `category.media.translation`.media_id, `category.media.translation`.title as `category.media.translation.title`, `category.media.translation`.alt as `category.media.translation.alt`, `category.media.translation`.custom_fields as `category.media.translation.customFields`, `category.media.translation`.created_at as `category.media.translation.createdAt`, `category.media.translation`.updated_at as `category.media.translation.updatedAt`, `category.media.translation`.media_id as `category.media.translation.mediaId`, `category.media.translation`.language_id as `category.media.translation.languageId` FROM `media_translation` `category.media.translation` WHERE `category.media.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `category.media.media_translation` ON `category.media.media_translation`.`media_id` = `category.media`.`id` WHERE (`category`.`version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425) AND ((`category`.`path` LIKE '%|b3d8dd903d234d18abe7bd3bcc555f85|%' AND (`category`.`level` > 1 AND `category`.`level` <= 3)));
array:41 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 242)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 316)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetch (line 148)"
4 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 93)"
5 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::read (line 195)"
6 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::read (line 117)"
7 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 132)"
8 => "Shopware\Core\Content\Category\SalesChannel\NavigationRoute::loadLevels (line 95)"
9 => "Shopware\Core\Content\Category\SalesChannel\NavigationRoute::load (line 136)"
10 => "Shopware\Core\Content\Category\SalesChannel\CachedNavigationRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 350)"
11 => "Shopware\Core\System\SystemConfig\SystemConfigService::trace (line 44)"
12 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 120)"
13 => "Shopware\Core\Framework\Adapter\Translation\Translator::trace (line 45)"
14 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 46)"
15 => "Shopware\Core\Framework\Adapter\Cache\CacheTagCollection::trace (line 46)"
16 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::trace (line 41)"
17 => "Shopware\Storefront\Framework\Cache\CacheTracer::Shopware\Storefront\Framework\Cache\{closure} (line 59)"
18 => "Shopware\Storefront\Theme\ThemeConfigValueAccessor::trace (line 42)"
19 => "Shopware\Storefront\Framework\Cache\CacheTracer::trace (line 137)"
20 => "Shopware\Core\Content\Category\SalesChannel\CachedNavigationRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 72)"
21 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
22 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 142)"
23 => "Shopware\Core\Content\Category\SalesChannel\CachedNavigationRoute::loadNavigation (line 98)"
24 => "Shopware\Core\Content\Category\SalesChannel\CachedNavigationRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 59)"
25 => "Shopware\Core\Profiling\Profiler::trace (line 111)"
26 => "Shopware\Core\Content\Category\SalesChannel\CachedNavigationRoute::load (line 48)"
27 => "Shopware\Core\Content\Category\SalesChannel\TreeBuildingNavigationRoute::load (line 68)"
28 => "Shopware\Core\Content\Category\Service\NavigationLoader::load (line 109)"
29 => "Shopware\Storefront\Pagelet\Header\HeaderPageletLoader::getServiceMenu (line 93)"
30 => "Shopware\Storefront\Pagelet\Header\HeaderPageletLoader::load (line 89)"
31 => "Shopware\Storefront\Page\GenericPageLoader::Shopware\Storefront\Page\{closure} (line 59)"
32 => "Shopware\Core\Profiling\Profiler::trace (line 132)"
33 => "Shopware\Storefront\Page\GenericPageLoader::load (line 66)"
34 => "Shopware\Storefront\Page\Account\Order\AccountOrderPageLoader::load (line 119)"
35 => "Shopware\Storefront\Controller\AccountOrderController::orderOverview (line 163)"
36 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
37 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
38 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
39 => "Shopware\Core\HttpKernel::doHandle (line 81)"
40 => "Shopware\Core\HttpKernel::handle (line 85)"
]
|
163 |
0.57 ms |
SELECT LOWER(HEX(`category`.`parent_id`)) as `category-ids.key`, COUNT(`category`.`id`) as `category-ids.count`, COUNT(DISTINCT `category`.`id`) as `visible-children-count` FROM `category` WHERE (`category`.`version_id` = :version) AND ((`category`.`path` LIKE :param_d5ade0cc06e747bbbbe99ebdffd52f94 AND `category`.`level` = :param_b6af1f5ee3ed45ecaf2abe5ce674a8cc AND `category`.`active` = :param_24e0df6eae6b499294dabfa8b0dbc4fc AND `category`.`visible` = :param_166e7b1a72ca4b1b99fa3b67152a771d)) GROUP BY `category`.`parent_id`
SELECT LOWER(HEX(`category`.`parent_id`)) as `category-ids.key`, COUNT(`category`.`id`) as `category-ids.count`, COUNT(DISTINCT `category`.`id`) as `visible-children-count` FROM `category` WHERE (`category`.`version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425) AND ((`category`.`path` LIKE '%|b3d8dd903d234d18abe7bd3bcc555f85|%' AND `category`.`level` = 3 AND `category`.`active` = 1 AND `category`.`visible` = 1)) GROUP BY `category`.`parent_id`;
array:41 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 242)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 205)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityAggregator::fetchAggregation (line 95)"
4 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityAggregator::aggregate (line 52)"
5 => "Shopware\Elasticsearch\Framework\DataAbstractionLayer\ElasticsearchEntityAggregator::aggregate (line 171)"
6 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::aggregate (line 263)"
7 => "Shopware\Core\Content\Category\SalesChannel\NavigationRoute::addVisibilityCounts (line 134)"
8 => "Shopware\Core\Content\Category\SalesChannel\NavigationRoute::loadLevels (line 95)"
9 => "Shopware\Core\Content\Category\SalesChannel\NavigationRoute::load (line 136)"
10 => "Shopware\Core\Content\Category\SalesChannel\CachedNavigationRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 350)"
11 => "Shopware\Core\System\SystemConfig\SystemConfigService::trace (line 44)"
12 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 120)"
13 => "Shopware\Core\Framework\Adapter\Translation\Translator::trace (line 45)"
14 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 46)"
15 => "Shopware\Core\Framework\Adapter\Cache\CacheTagCollection::trace (line 46)"
16 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::trace (line 41)"
17 => "Shopware\Storefront\Framework\Cache\CacheTracer::Shopware\Storefront\Framework\Cache\{closure} (line 59)"
18 => "Shopware\Storefront\Theme\ThemeConfigValueAccessor::trace (line 42)"
19 => "Shopware\Storefront\Framework\Cache\CacheTracer::trace (line 137)"
20 => "Shopware\Core\Content\Category\SalesChannel\CachedNavigationRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 72)"
21 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
22 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 142)"
23 => "Shopware\Core\Content\Category\SalesChannel\CachedNavigationRoute::loadNavigation (line 98)"
24 => "Shopware\Core\Content\Category\SalesChannel\CachedNavigationRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 59)"
25 => "Shopware\Core\Profiling\Profiler::trace (line 111)"
26 => "Shopware\Core\Content\Category\SalesChannel\CachedNavigationRoute::load (line 48)"
27 => "Shopware\Core\Content\Category\SalesChannel\TreeBuildingNavigationRoute::load (line 68)"
28 => "Shopware\Core\Content\Category\Service\NavigationLoader::load (line 109)"
29 => "Shopware\Storefront\Pagelet\Header\HeaderPageletLoader::getServiceMenu (line 93)"
30 => "Shopware\Storefront\Pagelet\Header\HeaderPageletLoader::load (line 89)"
31 => "Shopware\Storefront\Page\GenericPageLoader::Shopware\Storefront\Page\{closure} (line 59)"
32 => "Shopware\Core\Profiling\Profiler::trace (line 132)"
33 => "Shopware\Storefront\Page\GenericPageLoader::load (line 66)"
34 => "Shopware\Storefront\Page\Account\Order\AccountOrderPageLoader::load (line 119)"
35 => "Shopware\Storefront\Controller\AccountOrderController::orderOverview (line 163)"
36 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
37 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
38 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
39 => "Shopware\Core\HttpKernel::doHandle (line 81)"
40 => "Shopware\Core\HttpKernel::handle (line 85)"
]
|
164 |
1.50 ms |
SELECT `category`.`id` as `category.id`, `category`.`version_id` as `category.versionId`, `category`.`parent_id` as `category.parentId`, `category`.`parent_version_id` as `category.parentVersionId`, `category`.`after_category_id` as `category.afterCategoryId`, `category`.`after_category_version_id` as `category.afterCategoryVersionId`, `category`.`media_id` as `category.mediaId`, `category`.`display_nested_products` as `category.displayNestedProducts`, `category`.`auto_increment` as `category.autoIncrement`, `category`.`level` as `category.level`, `category`.`path` as `category.path`, `category`.`child_count` as `category.childCount`, `category`.`type` as `category.type`, `category`.`product_assignment_type` as `category.productAssignmentType`, `category`.`visible` as `category.visible`, `category`.`active` as `category.active`, `category`.`cms_page_id` as `category.cmsPageId`, `category`.`cms_page_version_id` as `category.cmsPageVersionId`, `category`.`product_stream_id` as `category.productStreamId`, `category`.`created_at` as `category.createdAt`, `category`.`updated_at` as `category.updatedAt`, `category.media`.`id` as `category.media.id`, `category.media`.`user_id` as `category.media.userId`, `category.media`.`media_folder_id` as `category.media.mediaFolderId`, `category.media`.`mime_type` as `category.media.mimeType`, `category.media`.`file_extension` as `category.media.fileExtension`, `category.media`.`uploaded_at` as `category.media.uploadedAt`, `category.media`.`file_name` as `category.media.fileName`, `category.media`.`file_size` as `category.media.fileSize`, `category.media`.`media_type` as `category.media.mediaTypeRaw`, `category.media`.`meta_data` as `category.media.metaData`, `category.media`.`private` as `category.media.private`, `category.media`.`thumbnails_ro` as `category.media.thumbnailsRo`, `category.media`.`created_at` as `category.media.createdAt`, `category.media`.`updated_at` as `category.media.updatedAt`, `category.media.translation.title`, COALESCE(`category.media.translation.title`,`category.media.translation.title`) as `category.media.title`, `category.media.translation.alt`, COALESCE(`category.media.translation.alt`,`category.media.translation.alt`) as `category.media.alt`, `category.media.translation.customFields`, COALESCE(`category.media.translation.customFields`,`category.media.translation.customFields`) as `category.media.customFields`, `category.media.translation.createdAt`, `category.media.translation.updatedAt`, `category.media.translation.mediaId`, `category.media.translation.languageId`, `category.translation.name`, COALESCE(`category.translation.name`,`category.translation.name`) as `category.name`, `category.translation.breadcrumb`, COALESCE(`category.translation.breadcrumb`,`category.translation.breadcrumb`) as `category.breadcrumb`, `category.translation.slotConfig`, COALESCE(`category.translation.slotConfig`,`category.translation.slotConfig`) as `category.slotConfig`, `category.translation.linkType`, COALESCE(`category.translation.linkType`,`category.translation.linkType`) as `category.linkType`, `category.translation.internalLink`, COALESCE(`category.translation.internalLink`,`category.translation.internalLink`) as `category.internalLink`, `category.translation.externalLink`, COALESCE(`category.translation.externalLink`,`category.translation.externalLink`) as `category.externalLink`, `category.translation.linkNewTab`, COALESCE(`category.translation.linkNewTab`,`category.translation.linkNewTab`) as `category.linkNewTab`, `category.translation.description`, COALESCE(`category.translation.description`,`category.translation.description`) as `category.description`, `category.translation.metaTitle`, COALESCE(`category.translation.metaTitle`,`category.translation.metaTitle`) as `category.metaTitle`, `category.translation.metaDescription`, COALESCE(`category.translation.metaDescription`,`category.translation.metaDescription`) as `category.metaDescription`, `category.translation.keywords`, COALESCE(`category.translation.keywords`,`category.translation.keywords`) as `category.keywords`, `category.translation.customFields`, COALESCE(`category.translation.customFields`,`category.translation.customFields`) as `category.customFields`, `category.translation.createdAt`, `category.translation.updatedAt`, `category.translation.categoryId`, `category.translation.languageId`, `category.translation.categoryVersionId` FROM `category` LEFT JOIN (SELECT `category.translation`.category_id, `category.translation`.category_version_id, `category.translation`.name as `category.translation.name`, `category.translation`.breadcrumb as `category.translation.breadcrumb`, `category.translation`.slot_config as `category.translation.slotConfig`, `category.translation`.link_type as `category.translation.linkType`, `category.translation`.internal_link as `category.translation.internalLink`, `category.translation`.external_link as `category.translation.externalLink`, `category.translation`.link_new_tab as `category.translation.linkNewTab`, `category.translation`.description as `category.translation.description`, `category.translation`.meta_title as `category.translation.metaTitle`, `category.translation`.meta_description as `category.translation.metaDescription`, `category.translation`.keywords as `category.translation.keywords`, `category.translation`.custom_fields as `category.translation.customFields`, `category.translation`.created_at as `category.translation.createdAt`, `category.translation`.updated_at as `category.translation.updatedAt`, `category.translation`.category_id as `category.translation.categoryId`, `category.translation`.language_id as `category.translation.languageId`, `category.translation`.category_version_id as `category.translation.categoryVersionId` FROM `category_translation` `category.translation` WHERE `category.translation`.language_id = :languageId) `category.category_translation` ON `category.category_translation`.`category_id` = `category`.`id` AND `category.category_translation`.category_version_id = `category`.version_id LEFT JOIN `media` `category.media` ON `category`.`media_id` = `category.media`.`id` LEFT JOIN (SELECT `category.media.translation`.media_id, `category.media.translation`.title as `category.media.translation.title`, `category.media.translation`.alt as `category.media.translation.alt`, `category.media.translation`.custom_fields as `category.media.translation.customFields`, `category.media.translation`.created_at as `category.media.translation.createdAt`, `category.media.translation`.updated_at as `category.media.translation.updatedAt`, `category.media.translation`.media_id as `category.media.translation.mediaId`, `category.media.translation`.language_id as `category.media.translation.languageId` FROM `media_translation` `category.media.translation` WHERE `category.media.translation`.language_id = :languageId) `category.media.media_translation` ON `category.media.media_translation`.`media_id` = `category.media`.`id` WHERE (`category`.`version_id` = :version) AND (`category`.`id` IN (:ids))
SELECT
`category`.`id` as `category.id`,
`category`.`version_id` as `category.versionId`,
`category`.`parent_id` as `category.parentId`,
`category`.`parent_version_id` as `category.parentVersionId`,
`category`.`after_category_id` as `category.afterCategoryId`,
`category`.`after_category_version_id` as `category.afterCategoryVersionId`,
`category`.`media_id` as `category.mediaId`,
`category`.`display_nested_products` as `category.displayNestedProducts`,
`category`.`auto_increment` as `category.autoIncrement`,
`category`.`level` as `category.level`,
`category`.`path` as `category.path`,
`category`.`child_count` as `category.childCount`,
`category`.`type` as `category.type`,
`category`.`product_assignment_type` as `category.productAssignmentType`,
`category`.`visible` as `category.visible`,
`category`.`active` as `category.active`,
`category`.`cms_page_id` as `category.cmsPageId`,
`category`.`cms_page_version_id` as `category.cmsPageVersionId`,
`category`.`product_stream_id` as `category.productStreamId`,
`category`.`created_at` as `category.createdAt`,
`category`.`updated_at` as `category.updatedAt`,
`category.media`.`id` as `category.media.id`,
`category.media`.`user_id` as `category.media.userId`,
`category.media`.`media_folder_id` as `category.media.mediaFolderId`,
`category.media`.`mime_type` as `category.media.mimeType`,
`category.media`.`file_extension` as `category.media.fileExtension`,
`category.media`.`uploaded_at` as `category.media.uploadedAt`,
`category.media`.`file_name` as `category.media.fileName`,
`category.media`.`file_size` as `category.media.fileSize`,
`category.media`.`media_type` as `category.media.mediaTypeRaw`,
`category.media`.`meta_data` as `category.media.metaData`,
`category.media`.`private` as `category.media.private`,
`category.media`.`thumbnails_ro` as `category.media.thumbnailsRo`,
`category.media`.`created_at` as `category.media.createdAt`,
`category.media`.`updated_at` as `category.media.updatedAt`,
`category.media.translation.title`,
COALESCE(
`category.media.translation.title`,
`category.media.translation.title`
) as `category.media.title`,
`category.media.translation.alt`,
COALESCE(
`category.media.translation.alt`,
`category.media.translation.alt`
) as `category.media.alt`,
`category.media.translation.customFields`,
COALESCE(
`category.media.translation.customFields`,
`category.media.translation.customFields`
) as `category.media.customFields`,
`category.media.translation.createdAt`,
`category.media.translation.updatedAt`,
`category.media.translation.mediaId`,
`category.media.translation.languageId`,
`category.translation.name`,
COALESCE(
`category.translation.name`, `category.translation.name`
) as `category.name`,
`category.translation.breadcrumb`,
COALESCE(
`category.translation.breadcrumb`,
`category.translation.breadcrumb`
) as `category.breadcrumb`,
`category.translation.slotConfig`,
COALESCE(
`category.translation.slotConfig`,
`category.translation.slotConfig`
) as `category.slotConfig`,
`category.translation.linkType`,
COALESCE(
`category.translation.linkType`,
`category.translation.linkType`
) as `category.linkType`,
`category.translation.internalLink`,
COALESCE(
`category.translation.internalLink`,
`category.translation.internalLink`
) as `category.internalLink`,
`category.translation.externalLink`,
COALESCE(
`category.translation.externalLink`,
`category.translation.externalLink`
) as `category.externalLink`,
`category.translation.linkNewTab`,
COALESCE(
`category.translation.linkNewTab`,
`category.translation.linkNewTab`
) as `category.linkNewTab`,
`category.translation.description`,
COALESCE(
`category.translation.description`,
`category.translation.description`
) as `category.description`,
`category.translation.metaTitle`,
COALESCE(
`category.translation.metaTitle`,
`category.translation.metaTitle`
) as `category.metaTitle`,
`category.translation.metaDescription`,
COALESCE(
`category.translation.metaDescription`,
`category.translation.metaDescription`
) as `category.metaDescription`,
`category.translation.keywords`,
COALESCE(
`category.translation.keywords`,
`category.translation.keywords`
) as `category.keywords`,
`category.translation.customFields`,
COALESCE(
`category.translation.customFields`,
`category.translation.customFields`
) as `category.customFields`,
`category.translation.createdAt`,
`category.translation.updatedAt`,
`category.translation.categoryId`,
`category.translation.languageId`,
`category.translation.categoryVersionId`
FROM
`category`
LEFT JOIN (
SELECT
`category.translation`.category_id,
`category.translation`.category_version_id,
`category.translation`.name as `category.translation.name`,
`category.translation`.breadcrumb as `category.translation.breadcrumb`,
`category.translation`.slot_config as `category.translation.slotConfig`,
`category.translation`.link_type as `category.translation.linkType`,
`category.translation`.internal_link as `category.translation.internalLink`,
`category.translation`.external_link as `category.translation.externalLink`,
`category.translation`.link_new_tab as `category.translation.linkNewTab`,
`category.translation`.description as `category.translation.description`,
`category.translation`.meta_title as `category.translation.metaTitle`,
`category.translation`.meta_description as `category.translation.metaDescription`,
`category.translation`.keywords as `category.translation.keywords`,
`category.translation`.custom_fields as `category.translation.customFields`,
`category.translation`.created_at as `category.translation.createdAt`,
`category.translation`.updated_at as `category.translation.updatedAt`,
`category.translation`.category_id as `category.translation.categoryId`,
`category.translation`.language_id as `category.translation.languageId`,
`category.translation`.category_version_id as `category.translation.categoryVersionId`
FROM
`category_translation` `category.translation`
WHERE
`category.translation`.language_id = : languageId
) `category.category_translation` ON `category.category_translation`.`category_id` = `category`.`id`
AND `category.category_translation`.category_version_id = `category`.version_id
LEFT JOIN `media` `category.media` ON `category`.`media_id` = `category.media`.`id`
LEFT JOIN (
SELECT
`category.media.translation`.media_id,
`category.media.translation`.title as `category.media.translation.title`,
`category.media.translation`.alt as `category.media.translation.alt`,
`category.media.translation`.custom_fields as `category.media.translation.customFields`,
`category.media.translation`.created_at as `category.media.translation.createdAt`,
`category.media.translation`.updated_at as `category.media.translation.updatedAt`,
`category.media.translation`.media_id as `category.media.translation.mediaId`,
`category.media.translation`.language_id as `category.media.translation.languageId`
FROM
`media_translation` `category.media.translation`
WHERE
`category.media.translation`.language_id = : languageId
) `category.media.media_translation` ON `category.media.media_translation`.`media_id` = `category.media`.`id`
WHERE
(
`category`.`version_id` = : version
)
AND (
`category`.`id` IN (: ids)
)
SELECT `category`.`id` as `category.id`, `category`.`version_id` as `category.versionId`, `category`.`parent_id` as `category.parentId`, `category`.`parent_version_id` as `category.parentVersionId`, `category`.`after_category_id` as `category.afterCategoryId`, `category`.`after_category_version_id` as `category.afterCategoryVersionId`, `category`.`media_id` as `category.mediaId`, `category`.`display_nested_products` as `category.displayNestedProducts`, `category`.`auto_increment` as `category.autoIncrement`, `category`.`level` as `category.level`, `category`.`path` as `category.path`, `category`.`child_count` as `category.childCount`, `category`.`type` as `category.type`, `category`.`product_assignment_type` as `category.productAssignmentType`, `category`.`visible` as `category.visible`, `category`.`active` as `category.active`, `category`.`cms_page_id` as `category.cmsPageId`, `category`.`cms_page_version_id` as `category.cmsPageVersionId`, `category`.`product_stream_id` as `category.productStreamId`, `category`.`created_at` as `category.createdAt`, `category`.`updated_at` as `category.updatedAt`, `category.media`.`id` as `category.media.id`, `category.media`.`user_id` as `category.media.userId`, `category.media`.`media_folder_id` as `category.media.mediaFolderId`, `category.media`.`mime_type` as `category.media.mimeType`, `category.media`.`file_extension` as `category.media.fileExtension`, `category.media`.`uploaded_at` as `category.media.uploadedAt`, `category.media`.`file_name` as `category.media.fileName`, `category.media`.`file_size` as `category.media.fileSize`, `category.media`.`media_type` as `category.media.mediaTypeRaw`, `category.media`.`meta_data` as `category.media.metaData`, `category.media`.`private` as `category.media.private`, `category.media`.`thumbnails_ro` as `category.media.thumbnailsRo`, `category.media`.`created_at` as `category.media.createdAt`, `category.media`.`updated_at` as `category.media.updatedAt`, `category.media.translation.title`, COALESCE(`category.media.translation.title`,`category.media.translation.title`) as `category.media.title`, `category.media.translation.alt`, COALESCE(`category.media.translation.alt`,`category.media.translation.alt`) as `category.media.alt`, `category.media.translation.customFields`, COALESCE(`category.media.translation.customFields`,`category.media.translation.customFields`) as `category.media.customFields`, `category.media.translation.createdAt`, `category.media.translation.updatedAt`, `category.media.translation.mediaId`, `category.media.translation.languageId`, `category.translation.name`, COALESCE(`category.translation.name`,`category.translation.name`) as `category.name`, `category.translation.breadcrumb`, COALESCE(`category.translation.breadcrumb`,`category.translation.breadcrumb`) as `category.breadcrumb`, `category.translation.slotConfig`, COALESCE(`category.translation.slotConfig`,`category.translation.slotConfig`) as `category.slotConfig`, `category.translation.linkType`, COALESCE(`category.translation.linkType`,`category.translation.linkType`) as `category.linkType`, `category.translation.internalLink`, COALESCE(`category.translation.internalLink`,`category.translation.internalLink`) as `category.internalLink`, `category.translation.externalLink`, COALESCE(`category.translation.externalLink`,`category.translation.externalLink`) as `category.externalLink`, `category.translation.linkNewTab`, COALESCE(`category.translation.linkNewTab`,`category.translation.linkNewTab`) as `category.linkNewTab`, `category.translation.description`, COALESCE(`category.translation.description`,`category.translation.description`) as `category.description`, `category.translation.metaTitle`, COALESCE(`category.translation.metaTitle`,`category.translation.metaTitle`) as `category.metaTitle`, `category.translation.metaDescription`, COALESCE(`category.translation.metaDescription`,`category.translation.metaDescription`) as `category.metaDescription`, `category.translation.keywords`, COALESCE(`category.translation.keywords`,`category.translation.keywords`) as `category.keywords`, `category.translation.customFields`, COALESCE(`category.translation.customFields`,`category.translation.customFields`) as `category.customFields`, `category.translation.createdAt`, `category.translation.updatedAt`, `category.translation.categoryId`, `category.translation.languageId`, `category.translation.categoryVersionId` FROM `category` LEFT JOIN (SELECT `category.translation`.category_id, `category.translation`.category_version_id, `category.translation`.name as `category.translation.name`, `category.translation`.breadcrumb as `category.translation.breadcrumb`, `category.translation`.slot_config as `category.translation.slotConfig`, `category.translation`.link_type as `category.translation.linkType`, `category.translation`.internal_link as `category.translation.internalLink`, `category.translation`.external_link as `category.translation.externalLink`, `category.translation`.link_new_tab as `category.translation.linkNewTab`, `category.translation`.description as `category.translation.description`, `category.translation`.meta_title as `category.translation.metaTitle`, `category.translation`.meta_description as `category.translation.metaDescription`, `category.translation`.keywords as `category.translation.keywords`, `category.translation`.custom_fields as `category.translation.customFields`, `category.translation`.created_at as `category.translation.createdAt`, `category.translation`.updated_at as `category.translation.updatedAt`, `category.translation`.category_id as `category.translation.categoryId`, `category.translation`.language_id as `category.translation.languageId`, `category.translation`.category_version_id as `category.translation.categoryVersionId` FROM `category_translation` `category.translation` WHERE `category.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `category.category_translation` ON `category.category_translation`.`category_id` = `category`.`id` AND `category.category_translation`.category_version_id = `category`.version_id LEFT JOIN `media` `category.media` ON `category`.`media_id` = `category.media`.`id` LEFT JOIN (SELECT `category.media.translation`.media_id, `category.media.translation`.title as `category.media.translation.title`, `category.media.translation`.alt as `category.media.translation.alt`, `category.media.translation`.custom_fields as `category.media.translation.customFields`, `category.media.translation`.created_at as `category.media.translation.createdAt`, `category.media.translation`.updated_at as `category.media.translation.updatedAt`, `category.media.translation`.media_id as `category.media.translation.mediaId`, `category.media.translation`.language_id as `category.media.translation.languageId` FROM `media_translation` `category.media.translation` WHERE `category.media.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `category.media.media_translation` ON `category.media.media_translation`.`media_id` = `category.media`.`id` WHERE (`category`.`version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425) AND (`category`.`id` IN (0xB3D8DD903D234D18ABE7BD3BCC555F85));
array:42 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 242)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 316)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetch (line 148)"
4 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 93)"
5 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::read (line 195)"
6 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::read (line 117)"
7 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 111)"
8 => "Shopware\Core\Content\Category\SalesChannel\NavigationRoute::loadCategories (line 179)"
9 => "Shopware\Core\Content\Category\SalesChannel\NavigationRoute::loadChildren (line 99)"
10 => "Shopware\Core\Content\Category\SalesChannel\NavigationRoute::load (line 136)"
11 => "Shopware\Core\Content\Category\SalesChannel\CachedNavigationRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 350)"
12 => "Shopware\Core\System\SystemConfig\SystemConfigService::trace (line 44)"
13 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 120)"
14 => "Shopware\Core\Framework\Adapter\Translation\Translator::trace (line 45)"
15 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 46)"
16 => "Shopware\Core\Framework\Adapter\Cache\CacheTagCollection::trace (line 46)"
17 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::trace (line 41)"
18 => "Shopware\Storefront\Framework\Cache\CacheTracer::Shopware\Storefront\Framework\Cache\{closure} (line 59)"
19 => "Shopware\Storefront\Theme\ThemeConfigValueAccessor::trace (line 42)"
20 => "Shopware\Storefront\Framework\Cache\CacheTracer::trace (line 137)"
21 => "Shopware\Core\Content\Category\SalesChannel\CachedNavigationRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 72)"
22 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
23 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 142)"
24 => "Shopware\Core\Content\Category\SalesChannel\CachedNavigationRoute::loadNavigation (line 98)"
25 => "Shopware\Core\Content\Category\SalesChannel\CachedNavigationRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 59)"
26 => "Shopware\Core\Profiling\Profiler::trace (line 111)"
27 => "Shopware\Core\Content\Category\SalesChannel\CachedNavigationRoute::load (line 48)"
28 => "Shopware\Core\Content\Category\SalesChannel\TreeBuildingNavigationRoute::load (line 68)"
29 => "Shopware\Core\Content\Category\Service\NavigationLoader::load (line 109)"
30 => "Shopware\Storefront\Pagelet\Header\HeaderPageletLoader::getServiceMenu (line 93)"
31 => "Shopware\Storefront\Pagelet\Header\HeaderPageletLoader::load (line 89)"
32 => "Shopware\Storefront\Page\GenericPageLoader::Shopware\Storefront\Page\{closure} (line 59)"
33 => "Shopware\Core\Profiling\Profiler::trace (line 132)"
34 => "Shopware\Storefront\Page\GenericPageLoader::load (line 66)"
35 => "Shopware\Storefront\Page\Account\Order\AccountOrderPageLoader::load (line 119)"
36 => "Shopware\Storefront\Controller\AccountOrderController::orderOverview (line 163)"
37 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
38 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
39 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
40 => "Shopware\Core\HttpKernel::doHandle (line 81)"
41 => "Shopware\Core\HttpKernel::handle (line 85)"
]
|
165 |
0.31 ms |
SELECT configuration_key, configuration_value FROM system_config WHERE (sales_channel_id IS NULL OR sales_channel_id = :salesChannelId) AND (configuration_key LIKE :prefix) ORDER BY sales_channel_id ASC
SELECT configuration_key, configuration_value FROM system_config WHERE (sales_channel_id IS NULL OR sales_channel_id = NULL) AND (configuration_key LIKE 'IntediaDoofinderSW6.config.%') ORDER BY sales_channel_id ASC;
array:29 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 242)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 189)"
3 => "Shopware\Core\System\SystemConfig\SystemConfigService::getDomain (line 188)"
4 => "Intedia\Doofinder\Doofinder\Api\Search::getConfig (line 72)"
5 => "Intedia\Doofinder\Doofinder\Api\Search::initConfig (line 56)"
6 => "Intedia\Doofinder\Doofinder\Api\Search::__construct (line 25494)"
7 => "Container4nw394j\Shopware_Core_KernelDevDebugContainer::getSearchService (line 25511)"
8 => "Container4nw394j\Shopware_Core_KernelDevDebugContainer::getSearchSubscriberService (line 15770)"
9 => "Container4nw394j\Shopware_Core_KernelDevDebugContainer::Container4nw394j\{closure} (line 245)"
10 => "Symfony\Component\EventDispatcher\EventDispatcher::sortListeners (line 76)"
11 => "Symfony\Component\EventDispatcher\EventDispatcher::getListeners (line 128)"
12 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::getListeners (line 160)"
13 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::getListeners (line 102)"
14 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::getListeners (line 68)"
15 => "Shopware\Core\Framework\Event\NestedEventDispatcher::getListeners (line 293)"
16 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::preProcess (line 148)"
17 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 53)"
18 => "Shopware\Storefront\Pagelet\Footer\FooterPageletLoader::load (line 93)"
19 => "Shopware\Storefront\Page\GenericPageLoader::Shopware\Storefront\Page\{closure} (line 59)"
20 => "Shopware\Core\Profiling\Profiler::trace (line 132)"
21 => "Shopware\Storefront\Page\GenericPageLoader::load (line 66)"
22 => "Shopware\Storefront\Page\Account\Order\AccountOrderPageLoader::load (line 119)"
23 => "Shopware\Storefront\Controller\AccountOrderController::orderOverview (line 163)"
24 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
25 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
26 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
27 => "Shopware\Core\HttpKernel::doHandle (line 81)"
28 => "Shopware\Core\HttpKernel::handle (line 85)"
]
|
166 |
0.24 ms |
SELECT configuration_key, configuration_value FROM system_config WHERE (sales_channel_id IS NULL OR sales_channel_id = :salesChannelId) AND (configuration_key LIKE :prefix) ORDER BY sales_channel_id ASC
SELECT configuration_key, configuration_value FROM system_config WHERE (sales_channel_id IS NULL OR sales_channel_id = NULL) AND (configuration_key LIKE 'IntediaDoofinderSW6.config.%') ORDER BY sales_channel_id ASC;
array:29 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 242)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 189)"
3 => "Shopware\Core\System\SystemConfig\SystemConfigService::getDomain (line 188)"
4 => "Intedia\Doofinder\Doofinder\Api\Search::getConfig (line 72)"
5 => "Intedia\Doofinder\Doofinder\Api\Search::initConfig (line 56)"
6 => "Intedia\Doofinder\Doofinder\Api\Search::__construct (line 25494)"
7 => "Container4nw394j\Shopware_Core_KernelDevDebugContainer::getSearchService (line 25511)"
8 => "Container4nw394j\Shopware_Core_KernelDevDebugContainer::getSearchSubscriberService (line 15770)"
9 => "Container4nw394j\Shopware_Core_KernelDevDebugContainer::Container4nw394j\{closure} (line 245)"
10 => "Symfony\Component\EventDispatcher\EventDispatcher::sortListeners (line 76)"
11 => "Symfony\Component\EventDispatcher\EventDispatcher::getListeners (line 128)"
12 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::getListeners (line 160)"
13 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::getListeners (line 102)"
14 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::getListeners (line 68)"
15 => "Shopware\Core\Framework\Event\NestedEventDispatcher::getListeners (line 293)"
16 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::preProcess (line 148)"
17 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 53)"
18 => "Shopware\Storefront\Pagelet\Footer\FooterPageletLoader::load (line 93)"
19 => "Shopware\Storefront\Page\GenericPageLoader::Shopware\Storefront\Page\{closure} (line 59)"
20 => "Shopware\Core\Profiling\Profiler::trace (line 132)"
21 => "Shopware\Storefront\Page\GenericPageLoader::load (line 66)"
22 => "Shopware\Storefront\Page\Account\Order\AccountOrderPageLoader::load (line 119)"
23 => "Shopware\Storefront\Controller\AccountOrderController::orderOverview (line 163)"
24 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
25 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
26 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
27 => "Shopware\Core\HttpKernel::doHandle (line 81)"
28 => "Shopware\Core\HttpKernel::handle (line 85)"
]
|
167 |
2.12 ms |
SELECT `sales_channel_domain`.`id` as `sales_channel_domain.id`, `sales_channel_domain`.`url` as `sales_channel_domain.url`, `sales_channel_domain`.`sales_channel_id` as `sales_channel_domain.salesChannelId`, `sales_channel_domain`.`language_id` as `sales_channel_domain.languageId`, `sales_channel_domain`.`currency_id` as `sales_channel_domain.currencyId`, `sales_channel_domain`.`snippet_set_id` as `sales_channel_domain.snippetSetId`, `sales_channel_domain`.`hreflang_use_only_locale` as `sales_channel_domain.hreflangUseOnlyLocale`, `sales_channel_domain`.`custom_fields` as `sales_channel_domain.customFields`, `sales_channel_domain`.`created_at` as `sales_channel_domain.createdAt`, `sales_channel_domain`.`updated_at` as `sales_channel_domain.updatedAt`, `sales_channel_domain.language`.`id` as `sales_channel_domain.language.id`, `sales_channel_domain.language`.`parent_id` as `sales_channel_domain.language.parentId`, `sales_channel_domain.language`.`locale_id` as `sales_channel_domain.language.localeId`, `sales_channel_domain.language`.`translation_code_id` as `sales_channel_domain.language.translationCodeId`, `sales_channel_domain.language`.`name` as `sales_channel_domain.language.name`, `sales_channel_domain.language`.`custom_fields` as `sales_channel_domain.language.customFields`, `sales_channel_domain.language`.`created_at` as `sales_channel_domain.language.createdAt`, `sales_channel_domain.language`.`updated_at` as `sales_channel_domain.language.updatedAt`, `sales_channel_domain.language.locale`.`id` as `sales_channel_domain.language.locale.id`, `sales_channel_domain.language.locale`.`code` as `sales_channel_domain.language.locale.code`, `sales_channel_domain.language.locale`.`created_at` as `sales_channel_domain.language.locale.createdAt`, `sales_channel_domain.language.locale`.`updated_at` as `sales_channel_domain.language.locale.updatedAt`, `sales_channel_domain.language.locale.translation.name`, COALESCE(`sales_channel_domain.language.locale.translation.name`,`sales_channel_domain.language.locale.translation.name`) as `sales_channel_domain.language.locale.name`, `sales_channel_domain.language.locale.translation.territory`, COALESCE(`sales_channel_domain.language.locale.translation.territory`,`sales_channel_domain.language.locale.translation.territory`) as `sales_channel_domain.language.locale.territory`, `sales_channel_domain.language.locale.translation.customFields`, COALESCE(`sales_channel_domain.language.locale.translation.customFields`,`sales_channel_domain.language.locale.translation.customFields`) as `sales_channel_domain.language.locale.customFields`, `sales_channel_domain.language.locale.translation.createdAt`, `sales_channel_domain.language.locale.translation.updatedAt`, `sales_channel_domain.language.locale.translation.localeId`, `sales_channel_domain.language.locale.translation.languageId`, `sales_channel_domain.currency`.`id` as `sales_channel_domain.currency.id`, `sales_channel_domain.currency`.`factor` as `sales_channel_domain.currency.factor`, `sales_channel_domain.currency`.`symbol` as `sales_channel_domain.currency.symbol`, `sales_channel_domain.currency`.`iso_code` as `sales_channel_domain.currency.isoCode`, `sales_channel_domain.currency`.`position` as `sales_channel_domain.currency.position`, `sales_channel_domain.currency`.`item_rounding` as `sales_channel_domain.currency.itemRounding`, `sales_channel_domain.currency`.`total_rounding` as `sales_channel_domain.currency.totalRounding`, `sales_channel_domain.currency`.`tax_free_from` as `sales_channel_domain.currency.taxFreeFrom`, `sales_channel_domain.currency`.`created_at` as `sales_channel_domain.currency.createdAt`, `sales_channel_domain.currency`.`updated_at` as `sales_channel_domain.currency.updatedAt`, `sales_channel_domain.currency.translation.shortName`, COALESCE(`sales_channel_domain.currency.translation.shortName`,`sales_channel_domain.currency.translation.shortName`) as `sales_channel_domain.currency.shortName`, `sales_channel_domain.currency.translation.name`, COALESCE(`sales_channel_domain.currency.translation.name`,`sales_channel_domain.currency.translation.name`) as `sales_channel_domain.currency.name`, `sales_channel_domain.currency.translation.customFields`, COALESCE(`sales_channel_domain.currency.translation.customFields`,`sales_channel_domain.currency.translation.customFields`) as `sales_channel_domain.currency.customFields`, `sales_channel_domain.currency.translation.createdAt`, `sales_channel_domain.currency.translation.updatedAt`, `sales_channel_domain.currency.translation.currencyId`, `sales_channel_domain.currency.translation.languageId` FROM `sales_channel_domain` LEFT JOIN `language` `sales_channel_domain.language` ON `sales_channel_domain`.`language_id` = `sales_channel_domain.language`.`id` LEFT JOIN `currency` `sales_channel_domain.currency` ON `sales_channel_domain`.`currency_id` = `sales_channel_domain.currency`.`id` LEFT JOIN `locale` `sales_channel_domain.language.locale` ON `sales_channel_domain.language`.`locale_id` = `sales_channel_domain.language.locale`.`id` LEFT JOIN (SELECT `sales_channel_domain.language.locale.translation`.locale_id, `sales_channel_domain.language.locale.translation`.name as `sales_channel_domain.language.locale.translation.name`, `sales_channel_domain.language.locale.translation`.territory as `sales_channel_domain.language.locale.translation.territory`, `sales_channel_domain.language.locale.translation`.custom_fields as `sales_channel_domain.language.locale.translation.customFields`, `sales_channel_domain.language.locale.translation`.created_at as `sales_channel_domain.language.locale.translation.createdAt`, `sales_channel_domain.language.locale.translation`.updated_at as `sales_channel_domain.language.locale.translation.updatedAt`, `sales_channel_domain.language.locale.translation`.locale_id as `sales_channel_domain.language.locale.translation.localeId`, `sales_channel_domain.language.locale.translation`.language_id as `sales_channel_domain.language.locale.translation.languageId` FROM `locale_translation` `sales_channel_domain.language.locale.translation` WHERE `sales_channel_domain.language.locale.translation`.language_id = :languageId) `sales_channel_domain.language.locale.locale_translation` ON `sales_channel_domain.language.locale.locale_translation`.`locale_id` = `sales_channel_domain.language.locale`.`id` LEFT JOIN (SELECT `sales_channel_domain.currency.translation`.currency_id, `sales_channel_domain.currency.translation`.short_name as `sales_channel_domain.currency.translation.shortName`, `sales_channel_domain.currency.translation`.name as `sales_channel_domain.currency.translation.name`, `sales_channel_domain.currency.translation`.custom_fields as `sales_channel_domain.currency.translation.customFields`, `sales_channel_domain.currency.translation`.created_at as `sales_channel_domain.currency.translation.createdAt`, `sales_channel_domain.currency.translation`.updated_at as `sales_channel_domain.currency.translation.updatedAt`, `sales_channel_domain.currency.translation`.currency_id as `sales_channel_domain.currency.translation.currencyId`, `sales_channel_domain.currency.translation`.language_id as `sales_channel_domain.currency.translation.languageId` FROM `currency_translation` `sales_channel_domain.currency.translation` WHERE `sales_channel_domain.currency.translation`.language_id = :languageId) `sales_channel_domain.currency.currency_translation` ON `sales_channel_domain.currency.currency_translation`.`currency_id` = `sales_channel_domain.currency`.`id` WHERE `sales_channel_domain`.`id` IN (:ids)
SELECT
`sales_channel_domain`.`id` as `sales_channel_domain.id`,
`sales_channel_domain`.`url` as `sales_channel_domain.url`,
`sales_channel_domain`.`sales_channel_id` as `sales_channel_domain.salesChannelId`,
`sales_channel_domain`.`language_id` as `sales_channel_domain.languageId`,
`sales_channel_domain`.`currency_id` as `sales_channel_domain.currencyId`,
`sales_channel_domain`.`snippet_set_id` as `sales_channel_domain.snippetSetId`,
`sales_channel_domain`.`hreflang_use_only_locale` as `sales_channel_domain.hreflangUseOnlyLocale`,
`sales_channel_domain`.`custom_fields` as `sales_channel_domain.customFields`,
`sales_channel_domain`.`created_at` as `sales_channel_domain.createdAt`,
`sales_channel_domain`.`updated_at` as `sales_channel_domain.updatedAt`,
`sales_channel_domain.language`.`id` as `sales_channel_domain.language.id`,
`sales_channel_domain.language`.`parent_id` as `sales_channel_domain.language.parentId`,
`sales_channel_domain.language`.`locale_id` as `sales_channel_domain.language.localeId`,
`sales_channel_domain.language`.`translation_code_id` as `sales_channel_domain.language.translationCodeId`,
`sales_channel_domain.language`.`name` as `sales_channel_domain.language.name`,
`sales_channel_domain.language`.`custom_fields` as `sales_channel_domain.language.customFields`,
`sales_channel_domain.language`.`created_at` as `sales_channel_domain.language.createdAt`,
`sales_channel_domain.language`.`updated_at` as `sales_channel_domain.language.updatedAt`,
`sales_channel_domain.language.locale`.`id` as `sales_channel_domain.language.locale.id`,
`sales_channel_domain.language.locale`.`code` as `sales_channel_domain.language.locale.code`,
`sales_channel_domain.language.locale`.`created_at` as `sales_channel_domain.language.locale.createdAt`,
`sales_channel_domain.language.locale`.`updated_at` as `sales_channel_domain.language.locale.updatedAt`,
`sales_channel_domain.language.locale.translation.name`,
COALESCE(
`sales_channel_domain.language.locale.translation.name`,
`sales_channel_domain.language.locale.translation.name`
) as `sales_channel_domain.language.locale.name`,
`sales_channel_domain.language.locale.translation.territory`,
COALESCE(
`sales_channel_domain.language.locale.translation.territory`,
`sales_channel_domain.language.locale.translation.territory`
) as `sales_channel_domain.language.locale.territory`,
`sales_channel_domain.language.locale.translation.customFields`,
COALESCE(
`sales_channel_domain.language.locale.translation.customFields`,
`sales_channel_domain.language.locale.translation.customFields`
) as `sales_channel_domain.language.locale.customFields`,
`sales_channel_domain.language.locale.translation.createdAt`,
`sales_channel_domain.language.locale.translation.updatedAt`,
`sales_channel_domain.language.locale.translation.localeId`,
`sales_channel_domain.language.locale.translation.languageId`,
`sales_channel_domain.currency`.`id` as `sales_channel_domain.currency.id`,
`sales_channel_domain.currency`.`factor` as `sales_channel_domain.currency.factor`,
`sales_channel_domain.currency`.`symbol` as `sales_channel_domain.currency.symbol`,
`sales_channel_domain.currency`.`iso_code` as `sales_channel_domain.currency.isoCode`,
`sales_channel_domain.currency`.`position` as `sales_channel_domain.currency.position`,
`sales_channel_domain.currency`.`item_rounding` as `sales_channel_domain.currency.itemRounding`,
`sales_channel_domain.currency`.`total_rounding` as `sales_channel_domain.currency.totalRounding`,
`sales_channel_domain.currency`.`tax_free_from` as `sales_channel_domain.currency.taxFreeFrom`,
`sales_channel_domain.currency`.`created_at` as `sales_channel_domain.currency.createdAt`,
`sales_channel_domain.currency`.`updated_at` as `sales_channel_domain.currency.updatedAt`,
`sales_channel_domain.currency.translation.shortName`,
COALESCE(
`sales_channel_domain.currency.translation.shortName`,
`sales_channel_domain.currency.translation.shortName`
) as `sales_channel_domain.currency.shortName`,
`sales_channel_domain.currency.translation.name`,
COALESCE(
`sales_channel_domain.currency.translation.name`,
`sales_channel_domain.currency.translation.name`
) as `sales_channel_domain.currency.name`,
`sales_channel_domain.currency.translation.customFields`,
COALESCE(
`sales_channel_domain.currency.translation.customFields`,
`sales_channel_domain.currency.translation.customFields`
) as `sales_channel_domain.currency.customFields`,
`sales_channel_domain.currency.translation.createdAt`,
`sales_channel_domain.currency.translation.updatedAt`,
`sales_channel_domain.currency.translation.currencyId`,
`sales_channel_domain.currency.translation.languageId`
FROM
`sales_channel_domain`
LEFT JOIN `language` `sales_channel_domain.language` ON `sales_channel_domain`.`language_id` = `sales_channel_domain.language`.`id`
LEFT JOIN `currency` `sales_channel_domain.currency` ON `sales_channel_domain`.`currency_id` = `sales_channel_domain.currency`.`id`
LEFT JOIN `locale` `sales_channel_domain.language.locale` ON `sales_channel_domain.language`.`locale_id` = `sales_channel_domain.language.locale`.`id`
LEFT JOIN (
SELECT
`sales_channel_domain.language.locale.translation`.locale_id,
`sales_channel_domain.language.locale.translation`.name as `sales_channel_domain.language.locale.translation.name`,
`sales_channel_domain.language.locale.translation`.territory as `sales_channel_domain.language.locale.translation.territory`,
`sales_channel_domain.language.locale.translation`.custom_fields as `sales_channel_domain.language.locale.translation.customFields`,
`sales_channel_domain.language.locale.translation`.created_at as `sales_channel_domain.language.locale.translation.createdAt`,
`sales_channel_domain.language.locale.translation`.updated_at as `sales_channel_domain.language.locale.translation.updatedAt`,
`sales_channel_domain.language.locale.translation`.locale_id as `sales_channel_domain.language.locale.translation.localeId`,
`sales_channel_domain.language.locale.translation`.language_id as `sales_channel_domain.language.locale.translation.languageId`
FROM
`locale_translation` `sales_channel_domain.language.locale.translation`
WHERE
`sales_channel_domain.language.locale.translation`.language_id = : languageId
) `sales_channel_domain.language.locale.locale_translation` ON `sales_channel_domain.language.locale.locale_translation`.`locale_id` = `sales_channel_domain.language.locale`.`id`
LEFT JOIN (
SELECT
`sales_channel_domain.currency.translation`.currency_id,
`sales_channel_domain.currency.translation`.short_name as `sales_channel_domain.currency.translation.shortName`,
`sales_channel_domain.currency.translation`.name as `sales_channel_domain.currency.translation.name`,
`sales_channel_domain.currency.translation`.custom_fields as `sales_channel_domain.currency.translation.customFields`,
`sales_channel_domain.currency.translation`.created_at as `sales_channel_domain.currency.translation.createdAt`,
`sales_channel_domain.currency.translation`.updated_at as `sales_channel_domain.currency.translation.updatedAt`,
`sales_channel_domain.currency.translation`.currency_id as `sales_channel_domain.currency.translation.currencyId`,
`sales_channel_domain.currency.translation`.language_id as `sales_channel_domain.currency.translation.languageId`
FROM
`currency_translation` `sales_channel_domain.currency.translation`
WHERE
`sales_channel_domain.currency.translation`.language_id = : languageId
) `sales_channel_domain.currency.currency_translation` ON `sales_channel_domain.currency.currency_translation`.`currency_id` = `sales_channel_domain.currency`.`id`
WHERE
`sales_channel_domain`.`id` IN (: ids)
SELECT `sales_channel_domain`.`id` as `sales_channel_domain.id`, `sales_channel_domain`.`url` as `sales_channel_domain.url`, `sales_channel_domain`.`sales_channel_id` as `sales_channel_domain.salesChannelId`, `sales_channel_domain`.`language_id` as `sales_channel_domain.languageId`, `sales_channel_domain`.`currency_id` as `sales_channel_domain.currencyId`, `sales_channel_domain`.`snippet_set_id` as `sales_channel_domain.snippetSetId`, `sales_channel_domain`.`hreflang_use_only_locale` as `sales_channel_domain.hreflangUseOnlyLocale`, `sales_channel_domain`.`custom_fields` as `sales_channel_domain.customFields`, `sales_channel_domain`.`created_at` as `sales_channel_domain.createdAt`, `sales_channel_domain`.`updated_at` as `sales_channel_domain.updatedAt`, `sales_channel_domain.language`.`id` as `sales_channel_domain.language.id`, `sales_channel_domain.language`.`parent_id` as `sales_channel_domain.language.parentId`, `sales_channel_domain.language`.`locale_id` as `sales_channel_domain.language.localeId`, `sales_channel_domain.language`.`translation_code_id` as `sales_channel_domain.language.translationCodeId`, `sales_channel_domain.language`.`name` as `sales_channel_domain.language.name`, `sales_channel_domain.language`.`custom_fields` as `sales_channel_domain.language.customFields`, `sales_channel_domain.language`.`created_at` as `sales_channel_domain.language.createdAt`, `sales_channel_domain.language`.`updated_at` as `sales_channel_domain.language.updatedAt`, `sales_channel_domain.language.locale`.`id` as `sales_channel_domain.language.locale.id`, `sales_channel_domain.language.locale`.`code` as `sales_channel_domain.language.locale.code`, `sales_channel_domain.language.locale`.`created_at` as `sales_channel_domain.language.locale.createdAt`, `sales_channel_domain.language.locale`.`updated_at` as `sales_channel_domain.language.locale.updatedAt`, `sales_channel_domain.language.locale.translation.name`, COALESCE(`sales_channel_domain.language.locale.translation.name`,`sales_channel_domain.language.locale.translation.name`) as `sales_channel_domain.language.locale.name`, `sales_channel_domain.language.locale.translation.territory`, COALESCE(`sales_channel_domain.language.locale.translation.territory`,`sales_channel_domain.language.locale.translation.territory`) as `sales_channel_domain.language.locale.territory`, `sales_channel_domain.language.locale.translation.customFields`, COALESCE(`sales_channel_domain.language.locale.translation.customFields`,`sales_channel_domain.language.locale.translation.customFields`) as `sales_channel_domain.language.locale.customFields`, `sales_channel_domain.language.locale.translation.createdAt`, `sales_channel_domain.language.locale.translation.updatedAt`, `sales_channel_domain.language.locale.translation.localeId`, `sales_channel_domain.language.locale.translation.languageId`, `sales_channel_domain.currency`.`id` as `sales_channel_domain.currency.id`, `sales_channel_domain.currency`.`factor` as `sales_channel_domain.currency.factor`, `sales_channel_domain.currency`.`symbol` as `sales_channel_domain.currency.symbol`, `sales_channel_domain.currency`.`iso_code` as `sales_channel_domain.currency.isoCode`, `sales_channel_domain.currency`.`position` as `sales_channel_domain.currency.position`, `sales_channel_domain.currency`.`item_rounding` as `sales_channel_domain.currency.itemRounding`, `sales_channel_domain.currency`.`total_rounding` as `sales_channel_domain.currency.totalRounding`, `sales_channel_domain.currency`.`tax_free_from` as `sales_channel_domain.currency.taxFreeFrom`, `sales_channel_domain.currency`.`created_at` as `sales_channel_domain.currency.createdAt`, `sales_channel_domain.currency`.`updated_at` as `sales_channel_domain.currency.updatedAt`, `sales_channel_domain.currency.translation.shortName`, COALESCE(`sales_channel_domain.currency.translation.shortName`,`sales_channel_domain.currency.translation.shortName`) as `sales_channel_domain.currency.shortName`, `sales_channel_domain.currency.translation.name`, COALESCE(`sales_channel_domain.currency.translation.name`,`sales_channel_domain.currency.translation.name`) as `sales_channel_domain.currency.name`, `sales_channel_domain.currency.translation.customFields`, COALESCE(`sales_channel_domain.currency.translation.customFields`,`sales_channel_domain.currency.translation.customFields`) as `sales_channel_domain.currency.customFields`, `sales_channel_domain.currency.translation.createdAt`, `sales_channel_domain.currency.translation.updatedAt`, `sales_channel_domain.currency.translation.currencyId`, `sales_channel_domain.currency.translation.languageId` FROM `sales_channel_domain` LEFT JOIN `language` `sales_channel_domain.language` ON `sales_channel_domain`.`language_id` = `sales_channel_domain.language`.`id` LEFT JOIN `currency` `sales_channel_domain.currency` ON `sales_channel_domain`.`currency_id` = `sales_channel_domain.currency`.`id` LEFT JOIN `locale` `sales_channel_domain.language.locale` ON `sales_channel_domain.language`.`locale_id` = `sales_channel_domain.language.locale`.`id` LEFT JOIN (SELECT `sales_channel_domain.language.locale.translation`.locale_id, `sales_channel_domain.language.locale.translation`.name as `sales_channel_domain.language.locale.translation.name`, `sales_channel_domain.language.locale.translation`.territory as `sales_channel_domain.language.locale.translation.territory`, `sales_channel_domain.language.locale.translation`.custom_fields as `sales_channel_domain.language.locale.translation.customFields`, `sales_channel_domain.language.locale.translation`.created_at as `sales_channel_domain.language.locale.translation.createdAt`, `sales_channel_domain.language.locale.translation`.updated_at as `sales_channel_domain.language.locale.translation.updatedAt`, `sales_channel_domain.language.locale.translation`.locale_id as `sales_channel_domain.language.locale.translation.localeId`, `sales_channel_domain.language.locale.translation`.language_id as `sales_channel_domain.language.locale.translation.languageId` FROM `locale_translation` `sales_channel_domain.language.locale.translation` WHERE `sales_channel_domain.language.locale.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `sales_channel_domain.language.locale.locale_translation` ON `sales_channel_domain.language.locale.locale_translation`.`locale_id` = `sales_channel_domain.language.locale`.`id` LEFT JOIN (SELECT `sales_channel_domain.currency.translation`.currency_id, `sales_channel_domain.currency.translation`.short_name as `sales_channel_domain.currency.translation.shortName`, `sales_channel_domain.currency.translation`.name as `sales_channel_domain.currency.translation.name`, `sales_channel_domain.currency.translation`.custom_fields as `sales_channel_domain.currency.translation.customFields`, `sales_channel_domain.currency.translation`.created_at as `sales_channel_domain.currency.translation.createdAt`, `sales_channel_domain.currency.translation`.updated_at as `sales_channel_domain.currency.translation.updatedAt`, `sales_channel_domain.currency.translation`.currency_id as `sales_channel_domain.currency.translation.currencyId`, `sales_channel_domain.currency.translation`.language_id as `sales_channel_domain.currency.translation.languageId` FROM `currency_translation` `sales_channel_domain.currency.translation` WHERE `sales_channel_domain.currency.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `sales_channel_domain.currency.currency_translation` ON `sales_channel_domain.currency.currency_translation`.`currency_id` = `sales_channel_domain.currency`.`id` WHERE `sales_channel_domain`.`id` IN (0x38B42A43AB2C4F2C991B8CC540E749AB);
array:30 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 242)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 316)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetch (line 148)"
4 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 93)"
5 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::read (line 257)"
6 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::read (line 286)"
7 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::_search (line 106)"
8 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::search (line 51)"
9 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepositoryForwardCompatibilityDecorator::search (line 109)"
10 => "Intedia\Doofinder\Storefront\Subscriber\SearchSubscriber::generateCorrectDooFinderData (line 118)"
11 => "Symfony\Component\EventDispatcher\Debug\WrappedListener::__invoke (line 230)"
12 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
13 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
14 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
15 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
16 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
17 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
18 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 53)"
19 => "Shopware\Storefront\Pagelet\Footer\FooterPageletLoader::load (line 93)"
20 => "Shopware\Storefront\Page\GenericPageLoader::Shopware\Storefront\Page\{closure} (line 59)"
21 => "Shopware\Core\Profiling\Profiler::trace (line 132)"
22 => "Shopware\Storefront\Page\GenericPageLoader::load (line 66)"
23 => "Shopware\Storefront\Page\Account\Order\AccountOrderPageLoader::load (line 119)"
24 => "Shopware\Storefront\Controller\AccountOrderController::orderOverview (line 163)"
25 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
26 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
27 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
28 => "Shopware\Core\HttpKernel::doHandle (line 81)"
29 => "Shopware\Core\HttpKernel::handle (line 85)"
]
|
168 |
0.23 ms |
SELECT `intedia_doofinder_layer`.`id` as `intedia_doofinder_layer.id`, `intedia_doofinder_layer`.`doofinder_channel_id` as `intedia_doofinder_layer.doofinderChannelId`, `intedia_doofinder_layer`.`doofinder_hash_id` as `intedia_doofinder_layer.doofinderHashId`, `intedia_doofinder_layer`.`doofinder_store_id` as `intedia_doofinder_layer.doofinderStoreId`, `intedia_doofinder_layer`.`domain_id` as `intedia_doofinder_layer.domainId`, `intedia_doofinder_layer`.`trigger` as `intedia_doofinder_layer.trigger`, `intedia_doofinder_layer`.`name` as `intedia_doofinder_layer.name`, `intedia_doofinder_layer`.`status` as `intedia_doofinder_layer.status`, `intedia_doofinder_layer`.`status_message` as `intedia_doofinder_layer.statusMessage`, `intedia_doofinder_layer`.`status_date` as `intedia_doofinder_layer.statusDate`, `intedia_doofinder_layer`.`status_received_date` as `intedia_doofinder_layer.statusReceivedDate`, `intedia_doofinder_layer`.`created_at` as `intedia_doofinder_layer.createdAt`, `intedia_doofinder_layer`.`updated_at` as `intedia_doofinder_layer.updatedAt` FROM `intedia_doofinder_layer` WHERE (`intedia_doofinder_layer`.`domain_id` = :param_89c920ae93f34f1f9b0a3e341d749b85)
SELECT `intedia_doofinder_layer`.`id` as `intedia_doofinder_layer.id`, `intedia_doofinder_layer`.`doofinder_channel_id` as `intedia_doofinder_layer.doofinderChannelId`, `intedia_doofinder_layer`.`doofinder_hash_id` as `intedia_doofinder_layer.doofinderHashId`, `intedia_doofinder_layer`.`doofinder_store_id` as `intedia_doofinder_layer.doofinderStoreId`, `intedia_doofinder_layer`.`domain_id` as `intedia_doofinder_layer.domainId`, `intedia_doofinder_layer`.`trigger` as `intedia_doofinder_layer.trigger`, `intedia_doofinder_layer`.`name` as `intedia_doofinder_layer.name`, `intedia_doofinder_layer`.`status` as `intedia_doofinder_layer.status`, `intedia_doofinder_layer`.`status_message` as `intedia_doofinder_layer.statusMessage`, `intedia_doofinder_layer`.`status_date` as `intedia_doofinder_layer.statusDate`, `intedia_doofinder_layer`.`status_received_date` as `intedia_doofinder_layer.statusReceivedDate`, `intedia_doofinder_layer`.`created_at` as `intedia_doofinder_layer.createdAt`, `intedia_doofinder_layer`.`updated_at` as `intedia_doofinder_layer.updatedAt` FROM `intedia_doofinder_layer` WHERE (`intedia_doofinder_layer`.`domain_id` = 0x38B42A43AB2C4F2C991B8CC540E749AB);
array:31 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 242)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 316)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetch (line 148)"
4 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 93)"
5 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::read (line 257)"
6 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::read (line 286)"
7 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::_search (line 106)"
8 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::search (line 51)"
9 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepositoryForwardCompatibilityDecorator::search (line 166)"
10 => "Intedia\Doofinder\Core\Content\Settings\Service\SettingsHandler::getDoofinderLayer (line 111)"
11 => "Intedia\Doofinder\Storefront\Subscriber\SearchSubscriber::generateCorrectDooFinderData (line 118)"
12 => "Symfony\Component\EventDispatcher\Debug\WrappedListener::__invoke (line 230)"
13 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
14 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
15 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
16 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
17 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
18 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
19 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 53)"
20 => "Shopware\Storefront\Pagelet\Footer\FooterPageletLoader::load (line 93)"
21 => "Shopware\Storefront\Page\GenericPageLoader::Shopware\Storefront\Page\{closure} (line 59)"
22 => "Shopware\Core\Profiling\Profiler::trace (line 132)"
23 => "Shopware\Storefront\Page\GenericPageLoader::load (line 66)"
24 => "Shopware\Storefront\Page\Account\Order\AccountOrderPageLoader::load (line 119)"
25 => "Shopware\Storefront\Controller\AccountOrderController::orderOverview (line 163)"
26 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
27 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
28 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
29 => "Shopware\Core\HttpKernel::doHandle (line 81)"
30 => "Shopware\Core\HttpKernel::handle (line 85)"
]
|
169 |
0.48 ms |
SELECT `shipping_method`.`id` FROM `shipping_method` LEFT JOIN `sales_channel_shipping_method` `shipping_method.salesChannels.mapping` ON `shipping_method`.`id` = `shipping_method.salesChannels.mapping`.`shipping_method_id` LEFT JOIN (SELECT `shipping_method.translation`.shipping_method_id, `shipping_method.translation`.name as `shipping_method.translation.name`, `shipping_method.translation`.description as `shipping_method.translation.description`, `shipping_method.translation`.tracking_url as `shipping_method.translation.trackingUrl`, `shipping_method.translation`.custom_fields as `shipping_method.translation.customFields`, `shipping_method.translation`.created_at as `shipping_method.translation.createdAt`, `shipping_method.translation`.updated_at as `shipping_method.translation.updatedAt`, `shipping_method.translation`.shipping_method_id as `shipping_method.translation.shippingMethodId`, `shipping_method.translation`.language_id as `shipping_method.translation.languageId` FROM `shipping_method_translation` `shipping_method.translation` WHERE `shipping_method.translation`.language_id = :languageId) `shipping_method.shipping_method_translation` ON `shipping_method.shipping_method_translation`.`shipping_method_id` = `shipping_method`.`id` LEFT JOIN `sales_channel` `shipping_method.salesChannels` ON `shipping_method.salesChannels.mapping`.`sales_channel_id` = `shipping_method.salesChannels`.`id` WHERE (`shipping_method`.`active` = :param_8d000a838e7d4855b4ec2f7dd9dc2258 AND `shipping_method.salesChannels`.`id` = :param_d5518bb345f74a30b1aee912ddca3d17) GROUP BY `shipping_method`.`id` ORDER BY MIN(`shipping_method`.`position`) ASC, MIN(COALESCE(`shipping_method.translation.name`)) ASC
SELECT `shipping_method`.`id` FROM `shipping_method` LEFT JOIN `sales_channel_shipping_method` `shipping_method.salesChannels.mapping` ON `shipping_method`.`id` = `shipping_method.salesChannels.mapping`.`shipping_method_id` LEFT JOIN (SELECT `shipping_method.translation`.shipping_method_id, `shipping_method.translation`.name as `shipping_method.translation.name`, `shipping_method.translation`.description as `shipping_method.translation.description`, `shipping_method.translation`.tracking_url as `shipping_method.translation.trackingUrl`, `shipping_method.translation`.custom_fields as `shipping_method.translation.customFields`, `shipping_method.translation`.created_at as `shipping_method.translation.createdAt`, `shipping_method.translation`.updated_at as `shipping_method.translation.updatedAt`, `shipping_method.translation`.shipping_method_id as `shipping_method.translation.shippingMethodId`, `shipping_method.translation`.language_id as `shipping_method.translation.languageId` FROM `shipping_method_translation` `shipping_method.translation` WHERE `shipping_method.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `shipping_method.shipping_method_translation` ON `shipping_method.shipping_method_translation`.`shipping_method_id` = `shipping_method`.`id` LEFT JOIN `sales_channel` `shipping_method.salesChannels` ON `shipping_method.salesChannels.mapping`.`sales_channel_id` = `shipping_method.salesChannels`.`id` WHERE (`shipping_method`.`active` = 1 AND `shipping_method.salesChannels`.`id` = 0x4EB9108BE4654CC9B140D14DE85579E9) GROUP BY `shipping_method`.`id` ORDER BY MIN(`shipping_method`.`position`) ASC, MIN(COALESCE(`shipping_method.translation.name`)) ASC;
array:33 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 242)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 107)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntitySearcher::search (line 62)"
4 => "Shopware\Elasticsearch\Framework\DataAbstractionLayer\ElasticsearchEntitySearcher::search (line 216)"
5 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::doSearch (line 122)"
6 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 59)"
7 => "Shopware\Core\Checkout\Shipping\SalesChannel\ShippingMethodRoute::load (line 99)"
8 => "Shopware\Core\Checkout\Shipping\SalesChannel\CachedShippingMethodRoute::Shopware\Core\Checkout\Shipping\SalesChannel\{closure} (line 350)"
9 => "Shopware\Core\System\SystemConfig\SystemConfigService::trace (line 44)"
10 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 120)"
11 => "Shopware\Core\Framework\Adapter\Translation\Translator::trace (line 45)"
12 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 46)"
13 => "Shopware\Core\Framework\Adapter\Cache\CacheTagCollection::trace (line 46)"
14 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::trace (line 41)"
15 => "Shopware\Storefront\Framework\Cache\CacheTracer::Shopware\Storefront\Framework\Cache\{closure} (line 59)"
16 => "Shopware\Storefront\Theme\ThemeConfigValueAccessor::trace (line 42)"
17 => "Shopware\Storefront\Framework\Cache\CacheTracer::trace (line 100)"
18 => "Shopware\Core\Checkout\Shipping\SalesChannel\CachedShippingMethodRoute::Shopware\Core\Checkout\Shipping\SalesChannel\{closure} (line 72)"
19 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
20 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 105)"
21 => "Shopware\Core\Checkout\Shipping\SalesChannel\CachedShippingMethodRoute::load (line 42)"
22 => "Shopware\Core\Checkout\Shipping\SalesChannel\SortedShippingMethodRoute::load (line 103)"
23 => "Shopware\Storefront\Page\GenericPageLoader::Shopware\Storefront\Page\{closure} (line 59)"
24 => "Shopware\Core\Profiling\Profiler::trace (line 132)"
25 => "Shopware\Storefront\Page\GenericPageLoader::load (line 66)"
26 => "Shopware\Storefront\Page\Account\Order\AccountOrderPageLoader::load (line 119)"
27 => "Shopware\Storefront\Controller\AccountOrderController::orderOverview (line 163)"
28 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
29 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
30 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
31 => "Shopware\Core\HttpKernel::doHandle (line 81)"
32 => "Shopware\Core\HttpKernel::handle (line 85)"
]
|
170 |
1.47 ms |
SELECT `shipping_method`.`id` as `shipping_method.id`, `shipping_method`.`active` as `shipping_method.active`, `shipping_method`.`position` as `shipping_method.position`, `shipping_method`.`availability_rule_id` as `shipping_method.availabilityRuleId`, `shipping_method`.`media_id` as `shipping_method.mediaId`, `shipping_method`.`delivery_time_id` as `shipping_method.deliveryTimeId`, `shipping_method`.`tax_type` as `shipping_method.taxType`, `shipping_method`.`tax_id` as `shipping_method.taxId`, `shipping_method.deliveryTime`.`id` as `shipping_method.deliveryTime.id`, `shipping_method.deliveryTime`.`min` as `shipping_method.deliveryTime.min`, `shipping_method.deliveryTime`.`max` as `shipping_method.deliveryTime.max`, `shipping_method.deliveryTime`.`unit` as `shipping_method.deliveryTime.unit`, `shipping_method.deliveryTime`.`created_at` as `shipping_method.deliveryTime.createdAt`, `shipping_method.deliveryTime`.`updated_at` as `shipping_method.deliveryTime.updatedAt`, `shipping_method.deliveryTime.translation.name`, COALESCE(`shipping_method.deliveryTime.translation.name`,`shipping_method.deliveryTime.translation.name`) as `shipping_method.deliveryTime.name`, `shipping_method.deliveryTime.translation.customFields`, COALESCE(`shipping_method.deliveryTime.translation.customFields`,`shipping_method.deliveryTime.translation.customFields`) as `shipping_method.deliveryTime.customFields`, `shipping_method.deliveryTime.translation.createdAt`, `shipping_method.deliveryTime.translation.updatedAt`, `shipping_method.deliveryTime.translation.deliveryTimeId`, `shipping_method.deliveryTime.translation.languageId`, `shipping_method`.`created_at` as `shipping_method.createdAt`, `shipping_method`.`updated_at` as `shipping_method.updatedAt`, `shipping_method.media`.`id` as `shipping_method.media.id`, `shipping_method.media`.`user_id` as `shipping_method.media.userId`, `shipping_method.media`.`media_folder_id` as `shipping_method.media.mediaFolderId`, `shipping_method.media`.`mime_type` as `shipping_method.media.mimeType`, `shipping_method.media`.`file_extension` as `shipping_method.media.fileExtension`, `shipping_method.media`.`uploaded_at` as `shipping_method.media.uploadedAt`, `shipping_method.media`.`file_name` as `shipping_method.media.fileName`, `shipping_method.media`.`file_size` as `shipping_method.media.fileSize`, `shipping_method.media`.`media_type` as `shipping_method.media.mediaTypeRaw`, `shipping_method.media`.`meta_data` as `shipping_method.media.metaData`, `shipping_method.media`.`private` as `shipping_method.media.private`, `shipping_method.media`.`thumbnails_ro` as `shipping_method.media.thumbnailsRo`, `shipping_method.media`.`created_at` as `shipping_method.media.createdAt`, `shipping_method.media`.`updated_at` as `shipping_method.media.updatedAt`, `shipping_method.media.translation.title`, COALESCE(`shipping_method.media.translation.title`,`shipping_method.media.translation.title`) as `shipping_method.media.title`, `shipping_method.media.translation.alt`, COALESCE(`shipping_method.media.translation.alt`,`shipping_method.media.translation.alt`) as `shipping_method.media.alt`, `shipping_method.media.translation.customFields`, COALESCE(`shipping_method.media.translation.customFields`,`shipping_method.media.translation.customFields`) as `shipping_method.media.customFields`, `shipping_method.media.translation.createdAt`, `shipping_method.media.translation.updatedAt`, `shipping_method.media.translation.mediaId`, `shipping_method.media.translation.languageId`, `shipping_method.translation.name`, COALESCE(`shipping_method.translation.name`,`shipping_method.translation.name`) as `shipping_method.name`, `shipping_method.translation.description`, COALESCE(`shipping_method.translation.description`,`shipping_method.translation.description`) as `shipping_method.description`, `shipping_method.translation.trackingUrl`, COALESCE(`shipping_method.translation.trackingUrl`,`shipping_method.translation.trackingUrl`) as `shipping_method.trackingUrl`, `shipping_method.translation.customFields`, COALESCE(`shipping_method.translation.customFields`,`shipping_method.translation.customFields`) as `shipping_method.customFields`, `shipping_method.translation.createdAt`, `shipping_method.translation.updatedAt`, `shipping_method.translation.shippingMethodId`, `shipping_method.translation.languageId` FROM `shipping_method` LEFT JOIN (SELECT `shipping_method.translation`.shipping_method_id, `shipping_method.translation`.name as `shipping_method.translation.name`, `shipping_method.translation`.description as `shipping_method.translation.description`, `shipping_method.translation`.tracking_url as `shipping_method.translation.trackingUrl`, `shipping_method.translation`.custom_fields as `shipping_method.translation.customFields`, `shipping_method.translation`.created_at as `shipping_method.translation.createdAt`, `shipping_method.translation`.updated_at as `shipping_method.translation.updatedAt`, `shipping_method.translation`.shipping_method_id as `shipping_method.translation.shippingMethodId`, `shipping_method.translation`.language_id as `shipping_method.translation.languageId` FROM `shipping_method_translation` `shipping_method.translation` WHERE `shipping_method.translation`.language_id = :languageId) `shipping_method.shipping_method_translation` ON `shipping_method.shipping_method_translation`.`shipping_method_id` = `shipping_method`.`id` LEFT JOIN `delivery_time` `shipping_method.deliveryTime` ON `shipping_method`.`delivery_time_id` = `shipping_method.deliveryTime`.`id` LEFT JOIN `media` `shipping_method.media` ON `shipping_method`.`media_id` = `shipping_method.media`.`id` LEFT JOIN (SELECT `shipping_method.deliveryTime.translation`.delivery_time_id, `shipping_method.deliveryTime.translation`.name as `shipping_method.deliveryTime.translation.name`, `shipping_method.deliveryTime.translation`.custom_fields as `shipping_method.deliveryTime.translation.customFields`, `shipping_method.deliveryTime.translation`.created_at as `shipping_method.deliveryTime.translation.createdAt`, `shipping_method.deliveryTime.translation`.updated_at as `shipping_method.deliveryTime.translation.updatedAt`, `shipping_method.deliveryTime.translation`.delivery_time_id as `shipping_method.deliveryTime.translation.deliveryTimeId`, `shipping_method.deliveryTime.translation`.language_id as `shipping_method.deliveryTime.translation.languageId` FROM `delivery_time_translation` `shipping_method.deliveryTime.translation` WHERE `shipping_method.deliveryTime.translation`.language_id = :languageId) `shipping_method.deliveryTime.delivery_time_translation` ON `shipping_method.deliveryTime.delivery_time_translation`.`delivery_time_id` = `shipping_method.deliveryTime`.`id` LEFT JOIN (SELECT `shipping_method.media.translation`.media_id, `shipping_method.media.translation`.title as `shipping_method.media.translation.title`, `shipping_method.media.translation`.alt as `shipping_method.media.translation.alt`, `shipping_method.media.translation`.custom_fields as `shipping_method.media.translation.customFields`, `shipping_method.media.translation`.created_at as `shipping_method.media.translation.createdAt`, `shipping_method.media.translation`.updated_at as `shipping_method.media.translation.updatedAt`, `shipping_method.media.translation`.media_id as `shipping_method.media.translation.mediaId`, `shipping_method.media.translation`.language_id as `shipping_method.media.translation.languageId` FROM `media_translation` `shipping_method.media.translation` WHERE `shipping_method.media.translation`.language_id = :languageId) `shipping_method.media.media_translation` ON `shipping_method.media.media_translation`.`media_id` = `shipping_method.media`.`id` WHERE `shipping_method`.`id` IN (:ids)
SELECT
`shipping_method`.`id` as `shipping_method.id`,
`shipping_method`.`active` as `shipping_method.active`,
`shipping_method`.`position` as `shipping_method.position`,
`shipping_method`.`availability_rule_id` as `shipping_method.availabilityRuleId`,
`shipping_method`.`media_id` as `shipping_method.mediaId`,
`shipping_method`.`delivery_time_id` as `shipping_method.deliveryTimeId`,
`shipping_method`.`tax_type` as `shipping_method.taxType`,
`shipping_method`.`tax_id` as `shipping_method.taxId`,
`shipping_method.deliveryTime`.`id` as `shipping_method.deliveryTime.id`,
`shipping_method.deliveryTime`.`min` as `shipping_method.deliveryTime.min`,
`shipping_method.deliveryTime`.`max` as `shipping_method.deliveryTime.max`,
`shipping_method.deliveryTime`.`unit` as `shipping_method.deliveryTime.unit`,
`shipping_method.deliveryTime`.`created_at` as `shipping_method.deliveryTime.createdAt`,
`shipping_method.deliveryTime`.`updated_at` as `shipping_method.deliveryTime.updatedAt`,
`shipping_method.deliveryTime.translation.name`,
COALESCE(
`shipping_method.deliveryTime.translation.name`,
`shipping_method.deliveryTime.translation.name`
) as `shipping_method.deliveryTime.name`,
`shipping_method.deliveryTime.translation.customFields`,
COALESCE(
`shipping_method.deliveryTime.translation.customFields`,
`shipping_method.deliveryTime.translation.customFields`
) as `shipping_method.deliveryTime.customFields`,
`shipping_method.deliveryTime.translation.createdAt`,
`shipping_method.deliveryTime.translation.updatedAt`,
`shipping_method.deliveryTime.translation.deliveryTimeId`,
`shipping_method.deliveryTime.translation.languageId`,
`shipping_method`.`created_at` as `shipping_method.createdAt`,
`shipping_method`.`updated_at` as `shipping_method.updatedAt`,
`shipping_method.media`.`id` as `shipping_method.media.id`,
`shipping_method.media`.`user_id` as `shipping_method.media.userId`,
`shipping_method.media`.`media_folder_id` as `shipping_method.media.mediaFolderId`,
`shipping_method.media`.`mime_type` as `shipping_method.media.mimeType`,
`shipping_method.media`.`file_extension` as `shipping_method.media.fileExtension`,
`shipping_method.media`.`uploaded_at` as `shipping_method.media.uploadedAt`,
`shipping_method.media`.`file_name` as `shipping_method.media.fileName`,
`shipping_method.media`.`file_size` as `shipping_method.media.fileSize`,
`shipping_method.media`.`media_type` as `shipping_method.media.mediaTypeRaw`,
`shipping_method.media`.`meta_data` as `shipping_method.media.metaData`,
`shipping_method.media`.`private` as `shipping_method.media.private`,
`shipping_method.media`.`thumbnails_ro` as `shipping_method.media.thumbnailsRo`,
`shipping_method.media`.`created_at` as `shipping_method.media.createdAt`,
`shipping_method.media`.`updated_at` as `shipping_method.media.updatedAt`,
`shipping_method.media.translation.title`,
COALESCE(
`shipping_method.media.translation.title`,
`shipping_method.media.translation.title`
) as `shipping_method.media.title`,
`shipping_method.media.translation.alt`,
COALESCE(
`shipping_method.media.translation.alt`,
`shipping_method.media.translation.alt`
) as `shipping_method.media.alt`,
`shipping_method.media.translation.customFields`,
COALESCE(
`shipping_method.media.translation.customFields`,
`shipping_method.media.translation.customFields`
) as `shipping_method.media.customFields`,
`shipping_method.media.translation.createdAt`,
`shipping_method.media.translation.updatedAt`,
`shipping_method.media.translation.mediaId`,
`shipping_method.media.translation.languageId`,
`shipping_method.translation.name`,
COALESCE(
`shipping_method.translation.name`,
`shipping_method.translation.name`
) as `shipping_method.name`,
`shipping_method.translation.description`,
COALESCE(
`shipping_method.translation.description`,
`shipping_method.translation.description`
) as `shipping_method.description`,
`shipping_method.translation.trackingUrl`,
COALESCE(
`shipping_method.translation.trackingUrl`,
`shipping_method.translation.trackingUrl`
) as `shipping_method.trackingUrl`,
`shipping_method.translation.customFields`,
COALESCE(
`shipping_method.translation.customFields`,
`shipping_method.translation.customFields`
) as `shipping_method.customFields`,
`shipping_method.translation.createdAt`,
`shipping_method.translation.updatedAt`,
`shipping_method.translation.shippingMethodId`,
`shipping_method.translation.languageId`
FROM
`shipping_method`
LEFT JOIN (
SELECT
`shipping_method.translation`.shipping_method_id,
`shipping_method.translation`.name as `shipping_method.translation.name`,
`shipping_method.translation`.description as `shipping_method.translation.description`,
`shipping_method.translation`.tracking_url as `shipping_method.translation.trackingUrl`,
`shipping_method.translation`.custom_fields as `shipping_method.translation.customFields`,
`shipping_method.translation`.created_at as `shipping_method.translation.createdAt`,
`shipping_method.translation`.updated_at as `shipping_method.translation.updatedAt`,
`shipping_method.translation`.shipping_method_id as `shipping_method.translation.shippingMethodId`,
`shipping_method.translation`.language_id as `shipping_method.translation.languageId`
FROM
`shipping_method_translation` `shipping_method.translation`
WHERE
`shipping_method.translation`.language_id = : languageId
) `shipping_method.shipping_method_translation` ON `shipping_method.shipping_method_translation`.`shipping_method_id` = `shipping_method`.`id`
LEFT JOIN `delivery_time` `shipping_method.deliveryTime` ON `shipping_method`.`delivery_time_id` = `shipping_method.deliveryTime`.`id`
LEFT JOIN `media` `shipping_method.media` ON `shipping_method`.`media_id` = `shipping_method.media`.`id`
LEFT JOIN (
SELECT
`shipping_method.deliveryTime.translation`.delivery_time_id,
`shipping_method.deliveryTime.translation`.name as `shipping_method.deliveryTime.translation.name`,
`shipping_method.deliveryTime.translation`.custom_fields as `shipping_method.deliveryTime.translation.customFields`,
`shipping_method.deliveryTime.translation`.created_at as `shipping_method.deliveryTime.translation.createdAt`,
`shipping_method.deliveryTime.translation`.updated_at as `shipping_method.deliveryTime.translation.updatedAt`,
`shipping_method.deliveryTime.translation`.delivery_time_id as `shipping_method.deliveryTime.translation.deliveryTimeId`,
`shipping_method.deliveryTime.translation`.language_id as `shipping_method.deliveryTime.translation.languageId`
FROM
`delivery_time_translation` `shipping_method.deliveryTime.translation`
WHERE
`shipping_method.deliveryTime.translation`.language_id = : languageId
) `shipping_method.deliveryTime.delivery_time_translation` ON `shipping_method.deliveryTime.delivery_time_translation`.`delivery_time_id` = `shipping_method.deliveryTime`.`id`
LEFT JOIN (
SELECT
`shipping_method.media.translation`.media_id,
`shipping_method.media.translation`.title as `shipping_method.media.translation.title`,
`shipping_method.media.translation`.alt as `shipping_method.media.translation.alt`,
`shipping_method.media.translation`.custom_fields as `shipping_method.media.translation.customFields`,
`shipping_method.media.translation`.created_at as `shipping_method.media.translation.createdAt`,
`shipping_method.media.translation`.updated_at as `shipping_method.media.translation.updatedAt`,
`shipping_method.media.translation`.media_id as `shipping_method.media.translation.mediaId`,
`shipping_method.media.translation`.language_id as `shipping_method.media.translation.languageId`
FROM
`media_translation` `shipping_method.media.translation`
WHERE
`shipping_method.media.translation`.language_id = : languageId
) `shipping_method.media.media_translation` ON `shipping_method.media.media_translation`.`media_id` = `shipping_method.media`.`id`
WHERE
`shipping_method`.`id` IN (: ids)
SELECT `shipping_method`.`id` as `shipping_method.id`, `shipping_method`.`active` as `shipping_method.active`, `shipping_method`.`position` as `shipping_method.position`, `shipping_method`.`availability_rule_id` as `shipping_method.availabilityRuleId`, `shipping_method`.`media_id` as `shipping_method.mediaId`, `shipping_method`.`delivery_time_id` as `shipping_method.deliveryTimeId`, `shipping_method`.`tax_type` as `shipping_method.taxType`, `shipping_method`.`tax_id` as `shipping_method.taxId`, `shipping_method.deliveryTime`.`id` as `shipping_method.deliveryTime.id`, `shipping_method.deliveryTime`.`min` as `shipping_method.deliveryTime.min`, `shipping_method.deliveryTime`.`max` as `shipping_method.deliveryTime.max`, `shipping_method.deliveryTime`.`unit` as `shipping_method.deliveryTime.unit`, `shipping_method.deliveryTime`.`created_at` as `shipping_method.deliveryTime.createdAt`, `shipping_method.deliveryTime`.`updated_at` as `shipping_method.deliveryTime.updatedAt`, `shipping_method.deliveryTime.translation.name`, COALESCE(`shipping_method.deliveryTime.translation.name`,`shipping_method.deliveryTime.translation.name`) as `shipping_method.deliveryTime.name`, `shipping_method.deliveryTime.translation.customFields`, COALESCE(`shipping_method.deliveryTime.translation.customFields`,`shipping_method.deliveryTime.translation.customFields`) as `shipping_method.deliveryTime.customFields`, `shipping_method.deliveryTime.translation.createdAt`, `shipping_method.deliveryTime.translation.updatedAt`, `shipping_method.deliveryTime.translation.deliveryTimeId`, `shipping_method.deliveryTime.translation.languageId`, `shipping_method`.`created_at` as `shipping_method.createdAt`, `shipping_method`.`updated_at` as `shipping_method.updatedAt`, `shipping_method.media`.`id` as `shipping_method.media.id`, `shipping_method.media`.`user_id` as `shipping_method.media.userId`, `shipping_method.media`.`media_folder_id` as `shipping_method.media.mediaFolderId`, `shipping_method.media`.`mime_type` as `shipping_method.media.mimeType`, `shipping_method.media`.`file_extension` as `shipping_method.media.fileExtension`, `shipping_method.media`.`uploaded_at` as `shipping_method.media.uploadedAt`, `shipping_method.media`.`file_name` as `shipping_method.media.fileName`, `shipping_method.media`.`file_size` as `shipping_method.media.fileSize`, `shipping_method.media`.`media_type` as `shipping_method.media.mediaTypeRaw`, `shipping_method.media`.`meta_data` as `shipping_method.media.metaData`, `shipping_method.media`.`private` as `shipping_method.media.private`, `shipping_method.media`.`thumbnails_ro` as `shipping_method.media.thumbnailsRo`, `shipping_method.media`.`created_at` as `shipping_method.media.createdAt`, `shipping_method.media`.`updated_at` as `shipping_method.media.updatedAt`, `shipping_method.media.translation.title`, COALESCE(`shipping_method.media.translation.title`,`shipping_method.media.translation.title`) as `shipping_method.media.title`, `shipping_method.media.translation.alt`, COALESCE(`shipping_method.media.translation.alt`,`shipping_method.media.translation.alt`) as `shipping_method.media.alt`, `shipping_method.media.translation.customFields`, COALESCE(`shipping_method.media.translation.customFields`,`shipping_method.media.translation.customFields`) as `shipping_method.media.customFields`, `shipping_method.media.translation.createdAt`, `shipping_method.media.translation.updatedAt`, `shipping_method.media.translation.mediaId`, `shipping_method.media.translation.languageId`, `shipping_method.translation.name`, COALESCE(`shipping_method.translation.name`,`shipping_method.translation.name`) as `shipping_method.name`, `shipping_method.translation.description`, COALESCE(`shipping_method.translation.description`,`shipping_method.translation.description`) as `shipping_method.description`, `shipping_method.translation.trackingUrl`, COALESCE(`shipping_method.translation.trackingUrl`,`shipping_method.translation.trackingUrl`) as `shipping_method.trackingUrl`, `shipping_method.translation.customFields`, COALESCE(`shipping_method.translation.customFields`,`shipping_method.translation.customFields`) as `shipping_method.customFields`, `shipping_method.translation.createdAt`, `shipping_method.translation.updatedAt`, `shipping_method.translation.shippingMethodId`, `shipping_method.translation.languageId` FROM `shipping_method` LEFT JOIN (SELECT `shipping_method.translation`.shipping_method_id, `shipping_method.translation`.name as `shipping_method.translation.name`, `shipping_method.translation`.description as `shipping_method.translation.description`, `shipping_method.translation`.tracking_url as `shipping_method.translation.trackingUrl`, `shipping_method.translation`.custom_fields as `shipping_method.translation.customFields`, `shipping_method.translation`.created_at as `shipping_method.translation.createdAt`, `shipping_method.translation`.updated_at as `shipping_method.translation.updatedAt`, `shipping_method.translation`.shipping_method_id as `shipping_method.translation.shippingMethodId`, `shipping_method.translation`.language_id as `shipping_method.translation.languageId` FROM `shipping_method_translation` `shipping_method.translation` WHERE `shipping_method.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `shipping_method.shipping_method_translation` ON `shipping_method.shipping_method_translation`.`shipping_method_id` = `shipping_method`.`id` LEFT JOIN `delivery_time` `shipping_method.deliveryTime` ON `shipping_method`.`delivery_time_id` = `shipping_method.deliveryTime`.`id` LEFT JOIN `media` `shipping_method.media` ON `shipping_method`.`media_id` = `shipping_method.media`.`id` LEFT JOIN (SELECT `shipping_method.deliveryTime.translation`.delivery_time_id, `shipping_method.deliveryTime.translation`.name as `shipping_method.deliveryTime.translation.name`, `shipping_method.deliveryTime.translation`.custom_fields as `shipping_method.deliveryTime.translation.customFields`, `shipping_method.deliveryTime.translation`.created_at as `shipping_method.deliveryTime.translation.createdAt`, `shipping_method.deliveryTime.translation`.updated_at as `shipping_method.deliveryTime.translation.updatedAt`, `shipping_method.deliveryTime.translation`.delivery_time_id as `shipping_method.deliveryTime.translation.deliveryTimeId`, `shipping_method.deliveryTime.translation`.language_id as `shipping_method.deliveryTime.translation.languageId` FROM `delivery_time_translation` `shipping_method.deliveryTime.translation` WHERE `shipping_method.deliveryTime.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `shipping_method.deliveryTime.delivery_time_translation` ON `shipping_method.deliveryTime.delivery_time_translation`.`delivery_time_id` = `shipping_method.deliveryTime`.`id` LEFT JOIN (SELECT `shipping_method.media.translation`.media_id, `shipping_method.media.translation`.title as `shipping_method.media.translation.title`, `shipping_method.media.translation`.alt as `shipping_method.media.translation.alt`, `shipping_method.media.translation`.custom_fields as `shipping_method.media.translation.customFields`, `shipping_method.media.translation`.created_at as `shipping_method.media.translation.createdAt`, `shipping_method.media.translation`.updated_at as `shipping_method.media.translation.updatedAt`, `shipping_method.media.translation`.media_id as `shipping_method.media.translation.mediaId`, `shipping_method.media.translation`.language_id as `shipping_method.media.translation.languageId` FROM `media_translation` `shipping_method.media.translation` WHERE `shipping_method.media.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `shipping_method.media.media_translation` ON `shipping_method.media.media_translation`.`media_id` = `shipping_method.media`.`id` WHERE `shipping_method`.`id` IN (0x735ADE806A58472397347E9397EB3E17, 0x1CAACEA3AA144B54912185A05ED8350C);
array:34 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 242)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 316)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetch (line 148)"
4 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 93)"
5 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::read (line 195)"
6 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::read (line 133)"
7 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 59)"
8 => "Shopware\Core\Checkout\Shipping\SalesChannel\ShippingMethodRoute::load (line 99)"
9 => "Shopware\Core\Checkout\Shipping\SalesChannel\CachedShippingMethodRoute::Shopware\Core\Checkout\Shipping\SalesChannel\{closure} (line 350)"
10 => "Shopware\Core\System\SystemConfig\SystemConfigService::trace (line 44)"
11 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 120)"
12 => "Shopware\Core\Framework\Adapter\Translation\Translator::trace (line 45)"
13 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 46)"
14 => "Shopware\Core\Framework\Adapter\Cache\CacheTagCollection::trace (line 46)"
15 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::trace (line 41)"
16 => "Shopware\Storefront\Framework\Cache\CacheTracer::Shopware\Storefront\Framework\Cache\{closure} (line 59)"
17 => "Shopware\Storefront\Theme\ThemeConfigValueAccessor::trace (line 42)"
18 => "Shopware\Storefront\Framework\Cache\CacheTracer::trace (line 100)"
19 => "Shopware\Core\Checkout\Shipping\SalesChannel\CachedShippingMethodRoute::Shopware\Core\Checkout\Shipping\SalesChannel\{closure} (line 72)"
20 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
21 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 105)"
22 => "Shopware\Core\Checkout\Shipping\SalesChannel\CachedShippingMethodRoute::load (line 42)"
23 => "Shopware\Core\Checkout\Shipping\SalesChannel\SortedShippingMethodRoute::load (line 103)"
24 => "Shopware\Storefront\Page\GenericPageLoader::Shopware\Storefront\Page\{closure} (line 59)"
25 => "Shopware\Core\Profiling\Profiler::trace (line 132)"
26 => "Shopware\Storefront\Page\GenericPageLoader::load (line 66)"
27 => "Shopware\Storefront\Page\Account\Order\AccountOrderPageLoader::load (line 119)"
28 => "Shopware\Storefront\Controller\AccountOrderController::orderOverview (line 163)"
29 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
30 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
31 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
32 => "Shopware\Core\HttpKernel::doHandle (line 81)"
33 => "Shopware\Core\HttpKernel::handle (line 85)"
]
|
171 |
0.31 ms |
SELECT `payment_method`.`id` FROM `payment_method` LEFT JOIN `sales_channel_payment_method` `payment_method.salesChannels.mapping` ON `payment_method`.`id` = `payment_method.salesChannels.mapping`.`payment_method_id` LEFT JOIN `sales_channel` `payment_method.salesChannels` ON `payment_method.salesChannels.mapping`.`sales_channel_id` = `payment_method.salesChannels`.`id` WHERE (`payment_method`.`active` = :param_c19d2f775db84e34ab6adb84c07d9174 AND `payment_method.salesChannels`.`id` = :param_2650bc5bb32141489465f938053c1afe) GROUP BY `payment_method`.`id` ORDER BY MIN(`payment_method`.`position`) ASC
SELECT `payment_method`.`id` FROM `payment_method` LEFT JOIN `sales_channel_payment_method` `payment_method.salesChannels.mapping` ON `payment_method`.`id` = `payment_method.salesChannels.mapping`.`payment_method_id` LEFT JOIN `sales_channel` `payment_method.salesChannels` ON `payment_method.salesChannels.mapping`.`sales_channel_id` = `payment_method.salesChannels`.`id` WHERE (`payment_method`.`active` = 1 AND `payment_method.salesChannels`.`id` = 0x4EB9108BE4654CC9B140D14DE85579E9) GROUP BY `payment_method`.`id` ORDER BY MIN(`payment_method`.`position`) ASC;
array:34 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 242)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 107)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntitySearcher::search (line 62)"
4 => "Shopware\Elasticsearch\Framework\DataAbstractionLayer\ElasticsearchEntitySearcher::search (line 216)"
5 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::doSearch (line 122)"
6 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 52)"
7 => "Shopware\Core\Checkout\Payment\SalesChannel\PaymentMethodRoute::load (line 138)"
8 => "Swag\PayPal\Checkout\SalesChannel\FilteredPaymentMethodRoute::load (line 99)"
9 => "Shopware\Core\Checkout\Payment\SalesChannel\CachedPaymentMethodRoute::Shopware\Core\Checkout\Payment\SalesChannel\{closure} (line 350)"
10 => "Shopware\Core\System\SystemConfig\SystemConfigService::trace (line 44)"
11 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 120)"
12 => "Shopware\Core\Framework\Adapter\Translation\Translator::trace (line 45)"
13 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 46)"
14 => "Shopware\Core\Framework\Adapter\Cache\CacheTagCollection::trace (line 46)"
15 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::trace (line 41)"
16 => "Shopware\Storefront\Framework\Cache\CacheTracer::Shopware\Storefront\Framework\Cache\{closure} (line 59)"
17 => "Shopware\Storefront\Theme\ThemeConfigValueAccessor::trace (line 42)"
18 => "Shopware\Storefront\Framework\Cache\CacheTracer::trace (line 100)"
19 => "Shopware\Core\Checkout\Payment\SalesChannel\CachedPaymentMethodRoute::Shopware\Core\Checkout\Payment\SalesChannel\{closure} (line 72)"
20 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
21 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 105)"
22 => "Shopware\Core\Checkout\Payment\SalesChannel\CachedPaymentMethodRoute::load (line 42)"
23 => "Shopware\Core\Checkout\Payment\SalesChannel\SortedPaymentMethodRoute::load (line 115)"
24 => "Shopware\Storefront\Page\GenericPageLoader::Shopware\Storefront\Page\{closure} (line 59)"
25 => "Shopware\Core\Profiling\Profiler::trace (line 132)"
26 => "Shopware\Storefront\Page\GenericPageLoader::load (line 66)"
27 => "Shopware\Storefront\Page\Account\Order\AccountOrderPageLoader::load (line 119)"
28 => "Shopware\Storefront\Controller\AccountOrderController::orderOverview (line 163)"
29 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
30 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
31 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
32 => "Shopware\Core\HttpKernel::doHandle (line 81)"
33 => "Shopware\Core\HttpKernel::handle (line 85)"
]
|
172 |
1.19 ms |
SELECT `payment_method`.`id` as `payment_method.id`, `payment_method`.`plugin_id` as `payment_method.pluginId`, `payment_method`.`handler_identifier` as `payment_method.handlerIdentifier`, `payment_method`.`position` as `payment_method.position`, `payment_method`.`active` as `payment_method.active`, `payment_method`.`after_order_enabled` as `payment_method.afterOrderEnabled`, `payment_method`.`availability_rule_id` as `payment_method.availabilityRuleId`, `payment_method`.`media_id` as `payment_method.mediaId`, `payment_method.appPaymentMethod`.`id` as `payment_method.appPaymentMethod.id`, `payment_method.appPaymentMethod`.`app_name` as `payment_method.appPaymentMethod.appName`, `payment_method.appPaymentMethod`.`identifier` as `payment_method.appPaymentMethod.identifier`, `payment_method.appPaymentMethod`.`pay_url` as `payment_method.appPaymentMethod.payUrl`, `payment_method.appPaymentMethod`.`finalize_url` as `payment_method.appPaymentMethod.finalizeUrl`, `payment_method.appPaymentMethod`.`validate_url` as `payment_method.appPaymentMethod.validateUrl`, `payment_method.appPaymentMethod`.`capture_url` as `payment_method.appPaymentMethod.captureUrl`, `payment_method.appPaymentMethod`.`refund_url` as `payment_method.appPaymentMethod.refundUrl`, `payment_method.appPaymentMethod`.`app_id` as `payment_method.appPaymentMethod.appId`, `payment_method.appPaymentMethod`.`original_media_id` as `payment_method.appPaymentMethod.originalMediaId`, `payment_method.appPaymentMethod`.`payment_method_id` as `payment_method.appPaymentMethod.paymentMethodId`, `payment_method.appPaymentMethod`.`created_at` as `payment_method.appPaymentMethod.createdAt`, `payment_method.appPaymentMethod`.`updated_at` as `payment_method.appPaymentMethod.updatedAt`, `payment_method`.`created_at` as `payment_method.createdAt`, `payment_method`.`updated_at` as `payment_method.updatedAt`, `payment_method.media`.`id` as `payment_method.media.id`, `payment_method.media`.`user_id` as `payment_method.media.userId`, `payment_method.media`.`media_folder_id` as `payment_method.media.mediaFolderId`, `payment_method.media`.`mime_type` as `payment_method.media.mimeType`, `payment_method.media`.`file_extension` as `payment_method.media.fileExtension`, `payment_method.media`.`uploaded_at` as `payment_method.media.uploadedAt`, `payment_method.media`.`file_name` as `payment_method.media.fileName`, `payment_method.media`.`file_size` as `payment_method.media.fileSize`, `payment_method.media`.`media_type` as `payment_method.media.mediaTypeRaw`, `payment_method.media`.`meta_data` as `payment_method.media.metaData`, `payment_method.media`.`private` as `payment_method.media.private`, `payment_method.media`.`thumbnails_ro` as `payment_method.media.thumbnailsRo`, `payment_method.media`.`created_at` as `payment_method.media.createdAt`, `payment_method.media`.`updated_at` as `payment_method.media.updatedAt`, `payment_method.media.translation.title`, COALESCE(`payment_method.media.translation.title`,`payment_method.media.translation.title`) as `payment_method.media.title`, `payment_method.media.translation.alt`, COALESCE(`payment_method.media.translation.alt`,`payment_method.media.translation.alt`) as `payment_method.media.alt`, `payment_method.media.translation.customFields`, COALESCE(`payment_method.media.translation.customFields`,`payment_method.media.translation.customFields`) as `payment_method.media.customFields`, `payment_method.media.translation.createdAt`, `payment_method.media.translation.updatedAt`, `payment_method.media.translation.mediaId`, `payment_method.media.translation.languageId`, `payment_method.translation.name`, COALESCE(`payment_method.translation.name`,`payment_method.translation.name`) as `payment_method.name`, `payment_method.translation.distinguishableName`, COALESCE(`payment_method.translation.distinguishableName`,`payment_method.translation.distinguishableName`) as `payment_method.distinguishableName`, `payment_method.translation.description`, COALESCE(`payment_method.translation.description`,`payment_method.translation.description`) as `payment_method.description`, `payment_method.translation.customFields`, COALESCE(`payment_method.translation.customFields`,`payment_method.translation.customFields`) as `payment_method.customFields`, `payment_method.translation.createdAt`, `payment_method.translation.updatedAt`, `payment_method.translation.paymentMethodId`, `payment_method.translation.languageId` FROM `payment_method` LEFT JOIN (SELECT `payment_method.translation`.payment_method_id, `payment_method.translation`.name as `payment_method.translation.name`, `payment_method.translation`.distinguishable_name as `payment_method.translation.distinguishableName`, `payment_method.translation`.description as `payment_method.translation.description`, `payment_method.translation`.custom_fields as `payment_method.translation.customFields`, `payment_method.translation`.created_at as `payment_method.translation.createdAt`, `payment_method.translation`.updated_at as `payment_method.translation.updatedAt`, `payment_method.translation`.payment_method_id as `payment_method.translation.paymentMethodId`, `payment_method.translation`.language_id as `payment_method.translation.languageId` FROM `payment_method_translation` `payment_method.translation` WHERE `payment_method.translation`.language_id = :languageId) `payment_method.payment_method_translation` ON `payment_method.payment_method_translation`.`payment_method_id` = `payment_method`.`id` LEFT JOIN `app_payment_method` `payment_method.appPaymentMethod` ON `payment_method`.`id` = `payment_method.appPaymentMethod`.`payment_method_id` LEFT JOIN `media` `payment_method.media` ON `payment_method`.`media_id` = `payment_method.media`.`id` LEFT JOIN (SELECT `payment_method.media.translation`.media_id, `payment_method.media.translation`.title as `payment_method.media.translation.title`, `payment_method.media.translation`.alt as `payment_method.media.translation.alt`, `payment_method.media.translation`.custom_fields as `payment_method.media.translation.customFields`, `payment_method.media.translation`.created_at as `payment_method.media.translation.createdAt`, `payment_method.media.translation`.updated_at as `payment_method.media.translation.updatedAt`, `payment_method.media.translation`.media_id as `payment_method.media.translation.mediaId`, `payment_method.media.translation`.language_id as `payment_method.media.translation.languageId` FROM `media_translation` `payment_method.media.translation` WHERE `payment_method.media.translation`.language_id = :languageId) `payment_method.media.media_translation` ON `payment_method.media.media_translation`.`media_id` = `payment_method.media`.`id` WHERE `payment_method`.`id` IN (:ids)
SELECT
`payment_method`.`id` as `payment_method.id`,
`payment_method`.`plugin_id` as `payment_method.pluginId`,
`payment_method`.`handler_identifier` as `payment_method.handlerIdentifier`,
`payment_method`.`position` as `payment_method.position`,
`payment_method`.`active` as `payment_method.active`,
`payment_method`.`after_order_enabled` as `payment_method.afterOrderEnabled`,
`payment_method`.`availability_rule_id` as `payment_method.availabilityRuleId`,
`payment_method`.`media_id` as `payment_method.mediaId`,
`payment_method.appPaymentMethod`.`id` as `payment_method.appPaymentMethod.id`,
`payment_method.appPaymentMethod`.`app_name` as `payment_method.appPaymentMethod.appName`,
`payment_method.appPaymentMethod`.`identifier` as `payment_method.appPaymentMethod.identifier`,
`payment_method.appPaymentMethod`.`pay_url` as `payment_method.appPaymentMethod.payUrl`,
`payment_method.appPaymentMethod`.`finalize_url` as `payment_method.appPaymentMethod.finalizeUrl`,
`payment_method.appPaymentMethod`.`validate_url` as `payment_method.appPaymentMethod.validateUrl`,
`payment_method.appPaymentMethod`.`capture_url` as `payment_method.appPaymentMethod.captureUrl`,
`payment_method.appPaymentMethod`.`refund_url` as `payment_method.appPaymentMethod.refundUrl`,
`payment_method.appPaymentMethod`.`app_id` as `payment_method.appPaymentMethod.appId`,
`payment_method.appPaymentMethod`.`original_media_id` as `payment_method.appPaymentMethod.originalMediaId`,
`payment_method.appPaymentMethod`.`payment_method_id` as `payment_method.appPaymentMethod.paymentMethodId`,
`payment_method.appPaymentMethod`.`created_at` as `payment_method.appPaymentMethod.createdAt`,
`payment_method.appPaymentMethod`.`updated_at` as `payment_method.appPaymentMethod.updatedAt`,
`payment_method`.`created_at` as `payment_method.createdAt`,
`payment_method`.`updated_at` as `payment_method.updatedAt`,
`payment_method.media`.`id` as `payment_method.media.id`,
`payment_method.media`.`user_id` as `payment_method.media.userId`,
`payment_method.media`.`media_folder_id` as `payment_method.media.mediaFolderId`,
`payment_method.media`.`mime_type` as `payment_method.media.mimeType`,
`payment_method.media`.`file_extension` as `payment_method.media.fileExtension`,
`payment_method.media`.`uploaded_at` as `payment_method.media.uploadedAt`,
`payment_method.media`.`file_name` as `payment_method.media.fileName`,
`payment_method.media`.`file_size` as `payment_method.media.fileSize`,
`payment_method.media`.`media_type` as `payment_method.media.mediaTypeRaw`,
`payment_method.media`.`meta_data` as `payment_method.media.metaData`,
`payment_method.media`.`private` as `payment_method.media.private`,
`payment_method.media`.`thumbnails_ro` as `payment_method.media.thumbnailsRo`,
`payment_method.media`.`created_at` as `payment_method.media.createdAt`,
`payment_method.media`.`updated_at` as `payment_method.media.updatedAt`,
`payment_method.media.translation.title`,
COALESCE(
`payment_method.media.translation.title`,
`payment_method.media.translation.title`
) as `payment_method.media.title`,
`payment_method.media.translation.alt`,
COALESCE(
`payment_method.media.translation.alt`,
`payment_method.media.translation.alt`
) as `payment_method.media.alt`,
`payment_method.media.translation.customFields`,
COALESCE(
`payment_method.media.translation.customFields`,
`payment_method.media.translation.customFields`
) as `payment_method.media.customFields`,
`payment_method.media.translation.createdAt`,
`payment_method.media.translation.updatedAt`,
`payment_method.media.translation.mediaId`,
`payment_method.media.translation.languageId`,
`payment_method.translation.name`,
COALESCE(
`payment_method.translation.name`,
`payment_method.translation.name`
) as `payment_method.name`,
`payment_method.translation.distinguishableName`,
COALESCE(
`payment_method.translation.distinguishableName`,
`payment_method.translation.distinguishableName`
) as `payment_method.distinguishableName`,
`payment_method.translation.description`,
COALESCE(
`payment_method.translation.description`,
`payment_method.translation.description`
) as `payment_method.description`,
`payment_method.translation.customFields`,
COALESCE(
`payment_method.translation.customFields`,
`payment_method.translation.customFields`
) as `payment_method.customFields`,
`payment_method.translation.createdAt`,
`payment_method.translation.updatedAt`,
`payment_method.translation.paymentMethodId`,
`payment_method.translation.languageId`
FROM
`payment_method`
LEFT JOIN (
SELECT
`payment_method.translation`.payment_method_id,
`payment_method.translation`.name as `payment_method.translation.name`,
`payment_method.translation`.distinguishable_name as `payment_method.translation.distinguishableName`,
`payment_method.translation`.description as `payment_method.translation.description`,
`payment_method.translation`.custom_fields as `payment_method.translation.customFields`,
`payment_method.translation`.created_at as `payment_method.translation.createdAt`,
`payment_method.translation`.updated_at as `payment_method.translation.updatedAt`,
`payment_method.translation`.payment_method_id as `payment_method.translation.paymentMethodId`,
`payment_method.translation`.language_id as `payment_method.translation.languageId`
FROM
`payment_method_translation` `payment_method.translation`
WHERE
`payment_method.translation`.language_id = : languageId
) `payment_method.payment_method_translation` ON `payment_method.payment_method_translation`.`payment_method_id` = `payment_method`.`id`
LEFT JOIN `app_payment_method` `payment_method.appPaymentMethod` ON `payment_method`.`id` = `payment_method.appPaymentMethod`.`payment_method_id`
LEFT JOIN `media` `payment_method.media` ON `payment_method`.`media_id` = `payment_method.media`.`id`
LEFT JOIN (
SELECT
`payment_method.media.translation`.media_id,
`payment_method.media.translation`.title as `payment_method.media.translation.title`,
`payment_method.media.translation`.alt as `payment_method.media.translation.alt`,
`payment_method.media.translation`.custom_fields as `payment_method.media.translation.customFields`,
`payment_method.media.translation`.created_at as `payment_method.media.translation.createdAt`,
`payment_method.media.translation`.updated_at as `payment_method.media.translation.updatedAt`,
`payment_method.media.translation`.media_id as `payment_method.media.translation.mediaId`,
`payment_method.media.translation`.language_id as `payment_method.media.translation.languageId`
FROM
`media_translation` `payment_method.media.translation`
WHERE
`payment_method.media.translation`.language_id = : languageId
) `payment_method.media.media_translation` ON `payment_method.media.media_translation`.`media_id` = `payment_method.media`.`id`
WHERE
`payment_method`.`id` IN (: ids)
SELECT `payment_method`.`id` as `payment_method.id`, `payment_method`.`plugin_id` as `payment_method.pluginId`, `payment_method`.`handler_identifier` as `payment_method.handlerIdentifier`, `payment_method`.`position` as `payment_method.position`, `payment_method`.`active` as `payment_method.active`, `payment_method`.`after_order_enabled` as `payment_method.afterOrderEnabled`, `payment_method`.`availability_rule_id` as `payment_method.availabilityRuleId`, `payment_method`.`media_id` as `payment_method.mediaId`, `payment_method.appPaymentMethod`.`id` as `payment_method.appPaymentMethod.id`, `payment_method.appPaymentMethod`.`app_name` as `payment_method.appPaymentMethod.appName`, `payment_method.appPaymentMethod`.`identifier` as `payment_method.appPaymentMethod.identifier`, `payment_method.appPaymentMethod`.`pay_url` as `payment_method.appPaymentMethod.payUrl`, `payment_method.appPaymentMethod`.`finalize_url` as `payment_method.appPaymentMethod.finalizeUrl`, `payment_method.appPaymentMethod`.`validate_url` as `payment_method.appPaymentMethod.validateUrl`, `payment_method.appPaymentMethod`.`capture_url` as `payment_method.appPaymentMethod.captureUrl`, `payment_method.appPaymentMethod`.`refund_url` as `payment_method.appPaymentMethod.refundUrl`, `payment_method.appPaymentMethod`.`app_id` as `payment_method.appPaymentMethod.appId`, `payment_method.appPaymentMethod`.`original_media_id` as `payment_method.appPaymentMethod.originalMediaId`, `payment_method.appPaymentMethod`.`payment_method_id` as `payment_method.appPaymentMethod.paymentMethodId`, `payment_method.appPaymentMethod`.`created_at` as `payment_method.appPaymentMethod.createdAt`, `payment_method.appPaymentMethod`.`updated_at` as `payment_method.appPaymentMethod.updatedAt`, `payment_method`.`created_at` as `payment_method.createdAt`, `payment_method`.`updated_at` as `payment_method.updatedAt`, `payment_method.media`.`id` as `payment_method.media.id`, `payment_method.media`.`user_id` as `payment_method.media.userId`, `payment_method.media`.`media_folder_id` as `payment_method.media.mediaFolderId`, `payment_method.media`.`mime_type` as `payment_method.media.mimeType`, `payment_method.media`.`file_extension` as `payment_method.media.fileExtension`, `payment_method.media`.`uploaded_at` as `payment_method.media.uploadedAt`, `payment_method.media`.`file_name` as `payment_method.media.fileName`, `payment_method.media`.`file_size` as `payment_method.media.fileSize`, `payment_method.media`.`media_type` as `payment_method.media.mediaTypeRaw`, `payment_method.media`.`meta_data` as `payment_method.media.metaData`, `payment_method.media`.`private` as `payment_method.media.private`, `payment_method.media`.`thumbnails_ro` as `payment_method.media.thumbnailsRo`, `payment_method.media`.`created_at` as `payment_method.media.createdAt`, `payment_method.media`.`updated_at` as `payment_method.media.updatedAt`, `payment_method.media.translation.title`, COALESCE(`payment_method.media.translation.title`,`payment_method.media.translation.title`) as `payment_method.media.title`, `payment_method.media.translation.alt`, COALESCE(`payment_method.media.translation.alt`,`payment_method.media.translation.alt`) as `payment_method.media.alt`, `payment_method.media.translation.customFields`, COALESCE(`payment_method.media.translation.customFields`,`payment_method.media.translation.customFields`) as `payment_method.media.customFields`, `payment_method.media.translation.createdAt`, `payment_method.media.translation.updatedAt`, `payment_method.media.translation.mediaId`, `payment_method.media.translation.languageId`, `payment_method.translation.name`, COALESCE(`payment_method.translation.name`,`payment_method.translation.name`) as `payment_method.name`, `payment_method.translation.distinguishableName`, COALESCE(`payment_method.translation.distinguishableName`,`payment_method.translation.distinguishableName`) as `payment_method.distinguishableName`, `payment_method.translation.description`, COALESCE(`payment_method.translation.description`,`payment_method.translation.description`) as `payment_method.description`, `payment_method.translation.customFields`, COALESCE(`payment_method.translation.customFields`,`payment_method.translation.customFields`) as `payment_method.customFields`, `payment_method.translation.createdAt`, `payment_method.translation.updatedAt`, `payment_method.translation.paymentMethodId`, `payment_method.translation.languageId` FROM `payment_method` LEFT JOIN (SELECT `payment_method.translation`.payment_method_id, `payment_method.translation`.name as `payment_method.translation.name`, `payment_method.translation`.distinguishable_name as `payment_method.translation.distinguishableName`, `payment_method.translation`.description as `payment_method.translation.description`, `payment_method.translation`.custom_fields as `payment_method.translation.customFields`, `payment_method.translation`.created_at as `payment_method.translation.createdAt`, `payment_method.translation`.updated_at as `payment_method.translation.updatedAt`, `payment_method.translation`.payment_method_id as `payment_method.translation.paymentMethodId`, `payment_method.translation`.language_id as `payment_method.translation.languageId` FROM `payment_method_translation` `payment_method.translation` WHERE `payment_method.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `payment_method.payment_method_translation` ON `payment_method.payment_method_translation`.`payment_method_id` = `payment_method`.`id` LEFT JOIN `app_payment_method` `payment_method.appPaymentMethod` ON `payment_method`.`id` = `payment_method.appPaymentMethod`.`payment_method_id` LEFT JOIN `media` `payment_method.media` ON `payment_method`.`media_id` = `payment_method.media`.`id` LEFT JOIN (SELECT `payment_method.media.translation`.media_id, `payment_method.media.translation`.title as `payment_method.media.translation.title`, `payment_method.media.translation`.alt as `payment_method.media.translation.alt`, `payment_method.media.translation`.custom_fields as `payment_method.media.translation.customFields`, `payment_method.media.translation`.created_at as `payment_method.media.translation.createdAt`, `payment_method.media.translation`.updated_at as `payment_method.media.translation.updatedAt`, `payment_method.media.translation`.media_id as `payment_method.media.translation.mediaId`, `payment_method.media.translation`.language_id as `payment_method.media.translation.languageId` FROM `media_translation` `payment_method.media.translation` WHERE `payment_method.media.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `payment_method.media.media_translation` ON `payment_method.media.media_translation`.`media_id` = `payment_method.media`.`id` WHERE `payment_method`.`id` IN (0xA74F7B9D43F141738D9265613F055272);
array:35 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 242)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 316)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetch (line 148)"
4 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 93)"
5 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::read (line 195)"
6 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::read (line 133)"
7 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 52)"
8 => "Shopware\Core\Checkout\Payment\SalesChannel\PaymentMethodRoute::load (line 138)"
9 => "Swag\PayPal\Checkout\SalesChannel\FilteredPaymentMethodRoute::load (line 99)"
10 => "Shopware\Core\Checkout\Payment\SalesChannel\CachedPaymentMethodRoute::Shopware\Core\Checkout\Payment\SalesChannel\{closure} (line 350)"
11 => "Shopware\Core\System\SystemConfig\SystemConfigService::trace (line 44)"
12 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 120)"
13 => "Shopware\Core\Framework\Adapter\Translation\Translator::trace (line 45)"
14 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 46)"
15 => "Shopware\Core\Framework\Adapter\Cache\CacheTagCollection::trace (line 46)"
16 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::trace (line 41)"
17 => "Shopware\Storefront\Framework\Cache\CacheTracer::Shopware\Storefront\Framework\Cache\{closure} (line 59)"
18 => "Shopware\Storefront\Theme\ThemeConfigValueAccessor::trace (line 42)"
19 => "Shopware\Storefront\Framework\Cache\CacheTracer::trace (line 100)"
20 => "Shopware\Core\Checkout\Payment\SalesChannel\CachedPaymentMethodRoute::Shopware\Core\Checkout\Payment\SalesChannel\{closure} (line 72)"
21 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
22 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 105)"
23 => "Shopware\Core\Checkout\Payment\SalesChannel\CachedPaymentMethodRoute::load (line 42)"
24 => "Shopware\Core\Checkout\Payment\SalesChannel\SortedPaymentMethodRoute::load (line 115)"
25 => "Shopware\Storefront\Page\GenericPageLoader::Shopware\Storefront\Page\{closure} (line 59)"
26 => "Shopware\Core\Profiling\Profiler::trace (line 132)"
27 => "Shopware\Storefront\Page\GenericPageLoader::load (line 66)"
28 => "Shopware\Storefront\Page\Account\Order\AccountOrderPageLoader::load (line 119)"
29 => "Shopware\Storefront\Controller\AccountOrderController::orderOverview (line 163)"
30 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
31 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
32 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
33 => "Shopware\Core\HttpKernel::doHandle (line 81)"
34 => "Shopware\Core\HttpKernel::handle (line 85)"
]
|
173 |
0.48 ms |
SELECT `order`.`id`, `order`.`auto_increment`, `order`.`order_number` FROM `order` LEFT JOIN `order_customer` `order.orderCustomer` ON `order`.`id` = `order.orderCustomer`.`order_id` AND `order`.`version_id` = `order.orderCustomer`.`version_id` WHERE (`order`.`version_id` = :version) AND ((`order`.`sales_channel_id` = :param_4838a1d089804399acca4dbb6a95692b AND `order.orderCustomer`.`customer_id` = :param_aa2f674bc0444bea9ef577b08592014e)) ORDER BY `order`.`created_at` DESC, `order`.`order_date_time` DESC LIMIT 10
SELECT `order`.`id`, `order`.`auto_increment`, `order`.`order_number` FROM `order` LEFT JOIN `order_customer` `order.orderCustomer` ON `order`.`id` = `order.orderCustomer`.`order_id` AND `order`.`version_id` = `order.orderCustomer`.`version_id` WHERE (`order`.`version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425) AND ((`order`.`sales_channel_id` = 0x4EB9108BE4654CC9B140D14DE85579E9 AND `order.orderCustomer`.`customer_id` = 0xC827A7DC6959447D8995E42E36CE47CB)) ORDER BY `order`.`created_at` DESC, `order`.`order_date_time` DESC LIMIT 10;
array:18 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 242)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 107)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntitySearcher::search (line 62)"
4 => "Shopware\Elasticsearch\Framework\DataAbstractionLayer\ElasticsearchEntitySearcher::search (line 132)"
5 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::searchIds (line 291)"
6 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::_search (line 106)"
7 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::search (line 51)"
8 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepositoryForwardCompatibilityDecorator::search (line 93)"
9 => "Shopware\Core\Checkout\Order\SalesChannel\OrderRoute::load (line 112)"
10 => "Shopware\Storefront\Page\Account\Order\AccountOrderPageLoader::getOrders (line 74)"
11 => "Shopware\Storefront\Page\Account\Order\AccountOrderPageLoader::load (line 119)"
12 => "Shopware\Storefront\Controller\AccountOrderController::orderOverview (line 163)"
13 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
14 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
15 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
16 => "Shopware\Core\HttpKernel::doHandle (line 81)"
17 => "Shopware\Core\HttpKernel::handle (line 85)"
]
|
174 |
0.36 ms |
SELECT COUNT(*) FROM (SELECT `order`.`id`, `order`.`auto_increment`, `order`.`order_number` FROM `order` LEFT JOIN `order_customer` `order.orderCustomer` ON `order`.`id` = `order.orderCustomer`.`order_id` AND `order`.`version_id` = `order.orderCustomer`.`version_id` WHERE (`order`.`version_id` = :version) AND ((`order`.`sales_channel_id` = :param_4838a1d089804399acca4dbb6a95692b AND `order.orderCustomer`.`customer_id` = :param_aa2f674bc0444bea9ef577b08592014e))) total
SELECT COUNT(*) FROM (SELECT `order`.`id`, `order`.`auto_increment`, `order`.`order_number` FROM `order` LEFT JOIN `order_customer` `order.orderCustomer` ON `order`.`id` = `order.orderCustomer`.`order_id` AND `order`.`version_id` = `order.orderCustomer`.`version_id` WHERE (`order`.`version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425) AND ((`order`.`sales_channel_id` = 0x4EB9108BE4654CC9B140D14DE85579E9 AND `order.orderCustomer`.`customer_id` = 0xC827A7DC6959447D8995E42E36CE47CB))) total;
array:19 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 242)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 195)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntitySearcher::getTotalCount (line 109)"
4 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntitySearcher::search (line 62)"
5 => "Shopware\Elasticsearch\Framework\DataAbstractionLayer\ElasticsearchEntitySearcher::search (line 132)"
6 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::searchIds (line 291)"
7 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::_search (line 106)"
8 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::search (line 51)"
9 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepositoryForwardCompatibilityDecorator::search (line 93)"
10 => "Shopware\Core\Checkout\Order\SalesChannel\OrderRoute::load (line 112)"
11 => "Shopware\Storefront\Page\Account\Order\AccountOrderPageLoader::getOrders (line 74)"
12 => "Shopware\Storefront\Page\Account\Order\AccountOrderPageLoader::load (line 119)"
13 => "Shopware\Storefront\Controller\AccountOrderController::orderOverview (line 163)"
14 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
15 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
16 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
17 => "Shopware\Core\HttpKernel::doHandle (line 81)"
18 => "Shopware\Core\HttpKernel::handle (line 85)"
]
|
175 |
4.91 ms |
SELECT `order`.`id` as `order.id`, `order`.`version_id` as `order.versionId`, `order`.`auto_increment` as `order.autoIncrement`, `order`.`order_number` as `order.orderNumber`, `order`.`billing_address_id` as `order.billingAddressId`, `order`.`billing_address_version_id` as `order.billingAddressVersionId`, `order`.`currency_id` as `order.currencyId`, `order`.`language_id` as `order.languageId`, `order`.`sales_channel_id` as `order.salesChannelId`, `order`.`order_date_time` as `order.orderDateTime`, `order`.`order_date` as `order.orderDate`, `order`.`price` as `order.price`, `order`.`amount_total` as `order.amountTotal`, `order`.`amount_net` as `order.amountNet`, `order`.`position_price` as `order.positionPrice`, `order`.`tax_status` as `order.taxStatus`, `order`.`shipping_costs` as `order.shippingCosts`, `order`.`shipping_total` as `order.shippingTotal`, `order`.`currency_factor` as `order.currencyFactor`, `order`.`deep_link_code` as `order.deepLinkCode`, `order`.`affiliate_code` as `order.affiliateCode`, `order`.`campaign_code` as `order.campaignCode`, `order`.`customer_comment` as `order.customerComment`, `order`.`state_id` as `order.stateId`, `order.stateMachineState`.`id` as `order.stateMachineState.id`, `order.stateMachineState`.`technical_name` as `order.stateMachineState.technicalName`, `order.stateMachineState`.`state_machine_id` as `order.stateMachineState.stateMachineId`, `order.stateMachineState`.`created_at` as `order.stateMachineState.createdAt`, `order.stateMachineState`.`updated_at` as `order.stateMachineState.updatedAt`, `order.stateMachineState.translation.name`, COALESCE(`order.stateMachineState.translation.name`,`order.stateMachineState.translation.name`) as `order.stateMachineState.name`, `order.stateMachineState.translation.customFields`, COALESCE(`order.stateMachineState.translation.customFields`,`order.stateMachineState.translation.customFields`) as `order.stateMachineState.customFields`, `order.stateMachineState.translation.createdAt`, `order.stateMachineState.translation.updatedAt`, `order.stateMachineState.translation.stateMachineStateId`, `order.stateMachineState.translation.languageId`, `order`.`rule_ids` as `order.ruleIds`, `order`.`custom_fields` as `order.customFields`, `order`.`created_by_id` as `order.createdById`, `order`.`updated_by_id` as `order.updatedById`, `order.orderCustomer`.`id` as `order.orderCustomer.id`, `order.orderCustomer`.`version_id` as `order.orderCustomer.versionId`, `order.orderCustomer`.`customer_id` as `order.orderCustomer.customerId`, `order.orderCustomer`.`order_id` as `order.orderCustomer.orderId`, `order.orderCustomer`.`order_version_id` as `order.orderCustomer.orderVersionId`, `order.orderCustomer`.`email` as `order.orderCustomer.email`, `order.orderCustomer`.`salutation_id` as `order.orderCustomer.salutationId`, `order.orderCustomer`.`first_name` as `order.orderCustomer.firstName`, `order.orderCustomer`.`last_name` as `order.orderCustomer.lastName`, `order.orderCustomer`.`company` as `order.orderCustomer.company`, `order.orderCustomer`.`title` as `order.orderCustomer.title`, `order.orderCustomer`.`vat_ids` as `order.orderCustomer.vatIds`, `order.orderCustomer`.`customer_number` as `order.orderCustomer.customerNumber`, `order.orderCustomer`.`custom_fields` as `order.orderCustomer.customFields`, `order.orderCustomer`.`remote_address` as `order.orderCustomer.remoteAddress`, `order.orderCustomer`.`created_at` as `order.orderCustomer.createdAt`, `order.orderCustomer`.`updated_at` as `order.orderCustomer.updatedAt`, `order.orderCustomer.customer`.`id` as `order.orderCustomer.customer.id`, `order.orderCustomer.customer`.`customer_group_id` as `order.orderCustomer.customer.groupId`, `order.orderCustomer.customer`.`default_payment_method_id` as `order.orderCustomer.customer.defaultPaymentMethodId`, `order.orderCustomer.customer`.`sales_channel_id` as `order.orderCustomer.customer.salesChannelId`, `order.orderCustomer.customer`.`language_id` as `order.orderCustomer.customer.languageId`, `order.orderCustomer.customer`.`last_payment_method_id` as `order.orderCustomer.customer.lastPaymentMethodId`, `order.orderCustomer.customer`.`default_billing_address_id` as `order.orderCustomer.customer.defaultBillingAddressId`, `order.orderCustomer.customer`.`default_shipping_address_id` as `order.orderCustomer.customer.defaultShippingAddressId`, `order.orderCustomer.customer`.`auto_increment` as `order.orderCustomer.customer.autoIncrement`, `order.orderCustomer.customer`.`customer_number` as `order.orderCustomer.customer.customerNumber`, `order.orderCustomer.customer`.`salutation_id` as `order.orderCustomer.customer.salutationId`, `order.orderCustomer.customer`.`first_name` as `order.orderCustomer.customer.firstName`, `order.orderCustomer.customer`.`last_name` as `order.orderCustomer.customer.lastName`, `order.orderCustomer.customer`.`company` as `order.orderCustomer.customer.company`, `order.orderCustomer.customer`.`password` as `order.orderCustomer.customer.password`, `order.orderCustomer.customer`.`email` as `order.orderCustomer.customer.email`, `order.orderCustomer.customer`.`title` as `order.orderCustomer.customer.title`, `order.orderCustomer.customer`.`vat_ids` as `order.orderCustomer.customer.vatIds`, `order.orderCustomer.customer`.`affiliate_code` as `order.orderCustomer.customer.affiliateCode`, `order.orderCustomer.customer`.`campaign_code` as `order.orderCustomer.customer.campaignCode`, `order.orderCustomer.customer`.`active` as `order.orderCustomer.customer.active`, `order.orderCustomer.customer`.`double_opt_in_registration` as `order.orderCustomer.customer.doubleOptInRegistration`, `order.orderCustomer.customer`.`double_opt_in_email_sent_date` as `order.orderCustomer.customer.doubleOptInEmailSentDate`, `order.orderCustomer.customer`.`double_opt_in_confirm_date` as `order.orderCustomer.customer.doubleOptInConfirmDate`, `order.orderCustomer.customer`.`hash` as `order.orderCustomer.customer.hash`, `order.orderCustomer.customer`.`guest` as `order.orderCustomer.customer.guest`, `order.orderCustomer.customer`.`first_login` as `order.orderCustomer.customer.firstLogin`, `order.orderCustomer.customer`.`last_login` as `order.orderCustomer.customer.lastLogin`, `order.orderCustomer.customer`.`newsletter_sales_channel_ids` as `order.orderCustomer.customer.newsletterSalesChannelIds`, `order.orderCustomer.customer`.`newsletter` as `order.orderCustomer.customer.newsletter`, `order.orderCustomer.customer`.`birthday` as `order.orderCustomer.customer.birthday`, `order.orderCustomer.customer`.`last_order_date` as `order.orderCustomer.customer.lastOrderDate`, `order.orderCustomer.customer`.`order_count` as `order.orderCustomer.customer.orderCount`, `order.orderCustomer.customer`.`order_total_amount` as `order.orderCustomer.customer.orderTotalAmount`, `order.orderCustomer.customer`.`custom_fields` as `order.orderCustomer.customer.customFields`, `order.orderCustomer.customer`.`legacy_password` as `order.orderCustomer.customer.legacyPassword`, `order.orderCustomer.customer`.`legacy_encoder` as `order.orderCustomer.customer.legacyEncoder`, `order.orderCustomer.customer`.`remote_address` as `order.orderCustomer.customer.remoteAddress`, `order.orderCustomer.customer`.`tag_ids` as `order.orderCustomer.customer.tagIds`, `order.orderCustomer.customer`.`requested_customer_group_id` as `order.orderCustomer.customer.requestedGroupId`, `order.orderCustomer.customer`.`bound_sales_channel_id` as `order.orderCustomer.customer.boundSalesChannelId`, `order.orderCustomer.customer`.`created_by_id` as `order.orderCustomer.customer.createdById`, `order.orderCustomer.customer`.`updated_by_id` as `order.orderCustomer.customer.updatedById`, `order.orderCustomer.customer`.`created_at` as `order.orderCustomer.customer.createdAt`, `order.orderCustomer.customer`.`updated_at` as `order.orderCustomer.customer.updatedAt`, `order`.`item_rounding` as `order.itemRounding`, `order`.`total_rounding` as `order.totalRounding`, `order`.`created_at` as `order.createdAt`, `order`.`updated_at` as `order.updatedAt`, `order.currency`.`id` as `order.currency.id`, `order.currency`.`factor` as `order.currency.factor`, `order.currency`.`symbol` as `order.currency.symbol`, `order.currency`.`iso_code` as `order.currency.isoCode`, `order.currency`.`position` as `order.currency.position`, `order.currency`.`item_rounding` as `order.currency.itemRounding`, `order.currency`.`total_rounding` as `order.currency.totalRounding`, `order.currency`.`tax_free_from` as `order.currency.taxFreeFrom`, `order.currency`.`created_at` as `order.currency.createdAt`, `order.currency`.`updated_at` as `order.currency.updatedAt`, `order.currency.translation.shortName`, COALESCE(`order.currency.translation.shortName`,`order.currency.translation.shortName`) as `order.currency.shortName`, `order.currency.translation.name`, COALESCE(`order.currency.translation.name`,`order.currency.translation.name`) as `order.currency.name`, `order.currency.translation.customFields`, COALESCE(`order.currency.translation.customFields`,`order.currency.translation.customFields`) as `order.currency.customFields`, `order.currency.translation.createdAt`, `order.currency.translation.updatedAt`, `order.currency.translation.currencyId`, `order.currency.translation.languageId`, `order.billingAddress`.`id` as `order.billingAddress.id`, `order.billingAddress`.`version_id` as `order.billingAddress.versionId`, `order.billingAddress`.`country_id` as `order.billingAddress.countryId`, `order.billingAddress`.`country_state_id` as `order.billingAddress.countryStateId`, `order.billingAddress`.`order_id` as `order.billingAddress.orderId`, `order.billingAddress`.`order_version_id` as `order.billingAddress.orderVersionId`, `order.billingAddress`.`salutation_id` as `order.billingAddress.salutationId`, `order.billingAddress`.`first_name` as `order.billingAddress.firstName`, `order.billingAddress`.`last_name` as `order.billingAddress.lastName`, `order.billingAddress`.`street` as `order.billingAddress.street`, `order.billingAddress`.`zipcode` as `order.billingAddress.zipcode`, `order.billingAddress`.`city` as `order.billingAddress.city`, `order.billingAddress`.`company` as `order.billingAddress.company`, `order.billingAddress`.`department` as `order.billingAddress.department`, `order.billingAddress`.`title` as `order.billingAddress.title`, `order.billingAddress`.`vat_id` as `order.billingAddress.vatId`, `order.billingAddress`.`phone_number` as `order.billingAddress.phoneNumber`, `order.billingAddress`.`additional_address_line1` as `order.billingAddress.additionalAddressLine1`, `order.billingAddress`.`additional_address_line2` as `order.billingAddress.additionalAddressLine2`, `order.billingAddress`.`custom_fields` as `order.billingAddress.customFields`, `order.billingAddress`.`created_at` as `order.billingAddress.createdAt`, `order.billingAddress`.`updated_at` as `order.billingAddress.updatedAt` FROM `order` LEFT JOIN `state_machine_state` `order.stateMachineState` ON `order`.`state_id` = `order.stateMachineState`.`id` LEFT JOIN `order_customer` `order.orderCustomer` ON `order`.`id` = `order.orderCustomer`.`order_id` AND `order`.`version_id` = `order.orderCustomer`.`version_id` LEFT JOIN `currency` `order.currency` ON `order`.`currency_id` = `order.currency`.`id` LEFT JOIN `order_address` `order.billingAddress` ON `order`.`billing_address_id` = `order.billingAddress`.`id` AND `order`.`version_id` = `order.billingAddress`.`version_id` LEFT JOIN (SELECT `order.stateMachineState.translation`.state_machine_state_id, `order.stateMachineState.translation`.name as `order.stateMachineState.translation.name`, `order.stateMachineState.translation`.custom_fields as `order.stateMachineState.translation.customFields`, `order.stateMachineState.translation`.created_at as `order.stateMachineState.translation.createdAt`, `order.stateMachineState.translation`.updated_at as `order.stateMachineState.translation.updatedAt`, `order.stateMachineState.translation`.state_machine_state_id as `order.stateMachineState.translation.stateMachineStateId`, `order.stateMachineState.translation`.language_id as `order.stateMachineState.translation.languageId` FROM `state_machine_state_translation` `order.stateMachineState.translation` WHERE `order.stateMachineState.translation`.language_id = :languageId) `order.stateMachineState.state_machine_state_translation` ON `order.stateMachineState.state_machine_state_translation`.`state_machine_state_id` = `order.stateMachineState`.`id` LEFT JOIN `customer` `order.orderCustomer.customer` ON `order.orderCustomer`.`customer_id` = `order.orderCustomer.customer`.`id` LEFT JOIN (SELECT `order.currency.translation`.currency_id, `order.currency.translation`.short_name as `order.currency.translation.shortName`, `order.currency.translation`.name as `order.currency.translation.name`, `order.currency.translation`.custom_fields as `order.currency.translation.customFields`, `order.currency.translation`.created_at as `order.currency.translation.createdAt`, `order.currency.translation`.updated_at as `order.currency.translation.updatedAt`, `order.currency.translation`.currency_id as `order.currency.translation.currencyId`, `order.currency.translation`.language_id as `order.currency.translation.languageId` FROM `currency_translation` `order.currency.translation` WHERE `order.currency.translation`.language_id = :languageId) `order.currency.currency_translation` ON `order.currency.currency_translation`.`currency_id` = `order.currency`.`id` WHERE (`order`.`version_id` = :version) AND (`order`.`id` IN (:ids))
SELECT
`order`.`id` as `order.id`,
`order`.`version_id` as `order.versionId`,
`order`.`auto_increment` as `order.autoIncrement`,
`order`.`order_number` as `order.orderNumber`,
`order`.`billing_address_id` as `order.billingAddressId`,
`order`.`billing_address_version_id` as `order.billingAddressVersionId`,
`order`.`currency_id` as `order.currencyId`,
`order`.`language_id` as `order.languageId`,
`order`.`sales_channel_id` as `order.salesChannelId`,
`order`.`order_date_time` as `order.orderDateTime`,
`order`.`order_date` as `order.orderDate`,
`order`.`price` as `order.price`,
`order`.`amount_total` as `order.amountTotal`,
`order`.`amount_net` as `order.amountNet`,
`order`.`position_price` as `order.positionPrice`,
`order`.`tax_status` as `order.taxStatus`,
`order`.`shipping_costs` as `order.shippingCosts`,
`order`.`shipping_total` as `order.shippingTotal`,
`order`.`currency_factor` as `order.currencyFactor`,
`order`.`deep_link_code` as `order.deepLinkCode`,
`order`.`affiliate_code` as `order.affiliateCode`,
`order`.`campaign_code` as `order.campaignCode`,
`order`.`customer_comment` as `order.customerComment`,
`order`.`state_id` as `order.stateId`,
`order.stateMachineState`.`id` as `order.stateMachineState.id`,
`order.stateMachineState`.`technical_name` as `order.stateMachineState.technicalName`,
`order.stateMachineState`.`state_machine_id` as `order.stateMachineState.stateMachineId`,
`order.stateMachineState`.`created_at` as `order.stateMachineState.createdAt`,
`order.stateMachineState`.`updated_at` as `order.stateMachineState.updatedAt`,
`order.stateMachineState.translation.name`,
COALESCE(
`order.stateMachineState.translation.name`,
`order.stateMachineState.translation.name`
) as `order.stateMachineState.name`,
`order.stateMachineState.translation.customFields`,
COALESCE(
`order.stateMachineState.translation.customFields`,
`order.stateMachineState.translation.customFields`
) as `order.stateMachineState.customFields`,
`order.stateMachineState.translation.createdAt`,
`order.stateMachineState.translation.updatedAt`,
`order.stateMachineState.translation.stateMachineStateId`,
`order.stateMachineState.translation.languageId`,
`order`.`rule_ids` as `order.ruleIds`,
`order`.`custom_fields` as `order.customFields`,
`order`.`created_by_id` as `order.createdById`,
`order`.`updated_by_id` as `order.updatedById`,
`order.orderCustomer`.`id` as `order.orderCustomer.id`,
`order.orderCustomer`.`version_id` as `order.orderCustomer.versionId`,
`order.orderCustomer`.`customer_id` as `order.orderCustomer.customerId`,
`order.orderCustomer`.`order_id` as `order.orderCustomer.orderId`,
`order.orderCustomer`.`order_version_id` as `order.orderCustomer.orderVersionId`,
`order.orderCustomer`.`email` as `order.orderCustomer.email`,
`order.orderCustomer`.`salutation_id` as `order.orderCustomer.salutationId`,
`order.orderCustomer`.`first_name` as `order.orderCustomer.firstName`,
`order.orderCustomer`.`last_name` as `order.orderCustomer.lastName`,
`order.orderCustomer`.`company` as `order.orderCustomer.company`,
`order.orderCustomer`.`title` as `order.orderCustomer.title`,
`order.orderCustomer`.`vat_ids` as `order.orderCustomer.vatIds`,
`order.orderCustomer`.`customer_number` as `order.orderCustomer.customerNumber`,
`order.orderCustomer`.`custom_fields` as `order.orderCustomer.customFields`,
`order.orderCustomer`.`remote_address` as `order.orderCustomer.remoteAddress`,
`order.orderCustomer`.`created_at` as `order.orderCustomer.createdAt`,
`order.orderCustomer`.`updated_at` as `order.orderCustomer.updatedAt`,
`order.orderCustomer.customer`.`id` as `order.orderCustomer.customer.id`,
`order.orderCustomer.customer`.`customer_group_id` as `order.orderCustomer.customer.groupId`,
`order.orderCustomer.customer`.`default_payment_method_id` as `order.orderCustomer.customer.defaultPaymentMethodId`,
`order.orderCustomer.customer`.`sales_channel_id` as `order.orderCustomer.customer.salesChannelId`,
`order.orderCustomer.customer`.`language_id` as `order.orderCustomer.customer.languageId`,
`order.orderCustomer.customer`.`last_payment_method_id` as `order.orderCustomer.customer.lastPaymentMethodId`,
`order.orderCustomer.customer`.`default_billing_address_id` as `order.orderCustomer.customer.defaultBillingAddressId`,
`order.orderCustomer.customer`.`default_shipping_address_id` as `order.orderCustomer.customer.defaultShippingAddressId`,
`order.orderCustomer.customer`.`auto_increment` as `order.orderCustomer.customer.autoIncrement`,
`order.orderCustomer.customer`.`customer_number` as `order.orderCustomer.customer.customerNumber`,
`order.orderCustomer.customer`.`salutation_id` as `order.orderCustomer.customer.salutationId`,
`order.orderCustomer.customer`.`first_name` as `order.orderCustomer.customer.firstName`,
`order.orderCustomer.customer`.`last_name` as `order.orderCustomer.customer.lastName`,
`order.orderCustomer.customer`.`company` as `order.orderCustomer.customer.company`,
`order.orderCustomer.customer`.`password` as `order.orderCustomer.customer.password`,
`order.orderCustomer.customer`.`email` as `order.orderCustomer.customer.email`,
`order.orderCustomer.customer`.`title` as `order.orderCustomer.customer.title`,
`order.orderCustomer.customer`.`vat_ids` as `order.orderCustomer.customer.vatIds`,
`order.orderCustomer.customer`.`affiliate_code` as `order.orderCustomer.customer.affiliateCode`,
`order.orderCustomer.customer`.`campaign_code` as `order.orderCustomer.customer.campaignCode`,
`order.orderCustomer.customer`.`active` as `order.orderCustomer.customer.active`,
`order.orderCustomer.customer`.`double_opt_in_registration` as `order.orderCustomer.customer.doubleOptInRegistration`,
`order.orderCustomer.customer`.`double_opt_in_email_sent_date` as `order.orderCustomer.customer.doubleOptInEmailSentDate`,
`order.orderCustomer.customer`.`double_opt_in_confirm_date` as `order.orderCustomer.customer.doubleOptInConfirmDate`,
`order.orderCustomer.customer`.`hash` as `order.orderCustomer.customer.hash`,
`order.orderCustomer.customer`.`guest` as `order.orderCustomer.customer.guest`,
`order.orderCustomer.customer`.`first_login` as `order.orderCustomer.customer.firstLogin`,
`order.orderCustomer.customer`.`last_login` as `order.orderCustomer.customer.lastLogin`,
`order.orderCustomer.customer`.`newsletter_sales_channel_ids` as `order.orderCustomer.customer.newsletterSalesChannelIds`,
`order.orderCustomer.customer`.`newsletter` as `order.orderCustomer.customer.newsletter`,
`order.orderCustomer.customer`.`birthday` as `order.orderCustomer.customer.birthday`,
`order.orderCustomer.customer`.`last_order_date` as `order.orderCustomer.customer.lastOrderDate`,
`order.orderCustomer.customer`.`order_count` as `order.orderCustomer.customer.orderCount`,
`order.orderCustomer.customer`.`order_total_amount` as `order.orderCustomer.customer.orderTotalAmount`,
`order.orderCustomer.customer`.`custom_fields` as `order.orderCustomer.customer.customFields`,
`order.orderCustomer.customer`.`legacy_password` as `order.orderCustomer.customer.legacyPassword`,
`order.orderCustomer.customer`.`legacy_encoder` as `order.orderCustomer.customer.legacyEncoder`,
`order.orderCustomer.customer`.`remote_address` as `order.orderCustomer.customer.remoteAddress`,
`order.orderCustomer.customer`.`tag_ids` as `order.orderCustomer.customer.tagIds`,
`order.orderCustomer.customer`.`requested_customer_group_id` as `order.orderCustomer.customer.requestedGroupId`,
`order.orderCustomer.customer`.`bound_sales_channel_id` as `order.orderCustomer.customer.boundSalesChannelId`,
`order.orderCustomer.customer`.`created_by_id` as `order.orderCustomer.customer.createdById`,
`order.orderCustomer.customer`.`updated_by_id` as `order.orderCustomer.customer.updatedById`,
`order.orderCustomer.customer`.`created_at` as `order.orderCustomer.customer.createdAt`,
`order.orderCustomer.customer`.`updated_at` as `order.orderCustomer.customer.updatedAt`,
`order`.`item_rounding` as `order.itemRounding`,
`order`.`total_rounding` as `order.totalRounding`,
`order`.`created_at` as `order.createdAt`,
`order`.`updated_at` as `order.updatedAt`,
`order.currency`.`id` as `order.currency.id`,
`order.currency`.`factor` as `order.currency.factor`,
`order.currency`.`symbol` as `order.currency.symbol`,
`order.currency`.`iso_code` as `order.currency.isoCode`,
`order.currency`.`position` as `order.currency.position`,
`order.currency`.`item_rounding` as `order.currency.itemRounding`,
`order.currency`.`total_rounding` as `order.currency.totalRounding`,
`order.currency`.`tax_free_from` as `order.currency.taxFreeFrom`,
`order.currency`.`created_at` as `order.currency.createdAt`,
`order.currency`.`updated_at` as `order.currency.updatedAt`,
`order.currency.translation.shortName`,
COALESCE(
`order.currency.translation.shortName`,
`order.currency.translation.shortName`
) as `order.currency.shortName`,
`order.currency.translation.name`,
COALESCE(
`order.currency.translation.name`,
`order.currency.translation.name`
) as `order.currency.name`,
`order.currency.translation.customFields`,
COALESCE(
`order.currency.translation.customFields`,
`order.currency.translation.customFields`
) as `order.currency.customFields`,
`order.currency.translation.createdAt`,
`order.currency.translation.updatedAt`,
`order.currency.translation.currencyId`,
`order.currency.translation.languageId`,
`order.billingAddress`.`id` as `order.billingAddress.id`,
`order.billingAddress`.`version_id` as `order.billingAddress.versionId`,
`order.billingAddress`.`country_id` as `order.billingAddress.countryId`,
`order.billingAddress`.`country_state_id` as `order.billingAddress.countryStateId`,
`order.billingAddress`.`order_id` as `order.billingAddress.orderId`,
`order.billingAddress`.`order_version_id` as `order.billingAddress.orderVersionId`,
`order.billingAddress`.`salutation_id` as `order.billingAddress.salutationId`,
`order.billingAddress`.`first_name` as `order.billingAddress.firstName`,
`order.billingAddress`.`last_name` as `order.billingAddress.lastName`,
`order.billingAddress`.`street` as `order.billingAddress.street`,
`order.billingAddress`.`zipcode` as `order.billingAddress.zipcode`,
`order.billingAddress`.`city` as `order.billingAddress.city`,
`order.billingAddress`.`company` as `order.billingAddress.company`,
`order.billingAddress`.`department` as `order.billingAddress.department`,
`order.billingAddress`.`title` as `order.billingAddress.title`,
`order.billingAddress`.`vat_id` as `order.billingAddress.vatId`,
`order.billingAddress`.`phone_number` as `order.billingAddress.phoneNumber`,
`order.billingAddress`.`additional_address_line1` as `order.billingAddress.additionalAddressLine1`,
`order.billingAddress`.`additional_address_line2` as `order.billingAddress.additionalAddressLine2`,
`order.billingAddress`.`custom_fields` as `order.billingAddress.customFields`,
`order.billingAddress`.`created_at` as `order.billingAddress.createdAt`,
`order.billingAddress`.`updated_at` as `order.billingAddress.updatedAt`
FROM
`order`
LEFT JOIN `state_machine_state` `order.stateMachineState` ON `order`.`state_id` = `order.stateMachineState`.`id`
LEFT JOIN `order_customer` `order.orderCustomer` ON `order`.`id` = `order.orderCustomer`.`order_id`
AND `order`.`version_id` = `order.orderCustomer`.`version_id`
LEFT JOIN `currency` `order.currency` ON `order`.`currency_id` = `order.currency`.`id`
LEFT JOIN `order_address` `order.billingAddress` ON `order`.`billing_address_id` = `order.billingAddress`.`id`
AND `order`.`version_id` = `order.billingAddress`.`version_id`
LEFT JOIN (
SELECT
`order.stateMachineState.translation`.state_machine_state_id,
`order.stateMachineState.translation`.name as `order.stateMachineState.translation.name`,
`order.stateMachineState.translation`.custom_fields as `order.stateMachineState.translation.customFields`,
`order.stateMachineState.translation`.created_at as `order.stateMachineState.translation.createdAt`,
`order.stateMachineState.translation`.updated_at as `order.stateMachineState.translation.updatedAt`,
`order.stateMachineState.translation`.state_machine_state_id as `order.stateMachineState.translation.stateMachineStateId`,
`order.stateMachineState.translation`.language_id as `order.stateMachineState.translation.languageId`
FROM
`state_machine_state_translation` `order.stateMachineState.translation`
WHERE
`order.stateMachineState.translation`.language_id = : languageId
) `order.stateMachineState.state_machine_state_translation` ON `order.stateMachineState.state_machine_state_translation`.`state_machine_state_id` = `order.stateMachineState`.`id`
LEFT JOIN `customer` `order.orderCustomer.customer` ON `order.orderCustomer`.`customer_id` = `order.orderCustomer.customer`.`id`
LEFT JOIN (
SELECT
`order.currency.translation`.currency_id,
`order.currency.translation`.short_name as `order.currency.translation.shortName`,
`order.currency.translation`.name as `order.currency.translation.name`,
`order.currency.translation`.custom_fields as `order.currency.translation.customFields`,
`order.currency.translation`.created_at as `order.currency.translation.createdAt`,
`order.currency.translation`.updated_at as `order.currency.translation.updatedAt`,
`order.currency.translation`.currency_id as `order.currency.translation.currencyId`,
`order.currency.translation`.language_id as `order.currency.translation.languageId`
FROM
`currency_translation` `order.currency.translation`
WHERE
`order.currency.translation`.language_id = : languageId
) `order.currency.currency_translation` ON `order.currency.currency_translation`.`currency_id` = `order.currency`.`id`
WHERE
(`order`.`version_id` = : version)
AND (
`order`.`id` IN (: ids)
)
SELECT `order`.`id` as `order.id`, `order`.`version_id` as `order.versionId`, `order`.`auto_increment` as `order.autoIncrement`, `order`.`order_number` as `order.orderNumber`, `order`.`billing_address_id` as `order.billingAddressId`, `order`.`billing_address_version_id` as `order.billingAddressVersionId`, `order`.`currency_id` as `order.currencyId`, `order`.`language_id` as `order.languageId`, `order`.`sales_channel_id` as `order.salesChannelId`, `order`.`order_date_time` as `order.orderDateTime`, `order`.`order_date` as `order.orderDate`, `order`.`price` as `order.price`, `order`.`amount_total` as `order.amountTotal`, `order`.`amount_net` as `order.amountNet`, `order`.`position_price` as `order.positionPrice`, `order`.`tax_status` as `order.taxStatus`, `order`.`shipping_costs` as `order.shippingCosts`, `order`.`shipping_total` as `order.shippingTotal`, `order`.`currency_factor` as `order.currencyFactor`, `order`.`deep_link_code` as `order.deepLinkCode`, `order`.`affiliate_code` as `order.affiliateCode`, `order`.`campaign_code` as `order.campaignCode`, `order`.`customer_comment` as `order.customerComment`, `order`.`state_id` as `order.stateId`, `order.stateMachineState`.`id` as `order.stateMachineState.id`, `order.stateMachineState`.`technical_name` as `order.stateMachineState.technicalName`, `order.stateMachineState`.`state_machine_id` as `order.stateMachineState.stateMachineId`, `order.stateMachineState`.`created_at` as `order.stateMachineState.createdAt`, `order.stateMachineState`.`updated_at` as `order.stateMachineState.updatedAt`, `order.stateMachineState.translation.name`, COALESCE(`order.stateMachineState.translation.name`,`order.stateMachineState.translation.name`) as `order.stateMachineState.name`, `order.stateMachineState.translation.customFields`, COALESCE(`order.stateMachineState.translation.customFields`,`order.stateMachineState.translation.customFields`) as `order.stateMachineState.customFields`, `order.stateMachineState.translation.createdAt`, `order.stateMachineState.translation.updatedAt`, `order.stateMachineState.translation.stateMachineStateId`, `order.stateMachineState.translation.languageId`, `order`.`rule_ids` as `order.ruleIds`, `order`.`custom_fields` as `order.customFields`, `order`.`created_by_id` as `order.createdById`, `order`.`updated_by_id` as `order.updatedById`, `order.orderCustomer`.`id` as `order.orderCustomer.id`, `order.orderCustomer`.`version_id` as `order.orderCustomer.versionId`, `order.orderCustomer`.`customer_id` as `order.orderCustomer.customerId`, `order.orderCustomer`.`order_id` as `order.orderCustomer.orderId`, `order.orderCustomer`.`order_version_id` as `order.orderCustomer.orderVersionId`, `order.orderCustomer`.`email` as `order.orderCustomer.email`, `order.orderCustomer`.`salutation_id` as `order.orderCustomer.salutationId`, `order.orderCustomer`.`first_name` as `order.orderCustomer.firstName`, `order.orderCustomer`.`last_name` as `order.orderCustomer.lastName`, `order.orderCustomer`.`company` as `order.orderCustomer.company`, `order.orderCustomer`.`title` as `order.orderCustomer.title`, `order.orderCustomer`.`vat_ids` as `order.orderCustomer.vatIds`, `order.orderCustomer`.`customer_number` as `order.orderCustomer.customerNumber`, `order.orderCustomer`.`custom_fields` as `order.orderCustomer.customFields`, `order.orderCustomer`.`remote_address` as `order.orderCustomer.remoteAddress`, `order.orderCustomer`.`created_at` as `order.orderCustomer.createdAt`, `order.orderCustomer`.`updated_at` as `order.orderCustomer.updatedAt`, `order.orderCustomer.customer`.`id` as `order.orderCustomer.customer.id`, `order.orderCustomer.customer`.`customer_group_id` as `order.orderCustomer.customer.groupId`, `order.orderCustomer.customer`.`default_payment_method_id` as `order.orderCustomer.customer.defaultPaymentMethodId`, `order.orderCustomer.customer`.`sales_channel_id` as `order.orderCustomer.customer.salesChannelId`, `order.orderCustomer.customer`.`language_id` as `order.orderCustomer.customer.languageId`, `order.orderCustomer.customer`.`last_payment_method_id` as `order.orderCustomer.customer.lastPaymentMethodId`, `order.orderCustomer.customer`.`default_billing_address_id` as `order.orderCustomer.customer.defaultBillingAddressId`, `order.orderCustomer.customer`.`default_shipping_address_id` as `order.orderCustomer.customer.defaultShippingAddressId`, `order.orderCustomer.customer`.`auto_increment` as `order.orderCustomer.customer.autoIncrement`, `order.orderCustomer.customer`.`customer_number` as `order.orderCustomer.customer.customerNumber`, `order.orderCustomer.customer`.`salutation_id` as `order.orderCustomer.customer.salutationId`, `order.orderCustomer.customer`.`first_name` as `order.orderCustomer.customer.firstName`, `order.orderCustomer.customer`.`last_name` as `order.orderCustomer.customer.lastName`, `order.orderCustomer.customer`.`company` as `order.orderCustomer.customer.company`, `order.orderCustomer.customer`.`password` as `order.orderCustomer.customer.password`, `order.orderCustomer.customer`.`email` as `order.orderCustomer.customer.email`, `order.orderCustomer.customer`.`title` as `order.orderCustomer.customer.title`, `order.orderCustomer.customer`.`vat_ids` as `order.orderCustomer.customer.vatIds`, `order.orderCustomer.customer`.`affiliate_code` as `order.orderCustomer.customer.affiliateCode`, `order.orderCustomer.customer`.`campaign_code` as `order.orderCustomer.customer.campaignCode`, `order.orderCustomer.customer`.`active` as `order.orderCustomer.customer.active`, `order.orderCustomer.customer`.`double_opt_in_registration` as `order.orderCustomer.customer.doubleOptInRegistration`, `order.orderCustomer.customer`.`double_opt_in_email_sent_date` as `order.orderCustomer.customer.doubleOptInEmailSentDate`, `order.orderCustomer.customer`.`double_opt_in_confirm_date` as `order.orderCustomer.customer.doubleOptInConfirmDate`, `order.orderCustomer.customer`.`hash` as `order.orderCustomer.customer.hash`, `order.orderCustomer.customer`.`guest` as `order.orderCustomer.customer.guest`, `order.orderCustomer.customer`.`first_login` as `order.orderCustomer.customer.firstLogin`, `order.orderCustomer.customer`.`last_login` as `order.orderCustomer.customer.lastLogin`, `order.orderCustomer.customer`.`newsletter_sales_channel_ids` as `order.orderCustomer.customer.newsletterSalesChannelIds`, `order.orderCustomer.customer`.`newsletter` as `order.orderCustomer.customer.newsletter`, `order.orderCustomer.customer`.`birthday` as `order.orderCustomer.customer.birthday`, `order.orderCustomer.customer`.`last_order_date` as `order.orderCustomer.customer.lastOrderDate`, `order.orderCustomer.customer`.`order_count` as `order.orderCustomer.customer.orderCount`, `order.orderCustomer.customer`.`order_total_amount` as `order.orderCustomer.customer.orderTotalAmount`, `order.orderCustomer.customer`.`custom_fields` as `order.orderCustomer.customer.customFields`, `order.orderCustomer.customer`.`legacy_password` as `order.orderCustomer.customer.legacyPassword`, `order.orderCustomer.customer`.`legacy_encoder` as `order.orderCustomer.customer.legacyEncoder`, `order.orderCustomer.customer`.`remote_address` as `order.orderCustomer.customer.remoteAddress`, `order.orderCustomer.customer`.`tag_ids` as `order.orderCustomer.customer.tagIds`, `order.orderCustomer.customer`.`requested_customer_group_id` as `order.orderCustomer.customer.requestedGroupId`, `order.orderCustomer.customer`.`bound_sales_channel_id` as `order.orderCustomer.customer.boundSalesChannelId`, `order.orderCustomer.customer`.`created_by_id` as `order.orderCustomer.customer.createdById`, `order.orderCustomer.customer`.`updated_by_id` as `order.orderCustomer.customer.updatedById`, `order.orderCustomer.customer`.`created_at` as `order.orderCustomer.customer.createdAt`, `order.orderCustomer.customer`.`updated_at` as `order.orderCustomer.customer.updatedAt`, `order`.`item_rounding` as `order.itemRounding`, `order`.`total_rounding` as `order.totalRounding`, `order`.`created_at` as `order.createdAt`, `order`.`updated_at` as `order.updatedAt`, `order.currency`.`id` as `order.currency.id`, `order.currency`.`factor` as `order.currency.factor`, `order.currency`.`symbol` as `order.currency.symbol`, `order.currency`.`iso_code` as `order.currency.isoCode`, `order.currency`.`position` as `order.currency.position`, `order.currency`.`item_rounding` as `order.currency.itemRounding`, `order.currency`.`total_rounding` as `order.currency.totalRounding`, `order.currency`.`tax_free_from` as `order.currency.taxFreeFrom`, `order.currency`.`created_at` as `order.currency.createdAt`, `order.currency`.`updated_at` as `order.currency.updatedAt`, `order.currency.translation.shortName`, COALESCE(`order.currency.translation.shortName`,`order.currency.translation.shortName`) as `order.currency.shortName`, `order.currency.translation.name`, COALESCE(`order.currency.translation.name`,`order.currency.translation.name`) as `order.currency.name`, `order.currency.translation.customFields`, COALESCE(`order.currency.translation.customFields`,`order.currency.translation.customFields`) as `order.currency.customFields`, `order.currency.translation.createdAt`, `order.currency.translation.updatedAt`, `order.currency.translation.currencyId`, `order.currency.translation.languageId`, `order.billingAddress`.`id` as `order.billingAddress.id`, `order.billingAddress`.`version_id` as `order.billingAddress.versionId`, `order.billingAddress`.`country_id` as `order.billingAddress.countryId`, `order.billingAddress`.`country_state_id` as `order.billingAddress.countryStateId`, `order.billingAddress`.`order_id` as `order.billingAddress.orderId`, `order.billingAddress`.`order_version_id` as `order.billingAddress.orderVersionId`, `order.billingAddress`.`salutation_id` as `order.billingAddress.salutationId`, `order.billingAddress`.`first_name` as `order.billingAddress.firstName`, `order.billingAddress`.`last_name` as `order.billingAddress.lastName`, `order.billingAddress`.`street` as `order.billingAddress.street`, `order.billingAddress`.`zipcode` as `order.billingAddress.zipcode`, `order.billingAddress`.`city` as `order.billingAddress.city`, `order.billingAddress`.`company` as `order.billingAddress.company`, `order.billingAddress`.`department` as `order.billingAddress.department`, `order.billingAddress`.`title` as `order.billingAddress.title`, `order.billingAddress`.`vat_id` as `order.billingAddress.vatId`, `order.billingAddress`.`phone_number` as `order.billingAddress.phoneNumber`, `order.billingAddress`.`additional_address_line1` as `order.billingAddress.additionalAddressLine1`, `order.billingAddress`.`additional_address_line2` as `order.billingAddress.additionalAddressLine2`, `order.billingAddress`.`custom_fields` as `order.billingAddress.customFields`, `order.billingAddress`.`created_at` as `order.billingAddress.createdAt`, `order.billingAddress`.`updated_at` as `order.billingAddress.updatedAt` FROM `order` LEFT JOIN `state_machine_state` `order.stateMachineState` ON `order`.`state_id` = `order.stateMachineState`.`id` LEFT JOIN `order_customer` `order.orderCustomer` ON `order`.`id` = `order.orderCustomer`.`order_id` AND `order`.`version_id` = `order.orderCustomer`.`version_id` LEFT JOIN `currency` `order.currency` ON `order`.`currency_id` = `order.currency`.`id` LEFT JOIN `order_address` `order.billingAddress` ON `order`.`billing_address_id` = `order.billingAddress`.`id` AND `order`.`version_id` = `order.billingAddress`.`version_id` LEFT JOIN (SELECT `order.stateMachineState.translation`.state_machine_state_id, `order.stateMachineState.translation`.name as `order.stateMachineState.translation.name`, `order.stateMachineState.translation`.custom_fields as `order.stateMachineState.translation.customFields`, `order.stateMachineState.translation`.created_at as `order.stateMachineState.translation.createdAt`, `order.stateMachineState.translation`.updated_at as `order.stateMachineState.translation.updatedAt`, `order.stateMachineState.translation`.state_machine_state_id as `order.stateMachineState.translation.stateMachineStateId`, `order.stateMachineState.translation`.language_id as `order.stateMachineState.translation.languageId` FROM `state_machine_state_translation` `order.stateMachineState.translation` WHERE `order.stateMachineState.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `order.stateMachineState.state_machine_state_translation` ON `order.stateMachineState.state_machine_state_translation`.`state_machine_state_id` = `order.stateMachineState`.`id` LEFT JOIN `customer` `order.orderCustomer.customer` ON `order.orderCustomer`.`customer_id` = `order.orderCustomer.customer`.`id` LEFT JOIN (SELECT `order.currency.translation`.currency_id, `order.currency.translation`.short_name as `order.currency.translation.shortName`, `order.currency.translation`.name as `order.currency.translation.name`, `order.currency.translation`.custom_fields as `order.currency.translation.customFields`, `order.currency.translation`.created_at as `order.currency.translation.createdAt`, `order.currency.translation`.updated_at as `order.currency.translation.updatedAt`, `order.currency.translation`.currency_id as `order.currency.translation.currencyId`, `order.currency.translation`.language_id as `order.currency.translation.languageId` FROM `currency_translation` `order.currency.translation` WHERE `order.currency.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `order.currency.currency_translation` ON `order.currency.currency_translation`.`currency_id` = `order.currency`.`id` WHERE (`order`.`version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425) AND (`order`.`id` IN (0x19E1C44DF06043D19F4C27C6FCF099F6, 0xC2A75FD5B7E745D1A9389064772D5F8E, 0x52559DCE2A454B049FF342092931D535, 0xD29B83D85B06491C9400F73AE91C449E, 0x57F0191A601F4EC78030F7567DCAFF2D, 0x52F60EA348384348A5840011B6E530BF, 0x0F044313B8BF4F60A70BFAE2096D50C8, 0x666C22733C3F4EAA8A658E81A2661355, 0xFB25640D0D6F4B6BBFFDE72E1966B721, 0x0CD756D4C992461C866CBB451F53ABBB));
array:19 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 242)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 316)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetch (line 148)"
4 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 93)"
5 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::read (line 257)"
6 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::read (line 302)"
7 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::_search (line 106)"
8 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::search (line 51)"
9 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepositoryForwardCompatibilityDecorator::search (line 93)"
10 => "Shopware\Core\Checkout\Order\SalesChannel\OrderRoute::load (line 112)"
11 => "Shopware\Storefront\Page\Account\Order\AccountOrderPageLoader::getOrders (line 74)"
12 => "Shopware\Storefront\Page\Account\Order\AccountOrderPageLoader::load (line 119)"
13 => "Shopware\Storefront\Controller\AccountOrderController::orderOverview (line 163)"
14 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
15 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
16 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
17 => "Shopware\Core\HttpKernel::doHandle (line 81)"
18 => "Shopware\Core\HttpKernel::handle (line 85)"
]
|
176 |
2.27 ms |
SELECT `order_transaction`.`id` as `order_transaction.id`, `order_transaction`.`version_id` as `order_transaction.versionId`, `order_transaction`.`order_id` as `order_transaction.orderId`, `order_transaction`.`order_version_id` as `order_transaction.orderVersionId`, `order_transaction`.`payment_method_id` as `order_transaction.paymentMethodId`, `order_transaction`.`amount` as `order_transaction.amount`, `order_transaction`.`state_id` as `order_transaction.stateId`, `order_transaction.stateMachineState`.`id` as `order_transaction.stateMachineState.id`, `order_transaction.stateMachineState`.`technical_name` as `order_transaction.stateMachineState.technicalName`, `order_transaction.stateMachineState`.`state_machine_id` as `order_transaction.stateMachineState.stateMachineId`, `order_transaction.stateMachineState`.`created_at` as `order_transaction.stateMachineState.createdAt`, `order_transaction.stateMachineState`.`updated_at` as `order_transaction.stateMachineState.updatedAt`, `order_transaction.stateMachineState.translation.name`, COALESCE(`order_transaction.stateMachineState.translation.name`,`order_transaction.stateMachineState.translation.name`) as `order_transaction.stateMachineState.name`, `order_transaction.stateMachineState.translation.customFields`, COALESCE(`order_transaction.stateMachineState.translation.customFields`,`order_transaction.stateMachineState.translation.customFields`) as `order_transaction.stateMachineState.customFields`, `order_transaction.stateMachineState.translation.createdAt`, `order_transaction.stateMachineState.translation.updatedAt`, `order_transaction.stateMachineState.translation.stateMachineStateId`, `order_transaction.stateMachineState.translation.languageId`, `order_transaction`.`custom_fields` as `order_transaction.customFields`, `order_transaction`.`created_at` as `order_transaction.createdAt`, `order_transaction`.`updated_at` as `order_transaction.updatedAt`, `order_transaction.paymentMethod`.`id` as `order_transaction.paymentMethod.id`, `order_transaction.paymentMethod`.`plugin_id` as `order_transaction.paymentMethod.pluginId`, `order_transaction.paymentMethod`.`handler_identifier` as `order_transaction.paymentMethod.handlerIdentifier`, `order_transaction.paymentMethod`.`position` as `order_transaction.paymentMethod.position`, `order_transaction.paymentMethod`.`active` as `order_transaction.paymentMethod.active`, `order_transaction.paymentMethod`.`after_order_enabled` as `order_transaction.paymentMethod.afterOrderEnabled`, `order_transaction.paymentMethod`.`availability_rule_id` as `order_transaction.paymentMethod.availabilityRuleId`, `order_transaction.paymentMethod`.`media_id` as `order_transaction.paymentMethod.mediaId`, `order_transaction.paymentMethod.appPaymentMethod`.`id` as `order_transaction.paymentMethod.appPaymentMethod.id`, `order_transaction.paymentMethod.appPaymentMethod`.`app_name` as `order_transaction.paymentMethod.appPaymentMethod.appName`, `order_transaction.paymentMethod.appPaymentMethod`.`identifier` as `order_transaction.paymentMethod.appPaymentMethod.identifier`, `order_transaction.paymentMethod.appPaymentMethod`.`pay_url` as `order_transaction.paymentMethod.appPaymentMethod.payUrl`, `order_transaction.paymentMethod.appPaymentMethod`.`finalize_url` as `order_transaction.paymentMethod.appPaymentMethod.finalizeUrl`, `order_transaction.paymentMethod.appPaymentMethod`.`validate_url` as `order_transaction.paymentMethod.appPaymentMethod.validateUrl`, `order_transaction.paymentMethod.appPaymentMethod`.`capture_url` as `order_transaction.paymentMethod.appPaymentMethod.captureUrl`, `order_transaction.paymentMethod.appPaymentMethod`.`refund_url` as `order_transaction.paymentMethod.appPaymentMethod.refundUrl`, `order_transaction.paymentMethod.appPaymentMethod`.`app_id` as `order_transaction.paymentMethod.appPaymentMethod.appId`, `order_transaction.paymentMethod.appPaymentMethod`.`original_media_id` as `order_transaction.paymentMethod.appPaymentMethod.originalMediaId`, `order_transaction.paymentMethod.appPaymentMethod`.`payment_method_id` as `order_transaction.paymentMethod.appPaymentMethod.paymentMethodId`, `order_transaction.paymentMethod.appPaymentMethod`.`created_at` as `order_transaction.paymentMethod.appPaymentMethod.createdAt`, `order_transaction.paymentMethod.appPaymentMethod`.`updated_at` as `order_transaction.paymentMethod.appPaymentMethod.updatedAt`, `order_transaction.paymentMethod`.`created_at` as `order_transaction.paymentMethod.createdAt`, `order_transaction.paymentMethod`.`updated_at` as `order_transaction.paymentMethod.updatedAt`, `order_transaction.paymentMethod.translation.name`, COALESCE(`order_transaction.paymentMethod.translation.name`,`order_transaction.paymentMethod.translation.name`) as `order_transaction.paymentMethod.name`, `order_transaction.paymentMethod.translation.distinguishableName`, COALESCE(`order_transaction.paymentMethod.translation.distinguishableName`,`order_transaction.paymentMethod.translation.distinguishableName`) as `order_transaction.paymentMethod.distinguishableName`, `order_transaction.paymentMethod.translation.description`, COALESCE(`order_transaction.paymentMethod.translation.description`,`order_transaction.paymentMethod.translation.description`) as `order_transaction.paymentMethod.description`, `order_transaction.paymentMethod.translation.customFields`, COALESCE(`order_transaction.paymentMethod.translation.customFields`,`order_transaction.paymentMethod.translation.customFields`) as `order_transaction.paymentMethod.customFields`, `order_transaction.paymentMethod.translation.createdAt`, `order_transaction.paymentMethod.translation.updatedAt`, `order_transaction.paymentMethod.translation.paymentMethodId`, `order_transaction.paymentMethod.translation.languageId` FROM `order_transaction` LEFT JOIN `state_machine_state` `order_transaction.stateMachineState` ON `order_transaction`.`state_id` = `order_transaction.stateMachineState`.`id` LEFT JOIN `payment_method` `order_transaction.paymentMethod` ON `order_transaction`.`payment_method_id` = `order_transaction.paymentMethod`.`id` LEFT JOIN (SELECT `order_transaction.stateMachineState.translation`.state_machine_state_id, `order_transaction.stateMachineState.translation`.name as `order_transaction.stateMachineState.translation.name`, `order_transaction.stateMachineState.translation`.custom_fields as `order_transaction.stateMachineState.translation.customFields`, `order_transaction.stateMachineState.translation`.created_at as `order_transaction.stateMachineState.translation.createdAt`, `order_transaction.stateMachineState.translation`.updated_at as `order_transaction.stateMachineState.translation.updatedAt`, `order_transaction.stateMachineState.translation`.state_machine_state_id as `order_transaction.stateMachineState.translation.stateMachineStateId`, `order_transaction.stateMachineState.translation`.language_id as `order_transaction.stateMachineState.translation.languageId` FROM `state_machine_state_translation` `order_transaction.stateMachineState.translation` WHERE `order_transaction.stateMachineState.translation`.language_id = :languageId) `order_transaction.stateMachineState.state_machine_state_translation` ON `order_transaction.stateMachineState.state_machine_state_translation`.`state_machine_state_id` = `order_transaction.stateMachineState`.`id` LEFT JOIN (SELECT `order_transaction.paymentMethod.translation`.payment_method_id, `order_transaction.paymentMethod.translation`.name as `order_transaction.paymentMethod.translation.name`, `order_transaction.paymentMethod.translation`.distinguishable_name as `order_transaction.paymentMethod.translation.distinguishableName`, `order_transaction.paymentMethod.translation`.description as `order_transaction.paymentMethod.translation.description`, `order_transaction.paymentMethod.translation`.custom_fields as `order_transaction.paymentMethod.translation.customFields`, `order_transaction.paymentMethod.translation`.created_at as `order_transaction.paymentMethod.translation.createdAt`, `order_transaction.paymentMethod.translation`.updated_at as `order_transaction.paymentMethod.translation.updatedAt`, `order_transaction.paymentMethod.translation`.payment_method_id as `order_transaction.paymentMethod.translation.paymentMethodId`, `order_transaction.paymentMethod.translation`.language_id as `order_transaction.paymentMethod.translation.languageId` FROM `payment_method_translation` `order_transaction.paymentMethod.translation` WHERE `order_transaction.paymentMethod.translation`.language_id = :languageId) `order_transaction.paymentMethod.payment_method_translation` ON `order_transaction.paymentMethod.payment_method_translation`.`payment_method_id` = `order_transaction.paymentMethod`.`id` LEFT JOIN `app_payment_method` `order_transaction.paymentMethod.appPaymentMethod` ON `order_transaction.paymentMethod`.`id` = `order_transaction.paymentMethod.appPaymentMethod`.`payment_method_id` WHERE (`order_transaction`.`version_id` = :version) AND ((`order_transaction`.`order_id` IN (:param_d22dd889da984b1398fc3cf29ac0e5d6))) ORDER BY `order_transaction`.`created_at` ASC
SELECT
`order_transaction`.`id` as `order_transaction.id`,
`order_transaction`.`version_id` as `order_transaction.versionId`,
`order_transaction`.`order_id` as `order_transaction.orderId`,
`order_transaction`.`order_version_id` as `order_transaction.orderVersionId`,
`order_transaction`.`payment_method_id` as `order_transaction.paymentMethodId`,
`order_transaction`.`amount` as `order_transaction.amount`,
`order_transaction`.`state_id` as `order_transaction.stateId`,
`order_transaction.stateMachineState`.`id` as `order_transaction.stateMachineState.id`,
`order_transaction.stateMachineState`.`technical_name` as `order_transaction.stateMachineState.technicalName`,
`order_transaction.stateMachineState`.`state_machine_id` as `order_transaction.stateMachineState.stateMachineId`,
`order_transaction.stateMachineState`.`created_at` as `order_transaction.stateMachineState.createdAt`,
`order_transaction.stateMachineState`.`updated_at` as `order_transaction.stateMachineState.updatedAt`,
`order_transaction.stateMachineState.translation.name`,
COALESCE(
`order_transaction.stateMachineState.translation.name`,
`order_transaction.stateMachineState.translation.name`
) as `order_transaction.stateMachineState.name`,
`order_transaction.stateMachineState.translation.customFields`,
COALESCE(
`order_transaction.stateMachineState.translation.customFields`,
`order_transaction.stateMachineState.translation.customFields`
) as `order_transaction.stateMachineState.customFields`,
`order_transaction.stateMachineState.translation.createdAt`,
`order_transaction.stateMachineState.translation.updatedAt`,
`order_transaction.stateMachineState.translation.stateMachineStateId`,
`order_transaction.stateMachineState.translation.languageId`,
`order_transaction`.`custom_fields` as `order_transaction.customFields`,
`order_transaction`.`created_at` as `order_transaction.createdAt`,
`order_transaction`.`updated_at` as `order_transaction.updatedAt`,
`order_transaction.paymentMethod`.`id` as `order_transaction.paymentMethod.id`,
`order_transaction.paymentMethod`.`plugin_id` as `order_transaction.paymentMethod.pluginId`,
`order_transaction.paymentMethod`.`handler_identifier` as `order_transaction.paymentMethod.handlerIdentifier`,
`order_transaction.paymentMethod`.`position` as `order_transaction.paymentMethod.position`,
`order_transaction.paymentMethod`.`active` as `order_transaction.paymentMethod.active`,
`order_transaction.paymentMethod`.`after_order_enabled` as `order_transaction.paymentMethod.afterOrderEnabled`,
`order_transaction.paymentMethod`.`availability_rule_id` as `order_transaction.paymentMethod.availabilityRuleId`,
`order_transaction.paymentMethod`.`media_id` as `order_transaction.paymentMethod.mediaId`,
`order_transaction.paymentMethod.appPaymentMethod`.`id` as `order_transaction.paymentMethod.appPaymentMethod.id`,
`order_transaction.paymentMethod.appPaymentMethod`.`app_name` as `order_transaction.paymentMethod.appPaymentMethod.appName`,
`order_transaction.paymentMethod.appPaymentMethod`.`identifier` as `order_transaction.paymentMethod.appPaymentMethod.identifier`,
`order_transaction.paymentMethod.appPaymentMethod`.`pay_url` as `order_transaction.paymentMethod.appPaymentMethod.payUrl`,
`order_transaction.paymentMethod.appPaymentMethod`.`finalize_url` as `order_transaction.paymentMethod.appPaymentMethod.finalizeUrl`,
`order_transaction.paymentMethod.appPaymentMethod`.`validate_url` as `order_transaction.paymentMethod.appPaymentMethod.validateUrl`,
`order_transaction.paymentMethod.appPaymentMethod`.`capture_url` as `order_transaction.paymentMethod.appPaymentMethod.captureUrl`,
`order_transaction.paymentMethod.appPaymentMethod`.`refund_url` as `order_transaction.paymentMethod.appPaymentMethod.refundUrl`,
`order_transaction.paymentMethod.appPaymentMethod`.`app_id` as `order_transaction.paymentMethod.appPaymentMethod.appId`,
`order_transaction.paymentMethod.appPaymentMethod`.`original_media_id` as `order_transaction.paymentMethod.appPaymentMethod.originalMediaId`,
`order_transaction.paymentMethod.appPaymentMethod`.`payment_method_id` as `order_transaction.paymentMethod.appPaymentMethod.paymentMethodId`,
`order_transaction.paymentMethod.appPaymentMethod`.`created_at` as `order_transaction.paymentMethod.appPaymentMethod.createdAt`,
`order_transaction.paymentMethod.appPaymentMethod`.`updated_at` as `order_transaction.paymentMethod.appPaymentMethod.updatedAt`,
`order_transaction.paymentMethod`.`created_at` as `order_transaction.paymentMethod.createdAt`,
`order_transaction.paymentMethod`.`updated_at` as `order_transaction.paymentMethod.updatedAt`,
`order_transaction.paymentMethod.translation.name`,
COALESCE(
`order_transaction.paymentMethod.translation.name`,
`order_transaction.paymentMethod.translation.name`
) as `order_transaction.paymentMethod.name`,
`order_transaction.paymentMethod.translation.distinguishableName`,
COALESCE(
`order_transaction.paymentMethod.translation.distinguishableName`,
`order_transaction.paymentMethod.translation.distinguishableName`
) as `order_transaction.paymentMethod.distinguishableName`,
`order_transaction.paymentMethod.translation.description`,
COALESCE(
`order_transaction.paymentMethod.translation.description`,
`order_transaction.paymentMethod.translation.description`
) as `order_transaction.paymentMethod.description`,
`order_transaction.paymentMethod.translation.customFields`,
COALESCE(
`order_transaction.paymentMethod.translation.customFields`,
`order_transaction.paymentMethod.translation.customFields`
) as `order_transaction.paymentMethod.customFields`,
`order_transaction.paymentMethod.translation.createdAt`,
`order_transaction.paymentMethod.translation.updatedAt`,
`order_transaction.paymentMethod.translation.paymentMethodId`,
`order_transaction.paymentMethod.translation.languageId`
FROM
`order_transaction`
LEFT JOIN `state_machine_state` `order_transaction.stateMachineState` ON `order_transaction`.`state_id` = `order_transaction.stateMachineState`.`id`
LEFT JOIN `payment_method` `order_transaction.paymentMethod` ON `order_transaction`.`payment_method_id` = `order_transaction.paymentMethod`.`id`
LEFT JOIN (
SELECT
`order_transaction.stateMachineState.translation`.state_machine_state_id,
`order_transaction.stateMachineState.translation`.name as `order_transaction.stateMachineState.translation.name`,
`order_transaction.stateMachineState.translation`.custom_fields as `order_transaction.stateMachineState.translation.customFields`,
`order_transaction.stateMachineState.translation`.created_at as `order_transaction.stateMachineState.translation.createdAt`,
`order_transaction.stateMachineState.translation`.updated_at as `order_transaction.stateMachineState.translation.updatedAt`,
`order_transaction.stateMachineState.translation`.state_machine_state_id as `order_transaction.stateMachineState.translation.stateMachineStateId`,
`order_transaction.stateMachineState.translation`.language_id as `order_transaction.stateMachineState.translation.languageId`
FROM
`state_machine_state_translation` `order_transaction.stateMachineState.translation`
WHERE
`order_transaction.stateMachineState.translation`.language_id = : languageId
) `order_transaction.stateMachineState.state_machine_state_translation` ON `order_transaction.stateMachineState.state_machine_state_translation`.`state_machine_state_id` = `order_transaction.stateMachineState`.`id`
LEFT JOIN (
SELECT
`order_transaction.paymentMethod.translation`.payment_method_id,
`order_transaction.paymentMethod.translation`.name as `order_transaction.paymentMethod.translation.name`,
`order_transaction.paymentMethod.translation`.distinguishable_name as `order_transaction.paymentMethod.translation.distinguishableName`,
`order_transaction.paymentMethod.translation`.description as `order_transaction.paymentMethod.translation.description`,
`order_transaction.paymentMethod.translation`.custom_fields as `order_transaction.paymentMethod.translation.customFields`,
`order_transaction.paymentMethod.translation`.created_at as `order_transaction.paymentMethod.translation.createdAt`,
`order_transaction.paymentMethod.translation`.updated_at as `order_transaction.paymentMethod.translation.updatedAt`,
`order_transaction.paymentMethod.translation`.payment_method_id as `order_transaction.paymentMethod.translation.paymentMethodId`,
`order_transaction.paymentMethod.translation`.language_id as `order_transaction.paymentMethod.translation.languageId`
FROM
`payment_method_translation` `order_transaction.paymentMethod.translation`
WHERE
`order_transaction.paymentMethod.translation`.language_id = : languageId
) `order_transaction.paymentMethod.payment_method_translation` ON `order_transaction.paymentMethod.payment_method_translation`.`payment_method_id` = `order_transaction.paymentMethod`.`id`
LEFT JOIN `app_payment_method` `order_transaction.paymentMethod.appPaymentMethod` ON `order_transaction.paymentMethod`.`id` = `order_transaction.paymentMethod.appPaymentMethod`.`payment_method_id`
WHERE
(
`order_transaction`.`version_id` = : version
)
AND (
(
`order_transaction`.`order_id` IN (
: param_d22dd889da984b1398fc3cf29ac0e5d6
)
)
)
ORDER BY
`order_transaction`.`created_at` ASC
SELECT `order_transaction`.`id` as `order_transaction.id`, `order_transaction`.`version_id` as `order_transaction.versionId`, `order_transaction`.`order_id` as `order_transaction.orderId`, `order_transaction`.`order_version_id` as `order_transaction.orderVersionId`, `order_transaction`.`payment_method_id` as `order_transaction.paymentMethodId`, `order_transaction`.`amount` as `order_transaction.amount`, `order_transaction`.`state_id` as `order_transaction.stateId`, `order_transaction.stateMachineState`.`id` as `order_transaction.stateMachineState.id`, `order_transaction.stateMachineState`.`technical_name` as `order_transaction.stateMachineState.technicalName`, `order_transaction.stateMachineState`.`state_machine_id` as `order_transaction.stateMachineState.stateMachineId`, `order_transaction.stateMachineState`.`created_at` as `order_transaction.stateMachineState.createdAt`, `order_transaction.stateMachineState`.`updated_at` as `order_transaction.stateMachineState.updatedAt`, `order_transaction.stateMachineState.translation.name`, COALESCE(`order_transaction.stateMachineState.translation.name`,`order_transaction.stateMachineState.translation.name`) as `order_transaction.stateMachineState.name`, `order_transaction.stateMachineState.translation.customFields`, COALESCE(`order_transaction.stateMachineState.translation.customFields`,`order_transaction.stateMachineState.translation.customFields`) as `order_transaction.stateMachineState.customFields`, `order_transaction.stateMachineState.translation.createdAt`, `order_transaction.stateMachineState.translation.updatedAt`, `order_transaction.stateMachineState.translation.stateMachineStateId`, `order_transaction.stateMachineState.translation.languageId`, `order_transaction`.`custom_fields` as `order_transaction.customFields`, `order_transaction`.`created_at` as `order_transaction.createdAt`, `order_transaction`.`updated_at` as `order_transaction.updatedAt`, `order_transaction.paymentMethod`.`id` as `order_transaction.paymentMethod.id`, `order_transaction.paymentMethod`.`plugin_id` as `order_transaction.paymentMethod.pluginId`, `order_transaction.paymentMethod`.`handler_identifier` as `order_transaction.paymentMethod.handlerIdentifier`, `order_transaction.paymentMethod`.`position` as `order_transaction.paymentMethod.position`, `order_transaction.paymentMethod`.`active` as `order_transaction.paymentMethod.active`, `order_transaction.paymentMethod`.`after_order_enabled` as `order_transaction.paymentMethod.afterOrderEnabled`, `order_transaction.paymentMethod`.`availability_rule_id` as `order_transaction.paymentMethod.availabilityRuleId`, `order_transaction.paymentMethod`.`media_id` as `order_transaction.paymentMethod.mediaId`, `order_transaction.paymentMethod.appPaymentMethod`.`id` as `order_transaction.paymentMethod.appPaymentMethod.id`, `order_transaction.paymentMethod.appPaymentMethod`.`app_name` as `order_transaction.paymentMethod.appPaymentMethod.appName`, `order_transaction.paymentMethod.appPaymentMethod`.`identifier` as `order_transaction.paymentMethod.appPaymentMethod.identifier`, `order_transaction.paymentMethod.appPaymentMethod`.`pay_url` as `order_transaction.paymentMethod.appPaymentMethod.payUrl`, `order_transaction.paymentMethod.appPaymentMethod`.`finalize_url` as `order_transaction.paymentMethod.appPaymentMethod.finalizeUrl`, `order_transaction.paymentMethod.appPaymentMethod`.`validate_url` as `order_transaction.paymentMethod.appPaymentMethod.validateUrl`, `order_transaction.paymentMethod.appPaymentMethod`.`capture_url` as `order_transaction.paymentMethod.appPaymentMethod.captureUrl`, `order_transaction.paymentMethod.appPaymentMethod`.`refund_url` as `order_transaction.paymentMethod.appPaymentMethod.refundUrl`, `order_transaction.paymentMethod.appPaymentMethod`.`app_id` as `order_transaction.paymentMethod.appPaymentMethod.appId`, `order_transaction.paymentMethod.appPaymentMethod`.`original_media_id` as `order_transaction.paymentMethod.appPaymentMethod.originalMediaId`, `order_transaction.paymentMethod.appPaymentMethod`.`payment_method_id` as `order_transaction.paymentMethod.appPaymentMethod.paymentMethodId`, `order_transaction.paymentMethod.appPaymentMethod`.`created_at` as `order_transaction.paymentMethod.appPaymentMethod.createdAt`, `order_transaction.paymentMethod.appPaymentMethod`.`updated_at` as `order_transaction.paymentMethod.appPaymentMethod.updatedAt`, `order_transaction.paymentMethod`.`created_at` as `order_transaction.paymentMethod.createdAt`, `order_transaction.paymentMethod`.`updated_at` as `order_transaction.paymentMethod.updatedAt`, `order_transaction.paymentMethod.translation.name`, COALESCE(`order_transaction.paymentMethod.translation.name`,`order_transaction.paymentMethod.translation.name`) as `order_transaction.paymentMethod.name`, `order_transaction.paymentMethod.translation.distinguishableName`, COALESCE(`order_transaction.paymentMethod.translation.distinguishableName`,`order_transaction.paymentMethod.translation.distinguishableName`) as `order_transaction.paymentMethod.distinguishableName`, `order_transaction.paymentMethod.translation.description`, COALESCE(`order_transaction.paymentMethod.translation.description`,`order_transaction.paymentMethod.translation.description`) as `order_transaction.paymentMethod.description`, `order_transaction.paymentMethod.translation.customFields`, COALESCE(`order_transaction.paymentMethod.translation.customFields`,`order_transaction.paymentMethod.translation.customFields`) as `order_transaction.paymentMethod.customFields`, `order_transaction.paymentMethod.translation.createdAt`, `order_transaction.paymentMethod.translation.updatedAt`, `order_transaction.paymentMethod.translation.paymentMethodId`, `order_transaction.paymentMethod.translation.languageId` FROM `order_transaction` LEFT JOIN `state_machine_state` `order_transaction.stateMachineState` ON `order_transaction`.`state_id` = `order_transaction.stateMachineState`.`id` LEFT JOIN `payment_method` `order_transaction.paymentMethod` ON `order_transaction`.`payment_method_id` = `order_transaction.paymentMethod`.`id` LEFT JOIN (SELECT `order_transaction.stateMachineState.translation`.state_machine_state_id, `order_transaction.stateMachineState.translation`.name as `order_transaction.stateMachineState.translation.name`, `order_transaction.stateMachineState.translation`.custom_fields as `order_transaction.stateMachineState.translation.customFields`, `order_transaction.stateMachineState.translation`.created_at as `order_transaction.stateMachineState.translation.createdAt`, `order_transaction.stateMachineState.translation`.updated_at as `order_transaction.stateMachineState.translation.updatedAt`, `order_transaction.stateMachineState.translation`.state_machine_state_id as `order_transaction.stateMachineState.translation.stateMachineStateId`, `order_transaction.stateMachineState.translation`.language_id as `order_transaction.stateMachineState.translation.languageId` FROM `state_machine_state_translation` `order_transaction.stateMachineState.translation` WHERE `order_transaction.stateMachineState.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `order_transaction.stateMachineState.state_machine_state_translation` ON `order_transaction.stateMachineState.state_machine_state_translation`.`state_machine_state_id` = `order_transaction.stateMachineState`.`id` LEFT JOIN (SELECT `order_transaction.paymentMethod.translation`.payment_method_id, `order_transaction.paymentMethod.translation`.name as `order_transaction.paymentMethod.translation.name`, `order_transaction.paymentMethod.translation`.distinguishable_name as `order_transaction.paymentMethod.translation.distinguishableName`, `order_transaction.paymentMethod.translation`.description as `order_transaction.paymentMethod.translation.description`, `order_transaction.paymentMethod.translation`.custom_fields as `order_transaction.paymentMethod.translation.customFields`, `order_transaction.paymentMethod.translation`.created_at as `order_transaction.paymentMethod.translation.createdAt`, `order_transaction.paymentMethod.translation`.updated_at as `order_transaction.paymentMethod.translation.updatedAt`, `order_transaction.paymentMethod.translation`.payment_method_id as `order_transaction.paymentMethod.translation.paymentMethodId`, `order_transaction.paymentMethod.translation`.language_id as `order_transaction.paymentMethod.translation.languageId` FROM `payment_method_translation` `order_transaction.paymentMethod.translation` WHERE `order_transaction.paymentMethod.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `order_transaction.paymentMethod.payment_method_translation` ON `order_transaction.paymentMethod.payment_method_translation`.`payment_method_id` = `order_transaction.paymentMethod`.`id` LEFT JOIN `app_payment_method` `order_transaction.paymentMethod.appPaymentMethod` ON `order_transaction.paymentMethod`.`id` = `order_transaction.paymentMethod.appPaymentMethod`.`payment_method_id` WHERE (`order_transaction`.`version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425) AND ((`order_transaction`.`order_id` IN (0x0CD756D4C992461C866CBB451F53ABBB, 0x0F044313B8BF4F60A70BFAE2096D50C8, 0x19E1C44DF06043D19F4C27C6FCF099F6, 0x52559DCE2A454B049FF342092931D535, 0x52F60EA348384348A5840011B6E530BF, 0x57F0191A601F4EC78030F7567DCAFF2D, 0x666C22733C3F4EAA8A658E81A2661355, 0xC2A75FD5B7E745D1A9389064772D5F8E, 0xD29B83D85B06491C9400F73AE91C449E, 0xFB25640D0D6F4B6BBFFDE72E1966B721))) ORDER BY `order_transaction`.`created_at` ASC;
array:23 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 242)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 316)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetch (line 148)"
4 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 503)"
5 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::loadOneToManyWithoutPagination (line 438)"
6 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::loadOneToMany (line 1210)"
7 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetchAssociations (line 152)"
8 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 93)"
9 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::read (line 257)"
10 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::read (line 302)"
11 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::_search (line 106)"
12 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::search (line 51)"
13 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepositoryForwardCompatibilityDecorator::search (line 93)"
14 => "Shopware\Core\Checkout\Order\SalesChannel\OrderRoute::load (line 112)"
15 => "Shopware\Storefront\Page\Account\Order\AccountOrderPageLoader::getOrders (line 74)"
16 => "Shopware\Storefront\Page\Account\Order\AccountOrderPageLoader::load (line 119)"
17 => "Shopware\Storefront\Controller\AccountOrderController::orderOverview (line 163)"
18 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
19 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
20 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
21 => "Shopware\Core\HttpKernel::doHandle (line 81)"
22 => "Shopware\Core\HttpKernel::handle (line 85)"
]
|
177 |
5.10 ms |
SELECT `order_delivery`.`id` as `order_delivery.id`, `order_delivery`.`version_id` as `order_delivery.versionId`, `order_delivery`.`order_id` as `order_delivery.orderId`, `order_delivery`.`order_version_id` as `order_delivery.orderVersionId`, `order_delivery`.`shipping_order_address_id` as `order_delivery.shippingOrderAddressId`, `order_delivery`.`shipping_order_address_version_id` as `order_delivery.shippingOrderAddressVersionId`, `order_delivery`.`shipping_method_id` as `order_delivery.shippingMethodId`, `order_delivery`.`state_id` as `order_delivery.stateId`, `order_delivery.stateMachineState`.`id` as `order_delivery.stateMachineState.id`, `order_delivery.stateMachineState`.`technical_name` as `order_delivery.stateMachineState.technicalName`, `order_delivery.stateMachineState`.`state_machine_id` as `order_delivery.stateMachineState.stateMachineId`, `order_delivery.stateMachineState`.`created_at` as `order_delivery.stateMachineState.createdAt`, `order_delivery.stateMachineState`.`updated_at` as `order_delivery.stateMachineState.updatedAt`, `order_delivery.stateMachineState.translation.name`, COALESCE(`order_delivery.stateMachineState.translation.name`,`order_delivery.stateMachineState.translation.name`) as `order_delivery.stateMachineState.name`, `order_delivery.stateMachineState.translation.customFields`, COALESCE(`order_delivery.stateMachineState.translation.customFields`,`order_delivery.stateMachineState.translation.customFields`) as `order_delivery.stateMachineState.customFields`, `order_delivery.stateMachineState.translation.createdAt`, `order_delivery.stateMachineState.translation.updatedAt`, `order_delivery.stateMachineState.translation.stateMachineStateId`, `order_delivery.stateMachineState.translation.languageId`, `order_delivery`.`tracking_codes` as `order_delivery.trackingCodes`, `order_delivery`.`shipping_date_earliest` as `order_delivery.shippingDateEarliest`, `order_delivery`.`shipping_date_latest` as `order_delivery.shippingDateLatest`, `order_delivery`.`shipping_costs` as `order_delivery.shippingCosts`, `order_delivery`.`custom_fields` as `order_delivery.customFields`, `order_delivery.shippingOrderAddress`.`id` as `order_delivery.shippingOrderAddress.id`, `order_delivery.shippingOrderAddress`.`version_id` as `order_delivery.shippingOrderAddress.versionId`, `order_delivery.shippingOrderAddress`.`country_id` as `order_delivery.shippingOrderAddress.countryId`, `order_delivery.shippingOrderAddress`.`country_state_id` as `order_delivery.shippingOrderAddress.countryStateId`, `order_delivery.shippingOrderAddress`.`order_id` as `order_delivery.shippingOrderAddress.orderId`, `order_delivery.shippingOrderAddress`.`order_version_id` as `order_delivery.shippingOrderAddress.orderVersionId`, `order_delivery.shippingOrderAddress`.`salutation_id` as `order_delivery.shippingOrderAddress.salutationId`, `order_delivery.shippingOrderAddress`.`first_name` as `order_delivery.shippingOrderAddress.firstName`, `order_delivery.shippingOrderAddress`.`last_name` as `order_delivery.shippingOrderAddress.lastName`, `order_delivery.shippingOrderAddress`.`street` as `order_delivery.shippingOrderAddress.street`, `order_delivery.shippingOrderAddress`.`zipcode` as `order_delivery.shippingOrderAddress.zipcode`, `order_delivery.shippingOrderAddress`.`city` as `order_delivery.shippingOrderAddress.city`, `order_delivery.shippingOrderAddress`.`company` as `order_delivery.shippingOrderAddress.company`, `order_delivery.shippingOrderAddress`.`department` as `order_delivery.shippingOrderAddress.department`, `order_delivery.shippingOrderAddress`.`title` as `order_delivery.shippingOrderAddress.title`, `order_delivery.shippingOrderAddress`.`vat_id` as `order_delivery.shippingOrderAddress.vatId`, `order_delivery.shippingOrderAddress`.`phone_number` as `order_delivery.shippingOrderAddress.phoneNumber`, `order_delivery.shippingOrderAddress`.`additional_address_line1` as `order_delivery.shippingOrderAddress.additionalAddressLine1`, `order_delivery.shippingOrderAddress`.`additional_address_line2` as `order_delivery.shippingOrderAddress.additionalAddressLine2`, `order_delivery.shippingOrderAddress`.`custom_fields` as `order_delivery.shippingOrderAddress.customFields`, `order_delivery.shippingOrderAddress`.`created_at` as `order_delivery.shippingOrderAddress.createdAt`, `order_delivery.shippingOrderAddress`.`updated_at` as `order_delivery.shippingOrderAddress.updatedAt`, `order_delivery`.`created_at` as `order_delivery.createdAt`, `order_delivery`.`updated_at` as `order_delivery.updatedAt`, `order_delivery.shippingMethod`.`id` as `order_delivery.shippingMethod.id`, `order_delivery.shippingMethod`.`active` as `order_delivery.shippingMethod.active`, `order_delivery.shippingMethod`.`position` as `order_delivery.shippingMethod.position`, `order_delivery.shippingMethod`.`availability_rule_id` as `order_delivery.shippingMethod.availabilityRuleId`, `order_delivery.shippingMethod`.`media_id` as `order_delivery.shippingMethod.mediaId`, `order_delivery.shippingMethod`.`delivery_time_id` as `order_delivery.shippingMethod.deliveryTimeId`, `order_delivery.shippingMethod`.`tax_type` as `order_delivery.shippingMethod.taxType`, `order_delivery.shippingMethod`.`tax_id` as `order_delivery.shippingMethod.taxId`, `order_delivery.shippingMethod.deliveryTime`.`id` as `order_delivery.shippingMethod.deliveryTime.id`, `order_delivery.shippingMethod.deliveryTime`.`min` as `order_delivery.shippingMethod.deliveryTime.min`, `order_delivery.shippingMethod.deliveryTime`.`max` as `order_delivery.shippingMethod.deliveryTime.max`, `order_delivery.shippingMethod.deliveryTime`.`unit` as `order_delivery.shippingMethod.deliveryTime.unit`, `order_delivery.shippingMethod.deliveryTime`.`created_at` as `order_delivery.shippingMethod.deliveryTime.createdAt`, `order_delivery.shippingMethod.deliveryTime`.`updated_at` as `order_delivery.shippingMethod.deliveryTime.updatedAt`, `order_delivery.shippingMethod.deliveryTime.translation.name`, COALESCE(`order_delivery.shippingMethod.deliveryTime.translation.name`,`order_delivery.shippingMethod.deliveryTime.translation.name`) as `order_delivery.shippingMethod.deliveryTime.name`, `order_delivery.shippingMethod.deliveryTime.translation.customFields`, COALESCE(`order_delivery.shippingMethod.deliveryTime.translation.customFields`,`order_delivery.shippingMethod.deliveryTime.translation.customFields`) as `order_delivery.shippingMethod.deliveryTime.customFields`, `order_delivery.shippingMethod.deliveryTime.translation.createdAt`, `order_delivery.shippingMethod.deliveryTime.translation.updatedAt`, `order_delivery.shippingMethod.deliveryTime.translation.deliveryTimeId`, `order_delivery.shippingMethod.deliveryTime.translation.languageId`, `order_delivery.shippingMethod`.`created_at` as `order_delivery.shippingMethod.createdAt`, `order_delivery.shippingMethod`.`updated_at` as `order_delivery.shippingMethod.updatedAt`, `order_delivery.shippingMethod.translation.name`, COALESCE(`order_delivery.shippingMethod.translation.name`,`order_delivery.shippingMethod.translation.name`) as `order_delivery.shippingMethod.name`, `order_delivery.shippingMethod.translation.description`, COALESCE(`order_delivery.shippingMethod.translation.description`,`order_delivery.shippingMethod.translation.description`) as `order_delivery.shippingMethod.description`, `order_delivery.shippingMethod.translation.trackingUrl`, COALESCE(`order_delivery.shippingMethod.translation.trackingUrl`,`order_delivery.shippingMethod.translation.trackingUrl`) as `order_delivery.shippingMethod.trackingUrl`, `order_delivery.shippingMethod.translation.customFields`, COALESCE(`order_delivery.shippingMethod.translation.customFields`,`order_delivery.shippingMethod.translation.customFields`) as `order_delivery.shippingMethod.customFields`, `order_delivery.shippingMethod.translation.createdAt`, `order_delivery.shippingMethod.translation.updatedAt`, `order_delivery.shippingMethod.translation.shippingMethodId`, `order_delivery.shippingMethod.translation.languageId` FROM `order_delivery` LEFT JOIN `state_machine_state` `order_delivery.stateMachineState` ON `order_delivery`.`state_id` = `order_delivery.stateMachineState`.`id` LEFT JOIN `order_address` `order_delivery.shippingOrderAddress` ON `order_delivery`.`shipping_order_address_id` = `order_delivery.shippingOrderAddress`.`id` AND `order_delivery`.`version_id` = `order_delivery.shippingOrderAddress`.`version_id` LEFT JOIN `shipping_method` `order_delivery.shippingMethod` ON `order_delivery`.`shipping_method_id` = `order_delivery.shippingMethod`.`id` LEFT JOIN (SELECT `order_delivery.stateMachineState.translation`.state_machine_state_id, `order_delivery.stateMachineState.translation`.name as `order_delivery.stateMachineState.translation.name`, `order_delivery.stateMachineState.translation`.custom_fields as `order_delivery.stateMachineState.translation.customFields`, `order_delivery.stateMachineState.translation`.created_at as `order_delivery.stateMachineState.translation.createdAt`, `order_delivery.stateMachineState.translation`.updated_at as `order_delivery.stateMachineState.translation.updatedAt`, `order_delivery.stateMachineState.translation`.state_machine_state_id as `order_delivery.stateMachineState.translation.stateMachineStateId`, `order_delivery.stateMachineState.translation`.language_id as `order_delivery.stateMachineState.translation.languageId` FROM `state_machine_state_translation` `order_delivery.stateMachineState.translation` WHERE `order_delivery.stateMachineState.translation`.language_id = :languageId) `order_delivery.stateMachineState.state_machine_state_translation` ON `order_delivery.stateMachineState.state_machine_state_translation`.`state_machine_state_id` = `order_delivery.stateMachineState`.`id` LEFT JOIN (SELECT `order_delivery.shippingMethod.translation`.shipping_method_id, `order_delivery.shippingMethod.translation`.name as `order_delivery.shippingMethod.translation.name`, `order_delivery.shippingMethod.translation`.description as `order_delivery.shippingMethod.translation.description`, `order_delivery.shippingMethod.translation`.tracking_url as `order_delivery.shippingMethod.translation.trackingUrl`, `order_delivery.shippingMethod.translation`.custom_fields as `order_delivery.shippingMethod.translation.customFields`, `order_delivery.shippingMethod.translation`.created_at as `order_delivery.shippingMethod.translation.createdAt`, `order_delivery.shippingMethod.translation`.updated_at as `order_delivery.shippingMethod.translation.updatedAt`, `order_delivery.shippingMethod.translation`.shipping_method_id as `order_delivery.shippingMethod.translation.shippingMethodId`, `order_delivery.shippingMethod.translation`.language_id as `order_delivery.shippingMethod.translation.languageId` FROM `shipping_method_translation` `order_delivery.shippingMethod.translation` WHERE `order_delivery.shippingMethod.translation`.language_id = :languageId) `order_delivery.shippingMethod.shipping_method_translation` ON `order_delivery.shippingMethod.shipping_method_translation`.`shipping_method_id` = `order_delivery.shippingMethod`.`id` LEFT JOIN `delivery_time` `order_delivery.shippingMethod.deliveryTime` ON `order_delivery.shippingMethod`.`delivery_time_id` = `order_delivery.shippingMethod.deliveryTime`.`id` LEFT JOIN (SELECT `order_delivery.shippingMethod.deliveryTime.translation`.delivery_time_id, `order_delivery.shippingMethod.deliveryTime.translation`.name as `order_delivery.shippingMethod.deliveryTime.translation.name`, `order_delivery.shippingMethod.deliveryTime.translation`.custom_fields as `order_delivery.shippingMethod.deliveryTime.translation.customFields`, `order_delivery.shippingMethod.deliveryTime.translation`.created_at as `order_delivery.shippingMethod.deliveryTime.translation.createdAt`, `order_delivery.shippingMethod.deliveryTime.translation`.updated_at as `order_delivery.shippingMethod.deliveryTime.translation.updatedAt`, `order_delivery.shippingMethod.deliveryTime.translation`.delivery_time_id as `order_delivery.shippingMethod.deliveryTime.translation.deliveryTimeId`, `order_delivery.shippingMethod.deliveryTime.translation`.language_id as `order_delivery.shippingMethod.deliveryTime.translation.languageId` FROM `delivery_time_translation` `order_delivery.shippingMethod.deliveryTime.translation` WHERE `order_delivery.shippingMethod.deliveryTime.translation`.language_id = :languageId) `order_delivery.shippingMethod.deliveryTime.delivery_time_translation` ON `order_delivery.shippingMethod.deliveryTime.delivery_time_translation`.`delivery_time_id` = `order_delivery.shippingMethod.deliveryTime`.`id` WHERE (`order_delivery`.`version_id` = :version) AND ((`order_delivery`.`order_id` IN (:param_6300f580dbed4afd9f3098ac0e75ecf8)))
SELECT
`order_delivery`.`id` as `order_delivery.id`,
`order_delivery`.`version_id` as `order_delivery.versionId`,
`order_delivery`.`order_id` as `order_delivery.orderId`,
`order_delivery`.`order_version_id` as `order_delivery.orderVersionId`,
`order_delivery`.`shipping_order_address_id` as `order_delivery.shippingOrderAddressId`,
`order_delivery`.`shipping_order_address_version_id` as `order_delivery.shippingOrderAddressVersionId`,
`order_delivery`.`shipping_method_id` as `order_delivery.shippingMethodId`,
`order_delivery`.`state_id` as `order_delivery.stateId`,
`order_delivery.stateMachineState`.`id` as `order_delivery.stateMachineState.id`,
`order_delivery.stateMachineState`.`technical_name` as `order_delivery.stateMachineState.technicalName`,
`order_delivery.stateMachineState`.`state_machine_id` as `order_delivery.stateMachineState.stateMachineId`,
`order_delivery.stateMachineState`.`created_at` as `order_delivery.stateMachineState.createdAt`,
`order_delivery.stateMachineState`.`updated_at` as `order_delivery.stateMachineState.updatedAt`,
`order_delivery.stateMachineState.translation.name`,
COALESCE(
`order_delivery.stateMachineState.translation.name`,
`order_delivery.stateMachineState.translation.name`
) as `order_delivery.stateMachineState.name`,
`order_delivery.stateMachineState.translation.customFields`,
COALESCE(
`order_delivery.stateMachineState.translation.customFields`,
`order_delivery.stateMachineState.translation.customFields`
) as `order_delivery.stateMachineState.customFields`,
`order_delivery.stateMachineState.translation.createdAt`,
`order_delivery.stateMachineState.translation.updatedAt`,
`order_delivery.stateMachineState.translation.stateMachineStateId`,
`order_delivery.stateMachineState.translation.languageId`,
`order_delivery`.`tracking_codes` as `order_delivery.trackingCodes`,
`order_delivery`.`shipping_date_earliest` as `order_delivery.shippingDateEarliest`,
`order_delivery`.`shipping_date_latest` as `order_delivery.shippingDateLatest`,
`order_delivery`.`shipping_costs` as `order_delivery.shippingCosts`,
`order_delivery`.`custom_fields` as `order_delivery.customFields`,
`order_delivery.shippingOrderAddress`.`id` as `order_delivery.shippingOrderAddress.id`,
`order_delivery.shippingOrderAddress`.`version_id` as `order_delivery.shippingOrderAddress.versionId`,
`order_delivery.shippingOrderAddress`.`country_id` as `order_delivery.shippingOrderAddress.countryId`,
`order_delivery.shippingOrderAddress`.`country_state_id` as `order_delivery.shippingOrderAddress.countryStateId`,
`order_delivery.shippingOrderAddress`.`order_id` as `order_delivery.shippingOrderAddress.orderId`,
`order_delivery.shippingOrderAddress`.`order_version_id` as `order_delivery.shippingOrderAddress.orderVersionId`,
`order_delivery.shippingOrderAddress`.`salutation_id` as `order_delivery.shippingOrderAddress.salutationId`,
`order_delivery.shippingOrderAddress`.`first_name` as `order_delivery.shippingOrderAddress.firstName`,
`order_delivery.shippingOrderAddress`.`last_name` as `order_delivery.shippingOrderAddress.lastName`,
`order_delivery.shippingOrderAddress`.`street` as `order_delivery.shippingOrderAddress.street`,
`order_delivery.shippingOrderAddress`.`zipcode` as `order_delivery.shippingOrderAddress.zipcode`,
`order_delivery.shippingOrderAddress`.`city` as `order_delivery.shippingOrderAddress.city`,
`order_delivery.shippingOrderAddress`.`company` as `order_delivery.shippingOrderAddress.company`,
`order_delivery.shippingOrderAddress`.`department` as `order_delivery.shippingOrderAddress.department`,
`order_delivery.shippingOrderAddress`.`title` as `order_delivery.shippingOrderAddress.title`,
`order_delivery.shippingOrderAddress`.`vat_id` as `order_delivery.shippingOrderAddress.vatId`,
`order_delivery.shippingOrderAddress`.`phone_number` as `order_delivery.shippingOrderAddress.phoneNumber`,
`order_delivery.shippingOrderAddress`.`additional_address_line1` as `order_delivery.shippingOrderAddress.additionalAddressLine1`,
`order_delivery.shippingOrderAddress`.`additional_address_line2` as `order_delivery.shippingOrderAddress.additionalAddressLine2`,
`order_delivery.shippingOrderAddress`.`custom_fields` as `order_delivery.shippingOrderAddress.customFields`,
`order_delivery.shippingOrderAddress`.`created_at` as `order_delivery.shippingOrderAddress.createdAt`,
`order_delivery.shippingOrderAddress`.`updated_at` as `order_delivery.shippingOrderAddress.updatedAt`,
`order_delivery`.`created_at` as `order_delivery.createdAt`,
`order_delivery`.`updated_at` as `order_delivery.updatedAt`,
`order_delivery.shippingMethod`.`id` as `order_delivery.shippingMethod.id`,
`order_delivery.shippingMethod`.`active` as `order_delivery.shippingMethod.active`,
`order_delivery.shippingMethod`.`position` as `order_delivery.shippingMethod.position`,
`order_delivery.shippingMethod`.`availability_rule_id` as `order_delivery.shippingMethod.availabilityRuleId`,
`order_delivery.shippingMethod`.`media_id` as `order_delivery.shippingMethod.mediaId`,
`order_delivery.shippingMethod`.`delivery_time_id` as `order_delivery.shippingMethod.deliveryTimeId`,
`order_delivery.shippingMethod`.`tax_type` as `order_delivery.shippingMethod.taxType`,
`order_delivery.shippingMethod`.`tax_id` as `order_delivery.shippingMethod.taxId`,
`order_delivery.shippingMethod.deliveryTime`.`id` as `order_delivery.shippingMethod.deliveryTime.id`,
`order_delivery.shippingMethod.deliveryTime`.`min` as `order_delivery.shippingMethod.deliveryTime.min`,
`order_delivery.shippingMethod.deliveryTime`.`max` as `order_delivery.shippingMethod.deliveryTime.max`,
`order_delivery.shippingMethod.deliveryTime`.`unit` as `order_delivery.shippingMethod.deliveryTime.unit`,
`order_delivery.shippingMethod.deliveryTime`.`created_at` as `order_delivery.shippingMethod.deliveryTime.createdAt`,
`order_delivery.shippingMethod.deliveryTime`.`updated_at` as `order_delivery.shippingMethod.deliveryTime.updatedAt`,
`order_delivery.shippingMethod.deliveryTime.translation.name`,
COALESCE(
`order_delivery.shippingMethod.deliveryTime.translation.name`,
`order_delivery.shippingMethod.deliveryTime.translation.name`
) as `order_delivery.shippingMethod.deliveryTime.name`,
`order_delivery.shippingMethod.deliveryTime.translation.customFields`,
COALESCE(
`order_delivery.shippingMethod.deliveryTime.translation.customFields`,
`order_delivery.shippingMethod.deliveryTime.translation.customFields`
) as `order_delivery.shippingMethod.deliveryTime.customFields`,
`order_delivery.shippingMethod.deliveryTime.translation.createdAt`,
`order_delivery.shippingMethod.deliveryTime.translation.updatedAt`,
`order_delivery.shippingMethod.deliveryTime.translation.deliveryTimeId`,
`order_delivery.shippingMethod.deliveryTime.translation.languageId`,
`order_delivery.shippingMethod`.`created_at` as `order_delivery.shippingMethod.createdAt`,
`order_delivery.shippingMethod`.`updated_at` as `order_delivery.shippingMethod.updatedAt`,
`order_delivery.shippingMethod.translation.name`,
COALESCE(
`order_delivery.shippingMethod.translation.name`,
`order_delivery.shippingMethod.translation.name`
) as `order_delivery.shippingMethod.name`,
`order_delivery.shippingMethod.translation.description`,
COALESCE(
`order_delivery.shippingMethod.translation.description`,
`order_delivery.shippingMethod.translation.description`
) as `order_delivery.shippingMethod.description`,
`order_delivery.shippingMethod.translation.trackingUrl`,
COALESCE(
`order_delivery.shippingMethod.translation.trackingUrl`,
`order_delivery.shippingMethod.translation.trackingUrl`
) as `order_delivery.shippingMethod.trackingUrl`,
`order_delivery.shippingMethod.translation.customFields`,
COALESCE(
`order_delivery.shippingMethod.translation.customFields`,
`order_delivery.shippingMethod.translation.customFields`
) as `order_delivery.shippingMethod.customFields`,
`order_delivery.shippingMethod.translation.createdAt`,
`order_delivery.shippingMethod.translation.updatedAt`,
`order_delivery.shippingMethod.translation.shippingMethodId`,
`order_delivery.shippingMethod.translation.languageId`
FROM
`order_delivery`
LEFT JOIN `state_machine_state` `order_delivery.stateMachineState` ON `order_delivery`.`state_id` = `order_delivery.stateMachineState`.`id`
LEFT JOIN `order_address` `order_delivery.shippingOrderAddress` ON `order_delivery`.`shipping_order_address_id` = `order_delivery.shippingOrderAddress`.`id`
AND `order_delivery`.`version_id` = `order_delivery.shippingOrderAddress`.`version_id`
LEFT JOIN `shipping_method` `order_delivery.shippingMethod` ON `order_delivery`.`shipping_method_id` = `order_delivery.shippingMethod`.`id`
LEFT JOIN (
SELECT
`order_delivery.stateMachineState.translation`.state_machine_state_id,
`order_delivery.stateMachineState.translation`.name as `order_delivery.stateMachineState.translation.name`,
`order_delivery.stateMachineState.translation`.custom_fields as `order_delivery.stateMachineState.translation.customFields`,
`order_delivery.stateMachineState.translation`.created_at as `order_delivery.stateMachineState.translation.createdAt`,
`order_delivery.stateMachineState.translation`.updated_at as `order_delivery.stateMachineState.translation.updatedAt`,
`order_delivery.stateMachineState.translation`.state_machine_state_id as `order_delivery.stateMachineState.translation.stateMachineStateId`,
`order_delivery.stateMachineState.translation`.language_id as `order_delivery.stateMachineState.translation.languageId`
FROM
`state_machine_state_translation` `order_delivery.stateMachineState.translation`
WHERE
`order_delivery.stateMachineState.translation`.language_id = : languageId
) `order_delivery.stateMachineState.state_machine_state_translation` ON `order_delivery.stateMachineState.state_machine_state_translation`.`state_machine_state_id` = `order_delivery.stateMachineState`.`id`
LEFT JOIN (
SELECT
`order_delivery.shippingMethod.translation`.shipping_method_id,
`order_delivery.shippingMethod.translation`.name as `order_delivery.shippingMethod.translation.name`,
`order_delivery.shippingMethod.translation`.description as `order_delivery.shippingMethod.translation.description`,
`order_delivery.shippingMethod.translation`.tracking_url as `order_delivery.shippingMethod.translation.trackingUrl`,
`order_delivery.shippingMethod.translation`.custom_fields as `order_delivery.shippingMethod.translation.customFields`,
`order_delivery.shippingMethod.translation`.created_at as `order_delivery.shippingMethod.translation.createdAt`,
`order_delivery.shippingMethod.translation`.updated_at as `order_delivery.shippingMethod.translation.updatedAt`,
`order_delivery.shippingMethod.translation`.shipping_method_id as `order_delivery.shippingMethod.translation.shippingMethodId`,
`order_delivery.shippingMethod.translation`.language_id as `order_delivery.shippingMethod.translation.languageId`
FROM
`shipping_method_translation` `order_delivery.shippingMethod.translation`
WHERE
`order_delivery.shippingMethod.translation`.language_id = : languageId
) `order_delivery.shippingMethod.shipping_method_translation` ON `order_delivery.shippingMethod.shipping_method_translation`.`shipping_method_id` = `order_delivery.shippingMethod`.`id`
LEFT JOIN `delivery_time` `order_delivery.shippingMethod.deliveryTime` ON `order_delivery.shippingMethod`.`delivery_time_id` = `order_delivery.shippingMethod.deliveryTime`.`id`
LEFT JOIN (
SELECT
`order_delivery.shippingMethod.deliveryTime.translation`.delivery_time_id,
`order_delivery.shippingMethod.deliveryTime.translation`.name as `order_delivery.shippingMethod.deliveryTime.translation.name`,
`order_delivery.shippingMethod.deliveryTime.translation`.custom_fields as `order_delivery.shippingMethod.deliveryTime.translation.customFields`,
`order_delivery.shippingMethod.deliveryTime.translation`.created_at as `order_delivery.shippingMethod.deliveryTime.translation.createdAt`,
`order_delivery.shippingMethod.deliveryTime.translation`.updated_at as `order_delivery.shippingMethod.deliveryTime.translation.updatedAt`,
`order_delivery.shippingMethod.deliveryTime.translation`.delivery_time_id as `order_delivery.shippingMethod.deliveryTime.translation.deliveryTimeId`,
`order_delivery.shippingMethod.deliveryTime.translation`.language_id as `order_delivery.shippingMethod.deliveryTime.translation.languageId`
FROM
`delivery_time_translation` `order_delivery.shippingMethod.deliveryTime.translation`
WHERE
`order_delivery.shippingMethod.deliveryTime.translation`.language_id = : languageId
) `order_delivery.shippingMethod.deliveryTime.delivery_time_translation` ON `order_delivery.shippingMethod.deliveryTime.delivery_time_translation`.`delivery_time_id` = `order_delivery.shippingMethod.deliveryTime`.`id`
WHERE
(
`order_delivery`.`version_id` = : version
)
AND (
(
`order_delivery`.`order_id` IN (
: param_6300f580dbed4afd9f3098ac0e75ecf8
)
)
)
SELECT `order_delivery`.`id` as `order_delivery.id`, `order_delivery`.`version_id` as `order_delivery.versionId`, `order_delivery`.`order_id` as `order_delivery.orderId`, `order_delivery`.`order_version_id` as `order_delivery.orderVersionId`, `order_delivery`.`shipping_order_address_id` as `order_delivery.shippingOrderAddressId`, `order_delivery`.`shipping_order_address_version_id` as `order_delivery.shippingOrderAddressVersionId`, `order_delivery`.`shipping_method_id` as `order_delivery.shippingMethodId`, `order_delivery`.`state_id` as `order_delivery.stateId`, `order_delivery.stateMachineState`.`id` as `order_delivery.stateMachineState.id`, `order_delivery.stateMachineState`.`technical_name` as `order_delivery.stateMachineState.technicalName`, `order_delivery.stateMachineState`.`state_machine_id` as `order_delivery.stateMachineState.stateMachineId`, `order_delivery.stateMachineState`.`created_at` as `order_delivery.stateMachineState.createdAt`, `order_delivery.stateMachineState`.`updated_at` as `order_delivery.stateMachineState.updatedAt`, `order_delivery.stateMachineState.translation.name`, COALESCE(`order_delivery.stateMachineState.translation.name`,`order_delivery.stateMachineState.translation.name`) as `order_delivery.stateMachineState.name`, `order_delivery.stateMachineState.translation.customFields`, COALESCE(`order_delivery.stateMachineState.translation.customFields`,`order_delivery.stateMachineState.translation.customFields`) as `order_delivery.stateMachineState.customFields`, `order_delivery.stateMachineState.translation.createdAt`, `order_delivery.stateMachineState.translation.updatedAt`, `order_delivery.stateMachineState.translation.stateMachineStateId`, `order_delivery.stateMachineState.translation.languageId`, `order_delivery`.`tracking_codes` as `order_delivery.trackingCodes`, `order_delivery`.`shipping_date_earliest` as `order_delivery.shippingDateEarliest`, `order_delivery`.`shipping_date_latest` as `order_delivery.shippingDateLatest`, `order_delivery`.`shipping_costs` as `order_delivery.shippingCosts`, `order_delivery`.`custom_fields` as `order_delivery.customFields`, `order_delivery.shippingOrderAddress`.`id` as `order_delivery.shippingOrderAddress.id`, `order_delivery.shippingOrderAddress`.`version_id` as `order_delivery.shippingOrderAddress.versionId`, `order_delivery.shippingOrderAddress`.`country_id` as `order_delivery.shippingOrderAddress.countryId`, `order_delivery.shippingOrderAddress`.`country_state_id` as `order_delivery.shippingOrderAddress.countryStateId`, `order_delivery.shippingOrderAddress`.`order_id` as `order_delivery.shippingOrderAddress.orderId`, `order_delivery.shippingOrderAddress`.`order_version_id` as `order_delivery.shippingOrderAddress.orderVersionId`, `order_delivery.shippingOrderAddress`.`salutation_id` as `order_delivery.shippingOrderAddress.salutationId`, `order_delivery.shippingOrderAddress`.`first_name` as `order_delivery.shippingOrderAddress.firstName`, `order_delivery.shippingOrderAddress`.`last_name` as `order_delivery.shippingOrderAddress.lastName`, `order_delivery.shippingOrderAddress`.`street` as `order_delivery.shippingOrderAddress.street`, `order_delivery.shippingOrderAddress`.`zipcode` as `order_delivery.shippingOrderAddress.zipcode`, `order_delivery.shippingOrderAddress`.`city` as `order_delivery.shippingOrderAddress.city`, `order_delivery.shippingOrderAddress`.`company` as `order_delivery.shippingOrderAddress.company`, `order_delivery.shippingOrderAddress`.`department` as `order_delivery.shippingOrderAddress.department`, `order_delivery.shippingOrderAddress`.`title` as `order_delivery.shippingOrderAddress.title`, `order_delivery.shippingOrderAddress`.`vat_id` as `order_delivery.shippingOrderAddress.vatId`, `order_delivery.shippingOrderAddress`.`phone_number` as `order_delivery.shippingOrderAddress.phoneNumber`, `order_delivery.shippingOrderAddress`.`additional_address_line1` as `order_delivery.shippingOrderAddress.additionalAddressLine1`, `order_delivery.shippingOrderAddress`.`additional_address_line2` as `order_delivery.shippingOrderAddress.additionalAddressLine2`, `order_delivery.shippingOrderAddress`.`custom_fields` as `order_delivery.shippingOrderAddress.customFields`, `order_delivery.shippingOrderAddress`.`created_at` as `order_delivery.shippingOrderAddress.createdAt`, `order_delivery.shippingOrderAddress`.`updated_at` as `order_delivery.shippingOrderAddress.updatedAt`, `order_delivery`.`created_at` as `order_delivery.createdAt`, `order_delivery`.`updated_at` as `order_delivery.updatedAt`, `order_delivery.shippingMethod`.`id` as `order_delivery.shippingMethod.id`, `order_delivery.shippingMethod`.`active` as `order_delivery.shippingMethod.active`, `order_delivery.shippingMethod`.`position` as `order_delivery.shippingMethod.position`, `order_delivery.shippingMethod`.`availability_rule_id` as `order_delivery.shippingMethod.availabilityRuleId`, `order_delivery.shippingMethod`.`media_id` as `order_delivery.shippingMethod.mediaId`, `order_delivery.shippingMethod`.`delivery_time_id` as `order_delivery.shippingMethod.deliveryTimeId`, `order_delivery.shippingMethod`.`tax_type` as `order_delivery.shippingMethod.taxType`, `order_delivery.shippingMethod`.`tax_id` as `order_delivery.shippingMethod.taxId`, `order_delivery.shippingMethod.deliveryTime`.`id` as `order_delivery.shippingMethod.deliveryTime.id`, `order_delivery.shippingMethod.deliveryTime`.`min` as `order_delivery.shippingMethod.deliveryTime.min`, `order_delivery.shippingMethod.deliveryTime`.`max` as `order_delivery.shippingMethod.deliveryTime.max`, `order_delivery.shippingMethod.deliveryTime`.`unit` as `order_delivery.shippingMethod.deliveryTime.unit`, `order_delivery.shippingMethod.deliveryTime`.`created_at` as `order_delivery.shippingMethod.deliveryTime.createdAt`, `order_delivery.shippingMethod.deliveryTime`.`updated_at` as `order_delivery.shippingMethod.deliveryTime.updatedAt`, `order_delivery.shippingMethod.deliveryTime.translation.name`, COALESCE(`order_delivery.shippingMethod.deliveryTime.translation.name`,`order_delivery.shippingMethod.deliveryTime.translation.name`) as `order_delivery.shippingMethod.deliveryTime.name`, `order_delivery.shippingMethod.deliveryTime.translation.customFields`, COALESCE(`order_delivery.shippingMethod.deliveryTime.translation.customFields`,`order_delivery.shippingMethod.deliveryTime.translation.customFields`) as `order_delivery.shippingMethod.deliveryTime.customFields`, `order_delivery.shippingMethod.deliveryTime.translation.createdAt`, `order_delivery.shippingMethod.deliveryTime.translation.updatedAt`, `order_delivery.shippingMethod.deliveryTime.translation.deliveryTimeId`, `order_delivery.shippingMethod.deliveryTime.translation.languageId`, `order_delivery.shippingMethod`.`created_at` as `order_delivery.shippingMethod.createdAt`, `order_delivery.shippingMethod`.`updated_at` as `order_delivery.shippingMethod.updatedAt`, `order_delivery.shippingMethod.translation.name`, COALESCE(`order_delivery.shippingMethod.translation.name`,`order_delivery.shippingMethod.translation.name`) as `order_delivery.shippingMethod.name`, `order_delivery.shippingMethod.translation.description`, COALESCE(`order_delivery.shippingMethod.translation.description`,`order_delivery.shippingMethod.translation.description`) as `order_delivery.shippingMethod.description`, `order_delivery.shippingMethod.translation.trackingUrl`, COALESCE(`order_delivery.shippingMethod.translation.trackingUrl`,`order_delivery.shippingMethod.translation.trackingUrl`) as `order_delivery.shippingMethod.trackingUrl`, `order_delivery.shippingMethod.translation.customFields`, COALESCE(`order_delivery.shippingMethod.translation.customFields`,`order_delivery.shippingMethod.translation.customFields`) as `order_delivery.shippingMethod.customFields`, `order_delivery.shippingMethod.translation.createdAt`, `order_delivery.shippingMethod.translation.updatedAt`, `order_delivery.shippingMethod.translation.shippingMethodId`, `order_delivery.shippingMethod.translation.languageId` FROM `order_delivery` LEFT JOIN `state_machine_state` `order_delivery.stateMachineState` ON `order_delivery`.`state_id` = `order_delivery.stateMachineState`.`id` LEFT JOIN `order_address` `order_delivery.shippingOrderAddress` ON `order_delivery`.`shipping_order_address_id` = `order_delivery.shippingOrderAddress`.`id` AND `order_delivery`.`version_id` = `order_delivery.shippingOrderAddress`.`version_id` LEFT JOIN `shipping_method` `order_delivery.shippingMethod` ON `order_delivery`.`shipping_method_id` = `order_delivery.shippingMethod`.`id` LEFT JOIN (SELECT `order_delivery.stateMachineState.translation`.state_machine_state_id, `order_delivery.stateMachineState.translation`.name as `order_delivery.stateMachineState.translation.name`, `order_delivery.stateMachineState.translation`.custom_fields as `order_delivery.stateMachineState.translation.customFields`, `order_delivery.stateMachineState.translation`.created_at as `order_delivery.stateMachineState.translation.createdAt`, `order_delivery.stateMachineState.translation`.updated_at as `order_delivery.stateMachineState.translation.updatedAt`, `order_delivery.stateMachineState.translation`.state_machine_state_id as `order_delivery.stateMachineState.translation.stateMachineStateId`, `order_delivery.stateMachineState.translation`.language_id as `order_delivery.stateMachineState.translation.languageId` FROM `state_machine_state_translation` `order_delivery.stateMachineState.translation` WHERE `order_delivery.stateMachineState.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `order_delivery.stateMachineState.state_machine_state_translation` ON `order_delivery.stateMachineState.state_machine_state_translation`.`state_machine_state_id` = `order_delivery.stateMachineState`.`id` LEFT JOIN (SELECT `order_delivery.shippingMethod.translation`.shipping_method_id, `order_delivery.shippingMethod.translation`.name as `order_delivery.shippingMethod.translation.name`, `order_delivery.shippingMethod.translation`.description as `order_delivery.shippingMethod.translation.description`, `order_delivery.shippingMethod.translation`.tracking_url as `order_delivery.shippingMethod.translation.trackingUrl`, `order_delivery.shippingMethod.translation`.custom_fields as `order_delivery.shippingMethod.translation.customFields`, `order_delivery.shippingMethod.translation`.created_at as `order_delivery.shippingMethod.translation.createdAt`, `order_delivery.shippingMethod.translation`.updated_at as `order_delivery.shippingMethod.translation.updatedAt`, `order_delivery.shippingMethod.translation`.shipping_method_id as `order_delivery.shippingMethod.translation.shippingMethodId`, `order_delivery.shippingMethod.translation`.language_id as `order_delivery.shippingMethod.translation.languageId` FROM `shipping_method_translation` `order_delivery.shippingMethod.translation` WHERE `order_delivery.shippingMethod.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `order_delivery.shippingMethod.shipping_method_translation` ON `order_delivery.shippingMethod.shipping_method_translation`.`shipping_method_id` = `order_delivery.shippingMethod`.`id` LEFT JOIN `delivery_time` `order_delivery.shippingMethod.deliveryTime` ON `order_delivery.shippingMethod`.`delivery_time_id` = `order_delivery.shippingMethod.deliveryTime`.`id` LEFT JOIN (SELECT `order_delivery.shippingMethod.deliveryTime.translation`.delivery_time_id, `order_delivery.shippingMethod.deliveryTime.translation`.name as `order_delivery.shippingMethod.deliveryTime.translation.name`, `order_delivery.shippingMethod.deliveryTime.translation`.custom_fields as `order_delivery.shippingMethod.deliveryTime.translation.customFields`, `order_delivery.shippingMethod.deliveryTime.translation`.created_at as `order_delivery.shippingMethod.deliveryTime.translation.createdAt`, `order_delivery.shippingMethod.deliveryTime.translation`.updated_at as `order_delivery.shippingMethod.deliveryTime.translation.updatedAt`, `order_delivery.shippingMethod.deliveryTime.translation`.delivery_time_id as `order_delivery.shippingMethod.deliveryTime.translation.deliveryTimeId`, `order_delivery.shippingMethod.deliveryTime.translation`.language_id as `order_delivery.shippingMethod.deliveryTime.translation.languageId` FROM `delivery_time_translation` `order_delivery.shippingMethod.deliveryTime.translation` WHERE `order_delivery.shippingMethod.deliveryTime.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `order_delivery.shippingMethod.deliveryTime.delivery_time_translation` ON `order_delivery.shippingMethod.deliveryTime.delivery_time_translation`.`delivery_time_id` = `order_delivery.shippingMethod.deliveryTime`.`id` WHERE (`order_delivery`.`version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425) AND ((`order_delivery`.`order_id` IN (0x0CD756D4C992461C866CBB451F53ABBB, 0x0F044313B8BF4F60A70BFAE2096D50C8, 0x19E1C44DF06043D19F4C27C6FCF099F6, 0x52559DCE2A454B049FF342092931D535, 0x52F60EA348384348A5840011B6E530BF, 0x57F0191A601F4EC78030F7567DCAFF2D, 0x666C22733C3F4EAA8A658E81A2661355, 0xC2A75FD5B7E745D1A9389064772D5F8E, 0xD29B83D85B06491C9400F73AE91C449E, 0xFB25640D0D6F4B6BBFFDE72E1966B721)));
array:23 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 242)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 316)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetch (line 148)"
4 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 503)"
5 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::loadOneToManyWithoutPagination (line 438)"
6 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::loadOneToMany (line 1210)"
7 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetchAssociations (line 152)"
8 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 93)"
9 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::read (line 257)"
10 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::read (line 302)"
11 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::_search (line 106)"
12 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::search (line 51)"
13 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepositoryForwardCompatibilityDecorator::search (line 93)"
14 => "Shopware\Core\Checkout\Order\SalesChannel\OrderRoute::load (line 112)"
15 => "Shopware\Storefront\Page\Account\Order\AccountOrderPageLoader::getOrders (line 74)"
16 => "Shopware\Storefront\Page\Account\Order\AccountOrderPageLoader::load (line 119)"
17 => "Shopware\Storefront\Controller\AccountOrderController::orderOverview (line 163)"
18 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
19 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
20 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
21 => "Shopware\Core\HttpKernel::doHandle (line 81)"
22 => "Shopware\Core\HttpKernel::handle (line 85)"
]
|
178 |
22.09 ms |
SELECT `order_line_item`.`id` as `order_line_item.id`, `order_line_item`.`version_id` as `order_line_item.versionId`, `order_line_item`.`order_id` as `order_line_item.orderId`, `order_line_item`.`order_version_id` as `order_line_item.orderVersionId`, `order_line_item`.`product_id` as `order_line_item.productId`, `order_line_item`.`product_version_id` as `order_line_item.productVersionId`, `order_line_item`.`promotion_id` as `order_line_item.promotionId`, `order_line_item`.`parent_id` as `order_line_item.parentId`, `order_line_item`.`parent_version_id` as `order_line_item.parentVersionId`, `order_line_item`.`cover_id` as `order_line_item.coverId`, `order_line_item`.`identifier` as `order_line_item.identifier`, `order_line_item`.`referenced_id` as `order_line_item.referencedId`, `order_line_item`.`quantity` as `order_line_item.quantity`, `order_line_item`.`label` as `order_line_item.label`, `order_line_item`.`payload` as `order_line_item.payload`, `order_line_item`.`good` as `order_line_item.good`, `order_line_item`.`removable` as `order_line_item.removable`, `order_line_item`.`stackable` as `order_line_item.stackable`, `order_line_item`.`position` as `order_line_item.position`, `order_line_item`.`states` as `order_line_item.states`, `order_line_item`.`price` as `order_line_item.price`, `order_line_item`.`price_definition` as `order_line_item.priceDefinition`, `order_line_item`.`unit_price` as `order_line_item.unitPrice`, `order_line_item`.`total_price` as `order_line_item.totalPrice`, `order_line_item`.`description` as `order_line_item.description`, `order_line_item`.`type` as `order_line_item.type`, `order_line_item`.`custom_fields` as `order_line_item.customFields`, `order_line_item`.`created_at` as `order_line_item.createdAt`, `order_line_item`.`updated_at` as `order_line_item.updatedAt`, `order_line_item.cover`.`id` as `order_line_item.cover.id`, `order_line_item.cover`.`user_id` as `order_line_item.cover.userId`, `order_line_item.cover`.`media_folder_id` as `order_line_item.cover.mediaFolderId`, `order_line_item.cover`.`mime_type` as `order_line_item.cover.mimeType`, `order_line_item.cover`.`file_extension` as `order_line_item.cover.fileExtension`, `order_line_item.cover`.`uploaded_at` as `order_line_item.cover.uploadedAt`, `order_line_item.cover`.`file_name` as `order_line_item.cover.fileName`, `order_line_item.cover`.`file_size` as `order_line_item.cover.fileSize`, `order_line_item.cover`.`media_type` as `order_line_item.cover.mediaTypeRaw`, `order_line_item.cover`.`meta_data` as `order_line_item.cover.metaData`, `order_line_item.cover`.`private` as `order_line_item.cover.private`, `order_line_item.cover`.`thumbnails_ro` as `order_line_item.cover.thumbnailsRo`, `order_line_item.cover`.`created_at` as `order_line_item.cover.createdAt`, `order_line_item.cover`.`updated_at` as `order_line_item.cover.updatedAt`, `order_line_item.cover.translation.title`, COALESCE(`order_line_item.cover.translation.title`,`order_line_item.cover.translation.title`) as `order_line_item.cover.title`, `order_line_item.cover.translation.alt`, COALESCE(`order_line_item.cover.translation.alt`,`order_line_item.cover.translation.alt`) as `order_line_item.cover.alt`, `order_line_item.cover.translation.customFields`, COALESCE(`order_line_item.cover.translation.customFields`,`order_line_item.cover.translation.customFields`) as `order_line_item.cover.customFields`, `order_line_item.cover.translation.createdAt`, `order_line_item.cover.translation.updatedAt`, `order_line_item.cover.translation.mediaId`, `order_line_item.cover.translation.languageId` FROM `order_line_item` LEFT JOIN `media` `order_line_item.cover` ON `order_line_item`.`cover_id` = `order_line_item.cover`.`id` LEFT JOIN (SELECT `order_line_item.cover.translation`.media_id, `order_line_item.cover.translation`.title as `order_line_item.cover.translation.title`, `order_line_item.cover.translation`.alt as `order_line_item.cover.translation.alt`, `order_line_item.cover.translation`.custom_fields as `order_line_item.cover.translation.customFields`, `order_line_item.cover.translation`.created_at as `order_line_item.cover.translation.createdAt`, `order_line_item.cover.translation`.updated_at as `order_line_item.cover.translation.updatedAt`, `order_line_item.cover.translation`.media_id as `order_line_item.cover.translation.mediaId`, `order_line_item.cover.translation`.language_id as `order_line_item.cover.translation.languageId` FROM `media_translation` `order_line_item.cover.translation` WHERE `order_line_item.cover.translation`.language_id = :languageId) `order_line_item.cover.media_translation` ON `order_line_item.cover.media_translation`.`media_id` = `order_line_item.cover`.`id` WHERE (`order_line_item`.`version_id` = :version) AND ((`order_line_item`.`order_id` IN (:param_22e9fcd336674c38ac9de8da645c0a49)))
SELECT
`order_line_item`.`id` as `order_line_item.id`,
`order_line_item`.`version_id` as `order_line_item.versionId`,
`order_line_item`.`order_id` as `order_line_item.orderId`,
`order_line_item`.`order_version_id` as `order_line_item.orderVersionId`,
`order_line_item`.`product_id` as `order_line_item.productId`,
`order_line_item`.`product_version_id` as `order_line_item.productVersionId`,
`order_line_item`.`promotion_id` as `order_line_item.promotionId`,
`order_line_item`.`parent_id` as `order_line_item.parentId`,
`order_line_item`.`parent_version_id` as `order_line_item.parentVersionId`,
`order_line_item`.`cover_id` as `order_line_item.coverId`,
`order_line_item`.`identifier` as `order_line_item.identifier`,
`order_line_item`.`referenced_id` as `order_line_item.referencedId`,
`order_line_item`.`quantity` as `order_line_item.quantity`,
`order_line_item`.`label` as `order_line_item.label`,
`order_line_item`.`payload` as `order_line_item.payload`,
`order_line_item`.`good` as `order_line_item.good`,
`order_line_item`.`removable` as `order_line_item.removable`,
`order_line_item`.`stackable` as `order_line_item.stackable`,
`order_line_item`.`position` as `order_line_item.position`,
`order_line_item`.`states` as `order_line_item.states`,
`order_line_item`.`price` as `order_line_item.price`,
`order_line_item`.`price_definition` as `order_line_item.priceDefinition`,
`order_line_item`.`unit_price` as `order_line_item.unitPrice`,
`order_line_item`.`total_price` as `order_line_item.totalPrice`,
`order_line_item`.`description` as `order_line_item.description`,
`order_line_item`.`type` as `order_line_item.type`,
`order_line_item`.`custom_fields` as `order_line_item.customFields`,
`order_line_item`.`created_at` as `order_line_item.createdAt`,
`order_line_item`.`updated_at` as `order_line_item.updatedAt`,
`order_line_item.cover`.`id` as `order_line_item.cover.id`,
`order_line_item.cover`.`user_id` as `order_line_item.cover.userId`,
`order_line_item.cover`.`media_folder_id` as `order_line_item.cover.mediaFolderId`,
`order_line_item.cover`.`mime_type` as `order_line_item.cover.mimeType`,
`order_line_item.cover`.`file_extension` as `order_line_item.cover.fileExtension`,
`order_line_item.cover`.`uploaded_at` as `order_line_item.cover.uploadedAt`,
`order_line_item.cover`.`file_name` as `order_line_item.cover.fileName`,
`order_line_item.cover`.`file_size` as `order_line_item.cover.fileSize`,
`order_line_item.cover`.`media_type` as `order_line_item.cover.mediaTypeRaw`,
`order_line_item.cover`.`meta_data` as `order_line_item.cover.metaData`,
`order_line_item.cover`.`private` as `order_line_item.cover.private`,
`order_line_item.cover`.`thumbnails_ro` as `order_line_item.cover.thumbnailsRo`,
`order_line_item.cover`.`created_at` as `order_line_item.cover.createdAt`,
`order_line_item.cover`.`updated_at` as `order_line_item.cover.updatedAt`,
`order_line_item.cover.translation.title`,
COALESCE(
`order_line_item.cover.translation.title`,
`order_line_item.cover.translation.title`
) as `order_line_item.cover.title`,
`order_line_item.cover.translation.alt`,
COALESCE(
`order_line_item.cover.translation.alt`,
`order_line_item.cover.translation.alt`
) as `order_line_item.cover.alt`,
`order_line_item.cover.translation.customFields`,
COALESCE(
`order_line_item.cover.translation.customFields`,
`order_line_item.cover.translation.customFields`
) as `order_line_item.cover.customFields`,
`order_line_item.cover.translation.createdAt`,
`order_line_item.cover.translation.updatedAt`,
`order_line_item.cover.translation.mediaId`,
`order_line_item.cover.translation.languageId`
FROM
`order_line_item`
LEFT JOIN `media` `order_line_item.cover` ON `order_line_item`.`cover_id` = `order_line_item.cover`.`id`
LEFT JOIN (
SELECT
`order_line_item.cover.translation`.media_id,
`order_line_item.cover.translation`.title as `order_line_item.cover.translation.title`,
`order_line_item.cover.translation`.alt as `order_line_item.cover.translation.alt`,
`order_line_item.cover.translation`.custom_fields as `order_line_item.cover.translation.customFields`,
`order_line_item.cover.translation`.created_at as `order_line_item.cover.translation.createdAt`,
`order_line_item.cover.translation`.updated_at as `order_line_item.cover.translation.updatedAt`,
`order_line_item.cover.translation`.media_id as `order_line_item.cover.translation.mediaId`,
`order_line_item.cover.translation`.language_id as `order_line_item.cover.translation.languageId`
FROM
`media_translation` `order_line_item.cover.translation`
WHERE
`order_line_item.cover.translation`.language_id = : languageId
) `order_line_item.cover.media_translation` ON `order_line_item.cover.media_translation`.`media_id` = `order_line_item.cover`.`id`
WHERE
(
`order_line_item`.`version_id` = : version
)
AND (
(
`order_line_item`.`order_id` IN (
: param_22e9fcd336674c38ac9de8da645c0a49
)
)
)
SELECT `order_line_item`.`id` as `order_line_item.id`, `order_line_item`.`version_id` as `order_line_item.versionId`, `order_line_item`.`order_id` as `order_line_item.orderId`, `order_line_item`.`order_version_id` as `order_line_item.orderVersionId`, `order_line_item`.`product_id` as `order_line_item.productId`, `order_line_item`.`product_version_id` as `order_line_item.productVersionId`, `order_line_item`.`promotion_id` as `order_line_item.promotionId`, `order_line_item`.`parent_id` as `order_line_item.parentId`, `order_line_item`.`parent_version_id` as `order_line_item.parentVersionId`, `order_line_item`.`cover_id` as `order_line_item.coverId`, `order_line_item`.`identifier` as `order_line_item.identifier`, `order_line_item`.`referenced_id` as `order_line_item.referencedId`, `order_line_item`.`quantity` as `order_line_item.quantity`, `order_line_item`.`label` as `order_line_item.label`, `order_line_item`.`payload` as `order_line_item.payload`, `order_line_item`.`good` as `order_line_item.good`, `order_line_item`.`removable` as `order_line_item.removable`, `order_line_item`.`stackable` as `order_line_item.stackable`, `order_line_item`.`position` as `order_line_item.position`, `order_line_item`.`states` as `order_line_item.states`, `order_line_item`.`price` as `order_line_item.price`, `order_line_item`.`price_definition` as `order_line_item.priceDefinition`, `order_line_item`.`unit_price` as `order_line_item.unitPrice`, `order_line_item`.`total_price` as `order_line_item.totalPrice`, `order_line_item`.`description` as `order_line_item.description`, `order_line_item`.`type` as `order_line_item.type`, `order_line_item`.`custom_fields` as `order_line_item.customFields`, `order_line_item`.`created_at` as `order_line_item.createdAt`, `order_line_item`.`updated_at` as `order_line_item.updatedAt`, `order_line_item.cover`.`id` as `order_line_item.cover.id`, `order_line_item.cover`.`user_id` as `order_line_item.cover.userId`, `order_line_item.cover`.`media_folder_id` as `order_line_item.cover.mediaFolderId`, `order_line_item.cover`.`mime_type` as `order_line_item.cover.mimeType`, `order_line_item.cover`.`file_extension` as `order_line_item.cover.fileExtension`, `order_line_item.cover`.`uploaded_at` as `order_line_item.cover.uploadedAt`, `order_line_item.cover`.`file_name` as `order_line_item.cover.fileName`, `order_line_item.cover`.`file_size` as `order_line_item.cover.fileSize`, `order_line_item.cover`.`media_type` as `order_line_item.cover.mediaTypeRaw`, `order_line_item.cover`.`meta_data` as `order_line_item.cover.metaData`, `order_line_item.cover`.`private` as `order_line_item.cover.private`, `order_line_item.cover`.`thumbnails_ro` as `order_line_item.cover.thumbnailsRo`, `order_line_item.cover`.`created_at` as `order_line_item.cover.createdAt`, `order_line_item.cover`.`updated_at` as `order_line_item.cover.updatedAt`, `order_line_item.cover.translation.title`, COALESCE(`order_line_item.cover.translation.title`,`order_line_item.cover.translation.title`) as `order_line_item.cover.title`, `order_line_item.cover.translation.alt`, COALESCE(`order_line_item.cover.translation.alt`,`order_line_item.cover.translation.alt`) as `order_line_item.cover.alt`, `order_line_item.cover.translation.customFields`, COALESCE(`order_line_item.cover.translation.customFields`,`order_line_item.cover.translation.customFields`) as `order_line_item.cover.customFields`, `order_line_item.cover.translation.createdAt`, `order_line_item.cover.translation.updatedAt`, `order_line_item.cover.translation.mediaId`, `order_line_item.cover.translation.languageId` FROM `order_line_item` LEFT JOIN `media` `order_line_item.cover` ON `order_line_item`.`cover_id` = `order_line_item.cover`.`id` LEFT JOIN (SELECT `order_line_item.cover.translation`.media_id, `order_line_item.cover.translation`.title as `order_line_item.cover.translation.title`, `order_line_item.cover.translation`.alt as `order_line_item.cover.translation.alt`, `order_line_item.cover.translation`.custom_fields as `order_line_item.cover.translation.customFields`, `order_line_item.cover.translation`.created_at as `order_line_item.cover.translation.createdAt`, `order_line_item.cover.translation`.updated_at as `order_line_item.cover.translation.updatedAt`, `order_line_item.cover.translation`.media_id as `order_line_item.cover.translation.mediaId`, `order_line_item.cover.translation`.language_id as `order_line_item.cover.translation.languageId` FROM `media_translation` `order_line_item.cover.translation` WHERE `order_line_item.cover.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `order_line_item.cover.media_translation` ON `order_line_item.cover.media_translation`.`media_id` = `order_line_item.cover`.`id` WHERE (`order_line_item`.`version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425) AND ((`order_line_item`.`order_id` IN (0x0CD756D4C992461C866CBB451F53ABBB, 0x0F044313B8BF4F60A70BFAE2096D50C8, 0x19E1C44DF06043D19F4C27C6FCF099F6, 0x52559DCE2A454B049FF342092931D535, 0x52F60EA348384348A5840011B6E530BF, 0x57F0191A601F4EC78030F7567DCAFF2D, 0x666C22733C3F4EAA8A658E81A2661355, 0xC2A75FD5B7E745D1A9389064772D5F8E, 0xD29B83D85B06491C9400F73AE91C449E, 0xFB25640D0D6F4B6BBFFDE72E1966B721)));
array:23 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 242)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 316)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetch (line 148)"
4 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 503)"
5 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::loadOneToManyWithoutPagination (line 438)"
6 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::loadOneToMany (line 1210)"
7 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetchAssociations (line 152)"
8 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 93)"
9 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::read (line 257)"
10 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::read (line 302)"
11 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::_search (line 106)"
12 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::search (line 51)"
13 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepositoryForwardCompatibilityDecorator::search (line 93)"
14 => "Shopware\Core\Checkout\Order\SalesChannel\OrderRoute::load (line 112)"
15 => "Shopware\Storefront\Page\Account\Order\AccountOrderPageLoader::getOrders (line 74)"
16 => "Shopware\Storefront\Page\Account\Order\AccountOrderPageLoader::load (line 119)"
17 => "Shopware\Storefront\Controller\AccountOrderController::orderOverview (line 163)"
18 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
19 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
20 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
21 => "Shopware\Core\HttpKernel::doHandle (line 81)"
22 => "Shopware\Core\HttpKernel::handle (line 85)"
]
|
179 |
2.89 ms |
SELECT `order_line_item_download`.`id` as `order_line_item_download.id`, `order_line_item_download`.`version_id` as `order_line_item_download.versionId`, `order_line_item_download`.`order_line_item_id` as `order_line_item_download.orderLineItemId`, `order_line_item_download`.`order_line_item_version_id` as `order_line_item_download.orderLineItemVersionId`, `order_line_item_download`.`media_id` as `order_line_item_download.mediaId`, `order_line_item_download`.`position` as `order_line_item_download.position`, `order_line_item_download`.`access_granted` as `order_line_item_download.accessGranted`, `order_line_item_download`.`custom_fields` as `order_line_item_download.customFields`, `order_line_item_download`.`created_at` as `order_line_item_download.createdAt`, `order_line_item_download`.`updated_at` as `order_line_item_download.updatedAt`, `order_line_item_download.media`.`id` as `order_line_item_download.media.id`, `order_line_item_download.media`.`user_id` as `order_line_item_download.media.userId`, `order_line_item_download.media`.`media_folder_id` as `order_line_item_download.media.mediaFolderId`, `order_line_item_download.media`.`mime_type` as `order_line_item_download.media.mimeType`, `order_line_item_download.media`.`file_extension` as `order_line_item_download.media.fileExtension`, `order_line_item_download.media`.`uploaded_at` as `order_line_item_download.media.uploadedAt`, `order_line_item_download.media`.`file_name` as `order_line_item_download.media.fileName`, `order_line_item_download.media`.`file_size` as `order_line_item_download.media.fileSize`, `order_line_item_download.media`.`media_type` as `order_line_item_download.media.mediaTypeRaw`, `order_line_item_download.media`.`meta_data` as `order_line_item_download.media.metaData`, `order_line_item_download.media`.`private` as `order_line_item_download.media.private`, `order_line_item_download.media`.`thumbnails_ro` as `order_line_item_download.media.thumbnailsRo`, `order_line_item_download.media`.`created_at` as `order_line_item_download.media.createdAt`, `order_line_item_download.media`.`updated_at` as `order_line_item_download.media.updatedAt`, `order_line_item_download.media.translation.title`, COALESCE(`order_line_item_download.media.translation.title`,`order_line_item_download.media.translation.title`) as `order_line_item_download.media.title`, `order_line_item_download.media.translation.alt`, COALESCE(`order_line_item_download.media.translation.alt`,`order_line_item_download.media.translation.alt`) as `order_line_item_download.media.alt`, `order_line_item_download.media.translation.customFields`, COALESCE(`order_line_item_download.media.translation.customFields`,`order_line_item_download.media.translation.customFields`) as `order_line_item_download.media.customFields`, `order_line_item_download.media.translation.createdAt`, `order_line_item_download.media.translation.updatedAt`, `order_line_item_download.media.translation.mediaId`, `order_line_item_download.media.translation.languageId` FROM `order_line_item_download` LEFT JOIN `media` `order_line_item_download.media` ON `order_line_item_download`.`media_id` = `order_line_item_download.media`.`id` LEFT JOIN (SELECT `order_line_item_download.media.translation`.media_id, `order_line_item_download.media.translation`.title as `order_line_item_download.media.translation.title`, `order_line_item_download.media.translation`.alt as `order_line_item_download.media.translation.alt`, `order_line_item_download.media.translation`.custom_fields as `order_line_item_download.media.translation.customFields`, `order_line_item_download.media.translation`.created_at as `order_line_item_download.media.translation.createdAt`, `order_line_item_download.media.translation`.updated_at as `order_line_item_download.media.translation.updatedAt`, `order_line_item_download.media.translation`.media_id as `order_line_item_download.media.translation.mediaId`, `order_line_item_download.media.translation`.language_id as `order_line_item_download.media.translation.languageId` FROM `media_translation` `order_line_item_download.media.translation` WHERE `order_line_item_download.media.translation`.language_id = :languageId) `order_line_item_download.media.media_translation` ON `order_line_item_download.media.media_translation`.`media_id` = `order_line_item_download.media`.`id` WHERE (`order_line_item_download`.`version_id` = :version) AND ((`order_line_item_download`.`order_line_item_id` IN (:param_ff5b1494bc1c452c9819cc967203be6e)))
SELECT
`order_line_item_download`.`id` as `order_line_item_download.id`,
`order_line_item_download`.`version_id` as `order_line_item_download.versionId`,
`order_line_item_download`.`order_line_item_id` as `order_line_item_download.orderLineItemId`,
`order_line_item_download`.`order_line_item_version_id` as `order_line_item_download.orderLineItemVersionId`,
`order_line_item_download`.`media_id` as `order_line_item_download.mediaId`,
`order_line_item_download`.`position` as `order_line_item_download.position`,
`order_line_item_download`.`access_granted` as `order_line_item_download.accessGranted`,
`order_line_item_download`.`custom_fields` as `order_line_item_download.customFields`,
`order_line_item_download`.`created_at` as `order_line_item_download.createdAt`,
`order_line_item_download`.`updated_at` as `order_line_item_download.updatedAt`,
`order_line_item_download.media`.`id` as `order_line_item_download.media.id`,
`order_line_item_download.media`.`user_id` as `order_line_item_download.media.userId`,
`order_line_item_download.media`.`media_folder_id` as `order_line_item_download.media.mediaFolderId`,
`order_line_item_download.media`.`mime_type` as `order_line_item_download.media.mimeType`,
`order_line_item_download.media`.`file_extension` as `order_line_item_download.media.fileExtension`,
`order_line_item_download.media`.`uploaded_at` as `order_line_item_download.media.uploadedAt`,
`order_line_item_download.media`.`file_name` as `order_line_item_download.media.fileName`,
`order_line_item_download.media`.`file_size` as `order_line_item_download.media.fileSize`,
`order_line_item_download.media`.`media_type` as `order_line_item_download.media.mediaTypeRaw`,
`order_line_item_download.media`.`meta_data` as `order_line_item_download.media.metaData`,
`order_line_item_download.media`.`private` as `order_line_item_download.media.private`,
`order_line_item_download.media`.`thumbnails_ro` as `order_line_item_download.media.thumbnailsRo`,
`order_line_item_download.media`.`created_at` as `order_line_item_download.media.createdAt`,
`order_line_item_download.media`.`updated_at` as `order_line_item_download.media.updatedAt`,
`order_line_item_download.media.translation.title`,
COALESCE(
`order_line_item_download.media.translation.title`,
`order_line_item_download.media.translation.title`
) as `order_line_item_download.media.title`,
`order_line_item_download.media.translation.alt`,
COALESCE(
`order_line_item_download.media.translation.alt`,
`order_line_item_download.media.translation.alt`
) as `order_line_item_download.media.alt`,
`order_line_item_download.media.translation.customFields`,
COALESCE(
`order_line_item_download.media.translation.customFields`,
`order_line_item_download.media.translation.customFields`
) as `order_line_item_download.media.customFields`,
`order_line_item_download.media.translation.createdAt`,
`order_line_item_download.media.translation.updatedAt`,
`order_line_item_download.media.translation.mediaId`,
`order_line_item_download.media.translation.languageId`
FROM
`order_line_item_download`
LEFT JOIN `media` `order_line_item_download.media` ON `order_line_item_download`.`media_id` = `order_line_item_download.media`.`id`
LEFT JOIN (
SELECT
`order_line_item_download.media.translation`.media_id,
`order_line_item_download.media.translation`.title as `order_line_item_download.media.translation.title`,
`order_line_item_download.media.translation`.alt as `order_line_item_download.media.translation.alt`,
`order_line_item_download.media.translation`.custom_fields as `order_line_item_download.media.translation.customFields`,
`order_line_item_download.media.translation`.created_at as `order_line_item_download.media.translation.createdAt`,
`order_line_item_download.media.translation`.updated_at as `order_line_item_download.media.translation.updatedAt`,
`order_line_item_download.media.translation`.media_id as `order_line_item_download.media.translation.mediaId`,
`order_line_item_download.media.translation`.language_id as `order_line_item_download.media.translation.languageId`
FROM
`media_translation` `order_line_item_download.media.translation`
WHERE
`order_line_item_download.media.translation`.language_id = : languageId
) `order_line_item_download.media.media_translation` ON `order_line_item_download.media.media_translation`.`media_id` = `order_line_item_download.media`.`id`
WHERE
(
`order_line_item_download`.`version_id` = : version
)
AND (
(
`order_line_item_download`.`order_line_item_id` IN (
: param_ff5b1494bc1c452c9819cc967203be6e
)
)
)
SELECT `order_line_item_download`.`id` as `order_line_item_download.id`, `order_line_item_download`.`version_id` as `order_line_item_download.versionId`, `order_line_item_download`.`order_line_item_id` as `order_line_item_download.orderLineItemId`, `order_line_item_download`.`order_line_item_version_id` as `order_line_item_download.orderLineItemVersionId`, `order_line_item_download`.`media_id` as `order_line_item_download.mediaId`, `order_line_item_download`.`position` as `order_line_item_download.position`, `order_line_item_download`.`access_granted` as `order_line_item_download.accessGranted`, `order_line_item_download`.`custom_fields` as `order_line_item_download.customFields`, `order_line_item_download`.`created_at` as `order_line_item_download.createdAt`, `order_line_item_download`.`updated_at` as `order_line_item_download.updatedAt`, `order_line_item_download.media`.`id` as `order_line_item_download.media.id`, `order_line_item_download.media`.`user_id` as `order_line_item_download.media.userId`, `order_line_item_download.media`.`media_folder_id` as `order_line_item_download.media.mediaFolderId`, `order_line_item_download.media`.`mime_type` as `order_line_item_download.media.mimeType`, `order_line_item_download.media`.`file_extension` as `order_line_item_download.media.fileExtension`, `order_line_item_download.media`.`uploaded_at` as `order_line_item_download.media.uploadedAt`, `order_line_item_download.media`.`file_name` as `order_line_item_download.media.fileName`, `order_line_item_download.media`.`file_size` as `order_line_item_download.media.fileSize`, `order_line_item_download.media`.`media_type` as `order_line_item_download.media.mediaTypeRaw`, `order_line_item_download.media`.`meta_data` as `order_line_item_download.media.metaData`, `order_line_item_download.media`.`private` as `order_line_item_download.media.private`, `order_line_item_download.media`.`thumbnails_ro` as `order_line_item_download.media.thumbnailsRo`, `order_line_item_download.media`.`created_at` as `order_line_item_download.media.createdAt`, `order_line_item_download.media`.`updated_at` as `order_line_item_download.media.updatedAt`, `order_line_item_download.media.translation.title`, COALESCE(`order_line_item_download.media.translation.title`,`order_line_item_download.media.translation.title`) as `order_line_item_download.media.title`, `order_line_item_download.media.translation.alt`, COALESCE(`order_line_item_download.media.translation.alt`,`order_line_item_download.media.translation.alt`) as `order_line_item_download.media.alt`, `order_line_item_download.media.translation.customFields`, COALESCE(`order_line_item_download.media.translation.customFields`,`order_line_item_download.media.translation.customFields`) as `order_line_item_download.media.customFields`, `order_line_item_download.media.translation.createdAt`, `order_line_item_download.media.translation.updatedAt`, `order_line_item_download.media.translation.mediaId`, `order_line_item_download.media.translation.languageId` FROM `order_line_item_download` LEFT JOIN `media` `order_line_item_download.media` ON `order_line_item_download`.`media_id` = `order_line_item_download.media`.`id` LEFT JOIN (SELECT `order_line_item_download.media.translation`.media_id, `order_line_item_download.media.translation`.title as `order_line_item_download.media.translation.title`, `order_line_item_download.media.translation`.alt as `order_line_item_download.media.translation.alt`, `order_line_item_download.media.translation`.custom_fields as `order_line_item_download.media.translation.customFields`, `order_line_item_download.media.translation`.created_at as `order_line_item_download.media.translation.createdAt`, `order_line_item_download.media.translation`.updated_at as `order_line_item_download.media.translation.updatedAt`, `order_line_item_download.media.translation`.media_id as `order_line_item_download.media.translation.mediaId`, `order_line_item_download.media.translation`.language_id as `order_line_item_download.media.translation.languageId` FROM `media_translation` `order_line_item_download.media.translation` WHERE `order_line_item_download.media.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `order_line_item_download.media.media_translation` ON `order_line_item_download.media.media_translation`.`media_id` = `order_line_item_download.media`.`id` WHERE (`order_line_item_download`.`version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425) AND ((`order_line_item_download`.`order_line_item_id` IN (0x0032BCB5173944BA9AF1FD9C9D57C77F, 0x06715A41D4454223A31F7799C89E02EB, 0x122FCD5ACDAC4D74AD40B174C835A142, 0x144C7FB8CC9342D6ACAB59EF7D3FDBF5, 0x152F7BA2C042493FA0CAF325BF7170F4, 0x18E3C5FD81AF4CF4B045FD84BBFD99CC, 0x18F7D3508BA04ACF94C699719D3A0C17, 0x18FDB4740D8649C79E26B52449FB08B3, 0x19331D4ED8D34CD0AD80149D866FA102, 0x1C73FE875A4941BEABBDDA033069CED5, 0x20F7CAF890F744B8930A320873B584B4, 0x220551B4C95944E199F3F5F9F53B8924, 0x231CE4132AF84F2CA3FB3166365DE12F, 0x25CB6174D8B24B3AB2D57700A4134265, 0x2709E44D33E74F0D98D99DD107E1B4AD, 0x2E931B08445A4E9C8E9A25D0C8651E4E, 0x32FABB9FF2E24B878CFA9D8CA7CD5AA2, 0x33FE94A8358B4FB8BC0F3EE4B6BEBD91, 0x3AD6DEB8BE5A46D4A38E0407F4ED4BC6, 0x3EDEBBF8235F4A309D4A5C4510E31D08, 0x4090A46758B540AF9B1B82F1059F098C, 0x4BCE020D7741468EA0E7561CDF032CFF, 0x4D45A63B67754A82B57C0F124E2BFF26, 0x4E4B2EB438834F5F94B2EB825B7F1DC6, 0x4F7FF1A25BD04CBBB607DB9267D8001B, 0x50D5F1336E634C94B34F6203B220EB80, 0x543E4D9BC2CF4744AF080F13E82520D0, 0x572EE4B98E0B4A73BDEC47DD93C51777, 0x584C640FB2B144A7B29065035AA24500, 0x5A15E45989A843468783CCEC1157D110, 0x5C278608B3DC42499A62AB4F3EA00720, 0x5E05EDEF67BE4BFCB96D640DEFD6B218, 0x5F9B7C1B33354C9C96F223A38BDCB5DA, 0x60E8278BB99C46FB9B9F61B016065C5A, 0x61CDECF277704431A8DA2DBE5198D76E, 0x620D070031FC4297AB9C31F3E41BF1E3, 0x689F62A95A774C099100B1E6CBFDC5F3, 0x69089C48BBE7468481D51C41D4EA4CE1, 0x6920B10DAC184008A82A78739CFAE3CF, 0x69582ECB35F6419FA59E491479E19FD3, 0x71295C04A9344706AA7547418F3D941F, 0x73C6725B36904A38B03DDCF018155D6B, 0x78963E09BCD64BCD8FDC5B9E06C6C12E, 0x7B6B04A692CF42A6AB4F313663D3953C, 0x7BF3192420154124BD336DECCB0B3707, 0x7DF896EA5DD640DFB179815D732AF874, 0x80371758812A41A8B23994CB24D6810F, 0x829C578859A64C0983E5EA21B4553866, 0x86D6A3E746D24DDEAF8094A85637CBBD, 0x8BC9865BA8904096943E14F6952B8392, 0x8C3D6F96A8344BE89263669EA8E0A676, 0x8C640BDB62EC4AD48D829C1295012754, 0x919E219DF5A74169A608F5A53DF9BE81, 0x92BD8106497E423A8B4E5D7398D37DF3, 0x9401E4C1DD5E4025805FDB359C756C09, 0x95E6CE54FEAE42E8ADA7C1023320AAF7, 0x99B8491621214F0CA4D9D62C894AA1CA, 0x9A59AD84ABAE4B15B9A832EEC73526FB, 0x9E122C852CF14B089842F0747B46DFA7, 0x9FEBEF76C9F140A481491CD2D8A27348, 0xAA034E5C4F804474883D316B76D08BCE, 0xAF25F4E3538441AEBDAF500271FD97C5, 0xB1D0708C39BF4836A658CEACBCCBC31D, 0xB1E32E2139AF4E02BEC3A19868D1EC5A, 0xB1F7CCB1B9494629A1BAED80CCD8CABA, 0xB1F9F65281F14F308288236B8661DA2C, 0xB27E4DB782BA429DAF50E947E9C1A764, 0xB31B7CBDB991426E8565936C401ADB3A, 0xB5DBA7253B684CCD9914B42C33BD73EC, 0xC6A45EEE73A045229EA26E82B3C32E6C, 0xC717C5FE7A224FCAB0555754405EE1F7, 0xC83A2E91810F4B85B46CAA0BB9758181, 0xC8E1C3FFBD644571A2692A2F49C4D328, 0xCA6C6E40F18B483587CE43043E215825, 0xCD194C8B45304472A2FFD7B62E1713AB, 0xD17A28BCF1FE4AAD8A11F19E647AAD2B, 0xD19672E90DD948D699CF03B35DBA1C7B, 0xD57450DE2BFC4C54927E54C1061B31CE, 0xD5BA7557560043F4816BD66638AB95F5, 0xD75099E73CF148409CDC6ECACF110669, 0xD841A297DDDC4B9C97119030B55B71F9, 0xD9EE3C3766A34A2A89A04E12C9FC52E9, 0xD9FEAFEB1843449F818E89D44CB747CE, 0xDC06855655084D6EB549969078371C09, 0xDD74084AB94643009D235AEF5E314B6F, 0xDEA1EC9136044DBCB72E79DA2033A9D9, 0xE2B214A32C9045E3948792407394D2D5, 0xE38DAC32A48D4AD996308B50AF2CB89D, 0xE9608E0C023345B591C67BC2D8F0B336, 0xEC3DED64479A47B29AB02833ABB800D3, 0xEC4217024FB245AF8262C1AC7CDC22EF, 0xEE5F6A55E02743338D851382A1D06151, 0xF989ACD0EC894B739AAF9B81A21065C3, 0xFBA8FCE015CC439DB3B90E5A2DD473AA, 0xFDBD84EB25D64052BCF1781CC040FDFC, 0x0092172FEC6D4DCC994C8960847F5879, 0x00EF5F88128849D39188B1F2FF92112E, 0x039B2E3504094C7FA36A801FE666ACDF, 0x0847987B34774030A40A63EC0CDB677F, 0x0D91ED967CC24FE8B40612DD5DB04B43, 0x0D9583169610414B8AC7BA64FD983333, 0x17EDA88CCD91407FB0CFB59582B3E84F, 0x1A3EBDE2C6604D5AA64DBFE33682D1FD, 0x1A4FA4D5D6FB4024880B0D415472AC97, 0x2A1C26776CFF4656AB35DC963439D0F3, 0x2F4147A5838C41B1864FFE3F774A22DB, 0x35D9309DB83C47A68AF40A65A763A14B, 0x3A17744025C84DC1B70E92C92A5710EE, 0x4A03C20B04524168883D9777D6D9B091, 0x4B214810ED854716A3F4B7A53FB7DF7B, 0x523DDECE617C4CB9BBE17B4722C589E9, 0x627AB7DFFB1B478E8E9D63E1085BEF30, 0x6642924C55364E83B5149C00A76EC7D0, 0x69B4AC45B5DB4526A19FC136B1662325, 0x869F4648C1CC480CBCA3208A377F9016, 0x8D34B2CA13E04869A6A95AED4B7901AA, 0x8F4007E4CFF043F8959199F1EDA7D671, 0x90D39403DC664D33AB8BE4E3C208B00B, 0x912490A1F4B64132AE3F4C087F5BE85D, 0x95B4E708EA5C4C508427CD69396679D4, 0x9E5854D6AEB340FA87C79CA16F8269B7, 0xB14F2BDCDAEA4108943EE9D4B8731B74, 0xC100307406E94CA592630DA599942FEF, 0xD5AE3918D34140D3A7915D7354416CA8, 0xD79FA433691046BA89324E15792C0313, 0xD8A363C06D85414E93C376026DD76B86, 0xDBE7A85B3BE84C6186792F13A1FA8F8A, 0xE19CCB79146B41E88CD8F1738EC740DE, 0xE7450DE7A2024DDEBDC68A057002740C, 0xEBDC8783B9FC40EC9D447FD170CF9163, 0xECD3D6ED15B141B98CBA1855AED92D10, 0xF2CE49928C0345B79FB9BAEAE4B7E0F9, 0xF743C4F6CD8741B3A1CB884B8E87CBF0, 0x043E9A53F0E04ADA9B61C9E424574294, 0x0E06B010272D4696AAB9180EC769537E, 0x11945FA5B9CE4A509D21642C09040023, 0x12188550DEB045D6B1EF34B01706428B, 0x18AD93820F734C3596D08FE93BA80362, 0x1901E196EE6B416588585BDF1577A4BB, 0x209F5F228D59464FA4F9CAEA3FFC487B, 0x2555D7D0493841A89E43F3CE4F1464E7, 0x2966977F9C56414699D8451CD35BBBB3, 0x2B7B581375134EEEB42538FD1935F22D, 0x3B258E11B45E41949CC3762F75F505F6, 0x3C458F5B19C8467F91E06E74E941A7EC, 0x3D5F755A54A44E6D97F9B25862BE988D, 0x467F64039B7242089AF198E439745605, 0x468125C024224576BF510009D2550C90, 0x4853402EA8ED43A8B81437C7A3D9F3AB, 0x60B00B573EB1450FBF2A4F6C1F44A46E, 0x683ECC93491E44459AED85B9358F8BA4, 0x6CFA6B84C9A346DF88E302E35E4FBEB6, 0x8756B71AE6A845B799330CF4C24BE383, 0x8931AA69DE004EAD8EC599613AA3797E, 0x8ECD02FFB4EC484C91349B4C2BCAF4C6, 0x903714FE928E4B7B9F0E3FBD147A6631, 0xA4D194E854FE48629EA96E8C70DAEA95, 0xAF0F2EB74AF54079AE56A39DB0AEC674, 0xB617165107DB42BAA3B4D7347E213305, 0xC96D9B06DFD84930AD169792C2180971, 0xCC3CDA43E2C5416EAFCBF92D4FFBAE37, 0xD508FE840F994B14BE516E06DC432F43, 0xE3CD19EA04774149A7F40C0E091DB701, 0xF4F47A8DA0364DD29C785E7D8CA06362, 0xF87C7C3E277D4C61BA4D7174E8174801, 0xFA2B42FFE056487B8385C7DA154CF48F, 0x09056157E9FD4068B203B65A989D5FC7, 0x0F108DE2860D40A28AB929D9FD055284, 0x1142E4C626394579A39EC9475B4C0FD8, 0x2034C2B898D449C187B65BCBAA9BEC61, 0x20FD356D1AC74CB4AFA8AD86BFB90099, 0x28082B10990F49CA9785BE0C0AB66162, 0x29CA6A4A13544E89940BE6A64BE7624B, 0x2B1CE9A65389457B928F519797048A91, 0x2C5B243F195C48FB9356AF1506C0074D, 0x2C82EB94524349A9A41FFA7FD508B26A, 0x385E93E41E0E437F97D4C815C7BF6F1B, 0x3864806A26644BD6B4A0DBB9DB03E728, 0x3CB2CDB4CD7A49A998FA8F577813967E, 0x433AFC63554745B88122A30C1DB7626F, 0x52C4638E5CDF42D8AB01BC92E006411A, 0x5DF841917A064D84933341F59E0D3B7C, 0x67899C19662F4252B64F6B16CAEACEFF, 0x67FA8F1B6740434C9DCCF9AAE5AF6AAF, 0x6901490ED0484966ADDD002ADD69D404, 0x6E48E542302F44548E015DDFD4C98DA9, 0x83075571BEFB412CBEA363A0C1885803, 0x8AF3C0DD2B37419A98489944C331DD66, 0x8F56A9B5A0DB44229242336422A7A1BE, 0x93E265BEC3FC43E7B816B74AB3B899A8, 0x950F09DF9AAE44A58C325FF3E50DD465, 0x9EE7866A53CB4CF1B1BB239B5BB934E5, 0xAC4E230DF12340708D069375E0BC6E13, 0xAEEDE8A028B344E9AAEDA5D00B13D607, 0xB9BAEB9748E048528678DDB11167CCCE, 0xBE69F57BA78049C98E7BFAE970FB212A, 0xD44C6EF7FFBC4D7C989A10688C7F2D93, 0xE6847682F3644959A72A2FCF533C3165, 0xE6DE9FE79186435C8F3DD47EEFDB5EA8, 0xFBCD413EBF7E4143968155F4272CEDCF, 0x0E377594BF6C4C9ABF11381C53B00BA5, 0x0F14750B155C406F9B511D8BFCEB0F58, 0x1A3135B0398342269EBFD64D41270EC7, 0x1AF89FFBCC264B0BAD26B3FF3B848FAC, 0x24050DDBEC8843E3A931DB8E112D75D8, 0x2438E841CF6641C58E5E73531262E752, 0x28505CFEAA1D480D8EFBCD0A337B3DEF, 0x31CFCAFEBE62479E9CFE600445D67148, 0x3A063AE47B3746B09041D8F9137A63DD, 0x455F9D304A5946BC9EB0ADBD76929D07, 0x50A8C3C3C0C9437BA07E2045C33E7017, 0x55A179C8B0B44CADB8EB44CD4692C529, 0x56AC579C1A274DA499C475E931AB7F01, 0x653EC59DEB22495B88FFAFE6CAF1C4BB, 0x689599DB203347C1947418804F1BB223, 0x717C4DA311DE4CDAA76E15471AC44754, 0x8DF1C2678B734165B7D06548981FE2F3, 0x907F0C53219D4166A5E212C21BF7E843, 0xA53BECC8824246298F2D64A7142E982F, 0xAF6452B05D7D41269CCC9979955DE7C0, 0xB7294066A9D74A36A36D7DC0BA580BD9, 0xB7E3BF29EF0D4375996349494921A9A8, 0xCAAE2DDD01634AF7B9DC179E84E61EFC, 0xCDE43849E26C454FA3753137A7F7A1EB, 0xD31ECC201FC04CC983DE4A03B5341A19, 0xDB1852B330AF435BA624838B055EDF82, 0xDE6C50DD006D41D99C97C46CD4113EF1, 0xE97A719597394314B726F6565167A11E, 0xE9B0098FDDB84FADA35A7693915354D0, 0xEF062B54CB7448A1BC54E98589CCD6F3, 0xF7474D4A7EFF48AC8E4C483E735E52EB, 0xFA007CEF4B06472CA6045C78B75403E5, 0xFB7F7504338141549258D892690453F0, 0xFEB6145B9C144886B6AC37B7F85CF434, 0x006FC72C63CA429F822FDD83883B030A, 0x0C54CA2D55584C31AD386FB1D5EBA70C, 0x0CCCD1285276412B8D744BB1F37EC48B, 0x0E72EF3351C64478B6E381DC9C676C7A, 0x0F54D4A82B374541A03C10F61473D866, 0x1133B63518194386BCFFE4204E11980E, 0x1F22E3E36D0248A6B38F08E15F732704, 0x3B179D09DA294581B7CAE88F379F6891, 0x3C3781E828F046719908ED79452F11E2, 0x4680AC2E64D643BCBE4C9052F7540A88, 0x4DD649DBF0B34C09BB02BC6D977C572A, 0x59F73D30D60146D992A1A4BD3FDB74BD, 0x5E6817546A9742418871590766C40CDA, 0x5F087C1522BE472D8A9323E1AE097726, 0x6408DF3549B74B6DAD781E7C2C324C3C, 0x660DB8F30D9B4F87A7904D725569AD4C, 0x700B572538F34C25B908FC8F437175AD, 0x757DFCD7B4954714ABB907D768640434, 0x784A325DA7E34186B1FC7427487F6896, 0x7B64F53C1D0B4381898BC53E44586904, 0x7BE1FD9B233A4B9CA59D94749AA4790C, 0x8F17288AC1FB48E294EE15A757ADC5B6, 0x8FA28745A8FD4D6EBD120DDDCFD2F575, 0x98D0839FF4B2471EADB9FAC809AA9929, 0x9F50346775304352B37C1353AAE9F73A, 0xA10FF9900A624654A25E20142654B0C6, 0xA427219BC6D34A278E8B033C011E51F6, 0xB26C97D79DF74A7EAA41629751A727D7, 0xB385796107504ACF920CF5EA6BE43299, 0xBAB9929B0D2749A191FF8729A89C7D53, 0xE34EAEE1A7A04FC58474C3D558151321, 0xE4FE198B963C46E8AB78ECA5CCA991C4, 0xE779CAFFAF414B86AD519545C4730015, 0xECC3523A27E94BCD8959986BEA821322, 0xECFEA3C3FE3748CF85FF19561E92CCAC, 0xF020336F48F8496EA7C6A4C3E15BA2FA, 0xFA91A08B731C4F3B9C20AE406C6212A4, 0x428A3C2CF11C475CBB4D70BCF043ED6A, 0x48B83414FB04485FB9D309AE7DC1DD3D, 0x4EF5D6A19FD64758A5C4862FFEF84595, 0x566234662ABD44178F24C0142100BBEE, 0x9C1F5BF7BBBC49E096FECD64E635EF85, 0xB9509B6D848D48DFB5B175A066B03532, 0xBCB7B4EE90684F89BED1B35D79E5863D, 0xCDF8FDA3057F40058A6664859702C697, 0xD0A480FFCC8E44E8BEF1664AF1218B54, 0xE95323D6913D472F92C396635EB04290, 0xF0D7DF6AEA9E4BBE8DF8E4D77C9A13A6, 0xF3464F685D8442C6B4B6A4888C9013D6, 0x1A26035C17F6442193E56DE5BDE1FE5B, 0x2EF2809970D1403A8BBCD062CCDE69D8, 0x017F6E4A0D5C4FB995404AC3E0FCD24D, 0x052B7C1B34D040A49D7BAFE09831A3DD, 0x18F7830713094471A819F471395398DC, 0x1B051D1CA63B47549C8172824A9CEB60, 0x22BDD8B7576B4BA087A588D52E633E47, 0x2D77D92BC6C14764BD0F8CED76D9D9A7, 0x34BDFAD0583B4B8AB9D78C3D7E76C4BC, 0x368F812D6B3049DE9ED1A085FF9E8851, 0x36EC67874A0D4EF6B20BD92535DEFB60, 0x54613964EA4C464280DF934F192272DC, 0x767C735E31834046BEE303B334507636, 0x9BCAA663468B493182C99BE5ED19DB15, 0xC18D93CDE6BF40E6B7A105F53FF86146, 0xC1FF171001D54B2A813191289C22AD4C, 0xC21A8A5EB9C94997AF3E0788D34B0B29, 0xC956F433E8F24818995834CD957A2926, 0xEEFE59C3767F4B8389A24488CA319AA2, 0xFD31ACD6E407432E89E953FED7052685, 0x03E6D34FE3C84492A9627D829D6DFF73, 0x0756809727224F4AAB1B91444D630A1E, 0x0794504C2A0E49A2AC4F8C0CE5A10C46, 0x089BAFF901E04D95AA0522B5F5654083, 0x09955909E84640C39D25C046097C4B3C, 0x0ED2E214ADD04E02902FC297EB99F7C7, 0x0FFF5C798A4D41E9979350CA55FA3B83, 0x11C5916F81004833B4C9FF5F5A1756F5, 0x1A592187FE534CBEA38ACCB3433358DE, 0x1BD0B3ADBA764273966D8807C4630D23, 0x1D65C54FED234FC4B4DE0C2271FDE501, 0x1FD0E812FAF448519AC86ED7BF73C09F, 0x265503EF02574181915DB005B2AC3040, 0x27F845B4FA114BF79386C3591737EEEF, 0x313D42AAAF6B48849A0BDB059311D4F5, 0x32DED3AFF2A54BFCA0D8F0DA3ECFB67A, 0x3345D3E28A6A4B2ABAF864E8D892F6D0, 0x3D3D507EC1FC407DAD9BC9D49687BEC2, 0x402EE90CCBC34D589B1F2FA922B95F15, 0x41EB9334645E4E80A7CEE967576FA61D, 0x46D63D85B95645729F3C6FAC09A3908D, 0x47105270E419484581216E7251855B9B, 0x484B1F277EB04B0BB6F8EBA900A42275, 0x49E9CC15D969492DB490283D96509CC3, 0x4AC11139DA234D2EA18106CBCD276217, 0x4E9E1BC1A9274EF3828EEF77E28941D0, 0x528736668000457B99E0D108272958F7, 0x55BB8772D33D4CAEAB7E3C65C1EB31A4, 0x56D4995BBA474A4AB07608F64CCE318B, 0x58F6A11C9CB747C99E9A396B1CC3CB49, 0x5922C48D07CB405EB47B8F415EAE18A1, 0x5A4A641514714FCA8FDC55987C78C60F, 0x5E4012184CEE48E996FEC5E4739F51C1, 0x5F01DC18EC4F43C99398621BE118A8E4, 0x6081D8E1C32E4E3FA569378C5E23CBFD, 0x61449A294E914B0388E657F53A609C2C, 0x6416CD45068F418B9D731A00FE054596, 0x6466759B38E74348A36DBA9A2A63A8D8, 0x6A48A638306843828804ADBCE7412CC4, 0x6B2AD20355624761B0307B5B5A8887F4, 0x6E1141E6849D4935983ACB571BFB548A, 0x77033051E78347569158A261D1968A1F, 0x7A5EF4C736B343C18A9245AC01362576, 0x7AFACA5CEE5B4F8EA5BF4E8FA62F9884, 0x7D7F9422C3EF4B33BC9989A9A7B86DF1, 0x7E66DE63029145EF82DDE008AAE3C62A, 0x806E6B9974DB4D3BB3FD821EE730CF9E, 0x824593881752465BA71B911D0B388027, 0x82BF95CBF2D94695A83EF25B62B6F23A, 0x863979B957784819BCA9CB9385F5CFE3, 0x8A7F759D4D834A3692100D0A3A1190D0, 0x8B14B20695C141FB8E9F83AE1D27735B, 0x8BE58318B3B1449C932706C063F19DB4, 0x8C87CD60D5F74E9496C4F84D8C52B767, 0x8FAD6FDF4893462D9A44DF12DA7A825E, 0x8FE9C5793AFE47BD9EDC4EC6381FE182, 0x93956E52701A4B53A2CE220D2B5DC3E6, 0x94BD2A1EAFD84EEBA9DFFA759BAD9023, 0x994856A7BF444678BBA8F1E99557B5D5, 0x9E032881A1314BA98FAC87E0A7D74D9C, 0x9F91AA3F446E4C399439C13DDAB022E5, 0xA65E4FA7BCD14F6C88ED40D4576FC941, 0xA8DBE00A3D714BE2A48424DBB9BFE1BB, 0xA9F0A0AE760A42BE8DDCBAF378EB462F, 0xAC4AECD1B1A74FD59F59E0542F848CB5, 0xAC5E7278B3C848C293ADC82B2018BF76, 0xB0A4AAF9B11441618A2DF266DE27B847, 0xB147CF110CE94C58B599DA8E35599595, 0xB432FD2980424F839D7B03898FB89C7F, 0xBBEA952B60A546C3A9ECE5B794BA8456, 0xC32A635EBE2740859953F7DCCAFFE2EF, 0xC34F52AD46D944DC85F44B6A3A77084E, 0xC3A4D84D9C404BAB973AEDF61940F0DF, 0xC3B1022615634714B97FCA2C0AAFC70B, 0xC3D5A6C4CFB44D78BEAB67DE424BD1A1, 0xC430CC5D90C946F393874D938916A7FD, 0xC4F62C523C794A0DB0DE16452A86916A, 0xC5D83718B899483DA03396522BF39A5B, 0xC711535AAC2140C19024AC0CE6A600F7, 0xCBBCDFAE76F440A6B86BA30FF493C793, 0xCCA71C4A3DB748F2B794A0626C30EABB, 0xCFAC2212ABF34F6FA9FA963A088463F4, 0xD034A1B2E51545C5ABDD9144E9F746CA, 0xD361D7D20C394E4C9EDC608417D02CC7, 0xD37B10407F144569B32A94F9A0BB3F6E, 0xD84D2A9B0C7A45C7BD922B2DF8D6A364, 0xDEF69C37A57F45CC8FE881BD2F4AED68, 0xE062EA8A482141C081E813575AAF384A, 0xE1DE07B9A0A64C02B1AD59339CA74DF0, 0xE316D6EDBF9A41418DB147E33C044A14, 0xE517481C192044A19D1AEC64FC414C53, 0xE8187607EACE4E1E9A2B94A55E994C31, 0xE8E9BB32CDF74EBCAE7162B3C7E08808, 0xE92A967D78F44500A2FFC04091B422BB, 0xEECD20A098A340798CF7C97816B18C6E, 0xF224386300474141938366AF446D86D3, 0xF37D93CFC84D47A5AA8FB74D415BE779, 0xF8E27DC0517442A6B30AFDDC45C9017F, 0xF9F416E381CA4D738AC2243306262AD6, 0xFE62A9729E0848B78D5E87DB8DC4D75A)));
array:27 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 242)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 316)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetch (line 148)"
4 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 503)"
5 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::loadOneToManyWithoutPagination (line 438)"
6 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::loadOneToMany (line 1210)"
7 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetchAssociations (line 152)"
8 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 503)"
9 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::loadOneToManyWithoutPagination (line 438)"
10 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::loadOneToMany (line 1210)"
11 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetchAssociations (line 152)"
12 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 93)"
13 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::read (line 257)"
14 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::read (line 302)"
15 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::_search (line 106)"
16 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::search (line 51)"
17 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepositoryForwardCompatibilityDecorator::search (line 93)"
18 => "Shopware\Core\Checkout\Order\SalesChannel\OrderRoute::load (line 112)"
19 => "Shopware\Storefront\Page\Account\Order\AccountOrderPageLoader::getOrders (line 74)"
20 => "Shopware\Storefront\Page\Account\Order\AccountOrderPageLoader::load (line 119)"
21 => "Shopware\Storefront\Controller\AccountOrderController::orderOverview (line 163)"
22 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
23 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
24 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
25 => "Shopware\Core\HttpKernel::doHandle (line 81)"
26 => "Shopware\Core\HttpKernel::handle (line 85)"
]
|
180 |
0.88 ms |
SELECT `order_address`.`id` as `order_address.id`, `order_address`.`version_id` as `order_address.versionId`, `order_address`.`country_id` as `order_address.countryId`, `order_address`.`country_state_id` as `order_address.countryStateId`, `order_address`.`order_id` as `order_address.orderId`, `order_address`.`order_version_id` as `order_address.orderVersionId`, `order_address`.`salutation_id` as `order_address.salutationId`, `order_address`.`first_name` as `order_address.firstName`, `order_address`.`last_name` as `order_address.lastName`, `order_address`.`street` as `order_address.street`, `order_address`.`zipcode` as `order_address.zipcode`, `order_address`.`city` as `order_address.city`, `order_address`.`company` as `order_address.company`, `order_address`.`department` as `order_address.department`, `order_address`.`title` as `order_address.title`, `order_address`.`vat_id` as `order_address.vatId`, `order_address`.`phone_number` as `order_address.phoneNumber`, `order_address`.`additional_address_line1` as `order_address.additionalAddressLine1`, `order_address`.`additional_address_line2` as `order_address.additionalAddressLine2`, `order_address`.`custom_fields` as `order_address.customFields`, `order_address`.`created_at` as `order_address.createdAt`, `order_address`.`updated_at` as `order_address.updatedAt` FROM `order_address` WHERE (`order_address`.`version_id` = :version) AND ((`order_address`.`order_id` IN (:param_88b359da70934d4192cf20abe2132e4a)))
SELECT `order_address`.`id` as `order_address.id`, `order_address`.`version_id` as `order_address.versionId`, `order_address`.`country_id` as `order_address.countryId`, `order_address`.`country_state_id` as `order_address.countryStateId`, `order_address`.`order_id` as `order_address.orderId`, `order_address`.`order_version_id` as `order_address.orderVersionId`, `order_address`.`salutation_id` as `order_address.salutationId`, `order_address`.`first_name` as `order_address.firstName`, `order_address`.`last_name` as `order_address.lastName`, `order_address`.`street` as `order_address.street`, `order_address`.`zipcode` as `order_address.zipcode`, `order_address`.`city` as `order_address.city`, `order_address`.`company` as `order_address.company`, `order_address`.`department` as `order_address.department`, `order_address`.`title` as `order_address.title`, `order_address`.`vat_id` as `order_address.vatId`, `order_address`.`phone_number` as `order_address.phoneNumber`, `order_address`.`additional_address_line1` as `order_address.additionalAddressLine1`, `order_address`.`additional_address_line2` as `order_address.additionalAddressLine2`, `order_address`.`custom_fields` as `order_address.customFields`, `order_address`.`created_at` as `order_address.createdAt`, `order_address`.`updated_at` as `order_address.updatedAt` FROM `order_address` WHERE (`order_address`.`version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425) AND ((`order_address`.`order_id` IN (0x0CD756D4C992461C866CBB451F53ABBB, 0x0F044313B8BF4F60A70BFAE2096D50C8, 0x19E1C44DF06043D19F4C27C6FCF099F6, 0x52559DCE2A454B049FF342092931D535, 0x52F60EA348384348A5840011B6E530BF, 0x57F0191A601F4EC78030F7567DCAFF2D, 0x666C22733C3F4EAA8A658E81A2661355, 0xC2A75FD5B7E745D1A9389064772D5F8E, 0xD29B83D85B06491C9400F73AE91C449E, 0xFB25640D0D6F4B6BBFFDE72E1966B721)));
array:23 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 242)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 316)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetch (line 148)"
4 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 503)"
5 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::loadOneToManyWithoutPagination (line 438)"
6 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::loadOneToMany (line 1210)"
7 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetchAssociations (line 152)"
8 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 93)"
9 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::read (line 257)"
10 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::read (line 302)"
11 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::_search (line 106)"
12 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::search (line 51)"
13 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepositoryForwardCompatibilityDecorator::search (line 93)"
14 => "Shopware\Core\Checkout\Order\SalesChannel\OrderRoute::load (line 112)"
15 => "Shopware\Storefront\Page\Account\Order\AccountOrderPageLoader::getOrders (line 74)"
16 => "Shopware\Storefront\Page\Account\Order\AccountOrderPageLoader::load (line 119)"
17 => "Shopware\Storefront\Controller\AccountOrderController::orderOverview (line 163)"
18 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
19 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
20 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
21 => "Shopware\Core\HttpKernel::doHandle (line 81)"
22 => "Shopware\Core\HttpKernel::handle (line 85)"
]
|
181 |
1.16 ms |
SELECT `document`.`id` as `document.id`, `document`.`document_type_id` as `document.documentTypeId`, `document`.`file_type` as `document.fileType`, `document`.`referenced_document_id` as `document.referencedDocumentId`, `document`.`order_id` as `document.orderId`, `document`.`document_media_file_id` as `document.documentMediaFileId`, `document`.`order_version_id` as `document.orderVersionId`, `document`.`config` as `document.config`, `document`.`sent` as `document.sent`, `document`.`static` as `document.static`, `document`.`deep_link_code` as `document.deepLinkCode`, `document`.`custom_fields` as `document.customFields`, `document`.`created_at` as `document.createdAt`, `document`.`updated_at` as `document.updatedAt`, `document.documentType`.`id` as `document.documentType.id`, `document.documentType`.`technical_name` as `document.documentType.technicalName`, `document.documentType`.`created_at` as `document.documentType.createdAt`, `document.documentType`.`updated_at` as `document.documentType.updatedAt`, `document.documentType.translation.name`, COALESCE(`document.documentType.translation.name`,`document.documentType.translation.name`) as `document.documentType.name`, `document.documentType.translation.customFields`, COALESCE(`document.documentType.translation.customFields`,`document.documentType.translation.customFields`) as `document.documentType.customFields`, `document.documentType.translation.createdAt`, `document.documentType.translation.updatedAt`, `document.documentType.translation.documentTypeId`, `document.documentType.translation.languageId` FROM `document` LEFT JOIN `document_type` `document.documentType` ON `document`.`document_type_id` = `document.documentType`.`id` LEFT JOIN (SELECT `document.documentType.translation`.document_type_id, `document.documentType.translation`.name as `document.documentType.translation.name`, `document.documentType.translation`.custom_fields as `document.documentType.translation.customFields`, `document.documentType.translation`.created_at as `document.documentType.translation.createdAt`, `document.documentType.translation`.updated_at as `document.documentType.translation.updatedAt`, `document.documentType.translation`.document_type_id as `document.documentType.translation.documentTypeId`, `document.documentType.translation`.language_id as `document.documentType.translation.languageId` FROM `document_type_translation` `document.documentType.translation` WHERE `document.documentType.translation`.language_id = :languageId) `document.documentType.document_type_translation` ON `document.documentType.document_type_translation`.`document_type_id` = `document.documentType`.`id` WHERE (IF(JSON_TYPE(JSON_EXTRACT(`document`.`config`, '$.displayInCustomerAccount')) != "NULL", CONVERT(JSON_UNQUOTE(JSON_EXTRACT(`document`.`config`, '$.displayInCustomerAccount')) USING "utf8mb4") COLLATE utf8mb4_unicode_ci, NULL) = :param_4e8272c740cc44bfb01afeacf674e17b AND `document`.`sent` = :param_6c92eafa52954052803b2c59866a59f4 AND `document`.`order_id` IN (:param_2a780fae9f264b668ee1cfef2fa317eb))
SELECT `document`.`id` as `document.id`, `document`.`document_type_id` as `document.documentTypeId`, `document`.`file_type` as `document.fileType`, `document`.`referenced_document_id` as `document.referencedDocumentId`, `document`.`order_id` as `document.orderId`, `document`.`document_media_file_id` as `document.documentMediaFileId`, `document`.`order_version_id` as `document.orderVersionId`, `document`.`config` as `document.config`, `document`.`sent` as `document.sent`, `document`.`static` as `document.static`, `document`.`deep_link_code` as `document.deepLinkCode`, `document`.`custom_fields` as `document.customFields`, `document`.`created_at` as `document.createdAt`, `document`.`updated_at` as `document.updatedAt`, `document.documentType`.`id` as `document.documentType.id`, `document.documentType`.`technical_name` as `document.documentType.technicalName`, `document.documentType`.`created_at` as `document.documentType.createdAt`, `document.documentType`.`updated_at` as `document.documentType.updatedAt`, `document.documentType.translation.name`, COALESCE(`document.documentType.translation.name`,`document.documentType.translation.name`) as `document.documentType.name`, `document.documentType.translation.customFields`, COALESCE(`document.documentType.translation.customFields`,`document.documentType.translation.customFields`) as `document.documentType.customFields`, `document.documentType.translation.createdAt`, `document.documentType.translation.updatedAt`, `document.documentType.translation.documentTypeId`, `document.documentType.translation.languageId` FROM `document` LEFT JOIN `document_type` `document.documentType` ON `document`.`document_type_id` = `document.documentType`.`id` LEFT JOIN (SELECT `document.documentType.translation`.document_type_id, `document.documentType.translation`.name as `document.documentType.translation.name`, `document.documentType.translation`.custom_fields as `document.documentType.translation.customFields`, `document.documentType.translation`.created_at as `document.documentType.translation.createdAt`, `document.documentType.translation`.updated_at as `document.documentType.translation.updatedAt`, `document.documentType.translation`.document_type_id as `document.documentType.translation.documentTypeId`, `document.documentType.translation`.language_id as `document.documentType.translation.languageId` FROM `document_type_translation` `document.documentType.translation` WHERE `document.documentType.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `document.documentType.document_type_translation` ON `document.documentType.document_type_translation`.`document_type_id` = `document.documentType`.`id` WHERE (IF(JSON_TYPE(JSON_EXTRACT(`document`.`config`, '$.displayInCustomerAccount')) != "NULL", CONVERT(JSON_UNQUOTE(JSON_EXTRACT(`document`.`config`, '$.displayInCustomerAccount')) USING "utf8mb4") COLLATE utf8mb4_unicode_ci, NULL) = 'true' AND `document`.`sent` = 1 AND `document`.`order_id` IN (0x0CD756D4C992461C866CBB451F53ABBB, 0x0F044313B8BF4F60A70BFAE2096D50C8, 0x19E1C44DF06043D19F4C27C6FCF099F6, 0x52559DCE2A454B049FF342092931D535, 0x52F60EA348384348A5840011B6E530BF, 0x57F0191A601F4EC78030F7567DCAFF2D, 0x666C22733C3F4EAA8A658E81A2661355, 0xC2A75FD5B7E745D1A9389064772D5F8E, 0xD29B83D85B06491C9400F73AE91C449E, 0xFB25640D0D6F4B6BBFFDE72E1966B721));
array:23 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 242)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 316)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetch (line 148)"
4 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 503)"
5 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::loadOneToManyWithoutPagination (line 438)"
6 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::loadOneToMany (line 1210)"
7 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetchAssociations (line 152)"
8 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 93)"
9 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::read (line 257)"
10 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::read (line 302)"
11 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::_search (line 106)"
12 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::search (line 51)"
13 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepositoryForwardCompatibilityDecorator::search (line 93)"
14 => "Shopware\Core\Checkout\Order\SalesChannel\OrderRoute::load (line 112)"
15 => "Shopware\Storefront\Page\Account\Order\AccountOrderPageLoader::getOrders (line 74)"
16 => "Shopware\Storefront\Page\Account\Order\AccountOrderPageLoader::load (line 119)"
17 => "Shopware\Storefront\Controller\AccountOrderController::orderOverview (line 163)"
18 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
19 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
20 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
21 => "Shopware\Core\HttpKernel::doHandle (line 81)"
22 => "Shopware\Core\HttpKernel::handle (line 85)"
]
|
182 |
0.82 ms |
SELECT `salutation`.`id` as `salutation.id`, `salutation`.`salutation_key` as `salutation.salutationKey`, `salutation`.`created_at` as `salutation.createdAt`, `salutation`.`updated_at` as `salutation.updatedAt`, `salutation.translation.displayName`, COALESCE(`salutation.translation.displayName`,`salutation.translation.displayName`) as `salutation.displayName`, `salutation.translation.letterName`, COALESCE(`salutation.translation.letterName`,`salutation.translation.letterName`) as `salutation.letterName`, `salutation.translation.customFields`, COALESCE(`salutation.translation.customFields`,`salutation.translation.customFields`) as `salutation.customFields`, `salutation.translation.createdAt`, `salutation.translation.updatedAt`, `salutation.translation.salutationId`, `salutation.translation.languageId` FROM `salutation` LEFT JOIN (SELECT `salutation.translation`.salutation_id, `salutation.translation`.display_name as `salutation.translation.displayName`, `salutation.translation`.letter_name as `salutation.translation.letterName`, `salutation.translation`.custom_fields as `salutation.translation.customFields`, `salutation.translation`.created_at as `salutation.translation.createdAt`, `salutation.translation`.updated_at as `salutation.translation.updatedAt`, `salutation.translation`.salutation_id as `salutation.translation.salutationId`, `salutation.translation`.language_id as `salutation.translation.languageId` FROM `salutation_translation` `salutation.translation` WHERE `salutation.translation`.language_id = :languageId) `salutation.salutation_translation` ON `salutation.salutation_translation`.`salutation_id` = `salutation`.`id` WHERE `salutation`.`id` IN (:ids)
SELECT `salutation`.`id` as `salutation.id`, `salutation`.`salutation_key` as `salutation.salutationKey`, `salutation`.`created_at` as `salutation.createdAt`, `salutation`.`updated_at` as `salutation.updatedAt`, `salutation.translation.displayName`, COALESCE(`salutation.translation.displayName`,`salutation.translation.displayName`) as `salutation.displayName`, `salutation.translation.letterName`, COALESCE(`salutation.translation.letterName`,`salutation.translation.letterName`) as `salutation.letterName`, `salutation.translation.customFields`, COALESCE(`salutation.translation.customFields`,`salutation.translation.customFields`) as `salutation.customFields`, `salutation.translation.createdAt`, `salutation.translation.updatedAt`, `salutation.translation.salutationId`, `salutation.translation.languageId` FROM `salutation` LEFT JOIN (SELECT `salutation.translation`.salutation_id, `salutation.translation`.display_name as `salutation.translation.displayName`, `salutation.translation`.letter_name as `salutation.translation.letterName`, `salutation.translation`.custom_fields as `salutation.translation.customFields`, `salutation.translation`.created_at as `salutation.translation.createdAt`, `salutation.translation`.updated_at as `salutation.translation.updatedAt`, `salutation.translation`.salutation_id as `salutation.translation.salutationId`, `salutation.translation`.language_id as `salutation.translation.languageId` FROM `salutation_translation` `salutation.translation` WHERE `salutation.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `salutation.salutation_translation` ON `salutation.salutation_translation`.`salutation_id` = `salutation`.`id` WHERE `salutation`.`id` IN (0xED643807C9F84CC8B50132EA3CCB1C3B);
array:35 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 242)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 316)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetch (line 148)"
4 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 93)"
5 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::read (line 257)"
6 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::read (line 286)"
7 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::_search (line 110)"
8 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::Shopware\Core\Framework\DataAbstractionLayer\{closure} (line 59)"
9 => "Shopware\Core\Profiling\Profiler::trace (line 111)"
10 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::search (line 51)"
11 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepositoryForwardCompatibilityDecorator::search (line 79)"
12 => "Shopware\Core\Checkout\Customer\Subscriber\CustomerDefaultSalutationSubscriber::getDefaultSalutation (line 62)"
13 => "Shopware\Core\Checkout\Customer\Subscriber\CustomerDefaultSalutationSubscriber::loaded (line 230)"
14 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
15 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
16 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
17 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
18 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
19 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 33)"
20 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
21 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 269)"
22 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::read (line 302)"
23 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::_search (line 106)"
24 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::search (line 51)"
25 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepositoryForwardCompatibilityDecorator::search (line 93)"
26 => "Shopware\Core\Checkout\Order\SalesChannel\OrderRoute::load (line 112)"
27 => "Shopware\Storefront\Page\Account\Order\AccountOrderPageLoader::getOrders (line 74)"
28 => "Shopware\Storefront\Page\Account\Order\AccountOrderPageLoader::load (line 119)"
29 => "Shopware\Storefront\Controller\AccountOrderController::orderOverview (line 163)"
30 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
31 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
32 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
33 => "Shopware\Core\HttpKernel::doHandle (line 81)"
34 => "Shopware\Core\HttpKernel::handle (line 85)"
]
|
183 |
1.32 ms |
SELECT `app`.`id` as `app.id`, `app`.`name` as `app.name`, `app`.`path` as `app.path`, `app`.`author` as `app.author`, `app`.`copyright` as `app.copyright`, `app`.`license` as `app.license`, `app`.`active` as `app.active`, `app`.`configurable` as `app.configurable`, `app`.`privacy` as `app.privacy`, `app`.`version` as `app.version`, `app`.`icon` as `app.iconRaw`, `app`.`app_secret` as `app.appSecret`, `app`.`modules` as `app.modules`, `app`.`main_module` as `app.mainModule`, `app`.`cookies` as `app.cookies`, `app`.`allow_disable` as `app.allowDisable`, `app`.`base_app_url` as `app.baseAppUrl`, `app`.`allowed_hosts` as `app.allowedHosts`, `app`.`template_load_priority` as `app.templateLoadPriority`, `app`.`integration_id` as `app.integrationId`, `app.integration`.`id` as `app.integration.id`, `app.integration`.`label` as `app.integration.label`, `app.integration`.`access_key` as `app.integration.accessKey`, `app.integration`.`secret_access_key` as `app.integration.secretAccessKey`, `app.integration`.`write_access` as `app.integration.writeAccess`, `app.integration`.`last_usage_at` as `app.integration.lastUsageAt`, `app.integration`.`admin` as `app.integration.admin`, `app.integration`.`custom_fields` as `app.integration.customFields`, `app.integration`.`deleted_at` as `app.integration.deletedAt`, `app.integration`.`created_at` as `app.integration.createdAt`, `app.integration`.`updated_at` as `app.integration.updatedAt`, `app`.`acl_role_id` as `app.aclRoleId`, `app.aclRole`.`id` as `app.aclRole.id`, `app.aclRole`.`name` as `app.aclRole.name`, `app.aclRole`.`description` as `app.aclRole.description`, `app.aclRole`.`privileges` as `app.aclRole.privileges`, `app.aclRole`.`deleted_at` as `app.aclRole.deletedAt`, `app.aclRole`.`created_at` as `app.aclRole.createdAt`, `app.aclRole`.`updated_at` as `app.aclRole.updatedAt`, `app`.`created_at` as `app.createdAt`, `app`.`updated_at` as `app.updatedAt`, `app.translation.label`, COALESCE(`app.translation.label`,`app.translation.label`) as `app.label`, `app.translation.description`, COALESCE(`app.translation.description`,`app.translation.description`) as `app.description`, `app.translation.privacyPolicyExtensions`, COALESCE(`app.translation.privacyPolicyExtensions`,`app.translation.privacyPolicyExtensions`) as `app.privacyPolicyExtensions`, `app.translation.customFields`, COALESCE(`app.translation.customFields`,`app.translation.customFields`) as `app.customFields`, `app.translation.createdAt`, `app.translation.updatedAt`, `app.translation.appId`, `app.translation.languageId` FROM `app` LEFT JOIN (SELECT `app.translation`.app_id, `app.translation`.label as `app.translation.label`, `app.translation`.description as `app.translation.description`, `app.translation`.privacy_policy_extensions as `app.translation.privacyPolicyExtensions`, `app.translation`.custom_fields as `app.translation.customFields`, `app.translation`.created_at as `app.translation.createdAt`, `app.translation`.updated_at as `app.translation.updatedAt`, `app.translation`.app_id as `app.translation.appId`, `app.translation`.language_id as `app.translation.languageId` FROM `app_translation` `app.translation` WHERE `app.translation`.language_id = :languageId) `app.app_translation` ON `app.app_translation`.`app_id` = `app`.`id` LEFT JOIN `integration` `app.integration` ON `app`.`integration_id` = `app.integration`.`id` LEFT JOIN `acl_role` `app.aclRole` ON `app`.`acl_role_id` = `app.aclRole`.`id` WHERE (`app`.`active` = :param_1ee0c17aef0641d8ac7c84c5509a0a50)
SELECT
`app`.`id` as `app.id`,
`app`.`name` as `app.name`,
`app`.`path` as `app.path`,
`app`.`author` as `app.author`,
`app`.`copyright` as `app.copyright`,
`app`.`license` as `app.license`,
`app`.`active` as `app.active`,
`app`.`configurable` as `app.configurable`,
`app`.`privacy` as `app.privacy`,
`app`.`version` as `app.version`,
`app`.`icon` as `app.iconRaw`,
`app`.`app_secret` as `app.appSecret`,
`app`.`modules` as `app.modules`,
`app`.`main_module` as `app.mainModule`,
`app`.`cookies` as `app.cookies`,
`app`.`allow_disable` as `app.allowDisable`,
`app`.`base_app_url` as `app.baseAppUrl`,
`app`.`allowed_hosts` as `app.allowedHosts`,
`app`.`template_load_priority` as `app.templateLoadPriority`,
`app`.`integration_id` as `app.integrationId`,
`app.integration`.`id` as `app.integration.id`,
`app.integration`.`label` as `app.integration.label`,
`app.integration`.`access_key` as `app.integration.accessKey`,
`app.integration`.`secret_access_key` as `app.integration.secretAccessKey`,
`app.integration`.`write_access` as `app.integration.writeAccess`,
`app.integration`.`last_usage_at` as `app.integration.lastUsageAt`,
`app.integration`.`admin` as `app.integration.admin`,
`app.integration`.`custom_fields` as `app.integration.customFields`,
`app.integration`.`deleted_at` as `app.integration.deletedAt`,
`app.integration`.`created_at` as `app.integration.createdAt`,
`app.integration`.`updated_at` as `app.integration.updatedAt`,
`app`.`acl_role_id` as `app.aclRoleId`,
`app.aclRole`.`id` as `app.aclRole.id`,
`app.aclRole`.`name` as `app.aclRole.name`,
`app.aclRole`.`description` as `app.aclRole.description`,
`app.aclRole`.`privileges` as `app.aclRole.privileges`,
`app.aclRole`.`deleted_at` as `app.aclRole.deletedAt`,
`app.aclRole`.`created_at` as `app.aclRole.createdAt`,
`app.aclRole`.`updated_at` as `app.aclRole.updatedAt`,
`app`.`created_at` as `app.createdAt`,
`app`.`updated_at` as `app.updatedAt`,
`app.translation.label`,
COALESCE(
`app.translation.label`, `app.translation.label`
) as `app.label`,
`app.translation.description`,
COALESCE(
`app.translation.description`, `app.translation.description`
) as `app.description`,
`app.translation.privacyPolicyExtensions`,
COALESCE(
`app.translation.privacyPolicyExtensions`,
`app.translation.privacyPolicyExtensions`
) as `app.privacyPolicyExtensions`,
`app.translation.customFields`,
COALESCE(
`app.translation.customFields`,
`app.translation.customFields`
) as `app.customFields`,
`app.translation.createdAt`,
`app.translation.updatedAt`,
`app.translation.appId`,
`app.translation.languageId`
FROM
`app`
LEFT JOIN (
SELECT
`app.translation`.app_id,
`app.translation`.label as `app.translation.label`,
`app.translation`.description as `app.translation.description`,
`app.translation`.privacy_policy_extensions as `app.translation.privacyPolicyExtensions`,
`app.translation`.custom_fields as `app.translation.customFields`,
`app.translation`.created_at as `app.translation.createdAt`,
`app.translation`.updated_at as `app.translation.updatedAt`,
`app.translation`.app_id as `app.translation.appId`,
`app.translation`.language_id as `app.translation.languageId`
FROM
`app_translation` `app.translation`
WHERE
`app.translation`.language_id = : languageId
) `app.app_translation` ON `app.app_translation`.`app_id` = `app`.`id`
LEFT JOIN `integration` `app.integration` ON `app`.`integration_id` = `app.integration`.`id`
LEFT JOIN `acl_role` `app.aclRole` ON `app`.`acl_role_id` = `app.aclRole`.`id`
WHERE
(
`app`.`active` = : param_1ee0c17aef0641d8ac7c84c5509a0a50
)
SELECT `app`.`id` as `app.id`, `app`.`name` as `app.name`, `app`.`path` as `app.path`, `app`.`author` as `app.author`, `app`.`copyright` as `app.copyright`, `app`.`license` as `app.license`, `app`.`active` as `app.active`, `app`.`configurable` as `app.configurable`, `app`.`privacy` as `app.privacy`, `app`.`version` as `app.version`, `app`.`icon` as `app.iconRaw`, `app`.`app_secret` as `app.appSecret`, `app`.`modules` as `app.modules`, `app`.`main_module` as `app.mainModule`, `app`.`cookies` as `app.cookies`, `app`.`allow_disable` as `app.allowDisable`, `app`.`base_app_url` as `app.baseAppUrl`, `app`.`allowed_hosts` as `app.allowedHosts`, `app`.`template_load_priority` as `app.templateLoadPriority`, `app`.`integration_id` as `app.integrationId`, `app.integration`.`id` as `app.integration.id`, `app.integration`.`label` as `app.integration.label`, `app.integration`.`access_key` as `app.integration.accessKey`, `app.integration`.`secret_access_key` as `app.integration.secretAccessKey`, `app.integration`.`write_access` as `app.integration.writeAccess`, `app.integration`.`last_usage_at` as `app.integration.lastUsageAt`, `app.integration`.`admin` as `app.integration.admin`, `app.integration`.`custom_fields` as `app.integration.customFields`, `app.integration`.`deleted_at` as `app.integration.deletedAt`, `app.integration`.`created_at` as `app.integration.createdAt`, `app.integration`.`updated_at` as `app.integration.updatedAt`, `app`.`acl_role_id` as `app.aclRoleId`, `app.aclRole`.`id` as `app.aclRole.id`, `app.aclRole`.`name` as `app.aclRole.name`, `app.aclRole`.`description` as `app.aclRole.description`, `app.aclRole`.`privileges` as `app.aclRole.privileges`, `app.aclRole`.`deleted_at` as `app.aclRole.deletedAt`, `app.aclRole`.`created_at` as `app.aclRole.createdAt`, `app.aclRole`.`updated_at` as `app.aclRole.updatedAt`, `app`.`created_at` as `app.createdAt`, `app`.`updated_at` as `app.updatedAt`, `app.translation.label`, COALESCE(`app.translation.label`,`app.translation.label`) as `app.label`, `app.translation.description`, COALESCE(`app.translation.description`,`app.translation.description`) as `app.description`, `app.translation.privacyPolicyExtensions`, COALESCE(`app.translation.privacyPolicyExtensions`,`app.translation.privacyPolicyExtensions`) as `app.privacyPolicyExtensions`, `app.translation.customFields`, COALESCE(`app.translation.customFields`,`app.translation.customFields`) as `app.customFields`, `app.translation.createdAt`, `app.translation.updatedAt`, `app.translation.appId`, `app.translation.languageId` FROM `app` LEFT JOIN (SELECT `app.translation`.app_id, `app.translation`.label as `app.translation.label`, `app.translation`.description as `app.translation.description`, `app.translation`.privacy_policy_extensions as `app.translation.privacyPolicyExtensions`, `app.translation`.custom_fields as `app.translation.customFields`, `app.translation`.created_at as `app.translation.createdAt`, `app.translation`.updated_at as `app.translation.updatedAt`, `app.translation`.app_id as `app.translation.appId`, `app.translation`.language_id as `app.translation.languageId` FROM `app_translation` `app.translation` WHERE `app.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `app.app_translation` ON `app.app_translation`.`app_id` = `app`.`id` LEFT JOIN `integration` `app.integration` ON `app`.`integration_id` = `app.integration`.`id` LEFT JOIN `acl_role` `app.aclRole` ON `app`.`acl_role_id` = `app.aclRole`.`id` WHERE (`app`.`active` = 1);
array:23 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 242)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 316)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetch (line 148)"
4 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 93)"
5 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::read (line 257)"
6 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::read (line 286)"
7 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::_search (line 110)"
8 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::Shopware\Core\Framework\DataAbstractionLayer\{closure} (line 59)"
9 => "Shopware\Core\Profiling\Profiler::trace (line 111)"
10 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::search (line 51)"
11 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepositoryForwardCompatibilityDecorator::search (line 119)"
12 => "Shopware\Core\Framework\App\Lifecycle\Persister\ScriptPersister::refresh (line 73)"
13 => "Shopware\Core\Framework\Script\Execution\ScriptLoader::load (line 57)"
14 => "Shopware\Core\Framework\Script\Execution\ScriptLoader::get (line 71)"
15 => "Shopware\Core\Framework\Script\Execution\ScriptExecutor::execute (line 253)"
16 => "Shopware\Storefront\Controller\StorefrontController::hook (line 121)"
17 => "Shopware\Storefront\Controller\AccountOrderController::orderOverview (line 163)"
18 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
19 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
20 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
21 => "Shopware\Core\HttpKernel::doHandle (line 81)"
22 => "Shopware\Core\HttpKernel::handle (line 85)"
]
|
184 |
1.24 ms |
SELECT `app`.`id` as `app.id`, `app`.`name` as `app.name`, `app`.`path` as `app.path`, `app`.`author` as `app.author`, `app`.`copyright` as `app.copyright`, `app`.`license` as `app.license`, `app`.`active` as `app.active`, `app`.`configurable` as `app.configurable`, `app`.`privacy` as `app.privacy`, `app`.`version` as `app.version`, `app`.`icon` as `app.iconRaw`, `app`.`app_secret` as `app.appSecret`, `app`.`modules` as `app.modules`, `app`.`main_module` as `app.mainModule`, `app`.`cookies` as `app.cookies`, `app`.`allow_disable` as `app.allowDisable`, `app`.`base_app_url` as `app.baseAppUrl`, `app`.`allowed_hosts` as `app.allowedHosts`, `app`.`template_load_priority` as `app.templateLoadPriority`, `app`.`integration_id` as `app.integrationId`, `app.integration`.`id` as `app.integration.id`, `app.integration`.`label` as `app.integration.label`, `app.integration`.`access_key` as `app.integration.accessKey`, `app.integration`.`secret_access_key` as `app.integration.secretAccessKey`, `app.integration`.`write_access` as `app.integration.writeAccess`, `app.integration`.`last_usage_at` as `app.integration.lastUsageAt`, `app.integration`.`admin` as `app.integration.admin`, `app.integration`.`custom_fields` as `app.integration.customFields`, `app.integration`.`deleted_at` as `app.integration.deletedAt`, `app.integration`.`created_at` as `app.integration.createdAt`, `app.integration`.`updated_at` as `app.integration.updatedAt`, `app`.`acl_role_id` as `app.aclRoleId`, `app.aclRole`.`id` as `app.aclRole.id`, `app.aclRole`.`name` as `app.aclRole.name`, `app.aclRole`.`description` as `app.aclRole.description`, `app.aclRole`.`privileges` as `app.aclRole.privileges`, `app.aclRole`.`deleted_at` as `app.aclRole.deletedAt`, `app.aclRole`.`created_at` as `app.aclRole.createdAt`, `app.aclRole`.`updated_at` as `app.aclRole.updatedAt`, `app`.`created_at` as `app.createdAt`, `app`.`updated_at` as `app.updatedAt`, `app.translation.label`, COALESCE(`app.translation.label`,`app.translation.label`) as `app.label`, `app.translation.description`, COALESCE(`app.translation.description`,`app.translation.description`) as `app.description`, `app.translation.privacyPolicyExtensions`, COALESCE(`app.translation.privacyPolicyExtensions`,`app.translation.privacyPolicyExtensions`) as `app.privacyPolicyExtensions`, `app.translation.customFields`, COALESCE(`app.translation.customFields`,`app.translation.customFields`) as `app.customFields`, `app.translation.createdAt`, `app.translation.updatedAt`, `app.translation.appId`, `app.translation.languageId` FROM `app` LEFT JOIN (SELECT `app.translation`.app_id, `app.translation`.label as `app.translation.label`, `app.translation`.description as `app.translation.description`, `app.translation`.privacy_policy_extensions as `app.translation.privacyPolicyExtensions`, `app.translation`.custom_fields as `app.translation.customFields`, `app.translation`.created_at as `app.translation.createdAt`, `app.translation`.updated_at as `app.translation.updatedAt`, `app.translation`.app_id as `app.translation.appId`, `app.translation`.language_id as `app.translation.languageId` FROM `app_translation` `app.translation` WHERE `app.translation`.language_id = :languageId) `app.app_translation` ON `app.app_translation`.`app_id` = `app`.`id` LEFT JOIN `integration` `app.integration` ON `app`.`integration_id` = `app.integration`.`id` LEFT JOIN `acl_role` `app.aclRole` ON `app`.`acl_role_id` = `app.aclRole`.`id` WHERE `app`.`id` IN (:ids)
SELECT
`app`.`id` as `app.id`,
`app`.`name` as `app.name`,
`app`.`path` as `app.path`,
`app`.`author` as `app.author`,
`app`.`copyright` as `app.copyright`,
`app`.`license` as `app.license`,
`app`.`active` as `app.active`,
`app`.`configurable` as `app.configurable`,
`app`.`privacy` as `app.privacy`,
`app`.`version` as `app.version`,
`app`.`icon` as `app.iconRaw`,
`app`.`app_secret` as `app.appSecret`,
`app`.`modules` as `app.modules`,
`app`.`main_module` as `app.mainModule`,
`app`.`cookies` as `app.cookies`,
`app`.`allow_disable` as `app.allowDisable`,
`app`.`base_app_url` as `app.baseAppUrl`,
`app`.`allowed_hosts` as `app.allowedHosts`,
`app`.`template_load_priority` as `app.templateLoadPriority`,
`app`.`integration_id` as `app.integrationId`,
`app.integration`.`id` as `app.integration.id`,
`app.integration`.`label` as `app.integration.label`,
`app.integration`.`access_key` as `app.integration.accessKey`,
`app.integration`.`secret_access_key` as `app.integration.secretAccessKey`,
`app.integration`.`write_access` as `app.integration.writeAccess`,
`app.integration`.`last_usage_at` as `app.integration.lastUsageAt`,
`app.integration`.`admin` as `app.integration.admin`,
`app.integration`.`custom_fields` as `app.integration.customFields`,
`app.integration`.`deleted_at` as `app.integration.deletedAt`,
`app.integration`.`created_at` as `app.integration.createdAt`,
`app.integration`.`updated_at` as `app.integration.updatedAt`,
`app`.`acl_role_id` as `app.aclRoleId`,
`app.aclRole`.`id` as `app.aclRole.id`,
`app.aclRole`.`name` as `app.aclRole.name`,
`app.aclRole`.`description` as `app.aclRole.description`,
`app.aclRole`.`privileges` as `app.aclRole.privileges`,
`app.aclRole`.`deleted_at` as `app.aclRole.deletedAt`,
`app.aclRole`.`created_at` as `app.aclRole.createdAt`,
`app.aclRole`.`updated_at` as `app.aclRole.updatedAt`,
`app`.`created_at` as `app.createdAt`,
`app`.`updated_at` as `app.updatedAt`,
`app.translation.label`,
COALESCE(
`app.translation.label`, `app.translation.label`
) as `app.label`,
`app.translation.description`,
COALESCE(
`app.translation.description`, `app.translation.description`
) as `app.description`,
`app.translation.privacyPolicyExtensions`,
COALESCE(
`app.translation.privacyPolicyExtensions`,
`app.translation.privacyPolicyExtensions`
) as `app.privacyPolicyExtensions`,
`app.translation.customFields`,
COALESCE(
`app.translation.customFields`,
`app.translation.customFields`
) as `app.customFields`,
`app.translation.createdAt`,
`app.translation.updatedAt`,
`app.translation.appId`,
`app.translation.languageId`
FROM
`app`
LEFT JOIN (
SELECT
`app.translation`.app_id,
`app.translation`.label as `app.translation.label`,
`app.translation`.description as `app.translation.description`,
`app.translation`.privacy_policy_extensions as `app.translation.privacyPolicyExtensions`,
`app.translation`.custom_fields as `app.translation.customFields`,
`app.translation`.created_at as `app.translation.createdAt`,
`app.translation`.updated_at as `app.translation.updatedAt`,
`app.translation`.app_id as `app.translation.appId`,
`app.translation`.language_id as `app.translation.languageId`
FROM
`app_translation` `app.translation`
WHERE
`app.translation`.language_id = : languageId
) `app.app_translation` ON `app.app_translation`.`app_id` = `app`.`id`
LEFT JOIN `integration` `app.integration` ON `app`.`integration_id` = `app.integration`.`id`
LEFT JOIN `acl_role` `app.aclRole` ON `app`.`acl_role_id` = `app.aclRole`.`id`
WHERE
`app`.`id` IN (: ids)
SELECT `app`.`id` as `app.id`, `app`.`name` as `app.name`, `app`.`path` as `app.path`, `app`.`author` as `app.author`, `app`.`copyright` as `app.copyright`, `app`.`license` as `app.license`, `app`.`active` as `app.active`, `app`.`configurable` as `app.configurable`, `app`.`privacy` as `app.privacy`, `app`.`version` as `app.version`, `app`.`icon` as `app.iconRaw`, `app`.`app_secret` as `app.appSecret`, `app`.`modules` as `app.modules`, `app`.`main_module` as `app.mainModule`, `app`.`cookies` as `app.cookies`, `app`.`allow_disable` as `app.allowDisable`, `app`.`base_app_url` as `app.baseAppUrl`, `app`.`allowed_hosts` as `app.allowedHosts`, `app`.`template_load_priority` as `app.templateLoadPriority`, `app`.`integration_id` as `app.integrationId`, `app.integration`.`id` as `app.integration.id`, `app.integration`.`label` as `app.integration.label`, `app.integration`.`access_key` as `app.integration.accessKey`, `app.integration`.`secret_access_key` as `app.integration.secretAccessKey`, `app.integration`.`write_access` as `app.integration.writeAccess`, `app.integration`.`last_usage_at` as `app.integration.lastUsageAt`, `app.integration`.`admin` as `app.integration.admin`, `app.integration`.`custom_fields` as `app.integration.customFields`, `app.integration`.`deleted_at` as `app.integration.deletedAt`, `app.integration`.`created_at` as `app.integration.createdAt`, `app.integration`.`updated_at` as `app.integration.updatedAt`, `app`.`acl_role_id` as `app.aclRoleId`, `app.aclRole`.`id` as `app.aclRole.id`, `app.aclRole`.`name` as `app.aclRole.name`, `app.aclRole`.`description` as `app.aclRole.description`, `app.aclRole`.`privileges` as `app.aclRole.privileges`, `app.aclRole`.`deleted_at` as `app.aclRole.deletedAt`, `app.aclRole`.`created_at` as `app.aclRole.createdAt`, `app.aclRole`.`updated_at` as `app.aclRole.updatedAt`, `app`.`created_at` as `app.createdAt`, `app`.`updated_at` as `app.updatedAt`, `app.translation.label`, COALESCE(`app.translation.label`,`app.translation.label`) as `app.label`, `app.translation.description`, COALESCE(`app.translation.description`,`app.translation.description`) as `app.description`, `app.translation.privacyPolicyExtensions`, COALESCE(`app.translation.privacyPolicyExtensions`,`app.translation.privacyPolicyExtensions`) as `app.privacyPolicyExtensions`, `app.translation.customFields`, COALESCE(`app.translation.customFields`,`app.translation.customFields`) as `app.customFields`, `app.translation.createdAt`, `app.translation.updatedAt`, `app.translation.appId`, `app.translation.languageId` FROM `app` LEFT JOIN (SELECT `app.translation`.app_id, `app.translation`.label as `app.translation.label`, `app.translation`.description as `app.translation.description`, `app.translation`.privacy_policy_extensions as `app.translation.privacyPolicyExtensions`, `app.translation`.custom_fields as `app.translation.customFields`, `app.translation`.created_at as `app.translation.createdAt`, `app.translation`.updated_at as `app.translation.updatedAt`, `app.translation`.app_id as `app.translation.appId`, `app.translation`.language_id as `app.translation.languageId` FROM `app_translation` `app.translation` WHERE `app.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `app.app_translation` ON `app.app_translation`.`app_id` = `app`.`id` LEFT JOIN `integration` `app.integration` ON `app`.`integration_id` = `app.integration`.`id` LEFT JOIN `acl_role` `app.aclRole` ON `app`.`acl_role_id` = `app.aclRole`.`id` WHERE `app`.`id` IN (0xFAE4CAC26CC640B8B3F7A1499F103CDE);
array:23 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 242)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 316)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetch (line 148)"
4 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 93)"
5 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::read (line 257)"
6 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::read (line 286)"
7 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::_search (line 106)"
8 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::search (line 51)"
9 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepositoryForwardCompatibilityDecorator::search (line 147)"
10 => "Shopware\Core\Framework\App\Lifecycle\Persister\ScriptPersister::getAppWithExistingScripts (line 39)"
11 => "Shopware\Core\Framework\App\Lifecycle\Persister\ScriptPersister::updateScripts (line 123)"
12 => "Shopware\Core\Framework\App\Lifecycle\Persister\ScriptPersister::refresh (line 73)"
13 => "Shopware\Core\Framework\Script\Execution\ScriptLoader::load (line 57)"
14 => "Shopware\Core\Framework\Script\Execution\ScriptLoader::get (line 71)"
15 => "Shopware\Core\Framework\Script\Execution\ScriptExecutor::execute (line 253)"
16 => "Shopware\Storefront\Controller\StorefrontController::hook (line 121)"
17 => "Shopware\Storefront\Controller\AccountOrderController::orderOverview (line 163)"
18 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
19 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
20 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
21 => "Shopware\Core\HttpKernel::doHandle (line 81)"
22 => "Shopware\Core\HttpKernel::handle (line 85)"
]
|
185 |
0.38 ms |
SELECT `script`.`id` as `script.id`, `script`.`script` as `script.script`, `script`.`hook` as `script.hook`, `script`.`name` as `script.name`, `script`.`active` as `script.active`, `script`.`app_id` as `script.appId`, `script`.`created_at` as `script.createdAt`, `script`.`updated_at` as `script.updatedAt` FROM `script` WHERE (`script`.`app_id` IN (:param_8c9b3e79cf40462d8fcf81d0b35a5af5))
SELECT `script`.`id` as `script.id`, `script`.`script` as `script.script`, `script`.`hook` as `script.hook`, `script`.`name` as `script.name`, `script`.`active` as `script.active`, `script`.`app_id` as `script.appId`, `script`.`created_at` as `script.createdAt`, `script`.`updated_at` as `script.updatedAt` FROM `script` WHERE (`script`.`app_id` IN (0xFAE4CAC26CC640B8B3F7A1499F103CDE));
array:27 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 242)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 316)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetch (line 148)"
4 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 503)"
5 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::loadOneToManyWithoutPagination (line 438)"
6 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::loadOneToMany (line 1210)"
7 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetchAssociations (line 152)"
8 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 93)"
9 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::read (line 257)"
10 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::read (line 286)"
11 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::_search (line 106)"
12 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::search (line 51)"
13 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepositoryForwardCompatibilityDecorator::search (line 147)"
14 => "Shopware\Core\Framework\App\Lifecycle\Persister\ScriptPersister::getAppWithExistingScripts (line 39)"
15 => "Shopware\Core\Framework\App\Lifecycle\Persister\ScriptPersister::updateScripts (line 123)"
16 => "Shopware\Core\Framework\App\Lifecycle\Persister\ScriptPersister::refresh (line 73)"
17 => "Shopware\Core\Framework\Script\Execution\ScriptLoader::load (line 57)"
18 => "Shopware\Core\Framework\Script\Execution\ScriptLoader::get (line 71)"
19 => "Shopware\Core\Framework\Script\Execution\ScriptExecutor::execute (line 253)"
20 => "Shopware\Storefront\Controller\StorefrontController::hook (line 121)"
21 => "Shopware\Storefront\Controller\AccountOrderController::orderOverview (line 163)"
22 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
23 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
24 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
25 => "Shopware\Core\HttpKernel::doHandle (line 81)"
26 => "Shopware\Core\HttpKernel::handle (line 85)"
]
|
186 |
0.49 ms |
SELECT LOWER(HEX(`script`.`app_id`)) as `app_id`,
`script`.`name` AS scriptName,
`script`.`script` AS script,
`script`.`hook` AS hook,
IFNULL(`script`.`updated_at`, `script`.`created_at`) AS lastModified,
`app`.`name` AS appName,
LOWER(HEX(`app`.`integration_id`)) AS integrationId,
`app`.`version` AS appVersion,
`script`.`active` AS active
FROM `script`
LEFT JOIN `app` ON `script`.`app_id` = `app`.`id`
WHERE `script`.`hook` != 'include'
ORDER BY `app`.`created_at`, `app`.`id`, `script`.`name`
SELECT LOWER(HEX(`script`.`app_id`)) as `app_id`,
`script`.`name` AS scriptName,
`script`.`script` AS script,
`script`.`hook` AS hook,
IFNULL(`script`.`updated_at`, `script`.`created_at`) AS lastModified,
`app`.`name` AS appName,
LOWER(HEX(`app`.`integration_id`)) AS integrationId,
`app`.`version` AS appVersion,
`script`.`active` AS active
FROM `script`
LEFT JOIN `app` ON `script`.`app_id` = `app`.`id`
WHERE `script`.`hook` != 'include'
ORDER BY `app`.`created_at`, `app`.`id`, `script`.`name`
;
array:13 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 1042)"
2 => "Doctrine\DBAL\Connection::fetchAllAssociative (line 76)"
3 => "Shopware\Core\Framework\Script\Execution\ScriptLoader::load (line 57)"
4 => "Shopware\Core\Framework\Script\Execution\ScriptLoader::get (line 71)"
5 => "Shopware\Core\Framework\Script\Execution\ScriptExecutor::execute (line 253)"
6 => "Shopware\Storefront\Controller\StorefrontController::hook (line 121)"
7 => "Shopware\Storefront\Controller\AccountOrderController::orderOverview (line 163)"
8 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
9 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
10 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
11 => "Shopware\Core\HttpKernel::doHandle (line 81)"
12 => "Shopware\Core\HttpKernel::handle (line 85)"
]
|
187 |
0.31 ms |
SELECT LOWER(HEX(`script`.`app_id`)) as `app_id`,
`script`.`name` AS name,
`script`.`script` AS script,
`app`.`name` AS appName,
LOWER(HEX(`app`.`integration_id`)) AS integrationId,
IFNULL(`script`.`updated_at`, `script`.`created_at`) AS lastModified
FROM `script`
LEFT JOIN `app` ON `script`.`app_id` = `app`.`id`
WHERE `script`.`hook` = 'include'
ORDER BY `app`.`created_at`, `app`.`id`, `script`.`name`
SELECT LOWER(HEX(`script`.`app_id`)) as `app_id`,
`script`.`name` AS name,
`script`.`script` AS script,
`app`.`name` AS appName,
LOWER(HEX(`app`.`integration_id`)) AS integrationId,
IFNULL(`script`.`updated_at`, `script`.`created_at`) AS lastModified
FROM `script`
LEFT JOIN `app` ON `script`.`app_id` = `app`.`id`
WHERE `script`.`hook` = 'include'
ORDER BY `app`.`created_at`, `app`.`id`, `script`.`name`
;
array:13 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 1042)"
2 => "Doctrine\DBAL\Connection::fetchAllAssociative (line 92)"
3 => "Shopware\Core\Framework\Script\Execution\ScriptLoader::load (line 57)"
4 => "Shopware\Core\Framework\Script\Execution\ScriptLoader::get (line 71)"
5 => "Shopware\Core\Framework\Script\Execution\ScriptExecutor::execute (line 253)"
6 => "Shopware\Storefront\Controller\StorefrontController::hook (line 121)"
7 => "Shopware\Storefront\Controller\AccountOrderController::orderOverview (line 163)"
8 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
9 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
10 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
11 => "Shopware\Core\HttpKernel::doHandle (line 81)"
12 => "Shopware\Core\HttpKernel::handle (line 85)"
]
|
188 |
0.30 ms |
SELECT `app`.`name`, `app`.`version`, `app`.`template_load_priority`
FROM `app`
INNER JOIN `app_template` ON `app_template`.`app_id` = `app`.`id`
WHERE `app`.`active` = 1 AND `app_template`.`active` = 1
SELECT `app`.`name`, `app`.`version`, `app`.`template_load_priority`
FROM `app`
INNER JOIN `app_template` ON `app_template`.`app_id` = `app`.`id`
WHERE `app`.`active` = 1 AND `app_template`.`active` = 1;
array:15 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 1093)"
2 => "Doctrine\DBAL\Connection::fetchAllAssociativeIndexed (line 68)"
3 => "Shopware\Core\Framework\Adapter\Twig\NamespaceHierarchy\BundleHierarchyBuilder::getAppTemplateNamespaces (line 47)"
4 => "Shopware\Core\Framework\Adapter\Twig\NamespaceHierarchy\BundleHierarchyBuilder::buildNamespaceHierarchy (line 35)"
5 => "Shopware\Core\Framework\Adapter\Twig\NamespaceHierarchy\NamespaceHierarchyBuilder::buildHierarchy (line 147)"
6 => "Shopware\Core\Framework\Adapter\Twig\TemplateFinder::getNamespaceHierarchy (line 68)"
7 => "Shopware\Core\Framework\Adapter\Twig\TemplateFinder::find (line 58)"
8 => "Shopware\Storefront\Controller\StorefrontController::renderStorefront (line 123)"
9 => "Shopware\Storefront\Controller\AccountOrderController::orderOverview (line 163)"
10 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
11 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
12 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
13 => "Shopware\Core\HttpKernel::doHandle (line 81)"
14 => "Shopware\Core\HttpKernel::handle (line 85)"
]
|
189 |
0.16 ms |
SELECT `name`, `path`, `author`
FROM `app`
WHERE `active` = 1
SELECT `name`, `path`, `author`
FROM `app`
WHERE `active` = 1
;
array:20 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 1042)"
2 => "Doctrine\DBAL\Connection::fetchAllAssociative (line 62)"
3 => "Shopware\Core\Framework\App\ActiveAppsLoader::loadApps (line 44)"
4 => "Shopware\Core\Framework\App\ActiveAppsLoader::getActiveApps (line 77)"
5 => "Shopware\Storefront\Theme\StorefrontPluginRegistry::addAppConfigs (line 52)"
6 => "Shopware\Storefront\Theme\StorefrontPluginRegistry::getConfigurations (line 82)"
7 => "Shopware\Storefront\Theme\Twig\ThemeInheritanceBuilder::getThemeInheritance (line 31)"
8 => "Shopware\Storefront\Theme\Twig\ThemeInheritanceBuilder::build (line 93)"
9 => "Shopware\Storefront\Theme\Twig\ThemeNamespaceHierarchyBuilder::buildNamespaceHierarchy (line 35)"
10 => "Shopware\Core\Framework\Adapter\Twig\NamespaceHierarchy\NamespaceHierarchyBuilder::buildHierarchy (line 147)"
11 => "Shopware\Core\Framework\Adapter\Twig\TemplateFinder::getNamespaceHierarchy (line 68)"
12 => "Shopware\Core\Framework\Adapter\Twig\TemplateFinder::find (line 58)"
13 => "Shopware\Storefront\Controller\StorefrontController::renderStorefront (line 123)"
14 => "Shopware\Storefront\Controller\AccountOrderController::orderOverview (line 163)"
15 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
16 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
17 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
18 => "Shopware\Core\HttpKernel::doHandle (line 81)"
19 => "Shopware\Core\HttpKernel::handle (line 85)"
]
|
190 |
0.39 ms |
SELECT `domain`.`language_id` AS languageId,
`domain`.`id` AS id,
`domain`.`url` AS url,
`domain`.`hreflang_use_only_locale` AS onlyLocale,
`locale`.`code` AS locale
FROM `sales_channel_domain` AS `domain`
INNER JOIN `language` ON `language`.`id` = `domain`.`language_id`
INNER JOIN `locale` ON `locale`.`id` = `language`.`locale_id`
WHERE `domain`.`sales_channel_id` = :salesChannelId
SELECT `domain`.`language_id` AS languageId,
`domain`.`id` AS id,
`domain`.`url` AS url,
`domain`.`hreflang_use_only_locale` AS onlyLocale,
`locale`.`code` AS locale
FROM `sales_channel_domain` AS `domain`
INNER JOIN `language` ON `language`.`id` = `domain`.`language_id`
INNER JOIN `locale` ON `locale`.`id` = `language`.`locale_id`
WHERE `domain`.`sales_channel_id` = 0x4EB9108BE4654CC9B140D14DE85579E9;
array:21 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 1042)"
2 => "Doctrine\DBAL\Connection::fetchAllAssociative (line 167)"
3 => "Shopware\Core\Content\Seo\HreflangLoader::fetchSalesChannelDomains (line 48)"
4 => "Shopware\Core\Content\Seo\HreflangLoader::load (line 371)"
5 => "Shopware\Storefront\Framework\Routing\StorefrontSubscriber::addHreflang (line 118)"
6 => "Symfony\Component\EventDispatcher\Debug\WrappedListener::__invoke (line 230)"
7 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
8 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
9 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
10 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
11 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
12 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
13 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 62)"
14 => "Shopware\Storefront\Controller\StorefrontController::renderStorefront (line 123)"
15 => "Shopware\Storefront\Controller\AccountOrderController::orderOverview (line 163)"
16 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
17 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
18 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
19 => "Shopware\Core\HttpKernel::doHandle (line 81)"
20 => "Shopware\Core\HttpKernel::handle (line 85)"
]
|
191 |
0.79 ms |
SELECT `seo_path_info` AS seoPathInfo, `language_id` AS languageId
FROM `seo_url`
WHERE `path_info` = :pathInfo AND `is_canonical` = 1 AND
`sales_channel_id` = :salesChannelId AND `language_id` IN (:languageIds)
SELECT `seo_path_info` AS seoPathInfo, `language_id` AS languageId
FROM `seo_url`
WHERE `path_info` = '/account/order' AND `is_canonical` = 1 AND
`sales_channel_id` = 0x4EB9108BE4654CC9B140D14DE85579E9 AND `language_id` IN (0x2FBB5FE2E29A4D70AA5854CE7CE3E20B, 0xED273AF29DCE44A98CF3C1D2E5C49907, 0x92CFD36564914CFAB3C98806C73E4305);
array:21 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 1042)"
2 => "Doctrine\DBAL\Connection::fetchAllAssociative (line 235)"
3 => "Shopware\Core\Content\Seo\HreflangLoader::fetchSeoUrls (line 57)"
4 => "Shopware\Core\Content\Seo\HreflangLoader::load (line 371)"
5 => "Shopware\Storefront\Framework\Routing\StorefrontSubscriber::addHreflang (line 118)"
6 => "Symfony\Component\EventDispatcher\Debug\WrappedListener::__invoke (line 230)"
7 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
8 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
9 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
10 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
11 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
12 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
13 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 62)"
14 => "Shopware\Storefront\Controller\StorefrontController::renderStorefront (line 123)"
15 => "Shopware\Storefront\Controller\AccountOrderController::orderOverview (line 163)"
16 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
17 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
18 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
19 => "Shopware\Core\HttpKernel::doHandle (line 81)"
20 => "Shopware\Core\HttpKernel::handle (line 85)"
]
|
192 |
1.05 ms |
SELECT `theme`.`id` as `theme.id`, `theme`.`technical_name` as `theme.technicalName`, `theme`.`name` as `theme.name`, `theme`.`author` as `theme.author`, `theme`.`preview_media_id` as `theme.previewMediaId`, `theme`.`parent_theme_id` as `theme.parentThemeId`, `theme`.`base_config` as `theme.baseConfig`, `theme`.`config_values` as `theme.configValues`, `theme`.`active` as `theme.active`, `theme`.`created_at` as `theme.createdAt`, `theme`.`updated_at` as `theme.updatedAt`, `theme.translation.description`, COALESCE(`theme.translation.description`,`theme.translation.description`) as `theme.description`, `theme.translation.labels`, COALESCE(`theme.translation.labels`,`theme.translation.labels`) as `theme.labels`, `theme.translation.helpTexts`, COALESCE(`theme.translation.helpTexts`,`theme.translation.helpTexts`) as `theme.helpTexts`, `theme.translation.customFields`, COALESCE(`theme.translation.customFields`,`theme.translation.customFields`) as `theme.customFields`, `theme.translation.createdAt`, `theme.translation.updatedAt`, `theme.translation.themeId`, `theme.translation.languageId` FROM `theme` LEFT JOIN (SELECT `theme.translation`.theme_id, `theme.translation`.description as `theme.translation.description`, `theme.translation`.labels as `theme.translation.labels`, `theme.translation`.help_texts as `theme.translation.helpTexts`, `theme.translation`.custom_fields as `theme.translation.customFields`, `theme.translation`.created_at as `theme.translation.createdAt`, `theme.translation`.updated_at as `theme.translation.updatedAt`, `theme.translation`.theme_id as `theme.translation.themeId`, `theme.translation`.language_id as `theme.translation.languageId` FROM `theme_translation` `theme.translation` WHERE `theme.translation`.language_id = :languageId) `theme.theme_translation` ON `theme.theme_translation`.`theme_id` = `theme`.`id`
SELECT `theme`.`id` as `theme.id`, `theme`.`technical_name` as `theme.technicalName`, `theme`.`name` as `theme.name`, `theme`.`author` as `theme.author`, `theme`.`preview_media_id` as `theme.previewMediaId`, `theme`.`parent_theme_id` as `theme.parentThemeId`, `theme`.`base_config` as `theme.baseConfig`, `theme`.`config_values` as `theme.configValues`, `theme`.`active` as `theme.active`, `theme`.`created_at` as `theme.createdAt`, `theme`.`updated_at` as `theme.updatedAt`, `theme.translation.description`, COALESCE(`theme.translation.description`,`theme.translation.description`) as `theme.description`, `theme.translation.labels`, COALESCE(`theme.translation.labels`,`theme.translation.labels`) as `theme.labels`, `theme.translation.helpTexts`, COALESCE(`theme.translation.helpTexts`,`theme.translation.helpTexts`) as `theme.helpTexts`, `theme.translation.customFields`, COALESCE(`theme.translation.customFields`,`theme.translation.customFields`) as `theme.customFields`, `theme.translation.createdAt`, `theme.translation.updatedAt`, `theme.translation.themeId`, `theme.translation.languageId` FROM `theme` LEFT JOIN (SELECT `theme.translation`.theme_id, `theme.translation`.description as `theme.translation.description`, `theme.translation`.labels as `theme.translation.labels`, `theme.translation`.help_texts as `theme.translation.helpTexts`, `theme.translation`.custom_fields as `theme.translation.customFields`, `theme.translation`.created_at as `theme.translation.createdAt`, `theme.translation`.updated_at as `theme.translation.updatedAt`, `theme.translation`.theme_id as `theme.translation.themeId`, `theme.translation`.language_id as `theme.translation.languageId` FROM `theme_translation` `theme.translation` WHERE `theme.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `theme.theme_translation` ON `theme.theme_translation`.`theme_id` = `theme`.`id`;
array:70 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 242)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 316)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetch (line 148)"
4 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 93)"
5 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::read (line 257)"
6 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::read (line 286)"
7 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::_search (line 110)"
8 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::Shopware\Core\Framework\DataAbstractionLayer\{closure} (line 59)"
9 => "Shopware\Core\Profiling\Profiler::trace (line 111)"
10 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::search (line 51)"
11 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepositoryForwardCompatibilityDecorator::search (line 209)"
12 => "Shopware\Storefront\Theme\ThemeService::getThemeConfiguration (line 42)"
13 => "Shopware\Storefront\Theme\ResolvedConfigLoader::load (line 39)"
14 => "Shopware\Storefront\Theme\CachedResolvedConfigLoader::Shopware\Storefront\Theme\{closure} (line 72)"
15 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
16 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 44)"
17 => "Shopware\Storefront\Theme\CachedResolvedConfigLoader::load (line 117)"
18 => "Shopware\Storefront\Theme\ThemeConfigValueAccessor::getThemeConfig (line 42)"
19 => "Shopware\Storefront\Theme\ThemeConfigValueAccessor::get (line 51)"
20 => "Shopware\Storefront\Framework\Twig\TemplateConfigAccessor::theme (line 49)"
21 => "Shopware\Storefront\Framework\Twig\Extension\ConfigExtension::theme (line 662)"
22 => "__TwigTemplate_6f6a3973fd3ff4951711f62955c004f066370dfd46b01bedcce58158173bdf83::block_layout_head_meta_tags_image_og (line 171)"
23 => "Twig\Template::displayBlock (line 520)"
24 => "__TwigTemplate_6f6a3973fd3ff4951711f62955c004f066370dfd46b01bedcce58158173bdf83::block_layout_head_meta_tags_opengraph (line 171)"
25 => "Twig\Template::displayBlock (line 277)"
26 => "__TwigTemplate_6f6a3973fd3ff4951711f62955c004f066370dfd46b01bedcce58158173bdf83::block_layout_head_meta_tags (line 171)"
27 => "Twig\Template::displayBlock (line 132)"
28 => "__TwigTemplate_6f6a3973fd3ff4951711f62955c004f066370dfd46b01bedcce58158173bdf83::block_layout_head_inner (line 171)"
29 => "Twig\Template::displayBlock (line 91)"
30 => "__TwigTemplate_6f6a3973fd3ff4951711f62955c004f066370dfd46b01bedcce58158173bdf83::doDisplay (line 394)"
31 => "Twig\Template::displayWithErrorHandling (line 367)"
32 => "Twig\Template::display (line 50)"
33 => "__TwigTemplate_6936c10859fdade785d8153f9f8638ffb31cb276d7e7c9adfeb3b5289ce060b1::doDisplay (line 394)"
34 => "Twig\Template::displayWithErrorHandling (line 367)"
35 => "Twig\Template::display (line 167)"
36 => "__TwigTemplate_6bb3bb04571d99f513e1db1641bb105dfdbf68c0f324b2eeca0fbfc6e6d39ef9::block_base_head (line 171)"
37 => "Twig\Template::displayBlock (line 92)"
38 => "__TwigTemplate_6bb3bb04571d99f513e1db1641bb105dfdbf68c0f324b2eeca0fbfc6e6d39ef9::doDisplay (line 394)"
39 => "Twig\Template::displayWithErrorHandling (line 367)"
40 => "Twig\Template::display (line 52)"
41 => "__TwigTemplate_8d34de09747041e758d673fc9695a5e54742bc99caca74465688fd6c3854c695::doDisplay (line 394)"
42 => "Twig\Template::displayWithErrorHandling (line 367)"
43 => "Twig\Template::display (line 50)"
44 => "__TwigTemplate_cb6121ece3676f0cad7394059af1b59b03080666c1a8d83a03f7aa644637d665::doDisplay (line 394)"
45 => "Twig\Template::displayWithErrorHandling (line 367)"
46 => "Twig\Template::display (line 53)"
47 => "__TwigTemplate_0ede1d540463707f247f8eb2ae47325403bafbd319b12e338a63e21e92ac613b::doDisplay (line 394)"
48 => "Twig\Template::displayWithErrorHandling (line 367)"
49 => "Twig\Template::display (line 54)"
50 => "__TwigTemplate_4de3ebc4284b999c5e2f5c31ba443df2e1d9bd5ce9b08ea069f4126c174fde60::doDisplay (line 394)"
51 => "Twig\Template::displayWithErrorHandling (line 367)"
52 => "Twig\Template::display (line 61)"
53 => "__TwigTemplate_86092ad060206e80856652f080bdc3c495cbca73bd1e47477ae19584da5bc7ee::doDisplay (line 394)"
54 => "Twig\Template::displayWithErrorHandling (line 367)"
55 => "Twig\Template::display (line 379)"
56 => "Twig\Template::render (line 40)"
57 => "Twig\TemplateWrapper::render (line 277)"
58 => "Twig\Environment::render (line 235)"
59 => "Shopware\Storefront\Controller\StorefrontController::renderView (line 266)"
60 => "Symfony\Bundle\FrameworkBundle\Controller\AbstractController::render (line 72)"
61 => "Shopware\Storefront\Controller\StorefrontController::Shopware\Storefront\Controller\{closure} (line 59)"
62 => "Shopware\Core\Profiling\Profiler::trace (line 73)"
63 => "Shopware\Storefront\Controller\StorefrontController::renderStorefront (line 123)"
64 => "Shopware\Storefront\Controller\AccountOrderController::orderOverview (line 163)"
65 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
66 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
67 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
68 => "Shopware\Core\HttpKernel::doHandle (line 81)"
69 => "Shopware\Core\HttpKernel::handle (line 85)"
]
|
193 |
0.81 ms |
SELECT `media`.`id` as `media.id`, `media`.`user_id` as `media.userId`, `media`.`media_folder_id` as `media.mediaFolderId`, `media`.`mime_type` as `media.mimeType`, `media`.`file_extension` as `media.fileExtension`, `media`.`uploaded_at` as `media.uploadedAt`, `media`.`file_name` as `media.fileName`, `media`.`file_size` as `media.fileSize`, `media`.`media_type` as `media.mediaTypeRaw`, `media`.`meta_data` as `media.metaData`, `media`.`private` as `media.private`, `media`.`thumbnails_ro` as `media.thumbnailsRo`, `media`.`created_at` as `media.createdAt`, `media`.`updated_at` as `media.updatedAt`, `media.translation.title`, COALESCE(`media.translation.title`,`media.translation.title`) as `media.title`, `media.translation.alt`, COALESCE(`media.translation.alt`,`media.translation.alt`) as `media.alt`, `media.translation.customFields`, COALESCE(`media.translation.customFields`,`media.translation.customFields`) as `media.customFields`, `media.translation.createdAt`, `media.translation.updatedAt`, `media.translation.mediaId`, `media.translation.languageId` FROM `media` LEFT JOIN `media_folder` `media.mediaFolder` ON `media`.`media_folder_id` = `media.mediaFolder`.`id` LEFT JOIN (SELECT `media.translation`.media_id, `media.translation`.title as `media.translation.title`, `media.translation`.alt as `media.translation.alt`, `media.translation`.custom_fields as `media.translation.customFields`, `media.translation`.created_at as `media.translation.createdAt`, `media.translation`.updated_at as `media.translation.updatedAt`, `media.translation`.media_id as `media.translation.mediaId`, `media.translation`.language_id as `media.translation.languageId` FROM `media_translation` `media.translation` WHERE `media.translation`.language_id = :languageId) `media.media_translation` ON `media.media_translation`.`media_id` = `media`.`id` LEFT JOIN `media_default_folder` `media.mediaFolder.defaultFolder` ON `media.mediaFolder`.`default_folder_id` = `media.mediaFolder.defaultFolder`.`id` WHERE (((`media`.`private` = :param_146bbe5129064e6998a206da231f7def OR (`media`.`private` = :param_d74ca0aa57dc46678bce25eed88d9b36 AND `media.mediaFolder.defaultFolder`.`entity` = :param_a781a21b120d4ee68b83413f7d168e94)))) AND (`media`.`id` IN (:ids))
SELECT `media`.`id` as `media.id`, `media`.`user_id` as `media.userId`, `media`.`media_folder_id` as `media.mediaFolderId`, `media`.`mime_type` as `media.mimeType`, `media`.`file_extension` as `media.fileExtension`, `media`.`uploaded_at` as `media.uploadedAt`, `media`.`file_name` as `media.fileName`, `media`.`file_size` as `media.fileSize`, `media`.`media_type` as `media.mediaTypeRaw`, `media`.`meta_data` as `media.metaData`, `media`.`private` as `media.private`, `media`.`thumbnails_ro` as `media.thumbnailsRo`, `media`.`created_at` as `media.createdAt`, `media`.`updated_at` as `media.updatedAt`, `media.translation.title`, COALESCE(`media.translation.title`,`media.translation.title`) as `media.title`, `media.translation.alt`, COALESCE(`media.translation.alt`,`media.translation.alt`) as `media.alt`, `media.translation.customFields`, COALESCE(`media.translation.customFields`,`media.translation.customFields`) as `media.customFields`, `media.translation.createdAt`, `media.translation.updatedAt`, `media.translation.mediaId`, `media.translation.languageId` FROM `media` LEFT JOIN `media_folder` `media.mediaFolder` ON `media`.`media_folder_id` = `media.mediaFolder`.`id` LEFT JOIN (SELECT `media.translation`.media_id, `media.translation`.title as `media.translation.title`, `media.translation`.alt as `media.translation.alt`, `media.translation`.custom_fields as `media.translation.customFields`, `media.translation`.created_at as `media.translation.createdAt`, `media.translation`.updated_at as `media.translation.updatedAt`, `media.translation`.media_id as `media.translation.mediaId`, `media.translation`.language_id as `media.translation.languageId` FROM `media_translation` `media.translation` WHERE `media.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `media.media_translation` ON `media.media_translation`.`media_id` = `media`.`id` LEFT JOIN `media_default_folder` `media.mediaFolder.defaultFolder` ON `media.mediaFolder`.`default_folder_id` = `media.mediaFolder.defaultFolder`.`id` WHERE (((`media`.`private` = 0 OR (`media`.`private` = 1 AND `media.mediaFolder.defaultFolder`.`entity` = 'product_download')))) AND (`media`.`id` IN (0x013F8CD2751648779D0256074389583F));
array:70 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 242)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 316)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetch (line 148)"
4 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 93)"
5 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::read (line 257)"
6 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::read (line 286)"
7 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::_search (line 110)"
8 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::Shopware\Core\Framework\DataAbstractionLayer\{closure} (line 59)"
9 => "Shopware\Core\Profiling\Profiler::trace (line 111)"
10 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::search (line 59)"
11 => "Shopware\Core\Content\Media\DataAbstractionLayer\MediaRepositoryDecorator::search (line 51)"
12 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepositoryForwardCompatibilityDecorator::search (line 63)"
13 => "Shopware\Storefront\Theme\ResolvedConfigLoader::load (line 39)"
14 => "Shopware\Storefront\Theme\CachedResolvedConfigLoader::Shopware\Storefront\Theme\{closure} (line 72)"
15 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
16 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 44)"
17 => "Shopware\Storefront\Theme\CachedResolvedConfigLoader::load (line 117)"
18 => "Shopware\Storefront\Theme\ThemeConfigValueAccessor::getThemeConfig (line 42)"
19 => "Shopware\Storefront\Theme\ThemeConfigValueAccessor::get (line 51)"
20 => "Shopware\Storefront\Framework\Twig\TemplateConfigAccessor::theme (line 49)"
21 => "Shopware\Storefront\Framework\Twig\Extension\ConfigExtension::theme (line 662)"
22 => "__TwigTemplate_6f6a3973fd3ff4951711f62955c004f066370dfd46b01bedcce58158173bdf83::block_layout_head_meta_tags_image_og (line 171)"
23 => "Twig\Template::displayBlock (line 520)"
24 => "__TwigTemplate_6f6a3973fd3ff4951711f62955c004f066370dfd46b01bedcce58158173bdf83::block_layout_head_meta_tags_opengraph (line 171)"
25 => "Twig\Template::displayBlock (line 277)"
26 => "__TwigTemplate_6f6a3973fd3ff4951711f62955c004f066370dfd46b01bedcce58158173bdf83::block_layout_head_meta_tags (line 171)"
27 => "Twig\Template::displayBlock (line 132)"
28 => "__TwigTemplate_6f6a3973fd3ff4951711f62955c004f066370dfd46b01bedcce58158173bdf83::block_layout_head_inner (line 171)"
29 => "Twig\Template::displayBlock (line 91)"
30 => "__TwigTemplate_6f6a3973fd3ff4951711f62955c004f066370dfd46b01bedcce58158173bdf83::doDisplay (line 394)"
31 => "Twig\Template::displayWithErrorHandling (line 367)"
32 => "Twig\Template::display (line 50)"
33 => "__TwigTemplate_6936c10859fdade785d8153f9f8638ffb31cb276d7e7c9adfeb3b5289ce060b1::doDisplay (line 394)"
34 => "Twig\Template::displayWithErrorHandling (line 367)"
35 => "Twig\Template::display (line 167)"
36 => "__TwigTemplate_6bb3bb04571d99f513e1db1641bb105dfdbf68c0f324b2eeca0fbfc6e6d39ef9::block_base_head (line 171)"
37 => "Twig\Template::displayBlock (line 92)"
38 => "__TwigTemplate_6bb3bb04571d99f513e1db1641bb105dfdbf68c0f324b2eeca0fbfc6e6d39ef9::doDisplay (line 394)"
39 => "Twig\Template::displayWithErrorHandling (line 367)"
40 => "Twig\Template::display (line 52)"
41 => "__TwigTemplate_8d34de09747041e758d673fc9695a5e54742bc99caca74465688fd6c3854c695::doDisplay (line 394)"
42 => "Twig\Template::displayWithErrorHandling (line 367)"
43 => "Twig\Template::display (line 50)"
44 => "__TwigTemplate_cb6121ece3676f0cad7394059af1b59b03080666c1a8d83a03f7aa644637d665::doDisplay (line 394)"
45 => "Twig\Template::displayWithErrorHandling (line 367)"
46 => "Twig\Template::display (line 53)"
47 => "__TwigTemplate_0ede1d540463707f247f8eb2ae47325403bafbd319b12e338a63e21e92ac613b::doDisplay (line 394)"
48 => "Twig\Template::displayWithErrorHandling (line 367)"
49 => "Twig\Template::display (line 54)"
50 => "__TwigTemplate_4de3ebc4284b999c5e2f5c31ba443df2e1d9bd5ce9b08ea069f4126c174fde60::doDisplay (line 394)"
51 => "Twig\Template::displayWithErrorHandling (line 367)"
52 => "Twig\Template::display (line 61)"
53 => "__TwigTemplate_86092ad060206e80856652f080bdc3c495cbca73bd1e47477ae19584da5bc7ee::doDisplay (line 394)"
54 => "Twig\Template::displayWithErrorHandling (line 367)"
55 => "Twig\Template::display (line 379)"
56 => "Twig\Template::render (line 40)"
57 => "Twig\TemplateWrapper::render (line 277)"
58 => "Twig\Environment::render (line 235)"
59 => "Shopware\Storefront\Controller\StorefrontController::renderView (line 266)"
60 => "Symfony\Bundle\FrameworkBundle\Controller\AbstractController::render (line 72)"
61 => "Shopware\Storefront\Controller\StorefrontController::Shopware\Storefront\Controller\{closure} (line 59)"
62 => "Shopware\Core\Profiling\Profiler::trace (line 73)"
63 => "Shopware\Storefront\Controller\StorefrontController::renderStorefront (line 123)"
64 => "Shopware\Storefront\Controller\AccountOrderController::orderOverview (line 163)"
65 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
66 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
67 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
68 => "Shopware\Core\HttpKernel::doHandle (line 81)"
69 => "Shopware\Core\HttpKernel::handle (line 85)"
]
|
194 |
0.62 ms |
SELECT LOWER(HEX(language.id)) AS array_key, LOWER(HEX(language.id)) AS id, locale.code, LOWER(HEX(language.parent_id)) parentId FROM language LEFT JOIN locale locale ON language.translation_code_id = locale.id
SELECT LOWER(HEX(language.id)) AS array_key, LOWER(HEX(language.id)) AS id, locale.code, LOWER(HEX(language.parent_id)) parentId FROM language LEFT JOIN locale locale ON language.translation_code_id = locale.id;
array:53 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 271)"
2 => "Doctrine\DBAL\Query\QueryBuilder::execute (line 34)"
3 => "Shopware\Core\System\Language\LanguageLoader::loadLanguages (line 49)"
4 => "Shopware\Core\System\Language\CachedLanguageLoader::Shopware\Core\System\Language\{closure} (line 72)"
5 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
6 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 50)"
7 => "Shopware\Core\System\Language\CachedLanguageLoader::loadLanguages (line 57)"
8 => "Shopware\Core\System\Locale\LanguageLocaleCodeProvider::getLanguages (line 27)"
9 => "Shopware\Core\System\Locale\LanguageLocaleCodeProvider::getLocaleForLanguageId (line 348)"
10 => "Shopware\Core\Framework\Adapter\Translation\Translator::getFallbackLocale (line 146)"
11 => "Shopware\Core\Framework\Adapter\Translation\Translator::getCatalogue (line 178)"
12 => "Shopware\Core\Framework\Adapter\Translation\Translator::trans (line 48)"
13 => "Symfony\Component\Translation\DataCollectorTranslator::trans (line 138)"
14 => "Symfony\Bridge\Twig\Extension\TranslationExtension::trans (line 313)"
15 => "__TwigTemplate_6bb3bb04571d99f513e1db1641bb105dfdbf68c0f324b2eeca0fbfc6e6d39ef9::block_base_noscript (line 171)"
16 => "Twig\Template::displayBlock (line 263)"
17 => "__TwigTemplate_6bb3bb04571d99f513e1db1641bb105dfdbf68c0f324b2eeca0fbfc6e6d39ef9::block_base_body_inner (line 171)"
18 => "Twig\Template::displayBlock (line 193)"
19 => "__TwigTemplate_6bb3bb04571d99f513e1db1641bb105dfdbf68c0f324b2eeca0fbfc6e6d39ef9::block_base_body (line 171)"
20 => "Twig\Template::displayBlock (line 97)"
21 => "__TwigTemplate_6bb3bb04571d99f513e1db1641bb105dfdbf68c0f324b2eeca0fbfc6e6d39ef9::doDisplay (line 394)"
22 => "Twig\Template::displayWithErrorHandling (line 367)"
23 => "Twig\Template::display (line 52)"
24 => "__TwigTemplate_8d34de09747041e758d673fc9695a5e54742bc99caca74465688fd6c3854c695::doDisplay (line 394)"
25 => "Twig\Template::displayWithErrorHandling (line 367)"
26 => "Twig\Template::display (line 50)"
27 => "__TwigTemplate_cb6121ece3676f0cad7394059af1b59b03080666c1a8d83a03f7aa644637d665::doDisplay (line 394)"
28 => "Twig\Template::displayWithErrorHandling (line 367)"
29 => "Twig\Template::display (line 53)"
30 => "__TwigTemplate_0ede1d540463707f247f8eb2ae47325403bafbd319b12e338a63e21e92ac613b::doDisplay (line 394)"
31 => "Twig\Template::displayWithErrorHandling (line 367)"
32 => "Twig\Template::display (line 54)"
33 => "__TwigTemplate_4de3ebc4284b999c5e2f5c31ba443df2e1d9bd5ce9b08ea069f4126c174fde60::doDisplay (line 394)"
34 => "Twig\Template::displayWithErrorHandling (line 367)"
35 => "Twig\Template::display (line 61)"
36 => "__TwigTemplate_86092ad060206e80856652f080bdc3c495cbca73bd1e47477ae19584da5bc7ee::doDisplay (line 394)"
37 => "Twig\Template::displayWithErrorHandling (line 367)"
38 => "Twig\Template::display (line 379)"
39 => "Twig\Template::render (line 40)"
40 => "Twig\TemplateWrapper::render (line 277)"
41 => "Twig\Environment::render (line 235)"
42 => "Shopware\Storefront\Controller\StorefrontController::renderView (line 266)"
43 => "Symfony\Bundle\FrameworkBundle\Controller\AbstractController::render (line 72)"
44 => "Shopware\Storefront\Controller\StorefrontController::Shopware\Storefront\Controller\{closure} (line 59)"
45 => "Shopware\Core\Profiling\Profiler::trace (line 73)"
46 => "Shopware\Storefront\Controller\StorefrontController::renderStorefront (line 123)"
47 => "Shopware\Storefront\Controller\AccountOrderController::orderOverview (line 163)"
48 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
49 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
50 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
51 => "Shopware\Core\HttpKernel::doHandle (line 81)"
52 => "Shopware\Core\HttpKernel::handle (line 85)"
]
|
195 |
0.37 ms |
SELECT iso FROM snippet_set WHERE id = :snippetSetId
SELECT iso FROM snippet_set WHERE id = 0x0FC82AB70C104DF697FF66EB41E90218;
array:52 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 734)"
2 => "Doctrine\DBAL\Connection::fetchOne (line 417)"
3 => "Shopware\Core\System\Snippet\SnippetService::getLocaleBySnippetSetId (line 132)"
4 => "Shopware\Core\System\Snippet\SnippetService::getStorefrontSnippets (line 341)"
5 => "Shopware\Core\Framework\Adapter\Translation\Translator::Shopware\Core\Framework\Adapter\Translation\{closure} (line 72)"
6 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
7 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 342)"
8 => "Shopware\Core\Framework\Adapter\Translation\Translator::loadSnippets (line 320)"
9 => "Shopware\Core\Framework\Adapter\Translation\Translator::getCustomizedCatalog (line 162)"
10 => "Shopware\Core\Framework\Adapter\Translation\Translator::getCatalogue (line 178)"
11 => "Shopware\Core\Framework\Adapter\Translation\Translator::trans (line 48)"
12 => "Symfony\Component\Translation\DataCollectorTranslator::trans (line 138)"
13 => "Symfony\Bridge\Twig\Extension\TranslationExtension::trans (line 313)"
14 => "__TwigTemplate_6bb3bb04571d99f513e1db1641bb105dfdbf68c0f324b2eeca0fbfc6e6d39ef9::block_base_noscript (line 171)"
15 => "Twig\Template::displayBlock (line 263)"
16 => "__TwigTemplate_6bb3bb04571d99f513e1db1641bb105dfdbf68c0f324b2eeca0fbfc6e6d39ef9::block_base_body_inner (line 171)"
17 => "Twig\Template::displayBlock (line 193)"
18 => "__TwigTemplate_6bb3bb04571d99f513e1db1641bb105dfdbf68c0f324b2eeca0fbfc6e6d39ef9::block_base_body (line 171)"
19 => "Twig\Template::displayBlock (line 97)"
20 => "__TwigTemplate_6bb3bb04571d99f513e1db1641bb105dfdbf68c0f324b2eeca0fbfc6e6d39ef9::doDisplay (line 394)"
21 => "Twig\Template::displayWithErrorHandling (line 367)"
22 => "Twig\Template::display (line 52)"
23 => "__TwigTemplate_8d34de09747041e758d673fc9695a5e54742bc99caca74465688fd6c3854c695::doDisplay (line 394)"
24 => "Twig\Template::displayWithErrorHandling (line 367)"
25 => "Twig\Template::display (line 50)"
26 => "__TwigTemplate_cb6121ece3676f0cad7394059af1b59b03080666c1a8d83a03f7aa644637d665::doDisplay (line 394)"
27 => "Twig\Template::displayWithErrorHandling (line 367)"
28 => "Twig\Template::display (line 53)"
29 => "__TwigTemplate_0ede1d540463707f247f8eb2ae47325403bafbd319b12e338a63e21e92ac613b::doDisplay (line 394)"
30 => "Twig\Template::displayWithErrorHandling (line 367)"
31 => "Twig\Template::display (line 54)"
32 => "__TwigTemplate_4de3ebc4284b999c5e2f5c31ba443df2e1d9bd5ce9b08ea069f4126c174fde60::doDisplay (line 394)"
33 => "Twig\Template::displayWithErrorHandling (line 367)"
34 => "Twig\Template::display (line 61)"
35 => "__TwigTemplate_86092ad060206e80856652f080bdc3c495cbca73bd1e47477ae19584da5bc7ee::doDisplay (line 394)"
36 => "Twig\Template::displayWithErrorHandling (line 367)"
37 => "Twig\Template::display (line 379)"
38 => "Twig\Template::render (line 40)"
39 => "Twig\TemplateWrapper::render (line 277)"
40 => "Twig\Environment::render (line 235)"
41 => "Shopware\Storefront\Controller\StorefrontController::renderView (line 266)"
42 => "Symfony\Bundle\FrameworkBundle\Controller\AbstractController::render (line 72)"
43 => "Shopware\Storefront\Controller\StorefrontController::Shopware\Storefront\Controller\{closure} (line 59)"
44 => "Shopware\Core\Profiling\Profiler::trace (line 73)"
45 => "Shopware\Storefront\Controller\StorefrontController::renderStorefront (line 123)"
46 => "Shopware\Storefront\Controller\AccountOrderController::orderOverview (line 163)"
47 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
48 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
49 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
50 => "Shopware\Core\HttpKernel::doHandle (line 81)"
51 => "Shopware\Core\HttpKernel::handle (line 85)"
]
|
196 |
0.21 ms |
SELECT `base_class` AS `baseClass`, `author`
FROM `plugin`
SELECT `base_class` AS `baseClass`, `author`
FROM `plugin`
;
array:61 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 1065)"
2 => "Doctrine\DBAL\Connection::fetchAllKeyValue (line 156)"
3 => "Shopware\Core\System\Snippet\Files\SnippetFileLoader::getPluginAuthors (line 146)"
4 => "Shopware\Core\System\Snippet\Files\SnippetFileLoader::getAuthorFromBundle (line 113)"
5 => "Shopware\Core\System\Snippet\Files\SnippetFileLoader::loadSnippetFilesInDir (line 70)"
6 => "Shopware\Core\System\Snippet\Files\SnippetFileLoader::loadPluginSnippets (line 52)"
7 => "Shopware\Core\System\Snippet\Files\SnippetFileLoader::loadSnippetFilesIntoCollection (line 23)"
8 => "Shopware\Core\System\Snippet\Files\SnippetFileCollectionFactory::createSnippetFileCollection (line 10697)"
9 => "Container4nw394j\Shopware_Core_KernelDevDebugContainer::getSnippetFileCollectionService (line 10683)"
10 => "Container4nw394j\Shopware_Core_KernelDevDebugContainer::Container4nw394j\{closure} (line 1188)"
11 => "Closure::__invoke (line 1188)"
12 => "Container4nw394j\SnippetFileCollection_08f09cc::__clone (line 136)"
13 => "Shopware\Core\System\Snippet\SnippetService::getStorefrontSnippets (line 341)"
14 => "Shopware\Core\Framework\Adapter\Translation\Translator::Shopware\Core\Framework\Adapter\Translation\{closure} (line 72)"
15 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
16 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 342)"
17 => "Shopware\Core\Framework\Adapter\Translation\Translator::loadSnippets (line 320)"
18 => "Shopware\Core\Framework\Adapter\Translation\Translator::getCustomizedCatalog (line 162)"
19 => "Shopware\Core\Framework\Adapter\Translation\Translator::getCatalogue (line 178)"
20 => "Shopware\Core\Framework\Adapter\Translation\Translator::trans (line 48)"
21 => "Symfony\Component\Translation\DataCollectorTranslator::trans (line 138)"
22 => "Symfony\Bridge\Twig\Extension\TranslationExtension::trans (line 313)"
23 => "__TwigTemplate_6bb3bb04571d99f513e1db1641bb105dfdbf68c0f324b2eeca0fbfc6e6d39ef9::block_base_noscript (line 171)"
24 => "Twig\Template::displayBlock (line 263)"
25 => "__TwigTemplate_6bb3bb04571d99f513e1db1641bb105dfdbf68c0f324b2eeca0fbfc6e6d39ef9::block_base_body_inner (line 171)"
26 => "Twig\Template::displayBlock (line 193)"
27 => "__TwigTemplate_6bb3bb04571d99f513e1db1641bb105dfdbf68c0f324b2eeca0fbfc6e6d39ef9::block_base_body (line 171)"
28 => "Twig\Template::displayBlock (line 97)"
29 => "__TwigTemplate_6bb3bb04571d99f513e1db1641bb105dfdbf68c0f324b2eeca0fbfc6e6d39ef9::doDisplay (line 394)"
30 => "Twig\Template::displayWithErrorHandling (line 367)"
31 => "Twig\Template::display (line 52)"
32 => "__TwigTemplate_8d34de09747041e758d673fc9695a5e54742bc99caca74465688fd6c3854c695::doDisplay (line 394)"
33 => "Twig\Template::displayWithErrorHandling (line 367)"
34 => "Twig\Template::display (line 50)"
35 => "__TwigTemplate_cb6121ece3676f0cad7394059af1b59b03080666c1a8d83a03f7aa644637d665::doDisplay (line 394)"
36 => "Twig\Template::displayWithErrorHandling (line 367)"
37 => "Twig\Template::display (line 53)"
38 => "__TwigTemplate_0ede1d540463707f247f8eb2ae47325403bafbd319b12e338a63e21e92ac613b::doDisplay (line 394)"
39 => "Twig\Template::displayWithErrorHandling (line 367)"
40 => "Twig\Template::display (line 54)"
41 => "__TwigTemplate_4de3ebc4284b999c5e2f5c31ba443df2e1d9bd5ce9b08ea069f4126c174fde60::doDisplay (line 394)"
42 => "Twig\Template::displayWithErrorHandling (line 367)"
43 => "Twig\Template::display (line 61)"
44 => "__TwigTemplate_86092ad060206e80856652f080bdc3c495cbca73bd1e47477ae19584da5bc7ee::doDisplay (line 394)"
45 => "Twig\Template::displayWithErrorHandling (line 367)"
46 => "Twig\Template::display (line 379)"
47 => "Twig\Template::render (line 40)"
48 => "Twig\TemplateWrapper::render (line 277)"
49 => "Twig\Environment::render (line 235)"
50 => "Shopware\Storefront\Controller\StorefrontController::renderView (line 266)"
51 => "Symfony\Bundle\FrameworkBundle\Controller\AbstractController::render (line 72)"
52 => "Shopware\Storefront\Controller\StorefrontController::Shopware\Storefront\Controller\{closure} (line 59)"
53 => "Shopware\Core\Profiling\Profiler::trace (line 73)"
54 => "Shopware\Storefront\Controller\StorefrontController::renderStorefront (line 123)"
55 => "Shopware\Storefront\Controller\AccountOrderController::orderOverview (line 163)"
56 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
57 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
58 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
59 => "Shopware\Core\HttpKernel::doHandle (line 81)"
60 => "Shopware\Core\HttpKernel::handle (line 85)"
]
|
197 |
0.55 ms |
SELECT LOWER(HEX(theme.id)) themeId, theme.technical_name as themeName, parentTheme.technical_name as parentThemeName
FROM sales_channel
LEFT JOIN theme_sales_channel ON sales_channel.id = theme_sales_channel.sales_channel_id
LEFT JOIN theme ON theme_sales_channel.theme_id = theme.id
LEFT JOIN theme AS parentTheme ON parentTheme.id = theme.parent_theme_id
WHERE sales_channel.id = :salesChannelId
SELECT LOWER(HEX(theme.id)) themeId, theme.technical_name as themeName, parentTheme.technical_name as parentThemeName
FROM sales_channel
LEFT JOIN theme_sales_channel ON sales_channel.id = theme_sales_channel.sales_channel_id
LEFT JOIN theme ON theme_sales_channel.theme_id = theme.id
LEFT JOIN theme AS parentTheme ON parentTheme.id = theme.parent_theme_id
WHERE sales_channel.id = 0x4EB9108BE4654CC9B140D14DE85579E9
;
array:53 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 684)"
2 => "Doctrine\DBAL\Connection::fetchAssociative (line 45)"
3 => "Shopware\Storefront\Theme\SalesChannelThemeLoader::load (line 337)"
4 => "Shopware\Core\System\Snippet\SnippetService::getUsedThemes (line 138)"
5 => "Shopware\Core\System\Snippet\SnippetService::getStorefrontSnippets (line 341)"
6 => "Shopware\Core\Framework\Adapter\Translation\Translator::Shopware\Core\Framework\Adapter\Translation\{closure} (line 72)"
7 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
8 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 342)"
9 => "Shopware\Core\Framework\Adapter\Translation\Translator::loadSnippets (line 320)"
10 => "Shopware\Core\Framework\Adapter\Translation\Translator::getCustomizedCatalog (line 162)"
11 => "Shopware\Core\Framework\Adapter\Translation\Translator::getCatalogue (line 178)"
12 => "Shopware\Core\Framework\Adapter\Translation\Translator::trans (line 48)"
13 => "Symfony\Component\Translation\DataCollectorTranslator::trans (line 138)"
14 => "Symfony\Bridge\Twig\Extension\TranslationExtension::trans (line 313)"
15 => "__TwigTemplate_6bb3bb04571d99f513e1db1641bb105dfdbf68c0f324b2eeca0fbfc6e6d39ef9::block_base_noscript (line 171)"
16 => "Twig\Template::displayBlock (line 263)"
17 => "__TwigTemplate_6bb3bb04571d99f513e1db1641bb105dfdbf68c0f324b2eeca0fbfc6e6d39ef9::block_base_body_inner (line 171)"
18 => "Twig\Template::displayBlock (line 193)"
19 => "__TwigTemplate_6bb3bb04571d99f513e1db1641bb105dfdbf68c0f324b2eeca0fbfc6e6d39ef9::block_base_body (line 171)"
20 => "Twig\Template::displayBlock (line 97)"
21 => "__TwigTemplate_6bb3bb04571d99f513e1db1641bb105dfdbf68c0f324b2eeca0fbfc6e6d39ef9::doDisplay (line 394)"
22 => "Twig\Template::displayWithErrorHandling (line 367)"
23 => "Twig\Template::display (line 52)"
24 => "__TwigTemplate_8d34de09747041e758d673fc9695a5e54742bc99caca74465688fd6c3854c695::doDisplay (line 394)"
25 => "Twig\Template::displayWithErrorHandling (line 367)"
26 => "Twig\Template::display (line 50)"
27 => "__TwigTemplate_cb6121ece3676f0cad7394059af1b59b03080666c1a8d83a03f7aa644637d665::doDisplay (line 394)"
28 => "Twig\Template::displayWithErrorHandling (line 367)"
29 => "Twig\Template::display (line 53)"
30 => "__TwigTemplate_0ede1d540463707f247f8eb2ae47325403bafbd319b12e338a63e21e92ac613b::doDisplay (line 394)"
31 => "Twig\Template::displayWithErrorHandling (line 367)"
32 => "Twig\Template::display (line 54)"
33 => "__TwigTemplate_4de3ebc4284b999c5e2f5c31ba443df2e1d9bd5ce9b08ea069f4126c174fde60::doDisplay (line 394)"
34 => "Twig\Template::displayWithErrorHandling (line 367)"
35 => "Twig\Template::display (line 61)"
36 => "__TwigTemplate_86092ad060206e80856652f080bdc3c495cbca73bd1e47477ae19584da5bc7ee::doDisplay (line 394)"
37 => "Twig\Template::displayWithErrorHandling (line 367)"
38 => "Twig\Template::display (line 379)"
39 => "Twig\Template::render (line 40)"
40 => "Twig\TemplateWrapper::render (line 277)"
41 => "Twig\Environment::render (line 235)"
42 => "Shopware\Storefront\Controller\StorefrontController::renderView (line 266)"
43 => "Symfony\Bundle\FrameworkBundle\Controller\AbstractController::render (line 72)"
44 => "Shopware\Storefront\Controller\StorefrontController::Shopware\Storefront\Controller\{closure} (line 59)"
45 => "Shopware\Core\Profiling\Profiler::trace (line 73)"
46 => "Shopware\Storefront\Controller\StorefrontController::renderStorefront (line 123)"
47 => "Shopware\Storefront\Controller\AccountOrderController::orderOverview (line 163)"
48 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
49 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
50 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
51 => "Shopware\Core\HttpKernel::doHandle (line 81)"
52 => "Shopware\Core\HttpKernel::handle (line 85)"
]
|
198 |
0.43 ms |
SELECT translation_key, value FROM snippet WHERE snippet_set_id = :snippetSetId
SELECT translation_key, value FROM snippet WHERE snippet_set_id = 0x0FC82AB70C104DF697FF66EB41E90218;
array:52 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 1065)"
2 => "Doctrine\DBAL\Connection::fetchAllKeyValue (line 295)"
3 => "Shopware\Core\System\Snippet\SnippetService::fetchSnippetsFromDatabase (line 166)"
4 => "Shopware\Core\System\Snippet\SnippetService::getStorefrontSnippets (line 341)"
5 => "Shopware\Core\Framework\Adapter\Translation\Translator::Shopware\Core\Framework\Adapter\Translation\{closure} (line 72)"
6 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
7 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 342)"
8 => "Shopware\Core\Framework\Adapter\Translation\Translator::loadSnippets (line 320)"
9 => "Shopware\Core\Framework\Adapter\Translation\Translator::getCustomizedCatalog (line 162)"
10 => "Shopware\Core\Framework\Adapter\Translation\Translator::getCatalogue (line 178)"
11 => "Shopware\Core\Framework\Adapter\Translation\Translator::trans (line 48)"
12 => "Symfony\Component\Translation\DataCollectorTranslator::trans (line 138)"
13 => "Symfony\Bridge\Twig\Extension\TranslationExtension::trans (line 313)"
14 => "__TwigTemplate_6bb3bb04571d99f513e1db1641bb105dfdbf68c0f324b2eeca0fbfc6e6d39ef9::block_base_noscript (line 171)"
15 => "Twig\Template::displayBlock (line 263)"
16 => "__TwigTemplate_6bb3bb04571d99f513e1db1641bb105dfdbf68c0f324b2eeca0fbfc6e6d39ef9::block_base_body_inner (line 171)"
17 => "Twig\Template::displayBlock (line 193)"
18 => "__TwigTemplate_6bb3bb04571d99f513e1db1641bb105dfdbf68c0f324b2eeca0fbfc6e6d39ef9::block_base_body (line 171)"
19 => "Twig\Template::displayBlock (line 97)"
20 => "__TwigTemplate_6bb3bb04571d99f513e1db1641bb105dfdbf68c0f324b2eeca0fbfc6e6d39ef9::doDisplay (line 394)"
21 => "Twig\Template::displayWithErrorHandling (line 367)"
22 => "Twig\Template::display (line 52)"
23 => "__TwigTemplate_8d34de09747041e758d673fc9695a5e54742bc99caca74465688fd6c3854c695::doDisplay (line 394)"
24 => "Twig\Template::displayWithErrorHandling (line 367)"
25 => "Twig\Template::display (line 50)"
26 => "__TwigTemplate_cb6121ece3676f0cad7394059af1b59b03080666c1a8d83a03f7aa644637d665::doDisplay (line 394)"
27 => "Twig\Template::displayWithErrorHandling (line 367)"
28 => "Twig\Template::display (line 53)"
29 => "__TwigTemplate_0ede1d540463707f247f8eb2ae47325403bafbd319b12e338a63e21e92ac613b::doDisplay (line 394)"
30 => "Twig\Template::displayWithErrorHandling (line 367)"
31 => "Twig\Template::display (line 54)"
32 => "__TwigTemplate_4de3ebc4284b999c5e2f5c31ba443df2e1d9bd5ce9b08ea069f4126c174fde60::doDisplay (line 394)"
33 => "Twig\Template::displayWithErrorHandling (line 367)"
34 => "Twig\Template::display (line 61)"
35 => "__TwigTemplate_86092ad060206e80856652f080bdc3c495cbca73bd1e47477ae19584da5bc7ee::doDisplay (line 394)"
36 => "Twig\Template::displayWithErrorHandling (line 367)"
37 => "Twig\Template::display (line 379)"
38 => "Twig\Template::render (line 40)"
39 => "Twig\TemplateWrapper::render (line 277)"
40 => "Twig\Environment::render (line 235)"
41 => "Shopware\Storefront\Controller\StorefrontController::renderView (line 266)"
42 => "Symfony\Bundle\FrameworkBundle\Controller\AbstractController::render (line 72)"
43 => "Shopware\Storefront\Controller\StorefrontController::Shopware\Storefront\Controller\{closure} (line 59)"
44 => "Shopware\Core\Profiling\Profiler::trace (line 73)"
45 => "Shopware\Storefront\Controller\StorefrontController::renderStorefront (line 123)"
46 => "Shopware\Storefront\Controller\AccountOrderController::orderOverview (line 163)"
47 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
48 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
49 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
50 => "Shopware\Core\HttpKernel::doHandle (line 81)"
51 => "Shopware\Core\HttpKernel::handle (line 85)"
]
|
199 |
0.61 ms |
SELECT `media`.`id` as `media.id`, `media`.`user_id` as `media.userId`, `media`.`media_folder_id` as `media.mediaFolderId`, `media`.`mime_type` as `media.mimeType`, `media`.`file_extension` as `media.fileExtension`, `media`.`uploaded_at` as `media.uploadedAt`, `media`.`file_name` as `media.fileName`, `media`.`file_size` as `media.fileSize`, `media`.`media_type` as `media.mediaTypeRaw`, `media`.`meta_data` as `media.metaData`, `media`.`private` as `media.private`, `media`.`thumbnails_ro` as `media.thumbnailsRo`, `media`.`created_at` as `media.createdAt`, `media`.`updated_at` as `media.updatedAt`, `media.translation.title`, COALESCE(`media.translation.title`,`media.translation.title`) as `media.title`, `media.translation.alt`, COALESCE(`media.translation.alt`,`media.translation.alt`) as `media.alt`, `media.translation.customFields`, COALESCE(`media.translation.customFields`,`media.translation.customFields`) as `media.customFields`, `media.translation.createdAt`, `media.translation.updatedAt`, `media.translation.mediaId`, `media.translation.languageId` FROM `media` LEFT JOIN `media_folder` `media.mediaFolder` ON `media`.`media_folder_id` = `media.mediaFolder`.`id` LEFT JOIN (SELECT `media.translation`.media_id, `media.translation`.title as `media.translation.title`, `media.translation`.alt as `media.translation.alt`, `media.translation`.custom_fields as `media.translation.customFields`, `media.translation`.created_at as `media.translation.createdAt`, `media.translation`.updated_at as `media.translation.updatedAt`, `media.translation`.media_id as `media.translation.mediaId`, `media.translation`.language_id as `media.translation.languageId` FROM `media_translation` `media.translation` WHERE `media.translation`.language_id = :languageId) `media.media_translation` ON `media.media_translation`.`media_id` = `media`.`id` LEFT JOIN `media_default_folder` `media.mediaFolder.defaultFolder` ON `media.mediaFolder`.`default_folder_id` = `media.mediaFolder.defaultFolder`.`id` WHERE (((`media`.`private` = :param_8c79c033fb7f4192875cf12e3e2ac607 OR (`media`.`private` = :param_2c50217e00d7461dadd53a3b7b32f21a AND `media.mediaFolder.defaultFolder`.`entity` = :param_f1afe6d478514895a3abd62f4a264c4b)))) AND (`media`.`id` IN (:ids))
SELECT `media`.`id` as `media.id`, `media`.`user_id` as `media.userId`, `media`.`media_folder_id` as `media.mediaFolderId`, `media`.`mime_type` as `media.mimeType`, `media`.`file_extension` as `media.fileExtension`, `media`.`uploaded_at` as `media.uploadedAt`, `media`.`file_name` as `media.fileName`, `media`.`file_size` as `media.fileSize`, `media`.`media_type` as `media.mediaTypeRaw`, `media`.`meta_data` as `media.metaData`, `media`.`private` as `media.private`, `media`.`thumbnails_ro` as `media.thumbnailsRo`, `media`.`created_at` as `media.createdAt`, `media`.`updated_at` as `media.updatedAt`, `media.translation.title`, COALESCE(`media.translation.title`,`media.translation.title`) as `media.title`, `media.translation.alt`, COALESCE(`media.translation.alt`,`media.translation.alt`) as `media.alt`, `media.translation.customFields`, COALESCE(`media.translation.customFields`,`media.translation.customFields`) as `media.customFields`, `media.translation.createdAt`, `media.translation.updatedAt`, `media.translation.mediaId`, `media.translation.languageId` FROM `media` LEFT JOIN `media_folder` `media.mediaFolder` ON `media`.`media_folder_id` = `media.mediaFolder`.`id` LEFT JOIN (SELECT `media.translation`.media_id, `media.translation`.title as `media.translation.title`, `media.translation`.alt as `media.translation.alt`, `media.translation`.custom_fields as `media.translation.customFields`, `media.translation`.created_at as `media.translation.createdAt`, `media.translation`.updated_at as `media.translation.updatedAt`, `media.translation`.media_id as `media.translation.mediaId`, `media.translation`.language_id as `media.translation.languageId` FROM `media_translation` `media.translation` WHERE `media.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `media.media_translation` ON `media.media_translation`.`media_id` = `media`.`id` LEFT JOIN `media_default_folder` `media.mediaFolder.defaultFolder` ON `media.mediaFolder`.`default_folder_id` = `media.mediaFolder.defaultFolder`.`id` WHERE (((`media`.`private` = 0 OR (`media`.`private` = 1 AND `media.mediaFolder.defaultFolder`.`entity` = 'product_download')))) AND (`media`.`id` IN (0x9A64BB2513BB4FA1AE9148EF7F5183EE));
array:53 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 242)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 316)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetch (line 148)"
4 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 93)"
5 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::read (line 257)"
6 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::read (line 286)"
7 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::_search (line 106)"
8 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::search (line 59)"
9 => "Shopware\Core\Content\Media\DataAbstractionLayer\MediaRepositoryDecorator::search (line 51)"
10 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepositoryForwardCompatibilityDecorator::search (line 46)"
11 => "Shopware\Core\Framework\Adapter\Twig\Extension\MediaExtension::searchMedia (line 61)"
12 => "__TwigTemplate_ec37182dbca4be3b72df22ca790c20747b7d3c5bc14f7b4a42502321d0377284::doDisplay (line 394)"
13 => "Twig\Template::displayWithErrorHandling (line 367)"
14 => "Twig\Template::display (line 126)"
15 => "__TwigTemplate_8d34de09747041e758d673fc9695a5e54742bc99caca74465688fd6c3854c695::block_base_main (line 171)"
16 => "Twig\Template::displayBlock (line 283)"
17 => "__TwigTemplate_6bb3bb04571d99f513e1db1641bb105dfdbf68c0f324b2eeca0fbfc6e6d39ef9::block_base_body_inner (line 171)"
18 => "Twig\Template::displayBlock (line 193)"
19 => "__TwigTemplate_6bb3bb04571d99f513e1db1641bb105dfdbf68c0f324b2eeca0fbfc6e6d39ef9::block_base_body (line 171)"
20 => "Twig\Template::displayBlock (line 97)"
21 => "__TwigTemplate_6bb3bb04571d99f513e1db1641bb105dfdbf68c0f324b2eeca0fbfc6e6d39ef9::doDisplay (line 394)"
22 => "Twig\Template::displayWithErrorHandling (line 367)"
23 => "Twig\Template::display (line 52)"
24 => "__TwigTemplate_8d34de09747041e758d673fc9695a5e54742bc99caca74465688fd6c3854c695::doDisplay (line 394)"
25 => "Twig\Template::displayWithErrorHandling (line 367)"
26 => "Twig\Template::display (line 50)"
27 => "__TwigTemplate_cb6121ece3676f0cad7394059af1b59b03080666c1a8d83a03f7aa644637d665::doDisplay (line 394)"
28 => "Twig\Template::displayWithErrorHandling (line 367)"
29 => "Twig\Template::display (line 53)"
30 => "__TwigTemplate_0ede1d540463707f247f8eb2ae47325403bafbd319b12e338a63e21e92ac613b::doDisplay (line 394)"
31 => "Twig\Template::displayWithErrorHandling (line 367)"
32 => "Twig\Template::display (line 54)"
33 => "__TwigTemplate_4de3ebc4284b999c5e2f5c31ba443df2e1d9bd5ce9b08ea069f4126c174fde60::doDisplay (line 394)"
34 => "Twig\Template::displayWithErrorHandling (line 367)"
35 => "Twig\Template::display (line 61)"
36 => "__TwigTemplate_86092ad060206e80856652f080bdc3c495cbca73bd1e47477ae19584da5bc7ee::doDisplay (line 394)"
37 => "Twig\Template::displayWithErrorHandling (line 367)"
38 => "Twig\Template::display (line 379)"
39 => "Twig\Template::render (line 40)"
40 => "Twig\TemplateWrapper::render (line 277)"
41 => "Twig\Environment::render (line 235)"
42 => "Shopware\Storefront\Controller\StorefrontController::renderView (line 266)"
43 => "Symfony\Bundle\FrameworkBundle\Controller\AbstractController::render (line 72)"
44 => "Shopware\Storefront\Controller\StorefrontController::Shopware\Storefront\Controller\{closure} (line 59)"
45 => "Shopware\Core\Profiling\Profiler::trace (line 73)"
46 => "Shopware\Storefront\Controller\StorefrontController::renderStorefront (line 123)"
47 => "Shopware\Storefront\Controller\AccountOrderController::orderOverview (line 163)"
48 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
49 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
50 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
51 => "Shopware\Core\HttpKernel::doHandle (line 81)"
52 => "Shopware\Core\HttpKernel::handle (line 85)"
]
|
200 |
10.60 ms |
SELECT seo_path_info, path_info FROM seo_url WHERE (seo_url.is_canonical = 1) AND (seo_url.path_info IN (:pathInfo)) AND (seo_url.language_id = :languageId) AND (seo_url.sales_channel_id = :salesChannelId OR seo_url.sales_channel_id IS NULL) AND (is_deleted = 0) ORDER BY seo_url.sales_channel_id ASC
SELECT seo_path_info, path_info FROM seo_url WHERE (seo_url.is_canonical = 1) AND (seo_url.path_info IN ('/navigation/7ffbe5de924140fc9f5462ab98f3e887', '/navigation/5dc0bdd0ec4344fe89629fc1a55096bb', '/navigation/db7db21d50ec49788a5e57210d821ebf', '/navigation/9ffd4ab1954648128be5b4b5ff3ed36d', '/navigation/b694a587db9a4145817b22779a409c08', '/navigation/c99a8e412853437e9ae640404d0464c9', '/navigation/c2680578b74d40e8a6b30582c6e9446a', '/navigation/6b819966c09442d899003eaffa86a5df', '/navigation/bb4db6bac6ff4011a56433cb2e8e3510', '/navigation/3100051051644bfcbf358a4b73646b96', '/navigation/bc0f1f6b21aa436a96aa781eb3503a90', '/navigation/a6321a1c941b42a584e44f36be6ab617', '/navigation/f558589a20db40a58e17232362053a89', '/navigation/e2bc323f89aa458b8eef6a60dc0ea9c3', '/navigation/3fd3845aab0949b88934972b4becc587', '/navigation/d363d9e32e6044f5b8ab07d2ba314143', '/navigation/091001d7f43c4b88b5a7ed92aceb696d', '/navigation/cc33b4a5802e4aee8e7e9ad3a615d8a3', '/navigation/8b42524b0bdf49a7879c2733e0d2530d', '/navigation/e3e7e84fe12644fd804daeec04200a27', '/navigation/ea432a1de52d4215a9416780461599b4', '/navigation/dd355eda26e24a1aaadfcccd5fe36ef5', '/navigation/ddc214ccb52a41a08e0e3752da19d74b', '/navigation/ef3d8610042f4abbbf1adf57a7955cf4', '/navigation/d7b1105c8b7045b3b9222acbc02904c1', '/navigation/40dca6290138468db5aa341ab093afae', '/navigation/c7e5677da658497ea1f840b26dd5f5de', '/navigation/acc82802ee9a423bbbca0ac7c10e039d', '/navigation/e220ba6e782f43fdbbe88932554dadc4', '/navigation/b6e60c10503c4621ac4acb9814ecc696', '/navigation/9e002c18cabc4b09998dcc8ad3bb1ccd', '/navigation/b9dcbfb14c0d446f8f530c052a5e8654', '/navigation/752b08e8c0fa45c49cc412bad4b29821', '/navigation/8481c05476974108afb34914dbc753c7', '/navigation/d84f18cbcf84487f948bd2ca0de1cb46', '/navigation/bbeee654382946628ebc0b4cd9785904', '/navigation/26122e22f5b349e8aba09c2d4d584e8c', '/navigation/23fd5781bfbb477c9a869ea1f06b82c7', '/navigation/a8b15aa591424859afd5cdb6b5faf51d', '/navigation/184e08e83d044a46be975b790fdfeb0a', '/navigation/00a4c542d768459e9f645196ed01d819', '/navigation/48e6197a3828400793e760fa3da75771', '/navigation/aabbd9c61ff342a8aa6422d907af1c01', '/navigation/666543193711412bb6d360ab361e9184', '/navigation/f343da80a8894fbe95596984557d0d18', '/navigation/b323e3dda8e64e7eb79fd52a7181dca2', '/navigation/7a8b636708624c5682328a8dacab4df7', '/navigation/b7615eac58844385af476f6634aab5b7', '/navigation/0c074cf6d4744fe7807ffe58f1c1c326', '/navigation/cb004136aa6448eca611a686201235d5', '/navigation/019404ed6eb046a0af480f8ce1be3516', '/navigation/e608dc143be34f0f876829990e21e38a', '/navigation/e3fcd569266c4d7a8477e7ade5e1ede2', '/navigation/b3fd17495994436f95f63aa955768b5e', '/navigation/68fc8f1171424fb3bdfa9f6c57287196', '/navigation/b3226e5b386647ad83e91664d471c54a', '/navigation/fb9d6b7014a9410691d37863c07c3aa8', '/navigation/b1e5d0db93a848ab95aff6581534318f', '/navigation/5380ba9ec25c491e807fb9cd812b75ad', '/navigation/a708c25741054c63af9616486b68730f', '/navigation/38314c0f325e4d689867ae812e12b7ad', '/navigation/e47ff1cd43c947c5b6200a619b46bec0', '/navigation/bdb5def6830e47feb3d9864a4c5e116e', '/navigation/c841ba40e8234484818b6bfca2eef9e7', '/navigation/0ce9fb9eac4e4287a6ac36074e84c5b2', '/navigation/835799d3a8744cb4a3e63cba3a256942', '/navigation/39218875a1d44c0c8deee7c839385d93', '/navigation/e9d1763dd14e4df8a43bf2cf9b6cc971', '/navigation/f109dd6d159a4fcaae765ee3efaf3f3c', '/navigation/cf4a9cd17df945059aae9cf2d5b70955', '/navigation/f4ee2d12a1ce43fa82e28f420739f10d', '/navigation/f37955dc37844e9e8f0041ff642c7035', '/navigation/b45c57f1d9c44c099130d1f1cf20185c', '/navigation/a8e578510e044d95b9f4a8b640cbaec6', '/navigation/1af48223cec442c8b60958c5e5b6cc71', '/navigation/a23cc2e38d81452ebcf7910ef6a4e4c4', '/navigation/5e07bd5397f8436195d9af9a51eff302', '/navigation/bb863e8636f7472b95f309fe8adeeeb7', '/navigation/65ce04c8034f40c4bd95ffd135c92762', '/navigation/afaa971f771a45b283be6b451013c2c0', '/navigation/69551e6795f74911be3033d0399e88ed', '/navigation/e35e1c7c8a1341d9926592c843617c99', '/navigation/84c700ef8bcc48359c3691c2c6098a51', '/navigation/d71b14e6a31c4839bc0051aae2b8ea84', '/navigation/cc34b133a88b40aa8f38bd9594ca8372', '/navigation/44c207a3fc124056a0cae7b050395614', '/navigation/1c1f4bd6456243b1b1186d83d221d7ce', '/navigation/99b56c5400a84b7b89b7bf2ec7e37621', '/navigation/524ebe131519479c9a7ae3ce7e0ac551', '/navigation/7ff4a1fe403245e3b7792f7370c9c45c', '/navigation/a64bbad829a0440c93f2b77a10b25765', '/navigation/b7fce0cb44914cd2a12ec3ed7a15d8ed', '/navigation/328eb0755e3c44d4a5991080f8c24089', '/navigation/5e876db62ed64b4dbef7f84c351ec594', '/navigation/5d82d03310b74a27bc843c680b493abb', '/navigation/92b9d5270b504450a03f8bbeedbe7734', '/navigation/5fd0e5c3edf14a989df1f22be9c06030', '/navigation/2151ce9f853640cb880cff58490ef2c2', '/navigation/9971a8669394478c9139bfc3f2cd83ae', '/navigation/2884a5c64ca54d8a91a0c51ae2d0065a', '/navigation/5d0840e4187e4468b29d1f3e2b620e7e', '/navigation/0e140f56763645bca46ad8ca450fce77', '/navigation/5987802406ad4003a4d89e67b907bee9', '/navigation/7f309ae50a0a490dabd2c7e3b3dacc0f', '/navigation/a0777999197540ec907fdba0bb8c060a', '/navigation/152a300e53a7493e8ef6f3233b5280b0', '/navigation/42c5b80e259a4e70a7f31058e1197ed2', '/navigation/4a6129df1539489392403c30cc83f6ea', '/navigation/1da093794edd459ea9d18682b9f8e360', '/navigation/ecc88e48f15a4268a22224a796d69809', '/navigation/251b2fbfe25e42738dc8a02a314feb55', '/navigation/3b6481ff5caf4b82abf46ba006ebaa54', '/navigation/f5392164f83748b0a34c87f8564fc6c6', '/navigation/9077d5e16819453d8f49fe48394b6b90', '/navigation/6c0c61aff4a340b88985b8c0708e34bd', '/navigation/b17eb8e86cd74138bc5963d06a20272c', '/navigation/f2d98e67a2be428196e7d8c3b63a8c04', '/navigation/97f4548324a9424d97ce7944dcc6c387', '/navigation/d612dfe5ffe14e2b88d158c0373bbd18', '/navigation/f5f7f49e3b91416db24310d8b85aa5be', '/navigation/56d8bee7d4624002a8d38a7efa36e4d6', '/navigation/dea22603cb644acb9641a89e642bf8a5', '/navigation/69ece3738db74eee92c8940a6d513b16', '/navigation/9bdf4a12c0624ac69b68ed6d318ec108', '/navigation/58b44650d32d46289b192f71ee6be138', '/navigation/da1eb163685b41c581ad993bbcc1403c', '/navigation/6e43e8b5839d42bc930f4e92ae2a5ecf', '/navigation/580deab431f4428598e8b8acc8f4fecc', '/navigation/8d5be9fae12243aab71e7ca3566cf2bd', '/navigation/1257d6f9237e4da38de930fba4f19be4', '/navigation/efefc9ee6f6e4683bb7356f48bde80ae', '/navigation/6872c27668e540cd8a1a931c259d177c', '/navigation/bddcc4803e1e4d9f843dd1ae1809e130', '/navigation/a2f16f3907ba45e788fb840a99218c90', '/navigation/d8e16f2b567d48b7bcef0282d30453d2', '/navigation/a18743466edd4f46a1e4b92a5d7f5aa6', '/navigation/d7645f5cca2840a1bc477cafb4728d67', '/navigation/7c92dda21c3f4773be5b8b4b5a0dcb00', '/navigation/874ae083027b4156906656ae773929e1', '/navigation/9546df8e133a43d68e7e3d78fed21f5c', '/navigation/a9872576b20b421f82f12b9feeeb618a', '/navigation/65ac2df4521046379f5bec25fa162f72', '/navigation/75b423b698a14913883055b9853078d4', '/navigation/d6448acc11174f4da5eb37c2deeb9762', '/navigation/272f821414234ae8a6186fb8db9eca0f', '/navigation/73ea54b9315e4c1588a111a7a8b634f9', '/navigation/4bb6faeadfeb478792fbc713a7261565', '/navigation/04683411c70447c49660e57e3854d05c', '/navigation/fb436220ef82428c959dc61cadd0b01e', '/navigation/f55f910f74c04fcb8c9a2360dcf5220e', '/navigation/7a7cb73fed444bcc8da506973a3d3898', '/navigation/595091b50aff46108b283dc2a607eb88', '/navigation/70971fdf278346d09e27e9404de385b1', '/navigation/c33b5bf21e074dedb02e8e631c1c999c', '/navigation/297179f9428e4e539754c6099d8c9435', '/navigation/c3f2346e327445c183a51baa030f7053', '/navigation/2625e946f7a74fccb4a46f731265ca7d', '/navigation/c19470490ddf4f9db08c15454cfded6c', '/navigation/1997ed92c4da464fbb8a405efdf68486', '/navigation/4709daa13bd74bc89811be6be3ea0094', '/navigation/e102257fa4924dddbd3fd8148cff195e', '/navigation/48d456cad36248219ffd6e6494b6737d', '/navigation/08e3db4b56ba45e4887acf8ecbbdb7f8', '/navigation/5285165a7f254c37b57acba660aa5d33', '/navigation/3a2de85d45274cd8bb60ed3c9f24c420', '/navigation/a61a67d16e424b6eadd829c97d6b2d00', '/navigation/82f65a446e2d4402978366587286146d', '/navigation/edac82bf8c554ab4ad1532ba3d4e0b6d', '/navigation/5c80cf4dbbc64e459e189f9e5559e6e3', '/navigation/24dbafd4e3c74891b116c443a3247e4e', '/navigation/3b08e53f61ee4a52b305b893a4eb79ad', '/navigation/ad7ba8abf28e493ba44d84a1a00f3b80', '/navigation/8b288fc487054f8f8ab62e925a9d20a9', '/navigation/5cfe775dfba242b3a7eacfa84a47b8cf', '/detail/a963c07a18e943b5b61ccf2c13cb9130', '/detail/d165608e94124f1abb16ba3c10144066', '/detail/21cdd7fffec045ad90a996efe4e1319c', '/detail/b8df780cbb824abcb4fbd443778deade', '/detail/10172bf11a374b46b879cb5b7d409191', '/detail/2574c1d75a5f48d8b04e4f0acee29e06', '/detail/a6e1388b6c9243da9dbec02164d64e63', '/detail/1994dabaf30a4f58b9ba047b86a9f89a', '/detail/606c17fe2d504510aa70dfb6c464b276', '/detail/247f98bf07564389b6a8d66b801a910c', '/detail/5016f7e84a3e4d4f9a5178987ada6a77', '/detail/b432e8449fa34f6298a1b95cebec4664', '/detail/fff10829327947a597f7cf74f82f72d3', '/detail/521a315c46aa4faeae2ec4f5521b425f', '/detail/1a29c278f31440b195869bcbe96f8a6e', '/detail/98396d42ce8b42568e9c81bc3780027c', '/detail/1301813eff234eecad6a967e57d0cd77', '/detail/2ceaf5c8dfb94c7d84c003beb6efbad7', '/detail/1d446fad38ef425a993834f545c7696f', '/detail/980954b8643642ce92d9d54fcd0dedb5', '/detail/4dfbd7b068cf4ead85ceaeba2a75d3ff', '/detail/62fd22d7ec2a4a6c86d2f9764fc8ae72', '/detail/45477de48947482693b83ba883822c4c', '/detail/379e3ca366cf4814a8702f4f4dc01d0b', '/detail/e8952557863c46f5b1074d52d84ea9fd', '/detail/4f3851ef49e54df2bcc5d4e1ba574cdb', '/detail/2ee9cbf22438490c941d8fb58e754063', '/detail/f3bafea4602b4d9d8c9c7c37c9555813', '/detail/918ec53474924911bf421c9b1c22829e', '/detail/0d281f6fbc5f4b36926d104dab40f116', '/detail/039588c24e8d4085a567726d690a7fb1', '/detail/8c19a5e15c644d799a0a60985b6962af', '/detail/319a8f4815fd488ea8eac21e147d89e3', '/detail/a4372347704544ba98f51233bfeef22c', '/detail/579280813dd948e6bb663a84cd7b0417', '/detail/4698fae513584796975e2877b293b6a1', '/detail/5de590ea39104ed5bc440436d1f1064f', '/detail/acbd0fd62bbe4130bcb605cbbbd92b2b', '/detail/541cf822ce5a4825b498fcb407776831', '/detail/2117845e16614bf9a904089a7c2922da', '/detail/be898332d0704b82a10db7638853917f', '/detail/542404c018eb4e678b90cae24a7154da', '/detail/0ca1a7328e31476088a5c26b5c505df5', '/detail/5f29e832efc34089b601317b784c79e1', '/detail/7a37a6b9d09244ad82d519e6fed30522', '/detail/528d55f43a19425aa65ac30d0ddb3a01', '/detail/e7a1c2b68f7940b3b3a28f4410304b14', '/detail/74e3980eb04a42ea9bd6e5d9ed0bb1e1', '/detail/0f41846f376c4e67877674ec631a2966', '/detail/a0f8ff237e2b486e99056eea44a85a7e', '/detail/16135f313a964ea8a89c9b7233bea73d', '/detail/bebf95a2b3d4444cbf9472d030a90f56', '/detail/3e93c521018b4002afc2590e6951b4ba', '/detail/24c8ce7e0d864a5ebb0b75feb4572e95', '/detail/9e864ffc739048539f5c9996d54d03b7', '/detail/f88adb5a09fc4130966f67ae61153f36', '/detail/52cb774878ff46d398d34140028dd18a', '/detail/e8d882c7a9e44147b8211b711727b105', '/detail/1aad03b13f0e43deb736e0af38be9259', '/detail/e327244a083c4e11b5823f946b48a7f9', '/detail/b8fea44d2ae14a689b0528d5268b502f', '/detail/b147a5311b5f4432a872f8d04fd881e7', '/detail/eed1d880dbd9488da9a7b6ec7037a9c5', '/detail/4aacbcc71ab745569f68c0e72b1523b2', '/detail/4aa3b486ee994172a553254a2a89edc6', '/detail/975e67157aae4523aaafaef8024f42fd', '/detail/b6a8976b5f664c148be7095bada4f21f', '/detail/12d930353ce7456c84d0417298a83c16', '/detail/d37c6df4fe5c47bbb4350e6141d22fe0', '/detail/a1e6044f49234b10b4d63a8853ba1d5d', '/detail/09c448d2738e4353b957ab090677300d', '/detail/659975a0545848f8b56b13ea4e5171d7', '/detail/cf57ea67ef8942268684c51c53cd9ed4', '/detail/d9ee7ddc94034206aa21bf20e965da8a', '/detail/6cc86d477e3a4f7d813748c3584b44fa', '/detail/d6384b3eea424d61a9f6cb25d733b827', '/detail/20e79fb5302f46f1a594a0e350416d64', '/detail/dd9fcc117d4f45f5a80d0137f977cb81', '/detail/d4b37462827a4c8facb8f6f318c09159', '/detail/b61a00d9089d4a16809ab0399bf888ca', '/detail/b047339014454002956a98a710fbd64a', '/detail/9d7b861f3dd84e6385174bcbf7a3356a', '/detail/4acf41a4aae24cc9871a58893590ac66', '/detail/673831f610d34ddda150aa1f9925b3a0', '/detail/07e10b2d65204a65ad14dd8853676a62', '/detail/5fa3b66609404b11884fecd593123998', '/detail/66fe1a571cda4aadb0c5c9679f8e462e', '/detail/7b841740085e415cb1b2f160fe7e63dc', '/detail/c90d25d58a9c4674b5a083b95f47bba1', '/detail/9a2d63e991d64f2f8d3c4c4d6550361f', '/detail/68fe63b9fcf54ab39f3f7afe78eef12c', '/detail/d26cb4eafd1d468c82ab1afd436e8d81', '/detail/a20018d0c4d848ec80a2efa47ebfaa12', '/detail/ebd54dd3cbfd42b48364eac95bc9ab21', '/detail/14a695a60b6c40adb6902d0d47a600c3', '/detail/34eca748dc184f59afc43c20ec66a9b6', '/detail/1ea83849c7b046f7b719b5397e3c08ac', '/detail/90129d8413fb4919b6d7006260f28f8c', '/detail/4a8db902f92e4c0bb7801ec2c61d6297', '/detail/e0c797ba652f4fa2b655b6d213cace14', '/detail/7f1bec2cf09141e296a2458ae5926d19', '/detail/1b7f823a6fdf4b6b8058717cb736eaa0', '/detail/19b15aa085b14cd8a620559f12dbb300', '/detail/e3e0a4e4149142709afa34ebf9897873', '/detail/71e3f1e3f4ed44ec924156939bb79a19', '/detail/ad98d04051104245af1008c8e373f424', '/detail/da5c9863dc8148c18b617d567a6f67f9', '/detail/52231e73aeb24cf4a5487b167a349e7f', '/detail/73ab849080c2499980c1240f047c2ea8', '/detail/a5db9e14d76c4794b005f39655d2e7c8', '/detail/321a3e19afd64c62be9c7099dd85f4bc', '/detail/c5bb731e2e6547dd8a7dce04283b0fbe', '/detail/2a1a5224e9634143a9805f493c5aaaa7', '/detail/0b0a7e1c274545aca80e733de5c06fc4', '/detail/67c88c756b9c4619bb9e87f69b71c303', '/detail/e079763b9aa943c98e62853b738f3c79', '/detail/e8a76cc5d5b444b19e0dc03c21eaa05b', '/detail/e6fe955c1d7046909cd9506dbe70686e', '/detail/4f76be7bd67b46dba413a72b263f4d71', '/detail/c577d340c8f443e4abc52e025008640f', '/detail/b7c149c3647d4b4e896fb8975c7dcc11', '/detail/df2a64f9e9874b22b5f0b2980d1ac7ce', '/detail/bd956a7bd10c4a4fb7cb90a168535616', '/detail/2432de716f7e4810a446d835add29e88', '/detail/f521e13e6a9a427fb5a475a29a1299a6', '/detail/a059d407f8984f75a1bf659652c6b54c', '/detail/e2a15c17fd90497f9f2924d431cd4c96', '/detail/557db34ba6ec454fb9a2a7409199d60f', '/detail/64ce85bf6be24211a0d2b6b05addcd6a', '/detail/8488fb3fcb7f489199821d1029124722', '/detail/4111cf903f5b44c499048bca10fd676c', '/detail/491e1b2abe2a4eca933d1f2957625f88', '/detail/e57c10bdd9d0452bbeac231f5be58c67', '/detail/9b90f7e7cb994888b6c19327dcc7e703', '/detail/8fb0754d69f24670977cebc7bafedcf3', '/detail/97eaef32007a402abbc9987703a3ccaa', '/detail/b42608c954b74de0b7891fdf457d5245', '/detail/550d3e4eb6554fbd8cb6996612f1a660', '/detail/cb114cbf85e54f3aa18ed26cefcc9c01', '/detail/aa4fbfbac2fe4117a0d5de1db83a2f70', '/detail/b5218d3e356148bb9666f1f18b829b1e', '/detail/1af4c01567bc4711935ce3af4b232099', '/detail/7ccf83eebc214895847568bc949bf051', '/detail/527e3a619b2c4b7c9138cf647d367c4c', '/detail/82bb650e2fa94c5e8b1d1de3cb7c3b94', '/detail/b5c93f281ede476bb9a5f9e4fda86a43', '/detail/60744cf97b80455bbaad974057924da4', '/detail/b5c89f66e377430e808ac279f538ce2f', '/detail/4289cb37235a497ba6761f17bea61913', '/detail/40d19bf5310b4536ba987beed7a209be', '/detail/d66e284892234370b0636fbd10e57472', '/detail/621d6607df42427393472a45888bb2ba', '/detail/2c1eeea4b56c47989796acdb33b08d51', '/detail/52e22f4384bd4605859002668327305a', '/detail/5ff49db0dca94ec6857c9e30c0cbe76d', '/detail/83b2f81899ea4a17b4fa6470c55e13d5', '/detail/e69d5255ce8440c99e3f2fadb5ad6125', '/detail/7c1eb1dbc7864d0e855411c1f592b74d', '/detail/b4232fc9dcf0402dbb57dc5f0893510a', '/detail/02f2fa3192c5430a9afece112734f53b', '/detail/dfaf266846264b2d89e2480b0255c903', '/detail/3af14d2ff8c547698ba1fdd9b8348b41', '/detail/804d7e0a67334f0fa91fc281bdff218e', '/detail/7658af997a724429beb27aebc4307492', '/detail/3b7cc15d88b04b66ac20299abeac7b40', '/detail/6ed2efba2b8b49cd958ea57d8150fbc4', '/detail/5a170db479b444bbbd191437544363a8', '/detail/24adf41b08424a5ab076d0af6bb1fcbb', '/detail/e5c114f920fb476bbeb2dda9bfbcf001', '/detail/87b58b18f729431db612a3216604b78a', '/detail/8d5b062fb7b34de8b74b8d185aada2b0', '/detail/d6b2547c6a514d1a97218a92e2b601df', '/detail/2e6c7de399e446e68329052b378f25e6', '/detail/7b0f58a0dcaf4a01a4406c8d55abc728', '/detail/8063f099ee624967985d956214a1a11e', '/detail/d649b00c7d424ea3a338a9ec99916d50', '/detail/6ca20f37541b4e679a5d1e9e4eb08dae', '/detail/b9a84f5368424cfea63af63f46f40ad5', '/detail/3b6de6446a5f4683a738d8a64c6804b4', '/detail/eb1f19ace1324a319939fcb9f313c6be', '/detail/04827399b576489791257dd8d743a34b', '/detail/01a61905a7974365aa96ce0d8ae26c07', '/detail/d05d8cf073a444c2901c1f9c6de8e653', '/detail/c621572184694a02a329ec4e9f6bf4c7', '/detail/d3387f15b4ea4e918049188440a3b813', '/detail/d112bf3f4a88456f987cd2247fad3efe', '/detail/59be9fcae8a34be39f1f9a133bd2006c', '/detail/ceab3bfda415455ea3ea4372eaab76a3', '/detail/fd7a472eb01d41da8543362e97cd5eca', '/detail/9c96631291db4ed4b8b81caef4711d02', '/detail/5cc58532dea8487a86d8692915891fdc', '/detail/f24fe774736a4ec4989fd53e6f2c1752', '/detail/e8592c859b884e03988105f8a56a43d4', '/detail/b5b1d0b3aa7c404db7aadb881f04fccd', '/detail/ce9943fc05cb4109bd597d98f64dccdd', '/detail/c906dfe1c0d5426fb3c1168809bb1fdd', '/detail/1150805d0d8a4026864993c6041d024a', '/detail/d9933a7822cd4749a1395dde26393995', '/detail/d329d13985064b6a8e84f642da59793e', '/detail/482fc201d50a473892b6a7cb11731b7f', '/detail/7f6c0937e06e468d8e7844073929e29f', '/detail/9024ccb0a1bf442b975a3093079af1fc', '/detail/aaaf5d831bd845bfa84e860391417372', '/detail/5a3e5ad79abd49ff8d3f00ef957d36cf', '/detail/411b59a444a646bc99b6f54b79e9bdce', '/detail/f266289ba7f94bda8601f02f46c67067', '/detail/bcbe4328fd2741beacdef364a80e18bf', '/detail/62c2ed49b9294130bab80a4c28805c86', '/detail/910aa324d1104c91b6d1260ba1e75bf3', '/detail/4087b1f5c5224809b4af19442d672339', '/detail/82f01a61b8584158838cb2af10ec4bbc', '/detail/feaa2e823424429b93a4be077c054273', '/detail/46d673949bef45a6b407503921610ee7', '/detail/bb3692f4ebae4b8cac5ee3f18203951a', '/detail/be5fede582c34b6d935e16e7d0adfda7', '/detail/81f63ba6eb094c98b64e6a46505b0cc6', '/detail/5f25afac80c74d72959a2b0f3e857175', '/detail/c50ca058f6f34800be8614c85ee09d16', '/detail/44674224dc1f497c8414fad45aba0ec8', '/detail/9a4338cd2b004d8687e2147fd7b1e165', '/detail/cf3d21506711454da0d7bb931fabfc5d', '/detail/2bd507011cf749348204eb25b112df04', '/detail/1c08149fe9264c83984adfd941b70468', '/detail/1daa277ba4f64e6db7262b093e7c2f3a', '/detail/a2ee456bdf9e4c758715ffe8719489f1', '/detail/8b797b17bfcd453b9084e5cd795951c4', '/detail/e6537a4f9e2c42819ea50efcab5abaf9', '/detail/413102dfe5e2498d81463e209294ba81', '/detail/52de7b46e1a54c6d9d5fa1503008d783', '/detail/0cd350e96a2542f6a7a48b280096ddaa', '/detail/9eed05b860474a12b7a700ea15ea5c87', '/detail/a6895f3f54d14e2faeb66d36ae92fbea', '/detail/1a3a96d0390a4f11ae3f09f72f2c9a50', '/detail/502ee4883f2843f19f8b452d8fea632c', '/detail/49effb3590604141845fa75b868ad434', '/detail/799421ab06d840a99f0f2b2640416cc4', '/detail/2c444ea172b94c108261be6ececdc8ca', '/detail/548943c5b22f40218b0a70e15937506f', '/detail/a15e891f43fc41bd8a70d3d1bf4aa65d', '/detail/7ec2841e9bba46c1b13291fb84117333', '/detail/90f3e9fc9dc14193bf4be35132ae98fe', '/detail/434e303bee1a477d9ec5478231a65211', '/detail/76077a58015143dcb6bedc63ffefc4dc', '/detail/d7d8f0bab8a245e3bac9e42401e3c789', '/detail/774e1b67af1049debf59fa57ed4c1d2a', '/detail/3844847b15dd44e9ab800fdfe588073e', '/detail/ba2270366df94873821ad1cafcc478a3', '/detail/b4b3f843eaca482a83f1dfe76b2c4c4a', '/detail/f591d9282a2047eba9a709f6d40e64ed', '/detail/cf70becf0b0a4235ba741094b3e1aa83', '/detail/d24bb22c362e4deb947f3aa2e3d0ec0e', '/detail/1c60895691d04233924d39cf575a37c0', '/detail/ffb66659fa9c46c781f45f3ecbe17cd0', '/detail/58f6e2870d0a4abe91eaf0cbaf2da647', '/detail/ef23c022985140498498ce014057a89e', '/detail/a46c19eb32fd4b89a8c1609d32bbafd9', '/detail/1368a169bcab4ad49a3ae13a208f0445', '/detail/6f44fd7e26b840999940140120216ba8', '/detail/b11061c746e5430da4b5d5dfcb6b5a02', '/navigation/c86dde80fbfe41c6a7037f157d67ca37', '/navigation/78cf32e95e95460b87dee82d728d5131')) AND (seo_url.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) AND (seo_url.sales_channel_id = 0x4EB9108BE4654CC9B140D14DE85579E9 OR seo_url.sales_channel_id IS NULL) AND (is_deleted = 0) ORDER BY seo_url.sales_channel_id ASC;
array:14 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 242)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 106)"
3 => "Shopware\Core\Content\Seo\SeoUrlPlaceholderHandler::createSeoMapping (line 59)"
4 => "Shopware\Core\Content\Seo\SeoUrlPlaceholderHandler::Shopware\Core\Content\Seo\{closure} (line 59)"
5 => "Shopware\Core\Profiling\Profiler::trace (line 70)"
6 => "Shopware\Core\Content\Seo\SeoUrlPlaceholderHandler::replace (line 90)"
7 => "Shopware\Storefront\Controller\StorefrontController::renderStorefront (line 123)"
8 => "Shopware\Storefront\Controller\AccountOrderController::orderOverview (line 163)"
9 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
10 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
11 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
12 => "Shopware\Core\HttpKernel::doHandle (line 81)"
13 => "Shopware\Core\HttpKernel::handle (line 85)"
]
|