1 |
1.53 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:7 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 377)"
2 => "Shopware\Core\Kernel::initializeDatabaseConnectionVariables (line 51)"
3 => "Bodymed\Webshop\Kernel::initializeDatabaseConnectionVariables (line 197)"
4 => "Shopware\Core\Kernel::boot (line 129)"
5 => "Shopware\Core\HttpKernel::doHandle (line 81)"
6 => "Shopware\Core\HttpKernel::handle (line 75)"
]
|
2 |
0.51 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_1591683158_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_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_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_1604502151_IS_ACTIVE = TRUE;SET @MIGRATION_1610393320_IS_ACTIVE = TRUE;SET @MIGRATION_1609855802_IS_ACTIVE = TRUE;SET @MIGRATION_1610129085_IS_ACTIVE = TRUE;SET @MIGRATION_1615835852_IS_ACTIVE = TRUE;SET @MIGRATION_1624305496_IS_ACTIVE = TRUE;SET @MIGRATION_1624978582_IS_ACTIVE = TRUE;SET @MIGRATION_1625070602_IS_ACTIVE = TRUE;SET @MIGRATION_1625153073_IS_ACTIVE = TRUE;SET @MIGRATION_1626864021_IS_ACTIVE = TRUE;SET @MIGRATION_1627492364_IS_ACTIVE = TRUE;SET @MIGRATION_1633453069_IS_ACTIVE = TRUE;SET @MIGRATION_1633702544_IS_ACTIVE = TRUE;SET @MIGRATION_1647534649_IS_ACTIVE = TRUE;SET @MIGRATION_1666719360_IS_ACTIVE = TRUE;SET @MIGRATION_1666820585_IS_ACTIVE = TRUE;SET @MIGRATION_1670245355_IS_ACTIVE = TRUE;SET @MIGRATION_1671553325_IS_ACTIVE = TRUE;SET @MIGRATION_1671628584_IS_ACTIVE = TRUE;SET @MIGRATION_1678463158_IS_ACTIVE = TRUE;SET @MIGRATION_1681335462_IS_ACTIVE = TRUE;SET @MIGRATION_1692602662_IS_ACTIVE = TRUE;SET @MIGRATION_1692609464_IS_ACTIVE = TRUE;SET @MIGRATION_1617711735_IS_ACTIVE = TRUE;SET @MIGRATION_1629213173_IS_ACTIVE = TRUE;SET @MIGRATION_1669231644_IS_ACTIVE = TRUE;SET @MIGRATION_1670608447_IS_ACTIVE = TRUE;SET @MIGRATION_1674206768_IS_ACTIVE = TRUE;SET @MIGRATION_1623870288_IS_ACTIVE = TRUE;SET @MIGRATION_1619697959_IS_ACTIVE = TRUE;SET @MIGRATION_1637220570_IS_ACTIVE = TRUE;SET @MIGRATION_1647278706_IS_ACTIVE = TRUE;SET @MIGRATION_1619509381_IS_ACTIVE = TRUE;SET @MIGRATION_1621965121_IS_ACTIVE = TRUE;SET @MIGRATION_1623836611_IS_ACTIVE = TRUE;SET @MIGRATION_1646343492_IS_ACTIVE = TRUE;SET @MIGRATION_1648797761_IS_ACTIVE = TRUE;SET @MIGRATION_1648809896_IS_ACTIVE = TRUE;SET @MIGRATION_1634581560_IS_ACTIVE = TRUE;SET @MIGRATION_1610469647_IS_ACTIVE = TRUE;SET @MIGRATION_1662403300_IS_ACTIVE = TRUE;SET @MIGRATION_1662726618_IS_ACTIVE = TRUE;SET @MIGRATION_1673774593_IS_ACTIVE = TRUE;SET @MIGRATION_1684162444_IS_ACTIVE = TRUE;SET @MIGRATION_1626681713_IS_ACTIVE = TRUE;SET @MIGRATION_1626681713_IS_ACTIVE = TRUE;SET @MIGRATION_1598279129_IS_ACTIVE = TRUE;SET @MIGRATION_1645737265_IS_ACTIVE = TRUE;SET @MIGRATION_1680279431_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_1591683158_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_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_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_1604502151_IS_ACTIVE = TRUE;SET @MIGRATION_1610393320_IS_ACTIVE = TRUE;SET @MIGRATION_1609855802_IS_ACTIVE = TRUE;SET @MIGRATION_1610129085_IS_ACTIVE = TRUE;SET @MIGRATION_1615835852_IS_ACTIVE = TRUE;SET @MIGRATION_1624305496_IS_ACTIVE = TRUE;SET @MIGRATION_1624978582_IS_ACTIVE = TRUE;SET @MIGRATION_1625070602_IS_ACTIVE = TRUE;SET @MIGRATION_1625153073_IS_ACTIVE = TRUE;SET @MIGRATION_1626864021_IS_ACTIVE = TRUE;SET @MIGRATION_1627492364_IS_ACTIVE = TRUE;SET @MIGRATION_1633453069_IS_ACTIVE = TRUE;SET @MIGRATION_1633702544_IS_ACTIVE = TRUE;SET @MIGRATION_1647534649_IS_ACTIVE = TRUE;SET @MIGRATION_1666719360_IS_ACTIVE = TRUE;SET @MIGRATION_1666820585_IS_ACTIVE = TRUE;SET @MIGRATION_1670245355_IS_ACTIVE = TRUE;SET @MIGRATION_1671553325_IS_ACTIVE = TRUE;SET @MIGRATION_1671628584_IS_ACTIVE = TRUE;SET @MIGRATION_1678463158_IS_ACTIVE = TRUE;SET @MIGRATION_1681335462_IS_ACTIVE = TRUE;SET @MIGRATION_1692602662_IS_ACTIVE = TRUE;SET @MIGRATION_1692609464_IS_ACTIVE = TRUE;SET @MIGRATION_1617711735_IS_ACTIVE = TRUE;SET @MIGRATION_1629213173_IS_ACTIVE = TRUE;SET @MIGRATION_1669231644_IS_ACTIVE = TRUE;SET @MIGRATION_1670608447_IS_ACTIVE = TRUE;SET @MIGRATION_1674206768_IS_ACTIVE = TRUE;SET @MIGRATION_1623870288_IS_ACTIVE = TRUE;SET @MIGRATION_1619697959_IS_ACTIVE = TRUE;SET @MIGRATION_1637220570_IS_ACTIVE = TRUE;SET @MIGRATION_1647278706_IS_ACTIVE = TRUE;SET @MIGRATION_1619509381_IS_ACTIVE = TRUE;SET @MIGRATION_1621965121_IS_ACTIVE = TRUE;SET @MIGRATION_1623836611_IS_ACTIVE = TRUE;SET @MIGRATION_1646343492_IS_ACTIVE = TRUE;SET @MIGRATION_1648797761_IS_ACTIVE = TRUE;SET @MIGRATION_1648809896_IS_ACTIVE = TRUE;SET @MIGRATION_1634581560_IS_ACTIVE = TRUE;SET @MIGRATION_1610469647_IS_ACTIVE = TRUE;SET @MIGRATION_1662403300_IS_ACTIVE = TRUE;SET @MIGRATION_1662726618_IS_ACTIVE = TRUE;SET @MIGRATION_1673774593_IS_ACTIVE = TRUE;SET @MIGRATION_1684162444_IS_ACTIVE = TRUE;SET @MIGRATION_1626681713_IS_ACTIVE = TRUE;SET @MIGRATION_1626681713_IS_ACTIVE = TRUE;SET @MIGRATION_1598279129_IS_ACTIVE = TRUE;SET @MIGRATION_1645737265_IS_ACTIVE = TRUE;SET @MIGRATION_1680279431_IS_ACTIVE = TRUE;
array:7 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 398)"
2 => "Shopware\Core\Kernel::initializeDatabaseConnectionVariables (line 51)"
3 => "Bodymed\Webshop\Kernel::initializeDatabaseConnectionVariables (line 197)"
4 => "Shopware\Core\Kernel::boot (line 129)"
5 => "Shopware\Core\HttpKernel::doHandle (line 81)"
6 => "Shopware\Core\HttpKernel::handle (line 75)"
]
|
3 |
0.90 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 = 0x620A2217F7474E619CB00AD39E804CCA) AND (token = 'IN5Ub8FQVmsGnU9oCTmNWiTvs4Dar3OO') LIMIT 1;
array:24 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
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 45)"
7 => "Madco\Mykey\Core\System\SalesChannel\Context\SalesChannelContextService::get (line 30)"
8 => "Bodymed\Webshop\Core\System\SalesChannel\Context\SalesChannelContextService::get (line 105)"
9 => "Shopware\Core\Framework\Routing\SalesChannelRequestContextResolver::resolve (line 38)"
10 => "Shopware\Core\Framework\Routing\ContextResolverListener::resolveContext (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 151)"
19 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
20 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
21 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
22 => "Shopware\Core\HttpKernel::doHandle (line 81)"
23 => "Shopware\Core\HttpKernel::handle (line 75)"
]
|
4 |
1.30 ms |
SHOW COLUMNS FROM `cart` WHERE `Field` LIKE :column
SHOW COLUMNS FROM `cart` WHERE `Field` LIKE 'payload';
array:27 [
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 45)"
10 => "Madco\Mykey\Core\System\SalesChannel\Context\SalesChannelContextService::get (line 30)"
11 => "Bodymed\Webshop\Core\System\SalesChannel\Context\SalesChannelContextService::get (line 105)"
12 => "Shopware\Core\Framework\Routing\SalesChannelRequestContextResolver::resolve (line 38)"
13 => "Shopware\Core\Framework\Routing\ContextResolverListener::resolveContext (line 118)"
14 => "Symfony\Component\EventDispatcher\Debug\WrappedListener::__invoke (line 230)"
15 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
16 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
17 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
18 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
19 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
20 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
21 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 151)"
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 75)"
]
|
5 |
0.72 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` = 'IN5Ub8FQVmsGnU9oCTmNWiTvs4Dar3OO';
array:25 [
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 45)"
8 => "Madco\Mykey\Core\System\SalesChannel\Context\SalesChannelContextService::get (line 30)"
9 => "Bodymed\Webshop\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 75)"
]
|
6 |
1.61 ms |
SELECT `promotion`.`id` FROM `promotion` LEFT JOIN `promotion_sales_channel` `promotion.salesChannels` ON `promotion`.`id` = `promotion.salesChannels`.`promotion_id` WHERE ((`promotion`.`active` = :param_2faa220dde7c4524a792a8697a2ac024 AND `promotion.salesChannels`.`sales_channel_id` = :param_54ce643f75a340efa67f8db38e1f2fbc AND ((`promotion`.`valid_from` <=> :param_ba95ad33778c4264b23565b882168924 AND `promotion`.`valid_until` <=> :param_302b11af21f94576b7b3182ac4255eb7) OR (`promotion`.`valid_from` <=> :param_2bc9764e2861496695727e8fe3bf43b8 AND (`promotion`.`valid_until` > :param_959b08de2b104dbc886814b257a74bf8)) OR ((`promotion`.`valid_from` <= :param_3da2675b6efa4bcd892aebcaadc81d01) AND `promotion`.`valid_until` <=> :param_2c7ff387ec314e519ddf3e10797c4c5e) OR ((`promotion`.`valid_from` <= :param_dae3b5864b0f49479a874daf1168de8c) AND (`promotion`.`valid_until` > :param_b4c2c95361df4588a1bc729b6f4c42e4))) AND `promotion`.`use_codes` = :param_329b5e655c95428aa56cd96ca00e2ef1)) 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` = 0x620A2217F7474E619CB00AD39E804CCA AND ((`promotion`.`valid_from` <=> NULL AND `promotion`.`valid_until` <=> NULL) OR (`promotion`.`valid_from` <=> NULL AND (`promotion`.`valid_until` > '2024-11-25 03:11:07')) OR ((`promotion`.`valid_from` <= '2024-11-25 03:11:07') AND `promotion`.`valid_until` <=> NULL) OR ((`promotion`.`valid_from` <= '2024-11-25 03:11:07') AND (`promotion`.`valid_until` > '2024-11-25 03:11:07'))) AND `promotion`.`use_codes` = 0)) GROUP BY `promotion`.`id` ORDER BY MAX(`promotion`.`priority`) DESC;
array:44 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
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 88)"
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 45)"
27 => "Madco\Mykey\Core\System\SalesChannel\Context\SalesChannelContextService::get (line 30)"
28 => "Bodymed\Webshop\Core\System\SalesChannel\Context\SalesChannelContextService::get (line 105)"
29 => "Shopware\Core\Framework\Routing\SalesChannelRequestContextResolver::resolve (line 38)"
30 => "Shopware\Core\Framework\Routing\ContextResolverListener::resolveContext (line 118)"
31 => "Symfony\Component\EventDispatcher\Debug\WrappedListener::__invoke (line 230)"
32 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
33 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
34 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
35 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
36 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
37 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
38 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 151)"
39 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
40 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
41 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
42 => "Shopware\Core\HttpKernel::doHandle (line 81)"
43 => "Shopware\Core\HttpKernel::handle (line 75)"
]
|
7 |
3.82 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 (0xD82AA3FF103C4BB9BF767570979A537E);
array:43 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
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 88)"
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 45)"
26 => "Madco\Mykey\Core\System\SalesChannel\Context\SalesChannelContextService::get (line 30)"
27 => "Bodymed\Webshop\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 75)"
]
|
8 |
1.19 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_a0ddce1ee3ff49cfb3990f8fbc9fc024))
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 (0xD82AA3FF103C4BB9BF767570979A537E));
array:47 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
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 88)"
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 45)"
30 => "Madco\Mykey\Core\System\SalesChannel\Context\SalesChannelContextService::get (line 30)"
31 => "Bodymed\Webshop\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 75)"
]
|
9 |
0.73 ms |
SELECT `tag`.`id` as `tag.id`, `tag`.`name` as `tag.name`, `tag`.`created_at` as `tag.createdAt`, `tag`.`updated_at` as `tag.updatedAt` FROM `tag` WHERE (`tag`.`name` LIKE :param_3768da871e0f4f66b3f1c2b47b056996)
SELECT `tag`.`id` as `tag.id`, `tag`.`name` as `tag.name`, `tag`.`created_at` as `tag.createdAt`, `tag`.`updated_at` as `tag.updatedAt` FROM `tag` WHERE (`tag`.`name` LIKE '%global\\_deutsche\\_umst\\_19%');
array:39 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
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 39)"
10 => "MadFrontendGermanTaxTag\Core\Checkout\MadGermanTaxProcessor::process (line 114)"
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 88)"
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 45)"
22 => "Madco\Mykey\Core\System\SalesChannel\Context\SalesChannelContextService::get (line 30)"
23 => "Bodymed\Webshop\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 75)"
]
|
10 |
0.86 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` WHERE (`tax`.`name` LIKE :param_d79672c3d3eb49959dff15a4ec9f2429)
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` WHERE (`tax`.`name` LIKE '%Standard%');
array:39 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
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 48)"
10 => "MadFrontendGermanTaxTag\Core\Checkout\MadGermanTaxProcessor::process (line 114)"
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 88)"
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 45)"
22 => "Madco\Mykey\Core\System\SalesChannel\Context\SalesChannelContextService::get (line 30)"
23 => "Bodymed\Webshop\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 75)"
]
|
11 |
2.17 ms |
SELECT `swkweb_buy_x_pay_y_promotion`.`id` as `swkweb_buy_x_pay_y_promotion.id`, `swkweb_buy_x_pay_y_promotion`.`product_stream_id` as `swkweb_buy_x_pay_y_promotion.productStreamId`, `swkweb_buy_x_pay_y_promotion`.`rule_id` as `swkweb_buy_x_pay_y_promotion.ruleId`, `swkweb_buy_x_pay_y_promotion`.`x` as `swkweb_buy_x_pay_y_promotion.x`, `swkweb_buy_x_pay_y_promotion`.`y` as `swkweb_buy_x_pay_y_promotion.y`, `swkweb_buy_x_pay_y_promotion`.`minimum_quantity` as `swkweb_buy_x_pay_y_promotion.minimumQuantity`, `swkweb_buy_x_pay_y_promotion`.`priority` as `swkweb_buy_x_pay_y_promotion.priority`, `swkweb_buy_x_pay_y_promotion`.`cross_variant` as `swkweb_buy_x_pay_y_promotion.crossVariant`, `swkweb_buy_x_pay_y_promotion`.`active` as `swkweb_buy_x_pay_y_promotion.active`, `swkweb_buy_x_pay_y_promotion`.`created_at` as `swkweb_buy_x_pay_y_promotion.createdAt`, `swkweb_buy_x_pay_y_promotion`.`updated_at` as `swkweb_buy_x_pay_y_promotion.updatedAt`, `swkweb_buy_x_pay_y_promotion.translation.name`, COALESCE(`swkweb_buy_x_pay_y_promotion.translation.name`,`swkweb_buy_x_pay_y_promotion.translation.name`) as `swkweb_buy_x_pay_y_promotion.name`, `swkweb_buy_x_pay_y_promotion.translation.createdAt`, `swkweb_buy_x_pay_y_promotion.translation.updatedAt`, `swkweb_buy_x_pay_y_promotion.translation.swkwebBuyXPayYPromotionId`, `swkweb_buy_x_pay_y_promotion.translation.languageId` FROM `swkweb_buy_x_pay_y_promotion` LEFT JOIN (SELECT `swkweb_buy_x_pay_y_promotion.translation`.swkweb_buy_x_pay_y_promotion_id, `swkweb_buy_x_pay_y_promotion.translation`.name as `swkweb_buy_x_pay_y_promotion.translation.name`, `swkweb_buy_x_pay_y_promotion.translation`.created_at as `swkweb_buy_x_pay_y_promotion.translation.createdAt`, `swkweb_buy_x_pay_y_promotion.translation`.updated_at as `swkweb_buy_x_pay_y_promotion.translation.updatedAt`, `swkweb_buy_x_pay_y_promotion.translation`.swkweb_buy_x_pay_y_promotion_id as `swkweb_buy_x_pay_y_promotion.translation.swkwebBuyXPayYPromotionId`, `swkweb_buy_x_pay_y_promotion.translation`.language_id as `swkweb_buy_x_pay_y_promotion.translation.languageId` FROM `swkweb_buy_x_pay_y_promotion_translation` `swkweb_buy_x_pay_y_promotion.translation` WHERE `swkweb_buy_x_pay_y_promotion.translation`.language_id = :languageId) `swkweb_buy_x_pay_y_promotion.swkweb_buy_x_pay_y_promotion_translation` ON `swkweb_buy_x_pay_y_promotion.swkweb_buy_x_pay_y_promotion_translation`.`swkweb_buy_x_pay_y_promotion_id` = `swkweb_buy_x_pay_y_promotion`.`id` WHERE (`swkweb_buy_x_pay_y_promotion`.`active` = :param_e180c30e20a94607a1b7f3997f885749 AND (`swkweb_buy_x_pay_y_promotion`.`rule_id` <=> :param_d932cfb41b5d486da5f90302fcb0ad65 OR `swkweb_buy_x_pay_y_promotion`.`rule_id` IN (:param_0b48d7282a094615a8dddd881572771a)))
SELECT `swkweb_buy_x_pay_y_promotion`.`id` as `swkweb_buy_x_pay_y_promotion.id`, `swkweb_buy_x_pay_y_promotion`.`product_stream_id` as `swkweb_buy_x_pay_y_promotion.productStreamId`, `swkweb_buy_x_pay_y_promotion`.`rule_id` as `swkweb_buy_x_pay_y_promotion.ruleId`, `swkweb_buy_x_pay_y_promotion`.`x` as `swkweb_buy_x_pay_y_promotion.x`, `swkweb_buy_x_pay_y_promotion`.`y` as `swkweb_buy_x_pay_y_promotion.y`, `swkweb_buy_x_pay_y_promotion`.`minimum_quantity` as `swkweb_buy_x_pay_y_promotion.minimumQuantity`, `swkweb_buy_x_pay_y_promotion`.`priority` as `swkweb_buy_x_pay_y_promotion.priority`, `swkweb_buy_x_pay_y_promotion`.`cross_variant` as `swkweb_buy_x_pay_y_promotion.crossVariant`, `swkweb_buy_x_pay_y_promotion`.`active` as `swkweb_buy_x_pay_y_promotion.active`, `swkweb_buy_x_pay_y_promotion`.`created_at` as `swkweb_buy_x_pay_y_promotion.createdAt`, `swkweb_buy_x_pay_y_promotion`.`updated_at` as `swkweb_buy_x_pay_y_promotion.updatedAt`, `swkweb_buy_x_pay_y_promotion.translation.name`, COALESCE(`swkweb_buy_x_pay_y_promotion.translation.name`,`swkweb_buy_x_pay_y_promotion.translation.name`) as `swkweb_buy_x_pay_y_promotion.name`, `swkweb_buy_x_pay_y_promotion.translation.createdAt`, `swkweb_buy_x_pay_y_promotion.translation.updatedAt`, `swkweb_buy_x_pay_y_promotion.translation.swkwebBuyXPayYPromotionId`, `swkweb_buy_x_pay_y_promotion.translation.languageId` FROM `swkweb_buy_x_pay_y_promotion` LEFT JOIN (SELECT `swkweb_buy_x_pay_y_promotion.translation`.swkweb_buy_x_pay_y_promotion_id, `swkweb_buy_x_pay_y_promotion.translation`.name as `swkweb_buy_x_pay_y_promotion.translation.name`, `swkweb_buy_x_pay_y_promotion.translation`.created_at as `swkweb_buy_x_pay_y_promotion.translation.createdAt`, `swkweb_buy_x_pay_y_promotion.translation`.updated_at as `swkweb_buy_x_pay_y_promotion.translation.updatedAt`, `swkweb_buy_x_pay_y_promotion.translation`.swkweb_buy_x_pay_y_promotion_id as `swkweb_buy_x_pay_y_promotion.translation.swkwebBuyXPayYPromotionId`, `swkweb_buy_x_pay_y_promotion.translation`.language_id as `swkweb_buy_x_pay_y_promotion.translation.languageId` FROM `swkweb_buy_x_pay_y_promotion_translation` `swkweb_buy_x_pay_y_promotion.translation` WHERE `swkweb_buy_x_pay_y_promotion.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `swkweb_buy_x_pay_y_promotion.swkweb_buy_x_pay_y_promotion_translation` ON `swkweb_buy_x_pay_y_promotion.swkweb_buy_x_pay_y_promotion_translation`.`swkweb_buy_x_pay_y_promotion_id` = `swkweb_buy_x_pay_y_promotion`.`id` WHERE (`swkweb_buy_x_pay_y_promotion`.`active` = 1 AND (`swkweb_buy_x_pay_y_promotion`.`rule_id` <=> NULL OR `swkweb_buy_x_pay_y_promotion`.`rule_id` IN (0x943B33C8A0624956A790540F675F0C4D, 0x49E60033EEB14964AD30BBB2541A8832, 0x507D0ACF066F4AC8B4A5E137CC6A65D5, 0x624B5351CE6749F68E0173D176FC7D74, 0x6664EB03BA404188B1CEB44C86C2F4BB, 0x6DAC826A6256441C87C2FDB6081C4E3A, 0x9B26F23B3CDE4F7D9518D275C1A14D1F, 0xCBDCB4D7536C4737A1A8B85CC7A4A759, 0xFAA6D68A8D4142719A0B52CF8A4AEB70, 0xA3433694B8EB4972ACD1EEA8911AEC6C, 0x7422B170DEBE43F79CC50E494077221F, 0x98667D6530544F30B14D4DD3561A5F1E, 0x03F641D7F1FA4BC6BA5C7E389D3F75C8, 0x06C4B0A8D59A4314BCA170DDF184FBCC, 0x0CD00083676E4E698F13E56E7DED337E, 0x16A439B4DF044F0E99729504DA3F888B, 0x1BD29ADF87934E51BCBC2A63DF3E5CD7, 0x28AED31540A44BA9AD2D9A1AF4223A50, 0x2B94981FF4724EF48806C61EE5155398, 0x2C4435C3E416497EA27A4D5CF8272A70, 0x383DDA10AA384CBFB8085AE4B0E65523, 0x3F9839BB92EF4196B8807994C96EB9D8, 0x4A4261751E994558AE619EE452C5E734, 0x54CA109BE7B94338B399B13A5D9CA690, 0x58675DF5BEB24367AFB9B8143E10EFA5, 0x5A5CD63E479F4FEFAD4BEAB2D53DA35D, 0x5B69F678101F40C3BBB95AD64C44F6C1, 0x6DDE9727E9C74C4EABC2747E1D81FFF6, 0x789141ACBE5F488297986F908AAABD56, 0x7C9BB971165E472D84AF771316C63242, 0x888B2606F41C41E18E8E62EBD8019726, 0x92F7F88AE2474E9EB9892B37C32DD143, 0x940078F947D9455E8439B4D1C2182575, 0x9481264732284D45BEBE59FB9A5461D0, 0x9B261CFA21ED4A619E487555154A753D, 0x9F4E924D0400499AB8DD44F64D492315, 0xA097168AFD794223882E6B9A7781CA22, 0xA131ECD53AA948BD8B7A0DCD93E2BD64, 0xA61F4E68E3E64ACD8637963EE810F1E9, 0xA737BF970B684532AFE072CF78626D5A, 0xADBABF3ABB1F4814AF355A4E8E7608CB, 0xB2BA1639FA284F66BCB70AFE1E4FC809, 0xB2D13C589ED5471599D3F4AE44172EF5, 0xB4449920AE794758AB3917DF10AA6A55, 0xB4B5B1B73ADD4BC79F1ADF2058A6A07D, 0xBAD21BDBCE4245C9AEDC44EE4841483D, 0xC1D2152268454C9BBB192269BEDDF5B0, 0xC3D21140F4DF402C9BDF65AF4F7EAAAA, 0xC6C4E7EFA22349BA88101C2807529AAB, 0xC98A02691B6E4732BF0AF7340EB52810, 0xCBA25048F5B9450EAF1D33D082F435AB, 0xD397E3B6E772413380F184F80106357D, 0xDAF445C5E5004DDCAE9099F58A5E8D37, 0xE5A8E8AD9D224BED975D755B3C777384, 0xE9229D875BAA4252A041F5AD7D4D1E71, 0xED18BE03BEC042F6AC9F4854184021D1, 0xF23A14DD86DD448FA8108D81081BEA77, 0x2719F76C8EC24125BD739A27F4F44B0E, 0x44A78B87CDC844498AAE3C8A703CCAD0, 0x605E84F76B374BAB8CFCEC73E9218201, 0x609067ECE89D41C7A8933C62C6A2D1D8, 0x8D2A70D519C54E68A71344FEB472B96A, 0x91D10E654A254439925FD6129447F952, 0xBA542F4FF2854B9EB943CBB0473A8D59)));
array:41 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
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 78)"
10 => "Swkweb\BuyXPayY\Core\Checkout\BuyXPayYPromotion\SalesChannel\BuyXPayYPromotionGateway::fetchPromotions (line 50)"
11 => "Swkweb\BuyXPayY\Core\Checkout\BuyXPayYPromotion\SalesChannel\BuyXPayYPromotionGateway::getPromotions (line 49)"
12 => "Swkweb\BuyXPayY\Core\Checkout\BuyXPayYPromotion\Cart\BuyXPayYPromotionProcessor::process (line 114)"
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 88)"
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 45)"
24 => "Madco\Mykey\Core\System\SalesChannel\Context\SalesChannelContextService::get (line 30)"
25 => "Bodymed\Webshop\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 75)"
]
|
12 |
2.88 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_8e718397da92412eae3ffc1b27be171d)
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_8e718397da92412eae3ffc1b27be171d
)
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:43 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
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 88)"
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 45)"
26 => "Madco\Mykey\Core\System\SalesChannel\Context\SalesChannelContextService::get (line 30)"
27 => "Bodymed\Webshop\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 75)"
]
|
13 |
0.87 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:33 [
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 88)"
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 45)"
16 => "Madco\Mykey\Core\System\SalesChannel\Context\SalesChannelContextService::get (line 30)"
17 => "Bodymed\Webshop\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 75)"
]
|
14 |
0.60 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:33 [
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 88)"
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 45)"
16 => "Madco\Mykey\Core\System\SalesChannel\Context\SalesChannelContextService::get (line 30)"
17 => "Bodymed\Webshop\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 75)"
]
|
15 |
0.82 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_84f57a1220cf4bb6b4491b1035be6775)) 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` = 0x620A2217F7474E619CB00AD39E804CCA)) AND (`country`.`id` IN (0xE48353977FA643C0A8D0D7BC81E49C46)) GROUP BY `country`.`id`;
array:37 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
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 88)"
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 45)"
20 => "Madco\Mykey\Core\System\SalesChannel\Context\SalesChannelContextService::get (line 30)"
21 => "Bodymed\Webshop\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 75)"
]
|
16 |
0.79 ms |
SELECT `tag`.`id` as `tag.id`, `tag`.`name` as `tag.name`, `tag`.`created_at` as `tag.createdAt`, `tag`.`updated_at` as `tag.updatedAt` FROM `tag` WHERE (`tag`.`name` LIKE :param_c8d3fd2de14740b791909e89609019ee)
SELECT `tag`.`id` as `tag.id`, `tag`.`name` as `tag.name`, `tag`.`created_at` as `tag.createdAt`, `tag`.`updated_at` as `tag.updatedAt` FROM `tag` WHERE (`tag`.`name` LIKE '%global\\_deutsche\\_umst\\_19%');
array:39 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
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 39)"
10 => "MadFrontendGermanTaxTag\Core\Checkout\MadGermanTaxProcessor::process (line 114)"
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 148)"
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 88)"
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 45)"
22 => "Madco\Mykey\Core\System\SalesChannel\Context\SalesChannelContextService::get (line 30)"
23 => "Bodymed\Webshop\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 75)"
]
|
17 |
0.67 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` WHERE (`tax`.`name` LIKE :param_f0fbe901976d46c59240831ba1636146)
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` WHERE (`tax`.`name` LIKE '%Standard%');
array:39 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
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 48)"
10 => "MadFrontendGermanTaxTag\Core\Checkout\MadGermanTaxProcessor::process (line 114)"
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 148)"
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 88)"
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 45)"
22 => "Madco\Mykey\Core\System\SalesChannel\Context\SalesChannelContextService::get (line 30)"
23 => "Bodymed\Webshop\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 75)"
]
|
18 |
1.61 ms |
SELECT `swkweb_buy_x_pay_y_promotion`.`id` as `swkweb_buy_x_pay_y_promotion.id`, `swkweb_buy_x_pay_y_promotion`.`product_stream_id` as `swkweb_buy_x_pay_y_promotion.productStreamId`, `swkweb_buy_x_pay_y_promotion`.`rule_id` as `swkweb_buy_x_pay_y_promotion.ruleId`, `swkweb_buy_x_pay_y_promotion`.`x` as `swkweb_buy_x_pay_y_promotion.x`, `swkweb_buy_x_pay_y_promotion`.`y` as `swkweb_buy_x_pay_y_promotion.y`, `swkweb_buy_x_pay_y_promotion`.`minimum_quantity` as `swkweb_buy_x_pay_y_promotion.minimumQuantity`, `swkweb_buy_x_pay_y_promotion`.`priority` as `swkweb_buy_x_pay_y_promotion.priority`, `swkweb_buy_x_pay_y_promotion`.`cross_variant` as `swkweb_buy_x_pay_y_promotion.crossVariant`, `swkweb_buy_x_pay_y_promotion`.`active` as `swkweb_buy_x_pay_y_promotion.active`, `swkweb_buy_x_pay_y_promotion`.`created_at` as `swkweb_buy_x_pay_y_promotion.createdAt`, `swkweb_buy_x_pay_y_promotion`.`updated_at` as `swkweb_buy_x_pay_y_promotion.updatedAt`, `swkweb_buy_x_pay_y_promotion.translation.name`, COALESCE(`swkweb_buy_x_pay_y_promotion.translation.name`,`swkweb_buy_x_pay_y_promotion.translation.name`) as `swkweb_buy_x_pay_y_promotion.name`, `swkweb_buy_x_pay_y_promotion.translation.createdAt`, `swkweb_buy_x_pay_y_promotion.translation.updatedAt`, `swkweb_buy_x_pay_y_promotion.translation.swkwebBuyXPayYPromotionId`, `swkweb_buy_x_pay_y_promotion.translation.languageId` FROM `swkweb_buy_x_pay_y_promotion` LEFT JOIN (SELECT `swkweb_buy_x_pay_y_promotion.translation`.swkweb_buy_x_pay_y_promotion_id, `swkweb_buy_x_pay_y_promotion.translation`.name as `swkweb_buy_x_pay_y_promotion.translation.name`, `swkweb_buy_x_pay_y_promotion.translation`.created_at as `swkweb_buy_x_pay_y_promotion.translation.createdAt`, `swkweb_buy_x_pay_y_promotion.translation`.updated_at as `swkweb_buy_x_pay_y_promotion.translation.updatedAt`, `swkweb_buy_x_pay_y_promotion.translation`.swkweb_buy_x_pay_y_promotion_id as `swkweb_buy_x_pay_y_promotion.translation.swkwebBuyXPayYPromotionId`, `swkweb_buy_x_pay_y_promotion.translation`.language_id as `swkweb_buy_x_pay_y_promotion.translation.languageId` FROM `swkweb_buy_x_pay_y_promotion_translation` `swkweb_buy_x_pay_y_promotion.translation` WHERE `swkweb_buy_x_pay_y_promotion.translation`.language_id = :languageId) `swkweb_buy_x_pay_y_promotion.swkweb_buy_x_pay_y_promotion_translation` ON `swkweb_buy_x_pay_y_promotion.swkweb_buy_x_pay_y_promotion_translation`.`swkweb_buy_x_pay_y_promotion_id` = `swkweb_buy_x_pay_y_promotion`.`id` WHERE (`swkweb_buy_x_pay_y_promotion`.`active` = :param_28638a40ca1140a89c5ab2742bddde17 AND (`swkweb_buy_x_pay_y_promotion`.`rule_id` <=> :param_204d9e21306c49d79827cb6488e78e0b OR `swkweb_buy_x_pay_y_promotion`.`rule_id` IN (:param_dbf25a8f64c34b4fa78c542412a7b726)))
SELECT `swkweb_buy_x_pay_y_promotion`.`id` as `swkweb_buy_x_pay_y_promotion.id`, `swkweb_buy_x_pay_y_promotion`.`product_stream_id` as `swkweb_buy_x_pay_y_promotion.productStreamId`, `swkweb_buy_x_pay_y_promotion`.`rule_id` as `swkweb_buy_x_pay_y_promotion.ruleId`, `swkweb_buy_x_pay_y_promotion`.`x` as `swkweb_buy_x_pay_y_promotion.x`, `swkweb_buy_x_pay_y_promotion`.`y` as `swkweb_buy_x_pay_y_promotion.y`, `swkweb_buy_x_pay_y_promotion`.`minimum_quantity` as `swkweb_buy_x_pay_y_promotion.minimumQuantity`, `swkweb_buy_x_pay_y_promotion`.`priority` as `swkweb_buy_x_pay_y_promotion.priority`, `swkweb_buy_x_pay_y_promotion`.`cross_variant` as `swkweb_buy_x_pay_y_promotion.crossVariant`, `swkweb_buy_x_pay_y_promotion`.`active` as `swkweb_buy_x_pay_y_promotion.active`, `swkweb_buy_x_pay_y_promotion`.`created_at` as `swkweb_buy_x_pay_y_promotion.createdAt`, `swkweb_buy_x_pay_y_promotion`.`updated_at` as `swkweb_buy_x_pay_y_promotion.updatedAt`, `swkweb_buy_x_pay_y_promotion.translation.name`, COALESCE(`swkweb_buy_x_pay_y_promotion.translation.name`,`swkweb_buy_x_pay_y_promotion.translation.name`) as `swkweb_buy_x_pay_y_promotion.name`, `swkweb_buy_x_pay_y_promotion.translation.createdAt`, `swkweb_buy_x_pay_y_promotion.translation.updatedAt`, `swkweb_buy_x_pay_y_promotion.translation.swkwebBuyXPayYPromotionId`, `swkweb_buy_x_pay_y_promotion.translation.languageId` FROM `swkweb_buy_x_pay_y_promotion` LEFT JOIN (SELECT `swkweb_buy_x_pay_y_promotion.translation`.swkweb_buy_x_pay_y_promotion_id, `swkweb_buy_x_pay_y_promotion.translation`.name as `swkweb_buy_x_pay_y_promotion.translation.name`, `swkweb_buy_x_pay_y_promotion.translation`.created_at as `swkweb_buy_x_pay_y_promotion.translation.createdAt`, `swkweb_buy_x_pay_y_promotion.translation`.updated_at as `swkweb_buy_x_pay_y_promotion.translation.updatedAt`, `swkweb_buy_x_pay_y_promotion.translation`.swkweb_buy_x_pay_y_promotion_id as `swkweb_buy_x_pay_y_promotion.translation.swkwebBuyXPayYPromotionId`, `swkweb_buy_x_pay_y_promotion.translation`.language_id as `swkweb_buy_x_pay_y_promotion.translation.languageId` FROM `swkweb_buy_x_pay_y_promotion_translation` `swkweb_buy_x_pay_y_promotion.translation` WHERE `swkweb_buy_x_pay_y_promotion.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `swkweb_buy_x_pay_y_promotion.swkweb_buy_x_pay_y_promotion_translation` ON `swkweb_buy_x_pay_y_promotion.swkweb_buy_x_pay_y_promotion_translation`.`swkweb_buy_x_pay_y_promotion_id` = `swkweb_buy_x_pay_y_promotion`.`id` WHERE (`swkweb_buy_x_pay_y_promotion`.`active` = 1 AND (`swkweb_buy_x_pay_y_promotion`.`rule_id` <=> NULL OR `swkweb_buy_x_pay_y_promotion`.`rule_id` IN (0x49E60033EEB14964AD30BBB2541A8832, 0x507D0ACF066F4AC8B4A5E137CC6A65D5, 0x624B5351CE6749F68E0173D176FC7D74, 0x1BD29ADF87934E51BCBC2A63DF3E5CD7, 0x54CA109BE7B94338B399B13A5D9CA690, 0x5B69F678101F40C3BBB95AD64C44F6C1, 0x888B2606F41C41E18E8E62EBD8019726, 0xB4449920AE794758AB3917DF10AA6A55, 0xC3D21140F4DF402C9BDF65AF4F7EAAAA, 0x605E84F76B374BAB8CFCEC73E9218201, 0xBA542F4FF2854B9EB943CBB0473A8D59)));
array:41 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
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 78)"
10 => "Swkweb\BuyXPayY\Core\Checkout\BuyXPayYPromotion\SalesChannel\BuyXPayYPromotionGateway::fetchPromotions (line 50)"
11 => "Swkweb\BuyXPayY\Core\Checkout\BuyXPayYPromotion\SalesChannel\BuyXPayYPromotionGateway::getPromotions (line 49)"
12 => "Swkweb\BuyXPayY\Core\Checkout\BuyXPayYPromotion\Cart\BuyXPayYPromotionProcessor::process (line 114)"
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 148)"
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 88)"
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 45)"
24 => "Madco\Mykey\Core\System\SalesChannel\Context\SalesChannelContextService::get (line 30)"
25 => "Bodymed\Webshop\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 75)"
]
|
19 |
2.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`.`active` = :param_e398eabfc1c8436fa00563db5202fd46)
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_e398eabfc1c8436fa00563db5202fd46
)
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:43 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
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 88)"
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 45)"
26 => "Madco\Mykey\Core\System\SalesChannel\Context\SalesChannelContextService::get (line 30)"
27 => "Bodymed\Webshop\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 75)"
]
|
20 |
0.92 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:33 [
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 88)"
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 45)"
16 => "Madco\Mykey\Core\System\SalesChannel\Context\SalesChannelContextService::get (line 30)"
17 => "Bodymed\Webshop\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 75)"
]
|
21 |
0.60 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:33 [
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 88)"
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 45)"
16 => "Madco\Mykey\Core\System\SalesChannel\Context\SalesChannelContextService::get (line 30)"
17 => "Bodymed\Webshop\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 75)"
]
|
22 |
5.94 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 (0x5D85C8874BEB4BDABD00BF4B9FD03737));
array:33 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
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 127)"
8 => "Shopware\Core\Content\Category\SalesChannel\CategoryRoute::loadCategory (line 77)"
9 => "Shopware\Core\Content\Category\SalesChannel\CategoryRoute::load (line 103)"
10 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::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 104)"
20 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::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 109)"
23 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 59)"
24 => "Shopware\Core\Profiling\Profiler::trace (line 112)"
25 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::load (line 66)"
26 => "Shopware\Storefront\Page\Navigation\NavigationPageLoader::load (line 48)"
27 => "Shopware\Storefront\Controller\NavigationController::home (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 75)"
]
|
23 |
0.78 ms |
SELECT `name`, `type` FROM `custom_field` WHERE `active` = 1
SELECT `name`, `type` FROM `custom_field` WHERE `active` = 1;
array:40 [
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 317)"
7 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityHydrator::translate (line 75)"
8 => "Shopware\Core\Content\Category\CategoryHydrator::assign (line 546)"
9 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityHydrator::hydrateEntity (line 88)"
10 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityHydrator::hydrate (line 150)"
11 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 93)"
12 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::read (line 195)"
13 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::read (line 117)"
14 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 127)"
15 => "Shopware\Core\Content\Category\SalesChannel\CategoryRoute::loadCategory (line 77)"
16 => "Shopware\Core\Content\Category\SalesChannel\CategoryRoute::load (line 103)"
17 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{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 104)"
27 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 72)"
28 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
29 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 109)"
30 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 59)"
31 => "Shopware\Core\Profiling\Profiler::trace (line 112)"
32 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::load (line 66)"
33 => "Shopware\Storefront\Page\Navigation\NavigationPageLoader::load (line 48)"
34 => "Shopware\Storefront\Controller\NavigationController::home (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 75)"
]
|
24 |
1.41 ms |
SELECT `cms_page`.`id` as `cms_page.id`, `cms_page`.`version_id` as `cms_page.versionId`, `cms_page`.`type` as `cms_page.type`, `cms_page`.`entity` as `cms_page.entity`, `cms_page`.`css_class` as `cms_page.cssClass`, `cms_page`.`config` as `cms_page.config`, `cms_page`.`preview_media_id` as `cms_page.previewMediaId`, `cms_page`.`locked` as `cms_page.locked`, `cms_page`.`created_at` as `cms_page.createdAt`, `cms_page`.`updated_at` as `cms_page.updatedAt`, `cms_page.translation.name`, COALESCE(`cms_page.translation.name`,`cms_page.translation.name`) as `cms_page.name`, `cms_page.translation.customFields`, COALESCE(`cms_page.translation.customFields`,`cms_page.translation.customFields`) as `cms_page.customFields`, `cms_page.translation.createdAt`, `cms_page.translation.updatedAt`, `cms_page.translation.cmsPageId`, `cms_page.translation.languageId`, `cms_page.translation.cmsPageVersionId` FROM `cms_page` LEFT JOIN (SELECT `cms_page.translation`.cms_page_id, `cms_page.translation`.cms_page_version_id, `cms_page.translation`.name as `cms_page.translation.name`, `cms_page.translation`.custom_fields as `cms_page.translation.customFields`, `cms_page.translation`.created_at as `cms_page.translation.createdAt`, `cms_page.translation`.updated_at as `cms_page.translation.updatedAt`, `cms_page.translation`.cms_page_id as `cms_page.translation.cmsPageId`, `cms_page.translation`.language_id as `cms_page.translation.languageId`, `cms_page.translation`.cms_page_version_id as `cms_page.translation.cmsPageVersionId` FROM `cms_page_translation` `cms_page.translation` WHERE `cms_page.translation`.language_id = :languageId) `cms_page.cms_page_translation` ON `cms_page.cms_page_translation`.`cms_page_id` = `cms_page`.`id` AND `cms_page.cms_page_translation`.cms_page_version_id = `cms_page`.version_id WHERE (`cms_page`.`version_id` = :version) AND (`cms_page`.`id` IN (:ids))
SELECT `cms_page`.`id` as `cms_page.id`, `cms_page`.`version_id` as `cms_page.versionId`, `cms_page`.`type` as `cms_page.type`, `cms_page`.`entity` as `cms_page.entity`, `cms_page`.`css_class` as `cms_page.cssClass`, `cms_page`.`config` as `cms_page.config`, `cms_page`.`preview_media_id` as `cms_page.previewMediaId`, `cms_page`.`locked` as `cms_page.locked`, `cms_page`.`created_at` as `cms_page.createdAt`, `cms_page`.`updated_at` as `cms_page.updatedAt`, `cms_page.translation.name`, COALESCE(`cms_page.translation.name`,`cms_page.translation.name`) as `cms_page.name`, `cms_page.translation.customFields`, COALESCE(`cms_page.translation.customFields`,`cms_page.translation.customFields`) as `cms_page.customFields`, `cms_page.translation.createdAt`, `cms_page.translation.updatedAt`, `cms_page.translation.cmsPageId`, `cms_page.translation.languageId`, `cms_page.translation.cmsPageVersionId` FROM `cms_page` LEFT JOIN (SELECT `cms_page.translation`.cms_page_id, `cms_page.translation`.cms_page_version_id, `cms_page.translation`.name as `cms_page.translation.name`, `cms_page.translation`.custom_fields as `cms_page.translation.customFields`, `cms_page.translation`.created_at as `cms_page.translation.createdAt`, `cms_page.translation`.updated_at as `cms_page.translation.updatedAt`, `cms_page.translation`.cms_page_id as `cms_page.translation.cmsPageId`, `cms_page.translation`.language_id as `cms_page.translation.languageId`, `cms_page.translation`.cms_page_version_id as `cms_page.translation.cmsPageVersionId` FROM `cms_page_translation` `cms_page.translation` WHERE `cms_page.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `cms_page.cms_page_translation` ON `cms_page.cms_page_translation`.`cms_page_id` = `cms_page`.`id` AND `cms_page.cms_page_translation`.cms_page_version_id = `cms_page`.version_id WHERE (`cms_page`.`version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425) AND (`cms_page`.`id` IN (0x81AD50723E174C2782E9690CE33D68C6));
array:37 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
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 59)"
12 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::load (line 102)"
13 => "Shopware\Core\Content\Category\SalesChannel\CategoryRoute::load (line 103)"
14 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{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 104)"
24 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 72)"
25 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
26 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 109)"
27 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 59)"
28 => "Shopware\Core\Profiling\Profiler::trace (line 112)"
29 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::load (line 66)"
30 => "Shopware\Storefront\Page\Navigation\NavigationPageLoader::load (line 48)"
31 => "Shopware\Storefront\Controller\NavigationController::home (line 163)"
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 75)"
]
|
25 |
2.79 ms |
SELECT `cms_section`.`id` as `cms_section.id`, `cms_section`.`position` as `cms_section.position`, `cms_section`.`type` as `cms_section.type`, `cms_section`.`locked` as `cms_section.locked`, `cms_section`.`name` as `cms_section.name`, `cms_section`.`sizing_mode` as `cms_section.sizingMode`, `cms_section`.`mobile_behavior` as `cms_section.mobileBehavior`, `cms_section`.`background_color` as `cms_section.backgroundColor`, `cms_section`.`background_media_id` as `cms_section.backgroundMediaId`, `cms_section`.`background_media_mode` as `cms_section.backgroundMediaMode`, `cms_section`.`css_class` as `cms_section.cssClass`, `cms_section`.`cms_page_id` as `cms_section.pageId`, `cms_section`.`visibility` as `cms_section.visibility`, `cms_section`.`custom_fields` as `cms_section.customFields`, `cms_section`.`version_id` as `cms_section.versionId`, `cms_section`.`cms_page_version_id` as `cms_section.cmsPageVersionId`, `cms_section`.`created_at` as `cms_section.createdAt`, `cms_section`.`updated_at` as `cms_section.updatedAt`, `cms_section.backgroundMedia`.`id` as `cms_section.backgroundMedia.id`, `cms_section.backgroundMedia`.`user_id` as `cms_section.backgroundMedia.userId`, `cms_section.backgroundMedia`.`media_folder_id` as `cms_section.backgroundMedia.mediaFolderId`, `cms_section.backgroundMedia`.`mime_type` as `cms_section.backgroundMedia.mimeType`, `cms_section.backgroundMedia`.`file_extension` as `cms_section.backgroundMedia.fileExtension`, `cms_section.backgroundMedia`.`uploaded_at` as `cms_section.backgroundMedia.uploadedAt`, `cms_section.backgroundMedia`.`file_name` as `cms_section.backgroundMedia.fileName`, `cms_section.backgroundMedia`.`file_size` as `cms_section.backgroundMedia.fileSize`, `cms_section.backgroundMedia`.`media_type` as `cms_section.backgroundMedia.mediaTypeRaw`, `cms_section.backgroundMedia`.`meta_data` as `cms_section.backgroundMedia.metaData`, `cms_section.backgroundMedia`.`private` as `cms_section.backgroundMedia.private`, `cms_section.backgroundMedia`.`thumbnails_ro` as `cms_section.backgroundMedia.thumbnailsRo`, `cms_section.backgroundMedia`.`created_at` as `cms_section.backgroundMedia.createdAt`, `cms_section.backgroundMedia`.`updated_at` as `cms_section.backgroundMedia.updatedAt`, `cms_section.backgroundMedia.translation.title`, COALESCE(`cms_section.backgroundMedia.translation.title`,`cms_section.backgroundMedia.translation.title`) as `cms_section.backgroundMedia.title`, `cms_section.backgroundMedia.translation.alt`, COALESCE(`cms_section.backgroundMedia.translation.alt`,`cms_section.backgroundMedia.translation.alt`) as `cms_section.backgroundMedia.alt`, `cms_section.backgroundMedia.translation.customFields`, COALESCE(`cms_section.backgroundMedia.translation.customFields`,`cms_section.backgroundMedia.translation.customFields`) as `cms_section.backgroundMedia.customFields`, `cms_section.backgroundMedia.translation.createdAt`, `cms_section.backgroundMedia.translation.updatedAt`, `cms_section.backgroundMedia.translation.mediaId`, `cms_section.backgroundMedia.translation.languageId` FROM `cms_section` LEFT JOIN `media` `cms_section.backgroundMedia` ON `cms_section`.`background_media_id` = `cms_section.backgroundMedia`.`id` LEFT JOIN (SELECT `cms_section.backgroundMedia.translation`.media_id, `cms_section.backgroundMedia.translation`.title as `cms_section.backgroundMedia.translation.title`, `cms_section.backgroundMedia.translation`.alt as `cms_section.backgroundMedia.translation.alt`, `cms_section.backgroundMedia.translation`.custom_fields as `cms_section.backgroundMedia.translation.customFields`, `cms_section.backgroundMedia.translation`.created_at as `cms_section.backgroundMedia.translation.createdAt`, `cms_section.backgroundMedia.translation`.updated_at as `cms_section.backgroundMedia.translation.updatedAt`, `cms_section.backgroundMedia.translation`.media_id as `cms_section.backgroundMedia.translation.mediaId`, `cms_section.backgroundMedia.translation`.language_id as `cms_section.backgroundMedia.translation.languageId` FROM `media_translation` `cms_section.backgroundMedia.translation` WHERE `cms_section.backgroundMedia.translation`.language_id = :languageId) `cms_section.backgroundMedia.media_translation` ON `cms_section.backgroundMedia.media_translation`.`media_id` = `cms_section.backgroundMedia`.`id` WHERE (`cms_section`.`version_id` = :version) AND ((`cms_section`.`cms_page_id` IN (:param_c0701a05665a4cbc83b719a5d95dbd45)))
SELECT
`cms_section`.`id` as `cms_section.id`,
`cms_section`.`position` as `cms_section.position`,
`cms_section`.`type` as `cms_section.type`,
`cms_section`.`locked` as `cms_section.locked`,
`cms_section`.`name` as `cms_section.name`,
`cms_section`.`sizing_mode` as `cms_section.sizingMode`,
`cms_section`.`mobile_behavior` as `cms_section.mobileBehavior`,
`cms_section`.`background_color` as `cms_section.backgroundColor`,
`cms_section`.`background_media_id` as `cms_section.backgroundMediaId`,
`cms_section`.`background_media_mode` as `cms_section.backgroundMediaMode`,
`cms_section`.`css_class` as `cms_section.cssClass`,
`cms_section`.`cms_page_id` as `cms_section.pageId`,
`cms_section`.`visibility` as `cms_section.visibility`,
`cms_section`.`custom_fields` as `cms_section.customFields`,
`cms_section`.`version_id` as `cms_section.versionId`,
`cms_section`.`cms_page_version_id` as `cms_section.cmsPageVersionId`,
`cms_section`.`created_at` as `cms_section.createdAt`,
`cms_section`.`updated_at` as `cms_section.updatedAt`,
`cms_section.backgroundMedia`.`id` as `cms_section.backgroundMedia.id`,
`cms_section.backgroundMedia`.`user_id` as `cms_section.backgroundMedia.userId`,
`cms_section.backgroundMedia`.`media_folder_id` as `cms_section.backgroundMedia.mediaFolderId`,
`cms_section.backgroundMedia`.`mime_type` as `cms_section.backgroundMedia.mimeType`,
`cms_section.backgroundMedia`.`file_extension` as `cms_section.backgroundMedia.fileExtension`,
`cms_section.backgroundMedia`.`uploaded_at` as `cms_section.backgroundMedia.uploadedAt`,
`cms_section.backgroundMedia`.`file_name` as `cms_section.backgroundMedia.fileName`,
`cms_section.backgroundMedia`.`file_size` as `cms_section.backgroundMedia.fileSize`,
`cms_section.backgroundMedia`.`media_type` as `cms_section.backgroundMedia.mediaTypeRaw`,
`cms_section.backgroundMedia`.`meta_data` as `cms_section.backgroundMedia.metaData`,
`cms_section.backgroundMedia`.`private` as `cms_section.backgroundMedia.private`,
`cms_section.backgroundMedia`.`thumbnails_ro` as `cms_section.backgroundMedia.thumbnailsRo`,
`cms_section.backgroundMedia`.`created_at` as `cms_section.backgroundMedia.createdAt`,
`cms_section.backgroundMedia`.`updated_at` as `cms_section.backgroundMedia.updatedAt`,
`cms_section.backgroundMedia.translation.title`,
COALESCE(
`cms_section.backgroundMedia.translation.title`,
`cms_section.backgroundMedia.translation.title`
) as `cms_section.backgroundMedia.title`,
`cms_section.backgroundMedia.translation.alt`,
COALESCE(
`cms_section.backgroundMedia.translation.alt`,
`cms_section.backgroundMedia.translation.alt`
) as `cms_section.backgroundMedia.alt`,
`cms_section.backgroundMedia.translation.customFields`,
COALESCE(
`cms_section.backgroundMedia.translation.customFields`,
`cms_section.backgroundMedia.translation.customFields`
) as `cms_section.backgroundMedia.customFields`,
`cms_section.backgroundMedia.translation.createdAt`,
`cms_section.backgroundMedia.translation.updatedAt`,
`cms_section.backgroundMedia.translation.mediaId`,
`cms_section.backgroundMedia.translation.languageId`
FROM
`cms_section`
LEFT JOIN `media` `cms_section.backgroundMedia` ON `cms_section`.`background_media_id` = `cms_section.backgroundMedia`.`id`
LEFT JOIN (
SELECT
`cms_section.backgroundMedia.translation`.media_id,
`cms_section.backgroundMedia.translation`.title as `cms_section.backgroundMedia.translation.title`,
`cms_section.backgroundMedia.translation`.alt as `cms_section.backgroundMedia.translation.alt`,
`cms_section.backgroundMedia.translation`.custom_fields as `cms_section.backgroundMedia.translation.customFields`,
`cms_section.backgroundMedia.translation`.created_at as `cms_section.backgroundMedia.translation.createdAt`,
`cms_section.backgroundMedia.translation`.updated_at as `cms_section.backgroundMedia.translation.updatedAt`,
`cms_section.backgroundMedia.translation`.media_id as `cms_section.backgroundMedia.translation.mediaId`,
`cms_section.backgroundMedia.translation`.language_id as `cms_section.backgroundMedia.translation.languageId`
FROM
`media_translation` `cms_section.backgroundMedia.translation`
WHERE
`cms_section.backgroundMedia.translation`.language_id = : languageId
) `cms_section.backgroundMedia.media_translation` ON `cms_section.backgroundMedia.media_translation`.`media_id` = `cms_section.backgroundMedia`.`id`
WHERE
(
`cms_section`.`version_id` = : version
)
AND (
(
`cms_section`.`cms_page_id` IN (
: param_c0701a05665a4cbc83b719a5d95dbd45
)
)
)
SELECT `cms_section`.`id` as `cms_section.id`, `cms_section`.`position` as `cms_section.position`, `cms_section`.`type` as `cms_section.type`, `cms_section`.`locked` as `cms_section.locked`, `cms_section`.`name` as `cms_section.name`, `cms_section`.`sizing_mode` as `cms_section.sizingMode`, `cms_section`.`mobile_behavior` as `cms_section.mobileBehavior`, `cms_section`.`background_color` as `cms_section.backgroundColor`, `cms_section`.`background_media_id` as `cms_section.backgroundMediaId`, `cms_section`.`background_media_mode` as `cms_section.backgroundMediaMode`, `cms_section`.`css_class` as `cms_section.cssClass`, `cms_section`.`cms_page_id` as `cms_section.pageId`, `cms_section`.`visibility` as `cms_section.visibility`, `cms_section`.`custom_fields` as `cms_section.customFields`, `cms_section`.`version_id` as `cms_section.versionId`, `cms_section`.`cms_page_version_id` as `cms_section.cmsPageVersionId`, `cms_section`.`created_at` as `cms_section.createdAt`, `cms_section`.`updated_at` as `cms_section.updatedAt`, `cms_section.backgroundMedia`.`id` as `cms_section.backgroundMedia.id`, `cms_section.backgroundMedia`.`user_id` as `cms_section.backgroundMedia.userId`, `cms_section.backgroundMedia`.`media_folder_id` as `cms_section.backgroundMedia.mediaFolderId`, `cms_section.backgroundMedia`.`mime_type` as `cms_section.backgroundMedia.mimeType`, `cms_section.backgroundMedia`.`file_extension` as `cms_section.backgroundMedia.fileExtension`, `cms_section.backgroundMedia`.`uploaded_at` as `cms_section.backgroundMedia.uploadedAt`, `cms_section.backgroundMedia`.`file_name` as `cms_section.backgroundMedia.fileName`, `cms_section.backgroundMedia`.`file_size` as `cms_section.backgroundMedia.fileSize`, `cms_section.backgroundMedia`.`media_type` as `cms_section.backgroundMedia.mediaTypeRaw`, `cms_section.backgroundMedia`.`meta_data` as `cms_section.backgroundMedia.metaData`, `cms_section.backgroundMedia`.`private` as `cms_section.backgroundMedia.private`, `cms_section.backgroundMedia`.`thumbnails_ro` as `cms_section.backgroundMedia.thumbnailsRo`, `cms_section.backgroundMedia`.`created_at` as `cms_section.backgroundMedia.createdAt`, `cms_section.backgroundMedia`.`updated_at` as `cms_section.backgroundMedia.updatedAt`, `cms_section.backgroundMedia.translation.title`, COALESCE(`cms_section.backgroundMedia.translation.title`,`cms_section.backgroundMedia.translation.title`) as `cms_section.backgroundMedia.title`, `cms_section.backgroundMedia.translation.alt`, COALESCE(`cms_section.backgroundMedia.translation.alt`,`cms_section.backgroundMedia.translation.alt`) as `cms_section.backgroundMedia.alt`, `cms_section.backgroundMedia.translation.customFields`, COALESCE(`cms_section.backgroundMedia.translation.customFields`,`cms_section.backgroundMedia.translation.customFields`) as `cms_section.backgroundMedia.customFields`, `cms_section.backgroundMedia.translation.createdAt`, `cms_section.backgroundMedia.translation.updatedAt`, `cms_section.backgroundMedia.translation.mediaId`, `cms_section.backgroundMedia.translation.languageId` FROM `cms_section` LEFT JOIN `media` `cms_section.backgroundMedia` ON `cms_section`.`background_media_id` = `cms_section.backgroundMedia`.`id` LEFT JOIN (SELECT `cms_section.backgroundMedia.translation`.media_id, `cms_section.backgroundMedia.translation`.title as `cms_section.backgroundMedia.translation.title`, `cms_section.backgroundMedia.translation`.alt as `cms_section.backgroundMedia.translation.alt`, `cms_section.backgroundMedia.translation`.custom_fields as `cms_section.backgroundMedia.translation.customFields`, `cms_section.backgroundMedia.translation`.created_at as `cms_section.backgroundMedia.translation.createdAt`, `cms_section.backgroundMedia.translation`.updated_at as `cms_section.backgroundMedia.translation.updatedAt`, `cms_section.backgroundMedia.translation`.media_id as `cms_section.backgroundMedia.translation.mediaId`, `cms_section.backgroundMedia.translation`.language_id as `cms_section.backgroundMedia.translation.languageId` FROM `media_translation` `cms_section.backgroundMedia.translation` WHERE `cms_section.backgroundMedia.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `cms_section.backgroundMedia.media_translation` ON `cms_section.backgroundMedia.media_translation`.`media_id` = `cms_section.backgroundMedia`.`id` WHERE (`cms_section`.`version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425) AND ((`cms_section`.`cms_page_id` IN (0x81AD50723E174C2782E9690CE33D68C6)));
array:41 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
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 59)"
16 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::load (line 102)"
17 => "Shopware\Core\Content\Category\SalesChannel\CategoryRoute::load (line 103)"
18 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{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 104)"
28 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 72)"
29 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
30 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 109)"
31 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 59)"
32 => "Shopware\Core\Profiling\Profiler::trace (line 112)"
33 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::load (line 66)"
34 => "Shopware\Storefront\Page\Navigation\NavigationPageLoader::load (line 48)"
35 => "Shopware\Storefront\Controller\NavigationController::home (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 75)"
]
|
26 |
2.95 ms |
SELECT `cms_block`.`id` as `cms_block.id`, `cms_block`.`position` as `cms_block.position`, `cms_block`.`type` as `cms_block.type`, `cms_block`.`locked` as `cms_block.locked`, `cms_block`.`name` as `cms_block.name`, `cms_block`.`section_position` as `cms_block.sectionPosition`, `cms_block`.`margin_top` as `cms_block.marginTop`, `cms_block`.`margin_bottom` as `cms_block.marginBottom`, `cms_block`.`margin_left` as `cms_block.marginLeft`, `cms_block`.`margin_right` as `cms_block.marginRight`, `cms_block`.`background_color` as `cms_block.backgroundColor`, `cms_block`.`background_media_id` as `cms_block.backgroundMediaId`, `cms_block`.`background_media_mode` as `cms_block.backgroundMediaMode`, `cms_block`.`css_class` as `cms_block.cssClass`, `cms_block`.`visibility` as `cms_block.visibility`, `cms_block`.`cms_section_id` as `cms_block.sectionId`, `cms_block`.`custom_fields` as `cms_block.customFields`, `cms_block`.`version_id` as `cms_block.versionId`, `cms_block`.`cms_section_version_id` as `cms_block.cmsSectionVersionId`, `cms_block`.`created_at` as `cms_block.createdAt`, `cms_block`.`updated_at` as `cms_block.updatedAt`, `cms_block.backgroundMedia`.`id` as `cms_block.backgroundMedia.id`, `cms_block.backgroundMedia`.`user_id` as `cms_block.backgroundMedia.userId`, `cms_block.backgroundMedia`.`media_folder_id` as `cms_block.backgroundMedia.mediaFolderId`, `cms_block.backgroundMedia`.`mime_type` as `cms_block.backgroundMedia.mimeType`, `cms_block.backgroundMedia`.`file_extension` as `cms_block.backgroundMedia.fileExtension`, `cms_block.backgroundMedia`.`uploaded_at` as `cms_block.backgroundMedia.uploadedAt`, `cms_block.backgroundMedia`.`file_name` as `cms_block.backgroundMedia.fileName`, `cms_block.backgroundMedia`.`file_size` as `cms_block.backgroundMedia.fileSize`, `cms_block.backgroundMedia`.`media_type` as `cms_block.backgroundMedia.mediaTypeRaw`, `cms_block.backgroundMedia`.`meta_data` as `cms_block.backgroundMedia.metaData`, `cms_block.backgroundMedia`.`private` as `cms_block.backgroundMedia.private`, `cms_block.backgroundMedia`.`thumbnails_ro` as `cms_block.backgroundMedia.thumbnailsRo`, `cms_block.backgroundMedia`.`created_at` as `cms_block.backgroundMedia.createdAt`, `cms_block.backgroundMedia`.`updated_at` as `cms_block.backgroundMedia.updatedAt`, `cms_block.backgroundMedia.translation.title`, COALESCE(`cms_block.backgroundMedia.translation.title`,`cms_block.backgroundMedia.translation.title`) as `cms_block.backgroundMedia.title`, `cms_block.backgroundMedia.translation.alt`, COALESCE(`cms_block.backgroundMedia.translation.alt`,`cms_block.backgroundMedia.translation.alt`) as `cms_block.backgroundMedia.alt`, `cms_block.backgroundMedia.translation.customFields`, COALESCE(`cms_block.backgroundMedia.translation.customFields`,`cms_block.backgroundMedia.translation.customFields`) as `cms_block.backgroundMedia.customFields`, `cms_block.backgroundMedia.translation.createdAt`, `cms_block.backgroundMedia.translation.updatedAt`, `cms_block.backgroundMedia.translation.mediaId`, `cms_block.backgroundMedia.translation.languageId` FROM `cms_block` LEFT JOIN `media` `cms_block.backgroundMedia` ON `cms_block`.`background_media_id` = `cms_block.backgroundMedia`.`id` LEFT JOIN (SELECT `cms_block.backgroundMedia.translation`.media_id, `cms_block.backgroundMedia.translation`.title as `cms_block.backgroundMedia.translation.title`, `cms_block.backgroundMedia.translation`.alt as `cms_block.backgroundMedia.translation.alt`, `cms_block.backgroundMedia.translation`.custom_fields as `cms_block.backgroundMedia.translation.customFields`, `cms_block.backgroundMedia.translation`.created_at as `cms_block.backgroundMedia.translation.createdAt`, `cms_block.backgroundMedia.translation`.updated_at as `cms_block.backgroundMedia.translation.updatedAt`, `cms_block.backgroundMedia.translation`.media_id as `cms_block.backgroundMedia.translation.mediaId`, `cms_block.backgroundMedia.translation`.language_id as `cms_block.backgroundMedia.translation.languageId` FROM `media_translation` `cms_block.backgroundMedia.translation` WHERE `cms_block.backgroundMedia.translation`.language_id = :languageId) `cms_block.backgroundMedia.media_translation` ON `cms_block.backgroundMedia.media_translation`.`media_id` = `cms_block.backgroundMedia`.`id` WHERE (`cms_block`.`version_id` = :version) AND ((`cms_block`.`cms_section_id` IN (:param_c0bfc9219d9c4d88bc8e67602b6e35bc)))
SELECT
`cms_block`.`id` as `cms_block.id`,
`cms_block`.`position` as `cms_block.position`,
`cms_block`.`type` as `cms_block.type`,
`cms_block`.`locked` as `cms_block.locked`,
`cms_block`.`name` as `cms_block.name`,
`cms_block`.`section_position` as `cms_block.sectionPosition`,
`cms_block`.`margin_top` as `cms_block.marginTop`,
`cms_block`.`margin_bottom` as `cms_block.marginBottom`,
`cms_block`.`margin_left` as `cms_block.marginLeft`,
`cms_block`.`margin_right` as `cms_block.marginRight`,
`cms_block`.`background_color` as `cms_block.backgroundColor`,
`cms_block`.`background_media_id` as `cms_block.backgroundMediaId`,
`cms_block`.`background_media_mode` as `cms_block.backgroundMediaMode`,
`cms_block`.`css_class` as `cms_block.cssClass`,
`cms_block`.`visibility` as `cms_block.visibility`,
`cms_block`.`cms_section_id` as `cms_block.sectionId`,
`cms_block`.`custom_fields` as `cms_block.customFields`,
`cms_block`.`version_id` as `cms_block.versionId`,
`cms_block`.`cms_section_version_id` as `cms_block.cmsSectionVersionId`,
`cms_block`.`created_at` as `cms_block.createdAt`,
`cms_block`.`updated_at` as `cms_block.updatedAt`,
`cms_block.backgroundMedia`.`id` as `cms_block.backgroundMedia.id`,
`cms_block.backgroundMedia`.`user_id` as `cms_block.backgroundMedia.userId`,
`cms_block.backgroundMedia`.`media_folder_id` as `cms_block.backgroundMedia.mediaFolderId`,
`cms_block.backgroundMedia`.`mime_type` as `cms_block.backgroundMedia.mimeType`,
`cms_block.backgroundMedia`.`file_extension` as `cms_block.backgroundMedia.fileExtension`,
`cms_block.backgroundMedia`.`uploaded_at` as `cms_block.backgroundMedia.uploadedAt`,
`cms_block.backgroundMedia`.`file_name` as `cms_block.backgroundMedia.fileName`,
`cms_block.backgroundMedia`.`file_size` as `cms_block.backgroundMedia.fileSize`,
`cms_block.backgroundMedia`.`media_type` as `cms_block.backgroundMedia.mediaTypeRaw`,
`cms_block.backgroundMedia`.`meta_data` as `cms_block.backgroundMedia.metaData`,
`cms_block.backgroundMedia`.`private` as `cms_block.backgroundMedia.private`,
`cms_block.backgroundMedia`.`thumbnails_ro` as `cms_block.backgroundMedia.thumbnailsRo`,
`cms_block.backgroundMedia`.`created_at` as `cms_block.backgroundMedia.createdAt`,
`cms_block.backgroundMedia`.`updated_at` as `cms_block.backgroundMedia.updatedAt`,
`cms_block.backgroundMedia.translation.title`,
COALESCE(
`cms_block.backgroundMedia.translation.title`,
`cms_block.backgroundMedia.translation.title`
) as `cms_block.backgroundMedia.title`,
`cms_block.backgroundMedia.translation.alt`,
COALESCE(
`cms_block.backgroundMedia.translation.alt`,
`cms_block.backgroundMedia.translation.alt`
) as `cms_block.backgroundMedia.alt`,
`cms_block.backgroundMedia.translation.customFields`,
COALESCE(
`cms_block.backgroundMedia.translation.customFields`,
`cms_block.backgroundMedia.translation.customFields`
) as `cms_block.backgroundMedia.customFields`,
`cms_block.backgroundMedia.translation.createdAt`,
`cms_block.backgroundMedia.translation.updatedAt`,
`cms_block.backgroundMedia.translation.mediaId`,
`cms_block.backgroundMedia.translation.languageId`
FROM
`cms_block`
LEFT JOIN `media` `cms_block.backgroundMedia` ON `cms_block`.`background_media_id` = `cms_block.backgroundMedia`.`id`
LEFT JOIN (
SELECT
`cms_block.backgroundMedia.translation`.media_id,
`cms_block.backgroundMedia.translation`.title as `cms_block.backgroundMedia.translation.title`,
`cms_block.backgroundMedia.translation`.alt as `cms_block.backgroundMedia.translation.alt`,
`cms_block.backgroundMedia.translation`.custom_fields as `cms_block.backgroundMedia.translation.customFields`,
`cms_block.backgroundMedia.translation`.created_at as `cms_block.backgroundMedia.translation.createdAt`,
`cms_block.backgroundMedia.translation`.updated_at as `cms_block.backgroundMedia.translation.updatedAt`,
`cms_block.backgroundMedia.translation`.media_id as `cms_block.backgroundMedia.translation.mediaId`,
`cms_block.backgroundMedia.translation`.language_id as `cms_block.backgroundMedia.translation.languageId`
FROM
`media_translation` `cms_block.backgroundMedia.translation`
WHERE
`cms_block.backgroundMedia.translation`.language_id = : languageId
) `cms_block.backgroundMedia.media_translation` ON `cms_block.backgroundMedia.media_translation`.`media_id` = `cms_block.backgroundMedia`.`id`
WHERE
(
`cms_block`.`version_id` = : version
)
AND (
(
`cms_block`.`cms_section_id` IN (
: param_c0bfc9219d9c4d88bc8e67602b6e35bc
)
)
)
SELECT `cms_block`.`id` as `cms_block.id`, `cms_block`.`position` as `cms_block.position`, `cms_block`.`type` as `cms_block.type`, `cms_block`.`locked` as `cms_block.locked`, `cms_block`.`name` as `cms_block.name`, `cms_block`.`section_position` as `cms_block.sectionPosition`, `cms_block`.`margin_top` as `cms_block.marginTop`, `cms_block`.`margin_bottom` as `cms_block.marginBottom`, `cms_block`.`margin_left` as `cms_block.marginLeft`, `cms_block`.`margin_right` as `cms_block.marginRight`, `cms_block`.`background_color` as `cms_block.backgroundColor`, `cms_block`.`background_media_id` as `cms_block.backgroundMediaId`, `cms_block`.`background_media_mode` as `cms_block.backgroundMediaMode`, `cms_block`.`css_class` as `cms_block.cssClass`, `cms_block`.`visibility` as `cms_block.visibility`, `cms_block`.`cms_section_id` as `cms_block.sectionId`, `cms_block`.`custom_fields` as `cms_block.customFields`, `cms_block`.`version_id` as `cms_block.versionId`, `cms_block`.`cms_section_version_id` as `cms_block.cmsSectionVersionId`, `cms_block`.`created_at` as `cms_block.createdAt`, `cms_block`.`updated_at` as `cms_block.updatedAt`, `cms_block.backgroundMedia`.`id` as `cms_block.backgroundMedia.id`, `cms_block.backgroundMedia`.`user_id` as `cms_block.backgroundMedia.userId`, `cms_block.backgroundMedia`.`media_folder_id` as `cms_block.backgroundMedia.mediaFolderId`, `cms_block.backgroundMedia`.`mime_type` as `cms_block.backgroundMedia.mimeType`, `cms_block.backgroundMedia`.`file_extension` as `cms_block.backgroundMedia.fileExtension`, `cms_block.backgroundMedia`.`uploaded_at` as `cms_block.backgroundMedia.uploadedAt`, `cms_block.backgroundMedia`.`file_name` as `cms_block.backgroundMedia.fileName`, `cms_block.backgroundMedia`.`file_size` as `cms_block.backgroundMedia.fileSize`, `cms_block.backgroundMedia`.`media_type` as `cms_block.backgroundMedia.mediaTypeRaw`, `cms_block.backgroundMedia`.`meta_data` as `cms_block.backgroundMedia.metaData`, `cms_block.backgroundMedia`.`private` as `cms_block.backgroundMedia.private`, `cms_block.backgroundMedia`.`thumbnails_ro` as `cms_block.backgroundMedia.thumbnailsRo`, `cms_block.backgroundMedia`.`created_at` as `cms_block.backgroundMedia.createdAt`, `cms_block.backgroundMedia`.`updated_at` as `cms_block.backgroundMedia.updatedAt`, `cms_block.backgroundMedia.translation.title`, COALESCE(`cms_block.backgroundMedia.translation.title`,`cms_block.backgroundMedia.translation.title`) as `cms_block.backgroundMedia.title`, `cms_block.backgroundMedia.translation.alt`, COALESCE(`cms_block.backgroundMedia.translation.alt`,`cms_block.backgroundMedia.translation.alt`) as `cms_block.backgroundMedia.alt`, `cms_block.backgroundMedia.translation.customFields`, COALESCE(`cms_block.backgroundMedia.translation.customFields`,`cms_block.backgroundMedia.translation.customFields`) as `cms_block.backgroundMedia.customFields`, `cms_block.backgroundMedia.translation.createdAt`, `cms_block.backgroundMedia.translation.updatedAt`, `cms_block.backgroundMedia.translation.mediaId`, `cms_block.backgroundMedia.translation.languageId` FROM `cms_block` LEFT JOIN `media` `cms_block.backgroundMedia` ON `cms_block`.`background_media_id` = `cms_block.backgroundMedia`.`id` LEFT JOIN (SELECT `cms_block.backgroundMedia.translation`.media_id, `cms_block.backgroundMedia.translation`.title as `cms_block.backgroundMedia.translation.title`, `cms_block.backgroundMedia.translation`.alt as `cms_block.backgroundMedia.translation.alt`, `cms_block.backgroundMedia.translation`.custom_fields as `cms_block.backgroundMedia.translation.customFields`, `cms_block.backgroundMedia.translation`.created_at as `cms_block.backgroundMedia.translation.createdAt`, `cms_block.backgroundMedia.translation`.updated_at as `cms_block.backgroundMedia.translation.updatedAt`, `cms_block.backgroundMedia.translation`.media_id as `cms_block.backgroundMedia.translation.mediaId`, `cms_block.backgroundMedia.translation`.language_id as `cms_block.backgroundMedia.translation.languageId` FROM `media_translation` `cms_block.backgroundMedia.translation` WHERE `cms_block.backgroundMedia.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `cms_block.backgroundMedia.media_translation` ON `cms_block.backgroundMedia.media_translation`.`media_id` = `cms_block.backgroundMedia`.`id` WHERE (`cms_block`.`version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425) AND ((`cms_block`.`cms_section_id` IN (0x452149BB0B4E4C849684E33D01E4BE9D, 0x93CE50943A92467DAF5031FF916DE6A7, 0xB4E04220958F4397B6D6D1F38EC4A74A, 0xC9915742E27343539DA074A15F4930B0, 0xCD5F50EB3A9D4CC8A54E547EA9DB81CA, 0xD7D2F50EF92A426783FE0A7A8B1C48BD)));
array:45 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
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 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 59)"
20 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::load (line 102)"
21 => "Shopware\Core\Content\Category\SalesChannel\CategoryRoute::load (line 103)"
22 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 350)"
23 => "Shopware\Core\System\SystemConfig\SystemConfigService::trace (line 44)"
24 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 120)"
25 => "Shopware\Core\Framework\Adapter\Translation\Translator::trace (line 45)"
26 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 46)"
27 => "Shopware\Core\Framework\Adapter\Cache\CacheTagCollection::trace (line 46)"
28 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::trace (line 41)"
29 => "Shopware\Storefront\Framework\Cache\CacheTracer::Shopware\Storefront\Framework\Cache\{closure} (line 59)"
30 => "Shopware\Storefront\Theme\ThemeConfigValueAccessor::trace (line 42)"
31 => "Shopware\Storefront\Framework\Cache\CacheTracer::trace (line 104)"
32 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 72)"
33 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
34 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 109)"
35 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 59)"
36 => "Shopware\Core\Profiling\Profiler::trace (line 112)"
37 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::load (line 66)"
38 => "Shopware\Storefront\Page\Navigation\NavigationPageLoader::load (line 48)"
39 => "Shopware\Storefront\Controller\NavigationController::home (line 163)"
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 75)"
]
|
27 |
2.62 ms |
SELECT `cms_slot`.`id` as `cms_slot.id`, `cms_slot`.`version_id` as `cms_slot.versionId`, `cms_slot`.`type` as `cms_slot.type`, `cms_slot`.`slot` as `cms_slot.slot`, `cms_slot`.`locked` as `cms_slot.locked`, `cms_slot`.`cms_block_id` as `cms_slot.blockId`, `cms_slot`.`cms_block_version_id` as `cms_slot.cmsBlockVersionId`, `cms_slot`.`created_at` as `cms_slot.createdAt`, `cms_slot`.`updated_at` as `cms_slot.updatedAt`, `cms_slot.translation.config`, COALESCE(`cms_slot.translation.config`,`cms_slot.translation.config`) as `cms_slot.config`, `cms_slot.translation.customFields`, COALESCE(`cms_slot.translation.customFields`,`cms_slot.translation.customFields`) as `cms_slot.customFields`, `cms_slot.translation.createdAt`, `cms_slot.translation.updatedAt`, `cms_slot.translation.cmsSlotId`, `cms_slot.translation.languageId`, `cms_slot.translation.cmsSlotVersionId` FROM `cms_slot` LEFT JOIN (SELECT `cms_slot.translation`.cms_slot_id, `cms_slot.translation`.cms_slot_version_id, `cms_slot.translation`.config as `cms_slot.translation.config`, `cms_slot.translation`.custom_fields as `cms_slot.translation.customFields`, `cms_slot.translation`.created_at as `cms_slot.translation.createdAt`, `cms_slot.translation`.updated_at as `cms_slot.translation.updatedAt`, `cms_slot.translation`.cms_slot_id as `cms_slot.translation.cmsSlotId`, `cms_slot.translation`.language_id as `cms_slot.translation.languageId`, `cms_slot.translation`.cms_slot_version_id as `cms_slot.translation.cmsSlotVersionId` FROM `cms_slot_translation` `cms_slot.translation` WHERE `cms_slot.translation`.language_id = :languageId) `cms_slot.cms_slot_translation` ON `cms_slot.cms_slot_translation`.`cms_slot_id` = `cms_slot`.`id` AND `cms_slot.cms_slot_translation`.cms_slot_version_id = `cms_slot`.version_id WHERE (`cms_slot`.`version_id` = :version) AND ((`cms_slot`.`cms_block_id` IN (:param_9ec3e795a8fc4473b9e56a6608156203)))
SELECT `cms_slot`.`id` as `cms_slot.id`, `cms_slot`.`version_id` as `cms_slot.versionId`, `cms_slot`.`type` as `cms_slot.type`, `cms_slot`.`slot` as `cms_slot.slot`, `cms_slot`.`locked` as `cms_slot.locked`, `cms_slot`.`cms_block_id` as `cms_slot.blockId`, `cms_slot`.`cms_block_version_id` as `cms_slot.cmsBlockVersionId`, `cms_slot`.`created_at` as `cms_slot.createdAt`, `cms_slot`.`updated_at` as `cms_slot.updatedAt`, `cms_slot.translation.config`, COALESCE(`cms_slot.translation.config`,`cms_slot.translation.config`) as `cms_slot.config`, `cms_slot.translation.customFields`, COALESCE(`cms_slot.translation.customFields`,`cms_slot.translation.customFields`) as `cms_slot.customFields`, `cms_slot.translation.createdAt`, `cms_slot.translation.updatedAt`, `cms_slot.translation.cmsSlotId`, `cms_slot.translation.languageId`, `cms_slot.translation.cmsSlotVersionId` FROM `cms_slot` LEFT JOIN (SELECT `cms_slot.translation`.cms_slot_id, `cms_slot.translation`.cms_slot_version_id, `cms_slot.translation`.config as `cms_slot.translation.config`, `cms_slot.translation`.custom_fields as `cms_slot.translation.customFields`, `cms_slot.translation`.created_at as `cms_slot.translation.createdAt`, `cms_slot.translation`.updated_at as `cms_slot.translation.updatedAt`, `cms_slot.translation`.cms_slot_id as `cms_slot.translation.cmsSlotId`, `cms_slot.translation`.language_id as `cms_slot.translation.languageId`, `cms_slot.translation`.cms_slot_version_id as `cms_slot.translation.cmsSlotVersionId` FROM `cms_slot_translation` `cms_slot.translation` WHERE `cms_slot.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `cms_slot.cms_slot_translation` ON `cms_slot.cms_slot_translation`.`cms_slot_id` = `cms_slot`.`id` AND `cms_slot.cms_slot_translation`.cms_slot_version_id = `cms_slot`.version_id WHERE (`cms_slot`.`version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425) AND ((`cms_slot`.`cms_block_id` IN (0x368B440FD70D4ABDB6C7FC546ED96B21, 0x3BFBD3F3B93B464AB0CFADEABE42E464, 0x0ADF4D281B894DC8BE0A877DF0CBFFBA, 0xAC2335E4796742AEBE8AA37F11D2F2C9, 0x065B6E20285A4269885A81ABAE2551F3, 0x694A06936BFC4E7092FFE9ED9CD6C347)));
array:49 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
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 503)"
13 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::loadOneToManyWithoutPagination (line 438)"
14 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::loadOneToMany (line 1210)"
15 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetchAssociations (line 152)"
16 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 93)"
17 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::read (line 257)"
18 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::read (line 286)"
19 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::_search (line 110)"
20 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::Shopware\Core\Framework\DataAbstractionLayer\{closure} (line 59)"
21 => "Shopware\Core\Profiling\Profiler::trace (line 111)"
22 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::search (line 51)"
23 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepositoryForwardCompatibilityDecorator::search (line 59)"
24 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::load (line 102)"
25 => "Shopware\Core\Content\Category\SalesChannel\CategoryRoute::load (line 103)"
26 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 350)"
27 => "Shopware\Core\System\SystemConfig\SystemConfigService::trace (line 44)"
28 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 120)"
29 => "Shopware\Core\Framework\Adapter\Translation\Translator::trace (line 45)"
30 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 46)"
31 => "Shopware\Core\Framework\Adapter\Cache\CacheTagCollection::trace (line 46)"
32 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::trace (line 41)"
33 => "Shopware\Storefront\Framework\Cache\CacheTracer::Shopware\Storefront\Framework\Cache\{closure} (line 59)"
34 => "Shopware\Storefront\Theme\ThemeConfigValueAccessor::trace (line 42)"
35 => "Shopware\Storefront\Framework\Cache\CacheTracer::trace (line 104)"
36 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 72)"
37 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
38 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 109)"
39 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 59)"
40 => "Shopware\Core\Profiling\Profiler::trace (line 112)"
41 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::load (line 66)"
42 => "Shopware\Storefront\Page\Navigation\NavigationPageLoader::load (line 48)"
43 => "Shopware\Storefront\Controller\NavigationController::home (line 163)"
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 75)"
]
|
28 |
1.46 ms |
SELECT `product_stream`.`id` as `product_stream.id`, `product_stream`.`api_filter` as `product_stream.apiFilter`, `product_stream`.`invalid` as `product_stream.invalid`, `product_stream`.`created_at` as `product_stream.createdAt`, `product_stream`.`updated_at` as `product_stream.updatedAt`, `product_stream.translation.name`, COALESCE(`product_stream.translation.name`,`product_stream.translation.name`) as `product_stream.name`, `product_stream.translation.description`, COALESCE(`product_stream.translation.description`,`product_stream.translation.description`) as `product_stream.description`, `product_stream.translation.customFields`, COALESCE(`product_stream.translation.customFields`,`product_stream.translation.customFields`) as `product_stream.customFields`, `product_stream.translation.createdAt`, `product_stream.translation.updatedAt`, `product_stream.translation.productStreamId`, `product_stream.translation.languageId` FROM `product_stream` LEFT JOIN (SELECT `product_stream.translation`.product_stream_id, `product_stream.translation`.name as `product_stream.translation.name`, `product_stream.translation`.description as `product_stream.translation.description`, `product_stream.translation`.custom_fields as `product_stream.translation.customFields`, `product_stream.translation`.created_at as `product_stream.translation.createdAt`, `product_stream.translation`.updated_at as `product_stream.translation.updatedAt`, `product_stream.translation`.product_stream_id as `product_stream.translation.productStreamId`, `product_stream.translation`.language_id as `product_stream.translation.languageId` FROM `product_stream_translation` `product_stream.translation` WHERE `product_stream.translation`.language_id = :languageId) `product_stream.product_stream_translation` ON `product_stream.product_stream_translation`.`product_stream_id` = `product_stream`.`id` WHERE `product_stream`.`id` IN (:ids)
SELECT `product_stream`.`id` as `product_stream.id`, `product_stream`.`api_filter` as `product_stream.apiFilter`, `product_stream`.`invalid` as `product_stream.invalid`, `product_stream`.`created_at` as `product_stream.createdAt`, `product_stream`.`updated_at` as `product_stream.updatedAt`, `product_stream.translation.name`, COALESCE(`product_stream.translation.name`,`product_stream.translation.name`) as `product_stream.name`, `product_stream.translation.description`, COALESCE(`product_stream.translation.description`,`product_stream.translation.description`) as `product_stream.description`, `product_stream.translation.customFields`, COALESCE(`product_stream.translation.customFields`,`product_stream.translation.customFields`) as `product_stream.customFields`, `product_stream.translation.createdAt`, `product_stream.translation.updatedAt`, `product_stream.translation.productStreamId`, `product_stream.translation.languageId` FROM `product_stream` LEFT JOIN (SELECT `product_stream.translation`.product_stream_id, `product_stream.translation`.name as `product_stream.translation.name`, `product_stream.translation`.description as `product_stream.translation.description`, `product_stream.translation`.custom_fields as `product_stream.translation.customFields`, `product_stream.translation`.created_at as `product_stream.translation.createdAt`, `product_stream.translation`.updated_at as `product_stream.translation.updatedAt`, `product_stream.translation`.product_stream_id as `product_stream.translation.productStreamId`, `product_stream.translation`.language_id as `product_stream.translation.languageId` FROM `product_stream_translation` `product_stream.translation` WHERE `product_stream.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product_stream.product_stream_translation` ON `product_stream.product_stream_translation`.`product_stream_id` = `product_stream`.`id` WHERE `product_stream`.`id` IN (0x1C0F6049046F40F9985DF2DCF3478D3E);
array:42 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
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 44)"
10 => "Shopware\Core\Content\ProductStream\Service\ProductStreamBuilder::buildFilters (line 175)"
11 => "Shopware\Core\Content\Product\Cms\ProductSliderCmsElementResolver::collectByProductStream (line 77)"
12 => "Shopware\Core\Content\Product\Cms\ProductSliderCmsElementResolver::collect (line 40)"
13 => "Swkweb\BuyXPayY\Core\Content\Product\Cms\ProductSliderCmsElementResolver::collect (line 65)"
14 => "Bodymed\Webshop\Core\Content\Product\Cms\ProductSliderCmsElementResolver::collect (line 72)"
15 => "Shopware\Core\Content\Cms\DataResolver\CmsSlotsDataResolver::resolve (line 104)"
16 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::loadSlotData (line 94)"
17 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::load (line 102)"
18 => "Shopware\Core\Content\Category\SalesChannel\CategoryRoute::load (line 103)"
19 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 350)"
20 => "Shopware\Core\System\SystemConfig\SystemConfigService::trace (line 44)"
21 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 120)"
22 => "Shopware\Core\Framework\Adapter\Translation\Translator::trace (line 45)"
23 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 46)"
24 => "Shopware\Core\Framework\Adapter\Cache\CacheTagCollection::trace (line 46)"
25 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::trace (line 41)"
26 => "Shopware\Storefront\Framework\Cache\CacheTracer::Shopware\Storefront\Framework\Cache\{closure} (line 59)"
27 => "Shopware\Storefront\Theme\ThemeConfigValueAccessor::trace (line 42)"
28 => "Shopware\Storefront\Framework\Cache\CacheTracer::trace (line 104)"
29 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 72)"
30 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
31 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 109)"
32 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 59)"
33 => "Shopware\Core\Profiling\Profiler::trace (line 112)"
34 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::load (line 66)"
35 => "Shopware\Storefront\Page\Navigation\NavigationPageLoader::load (line 48)"
36 => "Shopware\Storefront\Controller\NavigationController::home (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 75)"
]
|
29 |
5.06 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 (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 (SELECT `product.visibilities`.`product_id` as id, `product.visibilities`.`product_version_id` FROM `product_visibility` `product.visibilities` WHERE ((`product.visibilities`.`visibility` >= :param_f4f455d82a5142e48524819de6509738) AND `product.visibilities`.`sales_channel_id` = :param_4aade0ed97744d3aa778c167a72031ad)) `product.visibilities_1` ON `product`.`visibilities` = `product.visibilities_1`.`id` AND `product`.`version_id` = `product.visibilities_1`.`product_version_id` LEFT JOIN (SELECT `product.visibilities`.`product_id` as id, `product.visibilities`.`product_version_id` FROM `product_visibility` `product.visibilities` WHERE ((`product.visibilities`.`visibility` >= :param_1e653a0fa01c4841afa6b07aea460e28) AND `product.visibilities`.`sales_channel_id` = :param_ac620a96cfc74ce081e7e3872060a796)) `product.visibilities_2` ON `product`.`visibilities` = `product.visibilities_2`.`id` AND `product`.`version_id` = `product.visibilities_2`.`product_version_id` WHERE (`product`.`version_id` = :version) AND (((COALESCE(IF(JSON_TYPE(JSON_EXTRACT(`product.translation.customFields`, '$.mad_usergroups_enable')) != "NULL", CONVERT(JSON_UNQUOTE(JSON_EXTRACT(`product.translation.customFields`, '$.mad_usergroups_enable')) USING "utf8mb4") COLLATE utf8mb4_unicode_ci, NULL),IF(JSON_TYPE(JSON_EXTRACT(`product.parent.translation.customFields`, '$.mad_usergroups_enable')) != "NULL", CONVERT(JSON_UNQUOTE(JSON_EXTRACT(`product.parent.translation.customFields`, '$.mad_usergroups_enable')) USING "utf8mb4") COLLATE utf8mb4_unicode_ci, NULL)) LIKE :param_870fb0104a9b476f82d57ef585b366e0 OR ((COALESCE(IF(JSON_TYPE(JSON_EXTRACT(`product.translation.customFields`, '$.mad_tags_enable')) != "NULL", CONVERT(JSON_UNQUOTE(JSON_EXTRACT(`product.translation.customFields`, '$.mad_tags_enable')) USING "utf8mb4") COLLATE utf8mb4_unicode_ci, NULL),IF(JSON_TYPE(JSON_EXTRACT(`product.parent.translation.customFields`, '$.mad_tags_enable')) != "NULL", CONVERT(JSON_UNQUOTE(JSON_EXTRACT(`product.parent.translation.customFields`, '$.mad_tags_enable')) USING "utf8mb4") COLLATE utf8mb4_unicode_ci, NULL)) <=> :param_c4d54c75d82d4b05bb4f92ac0ae47efc OR COALESCE(IF(JSON_TYPE(JSON_EXTRACT(`product.translation.customFields`, '$.mad_tags_enable')) != "NULL", CONVERT(JSON_UNQUOTE(JSON_EXTRACT(`product.translation.customFields`, '$.mad_tags_enable')) USING "utf8mb4") COLLATE utf8mb4_unicode_ci, NULL),IF(JSON_TYPE(JSON_EXTRACT(`product.parent.translation.customFields`, '$.mad_tags_enable')) != "NULL", CONVERT(JSON_UNQUOTE(JSON_EXTRACT(`product.parent.translation.customFields`, '$.mad_tags_enable')) USING "utf8mb4") COLLATE utf8mb4_unicode_ci, NULL)) = :param_b14e0b84a14843938d153e6f113f8613) AND (COALESCE(IF(JSON_TYPE(JSON_EXTRACT(`product.translation.customFields`, '$.mad_usergroups_enable')) != "NULL", CONVERT(JSON_UNQUOTE(JSON_EXTRACT(`product.translation.customFields`, '$.mad_usergroups_enable')) USING "utf8mb4") COLLATE utf8mb4_unicode_ci, NULL),IF(JSON_TYPE(JSON_EXTRACT(`product.parent.translation.customFields`, '$.mad_usergroups_enable')) != "NULL", CONVERT(JSON_UNQUOTE(JSON_EXTRACT(`product.parent.translation.customFields`, '$.mad_usergroups_enable')) USING "utf8mb4") COLLATE utf8mb4_unicode_ci, NULL)) <=> :param_3e45df753cce400fbc9a66b794a0136c OR COALESCE(IF(JSON_TYPE(JSON_EXTRACT(`product.translation.customFields`, '$.mad_usergroups_enable')) != "NULL", CONVERT(JSON_UNQUOTE(JSON_EXTRACT(`product.translation.customFields`, '$.mad_usergroups_enable')) USING "utf8mb4") COLLATE utf8mb4_unicode_ci, NULL),IF(JSON_TYPE(JSON_EXTRACT(`product.parent.translation.customFields`, '$.mad_usergroups_enable')) != "NULL", CONVERT(JSON_UNQUOTE(JSON_EXTRACT(`product.parent.translation.customFields`, '$.mad_usergroups_enable')) USING "utf8mb4") COLLATE utf8mb4_unicode_ci, NULL)) = :param_499baa1fb20a495383d785c304af695a) AND (`product.visibilities_1`.id IS NOT NULL AND `product.visibilities_1`.id IS NOT NULL AND IFNULL(`product`.`active`, `product.parent`.`active`) = :param_fc86c16c2a124a6083e7d2aab6b65f3b))) AND (`product.visibilities_2`.id IS NOT NULL AND `product.visibilities_2`.id IS NOT NULL AND IFNULL(`product`.`active`, `product.parent`.`active`) = :param_486267aae3474a8099a8e61109d4b06c))) 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 (
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 (
SELECT
`product.visibilities`.`product_id` as id,
`product.visibilities`.`product_version_id`
FROM
`product_visibility` `product.visibilities`
WHERE
(
(
`product.visibilities`.`visibility` >= : param_f4f455d82a5142e48524819de6509738
)
AND `product.visibilities`.`sales_channel_id` = : param_4aade0ed97744d3aa778c167a72031ad
)
) `product.visibilities_1` ON `product`.`visibilities` = `product.visibilities_1`.`id`
AND `product`.`version_id` = `product.visibilities_1`.`product_version_id`
LEFT JOIN (
SELECT
`product.visibilities`.`product_id` as id,
`product.visibilities`.`product_version_id`
FROM
`product_visibility` `product.visibilities`
WHERE
(
(
`product.visibilities`.`visibility` >= : param_1e653a0fa01c4841afa6b07aea460e28
)
AND `product.visibilities`.`sales_channel_id` = : param_ac620a96cfc74ce081e7e3872060a796
)
) `product.visibilities_2` ON `product`.`visibilities` = `product.visibilities_2`.`id`
AND `product`.`version_id` = `product.visibilities_2`.`product_version_id`
WHERE
(
`product`.`version_id` = : version
)
AND (
(
(
COALESCE(
IF(
JSON_TYPE(
JSON_EXTRACT(
`product.translation.customFields`,
'$.mad_usergroups_enable'
)
) != "NULL",
CONVERT(
JSON_UNQUOTE(
JSON_EXTRACT(
`product.translation.customFields`,
'$.mad_usergroups_enable'
)
) USING "utf8mb4"
) COLLATE utf8mb4_unicode_ci,
NULL
),
IF(
JSON_TYPE(
JSON_EXTRACT(
`product.parent.translation.customFields`,
'$.mad_usergroups_enable'
)
) != "NULL",
CONVERT(
JSON_UNQUOTE(
JSON_EXTRACT(
`product.parent.translation.customFields`,
'$.mad_usergroups_enable'
)
) USING "utf8mb4"
) COLLATE utf8mb4_unicode_ci,
NULL
)
) LIKE : param_870fb0104a9b476f82d57ef585b366e0
OR (
(
COALESCE(
IF(
JSON_TYPE(
JSON_EXTRACT(
`product.translation.customFields`,
'$.mad_tags_enable'
)
) != "NULL",
CONVERT(
JSON_UNQUOTE(
JSON_EXTRACT(
`product.translation.customFields`,
'$.mad_tags_enable'
)
) USING "utf8mb4"
) COLLATE utf8mb4_unicode_ci,
NULL
),
IF(
JSON_TYPE(
JSON_EXTRACT(
`product.parent.translation.customFields`,
'$.mad_tags_enable'
)
) != "NULL",
CONVERT(
JSON_UNQUOTE(
JSON_EXTRACT(
`product.parent.translation.customFields`,
'$.mad_tags_enable'
)
) USING "utf8mb4"
) COLLATE utf8mb4_unicode_ci,
NULL
)
) <=> : param_c4d54c75d82d4b05bb4f92ac0ae47efc
OR COALESCE(
IF(
JSON_TYPE(
JSON_EXTRACT(
`product.translation.customFields`,
'$.mad_tags_enable'
)
) != "NULL",
CONVERT(
JSON_UNQUOTE(
JSON_EXTRACT(
`product.translation.customFields`,
'$.mad_tags_enable'
)
) USING "utf8mb4"
) COLLATE utf8mb4_unicode_ci,
NULL
),
IF(
JSON_TYPE(
JSON_EXTRACT(
`product.parent.translation.customFields`,
'$.mad_tags_enable'
)
) != "NULL",
CONVERT(
JSON_UNQUOTE(
JSON_EXTRACT(
`product.parent.translation.customFields`,
'$.mad_tags_enable'
)
) USING "utf8mb4"
) COLLATE utf8mb4_unicode_ci,
NULL
)
) = : param_b14e0b84a14843938d153e6f113f8613
)
AND (
COALESCE(
IF(
JSON_TYPE(
JSON_EXTRACT(
`product.translation.customFields`,
'$.mad_usergroups_enable'
)
) != "NULL",
CONVERT(
JSON_UNQUOTE(
JSON_EXTRACT(
`product.translation.customFields`,
'$.mad_usergroups_enable'
)
) USING "utf8mb4"
) COLLATE utf8mb4_unicode_ci,
NULL
),
IF(
JSON_TYPE(
JSON_EXTRACT(
`product.parent.translation.customFields`,
'$.mad_usergroups_enable'
)
) != "NULL",
CONVERT(
JSON_UNQUOTE(
JSON_EXTRACT(
`product.parent.translation.customFields`,
'$.mad_usergroups_enable'
)
) USING "utf8mb4"
) COLLATE utf8mb4_unicode_ci,
NULL
)
) <=> : param_3e45df753cce400fbc9a66b794a0136c
OR COALESCE(
IF(
JSON_TYPE(
JSON_EXTRACT(
`product.translation.customFields`,
'$.mad_usergroups_enable'
)
) != "NULL",
CONVERT(
JSON_UNQUOTE(
JSON_EXTRACT(
`product.translation.customFields`,
'$.mad_usergroups_enable'
)
) USING "utf8mb4"
) COLLATE utf8mb4_unicode_ci,
NULL
),
IF(
JSON_TYPE(
JSON_EXTRACT(
`product.parent.translation.customFields`,
'$.mad_usergroups_enable'
)
) != "NULL",
CONVERT(
JSON_UNQUOTE(
JSON_EXTRACT(
`product.parent.translation.customFields`,
'$.mad_usergroups_enable'
)
) USING "utf8mb4"
) COLLATE utf8mb4_unicode_ci,
NULL
)
) = : param_499baa1fb20a495383d785c304af695a
)
AND (
`product.visibilities_1`.id IS NOT NULL
AND `product.visibilities_1`.id IS NOT NULL
AND IFNULL(
`product`.`active`, `product.parent`.`active`
) = : param_fc86c16c2a124a6083e7d2aab6b65f3b
)
)
)
AND (
`product.visibilities_2`.id IS NOT NULL
AND `product.visibilities_2`.id IS NOT NULL
AND IFNULL(
`product`.`active`, `product.parent`.`active`
) = : param_486267aae3474a8099a8e61109d4b06c
)
)
)
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 (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 (SELECT `product.visibilities`.`product_id` as id, `product.visibilities`.`product_version_id` FROM `product_visibility` `product.visibilities` WHERE ((`product.visibilities`.`visibility` >= 30) AND `product.visibilities`.`sales_channel_id` = 0x620A2217F7474E619CB00AD39E804CCA)) `product.visibilities_1` ON `product`.`visibilities` = `product.visibilities_1`.`id` AND `product`.`version_id` = `product.visibilities_1`.`product_version_id` LEFT JOIN (SELECT `product.visibilities`.`product_id` as id, `product.visibilities`.`product_version_id` FROM `product_visibility` `product.visibilities` WHERE ((`product.visibilities`.`visibility` >= 10) AND `product.visibilities`.`sales_channel_id` = 0x620A2217F7474E619CB00AD39E804CCA)) `product.visibilities_2` ON `product`.`visibilities` = `product.visibilities_2`.`id` AND `product`.`version_id` = `product.visibilities_2`.`product_version_id` WHERE (`product`.`version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425) AND (((COALESCE(IF(JSON_TYPE(JSON_EXTRACT(`product.translation.customFields`, '$.mad_usergroups_enable')) != "NULL", CONVERT(JSON_UNQUOTE(JSON_EXTRACT(`product.translation.customFields`, '$.mad_usergroups_enable')) USING "utf8mb4") COLLATE utf8mb4_unicode_ci, NULL),IF(JSON_TYPE(JSON_EXTRACT(`product.parent.translation.customFields`, '$.mad_usergroups_enable')) != "NULL", CONVERT(JSON_UNQUOTE(JSON_EXTRACT(`product.parent.translation.customFields`, '$.mad_usergroups_enable')) USING "utf8mb4") COLLATE utf8mb4_unicode_ci, NULL)) LIKE '%c28421f99edc4f26b720cd6b19ffa899%' OR ((COALESCE(IF(JSON_TYPE(JSON_EXTRACT(`product.translation.customFields`, '$.mad_tags_enable')) != "NULL", CONVERT(JSON_UNQUOTE(JSON_EXTRACT(`product.translation.customFields`, '$.mad_tags_enable')) USING "utf8mb4") COLLATE utf8mb4_unicode_ci, NULL),IF(JSON_TYPE(JSON_EXTRACT(`product.parent.translation.customFields`, '$.mad_tags_enable')) != "NULL", CONVERT(JSON_UNQUOTE(JSON_EXTRACT(`product.parent.translation.customFields`, '$.mad_tags_enable')) USING "utf8mb4") COLLATE utf8mb4_unicode_ci, NULL)) <=> NULL OR COALESCE(IF(JSON_TYPE(JSON_EXTRACT(`product.translation.customFields`, '$.mad_tags_enable')) != "NULL", CONVERT(JSON_UNQUOTE(JSON_EXTRACT(`product.translation.customFields`, '$.mad_tags_enable')) USING "utf8mb4") COLLATE utf8mb4_unicode_ci, NULL),IF(JSON_TYPE(JSON_EXTRACT(`product.parent.translation.customFields`, '$.mad_tags_enable')) != "NULL", CONVERT(JSON_UNQUOTE(JSON_EXTRACT(`product.parent.translation.customFields`, '$.mad_tags_enable')) USING "utf8mb4") COLLATE utf8mb4_unicode_ci, NULL)) = '[]') AND (COALESCE(IF(JSON_TYPE(JSON_EXTRACT(`product.translation.customFields`, '$.mad_usergroups_enable')) != "NULL", CONVERT(JSON_UNQUOTE(JSON_EXTRACT(`product.translation.customFields`, '$.mad_usergroups_enable')) USING "utf8mb4") COLLATE utf8mb4_unicode_ci, NULL),IF(JSON_TYPE(JSON_EXTRACT(`product.parent.translation.customFields`, '$.mad_usergroups_enable')) != "NULL", CONVERT(JSON_UNQUOTE(JSON_EXTRACT(`product.parent.translation.customFields`, '$.mad_usergroups_enable')) USING "utf8mb4") COLLATE utf8mb4_unicode_ci, NULL)) <=> NULL OR COALESCE(IF(JSON_TYPE(JSON_EXTRACT(`product.translation.customFields`, '$.mad_usergroups_enable')) != "NULL", CONVERT(JSON_UNQUOTE(JSON_EXTRACT(`product.translation.customFields`, '$.mad_usergroups_enable')) USING "utf8mb4") COLLATE utf8mb4_unicode_ci, NULL),IF(JSON_TYPE(JSON_EXTRACT(`product.parent.translation.customFields`, '$.mad_usergroups_enable')) != "NULL", CONVERT(JSON_UNQUOTE(JSON_EXTRACT(`product.parent.translation.customFields`, '$.mad_usergroups_enable')) USING "utf8mb4") COLLATE utf8mb4_unicode_ci, NULL)) = '[]') AND (`product.visibilities_1`.id IS NOT NULL AND `product.visibilities_1`.id IS NOT NULL AND IFNULL(`product`.`active`, `product.parent`.`active`) = 1))) AND (`product.visibilities_2`.id IS NOT NULL AND `product.visibilities_2`.id IS NOT NULL AND IFNULL(`product`.`active`, `product.parent`.`active`) = 1))) AND (`product`.`id` IN (0x1AC13C0695234DB1962D5899CC4EA096, 0x12399480A05A4762B2F1F9ADE33FE485)) GROUP BY `product`.`id`;
array:35 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
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 147)"
7 => "Shopware\Core\Content\Cms\DataResolver\CmsSlotsDataResolver::fetchByCriteria (line 85)"
8 => "Shopware\Core\Content\Cms\DataResolver\CmsSlotsDataResolver::resolve (line 104)"
9 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::loadSlotData (line 94)"
10 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::load (line 102)"
11 => "Shopware\Core\Content\Category\SalesChannel\CategoryRoute::load (line 103)"
12 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 350)"
13 => "Shopware\Core\System\SystemConfig\SystemConfigService::trace (line 44)"
14 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 120)"
15 => "Shopware\Core\Framework\Adapter\Translation\Translator::trace (line 45)"
16 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 46)"
17 => "Shopware\Core\Framework\Adapter\Cache\CacheTagCollection::trace (line 46)"
18 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::trace (line 41)"
19 => "Shopware\Storefront\Framework\Cache\CacheTracer::Shopware\Storefront\Framework\Cache\{closure} (line 59)"
20 => "Shopware\Storefront\Theme\ThemeConfigValueAccessor::trace (line 42)"
21 => "Shopware\Storefront\Framework\Cache\CacheTracer::trace (line 104)"
22 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 72)"
23 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
24 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 109)"
25 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 59)"
26 => "Shopware\Core\Profiling\Profiler::trace (line 112)"
27 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::load (line 66)"
28 => "Shopware\Storefront\Page\Navigation\NavigationPageLoader::load (line 48)"
29 => "Shopware\Storefront\Controller\NavigationController::home (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 75)"
]
|
30 |
38.24 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.bundle`.`id` as `product.bundle.id`, `product.bundle`.`product_id` as `product.bundle.productId`, `product.bundle`.`product_version_id` as `product.bundle.productVersionId`, `product.bundle`.`name` as `product.bundle.name`, `product.bundle`.`price_type` as `product.bundle.priceType`, `product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`, `product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`, `product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`, `product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`, `product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`, `product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`, `product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`, `product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`, `product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`, `product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`, `product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`, `product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`, `product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`, `product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`, `product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`, `product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`, `product.bundle`.`created_at` as `product.bundle.createdAt`, `product.bundle`.`updated_at` as `product.bundle.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.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 `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_id` LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id` AND `product`.`version_id` = `product.cover`.`version_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 `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`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.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.bundle`.`id` as `product.bundle.id`,
`product.bundle`.`product_id` as `product.bundle.productId`,
`product.bundle`.`product_version_id` as `product.bundle.productVersionId`,
`product.bundle`.`name` as `product.bundle.name`,
`product.bundle`.`price_type` as `product.bundle.priceType`,
`product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`,
`product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`,
`product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`,
`product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`,
`product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`,
`product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`,
`product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`,
`product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`,
`product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`,
`product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`,
`product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`,
`product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`,
`product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`,
`product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`,
`product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`,
`product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`,
`product.bundle`.`created_at` as `product.bundle.createdAt`,
`product.bundle`.`updated_at` as `product.bundle.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.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 `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_id`
LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id`
AND `product`.`version_id` = `product.cover`.`version_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 `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id`
LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id`
LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`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.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.bundle`.`id` as `product.bundle.id`, `product.bundle`.`product_id` as `product.bundle.productId`, `product.bundle`.`product_version_id` as `product.bundle.productVersionId`, `product.bundle`.`name` as `product.bundle.name`, `product.bundle`.`price_type` as `product.bundle.priceType`, `product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`, `product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`, `product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`, `product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`, `product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`, `product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`, `product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`, `product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`, `product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`, `product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`, `product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`, `product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`, `product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`, `product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`, `product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`, `product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`, `product.bundle`.`created_at` as `product.bundle.createdAt`, `product.bundle`.`updated_at` as `product.bundle.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.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 `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_id` LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id` AND `product`.`version_id` = `product.cover`.`version_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 `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`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.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 (0x1AC13C0695234DB1962D5899CC4EA096, 0x12399480A05A4762B2F1F9ADE33FE485));
array:36 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
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 147)"
8 => "Shopware\Core\Content\Cms\DataResolver\CmsSlotsDataResolver::fetchByCriteria (line 85)"
9 => "Shopware\Core\Content\Cms\DataResolver\CmsSlotsDataResolver::resolve (line 104)"
10 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::loadSlotData (line 94)"
11 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::load (line 102)"
12 => "Shopware\Core\Content\Category\SalesChannel\CategoryRoute::load (line 103)"
13 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{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 104)"
23 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 72)"
24 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
25 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 109)"
26 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 59)"
27 => "Shopware\Core\Profiling\Profiler::trace (line 112)"
28 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::load (line 66)"
29 => "Shopware\Storefront\Page\Navigation\NavigationPageLoader::load (line 48)"
30 => "Shopware\Storefront\Controller\NavigationController::home (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 75)"
]
|
31 |
1.00 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_eeac5ad8f37049bc92d45daf445dbb9f)))
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 (0x12399480A05A4762B2F1F9ADE33FE485, 0x1AC13C0695234DB1962D5899CC4EA096)));
array:40 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
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 147)"
12 => "Shopware\Core\Content\Cms\DataResolver\CmsSlotsDataResolver::fetchByCriteria (line 85)"
13 => "Shopware\Core\Content\Cms\DataResolver\CmsSlotsDataResolver::resolve (line 104)"
14 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::loadSlotData (line 94)"
15 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::load (line 102)"
16 => "Shopware\Core\Content\Category\SalesChannel\CategoryRoute::load (line 103)"
17 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{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 104)"
27 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 72)"
28 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
29 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 109)"
30 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 59)"
31 => "Shopware\Core\Profiling\Profiler::trace (line 112)"
32 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::load (line 66)"
33 => "Shopware\Storefront\Page\Navigation\NavigationPageLoader::load (line 48)"
34 => "Shopware\Storefront\Controller\NavigationController::home (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 75)"
]
|
32 |
0.65 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 = 0x620A2217F7474E619CB00AD39E804CCA) AND (token = 'IN5Ub8FQVmsGnU9oCTmNWiTvs4Dar3OO') LIMIT 1;
array:44 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 165)"
3 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextPersister::load (line 69)"
4 => "Bodymed\Webshop\Core\Subscriber\ProductSubscriber::addCustomerProductFeatureExtension (line 270)"
5 => "Symfony\Component\EventDispatcher\EventDispatcher::Symfony\Component\EventDispatcher\{closure} (line 230)"
6 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
7 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
8 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
9 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
10 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
11 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 33)"
12 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
13 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 208)"
14 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::read (line 133)"
15 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 147)"
16 => "Shopware\Core\Content\Cms\DataResolver\CmsSlotsDataResolver::fetchByCriteria (line 85)"
17 => "Shopware\Core\Content\Cms\DataResolver\CmsSlotsDataResolver::resolve (line 104)"
18 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::loadSlotData (line 94)"
19 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::load (line 102)"
20 => "Shopware\Core\Content\Category\SalesChannel\CategoryRoute::load (line 103)"
21 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{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 104)"
31 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 72)"
32 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
33 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 109)"
34 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 59)"
35 => "Shopware\Core\Profiling\Profiler::trace (line 112)"
36 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::load (line 66)"
37 => "Shopware\Storefront\Page\Navigation\NavigationPageLoader::load (line 48)"
38 => "Shopware\Storefront\Controller\NavigationController::home (line 163)"
39 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
40 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
41 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
42 => "Shopware\Core\HttpKernel::doHandle (line 81)"
43 => "Shopware\Core\HttpKernel::handle (line 75)"
]
|
33 |
1.11 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:57 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
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 77)"
14 => "MadBodymedBundle\Core\Content\Product\SalesChannel\Price\BundleProductPriceCalculator::calculate (line 84)"
15 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\CustomProductPriceCalculator::calculate (line 172)"
16 => "Shopware\Core\Content\Product\Subscriber\ProductSubscriber::productSalesChannelLoaded (line 95)"
17 => "Shopware\Core\Content\Product\Subscriber\ProductSubscriber::salesChannelLoaded (line 270)"
18 => "Symfony\Component\EventDispatcher\EventDispatcher::Symfony\Component\EventDispatcher\{closure} (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 33)"
25 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
26 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 208)"
27 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::read (line 133)"
28 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 147)"
29 => "Shopware\Core\Content\Cms\DataResolver\CmsSlotsDataResolver::fetchByCriteria (line 85)"
30 => "Shopware\Core\Content\Cms\DataResolver\CmsSlotsDataResolver::resolve (line 104)"
31 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::loadSlotData (line 94)"
32 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::load (line 102)"
33 => "Shopware\Core\Content\Category\SalesChannel\CategoryRoute::load (line 103)"
34 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 350)"
35 => "Shopware\Core\System\SystemConfig\SystemConfigService::trace (line 44)"
36 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 120)"
37 => "Shopware\Core\Framework\Adapter\Translation\Translator::trace (line 45)"
38 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 46)"
39 => "Shopware\Core\Framework\Adapter\Cache\CacheTagCollection::trace (line 46)"
40 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::trace (line 41)"
41 => "Shopware\Storefront\Framework\Cache\CacheTracer::Shopware\Storefront\Framework\Cache\{closure} (line 59)"
42 => "Shopware\Storefront\Theme\ThemeConfigValueAccessor::trace (line 42)"
43 => "Shopware\Storefront\Framework\Cache\CacheTracer::trace (line 104)"
44 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 72)"
45 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
46 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 109)"
47 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 59)"
48 => "Shopware\Core\Profiling\Profiler::trace (line 112)"
49 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::load (line 66)"
50 => "Shopware\Storefront\Page\Navigation\NavigationPageLoader::load (line 48)"
51 => "Shopware\Storefront\Controller\NavigationController::home (line 163)"
52 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
53 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
54 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
55 => "Shopware\Core\HttpKernel::doHandle (line 81)"
56 => "Shopware\Core\HttpKernel::handle (line 75)"
]
|
34 |
1.13 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:56 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
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 311)"
12 => "MadBodymedBundle\Core\Content\Product\SalesChannel\Price\BundleProductPriceCalculator::getUnits (line 79)"
13 => "MadBodymedBundle\Core\Content\Product\SalesChannel\Price\BundleProductPriceCalculator::calculate (line 84)"
14 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\CustomProductPriceCalculator::calculate (line 172)"
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 147)"
28 => "Shopware\Core\Content\Cms\DataResolver\CmsSlotsDataResolver::fetchByCriteria (line 85)"
29 => "Shopware\Core\Content\Cms\DataResolver\CmsSlotsDataResolver::resolve (line 104)"
30 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::loadSlotData (line 94)"
31 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::load (line 102)"
32 => "Shopware\Core\Content\Category\SalesChannel\CategoryRoute::load (line 103)"
33 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 350)"
34 => "Shopware\Core\System\SystemConfig\SystemConfigService::trace (line 44)"
35 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 120)"
36 => "Shopware\Core\Framework\Adapter\Translation\Translator::trace (line 45)"
37 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 46)"
38 => "Shopware\Core\Framework\Adapter\Cache\CacheTagCollection::trace (line 46)"
39 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::trace (line 41)"
40 => "Shopware\Storefront\Framework\Cache\CacheTracer::Shopware\Storefront\Framework\Cache\{closure} (line 59)"
41 => "Shopware\Storefront\Theme\ThemeConfigValueAccessor::trace (line 42)"
42 => "Shopware\Storefront\Framework\Cache\CacheTracer::trace (line 104)"
43 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 72)"
44 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
45 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 109)"
46 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 59)"
47 => "Shopware\Core\Profiling\Profiler::trace (line 112)"
48 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::load (line 66)"
49 => "Shopware\Storefront\Page\Navigation\NavigationPageLoader::load (line 48)"
50 => "Shopware\Storefront\Controller\NavigationController::home (line 163)"
51 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
52 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
53 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
54 => "Shopware\Core\HttpKernel::doHandle (line 81)"
55 => "Shopware\Core\HttpKernel::handle (line 75)"
]
|
35 |
5.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 (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 (SELECT `product.visibilities`.`product_id` as id, `product.visibilities`.`product_version_id` FROM `product_visibility` `product.visibilities` WHERE ((`product.visibilities`.`visibility` >= :param_002abcc9f9df4e448b2301f3ff82ec6e) AND `product.visibilities`.`sales_channel_id` = :param_935d5d49b56847e893c17b72f098e60e)) `product.visibilities_1` ON `product`.`visibilities` = `product.visibilities_1`.`id` AND `product`.`version_id` = `product.visibilities_1`.`product_version_id` LEFT JOIN (SELECT `product.visibilities`.`product_id` as id, `product.visibilities`.`product_version_id` FROM `product_visibility` `product.visibilities` WHERE ((`product.visibilities`.`visibility` >= :param_28189c71402441a8b4314fc8a8c6192b) AND `product.visibilities`.`sales_channel_id` = :param_910cd89966fd4f49afdff29948a64f1e)) `product.visibilities_2` ON `product`.`visibilities` = `product.visibilities_2`.`id` AND `product`.`version_id` = `product.visibilities_2`.`product_version_id` WHERE (`product`.`version_id` = :version) AND (((COALESCE(IF(JSON_TYPE(JSON_EXTRACT(`product.translation.customFields`, '$.mad_usergroups_enable')) != "NULL", CONVERT(JSON_UNQUOTE(JSON_EXTRACT(`product.translation.customFields`, '$.mad_usergroups_enable')) USING "utf8mb4") COLLATE utf8mb4_unicode_ci, NULL),IF(JSON_TYPE(JSON_EXTRACT(`product.parent.translation.customFields`, '$.mad_usergroups_enable')) != "NULL", CONVERT(JSON_UNQUOTE(JSON_EXTRACT(`product.parent.translation.customFields`, '$.mad_usergroups_enable')) USING "utf8mb4") COLLATE utf8mb4_unicode_ci, NULL)) LIKE :param_0ab95085b1ea4e46b22482aa49209c5c OR ((COALESCE(IF(JSON_TYPE(JSON_EXTRACT(`product.translation.customFields`, '$.mad_tags_enable')) != "NULL", CONVERT(JSON_UNQUOTE(JSON_EXTRACT(`product.translation.customFields`, '$.mad_tags_enable')) USING "utf8mb4") COLLATE utf8mb4_unicode_ci, NULL),IF(JSON_TYPE(JSON_EXTRACT(`product.parent.translation.customFields`, '$.mad_tags_enable')) != "NULL", CONVERT(JSON_UNQUOTE(JSON_EXTRACT(`product.parent.translation.customFields`, '$.mad_tags_enable')) USING "utf8mb4") COLLATE utf8mb4_unicode_ci, NULL)) <=> :param_cbedc4b2b7cd427ab1ee16ba630eea3a OR COALESCE(IF(JSON_TYPE(JSON_EXTRACT(`product.translation.customFields`, '$.mad_tags_enable')) != "NULL", CONVERT(JSON_UNQUOTE(JSON_EXTRACT(`product.translation.customFields`, '$.mad_tags_enable')) USING "utf8mb4") COLLATE utf8mb4_unicode_ci, NULL),IF(JSON_TYPE(JSON_EXTRACT(`product.parent.translation.customFields`, '$.mad_tags_enable')) != "NULL", CONVERT(JSON_UNQUOTE(JSON_EXTRACT(`product.parent.translation.customFields`, '$.mad_tags_enable')) USING "utf8mb4") COLLATE utf8mb4_unicode_ci, NULL)) = :param_60b3312d1adc472d8c73fd9e47d7fa7d) AND (COALESCE(IF(JSON_TYPE(JSON_EXTRACT(`product.translation.customFields`, '$.mad_usergroups_enable')) != "NULL", CONVERT(JSON_UNQUOTE(JSON_EXTRACT(`product.translation.customFields`, '$.mad_usergroups_enable')) USING "utf8mb4") COLLATE utf8mb4_unicode_ci, NULL),IF(JSON_TYPE(JSON_EXTRACT(`product.parent.translation.customFields`, '$.mad_usergroups_enable')) != "NULL", CONVERT(JSON_UNQUOTE(JSON_EXTRACT(`product.parent.translation.customFields`, '$.mad_usergroups_enable')) USING "utf8mb4") COLLATE utf8mb4_unicode_ci, NULL)) <=> :param_f0a22983dbdd4845b3b43c176fa26ee0 OR COALESCE(IF(JSON_TYPE(JSON_EXTRACT(`product.translation.customFields`, '$.mad_usergroups_enable')) != "NULL", CONVERT(JSON_UNQUOTE(JSON_EXTRACT(`product.translation.customFields`, '$.mad_usergroups_enable')) USING "utf8mb4") COLLATE utf8mb4_unicode_ci, NULL),IF(JSON_TYPE(JSON_EXTRACT(`product.parent.translation.customFields`, '$.mad_usergroups_enable')) != "NULL", CONVERT(JSON_UNQUOTE(JSON_EXTRACT(`product.parent.translation.customFields`, '$.mad_usergroups_enable')) USING "utf8mb4") COLLATE utf8mb4_unicode_ci, NULL)) = :param_0c5dc9bf755c42748c3f5d22e2c80621) AND (`product.visibilities_1`.id IS NOT NULL AND `product.visibilities_1`.id IS NOT NULL AND IFNULL(`product`.`active`, `product.parent`.`active`) = :param_772f1a4c4be3428e813007278c0d98a3))) AND (`product.visibilities_2`.id IS NOT NULL AND `product.visibilities_2`.id IS NOT NULL AND IFNULL(`product`.`active`, `product.parent`.`active`) = :param_23c1ec0da6c84f5d8f2651c646cbc6bc))) 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 (
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 (
SELECT
`product.visibilities`.`product_id` as id,
`product.visibilities`.`product_version_id`
FROM
`product_visibility` `product.visibilities`
WHERE
(
(
`product.visibilities`.`visibility` >= : param_002abcc9f9df4e448b2301f3ff82ec6e
)
AND `product.visibilities`.`sales_channel_id` = : param_935d5d49b56847e893c17b72f098e60e
)
) `product.visibilities_1` ON `product`.`visibilities` = `product.visibilities_1`.`id`
AND `product`.`version_id` = `product.visibilities_1`.`product_version_id`
LEFT JOIN (
SELECT
`product.visibilities`.`product_id` as id,
`product.visibilities`.`product_version_id`
FROM
`product_visibility` `product.visibilities`
WHERE
(
(
`product.visibilities`.`visibility` >= : param_28189c71402441a8b4314fc8a8c6192b
)
AND `product.visibilities`.`sales_channel_id` = : param_910cd89966fd4f49afdff29948a64f1e
)
) `product.visibilities_2` ON `product`.`visibilities` = `product.visibilities_2`.`id`
AND `product`.`version_id` = `product.visibilities_2`.`product_version_id`
WHERE
(
`product`.`version_id` = : version
)
AND (
(
(
COALESCE(
IF(
JSON_TYPE(
JSON_EXTRACT(
`product.translation.customFields`,
'$.mad_usergroups_enable'
)
) != "NULL",
CONVERT(
JSON_UNQUOTE(
JSON_EXTRACT(
`product.translation.customFields`,
'$.mad_usergroups_enable'
)
) USING "utf8mb4"
) COLLATE utf8mb4_unicode_ci,
NULL
),
IF(
JSON_TYPE(
JSON_EXTRACT(
`product.parent.translation.customFields`,
'$.mad_usergroups_enable'
)
) != "NULL",
CONVERT(
JSON_UNQUOTE(
JSON_EXTRACT(
`product.parent.translation.customFields`,
'$.mad_usergroups_enable'
)
) USING "utf8mb4"
) COLLATE utf8mb4_unicode_ci,
NULL
)
) LIKE : param_0ab95085b1ea4e46b22482aa49209c5c
OR (
(
COALESCE(
IF(
JSON_TYPE(
JSON_EXTRACT(
`product.translation.customFields`,
'$.mad_tags_enable'
)
) != "NULL",
CONVERT(
JSON_UNQUOTE(
JSON_EXTRACT(
`product.translation.customFields`,
'$.mad_tags_enable'
)
) USING "utf8mb4"
) COLLATE utf8mb4_unicode_ci,
NULL
),
IF(
JSON_TYPE(
JSON_EXTRACT(
`product.parent.translation.customFields`,
'$.mad_tags_enable'
)
) != "NULL",
CONVERT(
JSON_UNQUOTE(
JSON_EXTRACT(
`product.parent.translation.customFields`,
'$.mad_tags_enable'
)
) USING "utf8mb4"
) COLLATE utf8mb4_unicode_ci,
NULL
)
) <=> : param_cbedc4b2b7cd427ab1ee16ba630eea3a
OR COALESCE(
IF(
JSON_TYPE(
JSON_EXTRACT(
`product.translation.customFields`,
'$.mad_tags_enable'
)
) != "NULL",
CONVERT(
JSON_UNQUOTE(
JSON_EXTRACT(
`product.translation.customFields`,
'$.mad_tags_enable'
)
) USING "utf8mb4"
) COLLATE utf8mb4_unicode_ci,
NULL
),
IF(
JSON_TYPE(
JSON_EXTRACT(
`product.parent.translation.customFields`,
'$.mad_tags_enable'
)
) != "NULL",
CONVERT(
JSON_UNQUOTE(
JSON_EXTRACT(
`product.parent.translation.customFields`,
'$.mad_tags_enable'
)
) USING "utf8mb4"
) COLLATE utf8mb4_unicode_ci,
NULL
)
) = : param_60b3312d1adc472d8c73fd9e47d7fa7d
)
AND (
COALESCE(
IF(
JSON_TYPE(
JSON_EXTRACT(
`product.translation.customFields`,
'$.mad_usergroups_enable'
)
) != "NULL",
CONVERT(
JSON_UNQUOTE(
JSON_EXTRACT(
`product.translation.customFields`,
'$.mad_usergroups_enable'
)
) USING "utf8mb4"
) COLLATE utf8mb4_unicode_ci,
NULL
),
IF(
JSON_TYPE(
JSON_EXTRACT(
`product.parent.translation.customFields`,
'$.mad_usergroups_enable'
)
) != "NULL",
CONVERT(
JSON_UNQUOTE(
JSON_EXTRACT(
`product.parent.translation.customFields`,
'$.mad_usergroups_enable'
)
) USING "utf8mb4"
) COLLATE utf8mb4_unicode_ci,
NULL
)
) <=> : param_f0a22983dbdd4845b3b43c176fa26ee0
OR COALESCE(
IF(
JSON_TYPE(
JSON_EXTRACT(
`product.translation.customFields`,
'$.mad_usergroups_enable'
)
) != "NULL",
CONVERT(
JSON_UNQUOTE(
JSON_EXTRACT(
`product.translation.customFields`,
'$.mad_usergroups_enable'
)
) USING "utf8mb4"
) COLLATE utf8mb4_unicode_ci,
NULL
),
IF(
JSON_TYPE(
JSON_EXTRACT(
`product.parent.translation.customFields`,
'$.mad_usergroups_enable'
)
) != "NULL",
CONVERT(
JSON_UNQUOTE(
JSON_EXTRACT(
`product.parent.translation.customFields`,
'$.mad_usergroups_enable'
)
) USING "utf8mb4"
) COLLATE utf8mb4_unicode_ci,
NULL
)
) = : param_0c5dc9bf755c42748c3f5d22e2c80621
)
AND (
`product.visibilities_1`.id IS NOT NULL
AND `product.visibilities_1`.id IS NOT NULL
AND IFNULL(
`product`.`active`, `product.parent`.`active`
) = : param_772f1a4c4be3428e813007278c0d98a3
)
)
)
AND (
`product.visibilities_2`.id IS NOT NULL
AND `product.visibilities_2`.id IS NOT NULL
AND IFNULL(
`product`.`active`, `product.parent`.`active`
) = : param_23c1ec0da6c84f5d8f2651c646cbc6bc
)
)
)
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 (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 (SELECT `product.visibilities`.`product_id` as id, `product.visibilities`.`product_version_id` FROM `product_visibility` `product.visibilities` WHERE ((`product.visibilities`.`visibility` >= 30) AND `product.visibilities`.`sales_channel_id` = 0x620A2217F7474E619CB00AD39E804CCA)) `product.visibilities_1` ON `product`.`visibilities` = `product.visibilities_1`.`id` AND `product`.`version_id` = `product.visibilities_1`.`product_version_id` LEFT JOIN (SELECT `product.visibilities`.`product_id` as id, `product.visibilities`.`product_version_id` FROM `product_visibility` `product.visibilities` WHERE ((`product.visibilities`.`visibility` >= 10) AND `product.visibilities`.`sales_channel_id` = 0x620A2217F7474E619CB00AD39E804CCA)) `product.visibilities_2` ON `product`.`visibilities` = `product.visibilities_2`.`id` AND `product`.`version_id` = `product.visibilities_2`.`product_version_id` WHERE (`product`.`version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425) AND (((COALESCE(IF(JSON_TYPE(JSON_EXTRACT(`product.translation.customFields`, '$.mad_usergroups_enable')) != "NULL", CONVERT(JSON_UNQUOTE(JSON_EXTRACT(`product.translation.customFields`, '$.mad_usergroups_enable')) USING "utf8mb4") COLLATE utf8mb4_unicode_ci, NULL),IF(JSON_TYPE(JSON_EXTRACT(`product.parent.translation.customFields`, '$.mad_usergroups_enable')) != "NULL", CONVERT(JSON_UNQUOTE(JSON_EXTRACT(`product.parent.translation.customFields`, '$.mad_usergroups_enable')) USING "utf8mb4") COLLATE utf8mb4_unicode_ci, NULL)) LIKE '%c28421f99edc4f26b720cd6b19ffa899%' OR ((COALESCE(IF(JSON_TYPE(JSON_EXTRACT(`product.translation.customFields`, '$.mad_tags_enable')) != "NULL", CONVERT(JSON_UNQUOTE(JSON_EXTRACT(`product.translation.customFields`, '$.mad_tags_enable')) USING "utf8mb4") COLLATE utf8mb4_unicode_ci, NULL),IF(JSON_TYPE(JSON_EXTRACT(`product.parent.translation.customFields`, '$.mad_tags_enable')) != "NULL", CONVERT(JSON_UNQUOTE(JSON_EXTRACT(`product.parent.translation.customFields`, '$.mad_tags_enable')) USING "utf8mb4") COLLATE utf8mb4_unicode_ci, NULL)) <=> NULL OR COALESCE(IF(JSON_TYPE(JSON_EXTRACT(`product.translation.customFields`, '$.mad_tags_enable')) != "NULL", CONVERT(JSON_UNQUOTE(JSON_EXTRACT(`product.translation.customFields`, '$.mad_tags_enable')) USING "utf8mb4") COLLATE utf8mb4_unicode_ci, NULL),IF(JSON_TYPE(JSON_EXTRACT(`product.parent.translation.customFields`, '$.mad_tags_enable')) != "NULL", CONVERT(JSON_UNQUOTE(JSON_EXTRACT(`product.parent.translation.customFields`, '$.mad_tags_enable')) USING "utf8mb4") COLLATE utf8mb4_unicode_ci, NULL)) = '[]') AND (COALESCE(IF(JSON_TYPE(JSON_EXTRACT(`product.translation.customFields`, '$.mad_usergroups_enable')) != "NULL", CONVERT(JSON_UNQUOTE(JSON_EXTRACT(`product.translation.customFields`, '$.mad_usergroups_enable')) USING "utf8mb4") COLLATE utf8mb4_unicode_ci, NULL),IF(JSON_TYPE(JSON_EXTRACT(`product.parent.translation.customFields`, '$.mad_usergroups_enable')) != "NULL", CONVERT(JSON_UNQUOTE(JSON_EXTRACT(`product.parent.translation.customFields`, '$.mad_usergroups_enable')) USING "utf8mb4") COLLATE utf8mb4_unicode_ci, NULL)) <=> NULL OR COALESCE(IF(JSON_TYPE(JSON_EXTRACT(`product.translation.customFields`, '$.mad_usergroups_enable')) != "NULL", CONVERT(JSON_UNQUOTE(JSON_EXTRACT(`product.translation.customFields`, '$.mad_usergroups_enable')) USING "utf8mb4") COLLATE utf8mb4_unicode_ci, NULL),IF(JSON_TYPE(JSON_EXTRACT(`product.parent.translation.customFields`, '$.mad_usergroups_enable')) != "NULL", CONVERT(JSON_UNQUOTE(JSON_EXTRACT(`product.parent.translation.customFields`, '$.mad_usergroups_enable')) USING "utf8mb4") COLLATE utf8mb4_unicode_ci, NULL)) = '[]') AND (`product.visibilities_1`.id IS NOT NULL AND `product.visibilities_1`.id IS NOT NULL AND IFNULL(`product`.`active`, `product.parent`.`active`) = 1))) AND (`product.visibilities_2`.id IS NOT NULL AND `product.visibilities_2`.id IS NOT NULL AND IFNULL(`product`.`active`, `product.parent`.`active`) = 1))) AND (`product`.`id` IN (0x03F4EF144EC44C3E822790C652F7C3F6, 0x045EBC3CFE9D4BC7B696BB205090AB9F)) GROUP BY `product`.`id`;
array:35 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
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 147)"
7 => "Shopware\Core\Content\Cms\DataResolver\CmsSlotsDataResolver::fetchByCriteria (line 85)"
8 => "Shopware\Core\Content\Cms\DataResolver\CmsSlotsDataResolver::resolve (line 104)"
9 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::loadSlotData (line 94)"
10 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::load (line 102)"
11 => "Shopware\Core\Content\Category\SalesChannel\CategoryRoute::load (line 103)"
12 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 350)"
13 => "Shopware\Core\System\SystemConfig\SystemConfigService::trace (line 44)"
14 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 120)"
15 => "Shopware\Core\Framework\Adapter\Translation\Translator::trace (line 45)"
16 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 46)"
17 => "Shopware\Core\Framework\Adapter\Cache\CacheTagCollection::trace (line 46)"
18 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::trace (line 41)"
19 => "Shopware\Storefront\Framework\Cache\CacheTracer::Shopware\Storefront\Framework\Cache\{closure} (line 59)"
20 => "Shopware\Storefront\Theme\ThemeConfigValueAccessor::trace (line 42)"
21 => "Shopware\Storefront\Framework\Cache\CacheTracer::trace (line 104)"
22 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 72)"
23 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
24 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 109)"
25 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 59)"
26 => "Shopware\Core\Profiling\Profiler::trace (line 112)"
27 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::load (line 66)"
28 => "Shopware\Storefront\Page\Navigation\NavigationPageLoader::load (line 48)"
29 => "Shopware\Storefront\Controller\NavigationController::home (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 75)"
]
|
36 |
39.50 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.bundle`.`id` as `product.bundle.id`, `product.bundle`.`product_id` as `product.bundle.productId`, `product.bundle`.`product_version_id` as `product.bundle.productVersionId`, `product.bundle`.`name` as `product.bundle.name`, `product.bundle`.`price_type` as `product.bundle.priceType`, `product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`, `product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`, `product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`, `product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`, `product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`, `product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`, `product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`, `product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`, `product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`, `product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`, `product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`, `product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`, `product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`, `product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`, `product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`, `product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`, `product.bundle`.`created_at` as `product.bundle.createdAt`, `product.bundle`.`updated_at` as `product.bundle.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.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 `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_id` LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id` AND `product`.`version_id` = `product.cover`.`version_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 `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`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.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.bundle`.`id` as `product.bundle.id`,
`product.bundle`.`product_id` as `product.bundle.productId`,
`product.bundle`.`product_version_id` as `product.bundle.productVersionId`,
`product.bundle`.`name` as `product.bundle.name`,
`product.bundle`.`price_type` as `product.bundle.priceType`,
`product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`,
`product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`,
`product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`,
`product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`,
`product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`,
`product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`,
`product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`,
`product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`,
`product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`,
`product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`,
`product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`,
`product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`,
`product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`,
`product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`,
`product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`,
`product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`,
`product.bundle`.`created_at` as `product.bundle.createdAt`,
`product.bundle`.`updated_at` as `product.bundle.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.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 `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_id`
LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id`
AND `product`.`version_id` = `product.cover`.`version_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 `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id`
LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id`
LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`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.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.bundle`.`id` as `product.bundle.id`, `product.bundle`.`product_id` as `product.bundle.productId`, `product.bundle`.`product_version_id` as `product.bundle.productVersionId`, `product.bundle`.`name` as `product.bundle.name`, `product.bundle`.`price_type` as `product.bundle.priceType`, `product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`, `product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`, `product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`, `product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`, `product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`, `product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`, `product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`, `product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`, `product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`, `product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`, `product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`, `product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`, `product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`, `product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`, `product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`, `product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`, `product.bundle`.`created_at` as `product.bundle.createdAt`, `product.bundle`.`updated_at` as `product.bundle.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.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 `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_id` LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id` AND `product`.`version_id` = `product.cover`.`version_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 `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`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.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 (0x03F4EF144EC44C3E822790C652F7C3F6, 0x045EBC3CFE9D4BC7B696BB205090AB9F));
array:36 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
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 147)"
8 => "Shopware\Core\Content\Cms\DataResolver\CmsSlotsDataResolver::fetchByCriteria (line 85)"
9 => "Shopware\Core\Content\Cms\DataResolver\CmsSlotsDataResolver::resolve (line 104)"
10 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::loadSlotData (line 94)"
11 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::load (line 102)"
12 => "Shopware\Core\Content\Category\SalesChannel\CategoryRoute::load (line 103)"
13 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{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 104)"
23 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 72)"
24 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
25 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 109)"
26 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 59)"
27 => "Shopware\Core\Profiling\Profiler::trace (line 112)"
28 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::load (line 66)"
29 => "Shopware\Storefront\Page\Navigation\NavigationPageLoader::load (line 48)"
30 => "Shopware\Storefront\Controller\NavigationController::home (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 75)"
]
|
37 |
3.36 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 (0xC9FCA83BB5384F9FADB3B5FEE544D3C9);
array:40 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
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 147)"
12 => "Shopware\Core\Content\Cms\DataResolver\CmsSlotsDataResolver::fetchByCriteria (line 85)"
13 => "Shopware\Core\Content\Cms\DataResolver\CmsSlotsDataResolver::resolve (line 104)"
14 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::loadSlotData (line 94)"
15 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::load (line 102)"
16 => "Shopware\Core\Content\Category\SalesChannel\CategoryRoute::load (line 103)"
17 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{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 104)"
27 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 72)"
28 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
29 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 109)"
30 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 59)"
31 => "Shopware\Core\Profiling\Profiler::trace (line 112)"
32 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::load (line 66)"
33 => "Shopware\Storefront\Page\Navigation\NavigationPageLoader::load (line 48)"
34 => "Shopware\Storefront\Controller\NavigationController::home (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 75)"
]
|
38 |
0.82 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_944f391cedc34231b7715bb57b8e26fb)))
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 (0x03F4EF144EC44C3E822790C652F7C3F6, 0x045EBC3CFE9D4BC7B696BB205090AB9F, 0x7E400E2572B447458789E1E3EDFAB37F)));
array:40 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
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 147)"
12 => "Shopware\Core\Content\Cms\DataResolver\CmsSlotsDataResolver::fetchByCriteria (line 85)"
13 => "Shopware\Core\Content\Cms\DataResolver\CmsSlotsDataResolver::resolve (line 104)"
14 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::loadSlotData (line 94)"
15 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::load (line 102)"
16 => "Shopware\Core\Content\Category\SalesChannel\CategoryRoute::load (line 103)"
17 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{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 104)"
27 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 72)"
28 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
29 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 109)"
30 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 59)"
31 => "Shopware\Core\Profiling\Profiler::trace (line 112)"
32 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::load (line 66)"
33 => "Shopware\Storefront\Page\Navigation\NavigationPageLoader::load (line 48)"
34 => "Shopware\Storefront\Controller\NavigationController::home (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 75)"
]
|
39 |
0.50 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 = 0x620A2217F7474E619CB00AD39E804CCA) AND (token = 'IN5Ub8FQVmsGnU9oCTmNWiTvs4Dar3OO') LIMIT 1;
array:43 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 165)"
3 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextPersister::load (line 69)"
4 => "Bodymed\Webshop\Core\Subscriber\ProductSubscriber::addCustomerProductFeatureExtension (line 230)"
5 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
6 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
7 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
8 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
9 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
10 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 33)"
11 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
12 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 208)"
13 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::read (line 133)"
14 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 147)"
15 => "Shopware\Core\Content\Cms\DataResolver\CmsSlotsDataResolver::fetchByCriteria (line 85)"
16 => "Shopware\Core\Content\Cms\DataResolver\CmsSlotsDataResolver::resolve (line 104)"
17 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::loadSlotData (line 94)"
18 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::load (line 102)"
19 => "Shopware\Core\Content\Category\SalesChannel\CategoryRoute::load (line 103)"
20 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 350)"
21 => "Shopware\Core\System\SystemConfig\SystemConfigService::trace (line 44)"
22 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 120)"
23 => "Shopware\Core\Framework\Adapter\Translation\Translator::trace (line 45)"
24 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 46)"
25 => "Shopware\Core\Framework\Adapter\Cache\CacheTagCollection::trace (line 46)"
26 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::trace (line 41)"
27 => "Shopware\Storefront\Framework\Cache\CacheTracer::Shopware\Storefront\Framework\Cache\{closure} (line 59)"
28 => "Shopware\Storefront\Theme\ThemeConfigValueAccessor::trace (line 42)"
29 => "Shopware\Storefront\Framework\Cache\CacheTracer::trace (line 104)"
30 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 72)"
31 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
32 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 109)"
33 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 59)"
34 => "Shopware\Core\Profiling\Profiler::trace (line 112)"
35 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::load (line 66)"
36 => "Shopware\Storefront\Page\Navigation\NavigationPageLoader::load (line 48)"
37 => "Shopware\Storefront\Controller\NavigationController::home (line 163)"
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 75)"
]
|
40 |
25.82 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.bundle`.`id` as `product.bundle.id`, `product.bundle`.`product_id` as `product.bundle.productId`, `product.bundle`.`product_version_id` as `product.bundle.productVersionId`, `product.bundle`.`name` as `product.bundle.name`, `product.bundle`.`price_type` as `product.bundle.priceType`, `product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`, `product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`, `product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`, `product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`, `product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`, `product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`, `product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`, `product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`, `product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`, `product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`, `product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`, `product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`, `product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`, `product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`, `product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`, `product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`, `product.bundle`.`created_at` as `product.bundle.createdAt`, `product.bundle`.`updated_at` as `product.bundle.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`, `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 `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_id` LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id` AND `product`.`version_id` = `product.cover`.`version_id` LEFT JOIN `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`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.bundle`.`id` as `product.bundle.id`,
`product.bundle`.`product_id` as `product.bundle.productId`,
`product.bundle`.`product_version_id` as `product.bundle.productVersionId`,
`product.bundle`.`name` as `product.bundle.name`,
`product.bundle`.`price_type` as `product.bundle.priceType`,
`product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`,
`product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`,
`product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`,
`product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`,
`product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`,
`product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`,
`product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`,
`product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`,
`product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`,
`product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`,
`product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`,
`product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`,
`product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`,
`product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`,
`product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`,
`product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`,
`product.bundle`.`created_at` as `product.bundle.createdAt`,
`product.bundle`.`updated_at` as `product.bundle.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`,
`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 `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_id`
LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id`
AND `product`.`version_id` = `product.cover`.`version_id`
LEFT JOIN `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id`
LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id`
LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`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.bundle`.`id` as `product.bundle.id`, `product.bundle`.`product_id` as `product.bundle.productId`, `product.bundle`.`product_version_id` as `product.bundle.productVersionId`, `product.bundle`.`name` as `product.bundle.name`, `product.bundle`.`price_type` as `product.bundle.priceType`, `product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`, `product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`, `product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`, `product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`, `product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`, `product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`, `product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`, `product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`, `product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`, `product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`, `product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`, `product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`, `product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`, `product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`, `product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`, `product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`, `product.bundle`.`created_at` as `product.bundle.createdAt`, `product.bundle`.`updated_at` as `product.bundle.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`, `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 `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_id` LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id` AND `product`.`version_id` = `product.cover`.`version_id` LEFT JOIN `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`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 (0x7E400E2572B447458789E1E3EDFAB37F));
array:49 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
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 103)"
10 => "Bodymed\Webshop\StoreFront\Subscriber\ProductExtensionSubscriber::addParentCover (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 33)"
17 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
18 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 208)"
19 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::read (line 133)"
20 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 147)"
21 => "Shopware\Core\Content\Cms\DataResolver\CmsSlotsDataResolver::fetchByCriteria (line 85)"
22 => "Shopware\Core\Content\Cms\DataResolver\CmsSlotsDataResolver::resolve (line 104)"
23 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::loadSlotData (line 94)"
24 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::load (line 102)"
25 => "Shopware\Core\Content\Category\SalesChannel\CategoryRoute::load (line 103)"
26 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 350)"
27 => "Shopware\Core\System\SystemConfig\SystemConfigService::trace (line 44)"
28 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 120)"
29 => "Shopware\Core\Framework\Adapter\Translation\Translator::trace (line 45)"
30 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 46)"
31 => "Shopware\Core\Framework\Adapter\Cache\CacheTagCollection::trace (line 46)"
32 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::trace (line 41)"
33 => "Shopware\Storefront\Framework\Cache\CacheTracer::Shopware\Storefront\Framework\Cache\{closure} (line 59)"
34 => "Shopware\Storefront\Theme\ThemeConfigValueAccessor::trace (line 42)"
35 => "Shopware\Storefront\Framework\Cache\CacheTracer::trace (line 104)"
36 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 72)"
37 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
38 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 109)"
39 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 59)"
40 => "Shopware\Core\Profiling\Profiler::trace (line 112)"
41 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::load (line 66)"
42 => "Shopware\Storefront\Page\Navigation\NavigationPageLoader::load (line 48)"
43 => "Shopware\Storefront\Controller\NavigationController::home (line 163)"
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 75)"
]
|
41 |
0.68 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 = 0x620A2217F7474E619CB00AD39E804CCA) AND (token = 'IN5Ub8FQVmsGnU9oCTmNWiTvs4Dar3OO') LIMIT 1;
array:56 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 165)"
3 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextPersister::load (line 69)"
4 => "Bodymed\Webshop\Core\Subscriber\ProductSubscriber::addCustomerProductFeatureExtension (line 230)"
5 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
6 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
7 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
8 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
9 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
10 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 33)"
11 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
12 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 269)"
13 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::read (line 286)"
14 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::_search (line 106)"
15 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::search (line 51)"
16 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepositoryForwardCompatibilityDecorator::search (line 103)"
17 => "Bodymed\Webshop\StoreFront\Subscriber\ProductExtensionSubscriber::addParentCover (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 147)"
28 => "Shopware\Core\Content\Cms\DataResolver\CmsSlotsDataResolver::fetchByCriteria (line 85)"
29 => "Shopware\Core\Content\Cms\DataResolver\CmsSlotsDataResolver::resolve (line 104)"
30 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::loadSlotData (line 94)"
31 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::load (line 102)"
32 => "Shopware\Core\Content\Category\SalesChannel\CategoryRoute::load (line 103)"
33 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 350)"
34 => "Shopware\Core\System\SystemConfig\SystemConfigService::trace (line 44)"
35 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 120)"
36 => "Shopware\Core\Framework\Adapter\Translation\Translator::trace (line 45)"
37 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 46)"
38 => "Shopware\Core\Framework\Adapter\Cache\CacheTagCollection::trace (line 46)"
39 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::trace (line 41)"
40 => "Shopware\Storefront\Framework\Cache\CacheTracer::Shopware\Storefront\Framework\Cache\{closure} (line 59)"
41 => "Shopware\Storefront\Theme\ThemeConfigValueAccessor::trace (line 42)"
42 => "Shopware\Storefront\Framework\Cache\CacheTracer::trace (line 104)"
43 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 72)"
44 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
45 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 109)"
46 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 59)"
47 => "Shopware\Core\Profiling\Profiler::trace (line 112)"
48 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::load (line 66)"
49 => "Shopware\Storefront\Page\Navigation\NavigationPageLoader::load (line 48)"
50 => "Shopware\Storefront\Controller\NavigationController::home (line 163)"
51 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
52 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
53 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
54 => "Shopware\Core\HttpKernel::doHandle (line 81)"
55 => "Shopware\Core\HttpKernel::handle (line 75)"
]
|
42 |
6.95 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 (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 (SELECT `product.visibilities`.`product_id` as id, `product.visibilities`.`product_version_id` FROM `product_visibility` `product.visibilities` WHERE ((`product.visibilities`.`visibility` >= :param_0bda23e556d443e7becf410d9ada6093) AND `product.visibilities`.`sales_channel_id` = :param_6d8d6783beff4e3092c015d3eaa5fefd)) `product.visibilities_1` ON `product`.`visibilities` = `product.visibilities_1`.`id` AND `product`.`version_id` = `product.visibilities_1`.`product_version_id` LEFT JOIN (SELECT `product.visibilities`.`product_id` as id, `product.visibilities`.`product_version_id` FROM `product_visibility` `product.visibilities` WHERE ((`product.visibilities`.`visibility` >= :param_9134d6e0b3be4ac397e8e5debb39fecd) AND `product.visibilities`.`sales_channel_id` = :param_dca15aaa38844935a975347ffbfec8df)) `product.visibilities_2` ON `product`.`visibilities` = `product.visibilities_2`.`id` AND `product`.`version_id` = `product.visibilities_2`.`product_version_id` WHERE (`product`.`version_id` = :version) AND (((((`product`.`id` = :param_a9808b119e7241888adaed506827cb6f OR `product`.`parent_id` = :param_07b9bfdfe734449294308e36604437e9)) OR ((`product`.`id` = :param_d4cf42597c11485394c4477016ec1f43 OR `product`.`parent_id` = :param_f61913fc64004894b882901a95a4d866))) AND NOT (`product`.`display_group` <=> :param_de71b94a068c443a8a8ca92bad3c31f7) AND (COALESCE(IF(JSON_TYPE(JSON_EXTRACT(`product.translation.customFields`, '$.mad_usergroups_enable')) != "NULL", CONVERT(JSON_UNQUOTE(JSON_EXTRACT(`product.translation.customFields`, '$.mad_usergroups_enable')) USING "utf8mb4") COLLATE utf8mb4_unicode_ci, NULL),IF(JSON_TYPE(JSON_EXTRACT(`product.parent.translation.customFields`, '$.mad_usergroups_enable')) != "NULL", CONVERT(JSON_UNQUOTE(JSON_EXTRACT(`product.parent.translation.customFields`, '$.mad_usergroups_enable')) USING "utf8mb4") COLLATE utf8mb4_unicode_ci, NULL)) LIKE :param_fbb5c87e79454ffcbbed0edeb63ffb7e OR ((COALESCE(IF(JSON_TYPE(JSON_EXTRACT(`product.translation.customFields`, '$.mad_tags_enable')) != "NULL", CONVERT(JSON_UNQUOTE(JSON_EXTRACT(`product.translation.customFields`, '$.mad_tags_enable')) USING "utf8mb4") COLLATE utf8mb4_unicode_ci, NULL),IF(JSON_TYPE(JSON_EXTRACT(`product.parent.translation.customFields`, '$.mad_tags_enable')) != "NULL", CONVERT(JSON_UNQUOTE(JSON_EXTRACT(`product.parent.translation.customFields`, '$.mad_tags_enable')) USING "utf8mb4") COLLATE utf8mb4_unicode_ci, NULL)) <=> :param_df26e93fdd874755a7e5c55f1d87ac49 OR COALESCE(IF(JSON_TYPE(JSON_EXTRACT(`product.translation.customFields`, '$.mad_tags_enable')) != "NULL", CONVERT(JSON_UNQUOTE(JSON_EXTRACT(`product.translation.customFields`, '$.mad_tags_enable')) USING "utf8mb4") COLLATE utf8mb4_unicode_ci, NULL),IF(JSON_TYPE(JSON_EXTRACT(`product.parent.translation.customFields`, '$.mad_tags_enable')) != "NULL", CONVERT(JSON_UNQUOTE(JSON_EXTRACT(`product.parent.translation.customFields`, '$.mad_tags_enable')) USING "utf8mb4") COLLATE utf8mb4_unicode_ci, NULL)) = :param_c0a0083a278f4b91a7fce7528165120d) AND (COALESCE(IF(JSON_TYPE(JSON_EXTRACT(`product.translation.customFields`, '$.mad_usergroups_enable')) != "NULL", CONVERT(JSON_UNQUOTE(JSON_EXTRACT(`product.translation.customFields`, '$.mad_usergroups_enable')) USING "utf8mb4") COLLATE utf8mb4_unicode_ci, NULL),IF(JSON_TYPE(JSON_EXTRACT(`product.parent.translation.customFields`, '$.mad_usergroups_enable')) != "NULL", CONVERT(JSON_UNQUOTE(JSON_EXTRACT(`product.parent.translation.customFields`, '$.mad_usergroups_enable')) USING "utf8mb4") COLLATE utf8mb4_unicode_ci, NULL)) <=> :param_5e12be9871ab4ea69b941d286a8472f1 OR COALESCE(IF(JSON_TYPE(JSON_EXTRACT(`product.translation.customFields`, '$.mad_usergroups_enable')) != "NULL", CONVERT(JSON_UNQUOTE(JSON_EXTRACT(`product.translation.customFields`, '$.mad_usergroups_enable')) USING "utf8mb4") COLLATE utf8mb4_unicode_ci, NULL),IF(JSON_TYPE(JSON_EXTRACT(`product.parent.translation.customFields`, '$.mad_usergroups_enable')) != "NULL", CONVERT(JSON_UNQUOTE(JSON_EXTRACT(`product.parent.translation.customFields`, '$.mad_usergroups_enable')) USING "utf8mb4") COLLATE utf8mb4_unicode_ci, NULL)) = :param_1be9ee4ba9834e138f13b216a43f074d) AND (`product.visibilities_1`.id IS NOT NULL AND `product.visibilities_1`.id IS NOT NULL AND IFNULL(`product`.`active`, `product.parent`.`active`) = :param_eda3be7d902f41c190169650a5a879ab))) AND (`product.visibilities_2`.id IS NOT NULL AND `product.visibilities_2`.id IS NOT NULL AND IFNULL(`product`.`active`, `product.parent`.`active`) = :param_52adefaebbab42b1a75d8d9802820d82))) GROUP BY `product`.`display_group` ORDER BY MIN(COALESCE(`product.translation.name`,`product.parent.translation.name`)) ASC LIMIT 10
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 (
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 (
SELECT
`product.visibilities`.`product_id` as id,
`product.visibilities`.`product_version_id`
FROM
`product_visibility` `product.visibilities`
WHERE
(
(
`product.visibilities`.`visibility` >= : param_0bda23e556d443e7becf410d9ada6093
)
AND `product.visibilities`.`sales_channel_id` = : param_6d8d6783beff4e3092c015d3eaa5fefd
)
) `product.visibilities_1` ON `product`.`visibilities` = `product.visibilities_1`.`id`
AND `product`.`version_id` = `product.visibilities_1`.`product_version_id`
LEFT JOIN (
SELECT
`product.visibilities`.`product_id` as id,
`product.visibilities`.`product_version_id`
FROM
`product_visibility` `product.visibilities`
WHERE
(
(
`product.visibilities`.`visibility` >= : param_9134d6e0b3be4ac397e8e5debb39fecd
)
AND `product.visibilities`.`sales_channel_id` = : param_dca15aaa38844935a975347ffbfec8df
)
) `product.visibilities_2` ON `product`.`visibilities` = `product.visibilities_2`.`id`
AND `product`.`version_id` = `product.visibilities_2`.`product_version_id`
WHERE
(
`product`.`version_id` = : version
)
AND (
(
(
(
(
`product`.`id` = : param_a9808b119e7241888adaed506827cb6f
OR `product`.`parent_id` = : param_07b9bfdfe734449294308e36604437e9
)
)
OR (
(
`product`.`id` = : param_d4cf42597c11485394c4477016ec1f43
OR `product`.`parent_id` = : param_f61913fc64004894b882901a95a4d866
)
)
)
AND NOT (
`product`.`display_group` <=> : param_de71b94a068c443a8a8ca92bad3c31f7
)
AND (
COALESCE(
IF(
JSON_TYPE(
JSON_EXTRACT(
`product.translation.customFields`,
'$.mad_usergroups_enable'
)
) != "NULL",
CONVERT(
JSON_UNQUOTE(
JSON_EXTRACT(
`product.translation.customFields`,
'$.mad_usergroups_enable'
)
) USING "utf8mb4"
) COLLATE utf8mb4_unicode_ci,
NULL
),
IF(
JSON_TYPE(
JSON_EXTRACT(
`product.parent.translation.customFields`,
'$.mad_usergroups_enable'
)
) != "NULL",
CONVERT(
JSON_UNQUOTE(
JSON_EXTRACT(
`product.parent.translation.customFields`,
'$.mad_usergroups_enable'
)
) USING "utf8mb4"
) COLLATE utf8mb4_unicode_ci,
NULL
)
) LIKE : param_fbb5c87e79454ffcbbed0edeb63ffb7e
OR (
(
COALESCE(
IF(
JSON_TYPE(
JSON_EXTRACT(
`product.translation.customFields`,
'$.mad_tags_enable'
)
) != "NULL",
CONVERT(
JSON_UNQUOTE(
JSON_EXTRACT(
`product.translation.customFields`,
'$.mad_tags_enable'
)
) USING "utf8mb4"
) COLLATE utf8mb4_unicode_ci,
NULL
),
IF(
JSON_TYPE(
JSON_EXTRACT(
`product.parent.translation.customFields`,
'$.mad_tags_enable'
)
) != "NULL",
CONVERT(
JSON_UNQUOTE(
JSON_EXTRACT(
`product.parent.translation.customFields`,
'$.mad_tags_enable'
)
) USING "utf8mb4"
) COLLATE utf8mb4_unicode_ci,
NULL
)
) <=> : param_df26e93fdd874755a7e5c55f1d87ac49
OR COALESCE(
IF(
JSON_TYPE(
JSON_EXTRACT(
`product.translation.customFields`,
'$.mad_tags_enable'
)
) != "NULL",
CONVERT(
JSON_UNQUOTE(
JSON_EXTRACT(
`product.translation.customFields`,
'$.mad_tags_enable'
)
) USING "utf8mb4"
) COLLATE utf8mb4_unicode_ci,
NULL
),
IF(
JSON_TYPE(
JSON_EXTRACT(
`product.parent.translation.customFields`,
'$.mad_tags_enable'
)
) != "NULL",
CONVERT(
JSON_UNQUOTE(
JSON_EXTRACT(
`product.parent.translation.customFields`,
'$.mad_tags_enable'
)
) USING "utf8mb4"
) COLLATE utf8mb4_unicode_ci,
NULL
)
) = : param_c0a0083a278f4b91a7fce7528165120d
)
AND (
COALESCE(
IF(
JSON_TYPE(
JSON_EXTRACT(
`product.translation.customFields`,
'$.mad_usergroups_enable'
)
) != "NULL",
CONVERT(
JSON_UNQUOTE(
JSON_EXTRACT(
`product.translation.customFields`,
'$.mad_usergroups_enable'
)
) USING "utf8mb4"
) COLLATE utf8mb4_unicode_ci,
NULL
),
IF(
JSON_TYPE(
JSON_EXTRACT(
`product.parent.translation.customFields`,
'$.mad_usergroups_enable'
)
) != "NULL",
CONVERT(
JSON_UNQUOTE(
JSON_EXTRACT(
`product.parent.translation.customFields`,
'$.mad_usergroups_enable'
)
) USING "utf8mb4"
) COLLATE utf8mb4_unicode_ci,
NULL
)
) <=> : param_5e12be9871ab4ea69b941d286a8472f1
OR COALESCE(
IF(
JSON_TYPE(
JSON_EXTRACT(
`product.translation.customFields`,
'$.mad_usergroups_enable'
)
) != "NULL",
CONVERT(
JSON_UNQUOTE(
JSON_EXTRACT(
`product.translation.customFields`,
'$.mad_usergroups_enable'
)
) USING "utf8mb4"
) COLLATE utf8mb4_unicode_ci,
NULL
),
IF(
JSON_TYPE(
JSON_EXTRACT(
`product.parent.translation.customFields`,
'$.mad_usergroups_enable'
)
) != "NULL",
CONVERT(
JSON_UNQUOTE(
JSON_EXTRACT(
`product.parent.translation.customFields`,
'$.mad_usergroups_enable'
)
) USING "utf8mb4"
) COLLATE utf8mb4_unicode_ci,
NULL
)
) = : param_1be9ee4ba9834e138f13b216a43f074d
)
AND (
`product.visibilities_1`.id IS NOT NULL
AND `product.visibilities_1`.id IS NOT NULL
AND IFNULL(
`product`.`active`, `product.parent`.`active`
) = : param_eda3be7d902f41c190169650a5a879ab
)
)
)
AND (
`product.visibilities_2`.id IS NOT NULL
AND `product.visibilities_2`.id IS NOT NULL
AND IFNULL(
`product`.`active`, `product.parent`.`active`
) = : param_52adefaebbab42b1a75d8d9802820d82
)
)
)
GROUP BY
`product`.`display_group`
ORDER BY
MIN(
COALESCE(
`product.translation.name`, `product.parent.translation.name`
)
) ASC
LIMIT
10
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 (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 (SELECT `product.visibilities`.`product_id` as id, `product.visibilities`.`product_version_id` FROM `product_visibility` `product.visibilities` WHERE ((`product.visibilities`.`visibility` >= 30) AND `product.visibilities`.`sales_channel_id` = 0x620A2217F7474E619CB00AD39E804CCA)) `product.visibilities_1` ON `product`.`visibilities` = `product.visibilities_1`.`id` AND `product`.`version_id` = `product.visibilities_1`.`product_version_id` LEFT JOIN (SELECT `product.visibilities`.`product_id` as id, `product.visibilities`.`product_version_id` FROM `product_visibility` `product.visibilities` WHERE ((`product.visibilities`.`visibility` >= 10) AND `product.visibilities`.`sales_channel_id` = 0x620A2217F7474E619CB00AD39E804CCA)) `product.visibilities_2` ON `product`.`visibilities` = `product.visibilities_2`.`id` AND `product`.`version_id` = `product.visibilities_2`.`product_version_id` WHERE (`product`.`version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425) AND (((((`product`.`id` = 0x247A8634FFCA428AAF53BDB12026184F OR `product`.`parent_id` = 0x247A8634FFCA428AAF53BDB12026184F)) OR ((`product`.`id` = 0x136F2EA2D0A34A8186CCFED6168D195B OR `product`.`parent_id` = 0x136F2EA2D0A34A8186CCFED6168D195B))) AND NOT (`product`.`display_group` <=> NULL) AND (COALESCE(IF(JSON_TYPE(JSON_EXTRACT(`product.translation.customFields`, '$.mad_usergroups_enable')) != "NULL", CONVERT(JSON_UNQUOTE(JSON_EXTRACT(`product.translation.customFields`, '$.mad_usergroups_enable')) USING "utf8mb4") COLLATE utf8mb4_unicode_ci, NULL),IF(JSON_TYPE(JSON_EXTRACT(`product.parent.translation.customFields`, '$.mad_usergroups_enable')) != "NULL", CONVERT(JSON_UNQUOTE(JSON_EXTRACT(`product.parent.translation.customFields`, '$.mad_usergroups_enable')) USING "utf8mb4") COLLATE utf8mb4_unicode_ci, NULL)) LIKE '%c28421f99edc4f26b720cd6b19ffa899%' OR ((COALESCE(IF(JSON_TYPE(JSON_EXTRACT(`product.translation.customFields`, '$.mad_tags_enable')) != "NULL", CONVERT(JSON_UNQUOTE(JSON_EXTRACT(`product.translation.customFields`, '$.mad_tags_enable')) USING "utf8mb4") COLLATE utf8mb4_unicode_ci, NULL),IF(JSON_TYPE(JSON_EXTRACT(`product.parent.translation.customFields`, '$.mad_tags_enable')) != "NULL", CONVERT(JSON_UNQUOTE(JSON_EXTRACT(`product.parent.translation.customFields`, '$.mad_tags_enable')) USING "utf8mb4") COLLATE utf8mb4_unicode_ci, NULL)) <=> NULL OR COALESCE(IF(JSON_TYPE(JSON_EXTRACT(`product.translation.customFields`, '$.mad_tags_enable')) != "NULL", CONVERT(JSON_UNQUOTE(JSON_EXTRACT(`product.translation.customFields`, '$.mad_tags_enable')) USING "utf8mb4") COLLATE utf8mb4_unicode_ci, NULL),IF(JSON_TYPE(JSON_EXTRACT(`product.parent.translation.customFields`, '$.mad_tags_enable')) != "NULL", CONVERT(JSON_UNQUOTE(JSON_EXTRACT(`product.parent.translation.customFields`, '$.mad_tags_enable')) USING "utf8mb4") COLLATE utf8mb4_unicode_ci, NULL)) = '[]') AND (COALESCE(IF(JSON_TYPE(JSON_EXTRACT(`product.translation.customFields`, '$.mad_usergroups_enable')) != "NULL", CONVERT(JSON_UNQUOTE(JSON_EXTRACT(`product.translation.customFields`, '$.mad_usergroups_enable')) USING "utf8mb4") COLLATE utf8mb4_unicode_ci, NULL),IF(JSON_TYPE(JSON_EXTRACT(`product.parent.translation.customFields`, '$.mad_usergroups_enable')) != "NULL", CONVERT(JSON_UNQUOTE(JSON_EXTRACT(`product.parent.translation.customFields`, '$.mad_usergroups_enable')) USING "utf8mb4") COLLATE utf8mb4_unicode_ci, NULL)) <=> NULL OR COALESCE(IF(JSON_TYPE(JSON_EXTRACT(`product.translation.customFields`, '$.mad_usergroups_enable')) != "NULL", CONVERT(JSON_UNQUOTE(JSON_EXTRACT(`product.translation.customFields`, '$.mad_usergroups_enable')) USING "utf8mb4") COLLATE utf8mb4_unicode_ci, NULL),IF(JSON_TYPE(JSON_EXTRACT(`product.parent.translation.customFields`, '$.mad_usergroups_enable')) != "NULL", CONVERT(JSON_UNQUOTE(JSON_EXTRACT(`product.parent.translation.customFields`, '$.mad_usergroups_enable')) USING "utf8mb4") COLLATE utf8mb4_unicode_ci, NULL)) = '[]') AND (`product.visibilities_1`.id IS NOT NULL AND `product.visibilities_1`.id IS NOT NULL AND IFNULL(`product`.`active`, `product.parent`.`active`) = 1))) AND (`product.visibilities_2`.id IS NOT NULL AND `product.visibilities_2`.id IS NOT NULL AND IFNULL(`product`.`active`, `product.parent`.`active`) = 1))) GROUP BY `product`.`display_group` ORDER BY MIN(COALESCE(`product.translation.name`,`product.parent.translation.name`)) ASC LIMIT 10;
array:35 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
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 147)"
7 => "Shopware\Core\Content\Cms\DataResolver\CmsSlotsDataResolver::fetchByCriteria (line 85)"
8 => "Shopware\Core\Content\Cms\DataResolver\CmsSlotsDataResolver::resolve (line 104)"
9 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::loadSlotData (line 94)"
10 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::load (line 102)"
11 => "Shopware\Core\Content\Category\SalesChannel\CategoryRoute::load (line 103)"
12 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 350)"
13 => "Shopware\Core\System\SystemConfig\SystemConfigService::trace (line 44)"
14 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 120)"
15 => "Shopware\Core\Framework\Adapter\Translation\Translator::trace (line 45)"
16 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 46)"
17 => "Shopware\Core\Framework\Adapter\Cache\CacheTagCollection::trace (line 46)"
18 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::trace (line 41)"
19 => "Shopware\Storefront\Framework\Cache\CacheTracer::Shopware\Storefront\Framework\Cache\{closure} (line 59)"
20 => "Shopware\Storefront\Theme\ThemeConfigValueAccessor::trace (line 42)"
21 => "Shopware\Storefront\Framework\Cache\CacheTracer::trace (line 104)"
22 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 72)"
23 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
24 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 109)"
25 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 59)"
26 => "Shopware\Core\Profiling\Profiler::trace (line 112)"
27 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::load (line 66)"
28 => "Shopware\Storefront\Page\Navigation\NavigationPageLoader::load (line 48)"
29 => "Shopware\Storefront\Controller\NavigationController::home (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 75)"
]
|
43 |
46.26 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.bundle`.`id` as `product.bundle.id`, `product.bundle`.`product_id` as `product.bundle.productId`, `product.bundle`.`product_version_id` as `product.bundle.productVersionId`, `product.bundle`.`name` as `product.bundle.name`, `product.bundle`.`price_type` as `product.bundle.priceType`, `product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`, `product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`, `product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`, `product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`, `product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`, `product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`, `product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`, `product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`, `product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`, `product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`, `product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`, `product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`, `product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`, `product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`, `product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`, `product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`, `product.bundle`.`created_at` as `product.bundle.createdAt`, `product.bundle`.`updated_at` as `product.bundle.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.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 `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_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 `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`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.bundle`.`id` as `product.bundle.id`,
`product.bundle`.`product_id` as `product.bundle.productId`,
`product.bundle`.`product_version_id` as `product.bundle.productVersionId`,
`product.bundle`.`name` as `product.bundle.name`,
`product.bundle`.`price_type` as `product.bundle.priceType`,
`product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`,
`product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`,
`product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`,
`product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`,
`product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`,
`product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`,
`product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`,
`product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`,
`product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`,
`product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`,
`product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`,
`product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`,
`product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`,
`product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`,
`product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`,
`product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`,
`product.bundle`.`created_at` as `product.bundle.createdAt`,
`product.bundle`.`updated_at` as `product.bundle.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.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 `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_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 `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id`
LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id`
LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`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.bundle`.`id` as `product.bundle.id`, `product.bundle`.`product_id` as `product.bundle.productId`, `product.bundle`.`product_version_id` as `product.bundle.productVersionId`, `product.bundle`.`name` as `product.bundle.name`, `product.bundle`.`price_type` as `product.bundle.priceType`, `product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`, `product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`, `product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`, `product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`, `product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`, `product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`, `product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`, `product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`, `product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`, `product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`, `product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`, `product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`, `product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`, `product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`, `product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`, `product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`, `product.bundle`.`created_at` as `product.bundle.createdAt`, `product.bundle`.`updated_at` as `product.bundle.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.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 `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_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 `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`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 (0x136F2EA2D0A34A8186CCFED6168D195B, 0x247A8634FFCA428AAF53BDB12026184F));
array:36 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
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 147)"
8 => "Shopware\Core\Content\Cms\DataResolver\CmsSlotsDataResolver::fetchByCriteria (line 85)"
9 => "Shopware\Core\Content\Cms\DataResolver\CmsSlotsDataResolver::resolve (line 104)"
10 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::loadSlotData (line 94)"
11 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::load (line 102)"
12 => "Shopware\Core\Content\Category\SalesChannel\CategoryRoute::load (line 103)"
13 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{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 104)"
23 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 72)"
24 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
25 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 109)"
26 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 59)"
27 => "Shopware\Core\Profiling\Profiler::trace (line 112)"
28 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::load (line 66)"
29 => "Shopware\Storefront\Page\Navigation\NavigationPageLoader::load (line 48)"
30 => "Shopware\Storefront\Controller\NavigationController::home (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 75)"
]
|
44 |
1.29 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_1c4bbe2143394252ad1ef7b50f43cdf8)))
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 (0x136F2EA2D0A34A8186CCFED6168D195B, 0x247A8634FFCA428AAF53BDB12026184F)));
array:40 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
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 147)"
12 => "Shopware\Core\Content\Cms\DataResolver\CmsSlotsDataResolver::fetchByCriteria (line 85)"
13 => "Shopware\Core\Content\Cms\DataResolver\CmsSlotsDataResolver::resolve (line 104)"
14 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::loadSlotData (line 94)"
15 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::load (line 102)"
16 => "Shopware\Core\Content\Category\SalesChannel\CategoryRoute::load (line 103)"
17 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{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 104)"
27 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 72)"
28 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
29 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 109)"
30 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 59)"
31 => "Shopware\Core\Profiling\Profiler::trace (line 112)"
32 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::load (line 66)"
33 => "Shopware\Storefront\Page\Navigation\NavigationPageLoader::load (line 48)"
34 => "Shopware\Storefront\Controller\NavigationController::home (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 75)"
]
|
45 |
0.63 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 = 0x620A2217F7474E619CB00AD39E804CCA) AND (token = 'IN5Ub8FQVmsGnU9oCTmNWiTvs4Dar3OO') LIMIT 1;
array:43 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 165)"
3 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextPersister::load (line 69)"
4 => "Bodymed\Webshop\Core\Subscriber\ProductSubscriber::addCustomerProductFeatureExtension (line 230)"
5 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
6 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
7 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
8 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
9 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
10 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 33)"
11 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
12 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 208)"
13 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::read (line 133)"
14 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 147)"
15 => "Shopware\Core\Content\Cms\DataResolver\CmsSlotsDataResolver::fetchByCriteria (line 85)"
16 => "Shopware\Core\Content\Cms\DataResolver\CmsSlotsDataResolver::resolve (line 104)"
17 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::loadSlotData (line 94)"
18 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::load (line 102)"
19 => "Shopware\Core\Content\Category\SalesChannel\CategoryRoute::load (line 103)"
20 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 350)"
21 => "Shopware\Core\System\SystemConfig\SystemConfigService::trace (line 44)"
22 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 120)"
23 => "Shopware\Core\Framework\Adapter\Translation\Translator::trace (line 45)"
24 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 46)"
25 => "Shopware\Core\Framework\Adapter\Cache\CacheTagCollection::trace (line 46)"
26 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::trace (line 41)"
27 => "Shopware\Storefront\Framework\Cache\CacheTracer::Shopware\Storefront\Framework\Cache\{closure} (line 59)"
28 => "Shopware\Storefront\Theme\ThemeConfigValueAccessor::trace (line 42)"
29 => "Shopware\Storefront\Framework\Cache\CacheTracer::trace (line 104)"
30 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 72)"
31 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
32 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 109)"
33 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 59)"
34 => "Shopware\Core\Profiling\Profiler::trace (line 112)"
35 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::load (line 66)"
36 => "Shopware\Storefront\Page\Navigation\NavigationPageLoader::load (line 48)"
37 => "Shopware\Storefront\Controller\NavigationController::home (line 163)"
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 75)"
]
|
46 |
1.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`.`parent_id` = :param_07f6662f0152484c9149c2fdd2225ba3 AND ((`product.visibilities`.`visibility` >= :param_686d97b437034e2380691126ab571468) AND `product.visibilities`.`sales_channel_id` = :param_d494dfa285b04f688081e8f15652003f AND IFNULL(`product`.`active`, `product.parent`.`active`) = :param_cec911d95d634c1ca332b53120d3c578))) 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`.`parent_id` = 0x1AC13C0695234DB1962D5899CC4EA096 AND ((`product.visibilities`.`visibility` >= 10) AND `product.visibilities`.`sales_channel_id` = 0x620A2217F7474E619CB00AD39E804CCA AND IFNULL(`product`.`active`, `product.parent`.`active`) = 1))) GROUP BY `product`.`id`;
array:37 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
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 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariantsOfProduct (line 30)"
8 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariants (line 224)"
9 => "Bodymed\Webshop\Core\Content\Product\Cms\ProductSliderCmsElementResolver::enrich (line 99)"
10 => "Shopware\Core\Content\Cms\DataResolver\CmsSlotsDataResolver::resolve (line 104)"
11 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::loadSlotData (line 94)"
12 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::load (line 102)"
13 => "Shopware\Core\Content\Category\SalesChannel\CategoryRoute::load (line 103)"
14 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{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 104)"
24 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 72)"
25 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
26 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 109)"
27 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 59)"
28 => "Shopware\Core\Profiling\Profiler::trace (line 112)"
29 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::load (line 66)"
30 => "Shopware\Storefront\Page\Navigation\NavigationPageLoader::load (line 48)"
31 => "Shopware\Storefront\Controller\NavigationController::home (line 163)"
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 75)"
]
|
47 |
46.28 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.bundle`.`id` as `product.bundle.id`, `product.bundle`.`product_id` as `product.bundle.productId`, `product.bundle`.`product_version_id` as `product.bundle.productVersionId`, `product.bundle`.`name` as `product.bundle.name`, `product.bundle`.`price_type` as `product.bundle.priceType`, `product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`, `product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`, `product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`, `product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`, `product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`, `product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`, `product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`, `product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`, `product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`, `product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`, `product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`, `product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`, `product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`, `product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`, `product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`, `product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`, `product.bundle`.`created_at` as `product.bundle.createdAt`, `product.bundle`.`updated_at` as `product.bundle.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 `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_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 `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`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.bundle`.`id` as `product.bundle.id`,
`product.bundle`.`product_id` as `product.bundle.productId`,
`product.bundle`.`product_version_id` as `product.bundle.productVersionId`,
`product.bundle`.`name` as `product.bundle.name`,
`product.bundle`.`price_type` as `product.bundle.priceType`,
`product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`,
`product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`,
`product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`,
`product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`,
`product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`,
`product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`,
`product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`,
`product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`,
`product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`,
`product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`,
`product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`,
`product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`,
`product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`,
`product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`,
`product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`,
`product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`,
`product.bundle`.`created_at` as `product.bundle.createdAt`,
`product.bundle`.`updated_at` as `product.bundle.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 `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_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 `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id`
LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id`
LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`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.bundle`.`id` as `product.bundle.id`, `product.bundle`.`product_id` as `product.bundle.productId`, `product.bundle`.`product_version_id` as `product.bundle.productVersionId`, `product.bundle`.`name` as `product.bundle.name`, `product.bundle`.`price_type` as `product.bundle.priceType`, `product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`, `product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`, `product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`, `product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`, `product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`, `product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`, `product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`, `product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`, `product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`, `product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`, `product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`, `product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`, `product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`, `product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`, `product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`, `product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`, `product.bundle`.`created_at` as `product.bundle.createdAt`, `product.bundle`.`updated_at` as `product.bundle.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 `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_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 `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`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 (0x0886B0AA04994AE087B321240027C84D, 0x7F8A6EAB649043948104AF4516DE5405, 0xE1EA5F1B06724AAB82CF69A58B10CD68, 0xFC86FA2B6EAF4ED087F3CEE34E13710E));
array:38 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
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 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariantsOfProduct (line 30)"
9 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariants (line 224)"
10 => "Bodymed\Webshop\Core\Content\Product\Cms\ProductSliderCmsElementResolver::enrich (line 99)"
11 => "Shopware\Core\Content\Cms\DataResolver\CmsSlotsDataResolver::resolve (line 104)"
12 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::loadSlotData (line 94)"
13 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::load (line 102)"
14 => "Shopware\Core\Content\Category\SalesChannel\CategoryRoute::load (line 103)"
15 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{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 104)"
25 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 72)"
26 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
27 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 109)"
28 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 59)"
29 => "Shopware\Core\Profiling\Profiler::trace (line 112)"
30 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::load (line 66)"
31 => "Shopware\Storefront\Page\Navigation\NavigationPageLoader::load (line 48)"
32 => "Shopware\Storefront\Controller\NavigationController::home (line 163)"
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 75)"
]
|
48 |
1.24 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_6442cee4aa4d4302a31f28105ab6b3ea)))
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 (0x0886B0AA04994AE087B321240027C84D, 0x7F8A6EAB649043948104AF4516DE5405, 0xE1EA5F1B06724AAB82CF69A58B10CD68, 0xFC86FA2B6EAF4ED087F3CEE34E13710E, 0x1AC13C0695234DB1962D5899CC4EA096)));
array:42 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
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 49)"
12 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariantsOfProduct (line 30)"
13 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariants (line 224)"
14 => "Bodymed\Webshop\Core\Content\Product\Cms\ProductSliderCmsElementResolver::enrich (line 99)"
15 => "Shopware\Core\Content\Cms\DataResolver\CmsSlotsDataResolver::resolve (line 104)"
16 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::loadSlotData (line 94)"
17 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::load (line 102)"
18 => "Shopware\Core\Content\Category\SalesChannel\CategoryRoute::load (line 103)"
19 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 350)"
20 => "Shopware\Core\System\SystemConfig\SystemConfigService::trace (line 44)"
21 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 120)"
22 => "Shopware\Core\Framework\Adapter\Translation\Translator::trace (line 45)"
23 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 46)"
24 => "Shopware\Core\Framework\Adapter\Cache\CacheTagCollection::trace (line 46)"
25 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::trace (line 41)"
26 => "Shopware\Storefront\Framework\Cache\CacheTracer::Shopware\Storefront\Framework\Cache\{closure} (line 59)"
27 => "Shopware\Storefront\Theme\ThemeConfigValueAccessor::trace (line 42)"
28 => "Shopware\Storefront\Framework\Cache\CacheTracer::trace (line 104)"
29 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 72)"
30 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
31 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 109)"
32 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 59)"
33 => "Shopware\Core\Profiling\Profiler::trace (line 112)"
34 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::load (line 66)"
35 => "Shopware\Storefront\Page\Navigation\NavigationPageLoader::load (line 48)"
36 => "Shopware\Storefront\Controller\NavigationController::home (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 75)"
]
|
49 |
0.74 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 = 0x620A2217F7474E619CB00AD39E804CCA) AND (token = 'IN5Ub8FQVmsGnU9oCTmNWiTvs4Dar3OO') LIMIT 1;
array:45 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 165)"
3 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextPersister::load (line 69)"
4 => "Bodymed\Webshop\Core\Subscriber\ProductSubscriber::addCustomerProductFeatureExtension (line 230)"
5 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
6 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
7 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
8 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
9 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
10 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 33)"
11 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
12 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 208)"
13 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::read (line 133)"
14 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 49)"
15 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariantsOfProduct (line 30)"
16 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariants (line 224)"
17 => "Bodymed\Webshop\Core\Content\Product\Cms\ProductSliderCmsElementResolver::enrich (line 99)"
18 => "Shopware\Core\Content\Cms\DataResolver\CmsSlotsDataResolver::resolve (line 104)"
19 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::loadSlotData (line 94)"
20 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::load (line 102)"
21 => "Shopware\Core\Content\Category\SalesChannel\CategoryRoute::load (line 103)"
22 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 350)"
23 => "Shopware\Core\System\SystemConfig\SystemConfigService::trace (line 44)"
24 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 120)"
25 => "Shopware\Core\Framework\Adapter\Translation\Translator::trace (line 45)"
26 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 46)"
27 => "Shopware\Core\Framework\Adapter\Cache\CacheTagCollection::trace (line 46)"
28 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::trace (line 41)"
29 => "Shopware\Storefront\Framework\Cache\CacheTracer::Shopware\Storefront\Framework\Cache\{closure} (line 59)"
30 => "Shopware\Storefront\Theme\ThemeConfigValueAccessor::trace (line 42)"
31 => "Shopware\Storefront\Framework\Cache\CacheTracer::trace (line 104)"
32 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 72)"
33 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
34 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 109)"
35 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 59)"
36 => "Shopware\Core\Profiling\Profiler::trace (line 112)"
37 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::load (line 66)"
38 => "Shopware\Storefront\Page\Navigation\NavigationPageLoader::load (line 48)"
39 => "Shopware\Storefront\Controller\NavigationController::home (line 163)"
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 75)"
]
|
50 |
30.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.bundle`.`id` as `product.bundle.id`, `product.bundle`.`product_id` as `product.bundle.productId`, `product.bundle`.`product_version_id` as `product.bundle.productVersionId`, `product.bundle`.`name` as `product.bundle.name`, `product.bundle`.`price_type` as `product.bundle.priceType`, `product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`, `product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`, `product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`, `product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`, `product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`, `product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`, `product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`, `product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`, `product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`, `product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`, `product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`, `product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`, `product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`, `product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`, `product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`, `product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`, `product.bundle`.`created_at` as `product.bundle.createdAt`, `product.bundle`.`updated_at` as `product.bundle.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`, `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 `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_id` LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id` AND `product`.`version_id` = `product.cover`.`version_id` LEFT JOIN `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`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.bundle`.`id` as `product.bundle.id`,
`product.bundle`.`product_id` as `product.bundle.productId`,
`product.bundle`.`product_version_id` as `product.bundle.productVersionId`,
`product.bundle`.`name` as `product.bundle.name`,
`product.bundle`.`price_type` as `product.bundle.priceType`,
`product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`,
`product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`,
`product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`,
`product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`,
`product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`,
`product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`,
`product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`,
`product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`,
`product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`,
`product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`,
`product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`,
`product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`,
`product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`,
`product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`,
`product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`,
`product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`,
`product.bundle`.`created_at` as `product.bundle.createdAt`,
`product.bundle`.`updated_at` as `product.bundle.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`,
`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 `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_id`
LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id`
AND `product`.`version_id` = `product.cover`.`version_id`
LEFT JOIN `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id`
LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id`
LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`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.bundle`.`id` as `product.bundle.id`, `product.bundle`.`product_id` as `product.bundle.productId`, `product.bundle`.`product_version_id` as `product.bundle.productVersionId`, `product.bundle`.`name` as `product.bundle.name`, `product.bundle`.`price_type` as `product.bundle.priceType`, `product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`, `product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`, `product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`, `product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`, `product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`, `product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`, `product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`, `product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`, `product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`, `product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`, `product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`, `product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`, `product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`, `product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`, `product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`, `product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`, `product.bundle`.`created_at` as `product.bundle.createdAt`, `product.bundle`.`updated_at` as `product.bundle.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`, `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 `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_id` LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id` AND `product`.`version_id` = `product.cover`.`version_id` LEFT JOIN `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`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 (0x1AC13C0695234DB1962D5899CC4EA096));
array:51 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
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 103)"
10 => "Bodymed\Webshop\StoreFront\Subscriber\ProductExtensionSubscriber::addParentCover (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 33)"
17 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
18 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 208)"
19 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::read (line 133)"
20 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 49)"
21 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariantsOfProduct (line 30)"
22 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariants (line 224)"
23 => "Bodymed\Webshop\Core\Content\Product\Cms\ProductSliderCmsElementResolver::enrich (line 99)"
24 => "Shopware\Core\Content\Cms\DataResolver\CmsSlotsDataResolver::resolve (line 104)"
25 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::loadSlotData (line 94)"
26 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::load (line 102)"
27 => "Shopware\Core\Content\Category\SalesChannel\CategoryRoute::load (line 103)"
28 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 350)"
29 => "Shopware\Core\System\SystemConfig\SystemConfigService::trace (line 44)"
30 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 120)"
31 => "Shopware\Core\Framework\Adapter\Translation\Translator::trace (line 45)"
32 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 46)"
33 => "Shopware\Core\Framework\Adapter\Cache\CacheTagCollection::trace (line 46)"
34 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::trace (line 41)"
35 => "Shopware\Storefront\Framework\Cache\CacheTracer::Shopware\Storefront\Framework\Cache\{closure} (line 59)"
36 => "Shopware\Storefront\Theme\ThemeConfigValueAccessor::trace (line 42)"
37 => "Shopware\Storefront\Framework\Cache\CacheTracer::trace (line 104)"
38 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 72)"
39 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
40 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 109)"
41 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 59)"
42 => "Shopware\Core\Profiling\Profiler::trace (line 112)"
43 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::load (line 66)"
44 => "Shopware\Storefront\Page\Navigation\NavigationPageLoader::load (line 48)"
45 => "Shopware\Storefront\Controller\NavigationController::home (line 163)"
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 75)"
]
|
51 |
0.75 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 = 0x620A2217F7474E619CB00AD39E804CCA) AND (token = 'IN5Ub8FQVmsGnU9oCTmNWiTvs4Dar3OO') LIMIT 1;
array:58 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 165)"
3 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextPersister::load (line 69)"
4 => "Bodymed\Webshop\Core\Subscriber\ProductSubscriber::addCustomerProductFeatureExtension (line 230)"
5 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
6 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
7 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
8 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
9 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
10 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 33)"
11 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
12 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 269)"
13 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::read (line 286)"
14 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::_search (line 106)"
15 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::search (line 51)"
16 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepositoryForwardCompatibilityDecorator::search (line 103)"
17 => "Bodymed\Webshop\StoreFront\Subscriber\ProductExtensionSubscriber::addParentCover (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 49)"
28 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariantsOfProduct (line 30)"
29 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariants (line 224)"
30 => "Bodymed\Webshop\Core\Content\Product\Cms\ProductSliderCmsElementResolver::enrich (line 99)"
31 => "Shopware\Core\Content\Cms\DataResolver\CmsSlotsDataResolver::resolve (line 104)"
32 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::loadSlotData (line 94)"
33 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::load (line 102)"
34 => "Shopware\Core\Content\Category\SalesChannel\CategoryRoute::load (line 103)"
35 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 350)"
36 => "Shopware\Core\System\SystemConfig\SystemConfigService::trace (line 44)"
37 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 120)"
38 => "Shopware\Core\Framework\Adapter\Translation\Translator::trace (line 45)"
39 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 46)"
40 => "Shopware\Core\Framework\Adapter\Cache\CacheTagCollection::trace (line 46)"
41 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::trace (line 41)"
42 => "Shopware\Storefront\Framework\Cache\CacheTracer::Shopware\Storefront\Framework\Cache\{closure} (line 59)"
43 => "Shopware\Storefront\Theme\ThemeConfigValueAccessor::trace (line 42)"
44 => "Shopware\Storefront\Framework\Cache\CacheTracer::trace (line 104)"
45 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 72)"
46 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
47 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 109)"
48 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 59)"
49 => "Shopware\Core\Profiling\Profiler::trace (line 112)"
50 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::load (line 66)"
51 => "Shopware\Storefront\Page\Navigation\NavigationPageLoader::load (line 48)"
52 => "Shopware\Storefront\Controller\NavigationController::home (line 163)"
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 75)"
]
|
52 |
30.17 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.bundle`.`id` as `product.bundle.id`, `product.bundle`.`product_id` as `product.bundle.productId`, `product.bundle`.`product_version_id` as `product.bundle.productVersionId`, `product.bundle`.`name` as `product.bundle.name`, `product.bundle`.`price_type` as `product.bundle.priceType`, `product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`, `product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`, `product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`, `product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`, `product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`, `product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`, `product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`, `product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`, `product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`, `product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`, `product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`, `product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`, `product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`, `product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`, `product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`, `product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`, `product.bundle`.`created_at` as `product.bundle.createdAt`, `product.bundle`.`updated_at` as `product.bundle.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`, `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 `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_id` LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id` AND `product`.`version_id` = `product.cover`.`version_id` LEFT JOIN `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`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.bundle`.`id` as `product.bundle.id`,
`product.bundle`.`product_id` as `product.bundle.productId`,
`product.bundle`.`product_version_id` as `product.bundle.productVersionId`,
`product.bundle`.`name` as `product.bundle.name`,
`product.bundle`.`price_type` as `product.bundle.priceType`,
`product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`,
`product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`,
`product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`,
`product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`,
`product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`,
`product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`,
`product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`,
`product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`,
`product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`,
`product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`,
`product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`,
`product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`,
`product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`,
`product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`,
`product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`,
`product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`,
`product.bundle`.`created_at` as `product.bundle.createdAt`,
`product.bundle`.`updated_at` as `product.bundle.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`,
`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 `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_id`
LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id`
AND `product`.`version_id` = `product.cover`.`version_id`
LEFT JOIN `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id`
LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id`
LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`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.bundle`.`id` as `product.bundle.id`, `product.bundle`.`product_id` as `product.bundle.productId`, `product.bundle`.`product_version_id` as `product.bundle.productVersionId`, `product.bundle`.`name` as `product.bundle.name`, `product.bundle`.`price_type` as `product.bundle.priceType`, `product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`, `product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`, `product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`, `product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`, `product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`, `product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`, `product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`, `product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`, `product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`, `product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`, `product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`, `product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`, `product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`, `product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`, `product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`, `product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`, `product.bundle`.`created_at` as `product.bundle.createdAt`, `product.bundle`.`updated_at` as `product.bundle.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`, `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 `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_id` LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id` AND `product`.`version_id` = `product.cover`.`version_id` LEFT JOIN `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`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 (0x1AC13C0695234DB1962D5899CC4EA096));
array:51 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
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 103)"
10 => "Bodymed\Webshop\StoreFront\Subscriber\ProductExtensionSubscriber::addParentCover (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 33)"
17 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
18 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 208)"
19 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::read (line 133)"
20 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 49)"
21 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariantsOfProduct (line 30)"
22 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariants (line 224)"
23 => "Bodymed\Webshop\Core\Content\Product\Cms\ProductSliderCmsElementResolver::enrich (line 99)"
24 => "Shopware\Core\Content\Cms\DataResolver\CmsSlotsDataResolver::resolve (line 104)"
25 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::loadSlotData (line 94)"
26 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::load (line 102)"
27 => "Shopware\Core\Content\Category\SalesChannel\CategoryRoute::load (line 103)"
28 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 350)"
29 => "Shopware\Core\System\SystemConfig\SystemConfigService::trace (line 44)"
30 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 120)"
31 => "Shopware\Core\Framework\Adapter\Translation\Translator::trace (line 45)"
32 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 46)"
33 => "Shopware\Core\Framework\Adapter\Cache\CacheTagCollection::trace (line 46)"
34 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::trace (line 41)"
35 => "Shopware\Storefront\Framework\Cache\CacheTracer::Shopware\Storefront\Framework\Cache\{closure} (line 59)"
36 => "Shopware\Storefront\Theme\ThemeConfigValueAccessor::trace (line 42)"
37 => "Shopware\Storefront\Framework\Cache\CacheTracer::trace (line 104)"
38 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 72)"
39 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
40 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 109)"
41 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 59)"
42 => "Shopware\Core\Profiling\Profiler::trace (line 112)"
43 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::load (line 66)"
44 => "Shopware\Storefront\Page\Navigation\NavigationPageLoader::load (line 48)"
45 => "Shopware\Storefront\Controller\NavigationController::home (line 163)"
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 75)"
]
|
53 |
0.72 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 = 0x620A2217F7474E619CB00AD39E804CCA) AND (token = 'IN5Ub8FQVmsGnU9oCTmNWiTvs4Dar3OO') LIMIT 1;
array:58 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 165)"
3 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextPersister::load (line 69)"
4 => "Bodymed\Webshop\Core\Subscriber\ProductSubscriber::addCustomerProductFeatureExtension (line 230)"
5 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
6 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
7 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
8 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
9 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
10 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 33)"
11 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
12 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 269)"
13 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::read (line 286)"
14 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::_search (line 106)"
15 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::search (line 51)"
16 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepositoryForwardCompatibilityDecorator::search (line 103)"
17 => "Bodymed\Webshop\StoreFront\Subscriber\ProductExtensionSubscriber::addParentCover (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 49)"
28 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariantsOfProduct (line 30)"
29 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariants (line 224)"
30 => "Bodymed\Webshop\Core\Content\Product\Cms\ProductSliderCmsElementResolver::enrich (line 99)"
31 => "Shopware\Core\Content\Cms\DataResolver\CmsSlotsDataResolver::resolve (line 104)"
32 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::loadSlotData (line 94)"
33 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::load (line 102)"
34 => "Shopware\Core\Content\Category\SalesChannel\CategoryRoute::load (line 103)"
35 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 350)"
36 => "Shopware\Core\System\SystemConfig\SystemConfigService::trace (line 44)"
37 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 120)"
38 => "Shopware\Core\Framework\Adapter\Translation\Translator::trace (line 45)"
39 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 46)"
40 => "Shopware\Core\Framework\Adapter\Cache\CacheTagCollection::trace (line 46)"
41 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::trace (line 41)"
42 => "Shopware\Storefront\Framework\Cache\CacheTracer::Shopware\Storefront\Framework\Cache\{closure} (line 59)"
43 => "Shopware\Storefront\Theme\ThemeConfigValueAccessor::trace (line 42)"
44 => "Shopware\Storefront\Framework\Cache\CacheTracer::trace (line 104)"
45 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 72)"
46 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
47 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 109)"
48 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 59)"
49 => "Shopware\Core\Profiling\Profiler::trace (line 112)"
50 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::load (line 66)"
51 => "Shopware\Storefront\Page\Navigation\NavigationPageLoader::load (line 48)"
52 => "Shopware\Storefront\Controller\NavigationController::home (line 163)"
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 75)"
]
|
54 |
26.46 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.bundle`.`id` as `product.bundle.id`, `product.bundle`.`product_id` as `product.bundle.productId`, `product.bundle`.`product_version_id` as `product.bundle.productVersionId`, `product.bundle`.`name` as `product.bundle.name`, `product.bundle`.`price_type` as `product.bundle.priceType`, `product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`, `product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`, `product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`, `product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`, `product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`, `product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`, `product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`, `product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`, `product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`, `product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`, `product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`, `product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`, `product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`, `product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`, `product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`, `product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`, `product.bundle`.`created_at` as `product.bundle.createdAt`, `product.bundle`.`updated_at` as `product.bundle.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`, `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 `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_id` LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id` AND `product`.`version_id` = `product.cover`.`version_id` LEFT JOIN `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`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.bundle`.`id` as `product.bundle.id`,
`product.bundle`.`product_id` as `product.bundle.productId`,
`product.bundle`.`product_version_id` as `product.bundle.productVersionId`,
`product.bundle`.`name` as `product.bundle.name`,
`product.bundle`.`price_type` as `product.bundle.priceType`,
`product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`,
`product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`,
`product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`,
`product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`,
`product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`,
`product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`,
`product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`,
`product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`,
`product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`,
`product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`,
`product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`,
`product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`,
`product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`,
`product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`,
`product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`,
`product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`,
`product.bundle`.`created_at` as `product.bundle.createdAt`,
`product.bundle`.`updated_at` as `product.bundle.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`,
`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 `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_id`
LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id`
AND `product`.`version_id` = `product.cover`.`version_id`
LEFT JOIN `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id`
LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id`
LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`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.bundle`.`id` as `product.bundle.id`, `product.bundle`.`product_id` as `product.bundle.productId`, `product.bundle`.`product_version_id` as `product.bundle.productVersionId`, `product.bundle`.`name` as `product.bundle.name`, `product.bundle`.`price_type` as `product.bundle.priceType`, `product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`, `product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`, `product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`, `product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`, `product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`, `product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`, `product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`, `product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`, `product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`, `product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`, `product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`, `product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`, `product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`, `product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`, `product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`, `product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`, `product.bundle`.`created_at` as `product.bundle.createdAt`, `product.bundle`.`updated_at` as `product.bundle.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`, `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 `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_id` LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id` AND `product`.`version_id` = `product.cover`.`version_id` LEFT JOIN `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`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 (0x1AC13C0695234DB1962D5899CC4EA096));
array:51 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
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 103)"
10 => "Bodymed\Webshop\StoreFront\Subscriber\ProductExtensionSubscriber::addParentCover (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 33)"
17 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
18 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 208)"
19 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::read (line 133)"
20 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 49)"
21 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariantsOfProduct (line 30)"
22 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariants (line 224)"
23 => "Bodymed\Webshop\Core\Content\Product\Cms\ProductSliderCmsElementResolver::enrich (line 99)"
24 => "Shopware\Core\Content\Cms\DataResolver\CmsSlotsDataResolver::resolve (line 104)"
25 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::loadSlotData (line 94)"
26 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::load (line 102)"
27 => "Shopware\Core\Content\Category\SalesChannel\CategoryRoute::load (line 103)"
28 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 350)"
29 => "Shopware\Core\System\SystemConfig\SystemConfigService::trace (line 44)"
30 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 120)"
31 => "Shopware\Core\Framework\Adapter\Translation\Translator::trace (line 45)"
32 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 46)"
33 => "Shopware\Core\Framework\Adapter\Cache\CacheTagCollection::trace (line 46)"
34 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::trace (line 41)"
35 => "Shopware\Storefront\Framework\Cache\CacheTracer::Shopware\Storefront\Framework\Cache\{closure} (line 59)"
36 => "Shopware\Storefront\Theme\ThemeConfigValueAccessor::trace (line 42)"
37 => "Shopware\Storefront\Framework\Cache\CacheTracer::trace (line 104)"
38 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 72)"
39 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
40 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 109)"
41 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 59)"
42 => "Shopware\Core\Profiling\Profiler::trace (line 112)"
43 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::load (line 66)"
44 => "Shopware\Storefront\Page\Navigation\NavigationPageLoader::load (line 48)"
45 => "Shopware\Storefront\Controller\NavigationController::home (line 163)"
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 75)"
]
|
55 |
0.70 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 = 0x620A2217F7474E619CB00AD39E804CCA) AND (token = 'IN5Ub8FQVmsGnU9oCTmNWiTvs4Dar3OO') LIMIT 1;
array:58 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 165)"
3 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextPersister::load (line 69)"
4 => "Bodymed\Webshop\Core\Subscriber\ProductSubscriber::addCustomerProductFeatureExtension (line 230)"
5 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
6 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
7 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
8 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
9 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
10 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 33)"
11 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
12 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 269)"
13 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::read (line 286)"
14 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::_search (line 106)"
15 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::search (line 51)"
16 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepositoryForwardCompatibilityDecorator::search (line 103)"
17 => "Bodymed\Webshop\StoreFront\Subscriber\ProductExtensionSubscriber::addParentCover (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 49)"
28 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariantsOfProduct (line 30)"
29 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariants (line 224)"
30 => "Bodymed\Webshop\Core\Content\Product\Cms\ProductSliderCmsElementResolver::enrich (line 99)"
31 => "Shopware\Core\Content\Cms\DataResolver\CmsSlotsDataResolver::resolve (line 104)"
32 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::loadSlotData (line 94)"
33 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::load (line 102)"
34 => "Shopware\Core\Content\Category\SalesChannel\CategoryRoute::load (line 103)"
35 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 350)"
36 => "Shopware\Core\System\SystemConfig\SystemConfigService::trace (line 44)"
37 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 120)"
38 => "Shopware\Core\Framework\Adapter\Translation\Translator::trace (line 45)"
39 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 46)"
40 => "Shopware\Core\Framework\Adapter\Cache\CacheTagCollection::trace (line 46)"
41 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::trace (line 41)"
42 => "Shopware\Storefront\Framework\Cache\CacheTracer::Shopware\Storefront\Framework\Cache\{closure} (line 59)"
43 => "Shopware\Storefront\Theme\ThemeConfigValueAccessor::trace (line 42)"
44 => "Shopware\Storefront\Framework\Cache\CacheTracer::trace (line 104)"
45 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 72)"
46 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
47 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 109)"
48 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 59)"
49 => "Shopware\Core\Profiling\Profiler::trace (line 112)"
50 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::load (line 66)"
51 => "Shopware\Storefront\Page\Navigation\NavigationPageLoader::load (line 48)"
52 => "Shopware\Storefront\Controller\NavigationController::home (line 163)"
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 75)"
]
|
56 |
22.74 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.bundle`.`id` as `product.bundle.id`, `product.bundle`.`product_id` as `product.bundle.productId`, `product.bundle`.`product_version_id` as `product.bundle.productVersionId`, `product.bundle`.`name` as `product.bundle.name`, `product.bundle`.`price_type` as `product.bundle.priceType`, `product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`, `product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`, `product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`, `product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`, `product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`, `product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`, `product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`, `product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`, `product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`, `product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`, `product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`, `product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`, `product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`, `product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`, `product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`, `product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`, `product.bundle`.`created_at` as `product.bundle.createdAt`, `product.bundle`.`updated_at` as `product.bundle.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`, `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 `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_id` LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id` AND `product`.`version_id` = `product.cover`.`version_id` LEFT JOIN `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`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.bundle`.`id` as `product.bundle.id`,
`product.bundle`.`product_id` as `product.bundle.productId`,
`product.bundle`.`product_version_id` as `product.bundle.productVersionId`,
`product.bundle`.`name` as `product.bundle.name`,
`product.bundle`.`price_type` as `product.bundle.priceType`,
`product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`,
`product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`,
`product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`,
`product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`,
`product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`,
`product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`,
`product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`,
`product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`,
`product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`,
`product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`,
`product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`,
`product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`,
`product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`,
`product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`,
`product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`,
`product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`,
`product.bundle`.`created_at` as `product.bundle.createdAt`,
`product.bundle`.`updated_at` as `product.bundle.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`,
`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 `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_id`
LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id`
AND `product`.`version_id` = `product.cover`.`version_id`
LEFT JOIN `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id`
LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id`
LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`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.bundle`.`id` as `product.bundle.id`, `product.bundle`.`product_id` as `product.bundle.productId`, `product.bundle`.`product_version_id` as `product.bundle.productVersionId`, `product.bundle`.`name` as `product.bundle.name`, `product.bundle`.`price_type` as `product.bundle.priceType`, `product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`, `product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`, `product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`, `product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`, `product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`, `product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`, `product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`, `product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`, `product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`, `product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`, `product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`, `product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`, `product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`, `product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`, `product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`, `product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`, `product.bundle`.`created_at` as `product.bundle.createdAt`, `product.bundle`.`updated_at` as `product.bundle.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`, `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 `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_id` LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id` AND `product`.`version_id` = `product.cover`.`version_id` LEFT JOIN `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`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 (0x1AC13C0695234DB1962D5899CC4EA096));
array:51 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
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 103)"
10 => "Bodymed\Webshop\StoreFront\Subscriber\ProductExtensionSubscriber::addParentCover (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 33)"
17 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
18 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 208)"
19 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::read (line 133)"
20 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 49)"
21 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariantsOfProduct (line 30)"
22 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariants (line 224)"
23 => "Bodymed\Webshop\Core\Content\Product\Cms\ProductSliderCmsElementResolver::enrich (line 99)"
24 => "Shopware\Core\Content\Cms\DataResolver\CmsSlotsDataResolver::resolve (line 104)"
25 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::loadSlotData (line 94)"
26 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::load (line 102)"
27 => "Shopware\Core\Content\Category\SalesChannel\CategoryRoute::load (line 103)"
28 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 350)"
29 => "Shopware\Core\System\SystemConfig\SystemConfigService::trace (line 44)"
30 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 120)"
31 => "Shopware\Core\Framework\Adapter\Translation\Translator::trace (line 45)"
32 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 46)"
33 => "Shopware\Core\Framework\Adapter\Cache\CacheTagCollection::trace (line 46)"
34 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::trace (line 41)"
35 => "Shopware\Storefront\Framework\Cache\CacheTracer::Shopware\Storefront\Framework\Cache\{closure} (line 59)"
36 => "Shopware\Storefront\Theme\ThemeConfigValueAccessor::trace (line 42)"
37 => "Shopware\Storefront\Framework\Cache\CacheTracer::trace (line 104)"
38 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 72)"
39 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
40 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 109)"
41 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 59)"
42 => "Shopware\Core\Profiling\Profiler::trace (line 112)"
43 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::load (line 66)"
44 => "Shopware\Storefront\Page\Navigation\NavigationPageLoader::load (line 48)"
45 => "Shopware\Storefront\Controller\NavigationController::home (line 163)"
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 75)"
]
|
57 |
0.70 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 = 0x620A2217F7474E619CB00AD39E804CCA) AND (token = 'IN5Ub8FQVmsGnU9oCTmNWiTvs4Dar3OO') LIMIT 1;
array:58 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 165)"
3 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextPersister::load (line 69)"
4 => "Bodymed\Webshop\Core\Subscriber\ProductSubscriber::addCustomerProductFeatureExtension (line 230)"
5 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
6 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
7 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
8 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
9 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
10 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 33)"
11 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
12 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 269)"
13 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::read (line 286)"
14 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::_search (line 106)"
15 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::search (line 51)"
16 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepositoryForwardCompatibilityDecorator::search (line 103)"
17 => "Bodymed\Webshop\StoreFront\Subscriber\ProductExtensionSubscriber::addParentCover (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 49)"
28 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariantsOfProduct (line 30)"
29 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariants (line 224)"
30 => "Bodymed\Webshop\Core\Content\Product\Cms\ProductSliderCmsElementResolver::enrich (line 99)"
31 => "Shopware\Core\Content\Cms\DataResolver\CmsSlotsDataResolver::resolve (line 104)"
32 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::loadSlotData (line 94)"
33 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::load (line 102)"
34 => "Shopware\Core\Content\Category\SalesChannel\CategoryRoute::load (line 103)"
35 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 350)"
36 => "Shopware\Core\System\SystemConfig\SystemConfigService::trace (line 44)"
37 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 120)"
38 => "Shopware\Core\Framework\Adapter\Translation\Translator::trace (line 45)"
39 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 46)"
40 => "Shopware\Core\Framework\Adapter\Cache\CacheTagCollection::trace (line 46)"
41 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::trace (line 41)"
42 => "Shopware\Storefront\Framework\Cache\CacheTracer::Shopware\Storefront\Framework\Cache\{closure} (line 59)"
43 => "Shopware\Storefront\Theme\ThemeConfigValueAccessor::trace (line 42)"
44 => "Shopware\Storefront\Framework\Cache\CacheTracer::trace (line 104)"
45 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 72)"
46 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
47 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 109)"
48 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 59)"
49 => "Shopware\Core\Profiling\Profiler::trace (line 112)"
50 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::load (line 66)"
51 => "Shopware\Storefront\Page\Navigation\NavigationPageLoader::load (line 48)"
52 => "Shopware\Storefront\Controller\NavigationController::home (line 163)"
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 75)"
]
|
58 |
1.78 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`.`parent_id` = :param_def0bcc3d6464c92b02fafa8e308d85c AND ((`product.visibilities`.`visibility` >= :param_2f5599ce817d4418aae10507d8bd8ec2) AND `product.visibilities`.`sales_channel_id` = :param_a96d76f7fd064cbfb65ae7ecf6518e05 AND IFNULL(`product`.`active`, `product.parent`.`active`) = :param_9b9fa935688d4dc6b9bd41971d8e83b0))) 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`.`parent_id` = 0x12399480A05A4762B2F1F9ADE33FE485 AND ((`product.visibilities`.`visibility` >= 10) AND `product.visibilities`.`sales_channel_id` = 0x620A2217F7474E619CB00AD39E804CCA AND IFNULL(`product`.`active`, `product.parent`.`active`) = 1))) GROUP BY `product`.`id`;
array:37 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
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 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariantsOfProduct (line 30)"
8 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariants (line 224)"
9 => "Bodymed\Webshop\Core\Content\Product\Cms\ProductSliderCmsElementResolver::enrich (line 99)"
10 => "Shopware\Core\Content\Cms\DataResolver\CmsSlotsDataResolver::resolve (line 104)"
11 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::loadSlotData (line 94)"
12 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::load (line 102)"
13 => "Shopware\Core\Content\Category\SalesChannel\CategoryRoute::load (line 103)"
14 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{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 104)"
24 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 72)"
25 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
26 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 109)"
27 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 59)"
28 => "Shopware\Core\Profiling\Profiler::trace (line 112)"
29 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::load (line 66)"
30 => "Shopware\Storefront\Page\Navigation\NavigationPageLoader::load (line 48)"
31 => "Shopware\Storefront\Controller\NavigationController::home (line 163)"
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 75)"
]
|
59 |
1.60 ms |
SELECT `swkweb_buy_x_pay_y_promotion`.`id` as `swkweb_buy_x_pay_y_promotion.id`, `swkweb_buy_x_pay_y_promotion`.`product_stream_id` as `swkweb_buy_x_pay_y_promotion.productStreamId`, `swkweb_buy_x_pay_y_promotion`.`rule_id` as `swkweb_buy_x_pay_y_promotion.ruleId`, `swkweb_buy_x_pay_y_promotion`.`x` as `swkweb_buy_x_pay_y_promotion.x`, `swkweb_buy_x_pay_y_promotion`.`y` as `swkweb_buy_x_pay_y_promotion.y`, `swkweb_buy_x_pay_y_promotion`.`minimum_quantity` as `swkweb_buy_x_pay_y_promotion.minimumQuantity`, `swkweb_buy_x_pay_y_promotion`.`priority` as `swkweb_buy_x_pay_y_promotion.priority`, `swkweb_buy_x_pay_y_promotion`.`cross_variant` as `swkweb_buy_x_pay_y_promotion.crossVariant`, `swkweb_buy_x_pay_y_promotion`.`active` as `swkweb_buy_x_pay_y_promotion.active`, `swkweb_buy_x_pay_y_promotion`.`created_at` as `swkweb_buy_x_pay_y_promotion.createdAt`, `swkweb_buy_x_pay_y_promotion`.`updated_at` as `swkweb_buy_x_pay_y_promotion.updatedAt`, `swkweb_buy_x_pay_y_promotion.translation.name`, COALESCE(`swkweb_buy_x_pay_y_promotion.translation.name`,`swkweb_buy_x_pay_y_promotion.translation.name`) as `swkweb_buy_x_pay_y_promotion.name`, `swkweb_buy_x_pay_y_promotion.translation.createdAt`, `swkweb_buy_x_pay_y_promotion.translation.updatedAt`, `swkweb_buy_x_pay_y_promotion.translation.swkwebBuyXPayYPromotionId`, `swkweb_buy_x_pay_y_promotion.translation.languageId` FROM `swkweb_buy_x_pay_y_promotion` LEFT JOIN (SELECT `swkweb_buy_x_pay_y_promotion.translation`.swkweb_buy_x_pay_y_promotion_id, `swkweb_buy_x_pay_y_promotion.translation`.name as `swkweb_buy_x_pay_y_promotion.translation.name`, `swkweb_buy_x_pay_y_promotion.translation`.created_at as `swkweb_buy_x_pay_y_promotion.translation.createdAt`, `swkweb_buy_x_pay_y_promotion.translation`.updated_at as `swkweb_buy_x_pay_y_promotion.translation.updatedAt`, `swkweb_buy_x_pay_y_promotion.translation`.swkweb_buy_x_pay_y_promotion_id as `swkweb_buy_x_pay_y_promotion.translation.swkwebBuyXPayYPromotionId`, `swkweb_buy_x_pay_y_promotion.translation`.language_id as `swkweb_buy_x_pay_y_promotion.translation.languageId` FROM `swkweb_buy_x_pay_y_promotion_translation` `swkweb_buy_x_pay_y_promotion.translation` WHERE `swkweb_buy_x_pay_y_promotion.translation`.language_id = :languageId) `swkweb_buy_x_pay_y_promotion.swkweb_buy_x_pay_y_promotion_translation` ON `swkweb_buy_x_pay_y_promotion.swkweb_buy_x_pay_y_promotion_translation`.`swkweb_buy_x_pay_y_promotion_id` = `swkweb_buy_x_pay_y_promotion`.`id` WHERE (`swkweb_buy_x_pay_y_promotion`.`active` = :param_7ac373507029467c819a152418b47638 AND (`swkweb_buy_x_pay_y_promotion`.`rule_id` <=> :param_a4db092cd42947d0bb8642664bf7a396 OR `swkweb_buy_x_pay_y_promotion`.`rule_id` IN (:param_b23ece34c7624c028e35f6c4236b005a)))
SELECT `swkweb_buy_x_pay_y_promotion`.`id` as `swkweb_buy_x_pay_y_promotion.id`, `swkweb_buy_x_pay_y_promotion`.`product_stream_id` as `swkweb_buy_x_pay_y_promotion.productStreamId`, `swkweb_buy_x_pay_y_promotion`.`rule_id` as `swkweb_buy_x_pay_y_promotion.ruleId`, `swkweb_buy_x_pay_y_promotion`.`x` as `swkweb_buy_x_pay_y_promotion.x`, `swkweb_buy_x_pay_y_promotion`.`y` as `swkweb_buy_x_pay_y_promotion.y`, `swkweb_buy_x_pay_y_promotion`.`minimum_quantity` as `swkweb_buy_x_pay_y_promotion.minimumQuantity`, `swkweb_buy_x_pay_y_promotion`.`priority` as `swkweb_buy_x_pay_y_promotion.priority`, `swkweb_buy_x_pay_y_promotion`.`cross_variant` as `swkweb_buy_x_pay_y_promotion.crossVariant`, `swkweb_buy_x_pay_y_promotion`.`active` as `swkweb_buy_x_pay_y_promotion.active`, `swkweb_buy_x_pay_y_promotion`.`created_at` as `swkweb_buy_x_pay_y_promotion.createdAt`, `swkweb_buy_x_pay_y_promotion`.`updated_at` as `swkweb_buy_x_pay_y_promotion.updatedAt`, `swkweb_buy_x_pay_y_promotion.translation.name`, COALESCE(`swkweb_buy_x_pay_y_promotion.translation.name`,`swkweb_buy_x_pay_y_promotion.translation.name`) as `swkweb_buy_x_pay_y_promotion.name`, `swkweb_buy_x_pay_y_promotion.translation.createdAt`, `swkweb_buy_x_pay_y_promotion.translation.updatedAt`, `swkweb_buy_x_pay_y_promotion.translation.swkwebBuyXPayYPromotionId`, `swkweb_buy_x_pay_y_promotion.translation.languageId` FROM `swkweb_buy_x_pay_y_promotion` LEFT JOIN (SELECT `swkweb_buy_x_pay_y_promotion.translation`.swkweb_buy_x_pay_y_promotion_id, `swkweb_buy_x_pay_y_promotion.translation`.name as `swkweb_buy_x_pay_y_promotion.translation.name`, `swkweb_buy_x_pay_y_promotion.translation`.created_at as `swkweb_buy_x_pay_y_promotion.translation.createdAt`, `swkweb_buy_x_pay_y_promotion.translation`.updated_at as `swkweb_buy_x_pay_y_promotion.translation.updatedAt`, `swkweb_buy_x_pay_y_promotion.translation`.swkweb_buy_x_pay_y_promotion_id as `swkweb_buy_x_pay_y_promotion.translation.swkwebBuyXPayYPromotionId`, `swkweb_buy_x_pay_y_promotion.translation`.language_id as `swkweb_buy_x_pay_y_promotion.translation.languageId` FROM `swkweb_buy_x_pay_y_promotion_translation` `swkweb_buy_x_pay_y_promotion.translation` WHERE `swkweb_buy_x_pay_y_promotion.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `swkweb_buy_x_pay_y_promotion.swkweb_buy_x_pay_y_promotion_translation` ON `swkweb_buy_x_pay_y_promotion.swkweb_buy_x_pay_y_promotion_translation`.`swkweb_buy_x_pay_y_promotion_id` = `swkweb_buy_x_pay_y_promotion`.`id` WHERE (`swkweb_buy_x_pay_y_promotion`.`active` = 1 AND (`swkweb_buy_x_pay_y_promotion`.`rule_id` <=> NULL OR `swkweb_buy_x_pay_y_promotion`.`rule_id` IN (0x49E60033EEB14964AD30BBB2541A8832, 0x507D0ACF066F4AC8B4A5E137CC6A65D5, 0x624B5351CE6749F68E0173D176FC7D74, 0x1BD29ADF87934E51BCBC2A63DF3E5CD7, 0x54CA109BE7B94338B399B13A5D9CA690, 0x5B69F678101F40C3BBB95AD64C44F6C1, 0x888B2606F41C41E18E8E62EBD8019726, 0xB4449920AE794758AB3917DF10AA6A55, 0xC3D21140F4DF402C9BDF65AF4F7EAAAA, 0x605E84F76B374BAB8CFCEC73E9218201, 0xBA542F4FF2854B9EB943CBB0473A8D59)));
array:42 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
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 78)"
10 => "Swkweb\BuyXPayY\Core\Checkout\BuyXPayYPromotion\SalesChannel\BuyXPayYPromotionGateway::fetchPromotions (line 50)"
11 => "Swkweb\BuyXPayY\Core\Checkout\BuyXPayYPromotion\SalesChannel\BuyXPayYPromotionGateway::getPromotions (line 24)"
12 => "Swkweb\BuyXPayY\Core\Content\Product\SalesChannel\ProductBuyXPayYPromotionHelper::loadPromotions (line 53)"
13 => "Swkweb\BuyXPayY\Core\Content\Product\Cms\ProductSliderCmsElementResolver::enrich (line 237)"
14 => "Bodymed\Webshop\Core\Content\Product\Cms\ProductSliderCmsElementResolver::enrich (line 99)"
15 => "Shopware\Core\Content\Cms\DataResolver\CmsSlotsDataResolver::resolve (line 104)"
16 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::loadSlotData (line 94)"
17 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::load (line 102)"
18 => "Shopware\Core\Content\Category\SalesChannel\CategoryRoute::load (line 103)"
19 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 350)"
20 => "Shopware\Core\System\SystemConfig\SystemConfigService::trace (line 44)"
21 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 120)"
22 => "Shopware\Core\Framework\Adapter\Translation\Translator::trace (line 45)"
23 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 46)"
24 => "Shopware\Core\Framework\Adapter\Cache\CacheTagCollection::trace (line 46)"
25 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::trace (line 41)"
26 => "Shopware\Storefront\Framework\Cache\CacheTracer::Shopware\Storefront\Framework\Cache\{closure} (line 59)"
27 => "Shopware\Storefront\Theme\ThemeConfigValueAccessor::trace (line 42)"
28 => "Shopware\Storefront\Framework\Cache\CacheTracer::trace (line 104)"
29 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 72)"
30 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
31 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 109)"
32 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 59)"
33 => "Shopware\Core\Profiling\Profiler::trace (line 112)"
34 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::load (line 66)"
35 => "Shopware\Storefront\Page\Navigation\NavigationPageLoader::load (line 48)"
36 => "Shopware\Storefront\Controller\NavigationController::home (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 75)"
]
|
60 |
5.74 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`.`parent_id` = :param_cb10969b4fde4e4487829d866c3cff78 AND ((`product.visibilities`.`visibility` >= :param_e5386f9e0f7147f0b9504ee63af1d905) AND `product.visibilities`.`sales_channel_id` = :param_2d1b18cb7db5458a992732851915e8e6 AND IFNULL(`product`.`active`, `product.parent`.`active`) = :param_fbfc50994eff4c8db22da6ff50f45bfa))) 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`.`parent_id` = 0x03F4EF144EC44C3E822790C652F7C3F6 AND ((`product.visibilities`.`visibility` >= 10) AND `product.visibilities`.`sales_channel_id` = 0x620A2217F7474E619CB00AD39E804CCA AND IFNULL(`product`.`active`, `product.parent`.`active`) = 1))) GROUP BY `product`.`id`;
array:37 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
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 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariantsOfProduct (line 30)"
8 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariants (line 224)"
9 => "Bodymed\Webshop\Core\Content\Product\Cms\ProductSliderCmsElementResolver::enrich (line 99)"
10 => "Shopware\Core\Content\Cms\DataResolver\CmsSlotsDataResolver::resolve (line 104)"
11 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::loadSlotData (line 94)"
12 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::load (line 102)"
13 => "Shopware\Core\Content\Category\SalesChannel\CategoryRoute::load (line 103)"
14 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{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 104)"
24 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 72)"
25 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
26 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 109)"
27 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 59)"
28 => "Shopware\Core\Profiling\Profiler::trace (line 112)"
29 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::load (line 66)"
30 => "Shopware\Storefront\Page\Navigation\NavigationPageLoader::load (line 48)"
31 => "Shopware\Storefront\Controller\NavigationController::home (line 163)"
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 75)"
]
|
61 |
49.07 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.bundle`.`id` as `product.bundle.id`, `product.bundle`.`product_id` as `product.bundle.productId`, `product.bundle`.`product_version_id` as `product.bundle.productVersionId`, `product.bundle`.`name` as `product.bundle.name`, `product.bundle`.`price_type` as `product.bundle.priceType`, `product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`, `product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`, `product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`, `product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`, `product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`, `product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`, `product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`, `product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`, `product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`, `product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`, `product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`, `product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`, `product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`, `product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`, `product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`, `product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`, `product.bundle`.`created_at` as `product.bundle.createdAt`, `product.bundle`.`updated_at` as `product.bundle.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 `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_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 `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`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.bundle`.`id` as `product.bundle.id`,
`product.bundle`.`product_id` as `product.bundle.productId`,
`product.bundle`.`product_version_id` as `product.bundle.productVersionId`,
`product.bundle`.`name` as `product.bundle.name`,
`product.bundle`.`price_type` as `product.bundle.priceType`,
`product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`,
`product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`,
`product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`,
`product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`,
`product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`,
`product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`,
`product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`,
`product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`,
`product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`,
`product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`,
`product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`,
`product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`,
`product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`,
`product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`,
`product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`,
`product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`,
`product.bundle`.`created_at` as `product.bundle.createdAt`,
`product.bundle`.`updated_at` as `product.bundle.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 `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_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 `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id`
LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id`
LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`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.bundle`.`id` as `product.bundle.id`, `product.bundle`.`product_id` as `product.bundle.productId`, `product.bundle`.`product_version_id` as `product.bundle.productVersionId`, `product.bundle`.`name` as `product.bundle.name`, `product.bundle`.`price_type` as `product.bundle.priceType`, `product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`, `product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`, `product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`, `product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`, `product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`, `product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`, `product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`, `product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`, `product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`, `product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`, `product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`, `product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`, `product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`, `product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`, `product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`, `product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`, `product.bundle`.`created_at` as `product.bundle.createdAt`, `product.bundle`.`updated_at` as `product.bundle.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 `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_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 `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`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 (0x08EC802C13B34C698EBF2CB9E3B01CC8, 0x0B715FC5AD0749D0A1EC0C2CE7CCD5A9, 0x1B05CA6ED8FA4D3AA49A677F68EDB75E, 0x25E2B5893C034577AA88D272D2B93B49, 0x28C191A6D4904B5FAFD426952B3EAB79, 0x322B5ACEB82B4F91A340044157BA60FA, 0x36E6AD52E1814D39BC47075646D0B5CD, 0x3A05736EACB344A9BA3C484827C5ADAA, 0x40C715D352D44F9A8C627533635B8C40, 0x4387E40FBCE74A259FAF856C33203E63, 0x4C45FF560BB146DCA35B43801A1D976D, 0x56B582D5D5B74300B4CA0EA30961AD1A, 0x5E0F46D3C7324FD28F9AFBBFA2DAE40B, 0x6670C9F24D5C4312A929B7F4BEBA3243, 0x67F6C09CA07D4180A37D6100C395F401, 0xA015F3CABA1A46E9A3B7D43A274BB9E7, 0xA2F8D90DA8994B42B7216C5A9D8112F5, 0xA6AEB94F042C4227889F175B1D4BDBE1, 0xBBEE349E7AB94A6EB375101AFF00C44E, 0xC0BE63EA40E94C71A94617C8FF2C9290, 0xF0AAC9CD6189427F9E83827B033C1C65));
array:38 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
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 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariantsOfProduct (line 30)"
9 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariants (line 224)"
10 => "Bodymed\Webshop\Core\Content\Product\Cms\ProductSliderCmsElementResolver::enrich (line 99)"
11 => "Shopware\Core\Content\Cms\DataResolver\CmsSlotsDataResolver::resolve (line 104)"
12 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::loadSlotData (line 94)"
13 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::load (line 102)"
14 => "Shopware\Core\Content\Category\SalesChannel\CategoryRoute::load (line 103)"
15 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{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 104)"
25 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 72)"
26 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
27 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 109)"
28 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 59)"
29 => "Shopware\Core\Profiling\Profiler::trace (line 112)"
30 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::load (line 66)"
31 => "Shopware\Storefront\Page\Navigation\NavigationPageLoader::load (line 48)"
32 => "Shopware\Storefront\Controller\NavigationController::home (line 163)"
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 75)"
]
|
62 |
2.01 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_cef72a26370b4b9fa0d2ea75dd1adb0d)))
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 (0x08EC802C13B34C698EBF2CB9E3B01CC8, 0x0B715FC5AD0749D0A1EC0C2CE7CCD5A9, 0x1B05CA6ED8FA4D3AA49A677F68EDB75E, 0x25E2B5893C034577AA88D272D2B93B49, 0x28C191A6D4904B5FAFD426952B3EAB79, 0x322B5ACEB82B4F91A340044157BA60FA, 0x36E6AD52E1814D39BC47075646D0B5CD, 0x3A05736EACB344A9BA3C484827C5ADAA, 0x40C715D352D44F9A8C627533635B8C40, 0x4387E40FBCE74A259FAF856C33203E63, 0x4C45FF560BB146DCA35B43801A1D976D, 0x56B582D5D5B74300B4CA0EA30961AD1A, 0x5E0F46D3C7324FD28F9AFBBFA2DAE40B, 0x6670C9F24D5C4312A929B7F4BEBA3243, 0x67F6C09CA07D4180A37D6100C395F401, 0xA015F3CABA1A46E9A3B7D43A274BB9E7, 0xA2F8D90DA8994B42B7216C5A9D8112F5, 0xA6AEB94F042C4227889F175B1D4BDBE1, 0xBBEE349E7AB94A6EB375101AFF00C44E, 0xC0BE63EA40E94C71A94617C8FF2C9290, 0xF0AAC9CD6189427F9E83827B033C1C65, 0x03F4EF144EC44C3E822790C652F7C3F6)));
array:42 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
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 49)"
12 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariantsOfProduct (line 30)"
13 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariants (line 224)"
14 => "Bodymed\Webshop\Core\Content\Product\Cms\ProductSliderCmsElementResolver::enrich (line 99)"
15 => "Shopware\Core\Content\Cms\DataResolver\CmsSlotsDataResolver::resolve (line 104)"
16 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::loadSlotData (line 94)"
17 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::load (line 102)"
18 => "Shopware\Core\Content\Category\SalesChannel\CategoryRoute::load (line 103)"
19 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 350)"
20 => "Shopware\Core\System\SystemConfig\SystemConfigService::trace (line 44)"
21 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 120)"
22 => "Shopware\Core\Framework\Adapter\Translation\Translator::trace (line 45)"
23 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 46)"
24 => "Shopware\Core\Framework\Adapter\Cache\CacheTagCollection::trace (line 46)"
25 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::trace (line 41)"
26 => "Shopware\Storefront\Framework\Cache\CacheTracer::Shopware\Storefront\Framework\Cache\{closure} (line 59)"
27 => "Shopware\Storefront\Theme\ThemeConfigValueAccessor::trace (line 42)"
28 => "Shopware\Storefront\Framework\Cache\CacheTracer::trace (line 104)"
29 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 72)"
30 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
31 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 109)"
32 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 59)"
33 => "Shopware\Core\Profiling\Profiler::trace (line 112)"
34 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::load (line 66)"
35 => "Shopware\Storefront\Page\Navigation\NavigationPageLoader::load (line 48)"
36 => "Shopware\Storefront\Controller\NavigationController::home (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 75)"
]
|
63 |
0.74 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 = 0x620A2217F7474E619CB00AD39E804CCA) AND (token = 'IN5Ub8FQVmsGnU9oCTmNWiTvs4Dar3OO') LIMIT 1;
array:45 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 165)"
3 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextPersister::load (line 69)"
4 => "Bodymed\Webshop\Core\Subscriber\ProductSubscriber::addCustomerProductFeatureExtension (line 230)"
5 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
6 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
7 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
8 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
9 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
10 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 33)"
11 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
12 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 208)"
13 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::read (line 133)"
14 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 49)"
15 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariantsOfProduct (line 30)"
16 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariants (line 224)"
17 => "Bodymed\Webshop\Core\Content\Product\Cms\ProductSliderCmsElementResolver::enrich (line 99)"
18 => "Shopware\Core\Content\Cms\DataResolver\CmsSlotsDataResolver::resolve (line 104)"
19 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::loadSlotData (line 94)"
20 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::load (line 102)"
21 => "Shopware\Core\Content\Category\SalesChannel\CategoryRoute::load (line 103)"
22 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 350)"
23 => "Shopware\Core\System\SystemConfig\SystemConfigService::trace (line 44)"
24 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 120)"
25 => "Shopware\Core\Framework\Adapter\Translation\Translator::trace (line 45)"
26 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 46)"
27 => "Shopware\Core\Framework\Adapter\Cache\CacheTagCollection::trace (line 46)"
28 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::trace (line 41)"
29 => "Shopware\Storefront\Framework\Cache\CacheTracer::Shopware\Storefront\Framework\Cache\{closure} (line 59)"
30 => "Shopware\Storefront\Theme\ThemeConfigValueAccessor::trace (line 42)"
31 => "Shopware\Storefront\Framework\Cache\CacheTracer::trace (line 104)"
32 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 72)"
33 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
34 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 109)"
35 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 59)"
36 => "Shopware\Core\Profiling\Profiler::trace (line 112)"
37 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::load (line 66)"
38 => "Shopware\Storefront\Page\Navigation\NavigationPageLoader::load (line 48)"
39 => "Shopware\Storefront\Controller\NavigationController::home (line 163)"
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 75)"
]
|
64 |
29.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.bundle`.`id` as `product.bundle.id`, `product.bundle`.`product_id` as `product.bundle.productId`, `product.bundle`.`product_version_id` as `product.bundle.productVersionId`, `product.bundle`.`name` as `product.bundle.name`, `product.bundle`.`price_type` as `product.bundle.priceType`, `product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`, `product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`, `product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`, `product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`, `product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`, `product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`, `product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`, `product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`, `product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`, `product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`, `product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`, `product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`, `product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`, `product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`, `product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`, `product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`, `product.bundle`.`created_at` as `product.bundle.createdAt`, `product.bundle`.`updated_at` as `product.bundle.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`, `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 `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_id` LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id` AND `product`.`version_id` = `product.cover`.`version_id` LEFT JOIN `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`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.bundle`.`id` as `product.bundle.id`,
`product.bundle`.`product_id` as `product.bundle.productId`,
`product.bundle`.`product_version_id` as `product.bundle.productVersionId`,
`product.bundle`.`name` as `product.bundle.name`,
`product.bundle`.`price_type` as `product.bundle.priceType`,
`product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`,
`product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`,
`product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`,
`product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`,
`product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`,
`product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`,
`product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`,
`product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`,
`product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`,
`product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`,
`product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`,
`product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`,
`product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`,
`product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`,
`product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`,
`product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`,
`product.bundle`.`created_at` as `product.bundle.createdAt`,
`product.bundle`.`updated_at` as `product.bundle.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`,
`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 `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_id`
LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id`
AND `product`.`version_id` = `product.cover`.`version_id`
LEFT JOIN `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id`
LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id`
LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`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.bundle`.`id` as `product.bundle.id`, `product.bundle`.`product_id` as `product.bundle.productId`, `product.bundle`.`product_version_id` as `product.bundle.productVersionId`, `product.bundle`.`name` as `product.bundle.name`, `product.bundle`.`price_type` as `product.bundle.priceType`, `product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`, `product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`, `product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`, `product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`, `product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`, `product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`, `product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`, `product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`, `product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`, `product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`, `product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`, `product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`, `product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`, `product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`, `product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`, `product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`, `product.bundle`.`created_at` as `product.bundle.createdAt`, `product.bundle`.`updated_at` as `product.bundle.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`, `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 `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_id` LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id` AND `product`.`version_id` = `product.cover`.`version_id` LEFT JOIN `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`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 (0x03F4EF144EC44C3E822790C652F7C3F6));
array:51 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
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 103)"
10 => "Bodymed\Webshop\StoreFront\Subscriber\ProductExtensionSubscriber::addParentCover (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 33)"
17 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
18 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 208)"
19 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::read (line 133)"
20 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 49)"
21 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariantsOfProduct (line 30)"
22 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariants (line 224)"
23 => "Bodymed\Webshop\Core\Content\Product\Cms\ProductSliderCmsElementResolver::enrich (line 99)"
24 => "Shopware\Core\Content\Cms\DataResolver\CmsSlotsDataResolver::resolve (line 104)"
25 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::loadSlotData (line 94)"
26 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::load (line 102)"
27 => "Shopware\Core\Content\Category\SalesChannel\CategoryRoute::load (line 103)"
28 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 350)"
29 => "Shopware\Core\System\SystemConfig\SystemConfigService::trace (line 44)"
30 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 120)"
31 => "Shopware\Core\Framework\Adapter\Translation\Translator::trace (line 45)"
32 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 46)"
33 => "Shopware\Core\Framework\Adapter\Cache\CacheTagCollection::trace (line 46)"
34 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::trace (line 41)"
35 => "Shopware\Storefront\Framework\Cache\CacheTracer::Shopware\Storefront\Framework\Cache\{closure} (line 59)"
36 => "Shopware\Storefront\Theme\ThemeConfigValueAccessor::trace (line 42)"
37 => "Shopware\Storefront\Framework\Cache\CacheTracer::trace (line 104)"
38 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 72)"
39 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
40 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 109)"
41 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 59)"
42 => "Shopware\Core\Profiling\Profiler::trace (line 112)"
43 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::load (line 66)"
44 => "Shopware\Storefront\Page\Navigation\NavigationPageLoader::load (line 48)"
45 => "Shopware\Storefront\Controller\NavigationController::home (line 163)"
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 75)"
]
|
65 |
0.67 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 = 0x620A2217F7474E619CB00AD39E804CCA) AND (token = 'IN5Ub8FQVmsGnU9oCTmNWiTvs4Dar3OO') LIMIT 1;
array:58 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 165)"
3 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextPersister::load (line 69)"
4 => "Bodymed\Webshop\Core\Subscriber\ProductSubscriber::addCustomerProductFeatureExtension (line 230)"
5 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
6 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
7 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
8 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
9 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
10 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 33)"
11 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
12 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 269)"
13 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::read (line 286)"
14 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::_search (line 106)"
15 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::search (line 51)"
16 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepositoryForwardCompatibilityDecorator::search (line 103)"
17 => "Bodymed\Webshop\StoreFront\Subscriber\ProductExtensionSubscriber::addParentCover (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 49)"
28 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariantsOfProduct (line 30)"
29 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariants (line 224)"
30 => "Bodymed\Webshop\Core\Content\Product\Cms\ProductSliderCmsElementResolver::enrich (line 99)"
31 => "Shopware\Core\Content\Cms\DataResolver\CmsSlotsDataResolver::resolve (line 104)"
32 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::loadSlotData (line 94)"
33 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::load (line 102)"
34 => "Shopware\Core\Content\Category\SalesChannel\CategoryRoute::load (line 103)"
35 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 350)"
36 => "Shopware\Core\System\SystemConfig\SystemConfigService::trace (line 44)"
37 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 120)"
38 => "Shopware\Core\Framework\Adapter\Translation\Translator::trace (line 45)"
39 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 46)"
40 => "Shopware\Core\Framework\Adapter\Cache\CacheTagCollection::trace (line 46)"
41 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::trace (line 41)"
42 => "Shopware\Storefront\Framework\Cache\CacheTracer::Shopware\Storefront\Framework\Cache\{closure} (line 59)"
43 => "Shopware\Storefront\Theme\ThemeConfigValueAccessor::trace (line 42)"
44 => "Shopware\Storefront\Framework\Cache\CacheTracer::trace (line 104)"
45 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 72)"
46 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
47 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 109)"
48 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 59)"
49 => "Shopware\Core\Profiling\Profiler::trace (line 112)"
50 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::load (line 66)"
51 => "Shopware\Storefront\Page\Navigation\NavigationPageLoader::load (line 48)"
52 => "Shopware\Storefront\Controller\NavigationController::home (line 163)"
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 75)"
]
|
66 |
30.45 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.bundle`.`id` as `product.bundle.id`, `product.bundle`.`product_id` as `product.bundle.productId`, `product.bundle`.`product_version_id` as `product.bundle.productVersionId`, `product.bundle`.`name` as `product.bundle.name`, `product.bundle`.`price_type` as `product.bundle.priceType`, `product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`, `product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`, `product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`, `product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`, `product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`, `product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`, `product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`, `product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`, `product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`, `product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`, `product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`, `product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`, `product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`, `product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`, `product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`, `product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`, `product.bundle`.`created_at` as `product.bundle.createdAt`, `product.bundle`.`updated_at` as `product.bundle.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`, `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 `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_id` LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id` AND `product`.`version_id` = `product.cover`.`version_id` LEFT JOIN `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`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.bundle`.`id` as `product.bundle.id`,
`product.bundle`.`product_id` as `product.bundle.productId`,
`product.bundle`.`product_version_id` as `product.bundle.productVersionId`,
`product.bundle`.`name` as `product.bundle.name`,
`product.bundle`.`price_type` as `product.bundle.priceType`,
`product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`,
`product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`,
`product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`,
`product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`,
`product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`,
`product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`,
`product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`,
`product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`,
`product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`,
`product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`,
`product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`,
`product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`,
`product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`,
`product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`,
`product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`,
`product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`,
`product.bundle`.`created_at` as `product.bundle.createdAt`,
`product.bundle`.`updated_at` as `product.bundle.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`,
`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 `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_id`
LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id`
AND `product`.`version_id` = `product.cover`.`version_id`
LEFT JOIN `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id`
LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id`
LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`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.bundle`.`id` as `product.bundle.id`, `product.bundle`.`product_id` as `product.bundle.productId`, `product.bundle`.`product_version_id` as `product.bundle.productVersionId`, `product.bundle`.`name` as `product.bundle.name`, `product.bundle`.`price_type` as `product.bundle.priceType`, `product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`, `product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`, `product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`, `product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`, `product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`, `product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`, `product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`, `product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`, `product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`, `product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`, `product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`, `product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`, `product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`, `product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`, `product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`, `product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`, `product.bundle`.`created_at` as `product.bundle.createdAt`, `product.bundle`.`updated_at` as `product.bundle.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`, `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 `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_id` LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id` AND `product`.`version_id` = `product.cover`.`version_id` LEFT JOIN `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`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 (0x03F4EF144EC44C3E822790C652F7C3F6));
array:51 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
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 103)"
10 => "Bodymed\Webshop\StoreFront\Subscriber\ProductExtensionSubscriber::addParentCover (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 33)"
17 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
18 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 208)"
19 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::read (line 133)"
20 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 49)"
21 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariantsOfProduct (line 30)"
22 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariants (line 224)"
23 => "Bodymed\Webshop\Core\Content\Product\Cms\ProductSliderCmsElementResolver::enrich (line 99)"
24 => "Shopware\Core\Content\Cms\DataResolver\CmsSlotsDataResolver::resolve (line 104)"
25 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::loadSlotData (line 94)"
26 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::load (line 102)"
27 => "Shopware\Core\Content\Category\SalesChannel\CategoryRoute::load (line 103)"
28 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 350)"
29 => "Shopware\Core\System\SystemConfig\SystemConfigService::trace (line 44)"
30 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 120)"
31 => "Shopware\Core\Framework\Adapter\Translation\Translator::trace (line 45)"
32 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 46)"
33 => "Shopware\Core\Framework\Adapter\Cache\CacheTagCollection::trace (line 46)"
34 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::trace (line 41)"
35 => "Shopware\Storefront\Framework\Cache\CacheTracer::Shopware\Storefront\Framework\Cache\{closure} (line 59)"
36 => "Shopware\Storefront\Theme\ThemeConfigValueAccessor::trace (line 42)"
37 => "Shopware\Storefront\Framework\Cache\CacheTracer::trace (line 104)"
38 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 72)"
39 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
40 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 109)"
41 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 59)"
42 => "Shopware\Core\Profiling\Profiler::trace (line 112)"
43 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::load (line 66)"
44 => "Shopware\Storefront\Page\Navigation\NavigationPageLoader::load (line 48)"
45 => "Shopware\Storefront\Controller\NavigationController::home (line 163)"
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 75)"
]
|
67 |
0.71 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 = 0x620A2217F7474E619CB00AD39E804CCA) AND (token = 'IN5Ub8FQVmsGnU9oCTmNWiTvs4Dar3OO') LIMIT 1;
array:58 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 165)"
3 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextPersister::load (line 69)"
4 => "Bodymed\Webshop\Core\Subscriber\ProductSubscriber::addCustomerProductFeatureExtension (line 230)"
5 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
6 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
7 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
8 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
9 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
10 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 33)"
11 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
12 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 269)"
13 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::read (line 286)"
14 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::_search (line 106)"
15 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::search (line 51)"
16 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepositoryForwardCompatibilityDecorator::search (line 103)"
17 => "Bodymed\Webshop\StoreFront\Subscriber\ProductExtensionSubscriber::addParentCover (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 49)"
28 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariantsOfProduct (line 30)"
29 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariants (line 224)"
30 => "Bodymed\Webshop\Core\Content\Product\Cms\ProductSliderCmsElementResolver::enrich (line 99)"
31 => "Shopware\Core\Content\Cms\DataResolver\CmsSlotsDataResolver::resolve (line 104)"
32 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::loadSlotData (line 94)"
33 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::load (line 102)"
34 => "Shopware\Core\Content\Category\SalesChannel\CategoryRoute::load (line 103)"
35 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 350)"
36 => "Shopware\Core\System\SystemConfig\SystemConfigService::trace (line 44)"
37 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 120)"
38 => "Shopware\Core\Framework\Adapter\Translation\Translator::trace (line 45)"
39 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 46)"
40 => "Shopware\Core\Framework\Adapter\Cache\CacheTagCollection::trace (line 46)"
41 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::trace (line 41)"
42 => "Shopware\Storefront\Framework\Cache\CacheTracer::Shopware\Storefront\Framework\Cache\{closure} (line 59)"
43 => "Shopware\Storefront\Theme\ThemeConfigValueAccessor::trace (line 42)"
44 => "Shopware\Storefront\Framework\Cache\CacheTracer::trace (line 104)"
45 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 72)"
46 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
47 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 109)"
48 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 59)"
49 => "Shopware\Core\Profiling\Profiler::trace (line 112)"
50 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::load (line 66)"
51 => "Shopware\Storefront\Page\Navigation\NavigationPageLoader::load (line 48)"
52 => "Shopware\Storefront\Controller\NavigationController::home (line 163)"
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 75)"
]
|
68 |
24.49 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.bundle`.`id` as `product.bundle.id`, `product.bundle`.`product_id` as `product.bundle.productId`, `product.bundle`.`product_version_id` as `product.bundle.productVersionId`, `product.bundle`.`name` as `product.bundle.name`, `product.bundle`.`price_type` as `product.bundle.priceType`, `product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`, `product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`, `product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`, `product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`, `product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`, `product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`, `product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`, `product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`, `product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`, `product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`, `product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`, `product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`, `product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`, `product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`, `product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`, `product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`, `product.bundle`.`created_at` as `product.bundle.createdAt`, `product.bundle`.`updated_at` as `product.bundle.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`, `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 `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_id` LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id` AND `product`.`version_id` = `product.cover`.`version_id` LEFT JOIN `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`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.bundle`.`id` as `product.bundle.id`,
`product.bundle`.`product_id` as `product.bundle.productId`,
`product.bundle`.`product_version_id` as `product.bundle.productVersionId`,
`product.bundle`.`name` as `product.bundle.name`,
`product.bundle`.`price_type` as `product.bundle.priceType`,
`product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`,
`product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`,
`product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`,
`product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`,
`product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`,
`product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`,
`product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`,
`product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`,
`product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`,
`product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`,
`product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`,
`product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`,
`product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`,
`product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`,
`product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`,
`product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`,
`product.bundle`.`created_at` as `product.bundle.createdAt`,
`product.bundle`.`updated_at` as `product.bundle.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`,
`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 `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_id`
LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id`
AND `product`.`version_id` = `product.cover`.`version_id`
LEFT JOIN `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id`
LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id`
LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`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.bundle`.`id` as `product.bundle.id`, `product.bundle`.`product_id` as `product.bundle.productId`, `product.bundle`.`product_version_id` as `product.bundle.productVersionId`, `product.bundle`.`name` as `product.bundle.name`, `product.bundle`.`price_type` as `product.bundle.priceType`, `product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`, `product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`, `product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`, `product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`, `product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`, `product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`, `product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`, `product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`, `product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`, `product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`, `product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`, `product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`, `product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`, `product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`, `product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`, `product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`, `product.bundle`.`created_at` as `product.bundle.createdAt`, `product.bundle`.`updated_at` as `product.bundle.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`, `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 `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_id` LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id` AND `product`.`version_id` = `product.cover`.`version_id` LEFT JOIN `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`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 (0x03F4EF144EC44C3E822790C652F7C3F6));
array:51 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
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 103)"
10 => "Bodymed\Webshop\StoreFront\Subscriber\ProductExtensionSubscriber::addParentCover (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 33)"
17 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
18 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 208)"
19 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::read (line 133)"
20 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 49)"
21 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariantsOfProduct (line 30)"
22 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariants (line 224)"
23 => "Bodymed\Webshop\Core\Content\Product\Cms\ProductSliderCmsElementResolver::enrich (line 99)"
24 => "Shopware\Core\Content\Cms\DataResolver\CmsSlotsDataResolver::resolve (line 104)"
25 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::loadSlotData (line 94)"
26 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::load (line 102)"
27 => "Shopware\Core\Content\Category\SalesChannel\CategoryRoute::load (line 103)"
28 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 350)"
29 => "Shopware\Core\System\SystemConfig\SystemConfigService::trace (line 44)"
30 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 120)"
31 => "Shopware\Core\Framework\Adapter\Translation\Translator::trace (line 45)"
32 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 46)"
33 => "Shopware\Core\Framework\Adapter\Cache\CacheTagCollection::trace (line 46)"
34 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::trace (line 41)"
35 => "Shopware\Storefront\Framework\Cache\CacheTracer::Shopware\Storefront\Framework\Cache\{closure} (line 59)"
36 => "Shopware\Storefront\Theme\ThemeConfigValueAccessor::trace (line 42)"
37 => "Shopware\Storefront\Framework\Cache\CacheTracer::trace (line 104)"
38 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 72)"
39 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
40 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 109)"
41 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 59)"
42 => "Shopware\Core\Profiling\Profiler::trace (line 112)"
43 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::load (line 66)"
44 => "Shopware\Storefront\Page\Navigation\NavigationPageLoader::load (line 48)"
45 => "Shopware\Storefront\Controller\NavigationController::home (line 163)"
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 75)"
]
|
69 |
0.71 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 = 0x620A2217F7474E619CB00AD39E804CCA) AND (token = 'IN5Ub8FQVmsGnU9oCTmNWiTvs4Dar3OO') LIMIT 1;
array:58 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 165)"
3 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextPersister::load (line 69)"
4 => "Bodymed\Webshop\Core\Subscriber\ProductSubscriber::addCustomerProductFeatureExtension (line 230)"
5 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
6 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
7 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
8 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
9 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
10 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 33)"
11 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
12 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 269)"
13 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::read (line 286)"
14 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::_search (line 106)"
15 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::search (line 51)"
16 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepositoryForwardCompatibilityDecorator::search (line 103)"
17 => "Bodymed\Webshop\StoreFront\Subscriber\ProductExtensionSubscriber::addParentCover (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 49)"
28 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariantsOfProduct (line 30)"
29 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariants (line 224)"
30 => "Bodymed\Webshop\Core\Content\Product\Cms\ProductSliderCmsElementResolver::enrich (line 99)"
31 => "Shopware\Core\Content\Cms\DataResolver\CmsSlotsDataResolver::resolve (line 104)"
32 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::loadSlotData (line 94)"
33 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::load (line 102)"
34 => "Shopware\Core\Content\Category\SalesChannel\CategoryRoute::load (line 103)"
35 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 350)"
36 => "Shopware\Core\System\SystemConfig\SystemConfigService::trace (line 44)"
37 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 120)"
38 => "Shopware\Core\Framework\Adapter\Translation\Translator::trace (line 45)"
39 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 46)"
40 => "Shopware\Core\Framework\Adapter\Cache\CacheTagCollection::trace (line 46)"
41 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::trace (line 41)"
42 => "Shopware\Storefront\Framework\Cache\CacheTracer::Shopware\Storefront\Framework\Cache\{closure} (line 59)"
43 => "Shopware\Storefront\Theme\ThemeConfigValueAccessor::trace (line 42)"
44 => "Shopware\Storefront\Framework\Cache\CacheTracer::trace (line 104)"
45 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 72)"
46 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
47 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 109)"
48 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 59)"
49 => "Shopware\Core\Profiling\Profiler::trace (line 112)"
50 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::load (line 66)"
51 => "Shopware\Storefront\Page\Navigation\NavigationPageLoader::load (line 48)"
52 => "Shopware\Storefront\Controller\NavigationController::home (line 163)"
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 75)"
]
|
70 |
25.18 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.bundle`.`id` as `product.bundle.id`, `product.bundle`.`product_id` as `product.bundle.productId`, `product.bundle`.`product_version_id` as `product.bundle.productVersionId`, `product.bundle`.`name` as `product.bundle.name`, `product.bundle`.`price_type` as `product.bundle.priceType`, `product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`, `product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`, `product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`, `product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`, `product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`, `product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`, `product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`, `product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`, `product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`, `product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`, `product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`, `product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`, `product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`, `product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`, `product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`, `product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`, `product.bundle`.`created_at` as `product.bundle.createdAt`, `product.bundle`.`updated_at` as `product.bundle.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`, `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 `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_id` LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id` AND `product`.`version_id` = `product.cover`.`version_id` LEFT JOIN `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`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.bundle`.`id` as `product.bundle.id`,
`product.bundle`.`product_id` as `product.bundle.productId`,
`product.bundle`.`product_version_id` as `product.bundle.productVersionId`,
`product.bundle`.`name` as `product.bundle.name`,
`product.bundle`.`price_type` as `product.bundle.priceType`,
`product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`,
`product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`,
`product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`,
`product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`,
`product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`,
`product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`,
`product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`,
`product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`,
`product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`,
`product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`,
`product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`,
`product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`,
`product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`,
`product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`,
`product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`,
`product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`,
`product.bundle`.`created_at` as `product.bundle.createdAt`,
`product.bundle`.`updated_at` as `product.bundle.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`,
`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 `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_id`
LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id`
AND `product`.`version_id` = `product.cover`.`version_id`
LEFT JOIN `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id`
LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id`
LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`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.bundle`.`id` as `product.bundle.id`, `product.bundle`.`product_id` as `product.bundle.productId`, `product.bundle`.`product_version_id` as `product.bundle.productVersionId`, `product.bundle`.`name` as `product.bundle.name`, `product.bundle`.`price_type` as `product.bundle.priceType`, `product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`, `product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`, `product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`, `product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`, `product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`, `product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`, `product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`, `product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`, `product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`, `product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`, `product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`, `product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`, `product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`, `product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`, `product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`, `product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`, `product.bundle`.`created_at` as `product.bundle.createdAt`, `product.bundle`.`updated_at` as `product.bundle.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`, `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 `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_id` LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id` AND `product`.`version_id` = `product.cover`.`version_id` LEFT JOIN `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`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 (0x03F4EF144EC44C3E822790C652F7C3F6));
array:51 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
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 103)"
10 => "Bodymed\Webshop\StoreFront\Subscriber\ProductExtensionSubscriber::addParentCover (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 33)"
17 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
18 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 208)"
19 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::read (line 133)"
20 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 49)"
21 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariantsOfProduct (line 30)"
22 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariants (line 224)"
23 => "Bodymed\Webshop\Core\Content\Product\Cms\ProductSliderCmsElementResolver::enrich (line 99)"
24 => "Shopware\Core\Content\Cms\DataResolver\CmsSlotsDataResolver::resolve (line 104)"
25 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::loadSlotData (line 94)"
26 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::load (line 102)"
27 => "Shopware\Core\Content\Category\SalesChannel\CategoryRoute::load (line 103)"
28 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 350)"
29 => "Shopware\Core\System\SystemConfig\SystemConfigService::trace (line 44)"
30 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 120)"
31 => "Shopware\Core\Framework\Adapter\Translation\Translator::trace (line 45)"
32 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 46)"
33 => "Shopware\Core\Framework\Adapter\Cache\CacheTagCollection::trace (line 46)"
34 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::trace (line 41)"
35 => "Shopware\Storefront\Framework\Cache\CacheTracer::Shopware\Storefront\Framework\Cache\{closure} (line 59)"
36 => "Shopware\Storefront\Theme\ThemeConfigValueAccessor::trace (line 42)"
37 => "Shopware\Storefront\Framework\Cache\CacheTracer::trace (line 104)"
38 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 72)"
39 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
40 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 109)"
41 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 59)"
42 => "Shopware\Core\Profiling\Profiler::trace (line 112)"
43 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::load (line 66)"
44 => "Shopware\Storefront\Page\Navigation\NavigationPageLoader::load (line 48)"
45 => "Shopware\Storefront\Controller\NavigationController::home (line 163)"
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 75)"
]
|
71 |
0.70 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 = 0x620A2217F7474E619CB00AD39E804CCA) AND (token = 'IN5Ub8FQVmsGnU9oCTmNWiTvs4Dar3OO') LIMIT 1;
array:58 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 165)"
3 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextPersister::load (line 69)"
4 => "Bodymed\Webshop\Core\Subscriber\ProductSubscriber::addCustomerProductFeatureExtension (line 230)"
5 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
6 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
7 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
8 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
9 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
10 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 33)"
11 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
12 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 269)"
13 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::read (line 286)"
14 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::_search (line 106)"
15 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::search (line 51)"
16 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepositoryForwardCompatibilityDecorator::search (line 103)"
17 => "Bodymed\Webshop\StoreFront\Subscriber\ProductExtensionSubscriber::addParentCover (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 49)"
28 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariantsOfProduct (line 30)"
29 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariants (line 224)"
30 => "Bodymed\Webshop\Core\Content\Product\Cms\ProductSliderCmsElementResolver::enrich (line 99)"
31 => "Shopware\Core\Content\Cms\DataResolver\CmsSlotsDataResolver::resolve (line 104)"
32 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::loadSlotData (line 94)"
33 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::load (line 102)"
34 => "Shopware\Core\Content\Category\SalesChannel\CategoryRoute::load (line 103)"
35 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 350)"
36 => "Shopware\Core\System\SystemConfig\SystemConfigService::trace (line 44)"
37 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 120)"
38 => "Shopware\Core\Framework\Adapter\Translation\Translator::trace (line 45)"
39 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 46)"
40 => "Shopware\Core\Framework\Adapter\Cache\CacheTagCollection::trace (line 46)"
41 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::trace (line 41)"
42 => "Shopware\Storefront\Framework\Cache\CacheTracer::Shopware\Storefront\Framework\Cache\{closure} (line 59)"
43 => "Shopware\Storefront\Theme\ThemeConfigValueAccessor::trace (line 42)"
44 => "Shopware\Storefront\Framework\Cache\CacheTracer::trace (line 104)"
45 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 72)"
46 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
47 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 109)"
48 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 59)"
49 => "Shopware\Core\Profiling\Profiler::trace (line 112)"
50 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::load (line 66)"
51 => "Shopware\Storefront\Page\Navigation\NavigationPageLoader::load (line 48)"
52 => "Shopware\Storefront\Controller\NavigationController::home (line 163)"
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 75)"
]
|
72 |
24.78 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.bundle`.`id` as `product.bundle.id`, `product.bundle`.`product_id` as `product.bundle.productId`, `product.bundle`.`product_version_id` as `product.bundle.productVersionId`, `product.bundle`.`name` as `product.bundle.name`, `product.bundle`.`price_type` as `product.bundle.priceType`, `product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`, `product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`, `product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`, `product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`, `product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`, `product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`, `product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`, `product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`, `product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`, `product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`, `product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`, `product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`, `product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`, `product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`, `product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`, `product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`, `product.bundle`.`created_at` as `product.bundle.createdAt`, `product.bundle`.`updated_at` as `product.bundle.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`, `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 `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_id` LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id` AND `product`.`version_id` = `product.cover`.`version_id` LEFT JOIN `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`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.bundle`.`id` as `product.bundle.id`,
`product.bundle`.`product_id` as `product.bundle.productId`,
`product.bundle`.`product_version_id` as `product.bundle.productVersionId`,
`product.bundle`.`name` as `product.bundle.name`,
`product.bundle`.`price_type` as `product.bundle.priceType`,
`product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`,
`product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`,
`product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`,
`product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`,
`product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`,
`product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`,
`product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`,
`product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`,
`product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`,
`product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`,
`product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`,
`product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`,
`product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`,
`product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`,
`product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`,
`product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`,
`product.bundle`.`created_at` as `product.bundle.createdAt`,
`product.bundle`.`updated_at` as `product.bundle.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`,
`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 `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_id`
LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id`
AND `product`.`version_id` = `product.cover`.`version_id`
LEFT JOIN `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id`
LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id`
LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`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.bundle`.`id` as `product.bundle.id`, `product.bundle`.`product_id` as `product.bundle.productId`, `product.bundle`.`product_version_id` as `product.bundle.productVersionId`, `product.bundle`.`name` as `product.bundle.name`, `product.bundle`.`price_type` as `product.bundle.priceType`, `product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`, `product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`, `product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`, `product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`, `product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`, `product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`, `product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`, `product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`, `product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`, `product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`, `product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`, `product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`, `product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`, `product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`, `product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`, `product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`, `product.bundle`.`created_at` as `product.bundle.createdAt`, `product.bundle`.`updated_at` as `product.bundle.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`, `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 `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_id` LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id` AND `product`.`version_id` = `product.cover`.`version_id` LEFT JOIN `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`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 (0x03F4EF144EC44C3E822790C652F7C3F6));
array:51 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
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 103)"
10 => "Bodymed\Webshop\StoreFront\Subscriber\ProductExtensionSubscriber::addParentCover (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 33)"
17 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
18 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 208)"
19 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::read (line 133)"
20 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 49)"
21 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariantsOfProduct (line 30)"
22 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariants (line 224)"
23 => "Bodymed\Webshop\Core\Content\Product\Cms\ProductSliderCmsElementResolver::enrich (line 99)"
24 => "Shopware\Core\Content\Cms\DataResolver\CmsSlotsDataResolver::resolve (line 104)"
25 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::loadSlotData (line 94)"
26 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::load (line 102)"
27 => "Shopware\Core\Content\Category\SalesChannel\CategoryRoute::load (line 103)"
28 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 350)"
29 => "Shopware\Core\System\SystemConfig\SystemConfigService::trace (line 44)"
30 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 120)"
31 => "Shopware\Core\Framework\Adapter\Translation\Translator::trace (line 45)"
32 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 46)"
33 => "Shopware\Core\Framework\Adapter\Cache\CacheTagCollection::trace (line 46)"
34 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::trace (line 41)"
35 => "Shopware\Storefront\Framework\Cache\CacheTracer::Shopware\Storefront\Framework\Cache\{closure} (line 59)"
36 => "Shopware\Storefront\Theme\ThemeConfigValueAccessor::trace (line 42)"
37 => "Shopware\Storefront\Framework\Cache\CacheTracer::trace (line 104)"
38 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 72)"
39 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
40 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 109)"
41 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 59)"
42 => "Shopware\Core\Profiling\Profiler::trace (line 112)"
43 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::load (line 66)"
44 => "Shopware\Storefront\Page\Navigation\NavigationPageLoader::load (line 48)"
45 => "Shopware\Storefront\Controller\NavigationController::home (line 163)"
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 75)"
]
|
73 |
0.81 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 = 0x620A2217F7474E619CB00AD39E804CCA) AND (token = 'IN5Ub8FQVmsGnU9oCTmNWiTvs4Dar3OO') LIMIT 1;
array:58 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 165)"
3 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextPersister::load (line 69)"
4 => "Bodymed\Webshop\Core\Subscriber\ProductSubscriber::addCustomerProductFeatureExtension (line 230)"
5 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
6 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
7 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
8 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
9 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
10 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 33)"
11 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
12 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 269)"
13 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::read (line 286)"
14 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::_search (line 106)"
15 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::search (line 51)"
16 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepositoryForwardCompatibilityDecorator::search (line 103)"
17 => "Bodymed\Webshop\StoreFront\Subscriber\ProductExtensionSubscriber::addParentCover (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 49)"
28 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariantsOfProduct (line 30)"
29 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariants (line 224)"
30 => "Bodymed\Webshop\Core\Content\Product\Cms\ProductSliderCmsElementResolver::enrich (line 99)"
31 => "Shopware\Core\Content\Cms\DataResolver\CmsSlotsDataResolver::resolve (line 104)"
32 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::loadSlotData (line 94)"
33 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::load (line 102)"
34 => "Shopware\Core\Content\Category\SalesChannel\CategoryRoute::load (line 103)"
35 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 350)"
36 => "Shopware\Core\System\SystemConfig\SystemConfigService::trace (line 44)"
37 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 120)"
38 => "Shopware\Core\Framework\Adapter\Translation\Translator::trace (line 45)"
39 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 46)"
40 => "Shopware\Core\Framework\Adapter\Cache\CacheTagCollection::trace (line 46)"
41 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::trace (line 41)"
42 => "Shopware\Storefront\Framework\Cache\CacheTracer::Shopware\Storefront\Framework\Cache\{closure} (line 59)"
43 => "Shopware\Storefront\Theme\ThemeConfigValueAccessor::trace (line 42)"
44 => "Shopware\Storefront\Framework\Cache\CacheTracer::trace (line 104)"
45 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 72)"
46 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
47 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 109)"
48 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 59)"
49 => "Shopware\Core\Profiling\Profiler::trace (line 112)"
50 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::load (line 66)"
51 => "Shopware\Storefront\Page\Navigation\NavigationPageLoader::load (line 48)"
52 => "Shopware\Storefront\Controller\NavigationController::home (line 163)"
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 75)"
]
|
74 |
27.73 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.bundle`.`id` as `product.bundle.id`, `product.bundle`.`product_id` as `product.bundle.productId`, `product.bundle`.`product_version_id` as `product.bundle.productVersionId`, `product.bundle`.`name` as `product.bundle.name`, `product.bundle`.`price_type` as `product.bundle.priceType`, `product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`, `product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`, `product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`, `product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`, `product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`, `product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`, `product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`, `product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`, `product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`, `product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`, `product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`, `product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`, `product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`, `product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`, `product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`, `product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`, `product.bundle`.`created_at` as `product.bundle.createdAt`, `product.bundle`.`updated_at` as `product.bundle.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`, `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 `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_id` LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id` AND `product`.`version_id` = `product.cover`.`version_id` LEFT JOIN `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`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.bundle`.`id` as `product.bundle.id`,
`product.bundle`.`product_id` as `product.bundle.productId`,
`product.bundle`.`product_version_id` as `product.bundle.productVersionId`,
`product.bundle`.`name` as `product.bundle.name`,
`product.bundle`.`price_type` as `product.bundle.priceType`,
`product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`,
`product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`,
`product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`,
`product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`,
`product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`,
`product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`,
`product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`,
`product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`,
`product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`,
`product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`,
`product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`,
`product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`,
`product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`,
`product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`,
`product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`,
`product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`,
`product.bundle`.`created_at` as `product.bundle.createdAt`,
`product.bundle`.`updated_at` as `product.bundle.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`,
`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 `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_id`
LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id`
AND `product`.`version_id` = `product.cover`.`version_id`
LEFT JOIN `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id`
LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id`
LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`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.bundle`.`id` as `product.bundle.id`, `product.bundle`.`product_id` as `product.bundle.productId`, `product.bundle`.`product_version_id` as `product.bundle.productVersionId`, `product.bundle`.`name` as `product.bundle.name`, `product.bundle`.`price_type` as `product.bundle.priceType`, `product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`, `product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`, `product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`, `product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`, `product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`, `product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`, `product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`, `product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`, `product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`, `product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`, `product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`, `product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`, `product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`, `product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`, `product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`, `product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`, `product.bundle`.`created_at` as `product.bundle.createdAt`, `product.bundle`.`updated_at` as `product.bundle.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`, `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 `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_id` LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id` AND `product`.`version_id` = `product.cover`.`version_id` LEFT JOIN `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`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 (0x03F4EF144EC44C3E822790C652F7C3F6));
array:51 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
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 103)"
10 => "Bodymed\Webshop\StoreFront\Subscriber\ProductExtensionSubscriber::addParentCover (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 33)"
17 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
18 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 208)"
19 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::read (line 133)"
20 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 49)"
21 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariantsOfProduct (line 30)"
22 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariants (line 224)"
23 => "Bodymed\Webshop\Core\Content\Product\Cms\ProductSliderCmsElementResolver::enrich (line 99)"
24 => "Shopware\Core\Content\Cms\DataResolver\CmsSlotsDataResolver::resolve (line 104)"
25 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::loadSlotData (line 94)"
26 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::load (line 102)"
27 => "Shopware\Core\Content\Category\SalesChannel\CategoryRoute::load (line 103)"
28 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 350)"
29 => "Shopware\Core\System\SystemConfig\SystemConfigService::trace (line 44)"
30 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 120)"
31 => "Shopware\Core\Framework\Adapter\Translation\Translator::trace (line 45)"
32 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 46)"
33 => "Shopware\Core\Framework\Adapter\Cache\CacheTagCollection::trace (line 46)"
34 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::trace (line 41)"
35 => "Shopware\Storefront\Framework\Cache\CacheTracer::Shopware\Storefront\Framework\Cache\{closure} (line 59)"
36 => "Shopware\Storefront\Theme\ThemeConfigValueAccessor::trace (line 42)"
37 => "Shopware\Storefront\Framework\Cache\CacheTracer::trace (line 104)"
38 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 72)"
39 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
40 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 109)"
41 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 59)"
42 => "Shopware\Core\Profiling\Profiler::trace (line 112)"
43 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::load (line 66)"
44 => "Shopware\Storefront\Page\Navigation\NavigationPageLoader::load (line 48)"
45 => "Shopware\Storefront\Controller\NavigationController::home (line 163)"
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 75)"
]
|
75 |
2.99 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 = 0x620A2217F7474E619CB00AD39E804CCA) AND (token = 'IN5Ub8FQVmsGnU9oCTmNWiTvs4Dar3OO') LIMIT 1;
array:58 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 165)"
3 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextPersister::load (line 69)"
4 => "Bodymed\Webshop\Core\Subscriber\ProductSubscriber::addCustomerProductFeatureExtension (line 230)"
5 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
6 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
7 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
8 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
9 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
10 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 33)"
11 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
12 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 269)"
13 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::read (line 286)"
14 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::_search (line 106)"
15 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::search (line 51)"
16 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepositoryForwardCompatibilityDecorator::search (line 103)"
17 => "Bodymed\Webshop\StoreFront\Subscriber\ProductExtensionSubscriber::addParentCover (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 49)"
28 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariantsOfProduct (line 30)"
29 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariants (line 224)"
30 => "Bodymed\Webshop\Core\Content\Product\Cms\ProductSliderCmsElementResolver::enrich (line 99)"
31 => "Shopware\Core\Content\Cms\DataResolver\CmsSlotsDataResolver::resolve (line 104)"
32 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::loadSlotData (line 94)"
33 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::load (line 102)"
34 => "Shopware\Core\Content\Category\SalesChannel\CategoryRoute::load (line 103)"
35 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 350)"
36 => "Shopware\Core\System\SystemConfig\SystemConfigService::trace (line 44)"
37 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 120)"
38 => "Shopware\Core\Framework\Adapter\Translation\Translator::trace (line 45)"
39 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 46)"
40 => "Shopware\Core\Framework\Adapter\Cache\CacheTagCollection::trace (line 46)"
41 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::trace (line 41)"
42 => "Shopware\Storefront\Framework\Cache\CacheTracer::Shopware\Storefront\Framework\Cache\{closure} (line 59)"
43 => "Shopware\Storefront\Theme\ThemeConfigValueAccessor::trace (line 42)"
44 => "Shopware\Storefront\Framework\Cache\CacheTracer::trace (line 104)"
45 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 72)"
46 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
47 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 109)"
48 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 59)"
49 => "Shopware\Core\Profiling\Profiler::trace (line 112)"
50 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::load (line 66)"
51 => "Shopware\Storefront\Page\Navigation\NavigationPageLoader::load (line 48)"
52 => "Shopware\Storefront\Controller\NavigationController::home (line 163)"
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 75)"
]
|
76 |
32.95 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.bundle`.`id` as `product.bundle.id`, `product.bundle`.`product_id` as `product.bundle.productId`, `product.bundle`.`product_version_id` as `product.bundle.productVersionId`, `product.bundle`.`name` as `product.bundle.name`, `product.bundle`.`price_type` as `product.bundle.priceType`, `product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`, `product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`, `product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`, `product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`, `product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`, `product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`, `product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`, `product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`, `product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`, `product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`, `product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`, `product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`, `product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`, `product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`, `product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`, `product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`, `product.bundle`.`created_at` as `product.bundle.createdAt`, `product.bundle`.`updated_at` as `product.bundle.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`, `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 `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_id` LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id` AND `product`.`version_id` = `product.cover`.`version_id` LEFT JOIN `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`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.bundle`.`id` as `product.bundle.id`,
`product.bundle`.`product_id` as `product.bundle.productId`,
`product.bundle`.`product_version_id` as `product.bundle.productVersionId`,
`product.bundle`.`name` as `product.bundle.name`,
`product.bundle`.`price_type` as `product.bundle.priceType`,
`product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`,
`product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`,
`product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`,
`product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`,
`product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`,
`product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`,
`product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`,
`product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`,
`product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`,
`product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`,
`product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`,
`product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`,
`product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`,
`product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`,
`product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`,
`product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`,
`product.bundle`.`created_at` as `product.bundle.createdAt`,
`product.bundle`.`updated_at` as `product.bundle.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`,
`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 `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_id`
LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id`
AND `product`.`version_id` = `product.cover`.`version_id`
LEFT JOIN `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id`
LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id`
LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`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.bundle`.`id` as `product.bundle.id`, `product.bundle`.`product_id` as `product.bundle.productId`, `product.bundle`.`product_version_id` as `product.bundle.productVersionId`, `product.bundle`.`name` as `product.bundle.name`, `product.bundle`.`price_type` as `product.bundle.priceType`, `product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`, `product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`, `product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`, `product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`, `product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`, `product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`, `product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`, `product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`, `product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`, `product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`, `product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`, `product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`, `product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`, `product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`, `product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`, `product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`, `product.bundle`.`created_at` as `product.bundle.createdAt`, `product.bundle`.`updated_at` as `product.bundle.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`, `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 `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_id` LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id` AND `product`.`version_id` = `product.cover`.`version_id` LEFT JOIN `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`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 (0x03F4EF144EC44C3E822790C652F7C3F6));
array:51 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
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 103)"
10 => "Bodymed\Webshop\StoreFront\Subscriber\ProductExtensionSubscriber::addParentCover (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 33)"
17 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
18 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 208)"
19 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::read (line 133)"
20 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 49)"
21 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariantsOfProduct (line 30)"
22 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariants (line 224)"
23 => "Bodymed\Webshop\Core\Content\Product\Cms\ProductSliderCmsElementResolver::enrich (line 99)"
24 => "Shopware\Core\Content\Cms\DataResolver\CmsSlotsDataResolver::resolve (line 104)"
25 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::loadSlotData (line 94)"
26 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::load (line 102)"
27 => "Shopware\Core\Content\Category\SalesChannel\CategoryRoute::load (line 103)"
28 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 350)"
29 => "Shopware\Core\System\SystemConfig\SystemConfigService::trace (line 44)"
30 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 120)"
31 => "Shopware\Core\Framework\Adapter\Translation\Translator::trace (line 45)"
32 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 46)"
33 => "Shopware\Core\Framework\Adapter\Cache\CacheTagCollection::trace (line 46)"
34 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::trace (line 41)"
35 => "Shopware\Storefront\Framework\Cache\CacheTracer::Shopware\Storefront\Framework\Cache\{closure} (line 59)"
36 => "Shopware\Storefront\Theme\ThemeConfigValueAccessor::trace (line 42)"
37 => "Shopware\Storefront\Framework\Cache\CacheTracer::trace (line 104)"
38 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 72)"
39 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
40 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 109)"
41 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 59)"
42 => "Shopware\Core\Profiling\Profiler::trace (line 112)"
43 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::load (line 66)"
44 => "Shopware\Storefront\Page\Navigation\NavigationPageLoader::load (line 48)"
45 => "Shopware\Storefront\Controller\NavigationController::home (line 163)"
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 75)"
]
|
77 |
0.78 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 = 0x620A2217F7474E619CB00AD39E804CCA) AND (token = 'IN5Ub8FQVmsGnU9oCTmNWiTvs4Dar3OO') LIMIT 1;
array:58 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 165)"
3 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextPersister::load (line 69)"
4 => "Bodymed\Webshop\Core\Subscriber\ProductSubscriber::addCustomerProductFeatureExtension (line 230)"
5 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
6 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
7 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
8 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
9 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
10 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 33)"
11 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
12 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 269)"
13 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::read (line 286)"
14 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::_search (line 106)"
15 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::search (line 51)"
16 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepositoryForwardCompatibilityDecorator::search (line 103)"
17 => "Bodymed\Webshop\StoreFront\Subscriber\ProductExtensionSubscriber::addParentCover (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 49)"
28 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariantsOfProduct (line 30)"
29 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariants (line 224)"
30 => "Bodymed\Webshop\Core\Content\Product\Cms\ProductSliderCmsElementResolver::enrich (line 99)"
31 => "Shopware\Core\Content\Cms\DataResolver\CmsSlotsDataResolver::resolve (line 104)"
32 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::loadSlotData (line 94)"
33 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::load (line 102)"
34 => "Shopware\Core\Content\Category\SalesChannel\CategoryRoute::load (line 103)"
35 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 350)"
36 => "Shopware\Core\System\SystemConfig\SystemConfigService::trace (line 44)"
37 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 120)"
38 => "Shopware\Core\Framework\Adapter\Translation\Translator::trace (line 45)"
39 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 46)"
40 => "Shopware\Core\Framework\Adapter\Cache\CacheTagCollection::trace (line 46)"
41 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::trace (line 41)"
42 => "Shopware\Storefront\Framework\Cache\CacheTracer::Shopware\Storefront\Framework\Cache\{closure} (line 59)"
43 => "Shopware\Storefront\Theme\ThemeConfigValueAccessor::trace (line 42)"
44 => "Shopware\Storefront\Framework\Cache\CacheTracer::trace (line 104)"
45 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 72)"
46 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
47 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 109)"
48 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 59)"
49 => "Shopware\Core\Profiling\Profiler::trace (line 112)"
50 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::load (line 66)"
51 => "Shopware\Storefront\Page\Navigation\NavigationPageLoader::load (line 48)"
52 => "Shopware\Storefront\Controller\NavigationController::home (line 163)"
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 75)"
]
|
78 |
31.00 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.bundle`.`id` as `product.bundle.id`, `product.bundle`.`product_id` as `product.bundle.productId`, `product.bundle`.`product_version_id` as `product.bundle.productVersionId`, `product.bundle`.`name` as `product.bundle.name`, `product.bundle`.`price_type` as `product.bundle.priceType`, `product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`, `product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`, `product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`, `product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`, `product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`, `product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`, `product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`, `product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`, `product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`, `product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`, `product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`, `product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`, `product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`, `product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`, `product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`, `product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`, `product.bundle`.`created_at` as `product.bundle.createdAt`, `product.bundle`.`updated_at` as `product.bundle.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`, `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 `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_id` LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id` AND `product`.`version_id` = `product.cover`.`version_id` LEFT JOIN `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`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.bundle`.`id` as `product.bundle.id`,
`product.bundle`.`product_id` as `product.bundle.productId`,
`product.bundle`.`product_version_id` as `product.bundle.productVersionId`,
`product.bundle`.`name` as `product.bundle.name`,
`product.bundle`.`price_type` as `product.bundle.priceType`,
`product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`,
`product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`,
`product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`,
`product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`,
`product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`,
`product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`,
`product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`,
`product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`,
`product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`,
`product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`,
`product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`,
`product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`,
`product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`,
`product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`,
`product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`,
`product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`,
`product.bundle`.`created_at` as `product.bundle.createdAt`,
`product.bundle`.`updated_at` as `product.bundle.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`,
`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 `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_id`
LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id`
AND `product`.`version_id` = `product.cover`.`version_id`
LEFT JOIN `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id`
LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id`
LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`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.bundle`.`id` as `product.bundle.id`, `product.bundle`.`product_id` as `product.bundle.productId`, `product.bundle`.`product_version_id` as `product.bundle.productVersionId`, `product.bundle`.`name` as `product.bundle.name`, `product.bundle`.`price_type` as `product.bundle.priceType`, `product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`, `product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`, `product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`, `product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`, `product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`, `product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`, `product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`, `product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`, `product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`, `product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`, `product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`, `product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`, `product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`, `product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`, `product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`, `product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`, `product.bundle`.`created_at` as `product.bundle.createdAt`, `product.bundle`.`updated_at` as `product.bundle.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`, `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 `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_id` LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id` AND `product`.`version_id` = `product.cover`.`version_id` LEFT JOIN `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`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 (0x03F4EF144EC44C3E822790C652F7C3F6));
array:51 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
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 103)"
10 => "Bodymed\Webshop\StoreFront\Subscriber\ProductExtensionSubscriber::addParentCover (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 33)"
17 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
18 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 208)"
19 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::read (line 133)"
20 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 49)"
21 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariantsOfProduct (line 30)"
22 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariants (line 224)"
23 => "Bodymed\Webshop\Core\Content\Product\Cms\ProductSliderCmsElementResolver::enrich (line 99)"
24 => "Shopware\Core\Content\Cms\DataResolver\CmsSlotsDataResolver::resolve (line 104)"
25 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::loadSlotData (line 94)"
26 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::load (line 102)"
27 => "Shopware\Core\Content\Category\SalesChannel\CategoryRoute::load (line 103)"
28 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 350)"
29 => "Shopware\Core\System\SystemConfig\SystemConfigService::trace (line 44)"
30 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 120)"
31 => "Shopware\Core\Framework\Adapter\Translation\Translator::trace (line 45)"
32 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 46)"
33 => "Shopware\Core\Framework\Adapter\Cache\CacheTagCollection::trace (line 46)"
34 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::trace (line 41)"
35 => "Shopware\Storefront\Framework\Cache\CacheTracer::Shopware\Storefront\Framework\Cache\{closure} (line 59)"
36 => "Shopware\Storefront\Theme\ThemeConfigValueAccessor::trace (line 42)"
37 => "Shopware\Storefront\Framework\Cache\CacheTracer::trace (line 104)"
38 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 72)"
39 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
40 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 109)"
41 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 59)"
42 => "Shopware\Core\Profiling\Profiler::trace (line 112)"
43 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::load (line 66)"
44 => "Shopware\Storefront\Page\Navigation\NavigationPageLoader::load (line 48)"
45 => "Shopware\Storefront\Controller\NavigationController::home (line 163)"
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 75)"
]
|
79 |
0.97 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 = 0x620A2217F7474E619CB00AD39E804CCA) AND (token = 'IN5Ub8FQVmsGnU9oCTmNWiTvs4Dar3OO') LIMIT 1;
array:58 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 165)"
3 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextPersister::load (line 69)"
4 => "Bodymed\Webshop\Core\Subscriber\ProductSubscriber::addCustomerProductFeatureExtension (line 230)"
5 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
6 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
7 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
8 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
9 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
10 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 33)"
11 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
12 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 269)"
13 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::read (line 286)"
14 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::_search (line 106)"
15 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::search (line 51)"
16 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepositoryForwardCompatibilityDecorator::search (line 103)"
17 => "Bodymed\Webshop\StoreFront\Subscriber\ProductExtensionSubscriber::addParentCover (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 49)"
28 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariantsOfProduct (line 30)"
29 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariants (line 224)"
30 => "Bodymed\Webshop\Core\Content\Product\Cms\ProductSliderCmsElementResolver::enrich (line 99)"
31 => "Shopware\Core\Content\Cms\DataResolver\CmsSlotsDataResolver::resolve (line 104)"
32 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::loadSlotData (line 94)"
33 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::load (line 102)"
34 => "Shopware\Core\Content\Category\SalesChannel\CategoryRoute::load (line 103)"
35 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 350)"
36 => "Shopware\Core\System\SystemConfig\SystemConfigService::trace (line 44)"
37 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 120)"
38 => "Shopware\Core\Framework\Adapter\Translation\Translator::trace (line 45)"
39 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 46)"
40 => "Shopware\Core\Framework\Adapter\Cache\CacheTagCollection::trace (line 46)"
41 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::trace (line 41)"
42 => "Shopware\Storefront\Framework\Cache\CacheTracer::Shopware\Storefront\Framework\Cache\{closure} (line 59)"
43 => "Shopware\Storefront\Theme\ThemeConfigValueAccessor::trace (line 42)"
44 => "Shopware\Storefront\Framework\Cache\CacheTracer::trace (line 104)"
45 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 72)"
46 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
47 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 109)"
48 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 59)"
49 => "Shopware\Core\Profiling\Profiler::trace (line 112)"
50 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::load (line 66)"
51 => "Shopware\Storefront\Page\Navigation\NavigationPageLoader::load (line 48)"
52 => "Shopware\Storefront\Controller\NavigationController::home (line 163)"
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 75)"
]
|
80 |
30.78 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.bundle`.`id` as `product.bundle.id`, `product.bundle`.`product_id` as `product.bundle.productId`, `product.bundle`.`product_version_id` as `product.bundle.productVersionId`, `product.bundle`.`name` as `product.bundle.name`, `product.bundle`.`price_type` as `product.bundle.priceType`, `product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`, `product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`, `product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`, `product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`, `product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`, `product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`, `product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`, `product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`, `product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`, `product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`, `product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`, `product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`, `product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`, `product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`, `product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`, `product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`, `product.bundle`.`created_at` as `product.bundle.createdAt`, `product.bundle`.`updated_at` as `product.bundle.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`, `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 `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_id` LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id` AND `product`.`version_id` = `product.cover`.`version_id` LEFT JOIN `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`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.bundle`.`id` as `product.bundle.id`,
`product.bundle`.`product_id` as `product.bundle.productId`,
`product.bundle`.`product_version_id` as `product.bundle.productVersionId`,
`product.bundle`.`name` as `product.bundle.name`,
`product.bundle`.`price_type` as `product.bundle.priceType`,
`product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`,
`product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`,
`product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`,
`product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`,
`product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`,
`product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`,
`product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`,
`product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`,
`product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`,
`product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`,
`product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`,
`product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`,
`product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`,
`product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`,
`product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`,
`product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`,
`product.bundle`.`created_at` as `product.bundle.createdAt`,
`product.bundle`.`updated_at` as `product.bundle.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`,
`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 `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_id`
LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id`
AND `product`.`version_id` = `product.cover`.`version_id`
LEFT JOIN `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id`
LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id`
LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`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.bundle`.`id` as `product.bundle.id`, `product.bundle`.`product_id` as `product.bundle.productId`, `product.bundle`.`product_version_id` as `product.bundle.productVersionId`, `product.bundle`.`name` as `product.bundle.name`, `product.bundle`.`price_type` as `product.bundle.priceType`, `product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`, `product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`, `product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`, `product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`, `product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`, `product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`, `product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`, `product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`, `product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`, `product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`, `product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`, `product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`, `product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`, `product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`, `product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`, `product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`, `product.bundle`.`created_at` as `product.bundle.createdAt`, `product.bundle`.`updated_at` as `product.bundle.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`, `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 `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_id` LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id` AND `product`.`version_id` = `product.cover`.`version_id` LEFT JOIN `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`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 (0x03F4EF144EC44C3E822790C652F7C3F6));
array:51 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
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 103)"
10 => "Bodymed\Webshop\StoreFront\Subscriber\ProductExtensionSubscriber::addParentCover (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 33)"
17 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
18 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 208)"
19 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::read (line 133)"
20 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 49)"
21 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariantsOfProduct (line 30)"
22 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariants (line 224)"
23 => "Bodymed\Webshop\Core\Content\Product\Cms\ProductSliderCmsElementResolver::enrich (line 99)"
24 => "Shopware\Core\Content\Cms\DataResolver\CmsSlotsDataResolver::resolve (line 104)"
25 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::loadSlotData (line 94)"
26 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::load (line 102)"
27 => "Shopware\Core\Content\Category\SalesChannel\CategoryRoute::load (line 103)"
28 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 350)"
29 => "Shopware\Core\System\SystemConfig\SystemConfigService::trace (line 44)"
30 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 120)"
31 => "Shopware\Core\Framework\Adapter\Translation\Translator::trace (line 45)"
32 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 46)"
33 => "Shopware\Core\Framework\Adapter\Cache\CacheTagCollection::trace (line 46)"
34 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::trace (line 41)"
35 => "Shopware\Storefront\Framework\Cache\CacheTracer::Shopware\Storefront\Framework\Cache\{closure} (line 59)"
36 => "Shopware\Storefront\Theme\ThemeConfigValueAccessor::trace (line 42)"
37 => "Shopware\Storefront\Framework\Cache\CacheTracer::trace (line 104)"
38 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 72)"
39 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
40 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 109)"
41 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 59)"
42 => "Shopware\Core\Profiling\Profiler::trace (line 112)"
43 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::load (line 66)"
44 => "Shopware\Storefront\Page\Navigation\NavigationPageLoader::load (line 48)"
45 => "Shopware\Storefront\Controller\NavigationController::home (line 163)"
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 75)"
]
|
81 |
1.02 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 = 0x620A2217F7474E619CB00AD39E804CCA) AND (token = 'IN5Ub8FQVmsGnU9oCTmNWiTvs4Dar3OO') LIMIT 1;
array:58 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 165)"
3 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextPersister::load (line 69)"
4 => "Bodymed\Webshop\Core\Subscriber\ProductSubscriber::addCustomerProductFeatureExtension (line 230)"
5 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
6 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
7 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
8 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
9 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
10 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 33)"
11 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
12 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 269)"
13 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::read (line 286)"
14 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::_search (line 106)"
15 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::search (line 51)"
16 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepositoryForwardCompatibilityDecorator::search (line 103)"
17 => "Bodymed\Webshop\StoreFront\Subscriber\ProductExtensionSubscriber::addParentCover (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 49)"
28 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariantsOfProduct (line 30)"
29 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariants (line 224)"
30 => "Bodymed\Webshop\Core\Content\Product\Cms\ProductSliderCmsElementResolver::enrich (line 99)"
31 => "Shopware\Core\Content\Cms\DataResolver\CmsSlotsDataResolver::resolve (line 104)"
32 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::loadSlotData (line 94)"
33 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::load (line 102)"
34 => "Shopware\Core\Content\Category\SalesChannel\CategoryRoute::load (line 103)"
35 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 350)"
36 => "Shopware\Core\System\SystemConfig\SystemConfigService::trace (line 44)"
37 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 120)"
38 => "Shopware\Core\Framework\Adapter\Translation\Translator::trace (line 45)"
39 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 46)"
40 => "Shopware\Core\Framework\Adapter\Cache\CacheTagCollection::trace (line 46)"
41 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::trace (line 41)"
42 => "Shopware\Storefront\Framework\Cache\CacheTracer::Shopware\Storefront\Framework\Cache\{closure} (line 59)"
43 => "Shopware\Storefront\Theme\ThemeConfigValueAccessor::trace (line 42)"
44 => "Shopware\Storefront\Framework\Cache\CacheTracer::trace (line 104)"
45 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 72)"
46 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
47 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 109)"
48 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 59)"
49 => "Shopware\Core\Profiling\Profiler::trace (line 112)"
50 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::load (line 66)"
51 => "Shopware\Storefront\Page\Navigation\NavigationPageLoader::load (line 48)"
52 => "Shopware\Storefront\Controller\NavigationController::home (line 163)"
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 75)"
]
|
82 |
29.59 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.bundle`.`id` as `product.bundle.id`, `product.bundle`.`product_id` as `product.bundle.productId`, `product.bundle`.`product_version_id` as `product.bundle.productVersionId`, `product.bundle`.`name` as `product.bundle.name`, `product.bundle`.`price_type` as `product.bundle.priceType`, `product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`, `product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`, `product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`, `product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`, `product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`, `product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`, `product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`, `product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`, `product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`, `product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`, `product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`, `product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`, `product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`, `product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`, `product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`, `product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`, `product.bundle`.`created_at` as `product.bundle.createdAt`, `product.bundle`.`updated_at` as `product.bundle.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`, `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 `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_id` LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id` AND `product`.`version_id` = `product.cover`.`version_id` LEFT JOIN `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`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.bundle`.`id` as `product.bundle.id`,
`product.bundle`.`product_id` as `product.bundle.productId`,
`product.bundle`.`product_version_id` as `product.bundle.productVersionId`,
`product.bundle`.`name` as `product.bundle.name`,
`product.bundle`.`price_type` as `product.bundle.priceType`,
`product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`,
`product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`,
`product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`,
`product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`,
`product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`,
`product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`,
`product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`,
`product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`,
`product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`,
`product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`,
`product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`,
`product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`,
`product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`,
`product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`,
`product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`,
`product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`,
`product.bundle`.`created_at` as `product.bundle.createdAt`,
`product.bundle`.`updated_at` as `product.bundle.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`,
`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 `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_id`
LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id`
AND `product`.`version_id` = `product.cover`.`version_id`
LEFT JOIN `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id`
LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id`
LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`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.bundle`.`id` as `product.bundle.id`, `product.bundle`.`product_id` as `product.bundle.productId`, `product.bundle`.`product_version_id` as `product.bundle.productVersionId`, `product.bundle`.`name` as `product.bundle.name`, `product.bundle`.`price_type` as `product.bundle.priceType`, `product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`, `product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`, `product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`, `product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`, `product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`, `product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`, `product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`, `product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`, `product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`, `product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`, `product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`, `product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`, `product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`, `product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`, `product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`, `product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`, `product.bundle`.`created_at` as `product.bundle.createdAt`, `product.bundle`.`updated_at` as `product.bundle.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`, `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 `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_id` LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id` AND `product`.`version_id` = `product.cover`.`version_id` LEFT JOIN `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`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 (0x03F4EF144EC44C3E822790C652F7C3F6));
array:51 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
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 103)"
10 => "Bodymed\Webshop\StoreFront\Subscriber\ProductExtensionSubscriber::addParentCover (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 33)"
17 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
18 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 208)"
19 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::read (line 133)"
20 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 49)"
21 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariantsOfProduct (line 30)"
22 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariants (line 224)"
23 => "Bodymed\Webshop\Core\Content\Product\Cms\ProductSliderCmsElementResolver::enrich (line 99)"
24 => "Shopware\Core\Content\Cms\DataResolver\CmsSlotsDataResolver::resolve (line 104)"
25 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::loadSlotData (line 94)"
26 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::load (line 102)"
27 => "Shopware\Core\Content\Category\SalesChannel\CategoryRoute::load (line 103)"
28 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 350)"
29 => "Shopware\Core\System\SystemConfig\SystemConfigService::trace (line 44)"
30 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 120)"
31 => "Shopware\Core\Framework\Adapter\Translation\Translator::trace (line 45)"
32 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 46)"
33 => "Shopware\Core\Framework\Adapter\Cache\CacheTagCollection::trace (line 46)"
34 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::trace (line 41)"
35 => "Shopware\Storefront\Framework\Cache\CacheTracer::Shopware\Storefront\Framework\Cache\{closure} (line 59)"
36 => "Shopware\Storefront\Theme\ThemeConfigValueAccessor::trace (line 42)"
37 => "Shopware\Storefront\Framework\Cache\CacheTracer::trace (line 104)"
38 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 72)"
39 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
40 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 109)"
41 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 59)"
42 => "Shopware\Core\Profiling\Profiler::trace (line 112)"
43 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::load (line 66)"
44 => "Shopware\Storefront\Page\Navigation\NavigationPageLoader::load (line 48)"
45 => "Shopware\Storefront\Controller\NavigationController::home (line 163)"
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 75)"
]
|
83 |
0.89 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 = 0x620A2217F7474E619CB00AD39E804CCA) AND (token = 'IN5Ub8FQVmsGnU9oCTmNWiTvs4Dar3OO') LIMIT 1;
array:58 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 165)"
3 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextPersister::load (line 69)"
4 => "Bodymed\Webshop\Core\Subscriber\ProductSubscriber::addCustomerProductFeatureExtension (line 230)"
5 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
6 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
7 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
8 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
9 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
10 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 33)"
11 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
12 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 269)"
13 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::read (line 286)"
14 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::_search (line 106)"
15 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::search (line 51)"
16 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepositoryForwardCompatibilityDecorator::search (line 103)"
17 => "Bodymed\Webshop\StoreFront\Subscriber\ProductExtensionSubscriber::addParentCover (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 49)"
28 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariantsOfProduct (line 30)"
29 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariants (line 224)"
30 => "Bodymed\Webshop\Core\Content\Product\Cms\ProductSliderCmsElementResolver::enrich (line 99)"
31 => "Shopware\Core\Content\Cms\DataResolver\CmsSlotsDataResolver::resolve (line 104)"
32 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::loadSlotData (line 94)"
33 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::load (line 102)"
34 => "Shopware\Core\Content\Category\SalesChannel\CategoryRoute::load (line 103)"
35 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 350)"
36 => "Shopware\Core\System\SystemConfig\SystemConfigService::trace (line 44)"
37 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 120)"
38 => "Shopware\Core\Framework\Adapter\Translation\Translator::trace (line 45)"
39 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 46)"
40 => "Shopware\Core\Framework\Adapter\Cache\CacheTagCollection::trace (line 46)"
41 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::trace (line 41)"
42 => "Shopware\Storefront\Framework\Cache\CacheTracer::Shopware\Storefront\Framework\Cache\{closure} (line 59)"
43 => "Shopware\Storefront\Theme\ThemeConfigValueAccessor::trace (line 42)"
44 => "Shopware\Storefront\Framework\Cache\CacheTracer::trace (line 104)"
45 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 72)"
46 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
47 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 109)"
48 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 59)"
49 => "Shopware\Core\Profiling\Profiler::trace (line 112)"
50 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::load (line 66)"
51 => "Shopware\Storefront\Page\Navigation\NavigationPageLoader::load (line 48)"
52 => "Shopware\Storefront\Controller\NavigationController::home (line 163)"
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 75)"
]
|
84 |
29.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.bundle`.`id` as `product.bundle.id`, `product.bundle`.`product_id` as `product.bundle.productId`, `product.bundle`.`product_version_id` as `product.bundle.productVersionId`, `product.bundle`.`name` as `product.bundle.name`, `product.bundle`.`price_type` as `product.bundle.priceType`, `product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`, `product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`, `product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`, `product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`, `product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`, `product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`, `product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`, `product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`, `product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`, `product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`, `product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`, `product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`, `product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`, `product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`, `product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`, `product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`, `product.bundle`.`created_at` as `product.bundle.createdAt`, `product.bundle`.`updated_at` as `product.bundle.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`, `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 `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_id` LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id` AND `product`.`version_id` = `product.cover`.`version_id` LEFT JOIN `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`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.bundle`.`id` as `product.bundle.id`,
`product.bundle`.`product_id` as `product.bundle.productId`,
`product.bundle`.`product_version_id` as `product.bundle.productVersionId`,
`product.bundle`.`name` as `product.bundle.name`,
`product.bundle`.`price_type` as `product.bundle.priceType`,
`product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`,
`product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`,
`product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`,
`product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`,
`product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`,
`product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`,
`product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`,
`product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`,
`product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`,
`product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`,
`product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`,
`product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`,
`product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`,
`product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`,
`product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`,
`product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`,
`product.bundle`.`created_at` as `product.bundle.createdAt`,
`product.bundle`.`updated_at` as `product.bundle.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`,
`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 `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_id`
LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id`
AND `product`.`version_id` = `product.cover`.`version_id`
LEFT JOIN `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id`
LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id`
LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`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.bundle`.`id` as `product.bundle.id`, `product.bundle`.`product_id` as `product.bundle.productId`, `product.bundle`.`product_version_id` as `product.bundle.productVersionId`, `product.bundle`.`name` as `product.bundle.name`, `product.bundle`.`price_type` as `product.bundle.priceType`, `product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`, `product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`, `product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`, `product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`, `product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`, `product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`, `product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`, `product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`, `product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`, `product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`, `product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`, `product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`, `product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`, `product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`, `product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`, `product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`, `product.bundle`.`created_at` as `product.bundle.createdAt`, `product.bundle`.`updated_at` as `product.bundle.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`, `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 `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_id` LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id` AND `product`.`version_id` = `product.cover`.`version_id` LEFT JOIN `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`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 (0x03F4EF144EC44C3E822790C652F7C3F6));
array:51 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
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 103)"
10 => "Bodymed\Webshop\StoreFront\Subscriber\ProductExtensionSubscriber::addParentCover (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 33)"
17 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
18 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 208)"
19 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::read (line 133)"
20 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 49)"
21 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariantsOfProduct (line 30)"
22 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariants (line 224)"
23 => "Bodymed\Webshop\Core\Content\Product\Cms\ProductSliderCmsElementResolver::enrich (line 99)"
24 => "Shopware\Core\Content\Cms\DataResolver\CmsSlotsDataResolver::resolve (line 104)"
25 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::loadSlotData (line 94)"
26 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::load (line 102)"
27 => "Shopware\Core\Content\Category\SalesChannel\CategoryRoute::load (line 103)"
28 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 350)"
29 => "Shopware\Core\System\SystemConfig\SystemConfigService::trace (line 44)"
30 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 120)"
31 => "Shopware\Core\Framework\Adapter\Translation\Translator::trace (line 45)"
32 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 46)"
33 => "Shopware\Core\Framework\Adapter\Cache\CacheTagCollection::trace (line 46)"
34 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::trace (line 41)"
35 => "Shopware\Storefront\Framework\Cache\CacheTracer::Shopware\Storefront\Framework\Cache\{closure} (line 59)"
36 => "Shopware\Storefront\Theme\ThemeConfigValueAccessor::trace (line 42)"
37 => "Shopware\Storefront\Framework\Cache\CacheTracer::trace (line 104)"
38 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 72)"
39 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
40 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 109)"
41 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 59)"
42 => "Shopware\Core\Profiling\Profiler::trace (line 112)"
43 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::load (line 66)"
44 => "Shopware\Storefront\Page\Navigation\NavigationPageLoader::load (line 48)"
45 => "Shopware\Storefront\Controller\NavigationController::home (line 163)"
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 75)"
]
|
85 |
0.69 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 = 0x620A2217F7474E619CB00AD39E804CCA) AND (token = 'IN5Ub8FQVmsGnU9oCTmNWiTvs4Dar3OO') LIMIT 1;
array:58 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 165)"
3 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextPersister::load (line 69)"
4 => "Bodymed\Webshop\Core\Subscriber\ProductSubscriber::addCustomerProductFeatureExtension (line 230)"
5 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
6 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
7 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
8 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
9 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
10 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 33)"
11 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
12 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 269)"
13 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::read (line 286)"
14 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::_search (line 106)"
15 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::search (line 51)"
16 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepositoryForwardCompatibilityDecorator::search (line 103)"
17 => "Bodymed\Webshop\StoreFront\Subscriber\ProductExtensionSubscriber::addParentCover (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 49)"
28 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariantsOfProduct (line 30)"
29 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariants (line 224)"
30 => "Bodymed\Webshop\Core\Content\Product\Cms\ProductSliderCmsElementResolver::enrich (line 99)"
31 => "Shopware\Core\Content\Cms\DataResolver\CmsSlotsDataResolver::resolve (line 104)"
32 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::loadSlotData (line 94)"
33 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::load (line 102)"
34 => "Shopware\Core\Content\Category\SalesChannel\CategoryRoute::load (line 103)"
35 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 350)"
36 => "Shopware\Core\System\SystemConfig\SystemConfigService::trace (line 44)"
37 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 120)"
38 => "Shopware\Core\Framework\Adapter\Translation\Translator::trace (line 45)"
39 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 46)"
40 => "Shopware\Core\Framework\Adapter\Cache\CacheTagCollection::trace (line 46)"
41 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::trace (line 41)"
42 => "Shopware\Storefront\Framework\Cache\CacheTracer::Shopware\Storefront\Framework\Cache\{closure} (line 59)"
43 => "Shopware\Storefront\Theme\ThemeConfigValueAccessor::trace (line 42)"
44 => "Shopware\Storefront\Framework\Cache\CacheTracer::trace (line 104)"
45 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 72)"
46 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
47 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 109)"
48 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 59)"
49 => "Shopware\Core\Profiling\Profiler::trace (line 112)"
50 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::load (line 66)"
51 => "Shopware\Storefront\Page\Navigation\NavigationPageLoader::load (line 48)"
52 => "Shopware\Storefront\Controller\NavigationController::home (line 163)"
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 75)"
]
|
86 |
25.35 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.bundle`.`id` as `product.bundle.id`, `product.bundle`.`product_id` as `product.bundle.productId`, `product.bundle`.`product_version_id` as `product.bundle.productVersionId`, `product.bundle`.`name` as `product.bundle.name`, `product.bundle`.`price_type` as `product.bundle.priceType`, `product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`, `product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`, `product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`, `product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`, `product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`, `product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`, `product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`, `product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`, `product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`, `product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`, `product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`, `product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`, `product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`, `product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`, `product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`, `product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`, `product.bundle`.`created_at` as `product.bundle.createdAt`, `product.bundle`.`updated_at` as `product.bundle.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`, `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 `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_id` LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id` AND `product`.`version_id` = `product.cover`.`version_id` LEFT JOIN `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`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.bundle`.`id` as `product.bundle.id`,
`product.bundle`.`product_id` as `product.bundle.productId`,
`product.bundle`.`product_version_id` as `product.bundle.productVersionId`,
`product.bundle`.`name` as `product.bundle.name`,
`product.bundle`.`price_type` as `product.bundle.priceType`,
`product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`,
`product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`,
`product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`,
`product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`,
`product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`,
`product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`,
`product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`,
`product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`,
`product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`,
`product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`,
`product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`,
`product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`,
`product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`,
`product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`,
`product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`,
`product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`,
`product.bundle`.`created_at` as `product.bundle.createdAt`,
`product.bundle`.`updated_at` as `product.bundle.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`,
`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 `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_id`
LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id`
AND `product`.`version_id` = `product.cover`.`version_id`
LEFT JOIN `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id`
LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id`
LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`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.bundle`.`id` as `product.bundle.id`, `product.bundle`.`product_id` as `product.bundle.productId`, `product.bundle`.`product_version_id` as `product.bundle.productVersionId`, `product.bundle`.`name` as `product.bundle.name`, `product.bundle`.`price_type` as `product.bundle.priceType`, `product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`, `product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`, `product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`, `product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`, `product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`, `product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`, `product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`, `product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`, `product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`, `product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`, `product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`, `product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`, `product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`, `product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`, `product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`, `product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`, `product.bundle`.`created_at` as `product.bundle.createdAt`, `product.bundle`.`updated_at` as `product.bundle.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`, `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 `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_id` LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id` AND `product`.`version_id` = `product.cover`.`version_id` LEFT JOIN `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`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 (0x03F4EF144EC44C3E822790C652F7C3F6));
array:51 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
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 103)"
10 => "Bodymed\Webshop\StoreFront\Subscriber\ProductExtensionSubscriber::addParentCover (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 33)"
17 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
18 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 208)"
19 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::read (line 133)"
20 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 49)"
21 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariantsOfProduct (line 30)"
22 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariants (line 224)"
23 => "Bodymed\Webshop\Core\Content\Product\Cms\ProductSliderCmsElementResolver::enrich (line 99)"
24 => "Shopware\Core\Content\Cms\DataResolver\CmsSlotsDataResolver::resolve (line 104)"
25 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::loadSlotData (line 94)"
26 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::load (line 102)"
27 => "Shopware\Core\Content\Category\SalesChannel\CategoryRoute::load (line 103)"
28 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 350)"
29 => "Shopware\Core\System\SystemConfig\SystemConfigService::trace (line 44)"
30 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 120)"
31 => "Shopware\Core\Framework\Adapter\Translation\Translator::trace (line 45)"
32 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 46)"
33 => "Shopware\Core\Framework\Adapter\Cache\CacheTagCollection::trace (line 46)"
34 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::trace (line 41)"
35 => "Shopware\Storefront\Framework\Cache\CacheTracer::Shopware\Storefront\Framework\Cache\{closure} (line 59)"
36 => "Shopware\Storefront\Theme\ThemeConfigValueAccessor::trace (line 42)"
37 => "Shopware\Storefront\Framework\Cache\CacheTracer::trace (line 104)"
38 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 72)"
39 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
40 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 109)"
41 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 59)"
42 => "Shopware\Core\Profiling\Profiler::trace (line 112)"
43 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::load (line 66)"
44 => "Shopware\Storefront\Page\Navigation\NavigationPageLoader::load (line 48)"
45 => "Shopware\Storefront\Controller\NavigationController::home (line 163)"
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 75)"
]
|
87 |
0.75 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 = 0x620A2217F7474E619CB00AD39E804CCA) AND (token = 'IN5Ub8FQVmsGnU9oCTmNWiTvs4Dar3OO') LIMIT 1;
array:58 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 165)"
3 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextPersister::load (line 69)"
4 => "Bodymed\Webshop\Core\Subscriber\ProductSubscriber::addCustomerProductFeatureExtension (line 230)"
5 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
6 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
7 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
8 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
9 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
10 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 33)"
11 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
12 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 269)"
13 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::read (line 286)"
14 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::_search (line 106)"
15 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::search (line 51)"
16 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepositoryForwardCompatibilityDecorator::search (line 103)"
17 => "Bodymed\Webshop\StoreFront\Subscriber\ProductExtensionSubscriber::addParentCover (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 49)"
28 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariantsOfProduct (line 30)"
29 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariants (line 224)"
30 => "Bodymed\Webshop\Core\Content\Product\Cms\ProductSliderCmsElementResolver::enrich (line 99)"
31 => "Shopware\Core\Content\Cms\DataResolver\CmsSlotsDataResolver::resolve (line 104)"
32 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::loadSlotData (line 94)"
33 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::load (line 102)"
34 => "Shopware\Core\Content\Category\SalesChannel\CategoryRoute::load (line 103)"
35 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 350)"
36 => "Shopware\Core\System\SystemConfig\SystemConfigService::trace (line 44)"
37 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 120)"
38 => "Shopware\Core\Framework\Adapter\Translation\Translator::trace (line 45)"
39 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 46)"
40 => "Shopware\Core\Framework\Adapter\Cache\CacheTagCollection::trace (line 46)"
41 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::trace (line 41)"
42 => "Shopware\Storefront\Framework\Cache\CacheTracer::Shopware\Storefront\Framework\Cache\{closure} (line 59)"
43 => "Shopware\Storefront\Theme\ThemeConfigValueAccessor::trace (line 42)"
44 => "Shopware\Storefront\Framework\Cache\CacheTracer::trace (line 104)"
45 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 72)"
46 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
47 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 109)"
48 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 59)"
49 => "Shopware\Core\Profiling\Profiler::trace (line 112)"
50 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::load (line 66)"
51 => "Shopware\Storefront\Page\Navigation\NavigationPageLoader::load (line 48)"
52 => "Shopware\Storefront\Controller\NavigationController::home (line 163)"
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 75)"
]
|
88 |
24.78 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.bundle`.`id` as `product.bundle.id`, `product.bundle`.`product_id` as `product.bundle.productId`, `product.bundle`.`product_version_id` as `product.bundle.productVersionId`, `product.bundle`.`name` as `product.bundle.name`, `product.bundle`.`price_type` as `product.bundle.priceType`, `product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`, `product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`, `product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`, `product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`, `product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`, `product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`, `product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`, `product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`, `product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`, `product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`, `product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`, `product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`, `product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`, `product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`, `product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`, `product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`, `product.bundle`.`created_at` as `product.bundle.createdAt`, `product.bundle`.`updated_at` as `product.bundle.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`, `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 `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_id` LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id` AND `product`.`version_id` = `product.cover`.`version_id` LEFT JOIN `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`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.bundle`.`id` as `product.bundle.id`,
`product.bundle`.`product_id` as `product.bundle.productId`,
`product.bundle`.`product_version_id` as `product.bundle.productVersionId`,
`product.bundle`.`name` as `product.bundle.name`,
`product.bundle`.`price_type` as `product.bundle.priceType`,
`product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`,
`product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`,
`product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`,
`product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`,
`product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`,
`product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`,
`product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`,
`product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`,
`product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`,
`product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`,
`product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`,
`product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`,
`product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`,
`product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`,
`product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`,
`product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`,
`product.bundle`.`created_at` as `product.bundle.createdAt`,
`product.bundle`.`updated_at` as `product.bundle.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`,
`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 `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_id`
LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id`
AND `product`.`version_id` = `product.cover`.`version_id`
LEFT JOIN `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id`
LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id`
LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`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.bundle`.`id` as `product.bundle.id`, `product.bundle`.`product_id` as `product.bundle.productId`, `product.bundle`.`product_version_id` as `product.bundle.productVersionId`, `product.bundle`.`name` as `product.bundle.name`, `product.bundle`.`price_type` as `product.bundle.priceType`, `product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`, `product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`, `product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`, `product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`, `product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`, `product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`, `product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`, `product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`, `product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`, `product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`, `product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`, `product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`, `product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`, `product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`, `product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`, `product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`, `product.bundle`.`created_at` as `product.bundle.createdAt`, `product.bundle`.`updated_at` as `product.bundle.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`, `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 `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_id` LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id` AND `product`.`version_id` = `product.cover`.`version_id` LEFT JOIN `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`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 (0x03F4EF144EC44C3E822790C652F7C3F6));
array:51 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
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 103)"
10 => "Bodymed\Webshop\StoreFront\Subscriber\ProductExtensionSubscriber::addParentCover (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 33)"
17 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
18 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 208)"
19 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::read (line 133)"
20 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 49)"
21 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariantsOfProduct (line 30)"
22 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariants (line 224)"
23 => "Bodymed\Webshop\Core\Content\Product\Cms\ProductSliderCmsElementResolver::enrich (line 99)"
24 => "Shopware\Core\Content\Cms\DataResolver\CmsSlotsDataResolver::resolve (line 104)"
25 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::loadSlotData (line 94)"
26 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::load (line 102)"
27 => "Shopware\Core\Content\Category\SalesChannel\CategoryRoute::load (line 103)"
28 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 350)"
29 => "Shopware\Core\System\SystemConfig\SystemConfigService::trace (line 44)"
30 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 120)"
31 => "Shopware\Core\Framework\Adapter\Translation\Translator::trace (line 45)"
32 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 46)"
33 => "Shopware\Core\Framework\Adapter\Cache\CacheTagCollection::trace (line 46)"
34 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::trace (line 41)"
35 => "Shopware\Storefront\Framework\Cache\CacheTracer::Shopware\Storefront\Framework\Cache\{closure} (line 59)"
36 => "Shopware\Storefront\Theme\ThemeConfigValueAccessor::trace (line 42)"
37 => "Shopware\Storefront\Framework\Cache\CacheTracer::trace (line 104)"
38 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 72)"
39 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
40 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 109)"
41 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 59)"
42 => "Shopware\Core\Profiling\Profiler::trace (line 112)"
43 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::load (line 66)"
44 => "Shopware\Storefront\Page\Navigation\NavigationPageLoader::load (line 48)"
45 => "Shopware\Storefront\Controller\NavigationController::home (line 163)"
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 75)"
]
|
89 |
0.75 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 = 0x620A2217F7474E619CB00AD39E804CCA) AND (token = 'IN5Ub8FQVmsGnU9oCTmNWiTvs4Dar3OO') LIMIT 1;
array:58 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 165)"
3 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextPersister::load (line 69)"
4 => "Bodymed\Webshop\Core\Subscriber\ProductSubscriber::addCustomerProductFeatureExtension (line 230)"
5 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
6 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
7 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
8 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
9 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
10 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 33)"
11 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
12 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 269)"
13 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::read (line 286)"
14 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::_search (line 106)"
15 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::search (line 51)"
16 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepositoryForwardCompatibilityDecorator::search (line 103)"
17 => "Bodymed\Webshop\StoreFront\Subscriber\ProductExtensionSubscriber::addParentCover (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 49)"
28 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariantsOfProduct (line 30)"
29 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariants (line 224)"
30 => "Bodymed\Webshop\Core\Content\Product\Cms\ProductSliderCmsElementResolver::enrich (line 99)"
31 => "Shopware\Core\Content\Cms\DataResolver\CmsSlotsDataResolver::resolve (line 104)"
32 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::loadSlotData (line 94)"
33 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::load (line 102)"
34 => "Shopware\Core\Content\Category\SalesChannel\CategoryRoute::load (line 103)"
35 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 350)"
36 => "Shopware\Core\System\SystemConfig\SystemConfigService::trace (line 44)"
37 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 120)"
38 => "Shopware\Core\Framework\Adapter\Translation\Translator::trace (line 45)"
39 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 46)"
40 => "Shopware\Core\Framework\Adapter\Cache\CacheTagCollection::trace (line 46)"
41 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::trace (line 41)"
42 => "Shopware\Storefront\Framework\Cache\CacheTracer::Shopware\Storefront\Framework\Cache\{closure} (line 59)"
43 => "Shopware\Storefront\Theme\ThemeConfigValueAccessor::trace (line 42)"
44 => "Shopware\Storefront\Framework\Cache\CacheTracer::trace (line 104)"
45 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 72)"
46 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
47 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 109)"
48 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 59)"
49 => "Shopware\Core\Profiling\Profiler::trace (line 112)"
50 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::load (line 66)"
51 => "Shopware\Storefront\Page\Navigation\NavigationPageLoader::load (line 48)"
52 => "Shopware\Storefront\Controller\NavigationController::home (line 163)"
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 75)"
]
|
90 |
24.27 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.bundle`.`id` as `product.bundle.id`, `product.bundle`.`product_id` as `product.bundle.productId`, `product.bundle`.`product_version_id` as `product.bundle.productVersionId`, `product.bundle`.`name` as `product.bundle.name`, `product.bundle`.`price_type` as `product.bundle.priceType`, `product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`, `product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`, `product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`, `product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`, `product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`, `product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`, `product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`, `product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`, `product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`, `product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`, `product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`, `product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`, `product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`, `product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`, `product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`, `product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`, `product.bundle`.`created_at` as `product.bundle.createdAt`, `product.bundle`.`updated_at` as `product.bundle.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`, `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 `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_id` LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id` AND `product`.`version_id` = `product.cover`.`version_id` LEFT JOIN `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`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.bundle`.`id` as `product.bundle.id`,
`product.bundle`.`product_id` as `product.bundle.productId`,
`product.bundle`.`product_version_id` as `product.bundle.productVersionId`,
`product.bundle`.`name` as `product.bundle.name`,
`product.bundle`.`price_type` as `product.bundle.priceType`,
`product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`,
`product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`,
`product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`,
`product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`,
`product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`,
`product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`,
`product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`,
`product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`,
`product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`,
`product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`,
`product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`,
`product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`,
`product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`,
`product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`,
`product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`,
`product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`,
`product.bundle`.`created_at` as `product.bundle.createdAt`,
`product.bundle`.`updated_at` as `product.bundle.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`,
`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 `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_id`
LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id`
AND `product`.`version_id` = `product.cover`.`version_id`
LEFT JOIN `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id`
LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id`
LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`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.bundle`.`id` as `product.bundle.id`, `product.bundle`.`product_id` as `product.bundle.productId`, `product.bundle`.`product_version_id` as `product.bundle.productVersionId`, `product.bundle`.`name` as `product.bundle.name`, `product.bundle`.`price_type` as `product.bundle.priceType`, `product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`, `product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`, `product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`, `product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`, `product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`, `product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`, `product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`, `product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`, `product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`, `product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`, `product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`, `product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`, `product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`, `product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`, `product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`, `product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`, `product.bundle`.`created_at` as `product.bundle.createdAt`, `product.bundle`.`updated_at` as `product.bundle.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`, `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 `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_id` LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id` AND `product`.`version_id` = `product.cover`.`version_id` LEFT JOIN `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`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 (0x03F4EF144EC44C3E822790C652F7C3F6));
array:51 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
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 103)"
10 => "Bodymed\Webshop\StoreFront\Subscriber\ProductExtensionSubscriber::addParentCover (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 33)"
17 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
18 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 208)"
19 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::read (line 133)"
20 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 49)"
21 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariantsOfProduct (line 30)"
22 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariants (line 224)"
23 => "Bodymed\Webshop\Core\Content\Product\Cms\ProductSliderCmsElementResolver::enrich (line 99)"
24 => "Shopware\Core\Content\Cms\DataResolver\CmsSlotsDataResolver::resolve (line 104)"
25 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::loadSlotData (line 94)"
26 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::load (line 102)"
27 => "Shopware\Core\Content\Category\SalesChannel\CategoryRoute::load (line 103)"
28 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 350)"
29 => "Shopware\Core\System\SystemConfig\SystemConfigService::trace (line 44)"
30 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 120)"
31 => "Shopware\Core\Framework\Adapter\Translation\Translator::trace (line 45)"
32 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 46)"
33 => "Shopware\Core\Framework\Adapter\Cache\CacheTagCollection::trace (line 46)"
34 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::trace (line 41)"
35 => "Shopware\Storefront\Framework\Cache\CacheTracer::Shopware\Storefront\Framework\Cache\{closure} (line 59)"
36 => "Shopware\Storefront\Theme\ThemeConfigValueAccessor::trace (line 42)"
37 => "Shopware\Storefront\Framework\Cache\CacheTracer::trace (line 104)"
38 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 72)"
39 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
40 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 109)"
41 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 59)"
42 => "Shopware\Core\Profiling\Profiler::trace (line 112)"
43 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::load (line 66)"
44 => "Shopware\Storefront\Page\Navigation\NavigationPageLoader::load (line 48)"
45 => "Shopware\Storefront\Controller\NavigationController::home (line 163)"
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 75)"
]
|
91 |
0.78 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 = 0x620A2217F7474E619CB00AD39E804CCA) AND (token = 'IN5Ub8FQVmsGnU9oCTmNWiTvs4Dar3OO') LIMIT 1;
array:58 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 165)"
3 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextPersister::load (line 69)"
4 => "Bodymed\Webshop\Core\Subscriber\ProductSubscriber::addCustomerProductFeatureExtension (line 230)"
5 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
6 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
7 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
8 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
9 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
10 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 33)"
11 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
12 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 269)"
13 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::read (line 286)"
14 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::_search (line 106)"
15 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::search (line 51)"
16 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepositoryForwardCompatibilityDecorator::search (line 103)"
17 => "Bodymed\Webshop\StoreFront\Subscriber\ProductExtensionSubscriber::addParentCover (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 49)"
28 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariantsOfProduct (line 30)"
29 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariants (line 224)"
30 => "Bodymed\Webshop\Core\Content\Product\Cms\ProductSliderCmsElementResolver::enrich (line 99)"
31 => "Shopware\Core\Content\Cms\DataResolver\CmsSlotsDataResolver::resolve (line 104)"
32 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::loadSlotData (line 94)"
33 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::load (line 102)"
34 => "Shopware\Core\Content\Category\SalesChannel\CategoryRoute::load (line 103)"
35 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 350)"
36 => "Shopware\Core\System\SystemConfig\SystemConfigService::trace (line 44)"
37 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 120)"
38 => "Shopware\Core\Framework\Adapter\Translation\Translator::trace (line 45)"
39 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 46)"
40 => "Shopware\Core\Framework\Adapter\Cache\CacheTagCollection::trace (line 46)"
41 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::trace (line 41)"
42 => "Shopware\Storefront\Framework\Cache\CacheTracer::Shopware\Storefront\Framework\Cache\{closure} (line 59)"
43 => "Shopware\Storefront\Theme\ThemeConfigValueAccessor::trace (line 42)"
44 => "Shopware\Storefront\Framework\Cache\CacheTracer::trace (line 104)"
45 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 72)"
46 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
47 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 109)"
48 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 59)"
49 => "Shopware\Core\Profiling\Profiler::trace (line 112)"
50 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::load (line 66)"
51 => "Shopware\Storefront\Page\Navigation\NavigationPageLoader::load (line 48)"
52 => "Shopware\Storefront\Controller\NavigationController::home (line 163)"
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 75)"
]
|
92 |
21.46 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.bundle`.`id` as `product.bundle.id`, `product.bundle`.`product_id` as `product.bundle.productId`, `product.bundle`.`product_version_id` as `product.bundle.productVersionId`, `product.bundle`.`name` as `product.bundle.name`, `product.bundle`.`price_type` as `product.bundle.priceType`, `product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`, `product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`, `product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`, `product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`, `product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`, `product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`, `product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`, `product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`, `product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`, `product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`, `product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`, `product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`, `product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`, `product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`, `product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`, `product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`, `product.bundle`.`created_at` as `product.bundle.createdAt`, `product.bundle`.`updated_at` as `product.bundle.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`, `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 `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_id` LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id` AND `product`.`version_id` = `product.cover`.`version_id` LEFT JOIN `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`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.bundle`.`id` as `product.bundle.id`,
`product.bundle`.`product_id` as `product.bundle.productId`,
`product.bundle`.`product_version_id` as `product.bundle.productVersionId`,
`product.bundle`.`name` as `product.bundle.name`,
`product.bundle`.`price_type` as `product.bundle.priceType`,
`product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`,
`product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`,
`product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`,
`product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`,
`product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`,
`product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`,
`product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`,
`product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`,
`product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`,
`product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`,
`product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`,
`product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`,
`product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`,
`product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`,
`product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`,
`product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`,
`product.bundle`.`created_at` as `product.bundle.createdAt`,
`product.bundle`.`updated_at` as `product.bundle.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`,
`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 `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_id`
LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id`
AND `product`.`version_id` = `product.cover`.`version_id`
LEFT JOIN `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id`
LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id`
LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`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.bundle`.`id` as `product.bundle.id`, `product.bundle`.`product_id` as `product.bundle.productId`, `product.bundle`.`product_version_id` as `product.bundle.productVersionId`, `product.bundle`.`name` as `product.bundle.name`, `product.bundle`.`price_type` as `product.bundle.priceType`, `product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`, `product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`, `product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`, `product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`, `product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`, `product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`, `product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`, `product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`, `product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`, `product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`, `product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`, `product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`, `product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`, `product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`, `product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`, `product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`, `product.bundle`.`created_at` as `product.bundle.createdAt`, `product.bundle`.`updated_at` as `product.bundle.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`, `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 `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_id` LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id` AND `product`.`version_id` = `product.cover`.`version_id` LEFT JOIN `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`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 (0x03F4EF144EC44C3E822790C652F7C3F6));
array:51 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
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 103)"
10 => "Bodymed\Webshop\StoreFront\Subscriber\ProductExtensionSubscriber::addParentCover (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 33)"
17 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
18 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 208)"
19 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::read (line 133)"
20 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 49)"
21 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariantsOfProduct (line 30)"
22 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariants (line 224)"
23 => "Bodymed\Webshop\Core\Content\Product\Cms\ProductSliderCmsElementResolver::enrich (line 99)"
24 => "Shopware\Core\Content\Cms\DataResolver\CmsSlotsDataResolver::resolve (line 104)"
25 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::loadSlotData (line 94)"
26 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::load (line 102)"
27 => "Shopware\Core\Content\Category\SalesChannel\CategoryRoute::load (line 103)"
28 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 350)"
29 => "Shopware\Core\System\SystemConfig\SystemConfigService::trace (line 44)"
30 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 120)"
31 => "Shopware\Core\Framework\Adapter\Translation\Translator::trace (line 45)"
32 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 46)"
33 => "Shopware\Core\Framework\Adapter\Cache\CacheTagCollection::trace (line 46)"
34 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::trace (line 41)"
35 => "Shopware\Storefront\Framework\Cache\CacheTracer::Shopware\Storefront\Framework\Cache\{closure} (line 59)"
36 => "Shopware\Storefront\Theme\ThemeConfigValueAccessor::trace (line 42)"
37 => "Shopware\Storefront\Framework\Cache\CacheTracer::trace (line 104)"
38 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 72)"
39 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
40 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 109)"
41 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 59)"
42 => "Shopware\Core\Profiling\Profiler::trace (line 112)"
43 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::load (line 66)"
44 => "Shopware\Storefront\Page\Navigation\NavigationPageLoader::load (line 48)"
45 => "Shopware\Storefront\Controller\NavigationController::home (line 163)"
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 75)"
]
|
93 |
0.70 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 = 0x620A2217F7474E619CB00AD39E804CCA) AND (token = 'IN5Ub8FQVmsGnU9oCTmNWiTvs4Dar3OO') LIMIT 1;
array:58 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 165)"
3 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextPersister::load (line 69)"
4 => "Bodymed\Webshop\Core\Subscriber\ProductSubscriber::addCustomerProductFeatureExtension (line 230)"
5 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
6 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
7 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
8 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
9 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
10 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 33)"
11 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
12 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 269)"
13 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::read (line 286)"
14 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::_search (line 106)"
15 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::search (line 51)"
16 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepositoryForwardCompatibilityDecorator::search (line 103)"
17 => "Bodymed\Webshop\StoreFront\Subscriber\ProductExtensionSubscriber::addParentCover (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 49)"
28 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariantsOfProduct (line 30)"
29 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariants (line 224)"
30 => "Bodymed\Webshop\Core\Content\Product\Cms\ProductSliderCmsElementResolver::enrich (line 99)"
31 => "Shopware\Core\Content\Cms\DataResolver\CmsSlotsDataResolver::resolve (line 104)"
32 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::loadSlotData (line 94)"
33 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::load (line 102)"
34 => "Shopware\Core\Content\Category\SalesChannel\CategoryRoute::load (line 103)"
35 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 350)"
36 => "Shopware\Core\System\SystemConfig\SystemConfigService::trace (line 44)"
37 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 120)"
38 => "Shopware\Core\Framework\Adapter\Translation\Translator::trace (line 45)"
39 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 46)"
40 => "Shopware\Core\Framework\Adapter\Cache\CacheTagCollection::trace (line 46)"
41 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::trace (line 41)"
42 => "Shopware\Storefront\Framework\Cache\CacheTracer::Shopware\Storefront\Framework\Cache\{closure} (line 59)"
43 => "Shopware\Storefront\Theme\ThemeConfigValueAccessor::trace (line 42)"
44 => "Shopware\Storefront\Framework\Cache\CacheTracer::trace (line 104)"
45 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 72)"
46 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
47 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 109)"
48 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 59)"
49 => "Shopware\Core\Profiling\Profiler::trace (line 112)"
50 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::load (line 66)"
51 => "Shopware\Storefront\Page\Navigation\NavigationPageLoader::load (line 48)"
52 => "Shopware\Storefront\Controller\NavigationController::home (line 163)"
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 75)"
]
|
94 |
29.31 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.bundle`.`id` as `product.bundle.id`, `product.bundle`.`product_id` as `product.bundle.productId`, `product.bundle`.`product_version_id` as `product.bundle.productVersionId`, `product.bundle`.`name` as `product.bundle.name`, `product.bundle`.`price_type` as `product.bundle.priceType`, `product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`, `product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`, `product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`, `product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`, `product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`, `product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`, `product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`, `product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`, `product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`, `product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`, `product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`, `product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`, `product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`, `product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`, `product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`, `product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`, `product.bundle`.`created_at` as `product.bundle.createdAt`, `product.bundle`.`updated_at` as `product.bundle.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`, `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 `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_id` LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id` AND `product`.`version_id` = `product.cover`.`version_id` LEFT JOIN `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`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.bundle`.`id` as `product.bundle.id`,
`product.bundle`.`product_id` as `product.bundle.productId`,
`product.bundle`.`product_version_id` as `product.bundle.productVersionId`,
`product.bundle`.`name` as `product.bundle.name`,
`product.bundle`.`price_type` as `product.bundle.priceType`,
`product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`,
`product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`,
`product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`,
`product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`,
`product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`,
`product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`,
`product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`,
`product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`,
`product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`,
`product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`,
`product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`,
`product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`,
`product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`,
`product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`,
`product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`,
`product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`,
`product.bundle`.`created_at` as `product.bundle.createdAt`,
`product.bundle`.`updated_at` as `product.bundle.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`,
`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 `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_id`
LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id`
AND `product`.`version_id` = `product.cover`.`version_id`
LEFT JOIN `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id`
LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id`
LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`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.bundle`.`id` as `product.bundle.id`, `product.bundle`.`product_id` as `product.bundle.productId`, `product.bundle`.`product_version_id` as `product.bundle.productVersionId`, `product.bundle`.`name` as `product.bundle.name`, `product.bundle`.`price_type` as `product.bundle.priceType`, `product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`, `product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`, `product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`, `product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`, `product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`, `product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`, `product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`, `product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`, `product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`, `product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`, `product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`, `product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`, `product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`, `product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`, `product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`, `product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`, `product.bundle`.`created_at` as `product.bundle.createdAt`, `product.bundle`.`updated_at` as `product.bundle.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`, `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 `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_id` LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id` AND `product`.`version_id` = `product.cover`.`version_id` LEFT JOIN `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`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 (0x03F4EF144EC44C3E822790C652F7C3F6));
array:51 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
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 103)"
10 => "Bodymed\Webshop\StoreFront\Subscriber\ProductExtensionSubscriber::addParentCover (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 33)"
17 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
18 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 208)"
19 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::read (line 133)"
20 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 49)"
21 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariantsOfProduct (line 30)"
22 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariants (line 224)"
23 => "Bodymed\Webshop\Core\Content\Product\Cms\ProductSliderCmsElementResolver::enrich (line 99)"
24 => "Shopware\Core\Content\Cms\DataResolver\CmsSlotsDataResolver::resolve (line 104)"
25 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::loadSlotData (line 94)"
26 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::load (line 102)"
27 => "Shopware\Core\Content\Category\SalesChannel\CategoryRoute::load (line 103)"
28 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 350)"
29 => "Shopware\Core\System\SystemConfig\SystemConfigService::trace (line 44)"
30 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 120)"
31 => "Shopware\Core\Framework\Adapter\Translation\Translator::trace (line 45)"
32 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 46)"
33 => "Shopware\Core\Framework\Adapter\Cache\CacheTagCollection::trace (line 46)"
34 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::trace (line 41)"
35 => "Shopware\Storefront\Framework\Cache\CacheTracer::Shopware\Storefront\Framework\Cache\{closure} (line 59)"
36 => "Shopware\Storefront\Theme\ThemeConfigValueAccessor::trace (line 42)"
37 => "Shopware\Storefront\Framework\Cache\CacheTracer::trace (line 104)"
38 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 72)"
39 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
40 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 109)"
41 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 59)"
42 => "Shopware\Core\Profiling\Profiler::trace (line 112)"
43 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::load (line 66)"
44 => "Shopware\Storefront\Page\Navigation\NavigationPageLoader::load (line 48)"
45 => "Shopware\Storefront\Controller\NavigationController::home (line 163)"
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 75)"
]
|
95 |
0.58 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 = 0x620A2217F7474E619CB00AD39E804CCA) AND (token = 'IN5Ub8FQVmsGnU9oCTmNWiTvs4Dar3OO') LIMIT 1;
array:58 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 165)"
3 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextPersister::load (line 69)"
4 => "Bodymed\Webshop\Core\Subscriber\ProductSubscriber::addCustomerProductFeatureExtension (line 230)"
5 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
6 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
7 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
8 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
9 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
10 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 33)"
11 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
12 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 269)"
13 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::read (line 286)"
14 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::_search (line 106)"
15 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::search (line 51)"
16 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepositoryForwardCompatibilityDecorator::search (line 103)"
17 => "Bodymed\Webshop\StoreFront\Subscriber\ProductExtensionSubscriber::addParentCover (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 49)"
28 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariantsOfProduct (line 30)"
29 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariants (line 224)"
30 => "Bodymed\Webshop\Core\Content\Product\Cms\ProductSliderCmsElementResolver::enrich (line 99)"
31 => "Shopware\Core\Content\Cms\DataResolver\CmsSlotsDataResolver::resolve (line 104)"
32 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::loadSlotData (line 94)"
33 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::load (line 102)"
34 => "Shopware\Core\Content\Category\SalesChannel\CategoryRoute::load (line 103)"
35 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 350)"
36 => "Shopware\Core\System\SystemConfig\SystemConfigService::trace (line 44)"
37 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 120)"
38 => "Shopware\Core\Framework\Adapter\Translation\Translator::trace (line 45)"
39 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 46)"
40 => "Shopware\Core\Framework\Adapter\Cache\CacheTagCollection::trace (line 46)"
41 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::trace (line 41)"
42 => "Shopware\Storefront\Framework\Cache\CacheTracer::Shopware\Storefront\Framework\Cache\{closure} (line 59)"
43 => "Shopware\Storefront\Theme\ThemeConfigValueAccessor::trace (line 42)"
44 => "Shopware\Storefront\Framework\Cache\CacheTracer::trace (line 104)"
45 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 72)"
46 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
47 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 109)"
48 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 59)"
49 => "Shopware\Core\Profiling\Profiler::trace (line 112)"
50 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::load (line 66)"
51 => "Shopware\Storefront\Page\Navigation\NavigationPageLoader::load (line 48)"
52 => "Shopware\Storefront\Controller\NavigationController::home (line 163)"
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 75)"
]
|
96 |
29.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.bundle`.`id` as `product.bundle.id`, `product.bundle`.`product_id` as `product.bundle.productId`, `product.bundle`.`product_version_id` as `product.bundle.productVersionId`, `product.bundle`.`name` as `product.bundle.name`, `product.bundle`.`price_type` as `product.bundle.priceType`, `product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`, `product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`, `product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`, `product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`, `product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`, `product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`, `product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`, `product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`, `product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`, `product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`, `product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`, `product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`, `product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`, `product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`, `product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`, `product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`, `product.bundle`.`created_at` as `product.bundle.createdAt`, `product.bundle`.`updated_at` as `product.bundle.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`, `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 `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_id` LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id` AND `product`.`version_id` = `product.cover`.`version_id` LEFT JOIN `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`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.bundle`.`id` as `product.bundle.id`,
`product.bundle`.`product_id` as `product.bundle.productId`,
`product.bundle`.`product_version_id` as `product.bundle.productVersionId`,
`product.bundle`.`name` as `product.bundle.name`,
`product.bundle`.`price_type` as `product.bundle.priceType`,
`product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`,
`product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`,
`product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`,
`product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`,
`product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`,
`product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`,
`product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`,
`product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`,
`product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`,
`product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`,
`product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`,
`product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`,
`product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`,
`product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`,
`product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`,
`product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`,
`product.bundle`.`created_at` as `product.bundle.createdAt`,
`product.bundle`.`updated_at` as `product.bundle.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`,
`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 `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_id`
LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id`
AND `product`.`version_id` = `product.cover`.`version_id`
LEFT JOIN `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id`
LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id`
LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`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.bundle`.`id` as `product.bundle.id`, `product.bundle`.`product_id` as `product.bundle.productId`, `product.bundle`.`product_version_id` as `product.bundle.productVersionId`, `product.bundle`.`name` as `product.bundle.name`, `product.bundle`.`price_type` as `product.bundle.priceType`, `product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`, `product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`, `product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`, `product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`, `product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`, `product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`, `product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`, `product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`, `product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`, `product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`, `product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`, `product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`, `product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`, `product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`, `product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`, `product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`, `product.bundle`.`created_at` as `product.bundle.createdAt`, `product.bundle`.`updated_at` as `product.bundle.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`, `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 `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_id` LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id` AND `product`.`version_id` = `product.cover`.`version_id` LEFT JOIN `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`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 (0x03F4EF144EC44C3E822790C652F7C3F6));
array:51 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
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 103)"
10 => "Bodymed\Webshop\StoreFront\Subscriber\ProductExtensionSubscriber::addParentCover (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 33)"
17 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
18 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 208)"
19 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::read (line 133)"
20 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 49)"
21 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariantsOfProduct (line 30)"
22 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariants (line 224)"
23 => "Bodymed\Webshop\Core\Content\Product\Cms\ProductSliderCmsElementResolver::enrich (line 99)"
24 => "Shopware\Core\Content\Cms\DataResolver\CmsSlotsDataResolver::resolve (line 104)"
25 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::loadSlotData (line 94)"
26 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::load (line 102)"
27 => "Shopware\Core\Content\Category\SalesChannel\CategoryRoute::load (line 103)"
28 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 350)"
29 => "Shopware\Core\System\SystemConfig\SystemConfigService::trace (line 44)"
30 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 120)"
31 => "Shopware\Core\Framework\Adapter\Translation\Translator::trace (line 45)"
32 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 46)"
33 => "Shopware\Core\Framework\Adapter\Cache\CacheTagCollection::trace (line 46)"
34 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::trace (line 41)"
35 => "Shopware\Storefront\Framework\Cache\CacheTracer::Shopware\Storefront\Framework\Cache\{closure} (line 59)"
36 => "Shopware\Storefront\Theme\ThemeConfigValueAccessor::trace (line 42)"
37 => "Shopware\Storefront\Framework\Cache\CacheTracer::trace (line 104)"
38 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 72)"
39 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
40 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 109)"
41 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 59)"
42 => "Shopware\Core\Profiling\Profiler::trace (line 112)"
43 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::load (line 66)"
44 => "Shopware\Storefront\Page\Navigation\NavigationPageLoader::load (line 48)"
45 => "Shopware\Storefront\Controller\NavigationController::home (line 163)"
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 75)"
]
|
97 |
0.55 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 = 0x620A2217F7474E619CB00AD39E804CCA) AND (token = 'IN5Ub8FQVmsGnU9oCTmNWiTvs4Dar3OO') LIMIT 1;
array:58 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 165)"
3 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextPersister::load (line 69)"
4 => "Bodymed\Webshop\Core\Subscriber\ProductSubscriber::addCustomerProductFeatureExtension (line 230)"
5 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
6 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
7 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
8 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
9 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
10 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 33)"
11 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
12 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 269)"
13 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::read (line 286)"
14 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::_search (line 106)"
15 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::search (line 51)"
16 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepositoryForwardCompatibilityDecorator::search (line 103)"
17 => "Bodymed\Webshop\StoreFront\Subscriber\ProductExtensionSubscriber::addParentCover (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 49)"
28 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariantsOfProduct (line 30)"
29 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariants (line 224)"
30 => "Bodymed\Webshop\Core\Content\Product\Cms\ProductSliderCmsElementResolver::enrich (line 99)"
31 => "Shopware\Core\Content\Cms\DataResolver\CmsSlotsDataResolver::resolve (line 104)"
32 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::loadSlotData (line 94)"
33 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::load (line 102)"
34 => "Shopware\Core\Content\Category\SalesChannel\CategoryRoute::load (line 103)"
35 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 350)"
36 => "Shopware\Core\System\SystemConfig\SystemConfigService::trace (line 44)"
37 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 120)"
38 => "Shopware\Core\Framework\Adapter\Translation\Translator::trace (line 45)"
39 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 46)"
40 => "Shopware\Core\Framework\Adapter\Cache\CacheTagCollection::trace (line 46)"
41 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::trace (line 41)"
42 => "Shopware\Storefront\Framework\Cache\CacheTracer::Shopware\Storefront\Framework\Cache\{closure} (line 59)"
43 => "Shopware\Storefront\Theme\ThemeConfigValueAccessor::trace (line 42)"
44 => "Shopware\Storefront\Framework\Cache\CacheTracer::trace (line 104)"
45 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 72)"
46 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
47 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 109)"
48 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 59)"
49 => "Shopware\Core\Profiling\Profiler::trace (line 112)"
50 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::load (line 66)"
51 => "Shopware\Storefront\Page\Navigation\NavigationPageLoader::load (line 48)"
52 => "Shopware\Storefront\Controller\NavigationController::home (line 163)"
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 75)"
]
|
98 |
29.28 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.bundle`.`id` as `product.bundle.id`, `product.bundle`.`product_id` as `product.bundle.productId`, `product.bundle`.`product_version_id` as `product.bundle.productVersionId`, `product.bundle`.`name` as `product.bundle.name`, `product.bundle`.`price_type` as `product.bundle.priceType`, `product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`, `product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`, `product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`, `product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`, `product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`, `product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`, `product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`, `product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`, `product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`, `product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`, `product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`, `product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`, `product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`, `product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`, `product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`, `product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`, `product.bundle`.`created_at` as `product.bundle.createdAt`, `product.bundle`.`updated_at` as `product.bundle.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`, `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 `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_id` LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id` AND `product`.`version_id` = `product.cover`.`version_id` LEFT JOIN `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`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.bundle`.`id` as `product.bundle.id`,
`product.bundle`.`product_id` as `product.bundle.productId`,
`product.bundle`.`product_version_id` as `product.bundle.productVersionId`,
`product.bundle`.`name` as `product.bundle.name`,
`product.bundle`.`price_type` as `product.bundle.priceType`,
`product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`,
`product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`,
`product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`,
`product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`,
`product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`,
`product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`,
`product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`,
`product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`,
`product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`,
`product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`,
`product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`,
`product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`,
`product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`,
`product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`,
`product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`,
`product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`,
`product.bundle`.`created_at` as `product.bundle.createdAt`,
`product.bundle`.`updated_at` as `product.bundle.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`,
`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 `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_id`
LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id`
AND `product`.`version_id` = `product.cover`.`version_id`
LEFT JOIN `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id`
LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id`
LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`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.bundle`.`id` as `product.bundle.id`, `product.bundle`.`product_id` as `product.bundle.productId`, `product.bundle`.`product_version_id` as `product.bundle.productVersionId`, `product.bundle`.`name` as `product.bundle.name`, `product.bundle`.`price_type` as `product.bundle.priceType`, `product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`, `product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`, `product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`, `product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`, `product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`, `product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`, `product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`, `product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`, `product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`, `product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`, `product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`, `product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`, `product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`, `product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`, `product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`, `product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`, `product.bundle`.`created_at` as `product.bundle.createdAt`, `product.bundle`.`updated_at` as `product.bundle.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`, `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 `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_id` LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id` AND `product`.`version_id` = `product.cover`.`version_id` LEFT JOIN `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`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 (0x03F4EF144EC44C3E822790C652F7C3F6));
array:51 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
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 103)"
10 => "Bodymed\Webshop\StoreFront\Subscriber\ProductExtensionSubscriber::addParentCover (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 33)"
17 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
18 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 208)"
19 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::read (line 133)"
20 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 49)"
21 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariantsOfProduct (line 30)"
22 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariants (line 224)"
23 => "Bodymed\Webshop\Core\Content\Product\Cms\ProductSliderCmsElementResolver::enrich (line 99)"
24 => "Shopware\Core\Content\Cms\DataResolver\CmsSlotsDataResolver::resolve (line 104)"
25 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::loadSlotData (line 94)"
26 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::load (line 102)"
27 => "Shopware\Core\Content\Category\SalesChannel\CategoryRoute::load (line 103)"
28 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 350)"
29 => "Shopware\Core\System\SystemConfig\SystemConfigService::trace (line 44)"
30 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 120)"
31 => "Shopware\Core\Framework\Adapter\Translation\Translator::trace (line 45)"
32 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 46)"
33 => "Shopware\Core\Framework\Adapter\Cache\CacheTagCollection::trace (line 46)"
34 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::trace (line 41)"
35 => "Shopware\Storefront\Framework\Cache\CacheTracer::Shopware\Storefront\Framework\Cache\{closure} (line 59)"
36 => "Shopware\Storefront\Theme\ThemeConfigValueAccessor::trace (line 42)"
37 => "Shopware\Storefront\Framework\Cache\CacheTracer::trace (line 104)"
38 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 72)"
39 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
40 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 109)"
41 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 59)"
42 => "Shopware\Core\Profiling\Profiler::trace (line 112)"
43 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::load (line 66)"
44 => "Shopware\Storefront\Page\Navigation\NavigationPageLoader::load (line 48)"
45 => "Shopware\Storefront\Controller\NavigationController::home (line 163)"
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 75)"
]
|
99 |
0.62 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 = 0x620A2217F7474E619CB00AD39E804CCA) AND (token = 'IN5Ub8FQVmsGnU9oCTmNWiTvs4Dar3OO') LIMIT 1;
array:58 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 165)"
3 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextPersister::load (line 69)"
4 => "Bodymed\Webshop\Core\Subscriber\ProductSubscriber::addCustomerProductFeatureExtension (line 230)"
5 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
6 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
7 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
8 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
9 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
10 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 33)"
11 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
12 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 269)"
13 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::read (line 286)"
14 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::_search (line 106)"
15 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::search (line 51)"
16 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepositoryForwardCompatibilityDecorator::search (line 103)"
17 => "Bodymed\Webshop\StoreFront\Subscriber\ProductExtensionSubscriber::addParentCover (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 49)"
28 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariantsOfProduct (line 30)"
29 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariants (line 224)"
30 => "Bodymed\Webshop\Core\Content\Product\Cms\ProductSliderCmsElementResolver::enrich (line 99)"
31 => "Shopware\Core\Content\Cms\DataResolver\CmsSlotsDataResolver::resolve (line 104)"
32 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::loadSlotData (line 94)"
33 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::load (line 102)"
34 => "Shopware\Core\Content\Category\SalesChannel\CategoryRoute::load (line 103)"
35 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 350)"
36 => "Shopware\Core\System\SystemConfig\SystemConfigService::trace (line 44)"
37 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 120)"
38 => "Shopware\Core\Framework\Adapter\Translation\Translator::trace (line 45)"
39 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 46)"
40 => "Shopware\Core\Framework\Adapter\Cache\CacheTagCollection::trace (line 46)"
41 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::trace (line 41)"
42 => "Shopware\Storefront\Framework\Cache\CacheTracer::Shopware\Storefront\Framework\Cache\{closure} (line 59)"
43 => "Shopware\Storefront\Theme\ThemeConfigValueAccessor::trace (line 42)"
44 => "Shopware\Storefront\Framework\Cache\CacheTracer::trace (line 104)"
45 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 72)"
46 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
47 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 109)"
48 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 59)"
49 => "Shopware\Core\Profiling\Profiler::trace (line 112)"
50 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::load (line 66)"
51 => "Shopware\Storefront\Page\Navigation\NavigationPageLoader::load (line 48)"
52 => "Shopware\Storefront\Controller\NavigationController::home (line 163)"
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 75)"
]
|
100 |
29.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.bundle`.`id` as `product.bundle.id`, `product.bundle`.`product_id` as `product.bundle.productId`, `product.bundle`.`product_version_id` as `product.bundle.productVersionId`, `product.bundle`.`name` as `product.bundle.name`, `product.bundle`.`price_type` as `product.bundle.priceType`, `product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`, `product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`, `product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`, `product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`, `product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`, `product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`, `product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`, `product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`, `product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`, `product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`, `product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`, `product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`, `product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`, `product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`, `product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`, `product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`, `product.bundle`.`created_at` as `product.bundle.createdAt`, `product.bundle`.`updated_at` as `product.bundle.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`, `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 `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_id` LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id` AND `product`.`version_id` = `product.cover`.`version_id` LEFT JOIN `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`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.bundle`.`id` as `product.bundle.id`,
`product.bundle`.`product_id` as `product.bundle.productId`,
`product.bundle`.`product_version_id` as `product.bundle.productVersionId`,
`product.bundle`.`name` as `product.bundle.name`,
`product.bundle`.`price_type` as `product.bundle.priceType`,
`product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`,
`product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`,
`product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`,
`product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`,
`product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`,
`product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`,
`product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`,
`product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`,
`product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`,
`product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`,
`product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`,
`product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`,
`product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`,
`product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`,
`product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`,
`product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`,
`product.bundle`.`created_at` as `product.bundle.createdAt`,
`product.bundle`.`updated_at` as `product.bundle.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`,
`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 `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_id`
LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id`
AND `product`.`version_id` = `product.cover`.`version_id`
LEFT JOIN `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id`
LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id`
LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`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.bundle`.`id` as `product.bundle.id`, `product.bundle`.`product_id` as `product.bundle.productId`, `product.bundle`.`product_version_id` as `product.bundle.productVersionId`, `product.bundle`.`name` as `product.bundle.name`, `product.bundle`.`price_type` as `product.bundle.priceType`, `product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`, `product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`, `product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`, `product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`, `product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`, `product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`, `product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`, `product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`, `product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`, `product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`, `product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`, `product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`, `product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`, `product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`, `product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`, `product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`, `product.bundle`.`created_at` as `product.bundle.createdAt`, `product.bundle`.`updated_at` as `product.bundle.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`, `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 `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_id` LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id` AND `product`.`version_id` = `product.cover`.`version_id` LEFT JOIN `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`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 (0x03F4EF144EC44C3E822790C652F7C3F6));
array:51 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
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 103)"
10 => "Bodymed\Webshop\StoreFront\Subscriber\ProductExtensionSubscriber::addParentCover (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 33)"
17 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
18 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 208)"
19 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::read (line 133)"
20 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 49)"
21 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariantsOfProduct (line 30)"
22 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariants (line 224)"
23 => "Bodymed\Webshop\Core\Content\Product\Cms\ProductSliderCmsElementResolver::enrich (line 99)"
24 => "Shopware\Core\Content\Cms\DataResolver\CmsSlotsDataResolver::resolve (line 104)"
25 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::loadSlotData (line 94)"
26 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::load (line 102)"
27 => "Shopware\Core\Content\Category\SalesChannel\CategoryRoute::load (line 103)"
28 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 350)"
29 => "Shopware\Core\System\SystemConfig\SystemConfigService::trace (line 44)"
30 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 120)"
31 => "Shopware\Core\Framework\Adapter\Translation\Translator::trace (line 45)"
32 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 46)"
33 => "Shopware\Core\Framework\Adapter\Cache\CacheTagCollection::trace (line 46)"
34 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::trace (line 41)"
35 => "Shopware\Storefront\Framework\Cache\CacheTracer::Shopware\Storefront\Framework\Cache\{closure} (line 59)"
36 => "Shopware\Storefront\Theme\ThemeConfigValueAccessor::trace (line 42)"
37 => "Shopware\Storefront\Framework\Cache\CacheTracer::trace (line 104)"
38 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 72)"
39 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
40 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 109)"
41 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 59)"
42 => "Shopware\Core\Profiling\Profiler::trace (line 112)"
43 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::load (line 66)"
44 => "Shopware\Storefront\Page\Navigation\NavigationPageLoader::load (line 48)"
45 => "Shopware\Storefront\Controller\NavigationController::home (line 163)"
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 75)"
]
|
101 |
0.66 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 = 0x620A2217F7474E619CB00AD39E804CCA) AND (token = 'IN5Ub8FQVmsGnU9oCTmNWiTvs4Dar3OO') LIMIT 1;
array:58 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 165)"
3 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextPersister::load (line 69)"
4 => "Bodymed\Webshop\Core\Subscriber\ProductSubscriber::addCustomerProductFeatureExtension (line 230)"
5 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
6 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
7 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
8 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
9 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
10 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 33)"
11 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
12 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 269)"
13 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::read (line 286)"
14 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::_search (line 106)"
15 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::search (line 51)"
16 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepositoryForwardCompatibilityDecorator::search (line 103)"
17 => "Bodymed\Webshop\StoreFront\Subscriber\ProductExtensionSubscriber::addParentCover (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 49)"
28 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariantsOfProduct (line 30)"
29 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariants (line 224)"
30 => "Bodymed\Webshop\Core\Content\Product\Cms\ProductSliderCmsElementResolver::enrich (line 99)"
31 => "Shopware\Core\Content\Cms\DataResolver\CmsSlotsDataResolver::resolve (line 104)"
32 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::loadSlotData (line 94)"
33 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::load (line 102)"
34 => "Shopware\Core\Content\Category\SalesChannel\CategoryRoute::load (line 103)"
35 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 350)"
36 => "Shopware\Core\System\SystemConfig\SystemConfigService::trace (line 44)"
37 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 120)"
38 => "Shopware\Core\Framework\Adapter\Translation\Translator::trace (line 45)"
39 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 46)"
40 => "Shopware\Core\Framework\Adapter\Cache\CacheTagCollection::trace (line 46)"
41 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::trace (line 41)"
42 => "Shopware\Storefront\Framework\Cache\CacheTracer::Shopware\Storefront\Framework\Cache\{closure} (line 59)"
43 => "Shopware\Storefront\Theme\ThemeConfigValueAccessor::trace (line 42)"
44 => "Shopware\Storefront\Framework\Cache\CacheTracer::trace (line 104)"
45 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 72)"
46 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
47 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 109)"
48 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 59)"
49 => "Shopware\Core\Profiling\Profiler::trace (line 112)"
50 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::load (line 66)"
51 => "Shopware\Storefront\Page\Navigation\NavigationPageLoader::load (line 48)"
52 => "Shopware\Storefront\Controller\NavigationController::home (line 163)"
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 75)"
]
|
102 |
29.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.bundle`.`id` as `product.bundle.id`, `product.bundle`.`product_id` as `product.bundle.productId`, `product.bundle`.`product_version_id` as `product.bundle.productVersionId`, `product.bundle`.`name` as `product.bundle.name`, `product.bundle`.`price_type` as `product.bundle.priceType`, `product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`, `product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`, `product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`, `product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`, `product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`, `product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`, `product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`, `product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`, `product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`, `product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`, `product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`, `product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`, `product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`, `product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`, `product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`, `product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`, `product.bundle`.`created_at` as `product.bundle.createdAt`, `product.bundle`.`updated_at` as `product.bundle.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`, `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 `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_id` LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id` AND `product`.`version_id` = `product.cover`.`version_id` LEFT JOIN `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`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.bundle`.`id` as `product.bundle.id`,
`product.bundle`.`product_id` as `product.bundle.productId`,
`product.bundle`.`product_version_id` as `product.bundle.productVersionId`,
`product.bundle`.`name` as `product.bundle.name`,
`product.bundle`.`price_type` as `product.bundle.priceType`,
`product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`,
`product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`,
`product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`,
`product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`,
`product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`,
`product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`,
`product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`,
`product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`,
`product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`,
`product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`,
`product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`,
`product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`,
`product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`,
`product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`,
`product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`,
`product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`,
`product.bundle`.`created_at` as `product.bundle.createdAt`,
`product.bundle`.`updated_at` as `product.bundle.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`,
`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 `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_id`
LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id`
AND `product`.`version_id` = `product.cover`.`version_id`
LEFT JOIN `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id`
LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id`
LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`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.bundle`.`id` as `product.bundle.id`, `product.bundle`.`product_id` as `product.bundle.productId`, `product.bundle`.`product_version_id` as `product.bundle.productVersionId`, `product.bundle`.`name` as `product.bundle.name`, `product.bundle`.`price_type` as `product.bundle.priceType`, `product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`, `product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`, `product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`, `product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`, `product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`, `product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`, `product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`, `product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`, `product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`, `product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`, `product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`, `product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`, `product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`, `product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`, `product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`, `product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`, `product.bundle`.`created_at` as `product.bundle.createdAt`, `product.bundle`.`updated_at` as `product.bundle.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`, `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 `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_id` LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id` AND `product`.`version_id` = `product.cover`.`version_id` LEFT JOIN `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`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 (0x03F4EF144EC44C3E822790C652F7C3F6));
array:51 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
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 103)"
10 => "Bodymed\Webshop\StoreFront\Subscriber\ProductExtensionSubscriber::addParentCover (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 33)"
17 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
18 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 208)"
19 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::read (line 133)"
20 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 49)"
21 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariantsOfProduct (line 30)"
22 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariants (line 224)"
23 => "Bodymed\Webshop\Core\Content\Product\Cms\ProductSliderCmsElementResolver::enrich (line 99)"
24 => "Shopware\Core\Content\Cms\DataResolver\CmsSlotsDataResolver::resolve (line 104)"
25 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::loadSlotData (line 94)"
26 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::load (line 102)"
27 => "Shopware\Core\Content\Category\SalesChannel\CategoryRoute::load (line 103)"
28 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 350)"
29 => "Shopware\Core\System\SystemConfig\SystemConfigService::trace (line 44)"
30 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 120)"
31 => "Shopware\Core\Framework\Adapter\Translation\Translator::trace (line 45)"
32 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 46)"
33 => "Shopware\Core\Framework\Adapter\Cache\CacheTagCollection::trace (line 46)"
34 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::trace (line 41)"
35 => "Shopware\Storefront\Framework\Cache\CacheTracer::Shopware\Storefront\Framework\Cache\{closure} (line 59)"
36 => "Shopware\Storefront\Theme\ThemeConfigValueAccessor::trace (line 42)"
37 => "Shopware\Storefront\Framework\Cache\CacheTracer::trace (line 104)"
38 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 72)"
39 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
40 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 109)"
41 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 59)"
42 => "Shopware\Core\Profiling\Profiler::trace (line 112)"
43 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::load (line 66)"
44 => "Shopware\Storefront\Page\Navigation\NavigationPageLoader::load (line 48)"
45 => "Shopware\Storefront\Controller\NavigationController::home (line 163)"
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 75)"
]
|
103 |
0.86 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 = 0x620A2217F7474E619CB00AD39E804CCA) AND (token = 'IN5Ub8FQVmsGnU9oCTmNWiTvs4Dar3OO') LIMIT 1;
array:58 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 165)"
3 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextPersister::load (line 69)"
4 => "Bodymed\Webshop\Core\Subscriber\ProductSubscriber::addCustomerProductFeatureExtension (line 230)"
5 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
6 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
7 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
8 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
9 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
10 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 33)"
11 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
12 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 269)"
13 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::read (line 286)"
14 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::_search (line 106)"
15 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::search (line 51)"
16 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepositoryForwardCompatibilityDecorator::search (line 103)"
17 => "Bodymed\Webshop\StoreFront\Subscriber\ProductExtensionSubscriber::addParentCover (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 49)"
28 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariantsOfProduct (line 30)"
29 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariants (line 224)"
30 => "Bodymed\Webshop\Core\Content\Product\Cms\ProductSliderCmsElementResolver::enrich (line 99)"
31 => "Shopware\Core\Content\Cms\DataResolver\CmsSlotsDataResolver::resolve (line 104)"
32 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::loadSlotData (line 94)"
33 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::load (line 102)"
34 => "Shopware\Core\Content\Category\SalesChannel\CategoryRoute::load (line 103)"
35 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 350)"
36 => "Shopware\Core\System\SystemConfig\SystemConfigService::trace (line 44)"
37 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 120)"
38 => "Shopware\Core\Framework\Adapter\Translation\Translator::trace (line 45)"
39 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 46)"
40 => "Shopware\Core\Framework\Adapter\Cache\CacheTagCollection::trace (line 46)"
41 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::trace (line 41)"
42 => "Shopware\Storefront\Framework\Cache\CacheTracer::Shopware\Storefront\Framework\Cache\{closure} (line 59)"
43 => "Shopware\Storefront\Theme\ThemeConfigValueAccessor::trace (line 42)"
44 => "Shopware\Storefront\Framework\Cache\CacheTracer::trace (line 104)"
45 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 72)"
46 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
47 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 109)"
48 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 59)"
49 => "Shopware\Core\Profiling\Profiler::trace (line 112)"
50 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::load (line 66)"
51 => "Shopware\Storefront\Page\Navigation\NavigationPageLoader::load (line 48)"
52 => "Shopware\Storefront\Controller\NavigationController::home (line 163)"
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 75)"
]
|
104 |
35.74 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.bundle`.`id` as `product.bundle.id`, `product.bundle`.`product_id` as `product.bundle.productId`, `product.bundle`.`product_version_id` as `product.bundle.productVersionId`, `product.bundle`.`name` as `product.bundle.name`, `product.bundle`.`price_type` as `product.bundle.priceType`, `product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`, `product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`, `product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`, `product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`, `product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`, `product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`, `product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`, `product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`, `product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`, `product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`, `product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`, `product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`, `product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`, `product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`, `product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`, `product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`, `product.bundle`.`created_at` as `product.bundle.createdAt`, `product.bundle`.`updated_at` as `product.bundle.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`, `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 `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_id` LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id` AND `product`.`version_id` = `product.cover`.`version_id` LEFT JOIN `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`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.bundle`.`id` as `product.bundle.id`,
`product.bundle`.`product_id` as `product.bundle.productId`,
`product.bundle`.`product_version_id` as `product.bundle.productVersionId`,
`product.bundle`.`name` as `product.bundle.name`,
`product.bundle`.`price_type` as `product.bundle.priceType`,
`product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`,
`product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`,
`product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`,
`product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`,
`product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`,
`product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`,
`product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`,
`product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`,
`product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`,
`product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`,
`product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`,
`product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`,
`product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`,
`product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`,
`product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`,
`product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`,
`product.bundle`.`created_at` as `product.bundle.createdAt`,
`product.bundle`.`updated_at` as `product.bundle.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`,
`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 `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_id`
LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id`
AND `product`.`version_id` = `product.cover`.`version_id`
LEFT JOIN `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id`
LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id`
LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`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.bundle`.`id` as `product.bundle.id`, `product.bundle`.`product_id` as `product.bundle.productId`, `product.bundle`.`product_version_id` as `product.bundle.productVersionId`, `product.bundle`.`name` as `product.bundle.name`, `product.bundle`.`price_type` as `product.bundle.priceType`, `product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`, `product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`, `product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`, `product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`, `product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`, `product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`, `product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`, `product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`, `product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`, `product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`, `product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`, `product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`, `product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`, `product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`, `product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`, `product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`, `product.bundle`.`created_at` as `product.bundle.createdAt`, `product.bundle`.`updated_at` as `product.bundle.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`, `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 `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_id` LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id` AND `product`.`version_id` = `product.cover`.`version_id` LEFT JOIN `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`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 (0x03F4EF144EC44C3E822790C652F7C3F6));
array:51 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
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 103)"
10 => "Bodymed\Webshop\StoreFront\Subscriber\ProductExtensionSubscriber::addParentCover (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 33)"
17 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
18 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 208)"
19 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::read (line 133)"
20 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 49)"
21 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariantsOfProduct (line 30)"
22 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariants (line 224)"
23 => "Bodymed\Webshop\Core\Content\Product\Cms\ProductSliderCmsElementResolver::enrich (line 99)"
24 => "Shopware\Core\Content\Cms\DataResolver\CmsSlotsDataResolver::resolve (line 104)"
25 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::loadSlotData (line 94)"
26 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::load (line 102)"
27 => "Shopware\Core\Content\Category\SalesChannel\CategoryRoute::load (line 103)"
28 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 350)"
29 => "Shopware\Core\System\SystemConfig\SystemConfigService::trace (line 44)"
30 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 120)"
31 => "Shopware\Core\Framework\Adapter\Translation\Translator::trace (line 45)"
32 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 46)"
33 => "Shopware\Core\Framework\Adapter\Cache\CacheTagCollection::trace (line 46)"
34 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::trace (line 41)"
35 => "Shopware\Storefront\Framework\Cache\CacheTracer::Shopware\Storefront\Framework\Cache\{closure} (line 59)"
36 => "Shopware\Storefront\Theme\ThemeConfigValueAccessor::trace (line 42)"
37 => "Shopware\Storefront\Framework\Cache\CacheTracer::trace (line 104)"
38 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 72)"
39 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
40 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 109)"
41 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 59)"
42 => "Shopware\Core\Profiling\Profiler::trace (line 112)"
43 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::load (line 66)"
44 => "Shopware\Storefront\Page\Navigation\NavigationPageLoader::load (line 48)"
45 => "Shopware\Storefront\Controller\NavigationController::home (line 163)"
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 75)"
]
|
105 |
0.68 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 = 0x620A2217F7474E619CB00AD39E804CCA) AND (token = 'IN5Ub8FQVmsGnU9oCTmNWiTvs4Dar3OO') LIMIT 1;
array:58 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 165)"
3 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextPersister::load (line 69)"
4 => "Bodymed\Webshop\Core\Subscriber\ProductSubscriber::addCustomerProductFeatureExtension (line 230)"
5 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
6 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
7 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
8 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
9 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
10 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 33)"
11 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
12 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 269)"
13 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::read (line 286)"
14 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::_search (line 106)"
15 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::search (line 51)"
16 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepositoryForwardCompatibilityDecorator::search (line 103)"
17 => "Bodymed\Webshop\StoreFront\Subscriber\ProductExtensionSubscriber::addParentCover (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 49)"
28 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariantsOfProduct (line 30)"
29 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariants (line 224)"
30 => "Bodymed\Webshop\Core\Content\Product\Cms\ProductSliderCmsElementResolver::enrich (line 99)"
31 => "Shopware\Core\Content\Cms\DataResolver\CmsSlotsDataResolver::resolve (line 104)"
32 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::loadSlotData (line 94)"
33 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::load (line 102)"
34 => "Shopware\Core\Content\Category\SalesChannel\CategoryRoute::load (line 103)"
35 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 350)"
36 => "Shopware\Core\System\SystemConfig\SystemConfigService::trace (line 44)"
37 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 120)"
38 => "Shopware\Core\Framework\Adapter\Translation\Translator::trace (line 45)"
39 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 46)"
40 => "Shopware\Core\Framework\Adapter\Cache\CacheTagCollection::trace (line 46)"
41 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::trace (line 41)"
42 => "Shopware\Storefront\Framework\Cache\CacheTracer::Shopware\Storefront\Framework\Cache\{closure} (line 59)"
43 => "Shopware\Storefront\Theme\ThemeConfigValueAccessor::trace (line 42)"
44 => "Shopware\Storefront\Framework\Cache\CacheTracer::trace (line 104)"
45 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 72)"
46 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
47 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 109)"
48 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 59)"
49 => "Shopware\Core\Profiling\Profiler::trace (line 112)"
50 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::load (line 66)"
51 => "Shopware\Storefront\Page\Navigation\NavigationPageLoader::load (line 48)"
52 => "Shopware\Storefront\Controller\NavigationController::home (line 163)"
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 75)"
]
|
106 |
1.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`.`parent_id` = :param_139542a3b3974389a2ebda937d51b63a AND ((`product.visibilities`.`visibility` >= :param_186edc0360354893bc50280e02bf456d) AND `product.visibilities`.`sales_channel_id` = :param_a98f6b724cc94cf7a77b69cc4d622020 AND IFNULL(`product`.`active`, `product.parent`.`active`) = :param_313d10cb21534b759dfee6988cdd67bd))) 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`.`parent_id` = 0x7E400E2572B447458789E1E3EDFAB37F AND ((`product.visibilities`.`visibility` >= 10) AND `product.visibilities`.`sales_channel_id` = 0x620A2217F7474E619CB00AD39E804CCA AND IFNULL(`product`.`active`, `product.parent`.`active`) = 1))) GROUP BY `product`.`id`;
array:37 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
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 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariantsOfProduct (line 30)"
8 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariants (line 224)"
9 => "Bodymed\Webshop\Core\Content\Product\Cms\ProductSliderCmsElementResolver::enrich (line 99)"
10 => "Shopware\Core\Content\Cms\DataResolver\CmsSlotsDataResolver::resolve (line 104)"
11 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::loadSlotData (line 94)"
12 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::load (line 102)"
13 => "Shopware\Core\Content\Category\SalesChannel\CategoryRoute::load (line 103)"
14 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{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 104)"
24 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 72)"
25 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
26 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 109)"
27 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 59)"
28 => "Shopware\Core\Profiling\Profiler::trace (line 112)"
29 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::load (line 66)"
30 => "Shopware\Storefront\Page\Navigation\NavigationPageLoader::load (line 48)"
31 => "Shopware\Storefront\Controller\NavigationController::home (line 163)"
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 75)"
]
|
107 |
47.75 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.bundle`.`id` as `product.bundle.id`, `product.bundle`.`product_id` as `product.bundle.productId`, `product.bundle`.`product_version_id` as `product.bundle.productVersionId`, `product.bundle`.`name` as `product.bundle.name`, `product.bundle`.`price_type` as `product.bundle.priceType`, `product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`, `product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`, `product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`, `product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`, `product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`, `product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`, `product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`, `product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`, `product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`, `product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`, `product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`, `product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`, `product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`, `product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`, `product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`, `product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`, `product.bundle`.`created_at` as `product.bundle.createdAt`, `product.bundle`.`updated_at` as `product.bundle.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 `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_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 `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`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.bundle`.`id` as `product.bundle.id`,
`product.bundle`.`product_id` as `product.bundle.productId`,
`product.bundle`.`product_version_id` as `product.bundle.productVersionId`,
`product.bundle`.`name` as `product.bundle.name`,
`product.bundle`.`price_type` as `product.bundle.priceType`,
`product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`,
`product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`,
`product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`,
`product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`,
`product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`,
`product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`,
`product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`,
`product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`,
`product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`,
`product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`,
`product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`,
`product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`,
`product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`,
`product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`,
`product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`,
`product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`,
`product.bundle`.`created_at` as `product.bundle.createdAt`,
`product.bundle`.`updated_at` as `product.bundle.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 `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_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 `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id`
LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id`
LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`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.bundle`.`id` as `product.bundle.id`, `product.bundle`.`product_id` as `product.bundle.productId`, `product.bundle`.`product_version_id` as `product.bundle.productVersionId`, `product.bundle`.`name` as `product.bundle.name`, `product.bundle`.`price_type` as `product.bundle.priceType`, `product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`, `product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`, `product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`, `product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`, `product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`, `product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`, `product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`, `product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`, `product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`, `product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`, `product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`, `product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`, `product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`, `product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`, `product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`, `product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`, `product.bundle`.`created_at` as `product.bundle.createdAt`, `product.bundle`.`updated_at` as `product.bundle.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 `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_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 `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`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 (0x045EBC3CFE9D4BC7B696BB205090AB9F, 0xDF8E620DD1FA4278BACF9BFE2CABF83F));
array:38 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
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 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariantsOfProduct (line 30)"
9 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariants (line 224)"
10 => "Bodymed\Webshop\Core\Content\Product\Cms\ProductSliderCmsElementResolver::enrich (line 99)"
11 => "Shopware\Core\Content\Cms\DataResolver\CmsSlotsDataResolver::resolve (line 104)"
12 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::loadSlotData (line 94)"
13 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::load (line 102)"
14 => "Shopware\Core\Content\Category\SalesChannel\CategoryRoute::load (line 103)"
15 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{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 104)"
25 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 72)"
26 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
27 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 109)"
28 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 59)"
29 => "Shopware\Core\Profiling\Profiler::trace (line 112)"
30 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::load (line 66)"
31 => "Shopware\Storefront\Page\Navigation\NavigationPageLoader::load (line 48)"
32 => "Shopware\Storefront\Controller\NavigationController::home (line 163)"
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 75)"
]
|
108 |
1.25 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_5a47dd9d8d3b4168b5792a54c4ebe353)))
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 (0x045EBC3CFE9D4BC7B696BB205090AB9F, 0xDF8E620DD1FA4278BACF9BFE2CABF83F, 0x7E400E2572B447458789E1E3EDFAB37F)));
array:42 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
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 49)"
12 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariantsOfProduct (line 30)"
13 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariants (line 224)"
14 => "Bodymed\Webshop\Core\Content\Product\Cms\ProductSliderCmsElementResolver::enrich (line 99)"
15 => "Shopware\Core\Content\Cms\DataResolver\CmsSlotsDataResolver::resolve (line 104)"
16 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::loadSlotData (line 94)"
17 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::load (line 102)"
18 => "Shopware\Core\Content\Category\SalesChannel\CategoryRoute::load (line 103)"
19 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 350)"
20 => "Shopware\Core\System\SystemConfig\SystemConfigService::trace (line 44)"
21 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 120)"
22 => "Shopware\Core\Framework\Adapter\Translation\Translator::trace (line 45)"
23 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 46)"
24 => "Shopware\Core\Framework\Adapter\Cache\CacheTagCollection::trace (line 46)"
25 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::trace (line 41)"
26 => "Shopware\Storefront\Framework\Cache\CacheTracer::Shopware\Storefront\Framework\Cache\{closure} (line 59)"
27 => "Shopware\Storefront\Theme\ThemeConfigValueAccessor::trace (line 42)"
28 => "Shopware\Storefront\Framework\Cache\CacheTracer::trace (line 104)"
29 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 72)"
30 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
31 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 109)"
32 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 59)"
33 => "Shopware\Core\Profiling\Profiler::trace (line 112)"
34 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::load (line 66)"
35 => "Shopware\Storefront\Page\Navigation\NavigationPageLoader::load (line 48)"
36 => "Shopware\Storefront\Controller\NavigationController::home (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 75)"
]
|
109 |
0.75 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 = 0x620A2217F7474E619CB00AD39E804CCA) AND (token = 'IN5Ub8FQVmsGnU9oCTmNWiTvs4Dar3OO') LIMIT 1;
array:45 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 165)"
3 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextPersister::load (line 69)"
4 => "Bodymed\Webshop\Core\Subscriber\ProductSubscriber::addCustomerProductFeatureExtension (line 230)"
5 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
6 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
7 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
8 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
9 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
10 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 33)"
11 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
12 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 208)"
13 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::read (line 133)"
14 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 49)"
15 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariantsOfProduct (line 30)"
16 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariants (line 224)"
17 => "Bodymed\Webshop\Core\Content\Product\Cms\ProductSliderCmsElementResolver::enrich (line 99)"
18 => "Shopware\Core\Content\Cms\DataResolver\CmsSlotsDataResolver::resolve (line 104)"
19 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::loadSlotData (line 94)"
20 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::load (line 102)"
21 => "Shopware\Core\Content\Category\SalesChannel\CategoryRoute::load (line 103)"
22 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 350)"
23 => "Shopware\Core\System\SystemConfig\SystemConfigService::trace (line 44)"
24 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 120)"
25 => "Shopware\Core\Framework\Adapter\Translation\Translator::trace (line 45)"
26 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 46)"
27 => "Shopware\Core\Framework\Adapter\Cache\CacheTagCollection::trace (line 46)"
28 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::trace (line 41)"
29 => "Shopware\Storefront\Framework\Cache\CacheTracer::Shopware\Storefront\Framework\Cache\{closure} (line 59)"
30 => "Shopware\Storefront\Theme\ThemeConfigValueAccessor::trace (line 42)"
31 => "Shopware\Storefront\Framework\Cache\CacheTracer::trace (line 104)"
32 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 72)"
33 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
34 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 109)"
35 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 59)"
36 => "Shopware\Core\Profiling\Profiler::trace (line 112)"
37 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::load (line 66)"
38 => "Shopware\Storefront\Page\Navigation\NavigationPageLoader::load (line 48)"
39 => "Shopware\Storefront\Controller\NavigationController::home (line 163)"
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 75)"
]
|
110 |
24.57 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.bundle`.`id` as `product.bundle.id`, `product.bundle`.`product_id` as `product.bundle.productId`, `product.bundle`.`product_version_id` as `product.bundle.productVersionId`, `product.bundle`.`name` as `product.bundle.name`, `product.bundle`.`price_type` as `product.bundle.priceType`, `product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`, `product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`, `product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`, `product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`, `product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`, `product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`, `product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`, `product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`, `product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`, `product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`, `product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`, `product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`, `product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`, `product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`, `product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`, `product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`, `product.bundle`.`created_at` as `product.bundle.createdAt`, `product.bundle`.`updated_at` as `product.bundle.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`, `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 `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_id` LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id` AND `product`.`version_id` = `product.cover`.`version_id` LEFT JOIN `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`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.bundle`.`id` as `product.bundle.id`,
`product.bundle`.`product_id` as `product.bundle.productId`,
`product.bundle`.`product_version_id` as `product.bundle.productVersionId`,
`product.bundle`.`name` as `product.bundle.name`,
`product.bundle`.`price_type` as `product.bundle.priceType`,
`product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`,
`product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`,
`product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`,
`product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`,
`product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`,
`product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`,
`product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`,
`product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`,
`product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`,
`product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`,
`product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`,
`product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`,
`product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`,
`product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`,
`product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`,
`product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`,
`product.bundle`.`created_at` as `product.bundle.createdAt`,
`product.bundle`.`updated_at` as `product.bundle.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`,
`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 `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_id`
LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id`
AND `product`.`version_id` = `product.cover`.`version_id`
LEFT JOIN `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id`
LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id`
LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`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.bundle`.`id` as `product.bundle.id`, `product.bundle`.`product_id` as `product.bundle.productId`, `product.bundle`.`product_version_id` as `product.bundle.productVersionId`, `product.bundle`.`name` as `product.bundle.name`, `product.bundle`.`price_type` as `product.bundle.priceType`, `product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`, `product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`, `product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`, `product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`, `product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`, `product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`, `product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`, `product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`, `product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`, `product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`, `product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`, `product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`, `product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`, `product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`, `product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`, `product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`, `product.bundle`.`created_at` as `product.bundle.createdAt`, `product.bundle`.`updated_at` as `product.bundle.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`, `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 `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_id` LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id` AND `product`.`version_id` = `product.cover`.`version_id` LEFT JOIN `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`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 (0x7E400E2572B447458789E1E3EDFAB37F));
array:51 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
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 103)"
10 => "Bodymed\Webshop\StoreFront\Subscriber\ProductExtensionSubscriber::addParentCover (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 33)"
17 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
18 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 208)"
19 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::read (line 133)"
20 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 49)"
21 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariantsOfProduct (line 30)"
22 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariants (line 224)"
23 => "Bodymed\Webshop\Core\Content\Product\Cms\ProductSliderCmsElementResolver::enrich (line 99)"
24 => "Shopware\Core\Content\Cms\DataResolver\CmsSlotsDataResolver::resolve (line 104)"
25 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::loadSlotData (line 94)"
26 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::load (line 102)"
27 => "Shopware\Core\Content\Category\SalesChannel\CategoryRoute::load (line 103)"
28 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 350)"
29 => "Shopware\Core\System\SystemConfig\SystemConfigService::trace (line 44)"
30 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 120)"
31 => "Shopware\Core\Framework\Adapter\Translation\Translator::trace (line 45)"
32 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 46)"
33 => "Shopware\Core\Framework\Adapter\Cache\CacheTagCollection::trace (line 46)"
34 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::trace (line 41)"
35 => "Shopware\Storefront\Framework\Cache\CacheTracer::Shopware\Storefront\Framework\Cache\{closure} (line 59)"
36 => "Shopware\Storefront\Theme\ThemeConfigValueAccessor::trace (line 42)"
37 => "Shopware\Storefront\Framework\Cache\CacheTracer::trace (line 104)"
38 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 72)"
39 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
40 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 109)"
41 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 59)"
42 => "Shopware\Core\Profiling\Profiler::trace (line 112)"
43 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::load (line 66)"
44 => "Shopware\Storefront\Page\Navigation\NavigationPageLoader::load (line 48)"
45 => "Shopware\Storefront\Controller\NavigationController::home (line 163)"
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 75)"
]
|
111 |
0.74 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 = 0x620A2217F7474E619CB00AD39E804CCA) AND (token = 'IN5Ub8FQVmsGnU9oCTmNWiTvs4Dar3OO') LIMIT 1;
array:58 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 165)"
3 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextPersister::load (line 69)"
4 => "Bodymed\Webshop\Core\Subscriber\ProductSubscriber::addCustomerProductFeatureExtension (line 230)"
5 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
6 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
7 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
8 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
9 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
10 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 33)"
11 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
12 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 269)"
13 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::read (line 286)"
14 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::_search (line 106)"
15 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::search (line 51)"
16 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepositoryForwardCompatibilityDecorator::search (line 103)"
17 => "Bodymed\Webshop\StoreFront\Subscriber\ProductExtensionSubscriber::addParentCover (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 49)"
28 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariantsOfProduct (line 30)"
29 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariants (line 224)"
30 => "Bodymed\Webshop\Core\Content\Product\Cms\ProductSliderCmsElementResolver::enrich (line 99)"
31 => "Shopware\Core\Content\Cms\DataResolver\CmsSlotsDataResolver::resolve (line 104)"
32 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::loadSlotData (line 94)"
33 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::load (line 102)"
34 => "Shopware\Core\Content\Category\SalesChannel\CategoryRoute::load (line 103)"
35 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 350)"
36 => "Shopware\Core\System\SystemConfig\SystemConfigService::trace (line 44)"
37 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 120)"
38 => "Shopware\Core\Framework\Adapter\Translation\Translator::trace (line 45)"
39 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 46)"
40 => "Shopware\Core\Framework\Adapter\Cache\CacheTagCollection::trace (line 46)"
41 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::trace (line 41)"
42 => "Shopware\Storefront\Framework\Cache\CacheTracer::Shopware\Storefront\Framework\Cache\{closure} (line 59)"
43 => "Shopware\Storefront\Theme\ThemeConfigValueAccessor::trace (line 42)"
44 => "Shopware\Storefront\Framework\Cache\CacheTracer::trace (line 104)"
45 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 72)"
46 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
47 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 109)"
48 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 59)"
49 => "Shopware\Core\Profiling\Profiler::trace (line 112)"
50 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::load (line 66)"
51 => "Shopware\Storefront\Page\Navigation\NavigationPageLoader::load (line 48)"
52 => "Shopware\Storefront\Controller\NavigationController::home (line 163)"
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 75)"
]
|
112 |
27.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.bundle`.`id` as `product.bundle.id`, `product.bundle`.`product_id` as `product.bundle.productId`, `product.bundle`.`product_version_id` as `product.bundle.productVersionId`, `product.bundle`.`name` as `product.bundle.name`, `product.bundle`.`price_type` as `product.bundle.priceType`, `product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`, `product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`, `product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`, `product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`, `product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`, `product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`, `product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`, `product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`, `product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`, `product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`, `product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`, `product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`, `product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`, `product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`, `product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`, `product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`, `product.bundle`.`created_at` as `product.bundle.createdAt`, `product.bundle`.`updated_at` as `product.bundle.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`, `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 `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_id` LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id` AND `product`.`version_id` = `product.cover`.`version_id` LEFT JOIN `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`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.bundle`.`id` as `product.bundle.id`,
`product.bundle`.`product_id` as `product.bundle.productId`,
`product.bundle`.`product_version_id` as `product.bundle.productVersionId`,
`product.bundle`.`name` as `product.bundle.name`,
`product.bundle`.`price_type` as `product.bundle.priceType`,
`product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`,
`product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`,
`product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`,
`product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`,
`product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`,
`product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`,
`product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`,
`product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`,
`product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`,
`product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`,
`product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`,
`product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`,
`product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`,
`product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`,
`product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`,
`product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`,
`product.bundle`.`created_at` as `product.bundle.createdAt`,
`product.bundle`.`updated_at` as `product.bundle.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`,
`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 `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_id`
LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id`
AND `product`.`version_id` = `product.cover`.`version_id`
LEFT JOIN `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id`
LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id`
LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`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.bundle`.`id` as `product.bundle.id`, `product.bundle`.`product_id` as `product.bundle.productId`, `product.bundle`.`product_version_id` as `product.bundle.productVersionId`, `product.bundle`.`name` as `product.bundle.name`, `product.bundle`.`price_type` as `product.bundle.priceType`, `product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`, `product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`, `product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`, `product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`, `product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`, `product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`, `product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`, `product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`, `product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`, `product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`, `product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`, `product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`, `product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`, `product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`, `product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`, `product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`, `product.bundle`.`created_at` as `product.bundle.createdAt`, `product.bundle`.`updated_at` as `product.bundle.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`, `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 `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_id` LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id` AND `product`.`version_id` = `product.cover`.`version_id` LEFT JOIN `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`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 (0x7E400E2572B447458789E1E3EDFAB37F));
array:51 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
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 103)"
10 => "Bodymed\Webshop\StoreFront\Subscriber\ProductExtensionSubscriber::addParentCover (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 33)"
17 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
18 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 208)"
19 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::read (line 133)"
20 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 49)"
21 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariantsOfProduct (line 30)"
22 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariants (line 224)"
23 => "Bodymed\Webshop\Core\Content\Product\Cms\ProductSliderCmsElementResolver::enrich (line 99)"
24 => "Shopware\Core\Content\Cms\DataResolver\CmsSlotsDataResolver::resolve (line 104)"
25 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::loadSlotData (line 94)"
26 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::load (line 102)"
27 => "Shopware\Core\Content\Category\SalesChannel\CategoryRoute::load (line 103)"
28 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 350)"
29 => "Shopware\Core\System\SystemConfig\SystemConfigService::trace (line 44)"
30 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 120)"
31 => "Shopware\Core\Framework\Adapter\Translation\Translator::trace (line 45)"
32 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 46)"
33 => "Shopware\Core\Framework\Adapter\Cache\CacheTagCollection::trace (line 46)"
34 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::trace (line 41)"
35 => "Shopware\Storefront\Framework\Cache\CacheTracer::Shopware\Storefront\Framework\Cache\{closure} (line 59)"
36 => "Shopware\Storefront\Theme\ThemeConfigValueAccessor::trace (line 42)"
37 => "Shopware\Storefront\Framework\Cache\CacheTracer::trace (line 104)"
38 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 72)"
39 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
40 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 109)"
41 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 59)"
42 => "Shopware\Core\Profiling\Profiler::trace (line 112)"
43 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::load (line 66)"
44 => "Shopware\Storefront\Page\Navigation\NavigationPageLoader::load (line 48)"
45 => "Shopware\Storefront\Controller\NavigationController::home (line 163)"
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 75)"
]
|
113 |
0.74 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 = 0x620A2217F7474E619CB00AD39E804CCA) AND (token = 'IN5Ub8FQVmsGnU9oCTmNWiTvs4Dar3OO') LIMIT 1;
array:58 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 165)"
3 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextPersister::load (line 69)"
4 => "Bodymed\Webshop\Core\Subscriber\ProductSubscriber::addCustomerProductFeatureExtension (line 230)"
5 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
6 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
7 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
8 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
9 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
10 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 33)"
11 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
12 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 269)"
13 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::read (line 286)"
14 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::_search (line 106)"
15 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::search (line 51)"
16 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepositoryForwardCompatibilityDecorator::search (line 103)"
17 => "Bodymed\Webshop\StoreFront\Subscriber\ProductExtensionSubscriber::addParentCover (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 49)"
28 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariantsOfProduct (line 30)"
29 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariants (line 224)"
30 => "Bodymed\Webshop\Core\Content\Product\Cms\ProductSliderCmsElementResolver::enrich (line 99)"
31 => "Shopware\Core\Content\Cms\DataResolver\CmsSlotsDataResolver::resolve (line 104)"
32 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::loadSlotData (line 94)"
33 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::load (line 102)"
34 => "Shopware\Core\Content\Category\SalesChannel\CategoryRoute::load (line 103)"
35 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 350)"
36 => "Shopware\Core\System\SystemConfig\SystemConfigService::trace (line 44)"
37 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 120)"
38 => "Shopware\Core\Framework\Adapter\Translation\Translator::trace (line 45)"
39 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 46)"
40 => "Shopware\Core\Framework\Adapter\Cache\CacheTagCollection::trace (line 46)"
41 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::trace (line 41)"
42 => "Shopware\Storefront\Framework\Cache\CacheTracer::Shopware\Storefront\Framework\Cache\{closure} (line 59)"
43 => "Shopware\Storefront\Theme\ThemeConfigValueAccessor::trace (line 42)"
44 => "Shopware\Storefront\Framework\Cache\CacheTracer::trace (line 104)"
45 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 72)"
46 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
47 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 109)"
48 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 59)"
49 => "Shopware\Core\Profiling\Profiler::trace (line 112)"
50 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::load (line 66)"
51 => "Shopware\Storefront\Page\Navigation\NavigationPageLoader::load (line 48)"
52 => "Shopware\Storefront\Controller\NavigationController::home (line 163)"
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 75)"
]
|
114 |
1.87 ms |
SELECT `swkweb_buy_x_pay_y_promotion`.`id` as `swkweb_buy_x_pay_y_promotion.id`, `swkweb_buy_x_pay_y_promotion`.`product_stream_id` as `swkweb_buy_x_pay_y_promotion.productStreamId`, `swkweb_buy_x_pay_y_promotion`.`rule_id` as `swkweb_buy_x_pay_y_promotion.ruleId`, `swkweb_buy_x_pay_y_promotion`.`x` as `swkweb_buy_x_pay_y_promotion.x`, `swkweb_buy_x_pay_y_promotion`.`y` as `swkweb_buy_x_pay_y_promotion.y`, `swkweb_buy_x_pay_y_promotion`.`minimum_quantity` as `swkweb_buy_x_pay_y_promotion.minimumQuantity`, `swkweb_buy_x_pay_y_promotion`.`priority` as `swkweb_buy_x_pay_y_promotion.priority`, `swkweb_buy_x_pay_y_promotion`.`cross_variant` as `swkweb_buy_x_pay_y_promotion.crossVariant`, `swkweb_buy_x_pay_y_promotion`.`active` as `swkweb_buy_x_pay_y_promotion.active`, `swkweb_buy_x_pay_y_promotion`.`created_at` as `swkweb_buy_x_pay_y_promotion.createdAt`, `swkweb_buy_x_pay_y_promotion`.`updated_at` as `swkweb_buy_x_pay_y_promotion.updatedAt`, `swkweb_buy_x_pay_y_promotion.translation.name`, COALESCE(`swkweb_buy_x_pay_y_promotion.translation.name`,`swkweb_buy_x_pay_y_promotion.translation.name`) as `swkweb_buy_x_pay_y_promotion.name`, `swkweb_buy_x_pay_y_promotion.translation.createdAt`, `swkweb_buy_x_pay_y_promotion.translation.updatedAt`, `swkweb_buy_x_pay_y_promotion.translation.swkwebBuyXPayYPromotionId`, `swkweb_buy_x_pay_y_promotion.translation.languageId` FROM `swkweb_buy_x_pay_y_promotion` LEFT JOIN (SELECT `swkweb_buy_x_pay_y_promotion.translation`.swkweb_buy_x_pay_y_promotion_id, `swkweb_buy_x_pay_y_promotion.translation`.name as `swkweb_buy_x_pay_y_promotion.translation.name`, `swkweb_buy_x_pay_y_promotion.translation`.created_at as `swkweb_buy_x_pay_y_promotion.translation.createdAt`, `swkweb_buy_x_pay_y_promotion.translation`.updated_at as `swkweb_buy_x_pay_y_promotion.translation.updatedAt`, `swkweb_buy_x_pay_y_promotion.translation`.swkweb_buy_x_pay_y_promotion_id as `swkweb_buy_x_pay_y_promotion.translation.swkwebBuyXPayYPromotionId`, `swkweb_buy_x_pay_y_promotion.translation`.language_id as `swkweb_buy_x_pay_y_promotion.translation.languageId` FROM `swkweb_buy_x_pay_y_promotion_translation` `swkweb_buy_x_pay_y_promotion.translation` WHERE `swkweb_buy_x_pay_y_promotion.translation`.language_id = :languageId) `swkweb_buy_x_pay_y_promotion.swkweb_buy_x_pay_y_promotion_translation` ON `swkweb_buy_x_pay_y_promotion.swkweb_buy_x_pay_y_promotion_translation`.`swkweb_buy_x_pay_y_promotion_id` = `swkweb_buy_x_pay_y_promotion`.`id` WHERE (`swkweb_buy_x_pay_y_promotion`.`active` = :param_6a86ab149525424389cddef28864ffe9 AND (`swkweb_buy_x_pay_y_promotion`.`rule_id` <=> :param_c95f14d50d7e493bac6df9da7864ab05 OR `swkweb_buy_x_pay_y_promotion`.`rule_id` IN (:param_b0e27b090882416794c9c74b3dcf24e7)))
SELECT `swkweb_buy_x_pay_y_promotion`.`id` as `swkweb_buy_x_pay_y_promotion.id`, `swkweb_buy_x_pay_y_promotion`.`product_stream_id` as `swkweb_buy_x_pay_y_promotion.productStreamId`, `swkweb_buy_x_pay_y_promotion`.`rule_id` as `swkweb_buy_x_pay_y_promotion.ruleId`, `swkweb_buy_x_pay_y_promotion`.`x` as `swkweb_buy_x_pay_y_promotion.x`, `swkweb_buy_x_pay_y_promotion`.`y` as `swkweb_buy_x_pay_y_promotion.y`, `swkweb_buy_x_pay_y_promotion`.`minimum_quantity` as `swkweb_buy_x_pay_y_promotion.minimumQuantity`, `swkweb_buy_x_pay_y_promotion`.`priority` as `swkweb_buy_x_pay_y_promotion.priority`, `swkweb_buy_x_pay_y_promotion`.`cross_variant` as `swkweb_buy_x_pay_y_promotion.crossVariant`, `swkweb_buy_x_pay_y_promotion`.`active` as `swkweb_buy_x_pay_y_promotion.active`, `swkweb_buy_x_pay_y_promotion`.`created_at` as `swkweb_buy_x_pay_y_promotion.createdAt`, `swkweb_buy_x_pay_y_promotion`.`updated_at` as `swkweb_buy_x_pay_y_promotion.updatedAt`, `swkweb_buy_x_pay_y_promotion.translation.name`, COALESCE(`swkweb_buy_x_pay_y_promotion.translation.name`,`swkweb_buy_x_pay_y_promotion.translation.name`) as `swkweb_buy_x_pay_y_promotion.name`, `swkweb_buy_x_pay_y_promotion.translation.createdAt`, `swkweb_buy_x_pay_y_promotion.translation.updatedAt`, `swkweb_buy_x_pay_y_promotion.translation.swkwebBuyXPayYPromotionId`, `swkweb_buy_x_pay_y_promotion.translation.languageId` FROM `swkweb_buy_x_pay_y_promotion` LEFT JOIN (SELECT `swkweb_buy_x_pay_y_promotion.translation`.swkweb_buy_x_pay_y_promotion_id, `swkweb_buy_x_pay_y_promotion.translation`.name as `swkweb_buy_x_pay_y_promotion.translation.name`, `swkweb_buy_x_pay_y_promotion.translation`.created_at as `swkweb_buy_x_pay_y_promotion.translation.createdAt`, `swkweb_buy_x_pay_y_promotion.translation`.updated_at as `swkweb_buy_x_pay_y_promotion.translation.updatedAt`, `swkweb_buy_x_pay_y_promotion.translation`.swkweb_buy_x_pay_y_promotion_id as `swkweb_buy_x_pay_y_promotion.translation.swkwebBuyXPayYPromotionId`, `swkweb_buy_x_pay_y_promotion.translation`.language_id as `swkweb_buy_x_pay_y_promotion.translation.languageId` FROM `swkweb_buy_x_pay_y_promotion_translation` `swkweb_buy_x_pay_y_promotion.translation` WHERE `swkweb_buy_x_pay_y_promotion.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `swkweb_buy_x_pay_y_promotion.swkweb_buy_x_pay_y_promotion_translation` ON `swkweb_buy_x_pay_y_promotion.swkweb_buy_x_pay_y_promotion_translation`.`swkweb_buy_x_pay_y_promotion_id` = `swkweb_buy_x_pay_y_promotion`.`id` WHERE (`swkweb_buy_x_pay_y_promotion`.`active` = 1 AND (`swkweb_buy_x_pay_y_promotion`.`rule_id` <=> NULL OR `swkweb_buy_x_pay_y_promotion`.`rule_id` IN (0x49E60033EEB14964AD30BBB2541A8832, 0x507D0ACF066F4AC8B4A5E137CC6A65D5, 0x624B5351CE6749F68E0173D176FC7D74, 0x1BD29ADF87934E51BCBC2A63DF3E5CD7, 0x54CA109BE7B94338B399B13A5D9CA690, 0x5B69F678101F40C3BBB95AD64C44F6C1, 0x888B2606F41C41E18E8E62EBD8019726, 0xB4449920AE794758AB3917DF10AA6A55, 0xC3D21140F4DF402C9BDF65AF4F7EAAAA, 0x605E84F76B374BAB8CFCEC73E9218201, 0xBA542F4FF2854B9EB943CBB0473A8D59)));
array:42 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
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 78)"
10 => "Swkweb\BuyXPayY\Core\Checkout\BuyXPayYPromotion\SalesChannel\BuyXPayYPromotionGateway::fetchPromotions (line 50)"
11 => "Swkweb\BuyXPayY\Core\Checkout\BuyXPayYPromotion\SalesChannel\BuyXPayYPromotionGateway::getPromotions (line 24)"
12 => "Swkweb\BuyXPayY\Core\Content\Product\SalesChannel\ProductBuyXPayYPromotionHelper::loadPromotions (line 53)"
13 => "Swkweb\BuyXPayY\Core\Content\Product\Cms\ProductSliderCmsElementResolver::enrich (line 237)"
14 => "Bodymed\Webshop\Core\Content\Product\Cms\ProductSliderCmsElementResolver::enrich (line 99)"
15 => "Shopware\Core\Content\Cms\DataResolver\CmsSlotsDataResolver::resolve (line 104)"
16 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::loadSlotData (line 94)"
17 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::load (line 102)"
18 => "Shopware\Core\Content\Category\SalesChannel\CategoryRoute::load (line 103)"
19 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 350)"
20 => "Shopware\Core\System\SystemConfig\SystemConfigService::trace (line 44)"
21 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 120)"
22 => "Shopware\Core\Framework\Adapter\Translation\Translator::trace (line 45)"
23 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 46)"
24 => "Shopware\Core\Framework\Adapter\Cache\CacheTagCollection::trace (line 46)"
25 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::trace (line 41)"
26 => "Shopware\Storefront\Framework\Cache\CacheTracer::Shopware\Storefront\Framework\Cache\{closure} (line 59)"
27 => "Shopware\Storefront\Theme\ThemeConfigValueAccessor::trace (line 42)"
28 => "Shopware\Storefront\Framework\Cache\CacheTracer::trace (line 104)"
29 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 72)"
30 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
31 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 109)"
32 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 59)"
33 => "Shopware\Core\Profiling\Profiler::trace (line 112)"
34 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::load (line 66)"
35 => "Shopware\Storefront\Page\Navigation\NavigationPageLoader::load (line 48)"
36 => "Shopware\Storefront\Controller\NavigationController::home (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 75)"
]
|
115 |
1.99 ms |
SELECT `swkweb_buy_x_pay_y_promotion`.`id` as `swkweb_buy_x_pay_y_promotion.id`, `swkweb_buy_x_pay_y_promotion`.`product_stream_id` as `swkweb_buy_x_pay_y_promotion.productStreamId`, `swkweb_buy_x_pay_y_promotion`.`rule_id` as `swkweb_buy_x_pay_y_promotion.ruleId`, `swkweb_buy_x_pay_y_promotion`.`x` as `swkweb_buy_x_pay_y_promotion.x`, `swkweb_buy_x_pay_y_promotion`.`y` as `swkweb_buy_x_pay_y_promotion.y`, `swkweb_buy_x_pay_y_promotion`.`minimum_quantity` as `swkweb_buy_x_pay_y_promotion.minimumQuantity`, `swkweb_buy_x_pay_y_promotion`.`priority` as `swkweb_buy_x_pay_y_promotion.priority`, `swkweb_buy_x_pay_y_promotion`.`cross_variant` as `swkweb_buy_x_pay_y_promotion.crossVariant`, `swkweb_buy_x_pay_y_promotion`.`active` as `swkweb_buy_x_pay_y_promotion.active`, `swkweb_buy_x_pay_y_promotion`.`created_at` as `swkweb_buy_x_pay_y_promotion.createdAt`, `swkweb_buy_x_pay_y_promotion`.`updated_at` as `swkweb_buy_x_pay_y_promotion.updatedAt`, `swkweb_buy_x_pay_y_promotion.translation.name`, COALESCE(`swkweb_buy_x_pay_y_promotion.translation.name`,`swkweb_buy_x_pay_y_promotion.translation.name`) as `swkweb_buy_x_pay_y_promotion.name`, `swkweb_buy_x_pay_y_promotion.translation.createdAt`, `swkweb_buy_x_pay_y_promotion.translation.updatedAt`, `swkweb_buy_x_pay_y_promotion.translation.swkwebBuyXPayYPromotionId`, `swkweb_buy_x_pay_y_promotion.translation.languageId` FROM `swkweb_buy_x_pay_y_promotion` LEFT JOIN (SELECT `swkweb_buy_x_pay_y_promotion.translation`.swkweb_buy_x_pay_y_promotion_id, `swkweb_buy_x_pay_y_promotion.translation`.name as `swkweb_buy_x_pay_y_promotion.translation.name`, `swkweb_buy_x_pay_y_promotion.translation`.created_at as `swkweb_buy_x_pay_y_promotion.translation.createdAt`, `swkweb_buy_x_pay_y_promotion.translation`.updated_at as `swkweb_buy_x_pay_y_promotion.translation.updatedAt`, `swkweb_buy_x_pay_y_promotion.translation`.swkweb_buy_x_pay_y_promotion_id as `swkweb_buy_x_pay_y_promotion.translation.swkwebBuyXPayYPromotionId`, `swkweb_buy_x_pay_y_promotion.translation`.language_id as `swkweb_buy_x_pay_y_promotion.translation.languageId` FROM `swkweb_buy_x_pay_y_promotion_translation` `swkweb_buy_x_pay_y_promotion.translation` WHERE `swkweb_buy_x_pay_y_promotion.translation`.language_id = :languageId) `swkweb_buy_x_pay_y_promotion.swkweb_buy_x_pay_y_promotion_translation` ON `swkweb_buy_x_pay_y_promotion.swkweb_buy_x_pay_y_promotion_translation`.`swkweb_buy_x_pay_y_promotion_id` = `swkweb_buy_x_pay_y_promotion`.`id` WHERE (`swkweb_buy_x_pay_y_promotion`.`active` = :param_6c1fa5eb07014320825d3384219a0321 AND (`swkweb_buy_x_pay_y_promotion`.`rule_id` <=> :param_b9ac54b0e5ca43b6b5473fc80c4f52b2 OR `swkweb_buy_x_pay_y_promotion`.`rule_id` IN (:param_d1181adfe8f44aa4aae4c4a4ef2e9757)))
SELECT `swkweb_buy_x_pay_y_promotion`.`id` as `swkweb_buy_x_pay_y_promotion.id`, `swkweb_buy_x_pay_y_promotion`.`product_stream_id` as `swkweb_buy_x_pay_y_promotion.productStreamId`, `swkweb_buy_x_pay_y_promotion`.`rule_id` as `swkweb_buy_x_pay_y_promotion.ruleId`, `swkweb_buy_x_pay_y_promotion`.`x` as `swkweb_buy_x_pay_y_promotion.x`, `swkweb_buy_x_pay_y_promotion`.`y` as `swkweb_buy_x_pay_y_promotion.y`, `swkweb_buy_x_pay_y_promotion`.`minimum_quantity` as `swkweb_buy_x_pay_y_promotion.minimumQuantity`, `swkweb_buy_x_pay_y_promotion`.`priority` as `swkweb_buy_x_pay_y_promotion.priority`, `swkweb_buy_x_pay_y_promotion`.`cross_variant` as `swkweb_buy_x_pay_y_promotion.crossVariant`, `swkweb_buy_x_pay_y_promotion`.`active` as `swkweb_buy_x_pay_y_promotion.active`, `swkweb_buy_x_pay_y_promotion`.`created_at` as `swkweb_buy_x_pay_y_promotion.createdAt`, `swkweb_buy_x_pay_y_promotion`.`updated_at` as `swkweb_buy_x_pay_y_promotion.updatedAt`, `swkweb_buy_x_pay_y_promotion.translation.name`, COALESCE(`swkweb_buy_x_pay_y_promotion.translation.name`,`swkweb_buy_x_pay_y_promotion.translation.name`) as `swkweb_buy_x_pay_y_promotion.name`, `swkweb_buy_x_pay_y_promotion.translation.createdAt`, `swkweb_buy_x_pay_y_promotion.translation.updatedAt`, `swkweb_buy_x_pay_y_promotion.translation.swkwebBuyXPayYPromotionId`, `swkweb_buy_x_pay_y_promotion.translation.languageId` FROM `swkweb_buy_x_pay_y_promotion` LEFT JOIN (SELECT `swkweb_buy_x_pay_y_promotion.translation`.swkweb_buy_x_pay_y_promotion_id, `swkweb_buy_x_pay_y_promotion.translation`.name as `swkweb_buy_x_pay_y_promotion.translation.name`, `swkweb_buy_x_pay_y_promotion.translation`.created_at as `swkweb_buy_x_pay_y_promotion.translation.createdAt`, `swkweb_buy_x_pay_y_promotion.translation`.updated_at as `swkweb_buy_x_pay_y_promotion.translation.updatedAt`, `swkweb_buy_x_pay_y_promotion.translation`.swkweb_buy_x_pay_y_promotion_id as `swkweb_buy_x_pay_y_promotion.translation.swkwebBuyXPayYPromotionId`, `swkweb_buy_x_pay_y_promotion.translation`.language_id as `swkweb_buy_x_pay_y_promotion.translation.languageId` FROM `swkweb_buy_x_pay_y_promotion_translation` `swkweb_buy_x_pay_y_promotion.translation` WHERE `swkweb_buy_x_pay_y_promotion.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `swkweb_buy_x_pay_y_promotion.swkweb_buy_x_pay_y_promotion_translation` ON `swkweb_buy_x_pay_y_promotion.swkweb_buy_x_pay_y_promotion_translation`.`swkweb_buy_x_pay_y_promotion_id` = `swkweb_buy_x_pay_y_promotion`.`id` WHERE (`swkweb_buy_x_pay_y_promotion`.`active` = 1 AND (`swkweb_buy_x_pay_y_promotion`.`rule_id` <=> NULL OR `swkweb_buy_x_pay_y_promotion`.`rule_id` IN (0x49E60033EEB14964AD30BBB2541A8832, 0x507D0ACF066F4AC8B4A5E137CC6A65D5, 0x624B5351CE6749F68E0173D176FC7D74, 0x1BD29ADF87934E51BCBC2A63DF3E5CD7, 0x54CA109BE7B94338B399B13A5D9CA690, 0x5B69F678101F40C3BBB95AD64C44F6C1, 0x888B2606F41C41E18E8E62EBD8019726, 0xB4449920AE794758AB3917DF10AA6A55, 0xC3D21140F4DF402C9BDF65AF4F7EAAAA, 0x605E84F76B374BAB8CFCEC73E9218201, 0xBA542F4FF2854B9EB943CBB0473A8D59)));
array:42 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
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 78)"
10 => "Swkweb\BuyXPayY\Core\Checkout\BuyXPayYPromotion\SalesChannel\BuyXPayYPromotionGateway::fetchPromotions (line 50)"
11 => "Swkweb\BuyXPayY\Core\Checkout\BuyXPayYPromotion\SalesChannel\BuyXPayYPromotionGateway::getPromotions (line 24)"
12 => "Swkweb\BuyXPayY\Core\Content\Product\SalesChannel\ProductBuyXPayYPromotionHelper::loadPromotions (line 53)"
13 => "Swkweb\BuyXPayY\Core\Content\Product\Cms\ProductSliderCmsElementResolver::enrich (line 237)"
14 => "Bodymed\Webshop\Core\Content\Product\Cms\ProductSliderCmsElementResolver::enrich (line 99)"
15 => "Shopware\Core\Content\Cms\DataResolver\CmsSlotsDataResolver::resolve (line 104)"
16 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::loadSlotData (line 94)"
17 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::load (line 102)"
18 => "Shopware\Core\Content\Category\SalesChannel\CategoryRoute::load (line 103)"
19 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 350)"
20 => "Shopware\Core\System\SystemConfig\SystemConfigService::trace (line 44)"
21 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 120)"
22 => "Shopware\Core\Framework\Adapter\Translation\Translator::trace (line 45)"
23 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 46)"
24 => "Shopware\Core\Framework\Adapter\Cache\CacheTagCollection::trace (line 46)"
25 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::trace (line 41)"
26 => "Shopware\Storefront\Framework\Cache\CacheTracer::Shopware\Storefront\Framework\Cache\{closure} (line 59)"
27 => "Shopware\Storefront\Theme\ThemeConfigValueAccessor::trace (line 42)"
28 => "Shopware\Storefront\Framework\Cache\CacheTracer::trace (line 104)"
29 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 72)"
30 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
31 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 109)"
32 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 59)"
33 => "Shopware\Core\Profiling\Profiler::trace (line 112)"
34 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::load (line 66)"
35 => "Shopware\Storefront\Page\Navigation\NavigationPageLoader::load (line 48)"
36 => "Shopware\Storefront\Controller\NavigationController::home (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 75)"
]
|
116 |
2.42 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_4c0d2498dd2f40e2bfcf314258b652c8)
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_4c0d2498dd2f40e2bfcf314258b652c8
)
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 238)"
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 50)"
17 => "Shopware\Storefront\Controller\NavigationController::home (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 75)"
]
|
117 |
0.92 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 50)"
7 => "Shopware\Storefront\Controller\NavigationController::home (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 75)"
]
|
118 |
0.56 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 50)"
7 => "Shopware\Storefront\Controller\NavigationController::home (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 75)"
]
|
119 |
0.47 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 52)"
9 => "Shopware\Storefront\Controller\NavigationController::home (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 75)"
]
|
120 |
0.60 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 52)"
14 => "Shopware\Storefront\Controller\NavigationController::home (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 75)"
]
|
121 |
2.06 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_e4cdabf72e5246ed9879c7c8c9f7b276 OR (`media`.`private` = :param_bf58991be9aa4e899f3b4cf4fd53d1ad AND `media.mediaFolder.defaultFolder`.`entity` = :param_cf60f5f546024a99b0f2d2749da12a14)))) 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 (0x005A5D3565B74D46A9488FA4C401D0A1));
array:101 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
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 257)"
12 => "__TwigTemplate_fd8d5b256d312c5be99b5c665c7d3c38::block_element_hero_slider_inner (line 171)"
13 => "Twig\Template::displayBlock (line 100)"
14 => "__TwigTemplate_fd8d5b256d312c5be99b5c665c7d3c38::block_element_hero_slider (line 171)"
15 => "Twig\Template::displayBlock (line 53)"
16 => "__TwigTemplate_fd8d5b256d312c5be99b5c665c7d3c38::doDisplay (line 394)"
17 => "Twig\Template::displayWithErrorHandling (line 367)"
18 => "Twig\Template::display (line 63)"
19 => "__TwigTemplate_a73bc428d67ccf41d9eb06bc898c7144::doDisplay (line 394)"
20 => "Twig\Template::displayWithErrorHandling (line 367)"
21 => "Twig\Template::display (line 326)"
22 => "__TwigTemplate_de51fe3149c36c2d13038f03675e7186::block_section_content_block_row (line 171)"
23 => "Twig\Template::displayBlock (line 285)"
24 => "__TwigTemplate_de51fe3149c36c2d13038f03675e7186::block_section_content_block_container (line 171)"
25 => "Twig\Template::displayBlock (line 213)"
26 => "__TwigTemplate_de51fe3149c36c2d13038f03675e7186::block_section_content_block (line 171)"
27 => "Twig\Template::displayBlock (line 49)"
28 => "__TwigTemplate_de51fe3149c36c2d13038f03675e7186::doDisplay (line 394)"
29 => "Twig\Template::displayWithErrorHandling (line 367)"
30 => "Twig\Template::display (line 132)"
31 => "__TwigTemplate_2166dd94fe780598b8fdcf72ddd769c9::block_section_default_content_block (line 171)"
32 => "Twig\Template::displayBlock (line 94)"
33 => "__TwigTemplate_2166dd94fe780598b8fdcf72ddd769c9::block_page_content_section_default (line 171)"
34 => "Twig\Template::displayBlock (line 47)"
35 => "__TwigTemplate_2166dd94fe780598b8fdcf72ddd769c9::doDisplay (line 394)"
36 => "Twig\Template::displayWithErrorHandling (line 367)"
37 => "Twig\Template::display (line 221)"
38 => "__TwigTemplate_2698d288dda261b2d5360419617c8736::block_page_content_section (line 171)"
39 => "Twig\Template::displayBlock (line 135)"
40 => "__TwigTemplate_2698d288dda261b2d5360419617c8736::block_page_content_sections_inner (line 171)"
41 => "Twig\Template::displayBlock (line 47)"
42 => "__TwigTemplate_fe3011e8614935f2877430f24082e841::doDisplay (line 394)"
43 => "Twig\Template::displayWithErrorHandling (line 367)"
44 => "Twig\Template::display (line 50)"
45 => "__TwigTemplate_e550e0b90883c1187f499e90e2cd999a::doDisplay (line 394)"
46 => "Twig\Template::displayWithErrorHandling (line 367)"
47 => "Twig\Template::display (line 51)"
48 => "__TwigTemplate_2698d288dda261b2d5360419617c8736::doDisplay (line 394)"
49 => "Twig\Template::displayWithErrorHandling (line 367)"
50 => "Twig\Template::display (line 211)"
51 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::block_page_content_blocks (line 171)"
52 => "Twig\Template::displayBlock (line 187)"
53 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::block_cms_content (line 171)"
54 => "Twig\Template::displayBlock (line 106)"
55 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::block_page_content (line 171)"
56 => "Twig\Template::displayBlock (line 77)"
57 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::block_base_main_inner (line 171)"
58 => "Twig\Template::displayBlock (line 504)"
59 => "__TwigTemplate_edfe32b5c98942de2b24393e846ea184::block_base_main (line 171)"
60 => "Twig\Template::displayBlock (line 191)"
61 => "Twig\Template::displayBlock (line 134)"
62 => "Twig\Template::displayParentBlock (line 71)"
63 => "__TwigTemplate_3d4777fcf75842349da241d4044d7d72::block_base_main (line 171)"
64 => "Twig\Template::displayBlock (line 283)"
65 => "__TwigTemplate_edfe32b5c98942de2b24393e846ea184::block_base_body_inner (line 171)"
66 => "Twig\Template::displayBlock (line 193)"
67 => "__TwigTemplate_edfe32b5c98942de2b24393e846ea184::block_base_body (line 171)"
68 => "Twig\Template::displayBlock (line 97)"
69 => "__TwigTemplate_edfe32b5c98942de2b24393e846ea184::doDisplay (line 394)"
70 => "Twig\Template::displayWithErrorHandling (line 367)"
71 => "Twig\Template::display (line 49)"
72 => "__TwigTemplate_317ed82f740e5079054f5b72bb59033c::doDisplay (line 394)"
73 => "Twig\Template::displayWithErrorHandling (line 367)"
74 => "Twig\Template::display (line 50)"
75 => "__TwigTemplate_3d4777fcf75842349da241d4044d7d72::doDisplay (line 394)"
76 => "Twig\Template::displayWithErrorHandling (line 367)"
77 => "Twig\Template::display (line 50)"
78 => "__TwigTemplate_aa1832859ad5b25e9cc640dfcf28a0bc::doDisplay (line 394)"
79 => "Twig\Template::displayWithErrorHandling (line 367)"
80 => "Twig\Template::display (line 54)"
81 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::doDisplay (line 394)"
82 => "Twig\Template::displayWithErrorHandling (line 367)"
83 => "Twig\Template::display (line 52)"
84 => "__TwigTemplate_da551205fea81b0c3b361980c09151e2::doDisplay (line 394)"
85 => "Twig\Template::displayWithErrorHandling (line 367)"
86 => "Twig\Template::display (line 379)"
87 => "Twig\Template::render (line 40)"
88 => "Twig\TemplateWrapper::render (line 277)"
89 => "Twig\Environment::render (line 235)"
90 => "Shopware\Storefront\Controller\StorefrontController::renderView (line 266)"
91 => "Symfony\Bundle\FrameworkBundle\Controller\AbstractController::render (line 72)"
92 => "Shopware\Storefront\Controller\StorefrontController::Shopware\Storefront\Controller\{closure} (line 59)"
93 => "Shopware\Core\Profiling\Profiler::trace (line 73)"
94 => "Shopware\Storefront\Controller\StorefrontController::renderStorefront (line 52)"
95 => "Shopware\Storefront\Controller\NavigationController::home (line 163)"
96 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
97 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
98 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
99 => "Shopware\Core\HttpKernel::doHandle (line 81)"
100 => "Shopware\Core\HttpKernel::handle (line 75)"
]
|
122 |
1.84 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_39b076e2d4ca4b2e8a6e00d3380a862e OR (`media`.`private` = :param_fdb8b75427144efba1c8eb2b9ebaf022 AND `media.mediaFolder.defaultFolder`.`entity` = :param_8d16a54642694a7db1f3adc27ed37645)))) 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 (0x3DFEDB66EA984F389361F40451F2F780));
array:101 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
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 257)"
12 => "__TwigTemplate_fd8d5b256d312c5be99b5c665c7d3c38::block_element_hero_slider_inner (line 171)"
13 => "Twig\Template::displayBlock (line 100)"
14 => "__TwigTemplate_fd8d5b256d312c5be99b5c665c7d3c38::block_element_hero_slider (line 171)"
15 => "Twig\Template::displayBlock (line 53)"
16 => "__TwigTemplate_fd8d5b256d312c5be99b5c665c7d3c38::doDisplay (line 394)"
17 => "Twig\Template::displayWithErrorHandling (line 367)"
18 => "Twig\Template::display (line 63)"
19 => "__TwigTemplate_a73bc428d67ccf41d9eb06bc898c7144::doDisplay (line 394)"
20 => "Twig\Template::displayWithErrorHandling (line 367)"
21 => "Twig\Template::display (line 326)"
22 => "__TwigTemplate_de51fe3149c36c2d13038f03675e7186::block_section_content_block_row (line 171)"
23 => "Twig\Template::displayBlock (line 285)"
24 => "__TwigTemplate_de51fe3149c36c2d13038f03675e7186::block_section_content_block_container (line 171)"
25 => "Twig\Template::displayBlock (line 213)"
26 => "__TwigTemplate_de51fe3149c36c2d13038f03675e7186::block_section_content_block (line 171)"
27 => "Twig\Template::displayBlock (line 49)"
28 => "__TwigTemplate_de51fe3149c36c2d13038f03675e7186::doDisplay (line 394)"
29 => "Twig\Template::displayWithErrorHandling (line 367)"
30 => "Twig\Template::display (line 132)"
31 => "__TwigTemplate_2166dd94fe780598b8fdcf72ddd769c9::block_section_default_content_block (line 171)"
32 => "Twig\Template::displayBlock (line 94)"
33 => "__TwigTemplate_2166dd94fe780598b8fdcf72ddd769c9::block_page_content_section_default (line 171)"
34 => "Twig\Template::displayBlock (line 47)"
35 => "__TwigTemplate_2166dd94fe780598b8fdcf72ddd769c9::doDisplay (line 394)"
36 => "Twig\Template::displayWithErrorHandling (line 367)"
37 => "Twig\Template::display (line 221)"
38 => "__TwigTemplate_2698d288dda261b2d5360419617c8736::block_page_content_section (line 171)"
39 => "Twig\Template::displayBlock (line 135)"
40 => "__TwigTemplate_2698d288dda261b2d5360419617c8736::block_page_content_sections_inner (line 171)"
41 => "Twig\Template::displayBlock (line 47)"
42 => "__TwigTemplate_fe3011e8614935f2877430f24082e841::doDisplay (line 394)"
43 => "Twig\Template::displayWithErrorHandling (line 367)"
44 => "Twig\Template::display (line 50)"
45 => "__TwigTemplate_e550e0b90883c1187f499e90e2cd999a::doDisplay (line 394)"
46 => "Twig\Template::displayWithErrorHandling (line 367)"
47 => "Twig\Template::display (line 51)"
48 => "__TwigTemplate_2698d288dda261b2d5360419617c8736::doDisplay (line 394)"
49 => "Twig\Template::displayWithErrorHandling (line 367)"
50 => "Twig\Template::display (line 211)"
51 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::block_page_content_blocks (line 171)"
52 => "Twig\Template::displayBlock (line 187)"
53 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::block_cms_content (line 171)"
54 => "Twig\Template::displayBlock (line 106)"
55 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::block_page_content (line 171)"
56 => "Twig\Template::displayBlock (line 77)"
57 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::block_base_main_inner (line 171)"
58 => "Twig\Template::displayBlock (line 504)"
59 => "__TwigTemplate_edfe32b5c98942de2b24393e846ea184::block_base_main (line 171)"
60 => "Twig\Template::displayBlock (line 191)"
61 => "Twig\Template::displayBlock (line 134)"
62 => "Twig\Template::displayParentBlock (line 71)"
63 => "__TwigTemplate_3d4777fcf75842349da241d4044d7d72::block_base_main (line 171)"
64 => "Twig\Template::displayBlock (line 283)"
65 => "__TwigTemplate_edfe32b5c98942de2b24393e846ea184::block_base_body_inner (line 171)"
66 => "Twig\Template::displayBlock (line 193)"
67 => "__TwigTemplate_edfe32b5c98942de2b24393e846ea184::block_base_body (line 171)"
68 => "Twig\Template::displayBlock (line 97)"
69 => "__TwigTemplate_edfe32b5c98942de2b24393e846ea184::doDisplay (line 394)"
70 => "Twig\Template::displayWithErrorHandling (line 367)"
71 => "Twig\Template::display (line 49)"
72 => "__TwigTemplate_317ed82f740e5079054f5b72bb59033c::doDisplay (line 394)"
73 => "Twig\Template::displayWithErrorHandling (line 367)"
74 => "Twig\Template::display (line 50)"
75 => "__TwigTemplate_3d4777fcf75842349da241d4044d7d72::doDisplay (line 394)"
76 => "Twig\Template::displayWithErrorHandling (line 367)"
77 => "Twig\Template::display (line 50)"
78 => "__TwigTemplate_aa1832859ad5b25e9cc640dfcf28a0bc::doDisplay (line 394)"
79 => "Twig\Template::displayWithErrorHandling (line 367)"
80 => "Twig\Template::display (line 54)"
81 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::doDisplay (line 394)"
82 => "Twig\Template::displayWithErrorHandling (line 367)"
83 => "Twig\Template::display (line 52)"
84 => "__TwigTemplate_da551205fea81b0c3b361980c09151e2::doDisplay (line 394)"
85 => "Twig\Template::displayWithErrorHandling (line 367)"
86 => "Twig\Template::display (line 379)"
87 => "Twig\Template::render (line 40)"
88 => "Twig\TemplateWrapper::render (line 277)"
89 => "Twig\Environment::render (line 235)"
90 => "Shopware\Storefront\Controller\StorefrontController::renderView (line 266)"
91 => "Symfony\Bundle\FrameworkBundle\Controller\AbstractController::render (line 72)"
92 => "Shopware\Storefront\Controller\StorefrontController::Shopware\Storefront\Controller\{closure} (line 59)"
93 => "Shopware\Core\Profiling\Profiler::trace (line 73)"
94 => "Shopware\Storefront\Controller\StorefrontController::renderStorefront (line 52)"
95 => "Shopware\Storefront\Controller\NavigationController::home (line 163)"
96 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
97 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
98 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
99 => "Shopware\Core\HttpKernel::doHandle (line 81)"
100 => "Shopware\Core\HttpKernel::handle (line 75)"
]
|
123 |
1.56 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_79d9248166fc47d5b1261fbd4de30ec6 OR (`media`.`private` = :param_51328d0107c641d79de5aa2d13b672e2 AND `media.mediaFolder.defaultFolder`.`entity` = :param_c60282087987402089af0b1cf69a7f96)))) 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 (0x4D7ABC71D5B04C6C90D254556520A26C));
array:101 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
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 257)"
12 => "__TwigTemplate_fd8d5b256d312c5be99b5c665c7d3c38::block_element_hero_slider_inner (line 171)"
13 => "Twig\Template::displayBlock (line 100)"
14 => "__TwigTemplate_fd8d5b256d312c5be99b5c665c7d3c38::block_element_hero_slider (line 171)"
15 => "Twig\Template::displayBlock (line 53)"
16 => "__TwigTemplate_fd8d5b256d312c5be99b5c665c7d3c38::doDisplay (line 394)"
17 => "Twig\Template::displayWithErrorHandling (line 367)"
18 => "Twig\Template::display (line 63)"
19 => "__TwigTemplate_a73bc428d67ccf41d9eb06bc898c7144::doDisplay (line 394)"
20 => "Twig\Template::displayWithErrorHandling (line 367)"
21 => "Twig\Template::display (line 326)"
22 => "__TwigTemplate_de51fe3149c36c2d13038f03675e7186::block_section_content_block_row (line 171)"
23 => "Twig\Template::displayBlock (line 285)"
24 => "__TwigTemplate_de51fe3149c36c2d13038f03675e7186::block_section_content_block_container (line 171)"
25 => "Twig\Template::displayBlock (line 213)"
26 => "__TwigTemplate_de51fe3149c36c2d13038f03675e7186::block_section_content_block (line 171)"
27 => "Twig\Template::displayBlock (line 49)"
28 => "__TwigTemplate_de51fe3149c36c2d13038f03675e7186::doDisplay (line 394)"
29 => "Twig\Template::displayWithErrorHandling (line 367)"
30 => "Twig\Template::display (line 132)"
31 => "__TwigTemplate_2166dd94fe780598b8fdcf72ddd769c9::block_section_default_content_block (line 171)"
32 => "Twig\Template::displayBlock (line 94)"
33 => "__TwigTemplate_2166dd94fe780598b8fdcf72ddd769c9::block_page_content_section_default (line 171)"
34 => "Twig\Template::displayBlock (line 47)"
35 => "__TwigTemplate_2166dd94fe780598b8fdcf72ddd769c9::doDisplay (line 394)"
36 => "Twig\Template::displayWithErrorHandling (line 367)"
37 => "Twig\Template::display (line 221)"
38 => "__TwigTemplate_2698d288dda261b2d5360419617c8736::block_page_content_section (line 171)"
39 => "Twig\Template::displayBlock (line 135)"
40 => "__TwigTemplate_2698d288dda261b2d5360419617c8736::block_page_content_sections_inner (line 171)"
41 => "Twig\Template::displayBlock (line 47)"
42 => "__TwigTemplate_fe3011e8614935f2877430f24082e841::doDisplay (line 394)"
43 => "Twig\Template::displayWithErrorHandling (line 367)"
44 => "Twig\Template::display (line 50)"
45 => "__TwigTemplate_e550e0b90883c1187f499e90e2cd999a::doDisplay (line 394)"
46 => "Twig\Template::displayWithErrorHandling (line 367)"
47 => "Twig\Template::display (line 51)"
48 => "__TwigTemplate_2698d288dda261b2d5360419617c8736::doDisplay (line 394)"
49 => "Twig\Template::displayWithErrorHandling (line 367)"
50 => "Twig\Template::display (line 211)"
51 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::block_page_content_blocks (line 171)"
52 => "Twig\Template::displayBlock (line 187)"
53 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::block_cms_content (line 171)"
54 => "Twig\Template::displayBlock (line 106)"
55 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::block_page_content (line 171)"
56 => "Twig\Template::displayBlock (line 77)"
57 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::block_base_main_inner (line 171)"
58 => "Twig\Template::displayBlock (line 504)"
59 => "__TwigTemplate_edfe32b5c98942de2b24393e846ea184::block_base_main (line 171)"
60 => "Twig\Template::displayBlock (line 191)"
61 => "Twig\Template::displayBlock (line 134)"
62 => "Twig\Template::displayParentBlock (line 71)"
63 => "__TwigTemplate_3d4777fcf75842349da241d4044d7d72::block_base_main (line 171)"
64 => "Twig\Template::displayBlock (line 283)"
65 => "__TwigTemplate_edfe32b5c98942de2b24393e846ea184::block_base_body_inner (line 171)"
66 => "Twig\Template::displayBlock (line 193)"
67 => "__TwigTemplate_edfe32b5c98942de2b24393e846ea184::block_base_body (line 171)"
68 => "Twig\Template::displayBlock (line 97)"
69 => "__TwigTemplate_edfe32b5c98942de2b24393e846ea184::doDisplay (line 394)"
70 => "Twig\Template::displayWithErrorHandling (line 367)"
71 => "Twig\Template::display (line 49)"
72 => "__TwigTemplate_317ed82f740e5079054f5b72bb59033c::doDisplay (line 394)"
73 => "Twig\Template::displayWithErrorHandling (line 367)"
74 => "Twig\Template::display (line 50)"
75 => "__TwigTemplate_3d4777fcf75842349da241d4044d7d72::doDisplay (line 394)"
76 => "Twig\Template::displayWithErrorHandling (line 367)"
77 => "Twig\Template::display (line 50)"
78 => "__TwigTemplate_aa1832859ad5b25e9cc640dfcf28a0bc::doDisplay (line 394)"
79 => "Twig\Template::displayWithErrorHandling (line 367)"
80 => "Twig\Template::display (line 54)"
81 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::doDisplay (line 394)"
82 => "Twig\Template::displayWithErrorHandling (line 367)"
83 => "Twig\Template::display (line 52)"
84 => "__TwigTemplate_da551205fea81b0c3b361980c09151e2::doDisplay (line 394)"
85 => "Twig\Template::displayWithErrorHandling (line 367)"
86 => "Twig\Template::display (line 379)"
87 => "Twig\Template::render (line 40)"
88 => "Twig\TemplateWrapper::render (line 277)"
89 => "Twig\Environment::render (line 235)"
90 => "Shopware\Storefront\Controller\StorefrontController::renderView (line 266)"
91 => "Symfony\Bundle\FrameworkBundle\Controller\AbstractController::render (line 72)"
92 => "Shopware\Storefront\Controller\StorefrontController::Shopware\Storefront\Controller\{closure} (line 59)"
93 => "Shopware\Core\Profiling\Profiler::trace (line 73)"
94 => "Shopware\Storefront\Controller\StorefrontController::renderStorefront (line 52)"
95 => "Shopware\Storefront\Controller\NavigationController::home (line 163)"
96 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
97 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
98 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
99 => "Shopware\Core\HttpKernel::doHandle (line 81)"
100 => "Shopware\Core\HttpKernel::handle (line 75)"
]
|
124 |
1.37 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_aad93d9a6bdb4bd0bd33636a362e8420 OR (`media`.`private` = :param_e2265b06269d4064bfcd8e1be132cdea AND `media.mediaFolder.defaultFolder`.`entity` = :param_643569b3d24c469ab90d35629c5a175d)))) 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 (0x880E333528C04932BB9571C9D79FACFF));
array:101 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
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 257)"
12 => "__TwigTemplate_fd8d5b256d312c5be99b5c665c7d3c38::block_element_hero_slider_inner (line 171)"
13 => "Twig\Template::displayBlock (line 100)"
14 => "__TwigTemplate_fd8d5b256d312c5be99b5c665c7d3c38::block_element_hero_slider (line 171)"
15 => "Twig\Template::displayBlock (line 53)"
16 => "__TwigTemplate_fd8d5b256d312c5be99b5c665c7d3c38::doDisplay (line 394)"
17 => "Twig\Template::displayWithErrorHandling (line 367)"
18 => "Twig\Template::display (line 63)"
19 => "__TwigTemplate_a73bc428d67ccf41d9eb06bc898c7144::doDisplay (line 394)"
20 => "Twig\Template::displayWithErrorHandling (line 367)"
21 => "Twig\Template::display (line 326)"
22 => "__TwigTemplate_de51fe3149c36c2d13038f03675e7186::block_section_content_block_row (line 171)"
23 => "Twig\Template::displayBlock (line 285)"
24 => "__TwigTemplate_de51fe3149c36c2d13038f03675e7186::block_section_content_block_container (line 171)"
25 => "Twig\Template::displayBlock (line 213)"
26 => "__TwigTemplate_de51fe3149c36c2d13038f03675e7186::block_section_content_block (line 171)"
27 => "Twig\Template::displayBlock (line 49)"
28 => "__TwigTemplate_de51fe3149c36c2d13038f03675e7186::doDisplay (line 394)"
29 => "Twig\Template::displayWithErrorHandling (line 367)"
30 => "Twig\Template::display (line 132)"
31 => "__TwigTemplate_2166dd94fe780598b8fdcf72ddd769c9::block_section_default_content_block (line 171)"
32 => "Twig\Template::displayBlock (line 94)"
33 => "__TwigTemplate_2166dd94fe780598b8fdcf72ddd769c9::block_page_content_section_default (line 171)"
34 => "Twig\Template::displayBlock (line 47)"
35 => "__TwigTemplate_2166dd94fe780598b8fdcf72ddd769c9::doDisplay (line 394)"
36 => "Twig\Template::displayWithErrorHandling (line 367)"
37 => "Twig\Template::display (line 221)"
38 => "__TwigTemplate_2698d288dda261b2d5360419617c8736::block_page_content_section (line 171)"
39 => "Twig\Template::displayBlock (line 135)"
40 => "__TwigTemplate_2698d288dda261b2d5360419617c8736::block_page_content_sections_inner (line 171)"
41 => "Twig\Template::displayBlock (line 47)"
42 => "__TwigTemplate_fe3011e8614935f2877430f24082e841::doDisplay (line 394)"
43 => "Twig\Template::displayWithErrorHandling (line 367)"
44 => "Twig\Template::display (line 50)"
45 => "__TwigTemplate_e550e0b90883c1187f499e90e2cd999a::doDisplay (line 394)"
46 => "Twig\Template::displayWithErrorHandling (line 367)"
47 => "Twig\Template::display (line 51)"
48 => "__TwigTemplate_2698d288dda261b2d5360419617c8736::doDisplay (line 394)"
49 => "Twig\Template::displayWithErrorHandling (line 367)"
50 => "Twig\Template::display (line 211)"
51 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::block_page_content_blocks (line 171)"
52 => "Twig\Template::displayBlock (line 187)"
53 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::block_cms_content (line 171)"
54 => "Twig\Template::displayBlock (line 106)"
55 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::block_page_content (line 171)"
56 => "Twig\Template::displayBlock (line 77)"
57 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::block_base_main_inner (line 171)"
58 => "Twig\Template::displayBlock (line 504)"
59 => "__TwigTemplate_edfe32b5c98942de2b24393e846ea184::block_base_main (line 171)"
60 => "Twig\Template::displayBlock (line 191)"
61 => "Twig\Template::displayBlock (line 134)"
62 => "Twig\Template::displayParentBlock (line 71)"
63 => "__TwigTemplate_3d4777fcf75842349da241d4044d7d72::block_base_main (line 171)"
64 => "Twig\Template::displayBlock (line 283)"
65 => "__TwigTemplate_edfe32b5c98942de2b24393e846ea184::block_base_body_inner (line 171)"
66 => "Twig\Template::displayBlock (line 193)"
67 => "__TwigTemplate_edfe32b5c98942de2b24393e846ea184::block_base_body (line 171)"
68 => "Twig\Template::displayBlock (line 97)"
69 => "__TwigTemplate_edfe32b5c98942de2b24393e846ea184::doDisplay (line 394)"
70 => "Twig\Template::displayWithErrorHandling (line 367)"
71 => "Twig\Template::display (line 49)"
72 => "__TwigTemplate_317ed82f740e5079054f5b72bb59033c::doDisplay (line 394)"
73 => "Twig\Template::displayWithErrorHandling (line 367)"
74 => "Twig\Template::display (line 50)"
75 => "__TwigTemplate_3d4777fcf75842349da241d4044d7d72::doDisplay (line 394)"
76 => "Twig\Template::displayWithErrorHandling (line 367)"
77 => "Twig\Template::display (line 50)"
78 => "__TwigTemplate_aa1832859ad5b25e9cc640dfcf28a0bc::doDisplay (line 394)"
79 => "Twig\Template::displayWithErrorHandling (line 367)"
80 => "Twig\Template::display (line 54)"
81 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::doDisplay (line 394)"
82 => "Twig\Template::displayWithErrorHandling (line 367)"
83 => "Twig\Template::display (line 52)"
84 => "__TwigTemplate_da551205fea81b0c3b361980c09151e2::doDisplay (line 394)"
85 => "Twig\Template::displayWithErrorHandling (line 367)"
86 => "Twig\Template::display (line 379)"
87 => "Twig\Template::render (line 40)"
88 => "Twig\TemplateWrapper::render (line 277)"
89 => "Twig\Environment::render (line 235)"
90 => "Shopware\Storefront\Controller\StorefrontController::renderView (line 266)"
91 => "Symfony\Bundle\FrameworkBundle\Controller\AbstractController::render (line 72)"
92 => "Shopware\Storefront\Controller\StorefrontController::Shopware\Storefront\Controller\{closure} (line 59)"
93 => "Shopware\Core\Profiling\Profiler::trace (line 73)"
94 => "Shopware\Storefront\Controller\StorefrontController::renderStorefront (line 52)"
95 => "Shopware\Storefront\Controller\NavigationController::home (line 163)"
96 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
97 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
98 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
99 => "Shopware\Core\HttpKernel::doHandle (line 81)"
100 => "Shopware\Core\HttpKernel::handle (line 75)"
]
|
125 |
1.22 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_e274406b1cd1477ab88e12a74e3a8fa6 OR (`media`.`private` = :param_f7b5023b83e94920a01dffc4240bd36e AND `media.mediaFolder.defaultFolder`.`entity` = :param_7cdbb15cb65549f69b8269468ea956c2)))) 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 (0x9945FE7E96594C5AAFEFC734538E2F4E));
array:101 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
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 354)"
12 => "__TwigTemplate_fd8d5b256d312c5be99b5c665c7d3c38::block_element_hero_slider_inner (line 171)"
13 => "Twig\Template::displayBlock (line 100)"
14 => "__TwigTemplate_fd8d5b256d312c5be99b5c665c7d3c38::block_element_hero_slider (line 171)"
15 => "Twig\Template::displayBlock (line 53)"
16 => "__TwigTemplate_fd8d5b256d312c5be99b5c665c7d3c38::doDisplay (line 394)"
17 => "Twig\Template::displayWithErrorHandling (line 367)"
18 => "Twig\Template::display (line 63)"
19 => "__TwigTemplate_a73bc428d67ccf41d9eb06bc898c7144::doDisplay (line 394)"
20 => "Twig\Template::displayWithErrorHandling (line 367)"
21 => "Twig\Template::display (line 326)"
22 => "__TwigTemplate_de51fe3149c36c2d13038f03675e7186::block_section_content_block_row (line 171)"
23 => "Twig\Template::displayBlock (line 285)"
24 => "__TwigTemplate_de51fe3149c36c2d13038f03675e7186::block_section_content_block_container (line 171)"
25 => "Twig\Template::displayBlock (line 213)"
26 => "__TwigTemplate_de51fe3149c36c2d13038f03675e7186::block_section_content_block (line 171)"
27 => "Twig\Template::displayBlock (line 49)"
28 => "__TwigTemplate_de51fe3149c36c2d13038f03675e7186::doDisplay (line 394)"
29 => "Twig\Template::displayWithErrorHandling (line 367)"
30 => "Twig\Template::display (line 132)"
31 => "__TwigTemplate_2166dd94fe780598b8fdcf72ddd769c9::block_section_default_content_block (line 171)"
32 => "Twig\Template::displayBlock (line 94)"
33 => "__TwigTemplate_2166dd94fe780598b8fdcf72ddd769c9::block_page_content_section_default (line 171)"
34 => "Twig\Template::displayBlock (line 47)"
35 => "__TwigTemplate_2166dd94fe780598b8fdcf72ddd769c9::doDisplay (line 394)"
36 => "Twig\Template::displayWithErrorHandling (line 367)"
37 => "Twig\Template::display (line 221)"
38 => "__TwigTemplate_2698d288dda261b2d5360419617c8736::block_page_content_section (line 171)"
39 => "Twig\Template::displayBlock (line 135)"
40 => "__TwigTemplate_2698d288dda261b2d5360419617c8736::block_page_content_sections_inner (line 171)"
41 => "Twig\Template::displayBlock (line 47)"
42 => "__TwigTemplate_fe3011e8614935f2877430f24082e841::doDisplay (line 394)"
43 => "Twig\Template::displayWithErrorHandling (line 367)"
44 => "Twig\Template::display (line 50)"
45 => "__TwigTemplate_e550e0b90883c1187f499e90e2cd999a::doDisplay (line 394)"
46 => "Twig\Template::displayWithErrorHandling (line 367)"
47 => "Twig\Template::display (line 51)"
48 => "__TwigTemplate_2698d288dda261b2d5360419617c8736::doDisplay (line 394)"
49 => "Twig\Template::displayWithErrorHandling (line 367)"
50 => "Twig\Template::display (line 211)"
51 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::block_page_content_blocks (line 171)"
52 => "Twig\Template::displayBlock (line 187)"
53 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::block_cms_content (line 171)"
54 => "Twig\Template::displayBlock (line 106)"
55 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::block_page_content (line 171)"
56 => "Twig\Template::displayBlock (line 77)"
57 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::block_base_main_inner (line 171)"
58 => "Twig\Template::displayBlock (line 504)"
59 => "__TwigTemplate_edfe32b5c98942de2b24393e846ea184::block_base_main (line 171)"
60 => "Twig\Template::displayBlock (line 191)"
61 => "Twig\Template::displayBlock (line 134)"
62 => "Twig\Template::displayParentBlock (line 71)"
63 => "__TwigTemplate_3d4777fcf75842349da241d4044d7d72::block_base_main (line 171)"
64 => "Twig\Template::displayBlock (line 283)"
65 => "__TwigTemplate_edfe32b5c98942de2b24393e846ea184::block_base_body_inner (line 171)"
66 => "Twig\Template::displayBlock (line 193)"
67 => "__TwigTemplate_edfe32b5c98942de2b24393e846ea184::block_base_body (line 171)"
68 => "Twig\Template::displayBlock (line 97)"
69 => "__TwigTemplate_edfe32b5c98942de2b24393e846ea184::doDisplay (line 394)"
70 => "Twig\Template::displayWithErrorHandling (line 367)"
71 => "Twig\Template::display (line 49)"
72 => "__TwigTemplate_317ed82f740e5079054f5b72bb59033c::doDisplay (line 394)"
73 => "Twig\Template::displayWithErrorHandling (line 367)"
74 => "Twig\Template::display (line 50)"
75 => "__TwigTemplate_3d4777fcf75842349da241d4044d7d72::doDisplay (line 394)"
76 => "Twig\Template::displayWithErrorHandling (line 367)"
77 => "Twig\Template::display (line 50)"
78 => "__TwigTemplate_aa1832859ad5b25e9cc640dfcf28a0bc::doDisplay (line 394)"
79 => "Twig\Template::displayWithErrorHandling (line 367)"
80 => "Twig\Template::display (line 54)"
81 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::doDisplay (line 394)"
82 => "Twig\Template::displayWithErrorHandling (line 367)"
83 => "Twig\Template::display (line 52)"
84 => "__TwigTemplate_da551205fea81b0c3b361980c09151e2::doDisplay (line 394)"
85 => "Twig\Template::displayWithErrorHandling (line 367)"
86 => "Twig\Template::display (line 379)"
87 => "Twig\Template::render (line 40)"
88 => "Twig\TemplateWrapper::render (line 277)"
89 => "Twig\Environment::render (line 235)"
90 => "Shopware\Storefront\Controller\StorefrontController::renderView (line 266)"
91 => "Symfony\Bundle\FrameworkBundle\Controller\AbstractController::render (line 72)"
92 => "Shopware\Storefront\Controller\StorefrontController::Shopware\Storefront\Controller\{closure} (line 59)"
93 => "Shopware\Core\Profiling\Profiler::trace (line 73)"
94 => "Shopware\Storefront\Controller\StorefrontController::renderStorefront (line 52)"
95 => "Shopware\Storefront\Controller\NavigationController::home (line 163)"
96 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
97 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
98 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
99 => "Shopware\Core\HttpKernel::doHandle (line 81)"
100 => "Shopware\Core\HttpKernel::handle (line 75)"
]
|
126 |
1.57 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_52a6fcd80e5d42dcac748e13f4ebd65a OR (`media`.`private` = :param_42b8520cc8d04c2aa5e5b8a392b6cacc AND `media.mediaFolder.defaultFolder`.`entity` = :param_0b87c8f704b4498b8a78336f47a9d209)))) 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 (0xB4042A465F124F8794C8452F72875B08));
array:101 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
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 257)"
12 => "__TwigTemplate_fd8d5b256d312c5be99b5c665c7d3c38::block_element_hero_slider_inner (line 171)"
13 => "Twig\Template::displayBlock (line 100)"
14 => "__TwigTemplate_fd8d5b256d312c5be99b5c665c7d3c38::block_element_hero_slider (line 171)"
15 => "Twig\Template::displayBlock (line 53)"
16 => "__TwigTemplate_fd8d5b256d312c5be99b5c665c7d3c38::doDisplay (line 394)"
17 => "Twig\Template::displayWithErrorHandling (line 367)"
18 => "Twig\Template::display (line 63)"
19 => "__TwigTemplate_a73bc428d67ccf41d9eb06bc898c7144::doDisplay (line 394)"
20 => "Twig\Template::displayWithErrorHandling (line 367)"
21 => "Twig\Template::display (line 326)"
22 => "__TwigTemplate_de51fe3149c36c2d13038f03675e7186::block_section_content_block_row (line 171)"
23 => "Twig\Template::displayBlock (line 285)"
24 => "__TwigTemplate_de51fe3149c36c2d13038f03675e7186::block_section_content_block_container (line 171)"
25 => "Twig\Template::displayBlock (line 213)"
26 => "__TwigTemplate_de51fe3149c36c2d13038f03675e7186::block_section_content_block (line 171)"
27 => "Twig\Template::displayBlock (line 49)"
28 => "__TwigTemplate_de51fe3149c36c2d13038f03675e7186::doDisplay (line 394)"
29 => "Twig\Template::displayWithErrorHandling (line 367)"
30 => "Twig\Template::display (line 132)"
31 => "__TwigTemplate_2166dd94fe780598b8fdcf72ddd769c9::block_section_default_content_block (line 171)"
32 => "Twig\Template::displayBlock (line 94)"
33 => "__TwigTemplate_2166dd94fe780598b8fdcf72ddd769c9::block_page_content_section_default (line 171)"
34 => "Twig\Template::displayBlock (line 47)"
35 => "__TwigTemplate_2166dd94fe780598b8fdcf72ddd769c9::doDisplay (line 394)"
36 => "Twig\Template::displayWithErrorHandling (line 367)"
37 => "Twig\Template::display (line 221)"
38 => "__TwigTemplate_2698d288dda261b2d5360419617c8736::block_page_content_section (line 171)"
39 => "Twig\Template::displayBlock (line 135)"
40 => "__TwigTemplate_2698d288dda261b2d5360419617c8736::block_page_content_sections_inner (line 171)"
41 => "Twig\Template::displayBlock (line 47)"
42 => "__TwigTemplate_fe3011e8614935f2877430f24082e841::doDisplay (line 394)"
43 => "Twig\Template::displayWithErrorHandling (line 367)"
44 => "Twig\Template::display (line 50)"
45 => "__TwigTemplate_e550e0b90883c1187f499e90e2cd999a::doDisplay (line 394)"
46 => "Twig\Template::displayWithErrorHandling (line 367)"
47 => "Twig\Template::display (line 51)"
48 => "__TwigTemplate_2698d288dda261b2d5360419617c8736::doDisplay (line 394)"
49 => "Twig\Template::displayWithErrorHandling (line 367)"
50 => "Twig\Template::display (line 211)"
51 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::block_page_content_blocks (line 171)"
52 => "Twig\Template::displayBlock (line 187)"
53 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::block_cms_content (line 171)"
54 => "Twig\Template::displayBlock (line 106)"
55 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::block_page_content (line 171)"
56 => "Twig\Template::displayBlock (line 77)"
57 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::block_base_main_inner (line 171)"
58 => "Twig\Template::displayBlock (line 504)"
59 => "__TwigTemplate_edfe32b5c98942de2b24393e846ea184::block_base_main (line 171)"
60 => "Twig\Template::displayBlock (line 191)"
61 => "Twig\Template::displayBlock (line 134)"
62 => "Twig\Template::displayParentBlock (line 71)"
63 => "__TwigTemplate_3d4777fcf75842349da241d4044d7d72::block_base_main (line 171)"
64 => "Twig\Template::displayBlock (line 283)"
65 => "__TwigTemplate_edfe32b5c98942de2b24393e846ea184::block_base_body_inner (line 171)"
66 => "Twig\Template::displayBlock (line 193)"
67 => "__TwigTemplate_edfe32b5c98942de2b24393e846ea184::block_base_body (line 171)"
68 => "Twig\Template::displayBlock (line 97)"
69 => "__TwigTemplate_edfe32b5c98942de2b24393e846ea184::doDisplay (line 394)"
70 => "Twig\Template::displayWithErrorHandling (line 367)"
71 => "Twig\Template::display (line 49)"
72 => "__TwigTemplate_317ed82f740e5079054f5b72bb59033c::doDisplay (line 394)"
73 => "Twig\Template::displayWithErrorHandling (line 367)"
74 => "Twig\Template::display (line 50)"
75 => "__TwigTemplate_3d4777fcf75842349da241d4044d7d72::doDisplay (line 394)"
76 => "Twig\Template::displayWithErrorHandling (line 367)"
77 => "Twig\Template::display (line 50)"
78 => "__TwigTemplate_aa1832859ad5b25e9cc640dfcf28a0bc::doDisplay (line 394)"
79 => "Twig\Template::displayWithErrorHandling (line 367)"
80 => "Twig\Template::display (line 54)"
81 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::doDisplay (line 394)"
82 => "Twig\Template::displayWithErrorHandling (line 367)"
83 => "Twig\Template::display (line 52)"
84 => "__TwigTemplate_da551205fea81b0c3b361980c09151e2::doDisplay (line 394)"
85 => "Twig\Template::displayWithErrorHandling (line 367)"
86 => "Twig\Template::display (line 379)"
87 => "Twig\Template::render (line 40)"
88 => "Twig\TemplateWrapper::render (line 277)"
89 => "Twig\Environment::render (line 235)"
90 => "Shopware\Storefront\Controller\StorefrontController::renderView (line 266)"
91 => "Symfony\Bundle\FrameworkBundle\Controller\AbstractController::render (line 72)"
92 => "Shopware\Storefront\Controller\StorefrontController::Shopware\Storefront\Controller\{closure} (line 59)"
93 => "Shopware\Core\Profiling\Profiler::trace (line 73)"
94 => "Shopware\Storefront\Controller\StorefrontController::renderStorefront (line 52)"
95 => "Shopware\Storefront\Controller\NavigationController::home (line 163)"
96 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
97 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
98 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
99 => "Shopware\Core\HttpKernel::doHandle (line 81)"
100 => "Shopware\Core\HttpKernel::handle (line 75)"
]
|
127 |
1.38 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_8393ee25bdc54814b7fc2e3a81feb43e OR (`media`.`private` = :param_cf63dba5bfa94e3f992cb311fb18ce02 AND `media.mediaFolder.defaultFolder`.`entity` = :param_f449b31768994b68a53214f7ce6a2baf)))) 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 (0x0050B62BC9594FA79F777A48D3E43C3C));
array:101 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
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 354)"
12 => "__TwigTemplate_fd8d5b256d312c5be99b5c665c7d3c38::block_element_hero_slider_inner (line 171)"
13 => "Twig\Template::displayBlock (line 100)"
14 => "__TwigTemplate_fd8d5b256d312c5be99b5c665c7d3c38::block_element_hero_slider (line 171)"
15 => "Twig\Template::displayBlock (line 53)"
16 => "__TwigTemplate_fd8d5b256d312c5be99b5c665c7d3c38::doDisplay (line 394)"
17 => "Twig\Template::displayWithErrorHandling (line 367)"
18 => "Twig\Template::display (line 63)"
19 => "__TwigTemplate_a73bc428d67ccf41d9eb06bc898c7144::doDisplay (line 394)"
20 => "Twig\Template::displayWithErrorHandling (line 367)"
21 => "Twig\Template::display (line 326)"
22 => "__TwigTemplate_de51fe3149c36c2d13038f03675e7186::block_section_content_block_row (line 171)"
23 => "Twig\Template::displayBlock (line 285)"
24 => "__TwigTemplate_de51fe3149c36c2d13038f03675e7186::block_section_content_block_container (line 171)"
25 => "Twig\Template::displayBlock (line 213)"
26 => "__TwigTemplate_de51fe3149c36c2d13038f03675e7186::block_section_content_block (line 171)"
27 => "Twig\Template::displayBlock (line 49)"
28 => "__TwigTemplate_de51fe3149c36c2d13038f03675e7186::doDisplay (line 394)"
29 => "Twig\Template::displayWithErrorHandling (line 367)"
30 => "Twig\Template::display (line 132)"
31 => "__TwigTemplate_2166dd94fe780598b8fdcf72ddd769c9::block_section_default_content_block (line 171)"
32 => "Twig\Template::displayBlock (line 94)"
33 => "__TwigTemplate_2166dd94fe780598b8fdcf72ddd769c9::block_page_content_section_default (line 171)"
34 => "Twig\Template::displayBlock (line 47)"
35 => "__TwigTemplate_2166dd94fe780598b8fdcf72ddd769c9::doDisplay (line 394)"
36 => "Twig\Template::displayWithErrorHandling (line 367)"
37 => "Twig\Template::display (line 221)"
38 => "__TwigTemplate_2698d288dda261b2d5360419617c8736::block_page_content_section (line 171)"
39 => "Twig\Template::displayBlock (line 135)"
40 => "__TwigTemplate_2698d288dda261b2d5360419617c8736::block_page_content_sections_inner (line 171)"
41 => "Twig\Template::displayBlock (line 47)"
42 => "__TwigTemplate_fe3011e8614935f2877430f24082e841::doDisplay (line 394)"
43 => "Twig\Template::displayWithErrorHandling (line 367)"
44 => "Twig\Template::display (line 50)"
45 => "__TwigTemplate_e550e0b90883c1187f499e90e2cd999a::doDisplay (line 394)"
46 => "Twig\Template::displayWithErrorHandling (line 367)"
47 => "Twig\Template::display (line 51)"
48 => "__TwigTemplate_2698d288dda261b2d5360419617c8736::doDisplay (line 394)"
49 => "Twig\Template::displayWithErrorHandling (line 367)"
50 => "Twig\Template::display (line 211)"
51 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::block_page_content_blocks (line 171)"
52 => "Twig\Template::displayBlock (line 187)"
53 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::block_cms_content (line 171)"
54 => "Twig\Template::displayBlock (line 106)"
55 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::block_page_content (line 171)"
56 => "Twig\Template::displayBlock (line 77)"
57 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::block_base_main_inner (line 171)"
58 => "Twig\Template::displayBlock (line 504)"
59 => "__TwigTemplate_edfe32b5c98942de2b24393e846ea184::block_base_main (line 171)"
60 => "Twig\Template::displayBlock (line 191)"
61 => "Twig\Template::displayBlock (line 134)"
62 => "Twig\Template::displayParentBlock (line 71)"
63 => "__TwigTemplate_3d4777fcf75842349da241d4044d7d72::block_base_main (line 171)"
64 => "Twig\Template::displayBlock (line 283)"
65 => "__TwigTemplate_edfe32b5c98942de2b24393e846ea184::block_base_body_inner (line 171)"
66 => "Twig\Template::displayBlock (line 193)"
67 => "__TwigTemplate_edfe32b5c98942de2b24393e846ea184::block_base_body (line 171)"
68 => "Twig\Template::displayBlock (line 97)"
69 => "__TwigTemplate_edfe32b5c98942de2b24393e846ea184::doDisplay (line 394)"
70 => "Twig\Template::displayWithErrorHandling (line 367)"
71 => "Twig\Template::display (line 49)"
72 => "__TwigTemplate_317ed82f740e5079054f5b72bb59033c::doDisplay (line 394)"
73 => "Twig\Template::displayWithErrorHandling (line 367)"
74 => "Twig\Template::display (line 50)"
75 => "__TwigTemplate_3d4777fcf75842349da241d4044d7d72::doDisplay (line 394)"
76 => "Twig\Template::displayWithErrorHandling (line 367)"
77 => "Twig\Template::display (line 50)"
78 => "__TwigTemplate_aa1832859ad5b25e9cc640dfcf28a0bc::doDisplay (line 394)"
79 => "Twig\Template::displayWithErrorHandling (line 367)"
80 => "Twig\Template::display (line 54)"
81 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::doDisplay (line 394)"
82 => "Twig\Template::displayWithErrorHandling (line 367)"
83 => "Twig\Template::display (line 52)"
84 => "__TwigTemplate_da551205fea81b0c3b361980c09151e2::doDisplay (line 394)"
85 => "Twig\Template::displayWithErrorHandling (line 367)"
86 => "Twig\Template::display (line 379)"
87 => "Twig\Template::render (line 40)"
88 => "Twig\TemplateWrapper::render (line 277)"
89 => "Twig\Environment::render (line 235)"
90 => "Shopware\Storefront\Controller\StorefrontController::renderView (line 266)"
91 => "Symfony\Bundle\FrameworkBundle\Controller\AbstractController::render (line 72)"
92 => "Shopware\Storefront\Controller\StorefrontController::Shopware\Storefront\Controller\{closure} (line 59)"
93 => "Shopware\Core\Profiling\Profiler::trace (line 73)"
94 => "Shopware\Storefront\Controller\StorefrontController::renderStorefront (line 52)"
95 => "Shopware\Storefront\Controller\NavigationController::home (line 163)"
96 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
97 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
98 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
99 => "Shopware\Core\HttpKernel::doHandle (line 81)"
100 => "Shopware\Core\HttpKernel::handle (line 75)"
]
|
128 |
1.39 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_8c29d8693f614047b24d50c33d00d34e OR (`media`.`private` = :param_e10d81befad045a091e0de91a947923b AND `media.mediaFolder.defaultFolder`.`entity` = :param_cbd2a1bc77f04913b29ecf1fcd41ff12)))) 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 (0x880E333528C04932BB9571C9D79FACFF));
array:101 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
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 257)"
12 => "__TwigTemplate_fd8d5b256d312c5be99b5c665c7d3c38::block_element_hero_slider_inner (line 171)"
13 => "Twig\Template::displayBlock (line 100)"
14 => "__TwigTemplate_fd8d5b256d312c5be99b5c665c7d3c38::block_element_hero_slider (line 171)"
15 => "Twig\Template::displayBlock (line 53)"
16 => "__TwigTemplate_fd8d5b256d312c5be99b5c665c7d3c38::doDisplay (line 394)"
17 => "Twig\Template::displayWithErrorHandling (line 367)"
18 => "Twig\Template::display (line 63)"
19 => "__TwigTemplate_a73bc428d67ccf41d9eb06bc898c7144::doDisplay (line 394)"
20 => "Twig\Template::displayWithErrorHandling (line 367)"
21 => "Twig\Template::display (line 326)"
22 => "__TwigTemplate_de51fe3149c36c2d13038f03675e7186::block_section_content_block_row (line 171)"
23 => "Twig\Template::displayBlock (line 285)"
24 => "__TwigTemplate_de51fe3149c36c2d13038f03675e7186::block_section_content_block_container (line 171)"
25 => "Twig\Template::displayBlock (line 213)"
26 => "__TwigTemplate_de51fe3149c36c2d13038f03675e7186::block_section_content_block (line 171)"
27 => "Twig\Template::displayBlock (line 49)"
28 => "__TwigTemplate_de51fe3149c36c2d13038f03675e7186::doDisplay (line 394)"
29 => "Twig\Template::displayWithErrorHandling (line 367)"
30 => "Twig\Template::display (line 132)"
31 => "__TwigTemplate_2166dd94fe780598b8fdcf72ddd769c9::block_section_default_content_block (line 171)"
32 => "Twig\Template::displayBlock (line 94)"
33 => "__TwigTemplate_2166dd94fe780598b8fdcf72ddd769c9::block_page_content_section_default (line 171)"
34 => "Twig\Template::displayBlock (line 47)"
35 => "__TwigTemplate_2166dd94fe780598b8fdcf72ddd769c9::doDisplay (line 394)"
36 => "Twig\Template::displayWithErrorHandling (line 367)"
37 => "Twig\Template::display (line 221)"
38 => "__TwigTemplate_2698d288dda261b2d5360419617c8736::block_page_content_section (line 171)"
39 => "Twig\Template::displayBlock (line 135)"
40 => "__TwigTemplate_2698d288dda261b2d5360419617c8736::block_page_content_sections_inner (line 171)"
41 => "Twig\Template::displayBlock (line 47)"
42 => "__TwigTemplate_fe3011e8614935f2877430f24082e841::doDisplay (line 394)"
43 => "Twig\Template::displayWithErrorHandling (line 367)"
44 => "Twig\Template::display (line 50)"
45 => "__TwigTemplate_e550e0b90883c1187f499e90e2cd999a::doDisplay (line 394)"
46 => "Twig\Template::displayWithErrorHandling (line 367)"
47 => "Twig\Template::display (line 51)"
48 => "__TwigTemplate_2698d288dda261b2d5360419617c8736::doDisplay (line 394)"
49 => "Twig\Template::displayWithErrorHandling (line 367)"
50 => "Twig\Template::display (line 211)"
51 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::block_page_content_blocks (line 171)"
52 => "Twig\Template::displayBlock (line 187)"
53 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::block_cms_content (line 171)"
54 => "Twig\Template::displayBlock (line 106)"
55 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::block_page_content (line 171)"
56 => "Twig\Template::displayBlock (line 77)"
57 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::block_base_main_inner (line 171)"
58 => "Twig\Template::displayBlock (line 504)"
59 => "__TwigTemplate_edfe32b5c98942de2b24393e846ea184::block_base_main (line 171)"
60 => "Twig\Template::displayBlock (line 191)"
61 => "Twig\Template::displayBlock (line 134)"
62 => "Twig\Template::displayParentBlock (line 71)"
63 => "__TwigTemplate_3d4777fcf75842349da241d4044d7d72::block_base_main (line 171)"
64 => "Twig\Template::displayBlock (line 283)"
65 => "__TwigTemplate_edfe32b5c98942de2b24393e846ea184::block_base_body_inner (line 171)"
66 => "Twig\Template::displayBlock (line 193)"
67 => "__TwigTemplate_edfe32b5c98942de2b24393e846ea184::block_base_body (line 171)"
68 => "Twig\Template::displayBlock (line 97)"
69 => "__TwigTemplate_edfe32b5c98942de2b24393e846ea184::doDisplay (line 394)"
70 => "Twig\Template::displayWithErrorHandling (line 367)"
71 => "Twig\Template::display (line 49)"
72 => "__TwigTemplate_317ed82f740e5079054f5b72bb59033c::doDisplay (line 394)"
73 => "Twig\Template::displayWithErrorHandling (line 367)"
74 => "Twig\Template::display (line 50)"
75 => "__TwigTemplate_3d4777fcf75842349da241d4044d7d72::doDisplay (line 394)"
76 => "Twig\Template::displayWithErrorHandling (line 367)"
77 => "Twig\Template::display (line 50)"
78 => "__TwigTemplate_aa1832859ad5b25e9cc640dfcf28a0bc::doDisplay (line 394)"
79 => "Twig\Template::displayWithErrorHandling (line 367)"
80 => "Twig\Template::display (line 54)"
81 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::doDisplay (line 394)"
82 => "Twig\Template::displayWithErrorHandling (line 367)"
83 => "Twig\Template::display (line 52)"
84 => "__TwigTemplate_da551205fea81b0c3b361980c09151e2::doDisplay (line 394)"
85 => "Twig\Template::displayWithErrorHandling (line 367)"
86 => "Twig\Template::display (line 379)"
87 => "Twig\Template::render (line 40)"
88 => "Twig\TemplateWrapper::render (line 277)"
89 => "Twig\Environment::render (line 235)"
90 => "Shopware\Storefront\Controller\StorefrontController::renderView (line 266)"
91 => "Symfony\Bundle\FrameworkBundle\Controller\AbstractController::render (line 72)"
92 => "Shopware\Storefront\Controller\StorefrontController::Shopware\Storefront\Controller\{closure} (line 59)"
93 => "Shopware\Core\Profiling\Profiler::trace (line 73)"
94 => "Shopware\Storefront\Controller\StorefrontController::renderStorefront (line 52)"
95 => "Shopware\Storefront\Controller\NavigationController::home (line 163)"
96 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
97 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
98 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
99 => "Shopware\Core\HttpKernel::doHandle (line 81)"
100 => "Shopware\Core\HttpKernel::handle (line 75)"
]
|
129 |
1.65 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_ded0ac177e9743e480eb2e97f827439d OR (`media`.`private` = :param_5374b8850aa243dfb7466052c3c18220 AND `media.mediaFolder.defaultFolder`.`entity` = :param_a028bcc8149648a4bbfcd267e690c94d)))) 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 (0x00FF2C4AB637458096490933FF65F9F1));
array:101 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
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 354)"
12 => "__TwigTemplate_fd8d5b256d312c5be99b5c665c7d3c38::block_element_hero_slider_inner (line 171)"
13 => "Twig\Template::displayBlock (line 100)"
14 => "__TwigTemplate_fd8d5b256d312c5be99b5c665c7d3c38::block_element_hero_slider (line 171)"
15 => "Twig\Template::displayBlock (line 53)"
16 => "__TwigTemplate_fd8d5b256d312c5be99b5c665c7d3c38::doDisplay (line 394)"
17 => "Twig\Template::displayWithErrorHandling (line 367)"
18 => "Twig\Template::display (line 63)"
19 => "__TwigTemplate_a73bc428d67ccf41d9eb06bc898c7144::doDisplay (line 394)"
20 => "Twig\Template::displayWithErrorHandling (line 367)"
21 => "Twig\Template::display (line 326)"
22 => "__TwigTemplate_de51fe3149c36c2d13038f03675e7186::block_section_content_block_row (line 171)"
23 => "Twig\Template::displayBlock (line 285)"
24 => "__TwigTemplate_de51fe3149c36c2d13038f03675e7186::block_section_content_block_container (line 171)"
25 => "Twig\Template::displayBlock (line 213)"
26 => "__TwigTemplate_de51fe3149c36c2d13038f03675e7186::block_section_content_block (line 171)"
27 => "Twig\Template::displayBlock (line 49)"
28 => "__TwigTemplate_de51fe3149c36c2d13038f03675e7186::doDisplay (line 394)"
29 => "Twig\Template::displayWithErrorHandling (line 367)"
30 => "Twig\Template::display (line 132)"
31 => "__TwigTemplate_2166dd94fe780598b8fdcf72ddd769c9::block_section_default_content_block (line 171)"
32 => "Twig\Template::displayBlock (line 94)"
33 => "__TwigTemplate_2166dd94fe780598b8fdcf72ddd769c9::block_page_content_section_default (line 171)"
34 => "Twig\Template::displayBlock (line 47)"
35 => "__TwigTemplate_2166dd94fe780598b8fdcf72ddd769c9::doDisplay (line 394)"
36 => "Twig\Template::displayWithErrorHandling (line 367)"
37 => "Twig\Template::display (line 221)"
38 => "__TwigTemplate_2698d288dda261b2d5360419617c8736::block_page_content_section (line 171)"
39 => "Twig\Template::displayBlock (line 135)"
40 => "__TwigTemplate_2698d288dda261b2d5360419617c8736::block_page_content_sections_inner (line 171)"
41 => "Twig\Template::displayBlock (line 47)"
42 => "__TwigTemplate_fe3011e8614935f2877430f24082e841::doDisplay (line 394)"
43 => "Twig\Template::displayWithErrorHandling (line 367)"
44 => "Twig\Template::display (line 50)"
45 => "__TwigTemplate_e550e0b90883c1187f499e90e2cd999a::doDisplay (line 394)"
46 => "Twig\Template::displayWithErrorHandling (line 367)"
47 => "Twig\Template::display (line 51)"
48 => "__TwigTemplate_2698d288dda261b2d5360419617c8736::doDisplay (line 394)"
49 => "Twig\Template::displayWithErrorHandling (line 367)"
50 => "Twig\Template::display (line 211)"
51 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::block_page_content_blocks (line 171)"
52 => "Twig\Template::displayBlock (line 187)"
53 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::block_cms_content (line 171)"
54 => "Twig\Template::displayBlock (line 106)"
55 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::block_page_content (line 171)"
56 => "Twig\Template::displayBlock (line 77)"
57 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::block_base_main_inner (line 171)"
58 => "Twig\Template::displayBlock (line 504)"
59 => "__TwigTemplate_edfe32b5c98942de2b24393e846ea184::block_base_main (line 171)"
60 => "Twig\Template::displayBlock (line 191)"
61 => "Twig\Template::displayBlock (line 134)"
62 => "Twig\Template::displayParentBlock (line 71)"
63 => "__TwigTemplate_3d4777fcf75842349da241d4044d7d72::block_base_main (line 171)"
64 => "Twig\Template::displayBlock (line 283)"
65 => "__TwigTemplate_edfe32b5c98942de2b24393e846ea184::block_base_body_inner (line 171)"
66 => "Twig\Template::displayBlock (line 193)"
67 => "__TwigTemplate_edfe32b5c98942de2b24393e846ea184::block_base_body (line 171)"
68 => "Twig\Template::displayBlock (line 97)"
69 => "__TwigTemplate_edfe32b5c98942de2b24393e846ea184::doDisplay (line 394)"
70 => "Twig\Template::displayWithErrorHandling (line 367)"
71 => "Twig\Template::display (line 49)"
72 => "__TwigTemplate_317ed82f740e5079054f5b72bb59033c::doDisplay (line 394)"
73 => "Twig\Template::displayWithErrorHandling (line 367)"
74 => "Twig\Template::display (line 50)"
75 => "__TwigTemplate_3d4777fcf75842349da241d4044d7d72::doDisplay (line 394)"
76 => "Twig\Template::displayWithErrorHandling (line 367)"
77 => "Twig\Template::display (line 50)"
78 => "__TwigTemplate_aa1832859ad5b25e9cc640dfcf28a0bc::doDisplay (line 394)"
79 => "Twig\Template::displayWithErrorHandling (line 367)"
80 => "Twig\Template::display (line 54)"
81 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::doDisplay (line 394)"
82 => "Twig\Template::displayWithErrorHandling (line 367)"
83 => "Twig\Template::display (line 52)"
84 => "__TwigTemplate_da551205fea81b0c3b361980c09151e2::doDisplay (line 394)"
85 => "Twig\Template::displayWithErrorHandling (line 367)"
86 => "Twig\Template::display (line 379)"
87 => "Twig\Template::render (line 40)"
88 => "Twig\TemplateWrapper::render (line 277)"
89 => "Twig\Environment::render (line 235)"
90 => "Shopware\Storefront\Controller\StorefrontController::renderView (line 266)"
91 => "Symfony\Bundle\FrameworkBundle\Controller\AbstractController::render (line 72)"
92 => "Shopware\Storefront\Controller\StorefrontController::Shopware\Storefront\Controller\{closure} (line 59)"
93 => "Shopware\Core\Profiling\Profiler::trace (line 73)"
94 => "Shopware\Storefront\Controller\StorefrontController::renderStorefront (line 52)"
95 => "Shopware\Storefront\Controller\NavigationController::home (line 163)"
96 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
97 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
98 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
99 => "Shopware\Core\HttpKernel::doHandle (line 81)"
100 => "Shopware\Core\HttpKernel::handle (line 75)"
]
|
130 |
1.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_b9107dc0f69545db96b0e875e488fc3a OR (`media`.`private` = :param_2b6e04de0ca840e4a70d129c866f0148 AND `media.mediaFolder.defaultFolder`.`entity` = :param_08a82372fcca4b5e83abbd3015c41cd9)))) 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 (0x3DFEDB66EA984F389361F40451F2F780));
array:101 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
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 257)"
12 => "__TwigTemplate_fd8d5b256d312c5be99b5c665c7d3c38::block_element_hero_slider_inner (line 171)"
13 => "Twig\Template::displayBlock (line 100)"
14 => "__TwigTemplate_fd8d5b256d312c5be99b5c665c7d3c38::block_element_hero_slider (line 171)"
15 => "Twig\Template::displayBlock (line 53)"
16 => "__TwigTemplate_fd8d5b256d312c5be99b5c665c7d3c38::doDisplay (line 394)"
17 => "Twig\Template::displayWithErrorHandling (line 367)"
18 => "Twig\Template::display (line 63)"
19 => "__TwigTemplate_a73bc428d67ccf41d9eb06bc898c7144::doDisplay (line 394)"
20 => "Twig\Template::displayWithErrorHandling (line 367)"
21 => "Twig\Template::display (line 326)"
22 => "__TwigTemplate_de51fe3149c36c2d13038f03675e7186::block_section_content_block_row (line 171)"
23 => "Twig\Template::displayBlock (line 285)"
24 => "__TwigTemplate_de51fe3149c36c2d13038f03675e7186::block_section_content_block_container (line 171)"
25 => "Twig\Template::displayBlock (line 213)"
26 => "__TwigTemplate_de51fe3149c36c2d13038f03675e7186::block_section_content_block (line 171)"
27 => "Twig\Template::displayBlock (line 49)"
28 => "__TwigTemplate_de51fe3149c36c2d13038f03675e7186::doDisplay (line 394)"
29 => "Twig\Template::displayWithErrorHandling (line 367)"
30 => "Twig\Template::display (line 132)"
31 => "__TwigTemplate_2166dd94fe780598b8fdcf72ddd769c9::block_section_default_content_block (line 171)"
32 => "Twig\Template::displayBlock (line 94)"
33 => "__TwigTemplate_2166dd94fe780598b8fdcf72ddd769c9::block_page_content_section_default (line 171)"
34 => "Twig\Template::displayBlock (line 47)"
35 => "__TwigTemplate_2166dd94fe780598b8fdcf72ddd769c9::doDisplay (line 394)"
36 => "Twig\Template::displayWithErrorHandling (line 367)"
37 => "Twig\Template::display (line 221)"
38 => "__TwigTemplate_2698d288dda261b2d5360419617c8736::block_page_content_section (line 171)"
39 => "Twig\Template::displayBlock (line 135)"
40 => "__TwigTemplate_2698d288dda261b2d5360419617c8736::block_page_content_sections_inner (line 171)"
41 => "Twig\Template::displayBlock (line 47)"
42 => "__TwigTemplate_fe3011e8614935f2877430f24082e841::doDisplay (line 394)"
43 => "Twig\Template::displayWithErrorHandling (line 367)"
44 => "Twig\Template::display (line 50)"
45 => "__TwigTemplate_e550e0b90883c1187f499e90e2cd999a::doDisplay (line 394)"
46 => "Twig\Template::displayWithErrorHandling (line 367)"
47 => "Twig\Template::display (line 51)"
48 => "__TwigTemplate_2698d288dda261b2d5360419617c8736::doDisplay (line 394)"
49 => "Twig\Template::displayWithErrorHandling (line 367)"
50 => "Twig\Template::display (line 211)"
51 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::block_page_content_blocks (line 171)"
52 => "Twig\Template::displayBlock (line 187)"
53 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::block_cms_content (line 171)"
54 => "Twig\Template::displayBlock (line 106)"
55 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::block_page_content (line 171)"
56 => "Twig\Template::displayBlock (line 77)"
57 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::block_base_main_inner (line 171)"
58 => "Twig\Template::displayBlock (line 504)"
59 => "__TwigTemplate_edfe32b5c98942de2b24393e846ea184::block_base_main (line 171)"
60 => "Twig\Template::displayBlock (line 191)"
61 => "Twig\Template::displayBlock (line 134)"
62 => "Twig\Template::displayParentBlock (line 71)"
63 => "__TwigTemplate_3d4777fcf75842349da241d4044d7d72::block_base_main (line 171)"
64 => "Twig\Template::displayBlock (line 283)"
65 => "__TwigTemplate_edfe32b5c98942de2b24393e846ea184::block_base_body_inner (line 171)"
66 => "Twig\Template::displayBlock (line 193)"
67 => "__TwigTemplate_edfe32b5c98942de2b24393e846ea184::block_base_body (line 171)"
68 => "Twig\Template::displayBlock (line 97)"
69 => "__TwigTemplate_edfe32b5c98942de2b24393e846ea184::doDisplay (line 394)"
70 => "Twig\Template::displayWithErrorHandling (line 367)"
71 => "Twig\Template::display (line 49)"
72 => "__TwigTemplate_317ed82f740e5079054f5b72bb59033c::doDisplay (line 394)"
73 => "Twig\Template::displayWithErrorHandling (line 367)"
74 => "Twig\Template::display (line 50)"
75 => "__TwigTemplate_3d4777fcf75842349da241d4044d7d72::doDisplay (line 394)"
76 => "Twig\Template::displayWithErrorHandling (line 367)"
77 => "Twig\Template::display (line 50)"
78 => "__TwigTemplate_aa1832859ad5b25e9cc640dfcf28a0bc::doDisplay (line 394)"
79 => "Twig\Template::displayWithErrorHandling (line 367)"
80 => "Twig\Template::display (line 54)"
81 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::doDisplay (line 394)"
82 => "Twig\Template::displayWithErrorHandling (line 367)"
83 => "Twig\Template::display (line 52)"
84 => "__TwigTemplate_da551205fea81b0c3b361980c09151e2::doDisplay (line 394)"
85 => "Twig\Template::displayWithErrorHandling (line 367)"
86 => "Twig\Template::display (line 379)"
87 => "Twig\Template::render (line 40)"
88 => "Twig\TemplateWrapper::render (line 277)"
89 => "Twig\Environment::render (line 235)"
90 => "Shopware\Storefront\Controller\StorefrontController::renderView (line 266)"
91 => "Symfony\Bundle\FrameworkBundle\Controller\AbstractController::render (line 72)"
92 => "Shopware\Storefront\Controller\StorefrontController::Shopware\Storefront\Controller\{closure} (line 59)"
93 => "Shopware\Core\Profiling\Profiler::trace (line 73)"
94 => "Shopware\Storefront\Controller\StorefrontController::renderStorefront (line 52)"
95 => "Shopware\Storefront\Controller\NavigationController::home (line 163)"
96 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
97 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
98 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
99 => "Shopware\Core\HttpKernel::doHandle (line 81)"
100 => "Shopware\Core\HttpKernel::handle (line 75)"
]
|
131 |
1.78 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_e2b735fb3df5492ab880a758d505b8cf OR (`media`.`private` = :param_dfc5c281ce584e189339f56ff8686e05 AND `media.mediaFolder.defaultFolder`.`entity` = :param_0a0413a5103d4270b1400282bb7180a9)))) 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 (0x640E7FAAE33245398D1A01F0AA288030));
array:101 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
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 354)"
12 => "__TwigTemplate_fd8d5b256d312c5be99b5c665c7d3c38::block_element_hero_slider_inner (line 171)"
13 => "Twig\Template::displayBlock (line 100)"
14 => "__TwigTemplate_fd8d5b256d312c5be99b5c665c7d3c38::block_element_hero_slider (line 171)"
15 => "Twig\Template::displayBlock (line 53)"
16 => "__TwigTemplate_fd8d5b256d312c5be99b5c665c7d3c38::doDisplay (line 394)"
17 => "Twig\Template::displayWithErrorHandling (line 367)"
18 => "Twig\Template::display (line 63)"
19 => "__TwigTemplate_a73bc428d67ccf41d9eb06bc898c7144::doDisplay (line 394)"
20 => "Twig\Template::displayWithErrorHandling (line 367)"
21 => "Twig\Template::display (line 326)"
22 => "__TwigTemplate_de51fe3149c36c2d13038f03675e7186::block_section_content_block_row (line 171)"
23 => "Twig\Template::displayBlock (line 285)"
24 => "__TwigTemplate_de51fe3149c36c2d13038f03675e7186::block_section_content_block_container (line 171)"
25 => "Twig\Template::displayBlock (line 213)"
26 => "__TwigTemplate_de51fe3149c36c2d13038f03675e7186::block_section_content_block (line 171)"
27 => "Twig\Template::displayBlock (line 49)"
28 => "__TwigTemplate_de51fe3149c36c2d13038f03675e7186::doDisplay (line 394)"
29 => "Twig\Template::displayWithErrorHandling (line 367)"
30 => "Twig\Template::display (line 132)"
31 => "__TwigTemplate_2166dd94fe780598b8fdcf72ddd769c9::block_section_default_content_block (line 171)"
32 => "Twig\Template::displayBlock (line 94)"
33 => "__TwigTemplate_2166dd94fe780598b8fdcf72ddd769c9::block_page_content_section_default (line 171)"
34 => "Twig\Template::displayBlock (line 47)"
35 => "__TwigTemplate_2166dd94fe780598b8fdcf72ddd769c9::doDisplay (line 394)"
36 => "Twig\Template::displayWithErrorHandling (line 367)"
37 => "Twig\Template::display (line 221)"
38 => "__TwigTemplate_2698d288dda261b2d5360419617c8736::block_page_content_section (line 171)"
39 => "Twig\Template::displayBlock (line 135)"
40 => "__TwigTemplate_2698d288dda261b2d5360419617c8736::block_page_content_sections_inner (line 171)"
41 => "Twig\Template::displayBlock (line 47)"
42 => "__TwigTemplate_fe3011e8614935f2877430f24082e841::doDisplay (line 394)"
43 => "Twig\Template::displayWithErrorHandling (line 367)"
44 => "Twig\Template::display (line 50)"
45 => "__TwigTemplate_e550e0b90883c1187f499e90e2cd999a::doDisplay (line 394)"
46 => "Twig\Template::displayWithErrorHandling (line 367)"
47 => "Twig\Template::display (line 51)"
48 => "__TwigTemplate_2698d288dda261b2d5360419617c8736::doDisplay (line 394)"
49 => "Twig\Template::displayWithErrorHandling (line 367)"
50 => "Twig\Template::display (line 211)"
51 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::block_page_content_blocks (line 171)"
52 => "Twig\Template::displayBlock (line 187)"
53 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::block_cms_content (line 171)"
54 => "Twig\Template::displayBlock (line 106)"
55 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::block_page_content (line 171)"
56 => "Twig\Template::displayBlock (line 77)"
57 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::block_base_main_inner (line 171)"
58 => "Twig\Template::displayBlock (line 504)"
59 => "__TwigTemplate_edfe32b5c98942de2b24393e846ea184::block_base_main (line 171)"
60 => "Twig\Template::displayBlock (line 191)"
61 => "Twig\Template::displayBlock (line 134)"
62 => "Twig\Template::displayParentBlock (line 71)"
63 => "__TwigTemplate_3d4777fcf75842349da241d4044d7d72::block_base_main (line 171)"
64 => "Twig\Template::displayBlock (line 283)"
65 => "__TwigTemplate_edfe32b5c98942de2b24393e846ea184::block_base_body_inner (line 171)"
66 => "Twig\Template::displayBlock (line 193)"
67 => "__TwigTemplate_edfe32b5c98942de2b24393e846ea184::block_base_body (line 171)"
68 => "Twig\Template::displayBlock (line 97)"
69 => "__TwigTemplate_edfe32b5c98942de2b24393e846ea184::doDisplay (line 394)"
70 => "Twig\Template::displayWithErrorHandling (line 367)"
71 => "Twig\Template::display (line 49)"
72 => "__TwigTemplate_317ed82f740e5079054f5b72bb59033c::doDisplay (line 394)"
73 => "Twig\Template::displayWithErrorHandling (line 367)"
74 => "Twig\Template::display (line 50)"
75 => "__TwigTemplate_3d4777fcf75842349da241d4044d7d72::doDisplay (line 394)"
76 => "Twig\Template::displayWithErrorHandling (line 367)"
77 => "Twig\Template::display (line 50)"
78 => "__TwigTemplate_aa1832859ad5b25e9cc640dfcf28a0bc::doDisplay (line 394)"
79 => "Twig\Template::displayWithErrorHandling (line 367)"
80 => "Twig\Template::display (line 54)"
81 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::doDisplay (line 394)"
82 => "Twig\Template::displayWithErrorHandling (line 367)"
83 => "Twig\Template::display (line 52)"
84 => "__TwigTemplate_da551205fea81b0c3b361980c09151e2::doDisplay (line 394)"
85 => "Twig\Template::displayWithErrorHandling (line 367)"
86 => "Twig\Template::display (line 379)"
87 => "Twig\Template::render (line 40)"
88 => "Twig\TemplateWrapper::render (line 277)"
89 => "Twig\Environment::render (line 235)"
90 => "Shopware\Storefront\Controller\StorefrontController::renderView (line 266)"
91 => "Symfony\Bundle\FrameworkBundle\Controller\AbstractController::render (line 72)"
92 => "Shopware\Storefront\Controller\StorefrontController::Shopware\Storefront\Controller\{closure} (line 59)"
93 => "Shopware\Core\Profiling\Profiler::trace (line 73)"
94 => "Shopware\Storefront\Controller\StorefrontController::renderStorefront (line 52)"
95 => "Shopware\Storefront\Controller\NavigationController::home (line 163)"
96 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
97 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
98 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
99 => "Shopware\Core\HttpKernel::doHandle (line 81)"
100 => "Shopware\Core\HttpKernel::handle (line 75)"
]
|
132 |
1.60 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_c327d9e2e218404fb30b74f5e5f73190 OR (`media`.`private` = :param_cc76cbc0694d42d58090c3597a25609c AND `media.mediaFolder.defaultFolder`.`entity` = :param_71a6b8fe87ce40fe9b9c643adfe805ce)))) 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 (0x4D7ABC71D5B04C6C90D254556520A26C));
array:101 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
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 257)"
12 => "__TwigTemplate_fd8d5b256d312c5be99b5c665c7d3c38::block_element_hero_slider_inner (line 171)"
13 => "Twig\Template::displayBlock (line 100)"
14 => "__TwigTemplate_fd8d5b256d312c5be99b5c665c7d3c38::block_element_hero_slider (line 171)"
15 => "Twig\Template::displayBlock (line 53)"
16 => "__TwigTemplate_fd8d5b256d312c5be99b5c665c7d3c38::doDisplay (line 394)"
17 => "Twig\Template::displayWithErrorHandling (line 367)"
18 => "Twig\Template::display (line 63)"
19 => "__TwigTemplate_a73bc428d67ccf41d9eb06bc898c7144::doDisplay (line 394)"
20 => "Twig\Template::displayWithErrorHandling (line 367)"
21 => "Twig\Template::display (line 326)"
22 => "__TwigTemplate_de51fe3149c36c2d13038f03675e7186::block_section_content_block_row (line 171)"
23 => "Twig\Template::displayBlock (line 285)"
24 => "__TwigTemplate_de51fe3149c36c2d13038f03675e7186::block_section_content_block_container (line 171)"
25 => "Twig\Template::displayBlock (line 213)"
26 => "__TwigTemplate_de51fe3149c36c2d13038f03675e7186::block_section_content_block (line 171)"
27 => "Twig\Template::displayBlock (line 49)"
28 => "__TwigTemplate_de51fe3149c36c2d13038f03675e7186::doDisplay (line 394)"
29 => "Twig\Template::displayWithErrorHandling (line 367)"
30 => "Twig\Template::display (line 132)"
31 => "__TwigTemplate_2166dd94fe780598b8fdcf72ddd769c9::block_section_default_content_block (line 171)"
32 => "Twig\Template::displayBlock (line 94)"
33 => "__TwigTemplate_2166dd94fe780598b8fdcf72ddd769c9::block_page_content_section_default (line 171)"
34 => "Twig\Template::displayBlock (line 47)"
35 => "__TwigTemplate_2166dd94fe780598b8fdcf72ddd769c9::doDisplay (line 394)"
36 => "Twig\Template::displayWithErrorHandling (line 367)"
37 => "Twig\Template::display (line 221)"
38 => "__TwigTemplate_2698d288dda261b2d5360419617c8736::block_page_content_section (line 171)"
39 => "Twig\Template::displayBlock (line 135)"
40 => "__TwigTemplate_2698d288dda261b2d5360419617c8736::block_page_content_sections_inner (line 171)"
41 => "Twig\Template::displayBlock (line 47)"
42 => "__TwigTemplate_fe3011e8614935f2877430f24082e841::doDisplay (line 394)"
43 => "Twig\Template::displayWithErrorHandling (line 367)"
44 => "Twig\Template::display (line 50)"
45 => "__TwigTemplate_e550e0b90883c1187f499e90e2cd999a::doDisplay (line 394)"
46 => "Twig\Template::displayWithErrorHandling (line 367)"
47 => "Twig\Template::display (line 51)"
48 => "__TwigTemplate_2698d288dda261b2d5360419617c8736::doDisplay (line 394)"
49 => "Twig\Template::displayWithErrorHandling (line 367)"
50 => "Twig\Template::display (line 211)"
51 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::block_page_content_blocks (line 171)"
52 => "Twig\Template::displayBlock (line 187)"
53 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::block_cms_content (line 171)"
54 => "Twig\Template::displayBlock (line 106)"
55 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::block_page_content (line 171)"
56 => "Twig\Template::displayBlock (line 77)"
57 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::block_base_main_inner (line 171)"
58 => "Twig\Template::displayBlock (line 504)"
59 => "__TwigTemplate_edfe32b5c98942de2b24393e846ea184::block_base_main (line 171)"
60 => "Twig\Template::displayBlock (line 191)"
61 => "Twig\Template::displayBlock (line 134)"
62 => "Twig\Template::displayParentBlock (line 71)"
63 => "__TwigTemplate_3d4777fcf75842349da241d4044d7d72::block_base_main (line 171)"
64 => "Twig\Template::displayBlock (line 283)"
65 => "__TwigTemplate_edfe32b5c98942de2b24393e846ea184::block_base_body_inner (line 171)"
66 => "Twig\Template::displayBlock (line 193)"
67 => "__TwigTemplate_edfe32b5c98942de2b24393e846ea184::block_base_body (line 171)"
68 => "Twig\Template::displayBlock (line 97)"
69 => "__TwigTemplate_edfe32b5c98942de2b24393e846ea184::doDisplay (line 394)"
70 => "Twig\Template::displayWithErrorHandling (line 367)"
71 => "Twig\Template::display (line 49)"
72 => "__TwigTemplate_317ed82f740e5079054f5b72bb59033c::doDisplay (line 394)"
73 => "Twig\Template::displayWithErrorHandling (line 367)"
74 => "Twig\Template::display (line 50)"
75 => "__TwigTemplate_3d4777fcf75842349da241d4044d7d72::doDisplay (line 394)"
76 => "Twig\Template::displayWithErrorHandling (line 367)"
77 => "Twig\Template::display (line 50)"
78 => "__TwigTemplate_aa1832859ad5b25e9cc640dfcf28a0bc::doDisplay (line 394)"
79 => "Twig\Template::displayWithErrorHandling (line 367)"
80 => "Twig\Template::display (line 54)"
81 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::doDisplay (line 394)"
82 => "Twig\Template::displayWithErrorHandling (line 367)"
83 => "Twig\Template::display (line 52)"
84 => "__TwigTemplate_da551205fea81b0c3b361980c09151e2::doDisplay (line 394)"
85 => "Twig\Template::displayWithErrorHandling (line 367)"
86 => "Twig\Template::display (line 379)"
87 => "Twig\Template::render (line 40)"
88 => "Twig\TemplateWrapper::render (line 277)"
89 => "Twig\Environment::render (line 235)"
90 => "Shopware\Storefront\Controller\StorefrontController::renderView (line 266)"
91 => "Symfony\Bundle\FrameworkBundle\Controller\AbstractController::render (line 72)"
92 => "Shopware\Storefront\Controller\StorefrontController::Shopware\Storefront\Controller\{closure} (line 59)"
93 => "Shopware\Core\Profiling\Profiler::trace (line 73)"
94 => "Shopware\Storefront\Controller\StorefrontController::renderStorefront (line 52)"
95 => "Shopware\Storefront\Controller\NavigationController::home (line 163)"
96 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
97 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
98 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
99 => "Shopware\Core\HttpKernel::doHandle (line 81)"
100 => "Shopware\Core\HttpKernel::handle (line 75)"
]
|
133 |
1.85 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_e83a9f7ddfb243afbf04e22a5f33fa54 OR (`media`.`private` = :param_aae91a1e45474a17a47b467eda0596ef AND `media.mediaFolder.defaultFolder`.`entity` = :param_ba6726ab438f4b138350b9700dde5f73)))) 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 (0x80D2992D894346ADB6E5DBCA52CDBCBB));
array:101 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
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 354)"
12 => "__TwigTemplate_fd8d5b256d312c5be99b5c665c7d3c38::block_element_hero_slider_inner (line 171)"
13 => "Twig\Template::displayBlock (line 100)"
14 => "__TwigTemplate_fd8d5b256d312c5be99b5c665c7d3c38::block_element_hero_slider (line 171)"
15 => "Twig\Template::displayBlock (line 53)"
16 => "__TwigTemplate_fd8d5b256d312c5be99b5c665c7d3c38::doDisplay (line 394)"
17 => "Twig\Template::displayWithErrorHandling (line 367)"
18 => "Twig\Template::display (line 63)"
19 => "__TwigTemplate_a73bc428d67ccf41d9eb06bc898c7144::doDisplay (line 394)"
20 => "Twig\Template::displayWithErrorHandling (line 367)"
21 => "Twig\Template::display (line 326)"
22 => "__TwigTemplate_de51fe3149c36c2d13038f03675e7186::block_section_content_block_row (line 171)"
23 => "Twig\Template::displayBlock (line 285)"
24 => "__TwigTemplate_de51fe3149c36c2d13038f03675e7186::block_section_content_block_container (line 171)"
25 => "Twig\Template::displayBlock (line 213)"
26 => "__TwigTemplate_de51fe3149c36c2d13038f03675e7186::block_section_content_block (line 171)"
27 => "Twig\Template::displayBlock (line 49)"
28 => "__TwigTemplate_de51fe3149c36c2d13038f03675e7186::doDisplay (line 394)"
29 => "Twig\Template::displayWithErrorHandling (line 367)"
30 => "Twig\Template::display (line 132)"
31 => "__TwigTemplate_2166dd94fe780598b8fdcf72ddd769c9::block_section_default_content_block (line 171)"
32 => "Twig\Template::displayBlock (line 94)"
33 => "__TwigTemplate_2166dd94fe780598b8fdcf72ddd769c9::block_page_content_section_default (line 171)"
34 => "Twig\Template::displayBlock (line 47)"
35 => "__TwigTemplate_2166dd94fe780598b8fdcf72ddd769c9::doDisplay (line 394)"
36 => "Twig\Template::displayWithErrorHandling (line 367)"
37 => "Twig\Template::display (line 221)"
38 => "__TwigTemplate_2698d288dda261b2d5360419617c8736::block_page_content_section (line 171)"
39 => "Twig\Template::displayBlock (line 135)"
40 => "__TwigTemplate_2698d288dda261b2d5360419617c8736::block_page_content_sections_inner (line 171)"
41 => "Twig\Template::displayBlock (line 47)"
42 => "__TwigTemplate_fe3011e8614935f2877430f24082e841::doDisplay (line 394)"
43 => "Twig\Template::displayWithErrorHandling (line 367)"
44 => "Twig\Template::display (line 50)"
45 => "__TwigTemplate_e550e0b90883c1187f499e90e2cd999a::doDisplay (line 394)"
46 => "Twig\Template::displayWithErrorHandling (line 367)"
47 => "Twig\Template::display (line 51)"
48 => "__TwigTemplate_2698d288dda261b2d5360419617c8736::doDisplay (line 394)"
49 => "Twig\Template::displayWithErrorHandling (line 367)"
50 => "Twig\Template::display (line 211)"
51 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::block_page_content_blocks (line 171)"
52 => "Twig\Template::displayBlock (line 187)"
53 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::block_cms_content (line 171)"
54 => "Twig\Template::displayBlock (line 106)"
55 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::block_page_content (line 171)"
56 => "Twig\Template::displayBlock (line 77)"
57 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::block_base_main_inner (line 171)"
58 => "Twig\Template::displayBlock (line 504)"
59 => "__TwigTemplate_edfe32b5c98942de2b24393e846ea184::block_base_main (line 171)"
60 => "Twig\Template::displayBlock (line 191)"
61 => "Twig\Template::displayBlock (line 134)"
62 => "Twig\Template::displayParentBlock (line 71)"
63 => "__TwigTemplate_3d4777fcf75842349da241d4044d7d72::block_base_main (line 171)"
64 => "Twig\Template::displayBlock (line 283)"
65 => "__TwigTemplate_edfe32b5c98942de2b24393e846ea184::block_base_body_inner (line 171)"
66 => "Twig\Template::displayBlock (line 193)"
67 => "__TwigTemplate_edfe32b5c98942de2b24393e846ea184::block_base_body (line 171)"
68 => "Twig\Template::displayBlock (line 97)"
69 => "__TwigTemplate_edfe32b5c98942de2b24393e846ea184::doDisplay (line 394)"
70 => "Twig\Template::displayWithErrorHandling (line 367)"
71 => "Twig\Template::display (line 49)"
72 => "__TwigTemplate_317ed82f740e5079054f5b72bb59033c::doDisplay (line 394)"
73 => "Twig\Template::displayWithErrorHandling (line 367)"
74 => "Twig\Template::display (line 50)"
75 => "__TwigTemplate_3d4777fcf75842349da241d4044d7d72::doDisplay (line 394)"
76 => "Twig\Template::displayWithErrorHandling (line 367)"
77 => "Twig\Template::display (line 50)"
78 => "__TwigTemplate_aa1832859ad5b25e9cc640dfcf28a0bc::doDisplay (line 394)"
79 => "Twig\Template::displayWithErrorHandling (line 367)"
80 => "Twig\Template::display (line 54)"
81 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::doDisplay (line 394)"
82 => "Twig\Template::displayWithErrorHandling (line 367)"
83 => "Twig\Template::display (line 52)"
84 => "__TwigTemplate_da551205fea81b0c3b361980c09151e2::doDisplay (line 394)"
85 => "Twig\Template::displayWithErrorHandling (line 367)"
86 => "Twig\Template::display (line 379)"
87 => "Twig\Template::render (line 40)"
88 => "Twig\TemplateWrapper::render (line 277)"
89 => "Twig\Environment::render (line 235)"
90 => "Shopware\Storefront\Controller\StorefrontController::renderView (line 266)"
91 => "Symfony\Bundle\FrameworkBundle\Controller\AbstractController::render (line 72)"
92 => "Shopware\Storefront\Controller\StorefrontController::Shopware\Storefront\Controller\{closure} (line 59)"
93 => "Shopware\Core\Profiling\Profiler::trace (line 73)"
94 => "Shopware\Storefront\Controller\StorefrontController::renderStorefront (line 52)"
95 => "Shopware\Storefront\Controller\NavigationController::home (line 163)"
96 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
97 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
98 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
99 => "Shopware\Core\HttpKernel::doHandle (line 81)"
100 => "Shopware\Core\HttpKernel::handle (line 75)"
]
|
134 |
0.97 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_41b2a0a65c164eb08a375d1c79689f9f) AND `product.visibilities`.`sales_channel_id` = :param_0a17376e91db44a39cb3f8ce10e51b2e AND IFNULL(`product`.`active`, `product.parent`.`active`) = :param_2272d8268a9540a0ab9f1f9d539728f5))) 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` = 0x620A2217F7474E619CB00AD39E804CCA AND IFNULL(`product`.`active`, `product.parent`.`active`) = 1))) AND (`product`.`id` IN (0x12399480A05A4762B2F1F9ADE33FE485)) GROUP BY `product`.`id`;
array:176 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
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 35)"
7 => "Bodymed\Webshop\StoreFront\Controller\Fragment\MykeyController::productButton (line 163)"
8 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
9 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 86)"
10 => "Symfony\Component\HttpKernel\HttpCache\SubRequestHandler::handle (line 80)"
11 => "Symfony\Component\HttpKernel\Fragment\InlineFragmentRenderer::render (line 67)"
12 => "Symfony\Component\HttpKernel\Fragment\AbstractSurrogateFragmentRenderer::render (line 85)"
13 => "Symfony\Component\HttpKernel\Fragment\FragmentHandler::render (line 49)"
14 => "Symfony\Component\HttpKernel\DependencyInjection\LazyLoadingFragmentHandler::render (line 58)"
15 => "Symfony\Bridge\Twig\Extension\HttpKernelRuntime::renderFragmentStrategy (line 49)"
16 => "__TwigTemplate_2cfe98682834d1687f8d6a50e5c6c875::doDisplay (line 394)"
17 => "Twig\Template::displayWithErrorHandling (line 367)"
18 => "Twig\Template::display (line 433)"
19 => "__TwigTemplate_14ab916158f2c76dbf3ead9c965366ee::block_page_product_detail_product_buy_button (line 171)"
20 => "Twig\Template::displayBlock (line 286)"
21 => "__TwigTemplate_14ab916158f2c76dbf3ead9c965366ee::block_component_product_box_action_form (line 171)"
22 => "Twig\Template::displayBlock (line 176)"
23 => "__TwigTemplate_14ab916158f2c76dbf3ead9c965366ee::block_component_product_box_action_buy (line 171)"
24 => "Twig\Template::displayBlock (line 99)"
25 => "__TwigTemplate_14ab916158f2c76dbf3ead9c965366ee::block_component_product_box_action_inner (line 171)"
26 => "Twig\Template::displayBlock (line 55)"
27 => "__TwigTemplate_7d431b166c1076fe75d90ae2937a4fbf::doDisplay (line 394)"
28 => "Twig\Template::displayWithErrorHandling (line 367)"
29 => "Twig\Template::display (line 49)"
30 => "__TwigTemplate_c24467d8881cb30f26590a715cb8a7d0::doDisplay (line 394)"
31 => "Twig\Template::displayWithErrorHandling (line 367)"
32 => "Twig\Template::display (line 50)"
33 => "__TwigTemplate_51d4ff6a5b878003b8d295ae4681dc08::doDisplay (line 394)"
34 => "Twig\Template::displayWithErrorHandling (line 367)"
35 => "Twig\Template::display (line 59)"
36 => "__TwigTemplate_14ab916158f2c76dbf3ead9c965366ee::doDisplay (line 394)"
37 => "Twig\Template::displayWithErrorHandling (line 367)"
38 => "Twig\Template::display (line 686)"
39 => "__TwigTemplate_2a61b8c78ac82d7c4633d6e5ef88ea2a::block_component_product_box_action (line 171)"
40 => "Twig\Template::displayBlock (line 479)"
41 => "__TwigTemplate_2a61b8c78ac82d7c4633d6e5ef88ea2a::block_component_product_box_info (line 171)"
42 => "Twig\Template::displayBlock (line 148)"
43 => "__TwigTemplate_2a61b8c78ac82d7c4633d6e5ef88ea2a::block_component_product_box_content (line 171)"
44 => "Twig\Template::displayBlock (line 134)"
45 => "Twig\Template::displayParentBlock (line 72)"
46 => "__TwigTemplate_473b5d9381e520cd45967dc806bd35eb::block_component_product_box_content (line 171)"
47 => "Twig\Template::displayBlock (line 134)"
48 => "Twig\Template::displayParentBlock (line 345)"
49 => "__TwigTemplate_3d831625f614bd36fa47a6d2d9e066c4::block_component_product_box_content (line 171)"
50 => "Twig\Template::displayBlock (line 106)"
51 => "__TwigTemplate_2a61b8c78ac82d7c4633d6e5ef88ea2a::block_component_product_box (line 171)"
52 => "Twig\Template::displayBlock (line 62)"
53 => "__TwigTemplate_2a61b8c78ac82d7c4633d6e5ef88ea2a::doDisplay (line 394)"
54 => "Twig\Template::displayWithErrorHandling (line 367)"
55 => "Twig\Template::display (line 50)"
56 => "__TwigTemplate_473b5d9381e520cd45967dc806bd35eb::doDisplay (line 394)"
57 => "Twig\Template::displayWithErrorHandling (line 367)"
58 => "Twig\Template::display (line 53)"
59 => "__TwigTemplate_3d831625f614bd36fa47a6d2d9e066c4::doDisplay (line 394)"
60 => "Twig\Template::displayWithErrorHandling (line 367)"
61 => "Twig\Template::display (line 100)"
62 => "__TwigTemplate_95c5ec1c6cbf2f020c5f49f6da7b4824::block_component_product_box_include (line 171)"
63 => "Twig\Template::displayBlock (line 46)"
64 => "__TwigTemplate_95c5ec1c6cbf2f020c5f49f6da7b4824::doDisplay (line 394)"
65 => "Twig\Template::displayWithErrorHandling (line 367)"
66 => "Twig\Template::display (line 213)"
67 => "__TwigTemplate_fd1dee84d1699b805159e6ca3e1448b9::block_element_product_slider_inner_item (line 171)"
68 => "Twig\Template::displayBlock (line 305)"
69 => "__TwigTemplate_5360887332fa588f24ce84d03f2a9dcb::block_element_product_slider_element (line 171)"
70 => "Twig\Template::displayBlock (line 256)"
71 => "__TwigTemplate_5360887332fa588f24ce84d03f2a9dcb::block_element_product_slider_inner (line 171)"
72 => "Twig\Template::displayBlock (line 200)"
73 => "__TwigTemplate_5360887332fa588f24ce84d03f2a9dcb::block_element_product_slider_slider (line 171)"
74 => "Twig\Template::displayBlock (line 148)"
75 => "__TwigTemplate_5360887332fa588f24ce84d03f2a9dcb::block_element_product_slider_alignment (line 171)"
76 => "Twig\Template::displayBlock (line 97)"
77 => "__TwigTemplate_5360887332fa588f24ce84d03f2a9dcb::block_element_product_slider (line 171)"
78 => "Twig\Template::displayBlock (line 56)"
79 => "__TwigTemplate_5360887332fa588f24ce84d03f2a9dcb::doDisplay (line 394)"
80 => "Twig\Template::displayWithErrorHandling (line 367)"
81 => "Twig\Template::display (line 50)"
82 => "__TwigTemplate_fd1dee84d1699b805159e6ca3e1448b9::doDisplay (line 394)"
83 => "Twig\Template::displayWithErrorHandling (line 367)"
84 => "Twig\Template::display (line 51)"
85 => "__TwigTemplate_f4b00fca4c0b72160541c3749254ef87::doDisplay (line 394)"
86 => "Twig\Template::displayWithErrorHandling (line 367)"
87 => "Twig\Template::display (line 248)"
88 => "__TwigTemplate_aa97fabf4ba2709c6244f65d49131341::block_block_product_two_column_left_inner (line 171)"
89 => "Twig\Template::displayBlock (line 211)"
90 => "__TwigTemplate_aa97fabf4ba2709c6244f65d49131341::block_block_product_two_column_left (line 171)"
91 => "Twig\Template::displayBlock (line 88)"
92 => "__TwigTemplate_aa97fabf4ba2709c6244f65d49131341::block_block_product_two_column (line 171)"
93 => "Twig\Template::displayBlock (line 50)"
94 => "__TwigTemplate_aa97fabf4ba2709c6244f65d49131341::doDisplay (line 394)"
95 => "Twig\Template::displayWithErrorHandling (line 367)"
96 => "Twig\Template::display (line 326)"
97 => "__TwigTemplate_de51fe3149c36c2d13038f03675e7186::block_section_content_block_row (line 171)"
98 => "Twig\Template::displayBlock (line 285)"
99 => "__TwigTemplate_de51fe3149c36c2d13038f03675e7186::block_section_content_block_container (line 171)"
100 => "Twig\Template::displayBlock (line 213)"
101 => "__TwigTemplate_de51fe3149c36c2d13038f03675e7186::block_section_content_block (line 171)"
102 => "Twig\Template::displayBlock (line 49)"
103 => "__TwigTemplate_de51fe3149c36c2d13038f03675e7186::doDisplay (line 394)"
104 => "Twig\Template::displayWithErrorHandling (line 367)"
105 => "Twig\Template::display (line 132)"
106 => "__TwigTemplate_2166dd94fe780598b8fdcf72ddd769c9::block_section_default_content_block (line 171)"
107 => "Twig\Template::displayBlock (line 94)"
108 => "__TwigTemplate_2166dd94fe780598b8fdcf72ddd769c9::block_page_content_section_default (line 171)"
109 => "Twig\Template::displayBlock (line 47)"
110 => "__TwigTemplate_2166dd94fe780598b8fdcf72ddd769c9::doDisplay (line 394)"
111 => "Twig\Template::displayWithErrorHandling (line 367)"
112 => "Twig\Template::display (line 221)"
113 => "__TwigTemplate_2698d288dda261b2d5360419617c8736::block_page_content_section (line 171)"
114 => "Twig\Template::displayBlock (line 135)"
115 => "__TwigTemplate_2698d288dda261b2d5360419617c8736::block_page_content_sections_inner (line 171)"
116 => "Twig\Template::displayBlock (line 47)"
117 => "__TwigTemplate_fe3011e8614935f2877430f24082e841::doDisplay (line 394)"
118 => "Twig\Template::displayWithErrorHandling (line 367)"
119 => "Twig\Template::display (line 50)"
120 => "__TwigTemplate_e550e0b90883c1187f499e90e2cd999a::doDisplay (line 394)"
121 => "Twig\Template::displayWithErrorHandling (line 367)"
122 => "Twig\Template::display (line 51)"
123 => "__TwigTemplate_2698d288dda261b2d5360419617c8736::doDisplay (line 394)"
124 => "Twig\Template::displayWithErrorHandling (line 367)"
125 => "Twig\Template::display (line 211)"
126 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::block_page_content_blocks (line 171)"
127 => "Twig\Template::displayBlock (line 187)"
128 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::block_cms_content (line 171)"
129 => "Twig\Template::displayBlock (line 106)"
130 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::block_page_content (line 171)"
131 => "Twig\Template::displayBlock (line 77)"
132 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::block_base_main_inner (line 171)"
133 => "Twig\Template::displayBlock (line 504)"
134 => "__TwigTemplate_edfe32b5c98942de2b24393e846ea184::block_base_main (line 171)"
135 => "Twig\Template::displayBlock (line 191)"
136 => "Twig\Template::displayBlock (line 134)"
137 => "Twig\Template::displayParentBlock (line 71)"
138 => "__TwigTemplate_3d4777fcf75842349da241d4044d7d72::block_base_main (line 171)"
139 => "Twig\Template::displayBlock (line 283)"
140 => "__TwigTemplate_edfe32b5c98942de2b24393e846ea184::block_base_body_inner (line 171)"
141 => "Twig\Template::displayBlock (line 193)"
142 => "__TwigTemplate_edfe32b5c98942de2b24393e846ea184::block_base_body (line 171)"
143 => "Twig\Template::displayBlock (line 97)"
144 => "__TwigTemplate_edfe32b5c98942de2b24393e846ea184::doDisplay (line 394)"
145 => "Twig\Template::displayWithErrorHandling (line 367)"
146 => "Twig\Template::display (line 49)"
147 => "__TwigTemplate_317ed82f740e5079054f5b72bb59033c::doDisplay (line 394)"
148 => "Twig\Template::displayWithErrorHandling (line 367)"
149 => "Twig\Template::display (line 50)"
150 => "__TwigTemplate_3d4777fcf75842349da241d4044d7d72::doDisplay (line 394)"
151 => "Twig\Template::displayWithErrorHandling (line 367)"
152 => "Twig\Template::display (line 50)"
153 => "__TwigTemplate_aa1832859ad5b25e9cc640dfcf28a0bc::doDisplay (line 394)"
154 => "Twig\Template::displayWithErrorHandling (line 367)"
155 => "Twig\Template::display (line 54)"
156 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::doDisplay (line 394)"
157 => "Twig\Template::displayWithErrorHandling (line 367)"
158 => "Twig\Template::display (line 52)"
159 => "__TwigTemplate_da551205fea81b0c3b361980c09151e2::doDisplay (line 394)"
160 => "Twig\Template::displayWithErrorHandling (line 367)"
161 => "Twig\Template::display (line 379)"
162 => "Twig\Template::render (line 40)"
163 => "Twig\TemplateWrapper::render (line 277)"
164 => "Twig\Environment::render (line 235)"
165 => "Shopware\Storefront\Controller\StorefrontController::renderView (line 266)"
166 => "Symfony\Bundle\FrameworkBundle\Controller\AbstractController::render (line 72)"
167 => "Shopware\Storefront\Controller\StorefrontController::Shopware\Storefront\Controller\{closure} (line 59)"
168 => "Shopware\Core\Profiling\Profiler::trace (line 73)"
169 => "Shopware\Storefront\Controller\StorefrontController::renderStorefront (line 52)"
170 => "Shopware\Storefront\Controller\NavigationController::home (line 163)"
171 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
172 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
173 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
174 => "Shopware\Core\HttpKernel::doHandle (line 81)"
175 => "Shopware\Core\HttpKernel::handle (line 75)"
]
|
135 |
34.51 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.bundle`.`id` as `product.bundle.id`, `product.bundle`.`product_id` as `product.bundle.productId`, `product.bundle`.`product_version_id` as `product.bundle.productVersionId`, `product.bundle`.`name` as `product.bundle.name`, `product.bundle`.`price_type` as `product.bundle.priceType`, `product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`, `product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`, `product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`, `product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`, `product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`, `product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`, `product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`, `product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`, `product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`, `product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`, `product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`, `product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`, `product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`, `product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`, `product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`, `product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`, `product.bundle`.`created_at` as `product.bundle.createdAt`, `product.bundle`.`updated_at` as `product.bundle.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 `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_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 `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`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.bundle`.`id` as `product.bundle.id`,
`product.bundle`.`product_id` as `product.bundle.productId`,
`product.bundle`.`product_version_id` as `product.bundle.productVersionId`,
`product.bundle`.`name` as `product.bundle.name`,
`product.bundle`.`price_type` as `product.bundle.priceType`,
`product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`,
`product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`,
`product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`,
`product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`,
`product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`,
`product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`,
`product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`,
`product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`,
`product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`,
`product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`,
`product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`,
`product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`,
`product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`,
`product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`,
`product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`,
`product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`,
`product.bundle`.`created_at` as `product.bundle.createdAt`,
`product.bundle`.`updated_at` as `product.bundle.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 `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_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 `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id`
LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id`
LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`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.bundle`.`id` as `product.bundle.id`, `product.bundle`.`product_id` as `product.bundle.productId`, `product.bundle`.`product_version_id` as `product.bundle.productVersionId`, `product.bundle`.`name` as `product.bundle.name`, `product.bundle`.`price_type` as `product.bundle.priceType`, `product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`, `product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`, `product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`, `product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`, `product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`, `product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`, `product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`, `product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`, `product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`, `product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`, `product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`, `product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`, `product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`, `product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`, `product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`, `product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`, `product.bundle`.`created_at` as `product.bundle.createdAt`, `product.bundle`.`updated_at` as `product.bundle.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 `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_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 `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`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 (0x12399480A05A4762B2F1F9ADE33FE485));
array:177 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
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 35)"
8 => "Bodymed\Webshop\StoreFront\Controller\Fragment\MykeyController::productButton (line 163)"
9 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
10 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 86)"
11 => "Symfony\Component\HttpKernel\HttpCache\SubRequestHandler::handle (line 80)"
12 => "Symfony\Component\HttpKernel\Fragment\InlineFragmentRenderer::render (line 67)"
13 => "Symfony\Component\HttpKernel\Fragment\AbstractSurrogateFragmentRenderer::render (line 85)"
14 => "Symfony\Component\HttpKernel\Fragment\FragmentHandler::render (line 49)"
15 => "Symfony\Component\HttpKernel\DependencyInjection\LazyLoadingFragmentHandler::render (line 58)"
16 => "Symfony\Bridge\Twig\Extension\HttpKernelRuntime::renderFragmentStrategy (line 49)"
17 => "__TwigTemplate_2cfe98682834d1687f8d6a50e5c6c875::doDisplay (line 394)"
18 => "Twig\Template::displayWithErrorHandling (line 367)"
19 => "Twig\Template::display (line 433)"
20 => "__TwigTemplate_14ab916158f2c76dbf3ead9c965366ee::block_page_product_detail_product_buy_button (line 171)"
21 => "Twig\Template::displayBlock (line 286)"
22 => "__TwigTemplate_14ab916158f2c76dbf3ead9c965366ee::block_component_product_box_action_form (line 171)"
23 => "Twig\Template::displayBlock (line 176)"
24 => "__TwigTemplate_14ab916158f2c76dbf3ead9c965366ee::block_component_product_box_action_buy (line 171)"
25 => "Twig\Template::displayBlock (line 99)"
26 => "__TwigTemplate_14ab916158f2c76dbf3ead9c965366ee::block_component_product_box_action_inner (line 171)"
27 => "Twig\Template::displayBlock (line 55)"
28 => "__TwigTemplate_7d431b166c1076fe75d90ae2937a4fbf::doDisplay (line 394)"
29 => "Twig\Template::displayWithErrorHandling (line 367)"
30 => "Twig\Template::display (line 49)"
31 => "__TwigTemplate_c24467d8881cb30f26590a715cb8a7d0::doDisplay (line 394)"
32 => "Twig\Template::displayWithErrorHandling (line 367)"
33 => "Twig\Template::display (line 50)"
34 => "__TwigTemplate_51d4ff6a5b878003b8d295ae4681dc08::doDisplay (line 394)"
35 => "Twig\Template::displayWithErrorHandling (line 367)"
36 => "Twig\Template::display (line 59)"
37 => "__TwigTemplate_14ab916158f2c76dbf3ead9c965366ee::doDisplay (line 394)"
38 => "Twig\Template::displayWithErrorHandling (line 367)"
39 => "Twig\Template::display (line 686)"
40 => "__TwigTemplate_2a61b8c78ac82d7c4633d6e5ef88ea2a::block_component_product_box_action (line 171)"
41 => "Twig\Template::displayBlock (line 479)"
42 => "__TwigTemplate_2a61b8c78ac82d7c4633d6e5ef88ea2a::block_component_product_box_info (line 171)"
43 => "Twig\Template::displayBlock (line 148)"
44 => "__TwigTemplate_2a61b8c78ac82d7c4633d6e5ef88ea2a::block_component_product_box_content (line 171)"
45 => "Twig\Template::displayBlock (line 134)"
46 => "Twig\Template::displayParentBlock (line 72)"
47 => "__TwigTemplate_473b5d9381e520cd45967dc806bd35eb::block_component_product_box_content (line 171)"
48 => "Twig\Template::displayBlock (line 134)"
49 => "Twig\Template::displayParentBlock (line 345)"
50 => "__TwigTemplate_3d831625f614bd36fa47a6d2d9e066c4::block_component_product_box_content (line 171)"
51 => "Twig\Template::displayBlock (line 106)"
52 => "__TwigTemplate_2a61b8c78ac82d7c4633d6e5ef88ea2a::block_component_product_box (line 171)"
53 => "Twig\Template::displayBlock (line 62)"
54 => "__TwigTemplate_2a61b8c78ac82d7c4633d6e5ef88ea2a::doDisplay (line 394)"
55 => "Twig\Template::displayWithErrorHandling (line 367)"
56 => "Twig\Template::display (line 50)"
57 => "__TwigTemplate_473b5d9381e520cd45967dc806bd35eb::doDisplay (line 394)"
58 => "Twig\Template::displayWithErrorHandling (line 367)"
59 => "Twig\Template::display (line 53)"
60 => "__TwigTemplate_3d831625f614bd36fa47a6d2d9e066c4::doDisplay (line 394)"
61 => "Twig\Template::displayWithErrorHandling (line 367)"
62 => "Twig\Template::display (line 100)"
63 => "__TwigTemplate_95c5ec1c6cbf2f020c5f49f6da7b4824::block_component_product_box_include (line 171)"
64 => "Twig\Template::displayBlock (line 46)"
65 => "__TwigTemplate_95c5ec1c6cbf2f020c5f49f6da7b4824::doDisplay (line 394)"
66 => "Twig\Template::displayWithErrorHandling (line 367)"
67 => "Twig\Template::display (line 213)"
68 => "__TwigTemplate_fd1dee84d1699b805159e6ca3e1448b9::block_element_product_slider_inner_item (line 171)"
69 => "Twig\Template::displayBlock (line 305)"
70 => "__TwigTemplate_5360887332fa588f24ce84d03f2a9dcb::block_element_product_slider_element (line 171)"
71 => "Twig\Template::displayBlock (line 256)"
72 => "__TwigTemplate_5360887332fa588f24ce84d03f2a9dcb::block_element_product_slider_inner (line 171)"
73 => "Twig\Template::displayBlock (line 200)"
74 => "__TwigTemplate_5360887332fa588f24ce84d03f2a9dcb::block_element_product_slider_slider (line 171)"
75 => "Twig\Template::displayBlock (line 148)"
76 => "__TwigTemplate_5360887332fa588f24ce84d03f2a9dcb::block_element_product_slider_alignment (line 171)"
77 => "Twig\Template::displayBlock (line 97)"
78 => "__TwigTemplate_5360887332fa588f24ce84d03f2a9dcb::block_element_product_slider (line 171)"
79 => "Twig\Template::displayBlock (line 56)"
80 => "__TwigTemplate_5360887332fa588f24ce84d03f2a9dcb::doDisplay (line 394)"
81 => "Twig\Template::displayWithErrorHandling (line 367)"
82 => "Twig\Template::display (line 50)"
83 => "__TwigTemplate_fd1dee84d1699b805159e6ca3e1448b9::doDisplay (line 394)"
84 => "Twig\Template::displayWithErrorHandling (line 367)"
85 => "Twig\Template::display (line 51)"
86 => "__TwigTemplate_f4b00fca4c0b72160541c3749254ef87::doDisplay (line 394)"
87 => "Twig\Template::displayWithErrorHandling (line 367)"
88 => "Twig\Template::display (line 248)"
89 => "__TwigTemplate_aa97fabf4ba2709c6244f65d49131341::block_block_product_two_column_left_inner (line 171)"
90 => "Twig\Template::displayBlock (line 211)"
91 => "__TwigTemplate_aa97fabf4ba2709c6244f65d49131341::block_block_product_two_column_left (line 171)"
92 => "Twig\Template::displayBlock (line 88)"
93 => "__TwigTemplate_aa97fabf4ba2709c6244f65d49131341::block_block_product_two_column (line 171)"
94 => "Twig\Template::displayBlock (line 50)"
95 => "__TwigTemplate_aa97fabf4ba2709c6244f65d49131341::doDisplay (line 394)"
96 => "Twig\Template::displayWithErrorHandling (line 367)"
97 => "Twig\Template::display (line 326)"
98 => "__TwigTemplate_de51fe3149c36c2d13038f03675e7186::block_section_content_block_row (line 171)"
99 => "Twig\Template::displayBlock (line 285)"
100 => "__TwigTemplate_de51fe3149c36c2d13038f03675e7186::block_section_content_block_container (line 171)"
101 => "Twig\Template::displayBlock (line 213)"
102 => "__TwigTemplate_de51fe3149c36c2d13038f03675e7186::block_section_content_block (line 171)"
103 => "Twig\Template::displayBlock (line 49)"
104 => "__TwigTemplate_de51fe3149c36c2d13038f03675e7186::doDisplay (line 394)"
105 => "Twig\Template::displayWithErrorHandling (line 367)"
106 => "Twig\Template::display (line 132)"
107 => "__TwigTemplate_2166dd94fe780598b8fdcf72ddd769c9::block_section_default_content_block (line 171)"
108 => "Twig\Template::displayBlock (line 94)"
109 => "__TwigTemplate_2166dd94fe780598b8fdcf72ddd769c9::block_page_content_section_default (line 171)"
110 => "Twig\Template::displayBlock (line 47)"
111 => "__TwigTemplate_2166dd94fe780598b8fdcf72ddd769c9::doDisplay (line 394)"
112 => "Twig\Template::displayWithErrorHandling (line 367)"
113 => "Twig\Template::display (line 221)"
114 => "__TwigTemplate_2698d288dda261b2d5360419617c8736::block_page_content_section (line 171)"
115 => "Twig\Template::displayBlock (line 135)"
116 => "__TwigTemplate_2698d288dda261b2d5360419617c8736::block_page_content_sections_inner (line 171)"
117 => "Twig\Template::displayBlock (line 47)"
118 => "__TwigTemplate_fe3011e8614935f2877430f24082e841::doDisplay (line 394)"
119 => "Twig\Template::displayWithErrorHandling (line 367)"
120 => "Twig\Template::display (line 50)"
121 => "__TwigTemplate_e550e0b90883c1187f499e90e2cd999a::doDisplay (line 394)"
122 => "Twig\Template::displayWithErrorHandling (line 367)"
123 => "Twig\Template::display (line 51)"
124 => "__TwigTemplate_2698d288dda261b2d5360419617c8736::doDisplay (line 394)"
125 => "Twig\Template::displayWithErrorHandling (line 367)"
126 => "Twig\Template::display (line 211)"
127 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::block_page_content_blocks (line 171)"
128 => "Twig\Template::displayBlock (line 187)"
129 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::block_cms_content (line 171)"
130 => "Twig\Template::displayBlock (line 106)"
131 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::block_page_content (line 171)"
132 => "Twig\Template::displayBlock (line 77)"
133 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::block_base_main_inner (line 171)"
134 => "Twig\Template::displayBlock (line 504)"
135 => "__TwigTemplate_edfe32b5c98942de2b24393e846ea184::block_base_main (line 171)"
136 => "Twig\Template::displayBlock (line 191)"
137 => "Twig\Template::displayBlock (line 134)"
138 => "Twig\Template::displayParentBlock (line 71)"
139 => "__TwigTemplate_3d4777fcf75842349da241d4044d7d72::block_base_main (line 171)"
140 => "Twig\Template::displayBlock (line 283)"
141 => "__TwigTemplate_edfe32b5c98942de2b24393e846ea184::block_base_body_inner (line 171)"
142 => "Twig\Template::displayBlock (line 193)"
143 => "__TwigTemplate_edfe32b5c98942de2b24393e846ea184::block_base_body (line 171)"
144 => "Twig\Template::displayBlock (line 97)"
145 => "__TwigTemplate_edfe32b5c98942de2b24393e846ea184::doDisplay (line 394)"
146 => "Twig\Template::displayWithErrorHandling (line 367)"
147 => "Twig\Template::display (line 49)"
148 => "__TwigTemplate_317ed82f740e5079054f5b72bb59033c::doDisplay (line 394)"
149 => "Twig\Template::displayWithErrorHandling (line 367)"
150 => "Twig\Template::display (line 50)"
151 => "__TwigTemplate_3d4777fcf75842349da241d4044d7d72::doDisplay (line 394)"
152 => "Twig\Template::displayWithErrorHandling (line 367)"
153 => "Twig\Template::display (line 50)"
154 => "__TwigTemplate_aa1832859ad5b25e9cc640dfcf28a0bc::doDisplay (line 394)"
155 => "Twig\Template::displayWithErrorHandling (line 367)"
156 => "Twig\Template::display (line 54)"
157 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::doDisplay (line 394)"
158 => "Twig\Template::displayWithErrorHandling (line 367)"
159 => "Twig\Template::display (line 52)"
160 => "__TwigTemplate_da551205fea81b0c3b361980c09151e2::doDisplay (line 394)"
161 => "Twig\Template::displayWithErrorHandling (line 367)"
162 => "Twig\Template::display (line 379)"
163 => "Twig\Template::render (line 40)"
164 => "Twig\TemplateWrapper::render (line 277)"
165 => "Twig\Environment::render (line 235)"
166 => "Shopware\Storefront\Controller\StorefrontController::renderView (line 266)"
167 => "Symfony\Bundle\FrameworkBundle\Controller\AbstractController::render (line 72)"
168 => "Shopware\Storefront\Controller\StorefrontController::Shopware\Storefront\Controller\{closure} (line 59)"
169 => "Shopware\Core\Profiling\Profiler::trace (line 73)"
170 => "Shopware\Storefront\Controller\StorefrontController::renderStorefront (line 52)"
171 => "Shopware\Storefront\Controller\NavigationController::home (line 163)"
172 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
173 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
174 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
175 => "Shopware\Core\HttpKernel::doHandle (line 81)"
176 => "Shopware\Core\HttpKernel::handle (line 75)"
]
|
136 |
1.23 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_78f6ab0a313645d5b574e46f90e7edb7)))
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 (0x12399480A05A4762B2F1F9ADE33FE485)));
array:181 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
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 35)"
12 => "Bodymed\Webshop\StoreFront\Controller\Fragment\MykeyController::productButton (line 163)"
13 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
14 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 86)"
15 => "Symfony\Component\HttpKernel\HttpCache\SubRequestHandler::handle (line 80)"
16 => "Symfony\Component\HttpKernel\Fragment\InlineFragmentRenderer::render (line 67)"
17 => "Symfony\Component\HttpKernel\Fragment\AbstractSurrogateFragmentRenderer::render (line 85)"
18 => "Symfony\Component\HttpKernel\Fragment\FragmentHandler::render (line 49)"
19 => "Symfony\Component\HttpKernel\DependencyInjection\LazyLoadingFragmentHandler::render (line 58)"
20 => "Symfony\Bridge\Twig\Extension\HttpKernelRuntime::renderFragmentStrategy (line 49)"
21 => "__TwigTemplate_2cfe98682834d1687f8d6a50e5c6c875::doDisplay (line 394)"
22 => "Twig\Template::displayWithErrorHandling (line 367)"
23 => "Twig\Template::display (line 433)"
24 => "__TwigTemplate_14ab916158f2c76dbf3ead9c965366ee::block_page_product_detail_product_buy_button (line 171)"
25 => "Twig\Template::displayBlock (line 286)"
26 => "__TwigTemplate_14ab916158f2c76dbf3ead9c965366ee::block_component_product_box_action_form (line 171)"
27 => "Twig\Template::displayBlock (line 176)"
28 => "__TwigTemplate_14ab916158f2c76dbf3ead9c965366ee::block_component_product_box_action_buy (line 171)"
29 => "Twig\Template::displayBlock (line 99)"
30 => "__TwigTemplate_14ab916158f2c76dbf3ead9c965366ee::block_component_product_box_action_inner (line 171)"
31 => "Twig\Template::displayBlock (line 55)"
32 => "__TwigTemplate_7d431b166c1076fe75d90ae2937a4fbf::doDisplay (line 394)"
33 => "Twig\Template::displayWithErrorHandling (line 367)"
34 => "Twig\Template::display (line 49)"
35 => "__TwigTemplate_c24467d8881cb30f26590a715cb8a7d0::doDisplay (line 394)"
36 => "Twig\Template::displayWithErrorHandling (line 367)"
37 => "Twig\Template::display (line 50)"
38 => "__TwigTemplate_51d4ff6a5b878003b8d295ae4681dc08::doDisplay (line 394)"
39 => "Twig\Template::displayWithErrorHandling (line 367)"
40 => "Twig\Template::display (line 59)"
41 => "__TwigTemplate_14ab916158f2c76dbf3ead9c965366ee::doDisplay (line 394)"
42 => "Twig\Template::displayWithErrorHandling (line 367)"
43 => "Twig\Template::display (line 686)"
44 => "__TwigTemplate_2a61b8c78ac82d7c4633d6e5ef88ea2a::block_component_product_box_action (line 171)"
45 => "Twig\Template::displayBlock (line 479)"
46 => "__TwigTemplate_2a61b8c78ac82d7c4633d6e5ef88ea2a::block_component_product_box_info (line 171)"
47 => "Twig\Template::displayBlock (line 148)"
48 => "__TwigTemplate_2a61b8c78ac82d7c4633d6e5ef88ea2a::block_component_product_box_content (line 171)"
49 => "Twig\Template::displayBlock (line 134)"
50 => "Twig\Template::displayParentBlock (line 72)"
51 => "__TwigTemplate_473b5d9381e520cd45967dc806bd35eb::block_component_product_box_content (line 171)"
52 => "Twig\Template::displayBlock (line 134)"
53 => "Twig\Template::displayParentBlock (line 345)"
54 => "__TwigTemplate_3d831625f614bd36fa47a6d2d9e066c4::block_component_product_box_content (line 171)"
55 => "Twig\Template::displayBlock (line 106)"
56 => "__TwigTemplate_2a61b8c78ac82d7c4633d6e5ef88ea2a::block_component_product_box (line 171)"
57 => "Twig\Template::displayBlock (line 62)"
58 => "__TwigTemplate_2a61b8c78ac82d7c4633d6e5ef88ea2a::doDisplay (line 394)"
59 => "Twig\Template::displayWithErrorHandling (line 367)"
60 => "Twig\Template::display (line 50)"
61 => "__TwigTemplate_473b5d9381e520cd45967dc806bd35eb::doDisplay (line 394)"
62 => "Twig\Template::displayWithErrorHandling (line 367)"
63 => "Twig\Template::display (line 53)"
64 => "__TwigTemplate_3d831625f614bd36fa47a6d2d9e066c4::doDisplay (line 394)"
65 => "Twig\Template::displayWithErrorHandling (line 367)"
66 => "Twig\Template::display (line 100)"
67 => "__TwigTemplate_95c5ec1c6cbf2f020c5f49f6da7b4824::block_component_product_box_include (line 171)"
68 => "Twig\Template::displayBlock (line 46)"
69 => "__TwigTemplate_95c5ec1c6cbf2f020c5f49f6da7b4824::doDisplay (line 394)"
70 => "Twig\Template::displayWithErrorHandling (line 367)"
71 => "Twig\Template::display (line 213)"
72 => "__TwigTemplate_fd1dee84d1699b805159e6ca3e1448b9::block_element_product_slider_inner_item (line 171)"
73 => "Twig\Template::displayBlock (line 305)"
74 => "__TwigTemplate_5360887332fa588f24ce84d03f2a9dcb::block_element_product_slider_element (line 171)"
75 => "Twig\Template::displayBlock (line 256)"
76 => "__TwigTemplate_5360887332fa588f24ce84d03f2a9dcb::block_element_product_slider_inner (line 171)"
77 => "Twig\Template::displayBlock (line 200)"
78 => "__TwigTemplate_5360887332fa588f24ce84d03f2a9dcb::block_element_product_slider_slider (line 171)"
79 => "Twig\Template::displayBlock (line 148)"
80 => "__TwigTemplate_5360887332fa588f24ce84d03f2a9dcb::block_element_product_slider_alignment (line 171)"
81 => "Twig\Template::displayBlock (line 97)"
82 => "__TwigTemplate_5360887332fa588f24ce84d03f2a9dcb::block_element_product_slider (line 171)"
83 => "Twig\Template::displayBlock (line 56)"
84 => "__TwigTemplate_5360887332fa588f24ce84d03f2a9dcb::doDisplay (line 394)"
85 => "Twig\Template::displayWithErrorHandling (line 367)"
86 => "Twig\Template::display (line 50)"
87 => "__TwigTemplate_fd1dee84d1699b805159e6ca3e1448b9::doDisplay (line 394)"
88 => "Twig\Template::displayWithErrorHandling (line 367)"
89 => "Twig\Template::display (line 51)"
90 => "__TwigTemplate_f4b00fca4c0b72160541c3749254ef87::doDisplay (line 394)"
91 => "Twig\Template::displayWithErrorHandling (line 367)"
92 => "Twig\Template::display (line 248)"
93 => "__TwigTemplate_aa97fabf4ba2709c6244f65d49131341::block_block_product_two_column_left_inner (line 171)"
94 => "Twig\Template::displayBlock (line 211)"
95 => "__TwigTemplate_aa97fabf4ba2709c6244f65d49131341::block_block_product_two_column_left (line 171)"
96 => "Twig\Template::displayBlock (line 88)"
97 => "__TwigTemplate_aa97fabf4ba2709c6244f65d49131341::block_block_product_two_column (line 171)"
98 => "Twig\Template::displayBlock (line 50)"
99 => "__TwigTemplate_aa97fabf4ba2709c6244f65d49131341::doDisplay (line 394)"
100 => "Twig\Template::displayWithErrorHandling (line 367)"
101 => "Twig\Template::display (line 326)"
102 => "__TwigTemplate_de51fe3149c36c2d13038f03675e7186::block_section_content_block_row (line 171)"
103 => "Twig\Template::displayBlock (line 285)"
104 => "__TwigTemplate_de51fe3149c36c2d13038f03675e7186::block_section_content_block_container (line 171)"
105 => "Twig\Template::displayBlock (line 213)"
106 => "__TwigTemplate_de51fe3149c36c2d13038f03675e7186::block_section_content_block (line 171)"
107 => "Twig\Template::displayBlock (line 49)"
108 => "__TwigTemplate_de51fe3149c36c2d13038f03675e7186::doDisplay (line 394)"
109 => "Twig\Template::displayWithErrorHandling (line 367)"
110 => "Twig\Template::display (line 132)"
111 => "__TwigTemplate_2166dd94fe780598b8fdcf72ddd769c9::block_section_default_content_block (line 171)"
112 => "Twig\Template::displayBlock (line 94)"
113 => "__TwigTemplate_2166dd94fe780598b8fdcf72ddd769c9::block_page_content_section_default (line 171)"
114 => "Twig\Template::displayBlock (line 47)"
115 => "__TwigTemplate_2166dd94fe780598b8fdcf72ddd769c9::doDisplay (line 394)"
116 => "Twig\Template::displayWithErrorHandling (line 367)"
117 => "Twig\Template::display (line 221)"
118 => "__TwigTemplate_2698d288dda261b2d5360419617c8736::block_page_content_section (line 171)"
119 => "Twig\Template::displayBlock (line 135)"
120 => "__TwigTemplate_2698d288dda261b2d5360419617c8736::block_page_content_sections_inner (line 171)"
121 => "Twig\Template::displayBlock (line 47)"
122 => "__TwigTemplate_fe3011e8614935f2877430f24082e841::doDisplay (line 394)"
123 => "Twig\Template::displayWithErrorHandling (line 367)"
124 => "Twig\Template::display (line 50)"
125 => "__TwigTemplate_e550e0b90883c1187f499e90e2cd999a::doDisplay (line 394)"
126 => "Twig\Template::displayWithErrorHandling (line 367)"
127 => "Twig\Template::display (line 51)"
128 => "__TwigTemplate_2698d288dda261b2d5360419617c8736::doDisplay (line 394)"
129 => "Twig\Template::displayWithErrorHandling (line 367)"
130 => "Twig\Template::display (line 211)"
131 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::block_page_content_blocks (line 171)"
132 => "Twig\Template::displayBlock (line 187)"
133 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::block_cms_content (line 171)"
134 => "Twig\Template::displayBlock (line 106)"
135 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::block_page_content (line 171)"
136 => "Twig\Template::displayBlock (line 77)"
137 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::block_base_main_inner (line 171)"
138 => "Twig\Template::displayBlock (line 504)"
139 => "__TwigTemplate_edfe32b5c98942de2b24393e846ea184::block_base_main (line 171)"
140 => "Twig\Template::displayBlock (line 191)"
141 => "Twig\Template::displayBlock (line 134)"
142 => "Twig\Template::displayParentBlock (line 71)"
143 => "__TwigTemplate_3d4777fcf75842349da241d4044d7d72::block_base_main (line 171)"
144 => "Twig\Template::displayBlock (line 283)"
145 => "__TwigTemplate_edfe32b5c98942de2b24393e846ea184::block_base_body_inner (line 171)"
146 => "Twig\Template::displayBlock (line 193)"
147 => "__TwigTemplate_edfe32b5c98942de2b24393e846ea184::block_base_body (line 171)"
148 => "Twig\Template::displayBlock (line 97)"
149 => "__TwigTemplate_edfe32b5c98942de2b24393e846ea184::doDisplay (line 394)"
150 => "Twig\Template::displayWithErrorHandling (line 367)"
151 => "Twig\Template::display (line 49)"
152 => "__TwigTemplate_317ed82f740e5079054f5b72bb59033c::doDisplay (line 394)"
153 => "Twig\Template::displayWithErrorHandling (line 367)"
154 => "Twig\Template::display (line 50)"
155 => "__TwigTemplate_3d4777fcf75842349da241d4044d7d72::doDisplay (line 394)"
156 => "Twig\Template::displayWithErrorHandling (line 367)"
157 => "Twig\Template::display (line 50)"
158 => "__TwigTemplate_aa1832859ad5b25e9cc640dfcf28a0bc::doDisplay (line 394)"
159 => "Twig\Template::displayWithErrorHandling (line 367)"
160 => "Twig\Template::display (line 54)"
161 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::doDisplay (line 394)"
162 => "Twig\Template::displayWithErrorHandling (line 367)"
163 => "Twig\Template::display (line 52)"
164 => "__TwigTemplate_da551205fea81b0c3b361980c09151e2::doDisplay (line 394)"
165 => "Twig\Template::displayWithErrorHandling (line 367)"
166 => "Twig\Template::display (line 379)"
167 => "Twig\Template::render (line 40)"
168 => "Twig\TemplateWrapper::render (line 277)"
169 => "Twig\Environment::render (line 235)"
170 => "Shopware\Storefront\Controller\StorefrontController::renderView (line 266)"
171 => "Symfony\Bundle\FrameworkBundle\Controller\AbstractController::render (line 72)"
172 => "Shopware\Storefront\Controller\StorefrontController::Shopware\Storefront\Controller\{closure} (line 59)"
173 => "Shopware\Core\Profiling\Profiler::trace (line 73)"
174 => "Shopware\Storefront\Controller\StorefrontController::renderStorefront (line 52)"
175 => "Shopware\Storefront\Controller\NavigationController::home (line 163)"
176 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
177 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
178 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
179 => "Shopware\Core\HttpKernel::doHandle (line 81)"
180 => "Shopware\Core\HttpKernel::handle (line 75)"
]
|
137 |
1.21 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 (0x49E60033EEB14964AD30BBB2541A8832, 0x507D0ACF066F4AC8B4A5E137CC6A65D5, 0x624B5351CE6749F68E0173D176FC7D74, 0x1BD29ADF87934E51BCBC2A63DF3E5CD7, 0x54CA109BE7B94338B399B13A5D9CA690, 0x5B69F678101F40C3BBB95AD64C44F6C1, 0x888B2606F41C41E18E8E62EBD8019726, 0xB4449920AE794758AB3917DF10AA6A55, 0xC3D21140F4DF402C9BDF65AF4F7EAAAA, 0x605E84F76B374BAB8CFCEC73E9218201, 0xBA542F4FF2854B9EB943CBB0473A8D59);
array:191 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
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 93)"
10 => "Shopware\Core\Profiling\Subscriber\ActiveRulesDataCollectorSubscriber::getMatchingRules (line 69)"
11 => "Shopware\Core\Profiling\Subscriber\ActiveRulesDataCollectorSubscriber::collect (line 161)"
12 => "Symfony\Component\HttpKernel\Profiler\Profiler::collect (line 108)"
13 => "Symfony\Component\HttpKernel\EventListener\ProfilerListener::onKernelResponse (line 118)"
14 => "Symfony\Component\EventDispatcher\Debug\WrappedListener::__invoke (line 230)"
15 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
16 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
17 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
18 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
19 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
20 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
21 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 196)"
22 => "Symfony\Component\HttpKernel\HttpKernel::filterResponse (line 184)"
23 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
24 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 86)"
25 => "Symfony\Component\HttpKernel\HttpCache\SubRequestHandler::handle (line 80)"
26 => "Symfony\Component\HttpKernel\Fragment\InlineFragmentRenderer::render (line 67)"
27 => "Symfony\Component\HttpKernel\Fragment\AbstractSurrogateFragmentRenderer::render (line 85)"
28 => "Symfony\Component\HttpKernel\Fragment\FragmentHandler::render (line 49)"
29 => "Symfony\Component\HttpKernel\DependencyInjection\LazyLoadingFragmentHandler::render (line 58)"
30 => "Symfony\Bridge\Twig\Extension\HttpKernelRuntime::renderFragmentStrategy (line 49)"
31 => "__TwigTemplate_2cfe98682834d1687f8d6a50e5c6c875::doDisplay (line 394)"
32 => "Twig\Template::displayWithErrorHandling (line 367)"
33 => "Twig\Template::display (line 433)"
34 => "__TwigTemplate_14ab916158f2c76dbf3ead9c965366ee::block_page_product_detail_product_buy_button (line 171)"
35 => "Twig\Template::displayBlock (line 286)"
36 => "__TwigTemplate_14ab916158f2c76dbf3ead9c965366ee::block_component_product_box_action_form (line 171)"
37 => "Twig\Template::displayBlock (line 176)"
38 => "__TwigTemplate_14ab916158f2c76dbf3ead9c965366ee::block_component_product_box_action_buy (line 171)"
39 => "Twig\Template::displayBlock (line 99)"
40 => "__TwigTemplate_14ab916158f2c76dbf3ead9c965366ee::block_component_product_box_action_inner (line 171)"
41 => "Twig\Template::displayBlock (line 55)"
42 => "__TwigTemplate_7d431b166c1076fe75d90ae2937a4fbf::doDisplay (line 394)"
43 => "Twig\Template::displayWithErrorHandling (line 367)"
44 => "Twig\Template::display (line 49)"
45 => "__TwigTemplate_c24467d8881cb30f26590a715cb8a7d0::doDisplay (line 394)"
46 => "Twig\Template::displayWithErrorHandling (line 367)"
47 => "Twig\Template::display (line 50)"
48 => "__TwigTemplate_51d4ff6a5b878003b8d295ae4681dc08::doDisplay (line 394)"
49 => "Twig\Template::displayWithErrorHandling (line 367)"
50 => "Twig\Template::display (line 59)"
51 => "__TwigTemplate_14ab916158f2c76dbf3ead9c965366ee::doDisplay (line 394)"
52 => "Twig\Template::displayWithErrorHandling (line 367)"
53 => "Twig\Template::display (line 686)"
54 => "__TwigTemplate_2a61b8c78ac82d7c4633d6e5ef88ea2a::block_component_product_box_action (line 171)"
55 => "Twig\Template::displayBlock (line 479)"
56 => "__TwigTemplate_2a61b8c78ac82d7c4633d6e5ef88ea2a::block_component_product_box_info (line 171)"
57 => "Twig\Template::displayBlock (line 148)"
58 => "__TwigTemplate_2a61b8c78ac82d7c4633d6e5ef88ea2a::block_component_product_box_content (line 171)"
59 => "Twig\Template::displayBlock (line 134)"
60 => "Twig\Template::displayParentBlock (line 72)"
61 => "__TwigTemplate_473b5d9381e520cd45967dc806bd35eb::block_component_product_box_content (line 171)"
62 => "Twig\Template::displayBlock (line 134)"
63 => "Twig\Template::displayParentBlock (line 345)"
64 => "__TwigTemplate_3d831625f614bd36fa47a6d2d9e066c4::block_component_product_box_content (line 171)"
65 => "Twig\Template::displayBlock (line 106)"
66 => "__TwigTemplate_2a61b8c78ac82d7c4633d6e5ef88ea2a::block_component_product_box (line 171)"
67 => "Twig\Template::displayBlock (line 62)"
68 => "__TwigTemplate_2a61b8c78ac82d7c4633d6e5ef88ea2a::doDisplay (line 394)"
69 => "Twig\Template::displayWithErrorHandling (line 367)"
70 => "Twig\Template::display (line 50)"
71 => "__TwigTemplate_473b5d9381e520cd45967dc806bd35eb::doDisplay (line 394)"
72 => "Twig\Template::displayWithErrorHandling (line 367)"
73 => "Twig\Template::display (line 53)"
74 => "__TwigTemplate_3d831625f614bd36fa47a6d2d9e066c4::doDisplay (line 394)"
75 => "Twig\Template::displayWithErrorHandling (line 367)"
76 => "Twig\Template::display (line 100)"
77 => "__TwigTemplate_95c5ec1c6cbf2f020c5f49f6da7b4824::block_component_product_box_include (line 171)"
78 => "Twig\Template::displayBlock (line 46)"
79 => "__TwigTemplate_95c5ec1c6cbf2f020c5f49f6da7b4824::doDisplay (line 394)"
80 => "Twig\Template::displayWithErrorHandling (line 367)"
81 => "Twig\Template::display (line 213)"
82 => "__TwigTemplate_fd1dee84d1699b805159e6ca3e1448b9::block_element_product_slider_inner_item (line 171)"
83 => "Twig\Template::displayBlock (line 305)"
84 => "__TwigTemplate_5360887332fa588f24ce84d03f2a9dcb::block_element_product_slider_element (line 171)"
85 => "Twig\Template::displayBlock (line 256)"
86 => "__TwigTemplate_5360887332fa588f24ce84d03f2a9dcb::block_element_product_slider_inner (line 171)"
87 => "Twig\Template::displayBlock (line 200)"
88 => "__TwigTemplate_5360887332fa588f24ce84d03f2a9dcb::block_element_product_slider_slider (line 171)"
89 => "Twig\Template::displayBlock (line 148)"
90 => "__TwigTemplate_5360887332fa588f24ce84d03f2a9dcb::block_element_product_slider_alignment (line 171)"
91 => "Twig\Template::displayBlock (line 97)"
92 => "__TwigTemplate_5360887332fa588f24ce84d03f2a9dcb::block_element_product_slider (line 171)"
93 => "Twig\Template::displayBlock (line 56)"
94 => "__TwigTemplate_5360887332fa588f24ce84d03f2a9dcb::doDisplay (line 394)"
95 => "Twig\Template::displayWithErrorHandling (line 367)"
96 => "Twig\Template::display (line 50)"
97 => "__TwigTemplate_fd1dee84d1699b805159e6ca3e1448b9::doDisplay (line 394)"
98 => "Twig\Template::displayWithErrorHandling (line 367)"
99 => "Twig\Template::display (line 51)"
100 => "__TwigTemplate_f4b00fca4c0b72160541c3749254ef87::doDisplay (line 394)"
101 => "Twig\Template::displayWithErrorHandling (line 367)"
102 => "Twig\Template::display (line 248)"
103 => "__TwigTemplate_aa97fabf4ba2709c6244f65d49131341::block_block_product_two_column_left_inner (line 171)"
104 => "Twig\Template::displayBlock (line 211)"
105 => "__TwigTemplate_aa97fabf4ba2709c6244f65d49131341::block_block_product_two_column_left (line 171)"
106 => "Twig\Template::displayBlock (line 88)"
107 => "__TwigTemplate_aa97fabf4ba2709c6244f65d49131341::block_block_product_two_column (line 171)"
108 => "Twig\Template::displayBlock (line 50)"
109 => "__TwigTemplate_aa97fabf4ba2709c6244f65d49131341::doDisplay (line 394)"
110 => "Twig\Template::displayWithErrorHandling (line 367)"
111 => "Twig\Template::display (line 326)"
112 => "__TwigTemplate_de51fe3149c36c2d13038f03675e7186::block_section_content_block_row (line 171)"
113 => "Twig\Template::displayBlock (line 285)"
114 => "__TwigTemplate_de51fe3149c36c2d13038f03675e7186::block_section_content_block_container (line 171)"
115 => "Twig\Template::displayBlock (line 213)"
116 => "__TwigTemplate_de51fe3149c36c2d13038f03675e7186::block_section_content_block (line 171)"
117 => "Twig\Template::displayBlock (line 49)"
118 => "__TwigTemplate_de51fe3149c36c2d13038f03675e7186::doDisplay (line 394)"
119 => "Twig\Template::displayWithErrorHandling (line 367)"
120 => "Twig\Template::display (line 132)"
121 => "__TwigTemplate_2166dd94fe780598b8fdcf72ddd769c9::block_section_default_content_block (line 171)"
122 => "Twig\Template::displayBlock (line 94)"
123 => "__TwigTemplate_2166dd94fe780598b8fdcf72ddd769c9::block_page_content_section_default (line 171)"
124 => "Twig\Template::displayBlock (line 47)"
125 => "__TwigTemplate_2166dd94fe780598b8fdcf72ddd769c9::doDisplay (line 394)"
126 => "Twig\Template::displayWithErrorHandling (line 367)"
127 => "Twig\Template::display (line 221)"
128 => "__TwigTemplate_2698d288dda261b2d5360419617c8736::block_page_content_section (line 171)"
129 => "Twig\Template::displayBlock (line 135)"
130 => "__TwigTemplate_2698d288dda261b2d5360419617c8736::block_page_content_sections_inner (line 171)"
131 => "Twig\Template::displayBlock (line 47)"
132 => "__TwigTemplate_fe3011e8614935f2877430f24082e841::doDisplay (line 394)"
133 => "Twig\Template::displayWithErrorHandling (line 367)"
134 => "Twig\Template::display (line 50)"
135 => "__TwigTemplate_e550e0b90883c1187f499e90e2cd999a::doDisplay (line 394)"
136 => "Twig\Template::displayWithErrorHandling (line 367)"
137 => "Twig\Template::display (line 51)"
138 => "__TwigTemplate_2698d288dda261b2d5360419617c8736::doDisplay (line 394)"
139 => "Twig\Template::displayWithErrorHandling (line 367)"
140 => "Twig\Template::display (line 211)"
141 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::block_page_content_blocks (line 171)"
142 => "Twig\Template::displayBlock (line 187)"
143 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::block_cms_content (line 171)"
144 => "Twig\Template::displayBlock (line 106)"
145 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::block_page_content (line 171)"
146 => "Twig\Template::displayBlock (line 77)"
147 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::block_base_main_inner (line 171)"
148 => "Twig\Template::displayBlock (line 504)"
149 => "__TwigTemplate_edfe32b5c98942de2b24393e846ea184::block_base_main (line 171)"
150 => "Twig\Template::displayBlock (line 191)"
151 => "Twig\Template::displayBlock (line 134)"
152 => "Twig\Template::displayParentBlock (line 71)"
153 => "__TwigTemplate_3d4777fcf75842349da241d4044d7d72::block_base_main (line 171)"
154 => "Twig\Template::displayBlock (line 283)"
155 => "__TwigTemplate_edfe32b5c98942de2b24393e846ea184::block_base_body_inner (line 171)"
156 => "Twig\Template::displayBlock (line 193)"
157 => "__TwigTemplate_edfe32b5c98942de2b24393e846ea184::block_base_body (line 171)"
158 => "Twig\Template::displayBlock (line 97)"
159 => "__TwigTemplate_edfe32b5c98942de2b24393e846ea184::doDisplay (line 394)"
160 => "Twig\Template::displayWithErrorHandling (line 367)"
161 => "Twig\Template::display (line 49)"
162 => "__TwigTemplate_317ed82f740e5079054f5b72bb59033c::doDisplay (line 394)"
163 => "Twig\Template::displayWithErrorHandling (line 367)"
164 => "Twig\Template::display (line 50)"
165 => "__TwigTemplate_3d4777fcf75842349da241d4044d7d72::doDisplay (line 394)"
166 => "Twig\Template::displayWithErrorHandling (line 367)"
167 => "Twig\Template::display (line 50)"
168 => "__TwigTemplate_aa1832859ad5b25e9cc640dfcf28a0bc::doDisplay (line 394)"
169 => "Twig\Template::displayWithErrorHandling (line 367)"
170 => "Twig\Template::display (line 54)"
171 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::doDisplay (line 394)"
172 => "Twig\Template::displayWithErrorHandling (line 367)"
173 => "Twig\Template::display (line 52)"
174 => "__TwigTemplate_da551205fea81b0c3b361980c09151e2::doDisplay (line 394)"
175 => "Twig\Template::displayWithErrorHandling (line 367)"
176 => "Twig\Template::display (line 379)"
177 => "Twig\Template::render (line 40)"
178 => "Twig\TemplateWrapper::render (line 277)"
179 => "Twig\Environment::render (line 235)"
180 => "Shopware\Storefront\Controller\StorefrontController::renderView (line 266)"
181 => "Symfony\Bundle\FrameworkBundle\Controller\AbstractController::render (line 72)"
182 => "Shopware\Storefront\Controller\StorefrontController::Shopware\Storefront\Controller\{closure} (line 59)"
183 => "Shopware\Core\Profiling\Profiler::trace (line 73)"
184 => "Shopware\Storefront\Controller\StorefrontController::renderStorefront (line 52)"
185 => "Shopware\Storefront\Controller\NavigationController::home (line 163)"
186 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
187 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
188 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
189 => "Shopware\Core\HttpKernel::doHandle (line 81)"
190 => "Shopware\Core\HttpKernel::handle (line 75)"
]
|
138 |
1.80 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_fb578b3ef8cb47158ecf4f81157eff56 OR (`media`.`private` = :param_6fc450a4ebd043cbb94512144a622bb2 AND `media.mediaFolder.defaultFolder`.`entity` = :param_de78342c9b4c458180c5868737c7bf27)))) 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 (0x1E91BC43702F4324AC4AE2907748DF23));
array:103 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
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 77)"
12 => "__TwigTemplate_0030ad69ef2981ee5189870195ecd561::block_element_split_banner (line 171)"
13 => "Twig\Template::displayBlock (line 46)"
14 => "__TwigTemplate_0030ad69ef2981ee5189870195ecd561::doDisplay (line 394)"
15 => "Twig\Template::displayWithErrorHandling (line 367)"
16 => "Twig\Template::display (line 153)"
17 => "__TwigTemplate_e8995f33fdde9a52964d3cfb91753587::block_block_hero_campaign_hero_banner (line 171)"
18 => "Twig\Template::displayBlock (line 85)"
19 => "__TwigTemplate_e8995f33fdde9a52964d3cfb91753587::block_block_hero_campaign (line 171)"
20 => "Twig\Template::displayBlock (line 49)"
21 => "__TwigTemplate_e8995f33fdde9a52964d3cfb91753587::doDisplay (line 394)"
22 => "Twig\Template::displayWithErrorHandling (line 367)"
23 => "Twig\Template::display (line 326)"
24 => "__TwigTemplate_de51fe3149c36c2d13038f03675e7186::block_section_content_block_row (line 171)"
25 => "Twig\Template::displayBlock (line 285)"
26 => "__TwigTemplate_de51fe3149c36c2d13038f03675e7186::block_section_content_block_container (line 171)"
27 => "Twig\Template::displayBlock (line 213)"
28 => "__TwigTemplate_de51fe3149c36c2d13038f03675e7186::block_section_content_block (line 171)"
29 => "Twig\Template::displayBlock (line 49)"
30 => "__TwigTemplate_de51fe3149c36c2d13038f03675e7186::doDisplay (line 394)"
31 => "Twig\Template::displayWithErrorHandling (line 367)"
32 => "Twig\Template::display (line 132)"
33 => "__TwigTemplate_2166dd94fe780598b8fdcf72ddd769c9::block_section_default_content_block (line 171)"
34 => "Twig\Template::displayBlock (line 94)"
35 => "__TwigTemplate_2166dd94fe780598b8fdcf72ddd769c9::block_page_content_section_default (line 171)"
36 => "Twig\Template::displayBlock (line 47)"
37 => "__TwigTemplate_2166dd94fe780598b8fdcf72ddd769c9::doDisplay (line 394)"
38 => "Twig\Template::displayWithErrorHandling (line 367)"
39 => "Twig\Template::display (line 221)"
40 => "__TwigTemplate_2698d288dda261b2d5360419617c8736::block_page_content_section (line 171)"
41 => "Twig\Template::displayBlock (line 135)"
42 => "__TwigTemplate_2698d288dda261b2d5360419617c8736::block_page_content_sections_inner (line 171)"
43 => "Twig\Template::displayBlock (line 47)"
44 => "__TwigTemplate_fe3011e8614935f2877430f24082e841::doDisplay (line 394)"
45 => "Twig\Template::displayWithErrorHandling (line 367)"
46 => "Twig\Template::display (line 50)"
47 => "__TwigTemplate_e550e0b90883c1187f499e90e2cd999a::doDisplay (line 394)"
48 => "Twig\Template::displayWithErrorHandling (line 367)"
49 => "Twig\Template::display (line 51)"
50 => "__TwigTemplate_2698d288dda261b2d5360419617c8736::doDisplay (line 394)"
51 => "Twig\Template::displayWithErrorHandling (line 367)"
52 => "Twig\Template::display (line 211)"
53 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::block_page_content_blocks (line 171)"
54 => "Twig\Template::displayBlock (line 187)"
55 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::block_cms_content (line 171)"
56 => "Twig\Template::displayBlock (line 106)"
57 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::block_page_content (line 171)"
58 => "Twig\Template::displayBlock (line 77)"
59 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::block_base_main_inner (line 171)"
60 => "Twig\Template::displayBlock (line 504)"
61 => "__TwigTemplate_edfe32b5c98942de2b24393e846ea184::block_base_main (line 171)"
62 => "Twig\Template::displayBlock (line 191)"
63 => "Twig\Template::displayBlock (line 134)"
64 => "Twig\Template::displayParentBlock (line 71)"
65 => "__TwigTemplate_3d4777fcf75842349da241d4044d7d72::block_base_main (line 171)"
66 => "Twig\Template::displayBlock (line 283)"
67 => "__TwigTemplate_edfe32b5c98942de2b24393e846ea184::block_base_body_inner (line 171)"
68 => "Twig\Template::displayBlock (line 193)"
69 => "__TwigTemplate_edfe32b5c98942de2b24393e846ea184::block_base_body (line 171)"
70 => "Twig\Template::displayBlock (line 97)"
71 => "__TwigTemplate_edfe32b5c98942de2b24393e846ea184::doDisplay (line 394)"
72 => "Twig\Template::displayWithErrorHandling (line 367)"
73 => "Twig\Template::display (line 49)"
74 => "__TwigTemplate_317ed82f740e5079054f5b72bb59033c::doDisplay (line 394)"
75 => "Twig\Template::displayWithErrorHandling (line 367)"
76 => "Twig\Template::display (line 50)"
77 => "__TwigTemplate_3d4777fcf75842349da241d4044d7d72::doDisplay (line 394)"
78 => "Twig\Template::displayWithErrorHandling (line 367)"
79 => "Twig\Template::display (line 50)"
80 => "__TwigTemplate_aa1832859ad5b25e9cc640dfcf28a0bc::doDisplay (line 394)"
81 => "Twig\Template::displayWithErrorHandling (line 367)"
82 => "Twig\Template::display (line 54)"
83 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::doDisplay (line 394)"
84 => "Twig\Template::displayWithErrorHandling (line 367)"
85 => "Twig\Template::display (line 52)"
86 => "__TwigTemplate_da551205fea81b0c3b361980c09151e2::doDisplay (line 394)"
87 => "Twig\Template::displayWithErrorHandling (line 367)"
88 => "Twig\Template::display (line 379)"
89 => "Twig\Template::render (line 40)"
90 => "Twig\TemplateWrapper::render (line 277)"
91 => "Twig\Environment::render (line 235)"
92 => "Shopware\Storefront\Controller\StorefrontController::renderView (line 266)"
93 => "Symfony\Bundle\FrameworkBundle\Controller\AbstractController::render (line 72)"
94 => "Shopware\Storefront\Controller\StorefrontController::Shopware\Storefront\Controller\{closure} (line 59)"
95 => "Shopware\Core\Profiling\Profiler::trace (line 73)"
96 => "Shopware\Storefront\Controller\StorefrontController::renderStorefront (line 52)"
97 => "Shopware\Storefront\Controller\NavigationController::home (line 163)"
98 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
99 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
100 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
101 => "Shopware\Core\HttpKernel::doHandle (line 81)"
102 => "Shopware\Core\HttpKernel::handle (line 75)"
]
|
139 |
2.16 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_b006336dc8d044d69f48f2574afefd47 OR (`media`.`private` = :param_170268137055479e82a0eed9180f7b5f AND `media.mediaFolder.defaultFolder`.`entity` = :param_91cc3c64dbf647eeaacef7cf2954c4da)))) 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 (0x5A05738AABB749A5A58EF5AEFFBCAC93, 0x2F6C5094AF1140DEBDD2A537CC190B1A));
array:96 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
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 90)"
12 => "__TwigTemplate_d857b8324ab54046d1f714451a0d84a6::block_block_category_teaser (line 171)"
13 => "Twig\Template::displayBlock (line 46)"
14 => "__TwigTemplate_d857b8324ab54046d1f714451a0d84a6::doDisplay (line 394)"
15 => "Twig\Template::displayWithErrorHandling (line 367)"
16 => "Twig\Template::display (line 326)"
17 => "__TwigTemplate_de51fe3149c36c2d13038f03675e7186::block_section_content_block_row (line 171)"
18 => "Twig\Template::displayBlock (line 285)"
19 => "__TwigTemplate_de51fe3149c36c2d13038f03675e7186::block_section_content_block_container (line 171)"
20 => "Twig\Template::displayBlock (line 213)"
21 => "__TwigTemplate_de51fe3149c36c2d13038f03675e7186::block_section_content_block (line 171)"
22 => "Twig\Template::displayBlock (line 49)"
23 => "__TwigTemplate_de51fe3149c36c2d13038f03675e7186::doDisplay (line 394)"
24 => "Twig\Template::displayWithErrorHandling (line 367)"
25 => "Twig\Template::display (line 132)"
26 => "__TwigTemplate_2166dd94fe780598b8fdcf72ddd769c9::block_section_default_content_block (line 171)"
27 => "Twig\Template::displayBlock (line 94)"
28 => "__TwigTemplate_2166dd94fe780598b8fdcf72ddd769c9::block_page_content_section_default (line 171)"
29 => "Twig\Template::displayBlock (line 47)"
30 => "__TwigTemplate_2166dd94fe780598b8fdcf72ddd769c9::doDisplay (line 394)"
31 => "Twig\Template::displayWithErrorHandling (line 367)"
32 => "Twig\Template::display (line 221)"
33 => "__TwigTemplate_2698d288dda261b2d5360419617c8736::block_page_content_section (line 171)"
34 => "Twig\Template::displayBlock (line 135)"
35 => "__TwigTemplate_2698d288dda261b2d5360419617c8736::block_page_content_sections_inner (line 171)"
36 => "Twig\Template::displayBlock (line 47)"
37 => "__TwigTemplate_fe3011e8614935f2877430f24082e841::doDisplay (line 394)"
38 => "Twig\Template::displayWithErrorHandling (line 367)"
39 => "Twig\Template::display (line 50)"
40 => "__TwigTemplate_e550e0b90883c1187f499e90e2cd999a::doDisplay (line 394)"
41 => "Twig\Template::displayWithErrorHandling (line 367)"
42 => "Twig\Template::display (line 51)"
43 => "__TwigTemplate_2698d288dda261b2d5360419617c8736::doDisplay (line 394)"
44 => "Twig\Template::displayWithErrorHandling (line 367)"
45 => "Twig\Template::display (line 211)"
46 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::block_page_content_blocks (line 171)"
47 => "Twig\Template::displayBlock (line 187)"
48 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::block_cms_content (line 171)"
49 => "Twig\Template::displayBlock (line 106)"
50 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::block_page_content (line 171)"
51 => "Twig\Template::displayBlock (line 77)"
52 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::block_base_main_inner (line 171)"
53 => "Twig\Template::displayBlock (line 504)"
54 => "__TwigTemplate_edfe32b5c98942de2b24393e846ea184::block_base_main (line 171)"
55 => "Twig\Template::displayBlock (line 191)"
56 => "Twig\Template::displayBlock (line 134)"
57 => "Twig\Template::displayParentBlock (line 71)"
58 => "__TwigTemplate_3d4777fcf75842349da241d4044d7d72::block_base_main (line 171)"
59 => "Twig\Template::displayBlock (line 283)"
60 => "__TwigTemplate_edfe32b5c98942de2b24393e846ea184::block_base_body_inner (line 171)"
61 => "Twig\Template::displayBlock (line 193)"
62 => "__TwigTemplate_edfe32b5c98942de2b24393e846ea184::block_base_body (line 171)"
63 => "Twig\Template::displayBlock (line 97)"
64 => "__TwigTemplate_edfe32b5c98942de2b24393e846ea184::doDisplay (line 394)"
65 => "Twig\Template::displayWithErrorHandling (line 367)"
66 => "Twig\Template::display (line 49)"
67 => "__TwigTemplate_317ed82f740e5079054f5b72bb59033c::doDisplay (line 394)"
68 => "Twig\Template::displayWithErrorHandling (line 367)"
69 => "Twig\Template::display (line 50)"
70 => "__TwigTemplate_3d4777fcf75842349da241d4044d7d72::doDisplay (line 394)"
71 => "Twig\Template::displayWithErrorHandling (line 367)"
72 => "Twig\Template::display (line 50)"
73 => "__TwigTemplate_aa1832859ad5b25e9cc640dfcf28a0bc::doDisplay (line 394)"
74 => "Twig\Template::displayWithErrorHandling (line 367)"
75 => "Twig\Template::display (line 54)"
76 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::doDisplay (line 394)"
77 => "Twig\Template::displayWithErrorHandling (line 367)"
78 => "Twig\Template::display (line 52)"
79 => "__TwigTemplate_da551205fea81b0c3b361980c09151e2::doDisplay (line 394)"
80 => "Twig\Template::displayWithErrorHandling (line 367)"
81 => "Twig\Template::display (line 379)"
82 => "Twig\Template::render (line 40)"
83 => "Twig\TemplateWrapper::render (line 277)"
84 => "Twig\Environment::render (line 235)"
85 => "Shopware\Storefront\Controller\StorefrontController::renderView (line 266)"
86 => "Symfony\Bundle\FrameworkBundle\Controller\AbstractController::render (line 72)"
87 => "Shopware\Storefront\Controller\StorefrontController::Shopware\Storefront\Controller\{closure} (line 59)"
88 => "Shopware\Core\Profiling\Profiler::trace (line 73)"
89 => "Shopware\Storefront\Controller\StorefrontController::renderStorefront (line 52)"
90 => "Shopware\Storefront\Controller\NavigationController::home (line 163)"
91 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
92 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
93 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
94 => "Shopware\Core\HttpKernel::doHandle (line 81)"
95 => "Shopware\Core\HttpKernel::handle (line 75)"
]
|
140 |
1.14 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_3417af8aaf9f42efbfd9db9312461dae) AND `product.visibilities`.`sales_channel_id` = :param_358ec493c1334e2e84266d15aa15f69b AND IFNULL(`product`.`active`, `product.parent`.`active`) = :param_a270a21f554f4801a78b0f870a2323a2))) 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` = 0x620A2217F7474E619CB00AD39E804CCA AND IFNULL(`product`.`active`, `product.parent`.`active`) = 1))) AND (`product`.`id` IN (0x136F2EA2D0A34A8186CCFED6168D195B)) GROUP BY `product`.`id`;
array:172 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
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 35)"
7 => "Bodymed\Webshop\StoreFront\Controller\Fragment\MykeyController::productButton (line 163)"
8 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
9 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 86)"
10 => "Symfony\Component\HttpKernel\HttpCache\SubRequestHandler::handle (line 80)"
11 => "Symfony\Component\HttpKernel\Fragment\InlineFragmentRenderer::render (line 67)"
12 => "Symfony\Component\HttpKernel\Fragment\AbstractSurrogateFragmentRenderer::render (line 85)"
13 => "Symfony\Component\HttpKernel\Fragment\FragmentHandler::render (line 49)"
14 => "Symfony\Component\HttpKernel\DependencyInjection\LazyLoadingFragmentHandler::render (line 58)"
15 => "Symfony\Bridge\Twig\Extension\HttpKernelRuntime::renderFragmentStrategy (line 49)"
16 => "__TwigTemplate_2cfe98682834d1687f8d6a50e5c6c875::doDisplay (line 394)"
17 => "Twig\Template::displayWithErrorHandling (line 367)"
18 => "Twig\Template::display (line 433)"
19 => "__TwigTemplate_14ab916158f2c76dbf3ead9c965366ee::block_page_product_detail_product_buy_button (line 171)"
20 => "Twig\Template::displayBlock (line 286)"
21 => "__TwigTemplate_14ab916158f2c76dbf3ead9c965366ee::block_component_product_box_action_form (line 171)"
22 => "Twig\Template::displayBlock (line 176)"
23 => "__TwigTemplate_14ab916158f2c76dbf3ead9c965366ee::block_component_product_box_action_buy (line 171)"
24 => "Twig\Template::displayBlock (line 99)"
25 => "__TwigTemplate_14ab916158f2c76dbf3ead9c965366ee::block_component_product_box_action_inner (line 171)"
26 => "Twig\Template::displayBlock (line 55)"
27 => "__TwigTemplate_7d431b166c1076fe75d90ae2937a4fbf::doDisplay (line 394)"
28 => "Twig\Template::displayWithErrorHandling (line 367)"
29 => "Twig\Template::display (line 49)"
30 => "__TwigTemplate_c24467d8881cb30f26590a715cb8a7d0::doDisplay (line 394)"
31 => "Twig\Template::displayWithErrorHandling (line 367)"
32 => "Twig\Template::display (line 50)"
33 => "__TwigTemplate_51d4ff6a5b878003b8d295ae4681dc08::doDisplay (line 394)"
34 => "Twig\Template::displayWithErrorHandling (line 367)"
35 => "Twig\Template::display (line 59)"
36 => "__TwigTemplate_14ab916158f2c76dbf3ead9c965366ee::doDisplay (line 394)"
37 => "Twig\Template::displayWithErrorHandling (line 367)"
38 => "Twig\Template::display (line 686)"
39 => "__TwigTemplate_2a61b8c78ac82d7c4633d6e5ef88ea2a::block_component_product_box_action (line 171)"
40 => "Twig\Template::displayBlock (line 479)"
41 => "__TwigTemplate_2a61b8c78ac82d7c4633d6e5ef88ea2a::block_component_product_box_info (line 171)"
42 => "Twig\Template::displayBlock (line 148)"
43 => "__TwigTemplate_2a61b8c78ac82d7c4633d6e5ef88ea2a::block_component_product_box_content (line 171)"
44 => "Twig\Template::displayBlock (line 134)"
45 => "Twig\Template::displayParentBlock (line 72)"
46 => "__TwigTemplate_473b5d9381e520cd45967dc806bd35eb::block_component_product_box_content (line 171)"
47 => "Twig\Template::displayBlock (line 134)"
48 => "Twig\Template::displayParentBlock (line 345)"
49 => "__TwigTemplate_3d831625f614bd36fa47a6d2d9e066c4::block_component_product_box_content (line 171)"
50 => "Twig\Template::displayBlock (line 106)"
51 => "__TwigTemplate_2a61b8c78ac82d7c4633d6e5ef88ea2a::block_component_product_box (line 171)"
52 => "Twig\Template::displayBlock (line 62)"
53 => "__TwigTemplate_2a61b8c78ac82d7c4633d6e5ef88ea2a::doDisplay (line 394)"
54 => "Twig\Template::displayWithErrorHandling (line 367)"
55 => "Twig\Template::display (line 50)"
56 => "__TwigTemplate_473b5d9381e520cd45967dc806bd35eb::doDisplay (line 394)"
57 => "Twig\Template::displayWithErrorHandling (line 367)"
58 => "Twig\Template::display (line 53)"
59 => "__TwigTemplate_3d831625f614bd36fa47a6d2d9e066c4::doDisplay (line 394)"
60 => "Twig\Template::displayWithErrorHandling (line 367)"
61 => "Twig\Template::display (line 100)"
62 => "__TwigTemplate_95c5ec1c6cbf2f020c5f49f6da7b4824::block_component_product_box_include (line 171)"
63 => "Twig\Template::displayBlock (line 46)"
64 => "__TwigTemplate_95c5ec1c6cbf2f020c5f49f6da7b4824::doDisplay (line 394)"
65 => "Twig\Template::displayWithErrorHandling (line 367)"
66 => "Twig\Template::display (line 213)"
67 => "__TwigTemplate_fd1dee84d1699b805159e6ca3e1448b9::block_element_product_slider_inner_item (line 171)"
68 => "Twig\Template::displayBlock (line 305)"
69 => "__TwigTemplate_5360887332fa588f24ce84d03f2a9dcb::block_element_product_slider_element (line 171)"
70 => "Twig\Template::displayBlock (line 256)"
71 => "__TwigTemplate_5360887332fa588f24ce84d03f2a9dcb::block_element_product_slider_inner (line 171)"
72 => "Twig\Template::displayBlock (line 200)"
73 => "__TwigTemplate_5360887332fa588f24ce84d03f2a9dcb::block_element_product_slider_slider (line 171)"
74 => "Twig\Template::displayBlock (line 148)"
75 => "__TwigTemplate_5360887332fa588f24ce84d03f2a9dcb::block_element_product_slider_alignment (line 171)"
76 => "Twig\Template::displayBlock (line 97)"
77 => "__TwigTemplate_5360887332fa588f24ce84d03f2a9dcb::block_element_product_slider (line 171)"
78 => "Twig\Template::displayBlock (line 56)"
79 => "__TwigTemplate_5360887332fa588f24ce84d03f2a9dcb::doDisplay (line 394)"
80 => "Twig\Template::displayWithErrorHandling (line 367)"
81 => "Twig\Template::display (line 50)"
82 => "__TwigTemplate_fd1dee84d1699b805159e6ca3e1448b9::doDisplay (line 394)"
83 => "Twig\Template::displayWithErrorHandling (line 367)"
84 => "Twig\Template::display (line 51)"
85 => "__TwigTemplate_f4b00fca4c0b72160541c3749254ef87::doDisplay (line 394)"
86 => "Twig\Template::displayWithErrorHandling (line 367)"
87 => "Twig\Template::display (line 221)"
88 => "__TwigTemplate_d857b8324ab54046d1f714451a0d84a6::block_block_category_teaser (line 171)"
89 => "Twig\Template::displayBlock (line 46)"
90 => "__TwigTemplate_d857b8324ab54046d1f714451a0d84a6::doDisplay (line 394)"
91 => "Twig\Template::displayWithErrorHandling (line 367)"
92 => "Twig\Template::display (line 326)"
93 => "__TwigTemplate_de51fe3149c36c2d13038f03675e7186::block_section_content_block_row (line 171)"
94 => "Twig\Template::displayBlock (line 285)"
95 => "__TwigTemplate_de51fe3149c36c2d13038f03675e7186::block_section_content_block_container (line 171)"
96 => "Twig\Template::displayBlock (line 213)"
97 => "__TwigTemplate_de51fe3149c36c2d13038f03675e7186::block_section_content_block (line 171)"
98 => "Twig\Template::displayBlock (line 49)"
99 => "__TwigTemplate_de51fe3149c36c2d13038f03675e7186::doDisplay (line 394)"
100 => "Twig\Template::displayWithErrorHandling (line 367)"
101 => "Twig\Template::display (line 132)"
102 => "__TwigTemplate_2166dd94fe780598b8fdcf72ddd769c9::block_section_default_content_block (line 171)"
103 => "Twig\Template::displayBlock (line 94)"
104 => "__TwigTemplate_2166dd94fe780598b8fdcf72ddd769c9::block_page_content_section_default (line 171)"
105 => "Twig\Template::displayBlock (line 47)"
106 => "__TwigTemplate_2166dd94fe780598b8fdcf72ddd769c9::doDisplay (line 394)"
107 => "Twig\Template::displayWithErrorHandling (line 367)"
108 => "Twig\Template::display (line 221)"
109 => "__TwigTemplate_2698d288dda261b2d5360419617c8736::block_page_content_section (line 171)"
110 => "Twig\Template::displayBlock (line 135)"
111 => "__TwigTemplate_2698d288dda261b2d5360419617c8736::block_page_content_sections_inner (line 171)"
112 => "Twig\Template::displayBlock (line 47)"
113 => "__TwigTemplate_fe3011e8614935f2877430f24082e841::doDisplay (line 394)"
114 => "Twig\Template::displayWithErrorHandling (line 367)"
115 => "Twig\Template::display (line 50)"
116 => "__TwigTemplate_e550e0b90883c1187f499e90e2cd999a::doDisplay (line 394)"
117 => "Twig\Template::displayWithErrorHandling (line 367)"
118 => "Twig\Template::display (line 51)"
119 => "__TwigTemplate_2698d288dda261b2d5360419617c8736::doDisplay (line 394)"
120 => "Twig\Template::displayWithErrorHandling (line 367)"
121 => "Twig\Template::display (line 211)"
122 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::block_page_content_blocks (line 171)"
123 => "Twig\Template::displayBlock (line 187)"
124 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::block_cms_content (line 171)"
125 => "Twig\Template::displayBlock (line 106)"
126 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::block_page_content (line 171)"
127 => "Twig\Template::displayBlock (line 77)"
128 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::block_base_main_inner (line 171)"
129 => "Twig\Template::displayBlock (line 504)"
130 => "__TwigTemplate_edfe32b5c98942de2b24393e846ea184::block_base_main (line 171)"
131 => "Twig\Template::displayBlock (line 191)"
132 => "Twig\Template::displayBlock (line 134)"
133 => "Twig\Template::displayParentBlock (line 71)"
134 => "__TwigTemplate_3d4777fcf75842349da241d4044d7d72::block_base_main (line 171)"
135 => "Twig\Template::displayBlock (line 283)"
136 => "__TwigTemplate_edfe32b5c98942de2b24393e846ea184::block_base_body_inner (line 171)"
137 => "Twig\Template::displayBlock (line 193)"
138 => "__TwigTemplate_edfe32b5c98942de2b24393e846ea184::block_base_body (line 171)"
139 => "Twig\Template::displayBlock (line 97)"
140 => "__TwigTemplate_edfe32b5c98942de2b24393e846ea184::doDisplay (line 394)"
141 => "Twig\Template::displayWithErrorHandling (line 367)"
142 => "Twig\Template::display (line 49)"
143 => "__TwigTemplate_317ed82f740e5079054f5b72bb59033c::doDisplay (line 394)"
144 => "Twig\Template::displayWithErrorHandling (line 367)"
145 => "Twig\Template::display (line 50)"
146 => "__TwigTemplate_3d4777fcf75842349da241d4044d7d72::doDisplay (line 394)"
147 => "Twig\Template::displayWithErrorHandling (line 367)"
148 => "Twig\Template::display (line 50)"
149 => "__TwigTemplate_aa1832859ad5b25e9cc640dfcf28a0bc::doDisplay (line 394)"
150 => "Twig\Template::displayWithErrorHandling (line 367)"
151 => "Twig\Template::display (line 54)"
152 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::doDisplay (line 394)"
153 => "Twig\Template::displayWithErrorHandling (line 367)"
154 => "Twig\Template::display (line 52)"
155 => "__TwigTemplate_da551205fea81b0c3b361980c09151e2::doDisplay (line 394)"
156 => "Twig\Template::displayWithErrorHandling (line 367)"
157 => "Twig\Template::display (line 379)"
158 => "Twig\Template::render (line 40)"
159 => "Twig\TemplateWrapper::render (line 277)"
160 => "Twig\Environment::render (line 235)"
161 => "Shopware\Storefront\Controller\StorefrontController::renderView (line 266)"
162 => "Symfony\Bundle\FrameworkBundle\Controller\AbstractController::render (line 72)"
163 => "Shopware\Storefront\Controller\StorefrontController::Shopware\Storefront\Controller\{closure} (line 59)"
164 => "Shopware\Core\Profiling\Profiler::trace (line 73)"
165 => "Shopware\Storefront\Controller\StorefrontController::renderStorefront (line 52)"
166 => "Shopware\Storefront\Controller\NavigationController::home (line 163)"
167 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
168 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
169 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
170 => "Shopware\Core\HttpKernel::doHandle (line 81)"
171 => "Shopware\Core\HttpKernel::handle (line 75)"
]
|
141 |
31.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.bundle`.`id` as `product.bundle.id`, `product.bundle`.`product_id` as `product.bundle.productId`, `product.bundle`.`product_version_id` as `product.bundle.productVersionId`, `product.bundle`.`name` as `product.bundle.name`, `product.bundle`.`price_type` as `product.bundle.priceType`, `product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`, `product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`, `product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`, `product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`, `product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`, `product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`, `product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`, `product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`, `product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`, `product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`, `product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`, `product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`, `product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`, `product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`, `product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`, `product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`, `product.bundle`.`created_at` as `product.bundle.createdAt`, `product.bundle`.`updated_at` as `product.bundle.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 `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_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 `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`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.bundle`.`id` as `product.bundle.id`,
`product.bundle`.`product_id` as `product.bundle.productId`,
`product.bundle`.`product_version_id` as `product.bundle.productVersionId`,
`product.bundle`.`name` as `product.bundle.name`,
`product.bundle`.`price_type` as `product.bundle.priceType`,
`product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`,
`product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`,
`product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`,
`product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`,
`product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`,
`product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`,
`product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`,
`product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`,
`product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`,
`product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`,
`product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`,
`product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`,
`product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`,
`product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`,
`product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`,
`product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`,
`product.bundle`.`created_at` as `product.bundle.createdAt`,
`product.bundle`.`updated_at` as `product.bundle.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 `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_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 `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id`
LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id`
LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`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.bundle`.`id` as `product.bundle.id`, `product.bundle`.`product_id` as `product.bundle.productId`, `product.bundle`.`product_version_id` as `product.bundle.productVersionId`, `product.bundle`.`name` as `product.bundle.name`, `product.bundle`.`price_type` as `product.bundle.priceType`, `product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`, `product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`, `product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`, `product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`, `product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`, `product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`, `product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`, `product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`, `product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`, `product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`, `product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`, `product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`, `product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`, `product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`, `product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`, `product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`, `product.bundle`.`created_at` as `product.bundle.createdAt`, `product.bundle`.`updated_at` as `product.bundle.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 `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_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 `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`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 (0x136F2EA2D0A34A8186CCFED6168D195B));
array:173 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
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 35)"
8 => "Bodymed\Webshop\StoreFront\Controller\Fragment\MykeyController::productButton (line 163)"
9 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
10 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 86)"
11 => "Symfony\Component\HttpKernel\HttpCache\SubRequestHandler::handle (line 80)"
12 => "Symfony\Component\HttpKernel\Fragment\InlineFragmentRenderer::render (line 67)"
13 => "Symfony\Component\HttpKernel\Fragment\AbstractSurrogateFragmentRenderer::render (line 85)"
14 => "Symfony\Component\HttpKernel\Fragment\FragmentHandler::render (line 49)"
15 => "Symfony\Component\HttpKernel\DependencyInjection\LazyLoadingFragmentHandler::render (line 58)"
16 => "Symfony\Bridge\Twig\Extension\HttpKernelRuntime::renderFragmentStrategy (line 49)"
17 => "__TwigTemplate_2cfe98682834d1687f8d6a50e5c6c875::doDisplay (line 394)"
18 => "Twig\Template::displayWithErrorHandling (line 367)"
19 => "Twig\Template::display (line 433)"
20 => "__TwigTemplate_14ab916158f2c76dbf3ead9c965366ee::block_page_product_detail_product_buy_button (line 171)"
21 => "Twig\Template::displayBlock (line 286)"
22 => "__TwigTemplate_14ab916158f2c76dbf3ead9c965366ee::block_component_product_box_action_form (line 171)"
23 => "Twig\Template::displayBlock (line 176)"
24 => "__TwigTemplate_14ab916158f2c76dbf3ead9c965366ee::block_component_product_box_action_buy (line 171)"
25 => "Twig\Template::displayBlock (line 99)"
26 => "__TwigTemplate_14ab916158f2c76dbf3ead9c965366ee::block_component_product_box_action_inner (line 171)"
27 => "Twig\Template::displayBlock (line 55)"
28 => "__TwigTemplate_7d431b166c1076fe75d90ae2937a4fbf::doDisplay (line 394)"
29 => "Twig\Template::displayWithErrorHandling (line 367)"
30 => "Twig\Template::display (line 49)"
31 => "__TwigTemplate_c24467d8881cb30f26590a715cb8a7d0::doDisplay (line 394)"
32 => "Twig\Template::displayWithErrorHandling (line 367)"
33 => "Twig\Template::display (line 50)"
34 => "__TwigTemplate_51d4ff6a5b878003b8d295ae4681dc08::doDisplay (line 394)"
35 => "Twig\Template::displayWithErrorHandling (line 367)"
36 => "Twig\Template::display (line 59)"
37 => "__TwigTemplate_14ab916158f2c76dbf3ead9c965366ee::doDisplay (line 394)"
38 => "Twig\Template::displayWithErrorHandling (line 367)"
39 => "Twig\Template::display (line 686)"
40 => "__TwigTemplate_2a61b8c78ac82d7c4633d6e5ef88ea2a::block_component_product_box_action (line 171)"
41 => "Twig\Template::displayBlock (line 479)"
42 => "__TwigTemplate_2a61b8c78ac82d7c4633d6e5ef88ea2a::block_component_product_box_info (line 171)"
43 => "Twig\Template::displayBlock (line 148)"
44 => "__TwigTemplate_2a61b8c78ac82d7c4633d6e5ef88ea2a::block_component_product_box_content (line 171)"
45 => "Twig\Template::displayBlock (line 134)"
46 => "Twig\Template::displayParentBlock (line 72)"
47 => "__TwigTemplate_473b5d9381e520cd45967dc806bd35eb::block_component_product_box_content (line 171)"
48 => "Twig\Template::displayBlock (line 134)"
49 => "Twig\Template::displayParentBlock (line 345)"
50 => "__TwigTemplate_3d831625f614bd36fa47a6d2d9e066c4::block_component_product_box_content (line 171)"
51 => "Twig\Template::displayBlock (line 106)"
52 => "__TwigTemplate_2a61b8c78ac82d7c4633d6e5ef88ea2a::block_component_product_box (line 171)"
53 => "Twig\Template::displayBlock (line 62)"
54 => "__TwigTemplate_2a61b8c78ac82d7c4633d6e5ef88ea2a::doDisplay (line 394)"
55 => "Twig\Template::displayWithErrorHandling (line 367)"
56 => "Twig\Template::display (line 50)"
57 => "__TwigTemplate_473b5d9381e520cd45967dc806bd35eb::doDisplay (line 394)"
58 => "Twig\Template::displayWithErrorHandling (line 367)"
59 => "Twig\Template::display (line 53)"
60 => "__TwigTemplate_3d831625f614bd36fa47a6d2d9e066c4::doDisplay (line 394)"
61 => "Twig\Template::displayWithErrorHandling (line 367)"
62 => "Twig\Template::display (line 100)"
63 => "__TwigTemplate_95c5ec1c6cbf2f020c5f49f6da7b4824::block_component_product_box_include (line 171)"
64 => "Twig\Template::displayBlock (line 46)"
65 => "__TwigTemplate_95c5ec1c6cbf2f020c5f49f6da7b4824::doDisplay (line 394)"
66 => "Twig\Template::displayWithErrorHandling (line 367)"
67 => "Twig\Template::display (line 213)"
68 => "__TwigTemplate_fd1dee84d1699b805159e6ca3e1448b9::block_element_product_slider_inner_item (line 171)"
69 => "Twig\Template::displayBlock (line 305)"
70 => "__TwigTemplate_5360887332fa588f24ce84d03f2a9dcb::block_element_product_slider_element (line 171)"
71 => "Twig\Template::displayBlock (line 256)"
72 => "__TwigTemplate_5360887332fa588f24ce84d03f2a9dcb::block_element_product_slider_inner (line 171)"
73 => "Twig\Template::displayBlock (line 200)"
74 => "__TwigTemplate_5360887332fa588f24ce84d03f2a9dcb::block_element_product_slider_slider (line 171)"
75 => "Twig\Template::displayBlock (line 148)"
76 => "__TwigTemplate_5360887332fa588f24ce84d03f2a9dcb::block_element_product_slider_alignment (line 171)"
77 => "Twig\Template::displayBlock (line 97)"
78 => "__TwigTemplate_5360887332fa588f24ce84d03f2a9dcb::block_element_product_slider (line 171)"
79 => "Twig\Template::displayBlock (line 56)"
80 => "__TwigTemplate_5360887332fa588f24ce84d03f2a9dcb::doDisplay (line 394)"
81 => "Twig\Template::displayWithErrorHandling (line 367)"
82 => "Twig\Template::display (line 50)"
83 => "__TwigTemplate_fd1dee84d1699b805159e6ca3e1448b9::doDisplay (line 394)"
84 => "Twig\Template::displayWithErrorHandling (line 367)"
85 => "Twig\Template::display (line 51)"
86 => "__TwigTemplate_f4b00fca4c0b72160541c3749254ef87::doDisplay (line 394)"
87 => "Twig\Template::displayWithErrorHandling (line 367)"
88 => "Twig\Template::display (line 221)"
89 => "__TwigTemplate_d857b8324ab54046d1f714451a0d84a6::block_block_category_teaser (line 171)"
90 => "Twig\Template::displayBlock (line 46)"
91 => "__TwigTemplate_d857b8324ab54046d1f714451a0d84a6::doDisplay (line 394)"
92 => "Twig\Template::displayWithErrorHandling (line 367)"
93 => "Twig\Template::display (line 326)"
94 => "__TwigTemplate_de51fe3149c36c2d13038f03675e7186::block_section_content_block_row (line 171)"
95 => "Twig\Template::displayBlock (line 285)"
96 => "__TwigTemplate_de51fe3149c36c2d13038f03675e7186::block_section_content_block_container (line 171)"
97 => "Twig\Template::displayBlock (line 213)"
98 => "__TwigTemplate_de51fe3149c36c2d13038f03675e7186::block_section_content_block (line 171)"
99 => "Twig\Template::displayBlock (line 49)"
100 => "__TwigTemplate_de51fe3149c36c2d13038f03675e7186::doDisplay (line 394)"
101 => "Twig\Template::displayWithErrorHandling (line 367)"
102 => "Twig\Template::display (line 132)"
103 => "__TwigTemplate_2166dd94fe780598b8fdcf72ddd769c9::block_section_default_content_block (line 171)"
104 => "Twig\Template::displayBlock (line 94)"
105 => "__TwigTemplate_2166dd94fe780598b8fdcf72ddd769c9::block_page_content_section_default (line 171)"
106 => "Twig\Template::displayBlock (line 47)"
107 => "__TwigTemplate_2166dd94fe780598b8fdcf72ddd769c9::doDisplay (line 394)"
108 => "Twig\Template::displayWithErrorHandling (line 367)"
109 => "Twig\Template::display (line 221)"
110 => "__TwigTemplate_2698d288dda261b2d5360419617c8736::block_page_content_section (line 171)"
111 => "Twig\Template::displayBlock (line 135)"
112 => "__TwigTemplate_2698d288dda261b2d5360419617c8736::block_page_content_sections_inner (line 171)"
113 => "Twig\Template::displayBlock (line 47)"
114 => "__TwigTemplate_fe3011e8614935f2877430f24082e841::doDisplay (line 394)"
115 => "Twig\Template::displayWithErrorHandling (line 367)"
116 => "Twig\Template::display (line 50)"
117 => "__TwigTemplate_e550e0b90883c1187f499e90e2cd999a::doDisplay (line 394)"
118 => "Twig\Template::displayWithErrorHandling (line 367)"
119 => "Twig\Template::display (line 51)"
120 => "__TwigTemplate_2698d288dda261b2d5360419617c8736::doDisplay (line 394)"
121 => "Twig\Template::displayWithErrorHandling (line 367)"
122 => "Twig\Template::display (line 211)"
123 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::block_page_content_blocks (line 171)"
124 => "Twig\Template::displayBlock (line 187)"
125 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::block_cms_content (line 171)"
126 => "Twig\Template::displayBlock (line 106)"
127 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::block_page_content (line 171)"
128 => "Twig\Template::displayBlock (line 77)"
129 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::block_base_main_inner (line 171)"
130 => "Twig\Template::displayBlock (line 504)"
131 => "__TwigTemplate_edfe32b5c98942de2b24393e846ea184::block_base_main (line 171)"
132 => "Twig\Template::displayBlock (line 191)"
133 => "Twig\Template::displayBlock (line 134)"
134 => "Twig\Template::displayParentBlock (line 71)"
135 => "__TwigTemplate_3d4777fcf75842349da241d4044d7d72::block_base_main (line 171)"
136 => "Twig\Template::displayBlock (line 283)"
137 => "__TwigTemplate_edfe32b5c98942de2b24393e846ea184::block_base_body_inner (line 171)"
138 => "Twig\Template::displayBlock (line 193)"
139 => "__TwigTemplate_edfe32b5c98942de2b24393e846ea184::block_base_body (line 171)"
140 => "Twig\Template::displayBlock (line 97)"
141 => "__TwigTemplate_edfe32b5c98942de2b24393e846ea184::doDisplay (line 394)"
142 => "Twig\Template::displayWithErrorHandling (line 367)"
143 => "Twig\Template::display (line 49)"
144 => "__TwigTemplate_317ed82f740e5079054f5b72bb59033c::doDisplay (line 394)"
145 => "Twig\Template::displayWithErrorHandling (line 367)"
146 => "Twig\Template::display (line 50)"
147 => "__TwigTemplate_3d4777fcf75842349da241d4044d7d72::doDisplay (line 394)"
148 => "Twig\Template::displayWithErrorHandling (line 367)"
149 => "Twig\Template::display (line 50)"
150 => "__TwigTemplate_aa1832859ad5b25e9cc640dfcf28a0bc::doDisplay (line 394)"
151 => "Twig\Template::displayWithErrorHandling (line 367)"
152 => "Twig\Template::display (line 54)"
153 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::doDisplay (line 394)"
154 => "Twig\Template::displayWithErrorHandling (line 367)"
155 => "Twig\Template::display (line 52)"
156 => "__TwigTemplate_da551205fea81b0c3b361980c09151e2::doDisplay (line 394)"
157 => "Twig\Template::displayWithErrorHandling (line 367)"
158 => "Twig\Template::display (line 379)"
159 => "Twig\Template::render (line 40)"
160 => "Twig\TemplateWrapper::render (line 277)"
161 => "Twig\Environment::render (line 235)"
162 => "Shopware\Storefront\Controller\StorefrontController::renderView (line 266)"
163 => "Symfony\Bundle\FrameworkBundle\Controller\AbstractController::render (line 72)"
164 => "Shopware\Storefront\Controller\StorefrontController::Shopware\Storefront\Controller\{closure} (line 59)"
165 => "Shopware\Core\Profiling\Profiler::trace (line 73)"
166 => "Shopware\Storefront\Controller\StorefrontController::renderStorefront (line 52)"
167 => "Shopware\Storefront\Controller\NavigationController::home (line 163)"
168 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
169 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
170 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
171 => "Shopware\Core\HttpKernel::doHandle (line 81)"
172 => "Shopware\Core\HttpKernel::handle (line 75)"
]
|
142 |
1.24 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_d02d3061efc1408899603a83123b8758)))
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 (0x136F2EA2D0A34A8186CCFED6168D195B)));
array:177 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
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 35)"
12 => "Bodymed\Webshop\StoreFront\Controller\Fragment\MykeyController::productButton (line 163)"
13 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
14 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 86)"
15 => "Symfony\Component\HttpKernel\HttpCache\SubRequestHandler::handle (line 80)"
16 => "Symfony\Component\HttpKernel\Fragment\InlineFragmentRenderer::render (line 67)"
17 => "Symfony\Component\HttpKernel\Fragment\AbstractSurrogateFragmentRenderer::render (line 85)"
18 => "Symfony\Component\HttpKernel\Fragment\FragmentHandler::render (line 49)"
19 => "Symfony\Component\HttpKernel\DependencyInjection\LazyLoadingFragmentHandler::render (line 58)"
20 => "Symfony\Bridge\Twig\Extension\HttpKernelRuntime::renderFragmentStrategy (line 49)"
21 => "__TwigTemplate_2cfe98682834d1687f8d6a50e5c6c875::doDisplay (line 394)"
22 => "Twig\Template::displayWithErrorHandling (line 367)"
23 => "Twig\Template::display (line 433)"
24 => "__TwigTemplate_14ab916158f2c76dbf3ead9c965366ee::block_page_product_detail_product_buy_button (line 171)"
25 => "Twig\Template::displayBlock (line 286)"
26 => "__TwigTemplate_14ab916158f2c76dbf3ead9c965366ee::block_component_product_box_action_form (line 171)"
27 => "Twig\Template::displayBlock (line 176)"
28 => "__TwigTemplate_14ab916158f2c76dbf3ead9c965366ee::block_component_product_box_action_buy (line 171)"
29 => "Twig\Template::displayBlock (line 99)"
30 => "__TwigTemplate_14ab916158f2c76dbf3ead9c965366ee::block_component_product_box_action_inner (line 171)"
31 => "Twig\Template::displayBlock (line 55)"
32 => "__TwigTemplate_7d431b166c1076fe75d90ae2937a4fbf::doDisplay (line 394)"
33 => "Twig\Template::displayWithErrorHandling (line 367)"
34 => "Twig\Template::display (line 49)"
35 => "__TwigTemplate_c24467d8881cb30f26590a715cb8a7d0::doDisplay (line 394)"
36 => "Twig\Template::displayWithErrorHandling (line 367)"
37 => "Twig\Template::display (line 50)"
38 => "__TwigTemplate_51d4ff6a5b878003b8d295ae4681dc08::doDisplay (line 394)"
39 => "Twig\Template::displayWithErrorHandling (line 367)"
40 => "Twig\Template::display (line 59)"
41 => "__TwigTemplate_14ab916158f2c76dbf3ead9c965366ee::doDisplay (line 394)"
42 => "Twig\Template::displayWithErrorHandling (line 367)"
43 => "Twig\Template::display (line 686)"
44 => "__TwigTemplate_2a61b8c78ac82d7c4633d6e5ef88ea2a::block_component_product_box_action (line 171)"
45 => "Twig\Template::displayBlock (line 479)"
46 => "__TwigTemplate_2a61b8c78ac82d7c4633d6e5ef88ea2a::block_component_product_box_info (line 171)"
47 => "Twig\Template::displayBlock (line 148)"
48 => "__TwigTemplate_2a61b8c78ac82d7c4633d6e5ef88ea2a::block_component_product_box_content (line 171)"
49 => "Twig\Template::displayBlock (line 134)"
50 => "Twig\Template::displayParentBlock (line 72)"
51 => "__TwigTemplate_473b5d9381e520cd45967dc806bd35eb::block_component_product_box_content (line 171)"
52 => "Twig\Template::displayBlock (line 134)"
53 => "Twig\Template::displayParentBlock (line 345)"
54 => "__TwigTemplate_3d831625f614bd36fa47a6d2d9e066c4::block_component_product_box_content (line 171)"
55 => "Twig\Template::displayBlock (line 106)"
56 => "__TwigTemplate_2a61b8c78ac82d7c4633d6e5ef88ea2a::block_component_product_box (line 171)"
57 => "Twig\Template::displayBlock (line 62)"
58 => "__TwigTemplate_2a61b8c78ac82d7c4633d6e5ef88ea2a::doDisplay (line 394)"
59 => "Twig\Template::displayWithErrorHandling (line 367)"
60 => "Twig\Template::display (line 50)"
61 => "__TwigTemplate_473b5d9381e520cd45967dc806bd35eb::doDisplay (line 394)"
62 => "Twig\Template::displayWithErrorHandling (line 367)"
63 => "Twig\Template::display (line 53)"
64 => "__TwigTemplate_3d831625f614bd36fa47a6d2d9e066c4::doDisplay (line 394)"
65 => "Twig\Template::displayWithErrorHandling (line 367)"
66 => "Twig\Template::display (line 100)"
67 => "__TwigTemplate_95c5ec1c6cbf2f020c5f49f6da7b4824::block_component_product_box_include (line 171)"
68 => "Twig\Template::displayBlock (line 46)"
69 => "__TwigTemplate_95c5ec1c6cbf2f020c5f49f6da7b4824::doDisplay (line 394)"
70 => "Twig\Template::displayWithErrorHandling (line 367)"
71 => "Twig\Template::display (line 213)"
72 => "__TwigTemplate_fd1dee84d1699b805159e6ca3e1448b9::block_element_product_slider_inner_item (line 171)"
73 => "Twig\Template::displayBlock (line 305)"
74 => "__TwigTemplate_5360887332fa588f24ce84d03f2a9dcb::block_element_product_slider_element (line 171)"
75 => "Twig\Template::displayBlock (line 256)"
76 => "__TwigTemplate_5360887332fa588f24ce84d03f2a9dcb::block_element_product_slider_inner (line 171)"
77 => "Twig\Template::displayBlock (line 200)"
78 => "__TwigTemplate_5360887332fa588f24ce84d03f2a9dcb::block_element_product_slider_slider (line 171)"
79 => "Twig\Template::displayBlock (line 148)"
80 => "__TwigTemplate_5360887332fa588f24ce84d03f2a9dcb::block_element_product_slider_alignment (line 171)"
81 => "Twig\Template::displayBlock (line 97)"
82 => "__TwigTemplate_5360887332fa588f24ce84d03f2a9dcb::block_element_product_slider (line 171)"
83 => "Twig\Template::displayBlock (line 56)"
84 => "__TwigTemplate_5360887332fa588f24ce84d03f2a9dcb::doDisplay (line 394)"
85 => "Twig\Template::displayWithErrorHandling (line 367)"
86 => "Twig\Template::display (line 50)"
87 => "__TwigTemplate_fd1dee84d1699b805159e6ca3e1448b9::doDisplay (line 394)"
88 => "Twig\Template::displayWithErrorHandling (line 367)"
89 => "Twig\Template::display (line 51)"
90 => "__TwigTemplate_f4b00fca4c0b72160541c3749254ef87::doDisplay (line 394)"
91 => "Twig\Template::displayWithErrorHandling (line 367)"
92 => "Twig\Template::display (line 221)"
93 => "__TwigTemplate_d857b8324ab54046d1f714451a0d84a6::block_block_category_teaser (line 171)"
94 => "Twig\Template::displayBlock (line 46)"
95 => "__TwigTemplate_d857b8324ab54046d1f714451a0d84a6::doDisplay (line 394)"
96 => "Twig\Template::displayWithErrorHandling (line 367)"
97 => "Twig\Template::display (line 326)"
98 => "__TwigTemplate_de51fe3149c36c2d13038f03675e7186::block_section_content_block_row (line 171)"
99 => "Twig\Template::displayBlock (line 285)"
100 => "__TwigTemplate_de51fe3149c36c2d13038f03675e7186::block_section_content_block_container (line 171)"
101 => "Twig\Template::displayBlock (line 213)"
102 => "__TwigTemplate_de51fe3149c36c2d13038f03675e7186::block_section_content_block (line 171)"
103 => "Twig\Template::displayBlock (line 49)"
104 => "__TwigTemplate_de51fe3149c36c2d13038f03675e7186::doDisplay (line 394)"
105 => "Twig\Template::displayWithErrorHandling (line 367)"
106 => "Twig\Template::display (line 132)"
107 => "__TwigTemplate_2166dd94fe780598b8fdcf72ddd769c9::block_section_default_content_block (line 171)"
108 => "Twig\Template::displayBlock (line 94)"
109 => "__TwigTemplate_2166dd94fe780598b8fdcf72ddd769c9::block_page_content_section_default (line 171)"
110 => "Twig\Template::displayBlock (line 47)"
111 => "__TwigTemplate_2166dd94fe780598b8fdcf72ddd769c9::doDisplay (line 394)"
112 => "Twig\Template::displayWithErrorHandling (line 367)"
113 => "Twig\Template::display (line 221)"
114 => "__TwigTemplate_2698d288dda261b2d5360419617c8736::block_page_content_section (line 171)"
115 => "Twig\Template::displayBlock (line 135)"
116 => "__TwigTemplate_2698d288dda261b2d5360419617c8736::block_page_content_sections_inner (line 171)"
117 => "Twig\Template::displayBlock (line 47)"
118 => "__TwigTemplate_fe3011e8614935f2877430f24082e841::doDisplay (line 394)"
119 => "Twig\Template::displayWithErrorHandling (line 367)"
120 => "Twig\Template::display (line 50)"
121 => "__TwigTemplate_e550e0b90883c1187f499e90e2cd999a::doDisplay (line 394)"
122 => "Twig\Template::displayWithErrorHandling (line 367)"
123 => "Twig\Template::display (line 51)"
124 => "__TwigTemplate_2698d288dda261b2d5360419617c8736::doDisplay (line 394)"
125 => "Twig\Template::displayWithErrorHandling (line 367)"
126 => "Twig\Template::display (line 211)"
127 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::block_page_content_blocks (line 171)"
128 => "Twig\Template::displayBlock (line 187)"
129 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::block_cms_content (line 171)"
130 => "Twig\Template::displayBlock (line 106)"
131 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::block_page_content (line 171)"
132 => "Twig\Template::displayBlock (line 77)"
133 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::block_base_main_inner (line 171)"
134 => "Twig\Template::displayBlock (line 504)"
135 => "__TwigTemplate_edfe32b5c98942de2b24393e846ea184::block_base_main (line 171)"
136 => "Twig\Template::displayBlock (line 191)"
137 => "Twig\Template::displayBlock (line 134)"
138 => "Twig\Template::displayParentBlock (line 71)"
139 => "__TwigTemplate_3d4777fcf75842349da241d4044d7d72::block_base_main (line 171)"
140 => "Twig\Template::displayBlock (line 283)"
141 => "__TwigTemplate_edfe32b5c98942de2b24393e846ea184::block_base_body_inner (line 171)"
142 => "Twig\Template::displayBlock (line 193)"
143 => "__TwigTemplate_edfe32b5c98942de2b24393e846ea184::block_base_body (line 171)"
144 => "Twig\Template::displayBlock (line 97)"
145 => "__TwigTemplate_edfe32b5c98942de2b24393e846ea184::doDisplay (line 394)"
146 => "Twig\Template::displayWithErrorHandling (line 367)"
147 => "Twig\Template::display (line 49)"
148 => "__TwigTemplate_317ed82f740e5079054f5b72bb59033c::doDisplay (line 394)"
149 => "Twig\Template::displayWithErrorHandling (line 367)"
150 => "Twig\Template::display (line 50)"
151 => "__TwigTemplate_3d4777fcf75842349da241d4044d7d72::doDisplay (line 394)"
152 => "Twig\Template::displayWithErrorHandling (line 367)"
153 => "Twig\Template::display (line 50)"
154 => "__TwigTemplate_aa1832859ad5b25e9cc640dfcf28a0bc::doDisplay (line 394)"
155 => "Twig\Template::displayWithErrorHandling (line 367)"
156 => "Twig\Template::display (line 54)"
157 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::doDisplay (line 394)"
158 => "Twig\Template::displayWithErrorHandling (line 367)"
159 => "Twig\Template::display (line 52)"
160 => "__TwigTemplate_da551205fea81b0c3b361980c09151e2::doDisplay (line 394)"
161 => "Twig\Template::displayWithErrorHandling (line 367)"
162 => "Twig\Template::display (line 379)"
163 => "Twig\Template::render (line 40)"
164 => "Twig\TemplateWrapper::render (line 277)"
165 => "Twig\Environment::render (line 235)"
166 => "Shopware\Storefront\Controller\StorefrontController::renderView (line 266)"
167 => "Symfony\Bundle\FrameworkBundle\Controller\AbstractController::render (line 72)"
168 => "Shopware\Storefront\Controller\StorefrontController::Shopware\Storefront\Controller\{closure} (line 59)"
169 => "Shopware\Core\Profiling\Profiler::trace (line 73)"
170 => "Shopware\Storefront\Controller\StorefrontController::renderStorefront (line 52)"
171 => "Shopware\Storefront\Controller\NavigationController::home (line 163)"
172 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
173 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
174 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
175 => "Shopware\Core\HttpKernel::doHandle (line 81)"
176 => "Shopware\Core\HttpKernel::handle (line 75)"
]
|
143 |
1.17 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 (0x49E60033EEB14964AD30BBB2541A8832, 0x507D0ACF066F4AC8B4A5E137CC6A65D5, 0x624B5351CE6749F68E0173D176FC7D74, 0x1BD29ADF87934E51BCBC2A63DF3E5CD7, 0x54CA109BE7B94338B399B13A5D9CA690, 0x5B69F678101F40C3BBB95AD64C44F6C1, 0x888B2606F41C41E18E8E62EBD8019726, 0xB4449920AE794758AB3917DF10AA6A55, 0xC3D21140F4DF402C9BDF65AF4F7EAAAA, 0x605E84F76B374BAB8CFCEC73E9218201, 0xBA542F4FF2854B9EB943CBB0473A8D59);
array:187 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
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 93)"
10 => "Shopware\Core\Profiling\Subscriber\ActiveRulesDataCollectorSubscriber::getMatchingRules (line 69)"
11 => "Shopware\Core\Profiling\Subscriber\ActiveRulesDataCollectorSubscriber::collect (line 161)"
12 => "Symfony\Component\HttpKernel\Profiler\Profiler::collect (line 108)"
13 => "Symfony\Component\HttpKernel\EventListener\ProfilerListener::onKernelResponse (line 118)"
14 => "Symfony\Component\EventDispatcher\Debug\WrappedListener::__invoke (line 230)"
15 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
16 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
17 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
18 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
19 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
20 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
21 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 196)"
22 => "Symfony\Component\HttpKernel\HttpKernel::filterResponse (line 184)"
23 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
24 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 86)"
25 => "Symfony\Component\HttpKernel\HttpCache\SubRequestHandler::handle (line 80)"
26 => "Symfony\Component\HttpKernel\Fragment\InlineFragmentRenderer::render (line 67)"
27 => "Symfony\Component\HttpKernel\Fragment\AbstractSurrogateFragmentRenderer::render (line 85)"
28 => "Symfony\Component\HttpKernel\Fragment\FragmentHandler::render (line 49)"
29 => "Symfony\Component\HttpKernel\DependencyInjection\LazyLoadingFragmentHandler::render (line 58)"
30 => "Symfony\Bridge\Twig\Extension\HttpKernelRuntime::renderFragmentStrategy (line 49)"
31 => "__TwigTemplate_2cfe98682834d1687f8d6a50e5c6c875::doDisplay (line 394)"
32 => "Twig\Template::displayWithErrorHandling (line 367)"
33 => "Twig\Template::display (line 433)"
34 => "__TwigTemplate_14ab916158f2c76dbf3ead9c965366ee::block_page_product_detail_product_buy_button (line 171)"
35 => "Twig\Template::displayBlock (line 286)"
36 => "__TwigTemplate_14ab916158f2c76dbf3ead9c965366ee::block_component_product_box_action_form (line 171)"
37 => "Twig\Template::displayBlock (line 176)"
38 => "__TwigTemplate_14ab916158f2c76dbf3ead9c965366ee::block_component_product_box_action_buy (line 171)"
39 => "Twig\Template::displayBlock (line 99)"
40 => "__TwigTemplate_14ab916158f2c76dbf3ead9c965366ee::block_component_product_box_action_inner (line 171)"
41 => "Twig\Template::displayBlock (line 55)"
42 => "__TwigTemplate_7d431b166c1076fe75d90ae2937a4fbf::doDisplay (line 394)"
43 => "Twig\Template::displayWithErrorHandling (line 367)"
44 => "Twig\Template::display (line 49)"
45 => "__TwigTemplate_c24467d8881cb30f26590a715cb8a7d0::doDisplay (line 394)"
46 => "Twig\Template::displayWithErrorHandling (line 367)"
47 => "Twig\Template::display (line 50)"
48 => "__TwigTemplate_51d4ff6a5b878003b8d295ae4681dc08::doDisplay (line 394)"
49 => "Twig\Template::displayWithErrorHandling (line 367)"
50 => "Twig\Template::display (line 59)"
51 => "__TwigTemplate_14ab916158f2c76dbf3ead9c965366ee::doDisplay (line 394)"
52 => "Twig\Template::displayWithErrorHandling (line 367)"
53 => "Twig\Template::display (line 686)"
54 => "__TwigTemplate_2a61b8c78ac82d7c4633d6e5ef88ea2a::block_component_product_box_action (line 171)"
55 => "Twig\Template::displayBlock (line 479)"
56 => "__TwigTemplate_2a61b8c78ac82d7c4633d6e5ef88ea2a::block_component_product_box_info (line 171)"
57 => "Twig\Template::displayBlock (line 148)"
58 => "__TwigTemplate_2a61b8c78ac82d7c4633d6e5ef88ea2a::block_component_product_box_content (line 171)"
59 => "Twig\Template::displayBlock (line 134)"
60 => "Twig\Template::displayParentBlock (line 72)"
61 => "__TwigTemplate_473b5d9381e520cd45967dc806bd35eb::block_component_product_box_content (line 171)"
62 => "Twig\Template::displayBlock (line 134)"
63 => "Twig\Template::displayParentBlock (line 345)"
64 => "__TwigTemplate_3d831625f614bd36fa47a6d2d9e066c4::block_component_product_box_content (line 171)"
65 => "Twig\Template::displayBlock (line 106)"
66 => "__TwigTemplate_2a61b8c78ac82d7c4633d6e5ef88ea2a::block_component_product_box (line 171)"
67 => "Twig\Template::displayBlock (line 62)"
68 => "__TwigTemplate_2a61b8c78ac82d7c4633d6e5ef88ea2a::doDisplay (line 394)"
69 => "Twig\Template::displayWithErrorHandling (line 367)"
70 => "Twig\Template::display (line 50)"
71 => "__TwigTemplate_473b5d9381e520cd45967dc806bd35eb::doDisplay (line 394)"
72 => "Twig\Template::displayWithErrorHandling (line 367)"
73 => "Twig\Template::display (line 53)"
74 => "__TwigTemplate_3d831625f614bd36fa47a6d2d9e066c4::doDisplay (line 394)"
75 => "Twig\Template::displayWithErrorHandling (line 367)"
76 => "Twig\Template::display (line 100)"
77 => "__TwigTemplate_95c5ec1c6cbf2f020c5f49f6da7b4824::block_component_product_box_include (line 171)"
78 => "Twig\Template::displayBlock (line 46)"
79 => "__TwigTemplate_95c5ec1c6cbf2f020c5f49f6da7b4824::doDisplay (line 394)"
80 => "Twig\Template::displayWithErrorHandling (line 367)"
81 => "Twig\Template::display (line 213)"
82 => "__TwigTemplate_fd1dee84d1699b805159e6ca3e1448b9::block_element_product_slider_inner_item (line 171)"
83 => "Twig\Template::displayBlock (line 305)"
84 => "__TwigTemplate_5360887332fa588f24ce84d03f2a9dcb::block_element_product_slider_element (line 171)"
85 => "Twig\Template::displayBlock (line 256)"
86 => "__TwigTemplate_5360887332fa588f24ce84d03f2a9dcb::block_element_product_slider_inner (line 171)"
87 => "Twig\Template::displayBlock (line 200)"
88 => "__TwigTemplate_5360887332fa588f24ce84d03f2a9dcb::block_element_product_slider_slider (line 171)"
89 => "Twig\Template::displayBlock (line 148)"
90 => "__TwigTemplate_5360887332fa588f24ce84d03f2a9dcb::block_element_product_slider_alignment (line 171)"
91 => "Twig\Template::displayBlock (line 97)"
92 => "__TwigTemplate_5360887332fa588f24ce84d03f2a9dcb::block_element_product_slider (line 171)"
93 => "Twig\Template::displayBlock (line 56)"
94 => "__TwigTemplate_5360887332fa588f24ce84d03f2a9dcb::doDisplay (line 394)"
95 => "Twig\Template::displayWithErrorHandling (line 367)"
96 => "Twig\Template::display (line 50)"
97 => "__TwigTemplate_fd1dee84d1699b805159e6ca3e1448b9::doDisplay (line 394)"
98 => "Twig\Template::displayWithErrorHandling (line 367)"
99 => "Twig\Template::display (line 51)"
100 => "__TwigTemplate_f4b00fca4c0b72160541c3749254ef87::doDisplay (line 394)"
101 => "Twig\Template::displayWithErrorHandling (line 367)"
102 => "Twig\Template::display (line 221)"
103 => "__TwigTemplate_d857b8324ab54046d1f714451a0d84a6::block_block_category_teaser (line 171)"
104 => "Twig\Template::displayBlock (line 46)"
105 => "__TwigTemplate_d857b8324ab54046d1f714451a0d84a6::doDisplay (line 394)"
106 => "Twig\Template::displayWithErrorHandling (line 367)"
107 => "Twig\Template::display (line 326)"
108 => "__TwigTemplate_de51fe3149c36c2d13038f03675e7186::block_section_content_block_row (line 171)"
109 => "Twig\Template::displayBlock (line 285)"
110 => "__TwigTemplate_de51fe3149c36c2d13038f03675e7186::block_section_content_block_container (line 171)"
111 => "Twig\Template::displayBlock (line 213)"
112 => "__TwigTemplate_de51fe3149c36c2d13038f03675e7186::block_section_content_block (line 171)"
113 => "Twig\Template::displayBlock (line 49)"
114 => "__TwigTemplate_de51fe3149c36c2d13038f03675e7186::doDisplay (line 394)"
115 => "Twig\Template::displayWithErrorHandling (line 367)"
116 => "Twig\Template::display (line 132)"
117 => "__TwigTemplate_2166dd94fe780598b8fdcf72ddd769c9::block_section_default_content_block (line 171)"
118 => "Twig\Template::displayBlock (line 94)"
119 => "__TwigTemplate_2166dd94fe780598b8fdcf72ddd769c9::block_page_content_section_default (line 171)"
120 => "Twig\Template::displayBlock (line 47)"
121 => "__TwigTemplate_2166dd94fe780598b8fdcf72ddd769c9::doDisplay (line 394)"
122 => "Twig\Template::displayWithErrorHandling (line 367)"
123 => "Twig\Template::display (line 221)"
124 => "__TwigTemplate_2698d288dda261b2d5360419617c8736::block_page_content_section (line 171)"
125 => "Twig\Template::displayBlock (line 135)"
126 => "__TwigTemplate_2698d288dda261b2d5360419617c8736::block_page_content_sections_inner (line 171)"
127 => "Twig\Template::displayBlock (line 47)"
128 => "__TwigTemplate_fe3011e8614935f2877430f24082e841::doDisplay (line 394)"
129 => "Twig\Template::displayWithErrorHandling (line 367)"
130 => "Twig\Template::display (line 50)"
131 => "__TwigTemplate_e550e0b90883c1187f499e90e2cd999a::doDisplay (line 394)"
132 => "Twig\Template::displayWithErrorHandling (line 367)"
133 => "Twig\Template::display (line 51)"
134 => "__TwigTemplate_2698d288dda261b2d5360419617c8736::doDisplay (line 394)"
135 => "Twig\Template::displayWithErrorHandling (line 367)"
136 => "Twig\Template::display (line 211)"
137 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::block_page_content_blocks (line 171)"
138 => "Twig\Template::displayBlock (line 187)"
139 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::block_cms_content (line 171)"
140 => "Twig\Template::displayBlock (line 106)"
141 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::block_page_content (line 171)"
142 => "Twig\Template::displayBlock (line 77)"
143 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::block_base_main_inner (line 171)"
144 => "Twig\Template::displayBlock (line 504)"
145 => "__TwigTemplate_edfe32b5c98942de2b24393e846ea184::block_base_main (line 171)"
146 => "Twig\Template::displayBlock (line 191)"
147 => "Twig\Template::displayBlock (line 134)"
148 => "Twig\Template::displayParentBlock (line 71)"
149 => "__TwigTemplate_3d4777fcf75842349da241d4044d7d72::block_base_main (line 171)"
150 => "Twig\Template::displayBlock (line 283)"
151 => "__TwigTemplate_edfe32b5c98942de2b24393e846ea184::block_base_body_inner (line 171)"
152 => "Twig\Template::displayBlock (line 193)"
153 => "__TwigTemplate_edfe32b5c98942de2b24393e846ea184::block_base_body (line 171)"
154 => "Twig\Template::displayBlock (line 97)"
155 => "__TwigTemplate_edfe32b5c98942de2b24393e846ea184::doDisplay (line 394)"
156 => "Twig\Template::displayWithErrorHandling (line 367)"
157 => "Twig\Template::display (line 49)"
158 => "__TwigTemplate_317ed82f740e5079054f5b72bb59033c::doDisplay (line 394)"
159 => "Twig\Template::displayWithErrorHandling (line 367)"
160 => "Twig\Template::display (line 50)"
161 => "__TwigTemplate_3d4777fcf75842349da241d4044d7d72::doDisplay (line 394)"
162 => "Twig\Template::displayWithErrorHandling (line 367)"
163 => "Twig\Template::display (line 50)"
164 => "__TwigTemplate_aa1832859ad5b25e9cc640dfcf28a0bc::doDisplay (line 394)"
165 => "Twig\Template::displayWithErrorHandling (line 367)"
166 => "Twig\Template::display (line 54)"
167 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::doDisplay (line 394)"
168 => "Twig\Template::displayWithErrorHandling (line 367)"
169 => "Twig\Template::display (line 52)"
170 => "__TwigTemplate_da551205fea81b0c3b361980c09151e2::doDisplay (line 394)"
171 => "Twig\Template::displayWithErrorHandling (line 367)"
172 => "Twig\Template::display (line 379)"
173 => "Twig\Template::render (line 40)"
174 => "Twig\TemplateWrapper::render (line 277)"
175 => "Twig\Environment::render (line 235)"
176 => "Shopware\Storefront\Controller\StorefrontController::renderView (line 266)"
177 => "Symfony\Bundle\FrameworkBundle\Controller\AbstractController::render (line 72)"
178 => "Shopware\Storefront\Controller\StorefrontController::Shopware\Storefront\Controller\{closure} (line 59)"
179 => "Shopware\Core\Profiling\Profiler::trace (line 73)"
180 => "Shopware\Storefront\Controller\StorefrontController::renderStorefront (line 52)"
181 => "Shopware\Storefront\Controller\NavigationController::home (line 163)"
182 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
183 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
184 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
185 => "Shopware\Core\HttpKernel::doHandle (line 81)"
186 => "Shopware\Core\HttpKernel::handle (line 75)"
]
|
144 |
1.15 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_82dba7d7fe314f7880d836c3279a6fc2) AND `product.visibilities`.`sales_channel_id` = :param_e528cb3c1d57418487da81026669eb2f AND IFNULL(`product`.`active`, `product.parent`.`active`) = :param_1569795f44fa4b76b44d51996f2eb1fd))) 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` = 0x620A2217F7474E619CB00AD39E804CCA AND IFNULL(`product`.`active`, `product.parent`.`active`) = 1))) AND (`product`.`id` IN (0x247A8634FFCA428AAF53BDB12026184F)) GROUP BY `product`.`id`;
array:172 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
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 35)"
7 => "Bodymed\Webshop\StoreFront\Controller\Fragment\MykeyController::productButton (line 163)"
8 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
9 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 86)"
10 => "Symfony\Component\HttpKernel\HttpCache\SubRequestHandler::handle (line 80)"
11 => "Symfony\Component\HttpKernel\Fragment\InlineFragmentRenderer::render (line 67)"
12 => "Symfony\Component\HttpKernel\Fragment\AbstractSurrogateFragmentRenderer::render (line 85)"
13 => "Symfony\Component\HttpKernel\Fragment\FragmentHandler::render (line 49)"
14 => "Symfony\Component\HttpKernel\DependencyInjection\LazyLoadingFragmentHandler::render (line 58)"
15 => "Symfony\Bridge\Twig\Extension\HttpKernelRuntime::renderFragmentStrategy (line 49)"
16 => "__TwigTemplate_2cfe98682834d1687f8d6a50e5c6c875::doDisplay (line 394)"
17 => "Twig\Template::displayWithErrorHandling (line 367)"
18 => "Twig\Template::display (line 433)"
19 => "__TwigTemplate_14ab916158f2c76dbf3ead9c965366ee::block_page_product_detail_product_buy_button (line 171)"
20 => "Twig\Template::displayBlock (line 286)"
21 => "__TwigTemplate_14ab916158f2c76dbf3ead9c965366ee::block_component_product_box_action_form (line 171)"
22 => "Twig\Template::displayBlock (line 176)"
23 => "__TwigTemplate_14ab916158f2c76dbf3ead9c965366ee::block_component_product_box_action_buy (line 171)"
24 => "Twig\Template::displayBlock (line 99)"
25 => "__TwigTemplate_14ab916158f2c76dbf3ead9c965366ee::block_component_product_box_action_inner (line 171)"
26 => "Twig\Template::displayBlock (line 55)"
27 => "__TwigTemplate_7d431b166c1076fe75d90ae2937a4fbf::doDisplay (line 394)"
28 => "Twig\Template::displayWithErrorHandling (line 367)"
29 => "Twig\Template::display (line 49)"
30 => "__TwigTemplate_c24467d8881cb30f26590a715cb8a7d0::doDisplay (line 394)"
31 => "Twig\Template::displayWithErrorHandling (line 367)"
32 => "Twig\Template::display (line 50)"
33 => "__TwigTemplate_51d4ff6a5b878003b8d295ae4681dc08::doDisplay (line 394)"
34 => "Twig\Template::displayWithErrorHandling (line 367)"
35 => "Twig\Template::display (line 59)"
36 => "__TwigTemplate_14ab916158f2c76dbf3ead9c965366ee::doDisplay (line 394)"
37 => "Twig\Template::displayWithErrorHandling (line 367)"
38 => "Twig\Template::display (line 686)"
39 => "__TwigTemplate_2a61b8c78ac82d7c4633d6e5ef88ea2a::block_component_product_box_action (line 171)"
40 => "Twig\Template::displayBlock (line 479)"
41 => "__TwigTemplate_2a61b8c78ac82d7c4633d6e5ef88ea2a::block_component_product_box_info (line 171)"
42 => "Twig\Template::displayBlock (line 148)"
43 => "__TwigTemplate_2a61b8c78ac82d7c4633d6e5ef88ea2a::block_component_product_box_content (line 171)"
44 => "Twig\Template::displayBlock (line 134)"
45 => "Twig\Template::displayParentBlock (line 72)"
46 => "__TwigTemplate_473b5d9381e520cd45967dc806bd35eb::block_component_product_box_content (line 171)"
47 => "Twig\Template::displayBlock (line 134)"
48 => "Twig\Template::displayParentBlock (line 345)"
49 => "__TwigTemplate_3d831625f614bd36fa47a6d2d9e066c4::block_component_product_box_content (line 171)"
50 => "Twig\Template::displayBlock (line 106)"
51 => "__TwigTemplate_2a61b8c78ac82d7c4633d6e5ef88ea2a::block_component_product_box (line 171)"
52 => "Twig\Template::displayBlock (line 62)"
53 => "__TwigTemplate_2a61b8c78ac82d7c4633d6e5ef88ea2a::doDisplay (line 394)"
54 => "Twig\Template::displayWithErrorHandling (line 367)"
55 => "Twig\Template::display (line 50)"
56 => "__TwigTemplate_473b5d9381e520cd45967dc806bd35eb::doDisplay (line 394)"
57 => "Twig\Template::displayWithErrorHandling (line 367)"
58 => "Twig\Template::display (line 53)"
59 => "__TwigTemplate_3d831625f614bd36fa47a6d2d9e066c4::doDisplay (line 394)"
60 => "Twig\Template::displayWithErrorHandling (line 367)"
61 => "Twig\Template::display (line 100)"
62 => "__TwigTemplate_95c5ec1c6cbf2f020c5f49f6da7b4824::block_component_product_box_include (line 171)"
63 => "Twig\Template::displayBlock (line 46)"
64 => "__TwigTemplate_95c5ec1c6cbf2f020c5f49f6da7b4824::doDisplay (line 394)"
65 => "Twig\Template::displayWithErrorHandling (line 367)"
66 => "Twig\Template::display (line 213)"
67 => "__TwigTemplate_fd1dee84d1699b805159e6ca3e1448b9::block_element_product_slider_inner_item (line 171)"
68 => "Twig\Template::displayBlock (line 305)"
69 => "__TwigTemplate_5360887332fa588f24ce84d03f2a9dcb::block_element_product_slider_element (line 171)"
70 => "Twig\Template::displayBlock (line 256)"
71 => "__TwigTemplate_5360887332fa588f24ce84d03f2a9dcb::block_element_product_slider_inner (line 171)"
72 => "Twig\Template::displayBlock (line 200)"
73 => "__TwigTemplate_5360887332fa588f24ce84d03f2a9dcb::block_element_product_slider_slider (line 171)"
74 => "Twig\Template::displayBlock (line 148)"
75 => "__TwigTemplate_5360887332fa588f24ce84d03f2a9dcb::block_element_product_slider_alignment (line 171)"
76 => "Twig\Template::displayBlock (line 97)"
77 => "__TwigTemplate_5360887332fa588f24ce84d03f2a9dcb::block_element_product_slider (line 171)"
78 => "Twig\Template::displayBlock (line 56)"
79 => "__TwigTemplate_5360887332fa588f24ce84d03f2a9dcb::doDisplay (line 394)"
80 => "Twig\Template::displayWithErrorHandling (line 367)"
81 => "Twig\Template::display (line 50)"
82 => "__TwigTemplate_fd1dee84d1699b805159e6ca3e1448b9::doDisplay (line 394)"
83 => "Twig\Template::displayWithErrorHandling (line 367)"
84 => "Twig\Template::display (line 51)"
85 => "__TwigTemplate_f4b00fca4c0b72160541c3749254ef87::doDisplay (line 394)"
86 => "Twig\Template::displayWithErrorHandling (line 367)"
87 => "Twig\Template::display (line 221)"
88 => "__TwigTemplate_d857b8324ab54046d1f714451a0d84a6::block_block_category_teaser (line 171)"
89 => "Twig\Template::displayBlock (line 46)"
90 => "__TwigTemplate_d857b8324ab54046d1f714451a0d84a6::doDisplay (line 394)"
91 => "Twig\Template::displayWithErrorHandling (line 367)"
92 => "Twig\Template::display (line 326)"
93 => "__TwigTemplate_de51fe3149c36c2d13038f03675e7186::block_section_content_block_row (line 171)"
94 => "Twig\Template::displayBlock (line 285)"
95 => "__TwigTemplate_de51fe3149c36c2d13038f03675e7186::block_section_content_block_container (line 171)"
96 => "Twig\Template::displayBlock (line 213)"
97 => "__TwigTemplate_de51fe3149c36c2d13038f03675e7186::block_section_content_block (line 171)"
98 => "Twig\Template::displayBlock (line 49)"
99 => "__TwigTemplate_de51fe3149c36c2d13038f03675e7186::doDisplay (line 394)"
100 => "Twig\Template::displayWithErrorHandling (line 367)"
101 => "Twig\Template::display (line 132)"
102 => "__TwigTemplate_2166dd94fe780598b8fdcf72ddd769c9::block_section_default_content_block (line 171)"
103 => "Twig\Template::displayBlock (line 94)"
104 => "__TwigTemplate_2166dd94fe780598b8fdcf72ddd769c9::block_page_content_section_default (line 171)"
105 => "Twig\Template::displayBlock (line 47)"
106 => "__TwigTemplate_2166dd94fe780598b8fdcf72ddd769c9::doDisplay (line 394)"
107 => "Twig\Template::displayWithErrorHandling (line 367)"
108 => "Twig\Template::display (line 221)"
109 => "__TwigTemplate_2698d288dda261b2d5360419617c8736::block_page_content_section (line 171)"
110 => "Twig\Template::displayBlock (line 135)"
111 => "__TwigTemplate_2698d288dda261b2d5360419617c8736::block_page_content_sections_inner (line 171)"
112 => "Twig\Template::displayBlock (line 47)"
113 => "__TwigTemplate_fe3011e8614935f2877430f24082e841::doDisplay (line 394)"
114 => "Twig\Template::displayWithErrorHandling (line 367)"
115 => "Twig\Template::display (line 50)"
116 => "__TwigTemplate_e550e0b90883c1187f499e90e2cd999a::doDisplay (line 394)"
117 => "Twig\Template::displayWithErrorHandling (line 367)"
118 => "Twig\Template::display (line 51)"
119 => "__TwigTemplate_2698d288dda261b2d5360419617c8736::doDisplay (line 394)"
120 => "Twig\Template::displayWithErrorHandling (line 367)"
121 => "Twig\Template::display (line 211)"
122 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::block_page_content_blocks (line 171)"
123 => "Twig\Template::displayBlock (line 187)"
124 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::block_cms_content (line 171)"
125 => "Twig\Template::displayBlock (line 106)"
126 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::block_page_content (line 171)"
127 => "Twig\Template::displayBlock (line 77)"
128 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::block_base_main_inner (line 171)"
129 => "Twig\Template::displayBlock (line 504)"
130 => "__TwigTemplate_edfe32b5c98942de2b24393e846ea184::block_base_main (line 171)"
131 => "Twig\Template::displayBlock (line 191)"
132 => "Twig\Template::displayBlock (line 134)"
133 => "Twig\Template::displayParentBlock (line 71)"
134 => "__TwigTemplate_3d4777fcf75842349da241d4044d7d72::block_base_main (line 171)"
135 => "Twig\Template::displayBlock (line 283)"
136 => "__TwigTemplate_edfe32b5c98942de2b24393e846ea184::block_base_body_inner (line 171)"
137 => "Twig\Template::displayBlock (line 193)"
138 => "__TwigTemplate_edfe32b5c98942de2b24393e846ea184::block_base_body (line 171)"
139 => "Twig\Template::displayBlock (line 97)"
140 => "__TwigTemplate_edfe32b5c98942de2b24393e846ea184::doDisplay (line 394)"
141 => "Twig\Template::displayWithErrorHandling (line 367)"
142 => "Twig\Template::display (line 49)"
143 => "__TwigTemplate_317ed82f740e5079054f5b72bb59033c::doDisplay (line 394)"
144 => "Twig\Template::displayWithErrorHandling (line 367)"
145 => "Twig\Template::display (line 50)"
146 => "__TwigTemplate_3d4777fcf75842349da241d4044d7d72::doDisplay (line 394)"
147 => "Twig\Template::displayWithErrorHandling (line 367)"
148 => "Twig\Template::display (line 50)"
149 => "__TwigTemplate_aa1832859ad5b25e9cc640dfcf28a0bc::doDisplay (line 394)"
150 => "Twig\Template::displayWithErrorHandling (line 367)"
151 => "Twig\Template::display (line 54)"
152 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::doDisplay (line 394)"
153 => "Twig\Template::displayWithErrorHandling (line 367)"
154 => "Twig\Template::display (line 52)"
155 => "__TwigTemplate_da551205fea81b0c3b361980c09151e2::doDisplay (line 394)"
156 => "Twig\Template::displayWithErrorHandling (line 367)"
157 => "Twig\Template::display (line 379)"
158 => "Twig\Template::render (line 40)"
159 => "Twig\TemplateWrapper::render (line 277)"
160 => "Twig\Environment::render (line 235)"
161 => "Shopware\Storefront\Controller\StorefrontController::renderView (line 266)"
162 => "Symfony\Bundle\FrameworkBundle\Controller\AbstractController::render (line 72)"
163 => "Shopware\Storefront\Controller\StorefrontController::Shopware\Storefront\Controller\{closure} (line 59)"
164 => "Shopware\Core\Profiling\Profiler::trace (line 73)"
165 => "Shopware\Storefront\Controller\StorefrontController::renderStorefront (line 52)"
166 => "Shopware\Storefront\Controller\NavigationController::home (line 163)"
167 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
168 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
169 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
170 => "Shopware\Core\HttpKernel::doHandle (line 81)"
171 => "Shopware\Core\HttpKernel::handle (line 75)"
]
|
145 |
34.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.bundle`.`id` as `product.bundle.id`, `product.bundle`.`product_id` as `product.bundle.productId`, `product.bundle`.`product_version_id` as `product.bundle.productVersionId`, `product.bundle`.`name` as `product.bundle.name`, `product.bundle`.`price_type` as `product.bundle.priceType`, `product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`, `product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`, `product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`, `product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`, `product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`, `product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`, `product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`, `product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`, `product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`, `product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`, `product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`, `product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`, `product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`, `product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`, `product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`, `product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`, `product.bundle`.`created_at` as `product.bundle.createdAt`, `product.bundle`.`updated_at` as `product.bundle.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 `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_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 `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`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.bundle`.`id` as `product.bundle.id`,
`product.bundle`.`product_id` as `product.bundle.productId`,
`product.bundle`.`product_version_id` as `product.bundle.productVersionId`,
`product.bundle`.`name` as `product.bundle.name`,
`product.bundle`.`price_type` as `product.bundle.priceType`,
`product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`,
`product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`,
`product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`,
`product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`,
`product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`,
`product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`,
`product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`,
`product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`,
`product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`,
`product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`,
`product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`,
`product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`,
`product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`,
`product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`,
`product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`,
`product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`,
`product.bundle`.`created_at` as `product.bundle.createdAt`,
`product.bundle`.`updated_at` as `product.bundle.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 `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_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 `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id`
LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id`
LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`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.bundle`.`id` as `product.bundle.id`, `product.bundle`.`product_id` as `product.bundle.productId`, `product.bundle`.`product_version_id` as `product.bundle.productVersionId`, `product.bundle`.`name` as `product.bundle.name`, `product.bundle`.`price_type` as `product.bundle.priceType`, `product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`, `product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`, `product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`, `product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`, `product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`, `product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`, `product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`, `product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`, `product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`, `product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`, `product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`, `product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`, `product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`, `product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`, `product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`, `product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`, `product.bundle`.`created_at` as `product.bundle.createdAt`, `product.bundle`.`updated_at` as `product.bundle.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 `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_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 `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`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 (0x247A8634FFCA428AAF53BDB12026184F));
array:173 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
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 35)"
8 => "Bodymed\Webshop\StoreFront\Controller\Fragment\MykeyController::productButton (line 163)"
9 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
10 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 86)"
11 => "Symfony\Component\HttpKernel\HttpCache\SubRequestHandler::handle (line 80)"
12 => "Symfony\Component\HttpKernel\Fragment\InlineFragmentRenderer::render (line 67)"
13 => "Symfony\Component\HttpKernel\Fragment\AbstractSurrogateFragmentRenderer::render (line 85)"
14 => "Symfony\Component\HttpKernel\Fragment\FragmentHandler::render (line 49)"
15 => "Symfony\Component\HttpKernel\DependencyInjection\LazyLoadingFragmentHandler::render (line 58)"
16 => "Symfony\Bridge\Twig\Extension\HttpKernelRuntime::renderFragmentStrategy (line 49)"
17 => "__TwigTemplate_2cfe98682834d1687f8d6a50e5c6c875::doDisplay (line 394)"
18 => "Twig\Template::displayWithErrorHandling (line 367)"
19 => "Twig\Template::display (line 433)"
20 => "__TwigTemplate_14ab916158f2c76dbf3ead9c965366ee::block_page_product_detail_product_buy_button (line 171)"
21 => "Twig\Template::displayBlock (line 286)"
22 => "__TwigTemplate_14ab916158f2c76dbf3ead9c965366ee::block_component_product_box_action_form (line 171)"
23 => "Twig\Template::displayBlock (line 176)"
24 => "__TwigTemplate_14ab916158f2c76dbf3ead9c965366ee::block_component_product_box_action_buy (line 171)"
25 => "Twig\Template::displayBlock (line 99)"
26 => "__TwigTemplate_14ab916158f2c76dbf3ead9c965366ee::block_component_product_box_action_inner (line 171)"
27 => "Twig\Template::displayBlock (line 55)"
28 => "__TwigTemplate_7d431b166c1076fe75d90ae2937a4fbf::doDisplay (line 394)"
29 => "Twig\Template::displayWithErrorHandling (line 367)"
30 => "Twig\Template::display (line 49)"
31 => "__TwigTemplate_c24467d8881cb30f26590a715cb8a7d0::doDisplay (line 394)"
32 => "Twig\Template::displayWithErrorHandling (line 367)"
33 => "Twig\Template::display (line 50)"
34 => "__TwigTemplate_51d4ff6a5b878003b8d295ae4681dc08::doDisplay (line 394)"
35 => "Twig\Template::displayWithErrorHandling (line 367)"
36 => "Twig\Template::display (line 59)"
37 => "__TwigTemplate_14ab916158f2c76dbf3ead9c965366ee::doDisplay (line 394)"
38 => "Twig\Template::displayWithErrorHandling (line 367)"
39 => "Twig\Template::display (line 686)"
40 => "__TwigTemplate_2a61b8c78ac82d7c4633d6e5ef88ea2a::block_component_product_box_action (line 171)"
41 => "Twig\Template::displayBlock (line 479)"
42 => "__TwigTemplate_2a61b8c78ac82d7c4633d6e5ef88ea2a::block_component_product_box_info (line 171)"
43 => "Twig\Template::displayBlock (line 148)"
44 => "__TwigTemplate_2a61b8c78ac82d7c4633d6e5ef88ea2a::block_component_product_box_content (line 171)"
45 => "Twig\Template::displayBlock (line 134)"
46 => "Twig\Template::displayParentBlock (line 72)"
47 => "__TwigTemplate_473b5d9381e520cd45967dc806bd35eb::block_component_product_box_content (line 171)"
48 => "Twig\Template::displayBlock (line 134)"
49 => "Twig\Template::displayParentBlock (line 345)"
50 => "__TwigTemplate_3d831625f614bd36fa47a6d2d9e066c4::block_component_product_box_content (line 171)"
51 => "Twig\Template::displayBlock (line 106)"
52 => "__TwigTemplate_2a61b8c78ac82d7c4633d6e5ef88ea2a::block_component_product_box (line 171)"
53 => "Twig\Template::displayBlock (line 62)"
54 => "__TwigTemplate_2a61b8c78ac82d7c4633d6e5ef88ea2a::doDisplay (line 394)"
55 => "Twig\Template::displayWithErrorHandling (line 367)"
56 => "Twig\Template::display (line 50)"
57 => "__TwigTemplate_473b5d9381e520cd45967dc806bd35eb::doDisplay (line 394)"
58 => "Twig\Template::displayWithErrorHandling (line 367)"
59 => "Twig\Template::display (line 53)"
60 => "__TwigTemplate_3d831625f614bd36fa47a6d2d9e066c4::doDisplay (line 394)"
61 => "Twig\Template::displayWithErrorHandling (line 367)"
62 => "Twig\Template::display (line 100)"
63 => "__TwigTemplate_95c5ec1c6cbf2f020c5f49f6da7b4824::block_component_product_box_include (line 171)"
64 => "Twig\Template::displayBlock (line 46)"
65 => "__TwigTemplate_95c5ec1c6cbf2f020c5f49f6da7b4824::doDisplay (line 394)"
66 => "Twig\Template::displayWithErrorHandling (line 367)"
67 => "Twig\Template::display (line 213)"
68 => "__TwigTemplate_fd1dee84d1699b805159e6ca3e1448b9::block_element_product_slider_inner_item (line 171)"
69 => "Twig\Template::displayBlock (line 305)"
70 => "__TwigTemplate_5360887332fa588f24ce84d03f2a9dcb::block_element_product_slider_element (line 171)"
71 => "Twig\Template::displayBlock (line 256)"
72 => "__TwigTemplate_5360887332fa588f24ce84d03f2a9dcb::block_element_product_slider_inner (line 171)"
73 => "Twig\Template::displayBlock (line 200)"
74 => "__TwigTemplate_5360887332fa588f24ce84d03f2a9dcb::block_element_product_slider_slider (line 171)"
75 => "Twig\Template::displayBlock (line 148)"
76 => "__TwigTemplate_5360887332fa588f24ce84d03f2a9dcb::block_element_product_slider_alignment (line 171)"
77 => "Twig\Template::displayBlock (line 97)"
78 => "__TwigTemplate_5360887332fa588f24ce84d03f2a9dcb::block_element_product_slider (line 171)"
79 => "Twig\Template::displayBlock (line 56)"
80 => "__TwigTemplate_5360887332fa588f24ce84d03f2a9dcb::doDisplay (line 394)"
81 => "Twig\Template::displayWithErrorHandling (line 367)"
82 => "Twig\Template::display (line 50)"
83 => "__TwigTemplate_fd1dee84d1699b805159e6ca3e1448b9::doDisplay (line 394)"
84 => "Twig\Template::displayWithErrorHandling (line 367)"
85 => "Twig\Template::display (line 51)"
86 => "__TwigTemplate_f4b00fca4c0b72160541c3749254ef87::doDisplay (line 394)"
87 => "Twig\Template::displayWithErrorHandling (line 367)"
88 => "Twig\Template::display (line 221)"
89 => "__TwigTemplate_d857b8324ab54046d1f714451a0d84a6::block_block_category_teaser (line 171)"
90 => "Twig\Template::displayBlock (line 46)"
91 => "__TwigTemplate_d857b8324ab54046d1f714451a0d84a6::doDisplay (line 394)"
92 => "Twig\Template::displayWithErrorHandling (line 367)"
93 => "Twig\Template::display (line 326)"
94 => "__TwigTemplate_de51fe3149c36c2d13038f03675e7186::block_section_content_block_row (line 171)"
95 => "Twig\Template::displayBlock (line 285)"
96 => "__TwigTemplate_de51fe3149c36c2d13038f03675e7186::block_section_content_block_container (line 171)"
97 => "Twig\Template::displayBlock (line 213)"
98 => "__TwigTemplate_de51fe3149c36c2d13038f03675e7186::block_section_content_block (line 171)"
99 => "Twig\Template::displayBlock (line 49)"
100 => "__TwigTemplate_de51fe3149c36c2d13038f03675e7186::doDisplay (line 394)"
101 => "Twig\Template::displayWithErrorHandling (line 367)"
102 => "Twig\Template::display (line 132)"
103 => "__TwigTemplate_2166dd94fe780598b8fdcf72ddd769c9::block_section_default_content_block (line 171)"
104 => "Twig\Template::displayBlock (line 94)"
105 => "__TwigTemplate_2166dd94fe780598b8fdcf72ddd769c9::block_page_content_section_default (line 171)"
106 => "Twig\Template::displayBlock (line 47)"
107 => "__TwigTemplate_2166dd94fe780598b8fdcf72ddd769c9::doDisplay (line 394)"
108 => "Twig\Template::displayWithErrorHandling (line 367)"
109 => "Twig\Template::display (line 221)"
110 => "__TwigTemplate_2698d288dda261b2d5360419617c8736::block_page_content_section (line 171)"
111 => "Twig\Template::displayBlock (line 135)"
112 => "__TwigTemplate_2698d288dda261b2d5360419617c8736::block_page_content_sections_inner (line 171)"
113 => "Twig\Template::displayBlock (line 47)"
114 => "__TwigTemplate_fe3011e8614935f2877430f24082e841::doDisplay (line 394)"
115 => "Twig\Template::displayWithErrorHandling (line 367)"
116 => "Twig\Template::display (line 50)"
117 => "__TwigTemplate_e550e0b90883c1187f499e90e2cd999a::doDisplay (line 394)"
118 => "Twig\Template::displayWithErrorHandling (line 367)"
119 => "Twig\Template::display (line 51)"
120 => "__TwigTemplate_2698d288dda261b2d5360419617c8736::doDisplay (line 394)"
121 => "Twig\Template::displayWithErrorHandling (line 367)"
122 => "Twig\Template::display (line 211)"
123 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::block_page_content_blocks (line 171)"
124 => "Twig\Template::displayBlock (line 187)"
125 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::block_cms_content (line 171)"
126 => "Twig\Template::displayBlock (line 106)"
127 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::block_page_content (line 171)"
128 => "Twig\Template::displayBlock (line 77)"
129 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::block_base_main_inner (line 171)"
130 => "Twig\Template::displayBlock (line 504)"
131 => "__TwigTemplate_edfe32b5c98942de2b24393e846ea184::block_base_main (line 171)"
132 => "Twig\Template::displayBlock (line 191)"
133 => "Twig\Template::displayBlock (line 134)"
134 => "Twig\Template::displayParentBlock (line 71)"
135 => "__TwigTemplate_3d4777fcf75842349da241d4044d7d72::block_base_main (line 171)"
136 => "Twig\Template::displayBlock (line 283)"
137 => "__TwigTemplate_edfe32b5c98942de2b24393e846ea184::block_base_body_inner (line 171)"
138 => "Twig\Template::displayBlock (line 193)"
139 => "__TwigTemplate_edfe32b5c98942de2b24393e846ea184::block_base_body (line 171)"
140 => "Twig\Template::displayBlock (line 97)"
141 => "__TwigTemplate_edfe32b5c98942de2b24393e846ea184::doDisplay (line 394)"
142 => "Twig\Template::displayWithErrorHandling (line 367)"
143 => "Twig\Template::display (line 49)"
144 => "__TwigTemplate_317ed82f740e5079054f5b72bb59033c::doDisplay (line 394)"
145 => "Twig\Template::displayWithErrorHandling (line 367)"
146 => "Twig\Template::display (line 50)"
147 => "__TwigTemplate_3d4777fcf75842349da241d4044d7d72::doDisplay (line 394)"
148 => "Twig\Template::displayWithErrorHandling (line 367)"
149 => "Twig\Template::display (line 50)"
150 => "__TwigTemplate_aa1832859ad5b25e9cc640dfcf28a0bc::doDisplay (line 394)"
151 => "Twig\Template::displayWithErrorHandling (line 367)"
152 => "Twig\Template::display (line 54)"
153 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::doDisplay (line 394)"
154 => "Twig\Template::displayWithErrorHandling (line 367)"
155 => "Twig\Template::display (line 52)"
156 => "__TwigTemplate_da551205fea81b0c3b361980c09151e2::doDisplay (line 394)"
157 => "Twig\Template::displayWithErrorHandling (line 367)"
158 => "Twig\Template::display (line 379)"
159 => "Twig\Template::render (line 40)"
160 => "Twig\TemplateWrapper::render (line 277)"
161 => "Twig\Environment::render (line 235)"
162 => "Shopware\Storefront\Controller\StorefrontController::renderView (line 266)"
163 => "Symfony\Bundle\FrameworkBundle\Controller\AbstractController::render (line 72)"
164 => "Shopware\Storefront\Controller\StorefrontController::Shopware\Storefront\Controller\{closure} (line 59)"
165 => "Shopware\Core\Profiling\Profiler::trace (line 73)"
166 => "Shopware\Storefront\Controller\StorefrontController::renderStorefront (line 52)"
167 => "Shopware\Storefront\Controller\NavigationController::home (line 163)"
168 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
169 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
170 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
171 => "Shopware\Core\HttpKernel::doHandle (line 81)"
172 => "Shopware\Core\HttpKernel::handle (line 75)"
]
|
146 |
1.16 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_e6d40e48c9524bb88622a54851f7c177)))
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 (0x247A8634FFCA428AAF53BDB12026184F)));
array:177 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
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 35)"
12 => "Bodymed\Webshop\StoreFront\Controller\Fragment\MykeyController::productButton (line 163)"
13 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
14 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 86)"
15 => "Symfony\Component\HttpKernel\HttpCache\SubRequestHandler::handle (line 80)"
16 => "Symfony\Component\HttpKernel\Fragment\InlineFragmentRenderer::render (line 67)"
17 => "Symfony\Component\HttpKernel\Fragment\AbstractSurrogateFragmentRenderer::render (line 85)"
18 => "Symfony\Component\HttpKernel\Fragment\FragmentHandler::render (line 49)"
19 => "Symfony\Component\HttpKernel\DependencyInjection\LazyLoadingFragmentHandler::render (line 58)"
20 => "Symfony\Bridge\Twig\Extension\HttpKernelRuntime::renderFragmentStrategy (line 49)"
21 => "__TwigTemplate_2cfe98682834d1687f8d6a50e5c6c875::doDisplay (line 394)"
22 => "Twig\Template::displayWithErrorHandling (line 367)"
23 => "Twig\Template::display (line 433)"
24 => "__TwigTemplate_14ab916158f2c76dbf3ead9c965366ee::block_page_product_detail_product_buy_button (line 171)"
25 => "Twig\Template::displayBlock (line 286)"
26 => "__TwigTemplate_14ab916158f2c76dbf3ead9c965366ee::block_component_product_box_action_form (line 171)"
27 => "Twig\Template::displayBlock (line 176)"
28 => "__TwigTemplate_14ab916158f2c76dbf3ead9c965366ee::block_component_product_box_action_buy (line 171)"
29 => "Twig\Template::displayBlock (line 99)"
30 => "__TwigTemplate_14ab916158f2c76dbf3ead9c965366ee::block_component_product_box_action_inner (line 171)"
31 => "Twig\Template::displayBlock (line 55)"
32 => "__TwigTemplate_7d431b166c1076fe75d90ae2937a4fbf::doDisplay (line 394)"
33 => "Twig\Template::displayWithErrorHandling (line 367)"
34 => "Twig\Template::display (line 49)"
35 => "__TwigTemplate_c24467d8881cb30f26590a715cb8a7d0::doDisplay (line 394)"
36 => "Twig\Template::displayWithErrorHandling (line 367)"
37 => "Twig\Template::display (line 50)"
38 => "__TwigTemplate_51d4ff6a5b878003b8d295ae4681dc08::doDisplay (line 394)"
39 => "Twig\Template::displayWithErrorHandling (line 367)"
40 => "Twig\Template::display (line 59)"
41 => "__TwigTemplate_14ab916158f2c76dbf3ead9c965366ee::doDisplay (line 394)"
42 => "Twig\Template::displayWithErrorHandling (line 367)"
43 => "Twig\Template::display (line 686)"
44 => "__TwigTemplate_2a61b8c78ac82d7c4633d6e5ef88ea2a::block_component_product_box_action (line 171)"
45 => "Twig\Template::displayBlock (line 479)"
46 => "__TwigTemplate_2a61b8c78ac82d7c4633d6e5ef88ea2a::block_component_product_box_info (line 171)"
47 => "Twig\Template::displayBlock (line 148)"
48 => "__TwigTemplate_2a61b8c78ac82d7c4633d6e5ef88ea2a::block_component_product_box_content (line 171)"
49 => "Twig\Template::displayBlock (line 134)"
50 => "Twig\Template::displayParentBlock (line 72)"
51 => "__TwigTemplate_473b5d9381e520cd45967dc806bd35eb::block_component_product_box_content (line 171)"
52 => "Twig\Template::displayBlock (line 134)"
53 => "Twig\Template::displayParentBlock (line 345)"
54 => "__TwigTemplate_3d831625f614bd36fa47a6d2d9e066c4::block_component_product_box_content (line 171)"
55 => "Twig\Template::displayBlock (line 106)"
56 => "__TwigTemplate_2a61b8c78ac82d7c4633d6e5ef88ea2a::block_component_product_box (line 171)"
57 => "Twig\Template::displayBlock (line 62)"
58 => "__TwigTemplate_2a61b8c78ac82d7c4633d6e5ef88ea2a::doDisplay (line 394)"
59 => "Twig\Template::displayWithErrorHandling (line 367)"
60 => "Twig\Template::display (line 50)"
61 => "__TwigTemplate_473b5d9381e520cd45967dc806bd35eb::doDisplay (line 394)"
62 => "Twig\Template::displayWithErrorHandling (line 367)"
63 => "Twig\Template::display (line 53)"
64 => "__TwigTemplate_3d831625f614bd36fa47a6d2d9e066c4::doDisplay (line 394)"
65 => "Twig\Template::displayWithErrorHandling (line 367)"
66 => "Twig\Template::display (line 100)"
67 => "__TwigTemplate_95c5ec1c6cbf2f020c5f49f6da7b4824::block_component_product_box_include (line 171)"
68 => "Twig\Template::displayBlock (line 46)"
69 => "__TwigTemplate_95c5ec1c6cbf2f020c5f49f6da7b4824::doDisplay (line 394)"
70 => "Twig\Template::displayWithErrorHandling (line 367)"
71 => "Twig\Template::display (line 213)"
72 => "__TwigTemplate_fd1dee84d1699b805159e6ca3e1448b9::block_element_product_slider_inner_item (line 171)"
73 => "Twig\Template::displayBlock (line 305)"
74 => "__TwigTemplate_5360887332fa588f24ce84d03f2a9dcb::block_element_product_slider_element (line 171)"
75 => "Twig\Template::displayBlock (line 256)"
76 => "__TwigTemplate_5360887332fa588f24ce84d03f2a9dcb::block_element_product_slider_inner (line 171)"
77 => "Twig\Template::displayBlock (line 200)"
78 => "__TwigTemplate_5360887332fa588f24ce84d03f2a9dcb::block_element_product_slider_slider (line 171)"
79 => "Twig\Template::displayBlock (line 148)"
80 => "__TwigTemplate_5360887332fa588f24ce84d03f2a9dcb::block_element_product_slider_alignment (line 171)"
81 => "Twig\Template::displayBlock (line 97)"
82 => "__TwigTemplate_5360887332fa588f24ce84d03f2a9dcb::block_element_product_slider (line 171)"
83 => "Twig\Template::displayBlock (line 56)"
84 => "__TwigTemplate_5360887332fa588f24ce84d03f2a9dcb::doDisplay (line 394)"
85 => "Twig\Template::displayWithErrorHandling (line 367)"
86 => "Twig\Template::display (line 50)"
87 => "__TwigTemplate_fd1dee84d1699b805159e6ca3e1448b9::doDisplay (line 394)"
88 => "Twig\Template::displayWithErrorHandling (line 367)"
89 => "Twig\Template::display (line 51)"
90 => "__TwigTemplate_f4b00fca4c0b72160541c3749254ef87::doDisplay (line 394)"
91 => "Twig\Template::displayWithErrorHandling (line 367)"
92 => "Twig\Template::display (line 221)"
93 => "__TwigTemplate_d857b8324ab54046d1f714451a0d84a6::block_block_category_teaser (line 171)"
94 => "Twig\Template::displayBlock (line 46)"
95 => "__TwigTemplate_d857b8324ab54046d1f714451a0d84a6::doDisplay (line 394)"
96 => "Twig\Template::displayWithErrorHandling (line 367)"
97 => "Twig\Template::display (line 326)"
98 => "__TwigTemplate_de51fe3149c36c2d13038f03675e7186::block_section_content_block_row (line 171)"
99 => "Twig\Template::displayBlock (line 285)"
100 => "__TwigTemplate_de51fe3149c36c2d13038f03675e7186::block_section_content_block_container (line 171)"
101 => "Twig\Template::displayBlock (line 213)"
102 => "__TwigTemplate_de51fe3149c36c2d13038f03675e7186::block_section_content_block (line 171)"
103 => "Twig\Template::displayBlock (line 49)"
104 => "__TwigTemplate_de51fe3149c36c2d13038f03675e7186::doDisplay (line 394)"
105 => "Twig\Template::displayWithErrorHandling (line 367)"
106 => "Twig\Template::display (line 132)"
107 => "__TwigTemplate_2166dd94fe780598b8fdcf72ddd769c9::block_section_default_content_block (line 171)"
108 => "Twig\Template::displayBlock (line 94)"
109 => "__TwigTemplate_2166dd94fe780598b8fdcf72ddd769c9::block_page_content_section_default (line 171)"
110 => "Twig\Template::displayBlock (line 47)"
111 => "__TwigTemplate_2166dd94fe780598b8fdcf72ddd769c9::doDisplay (line 394)"
112 => "Twig\Template::displayWithErrorHandling (line 367)"
113 => "Twig\Template::display (line 221)"
114 => "__TwigTemplate_2698d288dda261b2d5360419617c8736::block_page_content_section (line 171)"
115 => "Twig\Template::displayBlock (line 135)"
116 => "__TwigTemplate_2698d288dda261b2d5360419617c8736::block_page_content_sections_inner (line 171)"
117 => "Twig\Template::displayBlock (line 47)"
118 => "__TwigTemplate_fe3011e8614935f2877430f24082e841::doDisplay (line 394)"
119 => "Twig\Template::displayWithErrorHandling (line 367)"
120 => "Twig\Template::display (line 50)"
121 => "__TwigTemplate_e550e0b90883c1187f499e90e2cd999a::doDisplay (line 394)"
122 => "Twig\Template::displayWithErrorHandling (line 367)"
123 => "Twig\Template::display (line 51)"
124 => "__TwigTemplate_2698d288dda261b2d5360419617c8736::doDisplay (line 394)"
125 => "Twig\Template::displayWithErrorHandling (line 367)"
126 => "Twig\Template::display (line 211)"
127 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::block_page_content_blocks (line 171)"
128 => "Twig\Template::displayBlock (line 187)"
129 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::block_cms_content (line 171)"
130 => "Twig\Template::displayBlock (line 106)"
131 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::block_page_content (line 171)"
132 => "Twig\Template::displayBlock (line 77)"
133 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::block_base_main_inner (line 171)"
134 => "Twig\Template::displayBlock (line 504)"
135 => "__TwigTemplate_edfe32b5c98942de2b24393e846ea184::block_base_main (line 171)"
136 => "Twig\Template::displayBlock (line 191)"
137 => "Twig\Template::displayBlock (line 134)"
138 => "Twig\Template::displayParentBlock (line 71)"
139 => "__TwigTemplate_3d4777fcf75842349da241d4044d7d72::block_base_main (line 171)"
140 => "Twig\Template::displayBlock (line 283)"
141 => "__TwigTemplate_edfe32b5c98942de2b24393e846ea184::block_base_body_inner (line 171)"
142 => "Twig\Template::displayBlock (line 193)"
143 => "__TwigTemplate_edfe32b5c98942de2b24393e846ea184::block_base_body (line 171)"
144 => "Twig\Template::displayBlock (line 97)"
145 => "__TwigTemplate_edfe32b5c98942de2b24393e846ea184::doDisplay (line 394)"
146 => "Twig\Template::displayWithErrorHandling (line 367)"
147 => "Twig\Template::display (line 49)"
148 => "__TwigTemplate_317ed82f740e5079054f5b72bb59033c::doDisplay (line 394)"
149 => "Twig\Template::displayWithErrorHandling (line 367)"
150 => "Twig\Template::display (line 50)"
151 => "__TwigTemplate_3d4777fcf75842349da241d4044d7d72::doDisplay (line 394)"
152 => "Twig\Template::displayWithErrorHandling (line 367)"
153 => "Twig\Template::display (line 50)"
154 => "__TwigTemplate_aa1832859ad5b25e9cc640dfcf28a0bc::doDisplay (line 394)"
155 => "Twig\Template::displayWithErrorHandling (line 367)"
156 => "Twig\Template::display (line 54)"
157 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::doDisplay (line 394)"
158 => "Twig\Template::displayWithErrorHandling (line 367)"
159 => "Twig\Template::display (line 52)"
160 => "__TwigTemplate_da551205fea81b0c3b361980c09151e2::doDisplay (line 394)"
161 => "Twig\Template::displayWithErrorHandling (line 367)"
162 => "Twig\Template::display (line 379)"
163 => "Twig\Template::render (line 40)"
164 => "Twig\TemplateWrapper::render (line 277)"
165 => "Twig\Environment::render (line 235)"
166 => "Shopware\Storefront\Controller\StorefrontController::renderView (line 266)"
167 => "Symfony\Bundle\FrameworkBundle\Controller\AbstractController::render (line 72)"
168 => "Shopware\Storefront\Controller\StorefrontController::Shopware\Storefront\Controller\{closure} (line 59)"
169 => "Shopware\Core\Profiling\Profiler::trace (line 73)"
170 => "Shopware\Storefront\Controller\StorefrontController::renderStorefront (line 52)"
171 => "Shopware\Storefront\Controller\NavigationController::home (line 163)"
172 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
173 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
174 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
175 => "Shopware\Core\HttpKernel::doHandle (line 81)"
176 => "Shopware\Core\HttpKernel::handle (line 75)"
]
|
147 |
1.13 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 (0x49E60033EEB14964AD30BBB2541A8832, 0x507D0ACF066F4AC8B4A5E137CC6A65D5, 0x624B5351CE6749F68E0173D176FC7D74, 0x1BD29ADF87934E51BCBC2A63DF3E5CD7, 0x54CA109BE7B94338B399B13A5D9CA690, 0x5B69F678101F40C3BBB95AD64C44F6C1, 0x888B2606F41C41E18E8E62EBD8019726, 0xB4449920AE794758AB3917DF10AA6A55, 0xC3D21140F4DF402C9BDF65AF4F7EAAAA, 0x605E84F76B374BAB8CFCEC73E9218201, 0xBA542F4FF2854B9EB943CBB0473A8D59);
array:187 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
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 93)"
10 => "Shopware\Core\Profiling\Subscriber\ActiveRulesDataCollectorSubscriber::getMatchingRules (line 69)"
11 => "Shopware\Core\Profiling\Subscriber\ActiveRulesDataCollectorSubscriber::collect (line 161)"
12 => "Symfony\Component\HttpKernel\Profiler\Profiler::collect (line 108)"
13 => "Symfony\Component\HttpKernel\EventListener\ProfilerListener::onKernelResponse (line 118)"
14 => "Symfony\Component\EventDispatcher\Debug\WrappedListener::__invoke (line 230)"
15 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
16 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
17 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
18 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
19 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
20 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
21 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 196)"
22 => "Symfony\Component\HttpKernel\HttpKernel::filterResponse (line 184)"
23 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
24 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 86)"
25 => "Symfony\Component\HttpKernel\HttpCache\SubRequestHandler::handle (line 80)"
26 => "Symfony\Component\HttpKernel\Fragment\InlineFragmentRenderer::render (line 67)"
27 => "Symfony\Component\HttpKernel\Fragment\AbstractSurrogateFragmentRenderer::render (line 85)"
28 => "Symfony\Component\HttpKernel\Fragment\FragmentHandler::render (line 49)"
29 => "Symfony\Component\HttpKernel\DependencyInjection\LazyLoadingFragmentHandler::render (line 58)"
30 => "Symfony\Bridge\Twig\Extension\HttpKernelRuntime::renderFragmentStrategy (line 49)"
31 => "__TwigTemplate_2cfe98682834d1687f8d6a50e5c6c875::doDisplay (line 394)"
32 => "Twig\Template::displayWithErrorHandling (line 367)"
33 => "Twig\Template::display (line 433)"
34 => "__TwigTemplate_14ab916158f2c76dbf3ead9c965366ee::block_page_product_detail_product_buy_button (line 171)"
35 => "Twig\Template::displayBlock (line 286)"
36 => "__TwigTemplate_14ab916158f2c76dbf3ead9c965366ee::block_component_product_box_action_form (line 171)"
37 => "Twig\Template::displayBlock (line 176)"
38 => "__TwigTemplate_14ab916158f2c76dbf3ead9c965366ee::block_component_product_box_action_buy (line 171)"
39 => "Twig\Template::displayBlock (line 99)"
40 => "__TwigTemplate_14ab916158f2c76dbf3ead9c965366ee::block_component_product_box_action_inner (line 171)"
41 => "Twig\Template::displayBlock (line 55)"
42 => "__TwigTemplate_7d431b166c1076fe75d90ae2937a4fbf::doDisplay (line 394)"
43 => "Twig\Template::displayWithErrorHandling (line 367)"
44 => "Twig\Template::display (line 49)"
45 => "__TwigTemplate_c24467d8881cb30f26590a715cb8a7d0::doDisplay (line 394)"
46 => "Twig\Template::displayWithErrorHandling (line 367)"
47 => "Twig\Template::display (line 50)"
48 => "__TwigTemplate_51d4ff6a5b878003b8d295ae4681dc08::doDisplay (line 394)"
49 => "Twig\Template::displayWithErrorHandling (line 367)"
50 => "Twig\Template::display (line 59)"
51 => "__TwigTemplate_14ab916158f2c76dbf3ead9c965366ee::doDisplay (line 394)"
52 => "Twig\Template::displayWithErrorHandling (line 367)"
53 => "Twig\Template::display (line 686)"
54 => "__TwigTemplate_2a61b8c78ac82d7c4633d6e5ef88ea2a::block_component_product_box_action (line 171)"
55 => "Twig\Template::displayBlock (line 479)"
56 => "__TwigTemplate_2a61b8c78ac82d7c4633d6e5ef88ea2a::block_component_product_box_info (line 171)"
57 => "Twig\Template::displayBlock (line 148)"
58 => "__TwigTemplate_2a61b8c78ac82d7c4633d6e5ef88ea2a::block_component_product_box_content (line 171)"
59 => "Twig\Template::displayBlock (line 134)"
60 => "Twig\Template::displayParentBlock (line 72)"
61 => "__TwigTemplate_473b5d9381e520cd45967dc806bd35eb::block_component_product_box_content (line 171)"
62 => "Twig\Template::displayBlock (line 134)"
63 => "Twig\Template::displayParentBlock (line 345)"
64 => "__TwigTemplate_3d831625f614bd36fa47a6d2d9e066c4::block_component_product_box_content (line 171)"
65 => "Twig\Template::displayBlock (line 106)"
66 => "__TwigTemplate_2a61b8c78ac82d7c4633d6e5ef88ea2a::block_component_product_box (line 171)"
67 => "Twig\Template::displayBlock (line 62)"
68 => "__TwigTemplate_2a61b8c78ac82d7c4633d6e5ef88ea2a::doDisplay (line 394)"
69 => "Twig\Template::displayWithErrorHandling (line 367)"
70 => "Twig\Template::display (line 50)"
71 => "__TwigTemplate_473b5d9381e520cd45967dc806bd35eb::doDisplay (line 394)"
72 => "Twig\Template::displayWithErrorHandling (line 367)"
73 => "Twig\Template::display (line 53)"
74 => "__TwigTemplate_3d831625f614bd36fa47a6d2d9e066c4::doDisplay (line 394)"
75 => "Twig\Template::displayWithErrorHandling (line 367)"
76 => "Twig\Template::display (line 100)"
77 => "__TwigTemplate_95c5ec1c6cbf2f020c5f49f6da7b4824::block_component_product_box_include (line 171)"
78 => "Twig\Template::displayBlock (line 46)"
79 => "__TwigTemplate_95c5ec1c6cbf2f020c5f49f6da7b4824::doDisplay (line 394)"
80 => "Twig\Template::displayWithErrorHandling (line 367)"
81 => "Twig\Template::display (line 213)"
82 => "__TwigTemplate_fd1dee84d1699b805159e6ca3e1448b9::block_element_product_slider_inner_item (line 171)"
83 => "Twig\Template::displayBlock (line 305)"
84 => "__TwigTemplate_5360887332fa588f24ce84d03f2a9dcb::block_element_product_slider_element (line 171)"
85 => "Twig\Template::displayBlock (line 256)"
86 => "__TwigTemplate_5360887332fa588f24ce84d03f2a9dcb::block_element_product_slider_inner (line 171)"
87 => "Twig\Template::displayBlock (line 200)"
88 => "__TwigTemplate_5360887332fa588f24ce84d03f2a9dcb::block_element_product_slider_slider (line 171)"
89 => "Twig\Template::displayBlock (line 148)"
90 => "__TwigTemplate_5360887332fa588f24ce84d03f2a9dcb::block_element_product_slider_alignment (line 171)"
91 => "Twig\Template::displayBlock (line 97)"
92 => "__TwigTemplate_5360887332fa588f24ce84d03f2a9dcb::block_element_product_slider (line 171)"
93 => "Twig\Template::displayBlock (line 56)"
94 => "__TwigTemplate_5360887332fa588f24ce84d03f2a9dcb::doDisplay (line 394)"
95 => "Twig\Template::displayWithErrorHandling (line 367)"
96 => "Twig\Template::display (line 50)"
97 => "__TwigTemplate_fd1dee84d1699b805159e6ca3e1448b9::doDisplay (line 394)"
98 => "Twig\Template::displayWithErrorHandling (line 367)"
99 => "Twig\Template::display (line 51)"
100 => "__TwigTemplate_f4b00fca4c0b72160541c3749254ef87::doDisplay (line 394)"
101 => "Twig\Template::displayWithErrorHandling (line 367)"
102 => "Twig\Template::display (line 221)"
103 => "__TwigTemplate_d857b8324ab54046d1f714451a0d84a6::block_block_category_teaser (line 171)"
104 => "Twig\Template::displayBlock (line 46)"
105 => "__TwigTemplate_d857b8324ab54046d1f714451a0d84a6::doDisplay (line 394)"
106 => "Twig\Template::displayWithErrorHandling (line 367)"
107 => "Twig\Template::display (line 326)"
108 => "__TwigTemplate_de51fe3149c36c2d13038f03675e7186::block_section_content_block_row (line 171)"
109 => "Twig\Template::displayBlock (line 285)"
110 => "__TwigTemplate_de51fe3149c36c2d13038f03675e7186::block_section_content_block_container (line 171)"
111 => "Twig\Template::displayBlock (line 213)"
112 => "__TwigTemplate_de51fe3149c36c2d13038f03675e7186::block_section_content_block (line 171)"
113 => "Twig\Template::displayBlock (line 49)"
114 => "__TwigTemplate_de51fe3149c36c2d13038f03675e7186::doDisplay (line 394)"
115 => "Twig\Template::displayWithErrorHandling (line 367)"
116 => "Twig\Template::display (line 132)"
117 => "__TwigTemplate_2166dd94fe780598b8fdcf72ddd769c9::block_section_default_content_block (line 171)"
118 => "Twig\Template::displayBlock (line 94)"
119 => "__TwigTemplate_2166dd94fe780598b8fdcf72ddd769c9::block_page_content_section_default (line 171)"
120 => "Twig\Template::displayBlock (line 47)"
121 => "__TwigTemplate_2166dd94fe780598b8fdcf72ddd769c9::doDisplay (line 394)"
122 => "Twig\Template::displayWithErrorHandling (line 367)"
123 => "Twig\Template::display (line 221)"
124 => "__TwigTemplate_2698d288dda261b2d5360419617c8736::block_page_content_section (line 171)"
125 => "Twig\Template::displayBlock (line 135)"
126 => "__TwigTemplate_2698d288dda261b2d5360419617c8736::block_page_content_sections_inner (line 171)"
127 => "Twig\Template::displayBlock (line 47)"
128 => "__TwigTemplate_fe3011e8614935f2877430f24082e841::doDisplay (line 394)"
129 => "Twig\Template::displayWithErrorHandling (line 367)"
130 => "Twig\Template::display (line 50)"
131 => "__TwigTemplate_e550e0b90883c1187f499e90e2cd999a::doDisplay (line 394)"
132 => "Twig\Template::displayWithErrorHandling (line 367)"
133 => "Twig\Template::display (line 51)"
134 => "__TwigTemplate_2698d288dda261b2d5360419617c8736::doDisplay (line 394)"
135 => "Twig\Template::displayWithErrorHandling (line 367)"
136 => "Twig\Template::display (line 211)"
137 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::block_page_content_blocks (line 171)"
138 => "Twig\Template::displayBlock (line 187)"
139 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::block_cms_content (line 171)"
140 => "Twig\Template::displayBlock (line 106)"
141 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::block_page_content (line 171)"
142 => "Twig\Template::displayBlock (line 77)"
143 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::block_base_main_inner (line 171)"
144 => "Twig\Template::displayBlock (line 504)"
145 => "__TwigTemplate_edfe32b5c98942de2b24393e846ea184::block_base_main (line 171)"
146 => "Twig\Template::displayBlock (line 191)"
147 => "Twig\Template::displayBlock (line 134)"
148 => "Twig\Template::displayParentBlock (line 71)"
149 => "__TwigTemplate_3d4777fcf75842349da241d4044d7d72::block_base_main (line 171)"
150 => "Twig\Template::displayBlock (line 283)"
151 => "__TwigTemplate_edfe32b5c98942de2b24393e846ea184::block_base_body_inner (line 171)"
152 => "Twig\Template::displayBlock (line 193)"
153 => "__TwigTemplate_edfe32b5c98942de2b24393e846ea184::block_base_body (line 171)"
154 => "Twig\Template::displayBlock (line 97)"
155 => "__TwigTemplate_edfe32b5c98942de2b24393e846ea184::doDisplay (line 394)"
156 => "Twig\Template::displayWithErrorHandling (line 367)"
157 => "Twig\Template::display (line 49)"
158 => "__TwigTemplate_317ed82f740e5079054f5b72bb59033c::doDisplay (line 394)"
159 => "Twig\Template::displayWithErrorHandling (line 367)"
160 => "Twig\Template::display (line 50)"
161 => "__TwigTemplate_3d4777fcf75842349da241d4044d7d72::doDisplay (line 394)"
162 => "Twig\Template::displayWithErrorHandling (line 367)"
163 => "Twig\Template::display (line 50)"
164 => "__TwigTemplate_aa1832859ad5b25e9cc640dfcf28a0bc::doDisplay (line 394)"
165 => "Twig\Template::displayWithErrorHandling (line 367)"
166 => "Twig\Template::display (line 54)"
167 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::doDisplay (line 394)"
168 => "Twig\Template::displayWithErrorHandling (line 367)"
169 => "Twig\Template::display (line 52)"
170 => "__TwigTemplate_da551205fea81b0c3b361980c09151e2::doDisplay (line 394)"
171 => "Twig\Template::displayWithErrorHandling (line 367)"
172 => "Twig\Template::display (line 379)"
173 => "Twig\Template::render (line 40)"
174 => "Twig\TemplateWrapper::render (line 277)"
175 => "Twig\Environment::render (line 235)"
176 => "Shopware\Storefront\Controller\StorefrontController::renderView (line 266)"
177 => "Symfony\Bundle\FrameworkBundle\Controller\AbstractController::render (line 72)"
178 => "Shopware\Storefront\Controller\StorefrontController::Shopware\Storefront\Controller\{closure} (line 59)"
179 => "Shopware\Core\Profiling\Profiler::trace (line 73)"
180 => "Shopware\Storefront\Controller\StorefrontController::renderStorefront (line 52)"
181 => "Shopware\Storefront\Controller\NavigationController::home (line 163)"
182 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
183 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
184 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
185 => "Shopware\Core\HttpKernel::doHandle (line 81)"
186 => "Shopware\Core\HttpKernel::handle (line 75)"
]
|