1.80 ms (0.00%)
|
|
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)"
]
|
0.84 ms (0.00%)
|
|
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)"
]
|
10.31 ms (0.00%)
|
|
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 = 'kWpnTOtZ8PcauqMlElJRZyUFDQgHCtmj') 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)"
]
|
2.00 ms (0.00%)
|
|
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)"
]
|
0.88 ms (0.00%)
|
|
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` = 'kWpnTOtZ8PcauqMlElJRZyUFDQgHCtmj';
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)"
]
|
1.63 ms (0.00%)
|
|
SELECT `promotion`.`id` FROM `promotion` LEFT JOIN `promotion_sales_channel` `promotion.salesChannels` ON `promotion`.`id` = `promotion.salesChannels`.`promotion_id` WHERE ((`promotion`.`active` = :param_0d106a1dbd394c5a836c13a9f796e7b8 AND `promotion.salesChannels`.`sales_channel_id` = :param_e08864eee6ed4ba69662756105168b00 AND ((`promotion`.`valid_from` <=> :param_81a1796bf2f4470db97fe3a31fc40354 AND `promotion`.`valid_until` <=> :param_76b111a8db764fdc82ae184a75a46df2) OR (`promotion`.`valid_from` <=> :param_b70a8a2a8a13443f8f115dbf6db7e317 AND (`promotion`.`valid_until` > :param_3e8328d9bc31484893d79cecd9a68922)) OR ((`promotion`.`valid_from` <= :param_b1e1633ac5074f499f1ef1625e3e382d) AND `promotion`.`valid_until` <=> :param_5e769a9f105d49f89a650351a48fb18b) OR ((`promotion`.`valid_from` <= :param_4184ef8294e44ff99a9b699af8a3ce88) AND (`promotion`.`valid_until` > :param_0f308bafca9d466082dc290997ddcc21))) AND `promotion`.`use_codes` = :param_9920fbc9aefb43f4869ba7284ee598e2)) 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-26 17:39:22')) OR ((`promotion`.`valid_from` <= '2024-11-26 17:39:22') AND `promotion`.`valid_until` <=> NULL) OR ((`promotion`.`valid_from` <= '2024-11-26 17:39:22') AND (`promotion`.`valid_until` > '2024-11-26 17:39:22'))) 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)"
]
|
3.18 ms (0.00%)
|
|
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)"
]
|
1.48 ms (0.00%)
|
|
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_6f44ecf958eb457e86df09de700fd384))
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)"
]
|
0.95 ms (0.00%)
|
|
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_c799aa6f89dd49bfa68bf2e1bc54e9f6)
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)"
]
|
0.81 ms (0.00%)
|
|
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_a25814568d244477acf299ee43a4c5c1)
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)"
]
|
2.41 ms (0.00%)
|
|
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_50e33e82d5da4c61ac1b9310bae4aefc AND (`swkweb_buy_x_pay_y_promotion`.`rule_id` <=> :param_6fe1e8bda17a41ad83129e8c2caac699 OR `swkweb_buy_x_pay_y_promotion`.`rule_id` IN (:param_3451372d9440401189ae6dba5b267529)))
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)"
]
|
2.82 ms (0.00%)
|
|
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_b5d6b957004843d19d9aa01a9a5b7e17)
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_b5d6b957004843d19d9aa01a9a5b7e17
)
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)"
]
|
1.17 ms (0.00%)
|
|
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)"
]
|
0.94 ms (0.00%)
|
|
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)"
]
|
1.50 ms (0.00%)
|
|
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_b417389d4e204981a58d6fc4dcb258b1)) 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)"
]
|
0.82 ms (0.00%)
|
|
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_bc497e3c49094657a7cb8f1d4a916fd3)
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)"
]
|
0.86 ms (0.00%)
|
|
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_947223382645471a8c1336ac78f4da4c)
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)"
]
|
1.89 ms (0.00%)
|
|
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_20575a84cd5641bcb24181488d1cff4e AND (`swkweb_buy_x_pay_y_promotion`.`rule_id` <=> :param_c94de2c4363a43a6a25da7ce433c6b13 OR `swkweb_buy_x_pay_y_promotion`.`rule_id` IN (:param_4306b5716258412da68739b35283244f)))
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)"
]
|
3.56 ms (0.00%)
|
|
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_5dd31bc57e704c1f9517e8a4adf38812)
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_5dd31bc57e704c1f9517e8a4adf38812
)
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)"
]
|
1.87 ms (0.00%)
|
|
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)"
]
|
1.44 ms (0.00%)
|
|
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)"
]
|
8.82 ms (0.00%)
|
|
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)"
]
|
2.30 ms (0.00%)
|
|
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)"
]
|
1.98 ms (0.00%)
|
|
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)"
]
|
3.00 ms (0.00%)
|
|
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_cd6c688b8b724e8b939579b80bf45bb2)))
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_cd6c688b8b724e8b939579b80bf45bb2
)
)
)
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)"
]
|
3.42 ms (0.00%)
|
|
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_4774edc75e2245a5b10f6d5e4f105697)))
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_4774edc75e2245a5b10f6d5e4f105697
)
)
)
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)"
]
|
3.75 ms (0.00%)
|
|
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_13e5c72658594968927e5f6a1e5a7a79)))
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)"
]
|
1.84 ms (0.00%)
|
|
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)"
]
|
7.98 ms (0.00%)
|
|
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_49eff4bccdd740c9b3d3c5d51ca66ae1) AND `product.visibilities`.`sales_channel_id` = :param_4162c8db7cb74247b749e835c3b83aee)) `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_a214068a37e84440a298172c69717b67) AND `product.visibilities`.`sales_channel_id` = :param_4802e58a9cad44c79c050ac7ea7b33da)) `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_03e2593216ea487e96d074561157c8ec 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_1521c0fa9f4a450c83cb43097ee62f64 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_8ac32b5d1f594c3c851e0fc8258c18c8) 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_9104985c0aa3473ab6069d9af31afb03 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_3b2d16e634d74ac28e6c61a5c4840249) AND (`product.visibilities_1`.id IS NOT NULL AND `product.visibilities_1`.id IS NOT NULL AND IFNULL(`product`.`active`, `product.parent`.`active`) = :param_8ca716b417cf4b1d8f46ac7c8d8af9a1))) AND (`product.visibilities_2`.id IS NOT NULL AND `product.visibilities_2`.id IS NOT NULL AND IFNULL(`product`.`active`, `product.parent`.`active`) = :param_6d5d0e9ced094aeb987f55b8241328aa))) 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_49eff4bccdd740c9b3d3c5d51ca66ae1
)
AND `product.visibilities`.`sales_channel_id` = : param_4162c8db7cb74247b749e835c3b83aee
)
) `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_a214068a37e84440a298172c69717b67
)
AND `product.visibilities`.`sales_channel_id` = : param_4802e58a9cad44c79c050ac7ea7b33da
)
) `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_03e2593216ea487e96d074561157c8ec
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_1521c0fa9f4a450c83cb43097ee62f64
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_8ac32b5d1f594c3c851e0fc8258c18c8
)
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_9104985c0aa3473ab6069d9af31afb03
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_3b2d16e634d74ac28e6c61a5c4840249
)
AND (
`product.visibilities_1`.id IS NOT NULL
AND `product.visibilities_1`.id IS NOT NULL
AND IFNULL(
`product`.`active`, `product.parent`.`active`
) = : param_8ca716b417cf4b1d8f46ac7c8d8af9a1
)
)
)
AND (
`product.visibilities_2`.id IS NOT NULL
AND `product.visibilities_2`.id IS NOT NULL
AND IFNULL(
`product`.`active`, `product.parent`.`active`
) = : param_6d5d0e9ced094aeb987f55b8241328aa
)
)
)
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)"
]
|
38.83 ms (0.00%)
|
|
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)"
]
|
1.32 ms (0.00%)
|
|
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_ad320ecaf9d34c6f8fca453fe3424140)))
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)"
]
|
0.91 ms (0.00%)
|
|
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 = 'kWpnTOtZ8PcauqMlElJRZyUFDQgHCtmj') 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)"
]
|
1.31 ms (0.00%)
|
|
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)"
]
|
1.55 ms (0.00%)
|
|
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)"
]
|
8.24 ms (0.00%)
|
|
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_e39f3ad49f2d435c8decd4918f83e594) AND `product.visibilities`.`sales_channel_id` = :param_831170192bc7453da8da1fb617c18ed6)) `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_324e1efc55a84c4da1add7a22bdf0d8a) AND `product.visibilities`.`sales_channel_id` = :param_54c503a3baf34761ad4fcc9a1477e8f6)) `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_9d53f1598fd243fd9d2637c9bfe027d4 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_95004fa68d4b4ad1855d36c33d2da7b8 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_eb13a2928e004efc91bc2c951e617759) 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_77a1b55794c840ce9e88cdfd2fed85d6 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_8802d987a9c14c8ebdb0e3257dbd29a7) AND (`product.visibilities_1`.id IS NOT NULL AND `product.visibilities_1`.id IS NOT NULL AND IFNULL(`product`.`active`, `product.parent`.`active`) = :param_944d5ed567ab4432925034694ca98446))) AND (`product.visibilities_2`.id IS NOT NULL AND `product.visibilities_2`.id IS NOT NULL AND IFNULL(`product`.`active`, `product.parent`.`active`) = :param_254a8b4162644e928cd44c51069deb66))) 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_e39f3ad49f2d435c8decd4918f83e594
)
AND `product.visibilities`.`sales_channel_id` = : param_831170192bc7453da8da1fb617c18ed6
)
) `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_324e1efc55a84c4da1add7a22bdf0d8a
)
AND `product.visibilities`.`sales_channel_id` = : param_54c503a3baf34761ad4fcc9a1477e8f6
)
) `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_9d53f1598fd243fd9d2637c9bfe027d4
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_95004fa68d4b4ad1855d36c33d2da7b8
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_eb13a2928e004efc91bc2c951e617759
)
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_77a1b55794c840ce9e88cdfd2fed85d6
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_8802d987a9c14c8ebdb0e3257dbd29a7
)
AND (
`product.visibilities_1`.id IS NOT NULL
AND `product.visibilities_1`.id IS NOT NULL
AND IFNULL(
`product`.`active`, `product.parent`.`active`
) = : param_944d5ed567ab4432925034694ca98446
)
)
)
AND (
`product.visibilities_2`.id IS NOT NULL
AND `product.visibilities_2`.id IS NOT NULL
AND IFNULL(
`product`.`active`, `product.parent`.`active`
) = : param_254a8b4162644e928cd44c51069deb66
)
)
)
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)"
]
|
49.25 ms (0.00%)
|
|
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)"
]
|
3.49 ms (0.00%)
|
|
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)"
]
|
1.49 ms (0.00%)
|
|
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_d0fda1a69bf747cf8ba8b1a7a9adf6e4)))
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)"
]
|
4.55 ms (0.00%)
|
|
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 = 'kWpnTOtZ8PcauqMlElJRZyUFDQgHCtmj') 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)"
]
|
25.84 ms (0.00%)
|
|
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)"
]
|
1.36 ms (0.00%)
|
|
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 = 'kWpnTOtZ8PcauqMlElJRZyUFDQgHCtmj') 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)"
]
|
6.99 ms (0.00%)
|
|
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_ce3c992d70464b66bb039b6e7ac7d733) AND `product.visibilities`.`sales_channel_id` = :param_1684c492b05a4e14b82d6878c6a7a260)) `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_3fff81f935bb497a8f21e2282095686b) AND `product.visibilities`.`sales_channel_id` = :param_a4942a1bb9974f9cab390ce1c805f267)) `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_51039b5849cd4571ab39415cdeec1897 OR `product`.`parent_id` = :param_4c3ddfc52daa40ac9648e12a57434f2c)) OR ((`product`.`id` = :param_a364b0478c8840809ea751cea70c009f OR `product`.`parent_id` = :param_4d34503643994a84bce45e0ab5be59ea))) AND NOT (`product`.`display_group` <=> :param_4a0e06c4c59f444ea59bfd058d92f338) 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_e7f1a4f0b9a54348ac07152a98854c6e 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_c77d3a6807fc4690a64148d47a60cd88 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_86c1ffca27ad43b9aeb9a48b7233474f) 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_ad764ebb008242e098be2935f3170049 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_ca9cda5643f64ff9be0d8d672c825403) AND (`product.visibilities_1`.id IS NOT NULL AND `product.visibilities_1`.id IS NOT NULL AND IFNULL(`product`.`active`, `product.parent`.`active`) = :param_3ebcb027ed294c1f95ce03d0c99d55ec))) AND (`product.visibilities_2`.id IS NOT NULL AND `product.visibilities_2`.id IS NOT NULL AND IFNULL(`product`.`active`, `product.parent`.`active`) = :param_9d0700fd57b94a73932cbf5090329c88))) 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_ce3c992d70464b66bb039b6e7ac7d733
)
AND `product.visibilities`.`sales_channel_id` = : param_1684c492b05a4e14b82d6878c6a7a260
)
) `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_3fff81f935bb497a8f21e2282095686b
)
AND `product.visibilities`.`sales_channel_id` = : param_a4942a1bb9974f9cab390ce1c805f267
)
) `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_51039b5849cd4571ab39415cdeec1897
OR `product`.`parent_id` = : param_4c3ddfc52daa40ac9648e12a57434f2c
)
)
OR (
(
`product`.`id` = : param_a364b0478c8840809ea751cea70c009f
OR `product`.`parent_id` = : param_4d34503643994a84bce45e0ab5be59ea
)
)
)
AND NOT (
`product`.`display_group` <=> : param_4a0e06c4c59f444ea59bfd058d92f338
)
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_e7f1a4f0b9a54348ac07152a98854c6e
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_c77d3a6807fc4690a64148d47a60cd88
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_86c1ffca27ad43b9aeb9a48b7233474f
)
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_ad764ebb008242e098be2935f3170049
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_ca9cda5643f64ff9be0d8d672c825403
)
AND (
`product.visibilities_1`.id IS NOT NULL
AND `product.visibilities_1`.id IS NOT NULL
AND IFNULL(
`product`.`active`, `product.parent`.`active`
) = : param_3ebcb027ed294c1f95ce03d0c99d55ec
)
)
)
AND (
`product.visibilities_2`.id IS NOT NULL
AND `product.visibilities_2`.id IS NOT NULL
AND IFNULL(
`product`.`active`, `product.parent`.`active`
) = : param_9d0700fd57b94a73932cbf5090329c88
)
)
)
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)"
]
|
36.34 ms (0.00%)
|
|
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)"
]
|
1.31 ms (0.00%)
|
|
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_ddad93d19f534a20b4f9169d9722de6c)))
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)"
]
|
1.02 ms (0.00%)
|
|
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 = 'kWpnTOtZ8PcauqMlElJRZyUFDQgHCtmj') 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)"
]
|
1.84 ms (0.00%)
|
|
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_910200dc9eef4f4f92c923e4c14987be AND ((`product.visibilities`.`visibility` >= :param_27de26784cd2480fa55c34fef91b8f82) AND `product.visibilities`.`sales_channel_id` = :param_39862ece62e34c1abc078f9cae1fcc0f AND IFNULL(`product`.`active`, `product.parent`.`active`) = :param_7bf0be2d84d64aaca363f9e95f829efa))) 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)"
]
|
45.54 ms (0.00%)
|
|
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)"
]
|
1.60 ms (0.00%)
|
|
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_b19d43753e404e508205d48380415b1b)))
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)"
]
|
1.08 ms (0.00%)
|
|
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 = 'kWpnTOtZ8PcauqMlElJRZyUFDQgHCtmj') 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.22 ms (0.00%)
|
|
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)"
]
|
1.11 ms (0.00%)
|
|
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 = 'kWpnTOtZ8PcauqMlElJRZyUFDQgHCtmj') 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)"
]
|
26.03 ms (0.00%)
|
|
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)"
]
|
0.93 ms (0.00%)
|
|
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 = 'kWpnTOtZ8PcauqMlElJRZyUFDQgHCtmj') 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)"
]
|
29.29 ms (0.00%)
|
|
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)"
]
|
0.90 ms (0.00%)
|
|
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 = 'kWpnTOtZ8PcauqMlElJRZyUFDQgHCtmj') 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)"
]
|
25.15 ms (0.00%)
|
|
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)"
]
|
0.92 ms (0.00%)
|
|
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 = 'kWpnTOtZ8PcauqMlElJRZyUFDQgHCtmj') 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)"
]
|
1.87 ms (0.00%)
|
|
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_4f8dee574f0e494f808a254f631abc60 AND ((`product.visibilities`.`visibility` >= :param_0b6277c441514bed9ed11c2d0a1fdae9) AND `product.visibilities`.`sales_channel_id` = :param_c0bc2d1c46a84c1dba517f7d45ee0989 AND IFNULL(`product`.`active`, `product.parent`.`active`) = :param_6964879c542c4ef2920997cc41c6ac0b))) 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)"
]
|
2.53 ms (0.00%)
|
|
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_b1c048765f5a4f56bc4ceaf6c532f7af AND (`swkweb_buy_x_pay_y_promotion`.`rule_id` <=> :param_cb9d89a9fb2f459e849fd671685f79e5 OR `swkweb_buy_x_pay_y_promotion`.`rule_id` IN (:param_30a2025578c9447e98016e8290b6ee41)))
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)"
]
|
2.79 ms (0.00%)
|
|
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_87700575c7dd4e3fbebb3bb785152ce4 AND ((`product.visibilities`.`visibility` >= :param_b6bf532cace94225affb6de61ead6ddd) AND `product.visibilities`.`sales_channel_id` = :param_4db44ce6e1994e74ab5963a899f38d2b AND IFNULL(`product`.`active`, `product.parent`.`active`) = :param_ab9801c8c6eb4e3a93e71ecb879c8666))) 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)"
]
|
51.90 ms (0.00%)
|
|
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)"
]
|
2.10 ms (0.00%)
|
|
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_56d45ee929cd4a458e8677932d91ef12)))
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)"
]
|
1.49 ms (0.00%)
|
|
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 = 'kWpnTOtZ8PcauqMlElJRZyUFDQgHCtmj') 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)"
]
|
26.46 ms (0.00%)
|
|
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)"
]
|
0.89 ms (0.00%)
|
|
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 = 'kWpnTOtZ8PcauqMlElJRZyUFDQgHCtmj') 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)"
]
|
28.35 ms (0.00%)
|
|
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)"
]
|
1.01 ms (0.00%)
|
|
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 = 'kWpnTOtZ8PcauqMlElJRZyUFDQgHCtmj') 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)"
]
|
28.24 ms (0.00%)
|
|
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)"
]
|
1.51 ms (0.00%)
|
|
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 = 'kWpnTOtZ8PcauqMlElJRZyUFDQgHCtmj') 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)"
]
|
28.22 ms (0.00%)
|
|
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)"
]
|
0.91 ms (0.00%)
|
|
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 = 'kWpnTOtZ8PcauqMlElJRZyUFDQgHCtmj') 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)"
]
|
28.21 ms (0.00%)
|
|
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)"
]
|
1.22 ms (0.00%)
|
|
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 = 'kWpnTOtZ8PcauqMlElJRZyUFDQgHCtmj') 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)"
]
|
29.32 ms (0.00%)
|
|
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)"
]
|
0.97 ms (0.00%)
|
|
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 = 'kWpnTOtZ8PcauqMlElJRZyUFDQgHCtmj') 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)"
]
|
33.72 ms (0.00%)
|
|
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)"
]
|
1.06 ms (0.00%)
|
|
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 = 'kWpnTOtZ8PcauqMlElJRZyUFDQgHCtmj') 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)"
]
|
34.75 ms (0.00%)
|
|
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)"
]
|
1.32 ms (0.00%)
|
|
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 = 'kWpnTOtZ8PcauqMlElJRZyUFDQgHCtmj') 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)"
]
|
30.77 ms (0.00%)
|
|
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)"
]
|
1.01 ms (0.00%)
|
|
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 = 'kWpnTOtZ8PcauqMlElJRZyUFDQgHCtmj') 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)"
]
|
31.80 ms (0.00%)
|
|
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)"
]
|
0.92 ms (0.00%)
|
|
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 = 'kWpnTOtZ8PcauqMlElJRZyUFDQgHCtmj') 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)"
]
|
29.84 ms (0.00%)
|
|
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)"
]
|
0.89 ms (0.00%)
|
|
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 = 'kWpnTOtZ8PcauqMlElJRZyUFDQgHCtmj') 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)"
]
|
26.80 ms (0.00%)
|
|
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)"
]
|
0.99 ms (0.00%)
|
|
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 = 'kWpnTOtZ8PcauqMlElJRZyUFDQgHCtmj') 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)"
]
|
27.73 ms (0.00%)
|
|
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)"
]
|
9.11 ms (0.00%)
|
|
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 = 'kWpnTOtZ8PcauqMlElJRZyUFDQgHCtmj') 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)"
]
|
27.79 ms (0.00%)
|
|
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)"
]
|
1.26 ms (0.00%)
|
|
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 = 'kWpnTOtZ8PcauqMlElJRZyUFDQgHCtmj') 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)"
]
|
27.49 ms (0.00%)
|
|
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)"
]
|
1.25 ms (0.00%)
|
|
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 = 'kWpnTOtZ8PcauqMlElJRZyUFDQgHCtmj') 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)"
]
|
31.86 ms (0.00%)
|
|
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)"
]
|
1.17 ms (0.00%)
|
|
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 = 'kWpnTOtZ8PcauqMlElJRZyUFDQgHCtmj') 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)"
]
|
44.19 ms (0.00%)
|
|
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)"
]
|
1.06 ms (0.00%)
|
|
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 = 'kWpnTOtZ8PcauqMlElJRZyUFDQgHCtmj') 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)"
]
|
36.81 ms (0.00%)
|
|
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)"
]
|
1.09 ms (0.00%)
|
|
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 = 'kWpnTOtZ8PcauqMlElJRZyUFDQgHCtmj') 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)"
]
|
28.89 ms (0.00%)
|
|
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)"
]
|
0.98 ms (0.00%)
|
|
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 = 'kWpnTOtZ8PcauqMlElJRZyUFDQgHCtmj') 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)"
]
|
35.96 ms (0.00%)
|
|
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)"
]
|
1.62 ms (0.00%)
|
|
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 = 'kWpnTOtZ8PcauqMlElJRZyUFDQgHCtmj') 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)"
]
|
29.58 ms (0.00%)
|
|
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)"
]
|
1.12 ms (0.00%)
|
|
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 = 'kWpnTOtZ8PcauqMlElJRZyUFDQgHCtmj') 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)"
]
|
2.32 ms (0.00%)
|
|
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_49d405e3d6034701a4ae3e676ced8fa3 AND ((`product.visibilities`.`visibility` >= :param_71a2b2ed45a14777a3d587cd37291103) AND `product.visibilities`.`sales_channel_id` = :param_98d032a1ff2549ccba7b053c3eb84689 AND IFNULL(`product`.`active`, `product.parent`.`active`) = :param_95a0ffedf7d44fceb7a7c807f16a25c5))) 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)"
]
|
36.85 ms (0.00%)
|
|
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)"
]
|
1.38 ms (0.00%)
|
|
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_319aad50fd6e420685e65634a7619064)))
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)"
]
|
1.10 ms (0.00%)
|
|
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 = 'kWpnTOtZ8PcauqMlElJRZyUFDQgHCtmj') 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)"
]
|
24.63 ms (0.00%)
|
|
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)"
]
|
1.03 ms (0.00%)
|
|
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 = 'kWpnTOtZ8PcauqMlElJRZyUFDQgHCtmj') 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)"
]
|
26.66 ms (0.00%)
|
|
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)"
]
|
1.10 ms (0.00%)
|
|
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 = 'kWpnTOtZ8PcauqMlElJRZyUFDQgHCtmj') 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)"
]
|
2.19 ms (0.00%)
|
|
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_4b0ee6fe7891418d9cd998cc3524bffa AND (`swkweb_buy_x_pay_y_promotion`.`rule_id` <=> :param_d17ba9403ec04618998db15e0b0071f4 OR `swkweb_buy_x_pay_y_promotion`.`rule_id` IN (:param_ab21043b97274a258720957652d1e0ea)))
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)"
]
|
2.22 ms (0.00%)
|
|
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_6deaced450594f18bca79d5f58f6e8cc AND (`swkweb_buy_x_pay_y_promotion`.`rule_id` <=> :param_c1886401c87542598dced9bdd219f06e OR `swkweb_buy_x_pay_y_promotion`.`rule_id` IN (:param_41f29262b9784030bd7d8cbeee962497)))
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)"
]
|
3.68 ms (0.00%)
|
|
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_d72b96c83240406c99a1b74f4662d053)
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_d72b96c83240406c99a1b74f4662d053
)
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)"
]
|
1.28 ms (0.00%)
|
|
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)"
]
|
1.42 ms (0.00%)
|
|
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)"
]
|
0.82 ms (0.00%)
|
|
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)"
]
|
0.83 ms (0.00%)
|
|
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)"
]
|
2.33 ms (0.00%)
|
|
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_f907d41f2df5412eb95544f9e650f3bf OR (`media`.`private` = :param_38de317b09594c6e944b0defa869bb52 AND `media.mediaFolder.defaultFolder`.`entity` = :param_2e095076ca294f2a8d8501764176e7a7)))) 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)"
]
|
1.80 ms (0.00%)
|
|
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_9b9cdc3a3dfa41a4a0e8c551b63e6714 OR (`media`.`private` = :param_07ab7218eac848ba946c2b83e06c7fae AND `media.mediaFolder.defaultFolder`.`entity` = :param_cc6ec285a14b430eac232624e44f1eae)))) 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)"
]
|
2.07 ms (0.00%)
|
|
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_9e03ca3517824a77834f5c93edd2a700 OR (`media`.`private` = :param_13b2ec75e0e64780aaa3489e49b1b2bc AND `media.mediaFolder.defaultFolder`.`entity` = :param_7daa9ab4a6c84892a71a11d34bc50fbe)))) 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)"
]
|
2.24 ms (0.00%)
|
|
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_d3787d0b57a947f495d3010f89d8b18f OR (`media`.`private` = :param_59a759e8f5f34c0d816c6406ff4ae3a9 AND `media.mediaFolder.defaultFolder`.`entity` = :param_7c87a55dc01843258404de97f8137419)))) 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)"
]
|
2.41 ms (0.00%)
|
|
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_34bf0fb89e9b4df5848b70b0b5c30f42 OR (`media`.`private` = :param_d3096f5d553c43dc894c834180463ae8 AND `media.mediaFolder.defaultFolder`.`entity` = :param_8cfc3682a5ca4a2a9e462bf0cc1d8ac8)))) 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)"
]
|
1.92 ms (0.00%)
|
|
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_aec3e86d0c0d45489af3bc26d696be06 OR (`media`.`private` = :param_637b9afcf4d64402a9fdcbb3c7b40550 AND `media.mediaFolder.defaultFolder`.`entity` = :param_6f2875edd4764e5c802d10686d6cf50f)))) 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)"
]
|
1.90 ms (0.00%)
|
|
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_1d5fcc5cbf9841088ac819b431fe14fa OR (`media`.`private` = :param_0b5ec07d39d742b98fe9171428c3fc11 AND `media.mediaFolder.defaultFolder`.`entity` = :param_16d1462a8d1b4ff2b6e7761aa1f3c998)))) 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)"
]
|
2.34 ms (0.00%)
|
|
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_47ebba6481c24b9e92c07dbc454bf990 OR (`media`.`private` = :param_9998c6e986934802ba640dc0d9d9de30 AND `media.mediaFolder.defaultFolder`.`entity` = :param_47acd81360794a08a4fb32aca0d1ca3f)))) 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)"
]
|
2.17 ms (0.00%)
|
|
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_669d76bfdbac485485fe22d320517bb3 OR (`media`.`private` = :param_0afc9226121847febf60e65f8857a646 AND `media.mediaFolder.defaultFolder`.`entity` = :param_6faa034b62ba4e56bd55d4e7c7bba624)))) 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)"
]
|
2.14 ms (0.00%)
|
|
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_8b93f626c781433895c7dbe47e0a14c2 OR (`media`.`private` = :param_4ed4cd1d9efb4ebba13fcaa0fcf0b96a AND `media.mediaFolder.defaultFolder`.`entity` = :param_6569a2d999564dd084f6cfd31eb514b8)))) 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)"
]
|
2.46 ms (0.00%)
|
|
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_5ab9b43d82f740ad9a05faa7a72c859f OR (`media`.`private` = :param_7ed41cadf64745449ab40445ba20a6af AND `media.mediaFolder.defaultFolder`.`entity` = :param_3ebf53f85a3e4eac8f60cf04d2e21248)))) 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)"
]
|
3.34 ms (0.00%)
|
|
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_e8f3197741d143ef9a7fa65144b9614e OR (`media`.`private` = :param_9ffe55fb7037435cad1d281f8652168a AND `media.mediaFolder.defaultFolder`.`entity` = :param_e95ff51fc799463fb16b4fcaa1204f6d)))) 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)"
]
|
2.75 ms (0.00%)
|
|
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_3190a2e8a20b4ac58e2abf614c0fff1e OR (`media`.`private` = :param_15bb2b05dd1b454c92405acd83c16da1 AND `media.mediaFolder.defaultFolder`.`entity` = :param_fac5467327d842f9b6a142c2b9f54222)))) 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)"
]
|
1.32 ms (0.00%)
|
|
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_84d5199c62504b8b9d5fb5e7361bdd32) AND `product.visibilities`.`sales_channel_id` = :param_6659eb95ca1c4722b5453410f846f577 AND IFNULL(`product`.`active`, `product.parent`.`active`) = :param_857c0ece15b3469ea095f2cab7c5bbbc))) 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)"
]
|
35.08 ms (0.00%)
|
|
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)"
]
|
1.18 ms (0.00%)
|
|
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_81afd8d6b39f4072823a0bc0372d1457)))
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)"
]
|
1.56 ms (0.00%)
|
|
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)"
]
|
2.44 ms (0.00%)
|
|
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_025cb62866bb4f68aff71a9851470d97 OR (`media`.`private` = :param_80a1e053b9fb4fd2b4c37b3129e8b4ad AND `media.mediaFolder.defaultFolder`.`entity` = :param_c6e564df9a79432fa9eed67001629079)))) 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)"
]
|
2.16 ms (0.00%)
|
|
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_6139b4e9f7fc4ea3b6d77b8c0064cd78 OR (`media`.`private` = :param_5b2d0fb6c2164025bd5a0ed02e009415 AND `media.mediaFolder.defaultFolder`.`entity` = :param_e4248f35ad844156a69e096eb81ea89c)))) 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)"
]
|
1.39 ms (0.00%)
|
|
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_dbc8a2ad2a0c4cedac998650fe8eb8a3) AND `product.visibilities`.`sales_channel_id` = :param_1c5a0f51addc478d909f67a6fb1aa372 AND IFNULL(`product`.`active`, `product.parent`.`active`) = :param_c99cc0cc26524f498fb9ff701a08e9b6))) 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)"
]
|
44.30 ms (0.00%)
|
|
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)"
]
|
1.37 ms (0.00%)
|
|
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_6c567fecb7a3449e940b8239dbe20e01)))
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)"
]
|
1.34 ms (0.00%)
|
|
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)"
]
|
1.52 ms (0.00%)
|
|
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_9762f3f074b147d5a0facbee9a579812) AND `product.visibilities`.`sales_channel_id` = :param_4385634fff27454497104a624c99d97c AND IFNULL(`product`.`active`, `product.parent`.`active`) = :param_1a6e8f29f7db41bd834711b6dd8c0a18))) 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)"
]
|
47.09 ms (0.00%)
|
|
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)"
]
|
1.43 ms (0.00%)
|
|
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_510019f9a75749edacb6d8d2901b86c4)))
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)"
]
|
1.38 ms (0.00%)
|
|
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)"
]
|