1 |
1.44 ms |
SELECT `creation_timestamp`
FROM `migration`
WHERE `update` IS NOT NULL AND `update_destructive` IS NULL
SELECT `creation_timestamp`
FROM `migration`
WHERE `update` IS NOT NULL AND `update_destructive` IS NULL
;
array:7 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 377)"
2 => "Shopware\Core\Kernel::initializeDatabaseConnectionVariables (line 51)"
3 => "Bodymed\Webshop\Kernel::initializeDatabaseConnectionVariables (line 197)"
4 => "Shopware\Core\Kernel::boot (line 129)"
5 => "Shopware\Core\HttpKernel::doHandle (line 81)"
6 => "Shopware\Core\HttpKernel::handle (line 75)"
]
|
2 |
7.43 ms |
SET @@group_concat_max_len = CAST(IF(@@group_concat_max_len > 320000, @@group_concat_max_len, 320000) AS UNSIGNED);SET sql_mode=(SELECT REPLACE(@@sql_mode,'ONLY_FULL_GROUP_BY',''));SET @MIGRATION_1591683158_IS_ACTIVE = TRUE;SET @MIGRATION_1599112309_IS_ACTIVE = TRUE;SET @MIGRATION_1599134496_IS_ACTIVE = TRUE;SET @MIGRATION_1599463278_IS_ACTIVE = TRUE;SET @MIGRATION_1599570560_IS_ACTIVE = TRUE;SET @MIGRATION_1599720163_IS_ACTIVE = TRUE;SET @MIGRATION_1599806584_IS_ACTIVE = TRUE;SET @MIGRATION_1599806595_IS_ACTIVE = TRUE;SET @MIGRATION_1599822061_IS_ACTIVE = TRUE;SET @MIGRATION_1600072779_IS_ACTIVE = TRUE;SET @MIGRATION_1600156989_IS_ACTIVE = TRUE;SET @MIGRATION_1600253602_IS_ACTIVE = TRUE;SET @MIGRATION_1600330846_IS_ACTIVE = TRUE;SET @MIGRATION_1600338271_IS_ACTIVE = TRUE;SET @MIGRATION_1600349343_IS_ACTIVE = TRUE;SET @MIGRATION_1600676671_IS_ACTIVE = TRUE;SET @MIGRATION_1600769357_IS_ACTIVE = TRUE;SET @MIGRATION_1600778848_IS_ACTIVE = TRUE;SET @MIGRATION_1601388975_IS_ACTIVE = TRUE;SET @MIGRATION_1601451838_IS_ACTIVE = TRUE;SET @MIGRATION_1601539530_IS_ACTIVE = TRUE;SET @MIGRATION_1601543829_IS_ACTIVE = TRUE;SET @MIGRATION_1601891339_IS_ACTIVE = TRUE;SET @MIGRATION_1602062376_IS_ACTIVE = TRUE;SET @MIGRATION_1602146868_IS_ACTIVE = TRUE;SET @MIGRATION_1602153572_IS_ACTIVE = TRUE;SET @MIGRATION_1602494493_IS_ACTIVE = TRUE;SET @MIGRATION_1602494495_IS_ACTIVE = TRUE;SET @MIGRATION_1602745374_IS_ACTIVE = TRUE;SET @MIGRATION_1602822727_IS_ACTIVE = TRUE;SET @MIGRATION_1603179023_IS_ACTIVE = TRUE;SET @MIGRATION_1603293043_IS_ACTIVE = TRUE;SET @MIGRATION_1603970276_IS_ACTIVE = TRUE;SET @MIGRATION_1604056363_IS_ACTIVE = TRUE;SET @MIGRATION_1604056421_IS_ACTIVE = TRUE;SET @MIGRATION_1604475913_IS_ACTIVE = TRUE;SET @MIGRATION_1604499476_IS_ACTIVE = TRUE;SET @MIGRATION_1604568928_IS_ACTIVE = TRUE;SET @MIGRATION_1604669773_IS_ACTIVE = TRUE;SET @MIGRATION_1605103533_IS_ACTIVE = TRUE;SET @MIGRATION_1605530777_IS_ACTIVE = TRUE;SET @MIGRATION_1605609309_IS_ACTIVE = TRUE;SET @MIGRATION_1605609477_IS_ACTIVE = TRUE;SET @MIGRATION_1605861407_IS_ACTIVE = TRUE;SET @MIGRATION_1606310257_IS_ACTIVE = TRUE;SET @MIGRATION_1607415095_IS_ACTIVE = TRUE;SET @MIGRATION_1607500561_IS_ACTIVE = TRUE;SET @MIGRATION_1607514878_IS_ACTIVE = TRUE;SET @MIGRATION_1607581275_IS_ACTIVE = TRUE;SET @MIGRATION_1607581276_IS_ACTIVE = TRUE;SET @MIGRATION_1608624028_IS_ACTIVE = TRUE;SET @MIGRATION_1609125144_IS_ACTIVE = TRUE;SET @MIGRATION_1609857999_IS_ACTIVE = TRUE;SET @MIGRATION_1610531188_IS_ACTIVE = TRUE;SET @MIGRATION_1610965670_IS_ACTIVE = TRUE;SET @MIGRATION_1610974673_IS_ACTIVE = TRUE;SET @MIGRATION_1611155140_IS_ACTIVE = TRUE;SET @MIGRATION_1614240671_IS_ACTIVE = TRUE;SET @MIGRATION_1604502151_IS_ACTIVE = TRUE;SET @MIGRATION_1594104496_IS_ACTIVE = TRUE;SET @MIGRATION_1604585230_IS_ACTIVE = TRUE;SET @MIGRATION_1609140710_IS_ACTIVE = TRUE;SET @MIGRATION_1610337444_IS_ACTIVE = TRUE;SET @MIGRATION_1610439375_IS_ACTIVE = TRUE;SET @MIGRATION_1610448012_IS_ACTIVE = TRUE;SET @MIGRATION_1610523204_IS_ACTIVE = TRUE;SET @MIGRATION_1610523548_IS_ACTIVE = TRUE;SET @MIGRATION_1610616655_IS_ACTIVE = TRUE;SET @MIGRATION_1610621999_IS_ACTIVE = TRUE;SET @MIGRATION_1610625925_IS_ACTIVE = TRUE;SET @MIGRATION_1610634383_IS_ACTIVE = TRUE;SET @MIGRATION_1610904608_IS_ACTIVE = TRUE;SET @MIGRATION_1611732852_IS_ACTIVE = TRUE;SET @MIGRATION_1611817467_IS_ACTIVE = TRUE;SET @MIGRATION_1612184092_IS_ACTIVE = TRUE;SET @MIGRATION_1612442685_IS_ACTIVE = TRUE;SET @MIGRATION_1612442686_IS_ACTIVE = TRUE;SET @MIGRATION_1612442786_IS_ACTIVE = TRUE;SET @MIGRATION_1612851765_IS_ACTIVE = TRUE;SET @MIGRATION_1612865237_IS_ACTIVE = TRUE;SET @MIGRATION_1612970642_IS_ACTIVE = TRUE;SET @MIGRATION_1612980753_IS_ACTIVE = TRUE;SET @MIGRATION_1613665555_IS_ACTIVE = TRUE;SET @MIGRATION_1614249488_IS_ACTIVE = TRUE;SET @MIGRATION_1614691876_IS_ACTIVE = TRUE;SET @MIGRATION_1614765170_IS_ACTIVE = TRUE;SET @MIGRATION_1614765785_IS_ACTIVE = TRUE;SET @MIGRATION_1615359964_IS_ACTIVE = TRUE;SET @MIGRATION_1615366708_IS_ACTIVE = TRUE;SET @MIGRATION_1615452749_IS_ACTIVE = TRUE;SET @MIGRATION_1615802866_IS_ACTIVE = TRUE;SET @MIGRATION_1615819992_IS_ACTIVE = TRUE;SET @MIGRATION_1616076922_IS_ACTIVE = TRUE;SET @MIGRATION_1616496610_IS_ACTIVE = TRUE;SET @MIGRATION_1616555956_IS_ACTIVE = TRUE;SET @MIGRATION_1617000878_IS_ACTIVE = TRUE;SET @MIGRATION_1617356092_IS_ACTIVE = TRUE;SET @MIGRATION_1617784658_IS_ACTIVE = TRUE;SET @MIGRATION_1617864895_IS_ACTIVE = TRUE;SET @MIGRATION_1617868381_IS_ACTIVE = TRUE;SET @MIGRATION_1617877887_IS_ACTIVE = TRUE;SET @MIGRATION_1617896006_IS_ACTIVE = TRUE;SET @MIGRATION_1617935350_IS_ACTIVE = TRUE;SET @MIGRATION_1617953690_IS_ACTIVE = TRUE;SET @MIGRATION_1617960456_IS_ACTIVE = TRUE;SET @MIGRATION_1617974402_IS_ACTIVE = TRUE;SET @MIGRATION_1618218491_IS_ACTIVE = TRUE;SET @MIGRATION_1618389817_IS_ACTIVE = TRUE;SET @MIGRATION_1618476427_IS_ACTIVE = TRUE;SET @MIGRATION_1618569201_IS_ACTIVE = TRUE;SET @MIGRATION_1618900427_IS_ACTIVE = TRUE;SET @MIGRATION_1618989442_IS_ACTIVE = TRUE;SET @MIGRATION_1619070236_IS_ACTIVE = TRUE;SET @MIGRATION_1619428555_IS_ACTIVE = TRUE;SET @MIGRATION_1619604605_IS_ACTIVE = TRUE;SET @MIGRATION_1619703075_IS_ACTIVE = TRUE;SET @MIGRATION_1620146632_IS_ACTIVE = TRUE;SET @MIGRATION_1620147234_IS_ACTIVE = TRUE;SET @MIGRATION_1620201616_IS_ACTIVE = TRUE;SET @MIGRATION_1620215586_IS_ACTIVE = TRUE;SET @MIGRATION_1620374229_IS_ACTIVE = TRUE;SET @MIGRATION_1620376945_IS_ACTIVE = TRUE;SET @MIGRATION_1620632460_IS_ACTIVE = TRUE;SET @MIGRATION_1620634856_IS_ACTIVE = TRUE;SET @MIGRATION_1620733405_IS_ACTIVE = TRUE;SET @MIGRATION_1620733405_IS_ACTIVE = TRUE;SET @MIGRATION_1620820321_IS_ACTIVE = TRUE;SET @MIGRATION_1621845357_IS_ACTIVE = TRUE;SET @MIGRATION_1621845370_IS_ACTIVE = TRUE;SET @MIGRATION_1622010069_IS_ACTIVE = TRUE;SET @MIGRATION_1622104463_IS_ACTIVE = TRUE;SET @MIGRATION_1622782058_IS_ACTIVE = TRUE;SET @MIGRATION_1623305620_IS_ACTIVE = TRUE;SET @MIGRATION_1623391399_IS_ACTIVE = TRUE;SET @MIGRATION_1623828962_IS_ACTIVE = TRUE;SET @MIGRATION_1624262862_IS_ACTIVE = TRUE;SET @MIGRATION_1624884801_IS_ACTIVE = TRUE;SET @MIGRATION_1624967118_IS_ACTIVE = TRUE;SET @MIGRATION_1625304609_IS_ACTIVE = TRUE;SET @MIGRATION_1625465756_IS_ACTIVE = TRUE;SET @MIGRATION_1625505190_IS_ACTIVE = TRUE;SET @MIGRATION_1625554302_IS_ACTIVE = TRUE;SET @MIGRATION_1625569667_IS_ACTIVE = TRUE;SET @MIGRATION_1625583596_IS_ACTIVE = TRUE;SET @MIGRATION_1625583619_IS_ACTIVE = TRUE;SET @MIGRATION_1625816310_IS_ACTIVE = TRUE;SET @MIGRATION_1625819412_IS_ACTIVE = TRUE;SET @MIGRATION_1625831469_IS_ACTIVE = TRUE;SET @MIGRATION_1626241110_IS_ACTIVE = TRUE;SET @MIGRATION_1626442868_IS_ACTIVE = TRUE;SET @MIGRATION_1626696809_IS_ACTIVE = TRUE;SET @MIGRATION_1626785125_IS_ACTIVE = TRUE;SET @MIGRATION_1627292049_IS_ACTIVE = TRUE;SET @MIGRATION_1627540693_IS_ACTIVE = TRUE;SET @MIGRATION_1627541488_IS_ACTIVE = TRUE;SET @MIGRATION_1627562945_IS_ACTIVE = TRUE;SET @MIGRATION_1627650101_IS_ACTIVE = TRUE;SET @MIGRATION_1627929168_IS_ACTIVE = TRUE;SET @MIGRATION_1627983652_IS_ACTIVE = TRUE;SET @MIGRATION_1628519513_IS_ACTIVE = TRUE;SET @MIGRATION_1628749113_IS_ACTIVE = TRUE;SET @MIGRATION_1629204538_IS_ACTIVE = TRUE;SET @MIGRATION_1629700169_IS_ACTIVE = TRUE;SET @MIGRATION_1629877210_IS_ACTIVE = TRUE;SET @MIGRATION_1630074081_IS_ACTIVE = TRUE;SET @MIGRATION_1630485317_IS_ACTIVE = TRUE;SET @MIGRATION_1631625055_IS_ACTIVE = TRUE;SET @MIGRATION_1631703921_IS_ACTIVE = TRUE;SET @MIGRATION_1631790054_IS_ACTIVE = TRUE;SET @MIGRATION_1631863869_IS_ACTIVE = TRUE;SET @MIGRATION_1632111590_IS_ACTIVE = TRUE;SET @MIGRATION_1632215760_IS_ACTIVE = TRUE;SET @MIGRATION_1632721037_IS_ACTIVE = TRUE;SET @MIGRATION_1633347511_IS_ACTIVE = TRUE;SET @MIGRATION_1633358879_IS_ACTIVE = TRUE;SET @MIGRATION_1633422057_IS_ACTIVE = TRUE;SET @MIGRATION_1634735841_IS_ACTIVE = TRUE;SET @MIGRATION_1635147952_IS_ACTIVE = TRUE;SET @MIGRATION_1635230747_IS_ACTIVE = TRUE;SET @MIGRATION_1635237551_IS_ACTIVE = TRUE;SET @MIGRATION_1635388654_IS_ACTIVE = TRUE;SET @MIGRATION_1635936029_IS_ACTIVE = TRUE;SET @MIGRATION_1636014089_IS_ACTIVE = TRUE;SET @MIGRATION_1636018970_IS_ACTIVE = TRUE;SET @MIGRATION_1636362839_IS_ACTIVE = TRUE;SET @MIGRATION_1636449347_IS_ACTIVE = TRUE;SET @MIGRATION_1636964297_IS_ACTIVE = TRUE;SET @MIGRATION_1636971615_IS_ACTIVE = TRUE;SET @MIGRATION_1638195971_IS_ACTIVE = TRUE;SET @MIGRATION_1638365464_IS_ACTIVE = TRUE;SET @MIGRATION_1638514913_IS_ACTIVE = TRUE;SET @MIGRATION_1638993987_IS_ACTIVE = TRUE;SET @MIGRATION_1639122665_IS_ACTIVE = TRUE;SET @MIGRATION_1639139581_IS_ACTIVE = TRUE;SET @MIGRATION_1639992771_IS_ACTIVE = TRUE;SET @MIGRATION_1641289204_IS_ACTIVE = TRUE;SET @MIGRATION_1642517958_IS_ACTIVE = TRUE;SET @MIGRATION_1642732351_IS_ACTIVE = TRUE;SET @MIGRATION_1642757286_IS_ACTIVE = TRUE;SET @MIGRATION_1643366069_IS_ACTIVE = TRUE;SET @MIGRATION_1643386819_IS_ACTIVE = TRUE;SET @MIGRATION_1643724178_IS_ACTIVE = TRUE;SET @MIGRATION_1643878976_IS_ACTIVE = TRUE;SET @MIGRATION_1643892702_IS_ACTIVE = TRUE;SET @MIGRATION_1645019769_IS_ACTIVE = TRUE;SET @MIGRATION_1645453538_IS_ACTIVE = TRUE;SET @MIGRATION_1646125417_IS_ACTIVE = TRUE;SET @MIGRATION_1646397836_IS_ACTIVE = TRUE;SET @MIGRATION_1646817331_IS_ACTIVE = TRUE;SET @MIGRATION_1647260673_IS_ACTIVE = TRUE;SET @MIGRATION_1647443222_IS_ACTIVE = TRUE;SET @MIGRATION_1647511158_IS_ACTIVE = TRUE;SET @MIGRATION_1648031611_IS_ACTIVE = TRUE;SET @MIGRATION_1648031636_IS_ACTIVE = TRUE;SET @MIGRATION_1648543185_IS_ACTIVE = TRUE;SET @MIGRATION_1648709176_IS_ACTIVE = TRUE;SET @MIGRATION_1648803451_IS_ACTIVE = TRUE;SET @MIGRATION_1649040981_IS_ACTIVE = TRUE;SET @MIGRATION_1649315608_IS_ACTIVE = TRUE;SET @MIGRATION_1649858046_IS_ACTIVE = TRUE;SET @MIGRATION_1650249241_IS_ACTIVE = TRUE;SET @MIGRATION_1650444800_IS_ACTIVE = TRUE;SET @MIGRATION_1650548599_IS_ACTIVE = TRUE;SET @MIGRATION_1650620993_IS_ACTIVE = TRUE;SET @MIGRATION_1650872291_IS_ACTIVE = TRUE;SET @MIGRATION_1650981517_IS_ACTIVE = TRUE;SET @MIGRATION_1651118773_IS_ACTIVE = TRUE;SET @MIGRATION_1652166447_IS_ACTIVE = TRUE;SET @MIGRATION_1652345915_IS_ACTIVE = TRUE;SET @MIGRATION_1652441129_IS_ACTIVE = TRUE;SET @MIGRATION_1652864153_IS_ACTIVE = TRUE;SET @MIGRATION_1653376989_IS_ACTIVE = TRUE;SET @MIGRATION_1653385302_IS_ACTIVE = TRUE;SET @MIGRATION_1654839361_IS_ACTIVE = TRUE;SET @MIGRATION_1654839361_IS_ACTIVE = TRUE;SET @MIGRATION_1654839361_IS_ACTIVE = TRUE;SET @MIGRATION_1655730949_IS_ACTIVE = TRUE;SET @MIGRATION_1656397126_IS_ACTIVE = TRUE;SET @MIGRATION_1656928097_IS_ACTIVE = TRUE;SET @MIGRATION_1657011337_IS_ACTIVE = TRUE;SET @MIGRATION_1657027979_IS_ACTIVE = TRUE;SET @MIGRATION_1657173907_IS_ACTIVE = TRUE;SET @MIGRATION_1658786605_IS_ACTIVE = TRUE;SET @MIGRATION_1659256999_IS_ACTIVE = TRUE;SET @MIGRATION_1659257296_IS_ACTIVE = TRUE;SET @MIGRATION_1659257396_IS_ACTIVE = TRUE;SET @MIGRATION_1659257496_IS_ACTIVE = TRUE;SET @MIGRATION_1660814397_IS_ACTIVE = TRUE;SET @MIGRATION_1661759290_IS_ACTIVE = TRUE;SET @MIGRATION_1661771388_IS_ACTIVE = TRUE;SET @MIGRATION_1663238480_IS_ACTIVE = TRUE;SET @MIGRATION_1664512574_IS_ACTIVE = TRUE;SET @MIGRATION_1664541794_IS_ACTIVE = TRUE;SET @MIGRATION_1664894872_IS_ACTIVE = TRUE;SET @MIGRATION_1665064823_IS_ACTIVE = TRUE;SET @MIGRATION_1665267882_IS_ACTIVE = TRUE;SET @MIGRATION_1667731399_IS_ACTIVE = TRUE;SET @MIGRATION_1667806582_IS_ACTIVE = TRUE;SET @MIGRATION_1667983492_IS_ACTIVE = TRUE;SET @MIGRATION_1668677456_IS_ACTIVE = TRUE;SET @MIGRATION_1669316067_IS_ACTIVE = TRUE;SET @MIGRATION_1672164687_IS_ACTIVE = TRUE;SET @MIGRATION_1672743034_IS_ACTIVE = TRUE;SET @MIGRATION_1673001912_IS_ACTIVE = TRUE;SET @MIGRATION_1673966228_IS_ACTIVE = TRUE;SET @MIGRATION_1632281097_IS_ACTIVE = TRUE;SET @MIGRATION_1636121186_IS_ACTIVE = TRUE;SET @MIGRATION_1660813696_IS_ACTIVE = TRUE;SET @MIGRATION_1641476963_IS_ACTIVE = TRUE;SET @MIGRATION_1632281097_IS_ACTIVE = TRUE;SET @MIGRATION_1636121186_IS_ACTIVE = TRUE;SET @MIGRATION_1660813696_IS_ACTIVE = TRUE;SET @MIGRATION_1604502151_IS_ACTIVE = TRUE;SET @MIGRATION_1610393320_IS_ACTIVE = TRUE;SET @MIGRATION_1609855802_IS_ACTIVE = TRUE;SET @MIGRATION_1610129085_IS_ACTIVE = TRUE;SET @MIGRATION_1615835852_IS_ACTIVE = TRUE;SET @MIGRATION_1624305496_IS_ACTIVE = TRUE;SET @MIGRATION_1624978582_IS_ACTIVE = TRUE;SET @MIGRATION_1625070602_IS_ACTIVE = TRUE;SET @MIGRATION_1625153073_IS_ACTIVE = TRUE;SET @MIGRATION_1626864021_IS_ACTIVE = TRUE;SET @MIGRATION_1627492364_IS_ACTIVE = TRUE;SET @MIGRATION_1633453069_IS_ACTIVE = TRUE;SET @MIGRATION_1633702544_IS_ACTIVE = TRUE;SET @MIGRATION_1647534649_IS_ACTIVE = TRUE;SET @MIGRATION_1666719360_IS_ACTIVE = TRUE;SET @MIGRATION_1666820585_IS_ACTIVE = TRUE;SET @MIGRATION_1670245355_IS_ACTIVE = TRUE;SET @MIGRATION_1671553325_IS_ACTIVE = TRUE;SET @MIGRATION_1671628584_IS_ACTIVE = TRUE;SET @MIGRATION_1678463158_IS_ACTIVE = TRUE;SET @MIGRATION_1681335462_IS_ACTIVE = TRUE;SET @MIGRATION_1692602662_IS_ACTIVE = TRUE;SET @MIGRATION_1692609464_IS_ACTIVE = TRUE;SET @MIGRATION_1617711735_IS_ACTIVE = TRUE;SET @MIGRATION_1629213173_IS_ACTIVE = TRUE;SET @MIGRATION_1669231644_IS_ACTIVE = TRUE;SET @MIGRATION_1670608447_IS_ACTIVE = TRUE;SET @MIGRATION_1674206768_IS_ACTIVE = TRUE;SET @MIGRATION_1623870288_IS_ACTIVE = TRUE;SET @MIGRATION_1619697959_IS_ACTIVE = TRUE;SET @MIGRATION_1637220570_IS_ACTIVE = TRUE;SET @MIGRATION_1647278706_IS_ACTIVE = TRUE;SET @MIGRATION_1619509381_IS_ACTIVE = TRUE;SET @MIGRATION_1621965121_IS_ACTIVE = TRUE;SET @MIGRATION_1623836611_IS_ACTIVE = TRUE;SET @MIGRATION_1646343492_IS_ACTIVE = TRUE;SET @MIGRATION_1648797761_IS_ACTIVE = TRUE;SET @MIGRATION_1648809896_IS_ACTIVE = TRUE;SET @MIGRATION_1634581560_IS_ACTIVE = TRUE;SET @MIGRATION_1610469647_IS_ACTIVE = TRUE;SET @MIGRATION_1662403300_IS_ACTIVE = TRUE;SET @MIGRATION_1662726618_IS_ACTIVE = TRUE;SET @MIGRATION_1673774593_IS_ACTIVE = TRUE;SET @MIGRATION_1684162444_IS_ACTIVE = TRUE;SET @MIGRATION_1626681713_IS_ACTIVE = TRUE;SET @MIGRATION_1626681713_IS_ACTIVE = TRUE;SET @MIGRATION_1598279129_IS_ACTIVE = TRUE;SET @MIGRATION_1645737265_IS_ACTIVE = TRUE;SET @MIGRATION_1680279431_IS_ACTIVE = TRUE
SET @@group_concat_max_len = CAST(IF(@@group_concat_max_len > 320000, @@group_concat_max_len, 320000) AS UNSIGNED);SET sql_mode=(SELECT REPLACE(@@sql_mode,'ONLY_FULL_GROUP_BY',''));SET @MIGRATION_1591683158_IS_ACTIVE = TRUE;SET @MIGRATION_1599112309_IS_ACTIVE = TRUE;SET @MIGRATION_1599134496_IS_ACTIVE = TRUE;SET @MIGRATION_1599463278_IS_ACTIVE = TRUE;SET @MIGRATION_1599570560_IS_ACTIVE = TRUE;SET @MIGRATION_1599720163_IS_ACTIVE = TRUE;SET @MIGRATION_1599806584_IS_ACTIVE = TRUE;SET @MIGRATION_1599806595_IS_ACTIVE = TRUE;SET @MIGRATION_1599822061_IS_ACTIVE = TRUE;SET @MIGRATION_1600072779_IS_ACTIVE = TRUE;SET @MIGRATION_1600156989_IS_ACTIVE = TRUE;SET @MIGRATION_1600253602_IS_ACTIVE = TRUE;SET @MIGRATION_1600330846_IS_ACTIVE = TRUE;SET @MIGRATION_1600338271_IS_ACTIVE = TRUE;SET @MIGRATION_1600349343_IS_ACTIVE = TRUE;SET @MIGRATION_1600676671_IS_ACTIVE = TRUE;SET @MIGRATION_1600769357_IS_ACTIVE = TRUE;SET @MIGRATION_1600778848_IS_ACTIVE = TRUE;SET @MIGRATION_1601388975_IS_ACTIVE = TRUE;SET @MIGRATION_1601451838_IS_ACTIVE = TRUE;SET @MIGRATION_1601539530_IS_ACTIVE = TRUE;SET @MIGRATION_1601543829_IS_ACTIVE = TRUE;SET @MIGRATION_1601891339_IS_ACTIVE = TRUE;SET @MIGRATION_1602062376_IS_ACTIVE = TRUE;SET @MIGRATION_1602146868_IS_ACTIVE = TRUE;SET @MIGRATION_1602153572_IS_ACTIVE = TRUE;SET @MIGRATION_1602494493_IS_ACTIVE = TRUE;SET @MIGRATION_1602494495_IS_ACTIVE = TRUE;SET @MIGRATION_1602745374_IS_ACTIVE = TRUE;SET @MIGRATION_1602822727_IS_ACTIVE = TRUE;SET @MIGRATION_1603179023_IS_ACTIVE = TRUE;SET @MIGRATION_1603293043_IS_ACTIVE = TRUE;SET @MIGRATION_1603970276_IS_ACTIVE = TRUE;SET @MIGRATION_1604056363_IS_ACTIVE = TRUE;SET @MIGRATION_1604056421_IS_ACTIVE = TRUE;SET @MIGRATION_1604475913_IS_ACTIVE = TRUE;SET @MIGRATION_1604499476_IS_ACTIVE = TRUE;SET @MIGRATION_1604568928_IS_ACTIVE = TRUE;SET @MIGRATION_1604669773_IS_ACTIVE = TRUE;SET @MIGRATION_1605103533_IS_ACTIVE = TRUE;SET @MIGRATION_1605530777_IS_ACTIVE = TRUE;SET @MIGRATION_1605609309_IS_ACTIVE = TRUE;SET @MIGRATION_1605609477_IS_ACTIVE = TRUE;SET @MIGRATION_1605861407_IS_ACTIVE = TRUE;SET @MIGRATION_1606310257_IS_ACTIVE = TRUE;SET @MIGRATION_1607415095_IS_ACTIVE = TRUE;SET @MIGRATION_1607500561_IS_ACTIVE = TRUE;SET @MIGRATION_1607514878_IS_ACTIVE = TRUE;SET @MIGRATION_1607581275_IS_ACTIVE = TRUE;SET @MIGRATION_1607581276_IS_ACTIVE = TRUE;SET @MIGRATION_1608624028_IS_ACTIVE = TRUE;SET @MIGRATION_1609125144_IS_ACTIVE = TRUE;SET @MIGRATION_1609857999_IS_ACTIVE = TRUE;SET @MIGRATION_1610531188_IS_ACTIVE = TRUE;SET @MIGRATION_1610965670_IS_ACTIVE = TRUE;SET @MIGRATION_1610974673_IS_ACTIVE = TRUE;SET @MIGRATION_1611155140_IS_ACTIVE = TRUE;SET @MIGRATION_1614240671_IS_ACTIVE = TRUE;SET @MIGRATION_1604502151_IS_ACTIVE = TRUE;SET @MIGRATION_1594104496_IS_ACTIVE = TRUE;SET @MIGRATION_1604585230_IS_ACTIVE = TRUE;SET @MIGRATION_1609140710_IS_ACTIVE = TRUE;SET @MIGRATION_1610337444_IS_ACTIVE = TRUE;SET @MIGRATION_1610439375_IS_ACTIVE = TRUE;SET @MIGRATION_1610448012_IS_ACTIVE = TRUE;SET @MIGRATION_1610523204_IS_ACTIVE = TRUE;SET @MIGRATION_1610523548_IS_ACTIVE = TRUE;SET @MIGRATION_1610616655_IS_ACTIVE = TRUE;SET @MIGRATION_1610621999_IS_ACTIVE = TRUE;SET @MIGRATION_1610625925_IS_ACTIVE = TRUE;SET @MIGRATION_1610634383_IS_ACTIVE = TRUE;SET @MIGRATION_1610904608_IS_ACTIVE = TRUE;SET @MIGRATION_1611732852_IS_ACTIVE = TRUE;SET @MIGRATION_1611817467_IS_ACTIVE = TRUE;SET @MIGRATION_1612184092_IS_ACTIVE = TRUE;SET @MIGRATION_1612442685_IS_ACTIVE = TRUE;SET @MIGRATION_1612442686_IS_ACTIVE = TRUE;SET @MIGRATION_1612442786_IS_ACTIVE = TRUE;SET @MIGRATION_1612851765_IS_ACTIVE = TRUE;SET @MIGRATION_1612865237_IS_ACTIVE = TRUE;SET @MIGRATION_1612970642_IS_ACTIVE = TRUE;SET @MIGRATION_1612980753_IS_ACTIVE = TRUE;SET @MIGRATION_1613665555_IS_ACTIVE = TRUE;SET @MIGRATION_1614249488_IS_ACTIVE = TRUE;SET @MIGRATION_1614691876_IS_ACTIVE = TRUE;SET @MIGRATION_1614765170_IS_ACTIVE = TRUE;SET @MIGRATION_1614765785_IS_ACTIVE = TRUE;SET @MIGRATION_1615359964_IS_ACTIVE = TRUE;SET @MIGRATION_1615366708_IS_ACTIVE = TRUE;SET @MIGRATION_1615452749_IS_ACTIVE = TRUE;SET @MIGRATION_1615802866_IS_ACTIVE = TRUE;SET @MIGRATION_1615819992_IS_ACTIVE = TRUE;SET @MIGRATION_1616076922_IS_ACTIVE = TRUE;SET @MIGRATION_1616496610_IS_ACTIVE = TRUE;SET @MIGRATION_1616555956_IS_ACTIVE = TRUE;SET @MIGRATION_1617000878_IS_ACTIVE = TRUE;SET @MIGRATION_1617356092_IS_ACTIVE = TRUE;SET @MIGRATION_1617784658_IS_ACTIVE = TRUE;SET @MIGRATION_1617864895_IS_ACTIVE = TRUE;SET @MIGRATION_1617868381_IS_ACTIVE = TRUE;SET @MIGRATION_1617877887_IS_ACTIVE = TRUE;SET @MIGRATION_1617896006_IS_ACTIVE = TRUE;SET @MIGRATION_1617935350_IS_ACTIVE = TRUE;SET @MIGRATION_1617953690_IS_ACTIVE = TRUE;SET @MIGRATION_1617960456_IS_ACTIVE = TRUE;SET @MIGRATION_1617974402_IS_ACTIVE = TRUE;SET @MIGRATION_1618218491_IS_ACTIVE = TRUE;SET @MIGRATION_1618389817_IS_ACTIVE = TRUE;SET @MIGRATION_1618476427_IS_ACTIVE = TRUE;SET @MIGRATION_1618569201_IS_ACTIVE = TRUE;SET @MIGRATION_1618900427_IS_ACTIVE = TRUE;SET @MIGRATION_1618989442_IS_ACTIVE = TRUE;SET @MIGRATION_1619070236_IS_ACTIVE = TRUE;SET @MIGRATION_1619428555_IS_ACTIVE = TRUE;SET @MIGRATION_1619604605_IS_ACTIVE = TRUE;SET @MIGRATION_1619703075_IS_ACTIVE = TRUE;SET @MIGRATION_1620146632_IS_ACTIVE = TRUE;SET @MIGRATION_1620147234_IS_ACTIVE = TRUE;SET @MIGRATION_1620201616_IS_ACTIVE = TRUE;SET @MIGRATION_1620215586_IS_ACTIVE = TRUE;SET @MIGRATION_1620374229_IS_ACTIVE = TRUE;SET @MIGRATION_1620376945_IS_ACTIVE = TRUE;SET @MIGRATION_1620632460_IS_ACTIVE = TRUE;SET @MIGRATION_1620634856_IS_ACTIVE = TRUE;SET @MIGRATION_1620733405_IS_ACTIVE = TRUE;SET @MIGRATION_1620733405_IS_ACTIVE = TRUE;SET @MIGRATION_1620820321_IS_ACTIVE = TRUE;SET @MIGRATION_1621845357_IS_ACTIVE = TRUE;SET @MIGRATION_1621845370_IS_ACTIVE = TRUE;SET @MIGRATION_1622010069_IS_ACTIVE = TRUE;SET @MIGRATION_1622104463_IS_ACTIVE = TRUE;SET @MIGRATION_1622782058_IS_ACTIVE = TRUE;SET @MIGRATION_1623305620_IS_ACTIVE = TRUE;SET @MIGRATION_1623391399_IS_ACTIVE = TRUE;SET @MIGRATION_1623828962_IS_ACTIVE = TRUE;SET @MIGRATION_1624262862_IS_ACTIVE = TRUE;SET @MIGRATION_1624884801_IS_ACTIVE = TRUE;SET @MIGRATION_1624967118_IS_ACTIVE = TRUE;SET @MIGRATION_1625304609_IS_ACTIVE = TRUE;SET @MIGRATION_1625465756_IS_ACTIVE = TRUE;SET @MIGRATION_1625505190_IS_ACTIVE = TRUE;SET @MIGRATION_1625554302_IS_ACTIVE = TRUE;SET @MIGRATION_1625569667_IS_ACTIVE = TRUE;SET @MIGRATION_1625583596_IS_ACTIVE = TRUE;SET @MIGRATION_1625583619_IS_ACTIVE = TRUE;SET @MIGRATION_1625816310_IS_ACTIVE = TRUE;SET @MIGRATION_1625819412_IS_ACTIVE = TRUE;SET @MIGRATION_1625831469_IS_ACTIVE = TRUE;SET @MIGRATION_1626241110_IS_ACTIVE = TRUE;SET @MIGRATION_1626442868_IS_ACTIVE = TRUE;SET @MIGRATION_1626696809_IS_ACTIVE = TRUE;SET @MIGRATION_1626785125_IS_ACTIVE = TRUE;SET @MIGRATION_1627292049_IS_ACTIVE = TRUE;SET @MIGRATION_1627540693_IS_ACTIVE = TRUE;SET @MIGRATION_1627541488_IS_ACTIVE = TRUE;SET @MIGRATION_1627562945_IS_ACTIVE = TRUE;SET @MIGRATION_1627650101_IS_ACTIVE = TRUE;SET @MIGRATION_1627929168_IS_ACTIVE = TRUE;SET @MIGRATION_1627983652_IS_ACTIVE = TRUE;SET @MIGRATION_1628519513_IS_ACTIVE = TRUE;SET @MIGRATION_1628749113_IS_ACTIVE = TRUE;SET @MIGRATION_1629204538_IS_ACTIVE = TRUE;SET @MIGRATION_1629700169_IS_ACTIVE = TRUE;SET @MIGRATION_1629877210_IS_ACTIVE = TRUE;SET @MIGRATION_1630074081_IS_ACTIVE = TRUE;SET @MIGRATION_1630485317_IS_ACTIVE = TRUE;SET @MIGRATION_1631625055_IS_ACTIVE = TRUE;SET @MIGRATION_1631703921_IS_ACTIVE = TRUE;SET @MIGRATION_1631790054_IS_ACTIVE = TRUE;SET @MIGRATION_1631863869_IS_ACTIVE = TRUE;SET @MIGRATION_1632111590_IS_ACTIVE = TRUE;SET @MIGRATION_1632215760_IS_ACTIVE = TRUE;SET @MIGRATION_1632721037_IS_ACTIVE = TRUE;SET @MIGRATION_1633347511_IS_ACTIVE = TRUE;SET @MIGRATION_1633358879_IS_ACTIVE = TRUE;SET @MIGRATION_1633422057_IS_ACTIVE = TRUE;SET @MIGRATION_1634735841_IS_ACTIVE = TRUE;SET @MIGRATION_1635147952_IS_ACTIVE = TRUE;SET @MIGRATION_1635230747_IS_ACTIVE = TRUE;SET @MIGRATION_1635237551_IS_ACTIVE = TRUE;SET @MIGRATION_1635388654_IS_ACTIVE = TRUE;SET @MIGRATION_1635936029_IS_ACTIVE = TRUE;SET @MIGRATION_1636014089_IS_ACTIVE = TRUE;SET @MIGRATION_1636018970_IS_ACTIVE = TRUE;SET @MIGRATION_1636362839_IS_ACTIVE = TRUE;SET @MIGRATION_1636449347_IS_ACTIVE = TRUE;SET @MIGRATION_1636964297_IS_ACTIVE = TRUE;SET @MIGRATION_1636971615_IS_ACTIVE = TRUE;SET @MIGRATION_1638195971_IS_ACTIVE = TRUE;SET @MIGRATION_1638365464_IS_ACTIVE = TRUE;SET @MIGRATION_1638514913_IS_ACTIVE = TRUE;SET @MIGRATION_1638993987_IS_ACTIVE = TRUE;SET @MIGRATION_1639122665_IS_ACTIVE = TRUE;SET @MIGRATION_1639139581_IS_ACTIVE = TRUE;SET @MIGRATION_1639992771_IS_ACTIVE = TRUE;SET @MIGRATION_1641289204_IS_ACTIVE = TRUE;SET @MIGRATION_1642517958_IS_ACTIVE = TRUE;SET @MIGRATION_1642732351_IS_ACTIVE = TRUE;SET @MIGRATION_1642757286_IS_ACTIVE = TRUE;SET @MIGRATION_1643366069_IS_ACTIVE = TRUE;SET @MIGRATION_1643386819_IS_ACTIVE = TRUE;SET @MIGRATION_1643724178_IS_ACTIVE = TRUE;SET @MIGRATION_1643878976_IS_ACTIVE = TRUE;SET @MIGRATION_1643892702_IS_ACTIVE = TRUE;SET @MIGRATION_1645019769_IS_ACTIVE = TRUE;SET @MIGRATION_1645453538_IS_ACTIVE = TRUE;SET @MIGRATION_1646125417_IS_ACTIVE = TRUE;SET @MIGRATION_1646397836_IS_ACTIVE = TRUE;SET @MIGRATION_1646817331_IS_ACTIVE = TRUE;SET @MIGRATION_1647260673_IS_ACTIVE = TRUE;SET @MIGRATION_1647443222_IS_ACTIVE = TRUE;SET @MIGRATION_1647511158_IS_ACTIVE = TRUE;SET @MIGRATION_1648031611_IS_ACTIVE = TRUE;SET @MIGRATION_1648031636_IS_ACTIVE = TRUE;SET @MIGRATION_1648543185_IS_ACTIVE = TRUE;SET @MIGRATION_1648709176_IS_ACTIVE = TRUE;SET @MIGRATION_1648803451_IS_ACTIVE = TRUE;SET @MIGRATION_1649040981_IS_ACTIVE = TRUE;SET @MIGRATION_1649315608_IS_ACTIVE = TRUE;SET @MIGRATION_1649858046_IS_ACTIVE = TRUE;SET @MIGRATION_1650249241_IS_ACTIVE = TRUE;SET @MIGRATION_1650444800_IS_ACTIVE = TRUE;SET @MIGRATION_1650548599_IS_ACTIVE = TRUE;SET @MIGRATION_1650620993_IS_ACTIVE = TRUE;SET @MIGRATION_1650872291_IS_ACTIVE = TRUE;SET @MIGRATION_1650981517_IS_ACTIVE = TRUE;SET @MIGRATION_1651118773_IS_ACTIVE = TRUE;SET @MIGRATION_1652166447_IS_ACTIVE = TRUE;SET @MIGRATION_1652345915_IS_ACTIVE = TRUE;SET @MIGRATION_1652441129_IS_ACTIVE = TRUE;SET @MIGRATION_1652864153_IS_ACTIVE = TRUE;SET @MIGRATION_1653376989_IS_ACTIVE = TRUE;SET @MIGRATION_1653385302_IS_ACTIVE = TRUE;SET @MIGRATION_1654839361_IS_ACTIVE = TRUE;SET @MIGRATION_1654839361_IS_ACTIVE = TRUE;SET @MIGRATION_1654839361_IS_ACTIVE = TRUE;SET @MIGRATION_1655730949_IS_ACTIVE = TRUE;SET @MIGRATION_1656397126_IS_ACTIVE = TRUE;SET @MIGRATION_1656928097_IS_ACTIVE = TRUE;SET @MIGRATION_1657011337_IS_ACTIVE = TRUE;SET @MIGRATION_1657027979_IS_ACTIVE = TRUE;SET @MIGRATION_1657173907_IS_ACTIVE = TRUE;SET @MIGRATION_1658786605_IS_ACTIVE = TRUE;SET @MIGRATION_1659256999_IS_ACTIVE = TRUE;SET @MIGRATION_1659257296_IS_ACTIVE = TRUE;SET @MIGRATION_1659257396_IS_ACTIVE = TRUE;SET @MIGRATION_1659257496_IS_ACTIVE = TRUE;SET @MIGRATION_1660814397_IS_ACTIVE = TRUE;SET @MIGRATION_1661759290_IS_ACTIVE = TRUE;SET @MIGRATION_1661771388_IS_ACTIVE = TRUE;SET @MIGRATION_1663238480_IS_ACTIVE = TRUE;SET @MIGRATION_1664512574_IS_ACTIVE = TRUE;SET @MIGRATION_1664541794_IS_ACTIVE = TRUE;SET @MIGRATION_1664894872_IS_ACTIVE = TRUE;SET @MIGRATION_1665064823_IS_ACTIVE = TRUE;SET @MIGRATION_1665267882_IS_ACTIVE = TRUE;SET @MIGRATION_1667731399_IS_ACTIVE = TRUE;SET @MIGRATION_1667806582_IS_ACTIVE = TRUE;SET @MIGRATION_1667983492_IS_ACTIVE = TRUE;SET @MIGRATION_1668677456_IS_ACTIVE = TRUE;SET @MIGRATION_1669316067_IS_ACTIVE = TRUE;SET @MIGRATION_1672164687_IS_ACTIVE = TRUE;SET @MIGRATION_1672743034_IS_ACTIVE = TRUE;SET @MIGRATION_1673001912_IS_ACTIVE = TRUE;SET @MIGRATION_1673966228_IS_ACTIVE = TRUE;SET @MIGRATION_1632281097_IS_ACTIVE = TRUE;SET @MIGRATION_1636121186_IS_ACTIVE = TRUE;SET @MIGRATION_1660813696_IS_ACTIVE = TRUE;SET @MIGRATION_1641476963_IS_ACTIVE = TRUE;SET @MIGRATION_1632281097_IS_ACTIVE = TRUE;SET @MIGRATION_1636121186_IS_ACTIVE = TRUE;SET @MIGRATION_1660813696_IS_ACTIVE = TRUE;SET @MIGRATION_1604502151_IS_ACTIVE = TRUE;SET @MIGRATION_1610393320_IS_ACTIVE = TRUE;SET @MIGRATION_1609855802_IS_ACTIVE = TRUE;SET @MIGRATION_1610129085_IS_ACTIVE = TRUE;SET @MIGRATION_1615835852_IS_ACTIVE = TRUE;SET @MIGRATION_1624305496_IS_ACTIVE = TRUE;SET @MIGRATION_1624978582_IS_ACTIVE = TRUE;SET @MIGRATION_1625070602_IS_ACTIVE = TRUE;SET @MIGRATION_1625153073_IS_ACTIVE = TRUE;SET @MIGRATION_1626864021_IS_ACTIVE = TRUE;SET @MIGRATION_1627492364_IS_ACTIVE = TRUE;SET @MIGRATION_1633453069_IS_ACTIVE = TRUE;SET @MIGRATION_1633702544_IS_ACTIVE = TRUE;SET @MIGRATION_1647534649_IS_ACTIVE = TRUE;SET @MIGRATION_1666719360_IS_ACTIVE = TRUE;SET @MIGRATION_1666820585_IS_ACTIVE = TRUE;SET @MIGRATION_1670245355_IS_ACTIVE = TRUE;SET @MIGRATION_1671553325_IS_ACTIVE = TRUE;SET @MIGRATION_1671628584_IS_ACTIVE = TRUE;SET @MIGRATION_1678463158_IS_ACTIVE = TRUE;SET @MIGRATION_1681335462_IS_ACTIVE = TRUE;SET @MIGRATION_1692602662_IS_ACTIVE = TRUE;SET @MIGRATION_1692609464_IS_ACTIVE = TRUE;SET @MIGRATION_1617711735_IS_ACTIVE = TRUE;SET @MIGRATION_1629213173_IS_ACTIVE = TRUE;SET @MIGRATION_1669231644_IS_ACTIVE = TRUE;SET @MIGRATION_1670608447_IS_ACTIVE = TRUE;SET @MIGRATION_1674206768_IS_ACTIVE = TRUE;SET @MIGRATION_1623870288_IS_ACTIVE = TRUE;SET @MIGRATION_1619697959_IS_ACTIVE = TRUE;SET @MIGRATION_1637220570_IS_ACTIVE = TRUE;SET @MIGRATION_1647278706_IS_ACTIVE = TRUE;SET @MIGRATION_1619509381_IS_ACTIVE = TRUE;SET @MIGRATION_1621965121_IS_ACTIVE = TRUE;SET @MIGRATION_1623836611_IS_ACTIVE = TRUE;SET @MIGRATION_1646343492_IS_ACTIVE = TRUE;SET @MIGRATION_1648797761_IS_ACTIVE = TRUE;SET @MIGRATION_1648809896_IS_ACTIVE = TRUE;SET @MIGRATION_1634581560_IS_ACTIVE = TRUE;SET @MIGRATION_1610469647_IS_ACTIVE = TRUE;SET @MIGRATION_1662403300_IS_ACTIVE = TRUE;SET @MIGRATION_1662726618_IS_ACTIVE = TRUE;SET @MIGRATION_1673774593_IS_ACTIVE = TRUE;SET @MIGRATION_1684162444_IS_ACTIVE = TRUE;SET @MIGRATION_1626681713_IS_ACTIVE = TRUE;SET @MIGRATION_1626681713_IS_ACTIVE = TRUE;SET @MIGRATION_1598279129_IS_ACTIVE = TRUE;SET @MIGRATION_1645737265_IS_ACTIVE = TRUE;SET @MIGRATION_1680279431_IS_ACTIVE = TRUE;
array:7 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 398)"
2 => "Shopware\Core\Kernel::initializeDatabaseConnectionVariables (line 51)"
3 => "Bodymed\Webshop\Kernel::initializeDatabaseConnectionVariables (line 197)"
4 => "Shopware\Core\Kernel::boot (line 129)"
5 => "Shopware\Core\HttpKernel::doHandle (line 81)"
6 => "Shopware\Core\HttpKernel::handle (line 75)"
]
|
3 |
0.90 ms |
SELECT * FROM sales_channel_api_context WHERE (sales_channel_id = :salesChannelId) AND (token = :token) LIMIT 1
SELECT * FROM sales_channel_api_context WHERE (sales_channel_id = 0x620A2217F7474E619CB00AD39E804CCA) AND (token = 'FwsxT47353Zxmr7lp0KSfYcVNkg5VpYR') LIMIT 1;
array:24 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 165)"
3 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextPersister::load (line 77)"
4 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::Shopware\Core\System\SalesChannel\Context\{closure} (line 59)"
5 => "Shopware\Core\Profiling\Profiler::trace (line 111)"
6 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::get (line 45)"
7 => "Madco\Mykey\Core\System\SalesChannel\Context\SalesChannelContextService::get (line 30)"
8 => "Bodymed\Webshop\Core\System\SalesChannel\Context\SalesChannelContextService::get (line 105)"
9 => "Shopware\Core\Framework\Routing\SalesChannelRequestContextResolver::resolve (line 38)"
10 => "Shopware\Core\Framework\Routing\ContextResolverListener::resolveContext (line 118)"
11 => "Symfony\Component\EventDispatcher\Debug\WrappedListener::__invoke (line 230)"
12 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
13 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
14 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
15 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
16 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
17 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
18 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 151)"
19 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
20 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
21 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
22 => "Shopware\Core\HttpKernel::doHandle (line 81)"
23 => "Shopware\Core\HttpKernel::handle (line 75)"
]
|
4 |
1.12 ms |
SHOW COLUMNS FROM `cart` WHERE `Field` LIKE :column
SHOW COLUMNS FROM `cart` WHERE `Field` LIKE 'payload';
array:27 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 734)"
2 => "Doctrine\DBAL\Connection::fetchOne (line 52)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityDefinitionQueryHelper::columnExists (line 169)"
4 => "Shopware\Core\Checkout\Cart\CartPersister::payloadExists (line 52)"
5 => "Shopware\Core\Checkout\Cart\CartPersister::load (line 81)"
6 => "Shopware\Core\Checkout\Cart\CartRuleLoader::loadByToken (line 106)"
7 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::Shopware\Core\System\SalesChannel\Context\{closure} (line 59)"
8 => "Shopware\Core\Profiling\Profiler::trace (line 111)"
9 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::get (line 45)"
10 => "Madco\Mykey\Core\System\SalesChannel\Context\SalesChannelContextService::get (line 30)"
11 => "Bodymed\Webshop\Core\System\SalesChannel\Context\SalesChannelContextService::get (line 105)"
12 => "Shopware\Core\Framework\Routing\SalesChannelRequestContextResolver::resolve (line 38)"
13 => "Shopware\Core\Framework\Routing\ContextResolverListener::resolveContext (line 118)"
14 => "Symfony\Component\EventDispatcher\Debug\WrappedListener::__invoke (line 230)"
15 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
16 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
17 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
18 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
19 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
20 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
21 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 151)"
22 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
23 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
24 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
25 => "Shopware\Core\HttpKernel::doHandle (line 81)"
26 => "Shopware\Core\HttpKernel::handle (line 75)"
]
|
5 |
0.53 ms |
SELECT `cart`.`cart` as payload, `cart`.`rule_ids`, 0 as `compressed` FROM cart WHERE `token` = :token
SELECT `cart`.`cart` as payload, `cart`.`rule_ids`, 0 as `compressed` FROM cart WHERE `token` = 'FwsxT47353Zxmr7lp0KSfYcVNkg5VpYR';
array:25 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 684)"
2 => "Doctrine\DBAL\Connection::fetchAssociative (line 62)"
3 => "Shopware\Core\Checkout\Cart\CartPersister::load (line 81)"
4 => "Shopware\Core\Checkout\Cart\CartRuleLoader::loadByToken (line 106)"
5 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::Shopware\Core\System\SalesChannel\Context\{closure} (line 59)"
6 => "Shopware\Core\Profiling\Profiler::trace (line 111)"
7 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::get (line 45)"
8 => "Madco\Mykey\Core\System\SalesChannel\Context\SalesChannelContextService::get (line 30)"
9 => "Bodymed\Webshop\Core\System\SalesChannel\Context\SalesChannelContextService::get (line 105)"
10 => "Shopware\Core\Framework\Routing\SalesChannelRequestContextResolver::resolve (line 38)"
11 => "Shopware\Core\Framework\Routing\ContextResolverListener::resolveContext (line 118)"
12 => "Symfony\Component\EventDispatcher\Debug\WrappedListener::__invoke (line 230)"
13 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
14 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
15 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
16 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
17 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
18 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
19 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 151)"
20 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
21 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
22 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
23 => "Shopware\Core\HttpKernel::doHandle (line 81)"
24 => "Shopware\Core\HttpKernel::handle (line 75)"
]
|
6 |
1.37 ms |
SELECT `promotion`.`id` FROM `promotion` LEFT JOIN `promotion_sales_channel` `promotion.salesChannels` ON `promotion`.`id` = `promotion.salesChannels`.`promotion_id` WHERE ((`promotion`.`active` = :param_77aaec062ff946338aa1869622f1f98f AND `promotion.salesChannels`.`sales_channel_id` = :param_7db59084191344f1bf17a4ae70da1dd7 AND ((`promotion`.`valid_from` <=> :param_58c54ab2de5241b8ac094d7a4bb3a068 AND `promotion`.`valid_until` <=> :param_0401f3f29bc847da954a79fbae853763) OR (`promotion`.`valid_from` <=> :param_e9c08018932b4057a2b00cf9bb057998 AND (`promotion`.`valid_until` > :param_0313801da73342929d8f1b3ca0d892e3)) OR ((`promotion`.`valid_from` <= :param_9b01878d51f1466685b66bdc321e1d61) AND `promotion`.`valid_until` <=> :param_1997ceba9db0462e9c642181273e6c72) OR ((`promotion`.`valid_from` <= :param_bd56aa2c3bb84a8db38168faf4409942) AND (`promotion`.`valid_until` > :param_802797a88587450481402b64e0b7058d))) AND `promotion`.`use_codes` = :param_2cd96970b4c643f1a5f1395ee8f128dc)) 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-30 07:23:53')) OR ((`promotion`.`valid_from` <= '2024-11-30 07:23:53') AND `promotion`.`valid_until` <=> NULL) OR ((`promotion`.`valid_from` <= '2024-11-30 07:23:53') AND (`promotion`.`valid_until` > '2024-11-30 07:23:53'))) AND `promotion`.`use_codes` = 0)) GROUP BY `promotion`.`id` ORDER BY MAX(`promotion`.`priority`) DESC;
array:44 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 107)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntitySearcher::search (line 62)"
4 => "Shopware\Elasticsearch\Framework\DataAbstractionLayer\ElasticsearchEntitySearcher::search (line 132)"
5 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::searchIds (line 291)"
6 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::_search (line 110)"
7 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::Shopware\Core\Framework\DataAbstractionLayer\{closure} (line 59)"
8 => "Shopware\Core\Profiling\Profiler::trace (line 111)"
9 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::search (line 51)"
10 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepositoryForwardCompatibilityDecorator::search (line 44)"
11 => "Shopware\Core\Checkout\Promotion\Gateway\PromotionGateway::get (line 184)"
12 => "Shopware\Core\Checkout\Promotion\Cart\PromotionCollector::searchPromotionsAuto (line 110)"
13 => "Shopware\Core\Checkout\Promotion\Cart\PromotionCollector::Shopware\Core\Checkout\Promotion\Cart\{closure} (line 59)"
14 => "Shopware\Core\Profiling\Profiler::trace (line 161)"
15 => "Shopware\Core\Checkout\Promotion\Cart\PromotionCollector::collect (line 103)"
16 => "Shopware\Core\Checkout\Cart\Processor::runProcessors (line 67)"
17 => "Shopware\Core\Checkout\Cart\Processor::Shopware\Core\Checkout\Cart\{closure} (line 59)"
18 => "Shopware\Core\Profiling\Profiler::trace (line 86)"
19 => "Shopware\Core\Checkout\Cart\Processor::process (line 132)"
20 => "Shopware\Core\Checkout\Cart\CartRuleLoader::Shopware\Core\Checkout\Cart\{closure} (line 59)"
21 => "Shopware\Core\Profiling\Profiler::trace (line 183)"
22 => "Shopware\Core\Checkout\Cart\CartRuleLoader::load (line 88)"
23 => "Shopware\Core\Checkout\Cart\CartRuleLoader::loadByToken (line 106)"
24 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::Shopware\Core\System\SalesChannel\Context\{closure} (line 59)"
25 => "Shopware\Core\Profiling\Profiler::trace (line 111)"
26 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::get (line 45)"
27 => "Madco\Mykey\Core\System\SalesChannel\Context\SalesChannelContextService::get (line 30)"
28 => "Bodymed\Webshop\Core\System\SalesChannel\Context\SalesChannelContextService::get (line 105)"
29 => "Shopware\Core\Framework\Routing\SalesChannelRequestContextResolver::resolve (line 38)"
30 => "Shopware\Core\Framework\Routing\ContextResolverListener::resolveContext (line 118)"
31 => "Symfony\Component\EventDispatcher\Debug\WrappedListener::__invoke (line 230)"
32 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
33 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
34 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
35 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
36 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
37 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
38 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 151)"
39 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
40 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
41 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
42 => "Shopware\Core\HttpKernel::doHandle (line 81)"
43 => "Shopware\Core\HttpKernel::handle (line 75)"
]
|
7 |
3.18 ms |
SELECT `shipping_method`.`id` as `shipping_method.id`, `shipping_method`.`active` as `shipping_method.active`, `shipping_method`.`position` as `shipping_method.position`, `shipping_method`.`availability_rule_id` as `shipping_method.availabilityRuleId`, `shipping_method`.`media_id` as `shipping_method.mediaId`, `shipping_method`.`delivery_time_id` as `shipping_method.deliveryTimeId`, `shipping_method`.`tax_type` as `shipping_method.taxType`, `shipping_method`.`tax_id` as `shipping_method.taxId`, `shipping_method.deliveryTime`.`id` as `shipping_method.deliveryTime.id`, `shipping_method.deliveryTime`.`min` as `shipping_method.deliveryTime.min`, `shipping_method.deliveryTime`.`max` as `shipping_method.deliveryTime.max`, `shipping_method.deliveryTime`.`unit` as `shipping_method.deliveryTime.unit`, `shipping_method.deliveryTime`.`created_at` as `shipping_method.deliveryTime.createdAt`, `shipping_method.deliveryTime`.`updated_at` as `shipping_method.deliveryTime.updatedAt`, `shipping_method.deliveryTime.translation.name`, COALESCE(`shipping_method.deliveryTime.translation.name`,`shipping_method.deliveryTime.translation.name`) as `shipping_method.deliveryTime.name`, `shipping_method.deliveryTime.translation.customFields`, COALESCE(`shipping_method.deliveryTime.translation.customFields`,`shipping_method.deliveryTime.translation.customFields`) as `shipping_method.deliveryTime.customFields`, `shipping_method.deliveryTime.translation.createdAt`, `shipping_method.deliveryTime.translation.updatedAt`, `shipping_method.deliveryTime.translation.deliveryTimeId`, `shipping_method.deliveryTime.translation.languageId`, `shipping_method`.`created_at` as `shipping_method.createdAt`, `shipping_method`.`updated_at` as `shipping_method.updatedAt`, `shipping_method.tax`.`id` as `shipping_method.tax.id`, `shipping_method.tax`.`tax_rate` as `shipping_method.tax.taxRate`, `shipping_method.tax`.`name` as `shipping_method.tax.name`, `shipping_method.tax`.`position` as `shipping_method.tax.position`, `shipping_method.tax`.`custom_fields` as `shipping_method.tax.customFields`, `shipping_method.tax`.`created_at` as `shipping_method.tax.createdAt`, `shipping_method.tax`.`updated_at` as `shipping_method.tax.updatedAt`, `shipping_method.translation.name`, COALESCE(`shipping_method.translation.name`,`shipping_method.translation.name`) as `shipping_method.name`, `shipping_method.translation.description`, COALESCE(`shipping_method.translation.description`,`shipping_method.translation.description`) as `shipping_method.description`, `shipping_method.translation.trackingUrl`, COALESCE(`shipping_method.translation.trackingUrl`,`shipping_method.translation.trackingUrl`) as `shipping_method.trackingUrl`, `shipping_method.translation.customFields`, COALESCE(`shipping_method.translation.customFields`,`shipping_method.translation.customFields`) as `shipping_method.customFields`, `shipping_method.translation.createdAt`, `shipping_method.translation.updatedAt`, `shipping_method.translation.shippingMethodId`, `shipping_method.translation.languageId` FROM `shipping_method` LEFT JOIN (SELECT `shipping_method.translation`.shipping_method_id, `shipping_method.translation`.name as `shipping_method.translation.name`, `shipping_method.translation`.description as `shipping_method.translation.description`, `shipping_method.translation`.tracking_url as `shipping_method.translation.trackingUrl`, `shipping_method.translation`.custom_fields as `shipping_method.translation.customFields`, `shipping_method.translation`.created_at as `shipping_method.translation.createdAt`, `shipping_method.translation`.updated_at as `shipping_method.translation.updatedAt`, `shipping_method.translation`.shipping_method_id as `shipping_method.translation.shippingMethodId`, `shipping_method.translation`.language_id as `shipping_method.translation.languageId` FROM `shipping_method_translation` `shipping_method.translation` WHERE `shipping_method.translation`.language_id = :languageId) `shipping_method.shipping_method_translation` ON `shipping_method.shipping_method_translation`.`shipping_method_id` = `shipping_method`.`id` LEFT JOIN `delivery_time` `shipping_method.deliveryTime` ON `shipping_method`.`delivery_time_id` = `shipping_method.deliveryTime`.`id` LEFT JOIN `tax` `shipping_method.tax` ON `shipping_method`.`tax_id` = `shipping_method.tax`.`id` LEFT JOIN (SELECT `shipping_method.deliveryTime.translation`.delivery_time_id, `shipping_method.deliveryTime.translation`.name as `shipping_method.deliveryTime.translation.name`, `shipping_method.deliveryTime.translation`.custom_fields as `shipping_method.deliveryTime.translation.customFields`, `shipping_method.deliveryTime.translation`.created_at as `shipping_method.deliveryTime.translation.createdAt`, `shipping_method.deliveryTime.translation`.updated_at as `shipping_method.deliveryTime.translation.updatedAt`, `shipping_method.deliveryTime.translation`.delivery_time_id as `shipping_method.deliveryTime.translation.deliveryTimeId`, `shipping_method.deliveryTime.translation`.language_id as `shipping_method.deliveryTime.translation.languageId` FROM `delivery_time_translation` `shipping_method.deliveryTime.translation` WHERE `shipping_method.deliveryTime.translation`.language_id = :languageId) `shipping_method.deliveryTime.delivery_time_translation` ON `shipping_method.deliveryTime.delivery_time_translation`.`delivery_time_id` = `shipping_method.deliveryTime`.`id` WHERE `shipping_method`.`id` IN (:ids)
SELECT
`shipping_method`.`id` as `shipping_method.id`,
`shipping_method`.`active` as `shipping_method.active`,
`shipping_method`.`position` as `shipping_method.position`,
`shipping_method`.`availability_rule_id` as `shipping_method.availabilityRuleId`,
`shipping_method`.`media_id` as `shipping_method.mediaId`,
`shipping_method`.`delivery_time_id` as `shipping_method.deliveryTimeId`,
`shipping_method`.`tax_type` as `shipping_method.taxType`,
`shipping_method`.`tax_id` as `shipping_method.taxId`,
`shipping_method.deliveryTime`.`id` as `shipping_method.deliveryTime.id`,
`shipping_method.deliveryTime`.`min` as `shipping_method.deliveryTime.min`,
`shipping_method.deliveryTime`.`max` as `shipping_method.deliveryTime.max`,
`shipping_method.deliveryTime`.`unit` as `shipping_method.deliveryTime.unit`,
`shipping_method.deliveryTime`.`created_at` as `shipping_method.deliveryTime.createdAt`,
`shipping_method.deliveryTime`.`updated_at` as `shipping_method.deliveryTime.updatedAt`,
`shipping_method.deliveryTime.translation.name`,
COALESCE(
`shipping_method.deliveryTime.translation.name`,
`shipping_method.deliveryTime.translation.name`
) as `shipping_method.deliveryTime.name`,
`shipping_method.deliveryTime.translation.customFields`,
COALESCE(
`shipping_method.deliveryTime.translation.customFields`,
`shipping_method.deliveryTime.translation.customFields`
) as `shipping_method.deliveryTime.customFields`,
`shipping_method.deliveryTime.translation.createdAt`,
`shipping_method.deliveryTime.translation.updatedAt`,
`shipping_method.deliveryTime.translation.deliveryTimeId`,
`shipping_method.deliveryTime.translation.languageId`,
`shipping_method`.`created_at` as `shipping_method.createdAt`,
`shipping_method`.`updated_at` as `shipping_method.updatedAt`,
`shipping_method.tax`.`id` as `shipping_method.tax.id`,
`shipping_method.tax`.`tax_rate` as `shipping_method.tax.taxRate`,
`shipping_method.tax`.`name` as `shipping_method.tax.name`,
`shipping_method.tax`.`position` as `shipping_method.tax.position`,
`shipping_method.tax`.`custom_fields` as `shipping_method.tax.customFields`,
`shipping_method.tax`.`created_at` as `shipping_method.tax.createdAt`,
`shipping_method.tax`.`updated_at` as `shipping_method.tax.updatedAt`,
`shipping_method.translation.name`,
COALESCE(
`shipping_method.translation.name`,
`shipping_method.translation.name`
) as `shipping_method.name`,
`shipping_method.translation.description`,
COALESCE(
`shipping_method.translation.description`,
`shipping_method.translation.description`
) as `shipping_method.description`,
`shipping_method.translation.trackingUrl`,
COALESCE(
`shipping_method.translation.trackingUrl`,
`shipping_method.translation.trackingUrl`
) as `shipping_method.trackingUrl`,
`shipping_method.translation.customFields`,
COALESCE(
`shipping_method.translation.customFields`,
`shipping_method.translation.customFields`
) as `shipping_method.customFields`,
`shipping_method.translation.createdAt`,
`shipping_method.translation.updatedAt`,
`shipping_method.translation.shippingMethodId`,
`shipping_method.translation.languageId`
FROM
`shipping_method`
LEFT JOIN (
SELECT
`shipping_method.translation`.shipping_method_id,
`shipping_method.translation`.name as `shipping_method.translation.name`,
`shipping_method.translation`.description as `shipping_method.translation.description`,
`shipping_method.translation`.tracking_url as `shipping_method.translation.trackingUrl`,
`shipping_method.translation`.custom_fields as `shipping_method.translation.customFields`,
`shipping_method.translation`.created_at as `shipping_method.translation.createdAt`,
`shipping_method.translation`.updated_at as `shipping_method.translation.updatedAt`,
`shipping_method.translation`.shipping_method_id as `shipping_method.translation.shippingMethodId`,
`shipping_method.translation`.language_id as `shipping_method.translation.languageId`
FROM
`shipping_method_translation` `shipping_method.translation`
WHERE
`shipping_method.translation`.language_id = : languageId
) `shipping_method.shipping_method_translation` ON `shipping_method.shipping_method_translation`.`shipping_method_id` = `shipping_method`.`id`
LEFT JOIN `delivery_time` `shipping_method.deliveryTime` ON `shipping_method`.`delivery_time_id` = `shipping_method.deliveryTime`.`id`
LEFT JOIN `tax` `shipping_method.tax` ON `shipping_method`.`tax_id` = `shipping_method.tax`.`id`
LEFT JOIN (
SELECT
`shipping_method.deliveryTime.translation`.delivery_time_id,
`shipping_method.deliveryTime.translation`.name as `shipping_method.deliveryTime.translation.name`,
`shipping_method.deliveryTime.translation`.custom_fields as `shipping_method.deliveryTime.translation.customFields`,
`shipping_method.deliveryTime.translation`.created_at as `shipping_method.deliveryTime.translation.createdAt`,
`shipping_method.deliveryTime.translation`.updated_at as `shipping_method.deliveryTime.translation.updatedAt`,
`shipping_method.deliveryTime.translation`.delivery_time_id as `shipping_method.deliveryTime.translation.deliveryTimeId`,
`shipping_method.deliveryTime.translation`.language_id as `shipping_method.deliveryTime.translation.languageId`
FROM
`delivery_time_translation` `shipping_method.deliveryTime.translation`
WHERE
`shipping_method.deliveryTime.translation`.language_id = : languageId
) `shipping_method.deliveryTime.delivery_time_translation` ON `shipping_method.deliveryTime.delivery_time_translation`.`delivery_time_id` = `shipping_method.deliveryTime`.`id`
WHERE
`shipping_method`.`id` IN (: ids)
SELECT `shipping_method`.`id` as `shipping_method.id`, `shipping_method`.`active` as `shipping_method.active`, `shipping_method`.`position` as `shipping_method.position`, `shipping_method`.`availability_rule_id` as `shipping_method.availabilityRuleId`, `shipping_method`.`media_id` as `shipping_method.mediaId`, `shipping_method`.`delivery_time_id` as `shipping_method.deliveryTimeId`, `shipping_method`.`tax_type` as `shipping_method.taxType`, `shipping_method`.`tax_id` as `shipping_method.taxId`, `shipping_method.deliveryTime`.`id` as `shipping_method.deliveryTime.id`, `shipping_method.deliveryTime`.`min` as `shipping_method.deliveryTime.min`, `shipping_method.deliveryTime`.`max` as `shipping_method.deliveryTime.max`, `shipping_method.deliveryTime`.`unit` as `shipping_method.deliveryTime.unit`, `shipping_method.deliveryTime`.`created_at` as `shipping_method.deliveryTime.createdAt`, `shipping_method.deliveryTime`.`updated_at` as `shipping_method.deliveryTime.updatedAt`, `shipping_method.deliveryTime.translation.name`, COALESCE(`shipping_method.deliveryTime.translation.name`,`shipping_method.deliveryTime.translation.name`) as `shipping_method.deliveryTime.name`, `shipping_method.deliveryTime.translation.customFields`, COALESCE(`shipping_method.deliveryTime.translation.customFields`,`shipping_method.deliveryTime.translation.customFields`) as `shipping_method.deliveryTime.customFields`, `shipping_method.deliveryTime.translation.createdAt`, `shipping_method.deliveryTime.translation.updatedAt`, `shipping_method.deliveryTime.translation.deliveryTimeId`, `shipping_method.deliveryTime.translation.languageId`, `shipping_method`.`created_at` as `shipping_method.createdAt`, `shipping_method`.`updated_at` as `shipping_method.updatedAt`, `shipping_method.tax`.`id` as `shipping_method.tax.id`, `shipping_method.tax`.`tax_rate` as `shipping_method.tax.taxRate`, `shipping_method.tax`.`name` as `shipping_method.tax.name`, `shipping_method.tax`.`position` as `shipping_method.tax.position`, `shipping_method.tax`.`custom_fields` as `shipping_method.tax.customFields`, `shipping_method.tax`.`created_at` as `shipping_method.tax.createdAt`, `shipping_method.tax`.`updated_at` as `shipping_method.tax.updatedAt`, `shipping_method.translation.name`, COALESCE(`shipping_method.translation.name`,`shipping_method.translation.name`) as `shipping_method.name`, `shipping_method.translation.description`, COALESCE(`shipping_method.translation.description`,`shipping_method.translation.description`) as `shipping_method.description`, `shipping_method.translation.trackingUrl`, COALESCE(`shipping_method.translation.trackingUrl`,`shipping_method.translation.trackingUrl`) as `shipping_method.trackingUrl`, `shipping_method.translation.customFields`, COALESCE(`shipping_method.translation.customFields`,`shipping_method.translation.customFields`) as `shipping_method.customFields`, `shipping_method.translation.createdAt`, `shipping_method.translation.updatedAt`, `shipping_method.translation.shippingMethodId`, `shipping_method.translation.languageId` FROM `shipping_method` LEFT JOIN (SELECT `shipping_method.translation`.shipping_method_id, `shipping_method.translation`.name as `shipping_method.translation.name`, `shipping_method.translation`.description as `shipping_method.translation.description`, `shipping_method.translation`.tracking_url as `shipping_method.translation.trackingUrl`, `shipping_method.translation`.custom_fields as `shipping_method.translation.customFields`, `shipping_method.translation`.created_at as `shipping_method.translation.createdAt`, `shipping_method.translation`.updated_at as `shipping_method.translation.updatedAt`, `shipping_method.translation`.shipping_method_id as `shipping_method.translation.shippingMethodId`, `shipping_method.translation`.language_id as `shipping_method.translation.languageId` FROM `shipping_method_translation` `shipping_method.translation` WHERE `shipping_method.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `shipping_method.shipping_method_translation` ON `shipping_method.shipping_method_translation`.`shipping_method_id` = `shipping_method`.`id` LEFT JOIN `delivery_time` `shipping_method.deliveryTime` ON `shipping_method`.`delivery_time_id` = `shipping_method.deliveryTime`.`id` LEFT JOIN `tax` `shipping_method.tax` ON `shipping_method`.`tax_id` = `shipping_method.tax`.`id` LEFT JOIN (SELECT `shipping_method.deliveryTime.translation`.delivery_time_id, `shipping_method.deliveryTime.translation`.name as `shipping_method.deliveryTime.translation.name`, `shipping_method.deliveryTime.translation`.custom_fields as `shipping_method.deliveryTime.translation.customFields`, `shipping_method.deliveryTime.translation`.created_at as `shipping_method.deliveryTime.translation.createdAt`, `shipping_method.deliveryTime.translation`.updated_at as `shipping_method.deliveryTime.translation.updatedAt`, `shipping_method.deliveryTime.translation`.delivery_time_id as `shipping_method.deliveryTime.translation.deliveryTimeId`, `shipping_method.deliveryTime.translation`.language_id as `shipping_method.deliveryTime.translation.languageId` FROM `delivery_time_translation` `shipping_method.deliveryTime.translation` WHERE `shipping_method.deliveryTime.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `shipping_method.deliveryTime.delivery_time_translation` ON `shipping_method.deliveryTime.delivery_time_translation`.`delivery_time_id` = `shipping_method.deliveryTime`.`id` WHERE `shipping_method`.`id` IN (0xD82AA3FF103C4BB9BF767570979A537E);
array:43 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 316)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetch (line 148)"
4 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 93)"
5 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::read (line 257)"
6 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::read (line 286)"
7 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::_search (line 110)"
8 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::Shopware\Core\Framework\DataAbstractionLayer\{closure} (line 59)"
9 => "Shopware\Core\Profiling\Profiler::trace (line 111)"
10 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::search (line 51)"
11 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepositoryForwardCompatibilityDecorator::search (line 86)"
12 => "Shopware\Core\Checkout\Cart\Delivery\DeliveryProcessor::Shopware\Core\Checkout\Cart\Delivery\{closure} (line 59)"
13 => "Shopware\Core\Profiling\Profiler::trace (line 97)"
14 => "Shopware\Core\Checkout\Cart\Delivery\DeliveryProcessor::collect (line 103)"
15 => "Shopware\Core\Checkout\Cart\Processor::runProcessors (line 67)"
16 => "Shopware\Core\Checkout\Cart\Processor::Shopware\Core\Checkout\Cart\{closure} (line 59)"
17 => "Shopware\Core\Profiling\Profiler::trace (line 86)"
18 => "Shopware\Core\Checkout\Cart\Processor::process (line 132)"
19 => "Shopware\Core\Checkout\Cart\CartRuleLoader::Shopware\Core\Checkout\Cart\{closure} (line 59)"
20 => "Shopware\Core\Profiling\Profiler::trace (line 183)"
21 => "Shopware\Core\Checkout\Cart\CartRuleLoader::load (line 88)"
22 => "Shopware\Core\Checkout\Cart\CartRuleLoader::loadByToken (line 106)"
23 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::Shopware\Core\System\SalesChannel\Context\{closure} (line 59)"
24 => "Shopware\Core\Profiling\Profiler::trace (line 111)"
25 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::get (line 45)"
26 => "Madco\Mykey\Core\System\SalesChannel\Context\SalesChannelContextService::get (line 30)"
27 => "Bodymed\Webshop\Core\System\SalesChannel\Context\SalesChannelContextService::get (line 105)"
28 => "Shopware\Core\Framework\Routing\SalesChannelRequestContextResolver::resolve (line 38)"
29 => "Shopware\Core\Framework\Routing\ContextResolverListener::resolveContext (line 118)"
30 => "Symfony\Component\EventDispatcher\Debug\WrappedListener::__invoke (line 230)"
31 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
32 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
33 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
34 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
35 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
36 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
37 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 151)"
38 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
39 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
40 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
41 => "Shopware\Core\HttpKernel::doHandle (line 81)"
42 => "Shopware\Core\HttpKernel::handle (line 75)"
]
|
8 |
1.37 ms |
SELECT `shipping_method_price`.`id` as `shipping_method_price.id`, `shipping_method_price`.`shipping_method_id` as `shipping_method_price.shippingMethodId`, `shipping_method_price`.`rule_id` as `shipping_method_price.ruleId`, `shipping_method_price`.`calculation` as `shipping_method_price.calculation`, `shipping_method_price`.`calculation_rule_id` as `shipping_method_price.calculationRuleId`, `shipping_method_price`.`quantity_start` as `shipping_method_price.quantityStart`, `shipping_method_price`.`quantity_end` as `shipping_method_price.quantityEnd`, `shipping_method_price`.`currency_price` as `shipping_method_price.currencyPrice`, `shipping_method_price`.`custom_fields` as `shipping_method_price.customFields`, `shipping_method_price`.`created_at` as `shipping_method_price.createdAt`, `shipping_method_price`.`updated_at` as `shipping_method_price.updatedAt` FROM `shipping_method_price` WHERE (`shipping_method_price`.`shipping_method_id` IN (:param_b4a684e33e2841a0b9e9d90b935b8d5e))
SELECT `shipping_method_price`.`id` as `shipping_method_price.id`, `shipping_method_price`.`shipping_method_id` as `shipping_method_price.shippingMethodId`, `shipping_method_price`.`rule_id` as `shipping_method_price.ruleId`, `shipping_method_price`.`calculation` as `shipping_method_price.calculation`, `shipping_method_price`.`calculation_rule_id` as `shipping_method_price.calculationRuleId`, `shipping_method_price`.`quantity_start` as `shipping_method_price.quantityStart`, `shipping_method_price`.`quantity_end` as `shipping_method_price.quantityEnd`, `shipping_method_price`.`currency_price` as `shipping_method_price.currencyPrice`, `shipping_method_price`.`custom_fields` as `shipping_method_price.customFields`, `shipping_method_price`.`created_at` as `shipping_method_price.createdAt`, `shipping_method_price`.`updated_at` as `shipping_method_price.updatedAt` FROM `shipping_method_price` WHERE (`shipping_method_price`.`shipping_method_id` IN (0xD82AA3FF103C4BB9BF767570979A537E));
array:47 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 316)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetch (line 148)"
4 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 503)"
5 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::loadOneToManyWithoutPagination (line 438)"
6 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::loadOneToMany (line 1210)"
7 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetchAssociations (line 152)"
8 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 93)"
9 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::read (line 257)"
10 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::read (line 286)"
11 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::_search (line 110)"
12 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::Shopware\Core\Framework\DataAbstractionLayer\{closure} (line 59)"
13 => "Shopware\Core\Profiling\Profiler::trace (line 111)"
14 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::search (line 51)"
15 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepositoryForwardCompatibilityDecorator::search (line 86)"
16 => "Shopware\Core\Checkout\Cart\Delivery\DeliveryProcessor::Shopware\Core\Checkout\Cart\Delivery\{closure} (line 59)"
17 => "Shopware\Core\Profiling\Profiler::trace (line 97)"
18 => "Shopware\Core\Checkout\Cart\Delivery\DeliveryProcessor::collect (line 103)"
19 => "Shopware\Core\Checkout\Cart\Processor::runProcessors (line 67)"
20 => "Shopware\Core\Checkout\Cart\Processor::Shopware\Core\Checkout\Cart\{closure} (line 59)"
21 => "Shopware\Core\Profiling\Profiler::trace (line 86)"
22 => "Shopware\Core\Checkout\Cart\Processor::process (line 132)"
23 => "Shopware\Core\Checkout\Cart\CartRuleLoader::Shopware\Core\Checkout\Cart\{closure} (line 59)"
24 => "Shopware\Core\Profiling\Profiler::trace (line 183)"
25 => "Shopware\Core\Checkout\Cart\CartRuleLoader::load (line 88)"
26 => "Shopware\Core\Checkout\Cart\CartRuleLoader::loadByToken (line 106)"
27 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::Shopware\Core\System\SalesChannel\Context\{closure} (line 59)"
28 => "Shopware\Core\Profiling\Profiler::trace (line 111)"
29 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::get (line 45)"
30 => "Madco\Mykey\Core\System\SalesChannel\Context\SalesChannelContextService::get (line 30)"
31 => "Bodymed\Webshop\Core\System\SalesChannel\Context\SalesChannelContextService::get (line 105)"
32 => "Shopware\Core\Framework\Routing\SalesChannelRequestContextResolver::resolve (line 38)"
33 => "Shopware\Core\Framework\Routing\ContextResolverListener::resolveContext (line 118)"
34 => "Symfony\Component\EventDispatcher\Debug\WrappedListener::__invoke (line 230)"
35 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
36 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
37 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
38 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
39 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
40 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
41 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 151)"
42 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
43 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
44 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
45 => "Shopware\Core\HttpKernel::doHandle (line 81)"
46 => "Shopware\Core\HttpKernel::handle (line 75)"
]
|
9 |
0.76 ms |
SELECT `tag`.`id` as `tag.id`, `tag`.`name` as `tag.name`, `tag`.`created_at` as `tag.createdAt`, `tag`.`updated_at` as `tag.updatedAt` FROM `tag` WHERE (`tag`.`name` LIKE :param_eb71fd136f0e4c6eb4d08a3b98f842b1)
SELECT `tag`.`id` as `tag.id`, `tag`.`name` as `tag.name`, `tag`.`created_at` as `tag.createdAt`, `tag`.`updated_at` as `tag.updatedAt` FROM `tag` WHERE (`tag`.`name` LIKE '%global\\_deutsche\\_umst\\_19%');
array:39 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 316)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetch (line 148)"
4 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 93)"
5 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::read (line 257)"
6 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::read (line 286)"
7 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::_search (line 106)"
8 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::search (line 51)"
9 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepositoryForwardCompatibilityDecorator::search (line 39)"
10 => "MadFrontendGermanTaxTag\Core\Checkout\MadGermanTaxProcessor::process (line 114)"
11 => "Shopware\Core\Checkout\Cart\Processor::runProcessors (line 67)"
12 => "Shopware\Core\Checkout\Cart\Processor::Shopware\Core\Checkout\Cart\{closure} (line 59)"
13 => "Shopware\Core\Profiling\Profiler::trace (line 86)"
14 => "Shopware\Core\Checkout\Cart\Processor::process (line 132)"
15 => "Shopware\Core\Checkout\Cart\CartRuleLoader::Shopware\Core\Checkout\Cart\{closure} (line 59)"
16 => "Shopware\Core\Profiling\Profiler::trace (line 183)"
17 => "Shopware\Core\Checkout\Cart\CartRuleLoader::load (line 88)"
18 => "Shopware\Core\Checkout\Cart\CartRuleLoader::loadByToken (line 106)"
19 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::Shopware\Core\System\SalesChannel\Context\{closure} (line 59)"
20 => "Shopware\Core\Profiling\Profiler::trace (line 111)"
21 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::get (line 45)"
22 => "Madco\Mykey\Core\System\SalesChannel\Context\SalesChannelContextService::get (line 30)"
23 => "Bodymed\Webshop\Core\System\SalesChannel\Context\SalesChannelContextService::get (line 105)"
24 => "Shopware\Core\Framework\Routing\SalesChannelRequestContextResolver::resolve (line 38)"
25 => "Shopware\Core\Framework\Routing\ContextResolverListener::resolveContext (line 118)"
26 => "Symfony\Component\EventDispatcher\Debug\WrappedListener::__invoke (line 230)"
27 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
28 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
29 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
30 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
31 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
32 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
33 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 151)"
34 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
35 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
36 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
37 => "Shopware\Core\HttpKernel::doHandle (line 81)"
38 => "Shopware\Core\HttpKernel::handle (line 75)"
]
|
10 |
0.76 ms |
SELECT `tax`.`id` as `tax.id`, `tax`.`tax_rate` as `tax.taxRate`, `tax`.`name` as `tax.name`, `tax`.`position` as `tax.position`, `tax`.`custom_fields` as `tax.customFields`, `tax`.`created_at` as `tax.createdAt`, `tax`.`updated_at` as `tax.updatedAt` FROM `tax` WHERE (`tax`.`name` LIKE :param_342ab3a405bc4cc18492deb8a0dac501)
SELECT `tax`.`id` as `tax.id`, `tax`.`tax_rate` as `tax.taxRate`, `tax`.`name` as `tax.name`, `tax`.`position` as `tax.position`, `tax`.`custom_fields` as `tax.customFields`, `tax`.`created_at` as `tax.createdAt`, `tax`.`updated_at` as `tax.updatedAt` FROM `tax` WHERE (`tax`.`name` LIKE '%Standard%');
array:39 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 316)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetch (line 148)"
4 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 93)"
5 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::read (line 257)"
6 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::read (line 286)"
7 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::_search (line 106)"
8 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::search (line 51)"
9 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepositoryForwardCompatibilityDecorator::search (line 48)"
10 => "MadFrontendGermanTaxTag\Core\Checkout\MadGermanTaxProcessor::process (line 114)"
11 => "Shopware\Core\Checkout\Cart\Processor::runProcessors (line 67)"
12 => "Shopware\Core\Checkout\Cart\Processor::Shopware\Core\Checkout\Cart\{closure} (line 59)"
13 => "Shopware\Core\Profiling\Profiler::trace (line 86)"
14 => "Shopware\Core\Checkout\Cart\Processor::process (line 132)"
15 => "Shopware\Core\Checkout\Cart\CartRuleLoader::Shopware\Core\Checkout\Cart\{closure} (line 59)"
16 => "Shopware\Core\Profiling\Profiler::trace (line 183)"
17 => "Shopware\Core\Checkout\Cart\CartRuleLoader::load (line 88)"
18 => "Shopware\Core\Checkout\Cart\CartRuleLoader::loadByToken (line 106)"
19 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::Shopware\Core\System\SalesChannel\Context\{closure} (line 59)"
20 => "Shopware\Core\Profiling\Profiler::trace (line 111)"
21 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::get (line 45)"
22 => "Madco\Mykey\Core\System\SalesChannel\Context\SalesChannelContextService::get (line 30)"
23 => "Bodymed\Webshop\Core\System\SalesChannel\Context\SalesChannelContextService::get (line 105)"
24 => "Shopware\Core\Framework\Routing\SalesChannelRequestContextResolver::resolve (line 38)"
25 => "Shopware\Core\Framework\Routing\ContextResolverListener::resolveContext (line 118)"
26 => "Symfony\Component\EventDispatcher\Debug\WrappedListener::__invoke (line 230)"
27 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
28 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
29 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
30 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
31 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
32 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
33 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 151)"
34 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
35 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
36 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
37 => "Shopware\Core\HttpKernel::doHandle (line 81)"
38 => "Shopware\Core\HttpKernel::handle (line 75)"
]
|
11 |
2.08 ms |
SELECT `swkweb_buy_x_pay_y_promotion`.`id` as `swkweb_buy_x_pay_y_promotion.id`, `swkweb_buy_x_pay_y_promotion`.`product_stream_id` as `swkweb_buy_x_pay_y_promotion.productStreamId`, `swkweb_buy_x_pay_y_promotion`.`rule_id` as `swkweb_buy_x_pay_y_promotion.ruleId`, `swkweb_buy_x_pay_y_promotion`.`x` as `swkweb_buy_x_pay_y_promotion.x`, `swkweb_buy_x_pay_y_promotion`.`y` as `swkweb_buy_x_pay_y_promotion.y`, `swkweb_buy_x_pay_y_promotion`.`minimum_quantity` as `swkweb_buy_x_pay_y_promotion.minimumQuantity`, `swkweb_buy_x_pay_y_promotion`.`priority` as `swkweb_buy_x_pay_y_promotion.priority`, `swkweb_buy_x_pay_y_promotion`.`cross_variant` as `swkweb_buy_x_pay_y_promotion.crossVariant`, `swkweb_buy_x_pay_y_promotion`.`active` as `swkweb_buy_x_pay_y_promotion.active`, `swkweb_buy_x_pay_y_promotion`.`created_at` as `swkweb_buy_x_pay_y_promotion.createdAt`, `swkweb_buy_x_pay_y_promotion`.`updated_at` as `swkweb_buy_x_pay_y_promotion.updatedAt`, `swkweb_buy_x_pay_y_promotion.translation.name`, COALESCE(`swkweb_buy_x_pay_y_promotion.translation.name`,`swkweb_buy_x_pay_y_promotion.translation.name`) as `swkweb_buy_x_pay_y_promotion.name`, `swkweb_buy_x_pay_y_promotion.translation.createdAt`, `swkweb_buy_x_pay_y_promotion.translation.updatedAt`, `swkweb_buy_x_pay_y_promotion.translation.swkwebBuyXPayYPromotionId`, `swkweb_buy_x_pay_y_promotion.translation.languageId` FROM `swkweb_buy_x_pay_y_promotion` LEFT JOIN (SELECT `swkweb_buy_x_pay_y_promotion.translation`.swkweb_buy_x_pay_y_promotion_id, `swkweb_buy_x_pay_y_promotion.translation`.name as `swkweb_buy_x_pay_y_promotion.translation.name`, `swkweb_buy_x_pay_y_promotion.translation`.created_at as `swkweb_buy_x_pay_y_promotion.translation.createdAt`, `swkweb_buy_x_pay_y_promotion.translation`.updated_at as `swkweb_buy_x_pay_y_promotion.translation.updatedAt`, `swkweb_buy_x_pay_y_promotion.translation`.swkweb_buy_x_pay_y_promotion_id as `swkweb_buy_x_pay_y_promotion.translation.swkwebBuyXPayYPromotionId`, `swkweb_buy_x_pay_y_promotion.translation`.language_id as `swkweb_buy_x_pay_y_promotion.translation.languageId` FROM `swkweb_buy_x_pay_y_promotion_translation` `swkweb_buy_x_pay_y_promotion.translation` WHERE `swkweb_buy_x_pay_y_promotion.translation`.language_id = :languageId) `swkweb_buy_x_pay_y_promotion.swkweb_buy_x_pay_y_promotion_translation` ON `swkweb_buy_x_pay_y_promotion.swkweb_buy_x_pay_y_promotion_translation`.`swkweb_buy_x_pay_y_promotion_id` = `swkweb_buy_x_pay_y_promotion`.`id` WHERE (`swkweb_buy_x_pay_y_promotion`.`active` = :param_d697d1471bb0459090bcfd579dbea3b4 AND (`swkweb_buy_x_pay_y_promotion`.`rule_id` <=> :param_051f8541379840b2953650ac04cb4d05 OR `swkweb_buy_x_pay_y_promotion`.`rule_id` IN (:param_dea0e1882f7b4cf8b0ba412228f31796)))
SELECT `swkweb_buy_x_pay_y_promotion`.`id` as `swkweb_buy_x_pay_y_promotion.id`, `swkweb_buy_x_pay_y_promotion`.`product_stream_id` as `swkweb_buy_x_pay_y_promotion.productStreamId`, `swkweb_buy_x_pay_y_promotion`.`rule_id` as `swkweb_buy_x_pay_y_promotion.ruleId`, `swkweb_buy_x_pay_y_promotion`.`x` as `swkweb_buy_x_pay_y_promotion.x`, `swkweb_buy_x_pay_y_promotion`.`y` as `swkweb_buy_x_pay_y_promotion.y`, `swkweb_buy_x_pay_y_promotion`.`minimum_quantity` as `swkweb_buy_x_pay_y_promotion.minimumQuantity`, `swkweb_buy_x_pay_y_promotion`.`priority` as `swkweb_buy_x_pay_y_promotion.priority`, `swkweb_buy_x_pay_y_promotion`.`cross_variant` as `swkweb_buy_x_pay_y_promotion.crossVariant`, `swkweb_buy_x_pay_y_promotion`.`active` as `swkweb_buy_x_pay_y_promotion.active`, `swkweb_buy_x_pay_y_promotion`.`created_at` as `swkweb_buy_x_pay_y_promotion.createdAt`, `swkweb_buy_x_pay_y_promotion`.`updated_at` as `swkweb_buy_x_pay_y_promotion.updatedAt`, `swkweb_buy_x_pay_y_promotion.translation.name`, COALESCE(`swkweb_buy_x_pay_y_promotion.translation.name`,`swkweb_buy_x_pay_y_promotion.translation.name`) as `swkweb_buy_x_pay_y_promotion.name`, `swkweb_buy_x_pay_y_promotion.translation.createdAt`, `swkweb_buy_x_pay_y_promotion.translation.updatedAt`, `swkweb_buy_x_pay_y_promotion.translation.swkwebBuyXPayYPromotionId`, `swkweb_buy_x_pay_y_promotion.translation.languageId` FROM `swkweb_buy_x_pay_y_promotion` LEFT JOIN (SELECT `swkweb_buy_x_pay_y_promotion.translation`.swkweb_buy_x_pay_y_promotion_id, `swkweb_buy_x_pay_y_promotion.translation`.name as `swkweb_buy_x_pay_y_promotion.translation.name`, `swkweb_buy_x_pay_y_promotion.translation`.created_at as `swkweb_buy_x_pay_y_promotion.translation.createdAt`, `swkweb_buy_x_pay_y_promotion.translation`.updated_at as `swkweb_buy_x_pay_y_promotion.translation.updatedAt`, `swkweb_buy_x_pay_y_promotion.translation`.swkweb_buy_x_pay_y_promotion_id as `swkweb_buy_x_pay_y_promotion.translation.swkwebBuyXPayYPromotionId`, `swkweb_buy_x_pay_y_promotion.translation`.language_id as `swkweb_buy_x_pay_y_promotion.translation.languageId` FROM `swkweb_buy_x_pay_y_promotion_translation` `swkweb_buy_x_pay_y_promotion.translation` WHERE `swkweb_buy_x_pay_y_promotion.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `swkweb_buy_x_pay_y_promotion.swkweb_buy_x_pay_y_promotion_translation` ON `swkweb_buy_x_pay_y_promotion.swkweb_buy_x_pay_y_promotion_translation`.`swkweb_buy_x_pay_y_promotion_id` = `swkweb_buy_x_pay_y_promotion`.`id` WHERE (`swkweb_buy_x_pay_y_promotion`.`active` = 1 AND (`swkweb_buy_x_pay_y_promotion`.`rule_id` <=> NULL OR `swkweb_buy_x_pay_y_promotion`.`rule_id` IN (0x943B33C8A0624956A790540F675F0C4D, 0x49E60033EEB14964AD30BBB2541A8832, 0x507D0ACF066F4AC8B4A5E137CC6A65D5, 0x624B5351CE6749F68E0173D176FC7D74, 0x6664EB03BA404188B1CEB44C86C2F4BB, 0x6DAC826A6256441C87C2FDB6081C4E3A, 0x9B26F23B3CDE4F7D9518D275C1A14D1F, 0xCBDCB4D7536C4737A1A8B85CC7A4A759, 0xFAA6D68A8D4142719A0B52CF8A4AEB70, 0xA3433694B8EB4972ACD1EEA8911AEC6C, 0x7422B170DEBE43F79CC50E494077221F, 0x98667D6530544F30B14D4DD3561A5F1E, 0x03F641D7F1FA4BC6BA5C7E389D3F75C8, 0x06C4B0A8D59A4314BCA170DDF184FBCC, 0x0CD00083676E4E698F13E56E7DED337E, 0x16A439B4DF044F0E99729504DA3F888B, 0x1BD29ADF87934E51BCBC2A63DF3E5CD7, 0x28AED31540A44BA9AD2D9A1AF4223A50, 0x2B94981FF4724EF48806C61EE5155398, 0x2C4435C3E416497EA27A4D5CF8272A70, 0x383DDA10AA384CBFB8085AE4B0E65523, 0x3F9839BB92EF4196B8807994C96EB9D8, 0x4A4261751E994558AE619EE452C5E734, 0x54CA109BE7B94338B399B13A5D9CA690, 0x58675DF5BEB24367AFB9B8143E10EFA5, 0x5A5CD63E479F4FEFAD4BEAB2D53DA35D, 0x5B69F678101F40C3BBB95AD64C44F6C1, 0x6DDE9727E9C74C4EABC2747E1D81FFF6, 0x789141ACBE5F488297986F908AAABD56, 0x7C9BB971165E472D84AF771316C63242, 0x888B2606F41C41E18E8E62EBD8019726, 0x92F7F88AE2474E9EB9892B37C32DD143, 0x940078F947D9455E8439B4D1C2182575, 0x9481264732284D45BEBE59FB9A5461D0, 0x9B261CFA21ED4A619E487555154A753D, 0x9F4E924D0400499AB8DD44F64D492315, 0xA097168AFD794223882E6B9A7781CA22, 0xA131ECD53AA948BD8B7A0DCD93E2BD64, 0xA61F4E68E3E64ACD8637963EE810F1E9, 0xA737BF970B684532AFE072CF78626D5A, 0xADBABF3ABB1F4814AF355A4E8E7608CB, 0xB2BA1639FA284F66BCB70AFE1E4FC809, 0xB2D13C589ED5471599D3F4AE44172EF5, 0xB4449920AE794758AB3917DF10AA6A55, 0xB4B5B1B73ADD4BC79F1ADF2058A6A07D, 0xBAD21BDBCE4245C9AEDC44EE4841483D, 0xC1D2152268454C9BBB192269BEDDF5B0, 0xC3D21140F4DF402C9BDF65AF4F7EAAAA, 0xC6C4E7EFA22349BA88101C2807529AAB, 0xC98A02691B6E4732BF0AF7340EB52810, 0xCBA25048F5B9450EAF1D33D082F435AB, 0xD397E3B6E772413380F184F80106357D, 0xDAF445C5E5004DDCAE9099F58A5E8D37, 0xE5A8E8AD9D224BED975D755B3C777384, 0xE9229D875BAA4252A041F5AD7D4D1E71, 0xED18BE03BEC042F6AC9F4854184021D1, 0xF23A14DD86DD448FA8108D81081BEA77, 0x2719F76C8EC24125BD739A27F4F44B0E, 0x44A78B87CDC844498AAE3C8A703CCAD0, 0x605E84F76B374BAB8CFCEC73E9218201, 0x609067ECE89D41C7A8933C62C6A2D1D8, 0x8D2A70D519C54E68A71344FEB472B96A, 0x91D10E654A254439925FD6129447F952, 0xBA542F4FF2854B9EB943CBB0473A8D59)));
array:41 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 316)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetch (line 148)"
4 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 93)"
5 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::read (line 257)"
6 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::read (line 286)"
7 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::_search (line 106)"
8 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::search (line 51)"
9 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepositoryForwardCompatibilityDecorator::search (line 78)"
10 => "Swkweb\BuyXPayY\Core\Checkout\BuyXPayYPromotion\SalesChannel\BuyXPayYPromotionGateway::fetchPromotions (line 50)"
11 => "Swkweb\BuyXPayY\Core\Checkout\BuyXPayYPromotion\SalesChannel\BuyXPayYPromotionGateway::getPromotions (line 49)"
12 => "Swkweb\BuyXPayY\Core\Checkout\BuyXPayYPromotion\Cart\BuyXPayYPromotionProcessor::process (line 114)"
13 => "Shopware\Core\Checkout\Cart\Processor::runProcessors (line 67)"
14 => "Shopware\Core\Checkout\Cart\Processor::Shopware\Core\Checkout\Cart\{closure} (line 59)"
15 => "Shopware\Core\Profiling\Profiler::trace (line 86)"
16 => "Shopware\Core\Checkout\Cart\Processor::process (line 132)"
17 => "Shopware\Core\Checkout\Cart\CartRuleLoader::Shopware\Core\Checkout\Cart\{closure} (line 59)"
18 => "Shopware\Core\Profiling\Profiler::trace (line 183)"
19 => "Shopware\Core\Checkout\Cart\CartRuleLoader::load (line 88)"
20 => "Shopware\Core\Checkout\Cart\CartRuleLoader::loadByToken (line 106)"
21 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::Shopware\Core\System\SalesChannel\Context\{closure} (line 59)"
22 => "Shopware\Core\Profiling\Profiler::trace (line 111)"
23 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::get (line 45)"
24 => "Madco\Mykey\Core\System\SalesChannel\Context\SalesChannelContextService::get (line 30)"
25 => "Bodymed\Webshop\Core\System\SalesChannel\Context\SalesChannelContextService::get (line 105)"
26 => "Shopware\Core\Framework\Routing\SalesChannelRequestContextResolver::resolve (line 38)"
27 => "Shopware\Core\Framework\Routing\ContextResolverListener::resolveContext (line 118)"
28 => "Symfony\Component\EventDispatcher\Debug\WrappedListener::__invoke (line 230)"
29 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
30 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
31 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
32 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
33 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
34 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
35 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 151)"
36 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
37 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
38 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
39 => "Shopware\Core\HttpKernel::doHandle (line 81)"
40 => "Shopware\Core\HttpKernel::handle (line 75)"
]
|
12 |
2.77 ms |
SELECT `app`.`id` as `app.id`, `app`.`name` as `app.name`, `app`.`path` as `app.path`, `app`.`author` as `app.author`, `app`.`copyright` as `app.copyright`, `app`.`license` as `app.license`, `app`.`active` as `app.active`, `app`.`configurable` as `app.configurable`, `app`.`privacy` as `app.privacy`, `app`.`version` as `app.version`, `app`.`icon` as `app.iconRaw`, `app`.`app_secret` as `app.appSecret`, `app`.`modules` as `app.modules`, `app`.`main_module` as `app.mainModule`, `app`.`cookies` as `app.cookies`, `app`.`allow_disable` as `app.allowDisable`, `app`.`base_app_url` as `app.baseAppUrl`, `app`.`allowed_hosts` as `app.allowedHosts`, `app`.`template_load_priority` as `app.templateLoadPriority`, `app`.`integration_id` as `app.integrationId`, `app.integration`.`id` as `app.integration.id`, `app.integration`.`label` as `app.integration.label`, `app.integration`.`access_key` as `app.integration.accessKey`, `app.integration`.`secret_access_key` as `app.integration.secretAccessKey`, `app.integration`.`write_access` as `app.integration.writeAccess`, `app.integration`.`last_usage_at` as `app.integration.lastUsageAt`, `app.integration`.`admin` as `app.integration.admin`, `app.integration`.`custom_fields` as `app.integration.customFields`, `app.integration`.`deleted_at` as `app.integration.deletedAt`, `app.integration`.`created_at` as `app.integration.createdAt`, `app.integration`.`updated_at` as `app.integration.updatedAt`, `app`.`acl_role_id` as `app.aclRoleId`, `app.aclRole`.`id` as `app.aclRole.id`, `app.aclRole`.`name` as `app.aclRole.name`, `app.aclRole`.`description` as `app.aclRole.description`, `app.aclRole`.`privileges` as `app.aclRole.privileges`, `app.aclRole`.`deleted_at` as `app.aclRole.deletedAt`, `app.aclRole`.`created_at` as `app.aclRole.createdAt`, `app.aclRole`.`updated_at` as `app.aclRole.updatedAt`, `app`.`created_at` as `app.createdAt`, `app`.`updated_at` as `app.updatedAt`, `app.translation.label`, COALESCE(`app.translation.label`,`app.translation.label`) as `app.label`, `app.translation.description`, COALESCE(`app.translation.description`,`app.translation.description`) as `app.description`, `app.translation.privacyPolicyExtensions`, COALESCE(`app.translation.privacyPolicyExtensions`,`app.translation.privacyPolicyExtensions`) as `app.privacyPolicyExtensions`, `app.translation.customFields`, COALESCE(`app.translation.customFields`,`app.translation.customFields`) as `app.customFields`, `app.translation.createdAt`, `app.translation.updatedAt`, `app.translation.appId`, `app.translation.languageId` FROM `app` LEFT JOIN (SELECT `app.translation`.app_id, `app.translation`.label as `app.translation.label`, `app.translation`.description as `app.translation.description`, `app.translation`.privacy_policy_extensions as `app.translation.privacyPolicyExtensions`, `app.translation`.custom_fields as `app.translation.customFields`, `app.translation`.created_at as `app.translation.createdAt`, `app.translation`.updated_at as `app.translation.updatedAt`, `app.translation`.app_id as `app.translation.appId`, `app.translation`.language_id as `app.translation.languageId` FROM `app_translation` `app.translation` WHERE `app.translation`.language_id = :languageId) `app.app_translation` ON `app.app_translation`.`app_id` = `app`.`id` LEFT JOIN `integration` `app.integration` ON `app`.`integration_id` = `app.integration`.`id` LEFT JOIN `acl_role` `app.aclRole` ON `app`.`acl_role_id` = `app.aclRole`.`id` WHERE (`app`.`active` = :param_e2ddf12ba290433a8154e27ce6320f42)
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_e2ddf12ba290433a8154e27ce6320f42
)
SELECT `app`.`id` as `app.id`, `app`.`name` as `app.name`, `app`.`path` as `app.path`, `app`.`author` as `app.author`, `app`.`copyright` as `app.copyright`, `app`.`license` as `app.license`, `app`.`active` as `app.active`, `app`.`configurable` as `app.configurable`, `app`.`privacy` as `app.privacy`, `app`.`version` as `app.version`, `app`.`icon` as `app.iconRaw`, `app`.`app_secret` as `app.appSecret`, `app`.`modules` as `app.modules`, `app`.`main_module` as `app.mainModule`, `app`.`cookies` as `app.cookies`, `app`.`allow_disable` as `app.allowDisable`, `app`.`base_app_url` as `app.baseAppUrl`, `app`.`allowed_hosts` as `app.allowedHosts`, `app`.`template_load_priority` as `app.templateLoadPriority`, `app`.`integration_id` as `app.integrationId`, `app.integration`.`id` as `app.integration.id`, `app.integration`.`label` as `app.integration.label`, `app.integration`.`access_key` as `app.integration.accessKey`, `app.integration`.`secret_access_key` as `app.integration.secretAccessKey`, `app.integration`.`write_access` as `app.integration.writeAccess`, `app.integration`.`last_usage_at` as `app.integration.lastUsageAt`, `app.integration`.`admin` as `app.integration.admin`, `app.integration`.`custom_fields` as `app.integration.customFields`, `app.integration`.`deleted_at` as `app.integration.deletedAt`, `app.integration`.`created_at` as `app.integration.createdAt`, `app.integration`.`updated_at` as `app.integration.updatedAt`, `app`.`acl_role_id` as `app.aclRoleId`, `app.aclRole`.`id` as `app.aclRole.id`, `app.aclRole`.`name` as `app.aclRole.name`, `app.aclRole`.`description` as `app.aclRole.description`, `app.aclRole`.`privileges` as `app.aclRole.privileges`, `app.aclRole`.`deleted_at` as `app.aclRole.deletedAt`, `app.aclRole`.`created_at` as `app.aclRole.createdAt`, `app.aclRole`.`updated_at` as `app.aclRole.updatedAt`, `app`.`created_at` as `app.createdAt`, `app`.`updated_at` as `app.updatedAt`, `app.translation.label`, COALESCE(`app.translation.label`,`app.translation.label`) as `app.label`, `app.translation.description`, COALESCE(`app.translation.description`,`app.translation.description`) as `app.description`, `app.translation.privacyPolicyExtensions`, COALESCE(`app.translation.privacyPolicyExtensions`,`app.translation.privacyPolicyExtensions`) as `app.privacyPolicyExtensions`, `app.translation.customFields`, COALESCE(`app.translation.customFields`,`app.translation.customFields`) as `app.customFields`, `app.translation.createdAt`, `app.translation.updatedAt`, `app.translation.appId`, `app.translation.languageId` FROM `app` LEFT JOIN (SELECT `app.translation`.app_id, `app.translation`.label as `app.translation.label`, `app.translation`.description as `app.translation.description`, `app.translation`.privacy_policy_extensions as `app.translation.privacyPolicyExtensions`, `app.translation`.custom_fields as `app.translation.customFields`, `app.translation`.created_at as `app.translation.createdAt`, `app.translation`.updated_at as `app.translation.updatedAt`, `app.translation`.app_id as `app.translation.appId`, `app.translation`.language_id as `app.translation.languageId` FROM `app_translation` `app.translation` WHERE `app.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `app.app_translation` ON `app.app_translation`.`app_id` = `app`.`id` LEFT JOIN `integration` `app.integration` ON `app`.`integration_id` = `app.integration`.`id` LEFT JOIN `acl_role` `app.aclRole` ON `app`.`acl_role_id` = `app.aclRole`.`id` WHERE (`app`.`active` = 1);
array:43 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 316)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetch (line 148)"
4 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 93)"
5 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::read (line 257)"
6 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::read (line 286)"
7 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::_search (line 110)"
8 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::Shopware\Core\Framework\DataAbstractionLayer\{closure} (line 59)"
9 => "Shopware\Core\Profiling\Profiler::trace (line 111)"
10 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::search (line 51)"
11 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepositoryForwardCompatibilityDecorator::search (line 119)"
12 => "Shopware\Core\Framework\App\Lifecycle\Persister\ScriptPersister::refresh (line 73)"
13 => "Shopware\Core\Framework\Script\Execution\ScriptLoader::load (line 57)"
14 => "Shopware\Core\Framework\Script\Execution\ScriptLoader::get (line 71)"
15 => "Shopware\Core\Framework\Script\Execution\ScriptExecutor::execute (line 70)"
16 => "Shopware\Core\Checkout\Cart\Processor::Shopware\Core\Checkout\Cart\{closure} (line 59)"
17 => "Shopware\Core\Profiling\Profiler::trace (line 86)"
18 => "Shopware\Core\Checkout\Cart\Processor::process (line 132)"
19 => "Shopware\Core\Checkout\Cart\CartRuleLoader::Shopware\Core\Checkout\Cart\{closure} (line 59)"
20 => "Shopware\Core\Profiling\Profiler::trace (line 183)"
21 => "Shopware\Core\Checkout\Cart\CartRuleLoader::load (line 88)"
22 => "Shopware\Core\Checkout\Cart\CartRuleLoader::loadByToken (line 106)"
23 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::Shopware\Core\System\SalesChannel\Context\{closure} (line 59)"
24 => "Shopware\Core\Profiling\Profiler::trace (line 111)"
25 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::get (line 45)"
26 => "Madco\Mykey\Core\System\SalesChannel\Context\SalesChannelContextService::get (line 30)"
27 => "Bodymed\Webshop\Core\System\SalesChannel\Context\SalesChannelContextService::get (line 105)"
28 => "Shopware\Core\Framework\Routing\SalesChannelRequestContextResolver::resolve (line 38)"
29 => "Shopware\Core\Framework\Routing\ContextResolverListener::resolveContext (line 118)"
30 => "Symfony\Component\EventDispatcher\Debug\WrappedListener::__invoke (line 230)"
31 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
32 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
33 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
34 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
35 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
36 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
37 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 151)"
38 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
39 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
40 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
41 => "Shopware\Core\HttpKernel::doHandle (line 81)"
42 => "Shopware\Core\HttpKernel::handle (line 75)"
]
|
13 |
1.18 ms |
SELECT LOWER(HEX(`script`.`app_id`)) as `app_id`,
`script`.`name` AS scriptName,
`script`.`script` AS script,
`script`.`hook` AS hook,
IFNULL(`script`.`updated_at`, `script`.`created_at`) AS lastModified,
`app`.`name` AS appName,
LOWER(HEX(`app`.`integration_id`)) AS integrationId,
`app`.`version` AS appVersion,
`script`.`active` AS active
FROM `script`
LEFT JOIN `app` ON `script`.`app_id` = `app`.`id`
WHERE `script`.`hook` != 'include'
ORDER BY `app`.`created_at`, `app`.`id`, `script`.`name`
SELECT LOWER(HEX(`script`.`app_id`)) as `app_id`,
`script`.`name` AS scriptName,
`script`.`script` AS script,
`script`.`hook` AS hook,
IFNULL(`script`.`updated_at`, `script`.`created_at`) AS lastModified,
`app`.`name` AS appName,
LOWER(HEX(`app`.`integration_id`)) AS integrationId,
`app`.`version` AS appVersion,
`script`.`active` AS active
FROM `script`
LEFT JOIN `app` ON `script`.`app_id` = `app`.`id`
WHERE `script`.`hook` != 'include'
ORDER BY `app`.`created_at`, `app`.`id`, `script`.`name`
;
array:33 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 1042)"
2 => "Doctrine\DBAL\Connection::fetchAllAssociative (line 76)"
3 => "Shopware\Core\Framework\Script\Execution\ScriptLoader::load (line 57)"
4 => "Shopware\Core\Framework\Script\Execution\ScriptLoader::get (line 71)"
5 => "Shopware\Core\Framework\Script\Execution\ScriptExecutor::execute (line 70)"
6 => "Shopware\Core\Checkout\Cart\Processor::Shopware\Core\Checkout\Cart\{closure} (line 59)"
7 => "Shopware\Core\Profiling\Profiler::trace (line 86)"
8 => "Shopware\Core\Checkout\Cart\Processor::process (line 132)"
9 => "Shopware\Core\Checkout\Cart\CartRuleLoader::Shopware\Core\Checkout\Cart\{closure} (line 59)"
10 => "Shopware\Core\Profiling\Profiler::trace (line 183)"
11 => "Shopware\Core\Checkout\Cart\CartRuleLoader::load (line 88)"
12 => "Shopware\Core\Checkout\Cart\CartRuleLoader::loadByToken (line 106)"
13 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::Shopware\Core\System\SalesChannel\Context\{closure} (line 59)"
14 => "Shopware\Core\Profiling\Profiler::trace (line 111)"
15 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::get (line 45)"
16 => "Madco\Mykey\Core\System\SalesChannel\Context\SalesChannelContextService::get (line 30)"
17 => "Bodymed\Webshop\Core\System\SalesChannel\Context\SalesChannelContextService::get (line 105)"
18 => "Shopware\Core\Framework\Routing\SalesChannelRequestContextResolver::resolve (line 38)"
19 => "Shopware\Core\Framework\Routing\ContextResolverListener::resolveContext (line 118)"
20 => "Symfony\Component\EventDispatcher\Debug\WrappedListener::__invoke (line 230)"
21 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
22 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
23 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
24 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
25 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
26 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
27 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 151)"
28 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
29 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
30 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
31 => "Shopware\Core\HttpKernel::doHandle (line 81)"
32 => "Shopware\Core\HttpKernel::handle (line 75)"
]
|
14 |
0.83 ms |
SELECT LOWER(HEX(`script`.`app_id`)) as `app_id`,
`script`.`name` AS name,
`script`.`script` AS script,
`app`.`name` AS appName,
LOWER(HEX(`app`.`integration_id`)) AS integrationId,
IFNULL(`script`.`updated_at`, `script`.`created_at`) AS lastModified
FROM `script`
LEFT JOIN `app` ON `script`.`app_id` = `app`.`id`
WHERE `script`.`hook` = 'include'
ORDER BY `app`.`created_at`, `app`.`id`, `script`.`name`
SELECT LOWER(HEX(`script`.`app_id`)) as `app_id`,
`script`.`name` AS name,
`script`.`script` AS script,
`app`.`name` AS appName,
LOWER(HEX(`app`.`integration_id`)) AS integrationId,
IFNULL(`script`.`updated_at`, `script`.`created_at`) AS lastModified
FROM `script`
LEFT JOIN `app` ON `script`.`app_id` = `app`.`id`
WHERE `script`.`hook` = 'include'
ORDER BY `app`.`created_at`, `app`.`id`, `script`.`name`
;
array:33 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 1042)"
2 => "Doctrine\DBAL\Connection::fetchAllAssociative (line 92)"
3 => "Shopware\Core\Framework\Script\Execution\ScriptLoader::load (line 57)"
4 => "Shopware\Core\Framework\Script\Execution\ScriptLoader::get (line 71)"
5 => "Shopware\Core\Framework\Script\Execution\ScriptExecutor::execute (line 70)"
6 => "Shopware\Core\Checkout\Cart\Processor::Shopware\Core\Checkout\Cart\{closure} (line 59)"
7 => "Shopware\Core\Profiling\Profiler::trace (line 86)"
8 => "Shopware\Core\Checkout\Cart\Processor::process (line 132)"
9 => "Shopware\Core\Checkout\Cart\CartRuleLoader::Shopware\Core\Checkout\Cart\{closure} (line 59)"
10 => "Shopware\Core\Profiling\Profiler::trace (line 183)"
11 => "Shopware\Core\Checkout\Cart\CartRuleLoader::load (line 88)"
12 => "Shopware\Core\Checkout\Cart\CartRuleLoader::loadByToken (line 106)"
13 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::Shopware\Core\System\SalesChannel\Context\{closure} (line 59)"
14 => "Shopware\Core\Profiling\Profiler::trace (line 111)"
15 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::get (line 45)"
16 => "Madco\Mykey\Core\System\SalesChannel\Context\SalesChannelContextService::get (line 30)"
17 => "Bodymed\Webshop\Core\System\SalesChannel\Context\SalesChannelContextService::get (line 105)"
18 => "Shopware\Core\Framework\Routing\SalesChannelRequestContextResolver::resolve (line 38)"
19 => "Shopware\Core\Framework\Routing\ContextResolverListener::resolveContext (line 118)"
20 => "Symfony\Component\EventDispatcher\Debug\WrappedListener::__invoke (line 230)"
21 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
22 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
23 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
24 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
25 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
26 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
27 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 151)"
28 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
29 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
30 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
31 => "Shopware\Core\HttpKernel::doHandle (line 81)"
32 => "Shopware\Core\HttpKernel::handle (line 75)"
]
|
15 |
1.01 ms |
SELECT `country`.`id` FROM `country` LEFT JOIN `sales_channel_country` `country.salesChannels.mapping` ON `country`.`id` = `country.salesChannels.mapping`.`country_id` LEFT JOIN `sales_channel` `country.salesChannels` ON `country.salesChannels.mapping`.`sales_channel_id` = `country.salesChannels`.`id` WHERE ((`country.salesChannels`.`id` = :param_9b053504ce8b427e87c791b0eb6cd7bb)) AND (`country`.`id` IN (:ids)) GROUP BY `country`.`id`
SELECT `country`.`id` FROM `country` LEFT JOIN `sales_channel_country` `country.salesChannels.mapping` ON `country`.`id` = `country.salesChannels.mapping`.`country_id` LEFT JOIN `sales_channel` `country.salesChannels` ON `country.salesChannels.mapping`.`sales_channel_id` = `country.salesChannels`.`id` WHERE ((`country.salesChannels`.`id` = 0x620A2217F7474E619CB00AD39E804CCA)) AND (`country`.`id` IN (0xE48353977FA643C0A8D0D7BC81E49C46)) GROUP BY `country`.`id`;
array:37 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 107)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntitySearcher::search (line 62)"
4 => "Shopware\Elasticsearch\Framework\DataAbstractionLayer\ElasticsearchEntitySearcher::search (line 132)"
5 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::searchIds (line 41)"
6 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepositoryForwardCompatibilityDecorator::searchIds (line 104)"
7 => "Shopware\Core\Checkout\Cart\Address\AddressValidator::isSalesChannelCountry (line 58)"
8 => "Shopware\Core\Checkout\Cart\Address\AddressValidator::validate (line 29)"
9 => "Shopware\Core\Checkout\Cart\Validator::validate (line 76)"
10 => "Shopware\Core\Checkout\Cart\Processor::Shopware\Core\Checkout\Cart\{closure} (line 59)"
11 => "Shopware\Core\Profiling\Profiler::trace (line 86)"
12 => "Shopware\Core\Checkout\Cart\Processor::process (line 132)"
13 => "Shopware\Core\Checkout\Cart\CartRuleLoader::Shopware\Core\Checkout\Cart\{closure} (line 59)"
14 => "Shopware\Core\Profiling\Profiler::trace (line 183)"
15 => "Shopware\Core\Checkout\Cart\CartRuleLoader::load (line 88)"
16 => "Shopware\Core\Checkout\Cart\CartRuleLoader::loadByToken (line 106)"
17 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::Shopware\Core\System\SalesChannel\Context\{closure} (line 59)"
18 => "Shopware\Core\Profiling\Profiler::trace (line 111)"
19 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::get (line 45)"
20 => "Madco\Mykey\Core\System\SalesChannel\Context\SalesChannelContextService::get (line 30)"
21 => "Bodymed\Webshop\Core\System\SalesChannel\Context\SalesChannelContextService::get (line 105)"
22 => "Shopware\Core\Framework\Routing\SalesChannelRequestContextResolver::resolve (line 38)"
23 => "Shopware\Core\Framework\Routing\ContextResolverListener::resolveContext (line 118)"
24 => "Symfony\Component\EventDispatcher\Debug\WrappedListener::__invoke (line 230)"
25 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
26 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
27 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
28 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
29 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
30 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
31 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 151)"
32 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
33 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
34 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
35 => "Shopware\Core\HttpKernel::doHandle (line 81)"
36 => "Shopware\Core\HttpKernel::handle (line 75)"
]
|
16 |
3.23 ms |
SELECT `tag`.`id` as `tag.id`, `tag`.`name` as `tag.name`, `tag`.`created_at` as `tag.createdAt`, `tag`.`updated_at` as `tag.updatedAt` FROM `tag` WHERE (`tag`.`name` LIKE :param_7a2656aa48ee48bd86f0f4e4afc4ca6f)
SELECT `tag`.`id` as `tag.id`, `tag`.`name` as `tag.name`, `tag`.`created_at` as `tag.createdAt`, `tag`.`updated_at` as `tag.updatedAt` FROM `tag` WHERE (`tag`.`name` LIKE '%global\\_deutsche\\_umst\\_19%');
array:39 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 316)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetch (line 148)"
4 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 93)"
5 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::read (line 257)"
6 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::read (line 286)"
7 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::_search (line 106)"
8 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::search (line 51)"
9 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepositoryForwardCompatibilityDecorator::search (line 39)"
10 => "MadFrontendGermanTaxTag\Core\Checkout\MadGermanTaxProcessor::process (line 114)"
11 => "Shopware\Core\Checkout\Cart\Processor::runProcessors (line 67)"
12 => "Shopware\Core\Checkout\Cart\Processor::Shopware\Core\Checkout\Cart\{closure} (line 59)"
13 => "Shopware\Core\Profiling\Profiler::trace (line 86)"
14 => "Shopware\Core\Checkout\Cart\Processor::process (line 148)"
15 => "Shopware\Core\Checkout\Cart\CartRuleLoader::Shopware\Core\Checkout\Cart\{closure} (line 59)"
16 => "Shopware\Core\Profiling\Profiler::trace (line 183)"
17 => "Shopware\Core\Checkout\Cart\CartRuleLoader::load (line 88)"
18 => "Shopware\Core\Checkout\Cart\CartRuleLoader::loadByToken (line 106)"
19 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::Shopware\Core\System\SalesChannel\Context\{closure} (line 59)"
20 => "Shopware\Core\Profiling\Profiler::trace (line 111)"
21 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::get (line 45)"
22 => "Madco\Mykey\Core\System\SalesChannel\Context\SalesChannelContextService::get (line 30)"
23 => "Bodymed\Webshop\Core\System\SalesChannel\Context\SalesChannelContextService::get (line 105)"
24 => "Shopware\Core\Framework\Routing\SalesChannelRequestContextResolver::resolve (line 38)"
25 => "Shopware\Core\Framework\Routing\ContextResolverListener::resolveContext (line 118)"
26 => "Symfony\Component\EventDispatcher\Debug\WrappedListener::__invoke (line 230)"
27 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
28 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
29 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
30 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
31 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
32 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
33 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 151)"
34 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
35 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
36 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
37 => "Shopware\Core\HttpKernel::doHandle (line 81)"
38 => "Shopware\Core\HttpKernel::handle (line 75)"
]
|
17 |
0.70 ms |
SELECT `tax`.`id` as `tax.id`, `tax`.`tax_rate` as `tax.taxRate`, `tax`.`name` as `tax.name`, `tax`.`position` as `tax.position`, `tax`.`custom_fields` as `tax.customFields`, `tax`.`created_at` as `tax.createdAt`, `tax`.`updated_at` as `tax.updatedAt` FROM `tax` WHERE (`tax`.`name` LIKE :param_018a6ef10b954f4b84be79f15b37b361)
SELECT `tax`.`id` as `tax.id`, `tax`.`tax_rate` as `tax.taxRate`, `tax`.`name` as `tax.name`, `tax`.`position` as `tax.position`, `tax`.`custom_fields` as `tax.customFields`, `tax`.`created_at` as `tax.createdAt`, `tax`.`updated_at` as `tax.updatedAt` FROM `tax` WHERE (`tax`.`name` LIKE '%Standard%');
array:39 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 316)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetch (line 148)"
4 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 93)"
5 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::read (line 257)"
6 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::read (line 286)"
7 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::_search (line 106)"
8 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::search (line 51)"
9 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepositoryForwardCompatibilityDecorator::search (line 48)"
10 => "MadFrontendGermanTaxTag\Core\Checkout\MadGermanTaxProcessor::process (line 114)"
11 => "Shopware\Core\Checkout\Cart\Processor::runProcessors (line 67)"
12 => "Shopware\Core\Checkout\Cart\Processor::Shopware\Core\Checkout\Cart\{closure} (line 59)"
13 => "Shopware\Core\Profiling\Profiler::trace (line 86)"
14 => "Shopware\Core\Checkout\Cart\Processor::process (line 148)"
15 => "Shopware\Core\Checkout\Cart\CartRuleLoader::Shopware\Core\Checkout\Cart\{closure} (line 59)"
16 => "Shopware\Core\Profiling\Profiler::trace (line 183)"
17 => "Shopware\Core\Checkout\Cart\CartRuleLoader::load (line 88)"
18 => "Shopware\Core\Checkout\Cart\CartRuleLoader::loadByToken (line 106)"
19 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::Shopware\Core\System\SalesChannel\Context\{closure} (line 59)"
20 => "Shopware\Core\Profiling\Profiler::trace (line 111)"
21 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::get (line 45)"
22 => "Madco\Mykey\Core\System\SalesChannel\Context\SalesChannelContextService::get (line 30)"
23 => "Bodymed\Webshop\Core\System\SalesChannel\Context\SalesChannelContextService::get (line 105)"
24 => "Shopware\Core\Framework\Routing\SalesChannelRequestContextResolver::resolve (line 38)"
25 => "Shopware\Core\Framework\Routing\ContextResolverListener::resolveContext (line 118)"
26 => "Symfony\Component\EventDispatcher\Debug\WrappedListener::__invoke (line 230)"
27 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
28 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
29 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
30 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
31 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
32 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
33 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 151)"
34 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
35 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
36 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
37 => "Shopware\Core\HttpKernel::doHandle (line 81)"
38 => "Shopware\Core\HttpKernel::handle (line 75)"
]
|
18 |
1.71 ms |
SELECT `swkweb_buy_x_pay_y_promotion`.`id` as `swkweb_buy_x_pay_y_promotion.id`, `swkweb_buy_x_pay_y_promotion`.`product_stream_id` as `swkweb_buy_x_pay_y_promotion.productStreamId`, `swkweb_buy_x_pay_y_promotion`.`rule_id` as `swkweb_buy_x_pay_y_promotion.ruleId`, `swkweb_buy_x_pay_y_promotion`.`x` as `swkweb_buy_x_pay_y_promotion.x`, `swkweb_buy_x_pay_y_promotion`.`y` as `swkweb_buy_x_pay_y_promotion.y`, `swkweb_buy_x_pay_y_promotion`.`minimum_quantity` as `swkweb_buy_x_pay_y_promotion.minimumQuantity`, `swkweb_buy_x_pay_y_promotion`.`priority` as `swkweb_buy_x_pay_y_promotion.priority`, `swkweb_buy_x_pay_y_promotion`.`cross_variant` as `swkweb_buy_x_pay_y_promotion.crossVariant`, `swkweb_buy_x_pay_y_promotion`.`active` as `swkweb_buy_x_pay_y_promotion.active`, `swkweb_buy_x_pay_y_promotion`.`created_at` as `swkweb_buy_x_pay_y_promotion.createdAt`, `swkweb_buy_x_pay_y_promotion`.`updated_at` as `swkweb_buy_x_pay_y_promotion.updatedAt`, `swkweb_buy_x_pay_y_promotion.translation.name`, COALESCE(`swkweb_buy_x_pay_y_promotion.translation.name`,`swkweb_buy_x_pay_y_promotion.translation.name`) as `swkweb_buy_x_pay_y_promotion.name`, `swkweb_buy_x_pay_y_promotion.translation.createdAt`, `swkweb_buy_x_pay_y_promotion.translation.updatedAt`, `swkweb_buy_x_pay_y_promotion.translation.swkwebBuyXPayYPromotionId`, `swkweb_buy_x_pay_y_promotion.translation.languageId` FROM `swkweb_buy_x_pay_y_promotion` LEFT JOIN (SELECT `swkweb_buy_x_pay_y_promotion.translation`.swkweb_buy_x_pay_y_promotion_id, `swkweb_buy_x_pay_y_promotion.translation`.name as `swkweb_buy_x_pay_y_promotion.translation.name`, `swkweb_buy_x_pay_y_promotion.translation`.created_at as `swkweb_buy_x_pay_y_promotion.translation.createdAt`, `swkweb_buy_x_pay_y_promotion.translation`.updated_at as `swkweb_buy_x_pay_y_promotion.translation.updatedAt`, `swkweb_buy_x_pay_y_promotion.translation`.swkweb_buy_x_pay_y_promotion_id as `swkweb_buy_x_pay_y_promotion.translation.swkwebBuyXPayYPromotionId`, `swkweb_buy_x_pay_y_promotion.translation`.language_id as `swkweb_buy_x_pay_y_promotion.translation.languageId` FROM `swkweb_buy_x_pay_y_promotion_translation` `swkweb_buy_x_pay_y_promotion.translation` WHERE `swkweb_buy_x_pay_y_promotion.translation`.language_id = :languageId) `swkweb_buy_x_pay_y_promotion.swkweb_buy_x_pay_y_promotion_translation` ON `swkweb_buy_x_pay_y_promotion.swkweb_buy_x_pay_y_promotion_translation`.`swkweb_buy_x_pay_y_promotion_id` = `swkweb_buy_x_pay_y_promotion`.`id` WHERE (`swkweb_buy_x_pay_y_promotion`.`active` = :param_7736c512cbda4788857b7ab8d09e3470 AND (`swkweb_buy_x_pay_y_promotion`.`rule_id` <=> :param_f68cedacbf874fe4b1b9e687478c8ad6 OR `swkweb_buy_x_pay_y_promotion`.`rule_id` IN (:param_fa840c1b9b49438ba7aeac903d01bef7)))
SELECT `swkweb_buy_x_pay_y_promotion`.`id` as `swkweb_buy_x_pay_y_promotion.id`, `swkweb_buy_x_pay_y_promotion`.`product_stream_id` as `swkweb_buy_x_pay_y_promotion.productStreamId`, `swkweb_buy_x_pay_y_promotion`.`rule_id` as `swkweb_buy_x_pay_y_promotion.ruleId`, `swkweb_buy_x_pay_y_promotion`.`x` as `swkweb_buy_x_pay_y_promotion.x`, `swkweb_buy_x_pay_y_promotion`.`y` as `swkweb_buy_x_pay_y_promotion.y`, `swkweb_buy_x_pay_y_promotion`.`minimum_quantity` as `swkweb_buy_x_pay_y_promotion.minimumQuantity`, `swkweb_buy_x_pay_y_promotion`.`priority` as `swkweb_buy_x_pay_y_promotion.priority`, `swkweb_buy_x_pay_y_promotion`.`cross_variant` as `swkweb_buy_x_pay_y_promotion.crossVariant`, `swkweb_buy_x_pay_y_promotion`.`active` as `swkweb_buy_x_pay_y_promotion.active`, `swkweb_buy_x_pay_y_promotion`.`created_at` as `swkweb_buy_x_pay_y_promotion.createdAt`, `swkweb_buy_x_pay_y_promotion`.`updated_at` as `swkweb_buy_x_pay_y_promotion.updatedAt`, `swkweb_buy_x_pay_y_promotion.translation.name`, COALESCE(`swkweb_buy_x_pay_y_promotion.translation.name`,`swkweb_buy_x_pay_y_promotion.translation.name`) as `swkweb_buy_x_pay_y_promotion.name`, `swkweb_buy_x_pay_y_promotion.translation.createdAt`, `swkweb_buy_x_pay_y_promotion.translation.updatedAt`, `swkweb_buy_x_pay_y_promotion.translation.swkwebBuyXPayYPromotionId`, `swkweb_buy_x_pay_y_promotion.translation.languageId` FROM `swkweb_buy_x_pay_y_promotion` LEFT JOIN (SELECT `swkweb_buy_x_pay_y_promotion.translation`.swkweb_buy_x_pay_y_promotion_id, `swkweb_buy_x_pay_y_promotion.translation`.name as `swkweb_buy_x_pay_y_promotion.translation.name`, `swkweb_buy_x_pay_y_promotion.translation`.created_at as `swkweb_buy_x_pay_y_promotion.translation.createdAt`, `swkweb_buy_x_pay_y_promotion.translation`.updated_at as `swkweb_buy_x_pay_y_promotion.translation.updatedAt`, `swkweb_buy_x_pay_y_promotion.translation`.swkweb_buy_x_pay_y_promotion_id as `swkweb_buy_x_pay_y_promotion.translation.swkwebBuyXPayYPromotionId`, `swkweb_buy_x_pay_y_promotion.translation`.language_id as `swkweb_buy_x_pay_y_promotion.translation.languageId` FROM `swkweb_buy_x_pay_y_promotion_translation` `swkweb_buy_x_pay_y_promotion.translation` WHERE `swkweb_buy_x_pay_y_promotion.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `swkweb_buy_x_pay_y_promotion.swkweb_buy_x_pay_y_promotion_translation` ON `swkweb_buy_x_pay_y_promotion.swkweb_buy_x_pay_y_promotion_translation`.`swkweb_buy_x_pay_y_promotion_id` = `swkweb_buy_x_pay_y_promotion`.`id` WHERE (`swkweb_buy_x_pay_y_promotion`.`active` = 1 AND (`swkweb_buy_x_pay_y_promotion`.`rule_id` <=> NULL OR `swkweb_buy_x_pay_y_promotion`.`rule_id` IN (0x49E60033EEB14964AD30BBB2541A8832, 0x507D0ACF066F4AC8B4A5E137CC6A65D5, 0x624B5351CE6749F68E0173D176FC7D74, 0x1BD29ADF87934E51BCBC2A63DF3E5CD7, 0x54CA109BE7B94338B399B13A5D9CA690, 0x5B69F678101F40C3BBB95AD64C44F6C1, 0x888B2606F41C41E18E8E62EBD8019726, 0xB4449920AE794758AB3917DF10AA6A55, 0xC3D21140F4DF402C9BDF65AF4F7EAAAA, 0x605E84F76B374BAB8CFCEC73E9218201, 0xBA542F4FF2854B9EB943CBB0473A8D59)));
array:41 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 316)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetch (line 148)"
4 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 93)"
5 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::read (line 257)"
6 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::read (line 286)"
7 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::_search (line 106)"
8 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::search (line 51)"
9 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepositoryForwardCompatibilityDecorator::search (line 78)"
10 => "Swkweb\BuyXPayY\Core\Checkout\BuyXPayYPromotion\SalesChannel\BuyXPayYPromotionGateway::fetchPromotions (line 50)"
11 => "Swkweb\BuyXPayY\Core\Checkout\BuyXPayYPromotion\SalesChannel\BuyXPayYPromotionGateway::getPromotions (line 49)"
12 => "Swkweb\BuyXPayY\Core\Checkout\BuyXPayYPromotion\Cart\BuyXPayYPromotionProcessor::process (line 114)"
13 => "Shopware\Core\Checkout\Cart\Processor::runProcessors (line 67)"
14 => "Shopware\Core\Checkout\Cart\Processor::Shopware\Core\Checkout\Cart\{closure} (line 59)"
15 => "Shopware\Core\Profiling\Profiler::trace (line 86)"
16 => "Shopware\Core\Checkout\Cart\Processor::process (line 148)"
17 => "Shopware\Core\Checkout\Cart\CartRuleLoader::Shopware\Core\Checkout\Cart\{closure} (line 59)"
18 => "Shopware\Core\Profiling\Profiler::trace (line 183)"
19 => "Shopware\Core\Checkout\Cart\CartRuleLoader::load (line 88)"
20 => "Shopware\Core\Checkout\Cart\CartRuleLoader::loadByToken (line 106)"
21 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::Shopware\Core\System\SalesChannel\Context\{closure} (line 59)"
22 => "Shopware\Core\Profiling\Profiler::trace (line 111)"
23 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::get (line 45)"
24 => "Madco\Mykey\Core\System\SalesChannel\Context\SalesChannelContextService::get (line 30)"
25 => "Bodymed\Webshop\Core\System\SalesChannel\Context\SalesChannelContextService::get (line 105)"
26 => "Shopware\Core\Framework\Routing\SalesChannelRequestContextResolver::resolve (line 38)"
27 => "Shopware\Core\Framework\Routing\ContextResolverListener::resolveContext (line 118)"
28 => "Symfony\Component\EventDispatcher\Debug\WrappedListener::__invoke (line 230)"
29 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
30 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
31 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
32 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
33 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
34 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
35 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 151)"
36 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
37 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
38 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
39 => "Shopware\Core\HttpKernel::doHandle (line 81)"
40 => "Shopware\Core\HttpKernel::handle (line 75)"
]
|
19 |
2.78 ms |
SELECT `app`.`id` as `app.id`, `app`.`name` as `app.name`, `app`.`path` as `app.path`, `app`.`author` as `app.author`, `app`.`copyright` as `app.copyright`, `app`.`license` as `app.license`, `app`.`active` as `app.active`, `app`.`configurable` as `app.configurable`, `app`.`privacy` as `app.privacy`, `app`.`version` as `app.version`, `app`.`icon` as `app.iconRaw`, `app`.`app_secret` as `app.appSecret`, `app`.`modules` as `app.modules`, `app`.`main_module` as `app.mainModule`, `app`.`cookies` as `app.cookies`, `app`.`allow_disable` as `app.allowDisable`, `app`.`base_app_url` as `app.baseAppUrl`, `app`.`allowed_hosts` as `app.allowedHosts`, `app`.`template_load_priority` as `app.templateLoadPriority`, `app`.`integration_id` as `app.integrationId`, `app.integration`.`id` as `app.integration.id`, `app.integration`.`label` as `app.integration.label`, `app.integration`.`access_key` as `app.integration.accessKey`, `app.integration`.`secret_access_key` as `app.integration.secretAccessKey`, `app.integration`.`write_access` as `app.integration.writeAccess`, `app.integration`.`last_usage_at` as `app.integration.lastUsageAt`, `app.integration`.`admin` as `app.integration.admin`, `app.integration`.`custom_fields` as `app.integration.customFields`, `app.integration`.`deleted_at` as `app.integration.deletedAt`, `app.integration`.`created_at` as `app.integration.createdAt`, `app.integration`.`updated_at` as `app.integration.updatedAt`, `app`.`acl_role_id` as `app.aclRoleId`, `app.aclRole`.`id` as `app.aclRole.id`, `app.aclRole`.`name` as `app.aclRole.name`, `app.aclRole`.`description` as `app.aclRole.description`, `app.aclRole`.`privileges` as `app.aclRole.privileges`, `app.aclRole`.`deleted_at` as `app.aclRole.deletedAt`, `app.aclRole`.`created_at` as `app.aclRole.createdAt`, `app.aclRole`.`updated_at` as `app.aclRole.updatedAt`, `app`.`created_at` as `app.createdAt`, `app`.`updated_at` as `app.updatedAt`, `app.translation.label`, COALESCE(`app.translation.label`,`app.translation.label`) as `app.label`, `app.translation.description`, COALESCE(`app.translation.description`,`app.translation.description`) as `app.description`, `app.translation.privacyPolicyExtensions`, COALESCE(`app.translation.privacyPolicyExtensions`,`app.translation.privacyPolicyExtensions`) as `app.privacyPolicyExtensions`, `app.translation.customFields`, COALESCE(`app.translation.customFields`,`app.translation.customFields`) as `app.customFields`, `app.translation.createdAt`, `app.translation.updatedAt`, `app.translation.appId`, `app.translation.languageId` FROM `app` LEFT JOIN (SELECT `app.translation`.app_id, `app.translation`.label as `app.translation.label`, `app.translation`.description as `app.translation.description`, `app.translation`.privacy_policy_extensions as `app.translation.privacyPolicyExtensions`, `app.translation`.custom_fields as `app.translation.customFields`, `app.translation`.created_at as `app.translation.createdAt`, `app.translation`.updated_at as `app.translation.updatedAt`, `app.translation`.app_id as `app.translation.appId`, `app.translation`.language_id as `app.translation.languageId` FROM `app_translation` `app.translation` WHERE `app.translation`.language_id = :languageId) `app.app_translation` ON `app.app_translation`.`app_id` = `app`.`id` LEFT JOIN `integration` `app.integration` ON `app`.`integration_id` = `app.integration`.`id` LEFT JOIN `acl_role` `app.aclRole` ON `app`.`acl_role_id` = `app.aclRole`.`id` WHERE (`app`.`active` = :param_1c3ae1458a90452c9de16c818455ff08)
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_1c3ae1458a90452c9de16c818455ff08
)
SELECT `app`.`id` as `app.id`, `app`.`name` as `app.name`, `app`.`path` as `app.path`, `app`.`author` as `app.author`, `app`.`copyright` as `app.copyright`, `app`.`license` as `app.license`, `app`.`active` as `app.active`, `app`.`configurable` as `app.configurable`, `app`.`privacy` as `app.privacy`, `app`.`version` as `app.version`, `app`.`icon` as `app.iconRaw`, `app`.`app_secret` as `app.appSecret`, `app`.`modules` as `app.modules`, `app`.`main_module` as `app.mainModule`, `app`.`cookies` as `app.cookies`, `app`.`allow_disable` as `app.allowDisable`, `app`.`base_app_url` as `app.baseAppUrl`, `app`.`allowed_hosts` as `app.allowedHosts`, `app`.`template_load_priority` as `app.templateLoadPriority`, `app`.`integration_id` as `app.integrationId`, `app.integration`.`id` as `app.integration.id`, `app.integration`.`label` as `app.integration.label`, `app.integration`.`access_key` as `app.integration.accessKey`, `app.integration`.`secret_access_key` as `app.integration.secretAccessKey`, `app.integration`.`write_access` as `app.integration.writeAccess`, `app.integration`.`last_usage_at` as `app.integration.lastUsageAt`, `app.integration`.`admin` as `app.integration.admin`, `app.integration`.`custom_fields` as `app.integration.customFields`, `app.integration`.`deleted_at` as `app.integration.deletedAt`, `app.integration`.`created_at` as `app.integration.createdAt`, `app.integration`.`updated_at` as `app.integration.updatedAt`, `app`.`acl_role_id` as `app.aclRoleId`, `app.aclRole`.`id` as `app.aclRole.id`, `app.aclRole`.`name` as `app.aclRole.name`, `app.aclRole`.`description` as `app.aclRole.description`, `app.aclRole`.`privileges` as `app.aclRole.privileges`, `app.aclRole`.`deleted_at` as `app.aclRole.deletedAt`, `app.aclRole`.`created_at` as `app.aclRole.createdAt`, `app.aclRole`.`updated_at` as `app.aclRole.updatedAt`, `app`.`created_at` as `app.createdAt`, `app`.`updated_at` as `app.updatedAt`, `app.translation.label`, COALESCE(`app.translation.label`,`app.translation.label`) as `app.label`, `app.translation.description`, COALESCE(`app.translation.description`,`app.translation.description`) as `app.description`, `app.translation.privacyPolicyExtensions`, COALESCE(`app.translation.privacyPolicyExtensions`,`app.translation.privacyPolicyExtensions`) as `app.privacyPolicyExtensions`, `app.translation.customFields`, COALESCE(`app.translation.customFields`,`app.translation.customFields`) as `app.customFields`, `app.translation.createdAt`, `app.translation.updatedAt`, `app.translation.appId`, `app.translation.languageId` FROM `app` LEFT JOIN (SELECT `app.translation`.app_id, `app.translation`.label as `app.translation.label`, `app.translation`.description as `app.translation.description`, `app.translation`.privacy_policy_extensions as `app.translation.privacyPolicyExtensions`, `app.translation`.custom_fields as `app.translation.customFields`, `app.translation`.created_at as `app.translation.createdAt`, `app.translation`.updated_at as `app.translation.updatedAt`, `app.translation`.app_id as `app.translation.appId`, `app.translation`.language_id as `app.translation.languageId` FROM `app_translation` `app.translation` WHERE `app.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `app.app_translation` ON `app.app_translation`.`app_id` = `app`.`id` LEFT JOIN `integration` `app.integration` ON `app`.`integration_id` = `app.integration`.`id` LEFT JOIN `acl_role` `app.aclRole` ON `app`.`acl_role_id` = `app.aclRole`.`id` WHERE (`app`.`active` = 1);
array:43 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 316)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetch (line 148)"
4 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 93)"
5 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::read (line 257)"
6 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::read (line 286)"
7 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::_search (line 110)"
8 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::Shopware\Core\Framework\DataAbstractionLayer\{closure} (line 59)"
9 => "Shopware\Core\Profiling\Profiler::trace (line 111)"
10 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::search (line 51)"
11 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepositoryForwardCompatibilityDecorator::search (line 119)"
12 => "Shopware\Core\Framework\App\Lifecycle\Persister\ScriptPersister::refresh (line 73)"
13 => "Shopware\Core\Framework\Script\Execution\ScriptLoader::load (line 57)"
14 => "Shopware\Core\Framework\Script\Execution\ScriptLoader::get (line 71)"
15 => "Shopware\Core\Framework\Script\Execution\ScriptExecutor::execute (line 70)"
16 => "Shopware\Core\Checkout\Cart\Processor::Shopware\Core\Checkout\Cart\{closure} (line 59)"
17 => "Shopware\Core\Profiling\Profiler::trace (line 86)"
18 => "Shopware\Core\Checkout\Cart\Processor::process (line 148)"
19 => "Shopware\Core\Checkout\Cart\CartRuleLoader::Shopware\Core\Checkout\Cart\{closure} (line 59)"
20 => "Shopware\Core\Profiling\Profiler::trace (line 183)"
21 => "Shopware\Core\Checkout\Cart\CartRuleLoader::load (line 88)"
22 => "Shopware\Core\Checkout\Cart\CartRuleLoader::loadByToken (line 106)"
23 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::Shopware\Core\System\SalesChannel\Context\{closure} (line 59)"
24 => "Shopware\Core\Profiling\Profiler::trace (line 111)"
25 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::get (line 45)"
26 => "Madco\Mykey\Core\System\SalesChannel\Context\SalesChannelContextService::get (line 30)"
27 => "Bodymed\Webshop\Core\System\SalesChannel\Context\SalesChannelContextService::get (line 105)"
28 => "Shopware\Core\Framework\Routing\SalesChannelRequestContextResolver::resolve (line 38)"
29 => "Shopware\Core\Framework\Routing\ContextResolverListener::resolveContext (line 118)"
30 => "Symfony\Component\EventDispatcher\Debug\WrappedListener::__invoke (line 230)"
31 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
32 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
33 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
34 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
35 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
36 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
37 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 151)"
38 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
39 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
40 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
41 => "Shopware\Core\HttpKernel::doHandle (line 81)"
42 => "Shopware\Core\HttpKernel::handle (line 75)"
]
|
20 |
1.01 ms |
SELECT LOWER(HEX(`script`.`app_id`)) as `app_id`,
`script`.`name` AS scriptName,
`script`.`script` AS script,
`script`.`hook` AS hook,
IFNULL(`script`.`updated_at`, `script`.`created_at`) AS lastModified,
`app`.`name` AS appName,
LOWER(HEX(`app`.`integration_id`)) AS integrationId,
`app`.`version` AS appVersion,
`script`.`active` AS active
FROM `script`
LEFT JOIN `app` ON `script`.`app_id` = `app`.`id`
WHERE `script`.`hook` != 'include'
ORDER BY `app`.`created_at`, `app`.`id`, `script`.`name`
SELECT LOWER(HEX(`script`.`app_id`)) as `app_id`,
`script`.`name` AS scriptName,
`script`.`script` AS script,
`script`.`hook` AS hook,
IFNULL(`script`.`updated_at`, `script`.`created_at`) AS lastModified,
`app`.`name` AS appName,
LOWER(HEX(`app`.`integration_id`)) AS integrationId,
`app`.`version` AS appVersion,
`script`.`active` AS active
FROM `script`
LEFT JOIN `app` ON `script`.`app_id` = `app`.`id`
WHERE `script`.`hook` != 'include'
ORDER BY `app`.`created_at`, `app`.`id`, `script`.`name`
;
array:33 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 1042)"
2 => "Doctrine\DBAL\Connection::fetchAllAssociative (line 76)"
3 => "Shopware\Core\Framework\Script\Execution\ScriptLoader::load (line 57)"
4 => "Shopware\Core\Framework\Script\Execution\ScriptLoader::get (line 71)"
5 => "Shopware\Core\Framework\Script\Execution\ScriptExecutor::execute (line 70)"
6 => "Shopware\Core\Checkout\Cart\Processor::Shopware\Core\Checkout\Cart\{closure} (line 59)"
7 => "Shopware\Core\Profiling\Profiler::trace (line 86)"
8 => "Shopware\Core\Checkout\Cart\Processor::process (line 148)"
9 => "Shopware\Core\Checkout\Cart\CartRuleLoader::Shopware\Core\Checkout\Cart\{closure} (line 59)"
10 => "Shopware\Core\Profiling\Profiler::trace (line 183)"
11 => "Shopware\Core\Checkout\Cart\CartRuleLoader::load (line 88)"
12 => "Shopware\Core\Checkout\Cart\CartRuleLoader::loadByToken (line 106)"
13 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::Shopware\Core\System\SalesChannel\Context\{closure} (line 59)"
14 => "Shopware\Core\Profiling\Profiler::trace (line 111)"
15 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::get (line 45)"
16 => "Madco\Mykey\Core\System\SalesChannel\Context\SalesChannelContextService::get (line 30)"
17 => "Bodymed\Webshop\Core\System\SalesChannel\Context\SalesChannelContextService::get (line 105)"
18 => "Shopware\Core\Framework\Routing\SalesChannelRequestContextResolver::resolve (line 38)"
19 => "Shopware\Core\Framework\Routing\ContextResolverListener::resolveContext (line 118)"
20 => "Symfony\Component\EventDispatcher\Debug\WrappedListener::__invoke (line 230)"
21 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
22 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
23 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
24 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
25 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
26 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
27 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 151)"
28 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
29 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
30 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
31 => "Shopware\Core\HttpKernel::doHandle (line 81)"
32 => "Shopware\Core\HttpKernel::handle (line 75)"
]
|
21 |
0.85 ms |
SELECT LOWER(HEX(`script`.`app_id`)) as `app_id`,
`script`.`name` AS name,
`script`.`script` AS script,
`app`.`name` AS appName,
LOWER(HEX(`app`.`integration_id`)) AS integrationId,
IFNULL(`script`.`updated_at`, `script`.`created_at`) AS lastModified
FROM `script`
LEFT JOIN `app` ON `script`.`app_id` = `app`.`id`
WHERE `script`.`hook` = 'include'
ORDER BY `app`.`created_at`, `app`.`id`, `script`.`name`
SELECT LOWER(HEX(`script`.`app_id`)) as `app_id`,
`script`.`name` AS name,
`script`.`script` AS script,
`app`.`name` AS appName,
LOWER(HEX(`app`.`integration_id`)) AS integrationId,
IFNULL(`script`.`updated_at`, `script`.`created_at`) AS lastModified
FROM `script`
LEFT JOIN `app` ON `script`.`app_id` = `app`.`id`
WHERE `script`.`hook` = 'include'
ORDER BY `app`.`created_at`, `app`.`id`, `script`.`name`
;
array:33 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 1042)"
2 => "Doctrine\DBAL\Connection::fetchAllAssociative (line 92)"
3 => "Shopware\Core\Framework\Script\Execution\ScriptLoader::load (line 57)"
4 => "Shopware\Core\Framework\Script\Execution\ScriptLoader::get (line 71)"
5 => "Shopware\Core\Framework\Script\Execution\ScriptExecutor::execute (line 70)"
6 => "Shopware\Core\Checkout\Cart\Processor::Shopware\Core\Checkout\Cart\{closure} (line 59)"
7 => "Shopware\Core\Profiling\Profiler::trace (line 86)"
8 => "Shopware\Core\Checkout\Cart\Processor::process (line 148)"
9 => "Shopware\Core\Checkout\Cart\CartRuleLoader::Shopware\Core\Checkout\Cart\{closure} (line 59)"
10 => "Shopware\Core\Profiling\Profiler::trace (line 183)"
11 => "Shopware\Core\Checkout\Cart\CartRuleLoader::load (line 88)"
12 => "Shopware\Core\Checkout\Cart\CartRuleLoader::loadByToken (line 106)"
13 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::Shopware\Core\System\SalesChannel\Context\{closure} (line 59)"
14 => "Shopware\Core\Profiling\Profiler::trace (line 111)"
15 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::get (line 45)"
16 => "Madco\Mykey\Core\System\SalesChannel\Context\SalesChannelContextService::get (line 30)"
17 => "Bodymed\Webshop\Core\System\SalesChannel\Context\SalesChannelContextService::get (line 105)"
18 => "Shopware\Core\Framework\Routing\SalesChannelRequestContextResolver::resolve (line 38)"
19 => "Shopware\Core\Framework\Routing\ContextResolverListener::resolveContext (line 118)"
20 => "Symfony\Component\EventDispatcher\Debug\WrappedListener::__invoke (line 230)"
21 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
22 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
23 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
24 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
25 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
26 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
27 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 151)"
28 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
29 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
30 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
31 => "Shopware\Core\HttpKernel::doHandle (line 81)"
32 => "Shopware\Core\HttpKernel::handle (line 75)"
]
|
22 |
6.03 ms |
SELECT `category`.`id` as `category.id`, `category`.`version_id` as `category.versionId`, `category`.`parent_id` as `category.parentId`, `category`.`parent_version_id` as `category.parentVersionId`, `category`.`after_category_id` as `category.afterCategoryId`, `category`.`after_category_version_id` as `category.afterCategoryVersionId`, `category`.`media_id` as `category.mediaId`, `category`.`display_nested_products` as `category.displayNestedProducts`, `category`.`auto_increment` as `category.autoIncrement`, `category`.`level` as `category.level`, `category`.`path` as `category.path`, `category`.`child_count` as `category.childCount`, `category`.`type` as `category.type`, `category`.`product_assignment_type` as `category.productAssignmentType`, `category`.`visible` as `category.visible`, `category`.`active` as `category.active`, `category`.`cms_page_id` as `category.cmsPageId`, `category`.`cms_page_version_id` as `category.cmsPageVersionId`, `category`.`product_stream_id` as `category.productStreamId`, `category`.`created_at` as `category.createdAt`, `category`.`updated_at` as `category.updatedAt`, `category.media`.`id` as `category.media.id`, `category.media`.`user_id` as `category.media.userId`, `category.media`.`media_folder_id` as `category.media.mediaFolderId`, `category.media`.`mime_type` as `category.media.mimeType`, `category.media`.`file_extension` as `category.media.fileExtension`, `category.media`.`uploaded_at` as `category.media.uploadedAt`, `category.media`.`file_name` as `category.media.fileName`, `category.media`.`file_size` as `category.media.fileSize`, `category.media`.`media_type` as `category.media.mediaTypeRaw`, `category.media`.`meta_data` as `category.media.metaData`, `category.media`.`private` as `category.media.private`, `category.media`.`thumbnails_ro` as `category.media.thumbnailsRo`, `category.media`.`created_at` as `category.media.createdAt`, `category.media`.`updated_at` as `category.media.updatedAt`, `category.media.translation.title`, COALESCE(`category.media.translation.title`,`category.media.translation.title`) as `category.media.title`, `category.media.translation.alt`, COALESCE(`category.media.translation.alt`,`category.media.translation.alt`) as `category.media.alt`, `category.media.translation.customFields`, COALESCE(`category.media.translation.customFields`,`category.media.translation.customFields`) as `category.media.customFields`, `category.media.translation.createdAt`, `category.media.translation.updatedAt`, `category.media.translation.mediaId`, `category.media.translation.languageId`, `category.translation.name`, COALESCE(`category.translation.name`,`category.translation.name`) as `category.name`, `category.translation.breadcrumb`, COALESCE(`category.translation.breadcrumb`,`category.translation.breadcrumb`) as `category.breadcrumb`, `category.translation.slotConfig`, COALESCE(`category.translation.slotConfig`,`category.translation.slotConfig`) as `category.slotConfig`, `category.translation.linkType`, COALESCE(`category.translation.linkType`,`category.translation.linkType`) as `category.linkType`, `category.translation.internalLink`, COALESCE(`category.translation.internalLink`,`category.translation.internalLink`) as `category.internalLink`, `category.translation.externalLink`, COALESCE(`category.translation.externalLink`,`category.translation.externalLink`) as `category.externalLink`, `category.translation.linkNewTab`, COALESCE(`category.translation.linkNewTab`,`category.translation.linkNewTab`) as `category.linkNewTab`, `category.translation.description`, COALESCE(`category.translation.description`,`category.translation.description`) as `category.description`, `category.translation.metaTitle`, COALESCE(`category.translation.metaTitle`,`category.translation.metaTitle`) as `category.metaTitle`, `category.translation.metaDescription`, COALESCE(`category.translation.metaDescription`,`category.translation.metaDescription`) as `category.metaDescription`, `category.translation.keywords`, COALESCE(`category.translation.keywords`,`category.translation.keywords`) as `category.keywords`, `category.translation.customFields`, COALESCE(`category.translation.customFields`,`category.translation.customFields`) as `category.customFields`, `category.translation.createdAt`, `category.translation.updatedAt`, `category.translation.categoryId`, `category.translation.languageId`, `category.translation.categoryVersionId` FROM `category` LEFT JOIN (SELECT `category.translation`.category_id, `category.translation`.category_version_id, `category.translation`.name as `category.translation.name`, `category.translation`.breadcrumb as `category.translation.breadcrumb`, `category.translation`.slot_config as `category.translation.slotConfig`, `category.translation`.link_type as `category.translation.linkType`, `category.translation`.internal_link as `category.translation.internalLink`, `category.translation`.external_link as `category.translation.externalLink`, `category.translation`.link_new_tab as `category.translation.linkNewTab`, `category.translation`.description as `category.translation.description`, `category.translation`.meta_title as `category.translation.metaTitle`, `category.translation`.meta_description as `category.translation.metaDescription`, `category.translation`.keywords as `category.translation.keywords`, `category.translation`.custom_fields as `category.translation.customFields`, `category.translation`.created_at as `category.translation.createdAt`, `category.translation`.updated_at as `category.translation.updatedAt`, `category.translation`.category_id as `category.translation.categoryId`, `category.translation`.language_id as `category.translation.languageId`, `category.translation`.category_version_id as `category.translation.categoryVersionId` FROM `category_translation` `category.translation` WHERE `category.translation`.language_id = :languageId) `category.category_translation` ON `category.category_translation`.`category_id` = `category`.`id` AND `category.category_translation`.category_version_id = `category`.version_id LEFT JOIN `media` `category.media` ON `category`.`media_id` = `category.media`.`id` LEFT JOIN (SELECT `category.media.translation`.media_id, `category.media.translation`.title as `category.media.translation.title`, `category.media.translation`.alt as `category.media.translation.alt`, `category.media.translation`.custom_fields as `category.media.translation.customFields`, `category.media.translation`.created_at as `category.media.translation.createdAt`, `category.media.translation`.updated_at as `category.media.translation.updatedAt`, `category.media.translation`.media_id as `category.media.translation.mediaId`, `category.media.translation`.language_id as `category.media.translation.languageId` FROM `media_translation` `category.media.translation` WHERE `category.media.translation`.language_id = :languageId) `category.media.media_translation` ON `category.media.media_translation`.`media_id` = `category.media`.`id` WHERE (`category`.`version_id` = :version) AND (`category`.`id` IN (:ids))
SELECT
`category`.`id` as `category.id`,
`category`.`version_id` as `category.versionId`,
`category`.`parent_id` as `category.parentId`,
`category`.`parent_version_id` as `category.parentVersionId`,
`category`.`after_category_id` as `category.afterCategoryId`,
`category`.`after_category_version_id` as `category.afterCategoryVersionId`,
`category`.`media_id` as `category.mediaId`,
`category`.`display_nested_products` as `category.displayNestedProducts`,
`category`.`auto_increment` as `category.autoIncrement`,
`category`.`level` as `category.level`,
`category`.`path` as `category.path`,
`category`.`child_count` as `category.childCount`,
`category`.`type` as `category.type`,
`category`.`product_assignment_type` as `category.productAssignmentType`,
`category`.`visible` as `category.visible`,
`category`.`active` as `category.active`,
`category`.`cms_page_id` as `category.cmsPageId`,
`category`.`cms_page_version_id` as `category.cmsPageVersionId`,
`category`.`product_stream_id` as `category.productStreamId`,
`category`.`created_at` as `category.createdAt`,
`category`.`updated_at` as `category.updatedAt`,
`category.media`.`id` as `category.media.id`,
`category.media`.`user_id` as `category.media.userId`,
`category.media`.`media_folder_id` as `category.media.mediaFolderId`,
`category.media`.`mime_type` as `category.media.mimeType`,
`category.media`.`file_extension` as `category.media.fileExtension`,
`category.media`.`uploaded_at` as `category.media.uploadedAt`,
`category.media`.`file_name` as `category.media.fileName`,
`category.media`.`file_size` as `category.media.fileSize`,
`category.media`.`media_type` as `category.media.mediaTypeRaw`,
`category.media`.`meta_data` as `category.media.metaData`,
`category.media`.`private` as `category.media.private`,
`category.media`.`thumbnails_ro` as `category.media.thumbnailsRo`,
`category.media`.`created_at` as `category.media.createdAt`,
`category.media`.`updated_at` as `category.media.updatedAt`,
`category.media.translation.title`,
COALESCE(
`category.media.translation.title`,
`category.media.translation.title`
) as `category.media.title`,
`category.media.translation.alt`,
COALESCE(
`category.media.translation.alt`,
`category.media.translation.alt`
) as `category.media.alt`,
`category.media.translation.customFields`,
COALESCE(
`category.media.translation.customFields`,
`category.media.translation.customFields`
) as `category.media.customFields`,
`category.media.translation.createdAt`,
`category.media.translation.updatedAt`,
`category.media.translation.mediaId`,
`category.media.translation.languageId`,
`category.translation.name`,
COALESCE(
`category.translation.name`, `category.translation.name`
) as `category.name`,
`category.translation.breadcrumb`,
COALESCE(
`category.translation.breadcrumb`,
`category.translation.breadcrumb`
) as `category.breadcrumb`,
`category.translation.slotConfig`,
COALESCE(
`category.translation.slotConfig`,
`category.translation.slotConfig`
) as `category.slotConfig`,
`category.translation.linkType`,
COALESCE(
`category.translation.linkType`,
`category.translation.linkType`
) as `category.linkType`,
`category.translation.internalLink`,
COALESCE(
`category.translation.internalLink`,
`category.translation.internalLink`
) as `category.internalLink`,
`category.translation.externalLink`,
COALESCE(
`category.translation.externalLink`,
`category.translation.externalLink`
) as `category.externalLink`,
`category.translation.linkNewTab`,
COALESCE(
`category.translation.linkNewTab`,
`category.translation.linkNewTab`
) as `category.linkNewTab`,
`category.translation.description`,
COALESCE(
`category.translation.description`,
`category.translation.description`
) as `category.description`,
`category.translation.metaTitle`,
COALESCE(
`category.translation.metaTitle`,
`category.translation.metaTitle`
) as `category.metaTitle`,
`category.translation.metaDescription`,
COALESCE(
`category.translation.metaDescription`,
`category.translation.metaDescription`
) as `category.metaDescription`,
`category.translation.keywords`,
COALESCE(
`category.translation.keywords`,
`category.translation.keywords`
) as `category.keywords`,
`category.translation.customFields`,
COALESCE(
`category.translation.customFields`,
`category.translation.customFields`
) as `category.customFields`,
`category.translation.createdAt`,
`category.translation.updatedAt`,
`category.translation.categoryId`,
`category.translation.languageId`,
`category.translation.categoryVersionId`
FROM
`category`
LEFT JOIN (
SELECT
`category.translation`.category_id,
`category.translation`.category_version_id,
`category.translation`.name as `category.translation.name`,
`category.translation`.breadcrumb as `category.translation.breadcrumb`,
`category.translation`.slot_config as `category.translation.slotConfig`,
`category.translation`.link_type as `category.translation.linkType`,
`category.translation`.internal_link as `category.translation.internalLink`,
`category.translation`.external_link as `category.translation.externalLink`,
`category.translation`.link_new_tab as `category.translation.linkNewTab`,
`category.translation`.description as `category.translation.description`,
`category.translation`.meta_title as `category.translation.metaTitle`,
`category.translation`.meta_description as `category.translation.metaDescription`,
`category.translation`.keywords as `category.translation.keywords`,
`category.translation`.custom_fields as `category.translation.customFields`,
`category.translation`.created_at as `category.translation.createdAt`,
`category.translation`.updated_at as `category.translation.updatedAt`,
`category.translation`.category_id as `category.translation.categoryId`,
`category.translation`.language_id as `category.translation.languageId`,
`category.translation`.category_version_id as `category.translation.categoryVersionId`
FROM
`category_translation` `category.translation`
WHERE
`category.translation`.language_id = : languageId
) `category.category_translation` ON `category.category_translation`.`category_id` = `category`.`id`
AND `category.category_translation`.category_version_id = `category`.version_id
LEFT JOIN `media` `category.media` ON `category`.`media_id` = `category.media`.`id`
LEFT JOIN (
SELECT
`category.media.translation`.media_id,
`category.media.translation`.title as `category.media.translation.title`,
`category.media.translation`.alt as `category.media.translation.alt`,
`category.media.translation`.custom_fields as `category.media.translation.customFields`,
`category.media.translation`.created_at as `category.media.translation.createdAt`,
`category.media.translation`.updated_at as `category.media.translation.updatedAt`,
`category.media.translation`.media_id as `category.media.translation.mediaId`,
`category.media.translation`.language_id as `category.media.translation.languageId`
FROM
`media_translation` `category.media.translation`
WHERE
`category.media.translation`.language_id = : languageId
) `category.media.media_translation` ON `category.media.media_translation`.`media_id` = `category.media`.`id`
WHERE
(
`category`.`version_id` = : version
)
AND (
`category`.`id` IN (: ids)
)
SELECT `category`.`id` as `category.id`, `category`.`version_id` as `category.versionId`, `category`.`parent_id` as `category.parentId`, `category`.`parent_version_id` as `category.parentVersionId`, `category`.`after_category_id` as `category.afterCategoryId`, `category`.`after_category_version_id` as `category.afterCategoryVersionId`, `category`.`media_id` as `category.mediaId`, `category`.`display_nested_products` as `category.displayNestedProducts`, `category`.`auto_increment` as `category.autoIncrement`, `category`.`level` as `category.level`, `category`.`path` as `category.path`, `category`.`child_count` as `category.childCount`, `category`.`type` as `category.type`, `category`.`product_assignment_type` as `category.productAssignmentType`, `category`.`visible` as `category.visible`, `category`.`active` as `category.active`, `category`.`cms_page_id` as `category.cmsPageId`, `category`.`cms_page_version_id` as `category.cmsPageVersionId`, `category`.`product_stream_id` as `category.productStreamId`, `category`.`created_at` as `category.createdAt`, `category`.`updated_at` as `category.updatedAt`, `category.media`.`id` as `category.media.id`, `category.media`.`user_id` as `category.media.userId`, `category.media`.`media_folder_id` as `category.media.mediaFolderId`, `category.media`.`mime_type` as `category.media.mimeType`, `category.media`.`file_extension` as `category.media.fileExtension`, `category.media`.`uploaded_at` as `category.media.uploadedAt`, `category.media`.`file_name` as `category.media.fileName`, `category.media`.`file_size` as `category.media.fileSize`, `category.media`.`media_type` as `category.media.mediaTypeRaw`, `category.media`.`meta_data` as `category.media.metaData`, `category.media`.`private` as `category.media.private`, `category.media`.`thumbnails_ro` as `category.media.thumbnailsRo`, `category.media`.`created_at` as `category.media.createdAt`, `category.media`.`updated_at` as `category.media.updatedAt`, `category.media.translation.title`, COALESCE(`category.media.translation.title`,`category.media.translation.title`) as `category.media.title`, `category.media.translation.alt`, COALESCE(`category.media.translation.alt`,`category.media.translation.alt`) as `category.media.alt`, `category.media.translation.customFields`, COALESCE(`category.media.translation.customFields`,`category.media.translation.customFields`) as `category.media.customFields`, `category.media.translation.createdAt`, `category.media.translation.updatedAt`, `category.media.translation.mediaId`, `category.media.translation.languageId`, `category.translation.name`, COALESCE(`category.translation.name`,`category.translation.name`) as `category.name`, `category.translation.breadcrumb`, COALESCE(`category.translation.breadcrumb`,`category.translation.breadcrumb`) as `category.breadcrumb`, `category.translation.slotConfig`, COALESCE(`category.translation.slotConfig`,`category.translation.slotConfig`) as `category.slotConfig`, `category.translation.linkType`, COALESCE(`category.translation.linkType`,`category.translation.linkType`) as `category.linkType`, `category.translation.internalLink`, COALESCE(`category.translation.internalLink`,`category.translation.internalLink`) as `category.internalLink`, `category.translation.externalLink`, COALESCE(`category.translation.externalLink`,`category.translation.externalLink`) as `category.externalLink`, `category.translation.linkNewTab`, COALESCE(`category.translation.linkNewTab`,`category.translation.linkNewTab`) as `category.linkNewTab`, `category.translation.description`, COALESCE(`category.translation.description`,`category.translation.description`) as `category.description`, `category.translation.metaTitle`, COALESCE(`category.translation.metaTitle`,`category.translation.metaTitle`) as `category.metaTitle`, `category.translation.metaDescription`, COALESCE(`category.translation.metaDescription`,`category.translation.metaDescription`) as `category.metaDescription`, `category.translation.keywords`, COALESCE(`category.translation.keywords`,`category.translation.keywords`) as `category.keywords`, `category.translation.customFields`, COALESCE(`category.translation.customFields`,`category.translation.customFields`) as `category.customFields`, `category.translation.createdAt`, `category.translation.updatedAt`, `category.translation.categoryId`, `category.translation.languageId`, `category.translation.categoryVersionId` FROM `category` LEFT JOIN (SELECT `category.translation`.category_id, `category.translation`.category_version_id, `category.translation`.name as `category.translation.name`, `category.translation`.breadcrumb as `category.translation.breadcrumb`, `category.translation`.slot_config as `category.translation.slotConfig`, `category.translation`.link_type as `category.translation.linkType`, `category.translation`.internal_link as `category.translation.internalLink`, `category.translation`.external_link as `category.translation.externalLink`, `category.translation`.link_new_tab as `category.translation.linkNewTab`, `category.translation`.description as `category.translation.description`, `category.translation`.meta_title as `category.translation.metaTitle`, `category.translation`.meta_description as `category.translation.metaDescription`, `category.translation`.keywords as `category.translation.keywords`, `category.translation`.custom_fields as `category.translation.customFields`, `category.translation`.created_at as `category.translation.createdAt`, `category.translation`.updated_at as `category.translation.updatedAt`, `category.translation`.category_id as `category.translation.categoryId`, `category.translation`.language_id as `category.translation.languageId`, `category.translation`.category_version_id as `category.translation.categoryVersionId` FROM `category_translation` `category.translation` WHERE `category.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `category.category_translation` ON `category.category_translation`.`category_id` = `category`.`id` AND `category.category_translation`.category_version_id = `category`.version_id LEFT JOIN `media` `category.media` ON `category`.`media_id` = `category.media`.`id` LEFT JOIN (SELECT `category.media.translation`.media_id, `category.media.translation`.title as `category.media.translation.title`, `category.media.translation`.alt as `category.media.translation.alt`, `category.media.translation`.custom_fields as `category.media.translation.customFields`, `category.media.translation`.created_at as `category.media.translation.createdAt`, `category.media.translation`.updated_at as `category.media.translation.updatedAt`, `category.media.translation`.media_id as `category.media.translation.mediaId`, `category.media.translation`.language_id as `category.media.translation.languageId` FROM `media_translation` `category.media.translation` WHERE `category.media.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `category.media.media_translation` ON `category.media.media_translation`.`media_id` = `category.media`.`id` WHERE (`category`.`version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425) AND (`category`.`id` IN (0x5D85C8874BEB4BDABD00BF4B9FD03737));
array:33 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 316)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetch (line 148)"
4 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 93)"
5 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::read (line 195)"
6 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::read (line 117)"
7 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 127)"
8 => "Shopware\Core\Content\Category\SalesChannel\CategoryRoute::loadCategory (line 77)"
9 => "Shopware\Core\Content\Category\SalesChannel\CategoryRoute::load (line 103)"
10 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 350)"
11 => "Shopware\Core\System\SystemConfig\SystemConfigService::trace (line 44)"
12 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 120)"
13 => "Shopware\Core\Framework\Adapter\Translation\Translator::trace (line 45)"
14 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 46)"
15 => "Shopware\Core\Framework\Adapter\Cache\CacheTagCollection::trace (line 46)"
16 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::trace (line 41)"
17 => "Shopware\Storefront\Framework\Cache\CacheTracer::Shopware\Storefront\Framework\Cache\{closure} (line 59)"
18 => "Shopware\Storefront\Theme\ThemeConfigValueAccessor::trace (line 42)"
19 => "Shopware\Storefront\Framework\Cache\CacheTracer::trace (line 104)"
20 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 72)"
21 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
22 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 109)"
23 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 59)"
24 => "Shopware\Core\Profiling\Profiler::trace (line 112)"
25 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::load (line 66)"
26 => "Shopware\Storefront\Page\Navigation\NavigationPageLoader::load (line 48)"
27 => "Shopware\Storefront\Controller\NavigationController::home (line 163)"
28 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
29 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
30 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
31 => "Shopware\Core\HttpKernel::doHandle (line 81)"
32 => "Shopware\Core\HttpKernel::handle (line 75)"
]
|
23 |
0.76 ms |
SELECT `name`, `type` FROM `custom_field` WHERE `active` = 1
SELECT `name`, `type` FROM `custom_field` WHERE `active` = 1;
array:40 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 1065)"
2 => "Doctrine\DBAL\Connection::fetchAllKeyValue (line 101)"
3 => "Shopware\Core\System\CustomField\CustomFieldService::getCustomFields (line 43)"
4 => "Shopware\Core\System\CustomField\CustomFieldService::getCustomField (line 109)"
5 => "Shopware\Core\Framework\DataAbstractionLayer\FieldSerializer\CustomFieldsSerializer::getFields (line 99)"
6 => "Shopware\Core\Framework\DataAbstractionLayer\FieldSerializer\CustomFieldsSerializer::decode (line 317)"
7 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityHydrator::translate (line 75)"
8 => "Shopware\Core\Content\Category\CategoryHydrator::assign (line 546)"
9 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityHydrator::hydrateEntity (line 88)"
10 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityHydrator::hydrate (line 150)"
11 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 93)"
12 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::read (line 195)"
13 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::read (line 117)"
14 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 127)"
15 => "Shopware\Core\Content\Category\SalesChannel\CategoryRoute::loadCategory (line 77)"
16 => "Shopware\Core\Content\Category\SalesChannel\CategoryRoute::load (line 103)"
17 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 350)"
18 => "Shopware\Core\System\SystemConfig\SystemConfigService::trace (line 44)"
19 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 120)"
20 => "Shopware\Core\Framework\Adapter\Translation\Translator::trace (line 45)"
21 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 46)"
22 => "Shopware\Core\Framework\Adapter\Cache\CacheTagCollection::trace (line 46)"
23 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::trace (line 41)"
24 => "Shopware\Storefront\Framework\Cache\CacheTracer::Shopware\Storefront\Framework\Cache\{closure} (line 59)"
25 => "Shopware\Storefront\Theme\ThemeConfigValueAccessor::trace (line 42)"
26 => "Shopware\Storefront\Framework\Cache\CacheTracer::trace (line 104)"
27 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 72)"
28 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
29 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 109)"
30 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 59)"
31 => "Shopware\Core\Profiling\Profiler::trace (line 112)"
32 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::load (line 66)"
33 => "Shopware\Storefront\Page\Navigation\NavigationPageLoader::load (line 48)"
34 => "Shopware\Storefront\Controller\NavigationController::home (line 163)"
35 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
36 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
37 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
38 => "Shopware\Core\HttpKernel::doHandle (line 81)"
39 => "Shopware\Core\HttpKernel::handle (line 75)"
]
|
24 |
1.49 ms |
SELECT `cms_page`.`id` as `cms_page.id`, `cms_page`.`version_id` as `cms_page.versionId`, `cms_page`.`type` as `cms_page.type`, `cms_page`.`entity` as `cms_page.entity`, `cms_page`.`css_class` as `cms_page.cssClass`, `cms_page`.`config` as `cms_page.config`, `cms_page`.`preview_media_id` as `cms_page.previewMediaId`, `cms_page`.`locked` as `cms_page.locked`, `cms_page`.`created_at` as `cms_page.createdAt`, `cms_page`.`updated_at` as `cms_page.updatedAt`, `cms_page.translation.name`, COALESCE(`cms_page.translation.name`,`cms_page.translation.name`) as `cms_page.name`, `cms_page.translation.customFields`, COALESCE(`cms_page.translation.customFields`,`cms_page.translation.customFields`) as `cms_page.customFields`, `cms_page.translation.createdAt`, `cms_page.translation.updatedAt`, `cms_page.translation.cmsPageId`, `cms_page.translation.languageId`, `cms_page.translation.cmsPageVersionId` FROM `cms_page` LEFT JOIN (SELECT `cms_page.translation`.cms_page_id, `cms_page.translation`.cms_page_version_id, `cms_page.translation`.name as `cms_page.translation.name`, `cms_page.translation`.custom_fields as `cms_page.translation.customFields`, `cms_page.translation`.created_at as `cms_page.translation.createdAt`, `cms_page.translation`.updated_at as `cms_page.translation.updatedAt`, `cms_page.translation`.cms_page_id as `cms_page.translation.cmsPageId`, `cms_page.translation`.language_id as `cms_page.translation.languageId`, `cms_page.translation`.cms_page_version_id as `cms_page.translation.cmsPageVersionId` FROM `cms_page_translation` `cms_page.translation` WHERE `cms_page.translation`.language_id = :languageId) `cms_page.cms_page_translation` ON `cms_page.cms_page_translation`.`cms_page_id` = `cms_page`.`id` AND `cms_page.cms_page_translation`.cms_page_version_id = `cms_page`.version_id WHERE (`cms_page`.`version_id` = :version) AND (`cms_page`.`id` IN (:ids))
SELECT `cms_page`.`id` as `cms_page.id`, `cms_page`.`version_id` as `cms_page.versionId`, `cms_page`.`type` as `cms_page.type`, `cms_page`.`entity` as `cms_page.entity`, `cms_page`.`css_class` as `cms_page.cssClass`, `cms_page`.`config` as `cms_page.config`, `cms_page`.`preview_media_id` as `cms_page.previewMediaId`, `cms_page`.`locked` as `cms_page.locked`, `cms_page`.`created_at` as `cms_page.createdAt`, `cms_page`.`updated_at` as `cms_page.updatedAt`, `cms_page.translation.name`, COALESCE(`cms_page.translation.name`,`cms_page.translation.name`) as `cms_page.name`, `cms_page.translation.customFields`, COALESCE(`cms_page.translation.customFields`,`cms_page.translation.customFields`) as `cms_page.customFields`, `cms_page.translation.createdAt`, `cms_page.translation.updatedAt`, `cms_page.translation.cmsPageId`, `cms_page.translation.languageId`, `cms_page.translation.cmsPageVersionId` FROM `cms_page` LEFT JOIN (SELECT `cms_page.translation`.cms_page_id, `cms_page.translation`.cms_page_version_id, `cms_page.translation`.name as `cms_page.translation.name`, `cms_page.translation`.custom_fields as `cms_page.translation.customFields`, `cms_page.translation`.created_at as `cms_page.translation.createdAt`, `cms_page.translation`.updated_at as `cms_page.translation.updatedAt`, `cms_page.translation`.cms_page_id as `cms_page.translation.cmsPageId`, `cms_page.translation`.language_id as `cms_page.translation.languageId`, `cms_page.translation`.cms_page_version_id as `cms_page.translation.cmsPageVersionId` FROM `cms_page_translation` `cms_page.translation` WHERE `cms_page.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `cms_page.cms_page_translation` ON `cms_page.cms_page_translation`.`cms_page_id` = `cms_page`.`id` AND `cms_page.cms_page_translation`.cms_page_version_id = `cms_page`.version_id WHERE (`cms_page`.`version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425) AND (`cms_page`.`id` IN (0x81AD50723E174C2782E9690CE33D68C6));
array:37 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 316)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetch (line 148)"
4 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 93)"
5 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::read (line 257)"
6 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::read (line 286)"
7 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::_search (line 110)"
8 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::Shopware\Core\Framework\DataAbstractionLayer\{closure} (line 59)"
9 => "Shopware\Core\Profiling\Profiler::trace (line 111)"
10 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::search (line 51)"
11 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepositoryForwardCompatibilityDecorator::search (line 59)"
12 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::load (line 102)"
13 => "Shopware\Core\Content\Category\SalesChannel\CategoryRoute::load (line 103)"
14 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 350)"
15 => "Shopware\Core\System\SystemConfig\SystemConfigService::trace (line 44)"
16 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 120)"
17 => "Shopware\Core\Framework\Adapter\Translation\Translator::trace (line 45)"
18 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 46)"
19 => "Shopware\Core\Framework\Adapter\Cache\CacheTagCollection::trace (line 46)"
20 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::trace (line 41)"
21 => "Shopware\Storefront\Framework\Cache\CacheTracer::Shopware\Storefront\Framework\Cache\{closure} (line 59)"
22 => "Shopware\Storefront\Theme\ThemeConfigValueAccessor::trace (line 42)"
23 => "Shopware\Storefront\Framework\Cache\CacheTracer::trace (line 104)"
24 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 72)"
25 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
26 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 109)"
27 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 59)"
28 => "Shopware\Core\Profiling\Profiler::trace (line 112)"
29 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::load (line 66)"
30 => "Shopware\Storefront\Page\Navigation\NavigationPageLoader::load (line 48)"
31 => "Shopware\Storefront\Controller\NavigationController::home (line 163)"
32 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
33 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
34 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
35 => "Shopware\Core\HttpKernel::doHandle (line 81)"
36 => "Shopware\Core\HttpKernel::handle (line 75)"
]
|
25 |
2.74 ms |
SELECT `cms_section`.`id` as `cms_section.id`, `cms_section`.`position` as `cms_section.position`, `cms_section`.`type` as `cms_section.type`, `cms_section`.`locked` as `cms_section.locked`, `cms_section`.`name` as `cms_section.name`, `cms_section`.`sizing_mode` as `cms_section.sizingMode`, `cms_section`.`mobile_behavior` as `cms_section.mobileBehavior`, `cms_section`.`background_color` as `cms_section.backgroundColor`, `cms_section`.`background_media_id` as `cms_section.backgroundMediaId`, `cms_section`.`background_media_mode` as `cms_section.backgroundMediaMode`, `cms_section`.`css_class` as `cms_section.cssClass`, `cms_section`.`cms_page_id` as `cms_section.pageId`, `cms_section`.`visibility` as `cms_section.visibility`, `cms_section`.`custom_fields` as `cms_section.customFields`, `cms_section`.`version_id` as `cms_section.versionId`, `cms_section`.`cms_page_version_id` as `cms_section.cmsPageVersionId`, `cms_section`.`created_at` as `cms_section.createdAt`, `cms_section`.`updated_at` as `cms_section.updatedAt`, `cms_section.backgroundMedia`.`id` as `cms_section.backgroundMedia.id`, `cms_section.backgroundMedia`.`user_id` as `cms_section.backgroundMedia.userId`, `cms_section.backgroundMedia`.`media_folder_id` as `cms_section.backgroundMedia.mediaFolderId`, `cms_section.backgroundMedia`.`mime_type` as `cms_section.backgroundMedia.mimeType`, `cms_section.backgroundMedia`.`file_extension` as `cms_section.backgroundMedia.fileExtension`, `cms_section.backgroundMedia`.`uploaded_at` as `cms_section.backgroundMedia.uploadedAt`, `cms_section.backgroundMedia`.`file_name` as `cms_section.backgroundMedia.fileName`, `cms_section.backgroundMedia`.`file_size` as `cms_section.backgroundMedia.fileSize`, `cms_section.backgroundMedia`.`media_type` as `cms_section.backgroundMedia.mediaTypeRaw`, `cms_section.backgroundMedia`.`meta_data` as `cms_section.backgroundMedia.metaData`, `cms_section.backgroundMedia`.`private` as `cms_section.backgroundMedia.private`, `cms_section.backgroundMedia`.`thumbnails_ro` as `cms_section.backgroundMedia.thumbnailsRo`, `cms_section.backgroundMedia`.`created_at` as `cms_section.backgroundMedia.createdAt`, `cms_section.backgroundMedia`.`updated_at` as `cms_section.backgroundMedia.updatedAt`, `cms_section.backgroundMedia.translation.title`, COALESCE(`cms_section.backgroundMedia.translation.title`,`cms_section.backgroundMedia.translation.title`) as `cms_section.backgroundMedia.title`, `cms_section.backgroundMedia.translation.alt`, COALESCE(`cms_section.backgroundMedia.translation.alt`,`cms_section.backgroundMedia.translation.alt`) as `cms_section.backgroundMedia.alt`, `cms_section.backgroundMedia.translation.customFields`, COALESCE(`cms_section.backgroundMedia.translation.customFields`,`cms_section.backgroundMedia.translation.customFields`) as `cms_section.backgroundMedia.customFields`, `cms_section.backgroundMedia.translation.createdAt`, `cms_section.backgroundMedia.translation.updatedAt`, `cms_section.backgroundMedia.translation.mediaId`, `cms_section.backgroundMedia.translation.languageId` FROM `cms_section` LEFT JOIN `media` `cms_section.backgroundMedia` ON `cms_section`.`background_media_id` = `cms_section.backgroundMedia`.`id` LEFT JOIN (SELECT `cms_section.backgroundMedia.translation`.media_id, `cms_section.backgroundMedia.translation`.title as `cms_section.backgroundMedia.translation.title`, `cms_section.backgroundMedia.translation`.alt as `cms_section.backgroundMedia.translation.alt`, `cms_section.backgroundMedia.translation`.custom_fields as `cms_section.backgroundMedia.translation.customFields`, `cms_section.backgroundMedia.translation`.created_at as `cms_section.backgroundMedia.translation.createdAt`, `cms_section.backgroundMedia.translation`.updated_at as `cms_section.backgroundMedia.translation.updatedAt`, `cms_section.backgroundMedia.translation`.media_id as `cms_section.backgroundMedia.translation.mediaId`, `cms_section.backgroundMedia.translation`.language_id as `cms_section.backgroundMedia.translation.languageId` FROM `media_translation` `cms_section.backgroundMedia.translation` WHERE `cms_section.backgroundMedia.translation`.language_id = :languageId) `cms_section.backgroundMedia.media_translation` ON `cms_section.backgroundMedia.media_translation`.`media_id` = `cms_section.backgroundMedia`.`id` WHERE (`cms_section`.`version_id` = :version) AND ((`cms_section`.`cms_page_id` IN (:param_1bddf241e3f84969aaffdf28f7cd64b6)))
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_1bddf241e3f84969aaffdf28f7cd64b6
)
)
)
SELECT `cms_section`.`id` as `cms_section.id`, `cms_section`.`position` as `cms_section.position`, `cms_section`.`type` as `cms_section.type`, `cms_section`.`locked` as `cms_section.locked`, `cms_section`.`name` as `cms_section.name`, `cms_section`.`sizing_mode` as `cms_section.sizingMode`, `cms_section`.`mobile_behavior` as `cms_section.mobileBehavior`, `cms_section`.`background_color` as `cms_section.backgroundColor`, `cms_section`.`background_media_id` as `cms_section.backgroundMediaId`, `cms_section`.`background_media_mode` as `cms_section.backgroundMediaMode`, `cms_section`.`css_class` as `cms_section.cssClass`, `cms_section`.`cms_page_id` as `cms_section.pageId`, `cms_section`.`visibility` as `cms_section.visibility`, `cms_section`.`custom_fields` as `cms_section.customFields`, `cms_section`.`version_id` as `cms_section.versionId`, `cms_section`.`cms_page_version_id` as `cms_section.cmsPageVersionId`, `cms_section`.`created_at` as `cms_section.createdAt`, `cms_section`.`updated_at` as `cms_section.updatedAt`, `cms_section.backgroundMedia`.`id` as `cms_section.backgroundMedia.id`, `cms_section.backgroundMedia`.`user_id` as `cms_section.backgroundMedia.userId`, `cms_section.backgroundMedia`.`media_folder_id` as `cms_section.backgroundMedia.mediaFolderId`, `cms_section.backgroundMedia`.`mime_type` as `cms_section.backgroundMedia.mimeType`, `cms_section.backgroundMedia`.`file_extension` as `cms_section.backgroundMedia.fileExtension`, `cms_section.backgroundMedia`.`uploaded_at` as `cms_section.backgroundMedia.uploadedAt`, `cms_section.backgroundMedia`.`file_name` as `cms_section.backgroundMedia.fileName`, `cms_section.backgroundMedia`.`file_size` as `cms_section.backgroundMedia.fileSize`, `cms_section.backgroundMedia`.`media_type` as `cms_section.backgroundMedia.mediaTypeRaw`, `cms_section.backgroundMedia`.`meta_data` as `cms_section.backgroundMedia.metaData`, `cms_section.backgroundMedia`.`private` as `cms_section.backgroundMedia.private`, `cms_section.backgroundMedia`.`thumbnails_ro` as `cms_section.backgroundMedia.thumbnailsRo`, `cms_section.backgroundMedia`.`created_at` as `cms_section.backgroundMedia.createdAt`, `cms_section.backgroundMedia`.`updated_at` as `cms_section.backgroundMedia.updatedAt`, `cms_section.backgroundMedia.translation.title`, COALESCE(`cms_section.backgroundMedia.translation.title`,`cms_section.backgroundMedia.translation.title`) as `cms_section.backgroundMedia.title`, `cms_section.backgroundMedia.translation.alt`, COALESCE(`cms_section.backgroundMedia.translation.alt`,`cms_section.backgroundMedia.translation.alt`) as `cms_section.backgroundMedia.alt`, `cms_section.backgroundMedia.translation.customFields`, COALESCE(`cms_section.backgroundMedia.translation.customFields`,`cms_section.backgroundMedia.translation.customFields`) as `cms_section.backgroundMedia.customFields`, `cms_section.backgroundMedia.translation.createdAt`, `cms_section.backgroundMedia.translation.updatedAt`, `cms_section.backgroundMedia.translation.mediaId`, `cms_section.backgroundMedia.translation.languageId` FROM `cms_section` LEFT JOIN `media` `cms_section.backgroundMedia` ON `cms_section`.`background_media_id` = `cms_section.backgroundMedia`.`id` LEFT JOIN (SELECT `cms_section.backgroundMedia.translation`.media_id, `cms_section.backgroundMedia.translation`.title as `cms_section.backgroundMedia.translation.title`, `cms_section.backgroundMedia.translation`.alt as `cms_section.backgroundMedia.translation.alt`, `cms_section.backgroundMedia.translation`.custom_fields as `cms_section.backgroundMedia.translation.customFields`, `cms_section.backgroundMedia.translation`.created_at as `cms_section.backgroundMedia.translation.createdAt`, `cms_section.backgroundMedia.translation`.updated_at as `cms_section.backgroundMedia.translation.updatedAt`, `cms_section.backgroundMedia.translation`.media_id as `cms_section.backgroundMedia.translation.mediaId`, `cms_section.backgroundMedia.translation`.language_id as `cms_section.backgroundMedia.translation.languageId` FROM `media_translation` `cms_section.backgroundMedia.translation` WHERE `cms_section.backgroundMedia.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `cms_section.backgroundMedia.media_translation` ON `cms_section.backgroundMedia.media_translation`.`media_id` = `cms_section.backgroundMedia`.`id` WHERE (`cms_section`.`version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425) AND ((`cms_section`.`cms_page_id` IN (0x81AD50723E174C2782E9690CE33D68C6)));
array:41 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 316)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetch (line 148)"
4 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 503)"
5 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::loadOneToManyWithoutPagination (line 438)"
6 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::loadOneToMany (line 1210)"
7 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetchAssociations (line 152)"
8 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 93)"
9 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::read (line 257)"
10 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::read (line 286)"
11 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::_search (line 110)"
12 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::Shopware\Core\Framework\DataAbstractionLayer\{closure} (line 59)"
13 => "Shopware\Core\Profiling\Profiler::trace (line 111)"
14 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::search (line 51)"
15 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepositoryForwardCompatibilityDecorator::search (line 59)"
16 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::load (line 102)"
17 => "Shopware\Core\Content\Category\SalesChannel\CategoryRoute::load (line 103)"
18 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 350)"
19 => "Shopware\Core\System\SystemConfig\SystemConfigService::trace (line 44)"
20 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 120)"
21 => "Shopware\Core\Framework\Adapter\Translation\Translator::trace (line 45)"
22 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 46)"
23 => "Shopware\Core\Framework\Adapter\Cache\CacheTagCollection::trace (line 46)"
24 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::trace (line 41)"
25 => "Shopware\Storefront\Framework\Cache\CacheTracer::Shopware\Storefront\Framework\Cache\{closure} (line 59)"
26 => "Shopware\Storefront\Theme\ThemeConfigValueAccessor::trace (line 42)"
27 => "Shopware\Storefront\Framework\Cache\CacheTracer::trace (line 104)"
28 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 72)"
29 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
30 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 109)"
31 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 59)"
32 => "Shopware\Core\Profiling\Profiler::trace (line 112)"
33 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::load (line 66)"
34 => "Shopware\Storefront\Page\Navigation\NavigationPageLoader::load (line 48)"
35 => "Shopware\Storefront\Controller\NavigationController::home (line 163)"
36 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
37 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
38 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
39 => "Shopware\Core\HttpKernel::doHandle (line 81)"
40 => "Shopware\Core\HttpKernel::handle (line 75)"
]
|
26 |
3.17 ms |
SELECT `cms_block`.`id` as `cms_block.id`, `cms_block`.`position` as `cms_block.position`, `cms_block`.`type` as `cms_block.type`, `cms_block`.`locked` as `cms_block.locked`, `cms_block`.`name` as `cms_block.name`, `cms_block`.`section_position` as `cms_block.sectionPosition`, `cms_block`.`margin_top` as `cms_block.marginTop`, `cms_block`.`margin_bottom` as `cms_block.marginBottom`, `cms_block`.`margin_left` as `cms_block.marginLeft`, `cms_block`.`margin_right` as `cms_block.marginRight`, `cms_block`.`background_color` as `cms_block.backgroundColor`, `cms_block`.`background_media_id` as `cms_block.backgroundMediaId`, `cms_block`.`background_media_mode` as `cms_block.backgroundMediaMode`, `cms_block`.`css_class` as `cms_block.cssClass`, `cms_block`.`visibility` as `cms_block.visibility`, `cms_block`.`cms_section_id` as `cms_block.sectionId`, `cms_block`.`custom_fields` as `cms_block.customFields`, `cms_block`.`version_id` as `cms_block.versionId`, `cms_block`.`cms_section_version_id` as `cms_block.cmsSectionVersionId`, `cms_block`.`created_at` as `cms_block.createdAt`, `cms_block`.`updated_at` as `cms_block.updatedAt`, `cms_block.backgroundMedia`.`id` as `cms_block.backgroundMedia.id`, `cms_block.backgroundMedia`.`user_id` as `cms_block.backgroundMedia.userId`, `cms_block.backgroundMedia`.`media_folder_id` as `cms_block.backgroundMedia.mediaFolderId`, `cms_block.backgroundMedia`.`mime_type` as `cms_block.backgroundMedia.mimeType`, `cms_block.backgroundMedia`.`file_extension` as `cms_block.backgroundMedia.fileExtension`, `cms_block.backgroundMedia`.`uploaded_at` as `cms_block.backgroundMedia.uploadedAt`, `cms_block.backgroundMedia`.`file_name` as `cms_block.backgroundMedia.fileName`, `cms_block.backgroundMedia`.`file_size` as `cms_block.backgroundMedia.fileSize`, `cms_block.backgroundMedia`.`media_type` as `cms_block.backgroundMedia.mediaTypeRaw`, `cms_block.backgroundMedia`.`meta_data` as `cms_block.backgroundMedia.metaData`, `cms_block.backgroundMedia`.`private` as `cms_block.backgroundMedia.private`, `cms_block.backgroundMedia`.`thumbnails_ro` as `cms_block.backgroundMedia.thumbnailsRo`, `cms_block.backgroundMedia`.`created_at` as `cms_block.backgroundMedia.createdAt`, `cms_block.backgroundMedia`.`updated_at` as `cms_block.backgroundMedia.updatedAt`, `cms_block.backgroundMedia.translation.title`, COALESCE(`cms_block.backgroundMedia.translation.title`,`cms_block.backgroundMedia.translation.title`) as `cms_block.backgroundMedia.title`, `cms_block.backgroundMedia.translation.alt`, COALESCE(`cms_block.backgroundMedia.translation.alt`,`cms_block.backgroundMedia.translation.alt`) as `cms_block.backgroundMedia.alt`, `cms_block.backgroundMedia.translation.customFields`, COALESCE(`cms_block.backgroundMedia.translation.customFields`,`cms_block.backgroundMedia.translation.customFields`) as `cms_block.backgroundMedia.customFields`, `cms_block.backgroundMedia.translation.createdAt`, `cms_block.backgroundMedia.translation.updatedAt`, `cms_block.backgroundMedia.translation.mediaId`, `cms_block.backgroundMedia.translation.languageId` FROM `cms_block` LEFT JOIN `media` `cms_block.backgroundMedia` ON `cms_block`.`background_media_id` = `cms_block.backgroundMedia`.`id` LEFT JOIN (SELECT `cms_block.backgroundMedia.translation`.media_id, `cms_block.backgroundMedia.translation`.title as `cms_block.backgroundMedia.translation.title`, `cms_block.backgroundMedia.translation`.alt as `cms_block.backgroundMedia.translation.alt`, `cms_block.backgroundMedia.translation`.custom_fields as `cms_block.backgroundMedia.translation.customFields`, `cms_block.backgroundMedia.translation`.created_at as `cms_block.backgroundMedia.translation.createdAt`, `cms_block.backgroundMedia.translation`.updated_at as `cms_block.backgroundMedia.translation.updatedAt`, `cms_block.backgroundMedia.translation`.media_id as `cms_block.backgroundMedia.translation.mediaId`, `cms_block.backgroundMedia.translation`.language_id as `cms_block.backgroundMedia.translation.languageId` FROM `media_translation` `cms_block.backgroundMedia.translation` WHERE `cms_block.backgroundMedia.translation`.language_id = :languageId) `cms_block.backgroundMedia.media_translation` ON `cms_block.backgroundMedia.media_translation`.`media_id` = `cms_block.backgroundMedia`.`id` WHERE (`cms_block`.`version_id` = :version) AND ((`cms_block`.`cms_section_id` IN (:param_e31d5c0b68ef4cbb92681825262cad67)))
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_e31d5c0b68ef4cbb92681825262cad67
)
)
)
SELECT `cms_block`.`id` as `cms_block.id`, `cms_block`.`position` as `cms_block.position`, `cms_block`.`type` as `cms_block.type`, `cms_block`.`locked` as `cms_block.locked`, `cms_block`.`name` as `cms_block.name`, `cms_block`.`section_position` as `cms_block.sectionPosition`, `cms_block`.`margin_top` as `cms_block.marginTop`, `cms_block`.`margin_bottom` as `cms_block.marginBottom`, `cms_block`.`margin_left` as `cms_block.marginLeft`, `cms_block`.`margin_right` as `cms_block.marginRight`, `cms_block`.`background_color` as `cms_block.backgroundColor`, `cms_block`.`background_media_id` as `cms_block.backgroundMediaId`, `cms_block`.`background_media_mode` as `cms_block.backgroundMediaMode`, `cms_block`.`css_class` as `cms_block.cssClass`, `cms_block`.`visibility` as `cms_block.visibility`, `cms_block`.`cms_section_id` as `cms_block.sectionId`, `cms_block`.`custom_fields` as `cms_block.customFields`, `cms_block`.`version_id` as `cms_block.versionId`, `cms_block`.`cms_section_version_id` as `cms_block.cmsSectionVersionId`, `cms_block`.`created_at` as `cms_block.createdAt`, `cms_block`.`updated_at` as `cms_block.updatedAt`, `cms_block.backgroundMedia`.`id` as `cms_block.backgroundMedia.id`, `cms_block.backgroundMedia`.`user_id` as `cms_block.backgroundMedia.userId`, `cms_block.backgroundMedia`.`media_folder_id` as `cms_block.backgroundMedia.mediaFolderId`, `cms_block.backgroundMedia`.`mime_type` as `cms_block.backgroundMedia.mimeType`, `cms_block.backgroundMedia`.`file_extension` as `cms_block.backgroundMedia.fileExtension`, `cms_block.backgroundMedia`.`uploaded_at` as `cms_block.backgroundMedia.uploadedAt`, `cms_block.backgroundMedia`.`file_name` as `cms_block.backgroundMedia.fileName`, `cms_block.backgroundMedia`.`file_size` as `cms_block.backgroundMedia.fileSize`, `cms_block.backgroundMedia`.`media_type` as `cms_block.backgroundMedia.mediaTypeRaw`, `cms_block.backgroundMedia`.`meta_data` as `cms_block.backgroundMedia.metaData`, `cms_block.backgroundMedia`.`private` as `cms_block.backgroundMedia.private`, `cms_block.backgroundMedia`.`thumbnails_ro` as `cms_block.backgroundMedia.thumbnailsRo`, `cms_block.backgroundMedia`.`created_at` as `cms_block.backgroundMedia.createdAt`, `cms_block.backgroundMedia`.`updated_at` as `cms_block.backgroundMedia.updatedAt`, `cms_block.backgroundMedia.translation.title`, COALESCE(`cms_block.backgroundMedia.translation.title`,`cms_block.backgroundMedia.translation.title`) as `cms_block.backgroundMedia.title`, `cms_block.backgroundMedia.translation.alt`, COALESCE(`cms_block.backgroundMedia.translation.alt`,`cms_block.backgroundMedia.translation.alt`) as `cms_block.backgroundMedia.alt`, `cms_block.backgroundMedia.translation.customFields`, COALESCE(`cms_block.backgroundMedia.translation.customFields`,`cms_block.backgroundMedia.translation.customFields`) as `cms_block.backgroundMedia.customFields`, `cms_block.backgroundMedia.translation.createdAt`, `cms_block.backgroundMedia.translation.updatedAt`, `cms_block.backgroundMedia.translation.mediaId`, `cms_block.backgroundMedia.translation.languageId` FROM `cms_block` LEFT JOIN `media` `cms_block.backgroundMedia` ON `cms_block`.`background_media_id` = `cms_block.backgroundMedia`.`id` LEFT JOIN (SELECT `cms_block.backgroundMedia.translation`.media_id, `cms_block.backgroundMedia.translation`.title as `cms_block.backgroundMedia.translation.title`, `cms_block.backgroundMedia.translation`.alt as `cms_block.backgroundMedia.translation.alt`, `cms_block.backgroundMedia.translation`.custom_fields as `cms_block.backgroundMedia.translation.customFields`, `cms_block.backgroundMedia.translation`.created_at as `cms_block.backgroundMedia.translation.createdAt`, `cms_block.backgroundMedia.translation`.updated_at as `cms_block.backgroundMedia.translation.updatedAt`, `cms_block.backgroundMedia.translation`.media_id as `cms_block.backgroundMedia.translation.mediaId`, `cms_block.backgroundMedia.translation`.language_id as `cms_block.backgroundMedia.translation.languageId` FROM `media_translation` `cms_block.backgroundMedia.translation` WHERE `cms_block.backgroundMedia.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `cms_block.backgroundMedia.media_translation` ON `cms_block.backgroundMedia.media_translation`.`media_id` = `cms_block.backgroundMedia`.`id` WHERE (`cms_block`.`version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425) AND ((`cms_block`.`cms_section_id` IN (0x452149BB0B4E4C849684E33D01E4BE9D, 0x93CE50943A92467DAF5031FF916DE6A7, 0xB4E04220958F4397B6D6D1F38EC4A74A, 0xC9915742E27343539DA074A15F4930B0, 0xCD5F50EB3A9D4CC8A54E547EA9DB81CA, 0xD7D2F50EF92A426783FE0A7A8B1C48BD)));
array:45 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 316)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetch (line 148)"
4 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 503)"
5 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::loadOneToManyWithoutPagination (line 438)"
6 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::loadOneToMany (line 1210)"
7 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetchAssociations (line 152)"
8 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 503)"
9 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::loadOneToManyWithoutPagination (line 438)"
10 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::loadOneToMany (line 1210)"
11 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetchAssociations (line 152)"
12 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 93)"
13 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::read (line 257)"
14 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::read (line 286)"
15 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::_search (line 110)"
16 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::Shopware\Core\Framework\DataAbstractionLayer\{closure} (line 59)"
17 => "Shopware\Core\Profiling\Profiler::trace (line 111)"
18 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::search (line 51)"
19 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepositoryForwardCompatibilityDecorator::search (line 59)"
20 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::load (line 102)"
21 => "Shopware\Core\Content\Category\SalesChannel\CategoryRoute::load (line 103)"
22 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 350)"
23 => "Shopware\Core\System\SystemConfig\SystemConfigService::trace (line 44)"
24 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 120)"
25 => "Shopware\Core\Framework\Adapter\Translation\Translator::trace (line 45)"
26 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 46)"
27 => "Shopware\Core\Framework\Adapter\Cache\CacheTagCollection::trace (line 46)"
28 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::trace (line 41)"
29 => "Shopware\Storefront\Framework\Cache\CacheTracer::Shopware\Storefront\Framework\Cache\{closure} (line 59)"
30 => "Shopware\Storefront\Theme\ThemeConfigValueAccessor::trace (line 42)"
31 => "Shopware\Storefront\Framework\Cache\CacheTracer::trace (line 104)"
32 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 72)"
33 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
34 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 109)"
35 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 59)"
36 => "Shopware\Core\Profiling\Profiler::trace (line 112)"
37 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::load (line 66)"
38 => "Shopware\Storefront\Page\Navigation\NavigationPageLoader::load (line 48)"
39 => "Shopware\Storefront\Controller\NavigationController::home (line 163)"
40 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
41 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
42 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
43 => "Shopware\Core\HttpKernel::doHandle (line 81)"
44 => "Shopware\Core\HttpKernel::handle (line 75)"
]
|
27 |
2.34 ms |
SELECT `cms_slot`.`id` as `cms_slot.id`, `cms_slot`.`version_id` as `cms_slot.versionId`, `cms_slot`.`type` as `cms_slot.type`, `cms_slot`.`slot` as `cms_slot.slot`, `cms_slot`.`locked` as `cms_slot.locked`, `cms_slot`.`cms_block_id` as `cms_slot.blockId`, `cms_slot`.`cms_block_version_id` as `cms_slot.cmsBlockVersionId`, `cms_slot`.`created_at` as `cms_slot.createdAt`, `cms_slot`.`updated_at` as `cms_slot.updatedAt`, `cms_slot.translation.config`, COALESCE(`cms_slot.translation.config`,`cms_slot.translation.config`) as `cms_slot.config`, `cms_slot.translation.customFields`, COALESCE(`cms_slot.translation.customFields`,`cms_slot.translation.customFields`) as `cms_slot.customFields`, `cms_slot.translation.createdAt`, `cms_slot.translation.updatedAt`, `cms_slot.translation.cmsSlotId`, `cms_slot.translation.languageId`, `cms_slot.translation.cmsSlotVersionId` FROM `cms_slot` LEFT JOIN (SELECT `cms_slot.translation`.cms_slot_id, `cms_slot.translation`.cms_slot_version_id, `cms_slot.translation`.config as `cms_slot.translation.config`, `cms_slot.translation`.custom_fields as `cms_slot.translation.customFields`, `cms_slot.translation`.created_at as `cms_slot.translation.createdAt`, `cms_slot.translation`.updated_at as `cms_slot.translation.updatedAt`, `cms_slot.translation`.cms_slot_id as `cms_slot.translation.cmsSlotId`, `cms_slot.translation`.language_id as `cms_slot.translation.languageId`, `cms_slot.translation`.cms_slot_version_id as `cms_slot.translation.cmsSlotVersionId` FROM `cms_slot_translation` `cms_slot.translation` WHERE `cms_slot.translation`.language_id = :languageId) `cms_slot.cms_slot_translation` ON `cms_slot.cms_slot_translation`.`cms_slot_id` = `cms_slot`.`id` AND `cms_slot.cms_slot_translation`.cms_slot_version_id = `cms_slot`.version_id WHERE (`cms_slot`.`version_id` = :version) AND ((`cms_slot`.`cms_block_id` IN (:param_02a8384006834f0995a39a81775bc62a)))
SELECT `cms_slot`.`id` as `cms_slot.id`, `cms_slot`.`version_id` as `cms_slot.versionId`, `cms_slot`.`type` as `cms_slot.type`, `cms_slot`.`slot` as `cms_slot.slot`, `cms_slot`.`locked` as `cms_slot.locked`, `cms_slot`.`cms_block_id` as `cms_slot.blockId`, `cms_slot`.`cms_block_version_id` as `cms_slot.cmsBlockVersionId`, `cms_slot`.`created_at` as `cms_slot.createdAt`, `cms_slot`.`updated_at` as `cms_slot.updatedAt`, `cms_slot.translation.config`, COALESCE(`cms_slot.translation.config`,`cms_slot.translation.config`) as `cms_slot.config`, `cms_slot.translation.customFields`, COALESCE(`cms_slot.translation.customFields`,`cms_slot.translation.customFields`) as `cms_slot.customFields`, `cms_slot.translation.createdAt`, `cms_slot.translation.updatedAt`, `cms_slot.translation.cmsSlotId`, `cms_slot.translation.languageId`, `cms_slot.translation.cmsSlotVersionId` FROM `cms_slot` LEFT JOIN (SELECT `cms_slot.translation`.cms_slot_id, `cms_slot.translation`.cms_slot_version_id, `cms_slot.translation`.config as `cms_slot.translation.config`, `cms_slot.translation`.custom_fields as `cms_slot.translation.customFields`, `cms_slot.translation`.created_at as `cms_slot.translation.createdAt`, `cms_slot.translation`.updated_at as `cms_slot.translation.updatedAt`, `cms_slot.translation`.cms_slot_id as `cms_slot.translation.cmsSlotId`, `cms_slot.translation`.language_id as `cms_slot.translation.languageId`, `cms_slot.translation`.cms_slot_version_id as `cms_slot.translation.cmsSlotVersionId` FROM `cms_slot_translation` `cms_slot.translation` WHERE `cms_slot.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `cms_slot.cms_slot_translation` ON `cms_slot.cms_slot_translation`.`cms_slot_id` = `cms_slot`.`id` AND `cms_slot.cms_slot_translation`.cms_slot_version_id = `cms_slot`.version_id WHERE (`cms_slot`.`version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425) AND ((`cms_slot`.`cms_block_id` IN (0x368B440FD70D4ABDB6C7FC546ED96B21, 0x3BFBD3F3B93B464AB0CFADEABE42E464, 0x0ADF4D281B894DC8BE0A877DF0CBFFBA, 0xAC2335E4796742AEBE8AA37F11D2F2C9, 0x065B6E20285A4269885A81ABAE2551F3, 0x694A06936BFC4E7092FFE9ED9CD6C347)));
array:49 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 316)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetch (line 148)"
4 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 503)"
5 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::loadOneToManyWithoutPagination (line 438)"
6 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::loadOneToMany (line 1210)"
7 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetchAssociations (line 152)"
8 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 503)"
9 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::loadOneToManyWithoutPagination (line 438)"
10 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::loadOneToMany (line 1210)"
11 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetchAssociations (line 152)"
12 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 503)"
13 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::loadOneToManyWithoutPagination (line 438)"
14 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::loadOneToMany (line 1210)"
15 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetchAssociations (line 152)"
16 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 93)"
17 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::read (line 257)"
18 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::read (line 286)"
19 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::_search (line 110)"
20 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::Shopware\Core\Framework\DataAbstractionLayer\{closure} (line 59)"
21 => "Shopware\Core\Profiling\Profiler::trace (line 111)"
22 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::search (line 51)"
23 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepositoryForwardCompatibilityDecorator::search (line 59)"
24 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::load (line 102)"
25 => "Shopware\Core\Content\Category\SalesChannel\CategoryRoute::load (line 103)"
26 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 350)"
27 => "Shopware\Core\System\SystemConfig\SystemConfigService::trace (line 44)"
28 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 120)"
29 => "Shopware\Core\Framework\Adapter\Translation\Translator::trace (line 45)"
30 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 46)"
31 => "Shopware\Core\Framework\Adapter\Cache\CacheTagCollection::trace (line 46)"
32 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::trace (line 41)"
33 => "Shopware\Storefront\Framework\Cache\CacheTracer::Shopware\Storefront\Framework\Cache\{closure} (line 59)"
34 => "Shopware\Storefront\Theme\ThemeConfigValueAccessor::trace (line 42)"
35 => "Shopware\Storefront\Framework\Cache\CacheTracer::trace (line 104)"
36 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 72)"
37 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
38 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 109)"
39 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 59)"
40 => "Shopware\Core\Profiling\Profiler::trace (line 112)"
41 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::load (line 66)"
42 => "Shopware\Storefront\Page\Navigation\NavigationPageLoader::load (line 48)"
43 => "Shopware\Storefront\Controller\NavigationController::home (line 163)"
44 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
45 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
46 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
47 => "Shopware\Core\HttpKernel::doHandle (line 81)"
48 => "Shopware\Core\HttpKernel::handle (line 75)"
]
|
28 |
1.41 ms |
SELECT `product_stream`.`id` as `product_stream.id`, `product_stream`.`api_filter` as `product_stream.apiFilter`, `product_stream`.`invalid` as `product_stream.invalid`, `product_stream`.`created_at` as `product_stream.createdAt`, `product_stream`.`updated_at` as `product_stream.updatedAt`, `product_stream.translation.name`, COALESCE(`product_stream.translation.name`,`product_stream.translation.name`) as `product_stream.name`, `product_stream.translation.description`, COALESCE(`product_stream.translation.description`,`product_stream.translation.description`) as `product_stream.description`, `product_stream.translation.customFields`, COALESCE(`product_stream.translation.customFields`,`product_stream.translation.customFields`) as `product_stream.customFields`, `product_stream.translation.createdAt`, `product_stream.translation.updatedAt`, `product_stream.translation.productStreamId`, `product_stream.translation.languageId` FROM `product_stream` LEFT JOIN (SELECT `product_stream.translation`.product_stream_id, `product_stream.translation`.name as `product_stream.translation.name`, `product_stream.translation`.description as `product_stream.translation.description`, `product_stream.translation`.custom_fields as `product_stream.translation.customFields`, `product_stream.translation`.created_at as `product_stream.translation.createdAt`, `product_stream.translation`.updated_at as `product_stream.translation.updatedAt`, `product_stream.translation`.product_stream_id as `product_stream.translation.productStreamId`, `product_stream.translation`.language_id as `product_stream.translation.languageId` FROM `product_stream_translation` `product_stream.translation` WHERE `product_stream.translation`.language_id = :languageId) `product_stream.product_stream_translation` ON `product_stream.product_stream_translation`.`product_stream_id` = `product_stream`.`id` WHERE `product_stream`.`id` IN (:ids)
SELECT `product_stream`.`id` as `product_stream.id`, `product_stream`.`api_filter` as `product_stream.apiFilter`, `product_stream`.`invalid` as `product_stream.invalid`, `product_stream`.`created_at` as `product_stream.createdAt`, `product_stream`.`updated_at` as `product_stream.updatedAt`, `product_stream.translation.name`, COALESCE(`product_stream.translation.name`,`product_stream.translation.name`) as `product_stream.name`, `product_stream.translation.description`, COALESCE(`product_stream.translation.description`,`product_stream.translation.description`) as `product_stream.description`, `product_stream.translation.customFields`, COALESCE(`product_stream.translation.customFields`,`product_stream.translation.customFields`) as `product_stream.customFields`, `product_stream.translation.createdAt`, `product_stream.translation.updatedAt`, `product_stream.translation.productStreamId`, `product_stream.translation.languageId` FROM `product_stream` LEFT JOIN (SELECT `product_stream.translation`.product_stream_id, `product_stream.translation`.name as `product_stream.translation.name`, `product_stream.translation`.description as `product_stream.translation.description`, `product_stream.translation`.custom_fields as `product_stream.translation.customFields`, `product_stream.translation`.created_at as `product_stream.translation.createdAt`, `product_stream.translation`.updated_at as `product_stream.translation.updatedAt`, `product_stream.translation`.product_stream_id as `product_stream.translation.productStreamId`, `product_stream.translation`.language_id as `product_stream.translation.languageId` FROM `product_stream_translation` `product_stream.translation` WHERE `product_stream.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product_stream.product_stream_translation` ON `product_stream.product_stream_translation`.`product_stream_id` = `product_stream`.`id` WHERE `product_stream`.`id` IN (0x1C0F6049046F40F9985DF2DCF3478D3E);
array:42 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 316)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetch (line 148)"
4 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 93)"
5 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::read (line 257)"
6 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::read (line 286)"
7 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::_search (line 106)"
8 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::search (line 51)"
9 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepositoryForwardCompatibilityDecorator::search (line 44)"
10 => "Shopware\Core\Content\ProductStream\Service\ProductStreamBuilder::buildFilters (line 175)"
11 => "Shopware\Core\Content\Product\Cms\ProductSliderCmsElementResolver::collectByProductStream (line 77)"
12 => "Shopware\Core\Content\Product\Cms\ProductSliderCmsElementResolver::collect (line 40)"
13 => "Swkweb\BuyXPayY\Core\Content\Product\Cms\ProductSliderCmsElementResolver::collect (line 65)"
14 => "Bodymed\Webshop\Core\Content\Product\Cms\ProductSliderCmsElementResolver::collect (line 72)"
15 => "Shopware\Core\Content\Cms\DataResolver\CmsSlotsDataResolver::resolve (line 104)"
16 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::loadSlotData (line 94)"
17 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::load (line 102)"
18 => "Shopware\Core\Content\Category\SalesChannel\CategoryRoute::load (line 103)"
19 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 350)"
20 => "Shopware\Core\System\SystemConfig\SystemConfigService::trace (line 44)"
21 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 120)"
22 => "Shopware\Core\Framework\Adapter\Translation\Translator::trace (line 45)"
23 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 46)"
24 => "Shopware\Core\Framework\Adapter\Cache\CacheTagCollection::trace (line 46)"
25 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::trace (line 41)"
26 => "Shopware\Storefront\Framework\Cache\CacheTracer::Shopware\Storefront\Framework\Cache\{closure} (line 59)"
27 => "Shopware\Storefront\Theme\ThemeConfigValueAccessor::trace (line 42)"
28 => "Shopware\Storefront\Framework\Cache\CacheTracer::trace (line 104)"
29 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 72)"
30 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
31 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 109)"
32 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 59)"
33 => "Shopware\Core\Profiling\Profiler::trace (line 112)"
34 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::load (line 66)"
35 => "Shopware\Storefront\Page\Navigation\NavigationPageLoader::load (line 48)"
36 => "Shopware\Storefront\Controller\NavigationController::home (line 163)"
37 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
38 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
39 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
40 => "Shopware\Core\HttpKernel::doHandle (line 81)"
41 => "Shopware\Core\HttpKernel::handle (line 75)"
]
|
29 |
5.42 ms |
SELECT `product`.`id`, `product`.`product_number`, `product`.`auto_increment` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN (SELECT `product.translation`.product_id, `product.translation`.product_version_id, `product.translation`.meta_description as `product.translation.metaDescription`, `product.translation`.name as `product.translation.name`, `product.translation`.keywords as `product.translation.keywords`, `product.translation`.description as `product.translation.description`, `product.translation`.meta_title as `product.translation.metaTitle`, `product.translation`.pack_unit as `product.translation.packUnit`, `product.translation`.pack_unit_plural as `product.translation.packUnitPlural`, `product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`, `product.translation`.slot_config as `product.translation.slotConfig`, `product.translation`.custom_fields as `product.translation.customFields`, `product.translation`.created_at as `product.translation.createdAt`, `product.translation`.updated_at as `product.translation.updatedAt`, `product.translation`.product_id as `product.translation.productId`, `product.translation`.language_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_1c9cf30db5cd4b8dab9ad9f9e270e11f) AND `product.visibilities`.`sales_channel_id` = :param_32090b42c70c493c96e719dc223c1ee6)) `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_bed4a7f92ece48849deef5a88b41d783) AND `product.visibilities`.`sales_channel_id` = :param_1282651fce794dc481d1bafb728c7bb8)) `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_6b3d1097df244cb096913e60312d4602 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_21cb9538743f46dab8e1859b461aa12a 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_28ff163baadf42948ce161e9127b1c36) 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_69c3b72bdb804beaa01c03ca675da666 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_43e3f56b93fa48a6b553c6b7bfa463d9) AND (`product.visibilities_1`.id IS NOT NULL AND `product.visibilities_1`.id IS NOT NULL AND IFNULL(`product`.`active`, `product.parent`.`active`) = :param_fb7586e57b9248d4a57a09275d586e9b))) AND (`product.visibilities_2`.id IS NOT NULL AND `product.visibilities_2`.id IS NOT NULL AND IFNULL(`product`.`active`, `product.parent`.`active`) = :param_acfd81a2c7ad4b4aad37a4e4e4176a76))) 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_1c9cf30db5cd4b8dab9ad9f9e270e11f
)
AND `product.visibilities`.`sales_channel_id` = : param_32090b42c70c493c96e719dc223c1ee6
)
) `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_bed4a7f92ece48849deef5a88b41d783
)
AND `product.visibilities`.`sales_channel_id` = : param_1282651fce794dc481d1bafb728c7bb8
)
) `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_6b3d1097df244cb096913e60312d4602
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_21cb9538743f46dab8e1859b461aa12a
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_28ff163baadf42948ce161e9127b1c36
)
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_69c3b72bdb804beaa01c03ca675da666
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_43e3f56b93fa48a6b553c6b7bfa463d9
)
AND (
`product.visibilities_1`.id IS NOT NULL
AND `product.visibilities_1`.id IS NOT NULL
AND IFNULL(
`product`.`active`, `product.parent`.`active`
) = : param_fb7586e57b9248d4a57a09275d586e9b
)
)
)
AND (
`product.visibilities_2`.id IS NOT NULL
AND `product.visibilities_2`.id IS NOT NULL
AND IFNULL(
`product`.`active`, `product.parent`.`active`
) = : param_acfd81a2c7ad4b4aad37a4e4e4176a76
)
)
)
AND (
`product`.`id` IN (: ids)
)
GROUP BY
`product`.`id`
SELECT `product`.`id`, `product`.`product_number`, `product`.`auto_increment` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN (SELECT `product.translation`.product_id, `product.translation`.product_version_id, `product.translation`.meta_description as `product.translation.metaDescription`, `product.translation`.name as `product.translation.name`, `product.translation`.keywords as `product.translation.keywords`, `product.translation`.description as `product.translation.description`, `product.translation`.meta_title as `product.translation.metaTitle`, `product.translation`.pack_unit as `product.translation.packUnit`, `product.translation`.pack_unit_plural as `product.translation.packUnitPlural`, `product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`, `product.translation`.slot_config as `product.translation.slotConfig`, `product.translation`.custom_fields as `product.translation.customFields`, `product.translation`.created_at as `product.translation.createdAt`, `product.translation`.updated_at as `product.translation.updatedAt`, `product.translation`.product_id as `product.translation.productId`, `product.translation`.language_id as `product.translation.languageId`, `product.translation`.product_version_id as `product.translation.productVersionId` FROM `product_translation` `product.translation` WHERE `product.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id` AND `product.product_translation`.product_version_id = `product`.version_id LEFT JOIN (SELECT `product.parent.translation`.product_id, `product.parent.translation`.product_version_id, `product.parent.translation`.meta_description as `product.parent.translation.metaDescription`, `product.parent.translation`.name as `product.parent.translation.name`, `product.parent.translation`.keywords as `product.parent.translation.keywords`, `product.parent.translation`.description as `product.parent.translation.description`, `product.parent.translation`.meta_title as `product.parent.translation.metaTitle`, `product.parent.translation`.pack_unit as `product.parent.translation.packUnit`, `product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`, `product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`, `product.parent.translation`.slot_config as `product.parent.translation.slotConfig`, `product.parent.translation`.custom_fields as `product.parent.translation.customFields`, `product.parent.translation`.created_at as `product.parent.translation.createdAt`, `product.parent.translation`.updated_at as `product.parent.translation.updatedAt`, `product.parent.translation`.product_id as `product.parent.translation.productId`, `product.parent.translation`.language_id as `product.parent.translation.languageId`, `product.parent.translation`.product_version_id as `product.parent.translation.productVersionId` FROM `product_translation` `product.parent.translation` WHERE `product.parent.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id` AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id LEFT JOIN (SELECT `product.visibilities`.`product_id` as id, `product.visibilities`.`product_version_id` FROM `product_visibility` `product.visibilities` WHERE ((`product.visibilities`.`visibility` >= 30) AND `product.visibilities`.`sales_channel_id` = 0x620A2217F7474E619CB00AD39E804CCA)) `product.visibilities_1` ON `product`.`visibilities` = `product.visibilities_1`.`id` AND `product`.`version_id` = `product.visibilities_1`.`product_version_id` LEFT JOIN (SELECT `product.visibilities`.`product_id` as id, `product.visibilities`.`product_version_id` FROM `product_visibility` `product.visibilities` WHERE ((`product.visibilities`.`visibility` >= 10) AND `product.visibilities`.`sales_channel_id` = 0x620A2217F7474E619CB00AD39E804CCA)) `product.visibilities_2` ON `product`.`visibilities` = `product.visibilities_2`.`id` AND `product`.`version_id` = `product.visibilities_2`.`product_version_id` WHERE (`product`.`version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425) AND (((COALESCE(IF(JSON_TYPE(JSON_EXTRACT(`product.translation.customFields`, '$.mad_usergroups_enable')) != "NULL", CONVERT(JSON_UNQUOTE(JSON_EXTRACT(`product.translation.customFields`, '$.mad_usergroups_enable')) USING "utf8mb4") COLLATE utf8mb4_unicode_ci, NULL),IF(JSON_TYPE(JSON_EXTRACT(`product.parent.translation.customFields`, '$.mad_usergroups_enable')) != "NULL", CONVERT(JSON_UNQUOTE(JSON_EXTRACT(`product.parent.translation.customFields`, '$.mad_usergroups_enable')) USING "utf8mb4") COLLATE utf8mb4_unicode_ci, NULL)) LIKE '%c28421f99edc4f26b720cd6b19ffa899%' OR ((COALESCE(IF(JSON_TYPE(JSON_EXTRACT(`product.translation.customFields`, '$.mad_tags_enable')) != "NULL", CONVERT(JSON_UNQUOTE(JSON_EXTRACT(`product.translation.customFields`, '$.mad_tags_enable')) USING "utf8mb4") COLLATE utf8mb4_unicode_ci, NULL),IF(JSON_TYPE(JSON_EXTRACT(`product.parent.translation.customFields`, '$.mad_tags_enable')) != "NULL", CONVERT(JSON_UNQUOTE(JSON_EXTRACT(`product.parent.translation.customFields`, '$.mad_tags_enable')) USING "utf8mb4") COLLATE utf8mb4_unicode_ci, NULL)) <=> NULL OR COALESCE(IF(JSON_TYPE(JSON_EXTRACT(`product.translation.customFields`, '$.mad_tags_enable')) != "NULL", CONVERT(JSON_UNQUOTE(JSON_EXTRACT(`product.translation.customFields`, '$.mad_tags_enable')) USING "utf8mb4") COLLATE utf8mb4_unicode_ci, NULL),IF(JSON_TYPE(JSON_EXTRACT(`product.parent.translation.customFields`, '$.mad_tags_enable')) != "NULL", CONVERT(JSON_UNQUOTE(JSON_EXTRACT(`product.parent.translation.customFields`, '$.mad_tags_enable')) USING "utf8mb4") COLLATE utf8mb4_unicode_ci, NULL)) = '[]') AND (COALESCE(IF(JSON_TYPE(JSON_EXTRACT(`product.translation.customFields`, '$.mad_usergroups_enable')) != "NULL", CONVERT(JSON_UNQUOTE(JSON_EXTRACT(`product.translation.customFields`, '$.mad_usergroups_enable')) USING "utf8mb4") COLLATE utf8mb4_unicode_ci, NULL),IF(JSON_TYPE(JSON_EXTRACT(`product.parent.translation.customFields`, '$.mad_usergroups_enable')) != "NULL", CONVERT(JSON_UNQUOTE(JSON_EXTRACT(`product.parent.translation.customFields`, '$.mad_usergroups_enable')) USING "utf8mb4") COLLATE utf8mb4_unicode_ci, NULL)) <=> NULL OR COALESCE(IF(JSON_TYPE(JSON_EXTRACT(`product.translation.customFields`, '$.mad_usergroups_enable')) != "NULL", CONVERT(JSON_UNQUOTE(JSON_EXTRACT(`product.translation.customFields`, '$.mad_usergroups_enable')) USING "utf8mb4") COLLATE utf8mb4_unicode_ci, NULL),IF(JSON_TYPE(JSON_EXTRACT(`product.parent.translation.customFields`, '$.mad_usergroups_enable')) != "NULL", CONVERT(JSON_UNQUOTE(JSON_EXTRACT(`product.parent.translation.customFields`, '$.mad_usergroups_enable')) USING "utf8mb4") COLLATE utf8mb4_unicode_ci, NULL)) = '[]') AND (`product.visibilities_1`.id IS NOT NULL AND `product.visibilities_1`.id IS NOT NULL AND IFNULL(`product`.`active`, `product.parent`.`active`) = 1))) AND (`product.visibilities_2`.id IS NOT NULL AND `product.visibilities_2`.id IS NOT NULL AND IFNULL(`product`.`active`, `product.parent`.`active`) = 1))) AND (`product`.`id` IN (0x1AC13C0695234DB1962D5899CC4EA096, 0x12399480A05A4762B2F1F9ADE33FE485)) GROUP BY `product`.`id`;
array:35 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 107)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntitySearcher::search (line 62)"
4 => "Shopware\Elasticsearch\Framework\DataAbstractionLayer\ElasticsearchEntitySearcher::search (line 216)"
5 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::doSearch (line 122)"
6 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 147)"
7 => "Shopware\Core\Content\Cms\DataResolver\CmsSlotsDataResolver::fetchByCriteria (line 85)"
8 => "Shopware\Core\Content\Cms\DataResolver\CmsSlotsDataResolver::resolve (line 104)"
9 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::loadSlotData (line 94)"
10 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::load (line 102)"
11 => "Shopware\Core\Content\Category\SalesChannel\CategoryRoute::load (line 103)"
12 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 350)"
13 => "Shopware\Core\System\SystemConfig\SystemConfigService::trace (line 44)"
14 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 120)"
15 => "Shopware\Core\Framework\Adapter\Translation\Translator::trace (line 45)"
16 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 46)"
17 => "Shopware\Core\Framework\Adapter\Cache\CacheTagCollection::trace (line 46)"
18 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::trace (line 41)"
19 => "Shopware\Storefront\Framework\Cache\CacheTracer::Shopware\Storefront\Framework\Cache\{closure} (line 59)"
20 => "Shopware\Storefront\Theme\ThemeConfigValueAccessor::trace (line 42)"
21 => "Shopware\Storefront\Framework\Cache\CacheTracer::trace (line 104)"
22 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 72)"
23 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
24 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 109)"
25 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 59)"
26 => "Shopware\Core\Profiling\Profiler::trace (line 112)"
27 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::load (line 66)"
28 => "Shopware\Storefront\Page\Navigation\NavigationPageLoader::load (line 48)"
29 => "Shopware\Storefront\Controller\NavigationController::home (line 163)"
30 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
31 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
32 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
33 => "Shopware\Core\HttpKernel::doHandle (line 81)"
34 => "Shopware\Core\HttpKernel::handle (line 75)"
]
|
30 |
37.35 ms |
SELECT `product`.`id` as `product.id`, `product`.`version_id` as `product.versionId`, `product`.`parent_id` as `product.parentId`, `product`.`parent_version_id` as `product.parentVersionId`, COALESCE(`product`.`product_manufacturer_id`, `product.parent`.`product_manufacturer_id`) as `product.manufacturerId`, COALESCE(`product`.`product_manufacturer_version_id`, `product.parent`.`product_manufacturer_version_id`) as `product.productManufacturerVersionId`, COALESCE(`product`.`unit_id`, `product.parent`.`unit_id`) as `product.unitId`, COALESCE(`product`.`tax_id`, `product.parent`.`tax_id`) as `product.taxId`, COALESCE(`product`.`product_media_id`, `product.parent`.`product_media_id`) as `product.coverId`, COALESCE(`product`.`product_media_version_id`, `product.parent`.`product_media_version_id`) as `product.productMediaVersionId`, COALESCE(`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`) as `product.deliveryTimeId`, COALESCE(`product`.`product_feature_set_id`, `product.parent`.`product_feature_set_id`) as `product.featureSetId`, COALESCE(`product`.`canonical_product_id`, `product.parent`.`canonical_product_id`) as `product.canonicalProductId`, COALESCE(`product`.`cms_page_id`, `product.parent`.`cms_page_id`) as `product.cmsPageId`, COALESCE(`product`.`cms_page_version_id`, `product.parent`.`cms_page_version_id`) as `product.cmsPageVersionId`, `product.parent`.`price` as `product.price.inherited`, COALESCE(`product`.`price`, `product.parent`.`price`) as `product.price`, `product`.`product_number` as `product.productNumber`, `product`.`stock` as `product.stock`, COALESCE(`product`.`restock_time`, `product.parent`.`restock_time`) as `product.restockTime`, `product`.`auto_increment` as `product.autoIncrement`, COALESCE(`product`.`active`, `product.parent`.`active`) as `product.active`, `product`.`available_stock` as `product.availableStock`, `product`.`available` as `product.available`, COALESCE(`product`.`is_closeout`, `product.parent`.`is_closeout`) as `product.isCloseout`, `product`.`display_group` as `product.displayGroup`, `product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`, COALESCE(`product`.`configurator_group_config`, `product.parent`.`configurator_group_config`) as `product.configuratorGroupConfig`, COALESCE(`product`.`main_variant_id`, `product.parent`.`main_variant_id`) as `product.mainVariantId`, COALESCE(`product`.`display_parent`, `product.parent`.`display_parent`) as `product.displayParent`, `product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`, COALESCE(`product`.`variant_listing_config`, `product.parent`.`variant_listing_config`) as `product.variantListingConfig`, `product`.`variant_restrictions` as `product.variantRestrictions`, COALESCE(`product`.`manufacturer_number`, `product.parent`.`manufacturer_number`) as `product.manufacturerNumber`, COALESCE(`product`.`ean`, `product.parent`.`ean`) as `product.ean`, COALESCE(`product`.`purchase_steps`, `product.parent`.`purchase_steps`) as `product.purchaseSteps`, COALESCE(`product`.`max_purchase`, `product.parent`.`max_purchase`) as `product.maxPurchase`, COALESCE(`product`.`min_purchase`, `product.parent`.`min_purchase`) as `product.minPurchase`, COALESCE(`product`.`purchase_unit`, `product.parent`.`purchase_unit`) as `product.purchaseUnit`, COALESCE(`product`.`reference_unit`, `product.parent`.`reference_unit`) as `product.referenceUnit`, COALESCE(`product`.`shipping_free`, `product.parent`.`shipping_free`) as `product.shippingFree`, `product.parent`.`purchase_prices` as `product.purchasePrices.inherited`, COALESCE(`product`.`purchase_prices`, `product.parent`.`purchase_prices`) as `product.purchasePrices`, COALESCE(`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`) as `product.markAsTopseller`, COALESCE(`product`.`weight`, `product.parent`.`weight`) as `product.weight`, COALESCE(`product`.`width`, `product.parent`.`width`) as `product.width`, COALESCE(`product`.`height`, `product.parent`.`height`) as `product.height`, COALESCE(`product`.`length`, `product.parent`.`length`) as `product.length`, COALESCE(`product`.`release_date`, `product.parent`.`release_date`) as `product.releaseDate`, COALESCE(`product`.`rating_average`, `product.parent`.`rating_average`) as `product.ratingAverage`, `product.parent`.`category_tree` as `product.categoryTree.inherited`, COALESCE(`product`.`category_tree`, `product.parent`.`category_tree`) as `product.categoryTree`, `product.parent`.`property_ids` as `product.propertyIds.inherited`, COALESCE(`product`.`property_ids`, `product.parent`.`property_ids`) as `product.propertyIds`, `product.parent`.`option_ids` as `product.optionIds.inherited`, COALESCE(`product`.`option_ids`, `product.parent`.`option_ids`) as `product.optionIds`, `product.parent`.`stream_ids` as `product.streamIds.inherited`, COALESCE(`product`.`stream_ids`, `product.parent`.`stream_ids`) as `product.streamIds`, `product.parent`.`tag_ids` as `product.tagIds.inherited`, COALESCE(`product`.`tag_ids`, `product.parent`.`tag_ids`) as `product.tagIds`, `product.parent`.`category_ids` as `product.categoryIds.inherited`, COALESCE(`product`.`category_ids`, `product.parent`.`category_ids`) as `product.categoryIds`, `product`.`child_count` as `product.childCount`, COALESCE(`product`.`custom_field_set_selection_active`, `product.parent`.`custom_field_set_selection_active`) as `product.customFieldSetSelectionActive`, `product`.`sales` as `product.sales`, `product`.`states` as `product.states`, `product.tax`.`id` as `product.tax.id`, `product.tax`.`tax_rate` as `product.tax.taxRate`, `product.tax`.`name` as `product.tax.name`, `product.tax`.`position` as `product.tax.position`, `product.tax`.`custom_fields` as `product.tax.customFields`, `product.tax`.`created_at` as `product.tax.createdAt`, `product.tax`.`updated_at` as `product.tax.updatedAt`, `product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`, COALESCE(`product`.`cheapest_price`, `product.parent`.`cheapest_price`) as `product.cheapestPrice`, `product`.`created_at` as `product.createdAt`, `product`.`updated_at` as `product.updatedAt`, `product.bundle`.`id` as `product.bundle.id`, `product.bundle`.`product_id` as `product.bundle.productId`, `product.bundle`.`product_version_id` as `product.bundle.productVersionId`, `product.bundle`.`name` as `product.bundle.name`, `product.bundle`.`price_type` as `product.bundle.priceType`, `product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`, `product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`, `product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`, `product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`, `product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`, `product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`, `product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`, `product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`, `product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`, `product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`, `product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`, `product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`, `product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`, `product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`, `product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`, `product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`, `product.bundle`.`created_at` as `product.bundle.createdAt`, `product.bundle`.`updated_at` as `product.bundle.updatedAt`, `product.cover`.`id` as `product.cover.id`, `product.cover`.`version_id` as `product.cover.versionId`, `product.cover`.`product_id` as `product.cover.productId`, `product.cover`.`product_version_id` as `product.cover.productVersionId`, `product.cover`.`media_id` as `product.cover.mediaId`, `product.cover`.`position` as `product.cover.position`, `product.cover.media`.`id` as `product.cover.media.id`, `product.cover.media`.`user_id` as `product.cover.media.userId`, `product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`, `product.cover.media`.`mime_type` as `product.cover.media.mimeType`, `product.cover.media`.`file_extension` as `product.cover.media.fileExtension`, `product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`, `product.cover.media`.`file_name` as `product.cover.media.fileName`, `product.cover.media`.`file_size` as `product.cover.media.fileSize`, `product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`, `product.cover.media`.`meta_data` as `product.cover.media.metaData`, `product.cover.media`.`private` as `product.cover.media.private`, `product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`, `product.cover.media`.`created_at` as `product.cover.media.createdAt`, `product.cover.media`.`updated_at` as `product.cover.media.updatedAt`, `product.cover.media.translation.title`, COALESCE(`product.cover.media.translation.title`,`product.cover.media.translation.title`) as `product.cover.media.title`, `product.cover.media.translation.alt`, COALESCE(`product.cover.media.translation.alt`,`product.cover.media.translation.alt`) as `product.cover.media.alt`, `product.cover.media.translation.customFields`, COALESCE(`product.cover.media.translation.customFields`,`product.cover.media.translation.customFields`) as `product.cover.media.customFields`, `product.cover.media.translation.createdAt`, `product.cover.media.translation.updatedAt`, `product.cover.media.translation.mediaId`, `product.cover.media.translation.languageId`, `product.cover`.`custom_fields` as `product.cover.customFields`, `product.cover`.`created_at` as `product.cover.createdAt`, `product.cover`.`updated_at` as `product.cover.updatedAt`, (SELECT GROUP_CONCAT(HEX(`product.options.mapping`.`property_group_option_id`) SEPARATOR '||')
FROM `product_option` `product.options.mapping`
WHERE `product.options.mapping`.`product_id` = `product`.`id` ) as `product.options.id_mapping`, `product.unit`.`id` as `product.unit.id`, `product.unit`.`created_at` as `product.unit.createdAt`, `product.unit`.`updated_at` as `product.unit.updatedAt`, `product.unit.translation.shortCode`, COALESCE(`product.unit.translation.shortCode`,`product.unit.translation.shortCode`) as `product.unit.shortCode`, `product.unit.translation.name`, COALESCE(`product.unit.translation.name`,`product.unit.translation.name`) as `product.unit.name`, `product.unit.translation.customFields`, COALESCE(`product.unit.translation.customFields`,`product.unit.translation.customFields`) as `product.unit.customFields`, `product.unit.translation.createdAt`, `product.unit.translation.updatedAt`, `product.unit.translation.unitId`, `product.unit.translation.languageId`, `product.deliveryTime`.`id` as `product.deliveryTime.id`, `product.deliveryTime`.`min` as `product.deliveryTime.min`, `product.deliveryTime`.`max` as `product.deliveryTime.max`, `product.deliveryTime`.`unit` as `product.deliveryTime.unit`, `product.deliveryTime`.`created_at` as `product.deliveryTime.createdAt`, `product.deliveryTime`.`updated_at` as `product.deliveryTime.updatedAt`, `product.deliveryTime.translation.name`, COALESCE(`product.deliveryTime.translation.name`,`product.deliveryTime.translation.name`) as `product.deliveryTime.name`, `product.deliveryTime.translation.customFields`, COALESCE(`product.deliveryTime.translation.customFields`,`product.deliveryTime.translation.customFields`) as `product.deliveryTime.customFields`, `product.deliveryTime.translation.createdAt`, `product.deliveryTime.translation.updatedAt`, `product.deliveryTime.translation.deliveryTimeId`, `product.deliveryTime.translation.languageId`, `product.translation.metaDescription`, `product.parent.translation.metaDescription`, COALESCE(`product.translation.metaDescription`,`product.parent.translation.metaDescription`,`product.translation.metaDescription`) as `product.metaDescription`, `product.translation.name`, `product.parent.translation.name`, COALESCE(`product.translation.name`,`product.parent.translation.name`,`product.translation.name`) as `product.name`, `product.translation.keywords`, `product.parent.translation.keywords`, COALESCE(`product.translation.keywords`,`product.parent.translation.keywords`,`product.translation.keywords`) as `product.keywords`, `product.translation.description`, `product.parent.translation.description`, COALESCE(`product.translation.description`,`product.parent.translation.description`,`product.translation.description`) as `product.description`, `product.translation.metaTitle`, `product.parent.translation.metaTitle`, COALESCE(`product.translation.metaTitle`,`product.parent.translation.metaTitle`,`product.translation.metaTitle`) as `product.metaTitle`, `product.translation.packUnit`, `product.parent.translation.packUnit`, COALESCE(`product.translation.packUnit`,`product.parent.translation.packUnit`,`product.translation.packUnit`) as `product.packUnit`, `product.translation.packUnitPlural`, `product.parent.translation.packUnitPlural`, COALESCE(`product.translation.packUnitPlural`,`product.parent.translation.packUnitPlural`,`product.translation.packUnitPlural`) as `product.packUnitPlural`, `product.translation.customSearchKeywords`, `product.parent.translation.customSearchKeywords`, COALESCE(`product.translation.customSearchKeywords`,`product.parent.translation.customSearchKeywords`,`product.translation.customSearchKeywords`) as `product.customSearchKeywords`, `product.translation.slotConfig`, `product.parent.translation.slotConfig`, COALESCE(`product.translation.slotConfig`,`product.parent.translation.slotConfig`,`product.translation.slotConfig`) as `product.slotConfig`, `product.translation.customFields`, `product.parent.translation.customFields`, COALESCE(`product.translation.customFields`,`product.parent.translation.customFields`,`product.translation.customFields`) as `product.customFields`, `product.translation.createdAt`, `product.parent.translation.createdAt`, `product.translation.updatedAt`, `product.parent.translation.updatedAt`, `product.translation.productId`, `product.parent.translation.productId`, `product.translation.languageId`, `product.parent.translation.languageId`, `product.translation.productVersionId`, `product.parent.translation.productVersionId` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN (SELECT `product.translation`.product_id, `product.translation`.product_version_id, `product.translation`.meta_description as `product.translation.metaDescription`, `product.translation`.name as `product.translation.name`, `product.translation`.keywords as `product.translation.keywords`, `product.translation`.description as `product.translation.description`, `product.translation`.meta_title as `product.translation.metaTitle`, `product.translation`.pack_unit as `product.translation.packUnit`, `product.translation`.pack_unit_plural as `product.translation.packUnitPlural`, `product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`, `product.translation`.slot_config as `product.translation.slotConfig`, `product.translation`.custom_fields as `product.translation.customFields`, `product.translation`.created_at as `product.translation.createdAt`, `product.translation`.updated_at as `product.translation.updatedAt`, `product.translation`.product_id as `product.translation.productId`, `product.translation`.language_id as `product.translation.languageId`, `product.translation`.product_version_id as `product.translation.productVersionId` FROM `product_translation` `product.translation` WHERE `product.translation`.language_id = :languageId) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id` AND `product.product_translation`.product_version_id = `product`.version_id LEFT JOIN (SELECT `product.parent.translation`.product_id, `product.parent.translation`.product_version_id, `product.parent.translation`.meta_description as `product.parent.translation.metaDescription`, `product.parent.translation`.name as `product.parent.translation.name`, `product.parent.translation`.keywords as `product.parent.translation.keywords`, `product.parent.translation`.description as `product.parent.translation.description`, `product.parent.translation`.meta_title as `product.parent.translation.metaTitle`, `product.parent.translation`.pack_unit as `product.parent.translation.packUnit`, `product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`, `product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`, `product.parent.translation`.slot_config as `product.parent.translation.slotConfig`, `product.parent.translation`.custom_fields as `product.parent.translation.customFields`, `product.parent.translation`.created_at as `product.parent.translation.createdAt`, `product.parent.translation`.updated_at as `product.parent.translation.updatedAt`, `product.parent.translation`.product_id as `product.parent.translation.productId`, `product.parent.translation`.language_id as `product.parent.translation.languageId`, `product.parent.translation`.product_version_id as `product.parent.translation.productVersionId` FROM `product_translation` `product.parent.translation` WHERE `product.parent.translation`.language_id = :languageId) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id` AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id` LEFT JOIN `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_id` LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id` AND `product`.`version_id` = `product.cover`.`version_id` LEFT JOIN `unit` `product.unit` ON `product`.`unit` = `product.unit`.`id` LEFT JOIN `delivery_time` `product.deliveryTime` ON `product`.`deliveryTime` = `product.deliveryTime`.`id` LEFT JOIN `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`id` LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id` LEFT JOIN (SELECT `product.cover.media.translation`.media_id, `product.cover.media.translation`.title as `product.cover.media.translation.title`, `product.cover.media.translation`.alt as `product.cover.media.translation.alt`, `product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`, `product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`, `product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`, `product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`, `product.cover.media.translation`.language_id as `product.cover.media.translation.languageId` FROM `media_translation` `product.cover.media.translation` WHERE `product.cover.media.translation`.language_id = :languageId) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id` LEFT JOIN (SELECT `product.unit.translation`.unit_id, `product.unit.translation`.short_code as `product.unit.translation.shortCode`, `product.unit.translation`.name as `product.unit.translation.name`, `product.unit.translation`.custom_fields as `product.unit.translation.customFields`, `product.unit.translation`.created_at as `product.unit.translation.createdAt`, `product.unit.translation`.updated_at as `product.unit.translation.updatedAt`, `product.unit.translation`.unit_id as `product.unit.translation.unitId`, `product.unit.translation`.language_id as `product.unit.translation.languageId` FROM `unit_translation` `product.unit.translation` WHERE `product.unit.translation`.language_id = :languageId) `product.unit.unit_translation` ON `product.unit.unit_translation`.`unit_id` = `product.unit`.`id` LEFT JOIN (SELECT `product.deliveryTime.translation`.delivery_time_id, `product.deliveryTime.translation`.name as `product.deliveryTime.translation.name`, `product.deliveryTime.translation`.custom_fields as `product.deliveryTime.translation.customFields`, `product.deliveryTime.translation`.created_at as `product.deliveryTime.translation.createdAt`, `product.deliveryTime.translation`.updated_at as `product.deliveryTime.translation.updatedAt`, `product.deliveryTime.translation`.delivery_time_id as `product.deliveryTime.translation.deliveryTimeId`, `product.deliveryTime.translation`.language_id as `product.deliveryTime.translation.languageId` FROM `delivery_time_translation` `product.deliveryTime.translation` WHERE `product.deliveryTime.translation`.language_id = :languageId) `product.deliveryTime.delivery_time_translation` ON `product.deliveryTime.delivery_time_translation`.`delivery_time_id` = `product.deliveryTime`.`id` WHERE (`product`.`version_id` = :version) AND (`product`.`id` IN (:ids))
SELECT
`product`.`id` as `product.id`,
`product`.`version_id` as `product.versionId`,
`product`.`parent_id` as `product.parentId`,
`product`.`parent_version_id` as `product.parentVersionId`,
COALESCE(
`product`.`product_manufacturer_id`,
`product.parent`.`product_manufacturer_id`
) as `product.manufacturerId`,
COALESCE(
`product`.`product_manufacturer_version_id`,
`product.parent`.`product_manufacturer_version_id`
) as `product.productManufacturerVersionId`,
COALESCE(
`product`.`unit_id`, `product.parent`.`unit_id`
) as `product.unitId`,
COALESCE(
`product`.`tax_id`, `product.parent`.`tax_id`
) as `product.taxId`,
COALESCE(
`product`.`product_media_id`, `product.parent`.`product_media_id`
) as `product.coverId`,
COALESCE(
`product`.`product_media_version_id`,
`product.parent`.`product_media_version_id`
) as `product.productMediaVersionId`,
COALESCE(
`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`
) as `product.deliveryTimeId`,
COALESCE(
`product`.`product_feature_set_id`,
`product.parent`.`product_feature_set_id`
) as `product.featureSetId`,
COALESCE(
`product`.`canonical_product_id`,
`product.parent`.`canonical_product_id`
) as `product.canonicalProductId`,
COALESCE(
`product`.`cms_page_id`, `product.parent`.`cms_page_id`
) as `product.cmsPageId`,
COALESCE(
`product`.`cms_page_version_id`,
`product.parent`.`cms_page_version_id`
) as `product.cmsPageVersionId`,
`product.parent`.`price` as `product.price.inherited`,
COALESCE(
`product`.`price`, `product.parent`.`price`
) as `product.price`,
`product`.`product_number` as `product.productNumber`,
`product`.`stock` as `product.stock`,
COALESCE(
`product`.`restock_time`, `product.parent`.`restock_time`
) as `product.restockTime`,
`product`.`auto_increment` as `product.autoIncrement`,
COALESCE(
`product`.`active`, `product.parent`.`active`
) as `product.active`,
`product`.`available_stock` as `product.availableStock`,
`product`.`available` as `product.available`,
COALESCE(
`product`.`is_closeout`, `product.parent`.`is_closeout`
) as `product.isCloseout`,
`product`.`display_group` as `product.displayGroup`,
`product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`,
COALESCE(
`product`.`configurator_group_config`,
`product.parent`.`configurator_group_config`
) as `product.configuratorGroupConfig`,
COALESCE(
`product`.`main_variant_id`, `product.parent`.`main_variant_id`
) as `product.mainVariantId`,
COALESCE(
`product`.`display_parent`, `product.parent`.`display_parent`
) as `product.displayParent`,
`product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`,
COALESCE(
`product`.`variant_listing_config`,
`product.parent`.`variant_listing_config`
) as `product.variantListingConfig`,
`product`.`variant_restrictions` as `product.variantRestrictions`,
COALESCE(
`product`.`manufacturer_number`,
`product.parent`.`manufacturer_number`
) as `product.manufacturerNumber`,
COALESCE(
`product`.`ean`, `product.parent`.`ean`
) as `product.ean`,
COALESCE(
`product`.`purchase_steps`, `product.parent`.`purchase_steps`
) as `product.purchaseSteps`,
COALESCE(
`product`.`max_purchase`, `product.parent`.`max_purchase`
) as `product.maxPurchase`,
COALESCE(
`product`.`min_purchase`, `product.parent`.`min_purchase`
) as `product.minPurchase`,
COALESCE(
`product`.`purchase_unit`, `product.parent`.`purchase_unit`
) as `product.purchaseUnit`,
COALESCE(
`product`.`reference_unit`, `product.parent`.`reference_unit`
) as `product.referenceUnit`,
COALESCE(
`product`.`shipping_free`, `product.parent`.`shipping_free`
) as `product.shippingFree`,
`product.parent`.`purchase_prices` as `product.purchasePrices.inherited`,
COALESCE(
`product`.`purchase_prices`, `product.parent`.`purchase_prices`
) as `product.purchasePrices`,
COALESCE(
`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`
) as `product.markAsTopseller`,
COALESCE(
`product`.`weight`, `product.parent`.`weight`
) as `product.weight`,
COALESCE(
`product`.`width`, `product.parent`.`width`
) as `product.width`,
COALESCE(
`product`.`height`, `product.parent`.`height`
) as `product.height`,
COALESCE(
`product`.`length`, `product.parent`.`length`
) as `product.length`,
COALESCE(
`product`.`release_date`, `product.parent`.`release_date`
) as `product.releaseDate`,
COALESCE(
`product`.`rating_average`, `product.parent`.`rating_average`
) as `product.ratingAverage`,
`product.parent`.`category_tree` as `product.categoryTree.inherited`,
COALESCE(
`product`.`category_tree`, `product.parent`.`category_tree`
) as `product.categoryTree`,
`product.parent`.`property_ids` as `product.propertyIds.inherited`,
COALESCE(
`product`.`property_ids`, `product.parent`.`property_ids`
) as `product.propertyIds`,
`product.parent`.`option_ids` as `product.optionIds.inherited`,
COALESCE(
`product`.`option_ids`, `product.parent`.`option_ids`
) as `product.optionIds`,
`product.parent`.`stream_ids` as `product.streamIds.inherited`,
COALESCE(
`product`.`stream_ids`, `product.parent`.`stream_ids`
) as `product.streamIds`,
`product.parent`.`tag_ids` as `product.tagIds.inherited`,
COALESCE(
`product`.`tag_ids`, `product.parent`.`tag_ids`
) as `product.tagIds`,
`product.parent`.`category_ids` as `product.categoryIds.inherited`,
COALESCE(
`product`.`category_ids`, `product.parent`.`category_ids`
) as `product.categoryIds`,
`product`.`child_count` as `product.childCount`,
COALESCE(
`product`.`custom_field_set_selection_active`,
`product.parent`.`custom_field_set_selection_active`
) as `product.customFieldSetSelectionActive`,
`product`.`sales` as `product.sales`,
`product`.`states` as `product.states`,
`product.tax`.`id` as `product.tax.id`,
`product.tax`.`tax_rate` as `product.tax.taxRate`,
`product.tax`.`name` as `product.tax.name`,
`product.tax`.`position` as `product.tax.position`,
`product.tax`.`custom_fields` as `product.tax.customFields`,
`product.tax`.`created_at` as `product.tax.createdAt`,
`product.tax`.`updated_at` as `product.tax.updatedAt`,
`product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`,
COALESCE(
`product`.`cheapest_price`, `product.parent`.`cheapest_price`
) as `product.cheapestPrice`,
`product`.`created_at` as `product.createdAt`,
`product`.`updated_at` as `product.updatedAt`,
`product.bundle`.`id` as `product.bundle.id`,
`product.bundle`.`product_id` as `product.bundle.productId`,
`product.bundle`.`product_version_id` as `product.bundle.productVersionId`,
`product.bundle`.`name` as `product.bundle.name`,
`product.bundle`.`price_type` as `product.bundle.priceType`,
`product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`,
`product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`,
`product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`,
`product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`,
`product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`,
`product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`,
`product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`,
`product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`,
`product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`,
`product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`,
`product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`,
`product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`,
`product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`,
`product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`,
`product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`,
`product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`,
`product.bundle`.`created_at` as `product.bundle.createdAt`,
`product.bundle`.`updated_at` as `product.bundle.updatedAt`,
`product.cover`.`id` as `product.cover.id`,
`product.cover`.`version_id` as `product.cover.versionId`,
`product.cover`.`product_id` as `product.cover.productId`,
`product.cover`.`product_version_id` as `product.cover.productVersionId`,
`product.cover`.`media_id` as `product.cover.mediaId`,
`product.cover`.`position` as `product.cover.position`,
`product.cover.media`.`id` as `product.cover.media.id`,
`product.cover.media`.`user_id` as `product.cover.media.userId`,
`product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`,
`product.cover.media`.`mime_type` as `product.cover.media.mimeType`,
`product.cover.media`.`file_extension` as `product.cover.media.fileExtension`,
`product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`,
`product.cover.media`.`file_name` as `product.cover.media.fileName`,
`product.cover.media`.`file_size` as `product.cover.media.fileSize`,
`product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`,
`product.cover.media`.`meta_data` as `product.cover.media.metaData`,
`product.cover.media`.`private` as `product.cover.media.private`,
`product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`,
`product.cover.media`.`created_at` as `product.cover.media.createdAt`,
`product.cover.media`.`updated_at` as `product.cover.media.updatedAt`,
`product.cover.media.translation.title`,
COALESCE(
`product.cover.media.translation.title`,
`product.cover.media.translation.title`
) as `product.cover.media.title`,
`product.cover.media.translation.alt`,
COALESCE(
`product.cover.media.translation.alt`,
`product.cover.media.translation.alt`
) as `product.cover.media.alt`,
`product.cover.media.translation.customFields`,
COALESCE(
`product.cover.media.translation.customFields`,
`product.cover.media.translation.customFields`
) as `product.cover.media.customFields`,
`product.cover.media.translation.createdAt`,
`product.cover.media.translation.updatedAt`,
`product.cover.media.translation.mediaId`,
`product.cover.media.translation.languageId`,
`product.cover`.`custom_fields` as `product.cover.customFields`,
`product.cover`.`created_at` as `product.cover.createdAt`,
`product.cover`.`updated_at` as `product.cover.updatedAt`,
(
SELECT
GROUP_CONCAT(
HEX(
`product.options.mapping`.`property_group_option_id`
) SEPARATOR '||'
)
FROM
`product_option` `product.options.mapping`
WHERE
`product.options.mapping`.`product_id` = `product`.`id`
) as `product.options.id_mapping`,
`product.unit`.`id` as `product.unit.id`,
`product.unit`.`created_at` as `product.unit.createdAt`,
`product.unit`.`updated_at` as `product.unit.updatedAt`,
`product.unit.translation.shortCode`,
COALESCE(
`product.unit.translation.shortCode`,
`product.unit.translation.shortCode`
) as `product.unit.shortCode`,
`product.unit.translation.name`,
COALESCE(
`product.unit.translation.name`,
`product.unit.translation.name`
) as `product.unit.name`,
`product.unit.translation.customFields`,
COALESCE(
`product.unit.translation.customFields`,
`product.unit.translation.customFields`
) as `product.unit.customFields`,
`product.unit.translation.createdAt`,
`product.unit.translation.updatedAt`,
`product.unit.translation.unitId`,
`product.unit.translation.languageId`,
`product.deliveryTime`.`id` as `product.deliveryTime.id`,
`product.deliveryTime`.`min` as `product.deliveryTime.min`,
`product.deliveryTime`.`max` as `product.deliveryTime.max`,
`product.deliveryTime`.`unit` as `product.deliveryTime.unit`,
`product.deliveryTime`.`created_at` as `product.deliveryTime.createdAt`,
`product.deliveryTime`.`updated_at` as `product.deliveryTime.updatedAt`,
`product.deliveryTime.translation.name`,
COALESCE(
`product.deliveryTime.translation.name`,
`product.deliveryTime.translation.name`
) as `product.deliveryTime.name`,
`product.deliveryTime.translation.customFields`,
COALESCE(
`product.deliveryTime.translation.customFields`,
`product.deliveryTime.translation.customFields`
) as `product.deliveryTime.customFields`,
`product.deliveryTime.translation.createdAt`,
`product.deliveryTime.translation.updatedAt`,
`product.deliveryTime.translation.deliveryTimeId`,
`product.deliveryTime.translation.languageId`,
`product.translation.metaDescription`,
`product.parent.translation.metaDescription`,
COALESCE(
`product.translation.metaDescription`,
`product.parent.translation.metaDescription`,
`product.translation.metaDescription`
) as `product.metaDescription`,
`product.translation.name`,
`product.parent.translation.name`,
COALESCE(
`product.translation.name`, `product.parent.translation.name`,
`product.translation.name`
) as `product.name`,
`product.translation.keywords`,
`product.parent.translation.keywords`,
COALESCE(
`product.translation.keywords`,
`product.parent.translation.keywords`,
`product.translation.keywords`
) as `product.keywords`,
`product.translation.description`,
`product.parent.translation.description`,
COALESCE(
`product.translation.description`,
`product.parent.translation.description`,
`product.translation.description`
) as `product.description`,
`product.translation.metaTitle`,
`product.parent.translation.metaTitle`,
COALESCE(
`product.translation.metaTitle`,
`product.parent.translation.metaTitle`,
`product.translation.metaTitle`
) as `product.metaTitle`,
`product.translation.packUnit`,
`product.parent.translation.packUnit`,
COALESCE(
`product.translation.packUnit`,
`product.parent.translation.packUnit`,
`product.translation.packUnit`
) as `product.packUnit`,
`product.translation.packUnitPlural`,
`product.parent.translation.packUnitPlural`,
COALESCE(
`product.translation.packUnitPlural`,
`product.parent.translation.packUnitPlural`,
`product.translation.packUnitPlural`
) as `product.packUnitPlural`,
`product.translation.customSearchKeywords`,
`product.parent.translation.customSearchKeywords`,
COALESCE(
`product.translation.customSearchKeywords`,
`product.parent.translation.customSearchKeywords`,
`product.translation.customSearchKeywords`
) as `product.customSearchKeywords`,
`product.translation.slotConfig`,
`product.parent.translation.slotConfig`,
COALESCE(
`product.translation.slotConfig`,
`product.parent.translation.slotConfig`,
`product.translation.slotConfig`
) as `product.slotConfig`,
`product.translation.customFields`,
`product.parent.translation.customFields`,
COALESCE(
`product.translation.customFields`,
`product.parent.translation.customFields`,
`product.translation.customFields`
) as `product.customFields`,
`product.translation.createdAt`,
`product.parent.translation.createdAt`,
`product.translation.updatedAt`,
`product.parent.translation.updatedAt`,
`product.translation.productId`,
`product.parent.translation.productId`,
`product.translation.languageId`,
`product.parent.translation.languageId`,
`product.translation.productVersionId`,
`product.parent.translation.productVersionId`
FROM
`product`
LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id`
AND `product`.`version_id` = `product.parent`.`version_id`
LEFT JOIN (
SELECT
`product.translation`.product_id,
`product.translation`.product_version_id,
`product.translation`.meta_description as `product.translation.metaDescription`,
`product.translation`.name as `product.translation.name`,
`product.translation`.keywords as `product.translation.keywords`,
`product.translation`.description as `product.translation.description`,
`product.translation`.meta_title as `product.translation.metaTitle`,
`product.translation`.pack_unit as `product.translation.packUnit`,
`product.translation`.pack_unit_plural as `product.translation.packUnitPlural`,
`product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`,
`product.translation`.slot_config as `product.translation.slotConfig`,
`product.translation`.custom_fields as `product.translation.customFields`,
`product.translation`.created_at as `product.translation.createdAt`,
`product.translation`.updated_at as `product.translation.updatedAt`,
`product.translation`.product_id as `product.translation.productId`,
`product.translation`.language_id as `product.translation.languageId`,
`product.translation`.product_version_id as `product.translation.productVersionId`
FROM
`product_translation` `product.translation`
WHERE
`product.translation`.language_id = : languageId
) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id`
AND `product.product_translation`.product_version_id = `product`.version_id
LEFT JOIN (
SELECT
`product.parent.translation`.product_id,
`product.parent.translation`.product_version_id,
`product.parent.translation`.meta_description as `product.parent.translation.metaDescription`,
`product.parent.translation`.name as `product.parent.translation.name`,
`product.parent.translation`.keywords as `product.parent.translation.keywords`,
`product.parent.translation`.description as `product.parent.translation.description`,
`product.parent.translation`.meta_title as `product.parent.translation.metaTitle`,
`product.parent.translation`.pack_unit as `product.parent.translation.packUnit`,
`product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`,
`product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`,
`product.parent.translation`.slot_config as `product.parent.translation.slotConfig`,
`product.parent.translation`.custom_fields as `product.parent.translation.customFields`,
`product.parent.translation`.created_at as `product.parent.translation.createdAt`,
`product.parent.translation`.updated_at as `product.parent.translation.updatedAt`,
`product.parent.translation`.product_id as `product.parent.translation.productId`,
`product.parent.translation`.language_id as `product.parent.translation.languageId`,
`product.parent.translation`.product_version_id as `product.parent.translation.productVersionId`
FROM
`product_translation` `product.parent.translation`
WHERE
`product.parent.translation`.language_id = : languageId
) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id`
AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id
LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id`
LEFT JOIN `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_id`
LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id`
AND `product`.`version_id` = `product.cover`.`version_id`
LEFT JOIN `unit` `product.unit` ON `product`.`unit` = `product.unit`.`id`
LEFT JOIN `delivery_time` `product.deliveryTime` ON `product`.`deliveryTime` = `product.deliveryTime`.`id`
LEFT JOIN `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id`
LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id`
LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`id`
LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id`
LEFT JOIN (
SELECT
`product.cover.media.translation`.media_id,
`product.cover.media.translation`.title as `product.cover.media.translation.title`,
`product.cover.media.translation`.alt as `product.cover.media.translation.alt`,
`product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`,
`product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`,
`product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`,
`product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`,
`product.cover.media.translation`.language_id as `product.cover.media.translation.languageId`
FROM
`media_translation` `product.cover.media.translation`
WHERE
`product.cover.media.translation`.language_id = : languageId
) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id`
LEFT JOIN (
SELECT
`product.unit.translation`.unit_id,
`product.unit.translation`.short_code as `product.unit.translation.shortCode`,
`product.unit.translation`.name as `product.unit.translation.name`,
`product.unit.translation`.custom_fields as `product.unit.translation.customFields`,
`product.unit.translation`.created_at as `product.unit.translation.createdAt`,
`product.unit.translation`.updated_at as `product.unit.translation.updatedAt`,
`product.unit.translation`.unit_id as `product.unit.translation.unitId`,
`product.unit.translation`.language_id as `product.unit.translation.languageId`
FROM
`unit_translation` `product.unit.translation`
WHERE
`product.unit.translation`.language_id = : languageId
) `product.unit.unit_translation` ON `product.unit.unit_translation`.`unit_id` = `product.unit`.`id`
LEFT JOIN (
SELECT
`product.deliveryTime.translation`.delivery_time_id,
`product.deliveryTime.translation`.name as `product.deliveryTime.translation.name`,
`product.deliveryTime.translation`.custom_fields as `product.deliveryTime.translation.customFields`,
`product.deliveryTime.translation`.created_at as `product.deliveryTime.translation.createdAt`,
`product.deliveryTime.translation`.updated_at as `product.deliveryTime.translation.updatedAt`,
`product.deliveryTime.translation`.delivery_time_id as `product.deliveryTime.translation.deliveryTimeId`,
`product.deliveryTime.translation`.language_id as `product.deliveryTime.translation.languageId`
FROM
`delivery_time_translation` `product.deliveryTime.translation`
WHERE
`product.deliveryTime.translation`.language_id = : languageId
) `product.deliveryTime.delivery_time_translation` ON `product.deliveryTime.delivery_time_translation`.`delivery_time_id` = `product.deliveryTime`.`id`
WHERE
(
`product`.`version_id` = : version
)
AND (
`product`.`id` IN (: ids)
)
SELECT `product`.`id` as `product.id`, `product`.`version_id` as `product.versionId`, `product`.`parent_id` as `product.parentId`, `product`.`parent_version_id` as `product.parentVersionId`, COALESCE(`product`.`product_manufacturer_id`, `product.parent`.`product_manufacturer_id`) as `product.manufacturerId`, COALESCE(`product`.`product_manufacturer_version_id`, `product.parent`.`product_manufacturer_version_id`) as `product.productManufacturerVersionId`, COALESCE(`product`.`unit_id`, `product.parent`.`unit_id`) as `product.unitId`, COALESCE(`product`.`tax_id`, `product.parent`.`tax_id`) as `product.taxId`, COALESCE(`product`.`product_media_id`, `product.parent`.`product_media_id`) as `product.coverId`, COALESCE(`product`.`product_media_version_id`, `product.parent`.`product_media_version_id`) as `product.productMediaVersionId`, COALESCE(`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`) as `product.deliveryTimeId`, COALESCE(`product`.`product_feature_set_id`, `product.parent`.`product_feature_set_id`) as `product.featureSetId`, COALESCE(`product`.`canonical_product_id`, `product.parent`.`canonical_product_id`) as `product.canonicalProductId`, COALESCE(`product`.`cms_page_id`, `product.parent`.`cms_page_id`) as `product.cmsPageId`, COALESCE(`product`.`cms_page_version_id`, `product.parent`.`cms_page_version_id`) as `product.cmsPageVersionId`, `product.parent`.`price` as `product.price.inherited`, COALESCE(`product`.`price`, `product.parent`.`price`) as `product.price`, `product`.`product_number` as `product.productNumber`, `product`.`stock` as `product.stock`, COALESCE(`product`.`restock_time`, `product.parent`.`restock_time`) as `product.restockTime`, `product`.`auto_increment` as `product.autoIncrement`, COALESCE(`product`.`active`, `product.parent`.`active`) as `product.active`, `product`.`available_stock` as `product.availableStock`, `product`.`available` as `product.available`, COALESCE(`product`.`is_closeout`, `product.parent`.`is_closeout`) as `product.isCloseout`, `product`.`display_group` as `product.displayGroup`, `product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`, COALESCE(`product`.`configurator_group_config`, `product.parent`.`configurator_group_config`) as `product.configuratorGroupConfig`, COALESCE(`product`.`main_variant_id`, `product.parent`.`main_variant_id`) as `product.mainVariantId`, COALESCE(`product`.`display_parent`, `product.parent`.`display_parent`) as `product.displayParent`, `product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`, COALESCE(`product`.`variant_listing_config`, `product.parent`.`variant_listing_config`) as `product.variantListingConfig`, `product`.`variant_restrictions` as `product.variantRestrictions`, COALESCE(`product`.`manufacturer_number`, `product.parent`.`manufacturer_number`) as `product.manufacturerNumber`, COALESCE(`product`.`ean`, `product.parent`.`ean`) as `product.ean`, COALESCE(`product`.`purchase_steps`, `product.parent`.`purchase_steps`) as `product.purchaseSteps`, COALESCE(`product`.`max_purchase`, `product.parent`.`max_purchase`) as `product.maxPurchase`, COALESCE(`product`.`min_purchase`, `product.parent`.`min_purchase`) as `product.minPurchase`, COALESCE(`product`.`purchase_unit`, `product.parent`.`purchase_unit`) as `product.purchaseUnit`, COALESCE(`product`.`reference_unit`, `product.parent`.`reference_unit`) as `product.referenceUnit`, COALESCE(`product`.`shipping_free`, `product.parent`.`shipping_free`) as `product.shippingFree`, `product.parent`.`purchase_prices` as `product.purchasePrices.inherited`, COALESCE(`product`.`purchase_prices`, `product.parent`.`purchase_prices`) as `product.purchasePrices`, COALESCE(`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`) as `product.markAsTopseller`, COALESCE(`product`.`weight`, `product.parent`.`weight`) as `product.weight`, COALESCE(`product`.`width`, `product.parent`.`width`) as `product.width`, COALESCE(`product`.`height`, `product.parent`.`height`) as `product.height`, COALESCE(`product`.`length`, `product.parent`.`length`) as `product.length`, COALESCE(`product`.`release_date`, `product.parent`.`release_date`) as `product.releaseDate`, COALESCE(`product`.`rating_average`, `product.parent`.`rating_average`) as `product.ratingAverage`, `product.parent`.`category_tree` as `product.categoryTree.inherited`, COALESCE(`product`.`category_tree`, `product.parent`.`category_tree`) as `product.categoryTree`, `product.parent`.`property_ids` as `product.propertyIds.inherited`, COALESCE(`product`.`property_ids`, `product.parent`.`property_ids`) as `product.propertyIds`, `product.parent`.`option_ids` as `product.optionIds.inherited`, COALESCE(`product`.`option_ids`, `product.parent`.`option_ids`) as `product.optionIds`, `product.parent`.`stream_ids` as `product.streamIds.inherited`, COALESCE(`product`.`stream_ids`, `product.parent`.`stream_ids`) as `product.streamIds`, `product.parent`.`tag_ids` as `product.tagIds.inherited`, COALESCE(`product`.`tag_ids`, `product.parent`.`tag_ids`) as `product.tagIds`, `product.parent`.`category_ids` as `product.categoryIds.inherited`, COALESCE(`product`.`category_ids`, `product.parent`.`category_ids`) as `product.categoryIds`, `product`.`child_count` as `product.childCount`, COALESCE(`product`.`custom_field_set_selection_active`, `product.parent`.`custom_field_set_selection_active`) as `product.customFieldSetSelectionActive`, `product`.`sales` as `product.sales`, `product`.`states` as `product.states`, `product.tax`.`id` as `product.tax.id`, `product.tax`.`tax_rate` as `product.tax.taxRate`, `product.tax`.`name` as `product.tax.name`, `product.tax`.`position` as `product.tax.position`, `product.tax`.`custom_fields` as `product.tax.customFields`, `product.tax`.`created_at` as `product.tax.createdAt`, `product.tax`.`updated_at` as `product.tax.updatedAt`, `product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`, COALESCE(`product`.`cheapest_price`, `product.parent`.`cheapest_price`) as `product.cheapestPrice`, `product`.`created_at` as `product.createdAt`, `product`.`updated_at` as `product.updatedAt`, `product.bundle`.`id` as `product.bundle.id`, `product.bundle`.`product_id` as `product.bundle.productId`, `product.bundle`.`product_version_id` as `product.bundle.productVersionId`, `product.bundle`.`name` as `product.bundle.name`, `product.bundle`.`price_type` as `product.bundle.priceType`, `product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`, `product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`, `product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`, `product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`, `product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`, `product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`, `product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`, `product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`, `product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`, `product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`, `product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`, `product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`, `product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`, `product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`, `product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`, `product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`, `product.bundle`.`created_at` as `product.bundle.createdAt`, `product.bundle`.`updated_at` as `product.bundle.updatedAt`, `product.cover`.`id` as `product.cover.id`, `product.cover`.`version_id` as `product.cover.versionId`, `product.cover`.`product_id` as `product.cover.productId`, `product.cover`.`product_version_id` as `product.cover.productVersionId`, `product.cover`.`media_id` as `product.cover.mediaId`, `product.cover`.`position` as `product.cover.position`, `product.cover.media`.`id` as `product.cover.media.id`, `product.cover.media`.`user_id` as `product.cover.media.userId`, `product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`, `product.cover.media`.`mime_type` as `product.cover.media.mimeType`, `product.cover.media`.`file_extension` as `product.cover.media.fileExtension`, `product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`, `product.cover.media`.`file_name` as `product.cover.media.fileName`, `product.cover.media`.`file_size` as `product.cover.media.fileSize`, `product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`, `product.cover.media`.`meta_data` as `product.cover.media.metaData`, `product.cover.media`.`private` as `product.cover.media.private`, `product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`, `product.cover.media`.`created_at` as `product.cover.media.createdAt`, `product.cover.media`.`updated_at` as `product.cover.media.updatedAt`, `product.cover.media.translation.title`, COALESCE(`product.cover.media.translation.title`,`product.cover.media.translation.title`) as `product.cover.media.title`, `product.cover.media.translation.alt`, COALESCE(`product.cover.media.translation.alt`,`product.cover.media.translation.alt`) as `product.cover.media.alt`, `product.cover.media.translation.customFields`, COALESCE(`product.cover.media.translation.customFields`,`product.cover.media.translation.customFields`) as `product.cover.media.customFields`, `product.cover.media.translation.createdAt`, `product.cover.media.translation.updatedAt`, `product.cover.media.translation.mediaId`, `product.cover.media.translation.languageId`, `product.cover`.`custom_fields` as `product.cover.customFields`, `product.cover`.`created_at` as `product.cover.createdAt`, `product.cover`.`updated_at` as `product.cover.updatedAt`, (SELECT GROUP_CONCAT(HEX(`product.options.mapping`.`property_group_option_id`) SEPARATOR '||')
FROM `product_option` `product.options.mapping`
WHERE `product.options.mapping`.`product_id` = `product`.`id` ) as `product.options.id_mapping`, `product.unit`.`id` as `product.unit.id`, `product.unit`.`created_at` as `product.unit.createdAt`, `product.unit`.`updated_at` as `product.unit.updatedAt`, `product.unit.translation.shortCode`, COALESCE(`product.unit.translation.shortCode`,`product.unit.translation.shortCode`) as `product.unit.shortCode`, `product.unit.translation.name`, COALESCE(`product.unit.translation.name`,`product.unit.translation.name`) as `product.unit.name`, `product.unit.translation.customFields`, COALESCE(`product.unit.translation.customFields`,`product.unit.translation.customFields`) as `product.unit.customFields`, `product.unit.translation.createdAt`, `product.unit.translation.updatedAt`, `product.unit.translation.unitId`, `product.unit.translation.languageId`, `product.deliveryTime`.`id` as `product.deliveryTime.id`, `product.deliveryTime`.`min` as `product.deliveryTime.min`, `product.deliveryTime`.`max` as `product.deliveryTime.max`, `product.deliveryTime`.`unit` as `product.deliveryTime.unit`, `product.deliveryTime`.`created_at` as `product.deliveryTime.createdAt`, `product.deliveryTime`.`updated_at` as `product.deliveryTime.updatedAt`, `product.deliveryTime.translation.name`, COALESCE(`product.deliveryTime.translation.name`,`product.deliveryTime.translation.name`) as `product.deliveryTime.name`, `product.deliveryTime.translation.customFields`, COALESCE(`product.deliveryTime.translation.customFields`,`product.deliveryTime.translation.customFields`) as `product.deliveryTime.customFields`, `product.deliveryTime.translation.createdAt`, `product.deliveryTime.translation.updatedAt`, `product.deliveryTime.translation.deliveryTimeId`, `product.deliveryTime.translation.languageId`, `product.translation.metaDescription`, `product.parent.translation.metaDescription`, COALESCE(`product.translation.metaDescription`,`product.parent.translation.metaDescription`,`product.translation.metaDescription`) as `product.metaDescription`, `product.translation.name`, `product.parent.translation.name`, COALESCE(`product.translation.name`,`product.parent.translation.name`,`product.translation.name`) as `product.name`, `product.translation.keywords`, `product.parent.translation.keywords`, COALESCE(`product.translation.keywords`,`product.parent.translation.keywords`,`product.translation.keywords`) as `product.keywords`, `product.translation.description`, `product.parent.translation.description`, COALESCE(`product.translation.description`,`product.parent.translation.description`,`product.translation.description`) as `product.description`, `product.translation.metaTitle`, `product.parent.translation.metaTitle`, COALESCE(`product.translation.metaTitle`,`product.parent.translation.metaTitle`,`product.translation.metaTitle`) as `product.metaTitle`, `product.translation.packUnit`, `product.parent.translation.packUnit`, COALESCE(`product.translation.packUnit`,`product.parent.translation.packUnit`,`product.translation.packUnit`) as `product.packUnit`, `product.translation.packUnitPlural`, `product.parent.translation.packUnitPlural`, COALESCE(`product.translation.packUnitPlural`,`product.parent.translation.packUnitPlural`,`product.translation.packUnitPlural`) as `product.packUnitPlural`, `product.translation.customSearchKeywords`, `product.parent.translation.customSearchKeywords`, COALESCE(`product.translation.customSearchKeywords`,`product.parent.translation.customSearchKeywords`,`product.translation.customSearchKeywords`) as `product.customSearchKeywords`, `product.translation.slotConfig`, `product.parent.translation.slotConfig`, COALESCE(`product.translation.slotConfig`,`product.parent.translation.slotConfig`,`product.translation.slotConfig`) as `product.slotConfig`, `product.translation.customFields`, `product.parent.translation.customFields`, COALESCE(`product.translation.customFields`,`product.parent.translation.customFields`,`product.translation.customFields`) as `product.customFields`, `product.translation.createdAt`, `product.parent.translation.createdAt`, `product.translation.updatedAt`, `product.parent.translation.updatedAt`, `product.translation.productId`, `product.parent.translation.productId`, `product.translation.languageId`, `product.parent.translation.languageId`, `product.translation.productVersionId`, `product.parent.translation.productVersionId` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN (SELECT `product.translation`.product_id, `product.translation`.product_version_id, `product.translation`.meta_description as `product.translation.metaDescription`, `product.translation`.name as `product.translation.name`, `product.translation`.keywords as `product.translation.keywords`, `product.translation`.description as `product.translation.description`, `product.translation`.meta_title as `product.translation.metaTitle`, `product.translation`.pack_unit as `product.translation.packUnit`, `product.translation`.pack_unit_plural as `product.translation.packUnitPlural`, `product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`, `product.translation`.slot_config as `product.translation.slotConfig`, `product.translation`.custom_fields as `product.translation.customFields`, `product.translation`.created_at as `product.translation.createdAt`, `product.translation`.updated_at as `product.translation.updatedAt`, `product.translation`.product_id as `product.translation.productId`, `product.translation`.language_id as `product.translation.languageId`, `product.translation`.product_version_id as `product.translation.productVersionId` FROM `product_translation` `product.translation` WHERE `product.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id` AND `product.product_translation`.product_version_id = `product`.version_id LEFT JOIN (SELECT `product.parent.translation`.product_id, `product.parent.translation`.product_version_id, `product.parent.translation`.meta_description as `product.parent.translation.metaDescription`, `product.parent.translation`.name as `product.parent.translation.name`, `product.parent.translation`.keywords as `product.parent.translation.keywords`, `product.parent.translation`.description as `product.parent.translation.description`, `product.parent.translation`.meta_title as `product.parent.translation.metaTitle`, `product.parent.translation`.pack_unit as `product.parent.translation.packUnit`, `product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`, `product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`, `product.parent.translation`.slot_config as `product.parent.translation.slotConfig`, `product.parent.translation`.custom_fields as `product.parent.translation.customFields`, `product.parent.translation`.created_at as `product.parent.translation.createdAt`, `product.parent.translation`.updated_at as `product.parent.translation.updatedAt`, `product.parent.translation`.product_id as `product.parent.translation.productId`, `product.parent.translation`.language_id as `product.parent.translation.languageId`, `product.parent.translation`.product_version_id as `product.parent.translation.productVersionId` FROM `product_translation` `product.parent.translation` WHERE `product.parent.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id` AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id` LEFT JOIN `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_id` LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id` AND `product`.`version_id` = `product.cover`.`version_id` LEFT JOIN `unit` `product.unit` ON `product`.`unit` = `product.unit`.`id` LEFT JOIN `delivery_time` `product.deliveryTime` ON `product`.`deliveryTime` = `product.deliveryTime`.`id` LEFT JOIN `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`id` LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id` LEFT JOIN (SELECT `product.cover.media.translation`.media_id, `product.cover.media.translation`.title as `product.cover.media.translation.title`, `product.cover.media.translation`.alt as `product.cover.media.translation.alt`, `product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`, `product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`, `product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`, `product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`, `product.cover.media.translation`.language_id as `product.cover.media.translation.languageId` FROM `media_translation` `product.cover.media.translation` WHERE `product.cover.media.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id` LEFT JOIN (SELECT `product.unit.translation`.unit_id, `product.unit.translation`.short_code as `product.unit.translation.shortCode`, `product.unit.translation`.name as `product.unit.translation.name`, `product.unit.translation`.custom_fields as `product.unit.translation.customFields`, `product.unit.translation`.created_at as `product.unit.translation.createdAt`, `product.unit.translation`.updated_at as `product.unit.translation.updatedAt`, `product.unit.translation`.unit_id as `product.unit.translation.unitId`, `product.unit.translation`.language_id as `product.unit.translation.languageId` FROM `unit_translation` `product.unit.translation` WHERE `product.unit.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.unit.unit_translation` ON `product.unit.unit_translation`.`unit_id` = `product.unit`.`id` LEFT JOIN (SELECT `product.deliveryTime.translation`.delivery_time_id, `product.deliveryTime.translation`.name as `product.deliveryTime.translation.name`, `product.deliveryTime.translation`.custom_fields as `product.deliveryTime.translation.customFields`, `product.deliveryTime.translation`.created_at as `product.deliveryTime.translation.createdAt`, `product.deliveryTime.translation`.updated_at as `product.deliveryTime.translation.updatedAt`, `product.deliveryTime.translation`.delivery_time_id as `product.deliveryTime.translation.deliveryTimeId`, `product.deliveryTime.translation`.language_id as `product.deliveryTime.translation.languageId` FROM `delivery_time_translation` `product.deliveryTime.translation` WHERE `product.deliveryTime.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.deliveryTime.delivery_time_translation` ON `product.deliveryTime.delivery_time_translation`.`delivery_time_id` = `product.deliveryTime`.`id` WHERE (`product`.`version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425) AND (`product`.`id` IN (0x1AC13C0695234DB1962D5899CC4EA096, 0x12399480A05A4762B2F1F9ADE33FE485));
array:36 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 316)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetch (line 148)"
4 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 93)"
5 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::read (line 195)"
6 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::read (line 133)"
7 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 147)"
8 => "Shopware\Core\Content\Cms\DataResolver\CmsSlotsDataResolver::fetchByCriteria (line 85)"
9 => "Shopware\Core\Content\Cms\DataResolver\CmsSlotsDataResolver::resolve (line 104)"
10 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::loadSlotData (line 94)"
11 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::load (line 102)"
12 => "Shopware\Core\Content\Category\SalesChannel\CategoryRoute::load (line 103)"
13 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 350)"
14 => "Shopware\Core\System\SystemConfig\SystemConfigService::trace (line 44)"
15 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 120)"
16 => "Shopware\Core\Framework\Adapter\Translation\Translator::trace (line 45)"
17 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 46)"
18 => "Shopware\Core\Framework\Adapter\Cache\CacheTagCollection::trace (line 46)"
19 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::trace (line 41)"
20 => "Shopware\Storefront\Framework\Cache\CacheTracer::Shopware\Storefront\Framework\Cache\{closure} (line 59)"
21 => "Shopware\Storefront\Theme\ThemeConfigValueAccessor::trace (line 42)"
22 => "Shopware\Storefront\Framework\Cache\CacheTracer::trace (line 104)"
23 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 72)"
24 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
25 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 109)"
26 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 59)"
27 => "Shopware\Core\Profiling\Profiler::trace (line 112)"
28 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::load (line 66)"
29 => "Shopware\Storefront\Page\Navigation\NavigationPageLoader::load (line 48)"
30 => "Shopware\Storefront\Controller\NavigationController::home (line 163)"
31 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
32 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
33 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
34 => "Shopware\Core\HttpKernel::doHandle (line 81)"
35 => "Shopware\Core\HttpKernel::handle (line 75)"
]
|
31 |
1.03 ms |
SELECT `product_price`.`id` as `product_price.id`, `product_price`.`version_id` as `product_price.versionId`, `product_price`.`product_id` as `product_price.productId`, `product_price`.`product_version_id` as `product_price.productVersionId`, `product_price`.`rule_id` as `product_price.ruleId`, `product_price`.`price` as `product_price.price`, `product_price`.`quantity_start` as `product_price.quantityStart`, `product_price`.`quantity_end` as `product_price.quantityEnd`, `product_price`.`custom_fields` as `product_price.customFields`, `product_price`.`created_at` as `product_price.createdAt`, `product_price`.`updated_at` as `product_price.updatedAt` FROM `product_price` WHERE (`product_price`.`version_id` = :version) AND ((`product_price`.`product_id` IN (:param_89f3f906ad1042128ee31db86f22c508)))
SELECT `product_price`.`id` as `product_price.id`, `product_price`.`version_id` as `product_price.versionId`, `product_price`.`product_id` as `product_price.productId`, `product_price`.`product_version_id` as `product_price.productVersionId`, `product_price`.`rule_id` as `product_price.ruleId`, `product_price`.`price` as `product_price.price`, `product_price`.`quantity_start` as `product_price.quantityStart`, `product_price`.`quantity_end` as `product_price.quantityEnd`, `product_price`.`custom_fields` as `product_price.customFields`, `product_price`.`created_at` as `product_price.createdAt`, `product_price`.`updated_at` as `product_price.updatedAt` FROM `product_price` WHERE (`product_price`.`version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425) AND ((`product_price`.`product_id` IN (0x12399480A05A4762B2F1F9ADE33FE485, 0x1AC13C0695234DB1962D5899CC4EA096)));
array:40 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 316)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetch (line 148)"
4 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 503)"
5 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::loadOneToManyWithoutPagination (line 438)"
6 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::loadOneToMany (line 1210)"
7 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetchAssociations (line 152)"
8 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 93)"
9 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::read (line 195)"
10 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::read (line 133)"
11 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 147)"
12 => "Shopware\Core\Content\Cms\DataResolver\CmsSlotsDataResolver::fetchByCriteria (line 85)"
13 => "Shopware\Core\Content\Cms\DataResolver\CmsSlotsDataResolver::resolve (line 104)"
14 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::loadSlotData (line 94)"
15 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::load (line 102)"
16 => "Shopware\Core\Content\Category\SalesChannel\CategoryRoute::load (line 103)"
17 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 350)"
18 => "Shopware\Core\System\SystemConfig\SystemConfigService::trace (line 44)"
19 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 120)"
20 => "Shopware\Core\Framework\Adapter\Translation\Translator::trace (line 45)"
21 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 46)"
22 => "Shopware\Core\Framework\Adapter\Cache\CacheTagCollection::trace (line 46)"
23 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::trace (line 41)"
24 => "Shopware\Storefront\Framework\Cache\CacheTracer::Shopware\Storefront\Framework\Cache\{closure} (line 59)"
25 => "Shopware\Storefront\Theme\ThemeConfigValueAccessor::trace (line 42)"
26 => "Shopware\Storefront\Framework\Cache\CacheTracer::trace (line 104)"
27 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 72)"
28 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
29 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 109)"
30 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 59)"
31 => "Shopware\Core\Profiling\Profiler::trace (line 112)"
32 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::load (line 66)"
33 => "Shopware\Storefront\Page\Navigation\NavigationPageLoader::load (line 48)"
34 => "Shopware\Storefront\Controller\NavigationController::home (line 163)"
35 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
36 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
37 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
38 => "Shopware\Core\HttpKernel::doHandle (line 81)"
39 => "Shopware\Core\HttpKernel::handle (line 75)"
]
|
32 |
0.67 ms |
SELECT * FROM sales_channel_api_context WHERE (sales_channel_id = :salesChannelId) AND (token = :token) LIMIT 1
SELECT * FROM sales_channel_api_context WHERE (sales_channel_id = 0x620A2217F7474E619CB00AD39E804CCA) AND (token = 'FwsxT47353Zxmr7lp0KSfYcVNkg5VpYR') LIMIT 1;
array:44 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 165)"
3 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextPersister::load (line 69)"
4 => "Bodymed\Webshop\Core\Subscriber\ProductSubscriber::addCustomerProductFeatureExtension (line 270)"
5 => "Symfony\Component\EventDispatcher\EventDispatcher::Symfony\Component\EventDispatcher\{closure} (line 230)"
6 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
7 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
8 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
9 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
10 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
11 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 33)"
12 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
13 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 208)"
14 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::read (line 133)"
15 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 147)"
16 => "Shopware\Core\Content\Cms\DataResolver\CmsSlotsDataResolver::fetchByCriteria (line 85)"
17 => "Shopware\Core\Content\Cms\DataResolver\CmsSlotsDataResolver::resolve (line 104)"
18 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::loadSlotData (line 94)"
19 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::load (line 102)"
20 => "Shopware\Core\Content\Category\SalesChannel\CategoryRoute::load (line 103)"
21 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 350)"
22 => "Shopware\Core\System\SystemConfig\SystemConfigService::trace (line 44)"
23 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 120)"
24 => "Shopware\Core\Framework\Adapter\Translation\Translator::trace (line 45)"
25 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 46)"
26 => "Shopware\Core\Framework\Adapter\Cache\CacheTagCollection::trace (line 46)"
27 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::trace (line 41)"
28 => "Shopware\Storefront\Framework\Cache\CacheTracer::Shopware\Storefront\Framework\Cache\{closure} (line 59)"
29 => "Shopware\Storefront\Theme\ThemeConfigValueAccessor::trace (line 42)"
30 => "Shopware\Storefront\Framework\Cache\CacheTracer::trace (line 104)"
31 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 72)"
32 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
33 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 109)"
34 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 59)"
35 => "Shopware\Core\Profiling\Profiler::trace (line 112)"
36 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::load (line 66)"
37 => "Shopware\Storefront\Page\Navigation\NavigationPageLoader::load (line 48)"
38 => "Shopware\Storefront\Controller\NavigationController::home (line 163)"
39 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
40 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
41 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
42 => "Shopware\Core\HttpKernel::doHandle (line 81)"
43 => "Shopware\Core\HttpKernel::handle (line 75)"
]
|
33 |
1.14 ms |
SELECT `unit`.`id` as `unit.id`, `unit`.`created_at` as `unit.createdAt`, `unit`.`updated_at` as `unit.updatedAt`, `unit.translation.shortCode`, COALESCE(`unit.translation.shortCode`,`unit.translation.shortCode`) as `unit.shortCode`, `unit.translation.name`, COALESCE(`unit.translation.name`,`unit.translation.name`) as `unit.name`, `unit.translation.customFields`, COALESCE(`unit.translation.customFields`,`unit.translation.customFields`) as `unit.customFields`, `unit.translation.createdAt`, `unit.translation.updatedAt`, `unit.translation.unitId`, `unit.translation.languageId` FROM `unit` LEFT JOIN (SELECT `unit.translation`.unit_id, `unit.translation`.short_code as `unit.translation.shortCode`, `unit.translation`.name as `unit.translation.name`, `unit.translation`.custom_fields as `unit.translation.customFields`, `unit.translation`.created_at as `unit.translation.createdAt`, `unit.translation`.updated_at as `unit.translation.updatedAt`, `unit.translation`.unit_id as `unit.translation.unitId`, `unit.translation`.language_id as `unit.translation.languageId` FROM `unit_translation` `unit.translation` WHERE `unit.translation`.language_id = :languageId) `unit.unit_translation` ON `unit.unit_translation`.`unit_id` = `unit`.`id`
SELECT `unit`.`id` as `unit.id`, `unit`.`created_at` as `unit.createdAt`, `unit`.`updated_at` as `unit.updatedAt`, `unit.translation.shortCode`, COALESCE(`unit.translation.shortCode`,`unit.translation.shortCode`) as `unit.shortCode`, `unit.translation.name`, COALESCE(`unit.translation.name`,`unit.translation.name`) as `unit.name`, `unit.translation.customFields`, COALESCE(`unit.translation.customFields`,`unit.translation.customFields`) as `unit.customFields`, `unit.translation.createdAt`, `unit.translation.updatedAt`, `unit.translation.unitId`, `unit.translation.languageId` FROM `unit` LEFT JOIN (SELECT `unit.translation`.unit_id, `unit.translation`.short_code as `unit.translation.shortCode`, `unit.translation`.name as `unit.translation.name`, `unit.translation`.custom_fields as `unit.translation.customFields`, `unit.translation`.created_at as `unit.translation.createdAt`, `unit.translation`.updated_at as `unit.translation.updatedAt`, `unit.translation`.unit_id as `unit.translation.unitId`, `unit.translation`.language_id as `unit.translation.languageId` FROM `unit_translation` `unit.translation` WHERE `unit.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `unit.unit_translation` ON `unit.unit_translation`.`unit_id` = `unit`.`id`;
array:57 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 316)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetch (line 148)"
4 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 93)"
5 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::read (line 257)"
6 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::read (line 286)"
7 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::_search (line 110)"
8 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::Shopware\Core\Framework\DataAbstractionLayer\{closure} (line 59)"
9 => "Shopware\Core\Profiling\Profiler::trace (line 111)"
10 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::search (line 51)"
11 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepositoryForwardCompatibilityDecorator::search (line 306)"
12 => "Shopware\Core\Content\Product\SalesChannel\Price\ProductPriceCalculator::getUnits (line 50)"
13 => "Shopware\Core\Content\Product\SalesChannel\Price\ProductPriceCalculator::calculate (line 77)"
14 => "MadBodymedBundle\Core\Content\Product\SalesChannel\Price\BundleProductPriceCalculator::calculate (line 84)"
15 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\CustomProductPriceCalculator::calculate (line 172)"
16 => "Shopware\Core\Content\Product\Subscriber\ProductSubscriber::productSalesChannelLoaded (line 95)"
17 => "Shopware\Core\Content\Product\Subscriber\ProductSubscriber::salesChannelLoaded (line 270)"
18 => "Symfony\Component\EventDispatcher\EventDispatcher::Symfony\Component\EventDispatcher\{closure} (line 230)"
19 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
20 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
21 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
22 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
23 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
24 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 33)"
25 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
26 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 208)"
27 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::read (line 133)"
28 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 147)"
29 => "Shopware\Core\Content\Cms\DataResolver\CmsSlotsDataResolver::fetchByCriteria (line 85)"
30 => "Shopware\Core\Content\Cms\DataResolver\CmsSlotsDataResolver::resolve (line 104)"
31 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::loadSlotData (line 94)"
32 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::load (line 102)"
33 => "Shopware\Core\Content\Category\SalesChannel\CategoryRoute::load (line 103)"
34 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 350)"
35 => "Shopware\Core\System\SystemConfig\SystemConfigService::trace (line 44)"
36 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 120)"
37 => "Shopware\Core\Framework\Adapter\Translation\Translator::trace (line 45)"
38 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 46)"
39 => "Shopware\Core\Framework\Adapter\Cache\CacheTagCollection::trace (line 46)"
40 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::trace (line 41)"
41 => "Shopware\Storefront\Framework\Cache\CacheTracer::Shopware\Storefront\Framework\Cache\{closure} (line 59)"
42 => "Shopware\Storefront\Theme\ThemeConfigValueAccessor::trace (line 42)"
43 => "Shopware\Storefront\Framework\Cache\CacheTracer::trace (line 104)"
44 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 72)"
45 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
46 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 109)"
47 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 59)"
48 => "Shopware\Core\Profiling\Profiler::trace (line 112)"
49 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::load (line 66)"
50 => "Shopware\Storefront\Page\Navigation\NavigationPageLoader::load (line 48)"
51 => "Shopware\Storefront\Controller\NavigationController::home (line 163)"
52 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
53 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
54 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
55 => "Shopware\Core\HttpKernel::doHandle (line 81)"
56 => "Shopware\Core\HttpKernel::handle (line 75)"
]
|
34 |
1.37 ms |
SELECT `unit`.`id` as `unit.id`, `unit`.`created_at` as `unit.createdAt`, `unit`.`updated_at` as `unit.updatedAt`, `unit.translation.shortCode`, COALESCE(`unit.translation.shortCode`,`unit.translation.shortCode`) as `unit.shortCode`, `unit.translation.name`, COALESCE(`unit.translation.name`,`unit.translation.name`) as `unit.name`, `unit.translation.customFields`, COALESCE(`unit.translation.customFields`,`unit.translation.customFields`) as `unit.customFields`, `unit.translation.createdAt`, `unit.translation.updatedAt`, `unit.translation.unitId`, `unit.translation.languageId` FROM `unit` LEFT JOIN (SELECT `unit.translation`.unit_id, `unit.translation`.short_code as `unit.translation.shortCode`, `unit.translation`.name as `unit.translation.name`, `unit.translation`.custom_fields as `unit.translation.customFields`, `unit.translation`.created_at as `unit.translation.createdAt`, `unit.translation`.updated_at as `unit.translation.updatedAt`, `unit.translation`.unit_id as `unit.translation.unitId`, `unit.translation`.language_id as `unit.translation.languageId` FROM `unit_translation` `unit.translation` WHERE `unit.translation`.language_id = :languageId) `unit.unit_translation` ON `unit.unit_translation`.`unit_id` = `unit`.`id`
SELECT `unit`.`id` as `unit.id`, `unit`.`created_at` as `unit.createdAt`, `unit`.`updated_at` as `unit.updatedAt`, `unit.translation.shortCode`, COALESCE(`unit.translation.shortCode`,`unit.translation.shortCode`) as `unit.shortCode`, `unit.translation.name`, COALESCE(`unit.translation.name`,`unit.translation.name`) as `unit.name`, `unit.translation.customFields`, COALESCE(`unit.translation.customFields`,`unit.translation.customFields`) as `unit.customFields`, `unit.translation.createdAt`, `unit.translation.updatedAt`, `unit.translation.unitId`, `unit.translation.languageId` FROM `unit` LEFT JOIN (SELECT `unit.translation`.unit_id, `unit.translation`.short_code as `unit.translation.shortCode`, `unit.translation`.name as `unit.translation.name`, `unit.translation`.custom_fields as `unit.translation.customFields`, `unit.translation`.created_at as `unit.translation.createdAt`, `unit.translation`.updated_at as `unit.translation.updatedAt`, `unit.translation`.unit_id as `unit.translation.unitId`, `unit.translation`.language_id as `unit.translation.languageId` FROM `unit_translation` `unit.translation` WHERE `unit.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `unit.unit_translation` ON `unit.unit_translation`.`unit_id` = `unit`.`id`;
array:56 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 316)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetch (line 148)"
4 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 93)"
5 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::read (line 257)"
6 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::read (line 286)"
7 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::_search (line 110)"
8 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::Shopware\Core\Framework\DataAbstractionLayer\{closure} (line 59)"
9 => "Shopware\Core\Profiling\Profiler::trace (line 111)"
10 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::search (line 51)"
11 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepositoryForwardCompatibilityDecorator::search (line 311)"
12 => "MadBodymedBundle\Core\Content\Product\SalesChannel\Price\BundleProductPriceCalculator::getUnits (line 79)"
13 => "MadBodymedBundle\Core\Content\Product\SalesChannel\Price\BundleProductPriceCalculator::calculate (line 84)"
14 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\CustomProductPriceCalculator::calculate (line 172)"
15 => "Shopware\Core\Content\Product\Subscriber\ProductSubscriber::productSalesChannelLoaded (line 95)"
16 => "Shopware\Core\Content\Product\Subscriber\ProductSubscriber::salesChannelLoaded (line 270)"
17 => "Symfony\Component\EventDispatcher\EventDispatcher::Symfony\Component\EventDispatcher\{closure} (line 230)"
18 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
19 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
20 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
21 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
22 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
23 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 33)"
24 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
25 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 208)"
26 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::read (line 133)"
27 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 147)"
28 => "Shopware\Core\Content\Cms\DataResolver\CmsSlotsDataResolver::fetchByCriteria (line 85)"
29 => "Shopware\Core\Content\Cms\DataResolver\CmsSlotsDataResolver::resolve (line 104)"
30 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::loadSlotData (line 94)"
31 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::load (line 102)"
32 => "Shopware\Core\Content\Category\SalesChannel\CategoryRoute::load (line 103)"
33 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 350)"
34 => "Shopware\Core\System\SystemConfig\SystemConfigService::trace (line 44)"
35 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 120)"
36 => "Shopware\Core\Framework\Adapter\Translation\Translator::trace (line 45)"
37 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 46)"
38 => "Shopware\Core\Framework\Adapter\Cache\CacheTagCollection::trace (line 46)"
39 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::trace (line 41)"
40 => "Shopware\Storefront\Framework\Cache\CacheTracer::Shopware\Storefront\Framework\Cache\{closure} (line 59)"
41 => "Shopware\Storefront\Theme\ThemeConfigValueAccessor::trace (line 42)"
42 => "Shopware\Storefront\Framework\Cache\CacheTracer::trace (line 104)"
43 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 72)"
44 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
45 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 109)"
46 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 59)"
47 => "Shopware\Core\Profiling\Profiler::trace (line 112)"
48 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::load (line 66)"
49 => "Shopware\Storefront\Page\Navigation\NavigationPageLoader::load (line 48)"
50 => "Shopware\Storefront\Controller\NavigationController::home (line 163)"
51 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
52 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
53 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
54 => "Shopware\Core\HttpKernel::doHandle (line 81)"
55 => "Shopware\Core\HttpKernel::handle (line 75)"
]
|
35 |
5.79 ms |
SELECT `product`.`id`, `product`.`product_number`, `product`.`auto_increment` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN (SELECT `product.translation`.product_id, `product.translation`.product_version_id, `product.translation`.meta_description as `product.translation.metaDescription`, `product.translation`.name as `product.translation.name`, `product.translation`.keywords as `product.translation.keywords`, `product.translation`.description as `product.translation.description`, `product.translation`.meta_title as `product.translation.metaTitle`, `product.translation`.pack_unit as `product.translation.packUnit`, `product.translation`.pack_unit_plural as `product.translation.packUnitPlural`, `product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`, `product.translation`.slot_config as `product.translation.slotConfig`, `product.translation`.custom_fields as `product.translation.customFields`, `product.translation`.created_at as `product.translation.createdAt`, `product.translation`.updated_at as `product.translation.updatedAt`, `product.translation`.product_id as `product.translation.productId`, `product.translation`.language_id as `product.translation.languageId`, `product.translation`.product_version_id as `product.translation.productVersionId` FROM `product_translation` `product.translation` WHERE `product.translation`.language_id = :languageId) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id` AND `product.product_translation`.product_version_id = `product`.version_id LEFT JOIN (SELECT `product.parent.translation`.product_id, `product.parent.translation`.product_version_id, `product.parent.translation`.meta_description as `product.parent.translation.metaDescription`, `product.parent.translation`.name as `product.parent.translation.name`, `product.parent.translation`.keywords as `product.parent.translation.keywords`, `product.parent.translation`.description as `product.parent.translation.description`, `product.parent.translation`.meta_title as `product.parent.translation.metaTitle`, `product.parent.translation`.pack_unit as `product.parent.translation.packUnit`, `product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`, `product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`, `product.parent.translation`.slot_config as `product.parent.translation.slotConfig`, `product.parent.translation`.custom_fields as `product.parent.translation.customFields`, `product.parent.translation`.created_at as `product.parent.translation.createdAt`, `product.parent.translation`.updated_at as `product.parent.translation.updatedAt`, `product.parent.translation`.product_id as `product.parent.translation.productId`, `product.parent.translation`.language_id as `product.parent.translation.languageId`, `product.parent.translation`.product_version_id as `product.parent.translation.productVersionId` FROM `product_translation` `product.parent.translation` WHERE `product.parent.translation`.language_id = :languageId) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id` AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id LEFT JOIN (SELECT `product.visibilities`.`product_id` as id, `product.visibilities`.`product_version_id` FROM `product_visibility` `product.visibilities` WHERE ((`product.visibilities`.`visibility` >= :param_eefa2e3b87a043d687d73e85da4b2697) AND `product.visibilities`.`sales_channel_id` = :param_0d5b7fe58abc49d9965b297d22fc7107)) `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_ca8525fcb3e24a5a8b61b96fc79998f9) AND `product.visibilities`.`sales_channel_id` = :param_add2ad23cb7345608624d612fc7cbb2e)) `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_c3a14d96abd841a79c361490d3bfd9f0 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_57d60a5d5c7248daa730362e1d5a9577 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_b7272e42e7bb41afaecc792477ea1800) 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_ce021072d9844a8fb6724141504c2187 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_688c9b52155d4f6fb349d21317004d8d) AND (`product.visibilities_1`.id IS NOT NULL AND `product.visibilities_1`.id IS NOT NULL AND IFNULL(`product`.`active`, `product.parent`.`active`) = :param_a6650a735fe7400c9badbddf19bf511e))) AND (`product.visibilities_2`.id IS NOT NULL AND `product.visibilities_2`.id IS NOT NULL AND IFNULL(`product`.`active`, `product.parent`.`active`) = :param_a616a7f4fccb426b8b7b4e7672fe24d7))) 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_eefa2e3b87a043d687d73e85da4b2697
)
AND `product.visibilities`.`sales_channel_id` = : param_0d5b7fe58abc49d9965b297d22fc7107
)
) `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_ca8525fcb3e24a5a8b61b96fc79998f9
)
AND `product.visibilities`.`sales_channel_id` = : param_add2ad23cb7345608624d612fc7cbb2e
)
) `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_c3a14d96abd841a79c361490d3bfd9f0
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_57d60a5d5c7248daa730362e1d5a9577
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_b7272e42e7bb41afaecc792477ea1800
)
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_ce021072d9844a8fb6724141504c2187
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_688c9b52155d4f6fb349d21317004d8d
)
AND (
`product.visibilities_1`.id IS NOT NULL
AND `product.visibilities_1`.id IS NOT NULL
AND IFNULL(
`product`.`active`, `product.parent`.`active`
) = : param_a6650a735fe7400c9badbddf19bf511e
)
)
)
AND (
`product.visibilities_2`.id IS NOT NULL
AND `product.visibilities_2`.id IS NOT NULL
AND IFNULL(
`product`.`active`, `product.parent`.`active`
) = : param_a616a7f4fccb426b8b7b4e7672fe24d7
)
)
)
AND (
`product`.`id` IN (: ids)
)
GROUP BY
`product`.`id`
SELECT `product`.`id`, `product`.`product_number`, `product`.`auto_increment` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN (SELECT `product.translation`.product_id, `product.translation`.product_version_id, `product.translation`.meta_description as `product.translation.metaDescription`, `product.translation`.name as `product.translation.name`, `product.translation`.keywords as `product.translation.keywords`, `product.translation`.description as `product.translation.description`, `product.translation`.meta_title as `product.translation.metaTitle`, `product.translation`.pack_unit as `product.translation.packUnit`, `product.translation`.pack_unit_plural as `product.translation.packUnitPlural`, `product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`, `product.translation`.slot_config as `product.translation.slotConfig`, `product.translation`.custom_fields as `product.translation.customFields`, `product.translation`.created_at as `product.translation.createdAt`, `product.translation`.updated_at as `product.translation.updatedAt`, `product.translation`.product_id as `product.translation.productId`, `product.translation`.language_id as `product.translation.languageId`, `product.translation`.product_version_id as `product.translation.productVersionId` FROM `product_translation` `product.translation` WHERE `product.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id` AND `product.product_translation`.product_version_id = `product`.version_id LEFT JOIN (SELECT `product.parent.translation`.product_id, `product.parent.translation`.product_version_id, `product.parent.translation`.meta_description as `product.parent.translation.metaDescription`, `product.parent.translation`.name as `product.parent.translation.name`, `product.parent.translation`.keywords as `product.parent.translation.keywords`, `product.parent.translation`.description as `product.parent.translation.description`, `product.parent.translation`.meta_title as `product.parent.translation.metaTitle`, `product.parent.translation`.pack_unit as `product.parent.translation.packUnit`, `product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`, `product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`, `product.parent.translation`.slot_config as `product.parent.translation.slotConfig`, `product.parent.translation`.custom_fields as `product.parent.translation.customFields`, `product.parent.translation`.created_at as `product.parent.translation.createdAt`, `product.parent.translation`.updated_at as `product.parent.translation.updatedAt`, `product.parent.translation`.product_id as `product.parent.translation.productId`, `product.parent.translation`.language_id as `product.parent.translation.languageId`, `product.parent.translation`.product_version_id as `product.parent.translation.productVersionId` FROM `product_translation` `product.parent.translation` WHERE `product.parent.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id` AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id LEFT JOIN (SELECT `product.visibilities`.`product_id` as id, `product.visibilities`.`product_version_id` FROM `product_visibility` `product.visibilities` WHERE ((`product.visibilities`.`visibility` >= 30) AND `product.visibilities`.`sales_channel_id` = 0x620A2217F7474E619CB00AD39E804CCA)) `product.visibilities_1` ON `product`.`visibilities` = `product.visibilities_1`.`id` AND `product`.`version_id` = `product.visibilities_1`.`product_version_id` LEFT JOIN (SELECT `product.visibilities`.`product_id` as id, `product.visibilities`.`product_version_id` FROM `product_visibility` `product.visibilities` WHERE ((`product.visibilities`.`visibility` >= 10) AND `product.visibilities`.`sales_channel_id` = 0x620A2217F7474E619CB00AD39E804CCA)) `product.visibilities_2` ON `product`.`visibilities` = `product.visibilities_2`.`id` AND `product`.`version_id` = `product.visibilities_2`.`product_version_id` WHERE (`product`.`version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425) AND (((COALESCE(IF(JSON_TYPE(JSON_EXTRACT(`product.translation.customFields`, '$.mad_usergroups_enable')) != "NULL", CONVERT(JSON_UNQUOTE(JSON_EXTRACT(`product.translation.customFields`, '$.mad_usergroups_enable')) USING "utf8mb4") COLLATE utf8mb4_unicode_ci, NULL),IF(JSON_TYPE(JSON_EXTRACT(`product.parent.translation.customFields`, '$.mad_usergroups_enable')) != "NULL", CONVERT(JSON_UNQUOTE(JSON_EXTRACT(`product.parent.translation.customFields`, '$.mad_usergroups_enable')) USING "utf8mb4") COLLATE utf8mb4_unicode_ci, NULL)) LIKE '%c28421f99edc4f26b720cd6b19ffa899%' OR ((COALESCE(IF(JSON_TYPE(JSON_EXTRACT(`product.translation.customFields`, '$.mad_tags_enable')) != "NULL", CONVERT(JSON_UNQUOTE(JSON_EXTRACT(`product.translation.customFields`, '$.mad_tags_enable')) USING "utf8mb4") COLLATE utf8mb4_unicode_ci, NULL),IF(JSON_TYPE(JSON_EXTRACT(`product.parent.translation.customFields`, '$.mad_tags_enable')) != "NULL", CONVERT(JSON_UNQUOTE(JSON_EXTRACT(`product.parent.translation.customFields`, '$.mad_tags_enable')) USING "utf8mb4") COLLATE utf8mb4_unicode_ci, NULL)) <=> NULL OR COALESCE(IF(JSON_TYPE(JSON_EXTRACT(`product.translation.customFields`, '$.mad_tags_enable')) != "NULL", CONVERT(JSON_UNQUOTE(JSON_EXTRACT(`product.translation.customFields`, '$.mad_tags_enable')) USING "utf8mb4") COLLATE utf8mb4_unicode_ci, NULL),IF(JSON_TYPE(JSON_EXTRACT(`product.parent.translation.customFields`, '$.mad_tags_enable')) != "NULL", CONVERT(JSON_UNQUOTE(JSON_EXTRACT(`product.parent.translation.customFields`, '$.mad_tags_enable')) USING "utf8mb4") COLLATE utf8mb4_unicode_ci, NULL)) = '[]') AND (COALESCE(IF(JSON_TYPE(JSON_EXTRACT(`product.translation.customFields`, '$.mad_usergroups_enable')) != "NULL", CONVERT(JSON_UNQUOTE(JSON_EXTRACT(`product.translation.customFields`, '$.mad_usergroups_enable')) USING "utf8mb4") COLLATE utf8mb4_unicode_ci, NULL),IF(JSON_TYPE(JSON_EXTRACT(`product.parent.translation.customFields`, '$.mad_usergroups_enable')) != "NULL", CONVERT(JSON_UNQUOTE(JSON_EXTRACT(`product.parent.translation.customFields`, '$.mad_usergroups_enable')) USING "utf8mb4") COLLATE utf8mb4_unicode_ci, NULL)) <=> NULL OR COALESCE(IF(JSON_TYPE(JSON_EXTRACT(`product.translation.customFields`, '$.mad_usergroups_enable')) != "NULL", CONVERT(JSON_UNQUOTE(JSON_EXTRACT(`product.translation.customFields`, '$.mad_usergroups_enable')) USING "utf8mb4") COLLATE utf8mb4_unicode_ci, NULL),IF(JSON_TYPE(JSON_EXTRACT(`product.parent.translation.customFields`, '$.mad_usergroups_enable')) != "NULL", CONVERT(JSON_UNQUOTE(JSON_EXTRACT(`product.parent.translation.customFields`, '$.mad_usergroups_enable')) USING "utf8mb4") COLLATE utf8mb4_unicode_ci, NULL)) = '[]') AND (`product.visibilities_1`.id IS NOT NULL AND `product.visibilities_1`.id IS NOT NULL AND IFNULL(`product`.`active`, `product.parent`.`active`) = 1))) AND (`product.visibilities_2`.id IS NOT NULL AND `product.visibilities_2`.id IS NOT NULL AND IFNULL(`product`.`active`, `product.parent`.`active`) = 1))) AND (`product`.`id` IN (0x03F4EF144EC44C3E822790C652F7C3F6, 0x045EBC3CFE9D4BC7B696BB205090AB9F)) GROUP BY `product`.`id`;
array:35 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 107)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntitySearcher::search (line 62)"
4 => "Shopware\Elasticsearch\Framework\DataAbstractionLayer\ElasticsearchEntitySearcher::search (line 216)"
5 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::doSearch (line 122)"
6 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 147)"
7 => "Shopware\Core\Content\Cms\DataResolver\CmsSlotsDataResolver::fetchByCriteria (line 85)"
8 => "Shopware\Core\Content\Cms\DataResolver\CmsSlotsDataResolver::resolve (line 104)"
9 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::loadSlotData (line 94)"
10 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::load (line 102)"
11 => "Shopware\Core\Content\Category\SalesChannel\CategoryRoute::load (line 103)"
12 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 350)"
13 => "Shopware\Core\System\SystemConfig\SystemConfigService::trace (line 44)"
14 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 120)"
15 => "Shopware\Core\Framework\Adapter\Translation\Translator::trace (line 45)"
16 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 46)"
17 => "Shopware\Core\Framework\Adapter\Cache\CacheTagCollection::trace (line 46)"
18 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::trace (line 41)"
19 => "Shopware\Storefront\Framework\Cache\CacheTracer::Shopware\Storefront\Framework\Cache\{closure} (line 59)"
20 => "Shopware\Storefront\Theme\ThemeConfigValueAccessor::trace (line 42)"
21 => "Shopware\Storefront\Framework\Cache\CacheTracer::trace (line 104)"
22 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 72)"
23 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
24 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 109)"
25 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 59)"
26 => "Shopware\Core\Profiling\Profiler::trace (line 112)"
27 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::load (line 66)"
28 => "Shopware\Storefront\Page\Navigation\NavigationPageLoader::load (line 48)"
29 => "Shopware\Storefront\Controller\NavigationController::home (line 163)"
30 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
31 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
32 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
33 => "Shopware\Core\HttpKernel::doHandle (line 81)"
34 => "Shopware\Core\HttpKernel::handle (line 75)"
]
|
36 |
37.85 ms |
SELECT `product`.`id` as `product.id`, `product`.`version_id` as `product.versionId`, `product`.`parent_id` as `product.parentId`, `product`.`parent_version_id` as `product.parentVersionId`, COALESCE(`product`.`product_manufacturer_id`, `product.parent`.`product_manufacturer_id`) as `product.manufacturerId`, COALESCE(`product`.`product_manufacturer_version_id`, `product.parent`.`product_manufacturer_version_id`) as `product.productManufacturerVersionId`, COALESCE(`product`.`unit_id`, `product.parent`.`unit_id`) as `product.unitId`, COALESCE(`product`.`tax_id`, `product.parent`.`tax_id`) as `product.taxId`, COALESCE(`product`.`product_media_id`, `product.parent`.`product_media_id`) as `product.coverId`, COALESCE(`product`.`product_media_version_id`, `product.parent`.`product_media_version_id`) as `product.productMediaVersionId`, COALESCE(`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`) as `product.deliveryTimeId`, COALESCE(`product`.`product_feature_set_id`, `product.parent`.`product_feature_set_id`) as `product.featureSetId`, COALESCE(`product`.`canonical_product_id`, `product.parent`.`canonical_product_id`) as `product.canonicalProductId`, COALESCE(`product`.`cms_page_id`, `product.parent`.`cms_page_id`) as `product.cmsPageId`, COALESCE(`product`.`cms_page_version_id`, `product.parent`.`cms_page_version_id`) as `product.cmsPageVersionId`, `product.parent`.`price` as `product.price.inherited`, COALESCE(`product`.`price`, `product.parent`.`price`) as `product.price`, `product`.`product_number` as `product.productNumber`, `product`.`stock` as `product.stock`, COALESCE(`product`.`restock_time`, `product.parent`.`restock_time`) as `product.restockTime`, `product`.`auto_increment` as `product.autoIncrement`, COALESCE(`product`.`active`, `product.parent`.`active`) as `product.active`, `product`.`available_stock` as `product.availableStock`, `product`.`available` as `product.available`, COALESCE(`product`.`is_closeout`, `product.parent`.`is_closeout`) as `product.isCloseout`, `product`.`display_group` as `product.displayGroup`, `product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`, COALESCE(`product`.`configurator_group_config`, `product.parent`.`configurator_group_config`) as `product.configuratorGroupConfig`, COALESCE(`product`.`main_variant_id`, `product.parent`.`main_variant_id`) as `product.mainVariantId`, COALESCE(`product`.`display_parent`, `product.parent`.`display_parent`) as `product.displayParent`, `product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`, COALESCE(`product`.`variant_listing_config`, `product.parent`.`variant_listing_config`) as `product.variantListingConfig`, `product`.`variant_restrictions` as `product.variantRestrictions`, COALESCE(`product`.`manufacturer_number`, `product.parent`.`manufacturer_number`) as `product.manufacturerNumber`, COALESCE(`product`.`ean`, `product.parent`.`ean`) as `product.ean`, COALESCE(`product`.`purchase_steps`, `product.parent`.`purchase_steps`) as `product.purchaseSteps`, COALESCE(`product`.`max_purchase`, `product.parent`.`max_purchase`) as `product.maxPurchase`, COALESCE(`product`.`min_purchase`, `product.parent`.`min_purchase`) as `product.minPurchase`, COALESCE(`product`.`purchase_unit`, `product.parent`.`purchase_unit`) as `product.purchaseUnit`, COALESCE(`product`.`reference_unit`, `product.parent`.`reference_unit`) as `product.referenceUnit`, COALESCE(`product`.`shipping_free`, `product.parent`.`shipping_free`) as `product.shippingFree`, `product.parent`.`purchase_prices` as `product.purchasePrices.inherited`, COALESCE(`product`.`purchase_prices`, `product.parent`.`purchase_prices`) as `product.purchasePrices`, COALESCE(`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`) as `product.markAsTopseller`, COALESCE(`product`.`weight`, `product.parent`.`weight`) as `product.weight`, COALESCE(`product`.`width`, `product.parent`.`width`) as `product.width`, COALESCE(`product`.`height`, `product.parent`.`height`) as `product.height`, COALESCE(`product`.`length`, `product.parent`.`length`) as `product.length`, COALESCE(`product`.`release_date`, `product.parent`.`release_date`) as `product.releaseDate`, COALESCE(`product`.`rating_average`, `product.parent`.`rating_average`) as `product.ratingAverage`, `product.parent`.`category_tree` as `product.categoryTree.inherited`, COALESCE(`product`.`category_tree`, `product.parent`.`category_tree`) as `product.categoryTree`, `product.parent`.`property_ids` as `product.propertyIds.inherited`, COALESCE(`product`.`property_ids`, `product.parent`.`property_ids`) as `product.propertyIds`, `product.parent`.`option_ids` as `product.optionIds.inherited`, COALESCE(`product`.`option_ids`, `product.parent`.`option_ids`) as `product.optionIds`, `product.parent`.`stream_ids` as `product.streamIds.inherited`, COALESCE(`product`.`stream_ids`, `product.parent`.`stream_ids`) as `product.streamIds`, `product.parent`.`tag_ids` as `product.tagIds.inherited`, COALESCE(`product`.`tag_ids`, `product.parent`.`tag_ids`) as `product.tagIds`, `product.parent`.`category_ids` as `product.categoryIds.inherited`, COALESCE(`product`.`category_ids`, `product.parent`.`category_ids`) as `product.categoryIds`, `product`.`child_count` as `product.childCount`, COALESCE(`product`.`custom_field_set_selection_active`, `product.parent`.`custom_field_set_selection_active`) as `product.customFieldSetSelectionActive`, `product`.`sales` as `product.sales`, `product`.`states` as `product.states`, `product.tax`.`id` as `product.tax.id`, `product.tax`.`tax_rate` as `product.tax.taxRate`, `product.tax`.`name` as `product.tax.name`, `product.tax`.`position` as `product.tax.position`, `product.tax`.`custom_fields` as `product.tax.customFields`, `product.tax`.`created_at` as `product.tax.createdAt`, `product.tax`.`updated_at` as `product.tax.updatedAt`, `product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`, COALESCE(`product`.`cheapest_price`, `product.parent`.`cheapest_price`) as `product.cheapestPrice`, `product`.`created_at` as `product.createdAt`, `product`.`updated_at` as `product.updatedAt`, `product.bundle`.`id` as `product.bundle.id`, `product.bundle`.`product_id` as `product.bundle.productId`, `product.bundle`.`product_version_id` as `product.bundle.productVersionId`, `product.bundle`.`name` as `product.bundle.name`, `product.bundle`.`price_type` as `product.bundle.priceType`, `product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`, `product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`, `product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`, `product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`, `product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`, `product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`, `product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`, `product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`, `product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`, `product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`, `product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`, `product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`, `product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`, `product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`, `product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`, `product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`, `product.bundle`.`created_at` as `product.bundle.createdAt`, `product.bundle`.`updated_at` as `product.bundle.updatedAt`, `product.cover`.`id` as `product.cover.id`, `product.cover`.`version_id` as `product.cover.versionId`, `product.cover`.`product_id` as `product.cover.productId`, `product.cover`.`product_version_id` as `product.cover.productVersionId`, `product.cover`.`media_id` as `product.cover.mediaId`, `product.cover`.`position` as `product.cover.position`, `product.cover.media`.`id` as `product.cover.media.id`, `product.cover.media`.`user_id` as `product.cover.media.userId`, `product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`, `product.cover.media`.`mime_type` as `product.cover.media.mimeType`, `product.cover.media`.`file_extension` as `product.cover.media.fileExtension`, `product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`, `product.cover.media`.`file_name` as `product.cover.media.fileName`, `product.cover.media`.`file_size` as `product.cover.media.fileSize`, `product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`, `product.cover.media`.`meta_data` as `product.cover.media.metaData`, `product.cover.media`.`private` as `product.cover.media.private`, `product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`, `product.cover.media`.`created_at` as `product.cover.media.createdAt`, `product.cover.media`.`updated_at` as `product.cover.media.updatedAt`, `product.cover.media.translation.title`, COALESCE(`product.cover.media.translation.title`,`product.cover.media.translation.title`) as `product.cover.media.title`, `product.cover.media.translation.alt`, COALESCE(`product.cover.media.translation.alt`,`product.cover.media.translation.alt`) as `product.cover.media.alt`, `product.cover.media.translation.customFields`, COALESCE(`product.cover.media.translation.customFields`,`product.cover.media.translation.customFields`) as `product.cover.media.customFields`, `product.cover.media.translation.createdAt`, `product.cover.media.translation.updatedAt`, `product.cover.media.translation.mediaId`, `product.cover.media.translation.languageId`, `product.cover`.`custom_fields` as `product.cover.customFields`, `product.cover`.`created_at` as `product.cover.createdAt`, `product.cover`.`updated_at` as `product.cover.updatedAt`, (SELECT GROUP_CONCAT(HEX(`product.options.mapping`.`property_group_option_id`) SEPARATOR '||')
FROM `product_option` `product.options.mapping`
WHERE `product.options.mapping`.`product_id` = `product`.`id` ) as `product.options.id_mapping`, `product.unit`.`id` as `product.unit.id`, `product.unit`.`created_at` as `product.unit.createdAt`, `product.unit`.`updated_at` as `product.unit.updatedAt`, `product.unit.translation.shortCode`, COALESCE(`product.unit.translation.shortCode`,`product.unit.translation.shortCode`) as `product.unit.shortCode`, `product.unit.translation.name`, COALESCE(`product.unit.translation.name`,`product.unit.translation.name`) as `product.unit.name`, `product.unit.translation.customFields`, COALESCE(`product.unit.translation.customFields`,`product.unit.translation.customFields`) as `product.unit.customFields`, `product.unit.translation.createdAt`, `product.unit.translation.updatedAt`, `product.unit.translation.unitId`, `product.unit.translation.languageId`, `product.deliveryTime`.`id` as `product.deliveryTime.id`, `product.deliveryTime`.`min` as `product.deliveryTime.min`, `product.deliveryTime`.`max` as `product.deliveryTime.max`, `product.deliveryTime`.`unit` as `product.deliveryTime.unit`, `product.deliveryTime`.`created_at` as `product.deliveryTime.createdAt`, `product.deliveryTime`.`updated_at` as `product.deliveryTime.updatedAt`, `product.deliveryTime.translation.name`, COALESCE(`product.deliveryTime.translation.name`,`product.deliveryTime.translation.name`) as `product.deliveryTime.name`, `product.deliveryTime.translation.customFields`, COALESCE(`product.deliveryTime.translation.customFields`,`product.deliveryTime.translation.customFields`) as `product.deliveryTime.customFields`, `product.deliveryTime.translation.createdAt`, `product.deliveryTime.translation.updatedAt`, `product.deliveryTime.translation.deliveryTimeId`, `product.deliveryTime.translation.languageId`, `product.translation.metaDescription`, `product.parent.translation.metaDescription`, COALESCE(`product.translation.metaDescription`,`product.parent.translation.metaDescription`,`product.translation.metaDescription`) as `product.metaDescription`, `product.translation.name`, `product.parent.translation.name`, COALESCE(`product.translation.name`,`product.parent.translation.name`,`product.translation.name`) as `product.name`, `product.translation.keywords`, `product.parent.translation.keywords`, COALESCE(`product.translation.keywords`,`product.parent.translation.keywords`,`product.translation.keywords`) as `product.keywords`, `product.translation.description`, `product.parent.translation.description`, COALESCE(`product.translation.description`,`product.parent.translation.description`,`product.translation.description`) as `product.description`, `product.translation.metaTitle`, `product.parent.translation.metaTitle`, COALESCE(`product.translation.metaTitle`,`product.parent.translation.metaTitle`,`product.translation.metaTitle`) as `product.metaTitle`, `product.translation.packUnit`, `product.parent.translation.packUnit`, COALESCE(`product.translation.packUnit`,`product.parent.translation.packUnit`,`product.translation.packUnit`) as `product.packUnit`, `product.translation.packUnitPlural`, `product.parent.translation.packUnitPlural`, COALESCE(`product.translation.packUnitPlural`,`product.parent.translation.packUnitPlural`,`product.translation.packUnitPlural`) as `product.packUnitPlural`, `product.translation.customSearchKeywords`, `product.parent.translation.customSearchKeywords`, COALESCE(`product.translation.customSearchKeywords`,`product.parent.translation.customSearchKeywords`,`product.translation.customSearchKeywords`) as `product.customSearchKeywords`, `product.translation.slotConfig`, `product.parent.translation.slotConfig`, COALESCE(`product.translation.slotConfig`,`product.parent.translation.slotConfig`,`product.translation.slotConfig`) as `product.slotConfig`, `product.translation.customFields`, `product.parent.translation.customFields`, COALESCE(`product.translation.customFields`,`product.parent.translation.customFields`,`product.translation.customFields`) as `product.customFields`, `product.translation.createdAt`, `product.parent.translation.createdAt`, `product.translation.updatedAt`, `product.parent.translation.updatedAt`, `product.translation.productId`, `product.parent.translation.productId`, `product.translation.languageId`, `product.parent.translation.languageId`, `product.translation.productVersionId`, `product.parent.translation.productVersionId` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN (SELECT `product.translation`.product_id, `product.translation`.product_version_id, `product.translation`.meta_description as `product.translation.metaDescription`, `product.translation`.name as `product.translation.name`, `product.translation`.keywords as `product.translation.keywords`, `product.translation`.description as `product.translation.description`, `product.translation`.meta_title as `product.translation.metaTitle`, `product.translation`.pack_unit as `product.translation.packUnit`, `product.translation`.pack_unit_plural as `product.translation.packUnitPlural`, `product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`, `product.translation`.slot_config as `product.translation.slotConfig`, `product.translation`.custom_fields as `product.translation.customFields`, `product.translation`.created_at as `product.translation.createdAt`, `product.translation`.updated_at as `product.translation.updatedAt`, `product.translation`.product_id as `product.translation.productId`, `product.translation`.language_id as `product.translation.languageId`, `product.translation`.product_version_id as `product.translation.productVersionId` FROM `product_translation` `product.translation` WHERE `product.translation`.language_id = :languageId) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id` AND `product.product_translation`.product_version_id = `product`.version_id LEFT JOIN (SELECT `product.parent.translation`.product_id, `product.parent.translation`.product_version_id, `product.parent.translation`.meta_description as `product.parent.translation.metaDescription`, `product.parent.translation`.name as `product.parent.translation.name`, `product.parent.translation`.keywords as `product.parent.translation.keywords`, `product.parent.translation`.description as `product.parent.translation.description`, `product.parent.translation`.meta_title as `product.parent.translation.metaTitle`, `product.parent.translation`.pack_unit as `product.parent.translation.packUnit`, `product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`, `product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`, `product.parent.translation`.slot_config as `product.parent.translation.slotConfig`, `product.parent.translation`.custom_fields as `product.parent.translation.customFields`, `product.parent.translation`.created_at as `product.parent.translation.createdAt`, `product.parent.translation`.updated_at as `product.parent.translation.updatedAt`, `product.parent.translation`.product_id as `product.parent.translation.productId`, `product.parent.translation`.language_id as `product.parent.translation.languageId`, `product.parent.translation`.product_version_id as `product.parent.translation.productVersionId` FROM `product_translation` `product.parent.translation` WHERE `product.parent.translation`.language_id = :languageId) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id` AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id` LEFT JOIN `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_id` LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id` AND `product`.`version_id` = `product.cover`.`version_id` LEFT JOIN `unit` `product.unit` ON `product`.`unit` = `product.unit`.`id` LEFT JOIN `delivery_time` `product.deliveryTime` ON `product`.`deliveryTime` = `product.deliveryTime`.`id` LEFT JOIN `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`id` LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id` LEFT JOIN (SELECT `product.cover.media.translation`.media_id, `product.cover.media.translation`.title as `product.cover.media.translation.title`, `product.cover.media.translation`.alt as `product.cover.media.translation.alt`, `product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`, `product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`, `product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`, `product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`, `product.cover.media.translation`.language_id as `product.cover.media.translation.languageId` FROM `media_translation` `product.cover.media.translation` WHERE `product.cover.media.translation`.language_id = :languageId) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id` LEFT JOIN (SELECT `product.unit.translation`.unit_id, `product.unit.translation`.short_code as `product.unit.translation.shortCode`, `product.unit.translation`.name as `product.unit.translation.name`, `product.unit.translation`.custom_fields as `product.unit.translation.customFields`, `product.unit.translation`.created_at as `product.unit.translation.createdAt`, `product.unit.translation`.updated_at as `product.unit.translation.updatedAt`, `product.unit.translation`.unit_id as `product.unit.translation.unitId`, `product.unit.translation`.language_id as `product.unit.translation.languageId` FROM `unit_translation` `product.unit.translation` WHERE `product.unit.translation`.language_id = :languageId) `product.unit.unit_translation` ON `product.unit.unit_translation`.`unit_id` = `product.unit`.`id` LEFT JOIN (SELECT `product.deliveryTime.translation`.delivery_time_id, `product.deliveryTime.translation`.name as `product.deliveryTime.translation.name`, `product.deliveryTime.translation`.custom_fields as `product.deliveryTime.translation.customFields`, `product.deliveryTime.translation`.created_at as `product.deliveryTime.translation.createdAt`, `product.deliveryTime.translation`.updated_at as `product.deliveryTime.translation.updatedAt`, `product.deliveryTime.translation`.delivery_time_id as `product.deliveryTime.translation.deliveryTimeId`, `product.deliveryTime.translation`.language_id as `product.deliveryTime.translation.languageId` FROM `delivery_time_translation` `product.deliveryTime.translation` WHERE `product.deliveryTime.translation`.language_id = :languageId) `product.deliveryTime.delivery_time_translation` ON `product.deliveryTime.delivery_time_translation`.`delivery_time_id` = `product.deliveryTime`.`id` WHERE (`product`.`version_id` = :version) AND (`product`.`id` IN (:ids))
SELECT
`product`.`id` as `product.id`,
`product`.`version_id` as `product.versionId`,
`product`.`parent_id` as `product.parentId`,
`product`.`parent_version_id` as `product.parentVersionId`,
COALESCE(
`product`.`product_manufacturer_id`,
`product.parent`.`product_manufacturer_id`
) as `product.manufacturerId`,
COALESCE(
`product`.`product_manufacturer_version_id`,
`product.parent`.`product_manufacturer_version_id`
) as `product.productManufacturerVersionId`,
COALESCE(
`product`.`unit_id`, `product.parent`.`unit_id`
) as `product.unitId`,
COALESCE(
`product`.`tax_id`, `product.parent`.`tax_id`
) as `product.taxId`,
COALESCE(
`product`.`product_media_id`, `product.parent`.`product_media_id`
) as `product.coverId`,
COALESCE(
`product`.`product_media_version_id`,
`product.parent`.`product_media_version_id`
) as `product.productMediaVersionId`,
COALESCE(
`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`
) as `product.deliveryTimeId`,
COALESCE(
`product`.`product_feature_set_id`,
`product.parent`.`product_feature_set_id`
) as `product.featureSetId`,
COALESCE(
`product`.`canonical_product_id`,
`product.parent`.`canonical_product_id`
) as `product.canonicalProductId`,
COALESCE(
`product`.`cms_page_id`, `product.parent`.`cms_page_id`
) as `product.cmsPageId`,
COALESCE(
`product`.`cms_page_version_id`,
`product.parent`.`cms_page_version_id`
) as `product.cmsPageVersionId`,
`product.parent`.`price` as `product.price.inherited`,
COALESCE(
`product`.`price`, `product.parent`.`price`
) as `product.price`,
`product`.`product_number` as `product.productNumber`,
`product`.`stock` as `product.stock`,
COALESCE(
`product`.`restock_time`, `product.parent`.`restock_time`
) as `product.restockTime`,
`product`.`auto_increment` as `product.autoIncrement`,
COALESCE(
`product`.`active`, `product.parent`.`active`
) as `product.active`,
`product`.`available_stock` as `product.availableStock`,
`product`.`available` as `product.available`,
COALESCE(
`product`.`is_closeout`, `product.parent`.`is_closeout`
) as `product.isCloseout`,
`product`.`display_group` as `product.displayGroup`,
`product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`,
COALESCE(
`product`.`configurator_group_config`,
`product.parent`.`configurator_group_config`
) as `product.configuratorGroupConfig`,
COALESCE(
`product`.`main_variant_id`, `product.parent`.`main_variant_id`
) as `product.mainVariantId`,
COALESCE(
`product`.`display_parent`, `product.parent`.`display_parent`
) as `product.displayParent`,
`product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`,
COALESCE(
`product`.`variant_listing_config`,
`product.parent`.`variant_listing_config`
) as `product.variantListingConfig`,
`product`.`variant_restrictions` as `product.variantRestrictions`,
COALESCE(
`product`.`manufacturer_number`,
`product.parent`.`manufacturer_number`
) as `product.manufacturerNumber`,
COALESCE(
`product`.`ean`, `product.parent`.`ean`
) as `product.ean`,
COALESCE(
`product`.`purchase_steps`, `product.parent`.`purchase_steps`
) as `product.purchaseSteps`,
COALESCE(
`product`.`max_purchase`, `product.parent`.`max_purchase`
) as `product.maxPurchase`,
COALESCE(
`product`.`min_purchase`, `product.parent`.`min_purchase`
) as `product.minPurchase`,
COALESCE(
`product`.`purchase_unit`, `product.parent`.`purchase_unit`
) as `product.purchaseUnit`,
COALESCE(
`product`.`reference_unit`, `product.parent`.`reference_unit`
) as `product.referenceUnit`,
COALESCE(
`product`.`shipping_free`, `product.parent`.`shipping_free`
) as `product.shippingFree`,
`product.parent`.`purchase_prices` as `product.purchasePrices.inherited`,
COALESCE(
`product`.`purchase_prices`, `product.parent`.`purchase_prices`
) as `product.purchasePrices`,
COALESCE(
`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`
) as `product.markAsTopseller`,
COALESCE(
`product`.`weight`, `product.parent`.`weight`
) as `product.weight`,
COALESCE(
`product`.`width`, `product.parent`.`width`
) as `product.width`,
COALESCE(
`product`.`height`, `product.parent`.`height`
) as `product.height`,
COALESCE(
`product`.`length`, `product.parent`.`length`
) as `product.length`,
COALESCE(
`product`.`release_date`, `product.parent`.`release_date`
) as `product.releaseDate`,
COALESCE(
`product`.`rating_average`, `product.parent`.`rating_average`
) as `product.ratingAverage`,
`product.parent`.`category_tree` as `product.categoryTree.inherited`,
COALESCE(
`product`.`category_tree`, `product.parent`.`category_tree`
) as `product.categoryTree`,
`product.parent`.`property_ids` as `product.propertyIds.inherited`,
COALESCE(
`product`.`property_ids`, `product.parent`.`property_ids`
) as `product.propertyIds`,
`product.parent`.`option_ids` as `product.optionIds.inherited`,
COALESCE(
`product`.`option_ids`, `product.parent`.`option_ids`
) as `product.optionIds`,
`product.parent`.`stream_ids` as `product.streamIds.inherited`,
COALESCE(
`product`.`stream_ids`, `product.parent`.`stream_ids`
) as `product.streamIds`,
`product.parent`.`tag_ids` as `product.tagIds.inherited`,
COALESCE(
`product`.`tag_ids`, `product.parent`.`tag_ids`
) as `product.tagIds`,
`product.parent`.`category_ids` as `product.categoryIds.inherited`,
COALESCE(
`product`.`category_ids`, `product.parent`.`category_ids`
) as `product.categoryIds`,
`product`.`child_count` as `product.childCount`,
COALESCE(
`product`.`custom_field_set_selection_active`,
`product.parent`.`custom_field_set_selection_active`
) as `product.customFieldSetSelectionActive`,
`product`.`sales` as `product.sales`,
`product`.`states` as `product.states`,
`product.tax`.`id` as `product.tax.id`,
`product.tax`.`tax_rate` as `product.tax.taxRate`,
`product.tax`.`name` as `product.tax.name`,
`product.tax`.`position` as `product.tax.position`,
`product.tax`.`custom_fields` as `product.tax.customFields`,
`product.tax`.`created_at` as `product.tax.createdAt`,
`product.tax`.`updated_at` as `product.tax.updatedAt`,
`product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`,
COALESCE(
`product`.`cheapest_price`, `product.parent`.`cheapest_price`
) as `product.cheapestPrice`,
`product`.`created_at` as `product.createdAt`,
`product`.`updated_at` as `product.updatedAt`,
`product.bundle`.`id` as `product.bundle.id`,
`product.bundle`.`product_id` as `product.bundle.productId`,
`product.bundle`.`product_version_id` as `product.bundle.productVersionId`,
`product.bundle`.`name` as `product.bundle.name`,
`product.bundle`.`price_type` as `product.bundle.priceType`,
`product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`,
`product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`,
`product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`,
`product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`,
`product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`,
`product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`,
`product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`,
`product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`,
`product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`,
`product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`,
`product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`,
`product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`,
`product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`,
`product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`,
`product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`,
`product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`,
`product.bundle`.`created_at` as `product.bundle.createdAt`,
`product.bundle`.`updated_at` as `product.bundle.updatedAt`,
`product.cover`.`id` as `product.cover.id`,
`product.cover`.`version_id` as `product.cover.versionId`,
`product.cover`.`product_id` as `product.cover.productId`,
`product.cover`.`product_version_id` as `product.cover.productVersionId`,
`product.cover`.`media_id` as `product.cover.mediaId`,
`product.cover`.`position` as `product.cover.position`,
`product.cover.media`.`id` as `product.cover.media.id`,
`product.cover.media`.`user_id` as `product.cover.media.userId`,
`product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`,
`product.cover.media`.`mime_type` as `product.cover.media.mimeType`,
`product.cover.media`.`file_extension` as `product.cover.media.fileExtension`,
`product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`,
`product.cover.media`.`file_name` as `product.cover.media.fileName`,
`product.cover.media`.`file_size` as `product.cover.media.fileSize`,
`product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`,
`product.cover.media`.`meta_data` as `product.cover.media.metaData`,
`product.cover.media`.`private` as `product.cover.media.private`,
`product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`,
`product.cover.media`.`created_at` as `product.cover.media.createdAt`,
`product.cover.media`.`updated_at` as `product.cover.media.updatedAt`,
`product.cover.media.translation.title`,
COALESCE(
`product.cover.media.translation.title`,
`product.cover.media.translation.title`
) as `product.cover.media.title`,
`product.cover.media.translation.alt`,
COALESCE(
`product.cover.media.translation.alt`,
`product.cover.media.translation.alt`
) as `product.cover.media.alt`,
`product.cover.media.translation.customFields`,
COALESCE(
`product.cover.media.translation.customFields`,
`product.cover.media.translation.customFields`
) as `product.cover.media.customFields`,
`product.cover.media.translation.createdAt`,
`product.cover.media.translation.updatedAt`,
`product.cover.media.translation.mediaId`,
`product.cover.media.translation.languageId`,
`product.cover`.`custom_fields` as `product.cover.customFields`,
`product.cover`.`created_at` as `product.cover.createdAt`,
`product.cover`.`updated_at` as `product.cover.updatedAt`,
(
SELECT
GROUP_CONCAT(
HEX(
`product.options.mapping`.`property_group_option_id`
) SEPARATOR '||'
)
FROM
`product_option` `product.options.mapping`
WHERE
`product.options.mapping`.`product_id` = `product`.`id`
) as `product.options.id_mapping`,
`product.unit`.`id` as `product.unit.id`,
`product.unit`.`created_at` as `product.unit.createdAt`,
`product.unit`.`updated_at` as `product.unit.updatedAt`,
`product.unit.translation.shortCode`,
COALESCE(
`product.unit.translation.shortCode`,
`product.unit.translation.shortCode`
) as `product.unit.shortCode`,
`product.unit.translation.name`,
COALESCE(
`product.unit.translation.name`,
`product.unit.translation.name`
) as `product.unit.name`,
`product.unit.translation.customFields`,
COALESCE(
`product.unit.translation.customFields`,
`product.unit.translation.customFields`
) as `product.unit.customFields`,
`product.unit.translation.createdAt`,
`product.unit.translation.updatedAt`,
`product.unit.translation.unitId`,
`product.unit.translation.languageId`,
`product.deliveryTime`.`id` as `product.deliveryTime.id`,
`product.deliveryTime`.`min` as `product.deliveryTime.min`,
`product.deliveryTime`.`max` as `product.deliveryTime.max`,
`product.deliveryTime`.`unit` as `product.deliveryTime.unit`,
`product.deliveryTime`.`created_at` as `product.deliveryTime.createdAt`,
`product.deliveryTime`.`updated_at` as `product.deliveryTime.updatedAt`,
`product.deliveryTime.translation.name`,
COALESCE(
`product.deliveryTime.translation.name`,
`product.deliveryTime.translation.name`
) as `product.deliveryTime.name`,
`product.deliveryTime.translation.customFields`,
COALESCE(
`product.deliveryTime.translation.customFields`,
`product.deliveryTime.translation.customFields`
) as `product.deliveryTime.customFields`,
`product.deliveryTime.translation.createdAt`,
`product.deliveryTime.translation.updatedAt`,
`product.deliveryTime.translation.deliveryTimeId`,
`product.deliveryTime.translation.languageId`,
`product.translation.metaDescription`,
`product.parent.translation.metaDescription`,
COALESCE(
`product.translation.metaDescription`,
`product.parent.translation.metaDescription`,
`product.translation.metaDescription`
) as `product.metaDescription`,
`product.translation.name`,
`product.parent.translation.name`,
COALESCE(
`product.translation.name`, `product.parent.translation.name`,
`product.translation.name`
) as `product.name`,
`product.translation.keywords`,
`product.parent.translation.keywords`,
COALESCE(
`product.translation.keywords`,
`product.parent.translation.keywords`,
`product.translation.keywords`
) as `product.keywords`,
`product.translation.description`,
`product.parent.translation.description`,
COALESCE(
`product.translation.description`,
`product.parent.translation.description`,
`product.translation.description`
) as `product.description`,
`product.translation.metaTitle`,
`product.parent.translation.metaTitle`,
COALESCE(
`product.translation.metaTitle`,
`product.parent.translation.metaTitle`,
`product.translation.metaTitle`
) as `product.metaTitle`,
`product.translation.packUnit`,
`product.parent.translation.packUnit`,
COALESCE(
`product.translation.packUnit`,
`product.parent.translation.packUnit`,
`product.translation.packUnit`
) as `product.packUnit`,
`product.translation.packUnitPlural`,
`product.parent.translation.packUnitPlural`,
COALESCE(
`product.translation.packUnitPlural`,
`product.parent.translation.packUnitPlural`,
`product.translation.packUnitPlural`
) as `product.packUnitPlural`,
`product.translation.customSearchKeywords`,
`product.parent.translation.customSearchKeywords`,
COALESCE(
`product.translation.customSearchKeywords`,
`product.parent.translation.customSearchKeywords`,
`product.translation.customSearchKeywords`
) as `product.customSearchKeywords`,
`product.translation.slotConfig`,
`product.parent.translation.slotConfig`,
COALESCE(
`product.translation.slotConfig`,
`product.parent.translation.slotConfig`,
`product.translation.slotConfig`
) as `product.slotConfig`,
`product.translation.customFields`,
`product.parent.translation.customFields`,
COALESCE(
`product.translation.customFields`,
`product.parent.translation.customFields`,
`product.translation.customFields`
) as `product.customFields`,
`product.translation.createdAt`,
`product.parent.translation.createdAt`,
`product.translation.updatedAt`,
`product.parent.translation.updatedAt`,
`product.translation.productId`,
`product.parent.translation.productId`,
`product.translation.languageId`,
`product.parent.translation.languageId`,
`product.translation.productVersionId`,
`product.parent.translation.productVersionId`
FROM
`product`
LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id`
AND `product`.`version_id` = `product.parent`.`version_id`
LEFT JOIN (
SELECT
`product.translation`.product_id,
`product.translation`.product_version_id,
`product.translation`.meta_description as `product.translation.metaDescription`,
`product.translation`.name as `product.translation.name`,
`product.translation`.keywords as `product.translation.keywords`,
`product.translation`.description as `product.translation.description`,
`product.translation`.meta_title as `product.translation.metaTitle`,
`product.translation`.pack_unit as `product.translation.packUnit`,
`product.translation`.pack_unit_plural as `product.translation.packUnitPlural`,
`product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`,
`product.translation`.slot_config as `product.translation.slotConfig`,
`product.translation`.custom_fields as `product.translation.customFields`,
`product.translation`.created_at as `product.translation.createdAt`,
`product.translation`.updated_at as `product.translation.updatedAt`,
`product.translation`.product_id as `product.translation.productId`,
`product.translation`.language_id as `product.translation.languageId`,
`product.translation`.product_version_id as `product.translation.productVersionId`
FROM
`product_translation` `product.translation`
WHERE
`product.translation`.language_id = : languageId
) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id`
AND `product.product_translation`.product_version_id = `product`.version_id
LEFT JOIN (
SELECT
`product.parent.translation`.product_id,
`product.parent.translation`.product_version_id,
`product.parent.translation`.meta_description as `product.parent.translation.metaDescription`,
`product.parent.translation`.name as `product.parent.translation.name`,
`product.parent.translation`.keywords as `product.parent.translation.keywords`,
`product.parent.translation`.description as `product.parent.translation.description`,
`product.parent.translation`.meta_title as `product.parent.translation.metaTitle`,
`product.parent.translation`.pack_unit as `product.parent.translation.packUnit`,
`product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`,
`product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`,
`product.parent.translation`.slot_config as `product.parent.translation.slotConfig`,
`product.parent.translation`.custom_fields as `product.parent.translation.customFields`,
`product.parent.translation`.created_at as `product.parent.translation.createdAt`,
`product.parent.translation`.updated_at as `product.parent.translation.updatedAt`,
`product.parent.translation`.product_id as `product.parent.translation.productId`,
`product.parent.translation`.language_id as `product.parent.translation.languageId`,
`product.parent.translation`.product_version_id as `product.parent.translation.productVersionId`
FROM
`product_translation` `product.parent.translation`
WHERE
`product.parent.translation`.language_id = : languageId
) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id`
AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id
LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id`
LEFT JOIN `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_id`
LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id`
AND `product`.`version_id` = `product.cover`.`version_id`
LEFT JOIN `unit` `product.unit` ON `product`.`unit` = `product.unit`.`id`
LEFT JOIN `delivery_time` `product.deliveryTime` ON `product`.`deliveryTime` = `product.deliveryTime`.`id`
LEFT JOIN `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id`
LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id`
LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`id`
LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id`
LEFT JOIN (
SELECT
`product.cover.media.translation`.media_id,
`product.cover.media.translation`.title as `product.cover.media.translation.title`,
`product.cover.media.translation`.alt as `product.cover.media.translation.alt`,
`product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`,
`product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`,
`product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`,
`product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`,
`product.cover.media.translation`.language_id as `product.cover.media.translation.languageId`
FROM
`media_translation` `product.cover.media.translation`
WHERE
`product.cover.media.translation`.language_id = : languageId
) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id`
LEFT JOIN (
SELECT
`product.unit.translation`.unit_id,
`product.unit.translation`.short_code as `product.unit.translation.shortCode`,
`product.unit.translation`.name as `product.unit.translation.name`,
`product.unit.translation`.custom_fields as `product.unit.translation.customFields`,
`product.unit.translation`.created_at as `product.unit.translation.createdAt`,
`product.unit.translation`.updated_at as `product.unit.translation.updatedAt`,
`product.unit.translation`.unit_id as `product.unit.translation.unitId`,
`product.unit.translation`.language_id as `product.unit.translation.languageId`
FROM
`unit_translation` `product.unit.translation`
WHERE
`product.unit.translation`.language_id = : languageId
) `product.unit.unit_translation` ON `product.unit.unit_translation`.`unit_id` = `product.unit`.`id`
LEFT JOIN (
SELECT
`product.deliveryTime.translation`.delivery_time_id,
`product.deliveryTime.translation`.name as `product.deliveryTime.translation.name`,
`product.deliveryTime.translation`.custom_fields as `product.deliveryTime.translation.customFields`,
`product.deliveryTime.translation`.created_at as `product.deliveryTime.translation.createdAt`,
`product.deliveryTime.translation`.updated_at as `product.deliveryTime.translation.updatedAt`,
`product.deliveryTime.translation`.delivery_time_id as `product.deliveryTime.translation.deliveryTimeId`,
`product.deliveryTime.translation`.language_id as `product.deliveryTime.translation.languageId`
FROM
`delivery_time_translation` `product.deliveryTime.translation`
WHERE
`product.deliveryTime.translation`.language_id = : languageId
) `product.deliveryTime.delivery_time_translation` ON `product.deliveryTime.delivery_time_translation`.`delivery_time_id` = `product.deliveryTime`.`id`
WHERE
(
`product`.`version_id` = : version
)
AND (
`product`.`id` IN (: ids)
)
SELECT `product`.`id` as `product.id`, `product`.`version_id` as `product.versionId`, `product`.`parent_id` as `product.parentId`, `product`.`parent_version_id` as `product.parentVersionId`, COALESCE(`product`.`product_manufacturer_id`, `product.parent`.`product_manufacturer_id`) as `product.manufacturerId`, COALESCE(`product`.`product_manufacturer_version_id`, `product.parent`.`product_manufacturer_version_id`) as `product.productManufacturerVersionId`, COALESCE(`product`.`unit_id`, `product.parent`.`unit_id`) as `product.unitId`, COALESCE(`product`.`tax_id`, `product.parent`.`tax_id`) as `product.taxId`, COALESCE(`product`.`product_media_id`, `product.parent`.`product_media_id`) as `product.coverId`, COALESCE(`product`.`product_media_version_id`, `product.parent`.`product_media_version_id`) as `product.productMediaVersionId`, COALESCE(`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`) as `product.deliveryTimeId`, COALESCE(`product`.`product_feature_set_id`, `product.parent`.`product_feature_set_id`) as `product.featureSetId`, COALESCE(`product`.`canonical_product_id`, `product.parent`.`canonical_product_id`) as `product.canonicalProductId`, COALESCE(`product`.`cms_page_id`, `product.parent`.`cms_page_id`) as `product.cmsPageId`, COALESCE(`product`.`cms_page_version_id`, `product.parent`.`cms_page_version_id`) as `product.cmsPageVersionId`, `product.parent`.`price` as `product.price.inherited`, COALESCE(`product`.`price`, `product.parent`.`price`) as `product.price`, `product`.`product_number` as `product.productNumber`, `product`.`stock` as `product.stock`, COALESCE(`product`.`restock_time`, `product.parent`.`restock_time`) as `product.restockTime`, `product`.`auto_increment` as `product.autoIncrement`, COALESCE(`product`.`active`, `product.parent`.`active`) as `product.active`, `product`.`available_stock` as `product.availableStock`, `product`.`available` as `product.available`, COALESCE(`product`.`is_closeout`, `product.parent`.`is_closeout`) as `product.isCloseout`, `product`.`display_group` as `product.displayGroup`, `product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`, COALESCE(`product`.`configurator_group_config`, `product.parent`.`configurator_group_config`) as `product.configuratorGroupConfig`, COALESCE(`product`.`main_variant_id`, `product.parent`.`main_variant_id`) as `product.mainVariantId`, COALESCE(`product`.`display_parent`, `product.parent`.`display_parent`) as `product.displayParent`, `product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`, COALESCE(`product`.`variant_listing_config`, `product.parent`.`variant_listing_config`) as `product.variantListingConfig`, `product`.`variant_restrictions` as `product.variantRestrictions`, COALESCE(`product`.`manufacturer_number`, `product.parent`.`manufacturer_number`) as `product.manufacturerNumber`, COALESCE(`product`.`ean`, `product.parent`.`ean`) as `product.ean`, COALESCE(`product`.`purchase_steps`, `product.parent`.`purchase_steps`) as `product.purchaseSteps`, COALESCE(`product`.`max_purchase`, `product.parent`.`max_purchase`) as `product.maxPurchase`, COALESCE(`product`.`min_purchase`, `product.parent`.`min_purchase`) as `product.minPurchase`, COALESCE(`product`.`purchase_unit`, `product.parent`.`purchase_unit`) as `product.purchaseUnit`, COALESCE(`product`.`reference_unit`, `product.parent`.`reference_unit`) as `product.referenceUnit`, COALESCE(`product`.`shipping_free`, `product.parent`.`shipping_free`) as `product.shippingFree`, `product.parent`.`purchase_prices` as `product.purchasePrices.inherited`, COALESCE(`product`.`purchase_prices`, `product.parent`.`purchase_prices`) as `product.purchasePrices`, COALESCE(`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`) as `product.markAsTopseller`, COALESCE(`product`.`weight`, `product.parent`.`weight`) as `product.weight`, COALESCE(`product`.`width`, `product.parent`.`width`) as `product.width`, COALESCE(`product`.`height`, `product.parent`.`height`) as `product.height`, COALESCE(`product`.`length`, `product.parent`.`length`) as `product.length`, COALESCE(`product`.`release_date`, `product.parent`.`release_date`) as `product.releaseDate`, COALESCE(`product`.`rating_average`, `product.parent`.`rating_average`) as `product.ratingAverage`, `product.parent`.`category_tree` as `product.categoryTree.inherited`, COALESCE(`product`.`category_tree`, `product.parent`.`category_tree`) as `product.categoryTree`, `product.parent`.`property_ids` as `product.propertyIds.inherited`, COALESCE(`product`.`property_ids`, `product.parent`.`property_ids`) as `product.propertyIds`, `product.parent`.`option_ids` as `product.optionIds.inherited`, COALESCE(`product`.`option_ids`, `product.parent`.`option_ids`) as `product.optionIds`, `product.parent`.`stream_ids` as `product.streamIds.inherited`, COALESCE(`product`.`stream_ids`, `product.parent`.`stream_ids`) as `product.streamIds`, `product.parent`.`tag_ids` as `product.tagIds.inherited`, COALESCE(`product`.`tag_ids`, `product.parent`.`tag_ids`) as `product.tagIds`, `product.parent`.`category_ids` as `product.categoryIds.inherited`, COALESCE(`product`.`category_ids`, `product.parent`.`category_ids`) as `product.categoryIds`, `product`.`child_count` as `product.childCount`, COALESCE(`product`.`custom_field_set_selection_active`, `product.parent`.`custom_field_set_selection_active`) as `product.customFieldSetSelectionActive`, `product`.`sales` as `product.sales`, `product`.`states` as `product.states`, `product.tax`.`id` as `product.tax.id`, `product.tax`.`tax_rate` as `product.tax.taxRate`, `product.tax`.`name` as `product.tax.name`, `product.tax`.`position` as `product.tax.position`, `product.tax`.`custom_fields` as `product.tax.customFields`, `product.tax`.`created_at` as `product.tax.createdAt`, `product.tax`.`updated_at` as `product.tax.updatedAt`, `product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`, COALESCE(`product`.`cheapest_price`, `product.parent`.`cheapest_price`) as `product.cheapestPrice`, `product`.`created_at` as `product.createdAt`, `product`.`updated_at` as `product.updatedAt`, `product.bundle`.`id` as `product.bundle.id`, `product.bundle`.`product_id` as `product.bundle.productId`, `product.bundle`.`product_version_id` as `product.bundle.productVersionId`, `product.bundle`.`name` as `product.bundle.name`, `product.bundle`.`price_type` as `product.bundle.priceType`, `product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`, `product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`, `product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`, `product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`, `product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`, `product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`, `product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`, `product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`, `product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`, `product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`, `product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`, `product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`, `product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`, `product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`, `product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`, `product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`, `product.bundle`.`created_at` as `product.bundle.createdAt`, `product.bundle`.`updated_at` as `product.bundle.updatedAt`, `product.cover`.`id` as `product.cover.id`, `product.cover`.`version_id` as `product.cover.versionId`, `product.cover`.`product_id` as `product.cover.productId`, `product.cover`.`product_version_id` as `product.cover.productVersionId`, `product.cover`.`media_id` as `product.cover.mediaId`, `product.cover`.`position` as `product.cover.position`, `product.cover.media`.`id` as `product.cover.media.id`, `product.cover.media`.`user_id` as `product.cover.media.userId`, `product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`, `product.cover.media`.`mime_type` as `product.cover.media.mimeType`, `product.cover.media`.`file_extension` as `product.cover.media.fileExtension`, `product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`, `product.cover.media`.`file_name` as `product.cover.media.fileName`, `product.cover.media`.`file_size` as `product.cover.media.fileSize`, `product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`, `product.cover.media`.`meta_data` as `product.cover.media.metaData`, `product.cover.media`.`private` as `product.cover.media.private`, `product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`, `product.cover.media`.`created_at` as `product.cover.media.createdAt`, `product.cover.media`.`updated_at` as `product.cover.media.updatedAt`, `product.cover.media.translation.title`, COALESCE(`product.cover.media.translation.title`,`product.cover.media.translation.title`) as `product.cover.media.title`, `product.cover.media.translation.alt`, COALESCE(`product.cover.media.translation.alt`,`product.cover.media.translation.alt`) as `product.cover.media.alt`, `product.cover.media.translation.customFields`, COALESCE(`product.cover.media.translation.customFields`,`product.cover.media.translation.customFields`) as `product.cover.media.customFields`, `product.cover.media.translation.createdAt`, `product.cover.media.translation.updatedAt`, `product.cover.media.translation.mediaId`, `product.cover.media.translation.languageId`, `product.cover`.`custom_fields` as `product.cover.customFields`, `product.cover`.`created_at` as `product.cover.createdAt`, `product.cover`.`updated_at` as `product.cover.updatedAt`, (SELECT GROUP_CONCAT(HEX(`product.options.mapping`.`property_group_option_id`) SEPARATOR '||')
FROM `product_option` `product.options.mapping`
WHERE `product.options.mapping`.`product_id` = `product`.`id` ) as `product.options.id_mapping`, `product.unit`.`id` as `product.unit.id`, `product.unit`.`created_at` as `product.unit.createdAt`, `product.unit`.`updated_at` as `product.unit.updatedAt`, `product.unit.translation.shortCode`, COALESCE(`product.unit.translation.shortCode`,`product.unit.translation.shortCode`) as `product.unit.shortCode`, `product.unit.translation.name`, COALESCE(`product.unit.translation.name`,`product.unit.translation.name`) as `product.unit.name`, `product.unit.translation.customFields`, COALESCE(`product.unit.translation.customFields`,`product.unit.translation.customFields`) as `product.unit.customFields`, `product.unit.translation.createdAt`, `product.unit.translation.updatedAt`, `product.unit.translation.unitId`, `product.unit.translation.languageId`, `product.deliveryTime`.`id` as `product.deliveryTime.id`, `product.deliveryTime`.`min` as `product.deliveryTime.min`, `product.deliveryTime`.`max` as `product.deliveryTime.max`, `product.deliveryTime`.`unit` as `product.deliveryTime.unit`, `product.deliveryTime`.`created_at` as `product.deliveryTime.createdAt`, `product.deliveryTime`.`updated_at` as `product.deliveryTime.updatedAt`, `product.deliveryTime.translation.name`, COALESCE(`product.deliveryTime.translation.name`,`product.deliveryTime.translation.name`) as `product.deliveryTime.name`, `product.deliveryTime.translation.customFields`, COALESCE(`product.deliveryTime.translation.customFields`,`product.deliveryTime.translation.customFields`) as `product.deliveryTime.customFields`, `product.deliveryTime.translation.createdAt`, `product.deliveryTime.translation.updatedAt`, `product.deliveryTime.translation.deliveryTimeId`, `product.deliveryTime.translation.languageId`, `product.translation.metaDescription`, `product.parent.translation.metaDescription`, COALESCE(`product.translation.metaDescription`,`product.parent.translation.metaDescription`,`product.translation.metaDescription`) as `product.metaDescription`, `product.translation.name`, `product.parent.translation.name`, COALESCE(`product.translation.name`,`product.parent.translation.name`,`product.translation.name`) as `product.name`, `product.translation.keywords`, `product.parent.translation.keywords`, COALESCE(`product.translation.keywords`,`product.parent.translation.keywords`,`product.translation.keywords`) as `product.keywords`, `product.translation.description`, `product.parent.translation.description`, COALESCE(`product.translation.description`,`product.parent.translation.description`,`product.translation.description`) as `product.description`, `product.translation.metaTitle`, `product.parent.translation.metaTitle`, COALESCE(`product.translation.metaTitle`,`product.parent.translation.metaTitle`,`product.translation.metaTitle`) as `product.metaTitle`, `product.translation.packUnit`, `product.parent.translation.packUnit`, COALESCE(`product.translation.packUnit`,`product.parent.translation.packUnit`,`product.translation.packUnit`) as `product.packUnit`, `product.translation.packUnitPlural`, `product.parent.translation.packUnitPlural`, COALESCE(`product.translation.packUnitPlural`,`product.parent.translation.packUnitPlural`,`product.translation.packUnitPlural`) as `product.packUnitPlural`, `product.translation.customSearchKeywords`, `product.parent.translation.customSearchKeywords`, COALESCE(`product.translation.customSearchKeywords`,`product.parent.translation.customSearchKeywords`,`product.translation.customSearchKeywords`) as `product.customSearchKeywords`, `product.translation.slotConfig`, `product.parent.translation.slotConfig`, COALESCE(`product.translation.slotConfig`,`product.parent.translation.slotConfig`,`product.translation.slotConfig`) as `product.slotConfig`, `product.translation.customFields`, `product.parent.translation.customFields`, COALESCE(`product.translation.customFields`,`product.parent.translation.customFields`,`product.translation.customFields`) as `product.customFields`, `product.translation.createdAt`, `product.parent.translation.createdAt`, `product.translation.updatedAt`, `product.parent.translation.updatedAt`, `product.translation.productId`, `product.parent.translation.productId`, `product.translation.languageId`, `product.parent.translation.languageId`, `product.translation.productVersionId`, `product.parent.translation.productVersionId` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN (SELECT `product.translation`.product_id, `product.translation`.product_version_id, `product.translation`.meta_description as `product.translation.metaDescription`, `product.translation`.name as `product.translation.name`, `product.translation`.keywords as `product.translation.keywords`, `product.translation`.description as `product.translation.description`, `product.translation`.meta_title as `product.translation.metaTitle`, `product.translation`.pack_unit as `product.translation.packUnit`, `product.translation`.pack_unit_plural as `product.translation.packUnitPlural`, `product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`, `product.translation`.slot_config as `product.translation.slotConfig`, `product.translation`.custom_fields as `product.translation.customFields`, `product.translation`.created_at as `product.translation.createdAt`, `product.translation`.updated_at as `product.translation.updatedAt`, `product.translation`.product_id as `product.translation.productId`, `product.translation`.language_id as `product.translation.languageId`, `product.translation`.product_version_id as `product.translation.productVersionId` FROM `product_translation` `product.translation` WHERE `product.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id` AND `product.product_translation`.product_version_id = `product`.version_id LEFT JOIN (SELECT `product.parent.translation`.product_id, `product.parent.translation`.product_version_id, `product.parent.translation`.meta_description as `product.parent.translation.metaDescription`, `product.parent.translation`.name as `product.parent.translation.name`, `product.parent.translation`.keywords as `product.parent.translation.keywords`, `product.parent.translation`.description as `product.parent.translation.description`, `product.parent.translation`.meta_title as `product.parent.translation.metaTitle`, `product.parent.translation`.pack_unit as `product.parent.translation.packUnit`, `product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`, `product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`, `product.parent.translation`.slot_config as `product.parent.translation.slotConfig`, `product.parent.translation`.custom_fields as `product.parent.translation.customFields`, `product.parent.translation`.created_at as `product.parent.translation.createdAt`, `product.parent.translation`.updated_at as `product.parent.translation.updatedAt`, `product.parent.translation`.product_id as `product.parent.translation.productId`, `product.parent.translation`.language_id as `product.parent.translation.languageId`, `product.parent.translation`.product_version_id as `product.parent.translation.productVersionId` FROM `product_translation` `product.parent.translation` WHERE `product.parent.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id` AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id` LEFT JOIN `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_id` LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id` AND `product`.`version_id` = `product.cover`.`version_id` LEFT JOIN `unit` `product.unit` ON `product`.`unit` = `product.unit`.`id` LEFT JOIN `delivery_time` `product.deliveryTime` ON `product`.`deliveryTime` = `product.deliveryTime`.`id` LEFT JOIN `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`id` LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id` LEFT JOIN (SELECT `product.cover.media.translation`.media_id, `product.cover.media.translation`.title as `product.cover.media.translation.title`, `product.cover.media.translation`.alt as `product.cover.media.translation.alt`, `product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`, `product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`, `product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`, `product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`, `product.cover.media.translation`.language_id as `product.cover.media.translation.languageId` FROM `media_translation` `product.cover.media.translation` WHERE `product.cover.media.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id` LEFT JOIN (SELECT `product.unit.translation`.unit_id, `product.unit.translation`.short_code as `product.unit.translation.shortCode`, `product.unit.translation`.name as `product.unit.translation.name`, `product.unit.translation`.custom_fields as `product.unit.translation.customFields`, `product.unit.translation`.created_at as `product.unit.translation.createdAt`, `product.unit.translation`.updated_at as `product.unit.translation.updatedAt`, `product.unit.translation`.unit_id as `product.unit.translation.unitId`, `product.unit.translation`.language_id as `product.unit.translation.languageId` FROM `unit_translation` `product.unit.translation` WHERE `product.unit.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.unit.unit_translation` ON `product.unit.unit_translation`.`unit_id` = `product.unit`.`id` LEFT JOIN (SELECT `product.deliveryTime.translation`.delivery_time_id, `product.deliveryTime.translation`.name as `product.deliveryTime.translation.name`, `product.deliveryTime.translation`.custom_fields as `product.deliveryTime.translation.customFields`, `product.deliveryTime.translation`.created_at as `product.deliveryTime.translation.createdAt`, `product.deliveryTime.translation`.updated_at as `product.deliveryTime.translation.updatedAt`, `product.deliveryTime.translation`.delivery_time_id as `product.deliveryTime.translation.deliveryTimeId`, `product.deliveryTime.translation`.language_id as `product.deliveryTime.translation.languageId` FROM `delivery_time_translation` `product.deliveryTime.translation` WHERE `product.deliveryTime.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.deliveryTime.delivery_time_translation` ON `product.deliveryTime.delivery_time_translation`.`delivery_time_id` = `product.deliveryTime`.`id` WHERE (`product`.`version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425) AND (`product`.`id` IN (0x03F4EF144EC44C3E822790C652F7C3F6, 0x045EBC3CFE9D4BC7B696BB205090AB9F));
array:36 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 316)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetch (line 148)"
4 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 93)"
5 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::read (line 195)"
6 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::read (line 133)"
7 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 147)"
8 => "Shopware\Core\Content\Cms\DataResolver\CmsSlotsDataResolver::fetchByCriteria (line 85)"
9 => "Shopware\Core\Content\Cms\DataResolver\CmsSlotsDataResolver::resolve (line 104)"
10 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::loadSlotData (line 94)"
11 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::load (line 102)"
12 => "Shopware\Core\Content\Category\SalesChannel\CategoryRoute::load (line 103)"
13 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 350)"
14 => "Shopware\Core\System\SystemConfig\SystemConfigService::trace (line 44)"
15 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 120)"
16 => "Shopware\Core\Framework\Adapter\Translation\Translator::trace (line 45)"
17 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 46)"
18 => "Shopware\Core\Framework\Adapter\Cache\CacheTagCollection::trace (line 46)"
19 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::trace (line 41)"
20 => "Shopware\Storefront\Framework\Cache\CacheTracer::Shopware\Storefront\Framework\Cache\{closure} (line 59)"
21 => "Shopware\Storefront\Theme\ThemeConfigValueAccessor::trace (line 42)"
22 => "Shopware\Storefront\Framework\Cache\CacheTracer::trace (line 104)"
23 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 72)"
24 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
25 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 109)"
26 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 59)"
27 => "Shopware\Core\Profiling\Profiler::trace (line 112)"
28 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::load (line 66)"
29 => "Shopware\Storefront\Page\Navigation\NavigationPageLoader::load (line 48)"
30 => "Shopware\Storefront\Controller\NavigationController::home (line 163)"
31 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
32 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
33 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
34 => "Shopware\Core\HttpKernel::doHandle (line 81)"
35 => "Shopware\Core\HttpKernel::handle (line 75)"
]
|
37 |
3.25 ms |
SELECT `property_group_option`.`id` as `property_group_option.id`, `property_group_option`.`property_group_id` as `property_group_option.groupId`, `property_group_option`.`color_hex_code` as `property_group_option.colorHexCode`, `property_group_option`.`media_id` as `property_group_option.mediaId`, `property_group_option`.`created_at` as `property_group_option.createdAt`, `property_group_option`.`updated_at` as `property_group_option.updatedAt`, `property_group_option.group`.`id` as `property_group_option.group.id`, `property_group_option.group`.`display_type` as `property_group_option.group.displayType`, `property_group_option.group`.`sorting_type` as `property_group_option.group.sortingType`, `property_group_option.group`.`filterable` as `property_group_option.group.filterable`, `property_group_option.group`.`visible_on_product_detail_page` as `property_group_option.group.visibleOnProductDetailPage`, `property_group_option.group`.`created_at` as `property_group_option.group.createdAt`, `property_group_option.group`.`updated_at` as `property_group_option.group.updatedAt`, `property_group_option.group.translation.name`, COALESCE(`property_group_option.group.translation.name`,`property_group_option.group.translation.name`) as `property_group_option.group.name`, `property_group_option.group.translation.description`, COALESCE(`property_group_option.group.translation.description`,`property_group_option.group.translation.description`) as `property_group_option.group.description`, `property_group_option.group.translation.position`, COALESCE(`property_group_option.group.translation.position`,`property_group_option.group.translation.position`) as `property_group_option.group.position`, `property_group_option.group.translation.customFields`, COALESCE(`property_group_option.group.translation.customFields`,`property_group_option.group.translation.customFields`) as `property_group_option.group.customFields`, `property_group_option.group.translation.createdAt`, `property_group_option.group.translation.updatedAt`, `property_group_option.group.translation.propertyGroupId`, `property_group_option.group.translation.languageId`, `property_group_option.translation.name`, COALESCE(`property_group_option.translation.name`,`property_group_option.translation.name`) as `property_group_option.name`, `property_group_option.translation.position`, COALESCE(`property_group_option.translation.position`,`property_group_option.translation.position`) as `property_group_option.position`, `property_group_option.translation.customFields`, COALESCE(`property_group_option.translation.customFields`,`property_group_option.translation.customFields`) as `property_group_option.customFields`, `property_group_option.translation.createdAt`, `property_group_option.translation.updatedAt`, `property_group_option.translation.propertyGroupOptionId`, `property_group_option.translation.languageId` FROM `property_group_option` LEFT JOIN (SELECT `property_group_option.translation`.property_group_option_id, `property_group_option.translation`.name as `property_group_option.translation.name`, `property_group_option.translation`.position as `property_group_option.translation.position`, `property_group_option.translation`.custom_fields as `property_group_option.translation.customFields`, `property_group_option.translation`.created_at as `property_group_option.translation.createdAt`, `property_group_option.translation`.updated_at as `property_group_option.translation.updatedAt`, `property_group_option.translation`.property_group_option_id as `property_group_option.translation.propertyGroupOptionId`, `property_group_option.translation`.language_id as `property_group_option.translation.languageId` FROM `property_group_option_translation` `property_group_option.translation` WHERE `property_group_option.translation`.language_id = :languageId) `property_group_option.property_group_option_translation` ON `property_group_option.property_group_option_translation`.`property_group_option_id` = `property_group_option`.`id` LEFT JOIN `property_group` `property_group_option.group` ON `property_group_option`.`property_group_id` = `property_group_option.group`.`id` LEFT JOIN (SELECT `property_group_option.group.translation`.property_group_id, `property_group_option.group.translation`.name as `property_group_option.group.translation.name`, `property_group_option.group.translation`.description as `property_group_option.group.translation.description`, `property_group_option.group.translation`.position as `property_group_option.group.translation.position`, `property_group_option.group.translation`.custom_fields as `property_group_option.group.translation.customFields`, `property_group_option.group.translation`.created_at as `property_group_option.group.translation.createdAt`, `property_group_option.group.translation`.updated_at as `property_group_option.group.translation.updatedAt`, `property_group_option.group.translation`.property_group_id as `property_group_option.group.translation.propertyGroupId`, `property_group_option.group.translation`.language_id as `property_group_option.group.translation.languageId` FROM `property_group_translation` `property_group_option.group.translation` WHERE `property_group_option.group.translation`.language_id = :languageId) `property_group_option.group.property_group_translation` ON `property_group_option.group.property_group_translation`.`property_group_id` = `property_group_option.group`.`id` WHERE `property_group_option`.`id` IN (:ids)
SELECT
`property_group_option`.`id` as `property_group_option.id`,
`property_group_option`.`property_group_id` as `property_group_option.groupId`,
`property_group_option`.`color_hex_code` as `property_group_option.colorHexCode`,
`property_group_option`.`media_id` as `property_group_option.mediaId`,
`property_group_option`.`created_at` as `property_group_option.createdAt`,
`property_group_option`.`updated_at` as `property_group_option.updatedAt`,
`property_group_option.group`.`id` as `property_group_option.group.id`,
`property_group_option.group`.`display_type` as `property_group_option.group.displayType`,
`property_group_option.group`.`sorting_type` as `property_group_option.group.sortingType`,
`property_group_option.group`.`filterable` as `property_group_option.group.filterable`,
`property_group_option.group`.`visible_on_product_detail_page` as `property_group_option.group.visibleOnProductDetailPage`,
`property_group_option.group`.`created_at` as `property_group_option.group.createdAt`,
`property_group_option.group`.`updated_at` as `property_group_option.group.updatedAt`,
`property_group_option.group.translation.name`,
COALESCE(
`property_group_option.group.translation.name`,
`property_group_option.group.translation.name`
) as `property_group_option.group.name`,
`property_group_option.group.translation.description`,
COALESCE(
`property_group_option.group.translation.description`,
`property_group_option.group.translation.description`
) as `property_group_option.group.description`,
`property_group_option.group.translation.position`,
COALESCE(
`property_group_option.group.translation.position`,
`property_group_option.group.translation.position`
) as `property_group_option.group.position`,
`property_group_option.group.translation.customFields`,
COALESCE(
`property_group_option.group.translation.customFields`,
`property_group_option.group.translation.customFields`
) as `property_group_option.group.customFields`,
`property_group_option.group.translation.createdAt`,
`property_group_option.group.translation.updatedAt`,
`property_group_option.group.translation.propertyGroupId`,
`property_group_option.group.translation.languageId`,
`property_group_option.translation.name`,
COALESCE(
`property_group_option.translation.name`,
`property_group_option.translation.name`
) as `property_group_option.name`,
`property_group_option.translation.position`,
COALESCE(
`property_group_option.translation.position`,
`property_group_option.translation.position`
) as `property_group_option.position`,
`property_group_option.translation.customFields`,
COALESCE(
`property_group_option.translation.customFields`,
`property_group_option.translation.customFields`
) as `property_group_option.customFields`,
`property_group_option.translation.createdAt`,
`property_group_option.translation.updatedAt`,
`property_group_option.translation.propertyGroupOptionId`,
`property_group_option.translation.languageId`
FROM
`property_group_option`
LEFT JOIN (
SELECT
`property_group_option.translation`.property_group_option_id,
`property_group_option.translation`.name as `property_group_option.translation.name`,
`property_group_option.translation`.position as `property_group_option.translation.position`,
`property_group_option.translation`.custom_fields as `property_group_option.translation.customFields`,
`property_group_option.translation`.created_at as `property_group_option.translation.createdAt`,
`property_group_option.translation`.updated_at as `property_group_option.translation.updatedAt`,
`property_group_option.translation`.property_group_option_id as `property_group_option.translation.propertyGroupOptionId`,
`property_group_option.translation`.language_id as `property_group_option.translation.languageId`
FROM
`property_group_option_translation` `property_group_option.translation`
WHERE
`property_group_option.translation`.language_id = : languageId
) `property_group_option.property_group_option_translation` ON `property_group_option.property_group_option_translation`.`property_group_option_id` = `property_group_option`.`id`
LEFT JOIN `property_group` `property_group_option.group` ON `property_group_option`.`property_group_id` = `property_group_option.group`.`id`
LEFT JOIN (
SELECT
`property_group_option.group.translation`.property_group_id,
`property_group_option.group.translation`.name as `property_group_option.group.translation.name`,
`property_group_option.group.translation`.description as `property_group_option.group.translation.description`,
`property_group_option.group.translation`.position as `property_group_option.group.translation.position`,
`property_group_option.group.translation`.custom_fields as `property_group_option.group.translation.customFields`,
`property_group_option.group.translation`.created_at as `property_group_option.group.translation.createdAt`,
`property_group_option.group.translation`.updated_at as `property_group_option.group.translation.updatedAt`,
`property_group_option.group.translation`.property_group_id as `property_group_option.group.translation.propertyGroupId`,
`property_group_option.group.translation`.language_id as `property_group_option.group.translation.languageId`
FROM
`property_group_translation` `property_group_option.group.translation`
WHERE
`property_group_option.group.translation`.language_id = : languageId
) `property_group_option.group.property_group_translation` ON `property_group_option.group.property_group_translation`.`property_group_id` = `property_group_option.group`.`id`
WHERE
`property_group_option`.`id` IN (: ids)
SELECT `property_group_option`.`id` as `property_group_option.id`, `property_group_option`.`property_group_id` as `property_group_option.groupId`, `property_group_option`.`color_hex_code` as `property_group_option.colorHexCode`, `property_group_option`.`media_id` as `property_group_option.mediaId`, `property_group_option`.`created_at` as `property_group_option.createdAt`, `property_group_option`.`updated_at` as `property_group_option.updatedAt`, `property_group_option.group`.`id` as `property_group_option.group.id`, `property_group_option.group`.`display_type` as `property_group_option.group.displayType`, `property_group_option.group`.`sorting_type` as `property_group_option.group.sortingType`, `property_group_option.group`.`filterable` as `property_group_option.group.filterable`, `property_group_option.group`.`visible_on_product_detail_page` as `property_group_option.group.visibleOnProductDetailPage`, `property_group_option.group`.`created_at` as `property_group_option.group.createdAt`, `property_group_option.group`.`updated_at` as `property_group_option.group.updatedAt`, `property_group_option.group.translation.name`, COALESCE(`property_group_option.group.translation.name`,`property_group_option.group.translation.name`) as `property_group_option.group.name`, `property_group_option.group.translation.description`, COALESCE(`property_group_option.group.translation.description`,`property_group_option.group.translation.description`) as `property_group_option.group.description`, `property_group_option.group.translation.position`, COALESCE(`property_group_option.group.translation.position`,`property_group_option.group.translation.position`) as `property_group_option.group.position`, `property_group_option.group.translation.customFields`, COALESCE(`property_group_option.group.translation.customFields`,`property_group_option.group.translation.customFields`) as `property_group_option.group.customFields`, `property_group_option.group.translation.createdAt`, `property_group_option.group.translation.updatedAt`, `property_group_option.group.translation.propertyGroupId`, `property_group_option.group.translation.languageId`, `property_group_option.translation.name`, COALESCE(`property_group_option.translation.name`,`property_group_option.translation.name`) as `property_group_option.name`, `property_group_option.translation.position`, COALESCE(`property_group_option.translation.position`,`property_group_option.translation.position`) as `property_group_option.position`, `property_group_option.translation.customFields`, COALESCE(`property_group_option.translation.customFields`,`property_group_option.translation.customFields`) as `property_group_option.customFields`, `property_group_option.translation.createdAt`, `property_group_option.translation.updatedAt`, `property_group_option.translation.propertyGroupOptionId`, `property_group_option.translation.languageId` FROM `property_group_option` LEFT JOIN (SELECT `property_group_option.translation`.property_group_option_id, `property_group_option.translation`.name as `property_group_option.translation.name`, `property_group_option.translation`.position as `property_group_option.translation.position`, `property_group_option.translation`.custom_fields as `property_group_option.translation.customFields`, `property_group_option.translation`.created_at as `property_group_option.translation.createdAt`, `property_group_option.translation`.updated_at as `property_group_option.translation.updatedAt`, `property_group_option.translation`.property_group_option_id as `property_group_option.translation.propertyGroupOptionId`, `property_group_option.translation`.language_id as `property_group_option.translation.languageId` FROM `property_group_option_translation` `property_group_option.translation` WHERE `property_group_option.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `property_group_option.property_group_option_translation` ON `property_group_option.property_group_option_translation`.`property_group_option_id` = `property_group_option`.`id` LEFT JOIN `property_group` `property_group_option.group` ON `property_group_option`.`property_group_id` = `property_group_option.group`.`id` LEFT JOIN (SELECT `property_group_option.group.translation`.property_group_id, `property_group_option.group.translation`.name as `property_group_option.group.translation.name`, `property_group_option.group.translation`.description as `property_group_option.group.translation.description`, `property_group_option.group.translation`.position as `property_group_option.group.translation.position`, `property_group_option.group.translation`.custom_fields as `property_group_option.group.translation.customFields`, `property_group_option.group.translation`.created_at as `property_group_option.group.translation.createdAt`, `property_group_option.group.translation`.updated_at as `property_group_option.group.translation.updatedAt`, `property_group_option.group.translation`.property_group_id as `property_group_option.group.translation.propertyGroupId`, `property_group_option.group.translation`.language_id as `property_group_option.group.translation.languageId` FROM `property_group_translation` `property_group_option.group.translation` WHERE `property_group_option.group.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `property_group_option.group.property_group_translation` ON `property_group_option.group.property_group_translation`.`property_group_id` = `property_group_option.group`.`id` WHERE `property_group_option`.`id` IN (0xC9FCA83BB5384F9FADB3B5FEE544D3C9);
array:40 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 316)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetch (line 148)"
4 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 683)"
5 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::loadManyToManyOverExtension (line 347)"
6 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::loadManyToMany (line 1216)"
7 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetchAssociations (line 152)"
8 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 93)"
9 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::read (line 195)"
10 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::read (line 133)"
11 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 147)"
12 => "Shopware\Core\Content\Cms\DataResolver\CmsSlotsDataResolver::fetchByCriteria (line 85)"
13 => "Shopware\Core\Content\Cms\DataResolver\CmsSlotsDataResolver::resolve (line 104)"
14 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::loadSlotData (line 94)"
15 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::load (line 102)"
16 => "Shopware\Core\Content\Category\SalesChannel\CategoryRoute::load (line 103)"
17 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 350)"
18 => "Shopware\Core\System\SystemConfig\SystemConfigService::trace (line 44)"
19 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 120)"
20 => "Shopware\Core\Framework\Adapter\Translation\Translator::trace (line 45)"
21 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 46)"
22 => "Shopware\Core\Framework\Adapter\Cache\CacheTagCollection::trace (line 46)"
23 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::trace (line 41)"
24 => "Shopware\Storefront\Framework\Cache\CacheTracer::Shopware\Storefront\Framework\Cache\{closure} (line 59)"
25 => "Shopware\Storefront\Theme\ThemeConfigValueAccessor::trace (line 42)"
26 => "Shopware\Storefront\Framework\Cache\CacheTracer::trace (line 104)"
27 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 72)"
28 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
29 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 109)"
30 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 59)"
31 => "Shopware\Core\Profiling\Profiler::trace (line 112)"
32 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::load (line 66)"
33 => "Shopware\Storefront\Page\Navigation\NavigationPageLoader::load (line 48)"
34 => "Shopware\Storefront\Controller\NavigationController::home (line 163)"
35 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
36 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
37 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
38 => "Shopware\Core\HttpKernel::doHandle (line 81)"
39 => "Shopware\Core\HttpKernel::handle (line 75)"
]
|
38 |
1.04 ms |
SELECT `product_price`.`id` as `product_price.id`, `product_price`.`version_id` as `product_price.versionId`, `product_price`.`product_id` as `product_price.productId`, `product_price`.`product_version_id` as `product_price.productVersionId`, `product_price`.`rule_id` as `product_price.ruleId`, `product_price`.`price` as `product_price.price`, `product_price`.`quantity_start` as `product_price.quantityStart`, `product_price`.`quantity_end` as `product_price.quantityEnd`, `product_price`.`custom_fields` as `product_price.customFields`, `product_price`.`created_at` as `product_price.createdAt`, `product_price`.`updated_at` as `product_price.updatedAt` FROM `product_price` WHERE (`product_price`.`version_id` = :version) AND ((`product_price`.`product_id` IN (:param_148794e3ba6e41059990a2091b75d020)))
SELECT `product_price`.`id` as `product_price.id`, `product_price`.`version_id` as `product_price.versionId`, `product_price`.`product_id` as `product_price.productId`, `product_price`.`product_version_id` as `product_price.productVersionId`, `product_price`.`rule_id` as `product_price.ruleId`, `product_price`.`price` as `product_price.price`, `product_price`.`quantity_start` as `product_price.quantityStart`, `product_price`.`quantity_end` as `product_price.quantityEnd`, `product_price`.`custom_fields` as `product_price.customFields`, `product_price`.`created_at` as `product_price.createdAt`, `product_price`.`updated_at` as `product_price.updatedAt` FROM `product_price` WHERE (`product_price`.`version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425) AND ((`product_price`.`product_id` IN (0x03F4EF144EC44C3E822790C652F7C3F6, 0x045EBC3CFE9D4BC7B696BB205090AB9F, 0x7E400E2572B447458789E1E3EDFAB37F)));
array:40 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 316)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetch (line 148)"
4 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 503)"
5 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::loadOneToManyWithoutPagination (line 438)"
6 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::loadOneToMany (line 1210)"
7 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetchAssociations (line 152)"
8 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 93)"
9 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::read (line 195)"
10 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::read (line 133)"
11 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 147)"
12 => "Shopware\Core\Content\Cms\DataResolver\CmsSlotsDataResolver::fetchByCriteria (line 85)"
13 => "Shopware\Core\Content\Cms\DataResolver\CmsSlotsDataResolver::resolve (line 104)"
14 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::loadSlotData (line 94)"
15 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::load (line 102)"
16 => "Shopware\Core\Content\Category\SalesChannel\CategoryRoute::load (line 103)"
17 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 350)"
18 => "Shopware\Core\System\SystemConfig\SystemConfigService::trace (line 44)"
19 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 120)"
20 => "Shopware\Core\Framework\Adapter\Translation\Translator::trace (line 45)"
21 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 46)"
22 => "Shopware\Core\Framework\Adapter\Cache\CacheTagCollection::trace (line 46)"
23 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::trace (line 41)"
24 => "Shopware\Storefront\Framework\Cache\CacheTracer::Shopware\Storefront\Framework\Cache\{closure} (line 59)"
25 => "Shopware\Storefront\Theme\ThemeConfigValueAccessor::trace (line 42)"
26 => "Shopware\Storefront\Framework\Cache\CacheTracer::trace (line 104)"
27 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 72)"
28 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
29 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 109)"
30 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 59)"
31 => "Shopware\Core\Profiling\Profiler::trace (line 112)"
32 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::load (line 66)"
33 => "Shopware\Storefront\Page\Navigation\NavigationPageLoader::load (line 48)"
34 => "Shopware\Storefront\Controller\NavigationController::home (line 163)"
35 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
36 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
37 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
38 => "Shopware\Core\HttpKernel::doHandle (line 81)"
39 => "Shopware\Core\HttpKernel::handle (line 75)"
]
|
39 |
0.73 ms |
SELECT * FROM sales_channel_api_context WHERE (sales_channel_id = :salesChannelId) AND (token = :token) LIMIT 1
SELECT * FROM sales_channel_api_context WHERE (sales_channel_id = 0x620A2217F7474E619CB00AD39E804CCA) AND (token = 'FwsxT47353Zxmr7lp0KSfYcVNkg5VpYR') LIMIT 1;
array:43 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 165)"
3 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextPersister::load (line 69)"
4 => "Bodymed\Webshop\Core\Subscriber\ProductSubscriber::addCustomerProductFeatureExtension (line 230)"
5 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
6 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
7 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
8 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
9 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
10 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 33)"
11 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
12 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 208)"
13 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::read (line 133)"
14 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 147)"
15 => "Shopware\Core\Content\Cms\DataResolver\CmsSlotsDataResolver::fetchByCriteria (line 85)"
16 => "Shopware\Core\Content\Cms\DataResolver\CmsSlotsDataResolver::resolve (line 104)"
17 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::loadSlotData (line 94)"
18 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::load (line 102)"
19 => "Shopware\Core\Content\Category\SalesChannel\CategoryRoute::load (line 103)"
20 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 350)"
21 => "Shopware\Core\System\SystemConfig\SystemConfigService::trace (line 44)"
22 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 120)"
23 => "Shopware\Core\Framework\Adapter\Translation\Translator::trace (line 45)"
24 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 46)"
25 => "Shopware\Core\Framework\Adapter\Cache\CacheTagCollection::trace (line 46)"
26 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::trace (line 41)"
27 => "Shopware\Storefront\Framework\Cache\CacheTracer::Shopware\Storefront\Framework\Cache\{closure} (line 59)"
28 => "Shopware\Storefront\Theme\ThemeConfigValueAccessor::trace (line 42)"
29 => "Shopware\Storefront\Framework\Cache\CacheTracer::trace (line 104)"
30 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 72)"
31 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
32 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 109)"
33 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 59)"
34 => "Shopware\Core\Profiling\Profiler::trace (line 112)"
35 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::load (line 66)"
36 => "Shopware\Storefront\Page\Navigation\NavigationPageLoader::load (line 48)"
37 => "Shopware\Storefront\Controller\NavigationController::home (line 163)"
38 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
39 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
40 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
41 => "Shopware\Core\HttpKernel::doHandle (line 81)"
42 => "Shopware\Core\HttpKernel::handle (line 75)"
]
|
40 |
30.56 ms |
SELECT `product`.`id` as `product.id`, `product`.`version_id` as `product.versionId`, `product`.`parent_id` as `product.parentId`, `product`.`parent_version_id` as `product.parentVersionId`, COALESCE(`product`.`product_manufacturer_id`, `product.parent`.`product_manufacturer_id`) as `product.manufacturerId`, COALESCE(`product`.`product_manufacturer_version_id`, `product.parent`.`product_manufacturer_version_id`) as `product.productManufacturerVersionId`, COALESCE(`product`.`unit_id`, `product.parent`.`unit_id`) as `product.unitId`, COALESCE(`product`.`tax_id`, `product.parent`.`tax_id`) as `product.taxId`, COALESCE(`product`.`product_media_id`, `product.parent`.`product_media_id`) as `product.coverId`, COALESCE(`product`.`product_media_version_id`, `product.parent`.`product_media_version_id`) as `product.productMediaVersionId`, COALESCE(`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`) as `product.deliveryTimeId`, COALESCE(`product`.`product_feature_set_id`, `product.parent`.`product_feature_set_id`) as `product.featureSetId`, COALESCE(`product`.`canonical_product_id`, `product.parent`.`canonical_product_id`) as `product.canonicalProductId`, COALESCE(`product`.`cms_page_id`, `product.parent`.`cms_page_id`) as `product.cmsPageId`, COALESCE(`product`.`cms_page_version_id`, `product.parent`.`cms_page_version_id`) as `product.cmsPageVersionId`, `product.parent`.`price` as `product.price.inherited`, COALESCE(`product`.`price`, `product.parent`.`price`) as `product.price`, `product`.`product_number` as `product.productNumber`, `product`.`stock` as `product.stock`, COALESCE(`product`.`restock_time`, `product.parent`.`restock_time`) as `product.restockTime`, `product`.`auto_increment` as `product.autoIncrement`, COALESCE(`product`.`active`, `product.parent`.`active`) as `product.active`, `product`.`available_stock` as `product.availableStock`, `product`.`available` as `product.available`, COALESCE(`product`.`is_closeout`, `product.parent`.`is_closeout`) as `product.isCloseout`, `product`.`display_group` as `product.displayGroup`, `product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`, COALESCE(`product`.`configurator_group_config`, `product.parent`.`configurator_group_config`) as `product.configuratorGroupConfig`, COALESCE(`product`.`main_variant_id`, `product.parent`.`main_variant_id`) as `product.mainVariantId`, COALESCE(`product`.`display_parent`, `product.parent`.`display_parent`) as `product.displayParent`, `product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`, COALESCE(`product`.`variant_listing_config`, `product.parent`.`variant_listing_config`) as `product.variantListingConfig`, `product`.`variant_restrictions` as `product.variantRestrictions`, COALESCE(`product`.`manufacturer_number`, `product.parent`.`manufacturer_number`) as `product.manufacturerNumber`, COALESCE(`product`.`ean`, `product.parent`.`ean`) as `product.ean`, COALESCE(`product`.`purchase_steps`, `product.parent`.`purchase_steps`) as `product.purchaseSteps`, COALESCE(`product`.`max_purchase`, `product.parent`.`max_purchase`) as `product.maxPurchase`, COALESCE(`product`.`min_purchase`, `product.parent`.`min_purchase`) as `product.minPurchase`, COALESCE(`product`.`purchase_unit`, `product.parent`.`purchase_unit`) as `product.purchaseUnit`, COALESCE(`product`.`reference_unit`, `product.parent`.`reference_unit`) as `product.referenceUnit`, COALESCE(`product`.`shipping_free`, `product.parent`.`shipping_free`) as `product.shippingFree`, `product.parent`.`purchase_prices` as `product.purchasePrices.inherited`, COALESCE(`product`.`purchase_prices`, `product.parent`.`purchase_prices`) as `product.purchasePrices`, COALESCE(`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`) as `product.markAsTopseller`, COALESCE(`product`.`weight`, `product.parent`.`weight`) as `product.weight`, COALESCE(`product`.`width`, `product.parent`.`width`) as `product.width`, COALESCE(`product`.`height`, `product.parent`.`height`) as `product.height`, COALESCE(`product`.`length`, `product.parent`.`length`) as `product.length`, COALESCE(`product`.`release_date`, `product.parent`.`release_date`) as `product.releaseDate`, COALESCE(`product`.`rating_average`, `product.parent`.`rating_average`) as `product.ratingAverage`, `product.parent`.`category_tree` as `product.categoryTree.inherited`, COALESCE(`product`.`category_tree`, `product.parent`.`category_tree`) as `product.categoryTree`, `product.parent`.`property_ids` as `product.propertyIds.inherited`, COALESCE(`product`.`property_ids`, `product.parent`.`property_ids`) as `product.propertyIds`, `product.parent`.`option_ids` as `product.optionIds.inherited`, COALESCE(`product`.`option_ids`, `product.parent`.`option_ids`) as `product.optionIds`, `product.parent`.`stream_ids` as `product.streamIds.inherited`, COALESCE(`product`.`stream_ids`, `product.parent`.`stream_ids`) as `product.streamIds`, `product.parent`.`tag_ids` as `product.tagIds.inherited`, COALESCE(`product`.`tag_ids`, `product.parent`.`tag_ids`) as `product.tagIds`, `product.parent`.`category_ids` as `product.categoryIds.inherited`, COALESCE(`product`.`category_ids`, `product.parent`.`category_ids`) as `product.categoryIds`, `product`.`child_count` as `product.childCount`, COALESCE(`product`.`custom_field_set_selection_active`, `product.parent`.`custom_field_set_selection_active`) as `product.customFieldSetSelectionActive`, `product`.`sales` as `product.sales`, `product`.`states` as `product.states`, `product.tax`.`id` as `product.tax.id`, `product.tax`.`tax_rate` as `product.tax.taxRate`, `product.tax`.`name` as `product.tax.name`, `product.tax`.`position` as `product.tax.position`, `product.tax`.`custom_fields` as `product.tax.customFields`, `product.tax`.`created_at` as `product.tax.createdAt`, `product.tax`.`updated_at` as `product.tax.updatedAt`, `product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`, COALESCE(`product`.`cheapest_price`, `product.parent`.`cheapest_price`) as `product.cheapestPrice`, `product`.`created_at` as `product.createdAt`, `product`.`updated_at` as `product.updatedAt`, `product.bundle`.`id` as `product.bundle.id`, `product.bundle`.`product_id` as `product.bundle.productId`, `product.bundle`.`product_version_id` as `product.bundle.productVersionId`, `product.bundle`.`name` as `product.bundle.name`, `product.bundle`.`price_type` as `product.bundle.priceType`, `product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`, `product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`, `product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`, `product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`, `product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`, `product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`, `product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`, `product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`, `product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`, `product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`, `product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`, `product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`, `product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`, `product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`, `product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`, `product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`, `product.bundle`.`created_at` as `product.bundle.createdAt`, `product.bundle`.`updated_at` as `product.bundle.updatedAt`, `product.cover`.`id` as `product.cover.id`, `product.cover`.`version_id` as `product.cover.versionId`, `product.cover`.`product_id` as `product.cover.productId`, `product.cover`.`product_version_id` as `product.cover.productVersionId`, `product.cover`.`media_id` as `product.cover.mediaId`, `product.cover`.`position` as `product.cover.position`, `product.cover.media`.`id` as `product.cover.media.id`, `product.cover.media`.`user_id` as `product.cover.media.userId`, `product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`, `product.cover.media`.`mime_type` as `product.cover.media.mimeType`, `product.cover.media`.`file_extension` as `product.cover.media.fileExtension`, `product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`, `product.cover.media`.`file_name` as `product.cover.media.fileName`, `product.cover.media`.`file_size` as `product.cover.media.fileSize`, `product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`, `product.cover.media`.`meta_data` as `product.cover.media.metaData`, `product.cover.media`.`private` as `product.cover.media.private`, `product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`, `product.cover.media`.`created_at` as `product.cover.media.createdAt`, `product.cover.media`.`updated_at` as `product.cover.media.updatedAt`, `product.cover.media.translation.title`, COALESCE(`product.cover.media.translation.title`,`product.cover.media.translation.title`) as `product.cover.media.title`, `product.cover.media.translation.alt`, COALESCE(`product.cover.media.translation.alt`,`product.cover.media.translation.alt`) as `product.cover.media.alt`, `product.cover.media.translation.customFields`, COALESCE(`product.cover.media.translation.customFields`,`product.cover.media.translation.customFields`) as `product.cover.media.customFields`, `product.cover.media.translation.createdAt`, `product.cover.media.translation.updatedAt`, `product.cover.media.translation.mediaId`, `product.cover.media.translation.languageId`, `product.cover`.`custom_fields` as `product.cover.customFields`, `product.cover`.`created_at` as `product.cover.createdAt`, `product.cover`.`updated_at` as `product.cover.updatedAt`, `product.translation.metaDescription`, `product.parent.translation.metaDescription`, COALESCE(`product.translation.metaDescription`,`product.parent.translation.metaDescription`,`product.translation.metaDescription`) as `product.metaDescription`, `product.translation.name`, `product.parent.translation.name`, COALESCE(`product.translation.name`,`product.parent.translation.name`,`product.translation.name`) as `product.name`, `product.translation.keywords`, `product.parent.translation.keywords`, COALESCE(`product.translation.keywords`,`product.parent.translation.keywords`,`product.translation.keywords`) as `product.keywords`, `product.translation.description`, `product.parent.translation.description`, COALESCE(`product.translation.description`,`product.parent.translation.description`,`product.translation.description`) as `product.description`, `product.translation.metaTitle`, `product.parent.translation.metaTitle`, COALESCE(`product.translation.metaTitle`,`product.parent.translation.metaTitle`,`product.translation.metaTitle`) as `product.metaTitle`, `product.translation.packUnit`, `product.parent.translation.packUnit`, COALESCE(`product.translation.packUnit`,`product.parent.translation.packUnit`,`product.translation.packUnit`) as `product.packUnit`, `product.translation.packUnitPlural`, `product.parent.translation.packUnitPlural`, COALESCE(`product.translation.packUnitPlural`,`product.parent.translation.packUnitPlural`,`product.translation.packUnitPlural`) as `product.packUnitPlural`, `product.translation.customSearchKeywords`, `product.parent.translation.customSearchKeywords`, COALESCE(`product.translation.customSearchKeywords`,`product.parent.translation.customSearchKeywords`,`product.translation.customSearchKeywords`) as `product.customSearchKeywords`, `product.translation.slotConfig`, `product.parent.translation.slotConfig`, COALESCE(`product.translation.slotConfig`,`product.parent.translation.slotConfig`,`product.translation.slotConfig`) as `product.slotConfig`, `product.translation.customFields`, `product.parent.translation.customFields`, COALESCE(`product.translation.customFields`,`product.parent.translation.customFields`,`product.translation.customFields`) as `product.customFields`, `product.translation.createdAt`, `product.parent.translation.createdAt`, `product.translation.updatedAt`, `product.parent.translation.updatedAt`, `product.translation.productId`, `product.parent.translation.productId`, `product.translation.languageId`, `product.parent.translation.languageId`, `product.translation.productVersionId`, `product.parent.translation.productVersionId` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN (SELECT `product.translation`.product_id, `product.translation`.product_version_id, `product.translation`.meta_description as `product.translation.metaDescription`, `product.translation`.name as `product.translation.name`, `product.translation`.keywords as `product.translation.keywords`, `product.translation`.description as `product.translation.description`, `product.translation`.meta_title as `product.translation.metaTitle`, `product.translation`.pack_unit as `product.translation.packUnit`, `product.translation`.pack_unit_plural as `product.translation.packUnitPlural`, `product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`, `product.translation`.slot_config as `product.translation.slotConfig`, `product.translation`.custom_fields as `product.translation.customFields`, `product.translation`.created_at as `product.translation.createdAt`, `product.translation`.updated_at as `product.translation.updatedAt`, `product.translation`.product_id as `product.translation.productId`, `product.translation`.language_id as `product.translation.languageId`, `product.translation`.product_version_id as `product.translation.productVersionId` FROM `product_translation` `product.translation` WHERE `product.translation`.language_id = :languageId) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id` AND `product.product_translation`.product_version_id = `product`.version_id LEFT JOIN (SELECT `product.parent.translation`.product_id, `product.parent.translation`.product_version_id, `product.parent.translation`.meta_description as `product.parent.translation.metaDescription`, `product.parent.translation`.name as `product.parent.translation.name`, `product.parent.translation`.keywords as `product.parent.translation.keywords`, `product.parent.translation`.description as `product.parent.translation.description`, `product.parent.translation`.meta_title as `product.parent.translation.metaTitle`, `product.parent.translation`.pack_unit as `product.parent.translation.packUnit`, `product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`, `product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`, `product.parent.translation`.slot_config as `product.parent.translation.slotConfig`, `product.parent.translation`.custom_fields as `product.parent.translation.customFields`, `product.parent.translation`.created_at as `product.parent.translation.createdAt`, `product.parent.translation`.updated_at as `product.parent.translation.updatedAt`, `product.parent.translation`.product_id as `product.parent.translation.productId`, `product.parent.translation`.language_id as `product.parent.translation.languageId`, `product.parent.translation`.product_version_id as `product.parent.translation.productVersionId` FROM `product_translation` `product.parent.translation` WHERE `product.parent.translation`.language_id = :languageId) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id` AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id` LEFT JOIN `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_id` LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id` AND `product`.`version_id` = `product.cover`.`version_id` LEFT JOIN `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`id` LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id` LEFT JOIN (SELECT `product.cover.media.translation`.media_id, `product.cover.media.translation`.title as `product.cover.media.translation.title`, `product.cover.media.translation`.alt as `product.cover.media.translation.alt`, `product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`, `product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`, `product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`, `product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`, `product.cover.media.translation`.language_id as `product.cover.media.translation.languageId` FROM `media_translation` `product.cover.media.translation` WHERE `product.cover.media.translation`.language_id = :languageId) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id` WHERE (`product`.`version_id` = :version) AND (`product`.`id` IN (:ids))
SELECT
`product`.`id` as `product.id`,
`product`.`version_id` as `product.versionId`,
`product`.`parent_id` as `product.parentId`,
`product`.`parent_version_id` as `product.parentVersionId`,
COALESCE(
`product`.`product_manufacturer_id`,
`product.parent`.`product_manufacturer_id`
) as `product.manufacturerId`,
COALESCE(
`product`.`product_manufacturer_version_id`,
`product.parent`.`product_manufacturer_version_id`
) as `product.productManufacturerVersionId`,
COALESCE(
`product`.`unit_id`, `product.parent`.`unit_id`
) as `product.unitId`,
COALESCE(
`product`.`tax_id`, `product.parent`.`tax_id`
) as `product.taxId`,
COALESCE(
`product`.`product_media_id`, `product.parent`.`product_media_id`
) as `product.coverId`,
COALESCE(
`product`.`product_media_version_id`,
`product.parent`.`product_media_version_id`
) as `product.productMediaVersionId`,
COALESCE(
`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`
) as `product.deliveryTimeId`,
COALESCE(
`product`.`product_feature_set_id`,
`product.parent`.`product_feature_set_id`
) as `product.featureSetId`,
COALESCE(
`product`.`canonical_product_id`,
`product.parent`.`canonical_product_id`
) as `product.canonicalProductId`,
COALESCE(
`product`.`cms_page_id`, `product.parent`.`cms_page_id`
) as `product.cmsPageId`,
COALESCE(
`product`.`cms_page_version_id`,
`product.parent`.`cms_page_version_id`
) as `product.cmsPageVersionId`,
`product.parent`.`price` as `product.price.inherited`,
COALESCE(
`product`.`price`, `product.parent`.`price`
) as `product.price`,
`product`.`product_number` as `product.productNumber`,
`product`.`stock` as `product.stock`,
COALESCE(
`product`.`restock_time`, `product.parent`.`restock_time`
) as `product.restockTime`,
`product`.`auto_increment` as `product.autoIncrement`,
COALESCE(
`product`.`active`, `product.parent`.`active`
) as `product.active`,
`product`.`available_stock` as `product.availableStock`,
`product`.`available` as `product.available`,
COALESCE(
`product`.`is_closeout`, `product.parent`.`is_closeout`
) as `product.isCloseout`,
`product`.`display_group` as `product.displayGroup`,
`product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`,
COALESCE(
`product`.`configurator_group_config`,
`product.parent`.`configurator_group_config`
) as `product.configuratorGroupConfig`,
COALESCE(
`product`.`main_variant_id`, `product.parent`.`main_variant_id`
) as `product.mainVariantId`,
COALESCE(
`product`.`display_parent`, `product.parent`.`display_parent`
) as `product.displayParent`,
`product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`,
COALESCE(
`product`.`variant_listing_config`,
`product.parent`.`variant_listing_config`
) as `product.variantListingConfig`,
`product`.`variant_restrictions` as `product.variantRestrictions`,
COALESCE(
`product`.`manufacturer_number`,
`product.parent`.`manufacturer_number`
) as `product.manufacturerNumber`,
COALESCE(
`product`.`ean`, `product.parent`.`ean`
) as `product.ean`,
COALESCE(
`product`.`purchase_steps`, `product.parent`.`purchase_steps`
) as `product.purchaseSteps`,
COALESCE(
`product`.`max_purchase`, `product.parent`.`max_purchase`
) as `product.maxPurchase`,
COALESCE(
`product`.`min_purchase`, `product.parent`.`min_purchase`
) as `product.minPurchase`,
COALESCE(
`product`.`purchase_unit`, `product.parent`.`purchase_unit`
) as `product.purchaseUnit`,
COALESCE(
`product`.`reference_unit`, `product.parent`.`reference_unit`
) as `product.referenceUnit`,
COALESCE(
`product`.`shipping_free`, `product.parent`.`shipping_free`
) as `product.shippingFree`,
`product.parent`.`purchase_prices` as `product.purchasePrices.inherited`,
COALESCE(
`product`.`purchase_prices`, `product.parent`.`purchase_prices`
) as `product.purchasePrices`,
COALESCE(
`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`
) as `product.markAsTopseller`,
COALESCE(
`product`.`weight`, `product.parent`.`weight`
) as `product.weight`,
COALESCE(
`product`.`width`, `product.parent`.`width`
) as `product.width`,
COALESCE(
`product`.`height`, `product.parent`.`height`
) as `product.height`,
COALESCE(
`product`.`length`, `product.parent`.`length`
) as `product.length`,
COALESCE(
`product`.`release_date`, `product.parent`.`release_date`
) as `product.releaseDate`,
COALESCE(
`product`.`rating_average`, `product.parent`.`rating_average`
) as `product.ratingAverage`,
`product.parent`.`category_tree` as `product.categoryTree.inherited`,
COALESCE(
`product`.`category_tree`, `product.parent`.`category_tree`
) as `product.categoryTree`,
`product.parent`.`property_ids` as `product.propertyIds.inherited`,
COALESCE(
`product`.`property_ids`, `product.parent`.`property_ids`
) as `product.propertyIds`,
`product.parent`.`option_ids` as `product.optionIds.inherited`,
COALESCE(
`product`.`option_ids`, `product.parent`.`option_ids`
) as `product.optionIds`,
`product.parent`.`stream_ids` as `product.streamIds.inherited`,
COALESCE(
`product`.`stream_ids`, `product.parent`.`stream_ids`
) as `product.streamIds`,
`product.parent`.`tag_ids` as `product.tagIds.inherited`,
COALESCE(
`product`.`tag_ids`, `product.parent`.`tag_ids`
) as `product.tagIds`,
`product.parent`.`category_ids` as `product.categoryIds.inherited`,
COALESCE(
`product`.`category_ids`, `product.parent`.`category_ids`
) as `product.categoryIds`,
`product`.`child_count` as `product.childCount`,
COALESCE(
`product`.`custom_field_set_selection_active`,
`product.parent`.`custom_field_set_selection_active`
) as `product.customFieldSetSelectionActive`,
`product`.`sales` as `product.sales`,
`product`.`states` as `product.states`,
`product.tax`.`id` as `product.tax.id`,
`product.tax`.`tax_rate` as `product.tax.taxRate`,
`product.tax`.`name` as `product.tax.name`,
`product.tax`.`position` as `product.tax.position`,
`product.tax`.`custom_fields` as `product.tax.customFields`,
`product.tax`.`created_at` as `product.tax.createdAt`,
`product.tax`.`updated_at` as `product.tax.updatedAt`,
`product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`,
COALESCE(
`product`.`cheapest_price`, `product.parent`.`cheapest_price`
) as `product.cheapestPrice`,
`product`.`created_at` as `product.createdAt`,
`product`.`updated_at` as `product.updatedAt`,
`product.bundle`.`id` as `product.bundle.id`,
`product.bundle`.`product_id` as `product.bundle.productId`,
`product.bundle`.`product_version_id` as `product.bundle.productVersionId`,
`product.bundle`.`name` as `product.bundle.name`,
`product.bundle`.`price_type` as `product.bundle.priceType`,
`product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`,
`product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`,
`product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`,
`product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`,
`product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`,
`product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`,
`product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`,
`product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`,
`product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`,
`product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`,
`product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`,
`product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`,
`product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`,
`product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`,
`product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`,
`product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`,
`product.bundle`.`created_at` as `product.bundle.createdAt`,
`product.bundle`.`updated_at` as `product.bundle.updatedAt`,
`product.cover`.`id` as `product.cover.id`,
`product.cover`.`version_id` as `product.cover.versionId`,
`product.cover`.`product_id` as `product.cover.productId`,
`product.cover`.`product_version_id` as `product.cover.productVersionId`,
`product.cover`.`media_id` as `product.cover.mediaId`,
`product.cover`.`position` as `product.cover.position`,
`product.cover.media`.`id` as `product.cover.media.id`,
`product.cover.media`.`user_id` as `product.cover.media.userId`,
`product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`,
`product.cover.media`.`mime_type` as `product.cover.media.mimeType`,
`product.cover.media`.`file_extension` as `product.cover.media.fileExtension`,
`product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`,
`product.cover.media`.`file_name` as `product.cover.media.fileName`,
`product.cover.media`.`file_size` as `product.cover.media.fileSize`,
`product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`,
`product.cover.media`.`meta_data` as `product.cover.media.metaData`,
`product.cover.media`.`private` as `product.cover.media.private`,
`product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`,
`product.cover.media`.`created_at` as `product.cover.media.createdAt`,
`product.cover.media`.`updated_at` as `product.cover.media.updatedAt`,
`product.cover.media.translation.title`,
COALESCE(
`product.cover.media.translation.title`,
`product.cover.media.translation.title`
) as `product.cover.media.title`,
`product.cover.media.translation.alt`,
COALESCE(
`product.cover.media.translation.alt`,
`product.cover.media.translation.alt`
) as `product.cover.media.alt`,
`product.cover.media.translation.customFields`,
COALESCE(
`product.cover.media.translation.customFields`,
`product.cover.media.translation.customFields`
) as `product.cover.media.customFields`,
`product.cover.media.translation.createdAt`,
`product.cover.media.translation.updatedAt`,
`product.cover.media.translation.mediaId`,
`product.cover.media.translation.languageId`,
`product.cover`.`custom_fields` as `product.cover.customFields`,
`product.cover`.`created_at` as `product.cover.createdAt`,
`product.cover`.`updated_at` as `product.cover.updatedAt`,
`product.translation.metaDescription`,
`product.parent.translation.metaDescription`,
COALESCE(
`product.translation.metaDescription`,
`product.parent.translation.metaDescription`,
`product.translation.metaDescription`
) as `product.metaDescription`,
`product.translation.name`,
`product.parent.translation.name`,
COALESCE(
`product.translation.name`, `product.parent.translation.name`,
`product.translation.name`
) as `product.name`,
`product.translation.keywords`,
`product.parent.translation.keywords`,
COALESCE(
`product.translation.keywords`,
`product.parent.translation.keywords`,
`product.translation.keywords`
) as `product.keywords`,
`product.translation.description`,
`product.parent.translation.description`,
COALESCE(
`product.translation.description`,
`product.parent.translation.description`,
`product.translation.description`
) as `product.description`,
`product.translation.metaTitle`,
`product.parent.translation.metaTitle`,
COALESCE(
`product.translation.metaTitle`,
`product.parent.translation.metaTitle`,
`product.translation.metaTitle`
) as `product.metaTitle`,
`product.translation.packUnit`,
`product.parent.translation.packUnit`,
COALESCE(
`product.translation.packUnit`,
`product.parent.translation.packUnit`,
`product.translation.packUnit`
) as `product.packUnit`,
`product.translation.packUnitPlural`,
`product.parent.translation.packUnitPlural`,
COALESCE(
`product.translation.packUnitPlural`,
`product.parent.translation.packUnitPlural`,
`product.translation.packUnitPlural`
) as `product.packUnitPlural`,
`product.translation.customSearchKeywords`,
`product.parent.translation.customSearchKeywords`,
COALESCE(
`product.translation.customSearchKeywords`,
`product.parent.translation.customSearchKeywords`,
`product.translation.customSearchKeywords`
) as `product.customSearchKeywords`,
`product.translation.slotConfig`,
`product.parent.translation.slotConfig`,
COALESCE(
`product.translation.slotConfig`,
`product.parent.translation.slotConfig`,
`product.translation.slotConfig`
) as `product.slotConfig`,
`product.translation.customFields`,
`product.parent.translation.customFields`,
COALESCE(
`product.translation.customFields`,
`product.parent.translation.customFields`,
`product.translation.customFields`
) as `product.customFields`,
`product.translation.createdAt`,
`product.parent.translation.createdAt`,
`product.translation.updatedAt`,
`product.parent.translation.updatedAt`,
`product.translation.productId`,
`product.parent.translation.productId`,
`product.translation.languageId`,
`product.parent.translation.languageId`,
`product.translation.productVersionId`,
`product.parent.translation.productVersionId`
FROM
`product`
LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id`
AND `product`.`version_id` = `product.parent`.`version_id`
LEFT JOIN (
SELECT
`product.translation`.product_id,
`product.translation`.product_version_id,
`product.translation`.meta_description as `product.translation.metaDescription`,
`product.translation`.name as `product.translation.name`,
`product.translation`.keywords as `product.translation.keywords`,
`product.translation`.description as `product.translation.description`,
`product.translation`.meta_title as `product.translation.metaTitle`,
`product.translation`.pack_unit as `product.translation.packUnit`,
`product.translation`.pack_unit_plural as `product.translation.packUnitPlural`,
`product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`,
`product.translation`.slot_config as `product.translation.slotConfig`,
`product.translation`.custom_fields as `product.translation.customFields`,
`product.translation`.created_at as `product.translation.createdAt`,
`product.translation`.updated_at as `product.translation.updatedAt`,
`product.translation`.product_id as `product.translation.productId`,
`product.translation`.language_id as `product.translation.languageId`,
`product.translation`.product_version_id as `product.translation.productVersionId`
FROM
`product_translation` `product.translation`
WHERE
`product.translation`.language_id = : languageId
) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id`
AND `product.product_translation`.product_version_id = `product`.version_id
LEFT JOIN (
SELECT
`product.parent.translation`.product_id,
`product.parent.translation`.product_version_id,
`product.parent.translation`.meta_description as `product.parent.translation.metaDescription`,
`product.parent.translation`.name as `product.parent.translation.name`,
`product.parent.translation`.keywords as `product.parent.translation.keywords`,
`product.parent.translation`.description as `product.parent.translation.description`,
`product.parent.translation`.meta_title as `product.parent.translation.metaTitle`,
`product.parent.translation`.pack_unit as `product.parent.translation.packUnit`,
`product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`,
`product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`,
`product.parent.translation`.slot_config as `product.parent.translation.slotConfig`,
`product.parent.translation`.custom_fields as `product.parent.translation.customFields`,
`product.parent.translation`.created_at as `product.parent.translation.createdAt`,
`product.parent.translation`.updated_at as `product.parent.translation.updatedAt`,
`product.parent.translation`.product_id as `product.parent.translation.productId`,
`product.parent.translation`.language_id as `product.parent.translation.languageId`,
`product.parent.translation`.product_version_id as `product.parent.translation.productVersionId`
FROM
`product_translation` `product.parent.translation`
WHERE
`product.parent.translation`.language_id = : languageId
) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id`
AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id
LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id`
LEFT JOIN `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_id`
LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id`
AND `product`.`version_id` = `product.cover`.`version_id`
LEFT JOIN `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id`
LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id`
LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`id`
LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id`
LEFT JOIN (
SELECT
`product.cover.media.translation`.media_id,
`product.cover.media.translation`.title as `product.cover.media.translation.title`,
`product.cover.media.translation`.alt as `product.cover.media.translation.alt`,
`product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`,
`product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`,
`product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`,
`product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`,
`product.cover.media.translation`.language_id as `product.cover.media.translation.languageId`
FROM
`media_translation` `product.cover.media.translation`
WHERE
`product.cover.media.translation`.language_id = : languageId
) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id`
WHERE
(
`product`.`version_id` = : version
)
AND (
`product`.`id` IN (: ids)
)
SELECT `product`.`id` as `product.id`, `product`.`version_id` as `product.versionId`, `product`.`parent_id` as `product.parentId`, `product`.`parent_version_id` as `product.parentVersionId`, COALESCE(`product`.`product_manufacturer_id`, `product.parent`.`product_manufacturer_id`) as `product.manufacturerId`, COALESCE(`product`.`product_manufacturer_version_id`, `product.parent`.`product_manufacturer_version_id`) as `product.productManufacturerVersionId`, COALESCE(`product`.`unit_id`, `product.parent`.`unit_id`) as `product.unitId`, COALESCE(`product`.`tax_id`, `product.parent`.`tax_id`) as `product.taxId`, COALESCE(`product`.`product_media_id`, `product.parent`.`product_media_id`) as `product.coverId`, COALESCE(`product`.`product_media_version_id`, `product.parent`.`product_media_version_id`) as `product.productMediaVersionId`, COALESCE(`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`) as `product.deliveryTimeId`, COALESCE(`product`.`product_feature_set_id`, `product.parent`.`product_feature_set_id`) as `product.featureSetId`, COALESCE(`product`.`canonical_product_id`, `product.parent`.`canonical_product_id`) as `product.canonicalProductId`, COALESCE(`product`.`cms_page_id`, `product.parent`.`cms_page_id`) as `product.cmsPageId`, COALESCE(`product`.`cms_page_version_id`, `product.parent`.`cms_page_version_id`) as `product.cmsPageVersionId`, `product.parent`.`price` as `product.price.inherited`, COALESCE(`product`.`price`, `product.parent`.`price`) as `product.price`, `product`.`product_number` as `product.productNumber`, `product`.`stock` as `product.stock`, COALESCE(`product`.`restock_time`, `product.parent`.`restock_time`) as `product.restockTime`, `product`.`auto_increment` as `product.autoIncrement`, COALESCE(`product`.`active`, `product.parent`.`active`) as `product.active`, `product`.`available_stock` as `product.availableStock`, `product`.`available` as `product.available`, COALESCE(`product`.`is_closeout`, `product.parent`.`is_closeout`) as `product.isCloseout`, `product`.`display_group` as `product.displayGroup`, `product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`, COALESCE(`product`.`configurator_group_config`, `product.parent`.`configurator_group_config`) as `product.configuratorGroupConfig`, COALESCE(`product`.`main_variant_id`, `product.parent`.`main_variant_id`) as `product.mainVariantId`, COALESCE(`product`.`display_parent`, `product.parent`.`display_parent`) as `product.displayParent`, `product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`, COALESCE(`product`.`variant_listing_config`, `product.parent`.`variant_listing_config`) as `product.variantListingConfig`, `product`.`variant_restrictions` as `product.variantRestrictions`, COALESCE(`product`.`manufacturer_number`, `product.parent`.`manufacturer_number`) as `product.manufacturerNumber`, COALESCE(`product`.`ean`, `product.parent`.`ean`) as `product.ean`, COALESCE(`product`.`purchase_steps`, `product.parent`.`purchase_steps`) as `product.purchaseSteps`, COALESCE(`product`.`max_purchase`, `product.parent`.`max_purchase`) as `product.maxPurchase`, COALESCE(`product`.`min_purchase`, `product.parent`.`min_purchase`) as `product.minPurchase`, COALESCE(`product`.`purchase_unit`, `product.parent`.`purchase_unit`) as `product.purchaseUnit`, COALESCE(`product`.`reference_unit`, `product.parent`.`reference_unit`) as `product.referenceUnit`, COALESCE(`product`.`shipping_free`, `product.parent`.`shipping_free`) as `product.shippingFree`, `product.parent`.`purchase_prices` as `product.purchasePrices.inherited`, COALESCE(`product`.`purchase_prices`, `product.parent`.`purchase_prices`) as `product.purchasePrices`, COALESCE(`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`) as `product.markAsTopseller`, COALESCE(`product`.`weight`, `product.parent`.`weight`) as `product.weight`, COALESCE(`product`.`width`, `product.parent`.`width`) as `product.width`, COALESCE(`product`.`height`, `product.parent`.`height`) as `product.height`, COALESCE(`product`.`length`, `product.parent`.`length`) as `product.length`, COALESCE(`product`.`release_date`, `product.parent`.`release_date`) as `product.releaseDate`, COALESCE(`product`.`rating_average`, `product.parent`.`rating_average`) as `product.ratingAverage`, `product.parent`.`category_tree` as `product.categoryTree.inherited`, COALESCE(`product`.`category_tree`, `product.parent`.`category_tree`) as `product.categoryTree`, `product.parent`.`property_ids` as `product.propertyIds.inherited`, COALESCE(`product`.`property_ids`, `product.parent`.`property_ids`) as `product.propertyIds`, `product.parent`.`option_ids` as `product.optionIds.inherited`, COALESCE(`product`.`option_ids`, `product.parent`.`option_ids`) as `product.optionIds`, `product.parent`.`stream_ids` as `product.streamIds.inherited`, COALESCE(`product`.`stream_ids`, `product.parent`.`stream_ids`) as `product.streamIds`, `product.parent`.`tag_ids` as `product.tagIds.inherited`, COALESCE(`product`.`tag_ids`, `product.parent`.`tag_ids`) as `product.tagIds`, `product.parent`.`category_ids` as `product.categoryIds.inherited`, COALESCE(`product`.`category_ids`, `product.parent`.`category_ids`) as `product.categoryIds`, `product`.`child_count` as `product.childCount`, COALESCE(`product`.`custom_field_set_selection_active`, `product.parent`.`custom_field_set_selection_active`) as `product.customFieldSetSelectionActive`, `product`.`sales` as `product.sales`, `product`.`states` as `product.states`, `product.tax`.`id` as `product.tax.id`, `product.tax`.`tax_rate` as `product.tax.taxRate`, `product.tax`.`name` as `product.tax.name`, `product.tax`.`position` as `product.tax.position`, `product.tax`.`custom_fields` as `product.tax.customFields`, `product.tax`.`created_at` as `product.tax.createdAt`, `product.tax`.`updated_at` as `product.tax.updatedAt`, `product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`, COALESCE(`product`.`cheapest_price`, `product.parent`.`cheapest_price`) as `product.cheapestPrice`, `product`.`created_at` as `product.createdAt`, `product`.`updated_at` as `product.updatedAt`, `product.bundle`.`id` as `product.bundle.id`, `product.bundle`.`product_id` as `product.bundle.productId`, `product.bundle`.`product_version_id` as `product.bundle.productVersionId`, `product.bundle`.`name` as `product.bundle.name`, `product.bundle`.`price_type` as `product.bundle.priceType`, `product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`, `product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`, `product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`, `product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`, `product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`, `product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`, `product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`, `product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`, `product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`, `product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`, `product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`, `product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`, `product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`, `product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`, `product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`, `product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`, `product.bundle`.`created_at` as `product.bundle.createdAt`, `product.bundle`.`updated_at` as `product.bundle.updatedAt`, `product.cover`.`id` as `product.cover.id`, `product.cover`.`version_id` as `product.cover.versionId`, `product.cover`.`product_id` as `product.cover.productId`, `product.cover`.`product_version_id` as `product.cover.productVersionId`, `product.cover`.`media_id` as `product.cover.mediaId`, `product.cover`.`position` as `product.cover.position`, `product.cover.media`.`id` as `product.cover.media.id`, `product.cover.media`.`user_id` as `product.cover.media.userId`, `product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`, `product.cover.media`.`mime_type` as `product.cover.media.mimeType`, `product.cover.media`.`file_extension` as `product.cover.media.fileExtension`, `product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`, `product.cover.media`.`file_name` as `product.cover.media.fileName`, `product.cover.media`.`file_size` as `product.cover.media.fileSize`, `product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`, `product.cover.media`.`meta_data` as `product.cover.media.metaData`, `product.cover.media`.`private` as `product.cover.media.private`, `product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`, `product.cover.media`.`created_at` as `product.cover.media.createdAt`, `product.cover.media`.`updated_at` as `product.cover.media.updatedAt`, `product.cover.media.translation.title`, COALESCE(`product.cover.media.translation.title`,`product.cover.media.translation.title`) as `product.cover.media.title`, `product.cover.media.translation.alt`, COALESCE(`product.cover.media.translation.alt`,`product.cover.media.translation.alt`) as `product.cover.media.alt`, `product.cover.media.translation.customFields`, COALESCE(`product.cover.media.translation.customFields`,`product.cover.media.translation.customFields`) as `product.cover.media.customFields`, `product.cover.media.translation.createdAt`, `product.cover.media.translation.updatedAt`, `product.cover.media.translation.mediaId`, `product.cover.media.translation.languageId`, `product.cover`.`custom_fields` as `product.cover.customFields`, `product.cover`.`created_at` as `product.cover.createdAt`, `product.cover`.`updated_at` as `product.cover.updatedAt`, `product.translation.metaDescription`, `product.parent.translation.metaDescription`, COALESCE(`product.translation.metaDescription`,`product.parent.translation.metaDescription`,`product.translation.metaDescription`) as `product.metaDescription`, `product.translation.name`, `product.parent.translation.name`, COALESCE(`product.translation.name`,`product.parent.translation.name`,`product.translation.name`) as `product.name`, `product.translation.keywords`, `product.parent.translation.keywords`, COALESCE(`product.translation.keywords`,`product.parent.translation.keywords`,`product.translation.keywords`) as `product.keywords`, `product.translation.description`, `product.parent.translation.description`, COALESCE(`product.translation.description`,`product.parent.translation.description`,`product.translation.description`) as `product.description`, `product.translation.metaTitle`, `product.parent.translation.metaTitle`, COALESCE(`product.translation.metaTitle`,`product.parent.translation.metaTitle`,`product.translation.metaTitle`) as `product.metaTitle`, `product.translation.packUnit`, `product.parent.translation.packUnit`, COALESCE(`product.translation.packUnit`,`product.parent.translation.packUnit`,`product.translation.packUnit`) as `product.packUnit`, `product.translation.packUnitPlural`, `product.parent.translation.packUnitPlural`, COALESCE(`product.translation.packUnitPlural`,`product.parent.translation.packUnitPlural`,`product.translation.packUnitPlural`) as `product.packUnitPlural`, `product.translation.customSearchKeywords`, `product.parent.translation.customSearchKeywords`, COALESCE(`product.translation.customSearchKeywords`,`product.parent.translation.customSearchKeywords`,`product.translation.customSearchKeywords`) as `product.customSearchKeywords`, `product.translation.slotConfig`, `product.parent.translation.slotConfig`, COALESCE(`product.translation.slotConfig`,`product.parent.translation.slotConfig`,`product.translation.slotConfig`) as `product.slotConfig`, `product.translation.customFields`, `product.parent.translation.customFields`, COALESCE(`product.translation.customFields`,`product.parent.translation.customFields`,`product.translation.customFields`) as `product.customFields`, `product.translation.createdAt`, `product.parent.translation.createdAt`, `product.translation.updatedAt`, `product.parent.translation.updatedAt`, `product.translation.productId`, `product.parent.translation.productId`, `product.translation.languageId`, `product.parent.translation.languageId`, `product.translation.productVersionId`, `product.parent.translation.productVersionId` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN (SELECT `product.translation`.product_id, `product.translation`.product_version_id, `product.translation`.meta_description as `product.translation.metaDescription`, `product.translation`.name as `product.translation.name`, `product.translation`.keywords as `product.translation.keywords`, `product.translation`.description as `product.translation.description`, `product.translation`.meta_title as `product.translation.metaTitle`, `product.translation`.pack_unit as `product.translation.packUnit`, `product.translation`.pack_unit_plural as `product.translation.packUnitPlural`, `product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`, `product.translation`.slot_config as `product.translation.slotConfig`, `product.translation`.custom_fields as `product.translation.customFields`, `product.translation`.created_at as `product.translation.createdAt`, `product.translation`.updated_at as `product.translation.updatedAt`, `product.translation`.product_id as `product.translation.productId`, `product.translation`.language_id as `product.translation.languageId`, `product.translation`.product_version_id as `product.translation.productVersionId` FROM `product_translation` `product.translation` WHERE `product.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id` AND `product.product_translation`.product_version_id = `product`.version_id LEFT JOIN (SELECT `product.parent.translation`.product_id, `product.parent.translation`.product_version_id, `product.parent.translation`.meta_description as `product.parent.translation.metaDescription`, `product.parent.translation`.name as `product.parent.translation.name`, `product.parent.translation`.keywords as `product.parent.translation.keywords`, `product.parent.translation`.description as `product.parent.translation.description`, `product.parent.translation`.meta_title as `product.parent.translation.metaTitle`, `product.parent.translation`.pack_unit as `product.parent.translation.packUnit`, `product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`, `product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`, `product.parent.translation`.slot_config as `product.parent.translation.slotConfig`, `product.parent.translation`.custom_fields as `product.parent.translation.customFields`, `product.parent.translation`.created_at as `product.parent.translation.createdAt`, `product.parent.translation`.updated_at as `product.parent.translation.updatedAt`, `product.parent.translation`.product_id as `product.parent.translation.productId`, `product.parent.translation`.language_id as `product.parent.translation.languageId`, `product.parent.translation`.product_version_id as `product.parent.translation.productVersionId` FROM `product_translation` `product.parent.translation` WHERE `product.parent.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id` AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id` LEFT JOIN `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_id` LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id` AND `product`.`version_id` = `product.cover`.`version_id` LEFT JOIN `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`id` LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id` LEFT JOIN (SELECT `product.cover.media.translation`.media_id, `product.cover.media.translation`.title as `product.cover.media.translation.title`, `product.cover.media.translation`.alt as `product.cover.media.translation.alt`, `product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`, `product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`, `product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`, `product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`, `product.cover.media.translation`.language_id as `product.cover.media.translation.languageId` FROM `media_translation` `product.cover.media.translation` WHERE `product.cover.media.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id` WHERE (`product`.`version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425) AND (`product`.`id` IN (0x7E400E2572B447458789E1E3EDFAB37F));
array:49 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 316)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetch (line 148)"
4 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 93)"
5 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::read (line 257)"
6 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::read (line 286)"
7 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::_search (line 106)"
8 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::search (line 51)"
9 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepositoryForwardCompatibilityDecorator::search (line 103)"
10 => "Bodymed\Webshop\StoreFront\Subscriber\ProductExtensionSubscriber::addParentCover (line 230)"
11 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
12 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
13 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
14 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
15 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
16 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 33)"
17 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
18 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 208)"
19 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::read (line 133)"
20 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 147)"
21 => "Shopware\Core\Content\Cms\DataResolver\CmsSlotsDataResolver::fetchByCriteria (line 85)"
22 => "Shopware\Core\Content\Cms\DataResolver\CmsSlotsDataResolver::resolve (line 104)"
23 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::loadSlotData (line 94)"
24 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::load (line 102)"
25 => "Shopware\Core\Content\Category\SalesChannel\CategoryRoute::load (line 103)"
26 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 350)"
27 => "Shopware\Core\System\SystemConfig\SystemConfigService::trace (line 44)"
28 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 120)"
29 => "Shopware\Core\Framework\Adapter\Translation\Translator::trace (line 45)"
30 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 46)"
31 => "Shopware\Core\Framework\Adapter\Cache\CacheTagCollection::trace (line 46)"
32 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::trace (line 41)"
33 => "Shopware\Storefront\Framework\Cache\CacheTracer::Shopware\Storefront\Framework\Cache\{closure} (line 59)"
34 => "Shopware\Storefront\Theme\ThemeConfigValueAccessor::trace (line 42)"
35 => "Shopware\Storefront\Framework\Cache\CacheTracer::trace (line 104)"
36 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 72)"
37 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
38 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 109)"
39 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 59)"
40 => "Shopware\Core\Profiling\Profiler::trace (line 112)"
41 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::load (line 66)"
42 => "Shopware\Storefront\Page\Navigation\NavigationPageLoader::load (line 48)"
43 => "Shopware\Storefront\Controller\NavigationController::home (line 163)"
44 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
45 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
46 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
47 => "Shopware\Core\HttpKernel::doHandle (line 81)"
48 => "Shopware\Core\HttpKernel::handle (line 75)"
]
|
41 |
1.30 ms |
SELECT * FROM sales_channel_api_context WHERE (sales_channel_id = :salesChannelId) AND (token = :token) LIMIT 1
SELECT * FROM sales_channel_api_context WHERE (sales_channel_id = 0x620A2217F7474E619CB00AD39E804CCA) AND (token = 'FwsxT47353Zxmr7lp0KSfYcVNkg5VpYR') LIMIT 1;
array:56 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 165)"
3 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextPersister::load (line 69)"
4 => "Bodymed\Webshop\Core\Subscriber\ProductSubscriber::addCustomerProductFeatureExtension (line 230)"
5 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
6 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
7 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
8 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
9 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
10 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 33)"
11 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
12 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 269)"
13 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::read (line 286)"
14 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::_search (line 106)"
15 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::search (line 51)"
16 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepositoryForwardCompatibilityDecorator::search (line 103)"
17 => "Bodymed\Webshop\StoreFront\Subscriber\ProductExtensionSubscriber::addParentCover (line 230)"
18 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
19 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
20 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
21 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
22 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
23 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 33)"
24 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
25 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 208)"
26 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::read (line 133)"
27 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 147)"
28 => "Shopware\Core\Content\Cms\DataResolver\CmsSlotsDataResolver::fetchByCriteria (line 85)"
29 => "Shopware\Core\Content\Cms\DataResolver\CmsSlotsDataResolver::resolve (line 104)"
30 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::loadSlotData (line 94)"
31 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::load (line 102)"
32 => "Shopware\Core\Content\Category\SalesChannel\CategoryRoute::load (line 103)"
33 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 350)"
34 => "Shopware\Core\System\SystemConfig\SystemConfigService::trace (line 44)"
35 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 120)"
36 => "Shopware\Core\Framework\Adapter\Translation\Translator::trace (line 45)"
37 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 46)"
38 => "Shopware\Core\Framework\Adapter\Cache\CacheTagCollection::trace (line 46)"
39 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::trace (line 41)"
40 => "Shopware\Storefront\Framework\Cache\CacheTracer::Shopware\Storefront\Framework\Cache\{closure} (line 59)"
41 => "Shopware\Storefront\Theme\ThemeConfigValueAccessor::trace (line 42)"
42 => "Shopware\Storefront\Framework\Cache\CacheTracer::trace (line 104)"
43 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 72)"
44 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
45 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 109)"
46 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 59)"
47 => "Shopware\Core\Profiling\Profiler::trace (line 112)"
48 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::load (line 66)"
49 => "Shopware\Storefront\Page\Navigation\NavigationPageLoader::load (line 48)"
50 => "Shopware\Storefront\Controller\NavigationController::home (line 163)"
51 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
52 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
53 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
54 => "Shopware\Core\HttpKernel::doHandle (line 81)"
55 => "Shopware\Core\HttpKernel::handle (line 75)"
]
|
42 |
6.55 ms |
SELECT `product`.`id`, `product`.`product_number`, `product`.`auto_increment` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN (SELECT `product.translation`.product_id, `product.translation`.product_version_id, `product.translation`.meta_description as `product.translation.metaDescription`, `product.translation`.name as `product.translation.name`, `product.translation`.keywords as `product.translation.keywords`, `product.translation`.description as `product.translation.description`, `product.translation`.meta_title as `product.translation.metaTitle`, `product.translation`.pack_unit as `product.translation.packUnit`, `product.translation`.pack_unit_plural as `product.translation.packUnitPlural`, `product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`, `product.translation`.slot_config as `product.translation.slotConfig`, `product.translation`.custom_fields as `product.translation.customFields`, `product.translation`.created_at as `product.translation.createdAt`, `product.translation`.updated_at as `product.translation.updatedAt`, `product.translation`.product_id as `product.translation.productId`, `product.translation`.language_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_1203599579584f3c961af36e3e0242ae) AND `product.visibilities`.`sales_channel_id` = :param_161ddfb81d93452094a9843bab2d9111)) `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_34fdaa85ffca41d293724da1f360fed4) AND `product.visibilities`.`sales_channel_id` = :param_a50d6109668b470ca7ba7f20ca521829)) `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_34d8ecbd609744d69cb3b17ca92e5c81 OR `product`.`parent_id` = :param_aa5cbf37e9384d28bfdd5958d0f622f9)) OR ((`product`.`id` = :param_e3cfebbc91824173b3542e81708a3c51 OR `product`.`parent_id` = :param_f4365232bec942aaa48980f3b002e54e))) AND NOT (`product`.`display_group` <=> :param_42629c4c1b4847439e8401a54c8bec93) 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_aeffadc02c1842f1840ee0fb8a565370 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_367bd91f5f23454288820fc2f3836929 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_c2d8ba5c2d524eb597b6909e0acc7875) 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_5de889c1bb914b58b8f6d9668c054485 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_dab11642eefc4baf8a2db5ef6c49e11b) AND (`product.visibilities_1`.id IS NOT NULL AND `product.visibilities_1`.id IS NOT NULL AND IFNULL(`product`.`active`, `product.parent`.`active`) = :param_d1ae58bfba6e4f1ea062ee5fbdc57567))) AND (`product.visibilities_2`.id IS NOT NULL AND `product.visibilities_2`.id IS NOT NULL AND IFNULL(`product`.`active`, `product.parent`.`active`) = :param_56ef6243ac274f6bb817bd0a82b21920))) 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_1203599579584f3c961af36e3e0242ae
)
AND `product.visibilities`.`sales_channel_id` = : param_161ddfb81d93452094a9843bab2d9111
)
) `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_34fdaa85ffca41d293724da1f360fed4
)
AND `product.visibilities`.`sales_channel_id` = : param_a50d6109668b470ca7ba7f20ca521829
)
) `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_34d8ecbd609744d69cb3b17ca92e5c81
OR `product`.`parent_id` = : param_aa5cbf37e9384d28bfdd5958d0f622f9
)
)
OR (
(
`product`.`id` = : param_e3cfebbc91824173b3542e81708a3c51
OR `product`.`parent_id` = : param_f4365232bec942aaa48980f3b002e54e
)
)
)
AND NOT (
`product`.`display_group` <=> : param_42629c4c1b4847439e8401a54c8bec93
)
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_aeffadc02c1842f1840ee0fb8a565370
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_367bd91f5f23454288820fc2f3836929
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_c2d8ba5c2d524eb597b6909e0acc7875
)
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_5de889c1bb914b58b8f6d9668c054485
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_dab11642eefc4baf8a2db5ef6c49e11b
)
AND (
`product.visibilities_1`.id IS NOT NULL
AND `product.visibilities_1`.id IS NOT NULL
AND IFNULL(
`product`.`active`, `product.parent`.`active`
) = : param_d1ae58bfba6e4f1ea062ee5fbdc57567
)
)
)
AND (
`product.visibilities_2`.id IS NOT NULL
AND `product.visibilities_2`.id IS NOT NULL
AND IFNULL(
`product`.`active`, `product.parent`.`active`
) = : param_56ef6243ac274f6bb817bd0a82b21920
)
)
)
GROUP BY
`product`.`display_group`
ORDER BY
MIN(
COALESCE(
`product.translation.name`, `product.parent.translation.name`
)
) ASC
LIMIT
10
SELECT `product`.`id`, `product`.`product_number`, `product`.`auto_increment` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN (SELECT `product.translation`.product_id, `product.translation`.product_version_id, `product.translation`.meta_description as `product.translation.metaDescription`, `product.translation`.name as `product.translation.name`, `product.translation`.keywords as `product.translation.keywords`, `product.translation`.description as `product.translation.description`, `product.translation`.meta_title as `product.translation.metaTitle`, `product.translation`.pack_unit as `product.translation.packUnit`, `product.translation`.pack_unit_plural as `product.translation.packUnitPlural`, `product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`, `product.translation`.slot_config as `product.translation.slotConfig`, `product.translation`.custom_fields as `product.translation.customFields`, `product.translation`.created_at as `product.translation.createdAt`, `product.translation`.updated_at as `product.translation.updatedAt`, `product.translation`.product_id as `product.translation.productId`, `product.translation`.language_id as `product.translation.languageId`, `product.translation`.product_version_id as `product.translation.productVersionId` FROM `product_translation` `product.translation` WHERE `product.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id` AND `product.product_translation`.product_version_id = `product`.version_id LEFT JOIN (SELECT `product.parent.translation`.product_id, `product.parent.translation`.product_version_id, `product.parent.translation`.meta_description as `product.parent.translation.metaDescription`, `product.parent.translation`.name as `product.parent.translation.name`, `product.parent.translation`.keywords as `product.parent.translation.keywords`, `product.parent.translation`.description as `product.parent.translation.description`, `product.parent.translation`.meta_title as `product.parent.translation.metaTitle`, `product.parent.translation`.pack_unit as `product.parent.translation.packUnit`, `product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`, `product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`, `product.parent.translation`.slot_config as `product.parent.translation.slotConfig`, `product.parent.translation`.custom_fields as `product.parent.translation.customFields`, `product.parent.translation`.created_at as `product.parent.translation.createdAt`, `product.parent.translation`.updated_at as `product.parent.translation.updatedAt`, `product.parent.translation`.product_id as `product.parent.translation.productId`, `product.parent.translation`.language_id as `product.parent.translation.languageId`, `product.parent.translation`.product_version_id as `product.parent.translation.productVersionId` FROM `product_translation` `product.parent.translation` WHERE `product.parent.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id` AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id LEFT JOIN (SELECT `product.visibilities`.`product_id` as id, `product.visibilities`.`product_version_id` FROM `product_visibility` `product.visibilities` WHERE ((`product.visibilities`.`visibility` >= 30) AND `product.visibilities`.`sales_channel_id` = 0x620A2217F7474E619CB00AD39E804CCA)) `product.visibilities_1` ON `product`.`visibilities` = `product.visibilities_1`.`id` AND `product`.`version_id` = `product.visibilities_1`.`product_version_id` LEFT JOIN (SELECT `product.visibilities`.`product_id` as id, `product.visibilities`.`product_version_id` FROM `product_visibility` `product.visibilities` WHERE ((`product.visibilities`.`visibility` >= 10) AND `product.visibilities`.`sales_channel_id` = 0x620A2217F7474E619CB00AD39E804CCA)) `product.visibilities_2` ON `product`.`visibilities` = `product.visibilities_2`.`id` AND `product`.`version_id` = `product.visibilities_2`.`product_version_id` WHERE (`product`.`version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425) AND (((((`product`.`id` = 0x247A8634FFCA428AAF53BDB12026184F OR `product`.`parent_id` = 0x247A8634FFCA428AAF53BDB12026184F)) OR ((`product`.`id` = 0x136F2EA2D0A34A8186CCFED6168D195B OR `product`.`parent_id` = 0x136F2EA2D0A34A8186CCFED6168D195B))) AND NOT (`product`.`display_group` <=> NULL) AND (COALESCE(IF(JSON_TYPE(JSON_EXTRACT(`product.translation.customFields`, '$.mad_usergroups_enable')) != "NULL", CONVERT(JSON_UNQUOTE(JSON_EXTRACT(`product.translation.customFields`, '$.mad_usergroups_enable')) USING "utf8mb4") COLLATE utf8mb4_unicode_ci, NULL),IF(JSON_TYPE(JSON_EXTRACT(`product.parent.translation.customFields`, '$.mad_usergroups_enable')) != "NULL", CONVERT(JSON_UNQUOTE(JSON_EXTRACT(`product.parent.translation.customFields`, '$.mad_usergroups_enable')) USING "utf8mb4") COLLATE utf8mb4_unicode_ci, NULL)) LIKE '%c28421f99edc4f26b720cd6b19ffa899%' OR ((COALESCE(IF(JSON_TYPE(JSON_EXTRACT(`product.translation.customFields`, '$.mad_tags_enable')) != "NULL", CONVERT(JSON_UNQUOTE(JSON_EXTRACT(`product.translation.customFields`, '$.mad_tags_enable')) USING "utf8mb4") COLLATE utf8mb4_unicode_ci, NULL),IF(JSON_TYPE(JSON_EXTRACT(`product.parent.translation.customFields`, '$.mad_tags_enable')) != "NULL", CONVERT(JSON_UNQUOTE(JSON_EXTRACT(`product.parent.translation.customFields`, '$.mad_tags_enable')) USING "utf8mb4") COLLATE utf8mb4_unicode_ci, NULL)) <=> NULL OR COALESCE(IF(JSON_TYPE(JSON_EXTRACT(`product.translation.customFields`, '$.mad_tags_enable')) != "NULL", CONVERT(JSON_UNQUOTE(JSON_EXTRACT(`product.translation.customFields`, '$.mad_tags_enable')) USING "utf8mb4") COLLATE utf8mb4_unicode_ci, NULL),IF(JSON_TYPE(JSON_EXTRACT(`product.parent.translation.customFields`, '$.mad_tags_enable')) != "NULL", CONVERT(JSON_UNQUOTE(JSON_EXTRACT(`product.parent.translation.customFields`, '$.mad_tags_enable')) USING "utf8mb4") COLLATE utf8mb4_unicode_ci, NULL)) = '[]') AND (COALESCE(IF(JSON_TYPE(JSON_EXTRACT(`product.translation.customFields`, '$.mad_usergroups_enable')) != "NULL", CONVERT(JSON_UNQUOTE(JSON_EXTRACT(`product.translation.customFields`, '$.mad_usergroups_enable')) USING "utf8mb4") COLLATE utf8mb4_unicode_ci, NULL),IF(JSON_TYPE(JSON_EXTRACT(`product.parent.translation.customFields`, '$.mad_usergroups_enable')) != "NULL", CONVERT(JSON_UNQUOTE(JSON_EXTRACT(`product.parent.translation.customFields`, '$.mad_usergroups_enable')) USING "utf8mb4") COLLATE utf8mb4_unicode_ci, NULL)) <=> NULL OR COALESCE(IF(JSON_TYPE(JSON_EXTRACT(`product.translation.customFields`, '$.mad_usergroups_enable')) != "NULL", CONVERT(JSON_UNQUOTE(JSON_EXTRACT(`product.translation.customFields`, '$.mad_usergroups_enable')) USING "utf8mb4") COLLATE utf8mb4_unicode_ci, NULL),IF(JSON_TYPE(JSON_EXTRACT(`product.parent.translation.customFields`, '$.mad_usergroups_enable')) != "NULL", CONVERT(JSON_UNQUOTE(JSON_EXTRACT(`product.parent.translation.customFields`, '$.mad_usergroups_enable')) USING "utf8mb4") COLLATE utf8mb4_unicode_ci, NULL)) = '[]') AND (`product.visibilities_1`.id IS NOT NULL AND `product.visibilities_1`.id IS NOT NULL AND IFNULL(`product`.`active`, `product.parent`.`active`) = 1))) AND (`product.visibilities_2`.id IS NOT NULL AND `product.visibilities_2`.id IS NOT NULL AND IFNULL(`product`.`active`, `product.parent`.`active`) = 1))) GROUP BY `product`.`display_group` ORDER BY MIN(COALESCE(`product.translation.name`,`product.parent.translation.name`)) ASC LIMIT 10;
array:35 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 107)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntitySearcher::search (line 62)"
4 => "Shopware\Elasticsearch\Framework\DataAbstractionLayer\ElasticsearchEntitySearcher::search (line 216)"
5 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::doSearch (line 122)"
6 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 147)"
7 => "Shopware\Core\Content\Cms\DataResolver\CmsSlotsDataResolver::fetchByCriteria (line 85)"
8 => "Shopware\Core\Content\Cms\DataResolver\CmsSlotsDataResolver::resolve (line 104)"
9 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::loadSlotData (line 94)"
10 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::load (line 102)"
11 => "Shopware\Core\Content\Category\SalesChannel\CategoryRoute::load (line 103)"
12 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 350)"
13 => "Shopware\Core\System\SystemConfig\SystemConfigService::trace (line 44)"
14 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 120)"
15 => "Shopware\Core\Framework\Adapter\Translation\Translator::trace (line 45)"
16 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 46)"
17 => "Shopware\Core\Framework\Adapter\Cache\CacheTagCollection::trace (line 46)"
18 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::trace (line 41)"
19 => "Shopware\Storefront\Framework\Cache\CacheTracer::Shopware\Storefront\Framework\Cache\{closure} (line 59)"
20 => "Shopware\Storefront\Theme\ThemeConfigValueAccessor::trace (line 42)"
21 => "Shopware\Storefront\Framework\Cache\CacheTracer::trace (line 104)"
22 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 72)"
23 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
24 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 109)"
25 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 59)"
26 => "Shopware\Core\Profiling\Profiler::trace (line 112)"
27 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::load (line 66)"
28 => "Shopware\Storefront\Page\Navigation\NavigationPageLoader::load (line 48)"
29 => "Shopware\Storefront\Controller\NavigationController::home (line 163)"
30 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
31 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
32 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
33 => "Shopware\Core\HttpKernel::doHandle (line 81)"
34 => "Shopware\Core\HttpKernel::handle (line 75)"
]
|
43 |
38.84 ms |
SELECT `product`.`id` as `product.id`, `product`.`version_id` as `product.versionId`, `product`.`parent_id` as `product.parentId`, `product`.`parent_version_id` as `product.parentVersionId`, COALESCE(`product`.`product_manufacturer_id`, `product.parent`.`product_manufacturer_id`) as `product.manufacturerId`, COALESCE(`product`.`product_manufacturer_version_id`, `product.parent`.`product_manufacturer_version_id`) as `product.productManufacturerVersionId`, COALESCE(`product`.`unit_id`, `product.parent`.`unit_id`) as `product.unitId`, COALESCE(`product`.`tax_id`, `product.parent`.`tax_id`) as `product.taxId`, COALESCE(`product`.`product_media_id`, `product.parent`.`product_media_id`) as `product.coverId`, COALESCE(`product`.`product_media_version_id`, `product.parent`.`product_media_version_id`) as `product.productMediaVersionId`, COALESCE(`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`) as `product.deliveryTimeId`, COALESCE(`product`.`product_feature_set_id`, `product.parent`.`product_feature_set_id`) as `product.featureSetId`, COALESCE(`product`.`canonical_product_id`, `product.parent`.`canonical_product_id`) as `product.canonicalProductId`, COALESCE(`product`.`cms_page_id`, `product.parent`.`cms_page_id`) as `product.cmsPageId`, COALESCE(`product`.`cms_page_version_id`, `product.parent`.`cms_page_version_id`) as `product.cmsPageVersionId`, `product.parent`.`price` as `product.price.inherited`, COALESCE(`product`.`price`, `product.parent`.`price`) as `product.price`, `product`.`product_number` as `product.productNumber`, `product`.`stock` as `product.stock`, COALESCE(`product`.`restock_time`, `product.parent`.`restock_time`) as `product.restockTime`, `product`.`auto_increment` as `product.autoIncrement`, COALESCE(`product`.`active`, `product.parent`.`active`) as `product.active`, `product`.`available_stock` as `product.availableStock`, `product`.`available` as `product.available`, COALESCE(`product`.`is_closeout`, `product.parent`.`is_closeout`) as `product.isCloseout`, `product`.`display_group` as `product.displayGroup`, `product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`, COALESCE(`product`.`configurator_group_config`, `product.parent`.`configurator_group_config`) as `product.configuratorGroupConfig`, COALESCE(`product`.`main_variant_id`, `product.parent`.`main_variant_id`) as `product.mainVariantId`, COALESCE(`product`.`display_parent`, `product.parent`.`display_parent`) as `product.displayParent`, `product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`, COALESCE(`product`.`variant_listing_config`, `product.parent`.`variant_listing_config`) as `product.variantListingConfig`, `product`.`variant_restrictions` as `product.variantRestrictions`, COALESCE(`product`.`manufacturer_number`, `product.parent`.`manufacturer_number`) as `product.manufacturerNumber`, COALESCE(`product`.`ean`, `product.parent`.`ean`) as `product.ean`, COALESCE(`product`.`purchase_steps`, `product.parent`.`purchase_steps`) as `product.purchaseSteps`, COALESCE(`product`.`max_purchase`, `product.parent`.`max_purchase`) as `product.maxPurchase`, COALESCE(`product`.`min_purchase`, `product.parent`.`min_purchase`) as `product.minPurchase`, COALESCE(`product`.`purchase_unit`, `product.parent`.`purchase_unit`) as `product.purchaseUnit`, COALESCE(`product`.`reference_unit`, `product.parent`.`reference_unit`) as `product.referenceUnit`, COALESCE(`product`.`shipping_free`, `product.parent`.`shipping_free`) as `product.shippingFree`, `product.parent`.`purchase_prices` as `product.purchasePrices.inherited`, COALESCE(`product`.`purchase_prices`, `product.parent`.`purchase_prices`) as `product.purchasePrices`, COALESCE(`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`) as `product.markAsTopseller`, COALESCE(`product`.`weight`, `product.parent`.`weight`) as `product.weight`, COALESCE(`product`.`width`, `product.parent`.`width`) as `product.width`, COALESCE(`product`.`height`, `product.parent`.`height`) as `product.height`, COALESCE(`product`.`length`, `product.parent`.`length`) as `product.length`, COALESCE(`product`.`release_date`, `product.parent`.`release_date`) as `product.releaseDate`, COALESCE(`product`.`rating_average`, `product.parent`.`rating_average`) as `product.ratingAverage`, `product.parent`.`category_tree` as `product.categoryTree.inherited`, COALESCE(`product`.`category_tree`, `product.parent`.`category_tree`) as `product.categoryTree`, `product.parent`.`property_ids` as `product.propertyIds.inherited`, COALESCE(`product`.`property_ids`, `product.parent`.`property_ids`) as `product.propertyIds`, `product.parent`.`option_ids` as `product.optionIds.inherited`, COALESCE(`product`.`option_ids`, `product.parent`.`option_ids`) as `product.optionIds`, `product.parent`.`stream_ids` as `product.streamIds.inherited`, COALESCE(`product`.`stream_ids`, `product.parent`.`stream_ids`) as `product.streamIds`, `product.parent`.`tag_ids` as `product.tagIds.inherited`, COALESCE(`product`.`tag_ids`, `product.parent`.`tag_ids`) as `product.tagIds`, `product.parent`.`category_ids` as `product.categoryIds.inherited`, COALESCE(`product`.`category_ids`, `product.parent`.`category_ids`) as `product.categoryIds`, `product`.`child_count` as `product.childCount`, COALESCE(`product`.`custom_field_set_selection_active`, `product.parent`.`custom_field_set_selection_active`) as `product.customFieldSetSelectionActive`, `product`.`sales` as `product.sales`, `product`.`states` as `product.states`, `product.tax`.`id` as `product.tax.id`, `product.tax`.`tax_rate` as `product.tax.taxRate`, `product.tax`.`name` as `product.tax.name`, `product.tax`.`position` as `product.tax.position`, `product.tax`.`custom_fields` as `product.tax.customFields`, `product.tax`.`created_at` as `product.tax.createdAt`, `product.tax`.`updated_at` as `product.tax.updatedAt`, `product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`, COALESCE(`product`.`cheapest_price`, `product.parent`.`cheapest_price`) as `product.cheapestPrice`, `product`.`created_at` as `product.createdAt`, `product`.`updated_at` as `product.updatedAt`, `product.bundle`.`id` as `product.bundle.id`, `product.bundle`.`product_id` as `product.bundle.productId`, `product.bundle`.`product_version_id` as `product.bundle.productVersionId`, `product.bundle`.`name` as `product.bundle.name`, `product.bundle`.`price_type` as `product.bundle.priceType`, `product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`, `product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`, `product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`, `product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`, `product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`, `product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`, `product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`, `product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`, `product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`, `product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`, `product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`, `product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`, `product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`, `product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`, `product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`, `product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`, `product.bundle`.`created_at` as `product.bundle.createdAt`, `product.bundle`.`updated_at` as `product.bundle.updatedAt`, (SELECT GROUP_CONCAT(HEX(`product.options.mapping`.`property_group_option_id`) SEPARATOR '||')
FROM `product_option` `product.options.mapping`
WHERE `product.options.mapping`.`product_id` = `product`.`id` ) as `product.options.id_mapping`, `product.unit`.`id` as `product.unit.id`, `product.unit`.`created_at` as `product.unit.createdAt`, `product.unit`.`updated_at` as `product.unit.updatedAt`, `product.unit.translation.shortCode`, COALESCE(`product.unit.translation.shortCode`,`product.unit.translation.shortCode`) as `product.unit.shortCode`, `product.unit.translation.name`, COALESCE(`product.unit.translation.name`,`product.unit.translation.name`) as `product.unit.name`, `product.unit.translation.customFields`, COALESCE(`product.unit.translation.customFields`,`product.unit.translation.customFields`) as `product.unit.customFields`, `product.unit.translation.createdAt`, `product.unit.translation.updatedAt`, `product.unit.translation.unitId`, `product.unit.translation.languageId`, `product.deliveryTime`.`id` as `product.deliveryTime.id`, `product.deliveryTime`.`min` as `product.deliveryTime.min`, `product.deliveryTime`.`max` as `product.deliveryTime.max`, `product.deliveryTime`.`unit` as `product.deliveryTime.unit`, `product.deliveryTime`.`created_at` as `product.deliveryTime.createdAt`, `product.deliveryTime`.`updated_at` as `product.deliveryTime.updatedAt`, `product.deliveryTime.translation.name`, COALESCE(`product.deliveryTime.translation.name`,`product.deliveryTime.translation.name`) as `product.deliveryTime.name`, `product.deliveryTime.translation.customFields`, COALESCE(`product.deliveryTime.translation.customFields`,`product.deliveryTime.translation.customFields`) as `product.deliveryTime.customFields`, `product.deliveryTime.translation.createdAt`, `product.deliveryTime.translation.updatedAt`, `product.deliveryTime.translation.deliveryTimeId`, `product.deliveryTime.translation.languageId`, `product.cover`.`id` as `product.cover.id`, `product.cover`.`version_id` as `product.cover.versionId`, `product.cover`.`product_id` as `product.cover.productId`, `product.cover`.`product_version_id` as `product.cover.productVersionId`, `product.cover`.`media_id` as `product.cover.mediaId`, `product.cover`.`position` as `product.cover.position`, `product.cover.media`.`id` as `product.cover.media.id`, `product.cover.media`.`user_id` as `product.cover.media.userId`, `product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`, `product.cover.media`.`mime_type` as `product.cover.media.mimeType`, `product.cover.media`.`file_extension` as `product.cover.media.fileExtension`, `product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`, `product.cover.media`.`file_name` as `product.cover.media.fileName`, `product.cover.media`.`file_size` as `product.cover.media.fileSize`, `product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`, `product.cover.media`.`meta_data` as `product.cover.media.metaData`, `product.cover.media`.`private` as `product.cover.media.private`, `product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`, `product.cover.media`.`created_at` as `product.cover.media.createdAt`, `product.cover.media`.`updated_at` as `product.cover.media.updatedAt`, `product.cover.media.translation.title`, COALESCE(`product.cover.media.translation.title`,`product.cover.media.translation.title`) as `product.cover.media.title`, `product.cover.media.translation.alt`, COALESCE(`product.cover.media.translation.alt`,`product.cover.media.translation.alt`) as `product.cover.media.alt`, `product.cover.media.translation.customFields`, COALESCE(`product.cover.media.translation.customFields`,`product.cover.media.translation.customFields`) as `product.cover.media.customFields`, `product.cover.media.translation.createdAt`, `product.cover.media.translation.updatedAt`, `product.cover.media.translation.mediaId`, `product.cover.media.translation.languageId`, `product.cover`.`custom_fields` as `product.cover.customFields`, `product.cover`.`created_at` as `product.cover.createdAt`, `product.cover`.`updated_at` as `product.cover.updatedAt`, `product.translation.metaDescription`, `product.parent.translation.metaDescription`, COALESCE(`product.translation.metaDescription`,`product.parent.translation.metaDescription`,`product.translation.metaDescription`) as `product.metaDescription`, `product.translation.name`, `product.parent.translation.name`, COALESCE(`product.translation.name`,`product.parent.translation.name`,`product.translation.name`) as `product.name`, `product.translation.keywords`, `product.parent.translation.keywords`, COALESCE(`product.translation.keywords`,`product.parent.translation.keywords`,`product.translation.keywords`) as `product.keywords`, `product.translation.description`, `product.parent.translation.description`, COALESCE(`product.translation.description`,`product.parent.translation.description`,`product.translation.description`) as `product.description`, `product.translation.metaTitle`, `product.parent.translation.metaTitle`, COALESCE(`product.translation.metaTitle`,`product.parent.translation.metaTitle`,`product.translation.metaTitle`) as `product.metaTitle`, `product.translation.packUnit`, `product.parent.translation.packUnit`, COALESCE(`product.translation.packUnit`,`product.parent.translation.packUnit`,`product.translation.packUnit`) as `product.packUnit`, `product.translation.packUnitPlural`, `product.parent.translation.packUnitPlural`, COALESCE(`product.translation.packUnitPlural`,`product.parent.translation.packUnitPlural`,`product.translation.packUnitPlural`) as `product.packUnitPlural`, `product.translation.customSearchKeywords`, `product.parent.translation.customSearchKeywords`, COALESCE(`product.translation.customSearchKeywords`,`product.parent.translation.customSearchKeywords`,`product.translation.customSearchKeywords`) as `product.customSearchKeywords`, `product.translation.slotConfig`, `product.parent.translation.slotConfig`, COALESCE(`product.translation.slotConfig`,`product.parent.translation.slotConfig`,`product.translation.slotConfig`) as `product.slotConfig`, `product.translation.customFields`, `product.parent.translation.customFields`, COALESCE(`product.translation.customFields`,`product.parent.translation.customFields`,`product.translation.customFields`) as `product.customFields`, `product.translation.createdAt`, `product.parent.translation.createdAt`, `product.translation.updatedAt`, `product.parent.translation.updatedAt`, `product.translation.productId`, `product.parent.translation.productId`, `product.translation.languageId`, `product.parent.translation.languageId`, `product.translation.productVersionId`, `product.parent.translation.productVersionId` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN (SELECT `product.translation`.product_id, `product.translation`.product_version_id, `product.translation`.meta_description as `product.translation.metaDescription`, `product.translation`.name as `product.translation.name`, `product.translation`.keywords as `product.translation.keywords`, `product.translation`.description as `product.translation.description`, `product.translation`.meta_title as `product.translation.metaTitle`, `product.translation`.pack_unit as `product.translation.packUnit`, `product.translation`.pack_unit_plural as `product.translation.packUnitPlural`, `product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`, `product.translation`.slot_config as `product.translation.slotConfig`, `product.translation`.custom_fields as `product.translation.customFields`, `product.translation`.created_at as `product.translation.createdAt`, `product.translation`.updated_at as `product.translation.updatedAt`, `product.translation`.product_id as `product.translation.productId`, `product.translation`.language_id as `product.translation.languageId`, `product.translation`.product_version_id as `product.translation.productVersionId` FROM `product_translation` `product.translation` WHERE `product.translation`.language_id = :languageId) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id` AND `product.product_translation`.product_version_id = `product`.version_id LEFT JOIN (SELECT `product.parent.translation`.product_id, `product.parent.translation`.product_version_id, `product.parent.translation`.meta_description as `product.parent.translation.metaDescription`, `product.parent.translation`.name as `product.parent.translation.name`, `product.parent.translation`.keywords as `product.parent.translation.keywords`, `product.parent.translation`.description as `product.parent.translation.description`, `product.parent.translation`.meta_title as `product.parent.translation.metaTitle`, `product.parent.translation`.pack_unit as `product.parent.translation.packUnit`, `product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`, `product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`, `product.parent.translation`.slot_config as `product.parent.translation.slotConfig`, `product.parent.translation`.custom_fields as `product.parent.translation.customFields`, `product.parent.translation`.created_at as `product.parent.translation.createdAt`, `product.parent.translation`.updated_at as `product.parent.translation.updatedAt`, `product.parent.translation`.product_id as `product.parent.translation.productId`, `product.parent.translation`.language_id as `product.parent.translation.languageId`, `product.parent.translation`.product_version_id as `product.parent.translation.productVersionId` FROM `product_translation` `product.parent.translation` WHERE `product.parent.translation`.language_id = :languageId) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id` AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id` LEFT JOIN `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_id` LEFT JOIN `unit` `product.unit` ON `product`.`unit` = `product.unit`.`id` LEFT JOIN `delivery_time` `product.deliveryTime` ON `product`.`deliveryTime` = `product.deliveryTime`.`id` LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id` AND `product`.`version_id` = `product.cover`.`version_id` LEFT JOIN `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`id` LEFT JOIN (SELECT `product.unit.translation`.unit_id, `product.unit.translation`.short_code as `product.unit.translation.shortCode`, `product.unit.translation`.name as `product.unit.translation.name`, `product.unit.translation`.custom_fields as `product.unit.translation.customFields`, `product.unit.translation`.created_at as `product.unit.translation.createdAt`, `product.unit.translation`.updated_at as `product.unit.translation.updatedAt`, `product.unit.translation`.unit_id as `product.unit.translation.unitId`, `product.unit.translation`.language_id as `product.unit.translation.languageId` FROM `unit_translation` `product.unit.translation` WHERE `product.unit.translation`.language_id = :languageId) `product.unit.unit_translation` ON `product.unit.unit_translation`.`unit_id` = `product.unit`.`id` LEFT JOIN (SELECT `product.deliveryTime.translation`.delivery_time_id, `product.deliveryTime.translation`.name as `product.deliveryTime.translation.name`, `product.deliveryTime.translation`.custom_fields as `product.deliveryTime.translation.customFields`, `product.deliveryTime.translation`.created_at as `product.deliveryTime.translation.createdAt`, `product.deliveryTime.translation`.updated_at as `product.deliveryTime.translation.updatedAt`, `product.deliveryTime.translation`.delivery_time_id as `product.deliveryTime.translation.deliveryTimeId`, `product.deliveryTime.translation`.language_id as `product.deliveryTime.translation.languageId` FROM `delivery_time_translation` `product.deliveryTime.translation` WHERE `product.deliveryTime.translation`.language_id = :languageId) `product.deliveryTime.delivery_time_translation` ON `product.deliveryTime.delivery_time_translation`.`delivery_time_id` = `product.deliveryTime`.`id` LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id` LEFT JOIN (SELECT `product.cover.media.translation`.media_id, `product.cover.media.translation`.title as `product.cover.media.translation.title`, `product.cover.media.translation`.alt as `product.cover.media.translation.alt`, `product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`, `product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`, `product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`, `product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`, `product.cover.media.translation`.language_id as `product.cover.media.translation.languageId` FROM `media_translation` `product.cover.media.translation` WHERE `product.cover.media.translation`.language_id = :languageId) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id` WHERE (`product`.`version_id` = :version) AND (`product`.`id` IN (:ids))
SELECT
`product`.`id` as `product.id`,
`product`.`version_id` as `product.versionId`,
`product`.`parent_id` as `product.parentId`,
`product`.`parent_version_id` as `product.parentVersionId`,
COALESCE(
`product`.`product_manufacturer_id`,
`product.parent`.`product_manufacturer_id`
) as `product.manufacturerId`,
COALESCE(
`product`.`product_manufacturer_version_id`,
`product.parent`.`product_manufacturer_version_id`
) as `product.productManufacturerVersionId`,
COALESCE(
`product`.`unit_id`, `product.parent`.`unit_id`
) as `product.unitId`,
COALESCE(
`product`.`tax_id`, `product.parent`.`tax_id`
) as `product.taxId`,
COALESCE(
`product`.`product_media_id`, `product.parent`.`product_media_id`
) as `product.coverId`,
COALESCE(
`product`.`product_media_version_id`,
`product.parent`.`product_media_version_id`
) as `product.productMediaVersionId`,
COALESCE(
`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`
) as `product.deliveryTimeId`,
COALESCE(
`product`.`product_feature_set_id`,
`product.parent`.`product_feature_set_id`
) as `product.featureSetId`,
COALESCE(
`product`.`canonical_product_id`,
`product.parent`.`canonical_product_id`
) as `product.canonicalProductId`,
COALESCE(
`product`.`cms_page_id`, `product.parent`.`cms_page_id`
) as `product.cmsPageId`,
COALESCE(
`product`.`cms_page_version_id`,
`product.parent`.`cms_page_version_id`
) as `product.cmsPageVersionId`,
`product.parent`.`price` as `product.price.inherited`,
COALESCE(
`product`.`price`, `product.parent`.`price`
) as `product.price`,
`product`.`product_number` as `product.productNumber`,
`product`.`stock` as `product.stock`,
COALESCE(
`product`.`restock_time`, `product.parent`.`restock_time`
) as `product.restockTime`,
`product`.`auto_increment` as `product.autoIncrement`,
COALESCE(
`product`.`active`, `product.parent`.`active`
) as `product.active`,
`product`.`available_stock` as `product.availableStock`,
`product`.`available` as `product.available`,
COALESCE(
`product`.`is_closeout`, `product.parent`.`is_closeout`
) as `product.isCloseout`,
`product`.`display_group` as `product.displayGroup`,
`product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`,
COALESCE(
`product`.`configurator_group_config`,
`product.parent`.`configurator_group_config`
) as `product.configuratorGroupConfig`,
COALESCE(
`product`.`main_variant_id`, `product.parent`.`main_variant_id`
) as `product.mainVariantId`,
COALESCE(
`product`.`display_parent`, `product.parent`.`display_parent`
) as `product.displayParent`,
`product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`,
COALESCE(
`product`.`variant_listing_config`,
`product.parent`.`variant_listing_config`
) as `product.variantListingConfig`,
`product`.`variant_restrictions` as `product.variantRestrictions`,
COALESCE(
`product`.`manufacturer_number`,
`product.parent`.`manufacturer_number`
) as `product.manufacturerNumber`,
COALESCE(
`product`.`ean`, `product.parent`.`ean`
) as `product.ean`,
COALESCE(
`product`.`purchase_steps`, `product.parent`.`purchase_steps`
) as `product.purchaseSteps`,
COALESCE(
`product`.`max_purchase`, `product.parent`.`max_purchase`
) as `product.maxPurchase`,
COALESCE(
`product`.`min_purchase`, `product.parent`.`min_purchase`
) as `product.minPurchase`,
COALESCE(
`product`.`purchase_unit`, `product.parent`.`purchase_unit`
) as `product.purchaseUnit`,
COALESCE(
`product`.`reference_unit`, `product.parent`.`reference_unit`
) as `product.referenceUnit`,
COALESCE(
`product`.`shipping_free`, `product.parent`.`shipping_free`
) as `product.shippingFree`,
`product.parent`.`purchase_prices` as `product.purchasePrices.inherited`,
COALESCE(
`product`.`purchase_prices`, `product.parent`.`purchase_prices`
) as `product.purchasePrices`,
COALESCE(
`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`
) as `product.markAsTopseller`,
COALESCE(
`product`.`weight`, `product.parent`.`weight`
) as `product.weight`,
COALESCE(
`product`.`width`, `product.parent`.`width`
) as `product.width`,
COALESCE(
`product`.`height`, `product.parent`.`height`
) as `product.height`,
COALESCE(
`product`.`length`, `product.parent`.`length`
) as `product.length`,
COALESCE(
`product`.`release_date`, `product.parent`.`release_date`
) as `product.releaseDate`,
COALESCE(
`product`.`rating_average`, `product.parent`.`rating_average`
) as `product.ratingAverage`,
`product.parent`.`category_tree` as `product.categoryTree.inherited`,
COALESCE(
`product`.`category_tree`, `product.parent`.`category_tree`
) as `product.categoryTree`,
`product.parent`.`property_ids` as `product.propertyIds.inherited`,
COALESCE(
`product`.`property_ids`, `product.parent`.`property_ids`
) as `product.propertyIds`,
`product.parent`.`option_ids` as `product.optionIds.inherited`,
COALESCE(
`product`.`option_ids`, `product.parent`.`option_ids`
) as `product.optionIds`,
`product.parent`.`stream_ids` as `product.streamIds.inherited`,
COALESCE(
`product`.`stream_ids`, `product.parent`.`stream_ids`
) as `product.streamIds`,
`product.parent`.`tag_ids` as `product.tagIds.inherited`,
COALESCE(
`product`.`tag_ids`, `product.parent`.`tag_ids`
) as `product.tagIds`,
`product.parent`.`category_ids` as `product.categoryIds.inherited`,
COALESCE(
`product`.`category_ids`, `product.parent`.`category_ids`
) as `product.categoryIds`,
`product`.`child_count` as `product.childCount`,
COALESCE(
`product`.`custom_field_set_selection_active`,
`product.parent`.`custom_field_set_selection_active`
) as `product.customFieldSetSelectionActive`,
`product`.`sales` as `product.sales`,
`product`.`states` as `product.states`,
`product.tax`.`id` as `product.tax.id`,
`product.tax`.`tax_rate` as `product.tax.taxRate`,
`product.tax`.`name` as `product.tax.name`,
`product.tax`.`position` as `product.tax.position`,
`product.tax`.`custom_fields` as `product.tax.customFields`,
`product.tax`.`created_at` as `product.tax.createdAt`,
`product.tax`.`updated_at` as `product.tax.updatedAt`,
`product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`,
COALESCE(
`product`.`cheapest_price`, `product.parent`.`cheapest_price`
) as `product.cheapestPrice`,
`product`.`created_at` as `product.createdAt`,
`product`.`updated_at` as `product.updatedAt`,
`product.bundle`.`id` as `product.bundle.id`,
`product.bundle`.`product_id` as `product.bundle.productId`,
`product.bundle`.`product_version_id` as `product.bundle.productVersionId`,
`product.bundle`.`name` as `product.bundle.name`,
`product.bundle`.`price_type` as `product.bundle.priceType`,
`product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`,
`product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`,
`product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`,
`product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`,
`product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`,
`product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`,
`product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`,
`product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`,
`product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`,
`product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`,
`product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`,
`product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`,
`product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`,
`product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`,
`product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`,
`product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`,
`product.bundle`.`created_at` as `product.bundle.createdAt`,
`product.bundle`.`updated_at` as `product.bundle.updatedAt`,
(
SELECT
GROUP_CONCAT(
HEX(
`product.options.mapping`.`property_group_option_id`
) SEPARATOR '||'
)
FROM
`product_option` `product.options.mapping`
WHERE
`product.options.mapping`.`product_id` = `product`.`id`
) as `product.options.id_mapping`,
`product.unit`.`id` as `product.unit.id`,
`product.unit`.`created_at` as `product.unit.createdAt`,
`product.unit`.`updated_at` as `product.unit.updatedAt`,
`product.unit.translation.shortCode`,
COALESCE(
`product.unit.translation.shortCode`,
`product.unit.translation.shortCode`
) as `product.unit.shortCode`,
`product.unit.translation.name`,
COALESCE(
`product.unit.translation.name`,
`product.unit.translation.name`
) as `product.unit.name`,
`product.unit.translation.customFields`,
COALESCE(
`product.unit.translation.customFields`,
`product.unit.translation.customFields`
) as `product.unit.customFields`,
`product.unit.translation.createdAt`,
`product.unit.translation.updatedAt`,
`product.unit.translation.unitId`,
`product.unit.translation.languageId`,
`product.deliveryTime`.`id` as `product.deliveryTime.id`,
`product.deliveryTime`.`min` as `product.deliveryTime.min`,
`product.deliveryTime`.`max` as `product.deliveryTime.max`,
`product.deliveryTime`.`unit` as `product.deliveryTime.unit`,
`product.deliveryTime`.`created_at` as `product.deliveryTime.createdAt`,
`product.deliveryTime`.`updated_at` as `product.deliveryTime.updatedAt`,
`product.deliveryTime.translation.name`,
COALESCE(
`product.deliveryTime.translation.name`,
`product.deliveryTime.translation.name`
) as `product.deliveryTime.name`,
`product.deliveryTime.translation.customFields`,
COALESCE(
`product.deliveryTime.translation.customFields`,
`product.deliveryTime.translation.customFields`
) as `product.deliveryTime.customFields`,
`product.deliveryTime.translation.createdAt`,
`product.deliveryTime.translation.updatedAt`,
`product.deliveryTime.translation.deliveryTimeId`,
`product.deliveryTime.translation.languageId`,
`product.cover`.`id` as `product.cover.id`,
`product.cover`.`version_id` as `product.cover.versionId`,
`product.cover`.`product_id` as `product.cover.productId`,
`product.cover`.`product_version_id` as `product.cover.productVersionId`,
`product.cover`.`media_id` as `product.cover.mediaId`,
`product.cover`.`position` as `product.cover.position`,
`product.cover.media`.`id` as `product.cover.media.id`,
`product.cover.media`.`user_id` as `product.cover.media.userId`,
`product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`,
`product.cover.media`.`mime_type` as `product.cover.media.mimeType`,
`product.cover.media`.`file_extension` as `product.cover.media.fileExtension`,
`product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`,
`product.cover.media`.`file_name` as `product.cover.media.fileName`,
`product.cover.media`.`file_size` as `product.cover.media.fileSize`,
`product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`,
`product.cover.media`.`meta_data` as `product.cover.media.metaData`,
`product.cover.media`.`private` as `product.cover.media.private`,
`product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`,
`product.cover.media`.`created_at` as `product.cover.media.createdAt`,
`product.cover.media`.`updated_at` as `product.cover.media.updatedAt`,
`product.cover.media.translation.title`,
COALESCE(
`product.cover.media.translation.title`,
`product.cover.media.translation.title`
) as `product.cover.media.title`,
`product.cover.media.translation.alt`,
COALESCE(
`product.cover.media.translation.alt`,
`product.cover.media.translation.alt`
) as `product.cover.media.alt`,
`product.cover.media.translation.customFields`,
COALESCE(
`product.cover.media.translation.customFields`,
`product.cover.media.translation.customFields`
) as `product.cover.media.customFields`,
`product.cover.media.translation.createdAt`,
`product.cover.media.translation.updatedAt`,
`product.cover.media.translation.mediaId`,
`product.cover.media.translation.languageId`,
`product.cover`.`custom_fields` as `product.cover.customFields`,
`product.cover`.`created_at` as `product.cover.createdAt`,
`product.cover`.`updated_at` as `product.cover.updatedAt`,
`product.translation.metaDescription`,
`product.parent.translation.metaDescription`,
COALESCE(
`product.translation.metaDescription`,
`product.parent.translation.metaDescription`,
`product.translation.metaDescription`
) as `product.metaDescription`,
`product.translation.name`,
`product.parent.translation.name`,
COALESCE(
`product.translation.name`, `product.parent.translation.name`,
`product.translation.name`
) as `product.name`,
`product.translation.keywords`,
`product.parent.translation.keywords`,
COALESCE(
`product.translation.keywords`,
`product.parent.translation.keywords`,
`product.translation.keywords`
) as `product.keywords`,
`product.translation.description`,
`product.parent.translation.description`,
COALESCE(
`product.translation.description`,
`product.parent.translation.description`,
`product.translation.description`
) as `product.description`,
`product.translation.metaTitle`,
`product.parent.translation.metaTitle`,
COALESCE(
`product.translation.metaTitle`,
`product.parent.translation.metaTitle`,
`product.translation.metaTitle`
) as `product.metaTitle`,
`product.translation.packUnit`,
`product.parent.translation.packUnit`,
COALESCE(
`product.translation.packUnit`,
`product.parent.translation.packUnit`,
`product.translation.packUnit`
) as `product.packUnit`,
`product.translation.packUnitPlural`,
`product.parent.translation.packUnitPlural`,
COALESCE(
`product.translation.packUnitPlural`,
`product.parent.translation.packUnitPlural`,
`product.translation.packUnitPlural`
) as `product.packUnitPlural`,
`product.translation.customSearchKeywords`,
`product.parent.translation.customSearchKeywords`,
COALESCE(
`product.translation.customSearchKeywords`,
`product.parent.translation.customSearchKeywords`,
`product.translation.customSearchKeywords`
) as `product.customSearchKeywords`,
`product.translation.slotConfig`,
`product.parent.translation.slotConfig`,
COALESCE(
`product.translation.slotConfig`,
`product.parent.translation.slotConfig`,
`product.translation.slotConfig`
) as `product.slotConfig`,
`product.translation.customFields`,
`product.parent.translation.customFields`,
COALESCE(
`product.translation.customFields`,
`product.parent.translation.customFields`,
`product.translation.customFields`
) as `product.customFields`,
`product.translation.createdAt`,
`product.parent.translation.createdAt`,
`product.translation.updatedAt`,
`product.parent.translation.updatedAt`,
`product.translation.productId`,
`product.parent.translation.productId`,
`product.translation.languageId`,
`product.parent.translation.languageId`,
`product.translation.productVersionId`,
`product.parent.translation.productVersionId`
FROM
`product`
LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id`
AND `product`.`version_id` = `product.parent`.`version_id`
LEFT JOIN (
SELECT
`product.translation`.product_id,
`product.translation`.product_version_id,
`product.translation`.meta_description as `product.translation.metaDescription`,
`product.translation`.name as `product.translation.name`,
`product.translation`.keywords as `product.translation.keywords`,
`product.translation`.description as `product.translation.description`,
`product.translation`.meta_title as `product.translation.metaTitle`,
`product.translation`.pack_unit as `product.translation.packUnit`,
`product.translation`.pack_unit_plural as `product.translation.packUnitPlural`,
`product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`,
`product.translation`.slot_config as `product.translation.slotConfig`,
`product.translation`.custom_fields as `product.translation.customFields`,
`product.translation`.created_at as `product.translation.createdAt`,
`product.translation`.updated_at as `product.translation.updatedAt`,
`product.translation`.product_id as `product.translation.productId`,
`product.translation`.language_id as `product.translation.languageId`,
`product.translation`.product_version_id as `product.translation.productVersionId`
FROM
`product_translation` `product.translation`
WHERE
`product.translation`.language_id = : languageId
) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id`
AND `product.product_translation`.product_version_id = `product`.version_id
LEFT JOIN (
SELECT
`product.parent.translation`.product_id,
`product.parent.translation`.product_version_id,
`product.parent.translation`.meta_description as `product.parent.translation.metaDescription`,
`product.parent.translation`.name as `product.parent.translation.name`,
`product.parent.translation`.keywords as `product.parent.translation.keywords`,
`product.parent.translation`.description as `product.parent.translation.description`,
`product.parent.translation`.meta_title as `product.parent.translation.metaTitle`,
`product.parent.translation`.pack_unit as `product.parent.translation.packUnit`,
`product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`,
`product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`,
`product.parent.translation`.slot_config as `product.parent.translation.slotConfig`,
`product.parent.translation`.custom_fields as `product.parent.translation.customFields`,
`product.parent.translation`.created_at as `product.parent.translation.createdAt`,
`product.parent.translation`.updated_at as `product.parent.translation.updatedAt`,
`product.parent.translation`.product_id as `product.parent.translation.productId`,
`product.parent.translation`.language_id as `product.parent.translation.languageId`,
`product.parent.translation`.product_version_id as `product.parent.translation.productVersionId`
FROM
`product_translation` `product.parent.translation`
WHERE
`product.parent.translation`.language_id = : languageId
) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id`
AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id
LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id`
LEFT JOIN `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_id`
LEFT JOIN `unit` `product.unit` ON `product`.`unit` = `product.unit`.`id`
LEFT JOIN `delivery_time` `product.deliveryTime` ON `product`.`deliveryTime` = `product.deliveryTime`.`id`
LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id`
AND `product`.`version_id` = `product.cover`.`version_id`
LEFT JOIN `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id`
LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id`
LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`id`
LEFT JOIN (
SELECT
`product.unit.translation`.unit_id,
`product.unit.translation`.short_code as `product.unit.translation.shortCode`,
`product.unit.translation`.name as `product.unit.translation.name`,
`product.unit.translation`.custom_fields as `product.unit.translation.customFields`,
`product.unit.translation`.created_at as `product.unit.translation.createdAt`,
`product.unit.translation`.updated_at as `product.unit.translation.updatedAt`,
`product.unit.translation`.unit_id as `product.unit.translation.unitId`,
`product.unit.translation`.language_id as `product.unit.translation.languageId`
FROM
`unit_translation` `product.unit.translation`
WHERE
`product.unit.translation`.language_id = : languageId
) `product.unit.unit_translation` ON `product.unit.unit_translation`.`unit_id` = `product.unit`.`id`
LEFT JOIN (
SELECT
`product.deliveryTime.translation`.delivery_time_id,
`product.deliveryTime.translation`.name as `product.deliveryTime.translation.name`,
`product.deliveryTime.translation`.custom_fields as `product.deliveryTime.translation.customFields`,
`product.deliveryTime.translation`.created_at as `product.deliveryTime.translation.createdAt`,
`product.deliveryTime.translation`.updated_at as `product.deliveryTime.translation.updatedAt`,
`product.deliveryTime.translation`.delivery_time_id as `product.deliveryTime.translation.deliveryTimeId`,
`product.deliveryTime.translation`.language_id as `product.deliveryTime.translation.languageId`
FROM
`delivery_time_translation` `product.deliveryTime.translation`
WHERE
`product.deliveryTime.translation`.language_id = : languageId
) `product.deliveryTime.delivery_time_translation` ON `product.deliveryTime.delivery_time_translation`.`delivery_time_id` = `product.deliveryTime`.`id`
LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id`
LEFT JOIN (
SELECT
`product.cover.media.translation`.media_id,
`product.cover.media.translation`.title as `product.cover.media.translation.title`,
`product.cover.media.translation`.alt as `product.cover.media.translation.alt`,
`product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`,
`product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`,
`product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`,
`product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`,
`product.cover.media.translation`.language_id as `product.cover.media.translation.languageId`
FROM
`media_translation` `product.cover.media.translation`
WHERE
`product.cover.media.translation`.language_id = : languageId
) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id`
WHERE
(
`product`.`version_id` = : version
)
AND (
`product`.`id` IN (: ids)
)
SELECT `product`.`id` as `product.id`, `product`.`version_id` as `product.versionId`, `product`.`parent_id` as `product.parentId`, `product`.`parent_version_id` as `product.parentVersionId`, COALESCE(`product`.`product_manufacturer_id`, `product.parent`.`product_manufacturer_id`) as `product.manufacturerId`, COALESCE(`product`.`product_manufacturer_version_id`, `product.parent`.`product_manufacturer_version_id`) as `product.productManufacturerVersionId`, COALESCE(`product`.`unit_id`, `product.parent`.`unit_id`) as `product.unitId`, COALESCE(`product`.`tax_id`, `product.parent`.`tax_id`) as `product.taxId`, COALESCE(`product`.`product_media_id`, `product.parent`.`product_media_id`) as `product.coverId`, COALESCE(`product`.`product_media_version_id`, `product.parent`.`product_media_version_id`) as `product.productMediaVersionId`, COALESCE(`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`) as `product.deliveryTimeId`, COALESCE(`product`.`product_feature_set_id`, `product.parent`.`product_feature_set_id`) as `product.featureSetId`, COALESCE(`product`.`canonical_product_id`, `product.parent`.`canonical_product_id`) as `product.canonicalProductId`, COALESCE(`product`.`cms_page_id`, `product.parent`.`cms_page_id`) as `product.cmsPageId`, COALESCE(`product`.`cms_page_version_id`, `product.parent`.`cms_page_version_id`) as `product.cmsPageVersionId`, `product.parent`.`price` as `product.price.inherited`, COALESCE(`product`.`price`, `product.parent`.`price`) as `product.price`, `product`.`product_number` as `product.productNumber`, `product`.`stock` as `product.stock`, COALESCE(`product`.`restock_time`, `product.parent`.`restock_time`) as `product.restockTime`, `product`.`auto_increment` as `product.autoIncrement`, COALESCE(`product`.`active`, `product.parent`.`active`) as `product.active`, `product`.`available_stock` as `product.availableStock`, `product`.`available` as `product.available`, COALESCE(`product`.`is_closeout`, `product.parent`.`is_closeout`) as `product.isCloseout`, `product`.`display_group` as `product.displayGroup`, `product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`, COALESCE(`product`.`configurator_group_config`, `product.parent`.`configurator_group_config`) as `product.configuratorGroupConfig`, COALESCE(`product`.`main_variant_id`, `product.parent`.`main_variant_id`) as `product.mainVariantId`, COALESCE(`product`.`display_parent`, `product.parent`.`display_parent`) as `product.displayParent`, `product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`, COALESCE(`product`.`variant_listing_config`, `product.parent`.`variant_listing_config`) as `product.variantListingConfig`, `product`.`variant_restrictions` as `product.variantRestrictions`, COALESCE(`product`.`manufacturer_number`, `product.parent`.`manufacturer_number`) as `product.manufacturerNumber`, COALESCE(`product`.`ean`, `product.parent`.`ean`) as `product.ean`, COALESCE(`product`.`purchase_steps`, `product.parent`.`purchase_steps`) as `product.purchaseSteps`, COALESCE(`product`.`max_purchase`, `product.parent`.`max_purchase`) as `product.maxPurchase`, COALESCE(`product`.`min_purchase`, `product.parent`.`min_purchase`) as `product.minPurchase`, COALESCE(`product`.`purchase_unit`, `product.parent`.`purchase_unit`) as `product.purchaseUnit`, COALESCE(`product`.`reference_unit`, `product.parent`.`reference_unit`) as `product.referenceUnit`, COALESCE(`product`.`shipping_free`, `product.parent`.`shipping_free`) as `product.shippingFree`, `product.parent`.`purchase_prices` as `product.purchasePrices.inherited`, COALESCE(`product`.`purchase_prices`, `product.parent`.`purchase_prices`) as `product.purchasePrices`, COALESCE(`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`) as `product.markAsTopseller`, COALESCE(`product`.`weight`, `product.parent`.`weight`) as `product.weight`, COALESCE(`product`.`width`, `product.parent`.`width`) as `product.width`, COALESCE(`product`.`height`, `product.parent`.`height`) as `product.height`, COALESCE(`product`.`length`, `product.parent`.`length`) as `product.length`, COALESCE(`product`.`release_date`, `product.parent`.`release_date`) as `product.releaseDate`, COALESCE(`product`.`rating_average`, `product.parent`.`rating_average`) as `product.ratingAverage`, `product.parent`.`category_tree` as `product.categoryTree.inherited`, COALESCE(`product`.`category_tree`, `product.parent`.`category_tree`) as `product.categoryTree`, `product.parent`.`property_ids` as `product.propertyIds.inherited`, COALESCE(`product`.`property_ids`, `product.parent`.`property_ids`) as `product.propertyIds`, `product.parent`.`option_ids` as `product.optionIds.inherited`, COALESCE(`product`.`option_ids`, `product.parent`.`option_ids`) as `product.optionIds`, `product.parent`.`stream_ids` as `product.streamIds.inherited`, COALESCE(`product`.`stream_ids`, `product.parent`.`stream_ids`) as `product.streamIds`, `product.parent`.`tag_ids` as `product.tagIds.inherited`, COALESCE(`product`.`tag_ids`, `product.parent`.`tag_ids`) as `product.tagIds`, `product.parent`.`category_ids` as `product.categoryIds.inherited`, COALESCE(`product`.`category_ids`, `product.parent`.`category_ids`) as `product.categoryIds`, `product`.`child_count` as `product.childCount`, COALESCE(`product`.`custom_field_set_selection_active`, `product.parent`.`custom_field_set_selection_active`) as `product.customFieldSetSelectionActive`, `product`.`sales` as `product.sales`, `product`.`states` as `product.states`, `product.tax`.`id` as `product.tax.id`, `product.tax`.`tax_rate` as `product.tax.taxRate`, `product.tax`.`name` as `product.tax.name`, `product.tax`.`position` as `product.tax.position`, `product.tax`.`custom_fields` as `product.tax.customFields`, `product.tax`.`created_at` as `product.tax.createdAt`, `product.tax`.`updated_at` as `product.tax.updatedAt`, `product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`, COALESCE(`product`.`cheapest_price`, `product.parent`.`cheapest_price`) as `product.cheapestPrice`, `product`.`created_at` as `product.createdAt`, `product`.`updated_at` as `product.updatedAt`, `product.bundle`.`id` as `product.bundle.id`, `product.bundle`.`product_id` as `product.bundle.productId`, `product.bundle`.`product_version_id` as `product.bundle.productVersionId`, `product.bundle`.`name` as `product.bundle.name`, `product.bundle`.`price_type` as `product.bundle.priceType`, `product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`, `product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`, `product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`, `product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`, `product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`, `product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`, `product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`, `product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`, `product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`, `product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`, `product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`, `product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`, `product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`, `product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`, `product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`, `product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`, `product.bundle`.`created_at` as `product.bundle.createdAt`, `product.bundle`.`updated_at` as `product.bundle.updatedAt`, (SELECT GROUP_CONCAT(HEX(`product.options.mapping`.`property_group_option_id`) SEPARATOR '||')
FROM `product_option` `product.options.mapping`
WHERE `product.options.mapping`.`product_id` = `product`.`id` ) as `product.options.id_mapping`, `product.unit`.`id` as `product.unit.id`, `product.unit`.`created_at` as `product.unit.createdAt`, `product.unit`.`updated_at` as `product.unit.updatedAt`, `product.unit.translation.shortCode`, COALESCE(`product.unit.translation.shortCode`,`product.unit.translation.shortCode`) as `product.unit.shortCode`, `product.unit.translation.name`, COALESCE(`product.unit.translation.name`,`product.unit.translation.name`) as `product.unit.name`, `product.unit.translation.customFields`, COALESCE(`product.unit.translation.customFields`,`product.unit.translation.customFields`) as `product.unit.customFields`, `product.unit.translation.createdAt`, `product.unit.translation.updatedAt`, `product.unit.translation.unitId`, `product.unit.translation.languageId`, `product.deliveryTime`.`id` as `product.deliveryTime.id`, `product.deliveryTime`.`min` as `product.deliveryTime.min`, `product.deliveryTime`.`max` as `product.deliveryTime.max`, `product.deliveryTime`.`unit` as `product.deliveryTime.unit`, `product.deliveryTime`.`created_at` as `product.deliveryTime.createdAt`, `product.deliveryTime`.`updated_at` as `product.deliveryTime.updatedAt`, `product.deliveryTime.translation.name`, COALESCE(`product.deliveryTime.translation.name`,`product.deliveryTime.translation.name`) as `product.deliveryTime.name`, `product.deliveryTime.translation.customFields`, COALESCE(`product.deliveryTime.translation.customFields`,`product.deliveryTime.translation.customFields`) as `product.deliveryTime.customFields`, `product.deliveryTime.translation.createdAt`, `product.deliveryTime.translation.updatedAt`, `product.deliveryTime.translation.deliveryTimeId`, `product.deliveryTime.translation.languageId`, `product.cover`.`id` as `product.cover.id`, `product.cover`.`version_id` as `product.cover.versionId`, `product.cover`.`product_id` as `product.cover.productId`, `product.cover`.`product_version_id` as `product.cover.productVersionId`, `product.cover`.`media_id` as `product.cover.mediaId`, `product.cover`.`position` as `product.cover.position`, `product.cover.media`.`id` as `product.cover.media.id`, `product.cover.media`.`user_id` as `product.cover.media.userId`, `product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`, `product.cover.media`.`mime_type` as `product.cover.media.mimeType`, `product.cover.media`.`file_extension` as `product.cover.media.fileExtension`, `product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`, `product.cover.media`.`file_name` as `product.cover.media.fileName`, `product.cover.media`.`file_size` as `product.cover.media.fileSize`, `product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`, `product.cover.media`.`meta_data` as `product.cover.media.metaData`, `product.cover.media`.`private` as `product.cover.media.private`, `product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`, `product.cover.media`.`created_at` as `product.cover.media.createdAt`, `product.cover.media`.`updated_at` as `product.cover.media.updatedAt`, `product.cover.media.translation.title`, COALESCE(`product.cover.media.translation.title`,`product.cover.media.translation.title`) as `product.cover.media.title`, `product.cover.media.translation.alt`, COALESCE(`product.cover.media.translation.alt`,`product.cover.media.translation.alt`) as `product.cover.media.alt`, `product.cover.media.translation.customFields`, COALESCE(`product.cover.media.translation.customFields`,`product.cover.media.translation.customFields`) as `product.cover.media.customFields`, `product.cover.media.translation.createdAt`, `product.cover.media.translation.updatedAt`, `product.cover.media.translation.mediaId`, `product.cover.media.translation.languageId`, `product.cover`.`custom_fields` as `product.cover.customFields`, `product.cover`.`created_at` as `product.cover.createdAt`, `product.cover`.`updated_at` as `product.cover.updatedAt`, `product.translation.metaDescription`, `product.parent.translation.metaDescription`, COALESCE(`product.translation.metaDescription`,`product.parent.translation.metaDescription`,`product.translation.metaDescription`) as `product.metaDescription`, `product.translation.name`, `product.parent.translation.name`, COALESCE(`product.translation.name`,`product.parent.translation.name`,`product.translation.name`) as `product.name`, `product.translation.keywords`, `product.parent.translation.keywords`, COALESCE(`product.translation.keywords`,`product.parent.translation.keywords`,`product.translation.keywords`) as `product.keywords`, `product.translation.description`, `product.parent.translation.description`, COALESCE(`product.translation.description`,`product.parent.translation.description`,`product.translation.description`) as `product.description`, `product.translation.metaTitle`, `product.parent.translation.metaTitle`, COALESCE(`product.translation.metaTitle`,`product.parent.translation.metaTitle`,`product.translation.metaTitle`) as `product.metaTitle`, `product.translation.packUnit`, `product.parent.translation.packUnit`, COALESCE(`product.translation.packUnit`,`product.parent.translation.packUnit`,`product.translation.packUnit`) as `product.packUnit`, `product.translation.packUnitPlural`, `product.parent.translation.packUnitPlural`, COALESCE(`product.translation.packUnitPlural`,`product.parent.translation.packUnitPlural`,`product.translation.packUnitPlural`) as `product.packUnitPlural`, `product.translation.customSearchKeywords`, `product.parent.translation.customSearchKeywords`, COALESCE(`product.translation.customSearchKeywords`,`product.parent.translation.customSearchKeywords`,`product.translation.customSearchKeywords`) as `product.customSearchKeywords`, `product.translation.slotConfig`, `product.parent.translation.slotConfig`, COALESCE(`product.translation.slotConfig`,`product.parent.translation.slotConfig`,`product.translation.slotConfig`) as `product.slotConfig`, `product.translation.customFields`, `product.parent.translation.customFields`, COALESCE(`product.translation.customFields`,`product.parent.translation.customFields`,`product.translation.customFields`) as `product.customFields`, `product.translation.createdAt`, `product.parent.translation.createdAt`, `product.translation.updatedAt`, `product.parent.translation.updatedAt`, `product.translation.productId`, `product.parent.translation.productId`, `product.translation.languageId`, `product.parent.translation.languageId`, `product.translation.productVersionId`, `product.parent.translation.productVersionId` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN (SELECT `product.translation`.product_id, `product.translation`.product_version_id, `product.translation`.meta_description as `product.translation.metaDescription`, `product.translation`.name as `product.translation.name`, `product.translation`.keywords as `product.translation.keywords`, `product.translation`.description as `product.translation.description`, `product.translation`.meta_title as `product.translation.metaTitle`, `product.translation`.pack_unit as `product.translation.packUnit`, `product.translation`.pack_unit_plural as `product.translation.packUnitPlural`, `product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`, `product.translation`.slot_config as `product.translation.slotConfig`, `product.translation`.custom_fields as `product.translation.customFields`, `product.translation`.created_at as `product.translation.createdAt`, `product.translation`.updated_at as `product.translation.updatedAt`, `product.translation`.product_id as `product.translation.productId`, `product.translation`.language_id as `product.translation.languageId`, `product.translation`.product_version_id as `product.translation.productVersionId` FROM `product_translation` `product.translation` WHERE `product.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id` AND `product.product_translation`.product_version_id = `product`.version_id LEFT JOIN (SELECT `product.parent.translation`.product_id, `product.parent.translation`.product_version_id, `product.parent.translation`.meta_description as `product.parent.translation.metaDescription`, `product.parent.translation`.name as `product.parent.translation.name`, `product.parent.translation`.keywords as `product.parent.translation.keywords`, `product.parent.translation`.description as `product.parent.translation.description`, `product.parent.translation`.meta_title as `product.parent.translation.metaTitle`, `product.parent.translation`.pack_unit as `product.parent.translation.packUnit`, `product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`, `product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`, `product.parent.translation`.slot_config as `product.parent.translation.slotConfig`, `product.parent.translation`.custom_fields as `product.parent.translation.customFields`, `product.parent.translation`.created_at as `product.parent.translation.createdAt`, `product.parent.translation`.updated_at as `product.parent.translation.updatedAt`, `product.parent.translation`.product_id as `product.parent.translation.productId`, `product.parent.translation`.language_id as `product.parent.translation.languageId`, `product.parent.translation`.product_version_id as `product.parent.translation.productVersionId` FROM `product_translation` `product.parent.translation` WHERE `product.parent.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id` AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id` LEFT JOIN `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_id` LEFT JOIN `unit` `product.unit` ON `product`.`unit` = `product.unit`.`id` LEFT JOIN `delivery_time` `product.deliveryTime` ON `product`.`deliveryTime` = `product.deliveryTime`.`id` LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id` AND `product`.`version_id` = `product.cover`.`version_id` LEFT JOIN `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`id` LEFT JOIN (SELECT `product.unit.translation`.unit_id, `product.unit.translation`.short_code as `product.unit.translation.shortCode`, `product.unit.translation`.name as `product.unit.translation.name`, `product.unit.translation`.custom_fields as `product.unit.translation.customFields`, `product.unit.translation`.created_at as `product.unit.translation.createdAt`, `product.unit.translation`.updated_at as `product.unit.translation.updatedAt`, `product.unit.translation`.unit_id as `product.unit.translation.unitId`, `product.unit.translation`.language_id as `product.unit.translation.languageId` FROM `unit_translation` `product.unit.translation` WHERE `product.unit.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.unit.unit_translation` ON `product.unit.unit_translation`.`unit_id` = `product.unit`.`id` LEFT JOIN (SELECT `product.deliveryTime.translation`.delivery_time_id, `product.deliveryTime.translation`.name as `product.deliveryTime.translation.name`, `product.deliveryTime.translation`.custom_fields as `product.deliveryTime.translation.customFields`, `product.deliveryTime.translation`.created_at as `product.deliveryTime.translation.createdAt`, `product.deliveryTime.translation`.updated_at as `product.deliveryTime.translation.updatedAt`, `product.deliveryTime.translation`.delivery_time_id as `product.deliveryTime.translation.deliveryTimeId`, `product.deliveryTime.translation`.language_id as `product.deliveryTime.translation.languageId` FROM `delivery_time_translation` `product.deliveryTime.translation` WHERE `product.deliveryTime.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.deliveryTime.delivery_time_translation` ON `product.deliveryTime.delivery_time_translation`.`delivery_time_id` = `product.deliveryTime`.`id` LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id` LEFT JOIN (SELECT `product.cover.media.translation`.media_id, `product.cover.media.translation`.title as `product.cover.media.translation.title`, `product.cover.media.translation`.alt as `product.cover.media.translation.alt`, `product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`, `product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`, `product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`, `product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`, `product.cover.media.translation`.language_id as `product.cover.media.translation.languageId` FROM `media_translation` `product.cover.media.translation` WHERE `product.cover.media.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id` WHERE (`product`.`version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425) AND (`product`.`id` IN (0x136F2EA2D0A34A8186CCFED6168D195B, 0x247A8634FFCA428AAF53BDB12026184F));
array:36 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 316)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetch (line 148)"
4 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 93)"
5 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::read (line 195)"
6 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::read (line 133)"
7 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 147)"
8 => "Shopware\Core\Content\Cms\DataResolver\CmsSlotsDataResolver::fetchByCriteria (line 85)"
9 => "Shopware\Core\Content\Cms\DataResolver\CmsSlotsDataResolver::resolve (line 104)"
10 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::loadSlotData (line 94)"
11 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::load (line 102)"
12 => "Shopware\Core\Content\Category\SalesChannel\CategoryRoute::load (line 103)"
13 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 350)"
14 => "Shopware\Core\System\SystemConfig\SystemConfigService::trace (line 44)"
15 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 120)"
16 => "Shopware\Core\Framework\Adapter\Translation\Translator::trace (line 45)"
17 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 46)"
18 => "Shopware\Core\Framework\Adapter\Cache\CacheTagCollection::trace (line 46)"
19 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::trace (line 41)"
20 => "Shopware\Storefront\Framework\Cache\CacheTracer::Shopware\Storefront\Framework\Cache\{closure} (line 59)"
21 => "Shopware\Storefront\Theme\ThemeConfigValueAccessor::trace (line 42)"
22 => "Shopware\Storefront\Framework\Cache\CacheTracer::trace (line 104)"
23 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 72)"
24 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
25 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 109)"
26 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 59)"
27 => "Shopware\Core\Profiling\Profiler::trace (line 112)"
28 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::load (line 66)"
29 => "Shopware\Storefront\Page\Navigation\NavigationPageLoader::load (line 48)"
30 => "Shopware\Storefront\Controller\NavigationController::home (line 163)"
31 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
32 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
33 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
34 => "Shopware\Core\HttpKernel::doHandle (line 81)"
35 => "Shopware\Core\HttpKernel::handle (line 75)"
]
|
44 |
1.25 ms |
SELECT `product_price`.`id` as `product_price.id`, `product_price`.`version_id` as `product_price.versionId`, `product_price`.`product_id` as `product_price.productId`, `product_price`.`product_version_id` as `product_price.productVersionId`, `product_price`.`rule_id` as `product_price.ruleId`, `product_price`.`price` as `product_price.price`, `product_price`.`quantity_start` as `product_price.quantityStart`, `product_price`.`quantity_end` as `product_price.quantityEnd`, `product_price`.`custom_fields` as `product_price.customFields`, `product_price`.`created_at` as `product_price.createdAt`, `product_price`.`updated_at` as `product_price.updatedAt` FROM `product_price` WHERE (`product_price`.`version_id` = :version) AND ((`product_price`.`product_id` IN (:param_543a49112f22464f8340f035e5bef9c3)))
SELECT `product_price`.`id` as `product_price.id`, `product_price`.`version_id` as `product_price.versionId`, `product_price`.`product_id` as `product_price.productId`, `product_price`.`product_version_id` as `product_price.productVersionId`, `product_price`.`rule_id` as `product_price.ruleId`, `product_price`.`price` as `product_price.price`, `product_price`.`quantity_start` as `product_price.quantityStart`, `product_price`.`quantity_end` as `product_price.quantityEnd`, `product_price`.`custom_fields` as `product_price.customFields`, `product_price`.`created_at` as `product_price.createdAt`, `product_price`.`updated_at` as `product_price.updatedAt` FROM `product_price` WHERE (`product_price`.`version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425) AND ((`product_price`.`product_id` IN (0x136F2EA2D0A34A8186CCFED6168D195B, 0x247A8634FFCA428AAF53BDB12026184F)));
array:40 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 316)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetch (line 148)"
4 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 503)"
5 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::loadOneToManyWithoutPagination (line 438)"
6 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::loadOneToMany (line 1210)"
7 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetchAssociations (line 152)"
8 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 93)"
9 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::read (line 195)"
10 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::read (line 133)"
11 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 147)"
12 => "Shopware\Core\Content\Cms\DataResolver\CmsSlotsDataResolver::fetchByCriteria (line 85)"
13 => "Shopware\Core\Content\Cms\DataResolver\CmsSlotsDataResolver::resolve (line 104)"
14 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::loadSlotData (line 94)"
15 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::load (line 102)"
16 => "Shopware\Core\Content\Category\SalesChannel\CategoryRoute::load (line 103)"
17 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 350)"
18 => "Shopware\Core\System\SystemConfig\SystemConfigService::trace (line 44)"
19 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 120)"
20 => "Shopware\Core\Framework\Adapter\Translation\Translator::trace (line 45)"
21 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 46)"
22 => "Shopware\Core\Framework\Adapter\Cache\CacheTagCollection::trace (line 46)"
23 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::trace (line 41)"
24 => "Shopware\Storefront\Framework\Cache\CacheTracer::Shopware\Storefront\Framework\Cache\{closure} (line 59)"
25 => "Shopware\Storefront\Theme\ThemeConfigValueAccessor::trace (line 42)"
26 => "Shopware\Storefront\Framework\Cache\CacheTracer::trace (line 104)"
27 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 72)"
28 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
29 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 109)"
30 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 59)"
31 => "Shopware\Core\Profiling\Profiler::trace (line 112)"
32 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::load (line 66)"
33 => "Shopware\Storefront\Page\Navigation\NavigationPageLoader::load (line 48)"
34 => "Shopware\Storefront\Controller\NavigationController::home (line 163)"
35 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
36 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
37 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
38 => "Shopware\Core\HttpKernel::doHandle (line 81)"
39 => "Shopware\Core\HttpKernel::handle (line 75)"
]
|
45 |
0.53 ms |
SELECT * FROM sales_channel_api_context WHERE (sales_channel_id = :salesChannelId) AND (token = :token) LIMIT 1
SELECT * FROM sales_channel_api_context WHERE (sales_channel_id = 0x620A2217F7474E619CB00AD39E804CCA) AND (token = 'FwsxT47353Zxmr7lp0KSfYcVNkg5VpYR') LIMIT 1;
array:43 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 165)"
3 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextPersister::load (line 69)"
4 => "Bodymed\Webshop\Core\Subscriber\ProductSubscriber::addCustomerProductFeatureExtension (line 230)"
5 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
6 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
7 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
8 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
9 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
10 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 33)"
11 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
12 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 208)"
13 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::read (line 133)"
14 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 147)"
15 => "Shopware\Core\Content\Cms\DataResolver\CmsSlotsDataResolver::fetchByCriteria (line 85)"
16 => "Shopware\Core\Content\Cms\DataResolver\CmsSlotsDataResolver::resolve (line 104)"
17 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::loadSlotData (line 94)"
18 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::load (line 102)"
19 => "Shopware\Core\Content\Category\SalesChannel\CategoryRoute::load (line 103)"
20 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 350)"
21 => "Shopware\Core\System\SystemConfig\SystemConfigService::trace (line 44)"
22 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 120)"
23 => "Shopware\Core\Framework\Adapter\Translation\Translator::trace (line 45)"
24 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 46)"
25 => "Shopware\Core\Framework\Adapter\Cache\CacheTagCollection::trace (line 46)"
26 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::trace (line 41)"
27 => "Shopware\Storefront\Framework\Cache\CacheTracer::Shopware\Storefront\Framework\Cache\{closure} (line 59)"
28 => "Shopware\Storefront\Theme\ThemeConfigValueAccessor::trace (line 42)"
29 => "Shopware\Storefront\Framework\Cache\CacheTracer::trace (line 104)"
30 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 72)"
31 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
32 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 109)"
33 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 59)"
34 => "Shopware\Core\Profiling\Profiler::trace (line 112)"
35 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::load (line 66)"
36 => "Shopware\Storefront\Page\Navigation\NavigationPageLoader::load (line 48)"
37 => "Shopware\Storefront\Controller\NavigationController::home (line 163)"
38 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
39 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
40 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
41 => "Shopware\Core\HttpKernel::doHandle (line 81)"
42 => "Shopware\Core\HttpKernel::handle (line 75)"
]
|
46 |
1.37 ms |
SELECT `product`.`id`, `product`.`product_number`, `product`.`auto_increment` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN `product_visibility` `product.visibilities` ON `product`.`visibilities` = `product.visibilities`.`product_id` AND `product`.version_id = `product.visibilities`.product_version_id WHERE (`product`.`version_id` = :version) AND ((`product`.`parent_id` = :param_0d61a651c4554051953ada6875819950 AND ((`product.visibilities`.`visibility` >= :param_42512077973f477092663fa9ee0ca6c0) AND `product.visibilities`.`sales_channel_id` = :param_e705b22355c3492b9ac10224dfa156b4 AND IFNULL(`product`.`active`, `product.parent`.`active`) = :param_27166c0e54ba40ec8cf0df7ecbbd5e88))) GROUP BY `product`.`id`
SELECT `product`.`id`, `product`.`product_number`, `product`.`auto_increment` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN `product_visibility` `product.visibilities` ON `product`.`visibilities` = `product.visibilities`.`product_id` AND `product`.version_id = `product.visibilities`.product_version_id WHERE (`product`.`version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425) AND ((`product`.`parent_id` = 0x1AC13C0695234DB1962D5899CC4EA096 AND ((`product.visibilities`.`visibility` >= 10) AND `product.visibilities`.`sales_channel_id` = 0x620A2217F7474E619CB00AD39E804CCA AND IFNULL(`product`.`active`, `product.parent`.`active`) = 1))) GROUP BY `product`.`id`;
array:37 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 107)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntitySearcher::search (line 62)"
4 => "Shopware\Elasticsearch\Framework\DataAbstractionLayer\ElasticsearchEntitySearcher::search (line 216)"
5 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::doSearch (line 122)"
6 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 49)"
7 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariantsOfProduct (line 30)"
8 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariants (line 224)"
9 => "Bodymed\Webshop\Core\Content\Product\Cms\ProductSliderCmsElementResolver::enrich (line 99)"
10 => "Shopware\Core\Content\Cms\DataResolver\CmsSlotsDataResolver::resolve (line 104)"
11 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::loadSlotData (line 94)"
12 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::load (line 102)"
13 => "Shopware\Core\Content\Category\SalesChannel\CategoryRoute::load (line 103)"
14 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 350)"
15 => "Shopware\Core\System\SystemConfig\SystemConfigService::trace (line 44)"
16 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 120)"
17 => "Shopware\Core\Framework\Adapter\Translation\Translator::trace (line 45)"
18 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 46)"
19 => "Shopware\Core\Framework\Adapter\Cache\CacheTagCollection::trace (line 46)"
20 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::trace (line 41)"
21 => "Shopware\Storefront\Framework\Cache\CacheTracer::Shopware\Storefront\Framework\Cache\{closure} (line 59)"
22 => "Shopware\Storefront\Theme\ThemeConfigValueAccessor::trace (line 42)"
23 => "Shopware\Storefront\Framework\Cache\CacheTracer::trace (line 104)"
24 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 72)"
25 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
26 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 109)"
27 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 59)"
28 => "Shopware\Core\Profiling\Profiler::trace (line 112)"
29 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::load (line 66)"
30 => "Shopware\Storefront\Page\Navigation\NavigationPageLoader::load (line 48)"
31 => "Shopware\Storefront\Controller\NavigationController::home (line 163)"
32 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
33 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
34 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
35 => "Shopware\Core\HttpKernel::doHandle (line 81)"
36 => "Shopware\Core\HttpKernel::handle (line 75)"
]
|
47 |
33.82 ms |
SELECT `product`.`id` as `product.id`, `product`.`version_id` as `product.versionId`, `product`.`parent_id` as `product.parentId`, `product`.`parent_version_id` as `product.parentVersionId`, COALESCE(`product`.`product_manufacturer_id`, `product.parent`.`product_manufacturer_id`) as `product.manufacturerId`, COALESCE(`product`.`product_manufacturer_version_id`, `product.parent`.`product_manufacturer_version_id`) as `product.productManufacturerVersionId`, COALESCE(`product`.`unit_id`, `product.parent`.`unit_id`) as `product.unitId`, COALESCE(`product`.`tax_id`, `product.parent`.`tax_id`) as `product.taxId`, COALESCE(`product`.`product_media_id`, `product.parent`.`product_media_id`) as `product.coverId`, COALESCE(`product`.`product_media_version_id`, `product.parent`.`product_media_version_id`) as `product.productMediaVersionId`, COALESCE(`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`) as `product.deliveryTimeId`, COALESCE(`product`.`product_feature_set_id`, `product.parent`.`product_feature_set_id`) as `product.featureSetId`, COALESCE(`product`.`canonical_product_id`, `product.parent`.`canonical_product_id`) as `product.canonicalProductId`, COALESCE(`product`.`cms_page_id`, `product.parent`.`cms_page_id`) as `product.cmsPageId`, COALESCE(`product`.`cms_page_version_id`, `product.parent`.`cms_page_version_id`) as `product.cmsPageVersionId`, `product.parent`.`price` as `product.price.inherited`, COALESCE(`product`.`price`, `product.parent`.`price`) as `product.price`, `product`.`product_number` as `product.productNumber`, `product`.`stock` as `product.stock`, COALESCE(`product`.`restock_time`, `product.parent`.`restock_time`) as `product.restockTime`, `product`.`auto_increment` as `product.autoIncrement`, COALESCE(`product`.`active`, `product.parent`.`active`) as `product.active`, `product`.`available_stock` as `product.availableStock`, `product`.`available` as `product.available`, COALESCE(`product`.`is_closeout`, `product.parent`.`is_closeout`) as `product.isCloseout`, `product`.`display_group` as `product.displayGroup`, `product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`, COALESCE(`product`.`configurator_group_config`, `product.parent`.`configurator_group_config`) as `product.configuratorGroupConfig`, COALESCE(`product`.`main_variant_id`, `product.parent`.`main_variant_id`) as `product.mainVariantId`, COALESCE(`product`.`display_parent`, `product.parent`.`display_parent`) as `product.displayParent`, `product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`, COALESCE(`product`.`variant_listing_config`, `product.parent`.`variant_listing_config`) as `product.variantListingConfig`, `product`.`variant_restrictions` as `product.variantRestrictions`, COALESCE(`product`.`manufacturer_number`, `product.parent`.`manufacturer_number`) as `product.manufacturerNumber`, COALESCE(`product`.`ean`, `product.parent`.`ean`) as `product.ean`, COALESCE(`product`.`purchase_steps`, `product.parent`.`purchase_steps`) as `product.purchaseSteps`, COALESCE(`product`.`max_purchase`, `product.parent`.`max_purchase`) as `product.maxPurchase`, COALESCE(`product`.`min_purchase`, `product.parent`.`min_purchase`) as `product.minPurchase`, COALESCE(`product`.`purchase_unit`, `product.parent`.`purchase_unit`) as `product.purchaseUnit`, COALESCE(`product`.`reference_unit`, `product.parent`.`reference_unit`) as `product.referenceUnit`, COALESCE(`product`.`shipping_free`, `product.parent`.`shipping_free`) as `product.shippingFree`, `product.parent`.`purchase_prices` as `product.purchasePrices.inherited`, COALESCE(`product`.`purchase_prices`, `product.parent`.`purchase_prices`) as `product.purchasePrices`, COALESCE(`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`) as `product.markAsTopseller`, COALESCE(`product`.`weight`, `product.parent`.`weight`) as `product.weight`, COALESCE(`product`.`width`, `product.parent`.`width`) as `product.width`, COALESCE(`product`.`height`, `product.parent`.`height`) as `product.height`, COALESCE(`product`.`length`, `product.parent`.`length`) as `product.length`, COALESCE(`product`.`release_date`, `product.parent`.`release_date`) as `product.releaseDate`, COALESCE(`product`.`rating_average`, `product.parent`.`rating_average`) as `product.ratingAverage`, `product.parent`.`category_tree` as `product.categoryTree.inherited`, COALESCE(`product`.`category_tree`, `product.parent`.`category_tree`) as `product.categoryTree`, `product.parent`.`property_ids` as `product.propertyIds.inherited`, COALESCE(`product`.`property_ids`, `product.parent`.`property_ids`) as `product.propertyIds`, `product.parent`.`option_ids` as `product.optionIds.inherited`, COALESCE(`product`.`option_ids`, `product.parent`.`option_ids`) as `product.optionIds`, `product.parent`.`stream_ids` as `product.streamIds.inherited`, COALESCE(`product`.`stream_ids`, `product.parent`.`stream_ids`) as `product.streamIds`, `product.parent`.`tag_ids` as `product.tagIds.inherited`, COALESCE(`product`.`tag_ids`, `product.parent`.`tag_ids`) as `product.tagIds`, `product.parent`.`category_ids` as `product.categoryIds.inherited`, COALESCE(`product`.`category_ids`, `product.parent`.`category_ids`) as `product.categoryIds`, `product`.`child_count` as `product.childCount`, COALESCE(`product`.`custom_field_set_selection_active`, `product.parent`.`custom_field_set_selection_active`) as `product.customFieldSetSelectionActive`, `product`.`sales` as `product.sales`, `product`.`states` as `product.states`, `product.tax`.`id` as `product.tax.id`, `product.tax`.`tax_rate` as `product.tax.taxRate`, `product.tax`.`name` as `product.tax.name`, `product.tax`.`position` as `product.tax.position`, `product.tax`.`custom_fields` as `product.tax.customFields`, `product.tax`.`created_at` as `product.tax.createdAt`, `product.tax`.`updated_at` as `product.tax.updatedAt`, `product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`, COALESCE(`product`.`cheapest_price`, `product.parent`.`cheapest_price`) as `product.cheapestPrice`, `product`.`created_at` as `product.createdAt`, `product`.`updated_at` as `product.updatedAt`, `product.bundle`.`id` as `product.bundle.id`, `product.bundle`.`product_id` as `product.bundle.productId`, `product.bundle`.`product_version_id` as `product.bundle.productVersionId`, `product.bundle`.`name` as `product.bundle.name`, `product.bundle`.`price_type` as `product.bundle.priceType`, `product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`, `product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`, `product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`, `product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`, `product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`, `product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`, `product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`, `product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`, `product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`, `product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`, `product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`, `product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`, `product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`, `product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`, `product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`, `product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`, `product.bundle`.`created_at` as `product.bundle.createdAt`, `product.bundle`.`updated_at` as `product.bundle.updatedAt`, `product.unit`.`id` as `product.unit.id`, `product.unit`.`created_at` as `product.unit.createdAt`, `product.unit`.`updated_at` as `product.unit.updatedAt`, `product.unit.translation.shortCode`, COALESCE(`product.unit.translation.shortCode`,`product.unit.translation.shortCode`) as `product.unit.shortCode`, `product.unit.translation.name`, COALESCE(`product.unit.translation.name`,`product.unit.translation.name`) as `product.unit.name`, `product.unit.translation.customFields`, COALESCE(`product.unit.translation.customFields`,`product.unit.translation.customFields`) as `product.unit.customFields`, `product.unit.translation.createdAt`, `product.unit.translation.updatedAt`, `product.unit.translation.unitId`, `product.unit.translation.languageId`, `product.deliveryTime`.`id` as `product.deliveryTime.id`, `product.deliveryTime`.`min` as `product.deliveryTime.min`, `product.deliveryTime`.`max` as `product.deliveryTime.max`, `product.deliveryTime`.`unit` as `product.deliveryTime.unit`, `product.deliveryTime`.`created_at` as `product.deliveryTime.createdAt`, `product.deliveryTime`.`updated_at` as `product.deliveryTime.updatedAt`, `product.deliveryTime.translation.name`, COALESCE(`product.deliveryTime.translation.name`,`product.deliveryTime.translation.name`) as `product.deliveryTime.name`, `product.deliveryTime.translation.customFields`, COALESCE(`product.deliveryTime.translation.customFields`,`product.deliveryTime.translation.customFields`) as `product.deliveryTime.customFields`, `product.deliveryTime.translation.createdAt`, `product.deliveryTime.translation.updatedAt`, `product.deliveryTime.translation.deliveryTimeId`, `product.deliveryTime.translation.languageId`, `product.cover`.`id` as `product.cover.id`, `product.cover`.`version_id` as `product.cover.versionId`, `product.cover`.`product_id` as `product.cover.productId`, `product.cover`.`product_version_id` as `product.cover.productVersionId`, `product.cover`.`media_id` as `product.cover.mediaId`, `product.cover`.`position` as `product.cover.position`, `product.cover.media`.`id` as `product.cover.media.id`, `product.cover.media`.`user_id` as `product.cover.media.userId`, `product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`, `product.cover.media`.`mime_type` as `product.cover.media.mimeType`, `product.cover.media`.`file_extension` as `product.cover.media.fileExtension`, `product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`, `product.cover.media`.`file_name` as `product.cover.media.fileName`, `product.cover.media`.`file_size` as `product.cover.media.fileSize`, `product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`, `product.cover.media`.`meta_data` as `product.cover.media.metaData`, `product.cover.media`.`private` as `product.cover.media.private`, `product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`, `product.cover.media`.`created_at` as `product.cover.media.createdAt`, `product.cover.media`.`updated_at` as `product.cover.media.updatedAt`, `product.cover.media.translation.title`, COALESCE(`product.cover.media.translation.title`,`product.cover.media.translation.title`) as `product.cover.media.title`, `product.cover.media.translation.alt`, COALESCE(`product.cover.media.translation.alt`,`product.cover.media.translation.alt`) as `product.cover.media.alt`, `product.cover.media.translation.customFields`, COALESCE(`product.cover.media.translation.customFields`,`product.cover.media.translation.customFields`) as `product.cover.media.customFields`, `product.cover.media.translation.createdAt`, `product.cover.media.translation.updatedAt`, `product.cover.media.translation.mediaId`, `product.cover.media.translation.languageId`, `product.cover`.`custom_fields` as `product.cover.customFields`, `product.cover`.`created_at` as `product.cover.createdAt`, `product.cover`.`updated_at` as `product.cover.updatedAt`, `product.translation.metaDescription`, `product.parent.translation.metaDescription`, COALESCE(`product.translation.metaDescription`,`product.parent.translation.metaDescription`,`product.translation.metaDescription`) as `product.metaDescription`, `product.translation.name`, `product.parent.translation.name`, COALESCE(`product.translation.name`,`product.parent.translation.name`,`product.translation.name`) as `product.name`, `product.translation.keywords`, `product.parent.translation.keywords`, COALESCE(`product.translation.keywords`,`product.parent.translation.keywords`,`product.translation.keywords`) as `product.keywords`, `product.translation.description`, `product.parent.translation.description`, COALESCE(`product.translation.description`,`product.parent.translation.description`,`product.translation.description`) as `product.description`, `product.translation.metaTitle`, `product.parent.translation.metaTitle`, COALESCE(`product.translation.metaTitle`,`product.parent.translation.metaTitle`,`product.translation.metaTitle`) as `product.metaTitle`, `product.translation.packUnit`, `product.parent.translation.packUnit`, COALESCE(`product.translation.packUnit`,`product.parent.translation.packUnit`,`product.translation.packUnit`) as `product.packUnit`, `product.translation.packUnitPlural`, `product.parent.translation.packUnitPlural`, COALESCE(`product.translation.packUnitPlural`,`product.parent.translation.packUnitPlural`,`product.translation.packUnitPlural`) as `product.packUnitPlural`, `product.translation.customSearchKeywords`, `product.parent.translation.customSearchKeywords`, COALESCE(`product.translation.customSearchKeywords`,`product.parent.translation.customSearchKeywords`,`product.translation.customSearchKeywords`) as `product.customSearchKeywords`, `product.translation.slotConfig`, `product.parent.translation.slotConfig`, COALESCE(`product.translation.slotConfig`,`product.parent.translation.slotConfig`,`product.translation.slotConfig`) as `product.slotConfig`, `product.translation.customFields`, `product.parent.translation.customFields`, COALESCE(`product.translation.customFields`,`product.parent.translation.customFields`,`product.translation.customFields`) as `product.customFields`, `product.translation.createdAt`, `product.parent.translation.createdAt`, `product.translation.updatedAt`, `product.parent.translation.updatedAt`, `product.translation.productId`, `product.parent.translation.productId`, `product.translation.languageId`, `product.parent.translation.languageId`, `product.translation.productVersionId`, `product.parent.translation.productVersionId` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN (SELECT `product.translation`.product_id, `product.translation`.product_version_id, `product.translation`.meta_description as `product.translation.metaDescription`, `product.translation`.name as `product.translation.name`, `product.translation`.keywords as `product.translation.keywords`, `product.translation`.description as `product.translation.description`, `product.translation`.meta_title as `product.translation.metaTitle`, `product.translation`.pack_unit as `product.translation.packUnit`, `product.translation`.pack_unit_plural as `product.translation.packUnitPlural`, `product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`, `product.translation`.slot_config as `product.translation.slotConfig`, `product.translation`.custom_fields as `product.translation.customFields`, `product.translation`.created_at as `product.translation.createdAt`, `product.translation`.updated_at as `product.translation.updatedAt`, `product.translation`.product_id as `product.translation.productId`, `product.translation`.language_id as `product.translation.languageId`, `product.translation`.product_version_id as `product.translation.productVersionId` FROM `product_translation` `product.translation` WHERE `product.translation`.language_id = :languageId) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id` AND `product.product_translation`.product_version_id = `product`.version_id LEFT JOIN (SELECT `product.parent.translation`.product_id, `product.parent.translation`.product_version_id, `product.parent.translation`.meta_description as `product.parent.translation.metaDescription`, `product.parent.translation`.name as `product.parent.translation.name`, `product.parent.translation`.keywords as `product.parent.translation.keywords`, `product.parent.translation`.description as `product.parent.translation.description`, `product.parent.translation`.meta_title as `product.parent.translation.metaTitle`, `product.parent.translation`.pack_unit as `product.parent.translation.packUnit`, `product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`, `product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`, `product.parent.translation`.slot_config as `product.parent.translation.slotConfig`, `product.parent.translation`.custom_fields as `product.parent.translation.customFields`, `product.parent.translation`.created_at as `product.parent.translation.createdAt`, `product.parent.translation`.updated_at as `product.parent.translation.updatedAt`, `product.parent.translation`.product_id as `product.parent.translation.productId`, `product.parent.translation`.language_id as `product.parent.translation.languageId`, `product.parent.translation`.product_version_id as `product.parent.translation.productVersionId` FROM `product_translation` `product.parent.translation` WHERE `product.parent.translation`.language_id = :languageId) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id` AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id` LEFT JOIN `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_id` LEFT JOIN `unit` `product.unit` ON `product`.`unit` = `product.unit`.`id` LEFT JOIN `delivery_time` `product.deliveryTime` ON `product`.`deliveryTime` = `product.deliveryTime`.`id` LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id` AND `product`.`version_id` = `product.cover`.`version_id` LEFT JOIN `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`id` LEFT JOIN (SELECT `product.unit.translation`.unit_id, `product.unit.translation`.short_code as `product.unit.translation.shortCode`, `product.unit.translation`.name as `product.unit.translation.name`, `product.unit.translation`.custom_fields as `product.unit.translation.customFields`, `product.unit.translation`.created_at as `product.unit.translation.createdAt`, `product.unit.translation`.updated_at as `product.unit.translation.updatedAt`, `product.unit.translation`.unit_id as `product.unit.translation.unitId`, `product.unit.translation`.language_id as `product.unit.translation.languageId` FROM `unit_translation` `product.unit.translation` WHERE `product.unit.translation`.language_id = :languageId) `product.unit.unit_translation` ON `product.unit.unit_translation`.`unit_id` = `product.unit`.`id` LEFT JOIN (SELECT `product.deliveryTime.translation`.delivery_time_id, `product.deliveryTime.translation`.name as `product.deliveryTime.translation.name`, `product.deliveryTime.translation`.custom_fields as `product.deliveryTime.translation.customFields`, `product.deliveryTime.translation`.created_at as `product.deliveryTime.translation.createdAt`, `product.deliveryTime.translation`.updated_at as `product.deliveryTime.translation.updatedAt`, `product.deliveryTime.translation`.delivery_time_id as `product.deliveryTime.translation.deliveryTimeId`, `product.deliveryTime.translation`.language_id as `product.deliveryTime.translation.languageId` FROM `delivery_time_translation` `product.deliveryTime.translation` WHERE `product.deliveryTime.translation`.language_id = :languageId) `product.deliveryTime.delivery_time_translation` ON `product.deliveryTime.delivery_time_translation`.`delivery_time_id` = `product.deliveryTime`.`id` LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id` LEFT JOIN (SELECT `product.cover.media.translation`.media_id, `product.cover.media.translation`.title as `product.cover.media.translation.title`, `product.cover.media.translation`.alt as `product.cover.media.translation.alt`, `product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`, `product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`, `product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`, `product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`, `product.cover.media.translation`.language_id as `product.cover.media.translation.languageId` FROM `media_translation` `product.cover.media.translation` WHERE `product.cover.media.translation`.language_id = :languageId) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id` WHERE (`product`.`version_id` = :version) AND (`product`.`id` IN (:ids))
SELECT
`product`.`id` as `product.id`,
`product`.`version_id` as `product.versionId`,
`product`.`parent_id` as `product.parentId`,
`product`.`parent_version_id` as `product.parentVersionId`,
COALESCE(
`product`.`product_manufacturer_id`,
`product.parent`.`product_manufacturer_id`
) as `product.manufacturerId`,
COALESCE(
`product`.`product_manufacturer_version_id`,
`product.parent`.`product_manufacturer_version_id`
) as `product.productManufacturerVersionId`,
COALESCE(
`product`.`unit_id`, `product.parent`.`unit_id`
) as `product.unitId`,
COALESCE(
`product`.`tax_id`, `product.parent`.`tax_id`
) as `product.taxId`,
COALESCE(
`product`.`product_media_id`, `product.parent`.`product_media_id`
) as `product.coverId`,
COALESCE(
`product`.`product_media_version_id`,
`product.parent`.`product_media_version_id`
) as `product.productMediaVersionId`,
COALESCE(
`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`
) as `product.deliveryTimeId`,
COALESCE(
`product`.`product_feature_set_id`,
`product.parent`.`product_feature_set_id`
) as `product.featureSetId`,
COALESCE(
`product`.`canonical_product_id`,
`product.parent`.`canonical_product_id`
) as `product.canonicalProductId`,
COALESCE(
`product`.`cms_page_id`, `product.parent`.`cms_page_id`
) as `product.cmsPageId`,
COALESCE(
`product`.`cms_page_version_id`,
`product.parent`.`cms_page_version_id`
) as `product.cmsPageVersionId`,
`product.parent`.`price` as `product.price.inherited`,
COALESCE(
`product`.`price`, `product.parent`.`price`
) as `product.price`,
`product`.`product_number` as `product.productNumber`,
`product`.`stock` as `product.stock`,
COALESCE(
`product`.`restock_time`, `product.parent`.`restock_time`
) as `product.restockTime`,
`product`.`auto_increment` as `product.autoIncrement`,
COALESCE(
`product`.`active`, `product.parent`.`active`
) as `product.active`,
`product`.`available_stock` as `product.availableStock`,
`product`.`available` as `product.available`,
COALESCE(
`product`.`is_closeout`, `product.parent`.`is_closeout`
) as `product.isCloseout`,
`product`.`display_group` as `product.displayGroup`,
`product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`,
COALESCE(
`product`.`configurator_group_config`,
`product.parent`.`configurator_group_config`
) as `product.configuratorGroupConfig`,
COALESCE(
`product`.`main_variant_id`, `product.parent`.`main_variant_id`
) as `product.mainVariantId`,
COALESCE(
`product`.`display_parent`, `product.parent`.`display_parent`
) as `product.displayParent`,
`product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`,
COALESCE(
`product`.`variant_listing_config`,
`product.parent`.`variant_listing_config`
) as `product.variantListingConfig`,
`product`.`variant_restrictions` as `product.variantRestrictions`,
COALESCE(
`product`.`manufacturer_number`,
`product.parent`.`manufacturer_number`
) as `product.manufacturerNumber`,
COALESCE(
`product`.`ean`, `product.parent`.`ean`
) as `product.ean`,
COALESCE(
`product`.`purchase_steps`, `product.parent`.`purchase_steps`
) as `product.purchaseSteps`,
COALESCE(
`product`.`max_purchase`, `product.parent`.`max_purchase`
) as `product.maxPurchase`,
COALESCE(
`product`.`min_purchase`, `product.parent`.`min_purchase`
) as `product.minPurchase`,
COALESCE(
`product`.`purchase_unit`, `product.parent`.`purchase_unit`
) as `product.purchaseUnit`,
COALESCE(
`product`.`reference_unit`, `product.parent`.`reference_unit`
) as `product.referenceUnit`,
COALESCE(
`product`.`shipping_free`, `product.parent`.`shipping_free`
) as `product.shippingFree`,
`product.parent`.`purchase_prices` as `product.purchasePrices.inherited`,
COALESCE(
`product`.`purchase_prices`, `product.parent`.`purchase_prices`
) as `product.purchasePrices`,
COALESCE(
`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`
) as `product.markAsTopseller`,
COALESCE(
`product`.`weight`, `product.parent`.`weight`
) as `product.weight`,
COALESCE(
`product`.`width`, `product.parent`.`width`
) as `product.width`,
COALESCE(
`product`.`height`, `product.parent`.`height`
) as `product.height`,
COALESCE(
`product`.`length`, `product.parent`.`length`
) as `product.length`,
COALESCE(
`product`.`release_date`, `product.parent`.`release_date`
) as `product.releaseDate`,
COALESCE(
`product`.`rating_average`, `product.parent`.`rating_average`
) as `product.ratingAverage`,
`product.parent`.`category_tree` as `product.categoryTree.inherited`,
COALESCE(
`product`.`category_tree`, `product.parent`.`category_tree`
) as `product.categoryTree`,
`product.parent`.`property_ids` as `product.propertyIds.inherited`,
COALESCE(
`product`.`property_ids`, `product.parent`.`property_ids`
) as `product.propertyIds`,
`product.parent`.`option_ids` as `product.optionIds.inherited`,
COALESCE(
`product`.`option_ids`, `product.parent`.`option_ids`
) as `product.optionIds`,
`product.parent`.`stream_ids` as `product.streamIds.inherited`,
COALESCE(
`product`.`stream_ids`, `product.parent`.`stream_ids`
) as `product.streamIds`,
`product.parent`.`tag_ids` as `product.tagIds.inherited`,
COALESCE(
`product`.`tag_ids`, `product.parent`.`tag_ids`
) as `product.tagIds`,
`product.parent`.`category_ids` as `product.categoryIds.inherited`,
COALESCE(
`product`.`category_ids`, `product.parent`.`category_ids`
) as `product.categoryIds`,
`product`.`child_count` as `product.childCount`,
COALESCE(
`product`.`custom_field_set_selection_active`,
`product.parent`.`custom_field_set_selection_active`
) as `product.customFieldSetSelectionActive`,
`product`.`sales` as `product.sales`,
`product`.`states` as `product.states`,
`product.tax`.`id` as `product.tax.id`,
`product.tax`.`tax_rate` as `product.tax.taxRate`,
`product.tax`.`name` as `product.tax.name`,
`product.tax`.`position` as `product.tax.position`,
`product.tax`.`custom_fields` as `product.tax.customFields`,
`product.tax`.`created_at` as `product.tax.createdAt`,
`product.tax`.`updated_at` as `product.tax.updatedAt`,
`product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`,
COALESCE(
`product`.`cheapest_price`, `product.parent`.`cheapest_price`
) as `product.cheapestPrice`,
`product`.`created_at` as `product.createdAt`,
`product`.`updated_at` as `product.updatedAt`,
`product.bundle`.`id` as `product.bundle.id`,
`product.bundle`.`product_id` as `product.bundle.productId`,
`product.bundle`.`product_version_id` as `product.bundle.productVersionId`,
`product.bundle`.`name` as `product.bundle.name`,
`product.bundle`.`price_type` as `product.bundle.priceType`,
`product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`,
`product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`,
`product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`,
`product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`,
`product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`,
`product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`,
`product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`,
`product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`,
`product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`,
`product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`,
`product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`,
`product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`,
`product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`,
`product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`,
`product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`,
`product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`,
`product.bundle`.`created_at` as `product.bundle.createdAt`,
`product.bundle`.`updated_at` as `product.bundle.updatedAt`,
`product.unit`.`id` as `product.unit.id`,
`product.unit`.`created_at` as `product.unit.createdAt`,
`product.unit`.`updated_at` as `product.unit.updatedAt`,
`product.unit.translation.shortCode`,
COALESCE(
`product.unit.translation.shortCode`,
`product.unit.translation.shortCode`
) as `product.unit.shortCode`,
`product.unit.translation.name`,
COALESCE(
`product.unit.translation.name`,
`product.unit.translation.name`
) as `product.unit.name`,
`product.unit.translation.customFields`,
COALESCE(
`product.unit.translation.customFields`,
`product.unit.translation.customFields`
) as `product.unit.customFields`,
`product.unit.translation.createdAt`,
`product.unit.translation.updatedAt`,
`product.unit.translation.unitId`,
`product.unit.translation.languageId`,
`product.deliveryTime`.`id` as `product.deliveryTime.id`,
`product.deliveryTime`.`min` as `product.deliveryTime.min`,
`product.deliveryTime`.`max` as `product.deliveryTime.max`,
`product.deliveryTime`.`unit` as `product.deliveryTime.unit`,
`product.deliveryTime`.`created_at` as `product.deliveryTime.createdAt`,
`product.deliveryTime`.`updated_at` as `product.deliveryTime.updatedAt`,
`product.deliveryTime.translation.name`,
COALESCE(
`product.deliveryTime.translation.name`,
`product.deliveryTime.translation.name`
) as `product.deliveryTime.name`,
`product.deliveryTime.translation.customFields`,
COALESCE(
`product.deliveryTime.translation.customFields`,
`product.deliveryTime.translation.customFields`
) as `product.deliveryTime.customFields`,
`product.deliveryTime.translation.createdAt`,
`product.deliveryTime.translation.updatedAt`,
`product.deliveryTime.translation.deliveryTimeId`,
`product.deliveryTime.translation.languageId`,
`product.cover`.`id` as `product.cover.id`,
`product.cover`.`version_id` as `product.cover.versionId`,
`product.cover`.`product_id` as `product.cover.productId`,
`product.cover`.`product_version_id` as `product.cover.productVersionId`,
`product.cover`.`media_id` as `product.cover.mediaId`,
`product.cover`.`position` as `product.cover.position`,
`product.cover.media`.`id` as `product.cover.media.id`,
`product.cover.media`.`user_id` as `product.cover.media.userId`,
`product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`,
`product.cover.media`.`mime_type` as `product.cover.media.mimeType`,
`product.cover.media`.`file_extension` as `product.cover.media.fileExtension`,
`product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`,
`product.cover.media`.`file_name` as `product.cover.media.fileName`,
`product.cover.media`.`file_size` as `product.cover.media.fileSize`,
`product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`,
`product.cover.media`.`meta_data` as `product.cover.media.metaData`,
`product.cover.media`.`private` as `product.cover.media.private`,
`product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`,
`product.cover.media`.`created_at` as `product.cover.media.createdAt`,
`product.cover.media`.`updated_at` as `product.cover.media.updatedAt`,
`product.cover.media.translation.title`,
COALESCE(
`product.cover.media.translation.title`,
`product.cover.media.translation.title`
) as `product.cover.media.title`,
`product.cover.media.translation.alt`,
COALESCE(
`product.cover.media.translation.alt`,
`product.cover.media.translation.alt`
) as `product.cover.media.alt`,
`product.cover.media.translation.customFields`,
COALESCE(
`product.cover.media.translation.customFields`,
`product.cover.media.translation.customFields`
) as `product.cover.media.customFields`,
`product.cover.media.translation.createdAt`,
`product.cover.media.translation.updatedAt`,
`product.cover.media.translation.mediaId`,
`product.cover.media.translation.languageId`,
`product.cover`.`custom_fields` as `product.cover.customFields`,
`product.cover`.`created_at` as `product.cover.createdAt`,
`product.cover`.`updated_at` as `product.cover.updatedAt`,
`product.translation.metaDescription`,
`product.parent.translation.metaDescription`,
COALESCE(
`product.translation.metaDescription`,
`product.parent.translation.metaDescription`,
`product.translation.metaDescription`
) as `product.metaDescription`,
`product.translation.name`,
`product.parent.translation.name`,
COALESCE(
`product.translation.name`, `product.parent.translation.name`,
`product.translation.name`
) as `product.name`,
`product.translation.keywords`,
`product.parent.translation.keywords`,
COALESCE(
`product.translation.keywords`,
`product.parent.translation.keywords`,
`product.translation.keywords`
) as `product.keywords`,
`product.translation.description`,
`product.parent.translation.description`,
COALESCE(
`product.translation.description`,
`product.parent.translation.description`,
`product.translation.description`
) as `product.description`,
`product.translation.metaTitle`,
`product.parent.translation.metaTitle`,
COALESCE(
`product.translation.metaTitle`,
`product.parent.translation.metaTitle`,
`product.translation.metaTitle`
) as `product.metaTitle`,
`product.translation.packUnit`,
`product.parent.translation.packUnit`,
COALESCE(
`product.translation.packUnit`,
`product.parent.translation.packUnit`,
`product.translation.packUnit`
) as `product.packUnit`,
`product.translation.packUnitPlural`,
`product.parent.translation.packUnitPlural`,
COALESCE(
`product.translation.packUnitPlural`,
`product.parent.translation.packUnitPlural`,
`product.translation.packUnitPlural`
) as `product.packUnitPlural`,
`product.translation.customSearchKeywords`,
`product.parent.translation.customSearchKeywords`,
COALESCE(
`product.translation.customSearchKeywords`,
`product.parent.translation.customSearchKeywords`,
`product.translation.customSearchKeywords`
) as `product.customSearchKeywords`,
`product.translation.slotConfig`,
`product.parent.translation.slotConfig`,
COALESCE(
`product.translation.slotConfig`,
`product.parent.translation.slotConfig`,
`product.translation.slotConfig`
) as `product.slotConfig`,
`product.translation.customFields`,
`product.parent.translation.customFields`,
COALESCE(
`product.translation.customFields`,
`product.parent.translation.customFields`,
`product.translation.customFields`
) as `product.customFields`,
`product.translation.createdAt`,
`product.parent.translation.createdAt`,
`product.translation.updatedAt`,
`product.parent.translation.updatedAt`,
`product.translation.productId`,
`product.parent.translation.productId`,
`product.translation.languageId`,
`product.parent.translation.languageId`,
`product.translation.productVersionId`,
`product.parent.translation.productVersionId`
FROM
`product`
LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id`
AND `product`.`version_id` = `product.parent`.`version_id`
LEFT JOIN (
SELECT
`product.translation`.product_id,
`product.translation`.product_version_id,
`product.translation`.meta_description as `product.translation.metaDescription`,
`product.translation`.name as `product.translation.name`,
`product.translation`.keywords as `product.translation.keywords`,
`product.translation`.description as `product.translation.description`,
`product.translation`.meta_title as `product.translation.metaTitle`,
`product.translation`.pack_unit as `product.translation.packUnit`,
`product.translation`.pack_unit_plural as `product.translation.packUnitPlural`,
`product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`,
`product.translation`.slot_config as `product.translation.slotConfig`,
`product.translation`.custom_fields as `product.translation.customFields`,
`product.translation`.created_at as `product.translation.createdAt`,
`product.translation`.updated_at as `product.translation.updatedAt`,
`product.translation`.product_id as `product.translation.productId`,
`product.translation`.language_id as `product.translation.languageId`,
`product.translation`.product_version_id as `product.translation.productVersionId`
FROM
`product_translation` `product.translation`
WHERE
`product.translation`.language_id = : languageId
) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id`
AND `product.product_translation`.product_version_id = `product`.version_id
LEFT JOIN (
SELECT
`product.parent.translation`.product_id,
`product.parent.translation`.product_version_id,
`product.parent.translation`.meta_description as `product.parent.translation.metaDescription`,
`product.parent.translation`.name as `product.parent.translation.name`,
`product.parent.translation`.keywords as `product.parent.translation.keywords`,
`product.parent.translation`.description as `product.parent.translation.description`,
`product.parent.translation`.meta_title as `product.parent.translation.metaTitle`,
`product.parent.translation`.pack_unit as `product.parent.translation.packUnit`,
`product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`,
`product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`,
`product.parent.translation`.slot_config as `product.parent.translation.slotConfig`,
`product.parent.translation`.custom_fields as `product.parent.translation.customFields`,
`product.parent.translation`.created_at as `product.parent.translation.createdAt`,
`product.parent.translation`.updated_at as `product.parent.translation.updatedAt`,
`product.parent.translation`.product_id as `product.parent.translation.productId`,
`product.parent.translation`.language_id as `product.parent.translation.languageId`,
`product.parent.translation`.product_version_id as `product.parent.translation.productVersionId`
FROM
`product_translation` `product.parent.translation`
WHERE
`product.parent.translation`.language_id = : languageId
) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id`
AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id
LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id`
LEFT JOIN `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_id`
LEFT JOIN `unit` `product.unit` ON `product`.`unit` = `product.unit`.`id`
LEFT JOIN `delivery_time` `product.deliveryTime` ON `product`.`deliveryTime` = `product.deliveryTime`.`id`
LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id`
AND `product`.`version_id` = `product.cover`.`version_id`
LEFT JOIN `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id`
LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id`
LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`id`
LEFT JOIN (
SELECT
`product.unit.translation`.unit_id,
`product.unit.translation`.short_code as `product.unit.translation.shortCode`,
`product.unit.translation`.name as `product.unit.translation.name`,
`product.unit.translation`.custom_fields as `product.unit.translation.customFields`,
`product.unit.translation`.created_at as `product.unit.translation.createdAt`,
`product.unit.translation`.updated_at as `product.unit.translation.updatedAt`,
`product.unit.translation`.unit_id as `product.unit.translation.unitId`,
`product.unit.translation`.language_id as `product.unit.translation.languageId`
FROM
`unit_translation` `product.unit.translation`
WHERE
`product.unit.translation`.language_id = : languageId
) `product.unit.unit_translation` ON `product.unit.unit_translation`.`unit_id` = `product.unit`.`id`
LEFT JOIN (
SELECT
`product.deliveryTime.translation`.delivery_time_id,
`product.deliveryTime.translation`.name as `product.deliveryTime.translation.name`,
`product.deliveryTime.translation`.custom_fields as `product.deliveryTime.translation.customFields`,
`product.deliveryTime.translation`.created_at as `product.deliveryTime.translation.createdAt`,
`product.deliveryTime.translation`.updated_at as `product.deliveryTime.translation.updatedAt`,
`product.deliveryTime.translation`.delivery_time_id as `product.deliveryTime.translation.deliveryTimeId`,
`product.deliveryTime.translation`.language_id as `product.deliveryTime.translation.languageId`
FROM
`delivery_time_translation` `product.deliveryTime.translation`
WHERE
`product.deliveryTime.translation`.language_id = : languageId
) `product.deliveryTime.delivery_time_translation` ON `product.deliveryTime.delivery_time_translation`.`delivery_time_id` = `product.deliveryTime`.`id`
LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id`
LEFT JOIN (
SELECT
`product.cover.media.translation`.media_id,
`product.cover.media.translation`.title as `product.cover.media.translation.title`,
`product.cover.media.translation`.alt as `product.cover.media.translation.alt`,
`product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`,
`product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`,
`product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`,
`product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`,
`product.cover.media.translation`.language_id as `product.cover.media.translation.languageId`
FROM
`media_translation` `product.cover.media.translation`
WHERE
`product.cover.media.translation`.language_id = : languageId
) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id`
WHERE
(
`product`.`version_id` = : version
)
AND (
`product`.`id` IN (: ids)
)
SELECT `product`.`id` as `product.id`, `product`.`version_id` as `product.versionId`, `product`.`parent_id` as `product.parentId`, `product`.`parent_version_id` as `product.parentVersionId`, COALESCE(`product`.`product_manufacturer_id`, `product.parent`.`product_manufacturer_id`) as `product.manufacturerId`, COALESCE(`product`.`product_manufacturer_version_id`, `product.parent`.`product_manufacturer_version_id`) as `product.productManufacturerVersionId`, COALESCE(`product`.`unit_id`, `product.parent`.`unit_id`) as `product.unitId`, COALESCE(`product`.`tax_id`, `product.parent`.`tax_id`) as `product.taxId`, COALESCE(`product`.`product_media_id`, `product.parent`.`product_media_id`) as `product.coverId`, COALESCE(`product`.`product_media_version_id`, `product.parent`.`product_media_version_id`) as `product.productMediaVersionId`, COALESCE(`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`) as `product.deliveryTimeId`, COALESCE(`product`.`product_feature_set_id`, `product.parent`.`product_feature_set_id`) as `product.featureSetId`, COALESCE(`product`.`canonical_product_id`, `product.parent`.`canonical_product_id`) as `product.canonicalProductId`, COALESCE(`product`.`cms_page_id`, `product.parent`.`cms_page_id`) as `product.cmsPageId`, COALESCE(`product`.`cms_page_version_id`, `product.parent`.`cms_page_version_id`) as `product.cmsPageVersionId`, `product.parent`.`price` as `product.price.inherited`, COALESCE(`product`.`price`, `product.parent`.`price`) as `product.price`, `product`.`product_number` as `product.productNumber`, `product`.`stock` as `product.stock`, COALESCE(`product`.`restock_time`, `product.parent`.`restock_time`) as `product.restockTime`, `product`.`auto_increment` as `product.autoIncrement`, COALESCE(`product`.`active`, `product.parent`.`active`) as `product.active`, `product`.`available_stock` as `product.availableStock`, `product`.`available` as `product.available`, COALESCE(`product`.`is_closeout`, `product.parent`.`is_closeout`) as `product.isCloseout`, `product`.`display_group` as `product.displayGroup`, `product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`, COALESCE(`product`.`configurator_group_config`, `product.parent`.`configurator_group_config`) as `product.configuratorGroupConfig`, COALESCE(`product`.`main_variant_id`, `product.parent`.`main_variant_id`) as `product.mainVariantId`, COALESCE(`product`.`display_parent`, `product.parent`.`display_parent`) as `product.displayParent`, `product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`, COALESCE(`product`.`variant_listing_config`, `product.parent`.`variant_listing_config`) as `product.variantListingConfig`, `product`.`variant_restrictions` as `product.variantRestrictions`, COALESCE(`product`.`manufacturer_number`, `product.parent`.`manufacturer_number`) as `product.manufacturerNumber`, COALESCE(`product`.`ean`, `product.parent`.`ean`) as `product.ean`, COALESCE(`product`.`purchase_steps`, `product.parent`.`purchase_steps`) as `product.purchaseSteps`, COALESCE(`product`.`max_purchase`, `product.parent`.`max_purchase`) as `product.maxPurchase`, COALESCE(`product`.`min_purchase`, `product.parent`.`min_purchase`) as `product.minPurchase`, COALESCE(`product`.`purchase_unit`, `product.parent`.`purchase_unit`) as `product.purchaseUnit`, COALESCE(`product`.`reference_unit`, `product.parent`.`reference_unit`) as `product.referenceUnit`, COALESCE(`product`.`shipping_free`, `product.parent`.`shipping_free`) as `product.shippingFree`, `product.parent`.`purchase_prices` as `product.purchasePrices.inherited`, COALESCE(`product`.`purchase_prices`, `product.parent`.`purchase_prices`) as `product.purchasePrices`, COALESCE(`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`) as `product.markAsTopseller`, COALESCE(`product`.`weight`, `product.parent`.`weight`) as `product.weight`, COALESCE(`product`.`width`, `product.parent`.`width`) as `product.width`, COALESCE(`product`.`height`, `product.parent`.`height`) as `product.height`, COALESCE(`product`.`length`, `product.parent`.`length`) as `product.length`, COALESCE(`product`.`release_date`, `product.parent`.`release_date`) as `product.releaseDate`, COALESCE(`product`.`rating_average`, `product.parent`.`rating_average`) as `product.ratingAverage`, `product.parent`.`category_tree` as `product.categoryTree.inherited`, COALESCE(`product`.`category_tree`, `product.parent`.`category_tree`) as `product.categoryTree`, `product.parent`.`property_ids` as `product.propertyIds.inherited`, COALESCE(`product`.`property_ids`, `product.parent`.`property_ids`) as `product.propertyIds`, `product.parent`.`option_ids` as `product.optionIds.inherited`, COALESCE(`product`.`option_ids`, `product.parent`.`option_ids`) as `product.optionIds`, `product.parent`.`stream_ids` as `product.streamIds.inherited`, COALESCE(`product`.`stream_ids`, `product.parent`.`stream_ids`) as `product.streamIds`, `product.parent`.`tag_ids` as `product.tagIds.inherited`, COALESCE(`product`.`tag_ids`, `product.parent`.`tag_ids`) as `product.tagIds`, `product.parent`.`category_ids` as `product.categoryIds.inherited`, COALESCE(`product`.`category_ids`, `product.parent`.`category_ids`) as `product.categoryIds`, `product`.`child_count` as `product.childCount`, COALESCE(`product`.`custom_field_set_selection_active`, `product.parent`.`custom_field_set_selection_active`) as `product.customFieldSetSelectionActive`, `product`.`sales` as `product.sales`, `product`.`states` as `product.states`, `product.tax`.`id` as `product.tax.id`, `product.tax`.`tax_rate` as `product.tax.taxRate`, `product.tax`.`name` as `product.tax.name`, `product.tax`.`position` as `product.tax.position`, `product.tax`.`custom_fields` as `product.tax.customFields`, `product.tax`.`created_at` as `product.tax.createdAt`, `product.tax`.`updated_at` as `product.tax.updatedAt`, `product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`, COALESCE(`product`.`cheapest_price`, `product.parent`.`cheapest_price`) as `product.cheapestPrice`, `product`.`created_at` as `product.createdAt`, `product`.`updated_at` as `product.updatedAt`, `product.bundle`.`id` as `product.bundle.id`, `product.bundle`.`product_id` as `product.bundle.productId`, `product.bundle`.`product_version_id` as `product.bundle.productVersionId`, `product.bundle`.`name` as `product.bundle.name`, `product.bundle`.`price_type` as `product.bundle.priceType`, `product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`, `product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`, `product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`, `product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`, `product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`, `product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`, `product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`, `product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`, `product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`, `product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`, `product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`, `product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`, `product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`, `product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`, `product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`, `product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`, `product.bundle`.`created_at` as `product.bundle.createdAt`, `product.bundle`.`updated_at` as `product.bundle.updatedAt`, `product.unit`.`id` as `product.unit.id`, `product.unit`.`created_at` as `product.unit.createdAt`, `product.unit`.`updated_at` as `product.unit.updatedAt`, `product.unit.translation.shortCode`, COALESCE(`product.unit.translation.shortCode`,`product.unit.translation.shortCode`) as `product.unit.shortCode`, `product.unit.translation.name`, COALESCE(`product.unit.translation.name`,`product.unit.translation.name`) as `product.unit.name`, `product.unit.translation.customFields`, COALESCE(`product.unit.translation.customFields`,`product.unit.translation.customFields`) as `product.unit.customFields`, `product.unit.translation.createdAt`, `product.unit.translation.updatedAt`, `product.unit.translation.unitId`, `product.unit.translation.languageId`, `product.deliveryTime`.`id` as `product.deliveryTime.id`, `product.deliveryTime`.`min` as `product.deliveryTime.min`, `product.deliveryTime`.`max` as `product.deliveryTime.max`, `product.deliveryTime`.`unit` as `product.deliveryTime.unit`, `product.deliveryTime`.`created_at` as `product.deliveryTime.createdAt`, `product.deliveryTime`.`updated_at` as `product.deliveryTime.updatedAt`, `product.deliveryTime.translation.name`, COALESCE(`product.deliveryTime.translation.name`,`product.deliveryTime.translation.name`) as `product.deliveryTime.name`, `product.deliveryTime.translation.customFields`, COALESCE(`product.deliveryTime.translation.customFields`,`product.deliveryTime.translation.customFields`) as `product.deliveryTime.customFields`, `product.deliveryTime.translation.createdAt`, `product.deliveryTime.translation.updatedAt`, `product.deliveryTime.translation.deliveryTimeId`, `product.deliveryTime.translation.languageId`, `product.cover`.`id` as `product.cover.id`, `product.cover`.`version_id` as `product.cover.versionId`, `product.cover`.`product_id` as `product.cover.productId`, `product.cover`.`product_version_id` as `product.cover.productVersionId`, `product.cover`.`media_id` as `product.cover.mediaId`, `product.cover`.`position` as `product.cover.position`, `product.cover.media`.`id` as `product.cover.media.id`, `product.cover.media`.`user_id` as `product.cover.media.userId`, `product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`, `product.cover.media`.`mime_type` as `product.cover.media.mimeType`, `product.cover.media`.`file_extension` as `product.cover.media.fileExtension`, `product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`, `product.cover.media`.`file_name` as `product.cover.media.fileName`, `product.cover.media`.`file_size` as `product.cover.media.fileSize`, `product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`, `product.cover.media`.`meta_data` as `product.cover.media.metaData`, `product.cover.media`.`private` as `product.cover.media.private`, `product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`, `product.cover.media`.`created_at` as `product.cover.media.createdAt`, `product.cover.media`.`updated_at` as `product.cover.media.updatedAt`, `product.cover.media.translation.title`, COALESCE(`product.cover.media.translation.title`,`product.cover.media.translation.title`) as `product.cover.media.title`, `product.cover.media.translation.alt`, COALESCE(`product.cover.media.translation.alt`,`product.cover.media.translation.alt`) as `product.cover.media.alt`, `product.cover.media.translation.customFields`, COALESCE(`product.cover.media.translation.customFields`,`product.cover.media.translation.customFields`) as `product.cover.media.customFields`, `product.cover.media.translation.createdAt`, `product.cover.media.translation.updatedAt`, `product.cover.media.translation.mediaId`, `product.cover.media.translation.languageId`, `product.cover`.`custom_fields` as `product.cover.customFields`, `product.cover`.`created_at` as `product.cover.createdAt`, `product.cover`.`updated_at` as `product.cover.updatedAt`, `product.translation.metaDescription`, `product.parent.translation.metaDescription`, COALESCE(`product.translation.metaDescription`,`product.parent.translation.metaDescription`,`product.translation.metaDescription`) as `product.metaDescription`, `product.translation.name`, `product.parent.translation.name`, COALESCE(`product.translation.name`,`product.parent.translation.name`,`product.translation.name`) as `product.name`, `product.translation.keywords`, `product.parent.translation.keywords`, COALESCE(`product.translation.keywords`,`product.parent.translation.keywords`,`product.translation.keywords`) as `product.keywords`, `product.translation.description`, `product.parent.translation.description`, COALESCE(`product.translation.description`,`product.parent.translation.description`,`product.translation.description`) as `product.description`, `product.translation.metaTitle`, `product.parent.translation.metaTitle`, COALESCE(`product.translation.metaTitle`,`product.parent.translation.metaTitle`,`product.translation.metaTitle`) as `product.metaTitle`, `product.translation.packUnit`, `product.parent.translation.packUnit`, COALESCE(`product.translation.packUnit`,`product.parent.translation.packUnit`,`product.translation.packUnit`) as `product.packUnit`, `product.translation.packUnitPlural`, `product.parent.translation.packUnitPlural`, COALESCE(`product.translation.packUnitPlural`,`product.parent.translation.packUnitPlural`,`product.translation.packUnitPlural`) as `product.packUnitPlural`, `product.translation.customSearchKeywords`, `product.parent.translation.customSearchKeywords`, COALESCE(`product.translation.customSearchKeywords`,`product.parent.translation.customSearchKeywords`,`product.translation.customSearchKeywords`) as `product.customSearchKeywords`, `product.translation.slotConfig`, `product.parent.translation.slotConfig`, COALESCE(`product.translation.slotConfig`,`product.parent.translation.slotConfig`,`product.translation.slotConfig`) as `product.slotConfig`, `product.translation.customFields`, `product.parent.translation.customFields`, COALESCE(`product.translation.customFields`,`product.parent.translation.customFields`,`product.translation.customFields`) as `product.customFields`, `product.translation.createdAt`, `product.parent.translation.createdAt`, `product.translation.updatedAt`, `product.parent.translation.updatedAt`, `product.translation.productId`, `product.parent.translation.productId`, `product.translation.languageId`, `product.parent.translation.languageId`, `product.translation.productVersionId`, `product.parent.translation.productVersionId` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN (SELECT `product.translation`.product_id, `product.translation`.product_version_id, `product.translation`.meta_description as `product.translation.metaDescription`, `product.translation`.name as `product.translation.name`, `product.translation`.keywords as `product.translation.keywords`, `product.translation`.description as `product.translation.description`, `product.translation`.meta_title as `product.translation.metaTitle`, `product.translation`.pack_unit as `product.translation.packUnit`, `product.translation`.pack_unit_plural as `product.translation.packUnitPlural`, `product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`, `product.translation`.slot_config as `product.translation.slotConfig`, `product.translation`.custom_fields as `product.translation.customFields`, `product.translation`.created_at as `product.translation.createdAt`, `product.translation`.updated_at as `product.translation.updatedAt`, `product.translation`.product_id as `product.translation.productId`, `product.translation`.language_id as `product.translation.languageId`, `product.translation`.product_version_id as `product.translation.productVersionId` FROM `product_translation` `product.translation` WHERE `product.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id` AND `product.product_translation`.product_version_id = `product`.version_id LEFT JOIN (SELECT `product.parent.translation`.product_id, `product.parent.translation`.product_version_id, `product.parent.translation`.meta_description as `product.parent.translation.metaDescription`, `product.parent.translation`.name as `product.parent.translation.name`, `product.parent.translation`.keywords as `product.parent.translation.keywords`, `product.parent.translation`.description as `product.parent.translation.description`, `product.parent.translation`.meta_title as `product.parent.translation.metaTitle`, `product.parent.translation`.pack_unit as `product.parent.translation.packUnit`, `product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`, `product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`, `product.parent.translation`.slot_config as `product.parent.translation.slotConfig`, `product.parent.translation`.custom_fields as `product.parent.translation.customFields`, `product.parent.translation`.created_at as `product.parent.translation.createdAt`, `product.parent.translation`.updated_at as `product.parent.translation.updatedAt`, `product.parent.translation`.product_id as `product.parent.translation.productId`, `product.parent.translation`.language_id as `product.parent.translation.languageId`, `product.parent.translation`.product_version_id as `product.parent.translation.productVersionId` FROM `product_translation` `product.parent.translation` WHERE `product.parent.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id` AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id` LEFT JOIN `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_id` LEFT JOIN `unit` `product.unit` ON `product`.`unit` = `product.unit`.`id` LEFT JOIN `delivery_time` `product.deliveryTime` ON `product`.`deliveryTime` = `product.deliveryTime`.`id` LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id` AND `product`.`version_id` = `product.cover`.`version_id` LEFT JOIN `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`id` LEFT JOIN (SELECT `product.unit.translation`.unit_id, `product.unit.translation`.short_code as `product.unit.translation.shortCode`, `product.unit.translation`.name as `product.unit.translation.name`, `product.unit.translation`.custom_fields as `product.unit.translation.customFields`, `product.unit.translation`.created_at as `product.unit.translation.createdAt`, `product.unit.translation`.updated_at as `product.unit.translation.updatedAt`, `product.unit.translation`.unit_id as `product.unit.translation.unitId`, `product.unit.translation`.language_id as `product.unit.translation.languageId` FROM `unit_translation` `product.unit.translation` WHERE `product.unit.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.unit.unit_translation` ON `product.unit.unit_translation`.`unit_id` = `product.unit`.`id` LEFT JOIN (SELECT `product.deliveryTime.translation`.delivery_time_id, `product.deliveryTime.translation`.name as `product.deliveryTime.translation.name`, `product.deliveryTime.translation`.custom_fields as `product.deliveryTime.translation.customFields`, `product.deliveryTime.translation`.created_at as `product.deliveryTime.translation.createdAt`, `product.deliveryTime.translation`.updated_at as `product.deliveryTime.translation.updatedAt`, `product.deliveryTime.translation`.delivery_time_id as `product.deliveryTime.translation.deliveryTimeId`, `product.deliveryTime.translation`.language_id as `product.deliveryTime.translation.languageId` FROM `delivery_time_translation` `product.deliveryTime.translation` WHERE `product.deliveryTime.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.deliveryTime.delivery_time_translation` ON `product.deliveryTime.delivery_time_translation`.`delivery_time_id` = `product.deliveryTime`.`id` LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id` LEFT JOIN (SELECT `product.cover.media.translation`.media_id, `product.cover.media.translation`.title as `product.cover.media.translation.title`, `product.cover.media.translation`.alt as `product.cover.media.translation.alt`, `product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`, `product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`, `product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`, `product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`, `product.cover.media.translation`.language_id as `product.cover.media.translation.languageId` FROM `media_translation` `product.cover.media.translation` WHERE `product.cover.media.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id` WHERE (`product`.`version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425) AND (`product`.`id` IN (0x0886B0AA04994AE087B321240027C84D, 0x7F8A6EAB649043948104AF4516DE5405, 0xE1EA5F1B06724AAB82CF69A58B10CD68, 0xFC86FA2B6EAF4ED087F3CEE34E13710E));
array:38 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 316)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetch (line 148)"
4 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 93)"
5 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::read (line 195)"
6 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::read (line 133)"
7 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 49)"
8 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariantsOfProduct (line 30)"
9 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariants (line 224)"
10 => "Bodymed\Webshop\Core\Content\Product\Cms\ProductSliderCmsElementResolver::enrich (line 99)"
11 => "Shopware\Core\Content\Cms\DataResolver\CmsSlotsDataResolver::resolve (line 104)"
12 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::loadSlotData (line 94)"
13 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::load (line 102)"
14 => "Shopware\Core\Content\Category\SalesChannel\CategoryRoute::load (line 103)"
15 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 350)"
16 => "Shopware\Core\System\SystemConfig\SystemConfigService::trace (line 44)"
17 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 120)"
18 => "Shopware\Core\Framework\Adapter\Translation\Translator::trace (line 45)"
19 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 46)"
20 => "Shopware\Core\Framework\Adapter\Cache\CacheTagCollection::trace (line 46)"
21 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::trace (line 41)"
22 => "Shopware\Storefront\Framework\Cache\CacheTracer::Shopware\Storefront\Framework\Cache\{closure} (line 59)"
23 => "Shopware\Storefront\Theme\ThemeConfigValueAccessor::trace (line 42)"
24 => "Shopware\Storefront\Framework\Cache\CacheTracer::trace (line 104)"
25 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 72)"
26 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
27 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 109)"
28 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 59)"
29 => "Shopware\Core\Profiling\Profiler::trace (line 112)"
30 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::load (line 66)"
31 => "Shopware\Storefront\Page\Navigation\NavigationPageLoader::load (line 48)"
32 => "Shopware\Storefront\Controller\NavigationController::home (line 163)"
33 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
34 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
35 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
36 => "Shopware\Core\HttpKernel::doHandle (line 81)"
37 => "Shopware\Core\HttpKernel::handle (line 75)"
]
|
48 |
1.25 ms |
SELECT `product_price`.`id` as `product_price.id`, `product_price`.`version_id` as `product_price.versionId`, `product_price`.`product_id` as `product_price.productId`, `product_price`.`product_version_id` as `product_price.productVersionId`, `product_price`.`rule_id` as `product_price.ruleId`, `product_price`.`price` as `product_price.price`, `product_price`.`quantity_start` as `product_price.quantityStart`, `product_price`.`quantity_end` as `product_price.quantityEnd`, `product_price`.`custom_fields` as `product_price.customFields`, `product_price`.`created_at` as `product_price.createdAt`, `product_price`.`updated_at` as `product_price.updatedAt` FROM `product_price` WHERE (`product_price`.`version_id` = :version) AND ((`product_price`.`product_id` IN (:param_ffd809da6aa141d1abc0aae21b3f6d79)))
SELECT `product_price`.`id` as `product_price.id`, `product_price`.`version_id` as `product_price.versionId`, `product_price`.`product_id` as `product_price.productId`, `product_price`.`product_version_id` as `product_price.productVersionId`, `product_price`.`rule_id` as `product_price.ruleId`, `product_price`.`price` as `product_price.price`, `product_price`.`quantity_start` as `product_price.quantityStart`, `product_price`.`quantity_end` as `product_price.quantityEnd`, `product_price`.`custom_fields` as `product_price.customFields`, `product_price`.`created_at` as `product_price.createdAt`, `product_price`.`updated_at` as `product_price.updatedAt` FROM `product_price` WHERE (`product_price`.`version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425) AND ((`product_price`.`product_id` IN (0x0886B0AA04994AE087B321240027C84D, 0x7F8A6EAB649043948104AF4516DE5405, 0xE1EA5F1B06724AAB82CF69A58B10CD68, 0xFC86FA2B6EAF4ED087F3CEE34E13710E, 0x1AC13C0695234DB1962D5899CC4EA096)));
array:42 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 316)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetch (line 148)"
4 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 503)"
5 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::loadOneToManyWithoutPagination (line 438)"
6 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::loadOneToMany (line 1210)"
7 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetchAssociations (line 152)"
8 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 93)"
9 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::read (line 195)"
10 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::read (line 133)"
11 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 49)"
12 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariantsOfProduct (line 30)"
13 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariants (line 224)"
14 => "Bodymed\Webshop\Core\Content\Product\Cms\ProductSliderCmsElementResolver::enrich (line 99)"
15 => "Shopware\Core\Content\Cms\DataResolver\CmsSlotsDataResolver::resolve (line 104)"
16 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::loadSlotData (line 94)"
17 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::load (line 102)"
18 => "Shopware\Core\Content\Category\SalesChannel\CategoryRoute::load (line 103)"
19 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 350)"
20 => "Shopware\Core\System\SystemConfig\SystemConfigService::trace (line 44)"
21 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 120)"
22 => "Shopware\Core\Framework\Adapter\Translation\Translator::trace (line 45)"
23 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 46)"
24 => "Shopware\Core\Framework\Adapter\Cache\CacheTagCollection::trace (line 46)"
25 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::trace (line 41)"
26 => "Shopware\Storefront\Framework\Cache\CacheTracer::Shopware\Storefront\Framework\Cache\{closure} (line 59)"
27 => "Shopware\Storefront\Theme\ThemeConfigValueAccessor::trace (line 42)"
28 => "Shopware\Storefront\Framework\Cache\CacheTracer::trace (line 104)"
29 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 72)"
30 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
31 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 109)"
32 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 59)"
33 => "Shopware\Core\Profiling\Profiler::trace (line 112)"
34 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::load (line 66)"
35 => "Shopware\Storefront\Page\Navigation\NavigationPageLoader::load (line 48)"
36 => "Shopware\Storefront\Controller\NavigationController::home (line 163)"
37 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
38 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
39 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
40 => "Shopware\Core\HttpKernel::doHandle (line 81)"
41 => "Shopware\Core\HttpKernel::handle (line 75)"
]
|
49 |
0.82 ms |
SELECT * FROM sales_channel_api_context WHERE (sales_channel_id = :salesChannelId) AND (token = :token) LIMIT 1
SELECT * FROM sales_channel_api_context WHERE (sales_channel_id = 0x620A2217F7474E619CB00AD39E804CCA) AND (token = 'FwsxT47353Zxmr7lp0KSfYcVNkg5VpYR') 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 |
25.24 ms |
SELECT `product`.`id` as `product.id`, `product`.`version_id` as `product.versionId`, `product`.`parent_id` as `product.parentId`, `product`.`parent_version_id` as `product.parentVersionId`, COALESCE(`product`.`product_manufacturer_id`, `product.parent`.`product_manufacturer_id`) as `product.manufacturerId`, COALESCE(`product`.`product_manufacturer_version_id`, `product.parent`.`product_manufacturer_version_id`) as `product.productManufacturerVersionId`, COALESCE(`product`.`unit_id`, `product.parent`.`unit_id`) as `product.unitId`, COALESCE(`product`.`tax_id`, `product.parent`.`tax_id`) as `product.taxId`, COALESCE(`product`.`product_media_id`, `product.parent`.`product_media_id`) as `product.coverId`, COALESCE(`product`.`product_media_version_id`, `product.parent`.`product_media_version_id`) as `product.productMediaVersionId`, COALESCE(`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`) as `product.deliveryTimeId`, COALESCE(`product`.`product_feature_set_id`, `product.parent`.`product_feature_set_id`) as `product.featureSetId`, COALESCE(`product`.`canonical_product_id`, `product.parent`.`canonical_product_id`) as `product.canonicalProductId`, COALESCE(`product`.`cms_page_id`, `product.parent`.`cms_page_id`) as `product.cmsPageId`, COALESCE(`product`.`cms_page_version_id`, `product.parent`.`cms_page_version_id`) as `product.cmsPageVersionId`, `product.parent`.`price` as `product.price.inherited`, COALESCE(`product`.`price`, `product.parent`.`price`) as `product.price`, `product`.`product_number` as `product.productNumber`, `product`.`stock` as `product.stock`, COALESCE(`product`.`restock_time`, `product.parent`.`restock_time`) as `product.restockTime`, `product`.`auto_increment` as `product.autoIncrement`, COALESCE(`product`.`active`, `product.parent`.`active`) as `product.active`, `product`.`available_stock` as `product.availableStock`, `product`.`available` as `product.available`, COALESCE(`product`.`is_closeout`, `product.parent`.`is_closeout`) as `product.isCloseout`, `product`.`display_group` as `product.displayGroup`, `product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`, COALESCE(`product`.`configurator_group_config`, `product.parent`.`configurator_group_config`) as `product.configuratorGroupConfig`, COALESCE(`product`.`main_variant_id`, `product.parent`.`main_variant_id`) as `product.mainVariantId`, COALESCE(`product`.`display_parent`, `product.parent`.`display_parent`) as `product.displayParent`, `product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`, COALESCE(`product`.`variant_listing_config`, `product.parent`.`variant_listing_config`) as `product.variantListingConfig`, `product`.`variant_restrictions` as `product.variantRestrictions`, COALESCE(`product`.`manufacturer_number`, `product.parent`.`manufacturer_number`) as `product.manufacturerNumber`, COALESCE(`product`.`ean`, `product.parent`.`ean`) as `product.ean`, COALESCE(`product`.`purchase_steps`, `product.parent`.`purchase_steps`) as `product.purchaseSteps`, COALESCE(`product`.`max_purchase`, `product.parent`.`max_purchase`) as `product.maxPurchase`, COALESCE(`product`.`min_purchase`, `product.parent`.`min_purchase`) as `product.minPurchase`, COALESCE(`product`.`purchase_unit`, `product.parent`.`purchase_unit`) as `product.purchaseUnit`, COALESCE(`product`.`reference_unit`, `product.parent`.`reference_unit`) as `product.referenceUnit`, COALESCE(`product`.`shipping_free`, `product.parent`.`shipping_free`) as `product.shippingFree`, `product.parent`.`purchase_prices` as `product.purchasePrices.inherited`, COALESCE(`product`.`purchase_prices`, `product.parent`.`purchase_prices`) as `product.purchasePrices`, COALESCE(`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`) as `product.markAsTopseller`, COALESCE(`product`.`weight`, `product.parent`.`weight`) as `product.weight`, COALESCE(`product`.`width`, `product.parent`.`width`) as `product.width`, COALESCE(`product`.`height`, `product.parent`.`height`) as `product.height`, COALESCE(`product`.`length`, `product.parent`.`length`) as `product.length`, COALESCE(`product`.`release_date`, `product.parent`.`release_date`) as `product.releaseDate`, COALESCE(`product`.`rating_average`, `product.parent`.`rating_average`) as `product.ratingAverage`, `product.parent`.`category_tree` as `product.categoryTree.inherited`, COALESCE(`product`.`category_tree`, `product.parent`.`category_tree`) as `product.categoryTree`, `product.parent`.`property_ids` as `product.propertyIds.inherited`, COALESCE(`product`.`property_ids`, `product.parent`.`property_ids`) as `product.propertyIds`, `product.parent`.`option_ids` as `product.optionIds.inherited`, COALESCE(`product`.`option_ids`, `product.parent`.`option_ids`) as `product.optionIds`, `product.parent`.`stream_ids` as `product.streamIds.inherited`, COALESCE(`product`.`stream_ids`, `product.parent`.`stream_ids`) as `product.streamIds`, `product.parent`.`tag_ids` as `product.tagIds.inherited`, COALESCE(`product`.`tag_ids`, `product.parent`.`tag_ids`) as `product.tagIds`, `product.parent`.`category_ids` as `product.categoryIds.inherited`, COALESCE(`product`.`category_ids`, `product.parent`.`category_ids`) as `product.categoryIds`, `product`.`child_count` as `product.childCount`, COALESCE(`product`.`custom_field_set_selection_active`, `product.parent`.`custom_field_set_selection_active`) as `product.customFieldSetSelectionActive`, `product`.`sales` as `product.sales`, `product`.`states` as `product.states`, `product.tax`.`id` as `product.tax.id`, `product.tax`.`tax_rate` as `product.tax.taxRate`, `product.tax`.`name` as `product.tax.name`, `product.tax`.`position` as `product.tax.position`, `product.tax`.`custom_fields` as `product.tax.customFields`, `product.tax`.`created_at` as `product.tax.createdAt`, `product.tax`.`updated_at` as `product.tax.updatedAt`, `product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`, COALESCE(`product`.`cheapest_price`, `product.parent`.`cheapest_price`) as `product.cheapestPrice`, `product`.`created_at` as `product.createdAt`, `product`.`updated_at` as `product.updatedAt`, `product.bundle`.`id` as `product.bundle.id`, `product.bundle`.`product_id` as `product.bundle.productId`, `product.bundle`.`product_version_id` as `product.bundle.productVersionId`, `product.bundle`.`name` as `product.bundle.name`, `product.bundle`.`price_type` as `product.bundle.priceType`, `product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`, `product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`, `product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`, `product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`, `product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`, `product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`, `product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`, `product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`, `product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`, `product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`, `product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`, `product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`, `product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`, `product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`, `product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`, `product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`, `product.bundle`.`created_at` as `product.bundle.createdAt`, `product.bundle`.`updated_at` as `product.bundle.updatedAt`, `product.cover`.`id` as `product.cover.id`, `product.cover`.`version_id` as `product.cover.versionId`, `product.cover`.`product_id` as `product.cover.productId`, `product.cover`.`product_version_id` as `product.cover.productVersionId`, `product.cover`.`media_id` as `product.cover.mediaId`, `product.cover`.`position` as `product.cover.position`, `product.cover.media`.`id` as `product.cover.media.id`, `product.cover.media`.`user_id` as `product.cover.media.userId`, `product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`, `product.cover.media`.`mime_type` as `product.cover.media.mimeType`, `product.cover.media`.`file_extension` as `product.cover.media.fileExtension`, `product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`, `product.cover.media`.`file_name` as `product.cover.media.fileName`, `product.cover.media`.`file_size` as `product.cover.media.fileSize`, `product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`, `product.cover.media`.`meta_data` as `product.cover.media.metaData`, `product.cover.media`.`private` as `product.cover.media.private`, `product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`, `product.cover.media`.`created_at` as `product.cover.media.createdAt`, `product.cover.media`.`updated_at` as `product.cover.media.updatedAt`, `product.cover.media.translation.title`, COALESCE(`product.cover.media.translation.title`,`product.cover.media.translation.title`) as `product.cover.media.title`, `product.cover.media.translation.alt`, COALESCE(`product.cover.media.translation.alt`,`product.cover.media.translation.alt`) as `product.cover.media.alt`, `product.cover.media.translation.customFields`, COALESCE(`product.cover.media.translation.customFields`,`product.cover.media.translation.customFields`) as `product.cover.media.customFields`, `product.cover.media.translation.createdAt`, `product.cover.media.translation.updatedAt`, `product.cover.media.translation.mediaId`, `product.cover.media.translation.languageId`, `product.cover`.`custom_fields` as `product.cover.customFields`, `product.cover`.`created_at` as `product.cover.createdAt`, `product.cover`.`updated_at` as `product.cover.updatedAt`, `product.translation.metaDescription`, `product.parent.translation.metaDescription`, COALESCE(`product.translation.metaDescription`,`product.parent.translation.metaDescription`,`product.translation.metaDescription`) as `product.metaDescription`, `product.translation.name`, `product.parent.translation.name`, COALESCE(`product.translation.name`,`product.parent.translation.name`,`product.translation.name`) as `product.name`, `product.translation.keywords`, `product.parent.translation.keywords`, COALESCE(`product.translation.keywords`,`product.parent.translation.keywords`,`product.translation.keywords`) as `product.keywords`, `product.translation.description`, `product.parent.translation.description`, COALESCE(`product.translation.description`,`product.parent.translation.description`,`product.translation.description`) as `product.description`, `product.translation.metaTitle`, `product.parent.translation.metaTitle`, COALESCE(`product.translation.metaTitle`,`product.parent.translation.metaTitle`,`product.translation.metaTitle`) as `product.metaTitle`, `product.translation.packUnit`, `product.parent.translation.packUnit`, COALESCE(`product.translation.packUnit`,`product.parent.translation.packUnit`,`product.translation.packUnit`) as `product.packUnit`, `product.translation.packUnitPlural`, `product.parent.translation.packUnitPlural`, COALESCE(`product.translation.packUnitPlural`,`product.parent.translation.packUnitPlural`,`product.translation.packUnitPlural`) as `product.packUnitPlural`, `product.translation.customSearchKeywords`, `product.parent.translation.customSearchKeywords`, COALESCE(`product.translation.customSearchKeywords`,`product.parent.translation.customSearchKeywords`,`product.translation.customSearchKeywords`) as `product.customSearchKeywords`, `product.translation.slotConfig`, `product.parent.translation.slotConfig`, COALESCE(`product.translation.slotConfig`,`product.parent.translation.slotConfig`,`product.translation.slotConfig`) as `product.slotConfig`, `product.translation.customFields`, `product.parent.translation.customFields`, COALESCE(`product.translation.customFields`,`product.parent.translation.customFields`,`product.translation.customFields`) as `product.customFields`, `product.translation.createdAt`, `product.parent.translation.createdAt`, `product.translation.updatedAt`, `product.parent.translation.updatedAt`, `product.translation.productId`, `product.parent.translation.productId`, `product.translation.languageId`, `product.parent.translation.languageId`, `product.translation.productVersionId`, `product.parent.translation.productVersionId` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN (SELECT `product.translation`.product_id, `product.translation`.product_version_id, `product.translation`.meta_description as `product.translation.metaDescription`, `product.translation`.name as `product.translation.name`, `product.translation`.keywords as `product.translation.keywords`, `product.translation`.description as `product.translation.description`, `product.translation`.meta_title as `product.translation.metaTitle`, `product.translation`.pack_unit as `product.translation.packUnit`, `product.translation`.pack_unit_plural as `product.translation.packUnitPlural`, `product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`, `product.translation`.slot_config as `product.translation.slotConfig`, `product.translation`.custom_fields as `product.translation.customFields`, `product.translation`.created_at as `product.translation.createdAt`, `product.translation`.updated_at as `product.translation.updatedAt`, `product.translation`.product_id as `product.translation.productId`, `product.translation`.language_id as `product.translation.languageId`, `product.translation`.product_version_id as `product.translation.productVersionId` FROM `product_translation` `product.translation` WHERE `product.translation`.language_id = :languageId) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id` AND `product.product_translation`.product_version_id = `product`.version_id LEFT JOIN (SELECT `product.parent.translation`.product_id, `product.parent.translation`.product_version_id, `product.parent.translation`.meta_description as `product.parent.translation.metaDescription`, `product.parent.translation`.name as `product.parent.translation.name`, `product.parent.translation`.keywords as `product.parent.translation.keywords`, `product.parent.translation`.description as `product.parent.translation.description`, `product.parent.translation`.meta_title as `product.parent.translation.metaTitle`, `product.parent.translation`.pack_unit as `product.parent.translation.packUnit`, `product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`, `product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`, `product.parent.translation`.slot_config as `product.parent.translation.slotConfig`, `product.parent.translation`.custom_fields as `product.parent.translation.customFields`, `product.parent.translation`.created_at as `product.parent.translation.createdAt`, `product.parent.translation`.updated_at as `product.parent.translation.updatedAt`, `product.parent.translation`.product_id as `product.parent.translation.productId`, `product.parent.translation`.language_id as `product.parent.translation.languageId`, `product.parent.translation`.product_version_id as `product.parent.translation.productVersionId` FROM `product_translation` `product.parent.translation` WHERE `product.parent.translation`.language_id = :languageId) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id` AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id` LEFT JOIN `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_id` LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id` AND `product`.`version_id` = `product.cover`.`version_id` LEFT JOIN `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`id` LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id` LEFT JOIN (SELECT `product.cover.media.translation`.media_id, `product.cover.media.translation`.title as `product.cover.media.translation.title`, `product.cover.media.translation`.alt as `product.cover.media.translation.alt`, `product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`, `product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`, `product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`, `product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`, `product.cover.media.translation`.language_id as `product.cover.media.translation.languageId` FROM `media_translation` `product.cover.media.translation` WHERE `product.cover.media.translation`.language_id = :languageId) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id` WHERE (`product`.`version_id` = :version) AND (`product`.`id` IN (:ids))
SELECT
`product`.`id` as `product.id`,
`product`.`version_id` as `product.versionId`,
`product`.`parent_id` as `product.parentId`,
`product`.`parent_version_id` as `product.parentVersionId`,
COALESCE(
`product`.`product_manufacturer_id`,
`product.parent`.`product_manufacturer_id`
) as `product.manufacturerId`,
COALESCE(
`product`.`product_manufacturer_version_id`,
`product.parent`.`product_manufacturer_version_id`
) as `product.productManufacturerVersionId`,
COALESCE(
`product`.`unit_id`, `product.parent`.`unit_id`
) as `product.unitId`,
COALESCE(
`product`.`tax_id`, `product.parent`.`tax_id`
) as `product.taxId`,
COALESCE(
`product`.`product_media_id`, `product.parent`.`product_media_id`
) as `product.coverId`,
COALESCE(
`product`.`product_media_version_id`,
`product.parent`.`product_media_version_id`
) as `product.productMediaVersionId`,
COALESCE(
`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`
) as `product.deliveryTimeId`,
COALESCE(
`product`.`product_feature_set_id`,
`product.parent`.`product_feature_set_id`
) as `product.featureSetId`,
COALESCE(
`product`.`canonical_product_id`,
`product.parent`.`canonical_product_id`
) as `product.canonicalProductId`,
COALESCE(
`product`.`cms_page_id`, `product.parent`.`cms_page_id`
) as `product.cmsPageId`,
COALESCE(
`product`.`cms_page_version_id`,
`product.parent`.`cms_page_version_id`
) as `product.cmsPageVersionId`,
`product.parent`.`price` as `product.price.inherited`,
COALESCE(
`product`.`price`, `product.parent`.`price`
) as `product.price`,
`product`.`product_number` as `product.productNumber`,
`product`.`stock` as `product.stock`,
COALESCE(
`product`.`restock_time`, `product.parent`.`restock_time`
) as `product.restockTime`,
`product`.`auto_increment` as `product.autoIncrement`,
COALESCE(
`product`.`active`, `product.parent`.`active`
) as `product.active`,
`product`.`available_stock` as `product.availableStock`,
`product`.`available` as `product.available`,
COALESCE(
`product`.`is_closeout`, `product.parent`.`is_closeout`
) as `product.isCloseout`,
`product`.`display_group` as `product.displayGroup`,
`product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`,
COALESCE(
`product`.`configurator_group_config`,
`product.parent`.`configurator_group_config`
) as `product.configuratorGroupConfig`,
COALESCE(
`product`.`main_variant_id`, `product.parent`.`main_variant_id`
) as `product.mainVariantId`,
COALESCE(
`product`.`display_parent`, `product.parent`.`display_parent`
) as `product.displayParent`,
`product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`,
COALESCE(
`product`.`variant_listing_config`,
`product.parent`.`variant_listing_config`
) as `product.variantListingConfig`,
`product`.`variant_restrictions` as `product.variantRestrictions`,
COALESCE(
`product`.`manufacturer_number`,
`product.parent`.`manufacturer_number`
) as `product.manufacturerNumber`,
COALESCE(
`product`.`ean`, `product.parent`.`ean`
) as `product.ean`,
COALESCE(
`product`.`purchase_steps`, `product.parent`.`purchase_steps`
) as `product.purchaseSteps`,
COALESCE(
`product`.`max_purchase`, `product.parent`.`max_purchase`
) as `product.maxPurchase`,
COALESCE(
`product`.`min_purchase`, `product.parent`.`min_purchase`
) as `product.minPurchase`,
COALESCE(
`product`.`purchase_unit`, `product.parent`.`purchase_unit`
) as `product.purchaseUnit`,
COALESCE(
`product`.`reference_unit`, `product.parent`.`reference_unit`
) as `product.referenceUnit`,
COALESCE(
`product`.`shipping_free`, `product.parent`.`shipping_free`
) as `product.shippingFree`,
`product.parent`.`purchase_prices` as `product.purchasePrices.inherited`,
COALESCE(
`product`.`purchase_prices`, `product.parent`.`purchase_prices`
) as `product.purchasePrices`,
COALESCE(
`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`
) as `product.markAsTopseller`,
COALESCE(
`product`.`weight`, `product.parent`.`weight`
) as `product.weight`,
COALESCE(
`product`.`width`, `product.parent`.`width`
) as `product.width`,
COALESCE(
`product`.`height`, `product.parent`.`height`
) as `product.height`,
COALESCE(
`product`.`length`, `product.parent`.`length`
) as `product.length`,
COALESCE(
`product`.`release_date`, `product.parent`.`release_date`
) as `product.releaseDate`,
COALESCE(
`product`.`rating_average`, `product.parent`.`rating_average`
) as `product.ratingAverage`,
`product.parent`.`category_tree` as `product.categoryTree.inherited`,
COALESCE(
`product`.`category_tree`, `product.parent`.`category_tree`
) as `product.categoryTree`,
`product.parent`.`property_ids` as `product.propertyIds.inherited`,
COALESCE(
`product`.`property_ids`, `product.parent`.`property_ids`
) as `product.propertyIds`,
`product.parent`.`option_ids` as `product.optionIds.inherited`,
COALESCE(
`product`.`option_ids`, `product.parent`.`option_ids`
) as `product.optionIds`,
`product.parent`.`stream_ids` as `product.streamIds.inherited`,
COALESCE(
`product`.`stream_ids`, `product.parent`.`stream_ids`
) as `product.streamIds`,
`product.parent`.`tag_ids` as `product.tagIds.inherited`,
COALESCE(
`product`.`tag_ids`, `product.parent`.`tag_ids`
) as `product.tagIds`,
`product.parent`.`category_ids` as `product.categoryIds.inherited`,
COALESCE(
`product`.`category_ids`, `product.parent`.`category_ids`
) as `product.categoryIds`,
`product`.`child_count` as `product.childCount`,
COALESCE(
`product`.`custom_field_set_selection_active`,
`product.parent`.`custom_field_set_selection_active`
) as `product.customFieldSetSelectionActive`,
`product`.`sales` as `product.sales`,
`product`.`states` as `product.states`,
`product.tax`.`id` as `product.tax.id`,
`product.tax`.`tax_rate` as `product.tax.taxRate`,
`product.tax`.`name` as `product.tax.name`,
`product.tax`.`position` as `product.tax.position`,
`product.tax`.`custom_fields` as `product.tax.customFields`,
`product.tax`.`created_at` as `product.tax.createdAt`,
`product.tax`.`updated_at` as `product.tax.updatedAt`,
`product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`,
COALESCE(
`product`.`cheapest_price`, `product.parent`.`cheapest_price`
) as `product.cheapestPrice`,
`product`.`created_at` as `product.createdAt`,
`product`.`updated_at` as `product.updatedAt`,
`product.bundle`.`id` as `product.bundle.id`,
`product.bundle`.`product_id` as `product.bundle.productId`,
`product.bundle`.`product_version_id` as `product.bundle.productVersionId`,
`product.bundle`.`name` as `product.bundle.name`,
`product.bundle`.`price_type` as `product.bundle.priceType`,
`product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`,
`product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`,
`product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`,
`product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`,
`product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`,
`product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`,
`product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`,
`product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`,
`product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`,
`product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`,
`product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`,
`product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`,
`product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`,
`product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`,
`product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`,
`product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`,
`product.bundle`.`created_at` as `product.bundle.createdAt`,
`product.bundle`.`updated_at` as `product.bundle.updatedAt`,
`product.cover`.`id` as `product.cover.id`,
`product.cover`.`version_id` as `product.cover.versionId`,
`product.cover`.`product_id` as `product.cover.productId`,
`product.cover`.`product_version_id` as `product.cover.productVersionId`,
`product.cover`.`media_id` as `product.cover.mediaId`,
`product.cover`.`position` as `product.cover.position`,
`product.cover.media`.`id` as `product.cover.media.id`,
`product.cover.media`.`user_id` as `product.cover.media.userId`,
`product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`,
`product.cover.media`.`mime_type` as `product.cover.media.mimeType`,
`product.cover.media`.`file_extension` as `product.cover.media.fileExtension`,
`product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`,
`product.cover.media`.`file_name` as `product.cover.media.fileName`,
`product.cover.media`.`file_size` as `product.cover.media.fileSize`,
`product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`,
`product.cover.media`.`meta_data` as `product.cover.media.metaData`,
`product.cover.media`.`private` as `product.cover.media.private`,
`product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`,
`product.cover.media`.`created_at` as `product.cover.media.createdAt`,
`product.cover.media`.`updated_at` as `product.cover.media.updatedAt`,
`product.cover.media.translation.title`,
COALESCE(
`product.cover.media.translation.title`,
`product.cover.media.translation.title`
) as `product.cover.media.title`,
`product.cover.media.translation.alt`,
COALESCE(
`product.cover.media.translation.alt`,
`product.cover.media.translation.alt`
) as `product.cover.media.alt`,
`product.cover.media.translation.customFields`,
COALESCE(
`product.cover.media.translation.customFields`,
`product.cover.media.translation.customFields`
) as `product.cover.media.customFields`,
`product.cover.media.translation.createdAt`,
`product.cover.media.translation.updatedAt`,
`product.cover.media.translation.mediaId`,
`product.cover.media.translation.languageId`,
`product.cover`.`custom_fields` as `product.cover.customFields`,
`product.cover`.`created_at` as `product.cover.createdAt`,
`product.cover`.`updated_at` as `product.cover.updatedAt`,
`product.translation.metaDescription`,
`product.parent.translation.metaDescription`,
COALESCE(
`product.translation.metaDescription`,
`product.parent.translation.metaDescription`,
`product.translation.metaDescription`
) as `product.metaDescription`,
`product.translation.name`,
`product.parent.translation.name`,
COALESCE(
`product.translation.name`, `product.parent.translation.name`,
`product.translation.name`
) as `product.name`,
`product.translation.keywords`,
`product.parent.translation.keywords`,
COALESCE(
`product.translation.keywords`,
`product.parent.translation.keywords`,
`product.translation.keywords`
) as `product.keywords`,
`product.translation.description`,
`product.parent.translation.description`,
COALESCE(
`product.translation.description`,
`product.parent.translation.description`,
`product.translation.description`
) as `product.description`,
`product.translation.metaTitle`,
`product.parent.translation.metaTitle`,
COALESCE(
`product.translation.metaTitle`,
`product.parent.translation.metaTitle`,
`product.translation.metaTitle`
) as `product.metaTitle`,
`product.translation.packUnit`,
`product.parent.translation.packUnit`,
COALESCE(
`product.translation.packUnit`,
`product.parent.translation.packUnit`,
`product.translation.packUnit`
) as `product.packUnit`,
`product.translation.packUnitPlural`,
`product.parent.translation.packUnitPlural`,
COALESCE(
`product.translation.packUnitPlural`,
`product.parent.translation.packUnitPlural`,
`product.translation.packUnitPlural`
) as `product.packUnitPlural`,
`product.translation.customSearchKeywords`,
`product.parent.translation.customSearchKeywords`,
COALESCE(
`product.translation.customSearchKeywords`,
`product.parent.translation.customSearchKeywords`,
`product.translation.customSearchKeywords`
) as `product.customSearchKeywords`,
`product.translation.slotConfig`,
`product.parent.translation.slotConfig`,
COALESCE(
`product.translation.slotConfig`,
`product.parent.translation.slotConfig`,
`product.translation.slotConfig`
) as `product.slotConfig`,
`product.translation.customFields`,
`product.parent.translation.customFields`,
COALESCE(
`product.translation.customFields`,
`product.parent.translation.customFields`,
`product.translation.customFields`
) as `product.customFields`,
`product.translation.createdAt`,
`product.parent.translation.createdAt`,
`product.translation.updatedAt`,
`product.parent.translation.updatedAt`,
`product.translation.productId`,
`product.parent.translation.productId`,
`product.translation.languageId`,
`product.parent.translation.languageId`,
`product.translation.productVersionId`,
`product.parent.translation.productVersionId`
FROM
`product`
LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id`
AND `product`.`version_id` = `product.parent`.`version_id`
LEFT JOIN (
SELECT
`product.translation`.product_id,
`product.translation`.product_version_id,
`product.translation`.meta_description as `product.translation.metaDescription`,
`product.translation`.name as `product.translation.name`,
`product.translation`.keywords as `product.translation.keywords`,
`product.translation`.description as `product.translation.description`,
`product.translation`.meta_title as `product.translation.metaTitle`,
`product.translation`.pack_unit as `product.translation.packUnit`,
`product.translation`.pack_unit_plural as `product.translation.packUnitPlural`,
`product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`,
`product.translation`.slot_config as `product.translation.slotConfig`,
`product.translation`.custom_fields as `product.translation.customFields`,
`product.translation`.created_at as `product.translation.createdAt`,
`product.translation`.updated_at as `product.translation.updatedAt`,
`product.translation`.product_id as `product.translation.productId`,
`product.translation`.language_id as `product.translation.languageId`,
`product.translation`.product_version_id as `product.translation.productVersionId`
FROM
`product_translation` `product.translation`
WHERE
`product.translation`.language_id = : languageId
) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id`
AND `product.product_translation`.product_version_id = `product`.version_id
LEFT JOIN (
SELECT
`product.parent.translation`.product_id,
`product.parent.translation`.product_version_id,
`product.parent.translation`.meta_description as `product.parent.translation.metaDescription`,
`product.parent.translation`.name as `product.parent.translation.name`,
`product.parent.translation`.keywords as `product.parent.translation.keywords`,
`product.parent.translation`.description as `product.parent.translation.description`,
`product.parent.translation`.meta_title as `product.parent.translation.metaTitle`,
`product.parent.translation`.pack_unit as `product.parent.translation.packUnit`,
`product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`,
`product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`,
`product.parent.translation`.slot_config as `product.parent.translation.slotConfig`,
`product.parent.translation`.custom_fields as `product.parent.translation.customFields`,
`product.parent.translation`.created_at as `product.parent.translation.createdAt`,
`product.parent.translation`.updated_at as `product.parent.translation.updatedAt`,
`product.parent.translation`.product_id as `product.parent.translation.productId`,
`product.parent.translation`.language_id as `product.parent.translation.languageId`,
`product.parent.translation`.product_version_id as `product.parent.translation.productVersionId`
FROM
`product_translation` `product.parent.translation`
WHERE
`product.parent.translation`.language_id = : languageId
) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id`
AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id
LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id`
LEFT JOIN `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_id`
LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id`
AND `product`.`version_id` = `product.cover`.`version_id`
LEFT JOIN `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id`
LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id`
LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`id`
LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id`
LEFT JOIN (
SELECT
`product.cover.media.translation`.media_id,
`product.cover.media.translation`.title as `product.cover.media.translation.title`,
`product.cover.media.translation`.alt as `product.cover.media.translation.alt`,
`product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`,
`product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`,
`product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`,
`product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`,
`product.cover.media.translation`.language_id as `product.cover.media.translation.languageId`
FROM
`media_translation` `product.cover.media.translation`
WHERE
`product.cover.media.translation`.language_id = : languageId
) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id`
WHERE
(
`product`.`version_id` = : version
)
AND (
`product`.`id` IN (: ids)
)
SELECT `product`.`id` as `product.id`, `product`.`version_id` as `product.versionId`, `product`.`parent_id` as `product.parentId`, `product`.`parent_version_id` as `product.parentVersionId`, COALESCE(`product`.`product_manufacturer_id`, `product.parent`.`product_manufacturer_id`) as `product.manufacturerId`, COALESCE(`product`.`product_manufacturer_version_id`, `product.parent`.`product_manufacturer_version_id`) as `product.productManufacturerVersionId`, COALESCE(`product`.`unit_id`, `product.parent`.`unit_id`) as `product.unitId`, COALESCE(`product`.`tax_id`, `product.parent`.`tax_id`) as `product.taxId`, COALESCE(`product`.`product_media_id`, `product.parent`.`product_media_id`) as `product.coverId`, COALESCE(`product`.`product_media_version_id`, `product.parent`.`product_media_version_id`) as `product.productMediaVersionId`, COALESCE(`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`) as `product.deliveryTimeId`, COALESCE(`product`.`product_feature_set_id`, `product.parent`.`product_feature_set_id`) as `product.featureSetId`, COALESCE(`product`.`canonical_product_id`, `product.parent`.`canonical_product_id`) as `product.canonicalProductId`, COALESCE(`product`.`cms_page_id`, `product.parent`.`cms_page_id`) as `product.cmsPageId`, COALESCE(`product`.`cms_page_version_id`, `product.parent`.`cms_page_version_id`) as `product.cmsPageVersionId`, `product.parent`.`price` as `product.price.inherited`, COALESCE(`product`.`price`, `product.parent`.`price`) as `product.price`, `product`.`product_number` as `product.productNumber`, `product`.`stock` as `product.stock`, COALESCE(`product`.`restock_time`, `product.parent`.`restock_time`) as `product.restockTime`, `product`.`auto_increment` as `product.autoIncrement`, COALESCE(`product`.`active`, `product.parent`.`active`) as `product.active`, `product`.`available_stock` as `product.availableStock`, `product`.`available` as `product.available`, COALESCE(`product`.`is_closeout`, `product.parent`.`is_closeout`) as `product.isCloseout`, `product`.`display_group` as `product.displayGroup`, `product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`, COALESCE(`product`.`configurator_group_config`, `product.parent`.`configurator_group_config`) as `product.configuratorGroupConfig`, COALESCE(`product`.`main_variant_id`, `product.parent`.`main_variant_id`) as `product.mainVariantId`, COALESCE(`product`.`display_parent`, `product.parent`.`display_parent`) as `product.displayParent`, `product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`, COALESCE(`product`.`variant_listing_config`, `product.parent`.`variant_listing_config`) as `product.variantListingConfig`, `product`.`variant_restrictions` as `product.variantRestrictions`, COALESCE(`product`.`manufacturer_number`, `product.parent`.`manufacturer_number`) as `product.manufacturerNumber`, COALESCE(`product`.`ean`, `product.parent`.`ean`) as `product.ean`, COALESCE(`product`.`purchase_steps`, `product.parent`.`purchase_steps`) as `product.purchaseSteps`, COALESCE(`product`.`max_purchase`, `product.parent`.`max_purchase`) as `product.maxPurchase`, COALESCE(`product`.`min_purchase`, `product.parent`.`min_purchase`) as `product.minPurchase`, COALESCE(`product`.`purchase_unit`, `product.parent`.`purchase_unit`) as `product.purchaseUnit`, COALESCE(`product`.`reference_unit`, `product.parent`.`reference_unit`) as `product.referenceUnit`, COALESCE(`product`.`shipping_free`, `product.parent`.`shipping_free`) as `product.shippingFree`, `product.parent`.`purchase_prices` as `product.purchasePrices.inherited`, COALESCE(`product`.`purchase_prices`, `product.parent`.`purchase_prices`) as `product.purchasePrices`, COALESCE(`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`) as `product.markAsTopseller`, COALESCE(`product`.`weight`, `product.parent`.`weight`) as `product.weight`, COALESCE(`product`.`width`, `product.parent`.`width`) as `product.width`, COALESCE(`product`.`height`, `product.parent`.`height`) as `product.height`, COALESCE(`product`.`length`, `product.parent`.`length`) as `product.length`, COALESCE(`product`.`release_date`, `product.parent`.`release_date`) as `product.releaseDate`, COALESCE(`product`.`rating_average`, `product.parent`.`rating_average`) as `product.ratingAverage`, `product.parent`.`category_tree` as `product.categoryTree.inherited`, COALESCE(`product`.`category_tree`, `product.parent`.`category_tree`) as `product.categoryTree`, `product.parent`.`property_ids` as `product.propertyIds.inherited`, COALESCE(`product`.`property_ids`, `product.parent`.`property_ids`) as `product.propertyIds`, `product.parent`.`option_ids` as `product.optionIds.inherited`, COALESCE(`product`.`option_ids`, `product.parent`.`option_ids`) as `product.optionIds`, `product.parent`.`stream_ids` as `product.streamIds.inherited`, COALESCE(`product`.`stream_ids`, `product.parent`.`stream_ids`) as `product.streamIds`, `product.parent`.`tag_ids` as `product.tagIds.inherited`, COALESCE(`product`.`tag_ids`, `product.parent`.`tag_ids`) as `product.tagIds`, `product.parent`.`category_ids` as `product.categoryIds.inherited`, COALESCE(`product`.`category_ids`, `product.parent`.`category_ids`) as `product.categoryIds`, `product`.`child_count` as `product.childCount`, COALESCE(`product`.`custom_field_set_selection_active`, `product.parent`.`custom_field_set_selection_active`) as `product.customFieldSetSelectionActive`, `product`.`sales` as `product.sales`, `product`.`states` as `product.states`, `product.tax`.`id` as `product.tax.id`, `product.tax`.`tax_rate` as `product.tax.taxRate`, `product.tax`.`name` as `product.tax.name`, `product.tax`.`position` as `product.tax.position`, `product.tax`.`custom_fields` as `product.tax.customFields`, `product.tax`.`created_at` as `product.tax.createdAt`, `product.tax`.`updated_at` as `product.tax.updatedAt`, `product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`, COALESCE(`product`.`cheapest_price`, `product.parent`.`cheapest_price`) as `product.cheapestPrice`, `product`.`created_at` as `product.createdAt`, `product`.`updated_at` as `product.updatedAt`, `product.bundle`.`id` as `product.bundle.id`, `product.bundle`.`product_id` as `product.bundle.productId`, `product.bundle`.`product_version_id` as `product.bundle.productVersionId`, `product.bundle`.`name` as `product.bundle.name`, `product.bundle`.`price_type` as `product.bundle.priceType`, `product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`, `product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`, `product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`, `product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`, `product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`, `product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`, `product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`, `product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`, `product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`, `product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`, `product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`, `product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`, `product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`, `product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`, `product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`, `product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`, `product.bundle`.`created_at` as `product.bundle.createdAt`, `product.bundle`.`updated_at` as `product.bundle.updatedAt`, `product.cover`.`id` as `product.cover.id`, `product.cover`.`version_id` as `product.cover.versionId`, `product.cover`.`product_id` as `product.cover.productId`, `product.cover`.`product_version_id` as `product.cover.productVersionId`, `product.cover`.`media_id` as `product.cover.mediaId`, `product.cover`.`position` as `product.cover.position`, `product.cover.media`.`id` as `product.cover.media.id`, `product.cover.media`.`user_id` as `product.cover.media.userId`, `product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`, `product.cover.media`.`mime_type` as `product.cover.media.mimeType`, `product.cover.media`.`file_extension` as `product.cover.media.fileExtension`, `product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`, `product.cover.media`.`file_name` as `product.cover.media.fileName`, `product.cover.media`.`file_size` as `product.cover.media.fileSize`, `product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`, `product.cover.media`.`meta_data` as `product.cover.media.metaData`, `product.cover.media`.`private` as `product.cover.media.private`, `product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`, `product.cover.media`.`created_at` as `product.cover.media.createdAt`, `product.cover.media`.`updated_at` as `product.cover.media.updatedAt`, `product.cover.media.translation.title`, COALESCE(`product.cover.media.translation.title`,`product.cover.media.translation.title`) as `product.cover.media.title`, `product.cover.media.translation.alt`, COALESCE(`product.cover.media.translation.alt`,`product.cover.media.translation.alt`) as `product.cover.media.alt`, `product.cover.media.translation.customFields`, COALESCE(`product.cover.media.translation.customFields`,`product.cover.media.translation.customFields`) as `product.cover.media.customFields`, `product.cover.media.translation.createdAt`, `product.cover.media.translation.updatedAt`, `product.cover.media.translation.mediaId`, `product.cover.media.translation.languageId`, `product.cover`.`custom_fields` as `product.cover.customFields`, `product.cover`.`created_at` as `product.cover.createdAt`, `product.cover`.`updated_at` as `product.cover.updatedAt`, `product.translation.metaDescription`, `product.parent.translation.metaDescription`, COALESCE(`product.translation.metaDescription`,`product.parent.translation.metaDescription`,`product.translation.metaDescription`) as `product.metaDescription`, `product.translation.name`, `product.parent.translation.name`, COALESCE(`product.translation.name`,`product.parent.translation.name`,`product.translation.name`) as `product.name`, `product.translation.keywords`, `product.parent.translation.keywords`, COALESCE(`product.translation.keywords`,`product.parent.translation.keywords`,`product.translation.keywords`) as `product.keywords`, `product.translation.description`, `product.parent.translation.description`, COALESCE(`product.translation.description`,`product.parent.translation.description`,`product.translation.description`) as `product.description`, `product.translation.metaTitle`, `product.parent.translation.metaTitle`, COALESCE(`product.translation.metaTitle`,`product.parent.translation.metaTitle`,`product.translation.metaTitle`) as `product.metaTitle`, `product.translation.packUnit`, `product.parent.translation.packUnit`, COALESCE(`product.translation.packUnit`,`product.parent.translation.packUnit`,`product.translation.packUnit`) as `product.packUnit`, `product.translation.packUnitPlural`, `product.parent.translation.packUnitPlural`, COALESCE(`product.translation.packUnitPlural`,`product.parent.translation.packUnitPlural`,`product.translation.packUnitPlural`) as `product.packUnitPlural`, `product.translation.customSearchKeywords`, `product.parent.translation.customSearchKeywords`, COALESCE(`product.translation.customSearchKeywords`,`product.parent.translation.customSearchKeywords`,`product.translation.customSearchKeywords`) as `product.customSearchKeywords`, `product.translation.slotConfig`, `product.parent.translation.slotConfig`, COALESCE(`product.translation.slotConfig`,`product.parent.translation.slotConfig`,`product.translation.slotConfig`) as `product.slotConfig`, `product.translation.customFields`, `product.parent.translation.customFields`, COALESCE(`product.translation.customFields`,`product.parent.translation.customFields`,`product.translation.customFields`) as `product.customFields`, `product.translation.createdAt`, `product.parent.translation.createdAt`, `product.translation.updatedAt`, `product.parent.translation.updatedAt`, `product.translation.productId`, `product.parent.translation.productId`, `product.translation.languageId`, `product.parent.translation.languageId`, `product.translation.productVersionId`, `product.parent.translation.productVersionId` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN (SELECT `product.translation`.product_id, `product.translation`.product_version_id, `product.translation`.meta_description as `product.translation.metaDescription`, `product.translation`.name as `product.translation.name`, `product.translation`.keywords as `product.translation.keywords`, `product.translation`.description as `product.translation.description`, `product.translation`.meta_title as `product.translation.metaTitle`, `product.translation`.pack_unit as `product.translation.packUnit`, `product.translation`.pack_unit_plural as `product.translation.packUnitPlural`, `product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`, `product.translation`.slot_config as `product.translation.slotConfig`, `product.translation`.custom_fields as `product.translation.customFields`, `product.translation`.created_at as `product.translation.createdAt`, `product.translation`.updated_at as `product.translation.updatedAt`, `product.translation`.product_id as `product.translation.productId`, `product.translation`.language_id as `product.translation.languageId`, `product.translation`.product_version_id as `product.translation.productVersionId` FROM `product_translation` `product.translation` WHERE `product.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id` AND `product.product_translation`.product_version_id = `product`.version_id LEFT JOIN (SELECT `product.parent.translation`.product_id, `product.parent.translation`.product_version_id, `product.parent.translation`.meta_description as `product.parent.translation.metaDescription`, `product.parent.translation`.name as `product.parent.translation.name`, `product.parent.translation`.keywords as `product.parent.translation.keywords`, `product.parent.translation`.description as `product.parent.translation.description`, `product.parent.translation`.meta_title as `product.parent.translation.metaTitle`, `product.parent.translation`.pack_unit as `product.parent.translation.packUnit`, `product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`, `product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`, `product.parent.translation`.slot_config as `product.parent.translation.slotConfig`, `product.parent.translation`.custom_fields as `product.parent.translation.customFields`, `product.parent.translation`.created_at as `product.parent.translation.createdAt`, `product.parent.translation`.updated_at as `product.parent.translation.updatedAt`, `product.parent.translation`.product_id as `product.parent.translation.productId`, `product.parent.translation`.language_id as `product.parent.translation.languageId`, `product.parent.translation`.product_version_id as `product.parent.translation.productVersionId` FROM `product_translation` `product.parent.translation` WHERE `product.parent.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id` AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id` LEFT JOIN `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_id` LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id` AND `product`.`version_id` = `product.cover`.`version_id` LEFT JOIN `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`id` LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id` LEFT JOIN (SELECT `product.cover.media.translation`.media_id, `product.cover.media.translation`.title as `product.cover.media.translation.title`, `product.cover.media.translation`.alt as `product.cover.media.translation.alt`, `product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`, `product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`, `product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`, `product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`, `product.cover.media.translation`.language_id as `product.cover.media.translation.languageId` FROM `media_translation` `product.cover.media.translation` WHERE `product.cover.media.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id` WHERE (`product`.`version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425) AND (`product`.`id` IN (0x1AC13C0695234DB1962D5899CC4EA096));
array:51 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 316)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetch (line 148)"
4 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 93)"
5 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::read (line 257)"
6 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::read (line 286)"
7 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::_search (line 106)"
8 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::search (line 51)"
9 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepositoryForwardCompatibilityDecorator::search (line 103)"
10 => "Bodymed\Webshop\StoreFront\Subscriber\ProductExtensionSubscriber::addParentCover (line 230)"
11 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
12 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
13 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
14 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
15 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
16 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 33)"
17 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
18 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 208)"
19 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::read (line 133)"
20 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 49)"
21 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariantsOfProduct (line 30)"
22 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariants (line 224)"
23 => "Bodymed\Webshop\Core\Content\Product\Cms\ProductSliderCmsElementResolver::enrich (line 99)"
24 => "Shopware\Core\Content\Cms\DataResolver\CmsSlotsDataResolver::resolve (line 104)"
25 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::loadSlotData (line 94)"
26 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::load (line 102)"
27 => "Shopware\Core\Content\Category\SalesChannel\CategoryRoute::load (line 103)"
28 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 350)"
29 => "Shopware\Core\System\SystemConfig\SystemConfigService::trace (line 44)"
30 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 120)"
31 => "Shopware\Core\Framework\Adapter\Translation\Translator::trace (line 45)"
32 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 46)"
33 => "Shopware\Core\Framework\Adapter\Cache\CacheTagCollection::trace (line 46)"
34 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::trace (line 41)"
35 => "Shopware\Storefront\Framework\Cache\CacheTracer::Shopware\Storefront\Framework\Cache\{closure} (line 59)"
36 => "Shopware\Storefront\Theme\ThemeConfigValueAccessor::trace (line 42)"
37 => "Shopware\Storefront\Framework\Cache\CacheTracer::trace (line 104)"
38 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 72)"
39 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
40 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 109)"
41 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 59)"
42 => "Shopware\Core\Profiling\Profiler::trace (line 112)"
43 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::load (line 66)"
44 => "Shopware\Storefront\Page\Navigation\NavigationPageLoader::load (line 48)"
45 => "Shopware\Storefront\Controller\NavigationController::home (line 163)"
46 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
47 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
48 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
49 => "Shopware\Core\HttpKernel::doHandle (line 81)"
50 => "Shopware\Core\HttpKernel::handle (line 75)"
]
|
51 |
0.85 ms |
SELECT * FROM sales_channel_api_context WHERE (sales_channel_id = :salesChannelId) AND (token = :token) LIMIT 1
SELECT * FROM sales_channel_api_context WHERE (sales_channel_id = 0x620A2217F7474E619CB00AD39E804CCA) AND (token = 'FwsxT47353Zxmr7lp0KSfYcVNkg5VpYR') LIMIT 1;
array:58 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 165)"
3 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextPersister::load (line 69)"
4 => "Bodymed\Webshop\Core\Subscriber\ProductSubscriber::addCustomerProductFeatureExtension (line 230)"
5 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
6 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
7 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
8 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
9 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
10 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 33)"
11 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
12 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 269)"
13 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::read (line 286)"
14 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::_search (line 106)"
15 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::search (line 51)"
16 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepositoryForwardCompatibilityDecorator::search (line 103)"
17 => "Bodymed\Webshop\StoreFront\Subscriber\ProductExtensionSubscriber::addParentCover (line 230)"
18 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
19 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
20 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
21 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
22 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
23 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 33)"
24 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
25 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 208)"
26 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::read (line 133)"
27 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 49)"
28 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariantsOfProduct (line 30)"
29 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariants (line 224)"
30 => "Bodymed\Webshop\Core\Content\Product\Cms\ProductSliderCmsElementResolver::enrich (line 99)"
31 => "Shopware\Core\Content\Cms\DataResolver\CmsSlotsDataResolver::resolve (line 104)"
32 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::loadSlotData (line 94)"
33 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::load (line 102)"
34 => "Shopware\Core\Content\Category\SalesChannel\CategoryRoute::load (line 103)"
35 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 350)"
36 => "Shopware\Core\System\SystemConfig\SystemConfigService::trace (line 44)"
37 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 120)"
38 => "Shopware\Core\Framework\Adapter\Translation\Translator::trace (line 45)"
39 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 46)"
40 => "Shopware\Core\Framework\Adapter\Cache\CacheTagCollection::trace (line 46)"
41 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::trace (line 41)"
42 => "Shopware\Storefront\Framework\Cache\CacheTracer::Shopware\Storefront\Framework\Cache\{closure} (line 59)"
43 => "Shopware\Storefront\Theme\ThemeConfigValueAccessor::trace (line 42)"
44 => "Shopware\Storefront\Framework\Cache\CacheTracer::trace (line 104)"
45 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 72)"
46 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
47 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 109)"
48 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 59)"
49 => "Shopware\Core\Profiling\Profiler::trace (line 112)"
50 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::load (line 66)"
51 => "Shopware\Storefront\Page\Navigation\NavigationPageLoader::load (line 48)"
52 => "Shopware\Storefront\Controller\NavigationController::home (line 163)"
53 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
54 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
55 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
56 => "Shopware\Core\HttpKernel::doHandle (line 81)"
57 => "Shopware\Core\HttpKernel::handle (line 75)"
]
|
52 |
24.96 ms |
SELECT `product`.`id` as `product.id`, `product`.`version_id` as `product.versionId`, `product`.`parent_id` as `product.parentId`, `product`.`parent_version_id` as `product.parentVersionId`, COALESCE(`product`.`product_manufacturer_id`, `product.parent`.`product_manufacturer_id`) as `product.manufacturerId`, COALESCE(`product`.`product_manufacturer_version_id`, `product.parent`.`product_manufacturer_version_id`) as `product.productManufacturerVersionId`, COALESCE(`product`.`unit_id`, `product.parent`.`unit_id`) as `product.unitId`, COALESCE(`product`.`tax_id`, `product.parent`.`tax_id`) as `product.taxId`, COALESCE(`product`.`product_media_id`, `product.parent`.`product_media_id`) as `product.coverId`, COALESCE(`product`.`product_media_version_id`, `product.parent`.`product_media_version_id`) as `product.productMediaVersionId`, COALESCE(`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`) as `product.deliveryTimeId`, COALESCE(`product`.`product_feature_set_id`, `product.parent`.`product_feature_set_id`) as `product.featureSetId`, COALESCE(`product`.`canonical_product_id`, `product.parent`.`canonical_product_id`) as `product.canonicalProductId`, COALESCE(`product`.`cms_page_id`, `product.parent`.`cms_page_id`) as `product.cmsPageId`, COALESCE(`product`.`cms_page_version_id`, `product.parent`.`cms_page_version_id`) as `product.cmsPageVersionId`, `product.parent`.`price` as `product.price.inherited`, COALESCE(`product`.`price`, `product.parent`.`price`) as `product.price`, `product`.`product_number` as `product.productNumber`, `product`.`stock` as `product.stock`, COALESCE(`product`.`restock_time`, `product.parent`.`restock_time`) as `product.restockTime`, `product`.`auto_increment` as `product.autoIncrement`, COALESCE(`product`.`active`, `product.parent`.`active`) as `product.active`, `product`.`available_stock` as `product.availableStock`, `product`.`available` as `product.available`, COALESCE(`product`.`is_closeout`, `product.parent`.`is_closeout`) as `product.isCloseout`, `product`.`display_group` as `product.displayGroup`, `product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`, COALESCE(`product`.`configurator_group_config`, `product.parent`.`configurator_group_config`) as `product.configuratorGroupConfig`, COALESCE(`product`.`main_variant_id`, `product.parent`.`main_variant_id`) as `product.mainVariantId`, COALESCE(`product`.`display_parent`, `product.parent`.`display_parent`) as `product.displayParent`, `product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`, COALESCE(`product`.`variant_listing_config`, `product.parent`.`variant_listing_config`) as `product.variantListingConfig`, `product`.`variant_restrictions` as `product.variantRestrictions`, COALESCE(`product`.`manufacturer_number`, `product.parent`.`manufacturer_number`) as `product.manufacturerNumber`, COALESCE(`product`.`ean`, `product.parent`.`ean`) as `product.ean`, COALESCE(`product`.`purchase_steps`, `product.parent`.`purchase_steps`) as `product.purchaseSteps`, COALESCE(`product`.`max_purchase`, `product.parent`.`max_purchase`) as `product.maxPurchase`, COALESCE(`product`.`min_purchase`, `product.parent`.`min_purchase`) as `product.minPurchase`, COALESCE(`product`.`purchase_unit`, `product.parent`.`purchase_unit`) as `product.purchaseUnit`, COALESCE(`product`.`reference_unit`, `product.parent`.`reference_unit`) as `product.referenceUnit`, COALESCE(`product`.`shipping_free`, `product.parent`.`shipping_free`) as `product.shippingFree`, `product.parent`.`purchase_prices` as `product.purchasePrices.inherited`, COALESCE(`product`.`purchase_prices`, `product.parent`.`purchase_prices`) as `product.purchasePrices`, COALESCE(`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`) as `product.markAsTopseller`, COALESCE(`product`.`weight`, `product.parent`.`weight`) as `product.weight`, COALESCE(`product`.`width`, `product.parent`.`width`) as `product.width`, COALESCE(`product`.`height`, `product.parent`.`height`) as `product.height`, COALESCE(`product`.`length`, `product.parent`.`length`) as `product.length`, COALESCE(`product`.`release_date`, `product.parent`.`release_date`) as `product.releaseDate`, COALESCE(`product`.`rating_average`, `product.parent`.`rating_average`) as `product.ratingAverage`, `product.parent`.`category_tree` as `product.categoryTree.inherited`, COALESCE(`product`.`category_tree`, `product.parent`.`category_tree`) as `product.categoryTree`, `product.parent`.`property_ids` as `product.propertyIds.inherited`, COALESCE(`product`.`property_ids`, `product.parent`.`property_ids`) as `product.propertyIds`, `product.parent`.`option_ids` as `product.optionIds.inherited`, COALESCE(`product`.`option_ids`, `product.parent`.`option_ids`) as `product.optionIds`, `product.parent`.`stream_ids` as `product.streamIds.inherited`, COALESCE(`product`.`stream_ids`, `product.parent`.`stream_ids`) as `product.streamIds`, `product.parent`.`tag_ids` as `product.tagIds.inherited`, COALESCE(`product`.`tag_ids`, `product.parent`.`tag_ids`) as `product.tagIds`, `product.parent`.`category_ids` as `product.categoryIds.inherited`, COALESCE(`product`.`category_ids`, `product.parent`.`category_ids`) as `product.categoryIds`, `product`.`child_count` as `product.childCount`, COALESCE(`product`.`custom_field_set_selection_active`, `product.parent`.`custom_field_set_selection_active`) as `product.customFieldSetSelectionActive`, `product`.`sales` as `product.sales`, `product`.`states` as `product.states`, `product.tax`.`id` as `product.tax.id`, `product.tax`.`tax_rate` as `product.tax.taxRate`, `product.tax`.`name` as `product.tax.name`, `product.tax`.`position` as `product.tax.position`, `product.tax`.`custom_fields` as `product.tax.customFields`, `product.tax`.`created_at` as `product.tax.createdAt`, `product.tax`.`updated_at` as `product.tax.updatedAt`, `product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`, COALESCE(`product`.`cheapest_price`, `product.parent`.`cheapest_price`) as `product.cheapestPrice`, `product`.`created_at` as `product.createdAt`, `product`.`updated_at` as `product.updatedAt`, `product.bundle`.`id` as `product.bundle.id`, `product.bundle`.`product_id` as `product.bundle.productId`, `product.bundle`.`product_version_id` as `product.bundle.productVersionId`, `product.bundle`.`name` as `product.bundle.name`, `product.bundle`.`price_type` as `product.bundle.priceType`, `product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`, `product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`, `product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`, `product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`, `product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`, `product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`, `product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`, `product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`, `product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`, `product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`, `product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`, `product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`, `product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`, `product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`, `product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`, `product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`, `product.bundle`.`created_at` as `product.bundle.createdAt`, `product.bundle`.`updated_at` as `product.bundle.updatedAt`, `product.cover`.`id` as `product.cover.id`, `product.cover`.`version_id` as `product.cover.versionId`, `product.cover`.`product_id` as `product.cover.productId`, `product.cover`.`product_version_id` as `product.cover.productVersionId`, `product.cover`.`media_id` as `product.cover.mediaId`, `product.cover`.`position` as `product.cover.position`, `product.cover.media`.`id` as `product.cover.media.id`, `product.cover.media`.`user_id` as `product.cover.media.userId`, `product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`, `product.cover.media`.`mime_type` as `product.cover.media.mimeType`, `product.cover.media`.`file_extension` as `product.cover.media.fileExtension`, `product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`, `product.cover.media`.`file_name` as `product.cover.media.fileName`, `product.cover.media`.`file_size` as `product.cover.media.fileSize`, `product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`, `product.cover.media`.`meta_data` as `product.cover.media.metaData`, `product.cover.media`.`private` as `product.cover.media.private`, `product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`, `product.cover.media`.`created_at` as `product.cover.media.createdAt`, `product.cover.media`.`updated_at` as `product.cover.media.updatedAt`, `product.cover.media.translation.title`, COALESCE(`product.cover.media.translation.title`,`product.cover.media.translation.title`) as `product.cover.media.title`, `product.cover.media.translation.alt`, COALESCE(`product.cover.media.translation.alt`,`product.cover.media.translation.alt`) as `product.cover.media.alt`, `product.cover.media.translation.customFields`, COALESCE(`product.cover.media.translation.customFields`,`product.cover.media.translation.customFields`) as `product.cover.media.customFields`, `product.cover.media.translation.createdAt`, `product.cover.media.translation.updatedAt`, `product.cover.media.translation.mediaId`, `product.cover.media.translation.languageId`, `product.cover`.`custom_fields` as `product.cover.customFields`, `product.cover`.`created_at` as `product.cover.createdAt`, `product.cover`.`updated_at` as `product.cover.updatedAt`, `product.translation.metaDescription`, `product.parent.translation.metaDescription`, COALESCE(`product.translation.metaDescription`,`product.parent.translation.metaDescription`,`product.translation.metaDescription`) as `product.metaDescription`, `product.translation.name`, `product.parent.translation.name`, COALESCE(`product.translation.name`,`product.parent.translation.name`,`product.translation.name`) as `product.name`, `product.translation.keywords`, `product.parent.translation.keywords`, COALESCE(`product.translation.keywords`,`product.parent.translation.keywords`,`product.translation.keywords`) as `product.keywords`, `product.translation.description`, `product.parent.translation.description`, COALESCE(`product.translation.description`,`product.parent.translation.description`,`product.translation.description`) as `product.description`, `product.translation.metaTitle`, `product.parent.translation.metaTitle`, COALESCE(`product.translation.metaTitle`,`product.parent.translation.metaTitle`,`product.translation.metaTitle`) as `product.metaTitle`, `product.translation.packUnit`, `product.parent.translation.packUnit`, COALESCE(`product.translation.packUnit`,`product.parent.translation.packUnit`,`product.translation.packUnit`) as `product.packUnit`, `product.translation.packUnitPlural`, `product.parent.translation.packUnitPlural`, COALESCE(`product.translation.packUnitPlural`,`product.parent.translation.packUnitPlural`,`product.translation.packUnitPlural`) as `product.packUnitPlural`, `product.translation.customSearchKeywords`, `product.parent.translation.customSearchKeywords`, COALESCE(`product.translation.customSearchKeywords`,`product.parent.translation.customSearchKeywords`,`product.translation.customSearchKeywords`) as `product.customSearchKeywords`, `product.translation.slotConfig`, `product.parent.translation.slotConfig`, COALESCE(`product.translation.slotConfig`,`product.parent.translation.slotConfig`,`product.translation.slotConfig`) as `product.slotConfig`, `product.translation.customFields`, `product.parent.translation.customFields`, COALESCE(`product.translation.customFields`,`product.parent.translation.customFields`,`product.translation.customFields`) as `product.customFields`, `product.translation.createdAt`, `product.parent.translation.createdAt`, `product.translation.updatedAt`, `product.parent.translation.updatedAt`, `product.translation.productId`, `product.parent.translation.productId`, `product.translation.languageId`, `product.parent.translation.languageId`, `product.translation.productVersionId`, `product.parent.translation.productVersionId` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN (SELECT `product.translation`.product_id, `product.translation`.product_version_id, `product.translation`.meta_description as `product.translation.metaDescription`, `product.translation`.name as `product.translation.name`, `product.translation`.keywords as `product.translation.keywords`, `product.translation`.description as `product.translation.description`, `product.translation`.meta_title as `product.translation.metaTitle`, `product.translation`.pack_unit as `product.translation.packUnit`, `product.translation`.pack_unit_plural as `product.translation.packUnitPlural`, `product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`, `product.translation`.slot_config as `product.translation.slotConfig`, `product.translation`.custom_fields as `product.translation.customFields`, `product.translation`.created_at as `product.translation.createdAt`, `product.translation`.updated_at as `product.translation.updatedAt`, `product.translation`.product_id as `product.translation.productId`, `product.translation`.language_id as `product.translation.languageId`, `product.translation`.product_version_id as `product.translation.productVersionId` FROM `product_translation` `product.translation` WHERE `product.translation`.language_id = :languageId) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id` AND `product.product_translation`.product_version_id = `product`.version_id LEFT JOIN (SELECT `product.parent.translation`.product_id, `product.parent.translation`.product_version_id, `product.parent.translation`.meta_description as `product.parent.translation.metaDescription`, `product.parent.translation`.name as `product.parent.translation.name`, `product.parent.translation`.keywords as `product.parent.translation.keywords`, `product.parent.translation`.description as `product.parent.translation.description`, `product.parent.translation`.meta_title as `product.parent.translation.metaTitle`, `product.parent.translation`.pack_unit as `product.parent.translation.packUnit`, `product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`, `product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`, `product.parent.translation`.slot_config as `product.parent.translation.slotConfig`, `product.parent.translation`.custom_fields as `product.parent.translation.customFields`, `product.parent.translation`.created_at as `product.parent.translation.createdAt`, `product.parent.translation`.updated_at as `product.parent.translation.updatedAt`, `product.parent.translation`.product_id as `product.parent.translation.productId`, `product.parent.translation`.language_id as `product.parent.translation.languageId`, `product.parent.translation`.product_version_id as `product.parent.translation.productVersionId` FROM `product_translation` `product.parent.translation` WHERE `product.parent.translation`.language_id = :languageId) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id` AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id` LEFT JOIN `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_id` LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id` AND `product`.`version_id` = `product.cover`.`version_id` LEFT JOIN `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`id` LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id` LEFT JOIN (SELECT `product.cover.media.translation`.media_id, `product.cover.media.translation`.title as `product.cover.media.translation.title`, `product.cover.media.translation`.alt as `product.cover.media.translation.alt`, `product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`, `product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`, `product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`, `product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`, `product.cover.media.translation`.language_id as `product.cover.media.translation.languageId` FROM `media_translation` `product.cover.media.translation` WHERE `product.cover.media.translation`.language_id = :languageId) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id` WHERE (`product`.`version_id` = :version) AND (`product`.`id` IN (:ids))
SELECT
`product`.`id` as `product.id`,
`product`.`version_id` as `product.versionId`,
`product`.`parent_id` as `product.parentId`,
`product`.`parent_version_id` as `product.parentVersionId`,
COALESCE(
`product`.`product_manufacturer_id`,
`product.parent`.`product_manufacturer_id`
) as `product.manufacturerId`,
COALESCE(
`product`.`product_manufacturer_version_id`,
`product.parent`.`product_manufacturer_version_id`
) as `product.productManufacturerVersionId`,
COALESCE(
`product`.`unit_id`, `product.parent`.`unit_id`
) as `product.unitId`,
COALESCE(
`product`.`tax_id`, `product.parent`.`tax_id`
) as `product.taxId`,
COALESCE(
`product`.`product_media_id`, `product.parent`.`product_media_id`
) as `product.coverId`,
COALESCE(
`product`.`product_media_version_id`,
`product.parent`.`product_media_version_id`
) as `product.productMediaVersionId`,
COALESCE(
`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`
) as `product.deliveryTimeId`,
COALESCE(
`product`.`product_feature_set_id`,
`product.parent`.`product_feature_set_id`
) as `product.featureSetId`,
COALESCE(
`product`.`canonical_product_id`,
`product.parent`.`canonical_product_id`
) as `product.canonicalProductId`,
COALESCE(
`product`.`cms_page_id`, `product.parent`.`cms_page_id`
) as `product.cmsPageId`,
COALESCE(
`product`.`cms_page_version_id`,
`product.parent`.`cms_page_version_id`
) as `product.cmsPageVersionId`,
`product.parent`.`price` as `product.price.inherited`,
COALESCE(
`product`.`price`, `product.parent`.`price`
) as `product.price`,
`product`.`product_number` as `product.productNumber`,
`product`.`stock` as `product.stock`,
COALESCE(
`product`.`restock_time`, `product.parent`.`restock_time`
) as `product.restockTime`,
`product`.`auto_increment` as `product.autoIncrement`,
COALESCE(
`product`.`active`, `product.parent`.`active`
) as `product.active`,
`product`.`available_stock` as `product.availableStock`,
`product`.`available` as `product.available`,
COALESCE(
`product`.`is_closeout`, `product.parent`.`is_closeout`
) as `product.isCloseout`,
`product`.`display_group` as `product.displayGroup`,
`product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`,
COALESCE(
`product`.`configurator_group_config`,
`product.parent`.`configurator_group_config`
) as `product.configuratorGroupConfig`,
COALESCE(
`product`.`main_variant_id`, `product.parent`.`main_variant_id`
) as `product.mainVariantId`,
COALESCE(
`product`.`display_parent`, `product.parent`.`display_parent`
) as `product.displayParent`,
`product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`,
COALESCE(
`product`.`variant_listing_config`,
`product.parent`.`variant_listing_config`
) as `product.variantListingConfig`,
`product`.`variant_restrictions` as `product.variantRestrictions`,
COALESCE(
`product`.`manufacturer_number`,
`product.parent`.`manufacturer_number`
) as `product.manufacturerNumber`,
COALESCE(
`product`.`ean`, `product.parent`.`ean`
) as `product.ean`,
COALESCE(
`product`.`purchase_steps`, `product.parent`.`purchase_steps`
) as `product.purchaseSteps`,
COALESCE(
`product`.`max_purchase`, `product.parent`.`max_purchase`
) as `product.maxPurchase`,
COALESCE(
`product`.`min_purchase`, `product.parent`.`min_purchase`
) as `product.minPurchase`,
COALESCE(
`product`.`purchase_unit`, `product.parent`.`purchase_unit`
) as `product.purchaseUnit`,
COALESCE(
`product`.`reference_unit`, `product.parent`.`reference_unit`
) as `product.referenceUnit`,
COALESCE(
`product`.`shipping_free`, `product.parent`.`shipping_free`
) as `product.shippingFree`,
`product.parent`.`purchase_prices` as `product.purchasePrices.inherited`,
COALESCE(
`product`.`purchase_prices`, `product.parent`.`purchase_prices`
) as `product.purchasePrices`,
COALESCE(
`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`
) as `product.markAsTopseller`,
COALESCE(
`product`.`weight`, `product.parent`.`weight`
) as `product.weight`,
COALESCE(
`product`.`width`, `product.parent`.`width`
) as `product.width`,
COALESCE(
`product`.`height`, `product.parent`.`height`
) as `product.height`,
COALESCE(
`product`.`length`, `product.parent`.`length`
) as `product.length`,
COALESCE(
`product`.`release_date`, `product.parent`.`release_date`
) as `product.releaseDate`,
COALESCE(
`product`.`rating_average`, `product.parent`.`rating_average`
) as `product.ratingAverage`,
`product.parent`.`category_tree` as `product.categoryTree.inherited`,
COALESCE(
`product`.`category_tree`, `product.parent`.`category_tree`
) as `product.categoryTree`,
`product.parent`.`property_ids` as `product.propertyIds.inherited`,
COALESCE(
`product`.`property_ids`, `product.parent`.`property_ids`
) as `product.propertyIds`,
`product.parent`.`option_ids` as `product.optionIds.inherited`,
COALESCE(
`product`.`option_ids`, `product.parent`.`option_ids`
) as `product.optionIds`,
`product.parent`.`stream_ids` as `product.streamIds.inherited`,
COALESCE(
`product`.`stream_ids`, `product.parent`.`stream_ids`
) as `product.streamIds`,
`product.parent`.`tag_ids` as `product.tagIds.inherited`,
COALESCE(
`product`.`tag_ids`, `product.parent`.`tag_ids`
) as `product.tagIds`,
`product.parent`.`category_ids` as `product.categoryIds.inherited`,
COALESCE(
`product`.`category_ids`, `product.parent`.`category_ids`
) as `product.categoryIds`,
`product`.`child_count` as `product.childCount`,
COALESCE(
`product`.`custom_field_set_selection_active`,
`product.parent`.`custom_field_set_selection_active`
) as `product.customFieldSetSelectionActive`,
`product`.`sales` as `product.sales`,
`product`.`states` as `product.states`,
`product.tax`.`id` as `product.tax.id`,
`product.tax`.`tax_rate` as `product.tax.taxRate`,
`product.tax`.`name` as `product.tax.name`,
`product.tax`.`position` as `product.tax.position`,
`product.tax`.`custom_fields` as `product.tax.customFields`,
`product.tax`.`created_at` as `product.tax.createdAt`,
`product.tax`.`updated_at` as `product.tax.updatedAt`,
`product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`,
COALESCE(
`product`.`cheapest_price`, `product.parent`.`cheapest_price`
) as `product.cheapestPrice`,
`product`.`created_at` as `product.createdAt`,
`product`.`updated_at` as `product.updatedAt`,
`product.bundle`.`id` as `product.bundle.id`,
`product.bundle`.`product_id` as `product.bundle.productId`,
`product.bundle`.`product_version_id` as `product.bundle.productVersionId`,
`product.bundle`.`name` as `product.bundle.name`,
`product.bundle`.`price_type` as `product.bundle.priceType`,
`product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`,
`product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`,
`product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`,
`product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`,
`product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`,
`product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`,
`product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`,
`product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`,
`product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`,
`product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`,
`product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`,
`product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`,
`product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`,
`product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`,
`product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`,
`product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`,
`product.bundle`.`created_at` as `product.bundle.createdAt`,
`product.bundle`.`updated_at` as `product.bundle.updatedAt`,
`product.cover`.`id` as `product.cover.id`,
`product.cover`.`version_id` as `product.cover.versionId`,
`product.cover`.`product_id` as `product.cover.productId`,
`product.cover`.`product_version_id` as `product.cover.productVersionId`,
`product.cover`.`media_id` as `product.cover.mediaId`,
`product.cover`.`position` as `product.cover.position`,
`product.cover.media`.`id` as `product.cover.media.id`,
`product.cover.media`.`user_id` as `product.cover.media.userId`,
`product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`,
`product.cover.media`.`mime_type` as `product.cover.media.mimeType`,
`product.cover.media`.`file_extension` as `product.cover.media.fileExtension`,
`product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`,
`product.cover.media`.`file_name` as `product.cover.media.fileName`,
`product.cover.media`.`file_size` as `product.cover.media.fileSize`,
`product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`,
`product.cover.media`.`meta_data` as `product.cover.media.metaData`,
`product.cover.media`.`private` as `product.cover.media.private`,
`product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`,
`product.cover.media`.`created_at` as `product.cover.media.createdAt`,
`product.cover.media`.`updated_at` as `product.cover.media.updatedAt`,
`product.cover.media.translation.title`,
COALESCE(
`product.cover.media.translation.title`,
`product.cover.media.translation.title`
) as `product.cover.media.title`,
`product.cover.media.translation.alt`,
COALESCE(
`product.cover.media.translation.alt`,
`product.cover.media.translation.alt`
) as `product.cover.media.alt`,
`product.cover.media.translation.customFields`,
COALESCE(
`product.cover.media.translation.customFields`,
`product.cover.media.translation.customFields`
) as `product.cover.media.customFields`,
`product.cover.media.translation.createdAt`,
`product.cover.media.translation.updatedAt`,
`product.cover.media.translation.mediaId`,
`product.cover.media.translation.languageId`,
`product.cover`.`custom_fields` as `product.cover.customFields`,
`product.cover`.`created_at` as `product.cover.createdAt`,
`product.cover`.`updated_at` as `product.cover.updatedAt`,
`product.translation.metaDescription`,
`product.parent.translation.metaDescription`,
COALESCE(
`product.translation.metaDescription`,
`product.parent.translation.metaDescription`,
`product.translation.metaDescription`
) as `product.metaDescription`,
`product.translation.name`,
`product.parent.translation.name`,
COALESCE(
`product.translation.name`, `product.parent.translation.name`,
`product.translation.name`
) as `product.name`,
`product.translation.keywords`,
`product.parent.translation.keywords`,
COALESCE(
`product.translation.keywords`,
`product.parent.translation.keywords`,
`product.translation.keywords`
) as `product.keywords`,
`product.translation.description`,
`product.parent.translation.description`,
COALESCE(
`product.translation.description`,
`product.parent.translation.description`,
`product.translation.description`
) as `product.description`,
`product.translation.metaTitle`,
`product.parent.translation.metaTitle`,
COALESCE(
`product.translation.metaTitle`,
`product.parent.translation.metaTitle`,
`product.translation.metaTitle`
) as `product.metaTitle`,
`product.translation.packUnit`,
`product.parent.translation.packUnit`,
COALESCE(
`product.translation.packUnit`,
`product.parent.translation.packUnit`,
`product.translation.packUnit`
) as `product.packUnit`,
`product.translation.packUnitPlural`,
`product.parent.translation.packUnitPlural`,
COALESCE(
`product.translation.packUnitPlural`,
`product.parent.translation.packUnitPlural`,
`product.translation.packUnitPlural`
) as `product.packUnitPlural`,
`product.translation.customSearchKeywords`,
`product.parent.translation.customSearchKeywords`,
COALESCE(
`product.translation.customSearchKeywords`,
`product.parent.translation.customSearchKeywords`,
`product.translation.customSearchKeywords`
) as `product.customSearchKeywords`,
`product.translation.slotConfig`,
`product.parent.translation.slotConfig`,
COALESCE(
`product.translation.slotConfig`,
`product.parent.translation.slotConfig`,
`product.translation.slotConfig`
) as `product.slotConfig`,
`product.translation.customFields`,
`product.parent.translation.customFields`,
COALESCE(
`product.translation.customFields`,
`product.parent.translation.customFields`,
`product.translation.customFields`
) as `product.customFields`,
`product.translation.createdAt`,
`product.parent.translation.createdAt`,
`product.translation.updatedAt`,
`product.parent.translation.updatedAt`,
`product.translation.productId`,
`product.parent.translation.productId`,
`product.translation.languageId`,
`product.parent.translation.languageId`,
`product.translation.productVersionId`,
`product.parent.translation.productVersionId`
FROM
`product`
LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id`
AND `product`.`version_id` = `product.parent`.`version_id`
LEFT JOIN (
SELECT
`product.translation`.product_id,
`product.translation`.product_version_id,
`product.translation`.meta_description as `product.translation.metaDescription`,
`product.translation`.name as `product.translation.name`,
`product.translation`.keywords as `product.translation.keywords`,
`product.translation`.description as `product.translation.description`,
`product.translation`.meta_title as `product.translation.metaTitle`,
`product.translation`.pack_unit as `product.translation.packUnit`,
`product.translation`.pack_unit_plural as `product.translation.packUnitPlural`,
`product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`,
`product.translation`.slot_config as `product.translation.slotConfig`,
`product.translation`.custom_fields as `product.translation.customFields`,
`product.translation`.created_at as `product.translation.createdAt`,
`product.translation`.updated_at as `product.translation.updatedAt`,
`product.translation`.product_id as `product.translation.productId`,
`product.translation`.language_id as `product.translation.languageId`,
`product.translation`.product_version_id as `product.translation.productVersionId`
FROM
`product_translation` `product.translation`
WHERE
`product.translation`.language_id = : languageId
) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id`
AND `product.product_translation`.product_version_id = `product`.version_id
LEFT JOIN (
SELECT
`product.parent.translation`.product_id,
`product.parent.translation`.product_version_id,
`product.parent.translation`.meta_description as `product.parent.translation.metaDescription`,
`product.parent.translation`.name as `product.parent.translation.name`,
`product.parent.translation`.keywords as `product.parent.translation.keywords`,
`product.parent.translation`.description as `product.parent.translation.description`,
`product.parent.translation`.meta_title as `product.parent.translation.metaTitle`,
`product.parent.translation`.pack_unit as `product.parent.translation.packUnit`,
`product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`,
`product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`,
`product.parent.translation`.slot_config as `product.parent.translation.slotConfig`,
`product.parent.translation`.custom_fields as `product.parent.translation.customFields`,
`product.parent.translation`.created_at as `product.parent.translation.createdAt`,
`product.parent.translation`.updated_at as `product.parent.translation.updatedAt`,
`product.parent.translation`.product_id as `product.parent.translation.productId`,
`product.parent.translation`.language_id as `product.parent.translation.languageId`,
`product.parent.translation`.product_version_id as `product.parent.translation.productVersionId`
FROM
`product_translation` `product.parent.translation`
WHERE
`product.parent.translation`.language_id = : languageId
) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id`
AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id
LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id`
LEFT JOIN `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_id`
LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id`
AND `product`.`version_id` = `product.cover`.`version_id`
LEFT JOIN `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id`
LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id`
LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`id`
LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id`
LEFT JOIN (
SELECT
`product.cover.media.translation`.media_id,
`product.cover.media.translation`.title as `product.cover.media.translation.title`,
`product.cover.media.translation`.alt as `product.cover.media.translation.alt`,
`product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`,
`product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`,
`product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`,
`product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`,
`product.cover.media.translation`.language_id as `product.cover.media.translation.languageId`
FROM
`media_translation` `product.cover.media.translation`
WHERE
`product.cover.media.translation`.language_id = : languageId
) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id`
WHERE
(
`product`.`version_id` = : version
)
AND (
`product`.`id` IN (: ids)
)
SELECT `product`.`id` as `product.id`, `product`.`version_id` as `product.versionId`, `product`.`parent_id` as `product.parentId`, `product`.`parent_version_id` as `product.parentVersionId`, COALESCE(`product`.`product_manufacturer_id`, `product.parent`.`product_manufacturer_id`) as `product.manufacturerId`, COALESCE(`product`.`product_manufacturer_version_id`, `product.parent`.`product_manufacturer_version_id`) as `product.productManufacturerVersionId`, COALESCE(`product`.`unit_id`, `product.parent`.`unit_id`) as `product.unitId`, COALESCE(`product`.`tax_id`, `product.parent`.`tax_id`) as `product.taxId`, COALESCE(`product`.`product_media_id`, `product.parent`.`product_media_id`) as `product.coverId`, COALESCE(`product`.`product_media_version_id`, `product.parent`.`product_media_version_id`) as `product.productMediaVersionId`, COALESCE(`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`) as `product.deliveryTimeId`, COALESCE(`product`.`product_feature_set_id`, `product.parent`.`product_feature_set_id`) as `product.featureSetId`, COALESCE(`product`.`canonical_product_id`, `product.parent`.`canonical_product_id`) as `product.canonicalProductId`, COALESCE(`product`.`cms_page_id`, `product.parent`.`cms_page_id`) as `product.cmsPageId`, COALESCE(`product`.`cms_page_version_id`, `product.parent`.`cms_page_version_id`) as `product.cmsPageVersionId`, `product.parent`.`price` as `product.price.inherited`, COALESCE(`product`.`price`, `product.parent`.`price`) as `product.price`, `product`.`product_number` as `product.productNumber`, `product`.`stock` as `product.stock`, COALESCE(`product`.`restock_time`, `product.parent`.`restock_time`) as `product.restockTime`, `product`.`auto_increment` as `product.autoIncrement`, COALESCE(`product`.`active`, `product.parent`.`active`) as `product.active`, `product`.`available_stock` as `product.availableStock`, `product`.`available` as `product.available`, COALESCE(`product`.`is_closeout`, `product.parent`.`is_closeout`) as `product.isCloseout`, `product`.`display_group` as `product.displayGroup`, `product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`, COALESCE(`product`.`configurator_group_config`, `product.parent`.`configurator_group_config`) as `product.configuratorGroupConfig`, COALESCE(`product`.`main_variant_id`, `product.parent`.`main_variant_id`) as `product.mainVariantId`, COALESCE(`product`.`display_parent`, `product.parent`.`display_parent`) as `product.displayParent`, `product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`, COALESCE(`product`.`variant_listing_config`, `product.parent`.`variant_listing_config`) as `product.variantListingConfig`, `product`.`variant_restrictions` as `product.variantRestrictions`, COALESCE(`product`.`manufacturer_number`, `product.parent`.`manufacturer_number`) as `product.manufacturerNumber`, COALESCE(`product`.`ean`, `product.parent`.`ean`) as `product.ean`, COALESCE(`product`.`purchase_steps`, `product.parent`.`purchase_steps`) as `product.purchaseSteps`, COALESCE(`product`.`max_purchase`, `product.parent`.`max_purchase`) as `product.maxPurchase`, COALESCE(`product`.`min_purchase`, `product.parent`.`min_purchase`) as `product.minPurchase`, COALESCE(`product`.`purchase_unit`, `product.parent`.`purchase_unit`) as `product.purchaseUnit`, COALESCE(`product`.`reference_unit`, `product.parent`.`reference_unit`) as `product.referenceUnit`, COALESCE(`product`.`shipping_free`, `product.parent`.`shipping_free`) as `product.shippingFree`, `product.parent`.`purchase_prices` as `product.purchasePrices.inherited`, COALESCE(`product`.`purchase_prices`, `product.parent`.`purchase_prices`) as `product.purchasePrices`, COALESCE(`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`) as `product.markAsTopseller`, COALESCE(`product`.`weight`, `product.parent`.`weight`) as `product.weight`, COALESCE(`product`.`width`, `product.parent`.`width`) as `product.width`, COALESCE(`product`.`height`, `product.parent`.`height`) as `product.height`, COALESCE(`product`.`length`, `product.parent`.`length`) as `product.length`, COALESCE(`product`.`release_date`, `product.parent`.`release_date`) as `product.releaseDate`, COALESCE(`product`.`rating_average`, `product.parent`.`rating_average`) as `product.ratingAverage`, `product.parent`.`category_tree` as `product.categoryTree.inherited`, COALESCE(`product`.`category_tree`, `product.parent`.`category_tree`) as `product.categoryTree`, `product.parent`.`property_ids` as `product.propertyIds.inherited`, COALESCE(`product`.`property_ids`, `product.parent`.`property_ids`) as `product.propertyIds`, `product.parent`.`option_ids` as `product.optionIds.inherited`, COALESCE(`product`.`option_ids`, `product.parent`.`option_ids`) as `product.optionIds`, `product.parent`.`stream_ids` as `product.streamIds.inherited`, COALESCE(`product`.`stream_ids`, `product.parent`.`stream_ids`) as `product.streamIds`, `product.parent`.`tag_ids` as `product.tagIds.inherited`, COALESCE(`product`.`tag_ids`, `product.parent`.`tag_ids`) as `product.tagIds`, `product.parent`.`category_ids` as `product.categoryIds.inherited`, COALESCE(`product`.`category_ids`, `product.parent`.`category_ids`) as `product.categoryIds`, `product`.`child_count` as `product.childCount`, COALESCE(`product`.`custom_field_set_selection_active`, `product.parent`.`custom_field_set_selection_active`) as `product.customFieldSetSelectionActive`, `product`.`sales` as `product.sales`, `product`.`states` as `product.states`, `product.tax`.`id` as `product.tax.id`, `product.tax`.`tax_rate` as `product.tax.taxRate`, `product.tax`.`name` as `product.tax.name`, `product.tax`.`position` as `product.tax.position`, `product.tax`.`custom_fields` as `product.tax.customFields`, `product.tax`.`created_at` as `product.tax.createdAt`, `product.tax`.`updated_at` as `product.tax.updatedAt`, `product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`, COALESCE(`product`.`cheapest_price`, `product.parent`.`cheapest_price`) as `product.cheapestPrice`, `product`.`created_at` as `product.createdAt`, `product`.`updated_at` as `product.updatedAt`, `product.bundle`.`id` as `product.bundle.id`, `product.bundle`.`product_id` as `product.bundle.productId`, `product.bundle`.`product_version_id` as `product.bundle.productVersionId`, `product.bundle`.`name` as `product.bundle.name`, `product.bundle`.`price_type` as `product.bundle.priceType`, `product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`, `product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`, `product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`, `product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`, `product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`, `product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`, `product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`, `product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`, `product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`, `product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`, `product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`, `product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`, `product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`, `product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`, `product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`, `product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`, `product.bundle`.`created_at` as `product.bundle.createdAt`, `product.bundle`.`updated_at` as `product.bundle.updatedAt`, `product.cover`.`id` as `product.cover.id`, `product.cover`.`version_id` as `product.cover.versionId`, `product.cover`.`product_id` as `product.cover.productId`, `product.cover`.`product_version_id` as `product.cover.productVersionId`, `product.cover`.`media_id` as `product.cover.mediaId`, `product.cover`.`position` as `product.cover.position`, `product.cover.media`.`id` as `product.cover.media.id`, `product.cover.media`.`user_id` as `product.cover.media.userId`, `product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`, `product.cover.media`.`mime_type` as `product.cover.media.mimeType`, `product.cover.media`.`file_extension` as `product.cover.media.fileExtension`, `product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`, `product.cover.media`.`file_name` as `product.cover.media.fileName`, `product.cover.media`.`file_size` as `product.cover.media.fileSize`, `product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`, `product.cover.media`.`meta_data` as `product.cover.media.metaData`, `product.cover.media`.`private` as `product.cover.media.private`, `product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`, `product.cover.media`.`created_at` as `product.cover.media.createdAt`, `product.cover.media`.`updated_at` as `product.cover.media.updatedAt`, `product.cover.media.translation.title`, COALESCE(`product.cover.media.translation.title`,`product.cover.media.translation.title`) as `product.cover.media.title`, `product.cover.media.translation.alt`, COALESCE(`product.cover.media.translation.alt`,`product.cover.media.translation.alt`) as `product.cover.media.alt`, `product.cover.media.translation.customFields`, COALESCE(`product.cover.media.translation.customFields`,`product.cover.media.translation.customFields`) as `product.cover.media.customFields`, `product.cover.media.translation.createdAt`, `product.cover.media.translation.updatedAt`, `product.cover.media.translation.mediaId`, `product.cover.media.translation.languageId`, `product.cover`.`custom_fields` as `product.cover.customFields`, `product.cover`.`created_at` as `product.cover.createdAt`, `product.cover`.`updated_at` as `product.cover.updatedAt`, `product.translation.metaDescription`, `product.parent.translation.metaDescription`, COALESCE(`product.translation.metaDescription`,`product.parent.translation.metaDescription`,`product.translation.metaDescription`) as `product.metaDescription`, `product.translation.name`, `product.parent.translation.name`, COALESCE(`product.translation.name`,`product.parent.translation.name`,`product.translation.name`) as `product.name`, `product.translation.keywords`, `product.parent.translation.keywords`, COALESCE(`product.translation.keywords`,`product.parent.translation.keywords`,`product.translation.keywords`) as `product.keywords`, `product.translation.description`, `product.parent.translation.description`, COALESCE(`product.translation.description`,`product.parent.translation.description`,`product.translation.description`) as `product.description`, `product.translation.metaTitle`, `product.parent.translation.metaTitle`, COALESCE(`product.translation.metaTitle`,`product.parent.translation.metaTitle`,`product.translation.metaTitle`) as `product.metaTitle`, `product.translation.packUnit`, `product.parent.translation.packUnit`, COALESCE(`product.translation.packUnit`,`product.parent.translation.packUnit`,`product.translation.packUnit`) as `product.packUnit`, `product.translation.packUnitPlural`, `product.parent.translation.packUnitPlural`, COALESCE(`product.translation.packUnitPlural`,`product.parent.translation.packUnitPlural`,`product.translation.packUnitPlural`) as `product.packUnitPlural`, `product.translation.customSearchKeywords`, `product.parent.translation.customSearchKeywords`, COALESCE(`product.translation.customSearchKeywords`,`product.parent.translation.customSearchKeywords`,`product.translation.customSearchKeywords`) as `product.customSearchKeywords`, `product.translation.slotConfig`, `product.parent.translation.slotConfig`, COALESCE(`product.translation.slotConfig`,`product.parent.translation.slotConfig`,`product.translation.slotConfig`) as `product.slotConfig`, `product.translation.customFields`, `product.parent.translation.customFields`, COALESCE(`product.translation.customFields`,`product.parent.translation.customFields`,`product.translation.customFields`) as `product.customFields`, `product.translation.createdAt`, `product.parent.translation.createdAt`, `product.translation.updatedAt`, `product.parent.translation.updatedAt`, `product.translation.productId`, `product.parent.translation.productId`, `product.translation.languageId`, `product.parent.translation.languageId`, `product.translation.productVersionId`, `product.parent.translation.productVersionId` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN (SELECT `product.translation`.product_id, `product.translation`.product_version_id, `product.translation`.meta_description as `product.translation.metaDescription`, `product.translation`.name as `product.translation.name`, `product.translation`.keywords as `product.translation.keywords`, `product.translation`.description as `product.translation.description`, `product.translation`.meta_title as `product.translation.metaTitle`, `product.translation`.pack_unit as `product.translation.packUnit`, `product.translation`.pack_unit_plural as `product.translation.packUnitPlural`, `product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`, `product.translation`.slot_config as `product.translation.slotConfig`, `product.translation`.custom_fields as `product.translation.customFields`, `product.translation`.created_at as `product.translation.createdAt`, `product.translation`.updated_at as `product.translation.updatedAt`, `product.translation`.product_id as `product.translation.productId`, `product.translation`.language_id as `product.translation.languageId`, `product.translation`.product_version_id as `product.translation.productVersionId` FROM `product_translation` `product.translation` WHERE `product.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id` AND `product.product_translation`.product_version_id = `product`.version_id LEFT JOIN (SELECT `product.parent.translation`.product_id, `product.parent.translation`.product_version_id, `product.parent.translation`.meta_description as `product.parent.translation.metaDescription`, `product.parent.translation`.name as `product.parent.translation.name`, `product.parent.translation`.keywords as `product.parent.translation.keywords`, `product.parent.translation`.description as `product.parent.translation.description`, `product.parent.translation`.meta_title as `product.parent.translation.metaTitle`, `product.parent.translation`.pack_unit as `product.parent.translation.packUnit`, `product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`, `product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`, `product.parent.translation`.slot_config as `product.parent.translation.slotConfig`, `product.parent.translation`.custom_fields as `product.parent.translation.customFields`, `product.parent.translation`.created_at as `product.parent.translation.createdAt`, `product.parent.translation`.updated_at as `product.parent.translation.updatedAt`, `product.parent.translation`.product_id as `product.parent.translation.productId`, `product.parent.translation`.language_id as `product.parent.translation.languageId`, `product.parent.translation`.product_version_id as `product.parent.translation.productVersionId` FROM `product_translation` `product.parent.translation` WHERE `product.parent.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id` AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id` LEFT JOIN `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_id` LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id` AND `product`.`version_id` = `product.cover`.`version_id` LEFT JOIN `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`id` LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id` LEFT JOIN (SELECT `product.cover.media.translation`.media_id, `product.cover.media.translation`.title as `product.cover.media.translation.title`, `product.cover.media.translation`.alt as `product.cover.media.translation.alt`, `product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`, `product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`, `product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`, `product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`, `product.cover.media.translation`.language_id as `product.cover.media.translation.languageId` FROM `media_translation` `product.cover.media.translation` WHERE `product.cover.media.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id` WHERE (`product`.`version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425) AND (`product`.`id` IN (0x1AC13C0695234DB1962D5899CC4EA096));
array:51 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 316)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetch (line 148)"
4 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 93)"
5 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::read (line 257)"
6 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::read (line 286)"
7 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::_search (line 106)"
8 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::search (line 51)"
9 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepositoryForwardCompatibilityDecorator::search (line 103)"
10 => "Bodymed\Webshop\StoreFront\Subscriber\ProductExtensionSubscriber::addParentCover (line 230)"
11 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
12 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
13 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
14 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
15 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
16 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 33)"
17 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
18 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 208)"
19 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::read (line 133)"
20 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 49)"
21 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariantsOfProduct (line 30)"
22 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariants (line 224)"
23 => "Bodymed\Webshop\Core\Content\Product\Cms\ProductSliderCmsElementResolver::enrich (line 99)"
24 => "Shopware\Core\Content\Cms\DataResolver\CmsSlotsDataResolver::resolve (line 104)"
25 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::loadSlotData (line 94)"
26 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::load (line 102)"
27 => "Shopware\Core\Content\Category\SalesChannel\CategoryRoute::load (line 103)"
28 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 350)"
29 => "Shopware\Core\System\SystemConfig\SystemConfigService::trace (line 44)"
30 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 120)"
31 => "Shopware\Core\Framework\Adapter\Translation\Translator::trace (line 45)"
32 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 46)"
33 => "Shopware\Core\Framework\Adapter\Cache\CacheTagCollection::trace (line 46)"
34 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::trace (line 41)"
35 => "Shopware\Storefront\Framework\Cache\CacheTracer::Shopware\Storefront\Framework\Cache\{closure} (line 59)"
36 => "Shopware\Storefront\Theme\ThemeConfigValueAccessor::trace (line 42)"
37 => "Shopware\Storefront\Framework\Cache\CacheTracer::trace (line 104)"
38 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 72)"
39 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
40 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 109)"
41 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 59)"
42 => "Shopware\Core\Profiling\Profiler::trace (line 112)"
43 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::load (line 66)"
44 => "Shopware\Storefront\Page\Navigation\NavigationPageLoader::load (line 48)"
45 => "Shopware\Storefront\Controller\NavigationController::home (line 163)"
46 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
47 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
48 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
49 => "Shopware\Core\HttpKernel::doHandle (line 81)"
50 => "Shopware\Core\HttpKernel::handle (line 75)"
]
|
53 |
0.73 ms |
SELECT * FROM sales_channel_api_context WHERE (sales_channel_id = :salesChannelId) AND (token = :token) LIMIT 1
SELECT * FROM sales_channel_api_context WHERE (sales_channel_id = 0x620A2217F7474E619CB00AD39E804CCA) AND (token = 'FwsxT47353Zxmr7lp0KSfYcVNkg5VpYR') LIMIT 1;
array:58 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 165)"
3 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextPersister::load (line 69)"
4 => "Bodymed\Webshop\Core\Subscriber\ProductSubscriber::addCustomerProductFeatureExtension (line 230)"
5 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
6 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
7 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
8 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
9 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
10 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 33)"
11 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
12 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 269)"
13 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::read (line 286)"
14 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::_search (line 106)"
15 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::search (line 51)"
16 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepositoryForwardCompatibilityDecorator::search (line 103)"
17 => "Bodymed\Webshop\StoreFront\Subscriber\ProductExtensionSubscriber::addParentCover (line 230)"
18 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
19 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
20 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
21 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
22 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
23 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 33)"
24 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
25 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 208)"
26 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::read (line 133)"
27 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 49)"
28 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariantsOfProduct (line 30)"
29 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariants (line 224)"
30 => "Bodymed\Webshop\Core\Content\Product\Cms\ProductSliderCmsElementResolver::enrich (line 99)"
31 => "Shopware\Core\Content\Cms\DataResolver\CmsSlotsDataResolver::resolve (line 104)"
32 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::loadSlotData (line 94)"
33 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::load (line 102)"
34 => "Shopware\Core\Content\Category\SalesChannel\CategoryRoute::load (line 103)"
35 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 350)"
36 => "Shopware\Core\System\SystemConfig\SystemConfigService::trace (line 44)"
37 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 120)"
38 => "Shopware\Core\Framework\Adapter\Translation\Translator::trace (line 45)"
39 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 46)"
40 => "Shopware\Core\Framework\Adapter\Cache\CacheTagCollection::trace (line 46)"
41 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::trace (line 41)"
42 => "Shopware\Storefront\Framework\Cache\CacheTracer::Shopware\Storefront\Framework\Cache\{closure} (line 59)"
43 => "Shopware\Storefront\Theme\ThemeConfigValueAccessor::trace (line 42)"
44 => "Shopware\Storefront\Framework\Cache\CacheTracer::trace (line 104)"
45 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 72)"
46 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
47 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 109)"
48 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 59)"
49 => "Shopware\Core\Profiling\Profiler::trace (line 112)"
50 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::load (line 66)"
51 => "Shopware\Storefront\Page\Navigation\NavigationPageLoader::load (line 48)"
52 => "Shopware\Storefront\Controller\NavigationController::home (line 163)"
53 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
54 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
55 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
56 => "Shopware\Core\HttpKernel::doHandle (line 81)"
57 => "Shopware\Core\HttpKernel::handle (line 75)"
]
|
54 |
27.12 ms |
SELECT `product`.`id` as `product.id`, `product`.`version_id` as `product.versionId`, `product`.`parent_id` as `product.parentId`, `product`.`parent_version_id` as `product.parentVersionId`, COALESCE(`product`.`product_manufacturer_id`, `product.parent`.`product_manufacturer_id`) as `product.manufacturerId`, COALESCE(`product`.`product_manufacturer_version_id`, `product.parent`.`product_manufacturer_version_id`) as `product.productManufacturerVersionId`, COALESCE(`product`.`unit_id`, `product.parent`.`unit_id`) as `product.unitId`, COALESCE(`product`.`tax_id`, `product.parent`.`tax_id`) as `product.taxId`, COALESCE(`product`.`product_media_id`, `product.parent`.`product_media_id`) as `product.coverId`, COALESCE(`product`.`product_media_version_id`, `product.parent`.`product_media_version_id`) as `product.productMediaVersionId`, COALESCE(`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`) as `product.deliveryTimeId`, COALESCE(`product`.`product_feature_set_id`, `product.parent`.`product_feature_set_id`) as `product.featureSetId`, COALESCE(`product`.`canonical_product_id`, `product.parent`.`canonical_product_id`) as `product.canonicalProductId`, COALESCE(`product`.`cms_page_id`, `product.parent`.`cms_page_id`) as `product.cmsPageId`, COALESCE(`product`.`cms_page_version_id`, `product.parent`.`cms_page_version_id`) as `product.cmsPageVersionId`, `product.parent`.`price` as `product.price.inherited`, COALESCE(`product`.`price`, `product.parent`.`price`) as `product.price`, `product`.`product_number` as `product.productNumber`, `product`.`stock` as `product.stock`, COALESCE(`product`.`restock_time`, `product.parent`.`restock_time`) as `product.restockTime`, `product`.`auto_increment` as `product.autoIncrement`, COALESCE(`product`.`active`, `product.parent`.`active`) as `product.active`, `product`.`available_stock` as `product.availableStock`, `product`.`available` as `product.available`, COALESCE(`product`.`is_closeout`, `product.parent`.`is_closeout`) as `product.isCloseout`, `product`.`display_group` as `product.displayGroup`, `product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`, COALESCE(`product`.`configurator_group_config`, `product.parent`.`configurator_group_config`) as `product.configuratorGroupConfig`, COALESCE(`product`.`main_variant_id`, `product.parent`.`main_variant_id`) as `product.mainVariantId`, COALESCE(`product`.`display_parent`, `product.parent`.`display_parent`) as `product.displayParent`, `product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`, COALESCE(`product`.`variant_listing_config`, `product.parent`.`variant_listing_config`) as `product.variantListingConfig`, `product`.`variant_restrictions` as `product.variantRestrictions`, COALESCE(`product`.`manufacturer_number`, `product.parent`.`manufacturer_number`) as `product.manufacturerNumber`, COALESCE(`product`.`ean`, `product.parent`.`ean`) as `product.ean`, COALESCE(`product`.`purchase_steps`, `product.parent`.`purchase_steps`) as `product.purchaseSteps`, COALESCE(`product`.`max_purchase`, `product.parent`.`max_purchase`) as `product.maxPurchase`, COALESCE(`product`.`min_purchase`, `product.parent`.`min_purchase`) as `product.minPurchase`, COALESCE(`product`.`purchase_unit`, `product.parent`.`purchase_unit`) as `product.purchaseUnit`, COALESCE(`product`.`reference_unit`, `product.parent`.`reference_unit`) as `product.referenceUnit`, COALESCE(`product`.`shipping_free`, `product.parent`.`shipping_free`) as `product.shippingFree`, `product.parent`.`purchase_prices` as `product.purchasePrices.inherited`, COALESCE(`product`.`purchase_prices`, `product.parent`.`purchase_prices`) as `product.purchasePrices`, COALESCE(`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`) as `product.markAsTopseller`, COALESCE(`product`.`weight`, `product.parent`.`weight`) as `product.weight`, COALESCE(`product`.`width`, `product.parent`.`width`) as `product.width`, COALESCE(`product`.`height`, `product.parent`.`height`) as `product.height`, COALESCE(`product`.`length`, `product.parent`.`length`) as `product.length`, COALESCE(`product`.`release_date`, `product.parent`.`release_date`) as `product.releaseDate`, COALESCE(`product`.`rating_average`, `product.parent`.`rating_average`) as `product.ratingAverage`, `product.parent`.`category_tree` as `product.categoryTree.inherited`, COALESCE(`product`.`category_tree`, `product.parent`.`category_tree`) as `product.categoryTree`, `product.parent`.`property_ids` as `product.propertyIds.inherited`, COALESCE(`product`.`property_ids`, `product.parent`.`property_ids`) as `product.propertyIds`, `product.parent`.`option_ids` as `product.optionIds.inherited`, COALESCE(`product`.`option_ids`, `product.parent`.`option_ids`) as `product.optionIds`, `product.parent`.`stream_ids` as `product.streamIds.inherited`, COALESCE(`product`.`stream_ids`, `product.parent`.`stream_ids`) as `product.streamIds`, `product.parent`.`tag_ids` as `product.tagIds.inherited`, COALESCE(`product`.`tag_ids`, `product.parent`.`tag_ids`) as `product.tagIds`, `product.parent`.`category_ids` as `product.categoryIds.inherited`, COALESCE(`product`.`category_ids`, `product.parent`.`category_ids`) as `product.categoryIds`, `product`.`child_count` as `product.childCount`, COALESCE(`product`.`custom_field_set_selection_active`, `product.parent`.`custom_field_set_selection_active`) as `product.customFieldSetSelectionActive`, `product`.`sales` as `product.sales`, `product`.`states` as `product.states`, `product.tax`.`id` as `product.tax.id`, `product.tax`.`tax_rate` as `product.tax.taxRate`, `product.tax`.`name` as `product.tax.name`, `product.tax`.`position` as `product.tax.position`, `product.tax`.`custom_fields` as `product.tax.customFields`, `product.tax`.`created_at` as `product.tax.createdAt`, `product.tax`.`updated_at` as `product.tax.updatedAt`, `product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`, COALESCE(`product`.`cheapest_price`, `product.parent`.`cheapest_price`) as `product.cheapestPrice`, `product`.`created_at` as `product.createdAt`, `product`.`updated_at` as `product.updatedAt`, `product.bundle`.`id` as `product.bundle.id`, `product.bundle`.`product_id` as `product.bundle.productId`, `product.bundle`.`product_version_id` as `product.bundle.productVersionId`, `product.bundle`.`name` as `product.bundle.name`, `product.bundle`.`price_type` as `product.bundle.priceType`, `product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`, `product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`, `product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`, `product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`, `product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`, `product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`, `product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`, `product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`, `product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`, `product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`, `product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`, `product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`, `product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`, `product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`, `product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`, `product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`, `product.bundle`.`created_at` as `product.bundle.createdAt`, `product.bundle`.`updated_at` as `product.bundle.updatedAt`, `product.cover`.`id` as `product.cover.id`, `product.cover`.`version_id` as `product.cover.versionId`, `product.cover`.`product_id` as `product.cover.productId`, `product.cover`.`product_version_id` as `product.cover.productVersionId`, `product.cover`.`media_id` as `product.cover.mediaId`, `product.cover`.`position` as `product.cover.position`, `product.cover.media`.`id` as `product.cover.media.id`, `product.cover.media`.`user_id` as `product.cover.media.userId`, `product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`, `product.cover.media`.`mime_type` as `product.cover.media.mimeType`, `product.cover.media`.`file_extension` as `product.cover.media.fileExtension`, `product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`, `product.cover.media`.`file_name` as `product.cover.media.fileName`, `product.cover.media`.`file_size` as `product.cover.media.fileSize`, `product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`, `product.cover.media`.`meta_data` as `product.cover.media.metaData`, `product.cover.media`.`private` as `product.cover.media.private`, `product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`, `product.cover.media`.`created_at` as `product.cover.media.createdAt`, `product.cover.media`.`updated_at` as `product.cover.media.updatedAt`, `product.cover.media.translation.title`, COALESCE(`product.cover.media.translation.title`,`product.cover.media.translation.title`) as `product.cover.media.title`, `product.cover.media.translation.alt`, COALESCE(`product.cover.media.translation.alt`,`product.cover.media.translation.alt`) as `product.cover.media.alt`, `product.cover.media.translation.customFields`, COALESCE(`product.cover.media.translation.customFields`,`product.cover.media.translation.customFields`) as `product.cover.media.customFields`, `product.cover.media.translation.createdAt`, `product.cover.media.translation.updatedAt`, `product.cover.media.translation.mediaId`, `product.cover.media.translation.languageId`, `product.cover`.`custom_fields` as `product.cover.customFields`, `product.cover`.`created_at` as `product.cover.createdAt`, `product.cover`.`updated_at` as `product.cover.updatedAt`, `product.translation.metaDescription`, `product.parent.translation.metaDescription`, COALESCE(`product.translation.metaDescription`,`product.parent.translation.metaDescription`,`product.translation.metaDescription`) as `product.metaDescription`, `product.translation.name`, `product.parent.translation.name`, COALESCE(`product.translation.name`,`product.parent.translation.name`,`product.translation.name`) as `product.name`, `product.translation.keywords`, `product.parent.translation.keywords`, COALESCE(`product.translation.keywords`,`product.parent.translation.keywords`,`product.translation.keywords`) as `product.keywords`, `product.translation.description`, `product.parent.translation.description`, COALESCE(`product.translation.description`,`product.parent.translation.description`,`product.translation.description`) as `product.description`, `product.translation.metaTitle`, `product.parent.translation.metaTitle`, COALESCE(`product.translation.metaTitle`,`product.parent.translation.metaTitle`,`product.translation.metaTitle`) as `product.metaTitle`, `product.translation.packUnit`, `product.parent.translation.packUnit`, COALESCE(`product.translation.packUnit`,`product.parent.translation.packUnit`,`product.translation.packUnit`) as `product.packUnit`, `product.translation.packUnitPlural`, `product.parent.translation.packUnitPlural`, COALESCE(`product.translation.packUnitPlural`,`product.parent.translation.packUnitPlural`,`product.translation.packUnitPlural`) as `product.packUnitPlural`, `product.translation.customSearchKeywords`, `product.parent.translation.customSearchKeywords`, COALESCE(`product.translation.customSearchKeywords`,`product.parent.translation.customSearchKeywords`,`product.translation.customSearchKeywords`) as `product.customSearchKeywords`, `product.translation.slotConfig`, `product.parent.translation.slotConfig`, COALESCE(`product.translation.slotConfig`,`product.parent.translation.slotConfig`,`product.translation.slotConfig`) as `product.slotConfig`, `product.translation.customFields`, `product.parent.translation.customFields`, COALESCE(`product.translation.customFields`,`product.parent.translation.customFields`,`product.translation.customFields`) as `product.customFields`, `product.translation.createdAt`, `product.parent.translation.createdAt`, `product.translation.updatedAt`, `product.parent.translation.updatedAt`, `product.translation.productId`, `product.parent.translation.productId`, `product.translation.languageId`, `product.parent.translation.languageId`, `product.translation.productVersionId`, `product.parent.translation.productVersionId` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN (SELECT `product.translation`.product_id, `product.translation`.product_version_id, `product.translation`.meta_description as `product.translation.metaDescription`, `product.translation`.name as `product.translation.name`, `product.translation`.keywords as `product.translation.keywords`, `product.translation`.description as `product.translation.description`, `product.translation`.meta_title as `product.translation.metaTitle`, `product.translation`.pack_unit as `product.translation.packUnit`, `product.translation`.pack_unit_plural as `product.translation.packUnitPlural`, `product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`, `product.translation`.slot_config as `product.translation.slotConfig`, `product.translation`.custom_fields as `product.translation.customFields`, `product.translation`.created_at as `product.translation.createdAt`, `product.translation`.updated_at as `product.translation.updatedAt`, `product.translation`.product_id as `product.translation.productId`, `product.translation`.language_id as `product.translation.languageId`, `product.translation`.product_version_id as `product.translation.productVersionId` FROM `product_translation` `product.translation` WHERE `product.translation`.language_id = :languageId) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id` AND `product.product_translation`.product_version_id = `product`.version_id LEFT JOIN (SELECT `product.parent.translation`.product_id, `product.parent.translation`.product_version_id, `product.parent.translation`.meta_description as `product.parent.translation.metaDescription`, `product.parent.translation`.name as `product.parent.translation.name`, `product.parent.translation`.keywords as `product.parent.translation.keywords`, `product.parent.translation`.description as `product.parent.translation.description`, `product.parent.translation`.meta_title as `product.parent.translation.metaTitle`, `product.parent.translation`.pack_unit as `product.parent.translation.packUnit`, `product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`, `product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`, `product.parent.translation`.slot_config as `product.parent.translation.slotConfig`, `product.parent.translation`.custom_fields as `product.parent.translation.customFields`, `product.parent.translation`.created_at as `product.parent.translation.createdAt`, `product.parent.translation`.updated_at as `product.parent.translation.updatedAt`, `product.parent.translation`.product_id as `product.parent.translation.productId`, `product.parent.translation`.language_id as `product.parent.translation.languageId`, `product.parent.translation`.product_version_id as `product.parent.translation.productVersionId` FROM `product_translation` `product.parent.translation` WHERE `product.parent.translation`.language_id = :languageId) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id` AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id` LEFT JOIN `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_id` LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id` AND `product`.`version_id` = `product.cover`.`version_id` LEFT JOIN `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`id` LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id` LEFT JOIN (SELECT `product.cover.media.translation`.media_id, `product.cover.media.translation`.title as `product.cover.media.translation.title`, `product.cover.media.translation`.alt as `product.cover.media.translation.alt`, `product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`, `product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`, `product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`, `product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`, `product.cover.media.translation`.language_id as `product.cover.media.translation.languageId` FROM `media_translation` `product.cover.media.translation` WHERE `product.cover.media.translation`.language_id = :languageId) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id` WHERE (`product`.`version_id` = :version) AND (`product`.`id` IN (:ids))
SELECT
`product`.`id` as `product.id`,
`product`.`version_id` as `product.versionId`,
`product`.`parent_id` as `product.parentId`,
`product`.`parent_version_id` as `product.parentVersionId`,
COALESCE(
`product`.`product_manufacturer_id`,
`product.parent`.`product_manufacturer_id`
) as `product.manufacturerId`,
COALESCE(
`product`.`product_manufacturer_version_id`,
`product.parent`.`product_manufacturer_version_id`
) as `product.productManufacturerVersionId`,
COALESCE(
`product`.`unit_id`, `product.parent`.`unit_id`
) as `product.unitId`,
COALESCE(
`product`.`tax_id`, `product.parent`.`tax_id`
) as `product.taxId`,
COALESCE(
`product`.`product_media_id`, `product.parent`.`product_media_id`
) as `product.coverId`,
COALESCE(
`product`.`product_media_version_id`,
`product.parent`.`product_media_version_id`
) as `product.productMediaVersionId`,
COALESCE(
`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`
) as `product.deliveryTimeId`,
COALESCE(
`product`.`product_feature_set_id`,
`product.parent`.`product_feature_set_id`
) as `product.featureSetId`,
COALESCE(
`product`.`canonical_product_id`,
`product.parent`.`canonical_product_id`
) as `product.canonicalProductId`,
COALESCE(
`product`.`cms_page_id`, `product.parent`.`cms_page_id`
) as `product.cmsPageId`,
COALESCE(
`product`.`cms_page_version_id`,
`product.parent`.`cms_page_version_id`
) as `product.cmsPageVersionId`,
`product.parent`.`price` as `product.price.inherited`,
COALESCE(
`product`.`price`, `product.parent`.`price`
) as `product.price`,
`product`.`product_number` as `product.productNumber`,
`product`.`stock` as `product.stock`,
COALESCE(
`product`.`restock_time`, `product.parent`.`restock_time`
) as `product.restockTime`,
`product`.`auto_increment` as `product.autoIncrement`,
COALESCE(
`product`.`active`, `product.parent`.`active`
) as `product.active`,
`product`.`available_stock` as `product.availableStock`,
`product`.`available` as `product.available`,
COALESCE(
`product`.`is_closeout`, `product.parent`.`is_closeout`
) as `product.isCloseout`,
`product`.`display_group` as `product.displayGroup`,
`product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`,
COALESCE(
`product`.`configurator_group_config`,
`product.parent`.`configurator_group_config`
) as `product.configuratorGroupConfig`,
COALESCE(
`product`.`main_variant_id`, `product.parent`.`main_variant_id`
) as `product.mainVariantId`,
COALESCE(
`product`.`display_parent`, `product.parent`.`display_parent`
) as `product.displayParent`,
`product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`,
COALESCE(
`product`.`variant_listing_config`,
`product.parent`.`variant_listing_config`
) as `product.variantListingConfig`,
`product`.`variant_restrictions` as `product.variantRestrictions`,
COALESCE(
`product`.`manufacturer_number`,
`product.parent`.`manufacturer_number`
) as `product.manufacturerNumber`,
COALESCE(
`product`.`ean`, `product.parent`.`ean`
) as `product.ean`,
COALESCE(
`product`.`purchase_steps`, `product.parent`.`purchase_steps`
) as `product.purchaseSteps`,
COALESCE(
`product`.`max_purchase`, `product.parent`.`max_purchase`
) as `product.maxPurchase`,
COALESCE(
`product`.`min_purchase`, `product.parent`.`min_purchase`
) as `product.minPurchase`,
COALESCE(
`product`.`purchase_unit`, `product.parent`.`purchase_unit`
) as `product.purchaseUnit`,
COALESCE(
`product`.`reference_unit`, `product.parent`.`reference_unit`
) as `product.referenceUnit`,
COALESCE(
`product`.`shipping_free`, `product.parent`.`shipping_free`
) as `product.shippingFree`,
`product.parent`.`purchase_prices` as `product.purchasePrices.inherited`,
COALESCE(
`product`.`purchase_prices`, `product.parent`.`purchase_prices`
) as `product.purchasePrices`,
COALESCE(
`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`
) as `product.markAsTopseller`,
COALESCE(
`product`.`weight`, `product.parent`.`weight`
) as `product.weight`,
COALESCE(
`product`.`width`, `product.parent`.`width`
) as `product.width`,
COALESCE(
`product`.`height`, `product.parent`.`height`
) as `product.height`,
COALESCE(
`product`.`length`, `product.parent`.`length`
) as `product.length`,
COALESCE(
`product`.`release_date`, `product.parent`.`release_date`
) as `product.releaseDate`,
COALESCE(
`product`.`rating_average`, `product.parent`.`rating_average`
) as `product.ratingAverage`,
`product.parent`.`category_tree` as `product.categoryTree.inherited`,
COALESCE(
`product`.`category_tree`, `product.parent`.`category_tree`
) as `product.categoryTree`,
`product.parent`.`property_ids` as `product.propertyIds.inherited`,
COALESCE(
`product`.`property_ids`, `product.parent`.`property_ids`
) as `product.propertyIds`,
`product.parent`.`option_ids` as `product.optionIds.inherited`,
COALESCE(
`product`.`option_ids`, `product.parent`.`option_ids`
) as `product.optionIds`,
`product.parent`.`stream_ids` as `product.streamIds.inherited`,
COALESCE(
`product`.`stream_ids`, `product.parent`.`stream_ids`
) as `product.streamIds`,
`product.parent`.`tag_ids` as `product.tagIds.inherited`,
COALESCE(
`product`.`tag_ids`, `product.parent`.`tag_ids`
) as `product.tagIds`,
`product.parent`.`category_ids` as `product.categoryIds.inherited`,
COALESCE(
`product`.`category_ids`, `product.parent`.`category_ids`
) as `product.categoryIds`,
`product`.`child_count` as `product.childCount`,
COALESCE(
`product`.`custom_field_set_selection_active`,
`product.parent`.`custom_field_set_selection_active`
) as `product.customFieldSetSelectionActive`,
`product`.`sales` as `product.sales`,
`product`.`states` as `product.states`,
`product.tax`.`id` as `product.tax.id`,
`product.tax`.`tax_rate` as `product.tax.taxRate`,
`product.tax`.`name` as `product.tax.name`,
`product.tax`.`position` as `product.tax.position`,
`product.tax`.`custom_fields` as `product.tax.customFields`,
`product.tax`.`created_at` as `product.tax.createdAt`,
`product.tax`.`updated_at` as `product.tax.updatedAt`,
`product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`,
COALESCE(
`product`.`cheapest_price`, `product.parent`.`cheapest_price`
) as `product.cheapestPrice`,
`product`.`created_at` as `product.createdAt`,
`product`.`updated_at` as `product.updatedAt`,
`product.bundle`.`id` as `product.bundle.id`,
`product.bundle`.`product_id` as `product.bundle.productId`,
`product.bundle`.`product_version_id` as `product.bundle.productVersionId`,
`product.bundle`.`name` as `product.bundle.name`,
`product.bundle`.`price_type` as `product.bundle.priceType`,
`product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`,
`product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`,
`product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`,
`product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`,
`product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`,
`product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`,
`product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`,
`product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`,
`product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`,
`product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`,
`product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`,
`product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`,
`product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`,
`product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`,
`product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`,
`product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`,
`product.bundle`.`created_at` as `product.bundle.createdAt`,
`product.bundle`.`updated_at` as `product.bundle.updatedAt`,
`product.cover`.`id` as `product.cover.id`,
`product.cover`.`version_id` as `product.cover.versionId`,
`product.cover`.`product_id` as `product.cover.productId`,
`product.cover`.`product_version_id` as `product.cover.productVersionId`,
`product.cover`.`media_id` as `product.cover.mediaId`,
`product.cover`.`position` as `product.cover.position`,
`product.cover.media`.`id` as `product.cover.media.id`,
`product.cover.media`.`user_id` as `product.cover.media.userId`,
`product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`,
`product.cover.media`.`mime_type` as `product.cover.media.mimeType`,
`product.cover.media`.`file_extension` as `product.cover.media.fileExtension`,
`product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`,
`product.cover.media`.`file_name` as `product.cover.media.fileName`,
`product.cover.media`.`file_size` as `product.cover.media.fileSize`,
`product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`,
`product.cover.media`.`meta_data` as `product.cover.media.metaData`,
`product.cover.media`.`private` as `product.cover.media.private`,
`product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`,
`product.cover.media`.`created_at` as `product.cover.media.createdAt`,
`product.cover.media`.`updated_at` as `product.cover.media.updatedAt`,
`product.cover.media.translation.title`,
COALESCE(
`product.cover.media.translation.title`,
`product.cover.media.translation.title`
) as `product.cover.media.title`,
`product.cover.media.translation.alt`,
COALESCE(
`product.cover.media.translation.alt`,
`product.cover.media.translation.alt`
) as `product.cover.media.alt`,
`product.cover.media.translation.customFields`,
COALESCE(
`product.cover.media.translation.customFields`,
`product.cover.media.translation.customFields`
) as `product.cover.media.customFields`,
`product.cover.media.translation.createdAt`,
`product.cover.media.translation.updatedAt`,
`product.cover.media.translation.mediaId`,
`product.cover.media.translation.languageId`,
`product.cover`.`custom_fields` as `product.cover.customFields`,
`product.cover`.`created_at` as `product.cover.createdAt`,
`product.cover`.`updated_at` as `product.cover.updatedAt`,
`product.translation.metaDescription`,
`product.parent.translation.metaDescription`,
COALESCE(
`product.translation.metaDescription`,
`product.parent.translation.metaDescription`,
`product.translation.metaDescription`
) as `product.metaDescription`,
`product.translation.name`,
`product.parent.translation.name`,
COALESCE(
`product.translation.name`, `product.parent.translation.name`,
`product.translation.name`
) as `product.name`,
`product.translation.keywords`,
`product.parent.translation.keywords`,
COALESCE(
`product.translation.keywords`,
`product.parent.translation.keywords`,
`product.translation.keywords`
) as `product.keywords`,
`product.translation.description`,
`product.parent.translation.description`,
COALESCE(
`product.translation.description`,
`product.parent.translation.description`,
`product.translation.description`
) as `product.description`,
`product.translation.metaTitle`,
`product.parent.translation.metaTitle`,
COALESCE(
`product.translation.metaTitle`,
`product.parent.translation.metaTitle`,
`product.translation.metaTitle`
) as `product.metaTitle`,
`product.translation.packUnit`,
`product.parent.translation.packUnit`,
COALESCE(
`product.translation.packUnit`,
`product.parent.translation.packUnit`,
`product.translation.packUnit`
) as `product.packUnit`,
`product.translation.packUnitPlural`,
`product.parent.translation.packUnitPlural`,
COALESCE(
`product.translation.packUnitPlural`,
`product.parent.translation.packUnitPlural`,
`product.translation.packUnitPlural`
) as `product.packUnitPlural`,
`product.translation.customSearchKeywords`,
`product.parent.translation.customSearchKeywords`,
COALESCE(
`product.translation.customSearchKeywords`,
`product.parent.translation.customSearchKeywords`,
`product.translation.customSearchKeywords`
) as `product.customSearchKeywords`,
`product.translation.slotConfig`,
`product.parent.translation.slotConfig`,
COALESCE(
`product.translation.slotConfig`,
`product.parent.translation.slotConfig`,
`product.translation.slotConfig`
) as `product.slotConfig`,
`product.translation.customFields`,
`product.parent.translation.customFields`,
COALESCE(
`product.translation.customFields`,
`product.parent.translation.customFields`,
`product.translation.customFields`
) as `product.customFields`,
`product.translation.createdAt`,
`product.parent.translation.createdAt`,
`product.translation.updatedAt`,
`product.parent.translation.updatedAt`,
`product.translation.productId`,
`product.parent.translation.productId`,
`product.translation.languageId`,
`product.parent.translation.languageId`,
`product.translation.productVersionId`,
`product.parent.translation.productVersionId`
FROM
`product`
LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id`
AND `product`.`version_id` = `product.parent`.`version_id`
LEFT JOIN (
SELECT
`product.translation`.product_id,
`product.translation`.product_version_id,
`product.translation`.meta_description as `product.translation.metaDescription`,
`product.translation`.name as `product.translation.name`,
`product.translation`.keywords as `product.translation.keywords`,
`product.translation`.description as `product.translation.description`,
`product.translation`.meta_title as `product.translation.metaTitle`,
`product.translation`.pack_unit as `product.translation.packUnit`,
`product.translation`.pack_unit_plural as `product.translation.packUnitPlural`,
`product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`,
`product.translation`.slot_config as `product.translation.slotConfig`,
`product.translation`.custom_fields as `product.translation.customFields`,
`product.translation`.created_at as `product.translation.createdAt`,
`product.translation`.updated_at as `product.translation.updatedAt`,
`product.translation`.product_id as `product.translation.productId`,
`product.translation`.language_id as `product.translation.languageId`,
`product.translation`.product_version_id as `product.translation.productVersionId`
FROM
`product_translation` `product.translation`
WHERE
`product.translation`.language_id = : languageId
) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id`
AND `product.product_translation`.product_version_id = `product`.version_id
LEFT JOIN (
SELECT
`product.parent.translation`.product_id,
`product.parent.translation`.product_version_id,
`product.parent.translation`.meta_description as `product.parent.translation.metaDescription`,
`product.parent.translation`.name as `product.parent.translation.name`,
`product.parent.translation`.keywords as `product.parent.translation.keywords`,
`product.parent.translation`.description as `product.parent.translation.description`,
`product.parent.translation`.meta_title as `product.parent.translation.metaTitle`,
`product.parent.translation`.pack_unit as `product.parent.translation.packUnit`,
`product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`,
`product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`,
`product.parent.translation`.slot_config as `product.parent.translation.slotConfig`,
`product.parent.translation`.custom_fields as `product.parent.translation.customFields`,
`product.parent.translation`.created_at as `product.parent.translation.createdAt`,
`product.parent.translation`.updated_at as `product.parent.translation.updatedAt`,
`product.parent.translation`.product_id as `product.parent.translation.productId`,
`product.parent.translation`.language_id as `product.parent.translation.languageId`,
`product.parent.translation`.product_version_id as `product.parent.translation.productVersionId`
FROM
`product_translation` `product.parent.translation`
WHERE
`product.parent.translation`.language_id = : languageId
) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id`
AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id
LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id`
LEFT JOIN `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_id`
LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id`
AND `product`.`version_id` = `product.cover`.`version_id`
LEFT JOIN `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id`
LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id`
LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`id`
LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id`
LEFT JOIN (
SELECT
`product.cover.media.translation`.media_id,
`product.cover.media.translation`.title as `product.cover.media.translation.title`,
`product.cover.media.translation`.alt as `product.cover.media.translation.alt`,
`product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`,
`product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`,
`product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`,
`product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`,
`product.cover.media.translation`.language_id as `product.cover.media.translation.languageId`
FROM
`media_translation` `product.cover.media.translation`
WHERE
`product.cover.media.translation`.language_id = : languageId
) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id`
WHERE
(
`product`.`version_id` = : version
)
AND (
`product`.`id` IN (: ids)
)
SELECT `product`.`id` as `product.id`, `product`.`version_id` as `product.versionId`, `product`.`parent_id` as `product.parentId`, `product`.`parent_version_id` as `product.parentVersionId`, COALESCE(`product`.`product_manufacturer_id`, `product.parent`.`product_manufacturer_id`) as `product.manufacturerId`, COALESCE(`product`.`product_manufacturer_version_id`, `product.parent`.`product_manufacturer_version_id`) as `product.productManufacturerVersionId`, COALESCE(`product`.`unit_id`, `product.parent`.`unit_id`) as `product.unitId`, COALESCE(`product`.`tax_id`, `product.parent`.`tax_id`) as `product.taxId`, COALESCE(`product`.`product_media_id`, `product.parent`.`product_media_id`) as `product.coverId`, COALESCE(`product`.`product_media_version_id`, `product.parent`.`product_media_version_id`) as `product.productMediaVersionId`, COALESCE(`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`) as `product.deliveryTimeId`, COALESCE(`product`.`product_feature_set_id`, `product.parent`.`product_feature_set_id`) as `product.featureSetId`, COALESCE(`product`.`canonical_product_id`, `product.parent`.`canonical_product_id`) as `product.canonicalProductId`, COALESCE(`product`.`cms_page_id`, `product.parent`.`cms_page_id`) as `product.cmsPageId`, COALESCE(`product`.`cms_page_version_id`, `product.parent`.`cms_page_version_id`) as `product.cmsPageVersionId`, `product.parent`.`price` as `product.price.inherited`, COALESCE(`product`.`price`, `product.parent`.`price`) as `product.price`, `product`.`product_number` as `product.productNumber`, `product`.`stock` as `product.stock`, COALESCE(`product`.`restock_time`, `product.parent`.`restock_time`) as `product.restockTime`, `product`.`auto_increment` as `product.autoIncrement`, COALESCE(`product`.`active`, `product.parent`.`active`) as `product.active`, `product`.`available_stock` as `product.availableStock`, `product`.`available` as `product.available`, COALESCE(`product`.`is_closeout`, `product.parent`.`is_closeout`) as `product.isCloseout`, `product`.`display_group` as `product.displayGroup`, `product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`, COALESCE(`product`.`configurator_group_config`, `product.parent`.`configurator_group_config`) as `product.configuratorGroupConfig`, COALESCE(`product`.`main_variant_id`, `product.parent`.`main_variant_id`) as `product.mainVariantId`, COALESCE(`product`.`display_parent`, `product.parent`.`display_parent`) as `product.displayParent`, `product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`, COALESCE(`product`.`variant_listing_config`, `product.parent`.`variant_listing_config`) as `product.variantListingConfig`, `product`.`variant_restrictions` as `product.variantRestrictions`, COALESCE(`product`.`manufacturer_number`, `product.parent`.`manufacturer_number`) as `product.manufacturerNumber`, COALESCE(`product`.`ean`, `product.parent`.`ean`) as `product.ean`, COALESCE(`product`.`purchase_steps`, `product.parent`.`purchase_steps`) as `product.purchaseSteps`, COALESCE(`product`.`max_purchase`, `product.parent`.`max_purchase`) as `product.maxPurchase`, COALESCE(`product`.`min_purchase`, `product.parent`.`min_purchase`) as `product.minPurchase`, COALESCE(`product`.`purchase_unit`, `product.parent`.`purchase_unit`) as `product.purchaseUnit`, COALESCE(`product`.`reference_unit`, `product.parent`.`reference_unit`) as `product.referenceUnit`, COALESCE(`product`.`shipping_free`, `product.parent`.`shipping_free`) as `product.shippingFree`, `product.parent`.`purchase_prices` as `product.purchasePrices.inherited`, COALESCE(`product`.`purchase_prices`, `product.parent`.`purchase_prices`) as `product.purchasePrices`, COALESCE(`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`) as `product.markAsTopseller`, COALESCE(`product`.`weight`, `product.parent`.`weight`) as `product.weight`, COALESCE(`product`.`width`, `product.parent`.`width`) as `product.width`, COALESCE(`product`.`height`, `product.parent`.`height`) as `product.height`, COALESCE(`product`.`length`, `product.parent`.`length`) as `product.length`, COALESCE(`product`.`release_date`, `product.parent`.`release_date`) as `product.releaseDate`, COALESCE(`product`.`rating_average`, `product.parent`.`rating_average`) as `product.ratingAverage`, `product.parent`.`category_tree` as `product.categoryTree.inherited`, COALESCE(`product`.`category_tree`, `product.parent`.`category_tree`) as `product.categoryTree`, `product.parent`.`property_ids` as `product.propertyIds.inherited`, COALESCE(`product`.`property_ids`, `product.parent`.`property_ids`) as `product.propertyIds`, `product.parent`.`option_ids` as `product.optionIds.inherited`, COALESCE(`product`.`option_ids`, `product.parent`.`option_ids`) as `product.optionIds`, `product.parent`.`stream_ids` as `product.streamIds.inherited`, COALESCE(`product`.`stream_ids`, `product.parent`.`stream_ids`) as `product.streamIds`, `product.parent`.`tag_ids` as `product.tagIds.inherited`, COALESCE(`product`.`tag_ids`, `product.parent`.`tag_ids`) as `product.tagIds`, `product.parent`.`category_ids` as `product.categoryIds.inherited`, COALESCE(`product`.`category_ids`, `product.parent`.`category_ids`) as `product.categoryIds`, `product`.`child_count` as `product.childCount`, COALESCE(`product`.`custom_field_set_selection_active`, `product.parent`.`custom_field_set_selection_active`) as `product.customFieldSetSelectionActive`, `product`.`sales` as `product.sales`, `product`.`states` as `product.states`, `product.tax`.`id` as `product.tax.id`, `product.tax`.`tax_rate` as `product.tax.taxRate`, `product.tax`.`name` as `product.tax.name`, `product.tax`.`position` as `product.tax.position`, `product.tax`.`custom_fields` as `product.tax.customFields`, `product.tax`.`created_at` as `product.tax.createdAt`, `product.tax`.`updated_at` as `product.tax.updatedAt`, `product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`, COALESCE(`product`.`cheapest_price`, `product.parent`.`cheapest_price`) as `product.cheapestPrice`, `product`.`created_at` as `product.createdAt`, `product`.`updated_at` as `product.updatedAt`, `product.bundle`.`id` as `product.bundle.id`, `product.bundle`.`product_id` as `product.bundle.productId`, `product.bundle`.`product_version_id` as `product.bundle.productVersionId`, `product.bundle`.`name` as `product.bundle.name`, `product.bundle`.`price_type` as `product.bundle.priceType`, `product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`, `product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`, `product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`, `product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`, `product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`, `product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`, `product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`, `product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`, `product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`, `product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`, `product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`, `product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`, `product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`, `product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`, `product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`, `product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`, `product.bundle`.`created_at` as `product.bundle.createdAt`, `product.bundle`.`updated_at` as `product.bundle.updatedAt`, `product.cover`.`id` as `product.cover.id`, `product.cover`.`version_id` as `product.cover.versionId`, `product.cover`.`product_id` as `product.cover.productId`, `product.cover`.`product_version_id` as `product.cover.productVersionId`, `product.cover`.`media_id` as `product.cover.mediaId`, `product.cover`.`position` as `product.cover.position`, `product.cover.media`.`id` as `product.cover.media.id`, `product.cover.media`.`user_id` as `product.cover.media.userId`, `product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`, `product.cover.media`.`mime_type` as `product.cover.media.mimeType`, `product.cover.media`.`file_extension` as `product.cover.media.fileExtension`, `product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`, `product.cover.media`.`file_name` as `product.cover.media.fileName`, `product.cover.media`.`file_size` as `product.cover.media.fileSize`, `product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`, `product.cover.media`.`meta_data` as `product.cover.media.metaData`, `product.cover.media`.`private` as `product.cover.media.private`, `product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`, `product.cover.media`.`created_at` as `product.cover.media.createdAt`, `product.cover.media`.`updated_at` as `product.cover.media.updatedAt`, `product.cover.media.translation.title`, COALESCE(`product.cover.media.translation.title`,`product.cover.media.translation.title`) as `product.cover.media.title`, `product.cover.media.translation.alt`, COALESCE(`product.cover.media.translation.alt`,`product.cover.media.translation.alt`) as `product.cover.media.alt`, `product.cover.media.translation.customFields`, COALESCE(`product.cover.media.translation.customFields`,`product.cover.media.translation.customFields`) as `product.cover.media.customFields`, `product.cover.media.translation.createdAt`, `product.cover.media.translation.updatedAt`, `product.cover.media.translation.mediaId`, `product.cover.media.translation.languageId`, `product.cover`.`custom_fields` as `product.cover.customFields`, `product.cover`.`created_at` as `product.cover.createdAt`, `product.cover`.`updated_at` as `product.cover.updatedAt`, `product.translation.metaDescription`, `product.parent.translation.metaDescription`, COALESCE(`product.translation.metaDescription`,`product.parent.translation.metaDescription`,`product.translation.metaDescription`) as `product.metaDescription`, `product.translation.name`, `product.parent.translation.name`, COALESCE(`product.translation.name`,`product.parent.translation.name`,`product.translation.name`) as `product.name`, `product.translation.keywords`, `product.parent.translation.keywords`, COALESCE(`product.translation.keywords`,`product.parent.translation.keywords`,`product.translation.keywords`) as `product.keywords`, `product.translation.description`, `product.parent.translation.description`, COALESCE(`product.translation.description`,`product.parent.translation.description`,`product.translation.description`) as `product.description`, `product.translation.metaTitle`, `product.parent.translation.metaTitle`, COALESCE(`product.translation.metaTitle`,`product.parent.translation.metaTitle`,`product.translation.metaTitle`) as `product.metaTitle`, `product.translation.packUnit`, `product.parent.translation.packUnit`, COALESCE(`product.translation.packUnit`,`product.parent.translation.packUnit`,`product.translation.packUnit`) as `product.packUnit`, `product.translation.packUnitPlural`, `product.parent.translation.packUnitPlural`, COALESCE(`product.translation.packUnitPlural`,`product.parent.translation.packUnitPlural`,`product.translation.packUnitPlural`) as `product.packUnitPlural`, `product.translation.customSearchKeywords`, `product.parent.translation.customSearchKeywords`, COALESCE(`product.translation.customSearchKeywords`,`product.parent.translation.customSearchKeywords`,`product.translation.customSearchKeywords`) as `product.customSearchKeywords`, `product.translation.slotConfig`, `product.parent.translation.slotConfig`, COALESCE(`product.translation.slotConfig`,`product.parent.translation.slotConfig`,`product.translation.slotConfig`) as `product.slotConfig`, `product.translation.customFields`, `product.parent.translation.customFields`, COALESCE(`product.translation.customFields`,`product.parent.translation.customFields`,`product.translation.customFields`) as `product.customFields`, `product.translation.createdAt`, `product.parent.translation.createdAt`, `product.translation.updatedAt`, `product.parent.translation.updatedAt`, `product.translation.productId`, `product.parent.translation.productId`, `product.translation.languageId`, `product.parent.translation.languageId`, `product.translation.productVersionId`, `product.parent.translation.productVersionId` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN (SELECT `product.translation`.product_id, `product.translation`.product_version_id, `product.translation`.meta_description as `product.translation.metaDescription`, `product.translation`.name as `product.translation.name`, `product.translation`.keywords as `product.translation.keywords`, `product.translation`.description as `product.translation.description`, `product.translation`.meta_title as `product.translation.metaTitle`, `product.translation`.pack_unit as `product.translation.packUnit`, `product.translation`.pack_unit_plural as `product.translation.packUnitPlural`, `product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`, `product.translation`.slot_config as `product.translation.slotConfig`, `product.translation`.custom_fields as `product.translation.customFields`, `product.translation`.created_at as `product.translation.createdAt`, `product.translation`.updated_at as `product.translation.updatedAt`, `product.translation`.product_id as `product.translation.productId`, `product.translation`.language_id as `product.translation.languageId`, `product.translation`.product_version_id as `product.translation.productVersionId` FROM `product_translation` `product.translation` WHERE `product.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id` AND `product.product_translation`.product_version_id = `product`.version_id LEFT JOIN (SELECT `product.parent.translation`.product_id, `product.parent.translation`.product_version_id, `product.parent.translation`.meta_description as `product.parent.translation.metaDescription`, `product.parent.translation`.name as `product.parent.translation.name`, `product.parent.translation`.keywords as `product.parent.translation.keywords`, `product.parent.translation`.description as `product.parent.translation.description`, `product.parent.translation`.meta_title as `product.parent.translation.metaTitle`, `product.parent.translation`.pack_unit as `product.parent.translation.packUnit`, `product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`, `product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`, `product.parent.translation`.slot_config as `product.parent.translation.slotConfig`, `product.parent.translation`.custom_fields as `product.parent.translation.customFields`, `product.parent.translation`.created_at as `product.parent.translation.createdAt`, `product.parent.translation`.updated_at as `product.parent.translation.updatedAt`, `product.parent.translation`.product_id as `product.parent.translation.productId`, `product.parent.translation`.language_id as `product.parent.translation.languageId`, `product.parent.translation`.product_version_id as `product.parent.translation.productVersionId` FROM `product_translation` `product.parent.translation` WHERE `product.parent.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id` AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id` LEFT JOIN `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_id` LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id` AND `product`.`version_id` = `product.cover`.`version_id` LEFT JOIN `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`id` LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id` LEFT JOIN (SELECT `product.cover.media.translation`.media_id, `product.cover.media.translation`.title as `product.cover.media.translation.title`, `product.cover.media.translation`.alt as `product.cover.media.translation.alt`, `product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`, `product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`, `product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`, `product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`, `product.cover.media.translation`.language_id as `product.cover.media.translation.languageId` FROM `media_translation` `product.cover.media.translation` WHERE `product.cover.media.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id` WHERE (`product`.`version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425) AND (`product`.`id` IN (0x1AC13C0695234DB1962D5899CC4EA096));
array:51 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 316)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetch (line 148)"
4 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 93)"
5 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::read (line 257)"
6 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::read (line 286)"
7 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::_search (line 106)"
8 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::search (line 51)"
9 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepositoryForwardCompatibilityDecorator::search (line 103)"
10 => "Bodymed\Webshop\StoreFront\Subscriber\ProductExtensionSubscriber::addParentCover (line 230)"
11 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
12 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
13 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
14 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
15 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
16 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 33)"
17 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
18 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 208)"
19 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::read (line 133)"
20 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 49)"
21 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariantsOfProduct (line 30)"
22 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariants (line 224)"
23 => "Bodymed\Webshop\Core\Content\Product\Cms\ProductSliderCmsElementResolver::enrich (line 99)"
24 => "Shopware\Core\Content\Cms\DataResolver\CmsSlotsDataResolver::resolve (line 104)"
25 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::loadSlotData (line 94)"
26 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::load (line 102)"
27 => "Shopware\Core\Content\Category\SalesChannel\CategoryRoute::load (line 103)"
28 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 350)"
29 => "Shopware\Core\System\SystemConfig\SystemConfigService::trace (line 44)"
30 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 120)"
31 => "Shopware\Core\Framework\Adapter\Translation\Translator::trace (line 45)"
32 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 46)"
33 => "Shopware\Core\Framework\Adapter\Cache\CacheTagCollection::trace (line 46)"
34 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::trace (line 41)"
35 => "Shopware\Storefront\Framework\Cache\CacheTracer::Shopware\Storefront\Framework\Cache\{closure} (line 59)"
36 => "Shopware\Storefront\Theme\ThemeConfigValueAccessor::trace (line 42)"
37 => "Shopware\Storefront\Framework\Cache\CacheTracer::trace (line 104)"
38 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 72)"
39 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
40 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 109)"
41 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 59)"
42 => "Shopware\Core\Profiling\Profiler::trace (line 112)"
43 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::load (line 66)"
44 => "Shopware\Storefront\Page\Navigation\NavigationPageLoader::load (line 48)"
45 => "Shopware\Storefront\Controller\NavigationController::home (line 163)"
46 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
47 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
48 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
49 => "Shopware\Core\HttpKernel::doHandle (line 81)"
50 => "Shopware\Core\HttpKernel::handle (line 75)"
]
|
55 |
0.63 ms |
SELECT * FROM sales_channel_api_context WHERE (sales_channel_id = :salesChannelId) AND (token = :token) LIMIT 1
SELECT * FROM sales_channel_api_context WHERE (sales_channel_id = 0x620A2217F7474E619CB00AD39E804CCA) AND (token = 'FwsxT47353Zxmr7lp0KSfYcVNkg5VpYR') LIMIT 1;
array:58 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 165)"
3 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextPersister::load (line 69)"
4 => "Bodymed\Webshop\Core\Subscriber\ProductSubscriber::addCustomerProductFeatureExtension (line 230)"
5 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
6 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
7 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
8 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
9 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
10 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 33)"
11 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
12 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 269)"
13 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::read (line 286)"
14 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::_search (line 106)"
15 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::search (line 51)"
16 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepositoryForwardCompatibilityDecorator::search (line 103)"
17 => "Bodymed\Webshop\StoreFront\Subscriber\ProductExtensionSubscriber::addParentCover (line 230)"
18 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
19 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
20 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
21 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
22 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
23 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 33)"
24 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
25 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 208)"
26 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::read (line 133)"
27 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 49)"
28 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariantsOfProduct (line 30)"
29 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariants (line 224)"
30 => "Bodymed\Webshop\Core\Content\Product\Cms\ProductSliderCmsElementResolver::enrich (line 99)"
31 => "Shopware\Core\Content\Cms\DataResolver\CmsSlotsDataResolver::resolve (line 104)"
32 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::loadSlotData (line 94)"
33 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::load (line 102)"
34 => "Shopware\Core\Content\Category\SalesChannel\CategoryRoute::load (line 103)"
35 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 350)"
36 => "Shopware\Core\System\SystemConfig\SystemConfigService::trace (line 44)"
37 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 120)"
38 => "Shopware\Core\Framework\Adapter\Translation\Translator::trace (line 45)"
39 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 46)"
40 => "Shopware\Core\Framework\Adapter\Cache\CacheTagCollection::trace (line 46)"
41 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::trace (line 41)"
42 => "Shopware\Storefront\Framework\Cache\CacheTracer::Shopware\Storefront\Framework\Cache\{closure} (line 59)"
43 => "Shopware\Storefront\Theme\ThemeConfigValueAccessor::trace (line 42)"
44 => "Shopware\Storefront\Framework\Cache\CacheTracer::trace (line 104)"
45 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 72)"
46 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
47 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 109)"
48 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 59)"
49 => "Shopware\Core\Profiling\Profiler::trace (line 112)"
50 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::load (line 66)"
51 => "Shopware\Storefront\Page\Navigation\NavigationPageLoader::load (line 48)"
52 => "Shopware\Storefront\Controller\NavigationController::home (line 163)"
53 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
54 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
55 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
56 => "Shopware\Core\HttpKernel::doHandle (line 81)"
57 => "Shopware\Core\HttpKernel::handle (line 75)"
]
|
56 |
24.11 ms |
SELECT `product`.`id` as `product.id`, `product`.`version_id` as `product.versionId`, `product`.`parent_id` as `product.parentId`, `product`.`parent_version_id` as `product.parentVersionId`, COALESCE(`product`.`product_manufacturer_id`, `product.parent`.`product_manufacturer_id`) as `product.manufacturerId`, COALESCE(`product`.`product_manufacturer_version_id`, `product.parent`.`product_manufacturer_version_id`) as `product.productManufacturerVersionId`, COALESCE(`product`.`unit_id`, `product.parent`.`unit_id`) as `product.unitId`, COALESCE(`product`.`tax_id`, `product.parent`.`tax_id`) as `product.taxId`, COALESCE(`product`.`product_media_id`, `product.parent`.`product_media_id`) as `product.coverId`, COALESCE(`product`.`product_media_version_id`, `product.parent`.`product_media_version_id`) as `product.productMediaVersionId`, COALESCE(`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`) as `product.deliveryTimeId`, COALESCE(`product`.`product_feature_set_id`, `product.parent`.`product_feature_set_id`) as `product.featureSetId`, COALESCE(`product`.`canonical_product_id`, `product.parent`.`canonical_product_id`) as `product.canonicalProductId`, COALESCE(`product`.`cms_page_id`, `product.parent`.`cms_page_id`) as `product.cmsPageId`, COALESCE(`product`.`cms_page_version_id`, `product.parent`.`cms_page_version_id`) as `product.cmsPageVersionId`, `product.parent`.`price` as `product.price.inherited`, COALESCE(`product`.`price`, `product.parent`.`price`) as `product.price`, `product`.`product_number` as `product.productNumber`, `product`.`stock` as `product.stock`, COALESCE(`product`.`restock_time`, `product.parent`.`restock_time`) as `product.restockTime`, `product`.`auto_increment` as `product.autoIncrement`, COALESCE(`product`.`active`, `product.parent`.`active`) as `product.active`, `product`.`available_stock` as `product.availableStock`, `product`.`available` as `product.available`, COALESCE(`product`.`is_closeout`, `product.parent`.`is_closeout`) as `product.isCloseout`, `product`.`display_group` as `product.displayGroup`, `product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`, COALESCE(`product`.`configurator_group_config`, `product.parent`.`configurator_group_config`) as `product.configuratorGroupConfig`, COALESCE(`product`.`main_variant_id`, `product.parent`.`main_variant_id`) as `product.mainVariantId`, COALESCE(`product`.`display_parent`, `product.parent`.`display_parent`) as `product.displayParent`, `product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`, COALESCE(`product`.`variant_listing_config`, `product.parent`.`variant_listing_config`) as `product.variantListingConfig`, `product`.`variant_restrictions` as `product.variantRestrictions`, COALESCE(`product`.`manufacturer_number`, `product.parent`.`manufacturer_number`) as `product.manufacturerNumber`, COALESCE(`product`.`ean`, `product.parent`.`ean`) as `product.ean`, COALESCE(`product`.`purchase_steps`, `product.parent`.`purchase_steps`) as `product.purchaseSteps`, COALESCE(`product`.`max_purchase`, `product.parent`.`max_purchase`) as `product.maxPurchase`, COALESCE(`product`.`min_purchase`, `product.parent`.`min_purchase`) as `product.minPurchase`, COALESCE(`product`.`purchase_unit`, `product.parent`.`purchase_unit`) as `product.purchaseUnit`, COALESCE(`product`.`reference_unit`, `product.parent`.`reference_unit`) as `product.referenceUnit`, COALESCE(`product`.`shipping_free`, `product.parent`.`shipping_free`) as `product.shippingFree`, `product.parent`.`purchase_prices` as `product.purchasePrices.inherited`, COALESCE(`product`.`purchase_prices`, `product.parent`.`purchase_prices`) as `product.purchasePrices`, COALESCE(`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`) as `product.markAsTopseller`, COALESCE(`product`.`weight`, `product.parent`.`weight`) as `product.weight`, COALESCE(`product`.`width`, `product.parent`.`width`) as `product.width`, COALESCE(`product`.`height`, `product.parent`.`height`) as `product.height`, COALESCE(`product`.`length`, `product.parent`.`length`) as `product.length`, COALESCE(`product`.`release_date`, `product.parent`.`release_date`) as `product.releaseDate`, COALESCE(`product`.`rating_average`, `product.parent`.`rating_average`) as `product.ratingAverage`, `product.parent`.`category_tree` as `product.categoryTree.inherited`, COALESCE(`product`.`category_tree`, `product.parent`.`category_tree`) as `product.categoryTree`, `product.parent`.`property_ids` as `product.propertyIds.inherited`, COALESCE(`product`.`property_ids`, `product.parent`.`property_ids`) as `product.propertyIds`, `product.parent`.`option_ids` as `product.optionIds.inherited`, COALESCE(`product`.`option_ids`, `product.parent`.`option_ids`) as `product.optionIds`, `product.parent`.`stream_ids` as `product.streamIds.inherited`, COALESCE(`product`.`stream_ids`, `product.parent`.`stream_ids`) as `product.streamIds`, `product.parent`.`tag_ids` as `product.tagIds.inherited`, COALESCE(`product`.`tag_ids`, `product.parent`.`tag_ids`) as `product.tagIds`, `product.parent`.`category_ids` as `product.categoryIds.inherited`, COALESCE(`product`.`category_ids`, `product.parent`.`category_ids`) as `product.categoryIds`, `product`.`child_count` as `product.childCount`, COALESCE(`product`.`custom_field_set_selection_active`, `product.parent`.`custom_field_set_selection_active`) as `product.customFieldSetSelectionActive`, `product`.`sales` as `product.sales`, `product`.`states` as `product.states`, `product.tax`.`id` as `product.tax.id`, `product.tax`.`tax_rate` as `product.tax.taxRate`, `product.tax`.`name` as `product.tax.name`, `product.tax`.`position` as `product.tax.position`, `product.tax`.`custom_fields` as `product.tax.customFields`, `product.tax`.`created_at` as `product.tax.createdAt`, `product.tax`.`updated_at` as `product.tax.updatedAt`, `product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`, COALESCE(`product`.`cheapest_price`, `product.parent`.`cheapest_price`) as `product.cheapestPrice`, `product`.`created_at` as `product.createdAt`, `product`.`updated_at` as `product.updatedAt`, `product.bundle`.`id` as `product.bundle.id`, `product.bundle`.`product_id` as `product.bundle.productId`, `product.bundle`.`product_version_id` as `product.bundle.productVersionId`, `product.bundle`.`name` as `product.bundle.name`, `product.bundle`.`price_type` as `product.bundle.priceType`, `product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`, `product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`, `product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`, `product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`, `product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`, `product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`, `product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`, `product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`, `product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`, `product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`, `product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`, `product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`, `product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`, `product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`, `product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`, `product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`, `product.bundle`.`created_at` as `product.bundle.createdAt`, `product.bundle`.`updated_at` as `product.bundle.updatedAt`, `product.cover`.`id` as `product.cover.id`, `product.cover`.`version_id` as `product.cover.versionId`, `product.cover`.`product_id` as `product.cover.productId`, `product.cover`.`product_version_id` as `product.cover.productVersionId`, `product.cover`.`media_id` as `product.cover.mediaId`, `product.cover`.`position` as `product.cover.position`, `product.cover.media`.`id` as `product.cover.media.id`, `product.cover.media`.`user_id` as `product.cover.media.userId`, `product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`, `product.cover.media`.`mime_type` as `product.cover.media.mimeType`, `product.cover.media`.`file_extension` as `product.cover.media.fileExtension`, `product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`, `product.cover.media`.`file_name` as `product.cover.media.fileName`, `product.cover.media`.`file_size` as `product.cover.media.fileSize`, `product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`, `product.cover.media`.`meta_data` as `product.cover.media.metaData`, `product.cover.media`.`private` as `product.cover.media.private`, `product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`, `product.cover.media`.`created_at` as `product.cover.media.createdAt`, `product.cover.media`.`updated_at` as `product.cover.media.updatedAt`, `product.cover.media.translation.title`, COALESCE(`product.cover.media.translation.title`,`product.cover.media.translation.title`) as `product.cover.media.title`, `product.cover.media.translation.alt`, COALESCE(`product.cover.media.translation.alt`,`product.cover.media.translation.alt`) as `product.cover.media.alt`, `product.cover.media.translation.customFields`, COALESCE(`product.cover.media.translation.customFields`,`product.cover.media.translation.customFields`) as `product.cover.media.customFields`, `product.cover.media.translation.createdAt`, `product.cover.media.translation.updatedAt`, `product.cover.media.translation.mediaId`, `product.cover.media.translation.languageId`, `product.cover`.`custom_fields` as `product.cover.customFields`, `product.cover`.`created_at` as `product.cover.createdAt`, `product.cover`.`updated_at` as `product.cover.updatedAt`, `product.translation.metaDescription`, `product.parent.translation.metaDescription`, COALESCE(`product.translation.metaDescription`,`product.parent.translation.metaDescription`,`product.translation.metaDescription`) as `product.metaDescription`, `product.translation.name`, `product.parent.translation.name`, COALESCE(`product.translation.name`,`product.parent.translation.name`,`product.translation.name`) as `product.name`, `product.translation.keywords`, `product.parent.translation.keywords`, COALESCE(`product.translation.keywords`,`product.parent.translation.keywords`,`product.translation.keywords`) as `product.keywords`, `product.translation.description`, `product.parent.translation.description`, COALESCE(`product.translation.description`,`product.parent.translation.description`,`product.translation.description`) as `product.description`, `product.translation.metaTitle`, `product.parent.translation.metaTitle`, COALESCE(`product.translation.metaTitle`,`product.parent.translation.metaTitle`,`product.translation.metaTitle`) as `product.metaTitle`, `product.translation.packUnit`, `product.parent.translation.packUnit`, COALESCE(`product.translation.packUnit`,`product.parent.translation.packUnit`,`product.translation.packUnit`) as `product.packUnit`, `product.translation.packUnitPlural`, `product.parent.translation.packUnitPlural`, COALESCE(`product.translation.packUnitPlural`,`product.parent.translation.packUnitPlural`,`product.translation.packUnitPlural`) as `product.packUnitPlural`, `product.translation.customSearchKeywords`, `product.parent.translation.customSearchKeywords`, COALESCE(`product.translation.customSearchKeywords`,`product.parent.translation.customSearchKeywords`,`product.translation.customSearchKeywords`) as `product.customSearchKeywords`, `product.translation.slotConfig`, `product.parent.translation.slotConfig`, COALESCE(`product.translation.slotConfig`,`product.parent.translation.slotConfig`,`product.translation.slotConfig`) as `product.slotConfig`, `product.translation.customFields`, `product.parent.translation.customFields`, COALESCE(`product.translation.customFields`,`product.parent.translation.customFields`,`product.translation.customFields`) as `product.customFields`, `product.translation.createdAt`, `product.parent.translation.createdAt`, `product.translation.updatedAt`, `product.parent.translation.updatedAt`, `product.translation.productId`, `product.parent.translation.productId`, `product.translation.languageId`, `product.parent.translation.languageId`, `product.translation.productVersionId`, `product.parent.translation.productVersionId` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN (SELECT `product.translation`.product_id, `product.translation`.product_version_id, `product.translation`.meta_description as `product.translation.metaDescription`, `product.translation`.name as `product.translation.name`, `product.translation`.keywords as `product.translation.keywords`, `product.translation`.description as `product.translation.description`, `product.translation`.meta_title as `product.translation.metaTitle`, `product.translation`.pack_unit as `product.translation.packUnit`, `product.translation`.pack_unit_plural as `product.translation.packUnitPlural`, `product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`, `product.translation`.slot_config as `product.translation.slotConfig`, `product.translation`.custom_fields as `product.translation.customFields`, `product.translation`.created_at as `product.translation.createdAt`, `product.translation`.updated_at as `product.translation.updatedAt`, `product.translation`.product_id as `product.translation.productId`, `product.translation`.language_id as `product.translation.languageId`, `product.translation`.product_version_id as `product.translation.productVersionId` FROM `product_translation` `product.translation` WHERE `product.translation`.language_id = :languageId) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id` AND `product.product_translation`.product_version_id = `product`.version_id LEFT JOIN (SELECT `product.parent.translation`.product_id, `product.parent.translation`.product_version_id, `product.parent.translation`.meta_description as `product.parent.translation.metaDescription`, `product.parent.translation`.name as `product.parent.translation.name`, `product.parent.translation`.keywords as `product.parent.translation.keywords`, `product.parent.translation`.description as `product.parent.translation.description`, `product.parent.translation`.meta_title as `product.parent.translation.metaTitle`, `product.parent.translation`.pack_unit as `product.parent.translation.packUnit`, `product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`, `product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`, `product.parent.translation`.slot_config as `product.parent.translation.slotConfig`, `product.parent.translation`.custom_fields as `product.parent.translation.customFields`, `product.parent.translation`.created_at as `product.parent.translation.createdAt`, `product.parent.translation`.updated_at as `product.parent.translation.updatedAt`, `product.parent.translation`.product_id as `product.parent.translation.productId`, `product.parent.translation`.language_id as `product.parent.translation.languageId`, `product.parent.translation`.product_version_id as `product.parent.translation.productVersionId` FROM `product_translation` `product.parent.translation` WHERE `product.parent.translation`.language_id = :languageId) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id` AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id` LEFT JOIN `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_id` LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id` AND `product`.`version_id` = `product.cover`.`version_id` LEFT JOIN `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`id` LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id` LEFT JOIN (SELECT `product.cover.media.translation`.media_id, `product.cover.media.translation`.title as `product.cover.media.translation.title`, `product.cover.media.translation`.alt as `product.cover.media.translation.alt`, `product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`, `product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`, `product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`, `product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`, `product.cover.media.translation`.language_id as `product.cover.media.translation.languageId` FROM `media_translation` `product.cover.media.translation` WHERE `product.cover.media.translation`.language_id = :languageId) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id` WHERE (`product`.`version_id` = :version) AND (`product`.`id` IN (:ids))
SELECT
`product`.`id` as `product.id`,
`product`.`version_id` as `product.versionId`,
`product`.`parent_id` as `product.parentId`,
`product`.`parent_version_id` as `product.parentVersionId`,
COALESCE(
`product`.`product_manufacturer_id`,
`product.parent`.`product_manufacturer_id`
) as `product.manufacturerId`,
COALESCE(
`product`.`product_manufacturer_version_id`,
`product.parent`.`product_manufacturer_version_id`
) as `product.productManufacturerVersionId`,
COALESCE(
`product`.`unit_id`, `product.parent`.`unit_id`
) as `product.unitId`,
COALESCE(
`product`.`tax_id`, `product.parent`.`tax_id`
) as `product.taxId`,
COALESCE(
`product`.`product_media_id`, `product.parent`.`product_media_id`
) as `product.coverId`,
COALESCE(
`product`.`product_media_version_id`,
`product.parent`.`product_media_version_id`
) as `product.productMediaVersionId`,
COALESCE(
`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`
) as `product.deliveryTimeId`,
COALESCE(
`product`.`product_feature_set_id`,
`product.parent`.`product_feature_set_id`
) as `product.featureSetId`,
COALESCE(
`product`.`canonical_product_id`,
`product.parent`.`canonical_product_id`
) as `product.canonicalProductId`,
COALESCE(
`product`.`cms_page_id`, `product.parent`.`cms_page_id`
) as `product.cmsPageId`,
COALESCE(
`product`.`cms_page_version_id`,
`product.parent`.`cms_page_version_id`
) as `product.cmsPageVersionId`,
`product.parent`.`price` as `product.price.inherited`,
COALESCE(
`product`.`price`, `product.parent`.`price`
) as `product.price`,
`product`.`product_number` as `product.productNumber`,
`product`.`stock` as `product.stock`,
COALESCE(
`product`.`restock_time`, `product.parent`.`restock_time`
) as `product.restockTime`,
`product`.`auto_increment` as `product.autoIncrement`,
COALESCE(
`product`.`active`, `product.parent`.`active`
) as `product.active`,
`product`.`available_stock` as `product.availableStock`,
`product`.`available` as `product.available`,
COALESCE(
`product`.`is_closeout`, `product.parent`.`is_closeout`
) as `product.isCloseout`,
`product`.`display_group` as `product.displayGroup`,
`product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`,
COALESCE(
`product`.`configurator_group_config`,
`product.parent`.`configurator_group_config`
) as `product.configuratorGroupConfig`,
COALESCE(
`product`.`main_variant_id`, `product.parent`.`main_variant_id`
) as `product.mainVariantId`,
COALESCE(
`product`.`display_parent`, `product.parent`.`display_parent`
) as `product.displayParent`,
`product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`,
COALESCE(
`product`.`variant_listing_config`,
`product.parent`.`variant_listing_config`
) as `product.variantListingConfig`,
`product`.`variant_restrictions` as `product.variantRestrictions`,
COALESCE(
`product`.`manufacturer_number`,
`product.parent`.`manufacturer_number`
) as `product.manufacturerNumber`,
COALESCE(
`product`.`ean`, `product.parent`.`ean`
) as `product.ean`,
COALESCE(
`product`.`purchase_steps`, `product.parent`.`purchase_steps`
) as `product.purchaseSteps`,
COALESCE(
`product`.`max_purchase`, `product.parent`.`max_purchase`
) as `product.maxPurchase`,
COALESCE(
`product`.`min_purchase`, `product.parent`.`min_purchase`
) as `product.minPurchase`,
COALESCE(
`product`.`purchase_unit`, `product.parent`.`purchase_unit`
) as `product.purchaseUnit`,
COALESCE(
`product`.`reference_unit`, `product.parent`.`reference_unit`
) as `product.referenceUnit`,
COALESCE(
`product`.`shipping_free`, `product.parent`.`shipping_free`
) as `product.shippingFree`,
`product.parent`.`purchase_prices` as `product.purchasePrices.inherited`,
COALESCE(
`product`.`purchase_prices`, `product.parent`.`purchase_prices`
) as `product.purchasePrices`,
COALESCE(
`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`
) as `product.markAsTopseller`,
COALESCE(
`product`.`weight`, `product.parent`.`weight`
) as `product.weight`,
COALESCE(
`product`.`width`, `product.parent`.`width`
) as `product.width`,
COALESCE(
`product`.`height`, `product.parent`.`height`
) as `product.height`,
COALESCE(
`product`.`length`, `product.parent`.`length`
) as `product.length`,
COALESCE(
`product`.`release_date`, `product.parent`.`release_date`
) as `product.releaseDate`,
COALESCE(
`product`.`rating_average`, `product.parent`.`rating_average`
) as `product.ratingAverage`,
`product.parent`.`category_tree` as `product.categoryTree.inherited`,
COALESCE(
`product`.`category_tree`, `product.parent`.`category_tree`
) as `product.categoryTree`,
`product.parent`.`property_ids` as `product.propertyIds.inherited`,
COALESCE(
`product`.`property_ids`, `product.parent`.`property_ids`
) as `product.propertyIds`,
`product.parent`.`option_ids` as `product.optionIds.inherited`,
COALESCE(
`product`.`option_ids`, `product.parent`.`option_ids`
) as `product.optionIds`,
`product.parent`.`stream_ids` as `product.streamIds.inherited`,
COALESCE(
`product`.`stream_ids`, `product.parent`.`stream_ids`
) as `product.streamIds`,
`product.parent`.`tag_ids` as `product.tagIds.inherited`,
COALESCE(
`product`.`tag_ids`, `product.parent`.`tag_ids`
) as `product.tagIds`,
`product.parent`.`category_ids` as `product.categoryIds.inherited`,
COALESCE(
`product`.`category_ids`, `product.parent`.`category_ids`
) as `product.categoryIds`,
`product`.`child_count` as `product.childCount`,
COALESCE(
`product`.`custom_field_set_selection_active`,
`product.parent`.`custom_field_set_selection_active`
) as `product.customFieldSetSelectionActive`,
`product`.`sales` as `product.sales`,
`product`.`states` as `product.states`,
`product.tax`.`id` as `product.tax.id`,
`product.tax`.`tax_rate` as `product.tax.taxRate`,
`product.tax`.`name` as `product.tax.name`,
`product.tax`.`position` as `product.tax.position`,
`product.tax`.`custom_fields` as `product.tax.customFields`,
`product.tax`.`created_at` as `product.tax.createdAt`,
`product.tax`.`updated_at` as `product.tax.updatedAt`,
`product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`,
COALESCE(
`product`.`cheapest_price`, `product.parent`.`cheapest_price`
) as `product.cheapestPrice`,
`product`.`created_at` as `product.createdAt`,
`product`.`updated_at` as `product.updatedAt`,
`product.bundle`.`id` as `product.bundle.id`,
`product.bundle`.`product_id` as `product.bundle.productId`,
`product.bundle`.`product_version_id` as `product.bundle.productVersionId`,
`product.bundle`.`name` as `product.bundle.name`,
`product.bundle`.`price_type` as `product.bundle.priceType`,
`product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`,
`product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`,
`product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`,
`product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`,
`product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`,
`product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`,
`product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`,
`product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`,
`product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`,
`product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`,
`product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`,
`product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`,
`product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`,
`product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`,
`product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`,
`product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`,
`product.bundle`.`created_at` as `product.bundle.createdAt`,
`product.bundle`.`updated_at` as `product.bundle.updatedAt`,
`product.cover`.`id` as `product.cover.id`,
`product.cover`.`version_id` as `product.cover.versionId`,
`product.cover`.`product_id` as `product.cover.productId`,
`product.cover`.`product_version_id` as `product.cover.productVersionId`,
`product.cover`.`media_id` as `product.cover.mediaId`,
`product.cover`.`position` as `product.cover.position`,
`product.cover.media`.`id` as `product.cover.media.id`,
`product.cover.media`.`user_id` as `product.cover.media.userId`,
`product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`,
`product.cover.media`.`mime_type` as `product.cover.media.mimeType`,
`product.cover.media`.`file_extension` as `product.cover.media.fileExtension`,
`product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`,
`product.cover.media`.`file_name` as `product.cover.media.fileName`,
`product.cover.media`.`file_size` as `product.cover.media.fileSize`,
`product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`,
`product.cover.media`.`meta_data` as `product.cover.media.metaData`,
`product.cover.media`.`private` as `product.cover.media.private`,
`product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`,
`product.cover.media`.`created_at` as `product.cover.media.createdAt`,
`product.cover.media`.`updated_at` as `product.cover.media.updatedAt`,
`product.cover.media.translation.title`,
COALESCE(
`product.cover.media.translation.title`,
`product.cover.media.translation.title`
) as `product.cover.media.title`,
`product.cover.media.translation.alt`,
COALESCE(
`product.cover.media.translation.alt`,
`product.cover.media.translation.alt`
) as `product.cover.media.alt`,
`product.cover.media.translation.customFields`,
COALESCE(
`product.cover.media.translation.customFields`,
`product.cover.media.translation.customFields`
) as `product.cover.media.customFields`,
`product.cover.media.translation.createdAt`,
`product.cover.media.translation.updatedAt`,
`product.cover.media.translation.mediaId`,
`product.cover.media.translation.languageId`,
`product.cover`.`custom_fields` as `product.cover.customFields`,
`product.cover`.`created_at` as `product.cover.createdAt`,
`product.cover`.`updated_at` as `product.cover.updatedAt`,
`product.translation.metaDescription`,
`product.parent.translation.metaDescription`,
COALESCE(
`product.translation.metaDescription`,
`product.parent.translation.metaDescription`,
`product.translation.metaDescription`
) as `product.metaDescription`,
`product.translation.name`,
`product.parent.translation.name`,
COALESCE(
`product.translation.name`, `product.parent.translation.name`,
`product.translation.name`
) as `product.name`,
`product.translation.keywords`,
`product.parent.translation.keywords`,
COALESCE(
`product.translation.keywords`,
`product.parent.translation.keywords`,
`product.translation.keywords`
) as `product.keywords`,
`product.translation.description`,
`product.parent.translation.description`,
COALESCE(
`product.translation.description`,
`product.parent.translation.description`,
`product.translation.description`
) as `product.description`,
`product.translation.metaTitle`,
`product.parent.translation.metaTitle`,
COALESCE(
`product.translation.metaTitle`,
`product.parent.translation.metaTitle`,
`product.translation.metaTitle`
) as `product.metaTitle`,
`product.translation.packUnit`,
`product.parent.translation.packUnit`,
COALESCE(
`product.translation.packUnit`,
`product.parent.translation.packUnit`,
`product.translation.packUnit`
) as `product.packUnit`,
`product.translation.packUnitPlural`,
`product.parent.translation.packUnitPlural`,
COALESCE(
`product.translation.packUnitPlural`,
`product.parent.translation.packUnitPlural`,
`product.translation.packUnitPlural`
) as `product.packUnitPlural`,
`product.translation.customSearchKeywords`,
`product.parent.translation.customSearchKeywords`,
COALESCE(
`product.translation.customSearchKeywords`,
`product.parent.translation.customSearchKeywords`,
`product.translation.customSearchKeywords`
) as `product.customSearchKeywords`,
`product.translation.slotConfig`,
`product.parent.translation.slotConfig`,
COALESCE(
`product.translation.slotConfig`,
`product.parent.translation.slotConfig`,
`product.translation.slotConfig`
) as `product.slotConfig`,
`product.translation.customFields`,
`product.parent.translation.customFields`,
COALESCE(
`product.translation.customFields`,
`product.parent.translation.customFields`,
`product.translation.customFields`
) as `product.customFields`,
`product.translation.createdAt`,
`product.parent.translation.createdAt`,
`product.translation.updatedAt`,
`product.parent.translation.updatedAt`,
`product.translation.productId`,
`product.parent.translation.productId`,
`product.translation.languageId`,
`product.parent.translation.languageId`,
`product.translation.productVersionId`,
`product.parent.translation.productVersionId`
FROM
`product`
LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id`
AND `product`.`version_id` = `product.parent`.`version_id`
LEFT JOIN (
SELECT
`product.translation`.product_id,
`product.translation`.product_version_id,
`product.translation`.meta_description as `product.translation.metaDescription`,
`product.translation`.name as `product.translation.name`,
`product.translation`.keywords as `product.translation.keywords`,
`product.translation`.description as `product.translation.description`,
`product.translation`.meta_title as `product.translation.metaTitle`,
`product.translation`.pack_unit as `product.translation.packUnit`,
`product.translation`.pack_unit_plural as `product.translation.packUnitPlural`,
`product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`,
`product.translation`.slot_config as `product.translation.slotConfig`,
`product.translation`.custom_fields as `product.translation.customFields`,
`product.translation`.created_at as `product.translation.createdAt`,
`product.translation`.updated_at as `product.translation.updatedAt`,
`product.translation`.product_id as `product.translation.productId`,
`product.translation`.language_id as `product.translation.languageId`,
`product.translation`.product_version_id as `product.translation.productVersionId`
FROM
`product_translation` `product.translation`
WHERE
`product.translation`.language_id = : languageId
) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id`
AND `product.product_translation`.product_version_id = `product`.version_id
LEFT JOIN (
SELECT
`product.parent.translation`.product_id,
`product.parent.translation`.product_version_id,
`product.parent.translation`.meta_description as `product.parent.translation.metaDescription`,
`product.parent.translation`.name as `product.parent.translation.name`,
`product.parent.translation`.keywords as `product.parent.translation.keywords`,
`product.parent.translation`.description as `product.parent.translation.description`,
`product.parent.translation`.meta_title as `product.parent.translation.metaTitle`,
`product.parent.translation`.pack_unit as `product.parent.translation.packUnit`,
`product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`,
`product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`,
`product.parent.translation`.slot_config as `product.parent.translation.slotConfig`,
`product.parent.translation`.custom_fields as `product.parent.translation.customFields`,
`product.parent.translation`.created_at as `product.parent.translation.createdAt`,
`product.parent.translation`.updated_at as `product.parent.translation.updatedAt`,
`product.parent.translation`.product_id as `product.parent.translation.productId`,
`product.parent.translation`.language_id as `product.parent.translation.languageId`,
`product.parent.translation`.product_version_id as `product.parent.translation.productVersionId`
FROM
`product_translation` `product.parent.translation`
WHERE
`product.parent.translation`.language_id = : languageId
) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id`
AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id
LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id`
LEFT JOIN `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_id`
LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id`
AND `product`.`version_id` = `product.cover`.`version_id`
LEFT JOIN `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id`
LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id`
LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`id`
LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id`
LEFT JOIN (
SELECT
`product.cover.media.translation`.media_id,
`product.cover.media.translation`.title as `product.cover.media.translation.title`,
`product.cover.media.translation`.alt as `product.cover.media.translation.alt`,
`product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`,
`product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`,
`product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`,
`product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`,
`product.cover.media.translation`.language_id as `product.cover.media.translation.languageId`
FROM
`media_translation` `product.cover.media.translation`
WHERE
`product.cover.media.translation`.language_id = : languageId
) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id`
WHERE
(
`product`.`version_id` = : version
)
AND (
`product`.`id` IN (: ids)
)
SELECT `product`.`id` as `product.id`, `product`.`version_id` as `product.versionId`, `product`.`parent_id` as `product.parentId`, `product`.`parent_version_id` as `product.parentVersionId`, COALESCE(`product`.`product_manufacturer_id`, `product.parent`.`product_manufacturer_id`) as `product.manufacturerId`, COALESCE(`product`.`product_manufacturer_version_id`, `product.parent`.`product_manufacturer_version_id`) as `product.productManufacturerVersionId`, COALESCE(`product`.`unit_id`, `product.parent`.`unit_id`) as `product.unitId`, COALESCE(`product`.`tax_id`, `product.parent`.`tax_id`) as `product.taxId`, COALESCE(`product`.`product_media_id`, `product.parent`.`product_media_id`) as `product.coverId`, COALESCE(`product`.`product_media_version_id`, `product.parent`.`product_media_version_id`) as `product.productMediaVersionId`, COALESCE(`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`) as `product.deliveryTimeId`, COALESCE(`product`.`product_feature_set_id`, `product.parent`.`product_feature_set_id`) as `product.featureSetId`, COALESCE(`product`.`canonical_product_id`, `product.parent`.`canonical_product_id`) as `product.canonicalProductId`, COALESCE(`product`.`cms_page_id`, `product.parent`.`cms_page_id`) as `product.cmsPageId`, COALESCE(`product`.`cms_page_version_id`, `product.parent`.`cms_page_version_id`) as `product.cmsPageVersionId`, `product.parent`.`price` as `product.price.inherited`, COALESCE(`product`.`price`, `product.parent`.`price`) as `product.price`, `product`.`product_number` as `product.productNumber`, `product`.`stock` as `product.stock`, COALESCE(`product`.`restock_time`, `product.parent`.`restock_time`) as `product.restockTime`, `product`.`auto_increment` as `product.autoIncrement`, COALESCE(`product`.`active`, `product.parent`.`active`) as `product.active`, `product`.`available_stock` as `product.availableStock`, `product`.`available` as `product.available`, COALESCE(`product`.`is_closeout`, `product.parent`.`is_closeout`) as `product.isCloseout`, `product`.`display_group` as `product.displayGroup`, `product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`, COALESCE(`product`.`configurator_group_config`, `product.parent`.`configurator_group_config`) as `product.configuratorGroupConfig`, COALESCE(`product`.`main_variant_id`, `product.parent`.`main_variant_id`) as `product.mainVariantId`, COALESCE(`product`.`display_parent`, `product.parent`.`display_parent`) as `product.displayParent`, `product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`, COALESCE(`product`.`variant_listing_config`, `product.parent`.`variant_listing_config`) as `product.variantListingConfig`, `product`.`variant_restrictions` as `product.variantRestrictions`, COALESCE(`product`.`manufacturer_number`, `product.parent`.`manufacturer_number`) as `product.manufacturerNumber`, COALESCE(`product`.`ean`, `product.parent`.`ean`) as `product.ean`, COALESCE(`product`.`purchase_steps`, `product.parent`.`purchase_steps`) as `product.purchaseSteps`, COALESCE(`product`.`max_purchase`, `product.parent`.`max_purchase`) as `product.maxPurchase`, COALESCE(`product`.`min_purchase`, `product.parent`.`min_purchase`) as `product.minPurchase`, COALESCE(`product`.`purchase_unit`, `product.parent`.`purchase_unit`) as `product.purchaseUnit`, COALESCE(`product`.`reference_unit`, `product.parent`.`reference_unit`) as `product.referenceUnit`, COALESCE(`product`.`shipping_free`, `product.parent`.`shipping_free`) as `product.shippingFree`, `product.parent`.`purchase_prices` as `product.purchasePrices.inherited`, COALESCE(`product`.`purchase_prices`, `product.parent`.`purchase_prices`) as `product.purchasePrices`, COALESCE(`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`) as `product.markAsTopseller`, COALESCE(`product`.`weight`, `product.parent`.`weight`) as `product.weight`, COALESCE(`product`.`width`, `product.parent`.`width`) as `product.width`, COALESCE(`product`.`height`, `product.parent`.`height`) as `product.height`, COALESCE(`product`.`length`, `product.parent`.`length`) as `product.length`, COALESCE(`product`.`release_date`, `product.parent`.`release_date`) as `product.releaseDate`, COALESCE(`product`.`rating_average`, `product.parent`.`rating_average`) as `product.ratingAverage`, `product.parent`.`category_tree` as `product.categoryTree.inherited`, COALESCE(`product`.`category_tree`, `product.parent`.`category_tree`) as `product.categoryTree`, `product.parent`.`property_ids` as `product.propertyIds.inherited`, COALESCE(`product`.`property_ids`, `product.parent`.`property_ids`) as `product.propertyIds`, `product.parent`.`option_ids` as `product.optionIds.inherited`, COALESCE(`product`.`option_ids`, `product.parent`.`option_ids`) as `product.optionIds`, `product.parent`.`stream_ids` as `product.streamIds.inherited`, COALESCE(`product`.`stream_ids`, `product.parent`.`stream_ids`) as `product.streamIds`, `product.parent`.`tag_ids` as `product.tagIds.inherited`, COALESCE(`product`.`tag_ids`, `product.parent`.`tag_ids`) as `product.tagIds`, `product.parent`.`category_ids` as `product.categoryIds.inherited`, COALESCE(`product`.`category_ids`, `product.parent`.`category_ids`) as `product.categoryIds`, `product`.`child_count` as `product.childCount`, COALESCE(`product`.`custom_field_set_selection_active`, `product.parent`.`custom_field_set_selection_active`) as `product.customFieldSetSelectionActive`, `product`.`sales` as `product.sales`, `product`.`states` as `product.states`, `product.tax`.`id` as `product.tax.id`, `product.tax`.`tax_rate` as `product.tax.taxRate`, `product.tax`.`name` as `product.tax.name`, `product.tax`.`position` as `product.tax.position`, `product.tax`.`custom_fields` as `product.tax.customFields`, `product.tax`.`created_at` as `product.tax.createdAt`, `product.tax`.`updated_at` as `product.tax.updatedAt`, `product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`, COALESCE(`product`.`cheapest_price`, `product.parent`.`cheapest_price`) as `product.cheapestPrice`, `product`.`created_at` as `product.createdAt`, `product`.`updated_at` as `product.updatedAt`, `product.bundle`.`id` as `product.bundle.id`, `product.bundle`.`product_id` as `product.bundle.productId`, `product.bundle`.`product_version_id` as `product.bundle.productVersionId`, `product.bundle`.`name` as `product.bundle.name`, `product.bundle`.`price_type` as `product.bundle.priceType`, `product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`, `product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`, `product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`, `product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`, `product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`, `product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`, `product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`, `product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`, `product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`, `product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`, `product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`, `product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`, `product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`, `product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`, `product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`, `product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`, `product.bundle`.`created_at` as `product.bundle.createdAt`, `product.bundle`.`updated_at` as `product.bundle.updatedAt`, `product.cover`.`id` as `product.cover.id`, `product.cover`.`version_id` as `product.cover.versionId`, `product.cover`.`product_id` as `product.cover.productId`, `product.cover`.`product_version_id` as `product.cover.productVersionId`, `product.cover`.`media_id` as `product.cover.mediaId`, `product.cover`.`position` as `product.cover.position`, `product.cover.media`.`id` as `product.cover.media.id`, `product.cover.media`.`user_id` as `product.cover.media.userId`, `product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`, `product.cover.media`.`mime_type` as `product.cover.media.mimeType`, `product.cover.media`.`file_extension` as `product.cover.media.fileExtension`, `product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`, `product.cover.media`.`file_name` as `product.cover.media.fileName`, `product.cover.media`.`file_size` as `product.cover.media.fileSize`, `product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`, `product.cover.media`.`meta_data` as `product.cover.media.metaData`, `product.cover.media`.`private` as `product.cover.media.private`, `product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`, `product.cover.media`.`created_at` as `product.cover.media.createdAt`, `product.cover.media`.`updated_at` as `product.cover.media.updatedAt`, `product.cover.media.translation.title`, COALESCE(`product.cover.media.translation.title`,`product.cover.media.translation.title`) as `product.cover.media.title`, `product.cover.media.translation.alt`, COALESCE(`product.cover.media.translation.alt`,`product.cover.media.translation.alt`) as `product.cover.media.alt`, `product.cover.media.translation.customFields`, COALESCE(`product.cover.media.translation.customFields`,`product.cover.media.translation.customFields`) as `product.cover.media.customFields`, `product.cover.media.translation.createdAt`, `product.cover.media.translation.updatedAt`, `product.cover.media.translation.mediaId`, `product.cover.media.translation.languageId`, `product.cover`.`custom_fields` as `product.cover.customFields`, `product.cover`.`created_at` as `product.cover.createdAt`, `product.cover`.`updated_at` as `product.cover.updatedAt`, `product.translation.metaDescription`, `product.parent.translation.metaDescription`, COALESCE(`product.translation.metaDescription`,`product.parent.translation.metaDescription`,`product.translation.metaDescription`) as `product.metaDescription`, `product.translation.name`, `product.parent.translation.name`, COALESCE(`product.translation.name`,`product.parent.translation.name`,`product.translation.name`) as `product.name`, `product.translation.keywords`, `product.parent.translation.keywords`, COALESCE(`product.translation.keywords`,`product.parent.translation.keywords`,`product.translation.keywords`) as `product.keywords`, `product.translation.description`, `product.parent.translation.description`, COALESCE(`product.translation.description`,`product.parent.translation.description`,`product.translation.description`) as `product.description`, `product.translation.metaTitle`, `product.parent.translation.metaTitle`, COALESCE(`product.translation.metaTitle`,`product.parent.translation.metaTitle`,`product.translation.metaTitle`) as `product.metaTitle`, `product.translation.packUnit`, `product.parent.translation.packUnit`, COALESCE(`product.translation.packUnit`,`product.parent.translation.packUnit`,`product.translation.packUnit`) as `product.packUnit`, `product.translation.packUnitPlural`, `product.parent.translation.packUnitPlural`, COALESCE(`product.translation.packUnitPlural`,`product.parent.translation.packUnitPlural`,`product.translation.packUnitPlural`) as `product.packUnitPlural`, `product.translation.customSearchKeywords`, `product.parent.translation.customSearchKeywords`, COALESCE(`product.translation.customSearchKeywords`,`product.parent.translation.customSearchKeywords`,`product.translation.customSearchKeywords`) as `product.customSearchKeywords`, `product.translation.slotConfig`, `product.parent.translation.slotConfig`, COALESCE(`product.translation.slotConfig`,`product.parent.translation.slotConfig`,`product.translation.slotConfig`) as `product.slotConfig`, `product.translation.customFields`, `product.parent.translation.customFields`, COALESCE(`product.translation.customFields`,`product.parent.translation.customFields`,`product.translation.customFields`) as `product.customFields`, `product.translation.createdAt`, `product.parent.translation.createdAt`, `product.translation.updatedAt`, `product.parent.translation.updatedAt`, `product.translation.productId`, `product.parent.translation.productId`, `product.translation.languageId`, `product.parent.translation.languageId`, `product.translation.productVersionId`, `product.parent.translation.productVersionId` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN (SELECT `product.translation`.product_id, `product.translation`.product_version_id, `product.translation`.meta_description as `product.translation.metaDescription`, `product.translation`.name as `product.translation.name`, `product.translation`.keywords as `product.translation.keywords`, `product.translation`.description as `product.translation.description`, `product.translation`.meta_title as `product.translation.metaTitle`, `product.translation`.pack_unit as `product.translation.packUnit`, `product.translation`.pack_unit_plural as `product.translation.packUnitPlural`, `product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`, `product.translation`.slot_config as `product.translation.slotConfig`, `product.translation`.custom_fields as `product.translation.customFields`, `product.translation`.created_at as `product.translation.createdAt`, `product.translation`.updated_at as `product.translation.updatedAt`, `product.translation`.product_id as `product.translation.productId`, `product.translation`.language_id as `product.translation.languageId`, `product.translation`.product_version_id as `product.translation.productVersionId` FROM `product_translation` `product.translation` WHERE `product.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id` AND `product.product_translation`.product_version_id = `product`.version_id LEFT JOIN (SELECT `product.parent.translation`.product_id, `product.parent.translation`.product_version_id, `product.parent.translation`.meta_description as `product.parent.translation.metaDescription`, `product.parent.translation`.name as `product.parent.translation.name`, `product.parent.translation`.keywords as `product.parent.translation.keywords`, `product.parent.translation`.description as `product.parent.translation.description`, `product.parent.translation`.meta_title as `product.parent.translation.metaTitle`, `product.parent.translation`.pack_unit as `product.parent.translation.packUnit`, `product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`, `product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`, `product.parent.translation`.slot_config as `product.parent.translation.slotConfig`, `product.parent.translation`.custom_fields as `product.parent.translation.customFields`, `product.parent.translation`.created_at as `product.parent.translation.createdAt`, `product.parent.translation`.updated_at as `product.parent.translation.updatedAt`, `product.parent.translation`.product_id as `product.parent.translation.productId`, `product.parent.translation`.language_id as `product.parent.translation.languageId`, `product.parent.translation`.product_version_id as `product.parent.translation.productVersionId` FROM `product_translation` `product.parent.translation` WHERE `product.parent.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id` AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id` LEFT JOIN `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_id` LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id` AND `product`.`version_id` = `product.cover`.`version_id` LEFT JOIN `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`id` LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id` LEFT JOIN (SELECT `product.cover.media.translation`.media_id, `product.cover.media.translation`.title as `product.cover.media.translation.title`, `product.cover.media.translation`.alt as `product.cover.media.translation.alt`, `product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`, `product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`, `product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`, `product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`, `product.cover.media.translation`.language_id as `product.cover.media.translation.languageId` FROM `media_translation` `product.cover.media.translation` WHERE `product.cover.media.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id` WHERE (`product`.`version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425) AND (`product`.`id` IN (0x1AC13C0695234DB1962D5899CC4EA096));
array:51 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 316)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetch (line 148)"
4 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 93)"
5 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::read (line 257)"
6 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::read (line 286)"
7 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::_search (line 106)"
8 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::search (line 51)"
9 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepositoryForwardCompatibilityDecorator::search (line 103)"
10 => "Bodymed\Webshop\StoreFront\Subscriber\ProductExtensionSubscriber::addParentCover (line 230)"
11 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
12 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
13 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
14 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
15 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
16 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 33)"
17 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
18 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 208)"
19 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::read (line 133)"
20 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 49)"
21 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariantsOfProduct (line 30)"
22 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariants (line 224)"
23 => "Bodymed\Webshop\Core\Content\Product\Cms\ProductSliderCmsElementResolver::enrich (line 99)"
24 => "Shopware\Core\Content\Cms\DataResolver\CmsSlotsDataResolver::resolve (line 104)"
25 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::loadSlotData (line 94)"
26 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::load (line 102)"
27 => "Shopware\Core\Content\Category\SalesChannel\CategoryRoute::load (line 103)"
28 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 350)"
29 => "Shopware\Core\System\SystemConfig\SystemConfigService::trace (line 44)"
30 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 120)"
31 => "Shopware\Core\Framework\Adapter\Translation\Translator::trace (line 45)"
32 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 46)"
33 => "Shopware\Core\Framework\Adapter\Cache\CacheTagCollection::trace (line 46)"
34 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::trace (line 41)"
35 => "Shopware\Storefront\Framework\Cache\CacheTracer::Shopware\Storefront\Framework\Cache\{closure} (line 59)"
36 => "Shopware\Storefront\Theme\ThemeConfigValueAccessor::trace (line 42)"
37 => "Shopware\Storefront\Framework\Cache\CacheTracer::trace (line 104)"
38 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 72)"
39 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
40 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 109)"
41 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 59)"
42 => "Shopware\Core\Profiling\Profiler::trace (line 112)"
43 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::load (line 66)"
44 => "Shopware\Storefront\Page\Navigation\NavigationPageLoader::load (line 48)"
45 => "Shopware\Storefront\Controller\NavigationController::home (line 163)"
46 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
47 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
48 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
49 => "Shopware\Core\HttpKernel::doHandle (line 81)"
50 => "Shopware\Core\HttpKernel::handle (line 75)"
]
|
57 |
0.75 ms |
SELECT * FROM sales_channel_api_context WHERE (sales_channel_id = :salesChannelId) AND (token = :token) LIMIT 1
SELECT * FROM sales_channel_api_context WHERE (sales_channel_id = 0x620A2217F7474E619CB00AD39E804CCA) AND (token = 'FwsxT47353Zxmr7lp0KSfYcVNkg5VpYR') LIMIT 1;
array:58 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 165)"
3 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextPersister::load (line 69)"
4 => "Bodymed\Webshop\Core\Subscriber\ProductSubscriber::addCustomerProductFeatureExtension (line 230)"
5 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
6 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
7 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
8 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
9 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
10 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 33)"
11 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
12 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 269)"
13 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::read (line 286)"
14 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::_search (line 106)"
15 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::search (line 51)"
16 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepositoryForwardCompatibilityDecorator::search (line 103)"
17 => "Bodymed\Webshop\StoreFront\Subscriber\ProductExtensionSubscriber::addParentCover (line 230)"
18 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
19 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
20 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
21 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
22 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
23 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 33)"
24 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
25 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 208)"
26 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::read (line 133)"
27 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 49)"
28 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariantsOfProduct (line 30)"
29 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariants (line 224)"
30 => "Bodymed\Webshop\Core\Content\Product\Cms\ProductSliderCmsElementResolver::enrich (line 99)"
31 => "Shopware\Core\Content\Cms\DataResolver\CmsSlotsDataResolver::resolve (line 104)"
32 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::loadSlotData (line 94)"
33 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::load (line 102)"
34 => "Shopware\Core\Content\Category\SalesChannel\CategoryRoute::load (line 103)"
35 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 350)"
36 => "Shopware\Core\System\SystemConfig\SystemConfigService::trace (line 44)"
37 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 120)"
38 => "Shopware\Core\Framework\Adapter\Translation\Translator::trace (line 45)"
39 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 46)"
40 => "Shopware\Core\Framework\Adapter\Cache\CacheTagCollection::trace (line 46)"
41 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::trace (line 41)"
42 => "Shopware\Storefront\Framework\Cache\CacheTracer::Shopware\Storefront\Framework\Cache\{closure} (line 59)"
43 => "Shopware\Storefront\Theme\ThemeConfigValueAccessor::trace (line 42)"
44 => "Shopware\Storefront\Framework\Cache\CacheTracer::trace (line 104)"
45 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 72)"
46 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
47 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 109)"
48 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 59)"
49 => "Shopware\Core\Profiling\Profiler::trace (line 112)"
50 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::load (line 66)"
51 => "Shopware\Storefront\Page\Navigation\NavigationPageLoader::load (line 48)"
52 => "Shopware\Storefront\Controller\NavigationController::home (line 163)"
53 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
54 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
55 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
56 => "Shopware\Core\HttpKernel::doHandle (line 81)"
57 => "Shopware\Core\HttpKernel::handle (line 75)"
]
|
58 |
1.18 ms |
SELECT `product`.`id`, `product`.`product_number`, `product`.`auto_increment` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN `product_visibility` `product.visibilities` ON `product`.`visibilities` = `product.visibilities`.`product_id` AND `product`.version_id = `product.visibilities`.product_version_id WHERE (`product`.`version_id` = :version) AND ((`product`.`parent_id` = :param_2a4fbeaf17294f458647226c083d374f AND ((`product.visibilities`.`visibility` >= :param_a2f8fb1f5f504e10ac31a85923b81c84) AND `product.visibilities`.`sales_channel_id` = :param_23f6b1edf73a461a989d9708062e5d22 AND IFNULL(`product`.`active`, `product.parent`.`active`) = :param_11f55728590d4eba94b9e06bffe53762))) GROUP BY `product`.`id`
SELECT `product`.`id`, `product`.`product_number`, `product`.`auto_increment` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN `product_visibility` `product.visibilities` ON `product`.`visibilities` = `product.visibilities`.`product_id` AND `product`.version_id = `product.visibilities`.product_version_id WHERE (`product`.`version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425) AND ((`product`.`parent_id` = 0x12399480A05A4762B2F1F9ADE33FE485 AND ((`product.visibilities`.`visibility` >= 10) AND `product.visibilities`.`sales_channel_id` = 0x620A2217F7474E619CB00AD39E804CCA AND IFNULL(`product`.`active`, `product.parent`.`active`) = 1))) GROUP BY `product`.`id`;
array:37 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 107)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntitySearcher::search (line 62)"
4 => "Shopware\Elasticsearch\Framework\DataAbstractionLayer\ElasticsearchEntitySearcher::search (line 216)"
5 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::doSearch (line 122)"
6 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 49)"
7 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariantsOfProduct (line 30)"
8 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariants (line 224)"
9 => "Bodymed\Webshop\Core\Content\Product\Cms\ProductSliderCmsElementResolver::enrich (line 99)"
10 => "Shopware\Core\Content\Cms\DataResolver\CmsSlotsDataResolver::resolve (line 104)"
11 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::loadSlotData (line 94)"
12 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::load (line 102)"
13 => "Shopware\Core\Content\Category\SalesChannel\CategoryRoute::load (line 103)"
14 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 350)"
15 => "Shopware\Core\System\SystemConfig\SystemConfigService::trace (line 44)"
16 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 120)"
17 => "Shopware\Core\Framework\Adapter\Translation\Translator::trace (line 45)"
18 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 46)"
19 => "Shopware\Core\Framework\Adapter\Cache\CacheTagCollection::trace (line 46)"
20 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::trace (line 41)"
21 => "Shopware\Storefront\Framework\Cache\CacheTracer::Shopware\Storefront\Framework\Cache\{closure} (line 59)"
22 => "Shopware\Storefront\Theme\ThemeConfigValueAccessor::trace (line 42)"
23 => "Shopware\Storefront\Framework\Cache\CacheTracer::trace (line 104)"
24 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 72)"
25 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
26 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 109)"
27 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 59)"
28 => "Shopware\Core\Profiling\Profiler::trace (line 112)"
29 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::load (line 66)"
30 => "Shopware\Storefront\Page\Navigation\NavigationPageLoader::load (line 48)"
31 => "Shopware\Storefront\Controller\NavigationController::home (line 163)"
32 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
33 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
34 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
35 => "Shopware\Core\HttpKernel::doHandle (line 81)"
36 => "Shopware\Core\HttpKernel::handle (line 75)"
]
|
59 |
1.72 ms |
SELECT `swkweb_buy_x_pay_y_promotion`.`id` as `swkweb_buy_x_pay_y_promotion.id`, `swkweb_buy_x_pay_y_promotion`.`product_stream_id` as `swkweb_buy_x_pay_y_promotion.productStreamId`, `swkweb_buy_x_pay_y_promotion`.`rule_id` as `swkweb_buy_x_pay_y_promotion.ruleId`, `swkweb_buy_x_pay_y_promotion`.`x` as `swkweb_buy_x_pay_y_promotion.x`, `swkweb_buy_x_pay_y_promotion`.`y` as `swkweb_buy_x_pay_y_promotion.y`, `swkweb_buy_x_pay_y_promotion`.`minimum_quantity` as `swkweb_buy_x_pay_y_promotion.minimumQuantity`, `swkweb_buy_x_pay_y_promotion`.`priority` as `swkweb_buy_x_pay_y_promotion.priority`, `swkweb_buy_x_pay_y_promotion`.`cross_variant` as `swkweb_buy_x_pay_y_promotion.crossVariant`, `swkweb_buy_x_pay_y_promotion`.`active` as `swkweb_buy_x_pay_y_promotion.active`, `swkweb_buy_x_pay_y_promotion`.`created_at` as `swkweb_buy_x_pay_y_promotion.createdAt`, `swkweb_buy_x_pay_y_promotion`.`updated_at` as `swkweb_buy_x_pay_y_promotion.updatedAt`, `swkweb_buy_x_pay_y_promotion.translation.name`, COALESCE(`swkweb_buy_x_pay_y_promotion.translation.name`,`swkweb_buy_x_pay_y_promotion.translation.name`) as `swkweb_buy_x_pay_y_promotion.name`, `swkweb_buy_x_pay_y_promotion.translation.createdAt`, `swkweb_buy_x_pay_y_promotion.translation.updatedAt`, `swkweb_buy_x_pay_y_promotion.translation.swkwebBuyXPayYPromotionId`, `swkweb_buy_x_pay_y_promotion.translation.languageId` FROM `swkweb_buy_x_pay_y_promotion` LEFT JOIN (SELECT `swkweb_buy_x_pay_y_promotion.translation`.swkweb_buy_x_pay_y_promotion_id, `swkweb_buy_x_pay_y_promotion.translation`.name as `swkweb_buy_x_pay_y_promotion.translation.name`, `swkweb_buy_x_pay_y_promotion.translation`.created_at as `swkweb_buy_x_pay_y_promotion.translation.createdAt`, `swkweb_buy_x_pay_y_promotion.translation`.updated_at as `swkweb_buy_x_pay_y_promotion.translation.updatedAt`, `swkweb_buy_x_pay_y_promotion.translation`.swkweb_buy_x_pay_y_promotion_id as `swkweb_buy_x_pay_y_promotion.translation.swkwebBuyXPayYPromotionId`, `swkweb_buy_x_pay_y_promotion.translation`.language_id as `swkweb_buy_x_pay_y_promotion.translation.languageId` FROM `swkweb_buy_x_pay_y_promotion_translation` `swkweb_buy_x_pay_y_promotion.translation` WHERE `swkweb_buy_x_pay_y_promotion.translation`.language_id = :languageId) `swkweb_buy_x_pay_y_promotion.swkweb_buy_x_pay_y_promotion_translation` ON `swkweb_buy_x_pay_y_promotion.swkweb_buy_x_pay_y_promotion_translation`.`swkweb_buy_x_pay_y_promotion_id` = `swkweb_buy_x_pay_y_promotion`.`id` WHERE (`swkweb_buy_x_pay_y_promotion`.`active` = :param_a30249d14c954164965753222a03957e AND (`swkweb_buy_x_pay_y_promotion`.`rule_id` <=> :param_45dca8d49a3e49309b483811a48aef8f OR `swkweb_buy_x_pay_y_promotion`.`rule_id` IN (:param_5c8044ed43be4ec18bc9291a82d13a10)))
SELECT `swkweb_buy_x_pay_y_promotion`.`id` as `swkweb_buy_x_pay_y_promotion.id`, `swkweb_buy_x_pay_y_promotion`.`product_stream_id` as `swkweb_buy_x_pay_y_promotion.productStreamId`, `swkweb_buy_x_pay_y_promotion`.`rule_id` as `swkweb_buy_x_pay_y_promotion.ruleId`, `swkweb_buy_x_pay_y_promotion`.`x` as `swkweb_buy_x_pay_y_promotion.x`, `swkweb_buy_x_pay_y_promotion`.`y` as `swkweb_buy_x_pay_y_promotion.y`, `swkweb_buy_x_pay_y_promotion`.`minimum_quantity` as `swkweb_buy_x_pay_y_promotion.minimumQuantity`, `swkweb_buy_x_pay_y_promotion`.`priority` as `swkweb_buy_x_pay_y_promotion.priority`, `swkweb_buy_x_pay_y_promotion`.`cross_variant` as `swkweb_buy_x_pay_y_promotion.crossVariant`, `swkweb_buy_x_pay_y_promotion`.`active` as `swkweb_buy_x_pay_y_promotion.active`, `swkweb_buy_x_pay_y_promotion`.`created_at` as `swkweb_buy_x_pay_y_promotion.createdAt`, `swkweb_buy_x_pay_y_promotion`.`updated_at` as `swkweb_buy_x_pay_y_promotion.updatedAt`, `swkweb_buy_x_pay_y_promotion.translation.name`, COALESCE(`swkweb_buy_x_pay_y_promotion.translation.name`,`swkweb_buy_x_pay_y_promotion.translation.name`) as `swkweb_buy_x_pay_y_promotion.name`, `swkweb_buy_x_pay_y_promotion.translation.createdAt`, `swkweb_buy_x_pay_y_promotion.translation.updatedAt`, `swkweb_buy_x_pay_y_promotion.translation.swkwebBuyXPayYPromotionId`, `swkweb_buy_x_pay_y_promotion.translation.languageId` FROM `swkweb_buy_x_pay_y_promotion` LEFT JOIN (SELECT `swkweb_buy_x_pay_y_promotion.translation`.swkweb_buy_x_pay_y_promotion_id, `swkweb_buy_x_pay_y_promotion.translation`.name as `swkweb_buy_x_pay_y_promotion.translation.name`, `swkweb_buy_x_pay_y_promotion.translation`.created_at as `swkweb_buy_x_pay_y_promotion.translation.createdAt`, `swkweb_buy_x_pay_y_promotion.translation`.updated_at as `swkweb_buy_x_pay_y_promotion.translation.updatedAt`, `swkweb_buy_x_pay_y_promotion.translation`.swkweb_buy_x_pay_y_promotion_id as `swkweb_buy_x_pay_y_promotion.translation.swkwebBuyXPayYPromotionId`, `swkweb_buy_x_pay_y_promotion.translation`.language_id as `swkweb_buy_x_pay_y_promotion.translation.languageId` FROM `swkweb_buy_x_pay_y_promotion_translation` `swkweb_buy_x_pay_y_promotion.translation` WHERE `swkweb_buy_x_pay_y_promotion.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `swkweb_buy_x_pay_y_promotion.swkweb_buy_x_pay_y_promotion_translation` ON `swkweb_buy_x_pay_y_promotion.swkweb_buy_x_pay_y_promotion_translation`.`swkweb_buy_x_pay_y_promotion_id` = `swkweb_buy_x_pay_y_promotion`.`id` WHERE (`swkweb_buy_x_pay_y_promotion`.`active` = 1 AND (`swkweb_buy_x_pay_y_promotion`.`rule_id` <=> NULL OR `swkweb_buy_x_pay_y_promotion`.`rule_id` IN (0x49E60033EEB14964AD30BBB2541A8832, 0x507D0ACF066F4AC8B4A5E137CC6A65D5, 0x624B5351CE6749F68E0173D176FC7D74, 0x1BD29ADF87934E51BCBC2A63DF3E5CD7, 0x54CA109BE7B94338B399B13A5D9CA690, 0x5B69F678101F40C3BBB95AD64C44F6C1, 0x888B2606F41C41E18E8E62EBD8019726, 0xB4449920AE794758AB3917DF10AA6A55, 0xC3D21140F4DF402C9BDF65AF4F7EAAAA, 0x605E84F76B374BAB8CFCEC73E9218201, 0xBA542F4FF2854B9EB943CBB0473A8D59)));
array:42 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 316)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetch (line 148)"
4 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 93)"
5 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::read (line 257)"
6 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::read (line 286)"
7 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::_search (line 106)"
8 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::search (line 51)"
9 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepositoryForwardCompatibilityDecorator::search (line 78)"
10 => "Swkweb\BuyXPayY\Core\Checkout\BuyXPayYPromotion\SalesChannel\BuyXPayYPromotionGateway::fetchPromotions (line 50)"
11 => "Swkweb\BuyXPayY\Core\Checkout\BuyXPayYPromotion\SalesChannel\BuyXPayYPromotionGateway::getPromotions (line 24)"
12 => "Swkweb\BuyXPayY\Core\Content\Product\SalesChannel\ProductBuyXPayYPromotionHelper::loadPromotions (line 53)"
13 => "Swkweb\BuyXPayY\Core\Content\Product\Cms\ProductSliderCmsElementResolver::enrich (line 237)"
14 => "Bodymed\Webshop\Core\Content\Product\Cms\ProductSliderCmsElementResolver::enrich (line 99)"
15 => "Shopware\Core\Content\Cms\DataResolver\CmsSlotsDataResolver::resolve (line 104)"
16 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::loadSlotData (line 94)"
17 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::load (line 102)"
18 => "Shopware\Core\Content\Category\SalesChannel\CategoryRoute::load (line 103)"
19 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 350)"
20 => "Shopware\Core\System\SystemConfig\SystemConfigService::trace (line 44)"
21 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 120)"
22 => "Shopware\Core\Framework\Adapter\Translation\Translator::trace (line 45)"
23 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 46)"
24 => "Shopware\Core\Framework\Adapter\Cache\CacheTagCollection::trace (line 46)"
25 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::trace (line 41)"
26 => "Shopware\Storefront\Framework\Cache\CacheTracer::Shopware\Storefront\Framework\Cache\{closure} (line 59)"
27 => "Shopware\Storefront\Theme\ThemeConfigValueAccessor::trace (line 42)"
28 => "Shopware\Storefront\Framework\Cache\CacheTracer::trace (line 104)"
29 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 72)"
30 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
31 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 109)"
32 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 59)"
33 => "Shopware\Core\Profiling\Profiler::trace (line 112)"
34 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::load (line 66)"
35 => "Shopware\Storefront\Page\Navigation\NavigationPageLoader::load (line 48)"
36 => "Shopware\Storefront\Controller\NavigationController::home (line 163)"
37 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
38 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
39 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
40 => "Shopware\Core\HttpKernel::doHandle (line 81)"
41 => "Shopware\Core\HttpKernel::handle (line 75)"
]
|
60 |
1.87 ms |
SELECT `product`.`id`, `product`.`product_number`, `product`.`auto_increment` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN `product_visibility` `product.visibilities` ON `product`.`visibilities` = `product.visibilities`.`product_id` AND `product`.version_id = `product.visibilities`.product_version_id WHERE (`product`.`version_id` = :version) AND ((`product`.`parent_id` = :param_ce88daae4425478c959354067c23c775 AND ((`product.visibilities`.`visibility` >= :param_1313cc29f6404a63bcc88c04c1268606) AND `product.visibilities`.`sales_channel_id` = :param_1b6cc77765c345bcb4aafcdb0a5d0a74 AND IFNULL(`product`.`active`, `product.parent`.`active`) = :param_accc38d95a99485c83b97c495eb590af))) GROUP BY `product`.`id`
SELECT `product`.`id`, `product`.`product_number`, `product`.`auto_increment` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN `product_visibility` `product.visibilities` ON `product`.`visibilities` = `product.visibilities`.`product_id` AND `product`.version_id = `product.visibilities`.product_version_id WHERE (`product`.`version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425) AND ((`product`.`parent_id` = 0x03F4EF144EC44C3E822790C652F7C3F6 AND ((`product.visibilities`.`visibility` >= 10) AND `product.visibilities`.`sales_channel_id` = 0x620A2217F7474E619CB00AD39E804CCA AND IFNULL(`product`.`active`, `product.parent`.`active`) = 1))) GROUP BY `product`.`id`;
array:37 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 107)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntitySearcher::search (line 62)"
4 => "Shopware\Elasticsearch\Framework\DataAbstractionLayer\ElasticsearchEntitySearcher::search (line 216)"
5 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::doSearch (line 122)"
6 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 49)"
7 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariantsOfProduct (line 30)"
8 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariants (line 224)"
9 => "Bodymed\Webshop\Core\Content\Product\Cms\ProductSliderCmsElementResolver::enrich (line 99)"
10 => "Shopware\Core\Content\Cms\DataResolver\CmsSlotsDataResolver::resolve (line 104)"
11 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::loadSlotData (line 94)"
12 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::load (line 102)"
13 => "Shopware\Core\Content\Category\SalesChannel\CategoryRoute::load (line 103)"
14 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 350)"
15 => "Shopware\Core\System\SystemConfig\SystemConfigService::trace (line 44)"
16 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 120)"
17 => "Shopware\Core\Framework\Adapter\Translation\Translator::trace (line 45)"
18 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 46)"
19 => "Shopware\Core\Framework\Adapter\Cache\CacheTagCollection::trace (line 46)"
20 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::trace (line 41)"
21 => "Shopware\Storefront\Framework\Cache\CacheTracer::Shopware\Storefront\Framework\Cache\{closure} (line 59)"
22 => "Shopware\Storefront\Theme\ThemeConfigValueAccessor::trace (line 42)"
23 => "Shopware\Storefront\Framework\Cache\CacheTracer::trace (line 104)"
24 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 72)"
25 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
26 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 109)"
27 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 59)"
28 => "Shopware\Core\Profiling\Profiler::trace (line 112)"
29 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::load (line 66)"
30 => "Shopware\Storefront\Page\Navigation\NavigationPageLoader::load (line 48)"
31 => "Shopware\Storefront\Controller\NavigationController::home (line 163)"
32 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
33 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
34 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
35 => "Shopware\Core\HttpKernel::doHandle (line 81)"
36 => "Shopware\Core\HttpKernel::handle (line 75)"
]
|
61 |
47.23 ms |
SELECT `product`.`id` as `product.id`, `product`.`version_id` as `product.versionId`, `product`.`parent_id` as `product.parentId`, `product`.`parent_version_id` as `product.parentVersionId`, COALESCE(`product`.`product_manufacturer_id`, `product.parent`.`product_manufacturer_id`) as `product.manufacturerId`, COALESCE(`product`.`product_manufacturer_version_id`, `product.parent`.`product_manufacturer_version_id`) as `product.productManufacturerVersionId`, COALESCE(`product`.`unit_id`, `product.parent`.`unit_id`) as `product.unitId`, COALESCE(`product`.`tax_id`, `product.parent`.`tax_id`) as `product.taxId`, COALESCE(`product`.`product_media_id`, `product.parent`.`product_media_id`) as `product.coverId`, COALESCE(`product`.`product_media_version_id`, `product.parent`.`product_media_version_id`) as `product.productMediaVersionId`, COALESCE(`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`) as `product.deliveryTimeId`, COALESCE(`product`.`product_feature_set_id`, `product.parent`.`product_feature_set_id`) as `product.featureSetId`, COALESCE(`product`.`canonical_product_id`, `product.parent`.`canonical_product_id`) as `product.canonicalProductId`, COALESCE(`product`.`cms_page_id`, `product.parent`.`cms_page_id`) as `product.cmsPageId`, COALESCE(`product`.`cms_page_version_id`, `product.parent`.`cms_page_version_id`) as `product.cmsPageVersionId`, `product.parent`.`price` as `product.price.inherited`, COALESCE(`product`.`price`, `product.parent`.`price`) as `product.price`, `product`.`product_number` as `product.productNumber`, `product`.`stock` as `product.stock`, COALESCE(`product`.`restock_time`, `product.parent`.`restock_time`) as `product.restockTime`, `product`.`auto_increment` as `product.autoIncrement`, COALESCE(`product`.`active`, `product.parent`.`active`) as `product.active`, `product`.`available_stock` as `product.availableStock`, `product`.`available` as `product.available`, COALESCE(`product`.`is_closeout`, `product.parent`.`is_closeout`) as `product.isCloseout`, `product`.`display_group` as `product.displayGroup`, `product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`, COALESCE(`product`.`configurator_group_config`, `product.parent`.`configurator_group_config`) as `product.configuratorGroupConfig`, COALESCE(`product`.`main_variant_id`, `product.parent`.`main_variant_id`) as `product.mainVariantId`, COALESCE(`product`.`display_parent`, `product.parent`.`display_parent`) as `product.displayParent`, `product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`, COALESCE(`product`.`variant_listing_config`, `product.parent`.`variant_listing_config`) as `product.variantListingConfig`, `product`.`variant_restrictions` as `product.variantRestrictions`, COALESCE(`product`.`manufacturer_number`, `product.parent`.`manufacturer_number`) as `product.manufacturerNumber`, COALESCE(`product`.`ean`, `product.parent`.`ean`) as `product.ean`, COALESCE(`product`.`purchase_steps`, `product.parent`.`purchase_steps`) as `product.purchaseSteps`, COALESCE(`product`.`max_purchase`, `product.parent`.`max_purchase`) as `product.maxPurchase`, COALESCE(`product`.`min_purchase`, `product.parent`.`min_purchase`) as `product.minPurchase`, COALESCE(`product`.`purchase_unit`, `product.parent`.`purchase_unit`) as `product.purchaseUnit`, COALESCE(`product`.`reference_unit`, `product.parent`.`reference_unit`) as `product.referenceUnit`, COALESCE(`product`.`shipping_free`, `product.parent`.`shipping_free`) as `product.shippingFree`, `product.parent`.`purchase_prices` as `product.purchasePrices.inherited`, COALESCE(`product`.`purchase_prices`, `product.parent`.`purchase_prices`) as `product.purchasePrices`, COALESCE(`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`) as `product.markAsTopseller`, COALESCE(`product`.`weight`, `product.parent`.`weight`) as `product.weight`, COALESCE(`product`.`width`, `product.parent`.`width`) as `product.width`, COALESCE(`product`.`height`, `product.parent`.`height`) as `product.height`, COALESCE(`product`.`length`, `product.parent`.`length`) as `product.length`, COALESCE(`product`.`release_date`, `product.parent`.`release_date`) as `product.releaseDate`, COALESCE(`product`.`rating_average`, `product.parent`.`rating_average`) as `product.ratingAverage`, `product.parent`.`category_tree` as `product.categoryTree.inherited`, COALESCE(`product`.`category_tree`, `product.parent`.`category_tree`) as `product.categoryTree`, `product.parent`.`property_ids` as `product.propertyIds.inherited`, COALESCE(`product`.`property_ids`, `product.parent`.`property_ids`) as `product.propertyIds`, `product.parent`.`option_ids` as `product.optionIds.inherited`, COALESCE(`product`.`option_ids`, `product.parent`.`option_ids`) as `product.optionIds`, `product.parent`.`stream_ids` as `product.streamIds.inherited`, COALESCE(`product`.`stream_ids`, `product.parent`.`stream_ids`) as `product.streamIds`, `product.parent`.`tag_ids` as `product.tagIds.inherited`, COALESCE(`product`.`tag_ids`, `product.parent`.`tag_ids`) as `product.tagIds`, `product.parent`.`category_ids` as `product.categoryIds.inherited`, COALESCE(`product`.`category_ids`, `product.parent`.`category_ids`) as `product.categoryIds`, `product`.`child_count` as `product.childCount`, COALESCE(`product`.`custom_field_set_selection_active`, `product.parent`.`custom_field_set_selection_active`) as `product.customFieldSetSelectionActive`, `product`.`sales` as `product.sales`, `product`.`states` as `product.states`, `product.tax`.`id` as `product.tax.id`, `product.tax`.`tax_rate` as `product.tax.taxRate`, `product.tax`.`name` as `product.tax.name`, `product.tax`.`position` as `product.tax.position`, `product.tax`.`custom_fields` as `product.tax.customFields`, `product.tax`.`created_at` as `product.tax.createdAt`, `product.tax`.`updated_at` as `product.tax.updatedAt`, `product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`, COALESCE(`product`.`cheapest_price`, `product.parent`.`cheapest_price`) as `product.cheapestPrice`, `product`.`created_at` as `product.createdAt`, `product`.`updated_at` as `product.updatedAt`, `product.bundle`.`id` as `product.bundle.id`, `product.bundle`.`product_id` as `product.bundle.productId`, `product.bundle`.`product_version_id` as `product.bundle.productVersionId`, `product.bundle`.`name` as `product.bundle.name`, `product.bundle`.`price_type` as `product.bundle.priceType`, `product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`, `product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`, `product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`, `product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`, `product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`, `product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`, `product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`, `product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`, `product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`, `product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`, `product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`, `product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`, `product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`, `product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`, `product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`, `product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`, `product.bundle`.`created_at` as `product.bundle.createdAt`, `product.bundle`.`updated_at` as `product.bundle.updatedAt`, `product.unit`.`id` as `product.unit.id`, `product.unit`.`created_at` as `product.unit.createdAt`, `product.unit`.`updated_at` as `product.unit.updatedAt`, `product.unit.translation.shortCode`, COALESCE(`product.unit.translation.shortCode`,`product.unit.translation.shortCode`) as `product.unit.shortCode`, `product.unit.translation.name`, COALESCE(`product.unit.translation.name`,`product.unit.translation.name`) as `product.unit.name`, `product.unit.translation.customFields`, COALESCE(`product.unit.translation.customFields`,`product.unit.translation.customFields`) as `product.unit.customFields`, `product.unit.translation.createdAt`, `product.unit.translation.updatedAt`, `product.unit.translation.unitId`, `product.unit.translation.languageId`, `product.deliveryTime`.`id` as `product.deliveryTime.id`, `product.deliveryTime`.`min` as `product.deliveryTime.min`, `product.deliveryTime`.`max` as `product.deliveryTime.max`, `product.deliveryTime`.`unit` as `product.deliveryTime.unit`, `product.deliveryTime`.`created_at` as `product.deliveryTime.createdAt`, `product.deliveryTime`.`updated_at` as `product.deliveryTime.updatedAt`, `product.deliveryTime.translation.name`, COALESCE(`product.deliveryTime.translation.name`,`product.deliveryTime.translation.name`) as `product.deliveryTime.name`, `product.deliveryTime.translation.customFields`, COALESCE(`product.deliveryTime.translation.customFields`,`product.deliveryTime.translation.customFields`) as `product.deliveryTime.customFields`, `product.deliveryTime.translation.createdAt`, `product.deliveryTime.translation.updatedAt`, `product.deliveryTime.translation.deliveryTimeId`, `product.deliveryTime.translation.languageId`, `product.cover`.`id` as `product.cover.id`, `product.cover`.`version_id` as `product.cover.versionId`, `product.cover`.`product_id` as `product.cover.productId`, `product.cover`.`product_version_id` as `product.cover.productVersionId`, `product.cover`.`media_id` as `product.cover.mediaId`, `product.cover`.`position` as `product.cover.position`, `product.cover.media`.`id` as `product.cover.media.id`, `product.cover.media`.`user_id` as `product.cover.media.userId`, `product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`, `product.cover.media`.`mime_type` as `product.cover.media.mimeType`, `product.cover.media`.`file_extension` as `product.cover.media.fileExtension`, `product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`, `product.cover.media`.`file_name` as `product.cover.media.fileName`, `product.cover.media`.`file_size` as `product.cover.media.fileSize`, `product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`, `product.cover.media`.`meta_data` as `product.cover.media.metaData`, `product.cover.media`.`private` as `product.cover.media.private`, `product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`, `product.cover.media`.`created_at` as `product.cover.media.createdAt`, `product.cover.media`.`updated_at` as `product.cover.media.updatedAt`, `product.cover.media.translation.title`, COALESCE(`product.cover.media.translation.title`,`product.cover.media.translation.title`) as `product.cover.media.title`, `product.cover.media.translation.alt`, COALESCE(`product.cover.media.translation.alt`,`product.cover.media.translation.alt`) as `product.cover.media.alt`, `product.cover.media.translation.customFields`, COALESCE(`product.cover.media.translation.customFields`,`product.cover.media.translation.customFields`) as `product.cover.media.customFields`, `product.cover.media.translation.createdAt`, `product.cover.media.translation.updatedAt`, `product.cover.media.translation.mediaId`, `product.cover.media.translation.languageId`, `product.cover`.`custom_fields` as `product.cover.customFields`, `product.cover`.`created_at` as `product.cover.createdAt`, `product.cover`.`updated_at` as `product.cover.updatedAt`, `product.translation.metaDescription`, `product.parent.translation.metaDescription`, COALESCE(`product.translation.metaDescription`,`product.parent.translation.metaDescription`,`product.translation.metaDescription`) as `product.metaDescription`, `product.translation.name`, `product.parent.translation.name`, COALESCE(`product.translation.name`,`product.parent.translation.name`,`product.translation.name`) as `product.name`, `product.translation.keywords`, `product.parent.translation.keywords`, COALESCE(`product.translation.keywords`,`product.parent.translation.keywords`,`product.translation.keywords`) as `product.keywords`, `product.translation.description`, `product.parent.translation.description`, COALESCE(`product.translation.description`,`product.parent.translation.description`,`product.translation.description`) as `product.description`, `product.translation.metaTitle`, `product.parent.translation.metaTitle`, COALESCE(`product.translation.metaTitle`,`product.parent.translation.metaTitle`,`product.translation.metaTitle`) as `product.metaTitle`, `product.translation.packUnit`, `product.parent.translation.packUnit`, COALESCE(`product.translation.packUnit`,`product.parent.translation.packUnit`,`product.translation.packUnit`) as `product.packUnit`, `product.translation.packUnitPlural`, `product.parent.translation.packUnitPlural`, COALESCE(`product.translation.packUnitPlural`,`product.parent.translation.packUnitPlural`,`product.translation.packUnitPlural`) as `product.packUnitPlural`, `product.translation.customSearchKeywords`, `product.parent.translation.customSearchKeywords`, COALESCE(`product.translation.customSearchKeywords`,`product.parent.translation.customSearchKeywords`,`product.translation.customSearchKeywords`) as `product.customSearchKeywords`, `product.translation.slotConfig`, `product.parent.translation.slotConfig`, COALESCE(`product.translation.slotConfig`,`product.parent.translation.slotConfig`,`product.translation.slotConfig`) as `product.slotConfig`, `product.translation.customFields`, `product.parent.translation.customFields`, COALESCE(`product.translation.customFields`,`product.parent.translation.customFields`,`product.translation.customFields`) as `product.customFields`, `product.translation.createdAt`, `product.parent.translation.createdAt`, `product.translation.updatedAt`, `product.parent.translation.updatedAt`, `product.translation.productId`, `product.parent.translation.productId`, `product.translation.languageId`, `product.parent.translation.languageId`, `product.translation.productVersionId`, `product.parent.translation.productVersionId` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN (SELECT `product.translation`.product_id, `product.translation`.product_version_id, `product.translation`.meta_description as `product.translation.metaDescription`, `product.translation`.name as `product.translation.name`, `product.translation`.keywords as `product.translation.keywords`, `product.translation`.description as `product.translation.description`, `product.translation`.meta_title as `product.translation.metaTitle`, `product.translation`.pack_unit as `product.translation.packUnit`, `product.translation`.pack_unit_plural as `product.translation.packUnitPlural`, `product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`, `product.translation`.slot_config as `product.translation.slotConfig`, `product.translation`.custom_fields as `product.translation.customFields`, `product.translation`.created_at as `product.translation.createdAt`, `product.translation`.updated_at as `product.translation.updatedAt`, `product.translation`.product_id as `product.translation.productId`, `product.translation`.language_id as `product.translation.languageId`, `product.translation`.product_version_id as `product.translation.productVersionId` FROM `product_translation` `product.translation` WHERE `product.translation`.language_id = :languageId) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id` AND `product.product_translation`.product_version_id = `product`.version_id LEFT JOIN (SELECT `product.parent.translation`.product_id, `product.parent.translation`.product_version_id, `product.parent.translation`.meta_description as `product.parent.translation.metaDescription`, `product.parent.translation`.name as `product.parent.translation.name`, `product.parent.translation`.keywords as `product.parent.translation.keywords`, `product.parent.translation`.description as `product.parent.translation.description`, `product.parent.translation`.meta_title as `product.parent.translation.metaTitle`, `product.parent.translation`.pack_unit as `product.parent.translation.packUnit`, `product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`, `product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`, `product.parent.translation`.slot_config as `product.parent.translation.slotConfig`, `product.parent.translation`.custom_fields as `product.parent.translation.customFields`, `product.parent.translation`.created_at as `product.parent.translation.createdAt`, `product.parent.translation`.updated_at as `product.parent.translation.updatedAt`, `product.parent.translation`.product_id as `product.parent.translation.productId`, `product.parent.translation`.language_id as `product.parent.translation.languageId`, `product.parent.translation`.product_version_id as `product.parent.translation.productVersionId` FROM `product_translation` `product.parent.translation` WHERE `product.parent.translation`.language_id = :languageId) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id` AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id` LEFT JOIN `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_id` LEFT JOIN `unit` `product.unit` ON `product`.`unit` = `product.unit`.`id` LEFT JOIN `delivery_time` `product.deliveryTime` ON `product`.`deliveryTime` = `product.deliveryTime`.`id` LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id` AND `product`.`version_id` = `product.cover`.`version_id` LEFT JOIN `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`id` LEFT JOIN (SELECT `product.unit.translation`.unit_id, `product.unit.translation`.short_code as `product.unit.translation.shortCode`, `product.unit.translation`.name as `product.unit.translation.name`, `product.unit.translation`.custom_fields as `product.unit.translation.customFields`, `product.unit.translation`.created_at as `product.unit.translation.createdAt`, `product.unit.translation`.updated_at as `product.unit.translation.updatedAt`, `product.unit.translation`.unit_id as `product.unit.translation.unitId`, `product.unit.translation`.language_id as `product.unit.translation.languageId` FROM `unit_translation` `product.unit.translation` WHERE `product.unit.translation`.language_id = :languageId) `product.unit.unit_translation` ON `product.unit.unit_translation`.`unit_id` = `product.unit`.`id` LEFT JOIN (SELECT `product.deliveryTime.translation`.delivery_time_id, `product.deliveryTime.translation`.name as `product.deliveryTime.translation.name`, `product.deliveryTime.translation`.custom_fields as `product.deliveryTime.translation.customFields`, `product.deliveryTime.translation`.created_at as `product.deliveryTime.translation.createdAt`, `product.deliveryTime.translation`.updated_at as `product.deliveryTime.translation.updatedAt`, `product.deliveryTime.translation`.delivery_time_id as `product.deliveryTime.translation.deliveryTimeId`, `product.deliveryTime.translation`.language_id as `product.deliveryTime.translation.languageId` FROM `delivery_time_translation` `product.deliveryTime.translation` WHERE `product.deliveryTime.translation`.language_id = :languageId) `product.deliveryTime.delivery_time_translation` ON `product.deliveryTime.delivery_time_translation`.`delivery_time_id` = `product.deliveryTime`.`id` LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id` LEFT JOIN (SELECT `product.cover.media.translation`.media_id, `product.cover.media.translation`.title as `product.cover.media.translation.title`, `product.cover.media.translation`.alt as `product.cover.media.translation.alt`, `product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`, `product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`, `product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`, `product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`, `product.cover.media.translation`.language_id as `product.cover.media.translation.languageId` FROM `media_translation` `product.cover.media.translation` WHERE `product.cover.media.translation`.language_id = :languageId) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id` WHERE (`product`.`version_id` = :version) AND (`product`.`id` IN (:ids))
SELECT
`product`.`id` as `product.id`,
`product`.`version_id` as `product.versionId`,
`product`.`parent_id` as `product.parentId`,
`product`.`parent_version_id` as `product.parentVersionId`,
COALESCE(
`product`.`product_manufacturer_id`,
`product.parent`.`product_manufacturer_id`
) as `product.manufacturerId`,
COALESCE(
`product`.`product_manufacturer_version_id`,
`product.parent`.`product_manufacturer_version_id`
) as `product.productManufacturerVersionId`,
COALESCE(
`product`.`unit_id`, `product.parent`.`unit_id`
) as `product.unitId`,
COALESCE(
`product`.`tax_id`, `product.parent`.`tax_id`
) as `product.taxId`,
COALESCE(
`product`.`product_media_id`, `product.parent`.`product_media_id`
) as `product.coverId`,
COALESCE(
`product`.`product_media_version_id`,
`product.parent`.`product_media_version_id`
) as `product.productMediaVersionId`,
COALESCE(
`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`
) as `product.deliveryTimeId`,
COALESCE(
`product`.`product_feature_set_id`,
`product.parent`.`product_feature_set_id`
) as `product.featureSetId`,
COALESCE(
`product`.`canonical_product_id`,
`product.parent`.`canonical_product_id`
) as `product.canonicalProductId`,
COALESCE(
`product`.`cms_page_id`, `product.parent`.`cms_page_id`
) as `product.cmsPageId`,
COALESCE(
`product`.`cms_page_version_id`,
`product.parent`.`cms_page_version_id`
) as `product.cmsPageVersionId`,
`product.parent`.`price` as `product.price.inherited`,
COALESCE(
`product`.`price`, `product.parent`.`price`
) as `product.price`,
`product`.`product_number` as `product.productNumber`,
`product`.`stock` as `product.stock`,
COALESCE(
`product`.`restock_time`, `product.parent`.`restock_time`
) as `product.restockTime`,
`product`.`auto_increment` as `product.autoIncrement`,
COALESCE(
`product`.`active`, `product.parent`.`active`
) as `product.active`,
`product`.`available_stock` as `product.availableStock`,
`product`.`available` as `product.available`,
COALESCE(
`product`.`is_closeout`, `product.parent`.`is_closeout`
) as `product.isCloseout`,
`product`.`display_group` as `product.displayGroup`,
`product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`,
COALESCE(
`product`.`configurator_group_config`,
`product.parent`.`configurator_group_config`
) as `product.configuratorGroupConfig`,
COALESCE(
`product`.`main_variant_id`, `product.parent`.`main_variant_id`
) as `product.mainVariantId`,
COALESCE(
`product`.`display_parent`, `product.parent`.`display_parent`
) as `product.displayParent`,
`product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`,
COALESCE(
`product`.`variant_listing_config`,
`product.parent`.`variant_listing_config`
) as `product.variantListingConfig`,
`product`.`variant_restrictions` as `product.variantRestrictions`,
COALESCE(
`product`.`manufacturer_number`,
`product.parent`.`manufacturer_number`
) as `product.manufacturerNumber`,
COALESCE(
`product`.`ean`, `product.parent`.`ean`
) as `product.ean`,
COALESCE(
`product`.`purchase_steps`, `product.parent`.`purchase_steps`
) as `product.purchaseSteps`,
COALESCE(
`product`.`max_purchase`, `product.parent`.`max_purchase`
) as `product.maxPurchase`,
COALESCE(
`product`.`min_purchase`, `product.parent`.`min_purchase`
) as `product.minPurchase`,
COALESCE(
`product`.`purchase_unit`, `product.parent`.`purchase_unit`
) as `product.purchaseUnit`,
COALESCE(
`product`.`reference_unit`, `product.parent`.`reference_unit`
) as `product.referenceUnit`,
COALESCE(
`product`.`shipping_free`, `product.parent`.`shipping_free`
) as `product.shippingFree`,
`product.parent`.`purchase_prices` as `product.purchasePrices.inherited`,
COALESCE(
`product`.`purchase_prices`, `product.parent`.`purchase_prices`
) as `product.purchasePrices`,
COALESCE(
`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`
) as `product.markAsTopseller`,
COALESCE(
`product`.`weight`, `product.parent`.`weight`
) as `product.weight`,
COALESCE(
`product`.`width`, `product.parent`.`width`
) as `product.width`,
COALESCE(
`product`.`height`, `product.parent`.`height`
) as `product.height`,
COALESCE(
`product`.`length`, `product.parent`.`length`
) as `product.length`,
COALESCE(
`product`.`release_date`, `product.parent`.`release_date`
) as `product.releaseDate`,
COALESCE(
`product`.`rating_average`, `product.parent`.`rating_average`
) as `product.ratingAverage`,
`product.parent`.`category_tree` as `product.categoryTree.inherited`,
COALESCE(
`product`.`category_tree`, `product.parent`.`category_tree`
) as `product.categoryTree`,
`product.parent`.`property_ids` as `product.propertyIds.inherited`,
COALESCE(
`product`.`property_ids`, `product.parent`.`property_ids`
) as `product.propertyIds`,
`product.parent`.`option_ids` as `product.optionIds.inherited`,
COALESCE(
`product`.`option_ids`, `product.parent`.`option_ids`
) as `product.optionIds`,
`product.parent`.`stream_ids` as `product.streamIds.inherited`,
COALESCE(
`product`.`stream_ids`, `product.parent`.`stream_ids`
) as `product.streamIds`,
`product.parent`.`tag_ids` as `product.tagIds.inherited`,
COALESCE(
`product`.`tag_ids`, `product.parent`.`tag_ids`
) as `product.tagIds`,
`product.parent`.`category_ids` as `product.categoryIds.inherited`,
COALESCE(
`product`.`category_ids`, `product.parent`.`category_ids`
) as `product.categoryIds`,
`product`.`child_count` as `product.childCount`,
COALESCE(
`product`.`custom_field_set_selection_active`,
`product.parent`.`custom_field_set_selection_active`
) as `product.customFieldSetSelectionActive`,
`product`.`sales` as `product.sales`,
`product`.`states` as `product.states`,
`product.tax`.`id` as `product.tax.id`,
`product.tax`.`tax_rate` as `product.tax.taxRate`,
`product.tax`.`name` as `product.tax.name`,
`product.tax`.`position` as `product.tax.position`,
`product.tax`.`custom_fields` as `product.tax.customFields`,
`product.tax`.`created_at` as `product.tax.createdAt`,
`product.tax`.`updated_at` as `product.tax.updatedAt`,
`product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`,
COALESCE(
`product`.`cheapest_price`, `product.parent`.`cheapest_price`
) as `product.cheapestPrice`,
`product`.`created_at` as `product.createdAt`,
`product`.`updated_at` as `product.updatedAt`,
`product.bundle`.`id` as `product.bundle.id`,
`product.bundle`.`product_id` as `product.bundle.productId`,
`product.bundle`.`product_version_id` as `product.bundle.productVersionId`,
`product.bundle`.`name` as `product.bundle.name`,
`product.bundle`.`price_type` as `product.bundle.priceType`,
`product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`,
`product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`,
`product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`,
`product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`,
`product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`,
`product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`,
`product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`,
`product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`,
`product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`,
`product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`,
`product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`,
`product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`,
`product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`,
`product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`,
`product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`,
`product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`,
`product.bundle`.`created_at` as `product.bundle.createdAt`,
`product.bundle`.`updated_at` as `product.bundle.updatedAt`,
`product.unit`.`id` as `product.unit.id`,
`product.unit`.`created_at` as `product.unit.createdAt`,
`product.unit`.`updated_at` as `product.unit.updatedAt`,
`product.unit.translation.shortCode`,
COALESCE(
`product.unit.translation.shortCode`,
`product.unit.translation.shortCode`
) as `product.unit.shortCode`,
`product.unit.translation.name`,
COALESCE(
`product.unit.translation.name`,
`product.unit.translation.name`
) as `product.unit.name`,
`product.unit.translation.customFields`,
COALESCE(
`product.unit.translation.customFields`,
`product.unit.translation.customFields`
) as `product.unit.customFields`,
`product.unit.translation.createdAt`,
`product.unit.translation.updatedAt`,
`product.unit.translation.unitId`,
`product.unit.translation.languageId`,
`product.deliveryTime`.`id` as `product.deliveryTime.id`,
`product.deliveryTime`.`min` as `product.deliveryTime.min`,
`product.deliveryTime`.`max` as `product.deliveryTime.max`,
`product.deliveryTime`.`unit` as `product.deliveryTime.unit`,
`product.deliveryTime`.`created_at` as `product.deliveryTime.createdAt`,
`product.deliveryTime`.`updated_at` as `product.deliveryTime.updatedAt`,
`product.deliveryTime.translation.name`,
COALESCE(
`product.deliveryTime.translation.name`,
`product.deliveryTime.translation.name`
) as `product.deliveryTime.name`,
`product.deliveryTime.translation.customFields`,
COALESCE(
`product.deliveryTime.translation.customFields`,
`product.deliveryTime.translation.customFields`
) as `product.deliveryTime.customFields`,
`product.deliveryTime.translation.createdAt`,
`product.deliveryTime.translation.updatedAt`,
`product.deliveryTime.translation.deliveryTimeId`,
`product.deliveryTime.translation.languageId`,
`product.cover`.`id` as `product.cover.id`,
`product.cover`.`version_id` as `product.cover.versionId`,
`product.cover`.`product_id` as `product.cover.productId`,
`product.cover`.`product_version_id` as `product.cover.productVersionId`,
`product.cover`.`media_id` as `product.cover.mediaId`,
`product.cover`.`position` as `product.cover.position`,
`product.cover.media`.`id` as `product.cover.media.id`,
`product.cover.media`.`user_id` as `product.cover.media.userId`,
`product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`,
`product.cover.media`.`mime_type` as `product.cover.media.mimeType`,
`product.cover.media`.`file_extension` as `product.cover.media.fileExtension`,
`product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`,
`product.cover.media`.`file_name` as `product.cover.media.fileName`,
`product.cover.media`.`file_size` as `product.cover.media.fileSize`,
`product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`,
`product.cover.media`.`meta_data` as `product.cover.media.metaData`,
`product.cover.media`.`private` as `product.cover.media.private`,
`product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`,
`product.cover.media`.`created_at` as `product.cover.media.createdAt`,
`product.cover.media`.`updated_at` as `product.cover.media.updatedAt`,
`product.cover.media.translation.title`,
COALESCE(
`product.cover.media.translation.title`,
`product.cover.media.translation.title`
) as `product.cover.media.title`,
`product.cover.media.translation.alt`,
COALESCE(
`product.cover.media.translation.alt`,
`product.cover.media.translation.alt`
) as `product.cover.media.alt`,
`product.cover.media.translation.customFields`,
COALESCE(
`product.cover.media.translation.customFields`,
`product.cover.media.translation.customFields`
) as `product.cover.media.customFields`,
`product.cover.media.translation.createdAt`,
`product.cover.media.translation.updatedAt`,
`product.cover.media.translation.mediaId`,
`product.cover.media.translation.languageId`,
`product.cover`.`custom_fields` as `product.cover.customFields`,
`product.cover`.`created_at` as `product.cover.createdAt`,
`product.cover`.`updated_at` as `product.cover.updatedAt`,
`product.translation.metaDescription`,
`product.parent.translation.metaDescription`,
COALESCE(
`product.translation.metaDescription`,
`product.parent.translation.metaDescription`,
`product.translation.metaDescription`
) as `product.metaDescription`,
`product.translation.name`,
`product.parent.translation.name`,
COALESCE(
`product.translation.name`, `product.parent.translation.name`,
`product.translation.name`
) as `product.name`,
`product.translation.keywords`,
`product.parent.translation.keywords`,
COALESCE(
`product.translation.keywords`,
`product.parent.translation.keywords`,
`product.translation.keywords`
) as `product.keywords`,
`product.translation.description`,
`product.parent.translation.description`,
COALESCE(
`product.translation.description`,
`product.parent.translation.description`,
`product.translation.description`
) as `product.description`,
`product.translation.metaTitle`,
`product.parent.translation.metaTitle`,
COALESCE(
`product.translation.metaTitle`,
`product.parent.translation.metaTitle`,
`product.translation.metaTitle`
) as `product.metaTitle`,
`product.translation.packUnit`,
`product.parent.translation.packUnit`,
COALESCE(
`product.translation.packUnit`,
`product.parent.translation.packUnit`,
`product.translation.packUnit`
) as `product.packUnit`,
`product.translation.packUnitPlural`,
`product.parent.translation.packUnitPlural`,
COALESCE(
`product.translation.packUnitPlural`,
`product.parent.translation.packUnitPlural`,
`product.translation.packUnitPlural`
) as `product.packUnitPlural`,
`product.translation.customSearchKeywords`,
`product.parent.translation.customSearchKeywords`,
COALESCE(
`product.translation.customSearchKeywords`,
`product.parent.translation.customSearchKeywords`,
`product.translation.customSearchKeywords`
) as `product.customSearchKeywords`,
`product.translation.slotConfig`,
`product.parent.translation.slotConfig`,
COALESCE(
`product.translation.slotConfig`,
`product.parent.translation.slotConfig`,
`product.translation.slotConfig`
) as `product.slotConfig`,
`product.translation.customFields`,
`product.parent.translation.customFields`,
COALESCE(
`product.translation.customFields`,
`product.parent.translation.customFields`,
`product.translation.customFields`
) as `product.customFields`,
`product.translation.createdAt`,
`product.parent.translation.createdAt`,
`product.translation.updatedAt`,
`product.parent.translation.updatedAt`,
`product.translation.productId`,
`product.parent.translation.productId`,
`product.translation.languageId`,
`product.parent.translation.languageId`,
`product.translation.productVersionId`,
`product.parent.translation.productVersionId`
FROM
`product`
LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id`
AND `product`.`version_id` = `product.parent`.`version_id`
LEFT JOIN (
SELECT
`product.translation`.product_id,
`product.translation`.product_version_id,
`product.translation`.meta_description as `product.translation.metaDescription`,
`product.translation`.name as `product.translation.name`,
`product.translation`.keywords as `product.translation.keywords`,
`product.translation`.description as `product.translation.description`,
`product.translation`.meta_title as `product.translation.metaTitle`,
`product.translation`.pack_unit as `product.translation.packUnit`,
`product.translation`.pack_unit_plural as `product.translation.packUnitPlural`,
`product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`,
`product.translation`.slot_config as `product.translation.slotConfig`,
`product.translation`.custom_fields as `product.translation.customFields`,
`product.translation`.created_at as `product.translation.createdAt`,
`product.translation`.updated_at as `product.translation.updatedAt`,
`product.translation`.product_id as `product.translation.productId`,
`product.translation`.language_id as `product.translation.languageId`,
`product.translation`.product_version_id as `product.translation.productVersionId`
FROM
`product_translation` `product.translation`
WHERE
`product.translation`.language_id = : languageId
) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id`
AND `product.product_translation`.product_version_id = `product`.version_id
LEFT JOIN (
SELECT
`product.parent.translation`.product_id,
`product.parent.translation`.product_version_id,
`product.parent.translation`.meta_description as `product.parent.translation.metaDescription`,
`product.parent.translation`.name as `product.parent.translation.name`,
`product.parent.translation`.keywords as `product.parent.translation.keywords`,
`product.parent.translation`.description as `product.parent.translation.description`,
`product.parent.translation`.meta_title as `product.parent.translation.metaTitle`,
`product.parent.translation`.pack_unit as `product.parent.translation.packUnit`,
`product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`,
`product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`,
`product.parent.translation`.slot_config as `product.parent.translation.slotConfig`,
`product.parent.translation`.custom_fields as `product.parent.translation.customFields`,
`product.parent.translation`.created_at as `product.parent.translation.createdAt`,
`product.parent.translation`.updated_at as `product.parent.translation.updatedAt`,
`product.parent.translation`.product_id as `product.parent.translation.productId`,
`product.parent.translation`.language_id as `product.parent.translation.languageId`,
`product.parent.translation`.product_version_id as `product.parent.translation.productVersionId`
FROM
`product_translation` `product.parent.translation`
WHERE
`product.parent.translation`.language_id = : languageId
) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id`
AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id
LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id`
LEFT JOIN `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_id`
LEFT JOIN `unit` `product.unit` ON `product`.`unit` = `product.unit`.`id`
LEFT JOIN `delivery_time` `product.deliveryTime` ON `product`.`deliveryTime` = `product.deliveryTime`.`id`
LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id`
AND `product`.`version_id` = `product.cover`.`version_id`
LEFT JOIN `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id`
LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id`
LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`id`
LEFT JOIN (
SELECT
`product.unit.translation`.unit_id,
`product.unit.translation`.short_code as `product.unit.translation.shortCode`,
`product.unit.translation`.name as `product.unit.translation.name`,
`product.unit.translation`.custom_fields as `product.unit.translation.customFields`,
`product.unit.translation`.created_at as `product.unit.translation.createdAt`,
`product.unit.translation`.updated_at as `product.unit.translation.updatedAt`,
`product.unit.translation`.unit_id as `product.unit.translation.unitId`,
`product.unit.translation`.language_id as `product.unit.translation.languageId`
FROM
`unit_translation` `product.unit.translation`
WHERE
`product.unit.translation`.language_id = : languageId
) `product.unit.unit_translation` ON `product.unit.unit_translation`.`unit_id` = `product.unit`.`id`
LEFT JOIN (
SELECT
`product.deliveryTime.translation`.delivery_time_id,
`product.deliveryTime.translation`.name as `product.deliveryTime.translation.name`,
`product.deliveryTime.translation`.custom_fields as `product.deliveryTime.translation.customFields`,
`product.deliveryTime.translation`.created_at as `product.deliveryTime.translation.createdAt`,
`product.deliveryTime.translation`.updated_at as `product.deliveryTime.translation.updatedAt`,
`product.deliveryTime.translation`.delivery_time_id as `product.deliveryTime.translation.deliveryTimeId`,
`product.deliveryTime.translation`.language_id as `product.deliveryTime.translation.languageId`
FROM
`delivery_time_translation` `product.deliveryTime.translation`
WHERE
`product.deliveryTime.translation`.language_id = : languageId
) `product.deliveryTime.delivery_time_translation` ON `product.deliveryTime.delivery_time_translation`.`delivery_time_id` = `product.deliveryTime`.`id`
LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id`
LEFT JOIN (
SELECT
`product.cover.media.translation`.media_id,
`product.cover.media.translation`.title as `product.cover.media.translation.title`,
`product.cover.media.translation`.alt as `product.cover.media.translation.alt`,
`product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`,
`product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`,
`product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`,
`product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`,
`product.cover.media.translation`.language_id as `product.cover.media.translation.languageId`
FROM
`media_translation` `product.cover.media.translation`
WHERE
`product.cover.media.translation`.language_id = : languageId
) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id`
WHERE
(
`product`.`version_id` = : version
)
AND (
`product`.`id` IN (: ids)
)
SELECT `product`.`id` as `product.id`, `product`.`version_id` as `product.versionId`, `product`.`parent_id` as `product.parentId`, `product`.`parent_version_id` as `product.parentVersionId`, COALESCE(`product`.`product_manufacturer_id`, `product.parent`.`product_manufacturer_id`) as `product.manufacturerId`, COALESCE(`product`.`product_manufacturer_version_id`, `product.parent`.`product_manufacturer_version_id`) as `product.productManufacturerVersionId`, COALESCE(`product`.`unit_id`, `product.parent`.`unit_id`) as `product.unitId`, COALESCE(`product`.`tax_id`, `product.parent`.`tax_id`) as `product.taxId`, COALESCE(`product`.`product_media_id`, `product.parent`.`product_media_id`) as `product.coverId`, COALESCE(`product`.`product_media_version_id`, `product.parent`.`product_media_version_id`) as `product.productMediaVersionId`, COALESCE(`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`) as `product.deliveryTimeId`, COALESCE(`product`.`product_feature_set_id`, `product.parent`.`product_feature_set_id`) as `product.featureSetId`, COALESCE(`product`.`canonical_product_id`, `product.parent`.`canonical_product_id`) as `product.canonicalProductId`, COALESCE(`product`.`cms_page_id`, `product.parent`.`cms_page_id`) as `product.cmsPageId`, COALESCE(`product`.`cms_page_version_id`, `product.parent`.`cms_page_version_id`) as `product.cmsPageVersionId`, `product.parent`.`price` as `product.price.inherited`, COALESCE(`product`.`price`, `product.parent`.`price`) as `product.price`, `product`.`product_number` as `product.productNumber`, `product`.`stock` as `product.stock`, COALESCE(`product`.`restock_time`, `product.parent`.`restock_time`) as `product.restockTime`, `product`.`auto_increment` as `product.autoIncrement`, COALESCE(`product`.`active`, `product.parent`.`active`) as `product.active`, `product`.`available_stock` as `product.availableStock`, `product`.`available` as `product.available`, COALESCE(`product`.`is_closeout`, `product.parent`.`is_closeout`) as `product.isCloseout`, `product`.`display_group` as `product.displayGroup`, `product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`, COALESCE(`product`.`configurator_group_config`, `product.parent`.`configurator_group_config`) as `product.configuratorGroupConfig`, COALESCE(`product`.`main_variant_id`, `product.parent`.`main_variant_id`) as `product.mainVariantId`, COALESCE(`product`.`display_parent`, `product.parent`.`display_parent`) as `product.displayParent`, `product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`, COALESCE(`product`.`variant_listing_config`, `product.parent`.`variant_listing_config`) as `product.variantListingConfig`, `product`.`variant_restrictions` as `product.variantRestrictions`, COALESCE(`product`.`manufacturer_number`, `product.parent`.`manufacturer_number`) as `product.manufacturerNumber`, COALESCE(`product`.`ean`, `product.parent`.`ean`) as `product.ean`, COALESCE(`product`.`purchase_steps`, `product.parent`.`purchase_steps`) as `product.purchaseSteps`, COALESCE(`product`.`max_purchase`, `product.parent`.`max_purchase`) as `product.maxPurchase`, COALESCE(`product`.`min_purchase`, `product.parent`.`min_purchase`) as `product.minPurchase`, COALESCE(`product`.`purchase_unit`, `product.parent`.`purchase_unit`) as `product.purchaseUnit`, COALESCE(`product`.`reference_unit`, `product.parent`.`reference_unit`) as `product.referenceUnit`, COALESCE(`product`.`shipping_free`, `product.parent`.`shipping_free`) as `product.shippingFree`, `product.parent`.`purchase_prices` as `product.purchasePrices.inherited`, COALESCE(`product`.`purchase_prices`, `product.parent`.`purchase_prices`) as `product.purchasePrices`, COALESCE(`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`) as `product.markAsTopseller`, COALESCE(`product`.`weight`, `product.parent`.`weight`) as `product.weight`, COALESCE(`product`.`width`, `product.parent`.`width`) as `product.width`, COALESCE(`product`.`height`, `product.parent`.`height`) as `product.height`, COALESCE(`product`.`length`, `product.parent`.`length`) as `product.length`, COALESCE(`product`.`release_date`, `product.parent`.`release_date`) as `product.releaseDate`, COALESCE(`product`.`rating_average`, `product.parent`.`rating_average`) as `product.ratingAverage`, `product.parent`.`category_tree` as `product.categoryTree.inherited`, COALESCE(`product`.`category_tree`, `product.parent`.`category_tree`) as `product.categoryTree`, `product.parent`.`property_ids` as `product.propertyIds.inherited`, COALESCE(`product`.`property_ids`, `product.parent`.`property_ids`) as `product.propertyIds`, `product.parent`.`option_ids` as `product.optionIds.inherited`, COALESCE(`product`.`option_ids`, `product.parent`.`option_ids`) as `product.optionIds`, `product.parent`.`stream_ids` as `product.streamIds.inherited`, COALESCE(`product`.`stream_ids`, `product.parent`.`stream_ids`) as `product.streamIds`, `product.parent`.`tag_ids` as `product.tagIds.inherited`, COALESCE(`product`.`tag_ids`, `product.parent`.`tag_ids`) as `product.tagIds`, `product.parent`.`category_ids` as `product.categoryIds.inherited`, COALESCE(`product`.`category_ids`, `product.parent`.`category_ids`) as `product.categoryIds`, `product`.`child_count` as `product.childCount`, COALESCE(`product`.`custom_field_set_selection_active`, `product.parent`.`custom_field_set_selection_active`) as `product.customFieldSetSelectionActive`, `product`.`sales` as `product.sales`, `product`.`states` as `product.states`, `product.tax`.`id` as `product.tax.id`, `product.tax`.`tax_rate` as `product.tax.taxRate`, `product.tax`.`name` as `product.tax.name`, `product.tax`.`position` as `product.tax.position`, `product.tax`.`custom_fields` as `product.tax.customFields`, `product.tax`.`created_at` as `product.tax.createdAt`, `product.tax`.`updated_at` as `product.tax.updatedAt`, `product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`, COALESCE(`product`.`cheapest_price`, `product.parent`.`cheapest_price`) as `product.cheapestPrice`, `product`.`created_at` as `product.createdAt`, `product`.`updated_at` as `product.updatedAt`, `product.bundle`.`id` as `product.bundle.id`, `product.bundle`.`product_id` as `product.bundle.productId`, `product.bundle`.`product_version_id` as `product.bundle.productVersionId`, `product.bundle`.`name` as `product.bundle.name`, `product.bundle`.`price_type` as `product.bundle.priceType`, `product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`, `product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`, `product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`, `product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`, `product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`, `product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`, `product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`, `product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`, `product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`, `product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`, `product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`, `product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`, `product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`, `product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`, `product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`, `product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`, `product.bundle`.`created_at` as `product.bundle.createdAt`, `product.bundle`.`updated_at` as `product.bundle.updatedAt`, `product.unit`.`id` as `product.unit.id`, `product.unit`.`created_at` as `product.unit.createdAt`, `product.unit`.`updated_at` as `product.unit.updatedAt`, `product.unit.translation.shortCode`, COALESCE(`product.unit.translation.shortCode`,`product.unit.translation.shortCode`) as `product.unit.shortCode`, `product.unit.translation.name`, COALESCE(`product.unit.translation.name`,`product.unit.translation.name`) as `product.unit.name`, `product.unit.translation.customFields`, COALESCE(`product.unit.translation.customFields`,`product.unit.translation.customFields`) as `product.unit.customFields`, `product.unit.translation.createdAt`, `product.unit.translation.updatedAt`, `product.unit.translation.unitId`, `product.unit.translation.languageId`, `product.deliveryTime`.`id` as `product.deliveryTime.id`, `product.deliveryTime`.`min` as `product.deliveryTime.min`, `product.deliveryTime`.`max` as `product.deliveryTime.max`, `product.deliveryTime`.`unit` as `product.deliveryTime.unit`, `product.deliveryTime`.`created_at` as `product.deliveryTime.createdAt`, `product.deliveryTime`.`updated_at` as `product.deliveryTime.updatedAt`, `product.deliveryTime.translation.name`, COALESCE(`product.deliveryTime.translation.name`,`product.deliveryTime.translation.name`) as `product.deliveryTime.name`, `product.deliveryTime.translation.customFields`, COALESCE(`product.deliveryTime.translation.customFields`,`product.deliveryTime.translation.customFields`) as `product.deliveryTime.customFields`, `product.deliveryTime.translation.createdAt`, `product.deliveryTime.translation.updatedAt`, `product.deliveryTime.translation.deliveryTimeId`, `product.deliveryTime.translation.languageId`, `product.cover`.`id` as `product.cover.id`, `product.cover`.`version_id` as `product.cover.versionId`, `product.cover`.`product_id` as `product.cover.productId`, `product.cover`.`product_version_id` as `product.cover.productVersionId`, `product.cover`.`media_id` as `product.cover.mediaId`, `product.cover`.`position` as `product.cover.position`, `product.cover.media`.`id` as `product.cover.media.id`, `product.cover.media`.`user_id` as `product.cover.media.userId`, `product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`, `product.cover.media`.`mime_type` as `product.cover.media.mimeType`, `product.cover.media`.`file_extension` as `product.cover.media.fileExtension`, `product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`, `product.cover.media`.`file_name` as `product.cover.media.fileName`, `product.cover.media`.`file_size` as `product.cover.media.fileSize`, `product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`, `product.cover.media`.`meta_data` as `product.cover.media.metaData`, `product.cover.media`.`private` as `product.cover.media.private`, `product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`, `product.cover.media`.`created_at` as `product.cover.media.createdAt`, `product.cover.media`.`updated_at` as `product.cover.media.updatedAt`, `product.cover.media.translation.title`, COALESCE(`product.cover.media.translation.title`,`product.cover.media.translation.title`) as `product.cover.media.title`, `product.cover.media.translation.alt`, COALESCE(`product.cover.media.translation.alt`,`product.cover.media.translation.alt`) as `product.cover.media.alt`, `product.cover.media.translation.customFields`, COALESCE(`product.cover.media.translation.customFields`,`product.cover.media.translation.customFields`) as `product.cover.media.customFields`, `product.cover.media.translation.createdAt`, `product.cover.media.translation.updatedAt`, `product.cover.media.translation.mediaId`, `product.cover.media.translation.languageId`, `product.cover`.`custom_fields` as `product.cover.customFields`, `product.cover`.`created_at` as `product.cover.createdAt`, `product.cover`.`updated_at` as `product.cover.updatedAt`, `product.translation.metaDescription`, `product.parent.translation.metaDescription`, COALESCE(`product.translation.metaDescription`,`product.parent.translation.metaDescription`,`product.translation.metaDescription`) as `product.metaDescription`, `product.translation.name`, `product.parent.translation.name`, COALESCE(`product.translation.name`,`product.parent.translation.name`,`product.translation.name`) as `product.name`, `product.translation.keywords`, `product.parent.translation.keywords`, COALESCE(`product.translation.keywords`,`product.parent.translation.keywords`,`product.translation.keywords`) as `product.keywords`, `product.translation.description`, `product.parent.translation.description`, COALESCE(`product.translation.description`,`product.parent.translation.description`,`product.translation.description`) as `product.description`, `product.translation.metaTitle`, `product.parent.translation.metaTitle`, COALESCE(`product.translation.metaTitle`,`product.parent.translation.metaTitle`,`product.translation.metaTitle`) as `product.metaTitle`, `product.translation.packUnit`, `product.parent.translation.packUnit`, COALESCE(`product.translation.packUnit`,`product.parent.translation.packUnit`,`product.translation.packUnit`) as `product.packUnit`, `product.translation.packUnitPlural`, `product.parent.translation.packUnitPlural`, COALESCE(`product.translation.packUnitPlural`,`product.parent.translation.packUnitPlural`,`product.translation.packUnitPlural`) as `product.packUnitPlural`, `product.translation.customSearchKeywords`, `product.parent.translation.customSearchKeywords`, COALESCE(`product.translation.customSearchKeywords`,`product.parent.translation.customSearchKeywords`,`product.translation.customSearchKeywords`) as `product.customSearchKeywords`, `product.translation.slotConfig`, `product.parent.translation.slotConfig`, COALESCE(`product.translation.slotConfig`,`product.parent.translation.slotConfig`,`product.translation.slotConfig`) as `product.slotConfig`, `product.translation.customFields`, `product.parent.translation.customFields`, COALESCE(`product.translation.customFields`,`product.parent.translation.customFields`,`product.translation.customFields`) as `product.customFields`, `product.translation.createdAt`, `product.parent.translation.createdAt`, `product.translation.updatedAt`, `product.parent.translation.updatedAt`, `product.translation.productId`, `product.parent.translation.productId`, `product.translation.languageId`, `product.parent.translation.languageId`, `product.translation.productVersionId`, `product.parent.translation.productVersionId` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN (SELECT `product.translation`.product_id, `product.translation`.product_version_id, `product.translation`.meta_description as `product.translation.metaDescription`, `product.translation`.name as `product.translation.name`, `product.translation`.keywords as `product.translation.keywords`, `product.translation`.description as `product.translation.description`, `product.translation`.meta_title as `product.translation.metaTitle`, `product.translation`.pack_unit as `product.translation.packUnit`, `product.translation`.pack_unit_plural as `product.translation.packUnitPlural`, `product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`, `product.translation`.slot_config as `product.translation.slotConfig`, `product.translation`.custom_fields as `product.translation.customFields`, `product.translation`.created_at as `product.translation.createdAt`, `product.translation`.updated_at as `product.translation.updatedAt`, `product.translation`.product_id as `product.translation.productId`, `product.translation`.language_id as `product.translation.languageId`, `product.translation`.product_version_id as `product.translation.productVersionId` FROM `product_translation` `product.translation` WHERE `product.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id` AND `product.product_translation`.product_version_id = `product`.version_id LEFT JOIN (SELECT `product.parent.translation`.product_id, `product.parent.translation`.product_version_id, `product.parent.translation`.meta_description as `product.parent.translation.metaDescription`, `product.parent.translation`.name as `product.parent.translation.name`, `product.parent.translation`.keywords as `product.parent.translation.keywords`, `product.parent.translation`.description as `product.parent.translation.description`, `product.parent.translation`.meta_title as `product.parent.translation.metaTitle`, `product.parent.translation`.pack_unit as `product.parent.translation.packUnit`, `product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`, `product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`, `product.parent.translation`.slot_config as `product.parent.translation.slotConfig`, `product.parent.translation`.custom_fields as `product.parent.translation.customFields`, `product.parent.translation`.created_at as `product.parent.translation.createdAt`, `product.parent.translation`.updated_at as `product.parent.translation.updatedAt`, `product.parent.translation`.product_id as `product.parent.translation.productId`, `product.parent.translation`.language_id as `product.parent.translation.languageId`, `product.parent.translation`.product_version_id as `product.parent.translation.productVersionId` FROM `product_translation` `product.parent.translation` WHERE `product.parent.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id` AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id` LEFT JOIN `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_id` LEFT JOIN `unit` `product.unit` ON `product`.`unit` = `product.unit`.`id` LEFT JOIN `delivery_time` `product.deliveryTime` ON `product`.`deliveryTime` = `product.deliveryTime`.`id` LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id` AND `product`.`version_id` = `product.cover`.`version_id` LEFT JOIN `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`id` LEFT JOIN (SELECT `product.unit.translation`.unit_id, `product.unit.translation`.short_code as `product.unit.translation.shortCode`, `product.unit.translation`.name as `product.unit.translation.name`, `product.unit.translation`.custom_fields as `product.unit.translation.customFields`, `product.unit.translation`.created_at as `product.unit.translation.createdAt`, `product.unit.translation`.updated_at as `product.unit.translation.updatedAt`, `product.unit.translation`.unit_id as `product.unit.translation.unitId`, `product.unit.translation`.language_id as `product.unit.translation.languageId` FROM `unit_translation` `product.unit.translation` WHERE `product.unit.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.unit.unit_translation` ON `product.unit.unit_translation`.`unit_id` = `product.unit`.`id` LEFT JOIN (SELECT `product.deliveryTime.translation`.delivery_time_id, `product.deliveryTime.translation`.name as `product.deliveryTime.translation.name`, `product.deliveryTime.translation`.custom_fields as `product.deliveryTime.translation.customFields`, `product.deliveryTime.translation`.created_at as `product.deliveryTime.translation.createdAt`, `product.deliveryTime.translation`.updated_at as `product.deliveryTime.translation.updatedAt`, `product.deliveryTime.translation`.delivery_time_id as `product.deliveryTime.translation.deliveryTimeId`, `product.deliveryTime.translation`.language_id as `product.deliveryTime.translation.languageId` FROM `delivery_time_translation` `product.deliveryTime.translation` WHERE `product.deliveryTime.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.deliveryTime.delivery_time_translation` ON `product.deliveryTime.delivery_time_translation`.`delivery_time_id` = `product.deliveryTime`.`id` LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id` LEFT JOIN (SELECT `product.cover.media.translation`.media_id, `product.cover.media.translation`.title as `product.cover.media.translation.title`, `product.cover.media.translation`.alt as `product.cover.media.translation.alt`, `product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`, `product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`, `product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`, `product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`, `product.cover.media.translation`.language_id as `product.cover.media.translation.languageId` FROM `media_translation` `product.cover.media.translation` WHERE `product.cover.media.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id` WHERE (`product`.`version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425) AND (`product`.`id` IN (0x08EC802C13B34C698EBF2CB9E3B01CC8, 0x0B715FC5AD0749D0A1EC0C2CE7CCD5A9, 0x1B05CA6ED8FA4D3AA49A677F68EDB75E, 0x25E2B5893C034577AA88D272D2B93B49, 0x28C191A6D4904B5FAFD426952B3EAB79, 0x322B5ACEB82B4F91A340044157BA60FA, 0x36E6AD52E1814D39BC47075646D0B5CD, 0x3A05736EACB344A9BA3C484827C5ADAA, 0x40C715D352D44F9A8C627533635B8C40, 0x4387E40FBCE74A259FAF856C33203E63, 0x4C45FF560BB146DCA35B43801A1D976D, 0x56B582D5D5B74300B4CA0EA30961AD1A, 0x5E0F46D3C7324FD28F9AFBBFA2DAE40B, 0x6670C9F24D5C4312A929B7F4BEBA3243, 0x67F6C09CA07D4180A37D6100C395F401, 0xA015F3CABA1A46E9A3B7D43A274BB9E7, 0xA2F8D90DA8994B42B7216C5A9D8112F5, 0xA6AEB94F042C4227889F175B1D4BDBE1, 0xBBEE349E7AB94A6EB375101AFF00C44E, 0xC0BE63EA40E94C71A94617C8FF2C9290, 0xF0AAC9CD6189427F9E83827B033C1C65));
array:38 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 316)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetch (line 148)"
4 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 93)"
5 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::read (line 195)"
6 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::read (line 133)"
7 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 49)"
8 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariantsOfProduct (line 30)"
9 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariants (line 224)"
10 => "Bodymed\Webshop\Core\Content\Product\Cms\ProductSliderCmsElementResolver::enrich (line 99)"
11 => "Shopware\Core\Content\Cms\DataResolver\CmsSlotsDataResolver::resolve (line 104)"
12 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::loadSlotData (line 94)"
13 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::load (line 102)"
14 => "Shopware\Core\Content\Category\SalesChannel\CategoryRoute::load (line 103)"
15 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 350)"
16 => "Shopware\Core\System\SystemConfig\SystemConfigService::trace (line 44)"
17 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 120)"
18 => "Shopware\Core\Framework\Adapter\Translation\Translator::trace (line 45)"
19 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 46)"
20 => "Shopware\Core\Framework\Adapter\Cache\CacheTagCollection::trace (line 46)"
21 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::trace (line 41)"
22 => "Shopware\Storefront\Framework\Cache\CacheTracer::Shopware\Storefront\Framework\Cache\{closure} (line 59)"
23 => "Shopware\Storefront\Theme\ThemeConfigValueAccessor::trace (line 42)"
24 => "Shopware\Storefront\Framework\Cache\CacheTracer::trace (line 104)"
25 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 72)"
26 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
27 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 109)"
28 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 59)"
29 => "Shopware\Core\Profiling\Profiler::trace (line 112)"
30 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::load (line 66)"
31 => "Shopware\Storefront\Page\Navigation\NavigationPageLoader::load (line 48)"
32 => "Shopware\Storefront\Controller\NavigationController::home (line 163)"
33 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
34 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
35 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
36 => "Shopware\Core\HttpKernel::doHandle (line 81)"
37 => "Shopware\Core\HttpKernel::handle (line 75)"
]
|
62 |
1.92 ms |
SELECT `product_price`.`id` as `product_price.id`, `product_price`.`version_id` as `product_price.versionId`, `product_price`.`product_id` as `product_price.productId`, `product_price`.`product_version_id` as `product_price.productVersionId`, `product_price`.`rule_id` as `product_price.ruleId`, `product_price`.`price` as `product_price.price`, `product_price`.`quantity_start` as `product_price.quantityStart`, `product_price`.`quantity_end` as `product_price.quantityEnd`, `product_price`.`custom_fields` as `product_price.customFields`, `product_price`.`created_at` as `product_price.createdAt`, `product_price`.`updated_at` as `product_price.updatedAt` FROM `product_price` WHERE (`product_price`.`version_id` = :version) AND ((`product_price`.`product_id` IN (:param_d426eca470ee4a4499fd246f7f84eba9)))
SELECT `product_price`.`id` as `product_price.id`, `product_price`.`version_id` as `product_price.versionId`, `product_price`.`product_id` as `product_price.productId`, `product_price`.`product_version_id` as `product_price.productVersionId`, `product_price`.`rule_id` as `product_price.ruleId`, `product_price`.`price` as `product_price.price`, `product_price`.`quantity_start` as `product_price.quantityStart`, `product_price`.`quantity_end` as `product_price.quantityEnd`, `product_price`.`custom_fields` as `product_price.customFields`, `product_price`.`created_at` as `product_price.createdAt`, `product_price`.`updated_at` as `product_price.updatedAt` FROM `product_price` WHERE (`product_price`.`version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425) AND ((`product_price`.`product_id` IN (0x08EC802C13B34C698EBF2CB9E3B01CC8, 0x0B715FC5AD0749D0A1EC0C2CE7CCD5A9, 0x1B05CA6ED8FA4D3AA49A677F68EDB75E, 0x25E2B5893C034577AA88D272D2B93B49, 0x28C191A6D4904B5FAFD426952B3EAB79, 0x322B5ACEB82B4F91A340044157BA60FA, 0x36E6AD52E1814D39BC47075646D0B5CD, 0x3A05736EACB344A9BA3C484827C5ADAA, 0x40C715D352D44F9A8C627533635B8C40, 0x4387E40FBCE74A259FAF856C33203E63, 0x4C45FF560BB146DCA35B43801A1D976D, 0x56B582D5D5B74300B4CA0EA30961AD1A, 0x5E0F46D3C7324FD28F9AFBBFA2DAE40B, 0x6670C9F24D5C4312A929B7F4BEBA3243, 0x67F6C09CA07D4180A37D6100C395F401, 0xA015F3CABA1A46E9A3B7D43A274BB9E7, 0xA2F8D90DA8994B42B7216C5A9D8112F5, 0xA6AEB94F042C4227889F175B1D4BDBE1, 0xBBEE349E7AB94A6EB375101AFF00C44E, 0xC0BE63EA40E94C71A94617C8FF2C9290, 0xF0AAC9CD6189427F9E83827B033C1C65, 0x03F4EF144EC44C3E822790C652F7C3F6)));
array:42 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 316)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetch (line 148)"
4 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 503)"
5 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::loadOneToManyWithoutPagination (line 438)"
6 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::loadOneToMany (line 1210)"
7 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetchAssociations (line 152)"
8 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 93)"
9 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::read (line 195)"
10 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::read (line 133)"
11 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 49)"
12 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariantsOfProduct (line 30)"
13 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariants (line 224)"
14 => "Bodymed\Webshop\Core\Content\Product\Cms\ProductSliderCmsElementResolver::enrich (line 99)"
15 => "Shopware\Core\Content\Cms\DataResolver\CmsSlotsDataResolver::resolve (line 104)"
16 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::loadSlotData (line 94)"
17 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::load (line 102)"
18 => "Shopware\Core\Content\Category\SalesChannel\CategoryRoute::load (line 103)"
19 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 350)"
20 => "Shopware\Core\System\SystemConfig\SystemConfigService::trace (line 44)"
21 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 120)"
22 => "Shopware\Core\Framework\Adapter\Translation\Translator::trace (line 45)"
23 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 46)"
24 => "Shopware\Core\Framework\Adapter\Cache\CacheTagCollection::trace (line 46)"
25 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::trace (line 41)"
26 => "Shopware\Storefront\Framework\Cache\CacheTracer::Shopware\Storefront\Framework\Cache\{closure} (line 59)"
27 => "Shopware\Storefront\Theme\ThemeConfigValueAccessor::trace (line 42)"
28 => "Shopware\Storefront\Framework\Cache\CacheTracer::trace (line 104)"
29 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 72)"
30 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
31 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 109)"
32 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 59)"
33 => "Shopware\Core\Profiling\Profiler::trace (line 112)"
34 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::load (line 66)"
35 => "Shopware\Storefront\Page\Navigation\NavigationPageLoader::load (line 48)"
36 => "Shopware\Storefront\Controller\NavigationController::home (line 163)"
37 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
38 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
39 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
40 => "Shopware\Core\HttpKernel::doHandle (line 81)"
41 => "Shopware\Core\HttpKernel::handle (line 75)"
]
|
63 |
0.85 ms |
SELECT * FROM sales_channel_api_context WHERE (sales_channel_id = :salesChannelId) AND (token = :token) LIMIT 1
SELECT * FROM sales_channel_api_context WHERE (sales_channel_id = 0x620A2217F7474E619CB00AD39E804CCA) AND (token = 'FwsxT47353Zxmr7lp0KSfYcVNkg5VpYR') LIMIT 1;
array:45 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 165)"
3 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextPersister::load (line 69)"
4 => "Bodymed\Webshop\Core\Subscriber\ProductSubscriber::addCustomerProductFeatureExtension (line 230)"
5 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
6 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
7 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
8 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
9 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
10 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 33)"
11 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
12 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 208)"
13 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::read (line 133)"
14 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 49)"
15 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariantsOfProduct (line 30)"
16 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariants (line 224)"
17 => "Bodymed\Webshop\Core\Content\Product\Cms\ProductSliderCmsElementResolver::enrich (line 99)"
18 => "Shopware\Core\Content\Cms\DataResolver\CmsSlotsDataResolver::resolve (line 104)"
19 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::loadSlotData (line 94)"
20 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::load (line 102)"
21 => "Shopware\Core\Content\Category\SalesChannel\CategoryRoute::load (line 103)"
22 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 350)"
23 => "Shopware\Core\System\SystemConfig\SystemConfigService::trace (line 44)"
24 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 120)"
25 => "Shopware\Core\Framework\Adapter\Translation\Translator::trace (line 45)"
26 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 46)"
27 => "Shopware\Core\Framework\Adapter\Cache\CacheTagCollection::trace (line 46)"
28 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::trace (line 41)"
29 => "Shopware\Storefront\Framework\Cache\CacheTracer::Shopware\Storefront\Framework\Cache\{closure} (line 59)"
30 => "Shopware\Storefront\Theme\ThemeConfigValueAccessor::trace (line 42)"
31 => "Shopware\Storefront\Framework\Cache\CacheTracer::trace (line 104)"
32 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 72)"
33 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
34 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 109)"
35 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 59)"
36 => "Shopware\Core\Profiling\Profiler::trace (line 112)"
37 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::load (line 66)"
38 => "Shopware\Storefront\Page\Navigation\NavigationPageLoader::load (line 48)"
39 => "Shopware\Storefront\Controller\NavigationController::home (line 163)"
40 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
41 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
42 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
43 => "Shopware\Core\HttpKernel::doHandle (line 81)"
44 => "Shopware\Core\HttpKernel::handle (line 75)"
]
|
64 |
27.69 ms |
SELECT `product`.`id` as `product.id`, `product`.`version_id` as `product.versionId`, `product`.`parent_id` as `product.parentId`, `product`.`parent_version_id` as `product.parentVersionId`, COALESCE(`product`.`product_manufacturer_id`, `product.parent`.`product_manufacturer_id`) as `product.manufacturerId`, COALESCE(`product`.`product_manufacturer_version_id`, `product.parent`.`product_manufacturer_version_id`) as `product.productManufacturerVersionId`, COALESCE(`product`.`unit_id`, `product.parent`.`unit_id`) as `product.unitId`, COALESCE(`product`.`tax_id`, `product.parent`.`tax_id`) as `product.taxId`, COALESCE(`product`.`product_media_id`, `product.parent`.`product_media_id`) as `product.coverId`, COALESCE(`product`.`product_media_version_id`, `product.parent`.`product_media_version_id`) as `product.productMediaVersionId`, COALESCE(`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`) as `product.deliveryTimeId`, COALESCE(`product`.`product_feature_set_id`, `product.parent`.`product_feature_set_id`) as `product.featureSetId`, COALESCE(`product`.`canonical_product_id`, `product.parent`.`canonical_product_id`) as `product.canonicalProductId`, COALESCE(`product`.`cms_page_id`, `product.parent`.`cms_page_id`) as `product.cmsPageId`, COALESCE(`product`.`cms_page_version_id`, `product.parent`.`cms_page_version_id`) as `product.cmsPageVersionId`, `product.parent`.`price` as `product.price.inherited`, COALESCE(`product`.`price`, `product.parent`.`price`) as `product.price`, `product`.`product_number` as `product.productNumber`, `product`.`stock` as `product.stock`, COALESCE(`product`.`restock_time`, `product.parent`.`restock_time`) as `product.restockTime`, `product`.`auto_increment` as `product.autoIncrement`, COALESCE(`product`.`active`, `product.parent`.`active`) as `product.active`, `product`.`available_stock` as `product.availableStock`, `product`.`available` as `product.available`, COALESCE(`product`.`is_closeout`, `product.parent`.`is_closeout`) as `product.isCloseout`, `product`.`display_group` as `product.displayGroup`, `product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`, COALESCE(`product`.`configurator_group_config`, `product.parent`.`configurator_group_config`) as `product.configuratorGroupConfig`, COALESCE(`product`.`main_variant_id`, `product.parent`.`main_variant_id`) as `product.mainVariantId`, COALESCE(`product`.`display_parent`, `product.parent`.`display_parent`) as `product.displayParent`, `product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`, COALESCE(`product`.`variant_listing_config`, `product.parent`.`variant_listing_config`) as `product.variantListingConfig`, `product`.`variant_restrictions` as `product.variantRestrictions`, COALESCE(`product`.`manufacturer_number`, `product.parent`.`manufacturer_number`) as `product.manufacturerNumber`, COALESCE(`product`.`ean`, `product.parent`.`ean`) as `product.ean`, COALESCE(`product`.`purchase_steps`, `product.parent`.`purchase_steps`) as `product.purchaseSteps`, COALESCE(`product`.`max_purchase`, `product.parent`.`max_purchase`) as `product.maxPurchase`, COALESCE(`product`.`min_purchase`, `product.parent`.`min_purchase`) as `product.minPurchase`, COALESCE(`product`.`purchase_unit`, `product.parent`.`purchase_unit`) as `product.purchaseUnit`, COALESCE(`product`.`reference_unit`, `product.parent`.`reference_unit`) as `product.referenceUnit`, COALESCE(`product`.`shipping_free`, `product.parent`.`shipping_free`) as `product.shippingFree`, `product.parent`.`purchase_prices` as `product.purchasePrices.inherited`, COALESCE(`product`.`purchase_prices`, `product.parent`.`purchase_prices`) as `product.purchasePrices`, COALESCE(`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`) as `product.markAsTopseller`, COALESCE(`product`.`weight`, `product.parent`.`weight`) as `product.weight`, COALESCE(`product`.`width`, `product.parent`.`width`) as `product.width`, COALESCE(`product`.`height`, `product.parent`.`height`) as `product.height`, COALESCE(`product`.`length`, `product.parent`.`length`) as `product.length`, COALESCE(`product`.`release_date`, `product.parent`.`release_date`) as `product.releaseDate`, COALESCE(`product`.`rating_average`, `product.parent`.`rating_average`) as `product.ratingAverage`, `product.parent`.`category_tree` as `product.categoryTree.inherited`, COALESCE(`product`.`category_tree`, `product.parent`.`category_tree`) as `product.categoryTree`, `product.parent`.`property_ids` as `product.propertyIds.inherited`, COALESCE(`product`.`property_ids`, `product.parent`.`property_ids`) as `product.propertyIds`, `product.parent`.`option_ids` as `product.optionIds.inherited`, COALESCE(`product`.`option_ids`, `product.parent`.`option_ids`) as `product.optionIds`, `product.parent`.`stream_ids` as `product.streamIds.inherited`, COALESCE(`product`.`stream_ids`, `product.parent`.`stream_ids`) as `product.streamIds`, `product.parent`.`tag_ids` as `product.tagIds.inherited`, COALESCE(`product`.`tag_ids`, `product.parent`.`tag_ids`) as `product.tagIds`, `product.parent`.`category_ids` as `product.categoryIds.inherited`, COALESCE(`product`.`category_ids`, `product.parent`.`category_ids`) as `product.categoryIds`, `product`.`child_count` as `product.childCount`, COALESCE(`product`.`custom_field_set_selection_active`, `product.parent`.`custom_field_set_selection_active`) as `product.customFieldSetSelectionActive`, `product`.`sales` as `product.sales`, `product`.`states` as `product.states`, `product.tax`.`id` as `product.tax.id`, `product.tax`.`tax_rate` as `product.tax.taxRate`, `product.tax`.`name` as `product.tax.name`, `product.tax`.`position` as `product.tax.position`, `product.tax`.`custom_fields` as `product.tax.customFields`, `product.tax`.`created_at` as `product.tax.createdAt`, `product.tax`.`updated_at` as `product.tax.updatedAt`, `product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`, COALESCE(`product`.`cheapest_price`, `product.parent`.`cheapest_price`) as `product.cheapestPrice`, `product`.`created_at` as `product.createdAt`, `product`.`updated_at` as `product.updatedAt`, `product.bundle`.`id` as `product.bundle.id`, `product.bundle`.`product_id` as `product.bundle.productId`, `product.bundle`.`product_version_id` as `product.bundle.productVersionId`, `product.bundle`.`name` as `product.bundle.name`, `product.bundle`.`price_type` as `product.bundle.priceType`, `product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`, `product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`, `product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`, `product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`, `product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`, `product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`, `product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`, `product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`, `product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`, `product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`, `product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`, `product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`, `product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`, `product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`, `product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`, `product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`, `product.bundle`.`created_at` as `product.bundle.createdAt`, `product.bundle`.`updated_at` as `product.bundle.updatedAt`, `product.cover`.`id` as `product.cover.id`, `product.cover`.`version_id` as `product.cover.versionId`, `product.cover`.`product_id` as `product.cover.productId`, `product.cover`.`product_version_id` as `product.cover.productVersionId`, `product.cover`.`media_id` as `product.cover.mediaId`, `product.cover`.`position` as `product.cover.position`, `product.cover.media`.`id` as `product.cover.media.id`, `product.cover.media`.`user_id` as `product.cover.media.userId`, `product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`, `product.cover.media`.`mime_type` as `product.cover.media.mimeType`, `product.cover.media`.`file_extension` as `product.cover.media.fileExtension`, `product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`, `product.cover.media`.`file_name` as `product.cover.media.fileName`, `product.cover.media`.`file_size` as `product.cover.media.fileSize`, `product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`, `product.cover.media`.`meta_data` as `product.cover.media.metaData`, `product.cover.media`.`private` as `product.cover.media.private`, `product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`, `product.cover.media`.`created_at` as `product.cover.media.createdAt`, `product.cover.media`.`updated_at` as `product.cover.media.updatedAt`, `product.cover.media.translation.title`, COALESCE(`product.cover.media.translation.title`,`product.cover.media.translation.title`) as `product.cover.media.title`, `product.cover.media.translation.alt`, COALESCE(`product.cover.media.translation.alt`,`product.cover.media.translation.alt`) as `product.cover.media.alt`, `product.cover.media.translation.customFields`, COALESCE(`product.cover.media.translation.customFields`,`product.cover.media.translation.customFields`) as `product.cover.media.customFields`, `product.cover.media.translation.createdAt`, `product.cover.media.translation.updatedAt`, `product.cover.media.translation.mediaId`, `product.cover.media.translation.languageId`, `product.cover`.`custom_fields` as `product.cover.customFields`, `product.cover`.`created_at` as `product.cover.createdAt`, `product.cover`.`updated_at` as `product.cover.updatedAt`, `product.translation.metaDescription`, `product.parent.translation.metaDescription`, COALESCE(`product.translation.metaDescription`,`product.parent.translation.metaDescription`,`product.translation.metaDescription`) as `product.metaDescription`, `product.translation.name`, `product.parent.translation.name`, COALESCE(`product.translation.name`,`product.parent.translation.name`,`product.translation.name`) as `product.name`, `product.translation.keywords`, `product.parent.translation.keywords`, COALESCE(`product.translation.keywords`,`product.parent.translation.keywords`,`product.translation.keywords`) as `product.keywords`, `product.translation.description`, `product.parent.translation.description`, COALESCE(`product.translation.description`,`product.parent.translation.description`,`product.translation.description`) as `product.description`, `product.translation.metaTitle`, `product.parent.translation.metaTitle`, COALESCE(`product.translation.metaTitle`,`product.parent.translation.metaTitle`,`product.translation.metaTitle`) as `product.metaTitle`, `product.translation.packUnit`, `product.parent.translation.packUnit`, COALESCE(`product.translation.packUnit`,`product.parent.translation.packUnit`,`product.translation.packUnit`) as `product.packUnit`, `product.translation.packUnitPlural`, `product.parent.translation.packUnitPlural`, COALESCE(`product.translation.packUnitPlural`,`product.parent.translation.packUnitPlural`,`product.translation.packUnitPlural`) as `product.packUnitPlural`, `product.translation.customSearchKeywords`, `product.parent.translation.customSearchKeywords`, COALESCE(`product.translation.customSearchKeywords`,`product.parent.translation.customSearchKeywords`,`product.translation.customSearchKeywords`) as `product.customSearchKeywords`, `product.translation.slotConfig`, `product.parent.translation.slotConfig`, COALESCE(`product.translation.slotConfig`,`product.parent.translation.slotConfig`,`product.translation.slotConfig`) as `product.slotConfig`, `product.translation.customFields`, `product.parent.translation.customFields`, COALESCE(`product.translation.customFields`,`product.parent.translation.customFields`,`product.translation.customFields`) as `product.customFields`, `product.translation.createdAt`, `product.parent.translation.createdAt`, `product.translation.updatedAt`, `product.parent.translation.updatedAt`, `product.translation.productId`, `product.parent.translation.productId`, `product.translation.languageId`, `product.parent.translation.languageId`, `product.translation.productVersionId`, `product.parent.translation.productVersionId` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN (SELECT `product.translation`.product_id, `product.translation`.product_version_id, `product.translation`.meta_description as `product.translation.metaDescription`, `product.translation`.name as `product.translation.name`, `product.translation`.keywords as `product.translation.keywords`, `product.translation`.description as `product.translation.description`, `product.translation`.meta_title as `product.translation.metaTitle`, `product.translation`.pack_unit as `product.translation.packUnit`, `product.translation`.pack_unit_plural as `product.translation.packUnitPlural`, `product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`, `product.translation`.slot_config as `product.translation.slotConfig`, `product.translation`.custom_fields as `product.translation.customFields`, `product.translation`.created_at as `product.translation.createdAt`, `product.translation`.updated_at as `product.translation.updatedAt`, `product.translation`.product_id as `product.translation.productId`, `product.translation`.language_id as `product.translation.languageId`, `product.translation`.product_version_id as `product.translation.productVersionId` FROM `product_translation` `product.translation` WHERE `product.translation`.language_id = :languageId) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id` AND `product.product_translation`.product_version_id = `product`.version_id LEFT JOIN (SELECT `product.parent.translation`.product_id, `product.parent.translation`.product_version_id, `product.parent.translation`.meta_description as `product.parent.translation.metaDescription`, `product.parent.translation`.name as `product.parent.translation.name`, `product.parent.translation`.keywords as `product.parent.translation.keywords`, `product.parent.translation`.description as `product.parent.translation.description`, `product.parent.translation`.meta_title as `product.parent.translation.metaTitle`, `product.parent.translation`.pack_unit as `product.parent.translation.packUnit`, `product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`, `product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`, `product.parent.translation`.slot_config as `product.parent.translation.slotConfig`, `product.parent.translation`.custom_fields as `product.parent.translation.customFields`, `product.parent.translation`.created_at as `product.parent.translation.createdAt`, `product.parent.translation`.updated_at as `product.parent.translation.updatedAt`, `product.parent.translation`.product_id as `product.parent.translation.productId`, `product.parent.translation`.language_id as `product.parent.translation.languageId`, `product.parent.translation`.product_version_id as `product.parent.translation.productVersionId` FROM `product_translation` `product.parent.translation` WHERE `product.parent.translation`.language_id = :languageId) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id` AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id` LEFT JOIN `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_id` LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id` AND `product`.`version_id` = `product.cover`.`version_id` LEFT JOIN `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`id` LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id` LEFT JOIN (SELECT `product.cover.media.translation`.media_id, `product.cover.media.translation`.title as `product.cover.media.translation.title`, `product.cover.media.translation`.alt as `product.cover.media.translation.alt`, `product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`, `product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`, `product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`, `product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`, `product.cover.media.translation`.language_id as `product.cover.media.translation.languageId` FROM `media_translation` `product.cover.media.translation` WHERE `product.cover.media.translation`.language_id = :languageId) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id` WHERE (`product`.`version_id` = :version) AND (`product`.`id` IN (:ids))
SELECT
`product`.`id` as `product.id`,
`product`.`version_id` as `product.versionId`,
`product`.`parent_id` as `product.parentId`,
`product`.`parent_version_id` as `product.parentVersionId`,
COALESCE(
`product`.`product_manufacturer_id`,
`product.parent`.`product_manufacturer_id`
) as `product.manufacturerId`,
COALESCE(
`product`.`product_manufacturer_version_id`,
`product.parent`.`product_manufacturer_version_id`
) as `product.productManufacturerVersionId`,
COALESCE(
`product`.`unit_id`, `product.parent`.`unit_id`
) as `product.unitId`,
COALESCE(
`product`.`tax_id`, `product.parent`.`tax_id`
) as `product.taxId`,
COALESCE(
`product`.`product_media_id`, `product.parent`.`product_media_id`
) as `product.coverId`,
COALESCE(
`product`.`product_media_version_id`,
`product.parent`.`product_media_version_id`
) as `product.productMediaVersionId`,
COALESCE(
`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`
) as `product.deliveryTimeId`,
COALESCE(
`product`.`product_feature_set_id`,
`product.parent`.`product_feature_set_id`
) as `product.featureSetId`,
COALESCE(
`product`.`canonical_product_id`,
`product.parent`.`canonical_product_id`
) as `product.canonicalProductId`,
COALESCE(
`product`.`cms_page_id`, `product.parent`.`cms_page_id`
) as `product.cmsPageId`,
COALESCE(
`product`.`cms_page_version_id`,
`product.parent`.`cms_page_version_id`
) as `product.cmsPageVersionId`,
`product.parent`.`price` as `product.price.inherited`,
COALESCE(
`product`.`price`, `product.parent`.`price`
) as `product.price`,
`product`.`product_number` as `product.productNumber`,
`product`.`stock` as `product.stock`,
COALESCE(
`product`.`restock_time`, `product.parent`.`restock_time`
) as `product.restockTime`,
`product`.`auto_increment` as `product.autoIncrement`,
COALESCE(
`product`.`active`, `product.parent`.`active`
) as `product.active`,
`product`.`available_stock` as `product.availableStock`,
`product`.`available` as `product.available`,
COALESCE(
`product`.`is_closeout`, `product.parent`.`is_closeout`
) as `product.isCloseout`,
`product`.`display_group` as `product.displayGroup`,
`product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`,
COALESCE(
`product`.`configurator_group_config`,
`product.parent`.`configurator_group_config`
) as `product.configuratorGroupConfig`,
COALESCE(
`product`.`main_variant_id`, `product.parent`.`main_variant_id`
) as `product.mainVariantId`,
COALESCE(
`product`.`display_parent`, `product.parent`.`display_parent`
) as `product.displayParent`,
`product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`,
COALESCE(
`product`.`variant_listing_config`,
`product.parent`.`variant_listing_config`
) as `product.variantListingConfig`,
`product`.`variant_restrictions` as `product.variantRestrictions`,
COALESCE(
`product`.`manufacturer_number`,
`product.parent`.`manufacturer_number`
) as `product.manufacturerNumber`,
COALESCE(
`product`.`ean`, `product.parent`.`ean`
) as `product.ean`,
COALESCE(
`product`.`purchase_steps`, `product.parent`.`purchase_steps`
) as `product.purchaseSteps`,
COALESCE(
`product`.`max_purchase`, `product.parent`.`max_purchase`
) as `product.maxPurchase`,
COALESCE(
`product`.`min_purchase`, `product.parent`.`min_purchase`
) as `product.minPurchase`,
COALESCE(
`product`.`purchase_unit`, `product.parent`.`purchase_unit`
) as `product.purchaseUnit`,
COALESCE(
`product`.`reference_unit`, `product.parent`.`reference_unit`
) as `product.referenceUnit`,
COALESCE(
`product`.`shipping_free`, `product.parent`.`shipping_free`
) as `product.shippingFree`,
`product.parent`.`purchase_prices` as `product.purchasePrices.inherited`,
COALESCE(
`product`.`purchase_prices`, `product.parent`.`purchase_prices`
) as `product.purchasePrices`,
COALESCE(
`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`
) as `product.markAsTopseller`,
COALESCE(
`product`.`weight`, `product.parent`.`weight`
) as `product.weight`,
COALESCE(
`product`.`width`, `product.parent`.`width`
) as `product.width`,
COALESCE(
`product`.`height`, `product.parent`.`height`
) as `product.height`,
COALESCE(
`product`.`length`, `product.parent`.`length`
) as `product.length`,
COALESCE(
`product`.`release_date`, `product.parent`.`release_date`
) as `product.releaseDate`,
COALESCE(
`product`.`rating_average`, `product.parent`.`rating_average`
) as `product.ratingAverage`,
`product.parent`.`category_tree` as `product.categoryTree.inherited`,
COALESCE(
`product`.`category_tree`, `product.parent`.`category_tree`
) as `product.categoryTree`,
`product.parent`.`property_ids` as `product.propertyIds.inherited`,
COALESCE(
`product`.`property_ids`, `product.parent`.`property_ids`
) as `product.propertyIds`,
`product.parent`.`option_ids` as `product.optionIds.inherited`,
COALESCE(
`product`.`option_ids`, `product.parent`.`option_ids`
) as `product.optionIds`,
`product.parent`.`stream_ids` as `product.streamIds.inherited`,
COALESCE(
`product`.`stream_ids`, `product.parent`.`stream_ids`
) as `product.streamIds`,
`product.parent`.`tag_ids` as `product.tagIds.inherited`,
COALESCE(
`product`.`tag_ids`, `product.parent`.`tag_ids`
) as `product.tagIds`,
`product.parent`.`category_ids` as `product.categoryIds.inherited`,
COALESCE(
`product`.`category_ids`, `product.parent`.`category_ids`
) as `product.categoryIds`,
`product`.`child_count` as `product.childCount`,
COALESCE(
`product`.`custom_field_set_selection_active`,
`product.parent`.`custom_field_set_selection_active`
) as `product.customFieldSetSelectionActive`,
`product`.`sales` as `product.sales`,
`product`.`states` as `product.states`,
`product.tax`.`id` as `product.tax.id`,
`product.tax`.`tax_rate` as `product.tax.taxRate`,
`product.tax`.`name` as `product.tax.name`,
`product.tax`.`position` as `product.tax.position`,
`product.tax`.`custom_fields` as `product.tax.customFields`,
`product.tax`.`created_at` as `product.tax.createdAt`,
`product.tax`.`updated_at` as `product.tax.updatedAt`,
`product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`,
COALESCE(
`product`.`cheapest_price`, `product.parent`.`cheapest_price`
) as `product.cheapestPrice`,
`product`.`created_at` as `product.createdAt`,
`product`.`updated_at` as `product.updatedAt`,
`product.bundle`.`id` as `product.bundle.id`,
`product.bundle`.`product_id` as `product.bundle.productId`,
`product.bundle`.`product_version_id` as `product.bundle.productVersionId`,
`product.bundle`.`name` as `product.bundle.name`,
`product.bundle`.`price_type` as `product.bundle.priceType`,
`product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`,
`product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`,
`product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`,
`product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`,
`product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`,
`product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`,
`product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`,
`product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`,
`product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`,
`product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`,
`product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`,
`product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`,
`product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`,
`product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`,
`product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`,
`product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`,
`product.bundle`.`created_at` as `product.bundle.createdAt`,
`product.bundle`.`updated_at` as `product.bundle.updatedAt`,
`product.cover`.`id` as `product.cover.id`,
`product.cover`.`version_id` as `product.cover.versionId`,
`product.cover`.`product_id` as `product.cover.productId`,
`product.cover`.`product_version_id` as `product.cover.productVersionId`,
`product.cover`.`media_id` as `product.cover.mediaId`,
`product.cover`.`position` as `product.cover.position`,
`product.cover.media`.`id` as `product.cover.media.id`,
`product.cover.media`.`user_id` as `product.cover.media.userId`,
`product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`,
`product.cover.media`.`mime_type` as `product.cover.media.mimeType`,
`product.cover.media`.`file_extension` as `product.cover.media.fileExtension`,
`product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`,
`product.cover.media`.`file_name` as `product.cover.media.fileName`,
`product.cover.media`.`file_size` as `product.cover.media.fileSize`,
`product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`,
`product.cover.media`.`meta_data` as `product.cover.media.metaData`,
`product.cover.media`.`private` as `product.cover.media.private`,
`product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`,
`product.cover.media`.`created_at` as `product.cover.media.createdAt`,
`product.cover.media`.`updated_at` as `product.cover.media.updatedAt`,
`product.cover.media.translation.title`,
COALESCE(
`product.cover.media.translation.title`,
`product.cover.media.translation.title`
) as `product.cover.media.title`,
`product.cover.media.translation.alt`,
COALESCE(
`product.cover.media.translation.alt`,
`product.cover.media.translation.alt`
) as `product.cover.media.alt`,
`product.cover.media.translation.customFields`,
COALESCE(
`product.cover.media.translation.customFields`,
`product.cover.media.translation.customFields`
) as `product.cover.media.customFields`,
`product.cover.media.translation.createdAt`,
`product.cover.media.translation.updatedAt`,
`product.cover.media.translation.mediaId`,
`product.cover.media.translation.languageId`,
`product.cover`.`custom_fields` as `product.cover.customFields`,
`product.cover`.`created_at` as `product.cover.createdAt`,
`product.cover`.`updated_at` as `product.cover.updatedAt`,
`product.translation.metaDescription`,
`product.parent.translation.metaDescription`,
COALESCE(
`product.translation.metaDescription`,
`product.parent.translation.metaDescription`,
`product.translation.metaDescription`
) as `product.metaDescription`,
`product.translation.name`,
`product.parent.translation.name`,
COALESCE(
`product.translation.name`, `product.parent.translation.name`,
`product.translation.name`
) as `product.name`,
`product.translation.keywords`,
`product.parent.translation.keywords`,
COALESCE(
`product.translation.keywords`,
`product.parent.translation.keywords`,
`product.translation.keywords`
) as `product.keywords`,
`product.translation.description`,
`product.parent.translation.description`,
COALESCE(
`product.translation.description`,
`product.parent.translation.description`,
`product.translation.description`
) as `product.description`,
`product.translation.metaTitle`,
`product.parent.translation.metaTitle`,
COALESCE(
`product.translation.metaTitle`,
`product.parent.translation.metaTitle`,
`product.translation.metaTitle`
) as `product.metaTitle`,
`product.translation.packUnit`,
`product.parent.translation.packUnit`,
COALESCE(
`product.translation.packUnit`,
`product.parent.translation.packUnit`,
`product.translation.packUnit`
) as `product.packUnit`,
`product.translation.packUnitPlural`,
`product.parent.translation.packUnitPlural`,
COALESCE(
`product.translation.packUnitPlural`,
`product.parent.translation.packUnitPlural`,
`product.translation.packUnitPlural`
) as `product.packUnitPlural`,
`product.translation.customSearchKeywords`,
`product.parent.translation.customSearchKeywords`,
COALESCE(
`product.translation.customSearchKeywords`,
`product.parent.translation.customSearchKeywords`,
`product.translation.customSearchKeywords`
) as `product.customSearchKeywords`,
`product.translation.slotConfig`,
`product.parent.translation.slotConfig`,
COALESCE(
`product.translation.slotConfig`,
`product.parent.translation.slotConfig`,
`product.translation.slotConfig`
) as `product.slotConfig`,
`product.translation.customFields`,
`product.parent.translation.customFields`,
COALESCE(
`product.translation.customFields`,
`product.parent.translation.customFields`,
`product.translation.customFields`
) as `product.customFields`,
`product.translation.createdAt`,
`product.parent.translation.createdAt`,
`product.translation.updatedAt`,
`product.parent.translation.updatedAt`,
`product.translation.productId`,
`product.parent.translation.productId`,
`product.translation.languageId`,
`product.parent.translation.languageId`,
`product.translation.productVersionId`,
`product.parent.translation.productVersionId`
FROM
`product`
LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id`
AND `product`.`version_id` = `product.parent`.`version_id`
LEFT JOIN (
SELECT
`product.translation`.product_id,
`product.translation`.product_version_id,
`product.translation`.meta_description as `product.translation.metaDescription`,
`product.translation`.name as `product.translation.name`,
`product.translation`.keywords as `product.translation.keywords`,
`product.translation`.description as `product.translation.description`,
`product.translation`.meta_title as `product.translation.metaTitle`,
`product.translation`.pack_unit as `product.translation.packUnit`,
`product.translation`.pack_unit_plural as `product.translation.packUnitPlural`,
`product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`,
`product.translation`.slot_config as `product.translation.slotConfig`,
`product.translation`.custom_fields as `product.translation.customFields`,
`product.translation`.created_at as `product.translation.createdAt`,
`product.translation`.updated_at as `product.translation.updatedAt`,
`product.translation`.product_id as `product.translation.productId`,
`product.translation`.language_id as `product.translation.languageId`,
`product.translation`.product_version_id as `product.translation.productVersionId`
FROM
`product_translation` `product.translation`
WHERE
`product.translation`.language_id = : languageId
) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id`
AND `product.product_translation`.product_version_id = `product`.version_id
LEFT JOIN (
SELECT
`product.parent.translation`.product_id,
`product.parent.translation`.product_version_id,
`product.parent.translation`.meta_description as `product.parent.translation.metaDescription`,
`product.parent.translation`.name as `product.parent.translation.name`,
`product.parent.translation`.keywords as `product.parent.translation.keywords`,
`product.parent.translation`.description as `product.parent.translation.description`,
`product.parent.translation`.meta_title as `product.parent.translation.metaTitle`,
`product.parent.translation`.pack_unit as `product.parent.translation.packUnit`,
`product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`,
`product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`,
`product.parent.translation`.slot_config as `product.parent.translation.slotConfig`,
`product.parent.translation`.custom_fields as `product.parent.translation.customFields`,
`product.parent.translation`.created_at as `product.parent.translation.createdAt`,
`product.parent.translation`.updated_at as `product.parent.translation.updatedAt`,
`product.parent.translation`.product_id as `product.parent.translation.productId`,
`product.parent.translation`.language_id as `product.parent.translation.languageId`,
`product.parent.translation`.product_version_id as `product.parent.translation.productVersionId`
FROM
`product_translation` `product.parent.translation`
WHERE
`product.parent.translation`.language_id = : languageId
) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id`
AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id
LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id`
LEFT JOIN `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_id`
LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id`
AND `product`.`version_id` = `product.cover`.`version_id`
LEFT JOIN `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id`
LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id`
LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`id`
LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id`
LEFT JOIN (
SELECT
`product.cover.media.translation`.media_id,
`product.cover.media.translation`.title as `product.cover.media.translation.title`,
`product.cover.media.translation`.alt as `product.cover.media.translation.alt`,
`product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`,
`product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`,
`product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`,
`product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`,
`product.cover.media.translation`.language_id as `product.cover.media.translation.languageId`
FROM
`media_translation` `product.cover.media.translation`
WHERE
`product.cover.media.translation`.language_id = : languageId
) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id`
WHERE
(
`product`.`version_id` = : version
)
AND (
`product`.`id` IN (: ids)
)
SELECT `product`.`id` as `product.id`, `product`.`version_id` as `product.versionId`, `product`.`parent_id` as `product.parentId`, `product`.`parent_version_id` as `product.parentVersionId`, COALESCE(`product`.`product_manufacturer_id`, `product.parent`.`product_manufacturer_id`) as `product.manufacturerId`, COALESCE(`product`.`product_manufacturer_version_id`, `product.parent`.`product_manufacturer_version_id`) as `product.productManufacturerVersionId`, COALESCE(`product`.`unit_id`, `product.parent`.`unit_id`) as `product.unitId`, COALESCE(`product`.`tax_id`, `product.parent`.`tax_id`) as `product.taxId`, COALESCE(`product`.`product_media_id`, `product.parent`.`product_media_id`) as `product.coverId`, COALESCE(`product`.`product_media_version_id`, `product.parent`.`product_media_version_id`) as `product.productMediaVersionId`, COALESCE(`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`) as `product.deliveryTimeId`, COALESCE(`product`.`product_feature_set_id`, `product.parent`.`product_feature_set_id`) as `product.featureSetId`, COALESCE(`product`.`canonical_product_id`, `product.parent`.`canonical_product_id`) as `product.canonicalProductId`, COALESCE(`product`.`cms_page_id`, `product.parent`.`cms_page_id`) as `product.cmsPageId`, COALESCE(`product`.`cms_page_version_id`, `product.parent`.`cms_page_version_id`) as `product.cmsPageVersionId`, `product.parent`.`price` as `product.price.inherited`, COALESCE(`product`.`price`, `product.parent`.`price`) as `product.price`, `product`.`product_number` as `product.productNumber`, `product`.`stock` as `product.stock`, COALESCE(`product`.`restock_time`, `product.parent`.`restock_time`) as `product.restockTime`, `product`.`auto_increment` as `product.autoIncrement`, COALESCE(`product`.`active`, `product.parent`.`active`) as `product.active`, `product`.`available_stock` as `product.availableStock`, `product`.`available` as `product.available`, COALESCE(`product`.`is_closeout`, `product.parent`.`is_closeout`) as `product.isCloseout`, `product`.`display_group` as `product.displayGroup`, `product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`, COALESCE(`product`.`configurator_group_config`, `product.parent`.`configurator_group_config`) as `product.configuratorGroupConfig`, COALESCE(`product`.`main_variant_id`, `product.parent`.`main_variant_id`) as `product.mainVariantId`, COALESCE(`product`.`display_parent`, `product.parent`.`display_parent`) as `product.displayParent`, `product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`, COALESCE(`product`.`variant_listing_config`, `product.parent`.`variant_listing_config`) as `product.variantListingConfig`, `product`.`variant_restrictions` as `product.variantRestrictions`, COALESCE(`product`.`manufacturer_number`, `product.parent`.`manufacturer_number`) as `product.manufacturerNumber`, COALESCE(`product`.`ean`, `product.parent`.`ean`) as `product.ean`, COALESCE(`product`.`purchase_steps`, `product.parent`.`purchase_steps`) as `product.purchaseSteps`, COALESCE(`product`.`max_purchase`, `product.parent`.`max_purchase`) as `product.maxPurchase`, COALESCE(`product`.`min_purchase`, `product.parent`.`min_purchase`) as `product.minPurchase`, COALESCE(`product`.`purchase_unit`, `product.parent`.`purchase_unit`) as `product.purchaseUnit`, COALESCE(`product`.`reference_unit`, `product.parent`.`reference_unit`) as `product.referenceUnit`, COALESCE(`product`.`shipping_free`, `product.parent`.`shipping_free`) as `product.shippingFree`, `product.parent`.`purchase_prices` as `product.purchasePrices.inherited`, COALESCE(`product`.`purchase_prices`, `product.parent`.`purchase_prices`) as `product.purchasePrices`, COALESCE(`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`) as `product.markAsTopseller`, COALESCE(`product`.`weight`, `product.parent`.`weight`) as `product.weight`, COALESCE(`product`.`width`, `product.parent`.`width`) as `product.width`, COALESCE(`product`.`height`, `product.parent`.`height`) as `product.height`, COALESCE(`product`.`length`, `product.parent`.`length`) as `product.length`, COALESCE(`product`.`release_date`, `product.parent`.`release_date`) as `product.releaseDate`, COALESCE(`product`.`rating_average`, `product.parent`.`rating_average`) as `product.ratingAverage`, `product.parent`.`category_tree` as `product.categoryTree.inherited`, COALESCE(`product`.`category_tree`, `product.parent`.`category_tree`) as `product.categoryTree`, `product.parent`.`property_ids` as `product.propertyIds.inherited`, COALESCE(`product`.`property_ids`, `product.parent`.`property_ids`) as `product.propertyIds`, `product.parent`.`option_ids` as `product.optionIds.inherited`, COALESCE(`product`.`option_ids`, `product.parent`.`option_ids`) as `product.optionIds`, `product.parent`.`stream_ids` as `product.streamIds.inherited`, COALESCE(`product`.`stream_ids`, `product.parent`.`stream_ids`) as `product.streamIds`, `product.parent`.`tag_ids` as `product.tagIds.inherited`, COALESCE(`product`.`tag_ids`, `product.parent`.`tag_ids`) as `product.tagIds`, `product.parent`.`category_ids` as `product.categoryIds.inherited`, COALESCE(`product`.`category_ids`, `product.parent`.`category_ids`) as `product.categoryIds`, `product`.`child_count` as `product.childCount`, COALESCE(`product`.`custom_field_set_selection_active`, `product.parent`.`custom_field_set_selection_active`) as `product.customFieldSetSelectionActive`, `product`.`sales` as `product.sales`, `product`.`states` as `product.states`, `product.tax`.`id` as `product.tax.id`, `product.tax`.`tax_rate` as `product.tax.taxRate`, `product.tax`.`name` as `product.tax.name`, `product.tax`.`position` as `product.tax.position`, `product.tax`.`custom_fields` as `product.tax.customFields`, `product.tax`.`created_at` as `product.tax.createdAt`, `product.tax`.`updated_at` as `product.tax.updatedAt`, `product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`, COALESCE(`product`.`cheapest_price`, `product.parent`.`cheapest_price`) as `product.cheapestPrice`, `product`.`created_at` as `product.createdAt`, `product`.`updated_at` as `product.updatedAt`, `product.bundle`.`id` as `product.bundle.id`, `product.bundle`.`product_id` as `product.bundle.productId`, `product.bundle`.`product_version_id` as `product.bundle.productVersionId`, `product.bundle`.`name` as `product.bundle.name`, `product.bundle`.`price_type` as `product.bundle.priceType`, `product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`, `product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`, `product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`, `product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`, `product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`, `product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`, `product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`, `product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`, `product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`, `product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`, `product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`, `product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`, `product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`, `product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`, `product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`, `product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`, `product.bundle`.`created_at` as `product.bundle.createdAt`, `product.bundle`.`updated_at` as `product.bundle.updatedAt`, `product.cover`.`id` as `product.cover.id`, `product.cover`.`version_id` as `product.cover.versionId`, `product.cover`.`product_id` as `product.cover.productId`, `product.cover`.`product_version_id` as `product.cover.productVersionId`, `product.cover`.`media_id` as `product.cover.mediaId`, `product.cover`.`position` as `product.cover.position`, `product.cover.media`.`id` as `product.cover.media.id`, `product.cover.media`.`user_id` as `product.cover.media.userId`, `product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`, `product.cover.media`.`mime_type` as `product.cover.media.mimeType`, `product.cover.media`.`file_extension` as `product.cover.media.fileExtension`, `product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`, `product.cover.media`.`file_name` as `product.cover.media.fileName`, `product.cover.media`.`file_size` as `product.cover.media.fileSize`, `product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`, `product.cover.media`.`meta_data` as `product.cover.media.metaData`, `product.cover.media`.`private` as `product.cover.media.private`, `product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`, `product.cover.media`.`created_at` as `product.cover.media.createdAt`, `product.cover.media`.`updated_at` as `product.cover.media.updatedAt`, `product.cover.media.translation.title`, COALESCE(`product.cover.media.translation.title`,`product.cover.media.translation.title`) as `product.cover.media.title`, `product.cover.media.translation.alt`, COALESCE(`product.cover.media.translation.alt`,`product.cover.media.translation.alt`) as `product.cover.media.alt`, `product.cover.media.translation.customFields`, COALESCE(`product.cover.media.translation.customFields`,`product.cover.media.translation.customFields`) as `product.cover.media.customFields`, `product.cover.media.translation.createdAt`, `product.cover.media.translation.updatedAt`, `product.cover.media.translation.mediaId`, `product.cover.media.translation.languageId`, `product.cover`.`custom_fields` as `product.cover.customFields`, `product.cover`.`created_at` as `product.cover.createdAt`, `product.cover`.`updated_at` as `product.cover.updatedAt`, `product.translation.metaDescription`, `product.parent.translation.metaDescription`, COALESCE(`product.translation.metaDescription`,`product.parent.translation.metaDescription`,`product.translation.metaDescription`) as `product.metaDescription`, `product.translation.name`, `product.parent.translation.name`, COALESCE(`product.translation.name`,`product.parent.translation.name`,`product.translation.name`) as `product.name`, `product.translation.keywords`, `product.parent.translation.keywords`, COALESCE(`product.translation.keywords`,`product.parent.translation.keywords`,`product.translation.keywords`) as `product.keywords`, `product.translation.description`, `product.parent.translation.description`, COALESCE(`product.translation.description`,`product.parent.translation.description`,`product.translation.description`) as `product.description`, `product.translation.metaTitle`, `product.parent.translation.metaTitle`, COALESCE(`product.translation.metaTitle`,`product.parent.translation.metaTitle`,`product.translation.metaTitle`) as `product.metaTitle`, `product.translation.packUnit`, `product.parent.translation.packUnit`, COALESCE(`product.translation.packUnit`,`product.parent.translation.packUnit`,`product.translation.packUnit`) as `product.packUnit`, `product.translation.packUnitPlural`, `product.parent.translation.packUnitPlural`, COALESCE(`product.translation.packUnitPlural`,`product.parent.translation.packUnitPlural`,`product.translation.packUnitPlural`) as `product.packUnitPlural`, `product.translation.customSearchKeywords`, `product.parent.translation.customSearchKeywords`, COALESCE(`product.translation.customSearchKeywords`,`product.parent.translation.customSearchKeywords`,`product.translation.customSearchKeywords`) as `product.customSearchKeywords`, `product.translation.slotConfig`, `product.parent.translation.slotConfig`, COALESCE(`product.translation.slotConfig`,`product.parent.translation.slotConfig`,`product.translation.slotConfig`) as `product.slotConfig`, `product.translation.customFields`, `product.parent.translation.customFields`, COALESCE(`product.translation.customFields`,`product.parent.translation.customFields`,`product.translation.customFields`) as `product.customFields`, `product.translation.createdAt`, `product.parent.translation.createdAt`, `product.translation.updatedAt`, `product.parent.translation.updatedAt`, `product.translation.productId`, `product.parent.translation.productId`, `product.translation.languageId`, `product.parent.translation.languageId`, `product.translation.productVersionId`, `product.parent.translation.productVersionId` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN (SELECT `product.translation`.product_id, `product.translation`.product_version_id, `product.translation`.meta_description as `product.translation.metaDescription`, `product.translation`.name as `product.translation.name`, `product.translation`.keywords as `product.translation.keywords`, `product.translation`.description as `product.translation.description`, `product.translation`.meta_title as `product.translation.metaTitle`, `product.translation`.pack_unit as `product.translation.packUnit`, `product.translation`.pack_unit_plural as `product.translation.packUnitPlural`, `product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`, `product.translation`.slot_config as `product.translation.slotConfig`, `product.translation`.custom_fields as `product.translation.customFields`, `product.translation`.created_at as `product.translation.createdAt`, `product.translation`.updated_at as `product.translation.updatedAt`, `product.translation`.product_id as `product.translation.productId`, `product.translation`.language_id as `product.translation.languageId`, `product.translation`.product_version_id as `product.translation.productVersionId` FROM `product_translation` `product.translation` WHERE `product.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id` AND `product.product_translation`.product_version_id = `product`.version_id LEFT JOIN (SELECT `product.parent.translation`.product_id, `product.parent.translation`.product_version_id, `product.parent.translation`.meta_description as `product.parent.translation.metaDescription`, `product.parent.translation`.name as `product.parent.translation.name`, `product.parent.translation`.keywords as `product.parent.translation.keywords`, `product.parent.translation`.description as `product.parent.translation.description`, `product.parent.translation`.meta_title as `product.parent.translation.metaTitle`, `product.parent.translation`.pack_unit as `product.parent.translation.packUnit`, `product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`, `product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`, `product.parent.translation`.slot_config as `product.parent.translation.slotConfig`, `product.parent.translation`.custom_fields as `product.parent.translation.customFields`, `product.parent.translation`.created_at as `product.parent.translation.createdAt`, `product.parent.translation`.updated_at as `product.parent.translation.updatedAt`, `product.parent.translation`.product_id as `product.parent.translation.productId`, `product.parent.translation`.language_id as `product.parent.translation.languageId`, `product.parent.translation`.product_version_id as `product.parent.translation.productVersionId` FROM `product_translation` `product.parent.translation` WHERE `product.parent.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id` AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id` LEFT JOIN `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_id` LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id` AND `product`.`version_id` = `product.cover`.`version_id` LEFT JOIN `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`id` LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id` LEFT JOIN (SELECT `product.cover.media.translation`.media_id, `product.cover.media.translation`.title as `product.cover.media.translation.title`, `product.cover.media.translation`.alt as `product.cover.media.translation.alt`, `product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`, `product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`, `product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`, `product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`, `product.cover.media.translation`.language_id as `product.cover.media.translation.languageId` FROM `media_translation` `product.cover.media.translation` WHERE `product.cover.media.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id` WHERE (`product`.`version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425) AND (`product`.`id` IN (0x03F4EF144EC44C3E822790C652F7C3F6));
array:51 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 316)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetch (line 148)"
4 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 93)"
5 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::read (line 257)"
6 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::read (line 286)"
7 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::_search (line 106)"
8 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::search (line 51)"
9 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepositoryForwardCompatibilityDecorator::search (line 103)"
10 => "Bodymed\Webshop\StoreFront\Subscriber\ProductExtensionSubscriber::addParentCover (line 230)"
11 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
12 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
13 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
14 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
15 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
16 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 33)"
17 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
18 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 208)"
19 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::read (line 133)"
20 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 49)"
21 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariantsOfProduct (line 30)"
22 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariants (line 224)"
23 => "Bodymed\Webshop\Core\Content\Product\Cms\ProductSliderCmsElementResolver::enrich (line 99)"
24 => "Shopware\Core\Content\Cms\DataResolver\CmsSlotsDataResolver::resolve (line 104)"
25 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::loadSlotData (line 94)"
26 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::load (line 102)"
27 => "Shopware\Core\Content\Category\SalesChannel\CategoryRoute::load (line 103)"
28 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 350)"
29 => "Shopware\Core\System\SystemConfig\SystemConfigService::trace (line 44)"
30 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 120)"
31 => "Shopware\Core\Framework\Adapter\Translation\Translator::trace (line 45)"
32 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 46)"
33 => "Shopware\Core\Framework\Adapter\Cache\CacheTagCollection::trace (line 46)"
34 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::trace (line 41)"
35 => "Shopware\Storefront\Framework\Cache\CacheTracer::Shopware\Storefront\Framework\Cache\{closure} (line 59)"
36 => "Shopware\Storefront\Theme\ThemeConfigValueAccessor::trace (line 42)"
37 => "Shopware\Storefront\Framework\Cache\CacheTracer::trace (line 104)"
38 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 72)"
39 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
40 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 109)"
41 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 59)"
42 => "Shopware\Core\Profiling\Profiler::trace (line 112)"
43 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::load (line 66)"
44 => "Shopware\Storefront\Page\Navigation\NavigationPageLoader::load (line 48)"
45 => "Shopware\Storefront\Controller\NavigationController::home (line 163)"
46 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
47 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
48 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
49 => "Shopware\Core\HttpKernel::doHandle (line 81)"
50 => "Shopware\Core\HttpKernel::handle (line 75)"
]
|
65 |
0.78 ms |
SELECT * FROM sales_channel_api_context WHERE (sales_channel_id = :salesChannelId) AND (token = :token) LIMIT 1
SELECT * FROM sales_channel_api_context WHERE (sales_channel_id = 0x620A2217F7474E619CB00AD39E804CCA) AND (token = 'FwsxT47353Zxmr7lp0KSfYcVNkg5VpYR') LIMIT 1;
array:58 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 165)"
3 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextPersister::load (line 69)"
4 => "Bodymed\Webshop\Core\Subscriber\ProductSubscriber::addCustomerProductFeatureExtension (line 230)"
5 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
6 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
7 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
8 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
9 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
10 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 33)"
11 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
12 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 269)"
13 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::read (line 286)"
14 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::_search (line 106)"
15 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::search (line 51)"
16 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepositoryForwardCompatibilityDecorator::search (line 103)"
17 => "Bodymed\Webshop\StoreFront\Subscriber\ProductExtensionSubscriber::addParentCover (line 230)"
18 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
19 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
20 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
21 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
22 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
23 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 33)"
24 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
25 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 208)"
26 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::read (line 133)"
27 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 49)"
28 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariantsOfProduct (line 30)"
29 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariants (line 224)"
30 => "Bodymed\Webshop\Core\Content\Product\Cms\ProductSliderCmsElementResolver::enrich (line 99)"
31 => "Shopware\Core\Content\Cms\DataResolver\CmsSlotsDataResolver::resolve (line 104)"
32 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::loadSlotData (line 94)"
33 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::load (line 102)"
34 => "Shopware\Core\Content\Category\SalesChannel\CategoryRoute::load (line 103)"
35 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 350)"
36 => "Shopware\Core\System\SystemConfig\SystemConfigService::trace (line 44)"
37 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 120)"
38 => "Shopware\Core\Framework\Adapter\Translation\Translator::trace (line 45)"
39 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 46)"
40 => "Shopware\Core\Framework\Adapter\Cache\CacheTagCollection::trace (line 46)"
41 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::trace (line 41)"
42 => "Shopware\Storefront\Framework\Cache\CacheTracer::Shopware\Storefront\Framework\Cache\{closure} (line 59)"
43 => "Shopware\Storefront\Theme\ThemeConfigValueAccessor::trace (line 42)"
44 => "Shopware\Storefront\Framework\Cache\CacheTracer::trace (line 104)"
45 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 72)"
46 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
47 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 109)"
48 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 59)"
49 => "Shopware\Core\Profiling\Profiler::trace (line 112)"
50 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::load (line 66)"
51 => "Shopware\Storefront\Page\Navigation\NavigationPageLoader::load (line 48)"
52 => "Shopware\Storefront\Controller\NavigationController::home (line 163)"
53 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
54 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
55 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
56 => "Shopware\Core\HttpKernel::doHandle (line 81)"
57 => "Shopware\Core\HttpKernel::handle (line 75)"
]
|
66 |
26.48 ms |
SELECT `product`.`id` as `product.id`, `product`.`version_id` as `product.versionId`, `product`.`parent_id` as `product.parentId`, `product`.`parent_version_id` as `product.parentVersionId`, COALESCE(`product`.`product_manufacturer_id`, `product.parent`.`product_manufacturer_id`) as `product.manufacturerId`, COALESCE(`product`.`product_manufacturer_version_id`, `product.parent`.`product_manufacturer_version_id`) as `product.productManufacturerVersionId`, COALESCE(`product`.`unit_id`, `product.parent`.`unit_id`) as `product.unitId`, COALESCE(`product`.`tax_id`, `product.parent`.`tax_id`) as `product.taxId`, COALESCE(`product`.`product_media_id`, `product.parent`.`product_media_id`) as `product.coverId`, COALESCE(`product`.`product_media_version_id`, `product.parent`.`product_media_version_id`) as `product.productMediaVersionId`, COALESCE(`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`) as `product.deliveryTimeId`, COALESCE(`product`.`product_feature_set_id`, `product.parent`.`product_feature_set_id`) as `product.featureSetId`, COALESCE(`product`.`canonical_product_id`, `product.parent`.`canonical_product_id`) as `product.canonicalProductId`, COALESCE(`product`.`cms_page_id`, `product.parent`.`cms_page_id`) as `product.cmsPageId`, COALESCE(`product`.`cms_page_version_id`, `product.parent`.`cms_page_version_id`) as `product.cmsPageVersionId`, `product.parent`.`price` as `product.price.inherited`, COALESCE(`product`.`price`, `product.parent`.`price`) as `product.price`, `product`.`product_number` as `product.productNumber`, `product`.`stock` as `product.stock`, COALESCE(`product`.`restock_time`, `product.parent`.`restock_time`) as `product.restockTime`, `product`.`auto_increment` as `product.autoIncrement`, COALESCE(`product`.`active`, `product.parent`.`active`) as `product.active`, `product`.`available_stock` as `product.availableStock`, `product`.`available` as `product.available`, COALESCE(`product`.`is_closeout`, `product.parent`.`is_closeout`) as `product.isCloseout`, `product`.`display_group` as `product.displayGroup`, `product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`, COALESCE(`product`.`configurator_group_config`, `product.parent`.`configurator_group_config`) as `product.configuratorGroupConfig`, COALESCE(`product`.`main_variant_id`, `product.parent`.`main_variant_id`) as `product.mainVariantId`, COALESCE(`product`.`display_parent`, `product.parent`.`display_parent`) as `product.displayParent`, `product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`, COALESCE(`product`.`variant_listing_config`, `product.parent`.`variant_listing_config`) as `product.variantListingConfig`, `product`.`variant_restrictions` as `product.variantRestrictions`, COALESCE(`product`.`manufacturer_number`, `product.parent`.`manufacturer_number`) as `product.manufacturerNumber`, COALESCE(`product`.`ean`, `product.parent`.`ean`) as `product.ean`, COALESCE(`product`.`purchase_steps`, `product.parent`.`purchase_steps`) as `product.purchaseSteps`, COALESCE(`product`.`max_purchase`, `product.parent`.`max_purchase`) as `product.maxPurchase`, COALESCE(`product`.`min_purchase`, `product.parent`.`min_purchase`) as `product.minPurchase`, COALESCE(`product`.`purchase_unit`, `product.parent`.`purchase_unit`) as `product.purchaseUnit`, COALESCE(`product`.`reference_unit`, `product.parent`.`reference_unit`) as `product.referenceUnit`, COALESCE(`product`.`shipping_free`, `product.parent`.`shipping_free`) as `product.shippingFree`, `product.parent`.`purchase_prices` as `product.purchasePrices.inherited`, COALESCE(`product`.`purchase_prices`, `product.parent`.`purchase_prices`) as `product.purchasePrices`, COALESCE(`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`) as `product.markAsTopseller`, COALESCE(`product`.`weight`, `product.parent`.`weight`) as `product.weight`, COALESCE(`product`.`width`, `product.parent`.`width`) as `product.width`, COALESCE(`product`.`height`, `product.parent`.`height`) as `product.height`, COALESCE(`product`.`length`, `product.parent`.`length`) as `product.length`, COALESCE(`product`.`release_date`, `product.parent`.`release_date`) as `product.releaseDate`, COALESCE(`product`.`rating_average`, `product.parent`.`rating_average`) as `product.ratingAverage`, `product.parent`.`category_tree` as `product.categoryTree.inherited`, COALESCE(`product`.`category_tree`, `product.parent`.`category_tree`) as `product.categoryTree`, `product.parent`.`property_ids` as `product.propertyIds.inherited`, COALESCE(`product`.`property_ids`, `product.parent`.`property_ids`) as `product.propertyIds`, `product.parent`.`option_ids` as `product.optionIds.inherited`, COALESCE(`product`.`option_ids`, `product.parent`.`option_ids`) as `product.optionIds`, `product.parent`.`stream_ids` as `product.streamIds.inherited`, COALESCE(`product`.`stream_ids`, `product.parent`.`stream_ids`) as `product.streamIds`, `product.parent`.`tag_ids` as `product.tagIds.inherited`, COALESCE(`product`.`tag_ids`, `product.parent`.`tag_ids`) as `product.tagIds`, `product.parent`.`category_ids` as `product.categoryIds.inherited`, COALESCE(`product`.`category_ids`, `product.parent`.`category_ids`) as `product.categoryIds`, `product`.`child_count` as `product.childCount`, COALESCE(`product`.`custom_field_set_selection_active`, `product.parent`.`custom_field_set_selection_active`) as `product.customFieldSetSelectionActive`, `product`.`sales` as `product.sales`, `product`.`states` as `product.states`, `product.tax`.`id` as `product.tax.id`, `product.tax`.`tax_rate` as `product.tax.taxRate`, `product.tax`.`name` as `product.tax.name`, `product.tax`.`position` as `product.tax.position`, `product.tax`.`custom_fields` as `product.tax.customFields`, `product.tax`.`created_at` as `product.tax.createdAt`, `product.tax`.`updated_at` as `product.tax.updatedAt`, `product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`, COALESCE(`product`.`cheapest_price`, `product.parent`.`cheapest_price`) as `product.cheapestPrice`, `product`.`created_at` as `product.createdAt`, `product`.`updated_at` as `product.updatedAt`, `product.bundle`.`id` as `product.bundle.id`, `product.bundle`.`product_id` as `product.bundle.productId`, `product.bundle`.`product_version_id` as `product.bundle.productVersionId`, `product.bundle`.`name` as `product.bundle.name`, `product.bundle`.`price_type` as `product.bundle.priceType`, `product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`, `product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`, `product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`, `product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`, `product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`, `product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`, `product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`, `product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`, `product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`, `product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`, `product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`, `product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`, `product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`, `product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`, `product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`, `product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`, `product.bundle`.`created_at` as `product.bundle.createdAt`, `product.bundle`.`updated_at` as `product.bundle.updatedAt`, `product.cover`.`id` as `product.cover.id`, `product.cover`.`version_id` as `product.cover.versionId`, `product.cover`.`product_id` as `product.cover.productId`, `product.cover`.`product_version_id` as `product.cover.productVersionId`, `product.cover`.`media_id` as `product.cover.mediaId`, `product.cover`.`position` as `product.cover.position`, `product.cover.media`.`id` as `product.cover.media.id`, `product.cover.media`.`user_id` as `product.cover.media.userId`, `product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`, `product.cover.media`.`mime_type` as `product.cover.media.mimeType`, `product.cover.media`.`file_extension` as `product.cover.media.fileExtension`, `product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`, `product.cover.media`.`file_name` as `product.cover.media.fileName`, `product.cover.media`.`file_size` as `product.cover.media.fileSize`, `product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`, `product.cover.media`.`meta_data` as `product.cover.media.metaData`, `product.cover.media`.`private` as `product.cover.media.private`, `product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`, `product.cover.media`.`created_at` as `product.cover.media.createdAt`, `product.cover.media`.`updated_at` as `product.cover.media.updatedAt`, `product.cover.media.translation.title`, COALESCE(`product.cover.media.translation.title`,`product.cover.media.translation.title`) as `product.cover.media.title`, `product.cover.media.translation.alt`, COALESCE(`product.cover.media.translation.alt`,`product.cover.media.translation.alt`) as `product.cover.media.alt`, `product.cover.media.translation.customFields`, COALESCE(`product.cover.media.translation.customFields`,`product.cover.media.translation.customFields`) as `product.cover.media.customFields`, `product.cover.media.translation.createdAt`, `product.cover.media.translation.updatedAt`, `product.cover.media.translation.mediaId`, `product.cover.media.translation.languageId`, `product.cover`.`custom_fields` as `product.cover.customFields`, `product.cover`.`created_at` as `product.cover.createdAt`, `product.cover`.`updated_at` as `product.cover.updatedAt`, `product.translation.metaDescription`, `product.parent.translation.metaDescription`, COALESCE(`product.translation.metaDescription`,`product.parent.translation.metaDescription`,`product.translation.metaDescription`) as `product.metaDescription`, `product.translation.name`, `product.parent.translation.name`, COALESCE(`product.translation.name`,`product.parent.translation.name`,`product.translation.name`) as `product.name`, `product.translation.keywords`, `product.parent.translation.keywords`, COALESCE(`product.translation.keywords`,`product.parent.translation.keywords`,`product.translation.keywords`) as `product.keywords`, `product.translation.description`, `product.parent.translation.description`, COALESCE(`product.translation.description`,`product.parent.translation.description`,`product.translation.description`) as `product.description`, `product.translation.metaTitle`, `product.parent.translation.metaTitle`, COALESCE(`product.translation.metaTitle`,`product.parent.translation.metaTitle`,`product.translation.metaTitle`) as `product.metaTitle`, `product.translation.packUnit`, `product.parent.translation.packUnit`, COALESCE(`product.translation.packUnit`,`product.parent.translation.packUnit`,`product.translation.packUnit`) as `product.packUnit`, `product.translation.packUnitPlural`, `product.parent.translation.packUnitPlural`, COALESCE(`product.translation.packUnitPlural`,`product.parent.translation.packUnitPlural`,`product.translation.packUnitPlural`) as `product.packUnitPlural`, `product.translation.customSearchKeywords`, `product.parent.translation.customSearchKeywords`, COALESCE(`product.translation.customSearchKeywords`,`product.parent.translation.customSearchKeywords`,`product.translation.customSearchKeywords`) as `product.customSearchKeywords`, `product.translation.slotConfig`, `product.parent.translation.slotConfig`, COALESCE(`product.translation.slotConfig`,`product.parent.translation.slotConfig`,`product.translation.slotConfig`) as `product.slotConfig`, `product.translation.customFields`, `product.parent.translation.customFields`, COALESCE(`product.translation.customFields`,`product.parent.translation.customFields`,`product.translation.customFields`) as `product.customFields`, `product.translation.createdAt`, `product.parent.translation.createdAt`, `product.translation.updatedAt`, `product.parent.translation.updatedAt`, `product.translation.productId`, `product.parent.translation.productId`, `product.translation.languageId`, `product.parent.translation.languageId`, `product.translation.productVersionId`, `product.parent.translation.productVersionId` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN (SELECT `product.translation`.product_id, `product.translation`.product_version_id, `product.translation`.meta_description as `product.translation.metaDescription`, `product.translation`.name as `product.translation.name`, `product.translation`.keywords as `product.translation.keywords`, `product.translation`.description as `product.translation.description`, `product.translation`.meta_title as `product.translation.metaTitle`, `product.translation`.pack_unit as `product.translation.packUnit`, `product.translation`.pack_unit_plural as `product.translation.packUnitPlural`, `product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`, `product.translation`.slot_config as `product.translation.slotConfig`, `product.translation`.custom_fields as `product.translation.customFields`, `product.translation`.created_at as `product.translation.createdAt`, `product.translation`.updated_at as `product.translation.updatedAt`, `product.translation`.product_id as `product.translation.productId`, `product.translation`.language_id as `product.translation.languageId`, `product.translation`.product_version_id as `product.translation.productVersionId` FROM `product_translation` `product.translation` WHERE `product.translation`.language_id = :languageId) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id` AND `product.product_translation`.product_version_id = `product`.version_id LEFT JOIN (SELECT `product.parent.translation`.product_id, `product.parent.translation`.product_version_id, `product.parent.translation`.meta_description as `product.parent.translation.metaDescription`, `product.parent.translation`.name as `product.parent.translation.name`, `product.parent.translation`.keywords as `product.parent.translation.keywords`, `product.parent.translation`.description as `product.parent.translation.description`, `product.parent.translation`.meta_title as `product.parent.translation.metaTitle`, `product.parent.translation`.pack_unit as `product.parent.translation.packUnit`, `product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`, `product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`, `product.parent.translation`.slot_config as `product.parent.translation.slotConfig`, `product.parent.translation`.custom_fields as `product.parent.translation.customFields`, `product.parent.translation`.created_at as `product.parent.translation.createdAt`, `product.parent.translation`.updated_at as `product.parent.translation.updatedAt`, `product.parent.translation`.product_id as `product.parent.translation.productId`, `product.parent.translation`.language_id as `product.parent.translation.languageId`, `product.parent.translation`.product_version_id as `product.parent.translation.productVersionId` FROM `product_translation` `product.parent.translation` WHERE `product.parent.translation`.language_id = :languageId) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id` AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id` LEFT JOIN `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_id` LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id` AND `product`.`version_id` = `product.cover`.`version_id` LEFT JOIN `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`id` LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id` LEFT JOIN (SELECT `product.cover.media.translation`.media_id, `product.cover.media.translation`.title as `product.cover.media.translation.title`, `product.cover.media.translation`.alt as `product.cover.media.translation.alt`, `product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`, `product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`, `product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`, `product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`, `product.cover.media.translation`.language_id as `product.cover.media.translation.languageId` FROM `media_translation` `product.cover.media.translation` WHERE `product.cover.media.translation`.language_id = :languageId) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id` WHERE (`product`.`version_id` = :version) AND (`product`.`id` IN (:ids))
SELECT
`product`.`id` as `product.id`,
`product`.`version_id` as `product.versionId`,
`product`.`parent_id` as `product.parentId`,
`product`.`parent_version_id` as `product.parentVersionId`,
COALESCE(
`product`.`product_manufacturer_id`,
`product.parent`.`product_manufacturer_id`
) as `product.manufacturerId`,
COALESCE(
`product`.`product_manufacturer_version_id`,
`product.parent`.`product_manufacturer_version_id`
) as `product.productManufacturerVersionId`,
COALESCE(
`product`.`unit_id`, `product.parent`.`unit_id`
) as `product.unitId`,
COALESCE(
`product`.`tax_id`, `product.parent`.`tax_id`
) as `product.taxId`,
COALESCE(
`product`.`product_media_id`, `product.parent`.`product_media_id`
) as `product.coverId`,
COALESCE(
`product`.`product_media_version_id`,
`product.parent`.`product_media_version_id`
) as `product.productMediaVersionId`,
COALESCE(
`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`
) as `product.deliveryTimeId`,
COALESCE(
`product`.`product_feature_set_id`,
`product.parent`.`product_feature_set_id`
) as `product.featureSetId`,
COALESCE(
`product`.`canonical_product_id`,
`product.parent`.`canonical_product_id`
) as `product.canonicalProductId`,
COALESCE(
`product`.`cms_page_id`, `product.parent`.`cms_page_id`
) as `product.cmsPageId`,
COALESCE(
`product`.`cms_page_version_id`,
`product.parent`.`cms_page_version_id`
) as `product.cmsPageVersionId`,
`product.parent`.`price` as `product.price.inherited`,
COALESCE(
`product`.`price`, `product.parent`.`price`
) as `product.price`,
`product`.`product_number` as `product.productNumber`,
`product`.`stock` as `product.stock`,
COALESCE(
`product`.`restock_time`, `product.parent`.`restock_time`
) as `product.restockTime`,
`product`.`auto_increment` as `product.autoIncrement`,
COALESCE(
`product`.`active`, `product.parent`.`active`
) as `product.active`,
`product`.`available_stock` as `product.availableStock`,
`product`.`available` as `product.available`,
COALESCE(
`product`.`is_closeout`, `product.parent`.`is_closeout`
) as `product.isCloseout`,
`product`.`display_group` as `product.displayGroup`,
`product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`,
COALESCE(
`product`.`configurator_group_config`,
`product.parent`.`configurator_group_config`
) as `product.configuratorGroupConfig`,
COALESCE(
`product`.`main_variant_id`, `product.parent`.`main_variant_id`
) as `product.mainVariantId`,
COALESCE(
`product`.`display_parent`, `product.parent`.`display_parent`
) as `product.displayParent`,
`product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`,
COALESCE(
`product`.`variant_listing_config`,
`product.parent`.`variant_listing_config`
) as `product.variantListingConfig`,
`product`.`variant_restrictions` as `product.variantRestrictions`,
COALESCE(
`product`.`manufacturer_number`,
`product.parent`.`manufacturer_number`
) as `product.manufacturerNumber`,
COALESCE(
`product`.`ean`, `product.parent`.`ean`
) as `product.ean`,
COALESCE(
`product`.`purchase_steps`, `product.parent`.`purchase_steps`
) as `product.purchaseSteps`,
COALESCE(
`product`.`max_purchase`, `product.parent`.`max_purchase`
) as `product.maxPurchase`,
COALESCE(
`product`.`min_purchase`, `product.parent`.`min_purchase`
) as `product.minPurchase`,
COALESCE(
`product`.`purchase_unit`, `product.parent`.`purchase_unit`
) as `product.purchaseUnit`,
COALESCE(
`product`.`reference_unit`, `product.parent`.`reference_unit`
) as `product.referenceUnit`,
COALESCE(
`product`.`shipping_free`, `product.parent`.`shipping_free`
) as `product.shippingFree`,
`product.parent`.`purchase_prices` as `product.purchasePrices.inherited`,
COALESCE(
`product`.`purchase_prices`, `product.parent`.`purchase_prices`
) as `product.purchasePrices`,
COALESCE(
`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`
) as `product.markAsTopseller`,
COALESCE(
`product`.`weight`, `product.parent`.`weight`
) as `product.weight`,
COALESCE(
`product`.`width`, `product.parent`.`width`
) as `product.width`,
COALESCE(
`product`.`height`, `product.parent`.`height`
) as `product.height`,
COALESCE(
`product`.`length`, `product.parent`.`length`
) as `product.length`,
COALESCE(
`product`.`release_date`, `product.parent`.`release_date`
) as `product.releaseDate`,
COALESCE(
`product`.`rating_average`, `product.parent`.`rating_average`
) as `product.ratingAverage`,
`product.parent`.`category_tree` as `product.categoryTree.inherited`,
COALESCE(
`product`.`category_tree`, `product.parent`.`category_tree`
) as `product.categoryTree`,
`product.parent`.`property_ids` as `product.propertyIds.inherited`,
COALESCE(
`product`.`property_ids`, `product.parent`.`property_ids`
) as `product.propertyIds`,
`product.parent`.`option_ids` as `product.optionIds.inherited`,
COALESCE(
`product`.`option_ids`, `product.parent`.`option_ids`
) as `product.optionIds`,
`product.parent`.`stream_ids` as `product.streamIds.inherited`,
COALESCE(
`product`.`stream_ids`, `product.parent`.`stream_ids`
) as `product.streamIds`,
`product.parent`.`tag_ids` as `product.tagIds.inherited`,
COALESCE(
`product`.`tag_ids`, `product.parent`.`tag_ids`
) as `product.tagIds`,
`product.parent`.`category_ids` as `product.categoryIds.inherited`,
COALESCE(
`product`.`category_ids`, `product.parent`.`category_ids`
) as `product.categoryIds`,
`product`.`child_count` as `product.childCount`,
COALESCE(
`product`.`custom_field_set_selection_active`,
`product.parent`.`custom_field_set_selection_active`
) as `product.customFieldSetSelectionActive`,
`product`.`sales` as `product.sales`,
`product`.`states` as `product.states`,
`product.tax`.`id` as `product.tax.id`,
`product.tax`.`tax_rate` as `product.tax.taxRate`,
`product.tax`.`name` as `product.tax.name`,
`product.tax`.`position` as `product.tax.position`,
`product.tax`.`custom_fields` as `product.tax.customFields`,
`product.tax`.`created_at` as `product.tax.createdAt`,
`product.tax`.`updated_at` as `product.tax.updatedAt`,
`product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`,
COALESCE(
`product`.`cheapest_price`, `product.parent`.`cheapest_price`
) as `product.cheapestPrice`,
`product`.`created_at` as `product.createdAt`,
`product`.`updated_at` as `product.updatedAt`,
`product.bundle`.`id` as `product.bundle.id`,
`product.bundle`.`product_id` as `product.bundle.productId`,
`product.bundle`.`product_version_id` as `product.bundle.productVersionId`,
`product.bundle`.`name` as `product.bundle.name`,
`product.bundle`.`price_type` as `product.bundle.priceType`,
`product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`,
`product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`,
`product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`,
`product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`,
`product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`,
`product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`,
`product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`,
`product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`,
`product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`,
`product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`,
`product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`,
`product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`,
`product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`,
`product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`,
`product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`,
`product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`,
`product.bundle`.`created_at` as `product.bundle.createdAt`,
`product.bundle`.`updated_at` as `product.bundle.updatedAt`,
`product.cover`.`id` as `product.cover.id`,
`product.cover`.`version_id` as `product.cover.versionId`,
`product.cover`.`product_id` as `product.cover.productId`,
`product.cover`.`product_version_id` as `product.cover.productVersionId`,
`product.cover`.`media_id` as `product.cover.mediaId`,
`product.cover`.`position` as `product.cover.position`,
`product.cover.media`.`id` as `product.cover.media.id`,
`product.cover.media`.`user_id` as `product.cover.media.userId`,
`product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`,
`product.cover.media`.`mime_type` as `product.cover.media.mimeType`,
`product.cover.media`.`file_extension` as `product.cover.media.fileExtension`,
`product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`,
`product.cover.media`.`file_name` as `product.cover.media.fileName`,
`product.cover.media`.`file_size` as `product.cover.media.fileSize`,
`product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`,
`product.cover.media`.`meta_data` as `product.cover.media.metaData`,
`product.cover.media`.`private` as `product.cover.media.private`,
`product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`,
`product.cover.media`.`created_at` as `product.cover.media.createdAt`,
`product.cover.media`.`updated_at` as `product.cover.media.updatedAt`,
`product.cover.media.translation.title`,
COALESCE(
`product.cover.media.translation.title`,
`product.cover.media.translation.title`
) as `product.cover.media.title`,
`product.cover.media.translation.alt`,
COALESCE(
`product.cover.media.translation.alt`,
`product.cover.media.translation.alt`
) as `product.cover.media.alt`,
`product.cover.media.translation.customFields`,
COALESCE(
`product.cover.media.translation.customFields`,
`product.cover.media.translation.customFields`
) as `product.cover.media.customFields`,
`product.cover.media.translation.createdAt`,
`product.cover.media.translation.updatedAt`,
`product.cover.media.translation.mediaId`,
`product.cover.media.translation.languageId`,
`product.cover`.`custom_fields` as `product.cover.customFields`,
`product.cover`.`created_at` as `product.cover.createdAt`,
`product.cover`.`updated_at` as `product.cover.updatedAt`,
`product.translation.metaDescription`,
`product.parent.translation.metaDescription`,
COALESCE(
`product.translation.metaDescription`,
`product.parent.translation.metaDescription`,
`product.translation.metaDescription`
) as `product.metaDescription`,
`product.translation.name`,
`product.parent.translation.name`,
COALESCE(
`product.translation.name`, `product.parent.translation.name`,
`product.translation.name`
) as `product.name`,
`product.translation.keywords`,
`product.parent.translation.keywords`,
COALESCE(
`product.translation.keywords`,
`product.parent.translation.keywords`,
`product.translation.keywords`
) as `product.keywords`,
`product.translation.description`,
`product.parent.translation.description`,
COALESCE(
`product.translation.description`,
`product.parent.translation.description`,
`product.translation.description`
) as `product.description`,
`product.translation.metaTitle`,
`product.parent.translation.metaTitle`,
COALESCE(
`product.translation.metaTitle`,
`product.parent.translation.metaTitle`,
`product.translation.metaTitle`
) as `product.metaTitle`,
`product.translation.packUnit`,
`product.parent.translation.packUnit`,
COALESCE(
`product.translation.packUnit`,
`product.parent.translation.packUnit`,
`product.translation.packUnit`
) as `product.packUnit`,
`product.translation.packUnitPlural`,
`product.parent.translation.packUnitPlural`,
COALESCE(
`product.translation.packUnitPlural`,
`product.parent.translation.packUnitPlural`,
`product.translation.packUnitPlural`
) as `product.packUnitPlural`,
`product.translation.customSearchKeywords`,
`product.parent.translation.customSearchKeywords`,
COALESCE(
`product.translation.customSearchKeywords`,
`product.parent.translation.customSearchKeywords`,
`product.translation.customSearchKeywords`
) as `product.customSearchKeywords`,
`product.translation.slotConfig`,
`product.parent.translation.slotConfig`,
COALESCE(
`product.translation.slotConfig`,
`product.parent.translation.slotConfig`,
`product.translation.slotConfig`
) as `product.slotConfig`,
`product.translation.customFields`,
`product.parent.translation.customFields`,
COALESCE(
`product.translation.customFields`,
`product.parent.translation.customFields`,
`product.translation.customFields`
) as `product.customFields`,
`product.translation.createdAt`,
`product.parent.translation.createdAt`,
`product.translation.updatedAt`,
`product.parent.translation.updatedAt`,
`product.translation.productId`,
`product.parent.translation.productId`,
`product.translation.languageId`,
`product.parent.translation.languageId`,
`product.translation.productVersionId`,
`product.parent.translation.productVersionId`
FROM
`product`
LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id`
AND `product`.`version_id` = `product.parent`.`version_id`
LEFT JOIN (
SELECT
`product.translation`.product_id,
`product.translation`.product_version_id,
`product.translation`.meta_description as `product.translation.metaDescription`,
`product.translation`.name as `product.translation.name`,
`product.translation`.keywords as `product.translation.keywords`,
`product.translation`.description as `product.translation.description`,
`product.translation`.meta_title as `product.translation.metaTitle`,
`product.translation`.pack_unit as `product.translation.packUnit`,
`product.translation`.pack_unit_plural as `product.translation.packUnitPlural`,
`product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`,
`product.translation`.slot_config as `product.translation.slotConfig`,
`product.translation`.custom_fields as `product.translation.customFields`,
`product.translation`.created_at as `product.translation.createdAt`,
`product.translation`.updated_at as `product.translation.updatedAt`,
`product.translation`.product_id as `product.translation.productId`,
`product.translation`.language_id as `product.translation.languageId`,
`product.translation`.product_version_id as `product.translation.productVersionId`
FROM
`product_translation` `product.translation`
WHERE
`product.translation`.language_id = : languageId
) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id`
AND `product.product_translation`.product_version_id = `product`.version_id
LEFT JOIN (
SELECT
`product.parent.translation`.product_id,
`product.parent.translation`.product_version_id,
`product.parent.translation`.meta_description as `product.parent.translation.metaDescription`,
`product.parent.translation`.name as `product.parent.translation.name`,
`product.parent.translation`.keywords as `product.parent.translation.keywords`,
`product.parent.translation`.description as `product.parent.translation.description`,
`product.parent.translation`.meta_title as `product.parent.translation.metaTitle`,
`product.parent.translation`.pack_unit as `product.parent.translation.packUnit`,
`product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`,
`product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`,
`product.parent.translation`.slot_config as `product.parent.translation.slotConfig`,
`product.parent.translation`.custom_fields as `product.parent.translation.customFields`,
`product.parent.translation`.created_at as `product.parent.translation.createdAt`,
`product.parent.translation`.updated_at as `product.parent.translation.updatedAt`,
`product.parent.translation`.product_id as `product.parent.translation.productId`,
`product.parent.translation`.language_id as `product.parent.translation.languageId`,
`product.parent.translation`.product_version_id as `product.parent.translation.productVersionId`
FROM
`product_translation` `product.parent.translation`
WHERE
`product.parent.translation`.language_id = : languageId
) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id`
AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id
LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id`
LEFT JOIN `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_id`
LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id`
AND `product`.`version_id` = `product.cover`.`version_id`
LEFT JOIN `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id`
LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id`
LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`id`
LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id`
LEFT JOIN (
SELECT
`product.cover.media.translation`.media_id,
`product.cover.media.translation`.title as `product.cover.media.translation.title`,
`product.cover.media.translation`.alt as `product.cover.media.translation.alt`,
`product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`,
`product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`,
`product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`,
`product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`,
`product.cover.media.translation`.language_id as `product.cover.media.translation.languageId`
FROM
`media_translation` `product.cover.media.translation`
WHERE
`product.cover.media.translation`.language_id = : languageId
) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id`
WHERE
(
`product`.`version_id` = : version
)
AND (
`product`.`id` IN (: ids)
)
SELECT `product`.`id` as `product.id`, `product`.`version_id` as `product.versionId`, `product`.`parent_id` as `product.parentId`, `product`.`parent_version_id` as `product.parentVersionId`, COALESCE(`product`.`product_manufacturer_id`, `product.parent`.`product_manufacturer_id`) as `product.manufacturerId`, COALESCE(`product`.`product_manufacturer_version_id`, `product.parent`.`product_manufacturer_version_id`) as `product.productManufacturerVersionId`, COALESCE(`product`.`unit_id`, `product.parent`.`unit_id`) as `product.unitId`, COALESCE(`product`.`tax_id`, `product.parent`.`tax_id`) as `product.taxId`, COALESCE(`product`.`product_media_id`, `product.parent`.`product_media_id`) as `product.coverId`, COALESCE(`product`.`product_media_version_id`, `product.parent`.`product_media_version_id`) as `product.productMediaVersionId`, COALESCE(`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`) as `product.deliveryTimeId`, COALESCE(`product`.`product_feature_set_id`, `product.parent`.`product_feature_set_id`) as `product.featureSetId`, COALESCE(`product`.`canonical_product_id`, `product.parent`.`canonical_product_id`) as `product.canonicalProductId`, COALESCE(`product`.`cms_page_id`, `product.parent`.`cms_page_id`) as `product.cmsPageId`, COALESCE(`product`.`cms_page_version_id`, `product.parent`.`cms_page_version_id`) as `product.cmsPageVersionId`, `product.parent`.`price` as `product.price.inherited`, COALESCE(`product`.`price`, `product.parent`.`price`) as `product.price`, `product`.`product_number` as `product.productNumber`, `product`.`stock` as `product.stock`, COALESCE(`product`.`restock_time`, `product.parent`.`restock_time`) as `product.restockTime`, `product`.`auto_increment` as `product.autoIncrement`, COALESCE(`product`.`active`, `product.parent`.`active`) as `product.active`, `product`.`available_stock` as `product.availableStock`, `product`.`available` as `product.available`, COALESCE(`product`.`is_closeout`, `product.parent`.`is_closeout`) as `product.isCloseout`, `product`.`display_group` as `product.displayGroup`, `product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`, COALESCE(`product`.`configurator_group_config`, `product.parent`.`configurator_group_config`) as `product.configuratorGroupConfig`, COALESCE(`product`.`main_variant_id`, `product.parent`.`main_variant_id`) as `product.mainVariantId`, COALESCE(`product`.`display_parent`, `product.parent`.`display_parent`) as `product.displayParent`, `product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`, COALESCE(`product`.`variant_listing_config`, `product.parent`.`variant_listing_config`) as `product.variantListingConfig`, `product`.`variant_restrictions` as `product.variantRestrictions`, COALESCE(`product`.`manufacturer_number`, `product.parent`.`manufacturer_number`) as `product.manufacturerNumber`, COALESCE(`product`.`ean`, `product.parent`.`ean`) as `product.ean`, COALESCE(`product`.`purchase_steps`, `product.parent`.`purchase_steps`) as `product.purchaseSteps`, COALESCE(`product`.`max_purchase`, `product.parent`.`max_purchase`) as `product.maxPurchase`, COALESCE(`product`.`min_purchase`, `product.parent`.`min_purchase`) as `product.minPurchase`, COALESCE(`product`.`purchase_unit`, `product.parent`.`purchase_unit`) as `product.purchaseUnit`, COALESCE(`product`.`reference_unit`, `product.parent`.`reference_unit`) as `product.referenceUnit`, COALESCE(`product`.`shipping_free`, `product.parent`.`shipping_free`) as `product.shippingFree`, `product.parent`.`purchase_prices` as `product.purchasePrices.inherited`, COALESCE(`product`.`purchase_prices`, `product.parent`.`purchase_prices`) as `product.purchasePrices`, COALESCE(`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`) as `product.markAsTopseller`, COALESCE(`product`.`weight`, `product.parent`.`weight`) as `product.weight`, COALESCE(`product`.`width`, `product.parent`.`width`) as `product.width`, COALESCE(`product`.`height`, `product.parent`.`height`) as `product.height`, COALESCE(`product`.`length`, `product.parent`.`length`) as `product.length`, COALESCE(`product`.`release_date`, `product.parent`.`release_date`) as `product.releaseDate`, COALESCE(`product`.`rating_average`, `product.parent`.`rating_average`) as `product.ratingAverage`, `product.parent`.`category_tree` as `product.categoryTree.inherited`, COALESCE(`product`.`category_tree`, `product.parent`.`category_tree`) as `product.categoryTree`, `product.parent`.`property_ids` as `product.propertyIds.inherited`, COALESCE(`product`.`property_ids`, `product.parent`.`property_ids`) as `product.propertyIds`, `product.parent`.`option_ids` as `product.optionIds.inherited`, COALESCE(`product`.`option_ids`, `product.parent`.`option_ids`) as `product.optionIds`, `product.parent`.`stream_ids` as `product.streamIds.inherited`, COALESCE(`product`.`stream_ids`, `product.parent`.`stream_ids`) as `product.streamIds`, `product.parent`.`tag_ids` as `product.tagIds.inherited`, COALESCE(`product`.`tag_ids`, `product.parent`.`tag_ids`) as `product.tagIds`, `product.parent`.`category_ids` as `product.categoryIds.inherited`, COALESCE(`product`.`category_ids`, `product.parent`.`category_ids`) as `product.categoryIds`, `product`.`child_count` as `product.childCount`, COALESCE(`product`.`custom_field_set_selection_active`, `product.parent`.`custom_field_set_selection_active`) as `product.customFieldSetSelectionActive`, `product`.`sales` as `product.sales`, `product`.`states` as `product.states`, `product.tax`.`id` as `product.tax.id`, `product.tax`.`tax_rate` as `product.tax.taxRate`, `product.tax`.`name` as `product.tax.name`, `product.tax`.`position` as `product.tax.position`, `product.tax`.`custom_fields` as `product.tax.customFields`, `product.tax`.`created_at` as `product.tax.createdAt`, `product.tax`.`updated_at` as `product.tax.updatedAt`, `product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`, COALESCE(`product`.`cheapest_price`, `product.parent`.`cheapest_price`) as `product.cheapestPrice`, `product`.`created_at` as `product.createdAt`, `product`.`updated_at` as `product.updatedAt`, `product.bundle`.`id` as `product.bundle.id`, `product.bundle`.`product_id` as `product.bundle.productId`, `product.bundle`.`product_version_id` as `product.bundle.productVersionId`, `product.bundle`.`name` as `product.bundle.name`, `product.bundle`.`price_type` as `product.bundle.priceType`, `product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`, `product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`, `product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`, `product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`, `product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`, `product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`, `product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`, `product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`, `product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`, `product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`, `product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`, `product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`, `product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`, `product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`, `product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`, `product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`, `product.bundle`.`created_at` as `product.bundle.createdAt`, `product.bundle`.`updated_at` as `product.bundle.updatedAt`, `product.cover`.`id` as `product.cover.id`, `product.cover`.`version_id` as `product.cover.versionId`, `product.cover`.`product_id` as `product.cover.productId`, `product.cover`.`product_version_id` as `product.cover.productVersionId`, `product.cover`.`media_id` as `product.cover.mediaId`, `product.cover`.`position` as `product.cover.position`, `product.cover.media`.`id` as `product.cover.media.id`, `product.cover.media`.`user_id` as `product.cover.media.userId`, `product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`, `product.cover.media`.`mime_type` as `product.cover.media.mimeType`, `product.cover.media`.`file_extension` as `product.cover.media.fileExtension`, `product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`, `product.cover.media`.`file_name` as `product.cover.media.fileName`, `product.cover.media`.`file_size` as `product.cover.media.fileSize`, `product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`, `product.cover.media`.`meta_data` as `product.cover.media.metaData`, `product.cover.media`.`private` as `product.cover.media.private`, `product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`, `product.cover.media`.`created_at` as `product.cover.media.createdAt`, `product.cover.media`.`updated_at` as `product.cover.media.updatedAt`, `product.cover.media.translation.title`, COALESCE(`product.cover.media.translation.title`,`product.cover.media.translation.title`) as `product.cover.media.title`, `product.cover.media.translation.alt`, COALESCE(`product.cover.media.translation.alt`,`product.cover.media.translation.alt`) as `product.cover.media.alt`, `product.cover.media.translation.customFields`, COALESCE(`product.cover.media.translation.customFields`,`product.cover.media.translation.customFields`) as `product.cover.media.customFields`, `product.cover.media.translation.createdAt`, `product.cover.media.translation.updatedAt`, `product.cover.media.translation.mediaId`, `product.cover.media.translation.languageId`, `product.cover`.`custom_fields` as `product.cover.customFields`, `product.cover`.`created_at` as `product.cover.createdAt`, `product.cover`.`updated_at` as `product.cover.updatedAt`, `product.translation.metaDescription`, `product.parent.translation.metaDescription`, COALESCE(`product.translation.metaDescription`,`product.parent.translation.metaDescription`,`product.translation.metaDescription`) as `product.metaDescription`, `product.translation.name`, `product.parent.translation.name`, COALESCE(`product.translation.name`,`product.parent.translation.name`,`product.translation.name`) as `product.name`, `product.translation.keywords`, `product.parent.translation.keywords`, COALESCE(`product.translation.keywords`,`product.parent.translation.keywords`,`product.translation.keywords`) as `product.keywords`, `product.translation.description`, `product.parent.translation.description`, COALESCE(`product.translation.description`,`product.parent.translation.description`,`product.translation.description`) as `product.description`, `product.translation.metaTitle`, `product.parent.translation.metaTitle`, COALESCE(`product.translation.metaTitle`,`product.parent.translation.metaTitle`,`product.translation.metaTitle`) as `product.metaTitle`, `product.translation.packUnit`, `product.parent.translation.packUnit`, COALESCE(`product.translation.packUnit`,`product.parent.translation.packUnit`,`product.translation.packUnit`) as `product.packUnit`, `product.translation.packUnitPlural`, `product.parent.translation.packUnitPlural`, COALESCE(`product.translation.packUnitPlural`,`product.parent.translation.packUnitPlural`,`product.translation.packUnitPlural`) as `product.packUnitPlural`, `product.translation.customSearchKeywords`, `product.parent.translation.customSearchKeywords`, COALESCE(`product.translation.customSearchKeywords`,`product.parent.translation.customSearchKeywords`,`product.translation.customSearchKeywords`) as `product.customSearchKeywords`, `product.translation.slotConfig`, `product.parent.translation.slotConfig`, COALESCE(`product.translation.slotConfig`,`product.parent.translation.slotConfig`,`product.translation.slotConfig`) as `product.slotConfig`, `product.translation.customFields`, `product.parent.translation.customFields`, COALESCE(`product.translation.customFields`,`product.parent.translation.customFields`,`product.translation.customFields`) as `product.customFields`, `product.translation.createdAt`, `product.parent.translation.createdAt`, `product.translation.updatedAt`, `product.parent.translation.updatedAt`, `product.translation.productId`, `product.parent.translation.productId`, `product.translation.languageId`, `product.parent.translation.languageId`, `product.translation.productVersionId`, `product.parent.translation.productVersionId` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN (SELECT `product.translation`.product_id, `product.translation`.product_version_id, `product.translation`.meta_description as `product.translation.metaDescription`, `product.translation`.name as `product.translation.name`, `product.translation`.keywords as `product.translation.keywords`, `product.translation`.description as `product.translation.description`, `product.translation`.meta_title as `product.translation.metaTitle`, `product.translation`.pack_unit as `product.translation.packUnit`, `product.translation`.pack_unit_plural as `product.translation.packUnitPlural`, `product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`, `product.translation`.slot_config as `product.translation.slotConfig`, `product.translation`.custom_fields as `product.translation.customFields`, `product.translation`.created_at as `product.translation.createdAt`, `product.translation`.updated_at as `product.translation.updatedAt`, `product.translation`.product_id as `product.translation.productId`, `product.translation`.language_id as `product.translation.languageId`, `product.translation`.product_version_id as `product.translation.productVersionId` FROM `product_translation` `product.translation` WHERE `product.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id` AND `product.product_translation`.product_version_id = `product`.version_id LEFT JOIN (SELECT `product.parent.translation`.product_id, `product.parent.translation`.product_version_id, `product.parent.translation`.meta_description as `product.parent.translation.metaDescription`, `product.parent.translation`.name as `product.parent.translation.name`, `product.parent.translation`.keywords as `product.parent.translation.keywords`, `product.parent.translation`.description as `product.parent.translation.description`, `product.parent.translation`.meta_title as `product.parent.translation.metaTitle`, `product.parent.translation`.pack_unit as `product.parent.translation.packUnit`, `product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`, `product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`, `product.parent.translation`.slot_config as `product.parent.translation.slotConfig`, `product.parent.translation`.custom_fields as `product.parent.translation.customFields`, `product.parent.translation`.created_at as `product.parent.translation.createdAt`, `product.parent.translation`.updated_at as `product.parent.translation.updatedAt`, `product.parent.translation`.product_id as `product.parent.translation.productId`, `product.parent.translation`.language_id as `product.parent.translation.languageId`, `product.parent.translation`.product_version_id as `product.parent.translation.productVersionId` FROM `product_translation` `product.parent.translation` WHERE `product.parent.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id` AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id` LEFT JOIN `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_id` LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id` AND `product`.`version_id` = `product.cover`.`version_id` LEFT JOIN `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`id` LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id` LEFT JOIN (SELECT `product.cover.media.translation`.media_id, `product.cover.media.translation`.title as `product.cover.media.translation.title`, `product.cover.media.translation`.alt as `product.cover.media.translation.alt`, `product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`, `product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`, `product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`, `product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`, `product.cover.media.translation`.language_id as `product.cover.media.translation.languageId` FROM `media_translation` `product.cover.media.translation` WHERE `product.cover.media.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id` WHERE (`product`.`version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425) AND (`product`.`id` IN (0x03F4EF144EC44C3E822790C652F7C3F6));
array:51 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 316)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetch (line 148)"
4 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 93)"
5 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::read (line 257)"
6 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::read (line 286)"
7 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::_search (line 106)"
8 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::search (line 51)"
9 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepositoryForwardCompatibilityDecorator::search (line 103)"
10 => "Bodymed\Webshop\StoreFront\Subscriber\ProductExtensionSubscriber::addParentCover (line 230)"
11 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
12 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
13 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
14 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
15 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
16 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 33)"
17 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
18 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 208)"
19 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::read (line 133)"
20 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 49)"
21 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariantsOfProduct (line 30)"
22 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariants (line 224)"
23 => "Bodymed\Webshop\Core\Content\Product\Cms\ProductSliderCmsElementResolver::enrich (line 99)"
24 => "Shopware\Core\Content\Cms\DataResolver\CmsSlotsDataResolver::resolve (line 104)"
25 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::loadSlotData (line 94)"
26 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::load (line 102)"
27 => "Shopware\Core\Content\Category\SalesChannel\CategoryRoute::load (line 103)"
28 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 350)"
29 => "Shopware\Core\System\SystemConfig\SystemConfigService::trace (line 44)"
30 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 120)"
31 => "Shopware\Core\Framework\Adapter\Translation\Translator::trace (line 45)"
32 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 46)"
33 => "Shopware\Core\Framework\Adapter\Cache\CacheTagCollection::trace (line 46)"
34 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::trace (line 41)"
35 => "Shopware\Storefront\Framework\Cache\CacheTracer::Shopware\Storefront\Framework\Cache\{closure} (line 59)"
36 => "Shopware\Storefront\Theme\ThemeConfigValueAccessor::trace (line 42)"
37 => "Shopware\Storefront\Framework\Cache\CacheTracer::trace (line 104)"
38 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 72)"
39 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
40 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 109)"
41 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 59)"
42 => "Shopware\Core\Profiling\Profiler::trace (line 112)"
43 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::load (line 66)"
44 => "Shopware\Storefront\Page\Navigation\NavigationPageLoader::load (line 48)"
45 => "Shopware\Storefront\Controller\NavigationController::home (line 163)"
46 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
47 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
48 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
49 => "Shopware\Core\HttpKernel::doHandle (line 81)"
50 => "Shopware\Core\HttpKernel::handle (line 75)"
]
|
67 |
0.78 ms |
SELECT * FROM sales_channel_api_context WHERE (sales_channel_id = :salesChannelId) AND (token = :token) LIMIT 1
SELECT * FROM sales_channel_api_context WHERE (sales_channel_id = 0x620A2217F7474E619CB00AD39E804CCA) AND (token = 'FwsxT47353Zxmr7lp0KSfYcVNkg5VpYR') LIMIT 1;
array:58 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 165)"
3 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextPersister::load (line 69)"
4 => "Bodymed\Webshop\Core\Subscriber\ProductSubscriber::addCustomerProductFeatureExtension (line 230)"
5 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
6 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
7 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
8 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
9 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
10 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 33)"
11 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
12 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 269)"
13 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::read (line 286)"
14 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::_search (line 106)"
15 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::search (line 51)"
16 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepositoryForwardCompatibilityDecorator::search (line 103)"
17 => "Bodymed\Webshop\StoreFront\Subscriber\ProductExtensionSubscriber::addParentCover (line 230)"
18 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
19 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
20 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
21 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
22 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
23 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 33)"
24 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
25 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 208)"
26 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::read (line 133)"
27 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 49)"
28 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariantsOfProduct (line 30)"
29 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariants (line 224)"
30 => "Bodymed\Webshop\Core\Content\Product\Cms\ProductSliderCmsElementResolver::enrich (line 99)"
31 => "Shopware\Core\Content\Cms\DataResolver\CmsSlotsDataResolver::resolve (line 104)"
32 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::loadSlotData (line 94)"
33 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::load (line 102)"
34 => "Shopware\Core\Content\Category\SalesChannel\CategoryRoute::load (line 103)"
35 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 350)"
36 => "Shopware\Core\System\SystemConfig\SystemConfigService::trace (line 44)"
37 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 120)"
38 => "Shopware\Core\Framework\Adapter\Translation\Translator::trace (line 45)"
39 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 46)"
40 => "Shopware\Core\Framework\Adapter\Cache\CacheTagCollection::trace (line 46)"
41 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::trace (line 41)"
42 => "Shopware\Storefront\Framework\Cache\CacheTracer::Shopware\Storefront\Framework\Cache\{closure} (line 59)"
43 => "Shopware\Storefront\Theme\ThemeConfigValueAccessor::trace (line 42)"
44 => "Shopware\Storefront\Framework\Cache\CacheTracer::trace (line 104)"
45 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 72)"
46 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
47 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 109)"
48 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 59)"
49 => "Shopware\Core\Profiling\Profiler::trace (line 112)"
50 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::load (line 66)"
51 => "Shopware\Storefront\Page\Navigation\NavigationPageLoader::load (line 48)"
52 => "Shopware\Storefront\Controller\NavigationController::home (line 163)"
53 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
54 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
55 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
56 => "Shopware\Core\HttpKernel::doHandle (line 81)"
57 => "Shopware\Core\HttpKernel::handle (line 75)"
]
|
68 |
30.25 ms |
SELECT `product`.`id` as `product.id`, `product`.`version_id` as `product.versionId`, `product`.`parent_id` as `product.parentId`, `product`.`parent_version_id` as `product.parentVersionId`, COALESCE(`product`.`product_manufacturer_id`, `product.parent`.`product_manufacturer_id`) as `product.manufacturerId`, COALESCE(`product`.`product_manufacturer_version_id`, `product.parent`.`product_manufacturer_version_id`) as `product.productManufacturerVersionId`, COALESCE(`product`.`unit_id`, `product.parent`.`unit_id`) as `product.unitId`, COALESCE(`product`.`tax_id`, `product.parent`.`tax_id`) as `product.taxId`, COALESCE(`product`.`product_media_id`, `product.parent`.`product_media_id`) as `product.coverId`, COALESCE(`product`.`product_media_version_id`, `product.parent`.`product_media_version_id`) as `product.productMediaVersionId`, COALESCE(`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`) as `product.deliveryTimeId`, COALESCE(`product`.`product_feature_set_id`, `product.parent`.`product_feature_set_id`) as `product.featureSetId`, COALESCE(`product`.`canonical_product_id`, `product.parent`.`canonical_product_id`) as `product.canonicalProductId`, COALESCE(`product`.`cms_page_id`, `product.parent`.`cms_page_id`) as `product.cmsPageId`, COALESCE(`product`.`cms_page_version_id`, `product.parent`.`cms_page_version_id`) as `product.cmsPageVersionId`, `product.parent`.`price` as `product.price.inherited`, COALESCE(`product`.`price`, `product.parent`.`price`) as `product.price`, `product`.`product_number` as `product.productNumber`, `product`.`stock` as `product.stock`, COALESCE(`product`.`restock_time`, `product.parent`.`restock_time`) as `product.restockTime`, `product`.`auto_increment` as `product.autoIncrement`, COALESCE(`product`.`active`, `product.parent`.`active`) as `product.active`, `product`.`available_stock` as `product.availableStock`, `product`.`available` as `product.available`, COALESCE(`product`.`is_closeout`, `product.parent`.`is_closeout`) as `product.isCloseout`, `product`.`display_group` as `product.displayGroup`, `product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`, COALESCE(`product`.`configurator_group_config`, `product.parent`.`configurator_group_config`) as `product.configuratorGroupConfig`, COALESCE(`product`.`main_variant_id`, `product.parent`.`main_variant_id`) as `product.mainVariantId`, COALESCE(`product`.`display_parent`, `product.parent`.`display_parent`) as `product.displayParent`, `product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`, COALESCE(`product`.`variant_listing_config`, `product.parent`.`variant_listing_config`) as `product.variantListingConfig`, `product`.`variant_restrictions` as `product.variantRestrictions`, COALESCE(`product`.`manufacturer_number`, `product.parent`.`manufacturer_number`) as `product.manufacturerNumber`, COALESCE(`product`.`ean`, `product.parent`.`ean`) as `product.ean`, COALESCE(`product`.`purchase_steps`, `product.parent`.`purchase_steps`) as `product.purchaseSteps`, COALESCE(`product`.`max_purchase`, `product.parent`.`max_purchase`) as `product.maxPurchase`, COALESCE(`product`.`min_purchase`, `product.parent`.`min_purchase`) as `product.minPurchase`, COALESCE(`product`.`purchase_unit`, `product.parent`.`purchase_unit`) as `product.purchaseUnit`, COALESCE(`product`.`reference_unit`, `product.parent`.`reference_unit`) as `product.referenceUnit`, COALESCE(`product`.`shipping_free`, `product.parent`.`shipping_free`) as `product.shippingFree`, `product.parent`.`purchase_prices` as `product.purchasePrices.inherited`, COALESCE(`product`.`purchase_prices`, `product.parent`.`purchase_prices`) as `product.purchasePrices`, COALESCE(`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`) as `product.markAsTopseller`, COALESCE(`product`.`weight`, `product.parent`.`weight`) as `product.weight`, COALESCE(`product`.`width`, `product.parent`.`width`) as `product.width`, COALESCE(`product`.`height`, `product.parent`.`height`) as `product.height`, COALESCE(`product`.`length`, `product.parent`.`length`) as `product.length`, COALESCE(`product`.`release_date`, `product.parent`.`release_date`) as `product.releaseDate`, COALESCE(`product`.`rating_average`, `product.parent`.`rating_average`) as `product.ratingAverage`, `product.parent`.`category_tree` as `product.categoryTree.inherited`, COALESCE(`product`.`category_tree`, `product.parent`.`category_tree`) as `product.categoryTree`, `product.parent`.`property_ids` as `product.propertyIds.inherited`, COALESCE(`product`.`property_ids`, `product.parent`.`property_ids`) as `product.propertyIds`, `product.parent`.`option_ids` as `product.optionIds.inherited`, COALESCE(`product`.`option_ids`, `product.parent`.`option_ids`) as `product.optionIds`, `product.parent`.`stream_ids` as `product.streamIds.inherited`, COALESCE(`product`.`stream_ids`, `product.parent`.`stream_ids`) as `product.streamIds`, `product.parent`.`tag_ids` as `product.tagIds.inherited`, COALESCE(`product`.`tag_ids`, `product.parent`.`tag_ids`) as `product.tagIds`, `product.parent`.`category_ids` as `product.categoryIds.inherited`, COALESCE(`product`.`category_ids`, `product.parent`.`category_ids`) as `product.categoryIds`, `product`.`child_count` as `product.childCount`, COALESCE(`product`.`custom_field_set_selection_active`, `product.parent`.`custom_field_set_selection_active`) as `product.customFieldSetSelectionActive`, `product`.`sales` as `product.sales`, `product`.`states` as `product.states`, `product.tax`.`id` as `product.tax.id`, `product.tax`.`tax_rate` as `product.tax.taxRate`, `product.tax`.`name` as `product.tax.name`, `product.tax`.`position` as `product.tax.position`, `product.tax`.`custom_fields` as `product.tax.customFields`, `product.tax`.`created_at` as `product.tax.createdAt`, `product.tax`.`updated_at` as `product.tax.updatedAt`, `product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`, COALESCE(`product`.`cheapest_price`, `product.parent`.`cheapest_price`) as `product.cheapestPrice`, `product`.`created_at` as `product.createdAt`, `product`.`updated_at` as `product.updatedAt`, `product.bundle`.`id` as `product.bundle.id`, `product.bundle`.`product_id` as `product.bundle.productId`, `product.bundle`.`product_version_id` as `product.bundle.productVersionId`, `product.bundle`.`name` as `product.bundle.name`, `product.bundle`.`price_type` as `product.bundle.priceType`, `product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`, `product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`, `product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`, `product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`, `product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`, `product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`, `product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`, `product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`, `product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`, `product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`, `product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`, `product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`, `product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`, `product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`, `product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`, `product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`, `product.bundle`.`created_at` as `product.bundle.createdAt`, `product.bundle`.`updated_at` as `product.bundle.updatedAt`, `product.cover`.`id` as `product.cover.id`, `product.cover`.`version_id` as `product.cover.versionId`, `product.cover`.`product_id` as `product.cover.productId`, `product.cover`.`product_version_id` as `product.cover.productVersionId`, `product.cover`.`media_id` as `product.cover.mediaId`, `product.cover`.`position` as `product.cover.position`, `product.cover.media`.`id` as `product.cover.media.id`, `product.cover.media`.`user_id` as `product.cover.media.userId`, `product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`, `product.cover.media`.`mime_type` as `product.cover.media.mimeType`, `product.cover.media`.`file_extension` as `product.cover.media.fileExtension`, `product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`, `product.cover.media`.`file_name` as `product.cover.media.fileName`, `product.cover.media`.`file_size` as `product.cover.media.fileSize`, `product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`, `product.cover.media`.`meta_data` as `product.cover.media.metaData`, `product.cover.media`.`private` as `product.cover.media.private`, `product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`, `product.cover.media`.`created_at` as `product.cover.media.createdAt`, `product.cover.media`.`updated_at` as `product.cover.media.updatedAt`, `product.cover.media.translation.title`, COALESCE(`product.cover.media.translation.title`,`product.cover.media.translation.title`) as `product.cover.media.title`, `product.cover.media.translation.alt`, COALESCE(`product.cover.media.translation.alt`,`product.cover.media.translation.alt`) as `product.cover.media.alt`, `product.cover.media.translation.customFields`, COALESCE(`product.cover.media.translation.customFields`,`product.cover.media.translation.customFields`) as `product.cover.media.customFields`, `product.cover.media.translation.createdAt`, `product.cover.media.translation.updatedAt`, `product.cover.media.translation.mediaId`, `product.cover.media.translation.languageId`, `product.cover`.`custom_fields` as `product.cover.customFields`, `product.cover`.`created_at` as `product.cover.createdAt`, `product.cover`.`updated_at` as `product.cover.updatedAt`, `product.translation.metaDescription`, `product.parent.translation.metaDescription`, COALESCE(`product.translation.metaDescription`,`product.parent.translation.metaDescription`,`product.translation.metaDescription`) as `product.metaDescription`, `product.translation.name`, `product.parent.translation.name`, COALESCE(`product.translation.name`,`product.parent.translation.name`,`product.translation.name`) as `product.name`, `product.translation.keywords`, `product.parent.translation.keywords`, COALESCE(`product.translation.keywords`,`product.parent.translation.keywords`,`product.translation.keywords`) as `product.keywords`, `product.translation.description`, `product.parent.translation.description`, COALESCE(`product.translation.description`,`product.parent.translation.description`,`product.translation.description`) as `product.description`, `product.translation.metaTitle`, `product.parent.translation.metaTitle`, COALESCE(`product.translation.metaTitle`,`product.parent.translation.metaTitle`,`product.translation.metaTitle`) as `product.metaTitle`, `product.translation.packUnit`, `product.parent.translation.packUnit`, COALESCE(`product.translation.packUnit`,`product.parent.translation.packUnit`,`product.translation.packUnit`) as `product.packUnit`, `product.translation.packUnitPlural`, `product.parent.translation.packUnitPlural`, COALESCE(`product.translation.packUnitPlural`,`product.parent.translation.packUnitPlural`,`product.translation.packUnitPlural`) as `product.packUnitPlural`, `product.translation.customSearchKeywords`, `product.parent.translation.customSearchKeywords`, COALESCE(`product.translation.customSearchKeywords`,`product.parent.translation.customSearchKeywords`,`product.translation.customSearchKeywords`) as `product.customSearchKeywords`, `product.translation.slotConfig`, `product.parent.translation.slotConfig`, COALESCE(`product.translation.slotConfig`,`product.parent.translation.slotConfig`,`product.translation.slotConfig`) as `product.slotConfig`, `product.translation.customFields`, `product.parent.translation.customFields`, COALESCE(`product.translation.customFields`,`product.parent.translation.customFields`,`product.translation.customFields`) as `product.customFields`, `product.translation.createdAt`, `product.parent.translation.createdAt`, `product.translation.updatedAt`, `product.parent.translation.updatedAt`, `product.translation.productId`, `product.parent.translation.productId`, `product.translation.languageId`, `product.parent.translation.languageId`, `product.translation.productVersionId`, `product.parent.translation.productVersionId` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN (SELECT `product.translation`.product_id, `product.translation`.product_version_id, `product.translation`.meta_description as `product.translation.metaDescription`, `product.translation`.name as `product.translation.name`, `product.translation`.keywords as `product.translation.keywords`, `product.translation`.description as `product.translation.description`, `product.translation`.meta_title as `product.translation.metaTitle`, `product.translation`.pack_unit as `product.translation.packUnit`, `product.translation`.pack_unit_plural as `product.translation.packUnitPlural`, `product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`, `product.translation`.slot_config as `product.translation.slotConfig`, `product.translation`.custom_fields as `product.translation.customFields`, `product.translation`.created_at as `product.translation.createdAt`, `product.translation`.updated_at as `product.translation.updatedAt`, `product.translation`.product_id as `product.translation.productId`, `product.translation`.language_id as `product.translation.languageId`, `product.translation`.product_version_id as `product.translation.productVersionId` FROM `product_translation` `product.translation` WHERE `product.translation`.language_id = :languageId) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id` AND `product.product_translation`.product_version_id = `product`.version_id LEFT JOIN (SELECT `product.parent.translation`.product_id, `product.parent.translation`.product_version_id, `product.parent.translation`.meta_description as `product.parent.translation.metaDescription`, `product.parent.translation`.name as `product.parent.translation.name`, `product.parent.translation`.keywords as `product.parent.translation.keywords`, `product.parent.translation`.description as `product.parent.translation.description`, `product.parent.translation`.meta_title as `product.parent.translation.metaTitle`, `product.parent.translation`.pack_unit as `product.parent.translation.packUnit`, `product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`, `product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`, `product.parent.translation`.slot_config as `product.parent.translation.slotConfig`, `product.parent.translation`.custom_fields as `product.parent.translation.customFields`, `product.parent.translation`.created_at as `product.parent.translation.createdAt`, `product.parent.translation`.updated_at as `product.parent.translation.updatedAt`, `product.parent.translation`.product_id as `product.parent.translation.productId`, `product.parent.translation`.language_id as `product.parent.translation.languageId`, `product.parent.translation`.product_version_id as `product.parent.translation.productVersionId` FROM `product_translation` `product.parent.translation` WHERE `product.parent.translation`.language_id = :languageId) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id` AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id` LEFT JOIN `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_id` LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id` AND `product`.`version_id` = `product.cover`.`version_id` LEFT JOIN `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`id` LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id` LEFT JOIN (SELECT `product.cover.media.translation`.media_id, `product.cover.media.translation`.title as `product.cover.media.translation.title`, `product.cover.media.translation`.alt as `product.cover.media.translation.alt`, `product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`, `product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`, `product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`, `product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`, `product.cover.media.translation`.language_id as `product.cover.media.translation.languageId` FROM `media_translation` `product.cover.media.translation` WHERE `product.cover.media.translation`.language_id = :languageId) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id` WHERE (`product`.`version_id` = :version) AND (`product`.`id` IN (:ids))
SELECT
`product`.`id` as `product.id`,
`product`.`version_id` as `product.versionId`,
`product`.`parent_id` as `product.parentId`,
`product`.`parent_version_id` as `product.parentVersionId`,
COALESCE(
`product`.`product_manufacturer_id`,
`product.parent`.`product_manufacturer_id`
) as `product.manufacturerId`,
COALESCE(
`product`.`product_manufacturer_version_id`,
`product.parent`.`product_manufacturer_version_id`
) as `product.productManufacturerVersionId`,
COALESCE(
`product`.`unit_id`, `product.parent`.`unit_id`
) as `product.unitId`,
COALESCE(
`product`.`tax_id`, `product.parent`.`tax_id`
) as `product.taxId`,
COALESCE(
`product`.`product_media_id`, `product.parent`.`product_media_id`
) as `product.coverId`,
COALESCE(
`product`.`product_media_version_id`,
`product.parent`.`product_media_version_id`
) as `product.productMediaVersionId`,
COALESCE(
`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`
) as `product.deliveryTimeId`,
COALESCE(
`product`.`product_feature_set_id`,
`product.parent`.`product_feature_set_id`
) as `product.featureSetId`,
COALESCE(
`product`.`canonical_product_id`,
`product.parent`.`canonical_product_id`
) as `product.canonicalProductId`,
COALESCE(
`product`.`cms_page_id`, `product.parent`.`cms_page_id`
) as `product.cmsPageId`,
COALESCE(
`product`.`cms_page_version_id`,
`product.parent`.`cms_page_version_id`
) as `product.cmsPageVersionId`,
`product.parent`.`price` as `product.price.inherited`,
COALESCE(
`product`.`price`, `product.parent`.`price`
) as `product.price`,
`product`.`product_number` as `product.productNumber`,
`product`.`stock` as `product.stock`,
COALESCE(
`product`.`restock_time`, `product.parent`.`restock_time`
) as `product.restockTime`,
`product`.`auto_increment` as `product.autoIncrement`,
COALESCE(
`product`.`active`, `product.parent`.`active`
) as `product.active`,
`product`.`available_stock` as `product.availableStock`,
`product`.`available` as `product.available`,
COALESCE(
`product`.`is_closeout`, `product.parent`.`is_closeout`
) as `product.isCloseout`,
`product`.`display_group` as `product.displayGroup`,
`product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`,
COALESCE(
`product`.`configurator_group_config`,
`product.parent`.`configurator_group_config`
) as `product.configuratorGroupConfig`,
COALESCE(
`product`.`main_variant_id`, `product.parent`.`main_variant_id`
) as `product.mainVariantId`,
COALESCE(
`product`.`display_parent`, `product.parent`.`display_parent`
) as `product.displayParent`,
`product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`,
COALESCE(
`product`.`variant_listing_config`,
`product.parent`.`variant_listing_config`
) as `product.variantListingConfig`,
`product`.`variant_restrictions` as `product.variantRestrictions`,
COALESCE(
`product`.`manufacturer_number`,
`product.parent`.`manufacturer_number`
) as `product.manufacturerNumber`,
COALESCE(
`product`.`ean`, `product.parent`.`ean`
) as `product.ean`,
COALESCE(
`product`.`purchase_steps`, `product.parent`.`purchase_steps`
) as `product.purchaseSteps`,
COALESCE(
`product`.`max_purchase`, `product.parent`.`max_purchase`
) as `product.maxPurchase`,
COALESCE(
`product`.`min_purchase`, `product.parent`.`min_purchase`
) as `product.minPurchase`,
COALESCE(
`product`.`purchase_unit`, `product.parent`.`purchase_unit`
) as `product.purchaseUnit`,
COALESCE(
`product`.`reference_unit`, `product.parent`.`reference_unit`
) as `product.referenceUnit`,
COALESCE(
`product`.`shipping_free`, `product.parent`.`shipping_free`
) as `product.shippingFree`,
`product.parent`.`purchase_prices` as `product.purchasePrices.inherited`,
COALESCE(
`product`.`purchase_prices`, `product.parent`.`purchase_prices`
) as `product.purchasePrices`,
COALESCE(
`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`
) as `product.markAsTopseller`,
COALESCE(
`product`.`weight`, `product.parent`.`weight`
) as `product.weight`,
COALESCE(
`product`.`width`, `product.parent`.`width`
) as `product.width`,
COALESCE(
`product`.`height`, `product.parent`.`height`
) as `product.height`,
COALESCE(
`product`.`length`, `product.parent`.`length`
) as `product.length`,
COALESCE(
`product`.`release_date`, `product.parent`.`release_date`
) as `product.releaseDate`,
COALESCE(
`product`.`rating_average`, `product.parent`.`rating_average`
) as `product.ratingAverage`,
`product.parent`.`category_tree` as `product.categoryTree.inherited`,
COALESCE(
`product`.`category_tree`, `product.parent`.`category_tree`
) as `product.categoryTree`,
`product.parent`.`property_ids` as `product.propertyIds.inherited`,
COALESCE(
`product`.`property_ids`, `product.parent`.`property_ids`
) as `product.propertyIds`,
`product.parent`.`option_ids` as `product.optionIds.inherited`,
COALESCE(
`product`.`option_ids`, `product.parent`.`option_ids`
) as `product.optionIds`,
`product.parent`.`stream_ids` as `product.streamIds.inherited`,
COALESCE(
`product`.`stream_ids`, `product.parent`.`stream_ids`
) as `product.streamIds`,
`product.parent`.`tag_ids` as `product.tagIds.inherited`,
COALESCE(
`product`.`tag_ids`, `product.parent`.`tag_ids`
) as `product.tagIds`,
`product.parent`.`category_ids` as `product.categoryIds.inherited`,
COALESCE(
`product`.`category_ids`, `product.parent`.`category_ids`
) as `product.categoryIds`,
`product`.`child_count` as `product.childCount`,
COALESCE(
`product`.`custom_field_set_selection_active`,
`product.parent`.`custom_field_set_selection_active`
) as `product.customFieldSetSelectionActive`,
`product`.`sales` as `product.sales`,
`product`.`states` as `product.states`,
`product.tax`.`id` as `product.tax.id`,
`product.tax`.`tax_rate` as `product.tax.taxRate`,
`product.tax`.`name` as `product.tax.name`,
`product.tax`.`position` as `product.tax.position`,
`product.tax`.`custom_fields` as `product.tax.customFields`,
`product.tax`.`created_at` as `product.tax.createdAt`,
`product.tax`.`updated_at` as `product.tax.updatedAt`,
`product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`,
COALESCE(
`product`.`cheapest_price`, `product.parent`.`cheapest_price`
) as `product.cheapestPrice`,
`product`.`created_at` as `product.createdAt`,
`product`.`updated_at` as `product.updatedAt`,
`product.bundle`.`id` as `product.bundle.id`,
`product.bundle`.`product_id` as `product.bundle.productId`,
`product.bundle`.`product_version_id` as `product.bundle.productVersionId`,
`product.bundle`.`name` as `product.bundle.name`,
`product.bundle`.`price_type` as `product.bundle.priceType`,
`product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`,
`product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`,
`product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`,
`product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`,
`product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`,
`product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`,
`product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`,
`product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`,
`product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`,
`product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`,
`product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`,
`product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`,
`product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`,
`product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`,
`product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`,
`product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`,
`product.bundle`.`created_at` as `product.bundle.createdAt`,
`product.bundle`.`updated_at` as `product.bundle.updatedAt`,
`product.cover`.`id` as `product.cover.id`,
`product.cover`.`version_id` as `product.cover.versionId`,
`product.cover`.`product_id` as `product.cover.productId`,
`product.cover`.`product_version_id` as `product.cover.productVersionId`,
`product.cover`.`media_id` as `product.cover.mediaId`,
`product.cover`.`position` as `product.cover.position`,
`product.cover.media`.`id` as `product.cover.media.id`,
`product.cover.media`.`user_id` as `product.cover.media.userId`,
`product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`,
`product.cover.media`.`mime_type` as `product.cover.media.mimeType`,
`product.cover.media`.`file_extension` as `product.cover.media.fileExtension`,
`product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`,
`product.cover.media`.`file_name` as `product.cover.media.fileName`,
`product.cover.media`.`file_size` as `product.cover.media.fileSize`,
`product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`,
`product.cover.media`.`meta_data` as `product.cover.media.metaData`,
`product.cover.media`.`private` as `product.cover.media.private`,
`product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`,
`product.cover.media`.`created_at` as `product.cover.media.createdAt`,
`product.cover.media`.`updated_at` as `product.cover.media.updatedAt`,
`product.cover.media.translation.title`,
COALESCE(
`product.cover.media.translation.title`,
`product.cover.media.translation.title`
) as `product.cover.media.title`,
`product.cover.media.translation.alt`,
COALESCE(
`product.cover.media.translation.alt`,
`product.cover.media.translation.alt`
) as `product.cover.media.alt`,
`product.cover.media.translation.customFields`,
COALESCE(
`product.cover.media.translation.customFields`,
`product.cover.media.translation.customFields`
) as `product.cover.media.customFields`,
`product.cover.media.translation.createdAt`,
`product.cover.media.translation.updatedAt`,
`product.cover.media.translation.mediaId`,
`product.cover.media.translation.languageId`,
`product.cover`.`custom_fields` as `product.cover.customFields`,
`product.cover`.`created_at` as `product.cover.createdAt`,
`product.cover`.`updated_at` as `product.cover.updatedAt`,
`product.translation.metaDescription`,
`product.parent.translation.metaDescription`,
COALESCE(
`product.translation.metaDescription`,
`product.parent.translation.metaDescription`,
`product.translation.metaDescription`
) as `product.metaDescription`,
`product.translation.name`,
`product.parent.translation.name`,
COALESCE(
`product.translation.name`, `product.parent.translation.name`,
`product.translation.name`
) as `product.name`,
`product.translation.keywords`,
`product.parent.translation.keywords`,
COALESCE(
`product.translation.keywords`,
`product.parent.translation.keywords`,
`product.translation.keywords`
) as `product.keywords`,
`product.translation.description`,
`product.parent.translation.description`,
COALESCE(
`product.translation.description`,
`product.parent.translation.description`,
`product.translation.description`
) as `product.description`,
`product.translation.metaTitle`,
`product.parent.translation.metaTitle`,
COALESCE(
`product.translation.metaTitle`,
`product.parent.translation.metaTitle`,
`product.translation.metaTitle`
) as `product.metaTitle`,
`product.translation.packUnit`,
`product.parent.translation.packUnit`,
COALESCE(
`product.translation.packUnit`,
`product.parent.translation.packUnit`,
`product.translation.packUnit`
) as `product.packUnit`,
`product.translation.packUnitPlural`,
`product.parent.translation.packUnitPlural`,
COALESCE(
`product.translation.packUnitPlural`,
`product.parent.translation.packUnitPlural`,
`product.translation.packUnitPlural`
) as `product.packUnitPlural`,
`product.translation.customSearchKeywords`,
`product.parent.translation.customSearchKeywords`,
COALESCE(
`product.translation.customSearchKeywords`,
`product.parent.translation.customSearchKeywords`,
`product.translation.customSearchKeywords`
) as `product.customSearchKeywords`,
`product.translation.slotConfig`,
`product.parent.translation.slotConfig`,
COALESCE(
`product.translation.slotConfig`,
`product.parent.translation.slotConfig`,
`product.translation.slotConfig`
) as `product.slotConfig`,
`product.translation.customFields`,
`product.parent.translation.customFields`,
COALESCE(
`product.translation.customFields`,
`product.parent.translation.customFields`,
`product.translation.customFields`
) as `product.customFields`,
`product.translation.createdAt`,
`product.parent.translation.createdAt`,
`product.translation.updatedAt`,
`product.parent.translation.updatedAt`,
`product.translation.productId`,
`product.parent.translation.productId`,
`product.translation.languageId`,
`product.parent.translation.languageId`,
`product.translation.productVersionId`,
`product.parent.translation.productVersionId`
FROM
`product`
LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id`
AND `product`.`version_id` = `product.parent`.`version_id`
LEFT JOIN (
SELECT
`product.translation`.product_id,
`product.translation`.product_version_id,
`product.translation`.meta_description as `product.translation.metaDescription`,
`product.translation`.name as `product.translation.name`,
`product.translation`.keywords as `product.translation.keywords`,
`product.translation`.description as `product.translation.description`,
`product.translation`.meta_title as `product.translation.metaTitle`,
`product.translation`.pack_unit as `product.translation.packUnit`,
`product.translation`.pack_unit_plural as `product.translation.packUnitPlural`,
`product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`,
`product.translation`.slot_config as `product.translation.slotConfig`,
`product.translation`.custom_fields as `product.translation.customFields`,
`product.translation`.created_at as `product.translation.createdAt`,
`product.translation`.updated_at as `product.translation.updatedAt`,
`product.translation`.product_id as `product.translation.productId`,
`product.translation`.language_id as `product.translation.languageId`,
`product.translation`.product_version_id as `product.translation.productVersionId`
FROM
`product_translation` `product.translation`
WHERE
`product.translation`.language_id = : languageId
) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id`
AND `product.product_translation`.product_version_id = `product`.version_id
LEFT JOIN (
SELECT
`product.parent.translation`.product_id,
`product.parent.translation`.product_version_id,
`product.parent.translation`.meta_description as `product.parent.translation.metaDescription`,
`product.parent.translation`.name as `product.parent.translation.name`,
`product.parent.translation`.keywords as `product.parent.translation.keywords`,
`product.parent.translation`.description as `product.parent.translation.description`,
`product.parent.translation`.meta_title as `product.parent.translation.metaTitle`,
`product.parent.translation`.pack_unit as `product.parent.translation.packUnit`,
`product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`,
`product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`,
`product.parent.translation`.slot_config as `product.parent.translation.slotConfig`,
`product.parent.translation`.custom_fields as `product.parent.translation.customFields`,
`product.parent.translation`.created_at as `product.parent.translation.createdAt`,
`product.parent.translation`.updated_at as `product.parent.translation.updatedAt`,
`product.parent.translation`.product_id as `product.parent.translation.productId`,
`product.parent.translation`.language_id as `product.parent.translation.languageId`,
`product.parent.translation`.product_version_id as `product.parent.translation.productVersionId`
FROM
`product_translation` `product.parent.translation`
WHERE
`product.parent.translation`.language_id = : languageId
) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id`
AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id
LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id`
LEFT JOIN `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_id`
LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id`
AND `product`.`version_id` = `product.cover`.`version_id`
LEFT JOIN `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id`
LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id`
LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`id`
LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id`
LEFT JOIN (
SELECT
`product.cover.media.translation`.media_id,
`product.cover.media.translation`.title as `product.cover.media.translation.title`,
`product.cover.media.translation`.alt as `product.cover.media.translation.alt`,
`product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`,
`product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`,
`product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`,
`product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`,
`product.cover.media.translation`.language_id as `product.cover.media.translation.languageId`
FROM
`media_translation` `product.cover.media.translation`
WHERE
`product.cover.media.translation`.language_id = : languageId
) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id`
WHERE
(
`product`.`version_id` = : version
)
AND (
`product`.`id` IN (: ids)
)
SELECT `product`.`id` as `product.id`, `product`.`version_id` as `product.versionId`, `product`.`parent_id` as `product.parentId`, `product`.`parent_version_id` as `product.parentVersionId`, COALESCE(`product`.`product_manufacturer_id`, `product.parent`.`product_manufacturer_id`) as `product.manufacturerId`, COALESCE(`product`.`product_manufacturer_version_id`, `product.parent`.`product_manufacturer_version_id`) as `product.productManufacturerVersionId`, COALESCE(`product`.`unit_id`, `product.parent`.`unit_id`) as `product.unitId`, COALESCE(`product`.`tax_id`, `product.parent`.`tax_id`) as `product.taxId`, COALESCE(`product`.`product_media_id`, `product.parent`.`product_media_id`) as `product.coverId`, COALESCE(`product`.`product_media_version_id`, `product.parent`.`product_media_version_id`) as `product.productMediaVersionId`, COALESCE(`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`) as `product.deliveryTimeId`, COALESCE(`product`.`product_feature_set_id`, `product.parent`.`product_feature_set_id`) as `product.featureSetId`, COALESCE(`product`.`canonical_product_id`, `product.parent`.`canonical_product_id`) as `product.canonicalProductId`, COALESCE(`product`.`cms_page_id`, `product.parent`.`cms_page_id`) as `product.cmsPageId`, COALESCE(`product`.`cms_page_version_id`, `product.parent`.`cms_page_version_id`) as `product.cmsPageVersionId`, `product.parent`.`price` as `product.price.inherited`, COALESCE(`product`.`price`, `product.parent`.`price`) as `product.price`, `product`.`product_number` as `product.productNumber`, `product`.`stock` as `product.stock`, COALESCE(`product`.`restock_time`, `product.parent`.`restock_time`) as `product.restockTime`, `product`.`auto_increment` as `product.autoIncrement`, COALESCE(`product`.`active`, `product.parent`.`active`) as `product.active`, `product`.`available_stock` as `product.availableStock`, `product`.`available` as `product.available`, COALESCE(`product`.`is_closeout`, `product.parent`.`is_closeout`) as `product.isCloseout`, `product`.`display_group` as `product.displayGroup`, `product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`, COALESCE(`product`.`configurator_group_config`, `product.parent`.`configurator_group_config`) as `product.configuratorGroupConfig`, COALESCE(`product`.`main_variant_id`, `product.parent`.`main_variant_id`) as `product.mainVariantId`, COALESCE(`product`.`display_parent`, `product.parent`.`display_parent`) as `product.displayParent`, `product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`, COALESCE(`product`.`variant_listing_config`, `product.parent`.`variant_listing_config`) as `product.variantListingConfig`, `product`.`variant_restrictions` as `product.variantRestrictions`, COALESCE(`product`.`manufacturer_number`, `product.parent`.`manufacturer_number`) as `product.manufacturerNumber`, COALESCE(`product`.`ean`, `product.parent`.`ean`) as `product.ean`, COALESCE(`product`.`purchase_steps`, `product.parent`.`purchase_steps`) as `product.purchaseSteps`, COALESCE(`product`.`max_purchase`, `product.parent`.`max_purchase`) as `product.maxPurchase`, COALESCE(`product`.`min_purchase`, `product.parent`.`min_purchase`) as `product.minPurchase`, COALESCE(`product`.`purchase_unit`, `product.parent`.`purchase_unit`) as `product.purchaseUnit`, COALESCE(`product`.`reference_unit`, `product.parent`.`reference_unit`) as `product.referenceUnit`, COALESCE(`product`.`shipping_free`, `product.parent`.`shipping_free`) as `product.shippingFree`, `product.parent`.`purchase_prices` as `product.purchasePrices.inherited`, COALESCE(`product`.`purchase_prices`, `product.parent`.`purchase_prices`) as `product.purchasePrices`, COALESCE(`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`) as `product.markAsTopseller`, COALESCE(`product`.`weight`, `product.parent`.`weight`) as `product.weight`, COALESCE(`product`.`width`, `product.parent`.`width`) as `product.width`, COALESCE(`product`.`height`, `product.parent`.`height`) as `product.height`, COALESCE(`product`.`length`, `product.parent`.`length`) as `product.length`, COALESCE(`product`.`release_date`, `product.parent`.`release_date`) as `product.releaseDate`, COALESCE(`product`.`rating_average`, `product.parent`.`rating_average`) as `product.ratingAverage`, `product.parent`.`category_tree` as `product.categoryTree.inherited`, COALESCE(`product`.`category_tree`, `product.parent`.`category_tree`) as `product.categoryTree`, `product.parent`.`property_ids` as `product.propertyIds.inherited`, COALESCE(`product`.`property_ids`, `product.parent`.`property_ids`) as `product.propertyIds`, `product.parent`.`option_ids` as `product.optionIds.inherited`, COALESCE(`product`.`option_ids`, `product.parent`.`option_ids`) as `product.optionIds`, `product.parent`.`stream_ids` as `product.streamIds.inherited`, COALESCE(`product`.`stream_ids`, `product.parent`.`stream_ids`) as `product.streamIds`, `product.parent`.`tag_ids` as `product.tagIds.inherited`, COALESCE(`product`.`tag_ids`, `product.parent`.`tag_ids`) as `product.tagIds`, `product.parent`.`category_ids` as `product.categoryIds.inherited`, COALESCE(`product`.`category_ids`, `product.parent`.`category_ids`) as `product.categoryIds`, `product`.`child_count` as `product.childCount`, COALESCE(`product`.`custom_field_set_selection_active`, `product.parent`.`custom_field_set_selection_active`) as `product.customFieldSetSelectionActive`, `product`.`sales` as `product.sales`, `product`.`states` as `product.states`, `product.tax`.`id` as `product.tax.id`, `product.tax`.`tax_rate` as `product.tax.taxRate`, `product.tax`.`name` as `product.tax.name`, `product.tax`.`position` as `product.tax.position`, `product.tax`.`custom_fields` as `product.tax.customFields`, `product.tax`.`created_at` as `product.tax.createdAt`, `product.tax`.`updated_at` as `product.tax.updatedAt`, `product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`, COALESCE(`product`.`cheapest_price`, `product.parent`.`cheapest_price`) as `product.cheapestPrice`, `product`.`created_at` as `product.createdAt`, `product`.`updated_at` as `product.updatedAt`, `product.bundle`.`id` as `product.bundle.id`, `product.bundle`.`product_id` as `product.bundle.productId`, `product.bundle`.`product_version_id` as `product.bundle.productVersionId`, `product.bundle`.`name` as `product.bundle.name`, `product.bundle`.`price_type` as `product.bundle.priceType`, `product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`, `product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`, `product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`, `product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`, `product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`, `product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`, `product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`, `product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`, `product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`, `product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`, `product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`, `product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`, `product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`, `product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`, `product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`, `product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`, `product.bundle`.`created_at` as `product.bundle.createdAt`, `product.bundle`.`updated_at` as `product.bundle.updatedAt`, `product.cover`.`id` as `product.cover.id`, `product.cover`.`version_id` as `product.cover.versionId`, `product.cover`.`product_id` as `product.cover.productId`, `product.cover`.`product_version_id` as `product.cover.productVersionId`, `product.cover`.`media_id` as `product.cover.mediaId`, `product.cover`.`position` as `product.cover.position`, `product.cover.media`.`id` as `product.cover.media.id`, `product.cover.media`.`user_id` as `product.cover.media.userId`, `product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`, `product.cover.media`.`mime_type` as `product.cover.media.mimeType`, `product.cover.media`.`file_extension` as `product.cover.media.fileExtension`, `product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`, `product.cover.media`.`file_name` as `product.cover.media.fileName`, `product.cover.media`.`file_size` as `product.cover.media.fileSize`, `product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`, `product.cover.media`.`meta_data` as `product.cover.media.metaData`, `product.cover.media`.`private` as `product.cover.media.private`, `product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`, `product.cover.media`.`created_at` as `product.cover.media.createdAt`, `product.cover.media`.`updated_at` as `product.cover.media.updatedAt`, `product.cover.media.translation.title`, COALESCE(`product.cover.media.translation.title`,`product.cover.media.translation.title`) as `product.cover.media.title`, `product.cover.media.translation.alt`, COALESCE(`product.cover.media.translation.alt`,`product.cover.media.translation.alt`) as `product.cover.media.alt`, `product.cover.media.translation.customFields`, COALESCE(`product.cover.media.translation.customFields`,`product.cover.media.translation.customFields`) as `product.cover.media.customFields`, `product.cover.media.translation.createdAt`, `product.cover.media.translation.updatedAt`, `product.cover.media.translation.mediaId`, `product.cover.media.translation.languageId`, `product.cover`.`custom_fields` as `product.cover.customFields`, `product.cover`.`created_at` as `product.cover.createdAt`, `product.cover`.`updated_at` as `product.cover.updatedAt`, `product.translation.metaDescription`, `product.parent.translation.metaDescription`, COALESCE(`product.translation.metaDescription`,`product.parent.translation.metaDescription`,`product.translation.metaDescription`) as `product.metaDescription`, `product.translation.name`, `product.parent.translation.name`, COALESCE(`product.translation.name`,`product.parent.translation.name`,`product.translation.name`) as `product.name`, `product.translation.keywords`, `product.parent.translation.keywords`, COALESCE(`product.translation.keywords`,`product.parent.translation.keywords`,`product.translation.keywords`) as `product.keywords`, `product.translation.description`, `product.parent.translation.description`, COALESCE(`product.translation.description`,`product.parent.translation.description`,`product.translation.description`) as `product.description`, `product.translation.metaTitle`, `product.parent.translation.metaTitle`, COALESCE(`product.translation.metaTitle`,`product.parent.translation.metaTitle`,`product.translation.metaTitle`) as `product.metaTitle`, `product.translation.packUnit`, `product.parent.translation.packUnit`, COALESCE(`product.translation.packUnit`,`product.parent.translation.packUnit`,`product.translation.packUnit`) as `product.packUnit`, `product.translation.packUnitPlural`, `product.parent.translation.packUnitPlural`, COALESCE(`product.translation.packUnitPlural`,`product.parent.translation.packUnitPlural`,`product.translation.packUnitPlural`) as `product.packUnitPlural`, `product.translation.customSearchKeywords`, `product.parent.translation.customSearchKeywords`, COALESCE(`product.translation.customSearchKeywords`,`product.parent.translation.customSearchKeywords`,`product.translation.customSearchKeywords`) as `product.customSearchKeywords`, `product.translation.slotConfig`, `product.parent.translation.slotConfig`, COALESCE(`product.translation.slotConfig`,`product.parent.translation.slotConfig`,`product.translation.slotConfig`) as `product.slotConfig`, `product.translation.customFields`, `product.parent.translation.customFields`, COALESCE(`product.translation.customFields`,`product.parent.translation.customFields`,`product.translation.customFields`) as `product.customFields`, `product.translation.createdAt`, `product.parent.translation.createdAt`, `product.translation.updatedAt`, `product.parent.translation.updatedAt`, `product.translation.productId`, `product.parent.translation.productId`, `product.translation.languageId`, `product.parent.translation.languageId`, `product.translation.productVersionId`, `product.parent.translation.productVersionId` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN (SELECT `product.translation`.product_id, `product.translation`.product_version_id, `product.translation`.meta_description as `product.translation.metaDescription`, `product.translation`.name as `product.translation.name`, `product.translation`.keywords as `product.translation.keywords`, `product.translation`.description as `product.translation.description`, `product.translation`.meta_title as `product.translation.metaTitle`, `product.translation`.pack_unit as `product.translation.packUnit`, `product.translation`.pack_unit_plural as `product.translation.packUnitPlural`, `product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`, `product.translation`.slot_config as `product.translation.slotConfig`, `product.translation`.custom_fields as `product.translation.customFields`, `product.translation`.created_at as `product.translation.createdAt`, `product.translation`.updated_at as `product.translation.updatedAt`, `product.translation`.product_id as `product.translation.productId`, `product.translation`.language_id as `product.translation.languageId`, `product.translation`.product_version_id as `product.translation.productVersionId` FROM `product_translation` `product.translation` WHERE `product.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id` AND `product.product_translation`.product_version_id = `product`.version_id LEFT JOIN (SELECT `product.parent.translation`.product_id, `product.parent.translation`.product_version_id, `product.parent.translation`.meta_description as `product.parent.translation.metaDescription`, `product.parent.translation`.name as `product.parent.translation.name`, `product.parent.translation`.keywords as `product.parent.translation.keywords`, `product.parent.translation`.description as `product.parent.translation.description`, `product.parent.translation`.meta_title as `product.parent.translation.metaTitle`, `product.parent.translation`.pack_unit as `product.parent.translation.packUnit`, `product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`, `product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`, `product.parent.translation`.slot_config as `product.parent.translation.slotConfig`, `product.parent.translation`.custom_fields as `product.parent.translation.customFields`, `product.parent.translation`.created_at as `product.parent.translation.createdAt`, `product.parent.translation`.updated_at as `product.parent.translation.updatedAt`, `product.parent.translation`.product_id as `product.parent.translation.productId`, `product.parent.translation`.language_id as `product.parent.translation.languageId`, `product.parent.translation`.product_version_id as `product.parent.translation.productVersionId` FROM `product_translation` `product.parent.translation` WHERE `product.parent.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id` AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id` LEFT JOIN `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_id` LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id` AND `product`.`version_id` = `product.cover`.`version_id` LEFT JOIN `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`id` LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id` LEFT JOIN (SELECT `product.cover.media.translation`.media_id, `product.cover.media.translation`.title as `product.cover.media.translation.title`, `product.cover.media.translation`.alt as `product.cover.media.translation.alt`, `product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`, `product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`, `product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`, `product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`, `product.cover.media.translation`.language_id as `product.cover.media.translation.languageId` FROM `media_translation` `product.cover.media.translation` WHERE `product.cover.media.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id` WHERE (`product`.`version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425) AND (`product`.`id` IN (0x03F4EF144EC44C3E822790C652F7C3F6));
array:51 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 316)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetch (line 148)"
4 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 93)"
5 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::read (line 257)"
6 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::read (line 286)"
7 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::_search (line 106)"
8 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::search (line 51)"
9 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepositoryForwardCompatibilityDecorator::search (line 103)"
10 => "Bodymed\Webshop\StoreFront\Subscriber\ProductExtensionSubscriber::addParentCover (line 230)"
11 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
12 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
13 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
14 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
15 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
16 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 33)"
17 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
18 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 208)"
19 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::read (line 133)"
20 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 49)"
21 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariantsOfProduct (line 30)"
22 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariants (line 224)"
23 => "Bodymed\Webshop\Core\Content\Product\Cms\ProductSliderCmsElementResolver::enrich (line 99)"
24 => "Shopware\Core\Content\Cms\DataResolver\CmsSlotsDataResolver::resolve (line 104)"
25 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::loadSlotData (line 94)"
26 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::load (line 102)"
27 => "Shopware\Core\Content\Category\SalesChannel\CategoryRoute::load (line 103)"
28 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 350)"
29 => "Shopware\Core\System\SystemConfig\SystemConfigService::trace (line 44)"
30 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 120)"
31 => "Shopware\Core\Framework\Adapter\Translation\Translator::trace (line 45)"
32 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 46)"
33 => "Shopware\Core\Framework\Adapter\Cache\CacheTagCollection::trace (line 46)"
34 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::trace (line 41)"
35 => "Shopware\Storefront\Framework\Cache\CacheTracer::Shopware\Storefront\Framework\Cache\{closure} (line 59)"
36 => "Shopware\Storefront\Theme\ThemeConfigValueAccessor::trace (line 42)"
37 => "Shopware\Storefront\Framework\Cache\CacheTracer::trace (line 104)"
38 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 72)"
39 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
40 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 109)"
41 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 59)"
42 => "Shopware\Core\Profiling\Profiler::trace (line 112)"
43 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::load (line 66)"
44 => "Shopware\Storefront\Page\Navigation\NavigationPageLoader::load (line 48)"
45 => "Shopware\Storefront\Controller\NavigationController::home (line 163)"
46 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
47 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
48 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
49 => "Shopware\Core\HttpKernel::doHandle (line 81)"
50 => "Shopware\Core\HttpKernel::handle (line 75)"
]
|
69 |
0.87 ms |
SELECT * FROM sales_channel_api_context WHERE (sales_channel_id = :salesChannelId) AND (token = :token) LIMIT 1
SELECT * FROM sales_channel_api_context WHERE (sales_channel_id = 0x620A2217F7474E619CB00AD39E804CCA) AND (token = 'FwsxT47353Zxmr7lp0KSfYcVNkg5VpYR') LIMIT 1;
array:58 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 165)"
3 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextPersister::load (line 69)"
4 => "Bodymed\Webshop\Core\Subscriber\ProductSubscriber::addCustomerProductFeatureExtension (line 230)"
5 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
6 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
7 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
8 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
9 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
10 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 33)"
11 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
12 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 269)"
13 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::read (line 286)"
14 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::_search (line 106)"
15 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::search (line 51)"
16 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepositoryForwardCompatibilityDecorator::search (line 103)"
17 => "Bodymed\Webshop\StoreFront\Subscriber\ProductExtensionSubscriber::addParentCover (line 230)"
18 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
19 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
20 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
21 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
22 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
23 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 33)"
24 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
25 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 208)"
26 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::read (line 133)"
27 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 49)"
28 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariantsOfProduct (line 30)"
29 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariants (line 224)"
30 => "Bodymed\Webshop\Core\Content\Product\Cms\ProductSliderCmsElementResolver::enrich (line 99)"
31 => "Shopware\Core\Content\Cms\DataResolver\CmsSlotsDataResolver::resolve (line 104)"
32 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::loadSlotData (line 94)"
33 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::load (line 102)"
34 => "Shopware\Core\Content\Category\SalesChannel\CategoryRoute::load (line 103)"
35 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 350)"
36 => "Shopware\Core\System\SystemConfig\SystemConfigService::trace (line 44)"
37 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 120)"
38 => "Shopware\Core\Framework\Adapter\Translation\Translator::trace (line 45)"
39 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 46)"
40 => "Shopware\Core\Framework\Adapter\Cache\CacheTagCollection::trace (line 46)"
41 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::trace (line 41)"
42 => "Shopware\Storefront\Framework\Cache\CacheTracer::Shopware\Storefront\Framework\Cache\{closure} (line 59)"
43 => "Shopware\Storefront\Theme\ThemeConfigValueAccessor::trace (line 42)"
44 => "Shopware\Storefront\Framework\Cache\CacheTracer::trace (line 104)"
45 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 72)"
46 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
47 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 109)"
48 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 59)"
49 => "Shopware\Core\Profiling\Profiler::trace (line 112)"
50 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::load (line 66)"
51 => "Shopware\Storefront\Page\Navigation\NavigationPageLoader::load (line 48)"
52 => "Shopware\Storefront\Controller\NavigationController::home (line 163)"
53 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
54 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
55 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
56 => "Shopware\Core\HttpKernel::doHandle (line 81)"
57 => "Shopware\Core\HttpKernel::handle (line 75)"
]
|
70 |
43.40 ms |
SELECT `product`.`id` as `product.id`, `product`.`version_id` as `product.versionId`, `product`.`parent_id` as `product.parentId`, `product`.`parent_version_id` as `product.parentVersionId`, COALESCE(`product`.`product_manufacturer_id`, `product.parent`.`product_manufacturer_id`) as `product.manufacturerId`, COALESCE(`product`.`product_manufacturer_version_id`, `product.parent`.`product_manufacturer_version_id`) as `product.productManufacturerVersionId`, COALESCE(`product`.`unit_id`, `product.parent`.`unit_id`) as `product.unitId`, COALESCE(`product`.`tax_id`, `product.parent`.`tax_id`) as `product.taxId`, COALESCE(`product`.`product_media_id`, `product.parent`.`product_media_id`) as `product.coverId`, COALESCE(`product`.`product_media_version_id`, `product.parent`.`product_media_version_id`) as `product.productMediaVersionId`, COALESCE(`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`) as `product.deliveryTimeId`, COALESCE(`product`.`product_feature_set_id`, `product.parent`.`product_feature_set_id`) as `product.featureSetId`, COALESCE(`product`.`canonical_product_id`, `product.parent`.`canonical_product_id`) as `product.canonicalProductId`, COALESCE(`product`.`cms_page_id`, `product.parent`.`cms_page_id`) as `product.cmsPageId`, COALESCE(`product`.`cms_page_version_id`, `product.parent`.`cms_page_version_id`) as `product.cmsPageVersionId`, `product.parent`.`price` as `product.price.inherited`, COALESCE(`product`.`price`, `product.parent`.`price`) as `product.price`, `product`.`product_number` as `product.productNumber`, `product`.`stock` as `product.stock`, COALESCE(`product`.`restock_time`, `product.parent`.`restock_time`) as `product.restockTime`, `product`.`auto_increment` as `product.autoIncrement`, COALESCE(`product`.`active`, `product.parent`.`active`) as `product.active`, `product`.`available_stock` as `product.availableStock`, `product`.`available` as `product.available`, COALESCE(`product`.`is_closeout`, `product.parent`.`is_closeout`) as `product.isCloseout`, `product`.`display_group` as `product.displayGroup`, `product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`, COALESCE(`product`.`configurator_group_config`, `product.parent`.`configurator_group_config`) as `product.configuratorGroupConfig`, COALESCE(`product`.`main_variant_id`, `product.parent`.`main_variant_id`) as `product.mainVariantId`, COALESCE(`product`.`display_parent`, `product.parent`.`display_parent`) as `product.displayParent`, `product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`, COALESCE(`product`.`variant_listing_config`, `product.parent`.`variant_listing_config`) as `product.variantListingConfig`, `product`.`variant_restrictions` as `product.variantRestrictions`, COALESCE(`product`.`manufacturer_number`, `product.parent`.`manufacturer_number`) as `product.manufacturerNumber`, COALESCE(`product`.`ean`, `product.parent`.`ean`) as `product.ean`, COALESCE(`product`.`purchase_steps`, `product.parent`.`purchase_steps`) as `product.purchaseSteps`, COALESCE(`product`.`max_purchase`, `product.parent`.`max_purchase`) as `product.maxPurchase`, COALESCE(`product`.`min_purchase`, `product.parent`.`min_purchase`) as `product.minPurchase`, COALESCE(`product`.`purchase_unit`, `product.parent`.`purchase_unit`) as `product.purchaseUnit`, COALESCE(`product`.`reference_unit`, `product.parent`.`reference_unit`) as `product.referenceUnit`, COALESCE(`product`.`shipping_free`, `product.parent`.`shipping_free`) as `product.shippingFree`, `product.parent`.`purchase_prices` as `product.purchasePrices.inherited`, COALESCE(`product`.`purchase_prices`, `product.parent`.`purchase_prices`) as `product.purchasePrices`, COALESCE(`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`) as `product.markAsTopseller`, COALESCE(`product`.`weight`, `product.parent`.`weight`) as `product.weight`, COALESCE(`product`.`width`, `product.parent`.`width`) as `product.width`, COALESCE(`product`.`height`, `product.parent`.`height`) as `product.height`, COALESCE(`product`.`length`, `product.parent`.`length`) as `product.length`, COALESCE(`product`.`release_date`, `product.parent`.`release_date`) as `product.releaseDate`, COALESCE(`product`.`rating_average`, `product.parent`.`rating_average`) as `product.ratingAverage`, `product.parent`.`category_tree` as `product.categoryTree.inherited`, COALESCE(`product`.`category_tree`, `product.parent`.`category_tree`) as `product.categoryTree`, `product.parent`.`property_ids` as `product.propertyIds.inherited`, COALESCE(`product`.`property_ids`, `product.parent`.`property_ids`) as `product.propertyIds`, `product.parent`.`option_ids` as `product.optionIds.inherited`, COALESCE(`product`.`option_ids`, `product.parent`.`option_ids`) as `product.optionIds`, `product.parent`.`stream_ids` as `product.streamIds.inherited`, COALESCE(`product`.`stream_ids`, `product.parent`.`stream_ids`) as `product.streamIds`, `product.parent`.`tag_ids` as `product.tagIds.inherited`, COALESCE(`product`.`tag_ids`, `product.parent`.`tag_ids`) as `product.tagIds`, `product.parent`.`category_ids` as `product.categoryIds.inherited`, COALESCE(`product`.`category_ids`, `product.parent`.`category_ids`) as `product.categoryIds`, `product`.`child_count` as `product.childCount`, COALESCE(`product`.`custom_field_set_selection_active`, `product.parent`.`custom_field_set_selection_active`) as `product.customFieldSetSelectionActive`, `product`.`sales` as `product.sales`, `product`.`states` as `product.states`, `product.tax`.`id` as `product.tax.id`, `product.tax`.`tax_rate` as `product.tax.taxRate`, `product.tax`.`name` as `product.tax.name`, `product.tax`.`position` as `product.tax.position`, `product.tax`.`custom_fields` as `product.tax.customFields`, `product.tax`.`created_at` as `product.tax.createdAt`, `product.tax`.`updated_at` as `product.tax.updatedAt`, `product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`, COALESCE(`product`.`cheapest_price`, `product.parent`.`cheapest_price`) as `product.cheapestPrice`, `product`.`created_at` as `product.createdAt`, `product`.`updated_at` as `product.updatedAt`, `product.bundle`.`id` as `product.bundle.id`, `product.bundle`.`product_id` as `product.bundle.productId`, `product.bundle`.`product_version_id` as `product.bundle.productVersionId`, `product.bundle`.`name` as `product.bundle.name`, `product.bundle`.`price_type` as `product.bundle.priceType`, `product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`, `product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`, `product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`, `product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`, `product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`, `product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`, `product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`, `product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`, `product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`, `product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`, `product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`, `product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`, `product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`, `product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`, `product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`, `product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`, `product.bundle`.`created_at` as `product.bundle.createdAt`, `product.bundle`.`updated_at` as `product.bundle.updatedAt`, `product.cover`.`id` as `product.cover.id`, `product.cover`.`version_id` as `product.cover.versionId`, `product.cover`.`product_id` as `product.cover.productId`, `product.cover`.`product_version_id` as `product.cover.productVersionId`, `product.cover`.`media_id` as `product.cover.mediaId`, `product.cover`.`position` as `product.cover.position`, `product.cover.media`.`id` as `product.cover.media.id`, `product.cover.media`.`user_id` as `product.cover.media.userId`, `product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`, `product.cover.media`.`mime_type` as `product.cover.media.mimeType`, `product.cover.media`.`file_extension` as `product.cover.media.fileExtension`, `product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`, `product.cover.media`.`file_name` as `product.cover.media.fileName`, `product.cover.media`.`file_size` as `product.cover.media.fileSize`, `product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`, `product.cover.media`.`meta_data` as `product.cover.media.metaData`, `product.cover.media`.`private` as `product.cover.media.private`, `product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`, `product.cover.media`.`created_at` as `product.cover.media.createdAt`, `product.cover.media`.`updated_at` as `product.cover.media.updatedAt`, `product.cover.media.translation.title`, COALESCE(`product.cover.media.translation.title`,`product.cover.media.translation.title`) as `product.cover.media.title`, `product.cover.media.translation.alt`, COALESCE(`product.cover.media.translation.alt`,`product.cover.media.translation.alt`) as `product.cover.media.alt`, `product.cover.media.translation.customFields`, COALESCE(`product.cover.media.translation.customFields`,`product.cover.media.translation.customFields`) as `product.cover.media.customFields`, `product.cover.media.translation.createdAt`, `product.cover.media.translation.updatedAt`, `product.cover.media.translation.mediaId`, `product.cover.media.translation.languageId`, `product.cover`.`custom_fields` as `product.cover.customFields`, `product.cover`.`created_at` as `product.cover.createdAt`, `product.cover`.`updated_at` as `product.cover.updatedAt`, `product.translation.metaDescription`, `product.parent.translation.metaDescription`, COALESCE(`product.translation.metaDescription`,`product.parent.translation.metaDescription`,`product.translation.metaDescription`) as `product.metaDescription`, `product.translation.name`, `product.parent.translation.name`, COALESCE(`product.translation.name`,`product.parent.translation.name`,`product.translation.name`) as `product.name`, `product.translation.keywords`, `product.parent.translation.keywords`, COALESCE(`product.translation.keywords`,`product.parent.translation.keywords`,`product.translation.keywords`) as `product.keywords`, `product.translation.description`, `product.parent.translation.description`, COALESCE(`product.translation.description`,`product.parent.translation.description`,`product.translation.description`) as `product.description`, `product.translation.metaTitle`, `product.parent.translation.metaTitle`, COALESCE(`product.translation.metaTitle`,`product.parent.translation.metaTitle`,`product.translation.metaTitle`) as `product.metaTitle`, `product.translation.packUnit`, `product.parent.translation.packUnit`, COALESCE(`product.translation.packUnit`,`product.parent.translation.packUnit`,`product.translation.packUnit`) as `product.packUnit`, `product.translation.packUnitPlural`, `product.parent.translation.packUnitPlural`, COALESCE(`product.translation.packUnitPlural`,`product.parent.translation.packUnitPlural`,`product.translation.packUnitPlural`) as `product.packUnitPlural`, `product.translation.customSearchKeywords`, `product.parent.translation.customSearchKeywords`, COALESCE(`product.translation.customSearchKeywords`,`product.parent.translation.customSearchKeywords`,`product.translation.customSearchKeywords`) as `product.customSearchKeywords`, `product.translation.slotConfig`, `product.parent.translation.slotConfig`, COALESCE(`product.translation.slotConfig`,`product.parent.translation.slotConfig`,`product.translation.slotConfig`) as `product.slotConfig`, `product.translation.customFields`, `product.parent.translation.customFields`, COALESCE(`product.translation.customFields`,`product.parent.translation.customFields`,`product.translation.customFields`) as `product.customFields`, `product.translation.createdAt`, `product.parent.translation.createdAt`, `product.translation.updatedAt`, `product.parent.translation.updatedAt`, `product.translation.productId`, `product.parent.translation.productId`, `product.translation.languageId`, `product.parent.translation.languageId`, `product.translation.productVersionId`, `product.parent.translation.productVersionId` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN (SELECT `product.translation`.product_id, `product.translation`.product_version_id, `product.translation`.meta_description as `product.translation.metaDescription`, `product.translation`.name as `product.translation.name`, `product.translation`.keywords as `product.translation.keywords`, `product.translation`.description as `product.translation.description`, `product.translation`.meta_title as `product.translation.metaTitle`, `product.translation`.pack_unit as `product.translation.packUnit`, `product.translation`.pack_unit_plural as `product.translation.packUnitPlural`, `product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`, `product.translation`.slot_config as `product.translation.slotConfig`, `product.translation`.custom_fields as `product.translation.customFields`, `product.translation`.created_at as `product.translation.createdAt`, `product.translation`.updated_at as `product.translation.updatedAt`, `product.translation`.product_id as `product.translation.productId`, `product.translation`.language_id as `product.translation.languageId`, `product.translation`.product_version_id as `product.translation.productVersionId` FROM `product_translation` `product.translation` WHERE `product.translation`.language_id = :languageId) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id` AND `product.product_translation`.product_version_id = `product`.version_id LEFT JOIN (SELECT `product.parent.translation`.product_id, `product.parent.translation`.product_version_id, `product.parent.translation`.meta_description as `product.parent.translation.metaDescription`, `product.parent.translation`.name as `product.parent.translation.name`, `product.parent.translation`.keywords as `product.parent.translation.keywords`, `product.parent.translation`.description as `product.parent.translation.description`, `product.parent.translation`.meta_title as `product.parent.translation.metaTitle`, `product.parent.translation`.pack_unit as `product.parent.translation.packUnit`, `product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`, `product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`, `product.parent.translation`.slot_config as `product.parent.translation.slotConfig`, `product.parent.translation`.custom_fields as `product.parent.translation.customFields`, `product.parent.translation`.created_at as `product.parent.translation.createdAt`, `product.parent.translation`.updated_at as `product.parent.translation.updatedAt`, `product.parent.translation`.product_id as `product.parent.translation.productId`, `product.parent.translation`.language_id as `product.parent.translation.languageId`, `product.parent.translation`.product_version_id as `product.parent.translation.productVersionId` FROM `product_translation` `product.parent.translation` WHERE `product.parent.translation`.language_id = :languageId) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id` AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id` LEFT JOIN `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_id` LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id` AND `product`.`version_id` = `product.cover`.`version_id` LEFT JOIN `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`id` LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id` LEFT JOIN (SELECT `product.cover.media.translation`.media_id, `product.cover.media.translation`.title as `product.cover.media.translation.title`, `product.cover.media.translation`.alt as `product.cover.media.translation.alt`, `product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`, `product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`, `product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`, `product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`, `product.cover.media.translation`.language_id as `product.cover.media.translation.languageId` FROM `media_translation` `product.cover.media.translation` WHERE `product.cover.media.translation`.language_id = :languageId) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id` WHERE (`product`.`version_id` = :version) AND (`product`.`id` IN (:ids))
SELECT
`product`.`id` as `product.id`,
`product`.`version_id` as `product.versionId`,
`product`.`parent_id` as `product.parentId`,
`product`.`parent_version_id` as `product.parentVersionId`,
COALESCE(
`product`.`product_manufacturer_id`,
`product.parent`.`product_manufacturer_id`
) as `product.manufacturerId`,
COALESCE(
`product`.`product_manufacturer_version_id`,
`product.parent`.`product_manufacturer_version_id`
) as `product.productManufacturerVersionId`,
COALESCE(
`product`.`unit_id`, `product.parent`.`unit_id`
) as `product.unitId`,
COALESCE(
`product`.`tax_id`, `product.parent`.`tax_id`
) as `product.taxId`,
COALESCE(
`product`.`product_media_id`, `product.parent`.`product_media_id`
) as `product.coverId`,
COALESCE(
`product`.`product_media_version_id`,
`product.parent`.`product_media_version_id`
) as `product.productMediaVersionId`,
COALESCE(
`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`
) as `product.deliveryTimeId`,
COALESCE(
`product`.`product_feature_set_id`,
`product.parent`.`product_feature_set_id`
) as `product.featureSetId`,
COALESCE(
`product`.`canonical_product_id`,
`product.parent`.`canonical_product_id`
) as `product.canonicalProductId`,
COALESCE(
`product`.`cms_page_id`, `product.parent`.`cms_page_id`
) as `product.cmsPageId`,
COALESCE(
`product`.`cms_page_version_id`,
`product.parent`.`cms_page_version_id`
) as `product.cmsPageVersionId`,
`product.parent`.`price` as `product.price.inherited`,
COALESCE(
`product`.`price`, `product.parent`.`price`
) as `product.price`,
`product`.`product_number` as `product.productNumber`,
`product`.`stock` as `product.stock`,
COALESCE(
`product`.`restock_time`, `product.parent`.`restock_time`
) as `product.restockTime`,
`product`.`auto_increment` as `product.autoIncrement`,
COALESCE(
`product`.`active`, `product.parent`.`active`
) as `product.active`,
`product`.`available_stock` as `product.availableStock`,
`product`.`available` as `product.available`,
COALESCE(
`product`.`is_closeout`, `product.parent`.`is_closeout`
) as `product.isCloseout`,
`product`.`display_group` as `product.displayGroup`,
`product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`,
COALESCE(
`product`.`configurator_group_config`,
`product.parent`.`configurator_group_config`
) as `product.configuratorGroupConfig`,
COALESCE(
`product`.`main_variant_id`, `product.parent`.`main_variant_id`
) as `product.mainVariantId`,
COALESCE(
`product`.`display_parent`, `product.parent`.`display_parent`
) as `product.displayParent`,
`product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`,
COALESCE(
`product`.`variant_listing_config`,
`product.parent`.`variant_listing_config`
) as `product.variantListingConfig`,
`product`.`variant_restrictions` as `product.variantRestrictions`,
COALESCE(
`product`.`manufacturer_number`,
`product.parent`.`manufacturer_number`
) as `product.manufacturerNumber`,
COALESCE(
`product`.`ean`, `product.parent`.`ean`
) as `product.ean`,
COALESCE(
`product`.`purchase_steps`, `product.parent`.`purchase_steps`
) as `product.purchaseSteps`,
COALESCE(
`product`.`max_purchase`, `product.parent`.`max_purchase`
) as `product.maxPurchase`,
COALESCE(
`product`.`min_purchase`, `product.parent`.`min_purchase`
) as `product.minPurchase`,
COALESCE(
`product`.`purchase_unit`, `product.parent`.`purchase_unit`
) as `product.purchaseUnit`,
COALESCE(
`product`.`reference_unit`, `product.parent`.`reference_unit`
) as `product.referenceUnit`,
COALESCE(
`product`.`shipping_free`, `product.parent`.`shipping_free`
) as `product.shippingFree`,
`product.parent`.`purchase_prices` as `product.purchasePrices.inherited`,
COALESCE(
`product`.`purchase_prices`, `product.parent`.`purchase_prices`
) as `product.purchasePrices`,
COALESCE(
`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`
) as `product.markAsTopseller`,
COALESCE(
`product`.`weight`, `product.parent`.`weight`
) as `product.weight`,
COALESCE(
`product`.`width`, `product.parent`.`width`
) as `product.width`,
COALESCE(
`product`.`height`, `product.parent`.`height`
) as `product.height`,
COALESCE(
`product`.`length`, `product.parent`.`length`
) as `product.length`,
COALESCE(
`product`.`release_date`, `product.parent`.`release_date`
) as `product.releaseDate`,
COALESCE(
`product`.`rating_average`, `product.parent`.`rating_average`
) as `product.ratingAverage`,
`product.parent`.`category_tree` as `product.categoryTree.inherited`,
COALESCE(
`product`.`category_tree`, `product.parent`.`category_tree`
) as `product.categoryTree`,
`product.parent`.`property_ids` as `product.propertyIds.inherited`,
COALESCE(
`product`.`property_ids`, `product.parent`.`property_ids`
) as `product.propertyIds`,
`product.parent`.`option_ids` as `product.optionIds.inherited`,
COALESCE(
`product`.`option_ids`, `product.parent`.`option_ids`
) as `product.optionIds`,
`product.parent`.`stream_ids` as `product.streamIds.inherited`,
COALESCE(
`product`.`stream_ids`, `product.parent`.`stream_ids`
) as `product.streamIds`,
`product.parent`.`tag_ids` as `product.tagIds.inherited`,
COALESCE(
`product`.`tag_ids`, `product.parent`.`tag_ids`
) as `product.tagIds`,
`product.parent`.`category_ids` as `product.categoryIds.inherited`,
COALESCE(
`product`.`category_ids`, `product.parent`.`category_ids`
) as `product.categoryIds`,
`product`.`child_count` as `product.childCount`,
COALESCE(
`product`.`custom_field_set_selection_active`,
`product.parent`.`custom_field_set_selection_active`
) as `product.customFieldSetSelectionActive`,
`product`.`sales` as `product.sales`,
`product`.`states` as `product.states`,
`product.tax`.`id` as `product.tax.id`,
`product.tax`.`tax_rate` as `product.tax.taxRate`,
`product.tax`.`name` as `product.tax.name`,
`product.tax`.`position` as `product.tax.position`,
`product.tax`.`custom_fields` as `product.tax.customFields`,
`product.tax`.`created_at` as `product.tax.createdAt`,
`product.tax`.`updated_at` as `product.tax.updatedAt`,
`product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`,
COALESCE(
`product`.`cheapest_price`, `product.parent`.`cheapest_price`
) as `product.cheapestPrice`,
`product`.`created_at` as `product.createdAt`,
`product`.`updated_at` as `product.updatedAt`,
`product.bundle`.`id` as `product.bundle.id`,
`product.bundle`.`product_id` as `product.bundle.productId`,
`product.bundle`.`product_version_id` as `product.bundle.productVersionId`,
`product.bundle`.`name` as `product.bundle.name`,
`product.bundle`.`price_type` as `product.bundle.priceType`,
`product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`,
`product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`,
`product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`,
`product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`,
`product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`,
`product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`,
`product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`,
`product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`,
`product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`,
`product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`,
`product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`,
`product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`,
`product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`,
`product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`,
`product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`,
`product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`,
`product.bundle`.`created_at` as `product.bundle.createdAt`,
`product.bundle`.`updated_at` as `product.bundle.updatedAt`,
`product.cover`.`id` as `product.cover.id`,
`product.cover`.`version_id` as `product.cover.versionId`,
`product.cover`.`product_id` as `product.cover.productId`,
`product.cover`.`product_version_id` as `product.cover.productVersionId`,
`product.cover`.`media_id` as `product.cover.mediaId`,
`product.cover`.`position` as `product.cover.position`,
`product.cover.media`.`id` as `product.cover.media.id`,
`product.cover.media`.`user_id` as `product.cover.media.userId`,
`product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`,
`product.cover.media`.`mime_type` as `product.cover.media.mimeType`,
`product.cover.media`.`file_extension` as `product.cover.media.fileExtension`,
`product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`,
`product.cover.media`.`file_name` as `product.cover.media.fileName`,
`product.cover.media`.`file_size` as `product.cover.media.fileSize`,
`product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`,
`product.cover.media`.`meta_data` as `product.cover.media.metaData`,
`product.cover.media`.`private` as `product.cover.media.private`,
`product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`,
`product.cover.media`.`created_at` as `product.cover.media.createdAt`,
`product.cover.media`.`updated_at` as `product.cover.media.updatedAt`,
`product.cover.media.translation.title`,
COALESCE(
`product.cover.media.translation.title`,
`product.cover.media.translation.title`
) as `product.cover.media.title`,
`product.cover.media.translation.alt`,
COALESCE(
`product.cover.media.translation.alt`,
`product.cover.media.translation.alt`
) as `product.cover.media.alt`,
`product.cover.media.translation.customFields`,
COALESCE(
`product.cover.media.translation.customFields`,
`product.cover.media.translation.customFields`
) as `product.cover.media.customFields`,
`product.cover.media.translation.createdAt`,
`product.cover.media.translation.updatedAt`,
`product.cover.media.translation.mediaId`,
`product.cover.media.translation.languageId`,
`product.cover`.`custom_fields` as `product.cover.customFields`,
`product.cover`.`created_at` as `product.cover.createdAt`,
`product.cover`.`updated_at` as `product.cover.updatedAt`,
`product.translation.metaDescription`,
`product.parent.translation.metaDescription`,
COALESCE(
`product.translation.metaDescription`,
`product.parent.translation.metaDescription`,
`product.translation.metaDescription`
) as `product.metaDescription`,
`product.translation.name`,
`product.parent.translation.name`,
COALESCE(
`product.translation.name`, `product.parent.translation.name`,
`product.translation.name`
) as `product.name`,
`product.translation.keywords`,
`product.parent.translation.keywords`,
COALESCE(
`product.translation.keywords`,
`product.parent.translation.keywords`,
`product.translation.keywords`
) as `product.keywords`,
`product.translation.description`,
`product.parent.translation.description`,
COALESCE(
`product.translation.description`,
`product.parent.translation.description`,
`product.translation.description`
) as `product.description`,
`product.translation.metaTitle`,
`product.parent.translation.metaTitle`,
COALESCE(
`product.translation.metaTitle`,
`product.parent.translation.metaTitle`,
`product.translation.metaTitle`
) as `product.metaTitle`,
`product.translation.packUnit`,
`product.parent.translation.packUnit`,
COALESCE(
`product.translation.packUnit`,
`product.parent.translation.packUnit`,
`product.translation.packUnit`
) as `product.packUnit`,
`product.translation.packUnitPlural`,
`product.parent.translation.packUnitPlural`,
COALESCE(
`product.translation.packUnitPlural`,
`product.parent.translation.packUnitPlural`,
`product.translation.packUnitPlural`
) as `product.packUnitPlural`,
`product.translation.customSearchKeywords`,
`product.parent.translation.customSearchKeywords`,
COALESCE(
`product.translation.customSearchKeywords`,
`product.parent.translation.customSearchKeywords`,
`product.translation.customSearchKeywords`
) as `product.customSearchKeywords`,
`product.translation.slotConfig`,
`product.parent.translation.slotConfig`,
COALESCE(
`product.translation.slotConfig`,
`product.parent.translation.slotConfig`,
`product.translation.slotConfig`
) as `product.slotConfig`,
`product.translation.customFields`,
`product.parent.translation.customFields`,
COALESCE(
`product.translation.customFields`,
`product.parent.translation.customFields`,
`product.translation.customFields`
) as `product.customFields`,
`product.translation.createdAt`,
`product.parent.translation.createdAt`,
`product.translation.updatedAt`,
`product.parent.translation.updatedAt`,
`product.translation.productId`,
`product.parent.translation.productId`,
`product.translation.languageId`,
`product.parent.translation.languageId`,
`product.translation.productVersionId`,
`product.parent.translation.productVersionId`
FROM
`product`
LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id`
AND `product`.`version_id` = `product.parent`.`version_id`
LEFT JOIN (
SELECT
`product.translation`.product_id,
`product.translation`.product_version_id,
`product.translation`.meta_description as `product.translation.metaDescription`,
`product.translation`.name as `product.translation.name`,
`product.translation`.keywords as `product.translation.keywords`,
`product.translation`.description as `product.translation.description`,
`product.translation`.meta_title as `product.translation.metaTitle`,
`product.translation`.pack_unit as `product.translation.packUnit`,
`product.translation`.pack_unit_plural as `product.translation.packUnitPlural`,
`product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`,
`product.translation`.slot_config as `product.translation.slotConfig`,
`product.translation`.custom_fields as `product.translation.customFields`,
`product.translation`.created_at as `product.translation.createdAt`,
`product.translation`.updated_at as `product.translation.updatedAt`,
`product.translation`.product_id as `product.translation.productId`,
`product.translation`.language_id as `product.translation.languageId`,
`product.translation`.product_version_id as `product.translation.productVersionId`
FROM
`product_translation` `product.translation`
WHERE
`product.translation`.language_id = : languageId
) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id`
AND `product.product_translation`.product_version_id = `product`.version_id
LEFT JOIN (
SELECT
`product.parent.translation`.product_id,
`product.parent.translation`.product_version_id,
`product.parent.translation`.meta_description as `product.parent.translation.metaDescription`,
`product.parent.translation`.name as `product.parent.translation.name`,
`product.parent.translation`.keywords as `product.parent.translation.keywords`,
`product.parent.translation`.description as `product.parent.translation.description`,
`product.parent.translation`.meta_title as `product.parent.translation.metaTitle`,
`product.parent.translation`.pack_unit as `product.parent.translation.packUnit`,
`product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`,
`product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`,
`product.parent.translation`.slot_config as `product.parent.translation.slotConfig`,
`product.parent.translation`.custom_fields as `product.parent.translation.customFields`,
`product.parent.translation`.created_at as `product.parent.translation.createdAt`,
`product.parent.translation`.updated_at as `product.parent.translation.updatedAt`,
`product.parent.translation`.product_id as `product.parent.translation.productId`,
`product.parent.translation`.language_id as `product.parent.translation.languageId`,
`product.parent.translation`.product_version_id as `product.parent.translation.productVersionId`
FROM
`product_translation` `product.parent.translation`
WHERE
`product.parent.translation`.language_id = : languageId
) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id`
AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id
LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id`
LEFT JOIN `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_id`
LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id`
AND `product`.`version_id` = `product.cover`.`version_id`
LEFT JOIN `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id`
LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id`
LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`id`
LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id`
LEFT JOIN (
SELECT
`product.cover.media.translation`.media_id,
`product.cover.media.translation`.title as `product.cover.media.translation.title`,
`product.cover.media.translation`.alt as `product.cover.media.translation.alt`,
`product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`,
`product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`,
`product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`,
`product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`,
`product.cover.media.translation`.language_id as `product.cover.media.translation.languageId`
FROM
`media_translation` `product.cover.media.translation`
WHERE
`product.cover.media.translation`.language_id = : languageId
) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id`
WHERE
(
`product`.`version_id` = : version
)
AND (
`product`.`id` IN (: ids)
)
SELECT `product`.`id` as `product.id`, `product`.`version_id` as `product.versionId`, `product`.`parent_id` as `product.parentId`, `product`.`parent_version_id` as `product.parentVersionId`, COALESCE(`product`.`product_manufacturer_id`, `product.parent`.`product_manufacturer_id`) as `product.manufacturerId`, COALESCE(`product`.`product_manufacturer_version_id`, `product.parent`.`product_manufacturer_version_id`) as `product.productManufacturerVersionId`, COALESCE(`product`.`unit_id`, `product.parent`.`unit_id`) as `product.unitId`, COALESCE(`product`.`tax_id`, `product.parent`.`tax_id`) as `product.taxId`, COALESCE(`product`.`product_media_id`, `product.parent`.`product_media_id`) as `product.coverId`, COALESCE(`product`.`product_media_version_id`, `product.parent`.`product_media_version_id`) as `product.productMediaVersionId`, COALESCE(`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`) as `product.deliveryTimeId`, COALESCE(`product`.`product_feature_set_id`, `product.parent`.`product_feature_set_id`) as `product.featureSetId`, COALESCE(`product`.`canonical_product_id`, `product.parent`.`canonical_product_id`) as `product.canonicalProductId`, COALESCE(`product`.`cms_page_id`, `product.parent`.`cms_page_id`) as `product.cmsPageId`, COALESCE(`product`.`cms_page_version_id`, `product.parent`.`cms_page_version_id`) as `product.cmsPageVersionId`, `product.parent`.`price` as `product.price.inherited`, COALESCE(`product`.`price`, `product.parent`.`price`) as `product.price`, `product`.`product_number` as `product.productNumber`, `product`.`stock` as `product.stock`, COALESCE(`product`.`restock_time`, `product.parent`.`restock_time`) as `product.restockTime`, `product`.`auto_increment` as `product.autoIncrement`, COALESCE(`product`.`active`, `product.parent`.`active`) as `product.active`, `product`.`available_stock` as `product.availableStock`, `product`.`available` as `product.available`, COALESCE(`product`.`is_closeout`, `product.parent`.`is_closeout`) as `product.isCloseout`, `product`.`display_group` as `product.displayGroup`, `product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`, COALESCE(`product`.`configurator_group_config`, `product.parent`.`configurator_group_config`) as `product.configuratorGroupConfig`, COALESCE(`product`.`main_variant_id`, `product.parent`.`main_variant_id`) as `product.mainVariantId`, COALESCE(`product`.`display_parent`, `product.parent`.`display_parent`) as `product.displayParent`, `product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`, COALESCE(`product`.`variant_listing_config`, `product.parent`.`variant_listing_config`) as `product.variantListingConfig`, `product`.`variant_restrictions` as `product.variantRestrictions`, COALESCE(`product`.`manufacturer_number`, `product.parent`.`manufacturer_number`) as `product.manufacturerNumber`, COALESCE(`product`.`ean`, `product.parent`.`ean`) as `product.ean`, COALESCE(`product`.`purchase_steps`, `product.parent`.`purchase_steps`) as `product.purchaseSteps`, COALESCE(`product`.`max_purchase`, `product.parent`.`max_purchase`) as `product.maxPurchase`, COALESCE(`product`.`min_purchase`, `product.parent`.`min_purchase`) as `product.minPurchase`, COALESCE(`product`.`purchase_unit`, `product.parent`.`purchase_unit`) as `product.purchaseUnit`, COALESCE(`product`.`reference_unit`, `product.parent`.`reference_unit`) as `product.referenceUnit`, COALESCE(`product`.`shipping_free`, `product.parent`.`shipping_free`) as `product.shippingFree`, `product.parent`.`purchase_prices` as `product.purchasePrices.inherited`, COALESCE(`product`.`purchase_prices`, `product.parent`.`purchase_prices`) as `product.purchasePrices`, COALESCE(`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`) as `product.markAsTopseller`, COALESCE(`product`.`weight`, `product.parent`.`weight`) as `product.weight`, COALESCE(`product`.`width`, `product.parent`.`width`) as `product.width`, COALESCE(`product`.`height`, `product.parent`.`height`) as `product.height`, COALESCE(`product`.`length`, `product.parent`.`length`) as `product.length`, COALESCE(`product`.`release_date`, `product.parent`.`release_date`) as `product.releaseDate`, COALESCE(`product`.`rating_average`, `product.parent`.`rating_average`) as `product.ratingAverage`, `product.parent`.`category_tree` as `product.categoryTree.inherited`, COALESCE(`product`.`category_tree`, `product.parent`.`category_tree`) as `product.categoryTree`, `product.parent`.`property_ids` as `product.propertyIds.inherited`, COALESCE(`product`.`property_ids`, `product.parent`.`property_ids`) as `product.propertyIds`, `product.parent`.`option_ids` as `product.optionIds.inherited`, COALESCE(`product`.`option_ids`, `product.parent`.`option_ids`) as `product.optionIds`, `product.parent`.`stream_ids` as `product.streamIds.inherited`, COALESCE(`product`.`stream_ids`, `product.parent`.`stream_ids`) as `product.streamIds`, `product.parent`.`tag_ids` as `product.tagIds.inherited`, COALESCE(`product`.`tag_ids`, `product.parent`.`tag_ids`) as `product.tagIds`, `product.parent`.`category_ids` as `product.categoryIds.inherited`, COALESCE(`product`.`category_ids`, `product.parent`.`category_ids`) as `product.categoryIds`, `product`.`child_count` as `product.childCount`, COALESCE(`product`.`custom_field_set_selection_active`, `product.parent`.`custom_field_set_selection_active`) as `product.customFieldSetSelectionActive`, `product`.`sales` as `product.sales`, `product`.`states` as `product.states`, `product.tax`.`id` as `product.tax.id`, `product.tax`.`tax_rate` as `product.tax.taxRate`, `product.tax`.`name` as `product.tax.name`, `product.tax`.`position` as `product.tax.position`, `product.tax`.`custom_fields` as `product.tax.customFields`, `product.tax`.`created_at` as `product.tax.createdAt`, `product.tax`.`updated_at` as `product.tax.updatedAt`, `product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`, COALESCE(`product`.`cheapest_price`, `product.parent`.`cheapest_price`) as `product.cheapestPrice`, `product`.`created_at` as `product.createdAt`, `product`.`updated_at` as `product.updatedAt`, `product.bundle`.`id` as `product.bundle.id`, `product.bundle`.`product_id` as `product.bundle.productId`, `product.bundle`.`product_version_id` as `product.bundle.productVersionId`, `product.bundle`.`name` as `product.bundle.name`, `product.bundle`.`price_type` as `product.bundle.priceType`, `product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`, `product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`, `product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`, `product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`, `product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`, `product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`, `product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`, `product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`, `product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`, `product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`, `product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`, `product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`, `product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`, `product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`, `product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`, `product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`, `product.bundle`.`created_at` as `product.bundle.createdAt`, `product.bundle`.`updated_at` as `product.bundle.updatedAt`, `product.cover`.`id` as `product.cover.id`, `product.cover`.`version_id` as `product.cover.versionId`, `product.cover`.`product_id` as `product.cover.productId`, `product.cover`.`product_version_id` as `product.cover.productVersionId`, `product.cover`.`media_id` as `product.cover.mediaId`, `product.cover`.`position` as `product.cover.position`, `product.cover.media`.`id` as `product.cover.media.id`, `product.cover.media`.`user_id` as `product.cover.media.userId`, `product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`, `product.cover.media`.`mime_type` as `product.cover.media.mimeType`, `product.cover.media`.`file_extension` as `product.cover.media.fileExtension`, `product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`, `product.cover.media`.`file_name` as `product.cover.media.fileName`, `product.cover.media`.`file_size` as `product.cover.media.fileSize`, `product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`, `product.cover.media`.`meta_data` as `product.cover.media.metaData`, `product.cover.media`.`private` as `product.cover.media.private`, `product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`, `product.cover.media`.`created_at` as `product.cover.media.createdAt`, `product.cover.media`.`updated_at` as `product.cover.media.updatedAt`, `product.cover.media.translation.title`, COALESCE(`product.cover.media.translation.title`,`product.cover.media.translation.title`) as `product.cover.media.title`, `product.cover.media.translation.alt`, COALESCE(`product.cover.media.translation.alt`,`product.cover.media.translation.alt`) as `product.cover.media.alt`, `product.cover.media.translation.customFields`, COALESCE(`product.cover.media.translation.customFields`,`product.cover.media.translation.customFields`) as `product.cover.media.customFields`, `product.cover.media.translation.createdAt`, `product.cover.media.translation.updatedAt`, `product.cover.media.translation.mediaId`, `product.cover.media.translation.languageId`, `product.cover`.`custom_fields` as `product.cover.customFields`, `product.cover`.`created_at` as `product.cover.createdAt`, `product.cover`.`updated_at` as `product.cover.updatedAt`, `product.translation.metaDescription`, `product.parent.translation.metaDescription`, COALESCE(`product.translation.metaDescription`,`product.parent.translation.metaDescription`,`product.translation.metaDescription`) as `product.metaDescription`, `product.translation.name`, `product.parent.translation.name`, COALESCE(`product.translation.name`,`product.parent.translation.name`,`product.translation.name`) as `product.name`, `product.translation.keywords`, `product.parent.translation.keywords`, COALESCE(`product.translation.keywords`,`product.parent.translation.keywords`,`product.translation.keywords`) as `product.keywords`, `product.translation.description`, `product.parent.translation.description`, COALESCE(`product.translation.description`,`product.parent.translation.description`,`product.translation.description`) as `product.description`, `product.translation.metaTitle`, `product.parent.translation.metaTitle`, COALESCE(`product.translation.metaTitle`,`product.parent.translation.metaTitle`,`product.translation.metaTitle`) as `product.metaTitle`, `product.translation.packUnit`, `product.parent.translation.packUnit`, COALESCE(`product.translation.packUnit`,`product.parent.translation.packUnit`,`product.translation.packUnit`) as `product.packUnit`, `product.translation.packUnitPlural`, `product.parent.translation.packUnitPlural`, COALESCE(`product.translation.packUnitPlural`,`product.parent.translation.packUnitPlural`,`product.translation.packUnitPlural`) as `product.packUnitPlural`, `product.translation.customSearchKeywords`, `product.parent.translation.customSearchKeywords`, COALESCE(`product.translation.customSearchKeywords`,`product.parent.translation.customSearchKeywords`,`product.translation.customSearchKeywords`) as `product.customSearchKeywords`, `product.translation.slotConfig`, `product.parent.translation.slotConfig`, COALESCE(`product.translation.slotConfig`,`product.parent.translation.slotConfig`,`product.translation.slotConfig`) as `product.slotConfig`, `product.translation.customFields`, `product.parent.translation.customFields`, COALESCE(`product.translation.customFields`,`product.parent.translation.customFields`,`product.translation.customFields`) as `product.customFields`, `product.translation.createdAt`, `product.parent.translation.createdAt`, `product.translation.updatedAt`, `product.parent.translation.updatedAt`, `product.translation.productId`, `product.parent.translation.productId`, `product.translation.languageId`, `product.parent.translation.languageId`, `product.translation.productVersionId`, `product.parent.translation.productVersionId` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN (SELECT `product.translation`.product_id, `product.translation`.product_version_id, `product.translation`.meta_description as `product.translation.metaDescription`, `product.translation`.name as `product.translation.name`, `product.translation`.keywords as `product.translation.keywords`, `product.translation`.description as `product.translation.description`, `product.translation`.meta_title as `product.translation.metaTitle`, `product.translation`.pack_unit as `product.translation.packUnit`, `product.translation`.pack_unit_plural as `product.translation.packUnitPlural`, `product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`, `product.translation`.slot_config as `product.translation.slotConfig`, `product.translation`.custom_fields as `product.translation.customFields`, `product.translation`.created_at as `product.translation.createdAt`, `product.translation`.updated_at as `product.translation.updatedAt`, `product.translation`.product_id as `product.translation.productId`, `product.translation`.language_id as `product.translation.languageId`, `product.translation`.product_version_id as `product.translation.productVersionId` FROM `product_translation` `product.translation` WHERE `product.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id` AND `product.product_translation`.product_version_id = `product`.version_id LEFT JOIN (SELECT `product.parent.translation`.product_id, `product.parent.translation`.product_version_id, `product.parent.translation`.meta_description as `product.parent.translation.metaDescription`, `product.parent.translation`.name as `product.parent.translation.name`, `product.parent.translation`.keywords as `product.parent.translation.keywords`, `product.parent.translation`.description as `product.parent.translation.description`, `product.parent.translation`.meta_title as `product.parent.translation.metaTitle`, `product.parent.translation`.pack_unit as `product.parent.translation.packUnit`, `product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`, `product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`, `product.parent.translation`.slot_config as `product.parent.translation.slotConfig`, `product.parent.translation`.custom_fields as `product.parent.translation.customFields`, `product.parent.translation`.created_at as `product.parent.translation.createdAt`, `product.parent.translation`.updated_at as `product.parent.translation.updatedAt`, `product.parent.translation`.product_id as `product.parent.translation.productId`, `product.parent.translation`.language_id as `product.parent.translation.languageId`, `product.parent.translation`.product_version_id as `product.parent.translation.productVersionId` FROM `product_translation` `product.parent.translation` WHERE `product.parent.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id` AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id` LEFT JOIN `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_id` LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id` AND `product`.`version_id` = `product.cover`.`version_id` LEFT JOIN `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`id` LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id` LEFT JOIN (SELECT `product.cover.media.translation`.media_id, `product.cover.media.translation`.title as `product.cover.media.translation.title`, `product.cover.media.translation`.alt as `product.cover.media.translation.alt`, `product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`, `product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`, `product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`, `product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`, `product.cover.media.translation`.language_id as `product.cover.media.translation.languageId` FROM `media_translation` `product.cover.media.translation` WHERE `product.cover.media.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id` WHERE (`product`.`version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425) AND (`product`.`id` IN (0x03F4EF144EC44C3E822790C652F7C3F6));
array:51 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 316)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetch (line 148)"
4 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 93)"
5 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::read (line 257)"
6 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::read (line 286)"
7 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::_search (line 106)"
8 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::search (line 51)"
9 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepositoryForwardCompatibilityDecorator::search (line 103)"
10 => "Bodymed\Webshop\StoreFront\Subscriber\ProductExtensionSubscriber::addParentCover (line 230)"
11 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
12 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
13 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
14 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
15 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
16 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 33)"
17 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
18 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 208)"
19 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::read (line 133)"
20 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 49)"
21 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariantsOfProduct (line 30)"
22 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariants (line 224)"
23 => "Bodymed\Webshop\Core\Content\Product\Cms\ProductSliderCmsElementResolver::enrich (line 99)"
24 => "Shopware\Core\Content\Cms\DataResolver\CmsSlotsDataResolver::resolve (line 104)"
25 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::loadSlotData (line 94)"
26 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::load (line 102)"
27 => "Shopware\Core\Content\Category\SalesChannel\CategoryRoute::load (line 103)"
28 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 350)"
29 => "Shopware\Core\System\SystemConfig\SystemConfigService::trace (line 44)"
30 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 120)"
31 => "Shopware\Core\Framework\Adapter\Translation\Translator::trace (line 45)"
32 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 46)"
33 => "Shopware\Core\Framework\Adapter\Cache\CacheTagCollection::trace (line 46)"
34 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::trace (line 41)"
35 => "Shopware\Storefront\Framework\Cache\CacheTracer::Shopware\Storefront\Framework\Cache\{closure} (line 59)"
36 => "Shopware\Storefront\Theme\ThemeConfigValueAccessor::trace (line 42)"
37 => "Shopware\Storefront\Framework\Cache\CacheTracer::trace (line 104)"
38 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 72)"
39 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
40 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 109)"
41 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 59)"
42 => "Shopware\Core\Profiling\Profiler::trace (line 112)"
43 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::load (line 66)"
44 => "Shopware\Storefront\Page\Navigation\NavigationPageLoader::load (line 48)"
45 => "Shopware\Storefront\Controller\NavigationController::home (line 163)"
46 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
47 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
48 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
49 => "Shopware\Core\HttpKernel::doHandle (line 81)"
50 => "Shopware\Core\HttpKernel::handle (line 75)"
]
|
71 |
0.87 ms |
SELECT * FROM sales_channel_api_context WHERE (sales_channel_id = :salesChannelId) AND (token = :token) LIMIT 1
SELECT * FROM sales_channel_api_context WHERE (sales_channel_id = 0x620A2217F7474E619CB00AD39E804CCA) AND (token = 'FwsxT47353Zxmr7lp0KSfYcVNkg5VpYR') LIMIT 1;
array:58 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 165)"
3 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextPersister::load (line 69)"
4 => "Bodymed\Webshop\Core\Subscriber\ProductSubscriber::addCustomerProductFeatureExtension (line 230)"
5 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
6 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
7 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
8 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
9 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
10 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 33)"
11 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
12 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 269)"
13 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::read (line 286)"
14 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::_search (line 106)"
15 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::search (line 51)"
16 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepositoryForwardCompatibilityDecorator::search (line 103)"
17 => "Bodymed\Webshop\StoreFront\Subscriber\ProductExtensionSubscriber::addParentCover (line 230)"
18 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
19 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
20 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
21 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
22 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
23 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 33)"
24 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
25 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 208)"
26 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::read (line 133)"
27 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 49)"
28 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariantsOfProduct (line 30)"
29 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariants (line 224)"
30 => "Bodymed\Webshop\Core\Content\Product\Cms\ProductSliderCmsElementResolver::enrich (line 99)"
31 => "Shopware\Core\Content\Cms\DataResolver\CmsSlotsDataResolver::resolve (line 104)"
32 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::loadSlotData (line 94)"
33 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::load (line 102)"
34 => "Shopware\Core\Content\Category\SalesChannel\CategoryRoute::load (line 103)"
35 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 350)"
36 => "Shopware\Core\System\SystemConfig\SystemConfigService::trace (line 44)"
37 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 120)"
38 => "Shopware\Core\Framework\Adapter\Translation\Translator::trace (line 45)"
39 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 46)"
40 => "Shopware\Core\Framework\Adapter\Cache\CacheTagCollection::trace (line 46)"
41 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::trace (line 41)"
42 => "Shopware\Storefront\Framework\Cache\CacheTracer::Shopware\Storefront\Framework\Cache\{closure} (line 59)"
43 => "Shopware\Storefront\Theme\ThemeConfigValueAccessor::trace (line 42)"
44 => "Shopware\Storefront\Framework\Cache\CacheTracer::trace (line 104)"
45 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 72)"
46 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
47 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 109)"
48 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 59)"
49 => "Shopware\Core\Profiling\Profiler::trace (line 112)"
50 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::load (line 66)"
51 => "Shopware\Storefront\Page\Navigation\NavigationPageLoader::load (line 48)"
52 => "Shopware\Storefront\Controller\NavigationController::home (line 163)"
53 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
54 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
55 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
56 => "Shopware\Core\HttpKernel::doHandle (line 81)"
57 => "Shopware\Core\HttpKernel::handle (line 75)"
]
|
72 |
31.54 ms |
SELECT `product`.`id` as `product.id`, `product`.`version_id` as `product.versionId`, `product`.`parent_id` as `product.parentId`, `product`.`parent_version_id` as `product.parentVersionId`, COALESCE(`product`.`product_manufacturer_id`, `product.parent`.`product_manufacturer_id`) as `product.manufacturerId`, COALESCE(`product`.`product_manufacturer_version_id`, `product.parent`.`product_manufacturer_version_id`) as `product.productManufacturerVersionId`, COALESCE(`product`.`unit_id`, `product.parent`.`unit_id`) as `product.unitId`, COALESCE(`product`.`tax_id`, `product.parent`.`tax_id`) as `product.taxId`, COALESCE(`product`.`product_media_id`, `product.parent`.`product_media_id`) as `product.coverId`, COALESCE(`product`.`product_media_version_id`, `product.parent`.`product_media_version_id`) as `product.productMediaVersionId`, COALESCE(`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`) as `product.deliveryTimeId`, COALESCE(`product`.`product_feature_set_id`, `product.parent`.`product_feature_set_id`) as `product.featureSetId`, COALESCE(`product`.`canonical_product_id`, `product.parent`.`canonical_product_id`) as `product.canonicalProductId`, COALESCE(`product`.`cms_page_id`, `product.parent`.`cms_page_id`) as `product.cmsPageId`, COALESCE(`product`.`cms_page_version_id`, `product.parent`.`cms_page_version_id`) as `product.cmsPageVersionId`, `product.parent`.`price` as `product.price.inherited`, COALESCE(`product`.`price`, `product.parent`.`price`) as `product.price`, `product`.`product_number` as `product.productNumber`, `product`.`stock` as `product.stock`, COALESCE(`product`.`restock_time`, `product.parent`.`restock_time`) as `product.restockTime`, `product`.`auto_increment` as `product.autoIncrement`, COALESCE(`product`.`active`, `product.parent`.`active`) as `product.active`, `product`.`available_stock` as `product.availableStock`, `product`.`available` as `product.available`, COALESCE(`product`.`is_closeout`, `product.parent`.`is_closeout`) as `product.isCloseout`, `product`.`display_group` as `product.displayGroup`, `product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`, COALESCE(`product`.`configurator_group_config`, `product.parent`.`configurator_group_config`) as `product.configuratorGroupConfig`, COALESCE(`product`.`main_variant_id`, `product.parent`.`main_variant_id`) as `product.mainVariantId`, COALESCE(`product`.`display_parent`, `product.parent`.`display_parent`) as `product.displayParent`, `product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`, COALESCE(`product`.`variant_listing_config`, `product.parent`.`variant_listing_config`) as `product.variantListingConfig`, `product`.`variant_restrictions` as `product.variantRestrictions`, COALESCE(`product`.`manufacturer_number`, `product.parent`.`manufacturer_number`) as `product.manufacturerNumber`, COALESCE(`product`.`ean`, `product.parent`.`ean`) as `product.ean`, COALESCE(`product`.`purchase_steps`, `product.parent`.`purchase_steps`) as `product.purchaseSteps`, COALESCE(`product`.`max_purchase`, `product.parent`.`max_purchase`) as `product.maxPurchase`, COALESCE(`product`.`min_purchase`, `product.parent`.`min_purchase`) as `product.minPurchase`, COALESCE(`product`.`purchase_unit`, `product.parent`.`purchase_unit`) as `product.purchaseUnit`, COALESCE(`product`.`reference_unit`, `product.parent`.`reference_unit`) as `product.referenceUnit`, COALESCE(`product`.`shipping_free`, `product.parent`.`shipping_free`) as `product.shippingFree`, `product.parent`.`purchase_prices` as `product.purchasePrices.inherited`, COALESCE(`product`.`purchase_prices`, `product.parent`.`purchase_prices`) as `product.purchasePrices`, COALESCE(`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`) as `product.markAsTopseller`, COALESCE(`product`.`weight`, `product.parent`.`weight`) as `product.weight`, COALESCE(`product`.`width`, `product.parent`.`width`) as `product.width`, COALESCE(`product`.`height`, `product.parent`.`height`) as `product.height`, COALESCE(`product`.`length`, `product.parent`.`length`) as `product.length`, COALESCE(`product`.`release_date`, `product.parent`.`release_date`) as `product.releaseDate`, COALESCE(`product`.`rating_average`, `product.parent`.`rating_average`) as `product.ratingAverage`, `product.parent`.`category_tree` as `product.categoryTree.inherited`, COALESCE(`product`.`category_tree`, `product.parent`.`category_tree`) as `product.categoryTree`, `product.parent`.`property_ids` as `product.propertyIds.inherited`, COALESCE(`product`.`property_ids`, `product.parent`.`property_ids`) as `product.propertyIds`, `product.parent`.`option_ids` as `product.optionIds.inherited`, COALESCE(`product`.`option_ids`, `product.parent`.`option_ids`) as `product.optionIds`, `product.parent`.`stream_ids` as `product.streamIds.inherited`, COALESCE(`product`.`stream_ids`, `product.parent`.`stream_ids`) as `product.streamIds`, `product.parent`.`tag_ids` as `product.tagIds.inherited`, COALESCE(`product`.`tag_ids`, `product.parent`.`tag_ids`) as `product.tagIds`, `product.parent`.`category_ids` as `product.categoryIds.inherited`, COALESCE(`product`.`category_ids`, `product.parent`.`category_ids`) as `product.categoryIds`, `product`.`child_count` as `product.childCount`, COALESCE(`product`.`custom_field_set_selection_active`, `product.parent`.`custom_field_set_selection_active`) as `product.customFieldSetSelectionActive`, `product`.`sales` as `product.sales`, `product`.`states` as `product.states`, `product.tax`.`id` as `product.tax.id`, `product.tax`.`tax_rate` as `product.tax.taxRate`, `product.tax`.`name` as `product.tax.name`, `product.tax`.`position` as `product.tax.position`, `product.tax`.`custom_fields` as `product.tax.customFields`, `product.tax`.`created_at` as `product.tax.createdAt`, `product.tax`.`updated_at` as `product.tax.updatedAt`, `product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`, COALESCE(`product`.`cheapest_price`, `product.parent`.`cheapest_price`) as `product.cheapestPrice`, `product`.`created_at` as `product.createdAt`, `product`.`updated_at` as `product.updatedAt`, `product.bundle`.`id` as `product.bundle.id`, `product.bundle`.`product_id` as `product.bundle.productId`, `product.bundle`.`product_version_id` as `product.bundle.productVersionId`, `product.bundle`.`name` as `product.bundle.name`, `product.bundle`.`price_type` as `product.bundle.priceType`, `product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`, `product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`, `product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`, `product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`, `product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`, `product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`, `product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`, `product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`, `product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`, `product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`, `product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`, `product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`, `product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`, `product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`, `product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`, `product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`, `product.bundle`.`created_at` as `product.bundle.createdAt`, `product.bundle`.`updated_at` as `product.bundle.updatedAt`, `product.cover`.`id` as `product.cover.id`, `product.cover`.`version_id` as `product.cover.versionId`, `product.cover`.`product_id` as `product.cover.productId`, `product.cover`.`product_version_id` as `product.cover.productVersionId`, `product.cover`.`media_id` as `product.cover.mediaId`, `product.cover`.`position` as `product.cover.position`, `product.cover.media`.`id` as `product.cover.media.id`, `product.cover.media`.`user_id` as `product.cover.media.userId`, `product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`, `product.cover.media`.`mime_type` as `product.cover.media.mimeType`, `product.cover.media`.`file_extension` as `product.cover.media.fileExtension`, `product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`, `product.cover.media`.`file_name` as `product.cover.media.fileName`, `product.cover.media`.`file_size` as `product.cover.media.fileSize`, `product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`, `product.cover.media`.`meta_data` as `product.cover.media.metaData`, `product.cover.media`.`private` as `product.cover.media.private`, `product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`, `product.cover.media`.`created_at` as `product.cover.media.createdAt`, `product.cover.media`.`updated_at` as `product.cover.media.updatedAt`, `product.cover.media.translation.title`, COALESCE(`product.cover.media.translation.title`,`product.cover.media.translation.title`) as `product.cover.media.title`, `product.cover.media.translation.alt`, COALESCE(`product.cover.media.translation.alt`,`product.cover.media.translation.alt`) as `product.cover.media.alt`, `product.cover.media.translation.customFields`, COALESCE(`product.cover.media.translation.customFields`,`product.cover.media.translation.customFields`) as `product.cover.media.customFields`, `product.cover.media.translation.createdAt`, `product.cover.media.translation.updatedAt`, `product.cover.media.translation.mediaId`, `product.cover.media.translation.languageId`, `product.cover`.`custom_fields` as `product.cover.customFields`, `product.cover`.`created_at` as `product.cover.createdAt`, `product.cover`.`updated_at` as `product.cover.updatedAt`, `product.translation.metaDescription`, `product.parent.translation.metaDescription`, COALESCE(`product.translation.metaDescription`,`product.parent.translation.metaDescription`,`product.translation.metaDescription`) as `product.metaDescription`, `product.translation.name`, `product.parent.translation.name`, COALESCE(`product.translation.name`,`product.parent.translation.name`,`product.translation.name`) as `product.name`, `product.translation.keywords`, `product.parent.translation.keywords`, COALESCE(`product.translation.keywords`,`product.parent.translation.keywords`,`product.translation.keywords`) as `product.keywords`, `product.translation.description`, `product.parent.translation.description`, COALESCE(`product.translation.description`,`product.parent.translation.description`,`product.translation.description`) as `product.description`, `product.translation.metaTitle`, `product.parent.translation.metaTitle`, COALESCE(`product.translation.metaTitle`,`product.parent.translation.metaTitle`,`product.translation.metaTitle`) as `product.metaTitle`, `product.translation.packUnit`, `product.parent.translation.packUnit`, COALESCE(`product.translation.packUnit`,`product.parent.translation.packUnit`,`product.translation.packUnit`) as `product.packUnit`, `product.translation.packUnitPlural`, `product.parent.translation.packUnitPlural`, COALESCE(`product.translation.packUnitPlural`,`product.parent.translation.packUnitPlural`,`product.translation.packUnitPlural`) as `product.packUnitPlural`, `product.translation.customSearchKeywords`, `product.parent.translation.customSearchKeywords`, COALESCE(`product.translation.customSearchKeywords`,`product.parent.translation.customSearchKeywords`,`product.translation.customSearchKeywords`) as `product.customSearchKeywords`, `product.translation.slotConfig`, `product.parent.translation.slotConfig`, COALESCE(`product.translation.slotConfig`,`product.parent.translation.slotConfig`,`product.translation.slotConfig`) as `product.slotConfig`, `product.translation.customFields`, `product.parent.translation.customFields`, COALESCE(`product.translation.customFields`,`product.parent.translation.customFields`,`product.translation.customFields`) as `product.customFields`, `product.translation.createdAt`, `product.parent.translation.createdAt`, `product.translation.updatedAt`, `product.parent.translation.updatedAt`, `product.translation.productId`, `product.parent.translation.productId`, `product.translation.languageId`, `product.parent.translation.languageId`, `product.translation.productVersionId`, `product.parent.translation.productVersionId` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN (SELECT `product.translation`.product_id, `product.translation`.product_version_id, `product.translation`.meta_description as `product.translation.metaDescription`, `product.translation`.name as `product.translation.name`, `product.translation`.keywords as `product.translation.keywords`, `product.translation`.description as `product.translation.description`, `product.translation`.meta_title as `product.translation.metaTitle`, `product.translation`.pack_unit as `product.translation.packUnit`, `product.translation`.pack_unit_plural as `product.translation.packUnitPlural`, `product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`, `product.translation`.slot_config as `product.translation.slotConfig`, `product.translation`.custom_fields as `product.translation.customFields`, `product.translation`.created_at as `product.translation.createdAt`, `product.translation`.updated_at as `product.translation.updatedAt`, `product.translation`.product_id as `product.translation.productId`, `product.translation`.language_id as `product.translation.languageId`, `product.translation`.product_version_id as `product.translation.productVersionId` FROM `product_translation` `product.translation` WHERE `product.translation`.language_id = :languageId) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id` AND `product.product_translation`.product_version_id = `product`.version_id LEFT JOIN (SELECT `product.parent.translation`.product_id, `product.parent.translation`.product_version_id, `product.parent.translation`.meta_description as `product.parent.translation.metaDescription`, `product.parent.translation`.name as `product.parent.translation.name`, `product.parent.translation`.keywords as `product.parent.translation.keywords`, `product.parent.translation`.description as `product.parent.translation.description`, `product.parent.translation`.meta_title as `product.parent.translation.metaTitle`, `product.parent.translation`.pack_unit as `product.parent.translation.packUnit`, `product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`, `product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`, `product.parent.translation`.slot_config as `product.parent.translation.slotConfig`, `product.parent.translation`.custom_fields as `product.parent.translation.customFields`, `product.parent.translation`.created_at as `product.parent.translation.createdAt`, `product.parent.translation`.updated_at as `product.parent.translation.updatedAt`, `product.parent.translation`.product_id as `product.parent.translation.productId`, `product.parent.translation`.language_id as `product.parent.translation.languageId`, `product.parent.translation`.product_version_id as `product.parent.translation.productVersionId` FROM `product_translation` `product.parent.translation` WHERE `product.parent.translation`.language_id = :languageId) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id` AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id` LEFT JOIN `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_id` LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id` AND `product`.`version_id` = `product.cover`.`version_id` LEFT JOIN `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`id` LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id` LEFT JOIN (SELECT `product.cover.media.translation`.media_id, `product.cover.media.translation`.title as `product.cover.media.translation.title`, `product.cover.media.translation`.alt as `product.cover.media.translation.alt`, `product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`, `product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`, `product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`, `product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`, `product.cover.media.translation`.language_id as `product.cover.media.translation.languageId` FROM `media_translation` `product.cover.media.translation` WHERE `product.cover.media.translation`.language_id = :languageId) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id` WHERE (`product`.`version_id` = :version) AND (`product`.`id` IN (:ids))
SELECT
`product`.`id` as `product.id`,
`product`.`version_id` as `product.versionId`,
`product`.`parent_id` as `product.parentId`,
`product`.`parent_version_id` as `product.parentVersionId`,
COALESCE(
`product`.`product_manufacturer_id`,
`product.parent`.`product_manufacturer_id`
) as `product.manufacturerId`,
COALESCE(
`product`.`product_manufacturer_version_id`,
`product.parent`.`product_manufacturer_version_id`
) as `product.productManufacturerVersionId`,
COALESCE(
`product`.`unit_id`, `product.parent`.`unit_id`
) as `product.unitId`,
COALESCE(
`product`.`tax_id`, `product.parent`.`tax_id`
) as `product.taxId`,
COALESCE(
`product`.`product_media_id`, `product.parent`.`product_media_id`
) as `product.coverId`,
COALESCE(
`product`.`product_media_version_id`,
`product.parent`.`product_media_version_id`
) as `product.productMediaVersionId`,
COALESCE(
`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`
) as `product.deliveryTimeId`,
COALESCE(
`product`.`product_feature_set_id`,
`product.parent`.`product_feature_set_id`
) as `product.featureSetId`,
COALESCE(
`product`.`canonical_product_id`,
`product.parent`.`canonical_product_id`
) as `product.canonicalProductId`,
COALESCE(
`product`.`cms_page_id`, `product.parent`.`cms_page_id`
) as `product.cmsPageId`,
COALESCE(
`product`.`cms_page_version_id`,
`product.parent`.`cms_page_version_id`
) as `product.cmsPageVersionId`,
`product.parent`.`price` as `product.price.inherited`,
COALESCE(
`product`.`price`, `product.parent`.`price`
) as `product.price`,
`product`.`product_number` as `product.productNumber`,
`product`.`stock` as `product.stock`,
COALESCE(
`product`.`restock_time`, `product.parent`.`restock_time`
) as `product.restockTime`,
`product`.`auto_increment` as `product.autoIncrement`,
COALESCE(
`product`.`active`, `product.parent`.`active`
) as `product.active`,
`product`.`available_stock` as `product.availableStock`,
`product`.`available` as `product.available`,
COALESCE(
`product`.`is_closeout`, `product.parent`.`is_closeout`
) as `product.isCloseout`,
`product`.`display_group` as `product.displayGroup`,
`product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`,
COALESCE(
`product`.`configurator_group_config`,
`product.parent`.`configurator_group_config`
) as `product.configuratorGroupConfig`,
COALESCE(
`product`.`main_variant_id`, `product.parent`.`main_variant_id`
) as `product.mainVariantId`,
COALESCE(
`product`.`display_parent`, `product.parent`.`display_parent`
) as `product.displayParent`,
`product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`,
COALESCE(
`product`.`variant_listing_config`,
`product.parent`.`variant_listing_config`
) as `product.variantListingConfig`,
`product`.`variant_restrictions` as `product.variantRestrictions`,
COALESCE(
`product`.`manufacturer_number`,
`product.parent`.`manufacturer_number`
) as `product.manufacturerNumber`,
COALESCE(
`product`.`ean`, `product.parent`.`ean`
) as `product.ean`,
COALESCE(
`product`.`purchase_steps`, `product.parent`.`purchase_steps`
) as `product.purchaseSteps`,
COALESCE(
`product`.`max_purchase`, `product.parent`.`max_purchase`
) as `product.maxPurchase`,
COALESCE(
`product`.`min_purchase`, `product.parent`.`min_purchase`
) as `product.minPurchase`,
COALESCE(
`product`.`purchase_unit`, `product.parent`.`purchase_unit`
) as `product.purchaseUnit`,
COALESCE(
`product`.`reference_unit`, `product.parent`.`reference_unit`
) as `product.referenceUnit`,
COALESCE(
`product`.`shipping_free`, `product.parent`.`shipping_free`
) as `product.shippingFree`,
`product.parent`.`purchase_prices` as `product.purchasePrices.inherited`,
COALESCE(
`product`.`purchase_prices`, `product.parent`.`purchase_prices`
) as `product.purchasePrices`,
COALESCE(
`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`
) as `product.markAsTopseller`,
COALESCE(
`product`.`weight`, `product.parent`.`weight`
) as `product.weight`,
COALESCE(
`product`.`width`, `product.parent`.`width`
) as `product.width`,
COALESCE(
`product`.`height`, `product.parent`.`height`
) as `product.height`,
COALESCE(
`product`.`length`, `product.parent`.`length`
) as `product.length`,
COALESCE(
`product`.`release_date`, `product.parent`.`release_date`
) as `product.releaseDate`,
COALESCE(
`product`.`rating_average`, `product.parent`.`rating_average`
) as `product.ratingAverage`,
`product.parent`.`category_tree` as `product.categoryTree.inherited`,
COALESCE(
`product`.`category_tree`, `product.parent`.`category_tree`
) as `product.categoryTree`,
`product.parent`.`property_ids` as `product.propertyIds.inherited`,
COALESCE(
`product`.`property_ids`, `product.parent`.`property_ids`
) as `product.propertyIds`,
`product.parent`.`option_ids` as `product.optionIds.inherited`,
COALESCE(
`product`.`option_ids`, `product.parent`.`option_ids`
) as `product.optionIds`,
`product.parent`.`stream_ids` as `product.streamIds.inherited`,
COALESCE(
`product`.`stream_ids`, `product.parent`.`stream_ids`
) as `product.streamIds`,
`product.parent`.`tag_ids` as `product.tagIds.inherited`,
COALESCE(
`product`.`tag_ids`, `product.parent`.`tag_ids`
) as `product.tagIds`,
`product.parent`.`category_ids` as `product.categoryIds.inherited`,
COALESCE(
`product`.`category_ids`, `product.parent`.`category_ids`
) as `product.categoryIds`,
`product`.`child_count` as `product.childCount`,
COALESCE(
`product`.`custom_field_set_selection_active`,
`product.parent`.`custom_field_set_selection_active`
) as `product.customFieldSetSelectionActive`,
`product`.`sales` as `product.sales`,
`product`.`states` as `product.states`,
`product.tax`.`id` as `product.tax.id`,
`product.tax`.`tax_rate` as `product.tax.taxRate`,
`product.tax`.`name` as `product.tax.name`,
`product.tax`.`position` as `product.tax.position`,
`product.tax`.`custom_fields` as `product.tax.customFields`,
`product.tax`.`created_at` as `product.tax.createdAt`,
`product.tax`.`updated_at` as `product.tax.updatedAt`,
`product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`,
COALESCE(
`product`.`cheapest_price`, `product.parent`.`cheapest_price`
) as `product.cheapestPrice`,
`product`.`created_at` as `product.createdAt`,
`product`.`updated_at` as `product.updatedAt`,
`product.bundle`.`id` as `product.bundle.id`,
`product.bundle`.`product_id` as `product.bundle.productId`,
`product.bundle`.`product_version_id` as `product.bundle.productVersionId`,
`product.bundle`.`name` as `product.bundle.name`,
`product.bundle`.`price_type` as `product.bundle.priceType`,
`product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`,
`product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`,
`product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`,
`product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`,
`product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`,
`product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`,
`product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`,
`product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`,
`product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`,
`product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`,
`product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`,
`product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`,
`product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`,
`product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`,
`product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`,
`product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`,
`product.bundle`.`created_at` as `product.bundle.createdAt`,
`product.bundle`.`updated_at` as `product.bundle.updatedAt`,
`product.cover`.`id` as `product.cover.id`,
`product.cover`.`version_id` as `product.cover.versionId`,
`product.cover`.`product_id` as `product.cover.productId`,
`product.cover`.`product_version_id` as `product.cover.productVersionId`,
`product.cover`.`media_id` as `product.cover.mediaId`,
`product.cover`.`position` as `product.cover.position`,
`product.cover.media`.`id` as `product.cover.media.id`,
`product.cover.media`.`user_id` as `product.cover.media.userId`,
`product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`,
`product.cover.media`.`mime_type` as `product.cover.media.mimeType`,
`product.cover.media`.`file_extension` as `product.cover.media.fileExtension`,
`product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`,
`product.cover.media`.`file_name` as `product.cover.media.fileName`,
`product.cover.media`.`file_size` as `product.cover.media.fileSize`,
`product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`,
`product.cover.media`.`meta_data` as `product.cover.media.metaData`,
`product.cover.media`.`private` as `product.cover.media.private`,
`product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`,
`product.cover.media`.`created_at` as `product.cover.media.createdAt`,
`product.cover.media`.`updated_at` as `product.cover.media.updatedAt`,
`product.cover.media.translation.title`,
COALESCE(
`product.cover.media.translation.title`,
`product.cover.media.translation.title`
) as `product.cover.media.title`,
`product.cover.media.translation.alt`,
COALESCE(
`product.cover.media.translation.alt`,
`product.cover.media.translation.alt`
) as `product.cover.media.alt`,
`product.cover.media.translation.customFields`,
COALESCE(
`product.cover.media.translation.customFields`,
`product.cover.media.translation.customFields`
) as `product.cover.media.customFields`,
`product.cover.media.translation.createdAt`,
`product.cover.media.translation.updatedAt`,
`product.cover.media.translation.mediaId`,
`product.cover.media.translation.languageId`,
`product.cover`.`custom_fields` as `product.cover.customFields`,
`product.cover`.`created_at` as `product.cover.createdAt`,
`product.cover`.`updated_at` as `product.cover.updatedAt`,
`product.translation.metaDescription`,
`product.parent.translation.metaDescription`,
COALESCE(
`product.translation.metaDescription`,
`product.parent.translation.metaDescription`,
`product.translation.metaDescription`
) as `product.metaDescription`,
`product.translation.name`,
`product.parent.translation.name`,
COALESCE(
`product.translation.name`, `product.parent.translation.name`,
`product.translation.name`
) as `product.name`,
`product.translation.keywords`,
`product.parent.translation.keywords`,
COALESCE(
`product.translation.keywords`,
`product.parent.translation.keywords`,
`product.translation.keywords`
) as `product.keywords`,
`product.translation.description`,
`product.parent.translation.description`,
COALESCE(
`product.translation.description`,
`product.parent.translation.description`,
`product.translation.description`
) as `product.description`,
`product.translation.metaTitle`,
`product.parent.translation.metaTitle`,
COALESCE(
`product.translation.metaTitle`,
`product.parent.translation.metaTitle`,
`product.translation.metaTitle`
) as `product.metaTitle`,
`product.translation.packUnit`,
`product.parent.translation.packUnit`,
COALESCE(
`product.translation.packUnit`,
`product.parent.translation.packUnit`,
`product.translation.packUnit`
) as `product.packUnit`,
`product.translation.packUnitPlural`,
`product.parent.translation.packUnitPlural`,
COALESCE(
`product.translation.packUnitPlural`,
`product.parent.translation.packUnitPlural`,
`product.translation.packUnitPlural`
) as `product.packUnitPlural`,
`product.translation.customSearchKeywords`,
`product.parent.translation.customSearchKeywords`,
COALESCE(
`product.translation.customSearchKeywords`,
`product.parent.translation.customSearchKeywords`,
`product.translation.customSearchKeywords`
) as `product.customSearchKeywords`,
`product.translation.slotConfig`,
`product.parent.translation.slotConfig`,
COALESCE(
`product.translation.slotConfig`,
`product.parent.translation.slotConfig`,
`product.translation.slotConfig`
) as `product.slotConfig`,
`product.translation.customFields`,
`product.parent.translation.customFields`,
COALESCE(
`product.translation.customFields`,
`product.parent.translation.customFields`,
`product.translation.customFields`
) as `product.customFields`,
`product.translation.createdAt`,
`product.parent.translation.createdAt`,
`product.translation.updatedAt`,
`product.parent.translation.updatedAt`,
`product.translation.productId`,
`product.parent.translation.productId`,
`product.translation.languageId`,
`product.parent.translation.languageId`,
`product.translation.productVersionId`,
`product.parent.translation.productVersionId`
FROM
`product`
LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id`
AND `product`.`version_id` = `product.parent`.`version_id`
LEFT JOIN (
SELECT
`product.translation`.product_id,
`product.translation`.product_version_id,
`product.translation`.meta_description as `product.translation.metaDescription`,
`product.translation`.name as `product.translation.name`,
`product.translation`.keywords as `product.translation.keywords`,
`product.translation`.description as `product.translation.description`,
`product.translation`.meta_title as `product.translation.metaTitle`,
`product.translation`.pack_unit as `product.translation.packUnit`,
`product.translation`.pack_unit_plural as `product.translation.packUnitPlural`,
`product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`,
`product.translation`.slot_config as `product.translation.slotConfig`,
`product.translation`.custom_fields as `product.translation.customFields`,
`product.translation`.created_at as `product.translation.createdAt`,
`product.translation`.updated_at as `product.translation.updatedAt`,
`product.translation`.product_id as `product.translation.productId`,
`product.translation`.language_id as `product.translation.languageId`,
`product.translation`.product_version_id as `product.translation.productVersionId`
FROM
`product_translation` `product.translation`
WHERE
`product.translation`.language_id = : languageId
) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id`
AND `product.product_translation`.product_version_id = `product`.version_id
LEFT JOIN (
SELECT
`product.parent.translation`.product_id,
`product.parent.translation`.product_version_id,
`product.parent.translation`.meta_description as `product.parent.translation.metaDescription`,
`product.parent.translation`.name as `product.parent.translation.name`,
`product.parent.translation`.keywords as `product.parent.translation.keywords`,
`product.parent.translation`.description as `product.parent.translation.description`,
`product.parent.translation`.meta_title as `product.parent.translation.metaTitle`,
`product.parent.translation`.pack_unit as `product.parent.translation.packUnit`,
`product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`,
`product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`,
`product.parent.translation`.slot_config as `product.parent.translation.slotConfig`,
`product.parent.translation`.custom_fields as `product.parent.translation.customFields`,
`product.parent.translation`.created_at as `product.parent.translation.createdAt`,
`product.parent.translation`.updated_at as `product.parent.translation.updatedAt`,
`product.parent.translation`.product_id as `product.parent.translation.productId`,
`product.parent.translation`.language_id as `product.parent.translation.languageId`,
`product.parent.translation`.product_version_id as `product.parent.translation.productVersionId`
FROM
`product_translation` `product.parent.translation`
WHERE
`product.parent.translation`.language_id = : languageId
) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id`
AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id
LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id`
LEFT JOIN `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_id`
LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id`
AND `product`.`version_id` = `product.cover`.`version_id`
LEFT JOIN `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id`
LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id`
LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`id`
LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id`
LEFT JOIN (
SELECT
`product.cover.media.translation`.media_id,
`product.cover.media.translation`.title as `product.cover.media.translation.title`,
`product.cover.media.translation`.alt as `product.cover.media.translation.alt`,
`product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`,
`product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`,
`product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`,
`product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`,
`product.cover.media.translation`.language_id as `product.cover.media.translation.languageId`
FROM
`media_translation` `product.cover.media.translation`
WHERE
`product.cover.media.translation`.language_id = : languageId
) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id`
WHERE
(
`product`.`version_id` = : version
)
AND (
`product`.`id` IN (: ids)
)
SELECT `product`.`id` as `product.id`, `product`.`version_id` as `product.versionId`, `product`.`parent_id` as `product.parentId`, `product`.`parent_version_id` as `product.parentVersionId`, COALESCE(`product`.`product_manufacturer_id`, `product.parent`.`product_manufacturer_id`) as `product.manufacturerId`, COALESCE(`product`.`product_manufacturer_version_id`, `product.parent`.`product_manufacturer_version_id`) as `product.productManufacturerVersionId`, COALESCE(`product`.`unit_id`, `product.parent`.`unit_id`) as `product.unitId`, COALESCE(`product`.`tax_id`, `product.parent`.`tax_id`) as `product.taxId`, COALESCE(`product`.`product_media_id`, `product.parent`.`product_media_id`) as `product.coverId`, COALESCE(`product`.`product_media_version_id`, `product.parent`.`product_media_version_id`) as `product.productMediaVersionId`, COALESCE(`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`) as `product.deliveryTimeId`, COALESCE(`product`.`product_feature_set_id`, `product.parent`.`product_feature_set_id`) as `product.featureSetId`, COALESCE(`product`.`canonical_product_id`, `product.parent`.`canonical_product_id`) as `product.canonicalProductId`, COALESCE(`product`.`cms_page_id`, `product.parent`.`cms_page_id`) as `product.cmsPageId`, COALESCE(`product`.`cms_page_version_id`, `product.parent`.`cms_page_version_id`) as `product.cmsPageVersionId`, `product.parent`.`price` as `product.price.inherited`, COALESCE(`product`.`price`, `product.parent`.`price`) as `product.price`, `product`.`product_number` as `product.productNumber`, `product`.`stock` as `product.stock`, COALESCE(`product`.`restock_time`, `product.parent`.`restock_time`) as `product.restockTime`, `product`.`auto_increment` as `product.autoIncrement`, COALESCE(`product`.`active`, `product.parent`.`active`) as `product.active`, `product`.`available_stock` as `product.availableStock`, `product`.`available` as `product.available`, COALESCE(`product`.`is_closeout`, `product.parent`.`is_closeout`) as `product.isCloseout`, `product`.`display_group` as `product.displayGroup`, `product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`, COALESCE(`product`.`configurator_group_config`, `product.parent`.`configurator_group_config`) as `product.configuratorGroupConfig`, COALESCE(`product`.`main_variant_id`, `product.parent`.`main_variant_id`) as `product.mainVariantId`, COALESCE(`product`.`display_parent`, `product.parent`.`display_parent`) as `product.displayParent`, `product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`, COALESCE(`product`.`variant_listing_config`, `product.parent`.`variant_listing_config`) as `product.variantListingConfig`, `product`.`variant_restrictions` as `product.variantRestrictions`, COALESCE(`product`.`manufacturer_number`, `product.parent`.`manufacturer_number`) as `product.manufacturerNumber`, COALESCE(`product`.`ean`, `product.parent`.`ean`) as `product.ean`, COALESCE(`product`.`purchase_steps`, `product.parent`.`purchase_steps`) as `product.purchaseSteps`, COALESCE(`product`.`max_purchase`, `product.parent`.`max_purchase`) as `product.maxPurchase`, COALESCE(`product`.`min_purchase`, `product.parent`.`min_purchase`) as `product.minPurchase`, COALESCE(`product`.`purchase_unit`, `product.parent`.`purchase_unit`) as `product.purchaseUnit`, COALESCE(`product`.`reference_unit`, `product.parent`.`reference_unit`) as `product.referenceUnit`, COALESCE(`product`.`shipping_free`, `product.parent`.`shipping_free`) as `product.shippingFree`, `product.parent`.`purchase_prices` as `product.purchasePrices.inherited`, COALESCE(`product`.`purchase_prices`, `product.parent`.`purchase_prices`) as `product.purchasePrices`, COALESCE(`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`) as `product.markAsTopseller`, COALESCE(`product`.`weight`, `product.parent`.`weight`) as `product.weight`, COALESCE(`product`.`width`, `product.parent`.`width`) as `product.width`, COALESCE(`product`.`height`, `product.parent`.`height`) as `product.height`, COALESCE(`product`.`length`, `product.parent`.`length`) as `product.length`, COALESCE(`product`.`release_date`, `product.parent`.`release_date`) as `product.releaseDate`, COALESCE(`product`.`rating_average`, `product.parent`.`rating_average`) as `product.ratingAverage`, `product.parent`.`category_tree` as `product.categoryTree.inherited`, COALESCE(`product`.`category_tree`, `product.parent`.`category_tree`) as `product.categoryTree`, `product.parent`.`property_ids` as `product.propertyIds.inherited`, COALESCE(`product`.`property_ids`, `product.parent`.`property_ids`) as `product.propertyIds`, `product.parent`.`option_ids` as `product.optionIds.inherited`, COALESCE(`product`.`option_ids`, `product.parent`.`option_ids`) as `product.optionIds`, `product.parent`.`stream_ids` as `product.streamIds.inherited`, COALESCE(`product`.`stream_ids`, `product.parent`.`stream_ids`) as `product.streamIds`, `product.parent`.`tag_ids` as `product.tagIds.inherited`, COALESCE(`product`.`tag_ids`, `product.parent`.`tag_ids`) as `product.tagIds`, `product.parent`.`category_ids` as `product.categoryIds.inherited`, COALESCE(`product`.`category_ids`, `product.parent`.`category_ids`) as `product.categoryIds`, `product`.`child_count` as `product.childCount`, COALESCE(`product`.`custom_field_set_selection_active`, `product.parent`.`custom_field_set_selection_active`) as `product.customFieldSetSelectionActive`, `product`.`sales` as `product.sales`, `product`.`states` as `product.states`, `product.tax`.`id` as `product.tax.id`, `product.tax`.`tax_rate` as `product.tax.taxRate`, `product.tax`.`name` as `product.tax.name`, `product.tax`.`position` as `product.tax.position`, `product.tax`.`custom_fields` as `product.tax.customFields`, `product.tax`.`created_at` as `product.tax.createdAt`, `product.tax`.`updated_at` as `product.tax.updatedAt`, `product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`, COALESCE(`product`.`cheapest_price`, `product.parent`.`cheapest_price`) as `product.cheapestPrice`, `product`.`created_at` as `product.createdAt`, `product`.`updated_at` as `product.updatedAt`, `product.bundle`.`id` as `product.bundle.id`, `product.bundle`.`product_id` as `product.bundle.productId`, `product.bundle`.`product_version_id` as `product.bundle.productVersionId`, `product.bundle`.`name` as `product.bundle.name`, `product.bundle`.`price_type` as `product.bundle.priceType`, `product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`, `product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`, `product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`, `product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`, `product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`, `product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`, `product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`, `product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`, `product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`, `product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`, `product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`, `product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`, `product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`, `product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`, `product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`, `product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`, `product.bundle`.`created_at` as `product.bundle.createdAt`, `product.bundle`.`updated_at` as `product.bundle.updatedAt`, `product.cover`.`id` as `product.cover.id`, `product.cover`.`version_id` as `product.cover.versionId`, `product.cover`.`product_id` as `product.cover.productId`, `product.cover`.`product_version_id` as `product.cover.productVersionId`, `product.cover`.`media_id` as `product.cover.mediaId`, `product.cover`.`position` as `product.cover.position`, `product.cover.media`.`id` as `product.cover.media.id`, `product.cover.media`.`user_id` as `product.cover.media.userId`, `product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`, `product.cover.media`.`mime_type` as `product.cover.media.mimeType`, `product.cover.media`.`file_extension` as `product.cover.media.fileExtension`, `product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`, `product.cover.media`.`file_name` as `product.cover.media.fileName`, `product.cover.media`.`file_size` as `product.cover.media.fileSize`, `product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`, `product.cover.media`.`meta_data` as `product.cover.media.metaData`, `product.cover.media`.`private` as `product.cover.media.private`, `product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`, `product.cover.media`.`created_at` as `product.cover.media.createdAt`, `product.cover.media`.`updated_at` as `product.cover.media.updatedAt`, `product.cover.media.translation.title`, COALESCE(`product.cover.media.translation.title`,`product.cover.media.translation.title`) as `product.cover.media.title`, `product.cover.media.translation.alt`, COALESCE(`product.cover.media.translation.alt`,`product.cover.media.translation.alt`) as `product.cover.media.alt`, `product.cover.media.translation.customFields`, COALESCE(`product.cover.media.translation.customFields`,`product.cover.media.translation.customFields`) as `product.cover.media.customFields`, `product.cover.media.translation.createdAt`, `product.cover.media.translation.updatedAt`, `product.cover.media.translation.mediaId`, `product.cover.media.translation.languageId`, `product.cover`.`custom_fields` as `product.cover.customFields`, `product.cover`.`created_at` as `product.cover.createdAt`, `product.cover`.`updated_at` as `product.cover.updatedAt`, `product.translation.metaDescription`, `product.parent.translation.metaDescription`, COALESCE(`product.translation.metaDescription`,`product.parent.translation.metaDescription`,`product.translation.metaDescription`) as `product.metaDescription`, `product.translation.name`, `product.parent.translation.name`, COALESCE(`product.translation.name`,`product.parent.translation.name`,`product.translation.name`) as `product.name`, `product.translation.keywords`, `product.parent.translation.keywords`, COALESCE(`product.translation.keywords`,`product.parent.translation.keywords`,`product.translation.keywords`) as `product.keywords`, `product.translation.description`, `product.parent.translation.description`, COALESCE(`product.translation.description`,`product.parent.translation.description`,`product.translation.description`) as `product.description`, `product.translation.metaTitle`, `product.parent.translation.metaTitle`, COALESCE(`product.translation.metaTitle`,`product.parent.translation.metaTitle`,`product.translation.metaTitle`) as `product.metaTitle`, `product.translation.packUnit`, `product.parent.translation.packUnit`, COALESCE(`product.translation.packUnit`,`product.parent.translation.packUnit`,`product.translation.packUnit`) as `product.packUnit`, `product.translation.packUnitPlural`, `product.parent.translation.packUnitPlural`, COALESCE(`product.translation.packUnitPlural`,`product.parent.translation.packUnitPlural`,`product.translation.packUnitPlural`) as `product.packUnitPlural`, `product.translation.customSearchKeywords`, `product.parent.translation.customSearchKeywords`, COALESCE(`product.translation.customSearchKeywords`,`product.parent.translation.customSearchKeywords`,`product.translation.customSearchKeywords`) as `product.customSearchKeywords`, `product.translation.slotConfig`, `product.parent.translation.slotConfig`, COALESCE(`product.translation.slotConfig`,`product.parent.translation.slotConfig`,`product.translation.slotConfig`) as `product.slotConfig`, `product.translation.customFields`, `product.parent.translation.customFields`, COALESCE(`product.translation.customFields`,`product.parent.translation.customFields`,`product.translation.customFields`) as `product.customFields`, `product.translation.createdAt`, `product.parent.translation.createdAt`, `product.translation.updatedAt`, `product.parent.translation.updatedAt`, `product.translation.productId`, `product.parent.translation.productId`, `product.translation.languageId`, `product.parent.translation.languageId`, `product.translation.productVersionId`, `product.parent.translation.productVersionId` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN (SELECT `product.translation`.product_id, `product.translation`.product_version_id, `product.translation`.meta_description as `product.translation.metaDescription`, `product.translation`.name as `product.translation.name`, `product.translation`.keywords as `product.translation.keywords`, `product.translation`.description as `product.translation.description`, `product.translation`.meta_title as `product.translation.metaTitle`, `product.translation`.pack_unit as `product.translation.packUnit`, `product.translation`.pack_unit_plural as `product.translation.packUnitPlural`, `product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`, `product.translation`.slot_config as `product.translation.slotConfig`, `product.translation`.custom_fields as `product.translation.customFields`, `product.translation`.created_at as `product.translation.createdAt`, `product.translation`.updated_at as `product.translation.updatedAt`, `product.translation`.product_id as `product.translation.productId`, `product.translation`.language_id as `product.translation.languageId`, `product.translation`.product_version_id as `product.translation.productVersionId` FROM `product_translation` `product.translation` WHERE `product.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id` AND `product.product_translation`.product_version_id = `product`.version_id LEFT JOIN (SELECT `product.parent.translation`.product_id, `product.parent.translation`.product_version_id, `product.parent.translation`.meta_description as `product.parent.translation.metaDescription`, `product.parent.translation`.name as `product.parent.translation.name`, `product.parent.translation`.keywords as `product.parent.translation.keywords`, `product.parent.translation`.description as `product.parent.translation.description`, `product.parent.translation`.meta_title as `product.parent.translation.metaTitle`, `product.parent.translation`.pack_unit as `product.parent.translation.packUnit`, `product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`, `product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`, `product.parent.translation`.slot_config as `product.parent.translation.slotConfig`, `product.parent.translation`.custom_fields as `product.parent.translation.customFields`, `product.parent.translation`.created_at as `product.parent.translation.createdAt`, `product.parent.translation`.updated_at as `product.parent.translation.updatedAt`, `product.parent.translation`.product_id as `product.parent.translation.productId`, `product.parent.translation`.language_id as `product.parent.translation.languageId`, `product.parent.translation`.product_version_id as `product.parent.translation.productVersionId` FROM `product_translation` `product.parent.translation` WHERE `product.parent.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id` AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id` LEFT JOIN `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_id` LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id` AND `product`.`version_id` = `product.cover`.`version_id` LEFT JOIN `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`id` LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id` LEFT JOIN (SELECT `product.cover.media.translation`.media_id, `product.cover.media.translation`.title as `product.cover.media.translation.title`, `product.cover.media.translation`.alt as `product.cover.media.translation.alt`, `product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`, `product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`, `product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`, `product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`, `product.cover.media.translation`.language_id as `product.cover.media.translation.languageId` FROM `media_translation` `product.cover.media.translation` WHERE `product.cover.media.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id` WHERE (`product`.`version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425) AND (`product`.`id` IN (0x03F4EF144EC44C3E822790C652F7C3F6));
array:51 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 316)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetch (line 148)"
4 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 93)"
5 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::read (line 257)"
6 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::read (line 286)"
7 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::_search (line 106)"
8 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::search (line 51)"
9 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepositoryForwardCompatibilityDecorator::search (line 103)"
10 => "Bodymed\Webshop\StoreFront\Subscriber\ProductExtensionSubscriber::addParentCover (line 230)"
11 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
12 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
13 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
14 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
15 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
16 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 33)"
17 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
18 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 208)"
19 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::read (line 133)"
20 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 49)"
21 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariantsOfProduct (line 30)"
22 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariants (line 224)"
23 => "Bodymed\Webshop\Core\Content\Product\Cms\ProductSliderCmsElementResolver::enrich (line 99)"
24 => "Shopware\Core\Content\Cms\DataResolver\CmsSlotsDataResolver::resolve (line 104)"
25 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::loadSlotData (line 94)"
26 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::load (line 102)"
27 => "Shopware\Core\Content\Category\SalesChannel\CategoryRoute::load (line 103)"
28 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 350)"
29 => "Shopware\Core\System\SystemConfig\SystemConfigService::trace (line 44)"
30 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 120)"
31 => "Shopware\Core\Framework\Adapter\Translation\Translator::trace (line 45)"
32 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 46)"
33 => "Shopware\Core\Framework\Adapter\Cache\CacheTagCollection::trace (line 46)"
34 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::trace (line 41)"
35 => "Shopware\Storefront\Framework\Cache\CacheTracer::Shopware\Storefront\Framework\Cache\{closure} (line 59)"
36 => "Shopware\Storefront\Theme\ThemeConfigValueAccessor::trace (line 42)"
37 => "Shopware\Storefront\Framework\Cache\CacheTracer::trace (line 104)"
38 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 72)"
39 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
40 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 109)"
41 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 59)"
42 => "Shopware\Core\Profiling\Profiler::trace (line 112)"
43 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::load (line 66)"
44 => "Shopware\Storefront\Page\Navigation\NavigationPageLoader::load (line 48)"
45 => "Shopware\Storefront\Controller\NavigationController::home (line 163)"
46 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
47 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
48 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
49 => "Shopware\Core\HttpKernel::doHandle (line 81)"
50 => "Shopware\Core\HttpKernel::handle (line 75)"
]
|
73 |
0.94 ms |
SELECT * FROM sales_channel_api_context WHERE (sales_channel_id = :salesChannelId) AND (token = :token) LIMIT 1
SELECT * FROM sales_channel_api_context WHERE (sales_channel_id = 0x620A2217F7474E619CB00AD39E804CCA) AND (token = 'FwsxT47353Zxmr7lp0KSfYcVNkg5VpYR') LIMIT 1;
array:58 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 165)"
3 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextPersister::load (line 69)"
4 => "Bodymed\Webshop\Core\Subscriber\ProductSubscriber::addCustomerProductFeatureExtension (line 230)"
5 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
6 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
7 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
8 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
9 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
10 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 33)"
11 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
12 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 269)"
13 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::read (line 286)"
14 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::_search (line 106)"
15 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::search (line 51)"
16 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepositoryForwardCompatibilityDecorator::search (line 103)"
17 => "Bodymed\Webshop\StoreFront\Subscriber\ProductExtensionSubscriber::addParentCover (line 230)"
18 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
19 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
20 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
21 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
22 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
23 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 33)"
24 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
25 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 208)"
26 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::read (line 133)"
27 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 49)"
28 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariantsOfProduct (line 30)"
29 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariants (line 224)"
30 => "Bodymed\Webshop\Core\Content\Product\Cms\ProductSliderCmsElementResolver::enrich (line 99)"
31 => "Shopware\Core\Content\Cms\DataResolver\CmsSlotsDataResolver::resolve (line 104)"
32 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::loadSlotData (line 94)"
33 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::load (line 102)"
34 => "Shopware\Core\Content\Category\SalesChannel\CategoryRoute::load (line 103)"
35 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 350)"
36 => "Shopware\Core\System\SystemConfig\SystemConfigService::trace (line 44)"
37 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 120)"
38 => "Shopware\Core\Framework\Adapter\Translation\Translator::trace (line 45)"
39 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 46)"
40 => "Shopware\Core\Framework\Adapter\Cache\CacheTagCollection::trace (line 46)"
41 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::trace (line 41)"
42 => "Shopware\Storefront\Framework\Cache\CacheTracer::Shopware\Storefront\Framework\Cache\{closure} (line 59)"
43 => "Shopware\Storefront\Theme\ThemeConfigValueAccessor::trace (line 42)"
44 => "Shopware\Storefront\Framework\Cache\CacheTracer::trace (line 104)"
45 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 72)"
46 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
47 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 109)"
48 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 59)"
49 => "Shopware\Core\Profiling\Profiler::trace (line 112)"
50 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::load (line 66)"
51 => "Shopware\Storefront\Page\Navigation\NavigationPageLoader::load (line 48)"
52 => "Shopware\Storefront\Controller\NavigationController::home (line 163)"
53 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
54 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
55 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
56 => "Shopware\Core\HttpKernel::doHandle (line 81)"
57 => "Shopware\Core\HttpKernel::handle (line 75)"
]
|
74 |
31.29 ms |
SELECT `product`.`id` as `product.id`, `product`.`version_id` as `product.versionId`, `product`.`parent_id` as `product.parentId`, `product`.`parent_version_id` as `product.parentVersionId`, COALESCE(`product`.`product_manufacturer_id`, `product.parent`.`product_manufacturer_id`) as `product.manufacturerId`, COALESCE(`product`.`product_manufacturer_version_id`, `product.parent`.`product_manufacturer_version_id`) as `product.productManufacturerVersionId`, COALESCE(`product`.`unit_id`, `product.parent`.`unit_id`) as `product.unitId`, COALESCE(`product`.`tax_id`, `product.parent`.`tax_id`) as `product.taxId`, COALESCE(`product`.`product_media_id`, `product.parent`.`product_media_id`) as `product.coverId`, COALESCE(`product`.`product_media_version_id`, `product.parent`.`product_media_version_id`) as `product.productMediaVersionId`, COALESCE(`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`) as `product.deliveryTimeId`, COALESCE(`product`.`product_feature_set_id`, `product.parent`.`product_feature_set_id`) as `product.featureSetId`, COALESCE(`product`.`canonical_product_id`, `product.parent`.`canonical_product_id`) as `product.canonicalProductId`, COALESCE(`product`.`cms_page_id`, `product.parent`.`cms_page_id`) as `product.cmsPageId`, COALESCE(`product`.`cms_page_version_id`, `product.parent`.`cms_page_version_id`) as `product.cmsPageVersionId`, `product.parent`.`price` as `product.price.inherited`, COALESCE(`product`.`price`, `product.parent`.`price`) as `product.price`, `product`.`product_number` as `product.productNumber`, `product`.`stock` as `product.stock`, COALESCE(`product`.`restock_time`, `product.parent`.`restock_time`) as `product.restockTime`, `product`.`auto_increment` as `product.autoIncrement`, COALESCE(`product`.`active`, `product.parent`.`active`) as `product.active`, `product`.`available_stock` as `product.availableStock`, `product`.`available` as `product.available`, COALESCE(`product`.`is_closeout`, `product.parent`.`is_closeout`) as `product.isCloseout`, `product`.`display_group` as `product.displayGroup`, `product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`, COALESCE(`product`.`configurator_group_config`, `product.parent`.`configurator_group_config`) as `product.configuratorGroupConfig`, COALESCE(`product`.`main_variant_id`, `product.parent`.`main_variant_id`) as `product.mainVariantId`, COALESCE(`product`.`display_parent`, `product.parent`.`display_parent`) as `product.displayParent`, `product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`, COALESCE(`product`.`variant_listing_config`, `product.parent`.`variant_listing_config`) as `product.variantListingConfig`, `product`.`variant_restrictions` as `product.variantRestrictions`, COALESCE(`product`.`manufacturer_number`, `product.parent`.`manufacturer_number`) as `product.manufacturerNumber`, COALESCE(`product`.`ean`, `product.parent`.`ean`) as `product.ean`, COALESCE(`product`.`purchase_steps`, `product.parent`.`purchase_steps`) as `product.purchaseSteps`, COALESCE(`product`.`max_purchase`, `product.parent`.`max_purchase`) as `product.maxPurchase`, COALESCE(`product`.`min_purchase`, `product.parent`.`min_purchase`) as `product.minPurchase`, COALESCE(`product`.`purchase_unit`, `product.parent`.`purchase_unit`) as `product.purchaseUnit`, COALESCE(`product`.`reference_unit`, `product.parent`.`reference_unit`) as `product.referenceUnit`, COALESCE(`product`.`shipping_free`, `product.parent`.`shipping_free`) as `product.shippingFree`, `product.parent`.`purchase_prices` as `product.purchasePrices.inherited`, COALESCE(`product`.`purchase_prices`, `product.parent`.`purchase_prices`) as `product.purchasePrices`, COALESCE(`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`) as `product.markAsTopseller`, COALESCE(`product`.`weight`, `product.parent`.`weight`) as `product.weight`, COALESCE(`product`.`width`, `product.parent`.`width`) as `product.width`, COALESCE(`product`.`height`, `product.parent`.`height`) as `product.height`, COALESCE(`product`.`length`, `product.parent`.`length`) as `product.length`, COALESCE(`product`.`release_date`, `product.parent`.`release_date`) as `product.releaseDate`, COALESCE(`product`.`rating_average`, `product.parent`.`rating_average`) as `product.ratingAverage`, `product.parent`.`category_tree` as `product.categoryTree.inherited`, COALESCE(`product`.`category_tree`, `product.parent`.`category_tree`) as `product.categoryTree`, `product.parent`.`property_ids` as `product.propertyIds.inherited`, COALESCE(`product`.`property_ids`, `product.parent`.`property_ids`) as `product.propertyIds`, `product.parent`.`option_ids` as `product.optionIds.inherited`, COALESCE(`product`.`option_ids`, `product.parent`.`option_ids`) as `product.optionIds`, `product.parent`.`stream_ids` as `product.streamIds.inherited`, COALESCE(`product`.`stream_ids`, `product.parent`.`stream_ids`) as `product.streamIds`, `product.parent`.`tag_ids` as `product.tagIds.inherited`, COALESCE(`product`.`tag_ids`, `product.parent`.`tag_ids`) as `product.tagIds`, `product.parent`.`category_ids` as `product.categoryIds.inherited`, COALESCE(`product`.`category_ids`, `product.parent`.`category_ids`) as `product.categoryIds`, `product`.`child_count` as `product.childCount`, COALESCE(`product`.`custom_field_set_selection_active`, `product.parent`.`custom_field_set_selection_active`) as `product.customFieldSetSelectionActive`, `product`.`sales` as `product.sales`, `product`.`states` as `product.states`, `product.tax`.`id` as `product.tax.id`, `product.tax`.`tax_rate` as `product.tax.taxRate`, `product.tax`.`name` as `product.tax.name`, `product.tax`.`position` as `product.tax.position`, `product.tax`.`custom_fields` as `product.tax.customFields`, `product.tax`.`created_at` as `product.tax.createdAt`, `product.tax`.`updated_at` as `product.tax.updatedAt`, `product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`, COALESCE(`product`.`cheapest_price`, `product.parent`.`cheapest_price`) as `product.cheapestPrice`, `product`.`created_at` as `product.createdAt`, `product`.`updated_at` as `product.updatedAt`, `product.bundle`.`id` as `product.bundle.id`, `product.bundle`.`product_id` as `product.bundle.productId`, `product.bundle`.`product_version_id` as `product.bundle.productVersionId`, `product.bundle`.`name` as `product.bundle.name`, `product.bundle`.`price_type` as `product.bundle.priceType`, `product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`, `product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`, `product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`, `product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`, `product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`, `product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`, `product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`, `product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`, `product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`, `product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`, `product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`, `product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`, `product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`, `product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`, `product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`, `product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`, `product.bundle`.`created_at` as `product.bundle.createdAt`, `product.bundle`.`updated_at` as `product.bundle.updatedAt`, `product.cover`.`id` as `product.cover.id`, `product.cover`.`version_id` as `product.cover.versionId`, `product.cover`.`product_id` as `product.cover.productId`, `product.cover`.`product_version_id` as `product.cover.productVersionId`, `product.cover`.`media_id` as `product.cover.mediaId`, `product.cover`.`position` as `product.cover.position`, `product.cover.media`.`id` as `product.cover.media.id`, `product.cover.media`.`user_id` as `product.cover.media.userId`, `product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`, `product.cover.media`.`mime_type` as `product.cover.media.mimeType`, `product.cover.media`.`file_extension` as `product.cover.media.fileExtension`, `product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`, `product.cover.media`.`file_name` as `product.cover.media.fileName`, `product.cover.media`.`file_size` as `product.cover.media.fileSize`, `product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`, `product.cover.media`.`meta_data` as `product.cover.media.metaData`, `product.cover.media`.`private` as `product.cover.media.private`, `product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`, `product.cover.media`.`created_at` as `product.cover.media.createdAt`, `product.cover.media`.`updated_at` as `product.cover.media.updatedAt`, `product.cover.media.translation.title`, COALESCE(`product.cover.media.translation.title`,`product.cover.media.translation.title`) as `product.cover.media.title`, `product.cover.media.translation.alt`, COALESCE(`product.cover.media.translation.alt`,`product.cover.media.translation.alt`) as `product.cover.media.alt`, `product.cover.media.translation.customFields`, COALESCE(`product.cover.media.translation.customFields`,`product.cover.media.translation.customFields`) as `product.cover.media.customFields`, `product.cover.media.translation.createdAt`, `product.cover.media.translation.updatedAt`, `product.cover.media.translation.mediaId`, `product.cover.media.translation.languageId`, `product.cover`.`custom_fields` as `product.cover.customFields`, `product.cover`.`created_at` as `product.cover.createdAt`, `product.cover`.`updated_at` as `product.cover.updatedAt`, `product.translation.metaDescription`, `product.parent.translation.metaDescription`, COALESCE(`product.translation.metaDescription`,`product.parent.translation.metaDescription`,`product.translation.metaDescription`) as `product.metaDescription`, `product.translation.name`, `product.parent.translation.name`, COALESCE(`product.translation.name`,`product.parent.translation.name`,`product.translation.name`) as `product.name`, `product.translation.keywords`, `product.parent.translation.keywords`, COALESCE(`product.translation.keywords`,`product.parent.translation.keywords`,`product.translation.keywords`) as `product.keywords`, `product.translation.description`, `product.parent.translation.description`, COALESCE(`product.translation.description`,`product.parent.translation.description`,`product.translation.description`) as `product.description`, `product.translation.metaTitle`, `product.parent.translation.metaTitle`, COALESCE(`product.translation.metaTitle`,`product.parent.translation.metaTitle`,`product.translation.metaTitle`) as `product.metaTitle`, `product.translation.packUnit`, `product.parent.translation.packUnit`, COALESCE(`product.translation.packUnit`,`product.parent.translation.packUnit`,`product.translation.packUnit`) as `product.packUnit`, `product.translation.packUnitPlural`, `product.parent.translation.packUnitPlural`, COALESCE(`product.translation.packUnitPlural`,`product.parent.translation.packUnitPlural`,`product.translation.packUnitPlural`) as `product.packUnitPlural`, `product.translation.customSearchKeywords`, `product.parent.translation.customSearchKeywords`, COALESCE(`product.translation.customSearchKeywords`,`product.parent.translation.customSearchKeywords`,`product.translation.customSearchKeywords`) as `product.customSearchKeywords`, `product.translation.slotConfig`, `product.parent.translation.slotConfig`, COALESCE(`product.translation.slotConfig`,`product.parent.translation.slotConfig`,`product.translation.slotConfig`) as `product.slotConfig`, `product.translation.customFields`, `product.parent.translation.customFields`, COALESCE(`product.translation.customFields`,`product.parent.translation.customFields`,`product.translation.customFields`) as `product.customFields`, `product.translation.createdAt`, `product.parent.translation.createdAt`, `product.translation.updatedAt`, `product.parent.translation.updatedAt`, `product.translation.productId`, `product.parent.translation.productId`, `product.translation.languageId`, `product.parent.translation.languageId`, `product.translation.productVersionId`, `product.parent.translation.productVersionId` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN (SELECT `product.translation`.product_id, `product.translation`.product_version_id, `product.translation`.meta_description as `product.translation.metaDescription`, `product.translation`.name as `product.translation.name`, `product.translation`.keywords as `product.translation.keywords`, `product.translation`.description as `product.translation.description`, `product.translation`.meta_title as `product.translation.metaTitle`, `product.translation`.pack_unit as `product.translation.packUnit`, `product.translation`.pack_unit_plural as `product.translation.packUnitPlural`, `product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`, `product.translation`.slot_config as `product.translation.slotConfig`, `product.translation`.custom_fields as `product.translation.customFields`, `product.translation`.created_at as `product.translation.createdAt`, `product.translation`.updated_at as `product.translation.updatedAt`, `product.translation`.product_id as `product.translation.productId`, `product.translation`.language_id as `product.translation.languageId`, `product.translation`.product_version_id as `product.translation.productVersionId` FROM `product_translation` `product.translation` WHERE `product.translation`.language_id = :languageId) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id` AND `product.product_translation`.product_version_id = `product`.version_id LEFT JOIN (SELECT `product.parent.translation`.product_id, `product.parent.translation`.product_version_id, `product.parent.translation`.meta_description as `product.parent.translation.metaDescription`, `product.parent.translation`.name as `product.parent.translation.name`, `product.parent.translation`.keywords as `product.parent.translation.keywords`, `product.parent.translation`.description as `product.parent.translation.description`, `product.parent.translation`.meta_title as `product.parent.translation.metaTitle`, `product.parent.translation`.pack_unit as `product.parent.translation.packUnit`, `product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`, `product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`, `product.parent.translation`.slot_config as `product.parent.translation.slotConfig`, `product.parent.translation`.custom_fields as `product.parent.translation.customFields`, `product.parent.translation`.created_at as `product.parent.translation.createdAt`, `product.parent.translation`.updated_at as `product.parent.translation.updatedAt`, `product.parent.translation`.product_id as `product.parent.translation.productId`, `product.parent.translation`.language_id as `product.parent.translation.languageId`, `product.parent.translation`.product_version_id as `product.parent.translation.productVersionId` FROM `product_translation` `product.parent.translation` WHERE `product.parent.translation`.language_id = :languageId) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id` AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id` LEFT JOIN `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_id` LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id` AND `product`.`version_id` = `product.cover`.`version_id` LEFT JOIN `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`id` LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id` LEFT JOIN (SELECT `product.cover.media.translation`.media_id, `product.cover.media.translation`.title as `product.cover.media.translation.title`, `product.cover.media.translation`.alt as `product.cover.media.translation.alt`, `product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`, `product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`, `product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`, `product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`, `product.cover.media.translation`.language_id as `product.cover.media.translation.languageId` FROM `media_translation` `product.cover.media.translation` WHERE `product.cover.media.translation`.language_id = :languageId) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id` WHERE (`product`.`version_id` = :version) AND (`product`.`id` IN (:ids))
SELECT
`product`.`id` as `product.id`,
`product`.`version_id` as `product.versionId`,
`product`.`parent_id` as `product.parentId`,
`product`.`parent_version_id` as `product.parentVersionId`,
COALESCE(
`product`.`product_manufacturer_id`,
`product.parent`.`product_manufacturer_id`
) as `product.manufacturerId`,
COALESCE(
`product`.`product_manufacturer_version_id`,
`product.parent`.`product_manufacturer_version_id`
) as `product.productManufacturerVersionId`,
COALESCE(
`product`.`unit_id`, `product.parent`.`unit_id`
) as `product.unitId`,
COALESCE(
`product`.`tax_id`, `product.parent`.`tax_id`
) as `product.taxId`,
COALESCE(
`product`.`product_media_id`, `product.parent`.`product_media_id`
) as `product.coverId`,
COALESCE(
`product`.`product_media_version_id`,
`product.parent`.`product_media_version_id`
) as `product.productMediaVersionId`,
COALESCE(
`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`
) as `product.deliveryTimeId`,
COALESCE(
`product`.`product_feature_set_id`,
`product.parent`.`product_feature_set_id`
) as `product.featureSetId`,
COALESCE(
`product`.`canonical_product_id`,
`product.parent`.`canonical_product_id`
) as `product.canonicalProductId`,
COALESCE(
`product`.`cms_page_id`, `product.parent`.`cms_page_id`
) as `product.cmsPageId`,
COALESCE(
`product`.`cms_page_version_id`,
`product.parent`.`cms_page_version_id`
) as `product.cmsPageVersionId`,
`product.parent`.`price` as `product.price.inherited`,
COALESCE(
`product`.`price`, `product.parent`.`price`
) as `product.price`,
`product`.`product_number` as `product.productNumber`,
`product`.`stock` as `product.stock`,
COALESCE(
`product`.`restock_time`, `product.parent`.`restock_time`
) as `product.restockTime`,
`product`.`auto_increment` as `product.autoIncrement`,
COALESCE(
`product`.`active`, `product.parent`.`active`
) as `product.active`,
`product`.`available_stock` as `product.availableStock`,
`product`.`available` as `product.available`,
COALESCE(
`product`.`is_closeout`, `product.parent`.`is_closeout`
) as `product.isCloseout`,
`product`.`display_group` as `product.displayGroup`,
`product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`,
COALESCE(
`product`.`configurator_group_config`,
`product.parent`.`configurator_group_config`
) as `product.configuratorGroupConfig`,
COALESCE(
`product`.`main_variant_id`, `product.parent`.`main_variant_id`
) as `product.mainVariantId`,
COALESCE(
`product`.`display_parent`, `product.parent`.`display_parent`
) as `product.displayParent`,
`product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`,
COALESCE(
`product`.`variant_listing_config`,
`product.parent`.`variant_listing_config`
) as `product.variantListingConfig`,
`product`.`variant_restrictions` as `product.variantRestrictions`,
COALESCE(
`product`.`manufacturer_number`,
`product.parent`.`manufacturer_number`
) as `product.manufacturerNumber`,
COALESCE(
`product`.`ean`, `product.parent`.`ean`
) as `product.ean`,
COALESCE(
`product`.`purchase_steps`, `product.parent`.`purchase_steps`
) as `product.purchaseSteps`,
COALESCE(
`product`.`max_purchase`, `product.parent`.`max_purchase`
) as `product.maxPurchase`,
COALESCE(
`product`.`min_purchase`, `product.parent`.`min_purchase`
) as `product.minPurchase`,
COALESCE(
`product`.`purchase_unit`, `product.parent`.`purchase_unit`
) as `product.purchaseUnit`,
COALESCE(
`product`.`reference_unit`, `product.parent`.`reference_unit`
) as `product.referenceUnit`,
COALESCE(
`product`.`shipping_free`, `product.parent`.`shipping_free`
) as `product.shippingFree`,
`product.parent`.`purchase_prices` as `product.purchasePrices.inherited`,
COALESCE(
`product`.`purchase_prices`, `product.parent`.`purchase_prices`
) as `product.purchasePrices`,
COALESCE(
`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`
) as `product.markAsTopseller`,
COALESCE(
`product`.`weight`, `product.parent`.`weight`
) as `product.weight`,
COALESCE(
`product`.`width`, `product.parent`.`width`
) as `product.width`,
COALESCE(
`product`.`height`, `product.parent`.`height`
) as `product.height`,
COALESCE(
`product`.`length`, `product.parent`.`length`
) as `product.length`,
COALESCE(
`product`.`release_date`, `product.parent`.`release_date`
) as `product.releaseDate`,
COALESCE(
`product`.`rating_average`, `product.parent`.`rating_average`
) as `product.ratingAverage`,
`product.parent`.`category_tree` as `product.categoryTree.inherited`,
COALESCE(
`product`.`category_tree`, `product.parent`.`category_tree`
) as `product.categoryTree`,
`product.parent`.`property_ids` as `product.propertyIds.inherited`,
COALESCE(
`product`.`property_ids`, `product.parent`.`property_ids`
) as `product.propertyIds`,
`product.parent`.`option_ids` as `product.optionIds.inherited`,
COALESCE(
`product`.`option_ids`, `product.parent`.`option_ids`
) as `product.optionIds`,
`product.parent`.`stream_ids` as `product.streamIds.inherited`,
COALESCE(
`product`.`stream_ids`, `product.parent`.`stream_ids`
) as `product.streamIds`,
`product.parent`.`tag_ids` as `product.tagIds.inherited`,
COALESCE(
`product`.`tag_ids`, `product.parent`.`tag_ids`
) as `product.tagIds`,
`product.parent`.`category_ids` as `product.categoryIds.inherited`,
COALESCE(
`product`.`category_ids`, `product.parent`.`category_ids`
) as `product.categoryIds`,
`product`.`child_count` as `product.childCount`,
COALESCE(
`product`.`custom_field_set_selection_active`,
`product.parent`.`custom_field_set_selection_active`
) as `product.customFieldSetSelectionActive`,
`product`.`sales` as `product.sales`,
`product`.`states` as `product.states`,
`product.tax`.`id` as `product.tax.id`,
`product.tax`.`tax_rate` as `product.tax.taxRate`,
`product.tax`.`name` as `product.tax.name`,
`product.tax`.`position` as `product.tax.position`,
`product.tax`.`custom_fields` as `product.tax.customFields`,
`product.tax`.`created_at` as `product.tax.createdAt`,
`product.tax`.`updated_at` as `product.tax.updatedAt`,
`product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`,
COALESCE(
`product`.`cheapest_price`, `product.parent`.`cheapest_price`
) as `product.cheapestPrice`,
`product`.`created_at` as `product.createdAt`,
`product`.`updated_at` as `product.updatedAt`,
`product.bundle`.`id` as `product.bundle.id`,
`product.bundle`.`product_id` as `product.bundle.productId`,
`product.bundle`.`product_version_id` as `product.bundle.productVersionId`,
`product.bundle`.`name` as `product.bundle.name`,
`product.bundle`.`price_type` as `product.bundle.priceType`,
`product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`,
`product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`,
`product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`,
`product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`,
`product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`,
`product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`,
`product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`,
`product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`,
`product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`,
`product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`,
`product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`,
`product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`,
`product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`,
`product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`,
`product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`,
`product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`,
`product.bundle`.`created_at` as `product.bundle.createdAt`,
`product.bundle`.`updated_at` as `product.bundle.updatedAt`,
`product.cover`.`id` as `product.cover.id`,
`product.cover`.`version_id` as `product.cover.versionId`,
`product.cover`.`product_id` as `product.cover.productId`,
`product.cover`.`product_version_id` as `product.cover.productVersionId`,
`product.cover`.`media_id` as `product.cover.mediaId`,
`product.cover`.`position` as `product.cover.position`,
`product.cover.media`.`id` as `product.cover.media.id`,
`product.cover.media`.`user_id` as `product.cover.media.userId`,
`product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`,
`product.cover.media`.`mime_type` as `product.cover.media.mimeType`,
`product.cover.media`.`file_extension` as `product.cover.media.fileExtension`,
`product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`,
`product.cover.media`.`file_name` as `product.cover.media.fileName`,
`product.cover.media`.`file_size` as `product.cover.media.fileSize`,
`product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`,
`product.cover.media`.`meta_data` as `product.cover.media.metaData`,
`product.cover.media`.`private` as `product.cover.media.private`,
`product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`,
`product.cover.media`.`created_at` as `product.cover.media.createdAt`,
`product.cover.media`.`updated_at` as `product.cover.media.updatedAt`,
`product.cover.media.translation.title`,
COALESCE(
`product.cover.media.translation.title`,
`product.cover.media.translation.title`
) as `product.cover.media.title`,
`product.cover.media.translation.alt`,
COALESCE(
`product.cover.media.translation.alt`,
`product.cover.media.translation.alt`
) as `product.cover.media.alt`,
`product.cover.media.translation.customFields`,
COALESCE(
`product.cover.media.translation.customFields`,
`product.cover.media.translation.customFields`
) as `product.cover.media.customFields`,
`product.cover.media.translation.createdAt`,
`product.cover.media.translation.updatedAt`,
`product.cover.media.translation.mediaId`,
`product.cover.media.translation.languageId`,
`product.cover`.`custom_fields` as `product.cover.customFields`,
`product.cover`.`created_at` as `product.cover.createdAt`,
`product.cover`.`updated_at` as `product.cover.updatedAt`,
`product.translation.metaDescription`,
`product.parent.translation.metaDescription`,
COALESCE(
`product.translation.metaDescription`,
`product.parent.translation.metaDescription`,
`product.translation.metaDescription`
) as `product.metaDescription`,
`product.translation.name`,
`product.parent.translation.name`,
COALESCE(
`product.translation.name`, `product.parent.translation.name`,
`product.translation.name`
) as `product.name`,
`product.translation.keywords`,
`product.parent.translation.keywords`,
COALESCE(
`product.translation.keywords`,
`product.parent.translation.keywords`,
`product.translation.keywords`
) as `product.keywords`,
`product.translation.description`,
`product.parent.translation.description`,
COALESCE(
`product.translation.description`,
`product.parent.translation.description`,
`product.translation.description`
) as `product.description`,
`product.translation.metaTitle`,
`product.parent.translation.metaTitle`,
COALESCE(
`product.translation.metaTitle`,
`product.parent.translation.metaTitle`,
`product.translation.metaTitle`
) as `product.metaTitle`,
`product.translation.packUnit`,
`product.parent.translation.packUnit`,
COALESCE(
`product.translation.packUnit`,
`product.parent.translation.packUnit`,
`product.translation.packUnit`
) as `product.packUnit`,
`product.translation.packUnitPlural`,
`product.parent.translation.packUnitPlural`,
COALESCE(
`product.translation.packUnitPlural`,
`product.parent.translation.packUnitPlural`,
`product.translation.packUnitPlural`
) as `product.packUnitPlural`,
`product.translation.customSearchKeywords`,
`product.parent.translation.customSearchKeywords`,
COALESCE(
`product.translation.customSearchKeywords`,
`product.parent.translation.customSearchKeywords`,
`product.translation.customSearchKeywords`
) as `product.customSearchKeywords`,
`product.translation.slotConfig`,
`product.parent.translation.slotConfig`,
COALESCE(
`product.translation.slotConfig`,
`product.parent.translation.slotConfig`,
`product.translation.slotConfig`
) as `product.slotConfig`,
`product.translation.customFields`,
`product.parent.translation.customFields`,
COALESCE(
`product.translation.customFields`,
`product.parent.translation.customFields`,
`product.translation.customFields`
) as `product.customFields`,
`product.translation.createdAt`,
`product.parent.translation.createdAt`,
`product.translation.updatedAt`,
`product.parent.translation.updatedAt`,
`product.translation.productId`,
`product.parent.translation.productId`,
`product.translation.languageId`,
`product.parent.translation.languageId`,
`product.translation.productVersionId`,
`product.parent.translation.productVersionId`
FROM
`product`
LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id`
AND `product`.`version_id` = `product.parent`.`version_id`
LEFT JOIN (
SELECT
`product.translation`.product_id,
`product.translation`.product_version_id,
`product.translation`.meta_description as `product.translation.metaDescription`,
`product.translation`.name as `product.translation.name`,
`product.translation`.keywords as `product.translation.keywords`,
`product.translation`.description as `product.translation.description`,
`product.translation`.meta_title as `product.translation.metaTitle`,
`product.translation`.pack_unit as `product.translation.packUnit`,
`product.translation`.pack_unit_plural as `product.translation.packUnitPlural`,
`product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`,
`product.translation`.slot_config as `product.translation.slotConfig`,
`product.translation`.custom_fields as `product.translation.customFields`,
`product.translation`.created_at as `product.translation.createdAt`,
`product.translation`.updated_at as `product.translation.updatedAt`,
`product.translation`.product_id as `product.translation.productId`,
`product.translation`.language_id as `product.translation.languageId`,
`product.translation`.product_version_id as `product.translation.productVersionId`
FROM
`product_translation` `product.translation`
WHERE
`product.translation`.language_id = : languageId
) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id`
AND `product.product_translation`.product_version_id = `product`.version_id
LEFT JOIN (
SELECT
`product.parent.translation`.product_id,
`product.parent.translation`.product_version_id,
`product.parent.translation`.meta_description as `product.parent.translation.metaDescription`,
`product.parent.translation`.name as `product.parent.translation.name`,
`product.parent.translation`.keywords as `product.parent.translation.keywords`,
`product.parent.translation`.description as `product.parent.translation.description`,
`product.parent.translation`.meta_title as `product.parent.translation.metaTitle`,
`product.parent.translation`.pack_unit as `product.parent.translation.packUnit`,
`product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`,
`product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`,
`product.parent.translation`.slot_config as `product.parent.translation.slotConfig`,
`product.parent.translation`.custom_fields as `product.parent.translation.customFields`,
`product.parent.translation`.created_at as `product.parent.translation.createdAt`,
`product.parent.translation`.updated_at as `product.parent.translation.updatedAt`,
`product.parent.translation`.product_id as `product.parent.translation.productId`,
`product.parent.translation`.language_id as `product.parent.translation.languageId`,
`product.parent.translation`.product_version_id as `product.parent.translation.productVersionId`
FROM
`product_translation` `product.parent.translation`
WHERE
`product.parent.translation`.language_id = : languageId
) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id`
AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id
LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id`
LEFT JOIN `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_id`
LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id`
AND `product`.`version_id` = `product.cover`.`version_id`
LEFT JOIN `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id`
LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id`
LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`id`
LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id`
LEFT JOIN (
SELECT
`product.cover.media.translation`.media_id,
`product.cover.media.translation`.title as `product.cover.media.translation.title`,
`product.cover.media.translation`.alt as `product.cover.media.translation.alt`,
`product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`,
`product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`,
`product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`,
`product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`,
`product.cover.media.translation`.language_id as `product.cover.media.translation.languageId`
FROM
`media_translation` `product.cover.media.translation`
WHERE
`product.cover.media.translation`.language_id = : languageId
) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id`
WHERE
(
`product`.`version_id` = : version
)
AND (
`product`.`id` IN (: ids)
)
SELECT `product`.`id` as `product.id`, `product`.`version_id` as `product.versionId`, `product`.`parent_id` as `product.parentId`, `product`.`parent_version_id` as `product.parentVersionId`, COALESCE(`product`.`product_manufacturer_id`, `product.parent`.`product_manufacturer_id`) as `product.manufacturerId`, COALESCE(`product`.`product_manufacturer_version_id`, `product.parent`.`product_manufacturer_version_id`) as `product.productManufacturerVersionId`, COALESCE(`product`.`unit_id`, `product.parent`.`unit_id`) as `product.unitId`, COALESCE(`product`.`tax_id`, `product.parent`.`tax_id`) as `product.taxId`, COALESCE(`product`.`product_media_id`, `product.parent`.`product_media_id`) as `product.coverId`, COALESCE(`product`.`product_media_version_id`, `product.parent`.`product_media_version_id`) as `product.productMediaVersionId`, COALESCE(`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`) as `product.deliveryTimeId`, COALESCE(`product`.`product_feature_set_id`, `product.parent`.`product_feature_set_id`) as `product.featureSetId`, COALESCE(`product`.`canonical_product_id`, `product.parent`.`canonical_product_id`) as `product.canonicalProductId`, COALESCE(`product`.`cms_page_id`, `product.parent`.`cms_page_id`) as `product.cmsPageId`, COALESCE(`product`.`cms_page_version_id`, `product.parent`.`cms_page_version_id`) as `product.cmsPageVersionId`, `product.parent`.`price` as `product.price.inherited`, COALESCE(`product`.`price`, `product.parent`.`price`) as `product.price`, `product`.`product_number` as `product.productNumber`, `product`.`stock` as `product.stock`, COALESCE(`product`.`restock_time`, `product.parent`.`restock_time`) as `product.restockTime`, `product`.`auto_increment` as `product.autoIncrement`, COALESCE(`product`.`active`, `product.parent`.`active`) as `product.active`, `product`.`available_stock` as `product.availableStock`, `product`.`available` as `product.available`, COALESCE(`product`.`is_closeout`, `product.parent`.`is_closeout`) as `product.isCloseout`, `product`.`display_group` as `product.displayGroup`, `product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`, COALESCE(`product`.`configurator_group_config`, `product.parent`.`configurator_group_config`) as `product.configuratorGroupConfig`, COALESCE(`product`.`main_variant_id`, `product.parent`.`main_variant_id`) as `product.mainVariantId`, COALESCE(`product`.`display_parent`, `product.parent`.`display_parent`) as `product.displayParent`, `product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`, COALESCE(`product`.`variant_listing_config`, `product.parent`.`variant_listing_config`) as `product.variantListingConfig`, `product`.`variant_restrictions` as `product.variantRestrictions`, COALESCE(`product`.`manufacturer_number`, `product.parent`.`manufacturer_number`) as `product.manufacturerNumber`, COALESCE(`product`.`ean`, `product.parent`.`ean`) as `product.ean`, COALESCE(`product`.`purchase_steps`, `product.parent`.`purchase_steps`) as `product.purchaseSteps`, COALESCE(`product`.`max_purchase`, `product.parent`.`max_purchase`) as `product.maxPurchase`, COALESCE(`product`.`min_purchase`, `product.parent`.`min_purchase`) as `product.minPurchase`, COALESCE(`product`.`purchase_unit`, `product.parent`.`purchase_unit`) as `product.purchaseUnit`, COALESCE(`product`.`reference_unit`, `product.parent`.`reference_unit`) as `product.referenceUnit`, COALESCE(`product`.`shipping_free`, `product.parent`.`shipping_free`) as `product.shippingFree`, `product.parent`.`purchase_prices` as `product.purchasePrices.inherited`, COALESCE(`product`.`purchase_prices`, `product.parent`.`purchase_prices`) as `product.purchasePrices`, COALESCE(`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`) as `product.markAsTopseller`, COALESCE(`product`.`weight`, `product.parent`.`weight`) as `product.weight`, COALESCE(`product`.`width`, `product.parent`.`width`) as `product.width`, COALESCE(`product`.`height`, `product.parent`.`height`) as `product.height`, COALESCE(`product`.`length`, `product.parent`.`length`) as `product.length`, COALESCE(`product`.`release_date`, `product.parent`.`release_date`) as `product.releaseDate`, COALESCE(`product`.`rating_average`, `product.parent`.`rating_average`) as `product.ratingAverage`, `product.parent`.`category_tree` as `product.categoryTree.inherited`, COALESCE(`product`.`category_tree`, `product.parent`.`category_tree`) as `product.categoryTree`, `product.parent`.`property_ids` as `product.propertyIds.inherited`, COALESCE(`product`.`property_ids`, `product.parent`.`property_ids`) as `product.propertyIds`, `product.parent`.`option_ids` as `product.optionIds.inherited`, COALESCE(`product`.`option_ids`, `product.parent`.`option_ids`) as `product.optionIds`, `product.parent`.`stream_ids` as `product.streamIds.inherited`, COALESCE(`product`.`stream_ids`, `product.parent`.`stream_ids`) as `product.streamIds`, `product.parent`.`tag_ids` as `product.tagIds.inherited`, COALESCE(`product`.`tag_ids`, `product.parent`.`tag_ids`) as `product.tagIds`, `product.parent`.`category_ids` as `product.categoryIds.inherited`, COALESCE(`product`.`category_ids`, `product.parent`.`category_ids`) as `product.categoryIds`, `product`.`child_count` as `product.childCount`, COALESCE(`product`.`custom_field_set_selection_active`, `product.parent`.`custom_field_set_selection_active`) as `product.customFieldSetSelectionActive`, `product`.`sales` as `product.sales`, `product`.`states` as `product.states`, `product.tax`.`id` as `product.tax.id`, `product.tax`.`tax_rate` as `product.tax.taxRate`, `product.tax`.`name` as `product.tax.name`, `product.tax`.`position` as `product.tax.position`, `product.tax`.`custom_fields` as `product.tax.customFields`, `product.tax`.`created_at` as `product.tax.createdAt`, `product.tax`.`updated_at` as `product.tax.updatedAt`, `product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`, COALESCE(`product`.`cheapest_price`, `product.parent`.`cheapest_price`) as `product.cheapestPrice`, `product`.`created_at` as `product.createdAt`, `product`.`updated_at` as `product.updatedAt`, `product.bundle`.`id` as `product.bundle.id`, `product.bundle`.`product_id` as `product.bundle.productId`, `product.bundle`.`product_version_id` as `product.bundle.productVersionId`, `product.bundle`.`name` as `product.bundle.name`, `product.bundle`.`price_type` as `product.bundle.priceType`, `product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`, `product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`, `product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`, `product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`, `product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`, `product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`, `product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`, `product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`, `product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`, `product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`, `product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`, `product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`, `product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`, `product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`, `product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`, `product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`, `product.bundle`.`created_at` as `product.bundle.createdAt`, `product.bundle`.`updated_at` as `product.bundle.updatedAt`, `product.cover`.`id` as `product.cover.id`, `product.cover`.`version_id` as `product.cover.versionId`, `product.cover`.`product_id` as `product.cover.productId`, `product.cover`.`product_version_id` as `product.cover.productVersionId`, `product.cover`.`media_id` as `product.cover.mediaId`, `product.cover`.`position` as `product.cover.position`, `product.cover.media`.`id` as `product.cover.media.id`, `product.cover.media`.`user_id` as `product.cover.media.userId`, `product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`, `product.cover.media`.`mime_type` as `product.cover.media.mimeType`, `product.cover.media`.`file_extension` as `product.cover.media.fileExtension`, `product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`, `product.cover.media`.`file_name` as `product.cover.media.fileName`, `product.cover.media`.`file_size` as `product.cover.media.fileSize`, `product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`, `product.cover.media`.`meta_data` as `product.cover.media.metaData`, `product.cover.media`.`private` as `product.cover.media.private`, `product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`, `product.cover.media`.`created_at` as `product.cover.media.createdAt`, `product.cover.media`.`updated_at` as `product.cover.media.updatedAt`, `product.cover.media.translation.title`, COALESCE(`product.cover.media.translation.title`,`product.cover.media.translation.title`) as `product.cover.media.title`, `product.cover.media.translation.alt`, COALESCE(`product.cover.media.translation.alt`,`product.cover.media.translation.alt`) as `product.cover.media.alt`, `product.cover.media.translation.customFields`, COALESCE(`product.cover.media.translation.customFields`,`product.cover.media.translation.customFields`) as `product.cover.media.customFields`, `product.cover.media.translation.createdAt`, `product.cover.media.translation.updatedAt`, `product.cover.media.translation.mediaId`, `product.cover.media.translation.languageId`, `product.cover`.`custom_fields` as `product.cover.customFields`, `product.cover`.`created_at` as `product.cover.createdAt`, `product.cover`.`updated_at` as `product.cover.updatedAt`, `product.translation.metaDescription`, `product.parent.translation.metaDescription`, COALESCE(`product.translation.metaDescription`,`product.parent.translation.metaDescription`,`product.translation.metaDescription`) as `product.metaDescription`, `product.translation.name`, `product.parent.translation.name`, COALESCE(`product.translation.name`,`product.parent.translation.name`,`product.translation.name`) as `product.name`, `product.translation.keywords`, `product.parent.translation.keywords`, COALESCE(`product.translation.keywords`,`product.parent.translation.keywords`,`product.translation.keywords`) as `product.keywords`, `product.translation.description`, `product.parent.translation.description`, COALESCE(`product.translation.description`,`product.parent.translation.description`,`product.translation.description`) as `product.description`, `product.translation.metaTitle`, `product.parent.translation.metaTitle`, COALESCE(`product.translation.metaTitle`,`product.parent.translation.metaTitle`,`product.translation.metaTitle`) as `product.metaTitle`, `product.translation.packUnit`, `product.parent.translation.packUnit`, COALESCE(`product.translation.packUnit`,`product.parent.translation.packUnit`,`product.translation.packUnit`) as `product.packUnit`, `product.translation.packUnitPlural`, `product.parent.translation.packUnitPlural`, COALESCE(`product.translation.packUnitPlural`,`product.parent.translation.packUnitPlural`,`product.translation.packUnitPlural`) as `product.packUnitPlural`, `product.translation.customSearchKeywords`, `product.parent.translation.customSearchKeywords`, COALESCE(`product.translation.customSearchKeywords`,`product.parent.translation.customSearchKeywords`,`product.translation.customSearchKeywords`) as `product.customSearchKeywords`, `product.translation.slotConfig`, `product.parent.translation.slotConfig`, COALESCE(`product.translation.slotConfig`,`product.parent.translation.slotConfig`,`product.translation.slotConfig`) as `product.slotConfig`, `product.translation.customFields`, `product.parent.translation.customFields`, COALESCE(`product.translation.customFields`,`product.parent.translation.customFields`,`product.translation.customFields`) as `product.customFields`, `product.translation.createdAt`, `product.parent.translation.createdAt`, `product.translation.updatedAt`, `product.parent.translation.updatedAt`, `product.translation.productId`, `product.parent.translation.productId`, `product.translation.languageId`, `product.parent.translation.languageId`, `product.translation.productVersionId`, `product.parent.translation.productVersionId` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN (SELECT `product.translation`.product_id, `product.translation`.product_version_id, `product.translation`.meta_description as `product.translation.metaDescription`, `product.translation`.name as `product.translation.name`, `product.translation`.keywords as `product.translation.keywords`, `product.translation`.description as `product.translation.description`, `product.translation`.meta_title as `product.translation.metaTitle`, `product.translation`.pack_unit as `product.translation.packUnit`, `product.translation`.pack_unit_plural as `product.translation.packUnitPlural`, `product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`, `product.translation`.slot_config as `product.translation.slotConfig`, `product.translation`.custom_fields as `product.translation.customFields`, `product.translation`.created_at as `product.translation.createdAt`, `product.translation`.updated_at as `product.translation.updatedAt`, `product.translation`.product_id as `product.translation.productId`, `product.translation`.language_id as `product.translation.languageId`, `product.translation`.product_version_id as `product.translation.productVersionId` FROM `product_translation` `product.translation` WHERE `product.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id` AND `product.product_translation`.product_version_id = `product`.version_id LEFT JOIN (SELECT `product.parent.translation`.product_id, `product.parent.translation`.product_version_id, `product.parent.translation`.meta_description as `product.parent.translation.metaDescription`, `product.parent.translation`.name as `product.parent.translation.name`, `product.parent.translation`.keywords as `product.parent.translation.keywords`, `product.parent.translation`.description as `product.parent.translation.description`, `product.parent.translation`.meta_title as `product.parent.translation.metaTitle`, `product.parent.translation`.pack_unit as `product.parent.translation.packUnit`, `product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`, `product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`, `product.parent.translation`.slot_config as `product.parent.translation.slotConfig`, `product.parent.translation`.custom_fields as `product.parent.translation.customFields`, `product.parent.translation`.created_at as `product.parent.translation.createdAt`, `product.parent.translation`.updated_at as `product.parent.translation.updatedAt`, `product.parent.translation`.product_id as `product.parent.translation.productId`, `product.parent.translation`.language_id as `product.parent.translation.languageId`, `product.parent.translation`.product_version_id as `product.parent.translation.productVersionId` FROM `product_translation` `product.parent.translation` WHERE `product.parent.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id` AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id` LEFT JOIN `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_id` LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id` AND `product`.`version_id` = `product.cover`.`version_id` LEFT JOIN `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`id` LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id` LEFT JOIN (SELECT `product.cover.media.translation`.media_id, `product.cover.media.translation`.title as `product.cover.media.translation.title`, `product.cover.media.translation`.alt as `product.cover.media.translation.alt`, `product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`, `product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`, `product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`, `product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`, `product.cover.media.translation`.language_id as `product.cover.media.translation.languageId` FROM `media_translation` `product.cover.media.translation` WHERE `product.cover.media.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id` WHERE (`product`.`version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425) AND (`product`.`id` IN (0x03F4EF144EC44C3E822790C652F7C3F6));
array:51 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 316)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetch (line 148)"
4 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 93)"
5 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::read (line 257)"
6 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::read (line 286)"
7 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::_search (line 106)"
8 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::search (line 51)"
9 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepositoryForwardCompatibilityDecorator::search (line 103)"
10 => "Bodymed\Webshop\StoreFront\Subscriber\ProductExtensionSubscriber::addParentCover (line 230)"
11 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
12 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
13 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
14 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
15 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
16 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 33)"
17 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
18 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 208)"
19 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::read (line 133)"
20 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 49)"
21 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariantsOfProduct (line 30)"
22 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariants (line 224)"
23 => "Bodymed\Webshop\Core\Content\Product\Cms\ProductSliderCmsElementResolver::enrich (line 99)"
24 => "Shopware\Core\Content\Cms\DataResolver\CmsSlotsDataResolver::resolve (line 104)"
25 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::loadSlotData (line 94)"
26 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::load (line 102)"
27 => "Shopware\Core\Content\Category\SalesChannel\CategoryRoute::load (line 103)"
28 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 350)"
29 => "Shopware\Core\System\SystemConfig\SystemConfigService::trace (line 44)"
30 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 120)"
31 => "Shopware\Core\Framework\Adapter\Translation\Translator::trace (line 45)"
32 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 46)"
33 => "Shopware\Core\Framework\Adapter\Cache\CacheTagCollection::trace (line 46)"
34 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::trace (line 41)"
35 => "Shopware\Storefront\Framework\Cache\CacheTracer::Shopware\Storefront\Framework\Cache\{closure} (line 59)"
36 => "Shopware\Storefront\Theme\ThemeConfigValueAccessor::trace (line 42)"
37 => "Shopware\Storefront\Framework\Cache\CacheTracer::trace (line 104)"
38 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 72)"
39 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
40 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 109)"
41 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 59)"
42 => "Shopware\Core\Profiling\Profiler::trace (line 112)"
43 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::load (line 66)"
44 => "Shopware\Storefront\Page\Navigation\NavigationPageLoader::load (line 48)"
45 => "Shopware\Storefront\Controller\NavigationController::home (line 163)"
46 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
47 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
48 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
49 => "Shopware\Core\HttpKernel::doHandle (line 81)"
50 => "Shopware\Core\HttpKernel::handle (line 75)"
]
|
75 |
0.83 ms |
SELECT * FROM sales_channel_api_context WHERE (sales_channel_id = :salesChannelId) AND (token = :token) LIMIT 1
SELECT * FROM sales_channel_api_context WHERE (sales_channel_id = 0x620A2217F7474E619CB00AD39E804CCA) AND (token = 'FwsxT47353Zxmr7lp0KSfYcVNkg5VpYR') LIMIT 1;
array:58 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 165)"
3 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextPersister::load (line 69)"
4 => "Bodymed\Webshop\Core\Subscriber\ProductSubscriber::addCustomerProductFeatureExtension (line 230)"
5 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
6 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
7 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
8 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
9 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
10 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 33)"
11 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
12 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 269)"
13 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::read (line 286)"
14 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::_search (line 106)"
15 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::search (line 51)"
16 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepositoryForwardCompatibilityDecorator::search (line 103)"
17 => "Bodymed\Webshop\StoreFront\Subscriber\ProductExtensionSubscriber::addParentCover (line 230)"
18 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
19 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
20 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
21 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
22 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
23 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 33)"
24 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
25 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 208)"
26 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::read (line 133)"
27 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 49)"
28 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariantsOfProduct (line 30)"
29 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariants (line 224)"
30 => "Bodymed\Webshop\Core\Content\Product\Cms\ProductSliderCmsElementResolver::enrich (line 99)"
31 => "Shopware\Core\Content\Cms\DataResolver\CmsSlotsDataResolver::resolve (line 104)"
32 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::loadSlotData (line 94)"
33 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::load (line 102)"
34 => "Shopware\Core\Content\Category\SalesChannel\CategoryRoute::load (line 103)"
35 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 350)"
36 => "Shopware\Core\System\SystemConfig\SystemConfigService::trace (line 44)"
37 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 120)"
38 => "Shopware\Core\Framework\Adapter\Translation\Translator::trace (line 45)"
39 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 46)"
40 => "Shopware\Core\Framework\Adapter\Cache\CacheTagCollection::trace (line 46)"
41 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::trace (line 41)"
42 => "Shopware\Storefront\Framework\Cache\CacheTracer::Shopware\Storefront\Framework\Cache\{closure} (line 59)"
43 => "Shopware\Storefront\Theme\ThemeConfigValueAccessor::trace (line 42)"
44 => "Shopware\Storefront\Framework\Cache\CacheTracer::trace (line 104)"
45 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 72)"
46 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
47 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 109)"
48 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 59)"
49 => "Shopware\Core\Profiling\Profiler::trace (line 112)"
50 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::load (line 66)"
51 => "Shopware\Storefront\Page\Navigation\NavigationPageLoader::load (line 48)"
52 => "Shopware\Storefront\Controller\NavigationController::home (line 163)"
53 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
54 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
55 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
56 => "Shopware\Core\HttpKernel::doHandle (line 81)"
57 => "Shopware\Core\HttpKernel::handle (line 75)"
]
|
76 |
24.06 ms |
SELECT `product`.`id` as `product.id`, `product`.`version_id` as `product.versionId`, `product`.`parent_id` as `product.parentId`, `product`.`parent_version_id` as `product.parentVersionId`, COALESCE(`product`.`product_manufacturer_id`, `product.parent`.`product_manufacturer_id`) as `product.manufacturerId`, COALESCE(`product`.`product_manufacturer_version_id`, `product.parent`.`product_manufacturer_version_id`) as `product.productManufacturerVersionId`, COALESCE(`product`.`unit_id`, `product.parent`.`unit_id`) as `product.unitId`, COALESCE(`product`.`tax_id`, `product.parent`.`tax_id`) as `product.taxId`, COALESCE(`product`.`product_media_id`, `product.parent`.`product_media_id`) as `product.coverId`, COALESCE(`product`.`product_media_version_id`, `product.parent`.`product_media_version_id`) as `product.productMediaVersionId`, COALESCE(`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`) as `product.deliveryTimeId`, COALESCE(`product`.`product_feature_set_id`, `product.parent`.`product_feature_set_id`) as `product.featureSetId`, COALESCE(`product`.`canonical_product_id`, `product.parent`.`canonical_product_id`) as `product.canonicalProductId`, COALESCE(`product`.`cms_page_id`, `product.parent`.`cms_page_id`) as `product.cmsPageId`, COALESCE(`product`.`cms_page_version_id`, `product.parent`.`cms_page_version_id`) as `product.cmsPageVersionId`, `product.parent`.`price` as `product.price.inherited`, COALESCE(`product`.`price`, `product.parent`.`price`) as `product.price`, `product`.`product_number` as `product.productNumber`, `product`.`stock` as `product.stock`, COALESCE(`product`.`restock_time`, `product.parent`.`restock_time`) as `product.restockTime`, `product`.`auto_increment` as `product.autoIncrement`, COALESCE(`product`.`active`, `product.parent`.`active`) as `product.active`, `product`.`available_stock` as `product.availableStock`, `product`.`available` as `product.available`, COALESCE(`product`.`is_closeout`, `product.parent`.`is_closeout`) as `product.isCloseout`, `product`.`display_group` as `product.displayGroup`, `product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`, COALESCE(`product`.`configurator_group_config`, `product.parent`.`configurator_group_config`) as `product.configuratorGroupConfig`, COALESCE(`product`.`main_variant_id`, `product.parent`.`main_variant_id`) as `product.mainVariantId`, COALESCE(`product`.`display_parent`, `product.parent`.`display_parent`) as `product.displayParent`, `product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`, COALESCE(`product`.`variant_listing_config`, `product.parent`.`variant_listing_config`) as `product.variantListingConfig`, `product`.`variant_restrictions` as `product.variantRestrictions`, COALESCE(`product`.`manufacturer_number`, `product.parent`.`manufacturer_number`) as `product.manufacturerNumber`, COALESCE(`product`.`ean`, `product.parent`.`ean`) as `product.ean`, COALESCE(`product`.`purchase_steps`, `product.parent`.`purchase_steps`) as `product.purchaseSteps`, COALESCE(`product`.`max_purchase`, `product.parent`.`max_purchase`) as `product.maxPurchase`, COALESCE(`product`.`min_purchase`, `product.parent`.`min_purchase`) as `product.minPurchase`, COALESCE(`product`.`purchase_unit`, `product.parent`.`purchase_unit`) as `product.purchaseUnit`, COALESCE(`product`.`reference_unit`, `product.parent`.`reference_unit`) as `product.referenceUnit`, COALESCE(`product`.`shipping_free`, `product.parent`.`shipping_free`) as `product.shippingFree`, `product.parent`.`purchase_prices` as `product.purchasePrices.inherited`, COALESCE(`product`.`purchase_prices`, `product.parent`.`purchase_prices`) as `product.purchasePrices`, COALESCE(`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`) as `product.markAsTopseller`, COALESCE(`product`.`weight`, `product.parent`.`weight`) as `product.weight`, COALESCE(`product`.`width`, `product.parent`.`width`) as `product.width`, COALESCE(`product`.`height`, `product.parent`.`height`) as `product.height`, COALESCE(`product`.`length`, `product.parent`.`length`) as `product.length`, COALESCE(`product`.`release_date`, `product.parent`.`release_date`) as `product.releaseDate`, COALESCE(`product`.`rating_average`, `product.parent`.`rating_average`) as `product.ratingAverage`, `product.parent`.`category_tree` as `product.categoryTree.inherited`, COALESCE(`product`.`category_tree`, `product.parent`.`category_tree`) as `product.categoryTree`, `product.parent`.`property_ids` as `product.propertyIds.inherited`, COALESCE(`product`.`property_ids`, `product.parent`.`property_ids`) as `product.propertyIds`, `product.parent`.`option_ids` as `product.optionIds.inherited`, COALESCE(`product`.`option_ids`, `product.parent`.`option_ids`) as `product.optionIds`, `product.parent`.`stream_ids` as `product.streamIds.inherited`, COALESCE(`product`.`stream_ids`, `product.parent`.`stream_ids`) as `product.streamIds`, `product.parent`.`tag_ids` as `product.tagIds.inherited`, COALESCE(`product`.`tag_ids`, `product.parent`.`tag_ids`) as `product.tagIds`, `product.parent`.`category_ids` as `product.categoryIds.inherited`, COALESCE(`product`.`category_ids`, `product.parent`.`category_ids`) as `product.categoryIds`, `product`.`child_count` as `product.childCount`, COALESCE(`product`.`custom_field_set_selection_active`, `product.parent`.`custom_field_set_selection_active`) as `product.customFieldSetSelectionActive`, `product`.`sales` as `product.sales`, `product`.`states` as `product.states`, `product.tax`.`id` as `product.tax.id`, `product.tax`.`tax_rate` as `product.tax.taxRate`, `product.tax`.`name` as `product.tax.name`, `product.tax`.`position` as `product.tax.position`, `product.tax`.`custom_fields` as `product.tax.customFields`, `product.tax`.`created_at` as `product.tax.createdAt`, `product.tax`.`updated_at` as `product.tax.updatedAt`, `product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`, COALESCE(`product`.`cheapest_price`, `product.parent`.`cheapest_price`) as `product.cheapestPrice`, `product`.`created_at` as `product.createdAt`, `product`.`updated_at` as `product.updatedAt`, `product.bundle`.`id` as `product.bundle.id`, `product.bundle`.`product_id` as `product.bundle.productId`, `product.bundle`.`product_version_id` as `product.bundle.productVersionId`, `product.bundle`.`name` as `product.bundle.name`, `product.bundle`.`price_type` as `product.bundle.priceType`, `product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`, `product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`, `product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`, `product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`, `product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`, `product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`, `product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`, `product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`, `product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`, `product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`, `product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`, `product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`, `product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`, `product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`, `product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`, `product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`, `product.bundle`.`created_at` as `product.bundle.createdAt`, `product.bundle`.`updated_at` as `product.bundle.updatedAt`, `product.cover`.`id` as `product.cover.id`, `product.cover`.`version_id` as `product.cover.versionId`, `product.cover`.`product_id` as `product.cover.productId`, `product.cover`.`product_version_id` as `product.cover.productVersionId`, `product.cover`.`media_id` as `product.cover.mediaId`, `product.cover`.`position` as `product.cover.position`, `product.cover.media`.`id` as `product.cover.media.id`, `product.cover.media`.`user_id` as `product.cover.media.userId`, `product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`, `product.cover.media`.`mime_type` as `product.cover.media.mimeType`, `product.cover.media`.`file_extension` as `product.cover.media.fileExtension`, `product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`, `product.cover.media`.`file_name` as `product.cover.media.fileName`, `product.cover.media`.`file_size` as `product.cover.media.fileSize`, `product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`, `product.cover.media`.`meta_data` as `product.cover.media.metaData`, `product.cover.media`.`private` as `product.cover.media.private`, `product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`, `product.cover.media`.`created_at` as `product.cover.media.createdAt`, `product.cover.media`.`updated_at` as `product.cover.media.updatedAt`, `product.cover.media.translation.title`, COALESCE(`product.cover.media.translation.title`,`product.cover.media.translation.title`) as `product.cover.media.title`, `product.cover.media.translation.alt`, COALESCE(`product.cover.media.translation.alt`,`product.cover.media.translation.alt`) as `product.cover.media.alt`, `product.cover.media.translation.customFields`, COALESCE(`product.cover.media.translation.customFields`,`product.cover.media.translation.customFields`) as `product.cover.media.customFields`, `product.cover.media.translation.createdAt`, `product.cover.media.translation.updatedAt`, `product.cover.media.translation.mediaId`, `product.cover.media.translation.languageId`, `product.cover`.`custom_fields` as `product.cover.customFields`, `product.cover`.`created_at` as `product.cover.createdAt`, `product.cover`.`updated_at` as `product.cover.updatedAt`, `product.translation.metaDescription`, `product.parent.translation.metaDescription`, COALESCE(`product.translation.metaDescription`,`product.parent.translation.metaDescription`,`product.translation.metaDescription`) as `product.metaDescription`, `product.translation.name`, `product.parent.translation.name`, COALESCE(`product.translation.name`,`product.parent.translation.name`,`product.translation.name`) as `product.name`, `product.translation.keywords`, `product.parent.translation.keywords`, COALESCE(`product.translation.keywords`,`product.parent.translation.keywords`,`product.translation.keywords`) as `product.keywords`, `product.translation.description`, `product.parent.translation.description`, COALESCE(`product.translation.description`,`product.parent.translation.description`,`product.translation.description`) as `product.description`, `product.translation.metaTitle`, `product.parent.translation.metaTitle`, COALESCE(`product.translation.metaTitle`,`product.parent.translation.metaTitle`,`product.translation.metaTitle`) as `product.metaTitle`, `product.translation.packUnit`, `product.parent.translation.packUnit`, COALESCE(`product.translation.packUnit`,`product.parent.translation.packUnit`,`product.translation.packUnit`) as `product.packUnit`, `product.translation.packUnitPlural`, `product.parent.translation.packUnitPlural`, COALESCE(`product.translation.packUnitPlural`,`product.parent.translation.packUnitPlural`,`product.translation.packUnitPlural`) as `product.packUnitPlural`, `product.translation.customSearchKeywords`, `product.parent.translation.customSearchKeywords`, COALESCE(`product.translation.customSearchKeywords`,`product.parent.translation.customSearchKeywords`,`product.translation.customSearchKeywords`) as `product.customSearchKeywords`, `product.translation.slotConfig`, `product.parent.translation.slotConfig`, COALESCE(`product.translation.slotConfig`,`product.parent.translation.slotConfig`,`product.translation.slotConfig`) as `product.slotConfig`, `product.translation.customFields`, `product.parent.translation.customFields`, COALESCE(`product.translation.customFields`,`product.parent.translation.customFields`,`product.translation.customFields`) as `product.customFields`, `product.translation.createdAt`, `product.parent.translation.createdAt`, `product.translation.updatedAt`, `product.parent.translation.updatedAt`, `product.translation.productId`, `product.parent.translation.productId`, `product.translation.languageId`, `product.parent.translation.languageId`, `product.translation.productVersionId`, `product.parent.translation.productVersionId` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN (SELECT `product.translation`.product_id, `product.translation`.product_version_id, `product.translation`.meta_description as `product.translation.metaDescription`, `product.translation`.name as `product.translation.name`, `product.translation`.keywords as `product.translation.keywords`, `product.translation`.description as `product.translation.description`, `product.translation`.meta_title as `product.translation.metaTitle`, `product.translation`.pack_unit as `product.translation.packUnit`, `product.translation`.pack_unit_plural as `product.translation.packUnitPlural`, `product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`, `product.translation`.slot_config as `product.translation.slotConfig`, `product.translation`.custom_fields as `product.translation.customFields`, `product.translation`.created_at as `product.translation.createdAt`, `product.translation`.updated_at as `product.translation.updatedAt`, `product.translation`.product_id as `product.translation.productId`, `product.translation`.language_id as `product.translation.languageId`, `product.translation`.product_version_id as `product.translation.productVersionId` FROM `product_translation` `product.translation` WHERE `product.translation`.language_id = :languageId) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id` AND `product.product_translation`.product_version_id = `product`.version_id LEFT JOIN (SELECT `product.parent.translation`.product_id, `product.parent.translation`.product_version_id, `product.parent.translation`.meta_description as `product.parent.translation.metaDescription`, `product.parent.translation`.name as `product.parent.translation.name`, `product.parent.translation`.keywords as `product.parent.translation.keywords`, `product.parent.translation`.description as `product.parent.translation.description`, `product.parent.translation`.meta_title as `product.parent.translation.metaTitle`, `product.parent.translation`.pack_unit as `product.parent.translation.packUnit`, `product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`, `product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`, `product.parent.translation`.slot_config as `product.parent.translation.slotConfig`, `product.parent.translation`.custom_fields as `product.parent.translation.customFields`, `product.parent.translation`.created_at as `product.parent.translation.createdAt`, `product.parent.translation`.updated_at as `product.parent.translation.updatedAt`, `product.parent.translation`.product_id as `product.parent.translation.productId`, `product.parent.translation`.language_id as `product.parent.translation.languageId`, `product.parent.translation`.product_version_id as `product.parent.translation.productVersionId` FROM `product_translation` `product.parent.translation` WHERE `product.parent.translation`.language_id = :languageId) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id` AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id` LEFT JOIN `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_id` LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id` AND `product`.`version_id` = `product.cover`.`version_id` LEFT JOIN `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`id` LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id` LEFT JOIN (SELECT `product.cover.media.translation`.media_id, `product.cover.media.translation`.title as `product.cover.media.translation.title`, `product.cover.media.translation`.alt as `product.cover.media.translation.alt`, `product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`, `product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`, `product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`, `product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`, `product.cover.media.translation`.language_id as `product.cover.media.translation.languageId` FROM `media_translation` `product.cover.media.translation` WHERE `product.cover.media.translation`.language_id = :languageId) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id` WHERE (`product`.`version_id` = :version) AND (`product`.`id` IN (:ids))
SELECT
`product`.`id` as `product.id`,
`product`.`version_id` as `product.versionId`,
`product`.`parent_id` as `product.parentId`,
`product`.`parent_version_id` as `product.parentVersionId`,
COALESCE(
`product`.`product_manufacturer_id`,
`product.parent`.`product_manufacturer_id`
) as `product.manufacturerId`,
COALESCE(
`product`.`product_manufacturer_version_id`,
`product.parent`.`product_manufacturer_version_id`
) as `product.productManufacturerVersionId`,
COALESCE(
`product`.`unit_id`, `product.parent`.`unit_id`
) as `product.unitId`,
COALESCE(
`product`.`tax_id`, `product.parent`.`tax_id`
) as `product.taxId`,
COALESCE(
`product`.`product_media_id`, `product.parent`.`product_media_id`
) as `product.coverId`,
COALESCE(
`product`.`product_media_version_id`,
`product.parent`.`product_media_version_id`
) as `product.productMediaVersionId`,
COALESCE(
`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`
) as `product.deliveryTimeId`,
COALESCE(
`product`.`product_feature_set_id`,
`product.parent`.`product_feature_set_id`
) as `product.featureSetId`,
COALESCE(
`product`.`canonical_product_id`,
`product.parent`.`canonical_product_id`
) as `product.canonicalProductId`,
COALESCE(
`product`.`cms_page_id`, `product.parent`.`cms_page_id`
) as `product.cmsPageId`,
COALESCE(
`product`.`cms_page_version_id`,
`product.parent`.`cms_page_version_id`
) as `product.cmsPageVersionId`,
`product.parent`.`price` as `product.price.inherited`,
COALESCE(
`product`.`price`, `product.parent`.`price`
) as `product.price`,
`product`.`product_number` as `product.productNumber`,
`product`.`stock` as `product.stock`,
COALESCE(
`product`.`restock_time`, `product.parent`.`restock_time`
) as `product.restockTime`,
`product`.`auto_increment` as `product.autoIncrement`,
COALESCE(
`product`.`active`, `product.parent`.`active`
) as `product.active`,
`product`.`available_stock` as `product.availableStock`,
`product`.`available` as `product.available`,
COALESCE(
`product`.`is_closeout`, `product.parent`.`is_closeout`
) as `product.isCloseout`,
`product`.`display_group` as `product.displayGroup`,
`product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`,
COALESCE(
`product`.`configurator_group_config`,
`product.parent`.`configurator_group_config`
) as `product.configuratorGroupConfig`,
COALESCE(
`product`.`main_variant_id`, `product.parent`.`main_variant_id`
) as `product.mainVariantId`,
COALESCE(
`product`.`display_parent`, `product.parent`.`display_parent`
) as `product.displayParent`,
`product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`,
COALESCE(
`product`.`variant_listing_config`,
`product.parent`.`variant_listing_config`
) as `product.variantListingConfig`,
`product`.`variant_restrictions` as `product.variantRestrictions`,
COALESCE(
`product`.`manufacturer_number`,
`product.parent`.`manufacturer_number`
) as `product.manufacturerNumber`,
COALESCE(
`product`.`ean`, `product.parent`.`ean`
) as `product.ean`,
COALESCE(
`product`.`purchase_steps`, `product.parent`.`purchase_steps`
) as `product.purchaseSteps`,
COALESCE(
`product`.`max_purchase`, `product.parent`.`max_purchase`
) as `product.maxPurchase`,
COALESCE(
`product`.`min_purchase`, `product.parent`.`min_purchase`
) as `product.minPurchase`,
COALESCE(
`product`.`purchase_unit`, `product.parent`.`purchase_unit`
) as `product.purchaseUnit`,
COALESCE(
`product`.`reference_unit`, `product.parent`.`reference_unit`
) as `product.referenceUnit`,
COALESCE(
`product`.`shipping_free`, `product.parent`.`shipping_free`
) as `product.shippingFree`,
`product.parent`.`purchase_prices` as `product.purchasePrices.inherited`,
COALESCE(
`product`.`purchase_prices`, `product.parent`.`purchase_prices`
) as `product.purchasePrices`,
COALESCE(
`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`
) as `product.markAsTopseller`,
COALESCE(
`product`.`weight`, `product.parent`.`weight`
) as `product.weight`,
COALESCE(
`product`.`width`, `product.parent`.`width`
) as `product.width`,
COALESCE(
`product`.`height`, `product.parent`.`height`
) as `product.height`,
COALESCE(
`product`.`length`, `product.parent`.`length`
) as `product.length`,
COALESCE(
`product`.`release_date`, `product.parent`.`release_date`
) as `product.releaseDate`,
COALESCE(
`product`.`rating_average`, `product.parent`.`rating_average`
) as `product.ratingAverage`,
`product.parent`.`category_tree` as `product.categoryTree.inherited`,
COALESCE(
`product`.`category_tree`, `product.parent`.`category_tree`
) as `product.categoryTree`,
`product.parent`.`property_ids` as `product.propertyIds.inherited`,
COALESCE(
`product`.`property_ids`, `product.parent`.`property_ids`
) as `product.propertyIds`,
`product.parent`.`option_ids` as `product.optionIds.inherited`,
COALESCE(
`product`.`option_ids`, `product.parent`.`option_ids`
) as `product.optionIds`,
`product.parent`.`stream_ids` as `product.streamIds.inherited`,
COALESCE(
`product`.`stream_ids`, `product.parent`.`stream_ids`
) as `product.streamIds`,
`product.parent`.`tag_ids` as `product.tagIds.inherited`,
COALESCE(
`product`.`tag_ids`, `product.parent`.`tag_ids`
) as `product.tagIds`,
`product.parent`.`category_ids` as `product.categoryIds.inherited`,
COALESCE(
`product`.`category_ids`, `product.parent`.`category_ids`
) as `product.categoryIds`,
`product`.`child_count` as `product.childCount`,
COALESCE(
`product`.`custom_field_set_selection_active`,
`product.parent`.`custom_field_set_selection_active`
) as `product.customFieldSetSelectionActive`,
`product`.`sales` as `product.sales`,
`product`.`states` as `product.states`,
`product.tax`.`id` as `product.tax.id`,
`product.tax`.`tax_rate` as `product.tax.taxRate`,
`product.tax`.`name` as `product.tax.name`,
`product.tax`.`position` as `product.tax.position`,
`product.tax`.`custom_fields` as `product.tax.customFields`,
`product.tax`.`created_at` as `product.tax.createdAt`,
`product.tax`.`updated_at` as `product.tax.updatedAt`,
`product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`,
COALESCE(
`product`.`cheapest_price`, `product.parent`.`cheapest_price`
) as `product.cheapestPrice`,
`product`.`created_at` as `product.createdAt`,
`product`.`updated_at` as `product.updatedAt`,
`product.bundle`.`id` as `product.bundle.id`,
`product.bundle`.`product_id` as `product.bundle.productId`,
`product.bundle`.`product_version_id` as `product.bundle.productVersionId`,
`product.bundle`.`name` as `product.bundle.name`,
`product.bundle`.`price_type` as `product.bundle.priceType`,
`product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`,
`product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`,
`product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`,
`product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`,
`product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`,
`product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`,
`product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`,
`product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`,
`product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`,
`product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`,
`product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`,
`product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`,
`product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`,
`product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`,
`product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`,
`product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`,
`product.bundle`.`created_at` as `product.bundle.createdAt`,
`product.bundle`.`updated_at` as `product.bundle.updatedAt`,
`product.cover`.`id` as `product.cover.id`,
`product.cover`.`version_id` as `product.cover.versionId`,
`product.cover`.`product_id` as `product.cover.productId`,
`product.cover`.`product_version_id` as `product.cover.productVersionId`,
`product.cover`.`media_id` as `product.cover.mediaId`,
`product.cover`.`position` as `product.cover.position`,
`product.cover.media`.`id` as `product.cover.media.id`,
`product.cover.media`.`user_id` as `product.cover.media.userId`,
`product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`,
`product.cover.media`.`mime_type` as `product.cover.media.mimeType`,
`product.cover.media`.`file_extension` as `product.cover.media.fileExtension`,
`product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`,
`product.cover.media`.`file_name` as `product.cover.media.fileName`,
`product.cover.media`.`file_size` as `product.cover.media.fileSize`,
`product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`,
`product.cover.media`.`meta_data` as `product.cover.media.metaData`,
`product.cover.media`.`private` as `product.cover.media.private`,
`product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`,
`product.cover.media`.`created_at` as `product.cover.media.createdAt`,
`product.cover.media`.`updated_at` as `product.cover.media.updatedAt`,
`product.cover.media.translation.title`,
COALESCE(
`product.cover.media.translation.title`,
`product.cover.media.translation.title`
) as `product.cover.media.title`,
`product.cover.media.translation.alt`,
COALESCE(
`product.cover.media.translation.alt`,
`product.cover.media.translation.alt`
) as `product.cover.media.alt`,
`product.cover.media.translation.customFields`,
COALESCE(
`product.cover.media.translation.customFields`,
`product.cover.media.translation.customFields`
) as `product.cover.media.customFields`,
`product.cover.media.translation.createdAt`,
`product.cover.media.translation.updatedAt`,
`product.cover.media.translation.mediaId`,
`product.cover.media.translation.languageId`,
`product.cover`.`custom_fields` as `product.cover.customFields`,
`product.cover`.`created_at` as `product.cover.createdAt`,
`product.cover`.`updated_at` as `product.cover.updatedAt`,
`product.translation.metaDescription`,
`product.parent.translation.metaDescription`,
COALESCE(
`product.translation.metaDescription`,
`product.parent.translation.metaDescription`,
`product.translation.metaDescription`
) as `product.metaDescription`,
`product.translation.name`,
`product.parent.translation.name`,
COALESCE(
`product.translation.name`, `product.parent.translation.name`,
`product.translation.name`
) as `product.name`,
`product.translation.keywords`,
`product.parent.translation.keywords`,
COALESCE(
`product.translation.keywords`,
`product.parent.translation.keywords`,
`product.translation.keywords`
) as `product.keywords`,
`product.translation.description`,
`product.parent.translation.description`,
COALESCE(
`product.translation.description`,
`product.parent.translation.description`,
`product.translation.description`
) as `product.description`,
`product.translation.metaTitle`,
`product.parent.translation.metaTitle`,
COALESCE(
`product.translation.metaTitle`,
`product.parent.translation.metaTitle`,
`product.translation.metaTitle`
) as `product.metaTitle`,
`product.translation.packUnit`,
`product.parent.translation.packUnit`,
COALESCE(
`product.translation.packUnit`,
`product.parent.translation.packUnit`,
`product.translation.packUnit`
) as `product.packUnit`,
`product.translation.packUnitPlural`,
`product.parent.translation.packUnitPlural`,
COALESCE(
`product.translation.packUnitPlural`,
`product.parent.translation.packUnitPlural`,
`product.translation.packUnitPlural`
) as `product.packUnitPlural`,
`product.translation.customSearchKeywords`,
`product.parent.translation.customSearchKeywords`,
COALESCE(
`product.translation.customSearchKeywords`,
`product.parent.translation.customSearchKeywords`,
`product.translation.customSearchKeywords`
) as `product.customSearchKeywords`,
`product.translation.slotConfig`,
`product.parent.translation.slotConfig`,
COALESCE(
`product.translation.slotConfig`,
`product.parent.translation.slotConfig`,
`product.translation.slotConfig`
) as `product.slotConfig`,
`product.translation.customFields`,
`product.parent.translation.customFields`,
COALESCE(
`product.translation.customFields`,
`product.parent.translation.customFields`,
`product.translation.customFields`
) as `product.customFields`,
`product.translation.createdAt`,
`product.parent.translation.createdAt`,
`product.translation.updatedAt`,
`product.parent.translation.updatedAt`,
`product.translation.productId`,
`product.parent.translation.productId`,
`product.translation.languageId`,
`product.parent.translation.languageId`,
`product.translation.productVersionId`,
`product.parent.translation.productVersionId`
FROM
`product`
LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id`
AND `product`.`version_id` = `product.parent`.`version_id`
LEFT JOIN (
SELECT
`product.translation`.product_id,
`product.translation`.product_version_id,
`product.translation`.meta_description as `product.translation.metaDescription`,
`product.translation`.name as `product.translation.name`,
`product.translation`.keywords as `product.translation.keywords`,
`product.translation`.description as `product.translation.description`,
`product.translation`.meta_title as `product.translation.metaTitle`,
`product.translation`.pack_unit as `product.translation.packUnit`,
`product.translation`.pack_unit_plural as `product.translation.packUnitPlural`,
`product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`,
`product.translation`.slot_config as `product.translation.slotConfig`,
`product.translation`.custom_fields as `product.translation.customFields`,
`product.translation`.created_at as `product.translation.createdAt`,
`product.translation`.updated_at as `product.translation.updatedAt`,
`product.translation`.product_id as `product.translation.productId`,
`product.translation`.language_id as `product.translation.languageId`,
`product.translation`.product_version_id as `product.translation.productVersionId`
FROM
`product_translation` `product.translation`
WHERE
`product.translation`.language_id = : languageId
) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id`
AND `product.product_translation`.product_version_id = `product`.version_id
LEFT JOIN (
SELECT
`product.parent.translation`.product_id,
`product.parent.translation`.product_version_id,
`product.parent.translation`.meta_description as `product.parent.translation.metaDescription`,
`product.parent.translation`.name as `product.parent.translation.name`,
`product.parent.translation`.keywords as `product.parent.translation.keywords`,
`product.parent.translation`.description as `product.parent.translation.description`,
`product.parent.translation`.meta_title as `product.parent.translation.metaTitle`,
`product.parent.translation`.pack_unit as `product.parent.translation.packUnit`,
`product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`,
`product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`,
`product.parent.translation`.slot_config as `product.parent.translation.slotConfig`,
`product.parent.translation`.custom_fields as `product.parent.translation.customFields`,
`product.parent.translation`.created_at as `product.parent.translation.createdAt`,
`product.parent.translation`.updated_at as `product.parent.translation.updatedAt`,
`product.parent.translation`.product_id as `product.parent.translation.productId`,
`product.parent.translation`.language_id as `product.parent.translation.languageId`,
`product.parent.translation`.product_version_id as `product.parent.translation.productVersionId`
FROM
`product_translation` `product.parent.translation`
WHERE
`product.parent.translation`.language_id = : languageId
) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id`
AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id
LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id`
LEFT JOIN `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_id`
LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id`
AND `product`.`version_id` = `product.cover`.`version_id`
LEFT JOIN `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id`
LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id`
LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`id`
LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id`
LEFT JOIN (
SELECT
`product.cover.media.translation`.media_id,
`product.cover.media.translation`.title as `product.cover.media.translation.title`,
`product.cover.media.translation`.alt as `product.cover.media.translation.alt`,
`product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`,
`product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`,
`product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`,
`product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`,
`product.cover.media.translation`.language_id as `product.cover.media.translation.languageId`
FROM
`media_translation` `product.cover.media.translation`
WHERE
`product.cover.media.translation`.language_id = : languageId
) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id`
WHERE
(
`product`.`version_id` = : version
)
AND (
`product`.`id` IN (: ids)
)
SELECT `product`.`id` as `product.id`, `product`.`version_id` as `product.versionId`, `product`.`parent_id` as `product.parentId`, `product`.`parent_version_id` as `product.parentVersionId`, COALESCE(`product`.`product_manufacturer_id`, `product.parent`.`product_manufacturer_id`) as `product.manufacturerId`, COALESCE(`product`.`product_manufacturer_version_id`, `product.parent`.`product_manufacturer_version_id`) as `product.productManufacturerVersionId`, COALESCE(`product`.`unit_id`, `product.parent`.`unit_id`) as `product.unitId`, COALESCE(`product`.`tax_id`, `product.parent`.`tax_id`) as `product.taxId`, COALESCE(`product`.`product_media_id`, `product.parent`.`product_media_id`) as `product.coverId`, COALESCE(`product`.`product_media_version_id`, `product.parent`.`product_media_version_id`) as `product.productMediaVersionId`, COALESCE(`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`) as `product.deliveryTimeId`, COALESCE(`product`.`product_feature_set_id`, `product.parent`.`product_feature_set_id`) as `product.featureSetId`, COALESCE(`product`.`canonical_product_id`, `product.parent`.`canonical_product_id`) as `product.canonicalProductId`, COALESCE(`product`.`cms_page_id`, `product.parent`.`cms_page_id`) as `product.cmsPageId`, COALESCE(`product`.`cms_page_version_id`, `product.parent`.`cms_page_version_id`) as `product.cmsPageVersionId`, `product.parent`.`price` as `product.price.inherited`, COALESCE(`product`.`price`, `product.parent`.`price`) as `product.price`, `product`.`product_number` as `product.productNumber`, `product`.`stock` as `product.stock`, COALESCE(`product`.`restock_time`, `product.parent`.`restock_time`) as `product.restockTime`, `product`.`auto_increment` as `product.autoIncrement`, COALESCE(`product`.`active`, `product.parent`.`active`) as `product.active`, `product`.`available_stock` as `product.availableStock`, `product`.`available` as `product.available`, COALESCE(`product`.`is_closeout`, `product.parent`.`is_closeout`) as `product.isCloseout`, `product`.`display_group` as `product.displayGroup`, `product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`, COALESCE(`product`.`configurator_group_config`, `product.parent`.`configurator_group_config`) as `product.configuratorGroupConfig`, COALESCE(`product`.`main_variant_id`, `product.parent`.`main_variant_id`) as `product.mainVariantId`, COALESCE(`product`.`display_parent`, `product.parent`.`display_parent`) as `product.displayParent`, `product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`, COALESCE(`product`.`variant_listing_config`, `product.parent`.`variant_listing_config`) as `product.variantListingConfig`, `product`.`variant_restrictions` as `product.variantRestrictions`, COALESCE(`product`.`manufacturer_number`, `product.parent`.`manufacturer_number`) as `product.manufacturerNumber`, COALESCE(`product`.`ean`, `product.parent`.`ean`) as `product.ean`, COALESCE(`product`.`purchase_steps`, `product.parent`.`purchase_steps`) as `product.purchaseSteps`, COALESCE(`product`.`max_purchase`, `product.parent`.`max_purchase`) as `product.maxPurchase`, COALESCE(`product`.`min_purchase`, `product.parent`.`min_purchase`) as `product.minPurchase`, COALESCE(`product`.`purchase_unit`, `product.parent`.`purchase_unit`) as `product.purchaseUnit`, COALESCE(`product`.`reference_unit`, `product.parent`.`reference_unit`) as `product.referenceUnit`, COALESCE(`product`.`shipping_free`, `product.parent`.`shipping_free`) as `product.shippingFree`, `product.parent`.`purchase_prices` as `product.purchasePrices.inherited`, COALESCE(`product`.`purchase_prices`, `product.parent`.`purchase_prices`) as `product.purchasePrices`, COALESCE(`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`) as `product.markAsTopseller`, COALESCE(`product`.`weight`, `product.parent`.`weight`) as `product.weight`, COALESCE(`product`.`width`, `product.parent`.`width`) as `product.width`, COALESCE(`product`.`height`, `product.parent`.`height`) as `product.height`, COALESCE(`product`.`length`, `product.parent`.`length`) as `product.length`, COALESCE(`product`.`release_date`, `product.parent`.`release_date`) as `product.releaseDate`, COALESCE(`product`.`rating_average`, `product.parent`.`rating_average`) as `product.ratingAverage`, `product.parent`.`category_tree` as `product.categoryTree.inherited`, COALESCE(`product`.`category_tree`, `product.parent`.`category_tree`) as `product.categoryTree`, `product.parent`.`property_ids` as `product.propertyIds.inherited`, COALESCE(`product`.`property_ids`, `product.parent`.`property_ids`) as `product.propertyIds`, `product.parent`.`option_ids` as `product.optionIds.inherited`, COALESCE(`product`.`option_ids`, `product.parent`.`option_ids`) as `product.optionIds`, `product.parent`.`stream_ids` as `product.streamIds.inherited`, COALESCE(`product`.`stream_ids`, `product.parent`.`stream_ids`) as `product.streamIds`, `product.parent`.`tag_ids` as `product.tagIds.inherited`, COALESCE(`product`.`tag_ids`, `product.parent`.`tag_ids`) as `product.tagIds`, `product.parent`.`category_ids` as `product.categoryIds.inherited`, COALESCE(`product`.`category_ids`, `product.parent`.`category_ids`) as `product.categoryIds`, `product`.`child_count` as `product.childCount`, COALESCE(`product`.`custom_field_set_selection_active`, `product.parent`.`custom_field_set_selection_active`) as `product.customFieldSetSelectionActive`, `product`.`sales` as `product.sales`, `product`.`states` as `product.states`, `product.tax`.`id` as `product.tax.id`, `product.tax`.`tax_rate` as `product.tax.taxRate`, `product.tax`.`name` as `product.tax.name`, `product.tax`.`position` as `product.tax.position`, `product.tax`.`custom_fields` as `product.tax.customFields`, `product.tax`.`created_at` as `product.tax.createdAt`, `product.tax`.`updated_at` as `product.tax.updatedAt`, `product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`, COALESCE(`product`.`cheapest_price`, `product.parent`.`cheapest_price`) as `product.cheapestPrice`, `product`.`created_at` as `product.createdAt`, `product`.`updated_at` as `product.updatedAt`, `product.bundle`.`id` as `product.bundle.id`, `product.bundle`.`product_id` as `product.bundle.productId`, `product.bundle`.`product_version_id` as `product.bundle.productVersionId`, `product.bundle`.`name` as `product.bundle.name`, `product.bundle`.`price_type` as `product.bundle.priceType`, `product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`, `product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`, `product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`, `product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`, `product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`, `product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`, `product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`, `product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`, `product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`, `product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`, `product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`, `product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`, `product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`, `product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`, `product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`, `product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`, `product.bundle`.`created_at` as `product.bundle.createdAt`, `product.bundle`.`updated_at` as `product.bundle.updatedAt`, `product.cover`.`id` as `product.cover.id`, `product.cover`.`version_id` as `product.cover.versionId`, `product.cover`.`product_id` as `product.cover.productId`, `product.cover`.`product_version_id` as `product.cover.productVersionId`, `product.cover`.`media_id` as `product.cover.mediaId`, `product.cover`.`position` as `product.cover.position`, `product.cover.media`.`id` as `product.cover.media.id`, `product.cover.media`.`user_id` as `product.cover.media.userId`, `product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`, `product.cover.media`.`mime_type` as `product.cover.media.mimeType`, `product.cover.media`.`file_extension` as `product.cover.media.fileExtension`, `product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`, `product.cover.media`.`file_name` as `product.cover.media.fileName`, `product.cover.media`.`file_size` as `product.cover.media.fileSize`, `product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`, `product.cover.media`.`meta_data` as `product.cover.media.metaData`, `product.cover.media`.`private` as `product.cover.media.private`, `product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`, `product.cover.media`.`created_at` as `product.cover.media.createdAt`, `product.cover.media`.`updated_at` as `product.cover.media.updatedAt`, `product.cover.media.translation.title`, COALESCE(`product.cover.media.translation.title`,`product.cover.media.translation.title`) as `product.cover.media.title`, `product.cover.media.translation.alt`, COALESCE(`product.cover.media.translation.alt`,`product.cover.media.translation.alt`) as `product.cover.media.alt`, `product.cover.media.translation.customFields`, COALESCE(`product.cover.media.translation.customFields`,`product.cover.media.translation.customFields`) as `product.cover.media.customFields`, `product.cover.media.translation.createdAt`, `product.cover.media.translation.updatedAt`, `product.cover.media.translation.mediaId`, `product.cover.media.translation.languageId`, `product.cover`.`custom_fields` as `product.cover.customFields`, `product.cover`.`created_at` as `product.cover.createdAt`, `product.cover`.`updated_at` as `product.cover.updatedAt`, `product.translation.metaDescription`, `product.parent.translation.metaDescription`, COALESCE(`product.translation.metaDescription`,`product.parent.translation.metaDescription`,`product.translation.metaDescription`) as `product.metaDescription`, `product.translation.name`, `product.parent.translation.name`, COALESCE(`product.translation.name`,`product.parent.translation.name`,`product.translation.name`) as `product.name`, `product.translation.keywords`, `product.parent.translation.keywords`, COALESCE(`product.translation.keywords`,`product.parent.translation.keywords`,`product.translation.keywords`) as `product.keywords`, `product.translation.description`, `product.parent.translation.description`, COALESCE(`product.translation.description`,`product.parent.translation.description`,`product.translation.description`) as `product.description`, `product.translation.metaTitle`, `product.parent.translation.metaTitle`, COALESCE(`product.translation.metaTitle`,`product.parent.translation.metaTitle`,`product.translation.metaTitle`) as `product.metaTitle`, `product.translation.packUnit`, `product.parent.translation.packUnit`, COALESCE(`product.translation.packUnit`,`product.parent.translation.packUnit`,`product.translation.packUnit`) as `product.packUnit`, `product.translation.packUnitPlural`, `product.parent.translation.packUnitPlural`, COALESCE(`product.translation.packUnitPlural`,`product.parent.translation.packUnitPlural`,`product.translation.packUnitPlural`) as `product.packUnitPlural`, `product.translation.customSearchKeywords`, `product.parent.translation.customSearchKeywords`, COALESCE(`product.translation.customSearchKeywords`,`product.parent.translation.customSearchKeywords`,`product.translation.customSearchKeywords`) as `product.customSearchKeywords`, `product.translation.slotConfig`, `product.parent.translation.slotConfig`, COALESCE(`product.translation.slotConfig`,`product.parent.translation.slotConfig`,`product.translation.slotConfig`) as `product.slotConfig`, `product.translation.customFields`, `product.parent.translation.customFields`, COALESCE(`product.translation.customFields`,`product.parent.translation.customFields`,`product.translation.customFields`) as `product.customFields`, `product.translation.createdAt`, `product.parent.translation.createdAt`, `product.translation.updatedAt`, `product.parent.translation.updatedAt`, `product.translation.productId`, `product.parent.translation.productId`, `product.translation.languageId`, `product.parent.translation.languageId`, `product.translation.productVersionId`, `product.parent.translation.productVersionId` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN (SELECT `product.translation`.product_id, `product.translation`.product_version_id, `product.translation`.meta_description as `product.translation.metaDescription`, `product.translation`.name as `product.translation.name`, `product.translation`.keywords as `product.translation.keywords`, `product.translation`.description as `product.translation.description`, `product.translation`.meta_title as `product.translation.metaTitle`, `product.translation`.pack_unit as `product.translation.packUnit`, `product.translation`.pack_unit_plural as `product.translation.packUnitPlural`, `product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`, `product.translation`.slot_config as `product.translation.slotConfig`, `product.translation`.custom_fields as `product.translation.customFields`, `product.translation`.created_at as `product.translation.createdAt`, `product.translation`.updated_at as `product.translation.updatedAt`, `product.translation`.product_id as `product.translation.productId`, `product.translation`.language_id as `product.translation.languageId`, `product.translation`.product_version_id as `product.translation.productVersionId` FROM `product_translation` `product.translation` WHERE `product.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id` AND `product.product_translation`.product_version_id = `product`.version_id LEFT JOIN (SELECT `product.parent.translation`.product_id, `product.parent.translation`.product_version_id, `product.parent.translation`.meta_description as `product.parent.translation.metaDescription`, `product.parent.translation`.name as `product.parent.translation.name`, `product.parent.translation`.keywords as `product.parent.translation.keywords`, `product.parent.translation`.description as `product.parent.translation.description`, `product.parent.translation`.meta_title as `product.parent.translation.metaTitle`, `product.parent.translation`.pack_unit as `product.parent.translation.packUnit`, `product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`, `product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`, `product.parent.translation`.slot_config as `product.parent.translation.slotConfig`, `product.parent.translation`.custom_fields as `product.parent.translation.customFields`, `product.parent.translation`.created_at as `product.parent.translation.createdAt`, `product.parent.translation`.updated_at as `product.parent.translation.updatedAt`, `product.parent.translation`.product_id as `product.parent.translation.productId`, `product.parent.translation`.language_id as `product.parent.translation.languageId`, `product.parent.translation`.product_version_id as `product.parent.translation.productVersionId` FROM `product_translation` `product.parent.translation` WHERE `product.parent.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id` AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id` LEFT JOIN `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_id` LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id` AND `product`.`version_id` = `product.cover`.`version_id` LEFT JOIN `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`id` LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id` LEFT JOIN (SELECT `product.cover.media.translation`.media_id, `product.cover.media.translation`.title as `product.cover.media.translation.title`, `product.cover.media.translation`.alt as `product.cover.media.translation.alt`, `product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`, `product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`, `product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`, `product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`, `product.cover.media.translation`.language_id as `product.cover.media.translation.languageId` FROM `media_translation` `product.cover.media.translation` WHERE `product.cover.media.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id` WHERE (`product`.`version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425) AND (`product`.`id` IN (0x03F4EF144EC44C3E822790C652F7C3F6));
array:51 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 316)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetch (line 148)"
4 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 93)"
5 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::read (line 257)"
6 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::read (line 286)"
7 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::_search (line 106)"
8 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::search (line 51)"
9 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepositoryForwardCompatibilityDecorator::search (line 103)"
10 => "Bodymed\Webshop\StoreFront\Subscriber\ProductExtensionSubscriber::addParentCover (line 230)"
11 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
12 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
13 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
14 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
15 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
16 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 33)"
17 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
18 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 208)"
19 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::read (line 133)"
20 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 49)"
21 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariantsOfProduct (line 30)"
22 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariants (line 224)"
23 => "Bodymed\Webshop\Core\Content\Product\Cms\ProductSliderCmsElementResolver::enrich (line 99)"
24 => "Shopware\Core\Content\Cms\DataResolver\CmsSlotsDataResolver::resolve (line 104)"
25 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::loadSlotData (line 94)"
26 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::load (line 102)"
27 => "Shopware\Core\Content\Category\SalesChannel\CategoryRoute::load (line 103)"
28 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 350)"
29 => "Shopware\Core\System\SystemConfig\SystemConfigService::trace (line 44)"
30 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 120)"
31 => "Shopware\Core\Framework\Adapter\Translation\Translator::trace (line 45)"
32 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 46)"
33 => "Shopware\Core\Framework\Adapter\Cache\CacheTagCollection::trace (line 46)"
34 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::trace (line 41)"
35 => "Shopware\Storefront\Framework\Cache\CacheTracer::Shopware\Storefront\Framework\Cache\{closure} (line 59)"
36 => "Shopware\Storefront\Theme\ThemeConfigValueAccessor::trace (line 42)"
37 => "Shopware\Storefront\Framework\Cache\CacheTracer::trace (line 104)"
38 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 72)"
39 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
40 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 109)"
41 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 59)"
42 => "Shopware\Core\Profiling\Profiler::trace (line 112)"
43 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::load (line 66)"
44 => "Shopware\Storefront\Page\Navigation\NavigationPageLoader::load (line 48)"
45 => "Shopware\Storefront\Controller\NavigationController::home (line 163)"
46 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
47 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
48 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
49 => "Shopware\Core\HttpKernel::doHandle (line 81)"
50 => "Shopware\Core\HttpKernel::handle (line 75)"
]
|
77 |
0.59 ms |
SELECT * FROM sales_channel_api_context WHERE (sales_channel_id = :salesChannelId) AND (token = :token) LIMIT 1
SELECT * FROM sales_channel_api_context WHERE (sales_channel_id = 0x620A2217F7474E619CB00AD39E804CCA) AND (token = 'FwsxT47353Zxmr7lp0KSfYcVNkg5VpYR') LIMIT 1;
array:58 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 165)"
3 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextPersister::load (line 69)"
4 => "Bodymed\Webshop\Core\Subscriber\ProductSubscriber::addCustomerProductFeatureExtension (line 230)"
5 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
6 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
7 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
8 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
9 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
10 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 33)"
11 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
12 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 269)"
13 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::read (line 286)"
14 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::_search (line 106)"
15 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::search (line 51)"
16 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepositoryForwardCompatibilityDecorator::search (line 103)"
17 => "Bodymed\Webshop\StoreFront\Subscriber\ProductExtensionSubscriber::addParentCover (line 230)"
18 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
19 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
20 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
21 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
22 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
23 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 33)"
24 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
25 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 208)"
26 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::read (line 133)"
27 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 49)"
28 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariantsOfProduct (line 30)"
29 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariants (line 224)"
30 => "Bodymed\Webshop\Core\Content\Product\Cms\ProductSliderCmsElementResolver::enrich (line 99)"
31 => "Shopware\Core\Content\Cms\DataResolver\CmsSlotsDataResolver::resolve (line 104)"
32 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::loadSlotData (line 94)"
33 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::load (line 102)"
34 => "Shopware\Core\Content\Category\SalesChannel\CategoryRoute::load (line 103)"
35 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 350)"
36 => "Shopware\Core\System\SystemConfig\SystemConfigService::trace (line 44)"
37 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 120)"
38 => "Shopware\Core\Framework\Adapter\Translation\Translator::trace (line 45)"
39 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 46)"
40 => "Shopware\Core\Framework\Adapter\Cache\CacheTagCollection::trace (line 46)"
41 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::trace (line 41)"
42 => "Shopware\Storefront\Framework\Cache\CacheTracer::Shopware\Storefront\Framework\Cache\{closure} (line 59)"
43 => "Shopware\Storefront\Theme\ThemeConfigValueAccessor::trace (line 42)"
44 => "Shopware\Storefront\Framework\Cache\CacheTracer::trace (line 104)"
45 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 72)"
46 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
47 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 109)"
48 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 59)"
49 => "Shopware\Core\Profiling\Profiler::trace (line 112)"
50 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::load (line 66)"
51 => "Shopware\Storefront\Page\Navigation\NavigationPageLoader::load (line 48)"
52 => "Shopware\Storefront\Controller\NavigationController::home (line 163)"
53 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
54 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
55 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
56 => "Shopware\Core\HttpKernel::doHandle (line 81)"
57 => "Shopware\Core\HttpKernel::handle (line 75)"
]
|
78 |
22.61 ms |
SELECT `product`.`id` as `product.id`, `product`.`version_id` as `product.versionId`, `product`.`parent_id` as `product.parentId`, `product`.`parent_version_id` as `product.parentVersionId`, COALESCE(`product`.`product_manufacturer_id`, `product.parent`.`product_manufacturer_id`) as `product.manufacturerId`, COALESCE(`product`.`product_manufacturer_version_id`, `product.parent`.`product_manufacturer_version_id`) as `product.productManufacturerVersionId`, COALESCE(`product`.`unit_id`, `product.parent`.`unit_id`) as `product.unitId`, COALESCE(`product`.`tax_id`, `product.parent`.`tax_id`) as `product.taxId`, COALESCE(`product`.`product_media_id`, `product.parent`.`product_media_id`) as `product.coverId`, COALESCE(`product`.`product_media_version_id`, `product.parent`.`product_media_version_id`) as `product.productMediaVersionId`, COALESCE(`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`) as `product.deliveryTimeId`, COALESCE(`product`.`product_feature_set_id`, `product.parent`.`product_feature_set_id`) as `product.featureSetId`, COALESCE(`product`.`canonical_product_id`, `product.parent`.`canonical_product_id`) as `product.canonicalProductId`, COALESCE(`product`.`cms_page_id`, `product.parent`.`cms_page_id`) as `product.cmsPageId`, COALESCE(`product`.`cms_page_version_id`, `product.parent`.`cms_page_version_id`) as `product.cmsPageVersionId`, `product.parent`.`price` as `product.price.inherited`, COALESCE(`product`.`price`, `product.parent`.`price`) as `product.price`, `product`.`product_number` as `product.productNumber`, `product`.`stock` as `product.stock`, COALESCE(`product`.`restock_time`, `product.parent`.`restock_time`) as `product.restockTime`, `product`.`auto_increment` as `product.autoIncrement`, COALESCE(`product`.`active`, `product.parent`.`active`) as `product.active`, `product`.`available_stock` as `product.availableStock`, `product`.`available` as `product.available`, COALESCE(`product`.`is_closeout`, `product.parent`.`is_closeout`) as `product.isCloseout`, `product`.`display_group` as `product.displayGroup`, `product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`, COALESCE(`product`.`configurator_group_config`, `product.parent`.`configurator_group_config`) as `product.configuratorGroupConfig`, COALESCE(`product`.`main_variant_id`, `product.parent`.`main_variant_id`) as `product.mainVariantId`, COALESCE(`product`.`display_parent`, `product.parent`.`display_parent`) as `product.displayParent`, `product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`, COALESCE(`product`.`variant_listing_config`, `product.parent`.`variant_listing_config`) as `product.variantListingConfig`, `product`.`variant_restrictions` as `product.variantRestrictions`, COALESCE(`product`.`manufacturer_number`, `product.parent`.`manufacturer_number`) as `product.manufacturerNumber`, COALESCE(`product`.`ean`, `product.parent`.`ean`) as `product.ean`, COALESCE(`product`.`purchase_steps`, `product.parent`.`purchase_steps`) as `product.purchaseSteps`, COALESCE(`product`.`max_purchase`, `product.parent`.`max_purchase`) as `product.maxPurchase`, COALESCE(`product`.`min_purchase`, `product.parent`.`min_purchase`) as `product.minPurchase`, COALESCE(`product`.`purchase_unit`, `product.parent`.`purchase_unit`) as `product.purchaseUnit`, COALESCE(`product`.`reference_unit`, `product.parent`.`reference_unit`) as `product.referenceUnit`, COALESCE(`product`.`shipping_free`, `product.parent`.`shipping_free`) as `product.shippingFree`, `product.parent`.`purchase_prices` as `product.purchasePrices.inherited`, COALESCE(`product`.`purchase_prices`, `product.parent`.`purchase_prices`) as `product.purchasePrices`, COALESCE(`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`) as `product.markAsTopseller`, COALESCE(`product`.`weight`, `product.parent`.`weight`) as `product.weight`, COALESCE(`product`.`width`, `product.parent`.`width`) as `product.width`, COALESCE(`product`.`height`, `product.parent`.`height`) as `product.height`, COALESCE(`product`.`length`, `product.parent`.`length`) as `product.length`, COALESCE(`product`.`release_date`, `product.parent`.`release_date`) as `product.releaseDate`, COALESCE(`product`.`rating_average`, `product.parent`.`rating_average`) as `product.ratingAverage`, `product.parent`.`category_tree` as `product.categoryTree.inherited`, COALESCE(`product`.`category_tree`, `product.parent`.`category_tree`) as `product.categoryTree`, `product.parent`.`property_ids` as `product.propertyIds.inherited`, COALESCE(`product`.`property_ids`, `product.parent`.`property_ids`) as `product.propertyIds`, `product.parent`.`option_ids` as `product.optionIds.inherited`, COALESCE(`product`.`option_ids`, `product.parent`.`option_ids`) as `product.optionIds`, `product.parent`.`stream_ids` as `product.streamIds.inherited`, COALESCE(`product`.`stream_ids`, `product.parent`.`stream_ids`) as `product.streamIds`, `product.parent`.`tag_ids` as `product.tagIds.inherited`, COALESCE(`product`.`tag_ids`, `product.parent`.`tag_ids`) as `product.tagIds`, `product.parent`.`category_ids` as `product.categoryIds.inherited`, COALESCE(`product`.`category_ids`, `product.parent`.`category_ids`) as `product.categoryIds`, `product`.`child_count` as `product.childCount`, COALESCE(`product`.`custom_field_set_selection_active`, `product.parent`.`custom_field_set_selection_active`) as `product.customFieldSetSelectionActive`, `product`.`sales` as `product.sales`, `product`.`states` as `product.states`, `product.tax`.`id` as `product.tax.id`, `product.tax`.`tax_rate` as `product.tax.taxRate`, `product.tax`.`name` as `product.tax.name`, `product.tax`.`position` as `product.tax.position`, `product.tax`.`custom_fields` as `product.tax.customFields`, `product.tax`.`created_at` as `product.tax.createdAt`, `product.tax`.`updated_at` as `product.tax.updatedAt`, `product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`, COALESCE(`product`.`cheapest_price`, `product.parent`.`cheapest_price`) as `product.cheapestPrice`, `product`.`created_at` as `product.createdAt`, `product`.`updated_at` as `product.updatedAt`, `product.bundle`.`id` as `product.bundle.id`, `product.bundle`.`product_id` as `product.bundle.productId`, `product.bundle`.`product_version_id` as `product.bundle.productVersionId`, `product.bundle`.`name` as `product.bundle.name`, `product.bundle`.`price_type` as `product.bundle.priceType`, `product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`, `product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`, `product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`, `product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`, `product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`, `product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`, `product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`, `product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`, `product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`, `product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`, `product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`, `product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`, `product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`, `product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`, `product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`, `product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`, `product.bundle`.`created_at` as `product.bundle.createdAt`, `product.bundle`.`updated_at` as `product.bundle.updatedAt`, `product.cover`.`id` as `product.cover.id`, `product.cover`.`version_id` as `product.cover.versionId`, `product.cover`.`product_id` as `product.cover.productId`, `product.cover`.`product_version_id` as `product.cover.productVersionId`, `product.cover`.`media_id` as `product.cover.mediaId`, `product.cover`.`position` as `product.cover.position`, `product.cover.media`.`id` as `product.cover.media.id`, `product.cover.media`.`user_id` as `product.cover.media.userId`, `product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`, `product.cover.media`.`mime_type` as `product.cover.media.mimeType`, `product.cover.media`.`file_extension` as `product.cover.media.fileExtension`, `product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`, `product.cover.media`.`file_name` as `product.cover.media.fileName`, `product.cover.media`.`file_size` as `product.cover.media.fileSize`, `product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`, `product.cover.media`.`meta_data` as `product.cover.media.metaData`, `product.cover.media`.`private` as `product.cover.media.private`, `product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`, `product.cover.media`.`created_at` as `product.cover.media.createdAt`, `product.cover.media`.`updated_at` as `product.cover.media.updatedAt`, `product.cover.media.translation.title`, COALESCE(`product.cover.media.translation.title`,`product.cover.media.translation.title`) as `product.cover.media.title`, `product.cover.media.translation.alt`, COALESCE(`product.cover.media.translation.alt`,`product.cover.media.translation.alt`) as `product.cover.media.alt`, `product.cover.media.translation.customFields`, COALESCE(`product.cover.media.translation.customFields`,`product.cover.media.translation.customFields`) as `product.cover.media.customFields`, `product.cover.media.translation.createdAt`, `product.cover.media.translation.updatedAt`, `product.cover.media.translation.mediaId`, `product.cover.media.translation.languageId`, `product.cover`.`custom_fields` as `product.cover.customFields`, `product.cover`.`created_at` as `product.cover.createdAt`, `product.cover`.`updated_at` as `product.cover.updatedAt`, `product.translation.metaDescription`, `product.parent.translation.metaDescription`, COALESCE(`product.translation.metaDescription`,`product.parent.translation.metaDescription`,`product.translation.metaDescription`) as `product.metaDescription`, `product.translation.name`, `product.parent.translation.name`, COALESCE(`product.translation.name`,`product.parent.translation.name`,`product.translation.name`) as `product.name`, `product.translation.keywords`, `product.parent.translation.keywords`, COALESCE(`product.translation.keywords`,`product.parent.translation.keywords`,`product.translation.keywords`) as `product.keywords`, `product.translation.description`, `product.parent.translation.description`, COALESCE(`product.translation.description`,`product.parent.translation.description`,`product.translation.description`) as `product.description`, `product.translation.metaTitle`, `product.parent.translation.metaTitle`, COALESCE(`product.translation.metaTitle`,`product.parent.translation.metaTitle`,`product.translation.metaTitle`) as `product.metaTitle`, `product.translation.packUnit`, `product.parent.translation.packUnit`, COALESCE(`product.translation.packUnit`,`product.parent.translation.packUnit`,`product.translation.packUnit`) as `product.packUnit`, `product.translation.packUnitPlural`, `product.parent.translation.packUnitPlural`, COALESCE(`product.translation.packUnitPlural`,`product.parent.translation.packUnitPlural`,`product.translation.packUnitPlural`) as `product.packUnitPlural`, `product.translation.customSearchKeywords`, `product.parent.translation.customSearchKeywords`, COALESCE(`product.translation.customSearchKeywords`,`product.parent.translation.customSearchKeywords`,`product.translation.customSearchKeywords`) as `product.customSearchKeywords`, `product.translation.slotConfig`, `product.parent.translation.slotConfig`, COALESCE(`product.translation.slotConfig`,`product.parent.translation.slotConfig`,`product.translation.slotConfig`) as `product.slotConfig`, `product.translation.customFields`, `product.parent.translation.customFields`, COALESCE(`product.translation.customFields`,`product.parent.translation.customFields`,`product.translation.customFields`) as `product.customFields`, `product.translation.createdAt`, `product.parent.translation.createdAt`, `product.translation.updatedAt`, `product.parent.translation.updatedAt`, `product.translation.productId`, `product.parent.translation.productId`, `product.translation.languageId`, `product.parent.translation.languageId`, `product.translation.productVersionId`, `product.parent.translation.productVersionId` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN (SELECT `product.translation`.product_id, `product.translation`.product_version_id, `product.translation`.meta_description as `product.translation.metaDescription`, `product.translation`.name as `product.translation.name`, `product.translation`.keywords as `product.translation.keywords`, `product.translation`.description as `product.translation.description`, `product.translation`.meta_title as `product.translation.metaTitle`, `product.translation`.pack_unit as `product.translation.packUnit`, `product.translation`.pack_unit_plural as `product.translation.packUnitPlural`, `product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`, `product.translation`.slot_config as `product.translation.slotConfig`, `product.translation`.custom_fields as `product.translation.customFields`, `product.translation`.created_at as `product.translation.createdAt`, `product.translation`.updated_at as `product.translation.updatedAt`, `product.translation`.product_id as `product.translation.productId`, `product.translation`.language_id as `product.translation.languageId`, `product.translation`.product_version_id as `product.translation.productVersionId` FROM `product_translation` `product.translation` WHERE `product.translation`.language_id = :languageId) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id` AND `product.product_translation`.product_version_id = `product`.version_id LEFT JOIN (SELECT `product.parent.translation`.product_id, `product.parent.translation`.product_version_id, `product.parent.translation`.meta_description as `product.parent.translation.metaDescription`, `product.parent.translation`.name as `product.parent.translation.name`, `product.parent.translation`.keywords as `product.parent.translation.keywords`, `product.parent.translation`.description as `product.parent.translation.description`, `product.parent.translation`.meta_title as `product.parent.translation.metaTitle`, `product.parent.translation`.pack_unit as `product.parent.translation.packUnit`, `product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`, `product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`, `product.parent.translation`.slot_config as `product.parent.translation.slotConfig`, `product.parent.translation`.custom_fields as `product.parent.translation.customFields`, `product.parent.translation`.created_at as `product.parent.translation.createdAt`, `product.parent.translation`.updated_at as `product.parent.translation.updatedAt`, `product.parent.translation`.product_id as `product.parent.translation.productId`, `product.parent.translation`.language_id as `product.parent.translation.languageId`, `product.parent.translation`.product_version_id as `product.parent.translation.productVersionId` FROM `product_translation` `product.parent.translation` WHERE `product.parent.translation`.language_id = :languageId) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id` AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id` LEFT JOIN `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_id` LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id` AND `product`.`version_id` = `product.cover`.`version_id` LEFT JOIN `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`id` LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id` LEFT JOIN (SELECT `product.cover.media.translation`.media_id, `product.cover.media.translation`.title as `product.cover.media.translation.title`, `product.cover.media.translation`.alt as `product.cover.media.translation.alt`, `product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`, `product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`, `product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`, `product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`, `product.cover.media.translation`.language_id as `product.cover.media.translation.languageId` FROM `media_translation` `product.cover.media.translation` WHERE `product.cover.media.translation`.language_id = :languageId) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id` WHERE (`product`.`version_id` = :version) AND (`product`.`id` IN (:ids))
SELECT
`product`.`id` as `product.id`,
`product`.`version_id` as `product.versionId`,
`product`.`parent_id` as `product.parentId`,
`product`.`parent_version_id` as `product.parentVersionId`,
COALESCE(
`product`.`product_manufacturer_id`,
`product.parent`.`product_manufacturer_id`
) as `product.manufacturerId`,
COALESCE(
`product`.`product_manufacturer_version_id`,
`product.parent`.`product_manufacturer_version_id`
) as `product.productManufacturerVersionId`,
COALESCE(
`product`.`unit_id`, `product.parent`.`unit_id`
) as `product.unitId`,
COALESCE(
`product`.`tax_id`, `product.parent`.`tax_id`
) as `product.taxId`,
COALESCE(
`product`.`product_media_id`, `product.parent`.`product_media_id`
) as `product.coverId`,
COALESCE(
`product`.`product_media_version_id`,
`product.parent`.`product_media_version_id`
) as `product.productMediaVersionId`,
COALESCE(
`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`
) as `product.deliveryTimeId`,
COALESCE(
`product`.`product_feature_set_id`,
`product.parent`.`product_feature_set_id`
) as `product.featureSetId`,
COALESCE(
`product`.`canonical_product_id`,
`product.parent`.`canonical_product_id`
) as `product.canonicalProductId`,
COALESCE(
`product`.`cms_page_id`, `product.parent`.`cms_page_id`
) as `product.cmsPageId`,
COALESCE(
`product`.`cms_page_version_id`,
`product.parent`.`cms_page_version_id`
) as `product.cmsPageVersionId`,
`product.parent`.`price` as `product.price.inherited`,
COALESCE(
`product`.`price`, `product.parent`.`price`
) as `product.price`,
`product`.`product_number` as `product.productNumber`,
`product`.`stock` as `product.stock`,
COALESCE(
`product`.`restock_time`, `product.parent`.`restock_time`
) as `product.restockTime`,
`product`.`auto_increment` as `product.autoIncrement`,
COALESCE(
`product`.`active`, `product.parent`.`active`
) as `product.active`,
`product`.`available_stock` as `product.availableStock`,
`product`.`available` as `product.available`,
COALESCE(
`product`.`is_closeout`, `product.parent`.`is_closeout`
) as `product.isCloseout`,
`product`.`display_group` as `product.displayGroup`,
`product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`,
COALESCE(
`product`.`configurator_group_config`,
`product.parent`.`configurator_group_config`
) as `product.configuratorGroupConfig`,
COALESCE(
`product`.`main_variant_id`, `product.parent`.`main_variant_id`
) as `product.mainVariantId`,
COALESCE(
`product`.`display_parent`, `product.parent`.`display_parent`
) as `product.displayParent`,
`product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`,
COALESCE(
`product`.`variant_listing_config`,
`product.parent`.`variant_listing_config`
) as `product.variantListingConfig`,
`product`.`variant_restrictions` as `product.variantRestrictions`,
COALESCE(
`product`.`manufacturer_number`,
`product.parent`.`manufacturer_number`
) as `product.manufacturerNumber`,
COALESCE(
`product`.`ean`, `product.parent`.`ean`
) as `product.ean`,
COALESCE(
`product`.`purchase_steps`, `product.parent`.`purchase_steps`
) as `product.purchaseSteps`,
COALESCE(
`product`.`max_purchase`, `product.parent`.`max_purchase`
) as `product.maxPurchase`,
COALESCE(
`product`.`min_purchase`, `product.parent`.`min_purchase`
) as `product.minPurchase`,
COALESCE(
`product`.`purchase_unit`, `product.parent`.`purchase_unit`
) as `product.purchaseUnit`,
COALESCE(
`product`.`reference_unit`, `product.parent`.`reference_unit`
) as `product.referenceUnit`,
COALESCE(
`product`.`shipping_free`, `product.parent`.`shipping_free`
) as `product.shippingFree`,
`product.parent`.`purchase_prices` as `product.purchasePrices.inherited`,
COALESCE(
`product`.`purchase_prices`, `product.parent`.`purchase_prices`
) as `product.purchasePrices`,
COALESCE(
`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`
) as `product.markAsTopseller`,
COALESCE(
`product`.`weight`, `product.parent`.`weight`
) as `product.weight`,
COALESCE(
`product`.`width`, `product.parent`.`width`
) as `product.width`,
COALESCE(
`product`.`height`, `product.parent`.`height`
) as `product.height`,
COALESCE(
`product`.`length`, `product.parent`.`length`
) as `product.length`,
COALESCE(
`product`.`release_date`, `product.parent`.`release_date`
) as `product.releaseDate`,
COALESCE(
`product`.`rating_average`, `product.parent`.`rating_average`
) as `product.ratingAverage`,
`product.parent`.`category_tree` as `product.categoryTree.inherited`,
COALESCE(
`product`.`category_tree`, `product.parent`.`category_tree`
) as `product.categoryTree`,
`product.parent`.`property_ids` as `product.propertyIds.inherited`,
COALESCE(
`product`.`property_ids`, `product.parent`.`property_ids`
) as `product.propertyIds`,
`product.parent`.`option_ids` as `product.optionIds.inherited`,
COALESCE(
`product`.`option_ids`, `product.parent`.`option_ids`
) as `product.optionIds`,
`product.parent`.`stream_ids` as `product.streamIds.inherited`,
COALESCE(
`product`.`stream_ids`, `product.parent`.`stream_ids`
) as `product.streamIds`,
`product.parent`.`tag_ids` as `product.tagIds.inherited`,
COALESCE(
`product`.`tag_ids`, `product.parent`.`tag_ids`
) as `product.tagIds`,
`product.parent`.`category_ids` as `product.categoryIds.inherited`,
COALESCE(
`product`.`category_ids`, `product.parent`.`category_ids`
) as `product.categoryIds`,
`product`.`child_count` as `product.childCount`,
COALESCE(
`product`.`custom_field_set_selection_active`,
`product.parent`.`custom_field_set_selection_active`
) as `product.customFieldSetSelectionActive`,
`product`.`sales` as `product.sales`,
`product`.`states` as `product.states`,
`product.tax`.`id` as `product.tax.id`,
`product.tax`.`tax_rate` as `product.tax.taxRate`,
`product.tax`.`name` as `product.tax.name`,
`product.tax`.`position` as `product.tax.position`,
`product.tax`.`custom_fields` as `product.tax.customFields`,
`product.tax`.`created_at` as `product.tax.createdAt`,
`product.tax`.`updated_at` as `product.tax.updatedAt`,
`product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`,
COALESCE(
`product`.`cheapest_price`, `product.parent`.`cheapest_price`
) as `product.cheapestPrice`,
`product`.`created_at` as `product.createdAt`,
`product`.`updated_at` as `product.updatedAt`,
`product.bundle`.`id` as `product.bundle.id`,
`product.bundle`.`product_id` as `product.bundle.productId`,
`product.bundle`.`product_version_id` as `product.bundle.productVersionId`,
`product.bundle`.`name` as `product.bundle.name`,
`product.bundle`.`price_type` as `product.bundle.priceType`,
`product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`,
`product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`,
`product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`,
`product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`,
`product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`,
`product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`,
`product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`,
`product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`,
`product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`,
`product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`,
`product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`,
`product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`,
`product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`,
`product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`,
`product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`,
`product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`,
`product.bundle`.`created_at` as `product.bundle.createdAt`,
`product.bundle`.`updated_at` as `product.bundle.updatedAt`,
`product.cover`.`id` as `product.cover.id`,
`product.cover`.`version_id` as `product.cover.versionId`,
`product.cover`.`product_id` as `product.cover.productId`,
`product.cover`.`product_version_id` as `product.cover.productVersionId`,
`product.cover`.`media_id` as `product.cover.mediaId`,
`product.cover`.`position` as `product.cover.position`,
`product.cover.media`.`id` as `product.cover.media.id`,
`product.cover.media`.`user_id` as `product.cover.media.userId`,
`product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`,
`product.cover.media`.`mime_type` as `product.cover.media.mimeType`,
`product.cover.media`.`file_extension` as `product.cover.media.fileExtension`,
`product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`,
`product.cover.media`.`file_name` as `product.cover.media.fileName`,
`product.cover.media`.`file_size` as `product.cover.media.fileSize`,
`product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`,
`product.cover.media`.`meta_data` as `product.cover.media.metaData`,
`product.cover.media`.`private` as `product.cover.media.private`,
`product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`,
`product.cover.media`.`created_at` as `product.cover.media.createdAt`,
`product.cover.media`.`updated_at` as `product.cover.media.updatedAt`,
`product.cover.media.translation.title`,
COALESCE(
`product.cover.media.translation.title`,
`product.cover.media.translation.title`
) as `product.cover.media.title`,
`product.cover.media.translation.alt`,
COALESCE(
`product.cover.media.translation.alt`,
`product.cover.media.translation.alt`
) as `product.cover.media.alt`,
`product.cover.media.translation.customFields`,
COALESCE(
`product.cover.media.translation.customFields`,
`product.cover.media.translation.customFields`
) as `product.cover.media.customFields`,
`product.cover.media.translation.createdAt`,
`product.cover.media.translation.updatedAt`,
`product.cover.media.translation.mediaId`,
`product.cover.media.translation.languageId`,
`product.cover`.`custom_fields` as `product.cover.customFields`,
`product.cover`.`created_at` as `product.cover.createdAt`,
`product.cover`.`updated_at` as `product.cover.updatedAt`,
`product.translation.metaDescription`,
`product.parent.translation.metaDescription`,
COALESCE(
`product.translation.metaDescription`,
`product.parent.translation.metaDescription`,
`product.translation.metaDescription`
) as `product.metaDescription`,
`product.translation.name`,
`product.parent.translation.name`,
COALESCE(
`product.translation.name`, `product.parent.translation.name`,
`product.translation.name`
) as `product.name`,
`product.translation.keywords`,
`product.parent.translation.keywords`,
COALESCE(
`product.translation.keywords`,
`product.parent.translation.keywords`,
`product.translation.keywords`
) as `product.keywords`,
`product.translation.description`,
`product.parent.translation.description`,
COALESCE(
`product.translation.description`,
`product.parent.translation.description`,
`product.translation.description`
) as `product.description`,
`product.translation.metaTitle`,
`product.parent.translation.metaTitle`,
COALESCE(
`product.translation.metaTitle`,
`product.parent.translation.metaTitle`,
`product.translation.metaTitle`
) as `product.metaTitle`,
`product.translation.packUnit`,
`product.parent.translation.packUnit`,
COALESCE(
`product.translation.packUnit`,
`product.parent.translation.packUnit`,
`product.translation.packUnit`
) as `product.packUnit`,
`product.translation.packUnitPlural`,
`product.parent.translation.packUnitPlural`,
COALESCE(
`product.translation.packUnitPlural`,
`product.parent.translation.packUnitPlural`,
`product.translation.packUnitPlural`
) as `product.packUnitPlural`,
`product.translation.customSearchKeywords`,
`product.parent.translation.customSearchKeywords`,
COALESCE(
`product.translation.customSearchKeywords`,
`product.parent.translation.customSearchKeywords`,
`product.translation.customSearchKeywords`
) as `product.customSearchKeywords`,
`product.translation.slotConfig`,
`product.parent.translation.slotConfig`,
COALESCE(
`product.translation.slotConfig`,
`product.parent.translation.slotConfig`,
`product.translation.slotConfig`
) as `product.slotConfig`,
`product.translation.customFields`,
`product.parent.translation.customFields`,
COALESCE(
`product.translation.customFields`,
`product.parent.translation.customFields`,
`product.translation.customFields`
) as `product.customFields`,
`product.translation.createdAt`,
`product.parent.translation.createdAt`,
`product.translation.updatedAt`,
`product.parent.translation.updatedAt`,
`product.translation.productId`,
`product.parent.translation.productId`,
`product.translation.languageId`,
`product.parent.translation.languageId`,
`product.translation.productVersionId`,
`product.parent.translation.productVersionId`
FROM
`product`
LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id`
AND `product`.`version_id` = `product.parent`.`version_id`
LEFT JOIN (
SELECT
`product.translation`.product_id,
`product.translation`.product_version_id,
`product.translation`.meta_description as `product.translation.metaDescription`,
`product.translation`.name as `product.translation.name`,
`product.translation`.keywords as `product.translation.keywords`,
`product.translation`.description as `product.translation.description`,
`product.translation`.meta_title as `product.translation.metaTitle`,
`product.translation`.pack_unit as `product.translation.packUnit`,
`product.translation`.pack_unit_plural as `product.translation.packUnitPlural`,
`product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`,
`product.translation`.slot_config as `product.translation.slotConfig`,
`product.translation`.custom_fields as `product.translation.customFields`,
`product.translation`.created_at as `product.translation.createdAt`,
`product.translation`.updated_at as `product.translation.updatedAt`,
`product.translation`.product_id as `product.translation.productId`,
`product.translation`.language_id as `product.translation.languageId`,
`product.translation`.product_version_id as `product.translation.productVersionId`
FROM
`product_translation` `product.translation`
WHERE
`product.translation`.language_id = : languageId
) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id`
AND `product.product_translation`.product_version_id = `product`.version_id
LEFT JOIN (
SELECT
`product.parent.translation`.product_id,
`product.parent.translation`.product_version_id,
`product.parent.translation`.meta_description as `product.parent.translation.metaDescription`,
`product.parent.translation`.name as `product.parent.translation.name`,
`product.parent.translation`.keywords as `product.parent.translation.keywords`,
`product.parent.translation`.description as `product.parent.translation.description`,
`product.parent.translation`.meta_title as `product.parent.translation.metaTitle`,
`product.parent.translation`.pack_unit as `product.parent.translation.packUnit`,
`product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`,
`product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`,
`product.parent.translation`.slot_config as `product.parent.translation.slotConfig`,
`product.parent.translation`.custom_fields as `product.parent.translation.customFields`,
`product.parent.translation`.created_at as `product.parent.translation.createdAt`,
`product.parent.translation`.updated_at as `product.parent.translation.updatedAt`,
`product.parent.translation`.product_id as `product.parent.translation.productId`,
`product.parent.translation`.language_id as `product.parent.translation.languageId`,
`product.parent.translation`.product_version_id as `product.parent.translation.productVersionId`
FROM
`product_translation` `product.parent.translation`
WHERE
`product.parent.translation`.language_id = : languageId
) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id`
AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id
LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id`
LEFT JOIN `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_id`
LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id`
AND `product`.`version_id` = `product.cover`.`version_id`
LEFT JOIN `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id`
LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id`
LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`id`
LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id`
LEFT JOIN (
SELECT
`product.cover.media.translation`.media_id,
`product.cover.media.translation`.title as `product.cover.media.translation.title`,
`product.cover.media.translation`.alt as `product.cover.media.translation.alt`,
`product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`,
`product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`,
`product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`,
`product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`,
`product.cover.media.translation`.language_id as `product.cover.media.translation.languageId`
FROM
`media_translation` `product.cover.media.translation`
WHERE
`product.cover.media.translation`.language_id = : languageId
) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id`
WHERE
(
`product`.`version_id` = : version
)
AND (
`product`.`id` IN (: ids)
)
SELECT `product`.`id` as `product.id`, `product`.`version_id` as `product.versionId`, `product`.`parent_id` as `product.parentId`, `product`.`parent_version_id` as `product.parentVersionId`, COALESCE(`product`.`product_manufacturer_id`, `product.parent`.`product_manufacturer_id`) as `product.manufacturerId`, COALESCE(`product`.`product_manufacturer_version_id`, `product.parent`.`product_manufacturer_version_id`) as `product.productManufacturerVersionId`, COALESCE(`product`.`unit_id`, `product.parent`.`unit_id`) as `product.unitId`, COALESCE(`product`.`tax_id`, `product.parent`.`tax_id`) as `product.taxId`, COALESCE(`product`.`product_media_id`, `product.parent`.`product_media_id`) as `product.coverId`, COALESCE(`product`.`product_media_version_id`, `product.parent`.`product_media_version_id`) as `product.productMediaVersionId`, COALESCE(`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`) as `product.deliveryTimeId`, COALESCE(`product`.`product_feature_set_id`, `product.parent`.`product_feature_set_id`) as `product.featureSetId`, COALESCE(`product`.`canonical_product_id`, `product.parent`.`canonical_product_id`) as `product.canonicalProductId`, COALESCE(`product`.`cms_page_id`, `product.parent`.`cms_page_id`) as `product.cmsPageId`, COALESCE(`product`.`cms_page_version_id`, `product.parent`.`cms_page_version_id`) as `product.cmsPageVersionId`, `product.parent`.`price` as `product.price.inherited`, COALESCE(`product`.`price`, `product.parent`.`price`) as `product.price`, `product`.`product_number` as `product.productNumber`, `product`.`stock` as `product.stock`, COALESCE(`product`.`restock_time`, `product.parent`.`restock_time`) as `product.restockTime`, `product`.`auto_increment` as `product.autoIncrement`, COALESCE(`product`.`active`, `product.parent`.`active`) as `product.active`, `product`.`available_stock` as `product.availableStock`, `product`.`available` as `product.available`, COALESCE(`product`.`is_closeout`, `product.parent`.`is_closeout`) as `product.isCloseout`, `product`.`display_group` as `product.displayGroup`, `product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`, COALESCE(`product`.`configurator_group_config`, `product.parent`.`configurator_group_config`) as `product.configuratorGroupConfig`, COALESCE(`product`.`main_variant_id`, `product.parent`.`main_variant_id`) as `product.mainVariantId`, COALESCE(`product`.`display_parent`, `product.parent`.`display_parent`) as `product.displayParent`, `product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`, COALESCE(`product`.`variant_listing_config`, `product.parent`.`variant_listing_config`) as `product.variantListingConfig`, `product`.`variant_restrictions` as `product.variantRestrictions`, COALESCE(`product`.`manufacturer_number`, `product.parent`.`manufacturer_number`) as `product.manufacturerNumber`, COALESCE(`product`.`ean`, `product.parent`.`ean`) as `product.ean`, COALESCE(`product`.`purchase_steps`, `product.parent`.`purchase_steps`) as `product.purchaseSteps`, COALESCE(`product`.`max_purchase`, `product.parent`.`max_purchase`) as `product.maxPurchase`, COALESCE(`product`.`min_purchase`, `product.parent`.`min_purchase`) as `product.minPurchase`, COALESCE(`product`.`purchase_unit`, `product.parent`.`purchase_unit`) as `product.purchaseUnit`, COALESCE(`product`.`reference_unit`, `product.parent`.`reference_unit`) as `product.referenceUnit`, COALESCE(`product`.`shipping_free`, `product.parent`.`shipping_free`) as `product.shippingFree`, `product.parent`.`purchase_prices` as `product.purchasePrices.inherited`, COALESCE(`product`.`purchase_prices`, `product.parent`.`purchase_prices`) as `product.purchasePrices`, COALESCE(`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`) as `product.markAsTopseller`, COALESCE(`product`.`weight`, `product.parent`.`weight`) as `product.weight`, COALESCE(`product`.`width`, `product.parent`.`width`) as `product.width`, COALESCE(`product`.`height`, `product.parent`.`height`) as `product.height`, COALESCE(`product`.`length`, `product.parent`.`length`) as `product.length`, COALESCE(`product`.`release_date`, `product.parent`.`release_date`) as `product.releaseDate`, COALESCE(`product`.`rating_average`, `product.parent`.`rating_average`) as `product.ratingAverage`, `product.parent`.`category_tree` as `product.categoryTree.inherited`, COALESCE(`product`.`category_tree`, `product.parent`.`category_tree`) as `product.categoryTree`, `product.parent`.`property_ids` as `product.propertyIds.inherited`, COALESCE(`product`.`property_ids`, `product.parent`.`property_ids`) as `product.propertyIds`, `product.parent`.`option_ids` as `product.optionIds.inherited`, COALESCE(`product`.`option_ids`, `product.parent`.`option_ids`) as `product.optionIds`, `product.parent`.`stream_ids` as `product.streamIds.inherited`, COALESCE(`product`.`stream_ids`, `product.parent`.`stream_ids`) as `product.streamIds`, `product.parent`.`tag_ids` as `product.tagIds.inherited`, COALESCE(`product`.`tag_ids`, `product.parent`.`tag_ids`) as `product.tagIds`, `product.parent`.`category_ids` as `product.categoryIds.inherited`, COALESCE(`product`.`category_ids`, `product.parent`.`category_ids`) as `product.categoryIds`, `product`.`child_count` as `product.childCount`, COALESCE(`product`.`custom_field_set_selection_active`, `product.parent`.`custom_field_set_selection_active`) as `product.customFieldSetSelectionActive`, `product`.`sales` as `product.sales`, `product`.`states` as `product.states`, `product.tax`.`id` as `product.tax.id`, `product.tax`.`tax_rate` as `product.tax.taxRate`, `product.tax`.`name` as `product.tax.name`, `product.tax`.`position` as `product.tax.position`, `product.tax`.`custom_fields` as `product.tax.customFields`, `product.tax`.`created_at` as `product.tax.createdAt`, `product.tax`.`updated_at` as `product.tax.updatedAt`, `product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`, COALESCE(`product`.`cheapest_price`, `product.parent`.`cheapest_price`) as `product.cheapestPrice`, `product`.`created_at` as `product.createdAt`, `product`.`updated_at` as `product.updatedAt`, `product.bundle`.`id` as `product.bundle.id`, `product.bundle`.`product_id` as `product.bundle.productId`, `product.bundle`.`product_version_id` as `product.bundle.productVersionId`, `product.bundle`.`name` as `product.bundle.name`, `product.bundle`.`price_type` as `product.bundle.priceType`, `product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`, `product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`, `product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`, `product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`, `product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`, `product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`, `product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`, `product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`, `product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`, `product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`, `product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`, `product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`, `product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`, `product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`, `product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`, `product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`, `product.bundle`.`created_at` as `product.bundle.createdAt`, `product.bundle`.`updated_at` as `product.bundle.updatedAt`, `product.cover`.`id` as `product.cover.id`, `product.cover`.`version_id` as `product.cover.versionId`, `product.cover`.`product_id` as `product.cover.productId`, `product.cover`.`product_version_id` as `product.cover.productVersionId`, `product.cover`.`media_id` as `product.cover.mediaId`, `product.cover`.`position` as `product.cover.position`, `product.cover.media`.`id` as `product.cover.media.id`, `product.cover.media`.`user_id` as `product.cover.media.userId`, `product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`, `product.cover.media`.`mime_type` as `product.cover.media.mimeType`, `product.cover.media`.`file_extension` as `product.cover.media.fileExtension`, `product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`, `product.cover.media`.`file_name` as `product.cover.media.fileName`, `product.cover.media`.`file_size` as `product.cover.media.fileSize`, `product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`, `product.cover.media`.`meta_data` as `product.cover.media.metaData`, `product.cover.media`.`private` as `product.cover.media.private`, `product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`, `product.cover.media`.`created_at` as `product.cover.media.createdAt`, `product.cover.media`.`updated_at` as `product.cover.media.updatedAt`, `product.cover.media.translation.title`, COALESCE(`product.cover.media.translation.title`,`product.cover.media.translation.title`) as `product.cover.media.title`, `product.cover.media.translation.alt`, COALESCE(`product.cover.media.translation.alt`,`product.cover.media.translation.alt`) as `product.cover.media.alt`, `product.cover.media.translation.customFields`, COALESCE(`product.cover.media.translation.customFields`,`product.cover.media.translation.customFields`) as `product.cover.media.customFields`, `product.cover.media.translation.createdAt`, `product.cover.media.translation.updatedAt`, `product.cover.media.translation.mediaId`, `product.cover.media.translation.languageId`, `product.cover`.`custom_fields` as `product.cover.customFields`, `product.cover`.`created_at` as `product.cover.createdAt`, `product.cover`.`updated_at` as `product.cover.updatedAt`, `product.translation.metaDescription`, `product.parent.translation.metaDescription`, COALESCE(`product.translation.metaDescription`,`product.parent.translation.metaDescription`,`product.translation.metaDescription`) as `product.metaDescription`, `product.translation.name`, `product.parent.translation.name`, COALESCE(`product.translation.name`,`product.parent.translation.name`,`product.translation.name`) as `product.name`, `product.translation.keywords`, `product.parent.translation.keywords`, COALESCE(`product.translation.keywords`,`product.parent.translation.keywords`,`product.translation.keywords`) as `product.keywords`, `product.translation.description`, `product.parent.translation.description`, COALESCE(`product.translation.description`,`product.parent.translation.description`,`product.translation.description`) as `product.description`, `product.translation.metaTitle`, `product.parent.translation.metaTitle`, COALESCE(`product.translation.metaTitle`,`product.parent.translation.metaTitle`,`product.translation.metaTitle`) as `product.metaTitle`, `product.translation.packUnit`, `product.parent.translation.packUnit`, COALESCE(`product.translation.packUnit`,`product.parent.translation.packUnit`,`product.translation.packUnit`) as `product.packUnit`, `product.translation.packUnitPlural`, `product.parent.translation.packUnitPlural`, COALESCE(`product.translation.packUnitPlural`,`product.parent.translation.packUnitPlural`,`product.translation.packUnitPlural`) as `product.packUnitPlural`, `product.translation.customSearchKeywords`, `product.parent.translation.customSearchKeywords`, COALESCE(`product.translation.customSearchKeywords`,`product.parent.translation.customSearchKeywords`,`product.translation.customSearchKeywords`) as `product.customSearchKeywords`, `product.translation.slotConfig`, `product.parent.translation.slotConfig`, COALESCE(`product.translation.slotConfig`,`product.parent.translation.slotConfig`,`product.translation.slotConfig`) as `product.slotConfig`, `product.translation.customFields`, `product.parent.translation.customFields`, COALESCE(`product.translation.customFields`,`product.parent.translation.customFields`,`product.translation.customFields`) as `product.customFields`, `product.translation.createdAt`, `product.parent.translation.createdAt`, `product.translation.updatedAt`, `product.parent.translation.updatedAt`, `product.translation.productId`, `product.parent.translation.productId`, `product.translation.languageId`, `product.parent.translation.languageId`, `product.translation.productVersionId`, `product.parent.translation.productVersionId` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN (SELECT `product.translation`.product_id, `product.translation`.product_version_id, `product.translation`.meta_description as `product.translation.metaDescription`, `product.translation`.name as `product.translation.name`, `product.translation`.keywords as `product.translation.keywords`, `product.translation`.description as `product.translation.description`, `product.translation`.meta_title as `product.translation.metaTitle`, `product.translation`.pack_unit as `product.translation.packUnit`, `product.translation`.pack_unit_plural as `product.translation.packUnitPlural`, `product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`, `product.translation`.slot_config as `product.translation.slotConfig`, `product.translation`.custom_fields as `product.translation.customFields`, `product.translation`.created_at as `product.translation.createdAt`, `product.translation`.updated_at as `product.translation.updatedAt`, `product.translation`.product_id as `product.translation.productId`, `product.translation`.language_id as `product.translation.languageId`, `product.translation`.product_version_id as `product.translation.productVersionId` FROM `product_translation` `product.translation` WHERE `product.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id` AND `product.product_translation`.product_version_id = `product`.version_id LEFT JOIN (SELECT `product.parent.translation`.product_id, `product.parent.translation`.product_version_id, `product.parent.translation`.meta_description as `product.parent.translation.metaDescription`, `product.parent.translation`.name as `product.parent.translation.name`, `product.parent.translation`.keywords as `product.parent.translation.keywords`, `product.parent.translation`.description as `product.parent.translation.description`, `product.parent.translation`.meta_title as `product.parent.translation.metaTitle`, `product.parent.translation`.pack_unit as `product.parent.translation.packUnit`, `product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`, `product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`, `product.parent.translation`.slot_config as `product.parent.translation.slotConfig`, `product.parent.translation`.custom_fields as `product.parent.translation.customFields`, `product.parent.translation`.created_at as `product.parent.translation.createdAt`, `product.parent.translation`.updated_at as `product.parent.translation.updatedAt`, `product.parent.translation`.product_id as `product.parent.translation.productId`, `product.parent.translation`.language_id as `product.parent.translation.languageId`, `product.parent.translation`.product_version_id as `product.parent.translation.productVersionId` FROM `product_translation` `product.parent.translation` WHERE `product.parent.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id` AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id` LEFT JOIN `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_id` LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id` AND `product`.`version_id` = `product.cover`.`version_id` LEFT JOIN `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`id` LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id` LEFT JOIN (SELECT `product.cover.media.translation`.media_id, `product.cover.media.translation`.title as `product.cover.media.translation.title`, `product.cover.media.translation`.alt as `product.cover.media.translation.alt`, `product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`, `product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`, `product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`, `product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`, `product.cover.media.translation`.language_id as `product.cover.media.translation.languageId` FROM `media_translation` `product.cover.media.translation` WHERE `product.cover.media.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id` WHERE (`product`.`version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425) AND (`product`.`id` IN (0x03F4EF144EC44C3E822790C652F7C3F6));
array:51 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 316)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetch (line 148)"
4 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 93)"
5 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::read (line 257)"
6 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::read (line 286)"
7 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::_search (line 106)"
8 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::search (line 51)"
9 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepositoryForwardCompatibilityDecorator::search (line 103)"
10 => "Bodymed\Webshop\StoreFront\Subscriber\ProductExtensionSubscriber::addParentCover (line 230)"
11 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
12 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
13 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
14 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
15 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
16 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 33)"
17 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
18 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 208)"
19 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::read (line 133)"
20 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 49)"
21 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariantsOfProduct (line 30)"
22 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariants (line 224)"
23 => "Bodymed\Webshop\Core\Content\Product\Cms\ProductSliderCmsElementResolver::enrich (line 99)"
24 => "Shopware\Core\Content\Cms\DataResolver\CmsSlotsDataResolver::resolve (line 104)"
25 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::loadSlotData (line 94)"
26 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::load (line 102)"
27 => "Shopware\Core\Content\Category\SalesChannel\CategoryRoute::load (line 103)"
28 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 350)"
29 => "Shopware\Core\System\SystemConfig\SystemConfigService::trace (line 44)"
30 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 120)"
31 => "Shopware\Core\Framework\Adapter\Translation\Translator::trace (line 45)"
32 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 46)"
33 => "Shopware\Core\Framework\Adapter\Cache\CacheTagCollection::trace (line 46)"
34 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::trace (line 41)"
35 => "Shopware\Storefront\Framework\Cache\CacheTracer::Shopware\Storefront\Framework\Cache\{closure} (line 59)"
36 => "Shopware\Storefront\Theme\ThemeConfigValueAccessor::trace (line 42)"
37 => "Shopware\Storefront\Framework\Cache\CacheTracer::trace (line 104)"
38 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 72)"
39 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
40 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 109)"
41 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 59)"
42 => "Shopware\Core\Profiling\Profiler::trace (line 112)"
43 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::load (line 66)"
44 => "Shopware\Storefront\Page\Navigation\NavigationPageLoader::load (line 48)"
45 => "Shopware\Storefront\Controller\NavigationController::home (line 163)"
46 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
47 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
48 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
49 => "Shopware\Core\HttpKernel::doHandle (line 81)"
50 => "Shopware\Core\HttpKernel::handle (line 75)"
]
|
79 |
0.79 ms |
SELECT * FROM sales_channel_api_context WHERE (sales_channel_id = :salesChannelId) AND (token = :token) LIMIT 1
SELECT * FROM sales_channel_api_context WHERE (sales_channel_id = 0x620A2217F7474E619CB00AD39E804CCA) AND (token = 'FwsxT47353Zxmr7lp0KSfYcVNkg5VpYR') LIMIT 1;
array:58 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 165)"
3 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextPersister::load (line 69)"
4 => "Bodymed\Webshop\Core\Subscriber\ProductSubscriber::addCustomerProductFeatureExtension (line 230)"
5 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
6 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
7 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
8 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
9 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
10 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 33)"
11 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
12 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 269)"
13 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::read (line 286)"
14 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::_search (line 106)"
15 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::search (line 51)"
16 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepositoryForwardCompatibilityDecorator::search (line 103)"
17 => "Bodymed\Webshop\StoreFront\Subscriber\ProductExtensionSubscriber::addParentCover (line 230)"
18 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
19 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
20 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
21 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
22 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
23 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 33)"
24 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
25 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 208)"
26 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::read (line 133)"
27 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 49)"
28 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariantsOfProduct (line 30)"
29 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariants (line 224)"
30 => "Bodymed\Webshop\Core\Content\Product\Cms\ProductSliderCmsElementResolver::enrich (line 99)"
31 => "Shopware\Core\Content\Cms\DataResolver\CmsSlotsDataResolver::resolve (line 104)"
32 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::loadSlotData (line 94)"
33 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::load (line 102)"
34 => "Shopware\Core\Content\Category\SalesChannel\CategoryRoute::load (line 103)"
35 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 350)"
36 => "Shopware\Core\System\SystemConfig\SystemConfigService::trace (line 44)"
37 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 120)"
38 => "Shopware\Core\Framework\Adapter\Translation\Translator::trace (line 45)"
39 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 46)"
40 => "Shopware\Core\Framework\Adapter\Cache\CacheTagCollection::trace (line 46)"
41 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::trace (line 41)"
42 => "Shopware\Storefront\Framework\Cache\CacheTracer::Shopware\Storefront\Framework\Cache\{closure} (line 59)"
43 => "Shopware\Storefront\Theme\ThemeConfigValueAccessor::trace (line 42)"
44 => "Shopware\Storefront\Framework\Cache\CacheTracer::trace (line 104)"
45 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 72)"
46 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
47 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 109)"
48 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 59)"
49 => "Shopware\Core\Profiling\Profiler::trace (line 112)"
50 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::load (line 66)"
51 => "Shopware\Storefront\Page\Navigation\NavigationPageLoader::load (line 48)"
52 => "Shopware\Storefront\Controller\NavigationController::home (line 163)"
53 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
54 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
55 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
56 => "Shopware\Core\HttpKernel::doHandle (line 81)"
57 => "Shopware\Core\HttpKernel::handle (line 75)"
]
|
80 |
23.54 ms |
SELECT `product`.`id` as `product.id`, `product`.`version_id` as `product.versionId`, `product`.`parent_id` as `product.parentId`, `product`.`parent_version_id` as `product.parentVersionId`, COALESCE(`product`.`product_manufacturer_id`, `product.parent`.`product_manufacturer_id`) as `product.manufacturerId`, COALESCE(`product`.`product_manufacturer_version_id`, `product.parent`.`product_manufacturer_version_id`) as `product.productManufacturerVersionId`, COALESCE(`product`.`unit_id`, `product.parent`.`unit_id`) as `product.unitId`, COALESCE(`product`.`tax_id`, `product.parent`.`tax_id`) as `product.taxId`, COALESCE(`product`.`product_media_id`, `product.parent`.`product_media_id`) as `product.coverId`, COALESCE(`product`.`product_media_version_id`, `product.parent`.`product_media_version_id`) as `product.productMediaVersionId`, COALESCE(`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`) as `product.deliveryTimeId`, COALESCE(`product`.`product_feature_set_id`, `product.parent`.`product_feature_set_id`) as `product.featureSetId`, COALESCE(`product`.`canonical_product_id`, `product.parent`.`canonical_product_id`) as `product.canonicalProductId`, COALESCE(`product`.`cms_page_id`, `product.parent`.`cms_page_id`) as `product.cmsPageId`, COALESCE(`product`.`cms_page_version_id`, `product.parent`.`cms_page_version_id`) as `product.cmsPageVersionId`, `product.parent`.`price` as `product.price.inherited`, COALESCE(`product`.`price`, `product.parent`.`price`) as `product.price`, `product`.`product_number` as `product.productNumber`, `product`.`stock` as `product.stock`, COALESCE(`product`.`restock_time`, `product.parent`.`restock_time`) as `product.restockTime`, `product`.`auto_increment` as `product.autoIncrement`, COALESCE(`product`.`active`, `product.parent`.`active`) as `product.active`, `product`.`available_stock` as `product.availableStock`, `product`.`available` as `product.available`, COALESCE(`product`.`is_closeout`, `product.parent`.`is_closeout`) as `product.isCloseout`, `product`.`display_group` as `product.displayGroup`, `product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`, COALESCE(`product`.`configurator_group_config`, `product.parent`.`configurator_group_config`) as `product.configuratorGroupConfig`, COALESCE(`product`.`main_variant_id`, `product.parent`.`main_variant_id`) as `product.mainVariantId`, COALESCE(`product`.`display_parent`, `product.parent`.`display_parent`) as `product.displayParent`, `product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`, COALESCE(`product`.`variant_listing_config`, `product.parent`.`variant_listing_config`) as `product.variantListingConfig`, `product`.`variant_restrictions` as `product.variantRestrictions`, COALESCE(`product`.`manufacturer_number`, `product.parent`.`manufacturer_number`) as `product.manufacturerNumber`, COALESCE(`product`.`ean`, `product.parent`.`ean`) as `product.ean`, COALESCE(`product`.`purchase_steps`, `product.parent`.`purchase_steps`) as `product.purchaseSteps`, COALESCE(`product`.`max_purchase`, `product.parent`.`max_purchase`) as `product.maxPurchase`, COALESCE(`product`.`min_purchase`, `product.parent`.`min_purchase`) as `product.minPurchase`, COALESCE(`product`.`purchase_unit`, `product.parent`.`purchase_unit`) as `product.purchaseUnit`, COALESCE(`product`.`reference_unit`, `product.parent`.`reference_unit`) as `product.referenceUnit`, COALESCE(`product`.`shipping_free`, `product.parent`.`shipping_free`) as `product.shippingFree`, `product.parent`.`purchase_prices` as `product.purchasePrices.inherited`, COALESCE(`product`.`purchase_prices`, `product.parent`.`purchase_prices`) as `product.purchasePrices`, COALESCE(`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`) as `product.markAsTopseller`, COALESCE(`product`.`weight`, `product.parent`.`weight`) as `product.weight`, COALESCE(`product`.`width`, `product.parent`.`width`) as `product.width`, COALESCE(`product`.`height`, `product.parent`.`height`) as `product.height`, COALESCE(`product`.`length`, `product.parent`.`length`) as `product.length`, COALESCE(`product`.`release_date`, `product.parent`.`release_date`) as `product.releaseDate`, COALESCE(`product`.`rating_average`, `product.parent`.`rating_average`) as `product.ratingAverage`, `product.parent`.`category_tree` as `product.categoryTree.inherited`, COALESCE(`product`.`category_tree`, `product.parent`.`category_tree`) as `product.categoryTree`, `product.parent`.`property_ids` as `product.propertyIds.inherited`, COALESCE(`product`.`property_ids`, `product.parent`.`property_ids`) as `product.propertyIds`, `product.parent`.`option_ids` as `product.optionIds.inherited`, COALESCE(`product`.`option_ids`, `product.parent`.`option_ids`) as `product.optionIds`, `product.parent`.`stream_ids` as `product.streamIds.inherited`, COALESCE(`product`.`stream_ids`, `product.parent`.`stream_ids`) as `product.streamIds`, `product.parent`.`tag_ids` as `product.tagIds.inherited`, COALESCE(`product`.`tag_ids`, `product.parent`.`tag_ids`) as `product.tagIds`, `product.parent`.`category_ids` as `product.categoryIds.inherited`, COALESCE(`product`.`category_ids`, `product.parent`.`category_ids`) as `product.categoryIds`, `product`.`child_count` as `product.childCount`, COALESCE(`product`.`custom_field_set_selection_active`, `product.parent`.`custom_field_set_selection_active`) as `product.customFieldSetSelectionActive`, `product`.`sales` as `product.sales`, `product`.`states` as `product.states`, `product.tax`.`id` as `product.tax.id`, `product.tax`.`tax_rate` as `product.tax.taxRate`, `product.tax`.`name` as `product.tax.name`, `product.tax`.`position` as `product.tax.position`, `product.tax`.`custom_fields` as `product.tax.customFields`, `product.tax`.`created_at` as `product.tax.createdAt`, `product.tax`.`updated_at` as `product.tax.updatedAt`, `product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`, COALESCE(`product`.`cheapest_price`, `product.parent`.`cheapest_price`) as `product.cheapestPrice`, `product`.`created_at` as `product.createdAt`, `product`.`updated_at` as `product.updatedAt`, `product.bundle`.`id` as `product.bundle.id`, `product.bundle`.`product_id` as `product.bundle.productId`, `product.bundle`.`product_version_id` as `product.bundle.productVersionId`, `product.bundle`.`name` as `product.bundle.name`, `product.bundle`.`price_type` as `product.bundle.priceType`, `product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`, `product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`, `product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`, `product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`, `product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`, `product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`, `product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`, `product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`, `product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`, `product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`, `product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`, `product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`, `product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`, `product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`, `product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`, `product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`, `product.bundle`.`created_at` as `product.bundle.createdAt`, `product.bundle`.`updated_at` as `product.bundle.updatedAt`, `product.cover`.`id` as `product.cover.id`, `product.cover`.`version_id` as `product.cover.versionId`, `product.cover`.`product_id` as `product.cover.productId`, `product.cover`.`product_version_id` as `product.cover.productVersionId`, `product.cover`.`media_id` as `product.cover.mediaId`, `product.cover`.`position` as `product.cover.position`, `product.cover.media`.`id` as `product.cover.media.id`, `product.cover.media`.`user_id` as `product.cover.media.userId`, `product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`, `product.cover.media`.`mime_type` as `product.cover.media.mimeType`, `product.cover.media`.`file_extension` as `product.cover.media.fileExtension`, `product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`, `product.cover.media`.`file_name` as `product.cover.media.fileName`, `product.cover.media`.`file_size` as `product.cover.media.fileSize`, `product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`, `product.cover.media`.`meta_data` as `product.cover.media.metaData`, `product.cover.media`.`private` as `product.cover.media.private`, `product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`, `product.cover.media`.`created_at` as `product.cover.media.createdAt`, `product.cover.media`.`updated_at` as `product.cover.media.updatedAt`, `product.cover.media.translation.title`, COALESCE(`product.cover.media.translation.title`,`product.cover.media.translation.title`) as `product.cover.media.title`, `product.cover.media.translation.alt`, COALESCE(`product.cover.media.translation.alt`,`product.cover.media.translation.alt`) as `product.cover.media.alt`, `product.cover.media.translation.customFields`, COALESCE(`product.cover.media.translation.customFields`,`product.cover.media.translation.customFields`) as `product.cover.media.customFields`, `product.cover.media.translation.createdAt`, `product.cover.media.translation.updatedAt`, `product.cover.media.translation.mediaId`, `product.cover.media.translation.languageId`, `product.cover`.`custom_fields` as `product.cover.customFields`, `product.cover`.`created_at` as `product.cover.createdAt`, `product.cover`.`updated_at` as `product.cover.updatedAt`, `product.translation.metaDescription`, `product.parent.translation.metaDescription`, COALESCE(`product.translation.metaDescription`,`product.parent.translation.metaDescription`,`product.translation.metaDescription`) as `product.metaDescription`, `product.translation.name`, `product.parent.translation.name`, COALESCE(`product.translation.name`,`product.parent.translation.name`,`product.translation.name`) as `product.name`, `product.translation.keywords`, `product.parent.translation.keywords`, COALESCE(`product.translation.keywords`,`product.parent.translation.keywords`,`product.translation.keywords`) as `product.keywords`, `product.translation.description`, `product.parent.translation.description`, COALESCE(`product.translation.description`,`product.parent.translation.description`,`product.translation.description`) as `product.description`, `product.translation.metaTitle`, `product.parent.translation.metaTitle`, COALESCE(`product.translation.metaTitle`,`product.parent.translation.metaTitle`,`product.translation.metaTitle`) as `product.metaTitle`, `product.translation.packUnit`, `product.parent.translation.packUnit`, COALESCE(`product.translation.packUnit`,`product.parent.translation.packUnit`,`product.translation.packUnit`) as `product.packUnit`, `product.translation.packUnitPlural`, `product.parent.translation.packUnitPlural`, COALESCE(`product.translation.packUnitPlural`,`product.parent.translation.packUnitPlural`,`product.translation.packUnitPlural`) as `product.packUnitPlural`, `product.translation.customSearchKeywords`, `product.parent.translation.customSearchKeywords`, COALESCE(`product.translation.customSearchKeywords`,`product.parent.translation.customSearchKeywords`,`product.translation.customSearchKeywords`) as `product.customSearchKeywords`, `product.translation.slotConfig`, `product.parent.translation.slotConfig`, COALESCE(`product.translation.slotConfig`,`product.parent.translation.slotConfig`,`product.translation.slotConfig`) as `product.slotConfig`, `product.translation.customFields`, `product.parent.translation.customFields`, COALESCE(`product.translation.customFields`,`product.parent.translation.customFields`,`product.translation.customFields`) as `product.customFields`, `product.translation.createdAt`, `product.parent.translation.createdAt`, `product.translation.updatedAt`, `product.parent.translation.updatedAt`, `product.translation.productId`, `product.parent.translation.productId`, `product.translation.languageId`, `product.parent.translation.languageId`, `product.translation.productVersionId`, `product.parent.translation.productVersionId` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN (SELECT `product.translation`.product_id, `product.translation`.product_version_id, `product.translation`.meta_description as `product.translation.metaDescription`, `product.translation`.name as `product.translation.name`, `product.translation`.keywords as `product.translation.keywords`, `product.translation`.description as `product.translation.description`, `product.translation`.meta_title as `product.translation.metaTitle`, `product.translation`.pack_unit as `product.translation.packUnit`, `product.translation`.pack_unit_plural as `product.translation.packUnitPlural`, `product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`, `product.translation`.slot_config as `product.translation.slotConfig`, `product.translation`.custom_fields as `product.translation.customFields`, `product.translation`.created_at as `product.translation.createdAt`, `product.translation`.updated_at as `product.translation.updatedAt`, `product.translation`.product_id as `product.translation.productId`, `product.translation`.language_id as `product.translation.languageId`, `product.translation`.product_version_id as `product.translation.productVersionId` FROM `product_translation` `product.translation` WHERE `product.translation`.language_id = :languageId) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id` AND `product.product_translation`.product_version_id = `product`.version_id LEFT JOIN (SELECT `product.parent.translation`.product_id, `product.parent.translation`.product_version_id, `product.parent.translation`.meta_description as `product.parent.translation.metaDescription`, `product.parent.translation`.name as `product.parent.translation.name`, `product.parent.translation`.keywords as `product.parent.translation.keywords`, `product.parent.translation`.description as `product.parent.translation.description`, `product.parent.translation`.meta_title as `product.parent.translation.metaTitle`, `product.parent.translation`.pack_unit as `product.parent.translation.packUnit`, `product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`, `product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`, `product.parent.translation`.slot_config as `product.parent.translation.slotConfig`, `product.parent.translation`.custom_fields as `product.parent.translation.customFields`, `product.parent.translation`.created_at as `product.parent.translation.createdAt`, `product.parent.translation`.updated_at as `product.parent.translation.updatedAt`, `product.parent.translation`.product_id as `product.parent.translation.productId`, `product.parent.translation`.language_id as `product.parent.translation.languageId`, `product.parent.translation`.product_version_id as `product.parent.translation.productVersionId` FROM `product_translation` `product.parent.translation` WHERE `product.parent.translation`.language_id = :languageId) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id` AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id` LEFT JOIN `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_id` LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id` AND `product`.`version_id` = `product.cover`.`version_id` LEFT JOIN `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`id` LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id` LEFT JOIN (SELECT `product.cover.media.translation`.media_id, `product.cover.media.translation`.title as `product.cover.media.translation.title`, `product.cover.media.translation`.alt as `product.cover.media.translation.alt`, `product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`, `product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`, `product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`, `product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`, `product.cover.media.translation`.language_id as `product.cover.media.translation.languageId` FROM `media_translation` `product.cover.media.translation` WHERE `product.cover.media.translation`.language_id = :languageId) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id` WHERE (`product`.`version_id` = :version) AND (`product`.`id` IN (:ids))
SELECT
`product`.`id` as `product.id`,
`product`.`version_id` as `product.versionId`,
`product`.`parent_id` as `product.parentId`,
`product`.`parent_version_id` as `product.parentVersionId`,
COALESCE(
`product`.`product_manufacturer_id`,
`product.parent`.`product_manufacturer_id`
) as `product.manufacturerId`,
COALESCE(
`product`.`product_manufacturer_version_id`,
`product.parent`.`product_manufacturer_version_id`
) as `product.productManufacturerVersionId`,
COALESCE(
`product`.`unit_id`, `product.parent`.`unit_id`
) as `product.unitId`,
COALESCE(
`product`.`tax_id`, `product.parent`.`tax_id`
) as `product.taxId`,
COALESCE(
`product`.`product_media_id`, `product.parent`.`product_media_id`
) as `product.coverId`,
COALESCE(
`product`.`product_media_version_id`,
`product.parent`.`product_media_version_id`
) as `product.productMediaVersionId`,
COALESCE(
`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`
) as `product.deliveryTimeId`,
COALESCE(
`product`.`product_feature_set_id`,
`product.parent`.`product_feature_set_id`
) as `product.featureSetId`,
COALESCE(
`product`.`canonical_product_id`,
`product.parent`.`canonical_product_id`
) as `product.canonicalProductId`,
COALESCE(
`product`.`cms_page_id`, `product.parent`.`cms_page_id`
) as `product.cmsPageId`,
COALESCE(
`product`.`cms_page_version_id`,
`product.parent`.`cms_page_version_id`
) as `product.cmsPageVersionId`,
`product.parent`.`price` as `product.price.inherited`,
COALESCE(
`product`.`price`, `product.parent`.`price`
) as `product.price`,
`product`.`product_number` as `product.productNumber`,
`product`.`stock` as `product.stock`,
COALESCE(
`product`.`restock_time`, `product.parent`.`restock_time`
) as `product.restockTime`,
`product`.`auto_increment` as `product.autoIncrement`,
COALESCE(
`product`.`active`, `product.parent`.`active`
) as `product.active`,
`product`.`available_stock` as `product.availableStock`,
`product`.`available` as `product.available`,
COALESCE(
`product`.`is_closeout`, `product.parent`.`is_closeout`
) as `product.isCloseout`,
`product`.`display_group` as `product.displayGroup`,
`product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`,
COALESCE(
`product`.`configurator_group_config`,
`product.parent`.`configurator_group_config`
) as `product.configuratorGroupConfig`,
COALESCE(
`product`.`main_variant_id`, `product.parent`.`main_variant_id`
) as `product.mainVariantId`,
COALESCE(
`product`.`display_parent`, `product.parent`.`display_parent`
) as `product.displayParent`,
`product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`,
COALESCE(
`product`.`variant_listing_config`,
`product.parent`.`variant_listing_config`
) as `product.variantListingConfig`,
`product`.`variant_restrictions` as `product.variantRestrictions`,
COALESCE(
`product`.`manufacturer_number`,
`product.parent`.`manufacturer_number`
) as `product.manufacturerNumber`,
COALESCE(
`product`.`ean`, `product.parent`.`ean`
) as `product.ean`,
COALESCE(
`product`.`purchase_steps`, `product.parent`.`purchase_steps`
) as `product.purchaseSteps`,
COALESCE(
`product`.`max_purchase`, `product.parent`.`max_purchase`
) as `product.maxPurchase`,
COALESCE(
`product`.`min_purchase`, `product.parent`.`min_purchase`
) as `product.minPurchase`,
COALESCE(
`product`.`purchase_unit`, `product.parent`.`purchase_unit`
) as `product.purchaseUnit`,
COALESCE(
`product`.`reference_unit`, `product.parent`.`reference_unit`
) as `product.referenceUnit`,
COALESCE(
`product`.`shipping_free`, `product.parent`.`shipping_free`
) as `product.shippingFree`,
`product.parent`.`purchase_prices` as `product.purchasePrices.inherited`,
COALESCE(
`product`.`purchase_prices`, `product.parent`.`purchase_prices`
) as `product.purchasePrices`,
COALESCE(
`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`
) as `product.markAsTopseller`,
COALESCE(
`product`.`weight`, `product.parent`.`weight`
) as `product.weight`,
COALESCE(
`product`.`width`, `product.parent`.`width`
) as `product.width`,
COALESCE(
`product`.`height`, `product.parent`.`height`
) as `product.height`,
COALESCE(
`product`.`length`, `product.parent`.`length`
) as `product.length`,
COALESCE(
`product`.`release_date`, `product.parent`.`release_date`
) as `product.releaseDate`,
COALESCE(
`product`.`rating_average`, `product.parent`.`rating_average`
) as `product.ratingAverage`,
`product.parent`.`category_tree` as `product.categoryTree.inherited`,
COALESCE(
`product`.`category_tree`, `product.parent`.`category_tree`
) as `product.categoryTree`,
`product.parent`.`property_ids` as `product.propertyIds.inherited`,
COALESCE(
`product`.`property_ids`, `product.parent`.`property_ids`
) as `product.propertyIds`,
`product.parent`.`option_ids` as `product.optionIds.inherited`,
COALESCE(
`product`.`option_ids`, `product.parent`.`option_ids`
) as `product.optionIds`,
`product.parent`.`stream_ids` as `product.streamIds.inherited`,
COALESCE(
`product`.`stream_ids`, `product.parent`.`stream_ids`
) as `product.streamIds`,
`product.parent`.`tag_ids` as `product.tagIds.inherited`,
COALESCE(
`product`.`tag_ids`, `product.parent`.`tag_ids`
) as `product.tagIds`,
`product.parent`.`category_ids` as `product.categoryIds.inherited`,
COALESCE(
`product`.`category_ids`, `product.parent`.`category_ids`
) as `product.categoryIds`,
`product`.`child_count` as `product.childCount`,
COALESCE(
`product`.`custom_field_set_selection_active`,
`product.parent`.`custom_field_set_selection_active`
) as `product.customFieldSetSelectionActive`,
`product`.`sales` as `product.sales`,
`product`.`states` as `product.states`,
`product.tax`.`id` as `product.tax.id`,
`product.tax`.`tax_rate` as `product.tax.taxRate`,
`product.tax`.`name` as `product.tax.name`,
`product.tax`.`position` as `product.tax.position`,
`product.tax`.`custom_fields` as `product.tax.customFields`,
`product.tax`.`created_at` as `product.tax.createdAt`,
`product.tax`.`updated_at` as `product.tax.updatedAt`,
`product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`,
COALESCE(
`product`.`cheapest_price`, `product.parent`.`cheapest_price`
) as `product.cheapestPrice`,
`product`.`created_at` as `product.createdAt`,
`product`.`updated_at` as `product.updatedAt`,
`product.bundle`.`id` as `product.bundle.id`,
`product.bundle`.`product_id` as `product.bundle.productId`,
`product.bundle`.`product_version_id` as `product.bundle.productVersionId`,
`product.bundle`.`name` as `product.bundle.name`,
`product.bundle`.`price_type` as `product.bundle.priceType`,
`product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`,
`product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`,
`product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`,
`product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`,
`product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`,
`product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`,
`product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`,
`product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`,
`product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`,
`product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`,
`product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`,
`product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`,
`product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`,
`product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`,
`product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`,
`product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`,
`product.bundle`.`created_at` as `product.bundle.createdAt`,
`product.bundle`.`updated_at` as `product.bundle.updatedAt`,
`product.cover`.`id` as `product.cover.id`,
`product.cover`.`version_id` as `product.cover.versionId`,
`product.cover`.`product_id` as `product.cover.productId`,
`product.cover`.`product_version_id` as `product.cover.productVersionId`,
`product.cover`.`media_id` as `product.cover.mediaId`,
`product.cover`.`position` as `product.cover.position`,
`product.cover.media`.`id` as `product.cover.media.id`,
`product.cover.media`.`user_id` as `product.cover.media.userId`,
`product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`,
`product.cover.media`.`mime_type` as `product.cover.media.mimeType`,
`product.cover.media`.`file_extension` as `product.cover.media.fileExtension`,
`product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`,
`product.cover.media`.`file_name` as `product.cover.media.fileName`,
`product.cover.media`.`file_size` as `product.cover.media.fileSize`,
`product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`,
`product.cover.media`.`meta_data` as `product.cover.media.metaData`,
`product.cover.media`.`private` as `product.cover.media.private`,
`product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`,
`product.cover.media`.`created_at` as `product.cover.media.createdAt`,
`product.cover.media`.`updated_at` as `product.cover.media.updatedAt`,
`product.cover.media.translation.title`,
COALESCE(
`product.cover.media.translation.title`,
`product.cover.media.translation.title`
) as `product.cover.media.title`,
`product.cover.media.translation.alt`,
COALESCE(
`product.cover.media.translation.alt`,
`product.cover.media.translation.alt`
) as `product.cover.media.alt`,
`product.cover.media.translation.customFields`,
COALESCE(
`product.cover.media.translation.customFields`,
`product.cover.media.translation.customFields`
) as `product.cover.media.customFields`,
`product.cover.media.translation.createdAt`,
`product.cover.media.translation.updatedAt`,
`product.cover.media.translation.mediaId`,
`product.cover.media.translation.languageId`,
`product.cover`.`custom_fields` as `product.cover.customFields`,
`product.cover`.`created_at` as `product.cover.createdAt`,
`product.cover`.`updated_at` as `product.cover.updatedAt`,
`product.translation.metaDescription`,
`product.parent.translation.metaDescription`,
COALESCE(
`product.translation.metaDescription`,
`product.parent.translation.metaDescription`,
`product.translation.metaDescription`
) as `product.metaDescription`,
`product.translation.name`,
`product.parent.translation.name`,
COALESCE(
`product.translation.name`, `product.parent.translation.name`,
`product.translation.name`
) as `product.name`,
`product.translation.keywords`,
`product.parent.translation.keywords`,
COALESCE(
`product.translation.keywords`,
`product.parent.translation.keywords`,
`product.translation.keywords`
) as `product.keywords`,
`product.translation.description`,
`product.parent.translation.description`,
COALESCE(
`product.translation.description`,
`product.parent.translation.description`,
`product.translation.description`
) as `product.description`,
`product.translation.metaTitle`,
`product.parent.translation.metaTitle`,
COALESCE(
`product.translation.metaTitle`,
`product.parent.translation.metaTitle`,
`product.translation.metaTitle`
) as `product.metaTitle`,
`product.translation.packUnit`,
`product.parent.translation.packUnit`,
COALESCE(
`product.translation.packUnit`,
`product.parent.translation.packUnit`,
`product.translation.packUnit`
) as `product.packUnit`,
`product.translation.packUnitPlural`,
`product.parent.translation.packUnitPlural`,
COALESCE(
`product.translation.packUnitPlural`,
`product.parent.translation.packUnitPlural`,
`product.translation.packUnitPlural`
) as `product.packUnitPlural`,
`product.translation.customSearchKeywords`,
`product.parent.translation.customSearchKeywords`,
COALESCE(
`product.translation.customSearchKeywords`,
`product.parent.translation.customSearchKeywords`,
`product.translation.customSearchKeywords`
) as `product.customSearchKeywords`,
`product.translation.slotConfig`,
`product.parent.translation.slotConfig`,
COALESCE(
`product.translation.slotConfig`,
`product.parent.translation.slotConfig`,
`product.translation.slotConfig`
) as `product.slotConfig`,
`product.translation.customFields`,
`product.parent.translation.customFields`,
COALESCE(
`product.translation.customFields`,
`product.parent.translation.customFields`,
`product.translation.customFields`
) as `product.customFields`,
`product.translation.createdAt`,
`product.parent.translation.createdAt`,
`product.translation.updatedAt`,
`product.parent.translation.updatedAt`,
`product.translation.productId`,
`product.parent.translation.productId`,
`product.translation.languageId`,
`product.parent.translation.languageId`,
`product.translation.productVersionId`,
`product.parent.translation.productVersionId`
FROM
`product`
LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id`
AND `product`.`version_id` = `product.parent`.`version_id`
LEFT JOIN (
SELECT
`product.translation`.product_id,
`product.translation`.product_version_id,
`product.translation`.meta_description as `product.translation.metaDescription`,
`product.translation`.name as `product.translation.name`,
`product.translation`.keywords as `product.translation.keywords`,
`product.translation`.description as `product.translation.description`,
`product.translation`.meta_title as `product.translation.metaTitle`,
`product.translation`.pack_unit as `product.translation.packUnit`,
`product.translation`.pack_unit_plural as `product.translation.packUnitPlural`,
`product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`,
`product.translation`.slot_config as `product.translation.slotConfig`,
`product.translation`.custom_fields as `product.translation.customFields`,
`product.translation`.created_at as `product.translation.createdAt`,
`product.translation`.updated_at as `product.translation.updatedAt`,
`product.translation`.product_id as `product.translation.productId`,
`product.translation`.language_id as `product.translation.languageId`,
`product.translation`.product_version_id as `product.translation.productVersionId`
FROM
`product_translation` `product.translation`
WHERE
`product.translation`.language_id = : languageId
) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id`
AND `product.product_translation`.product_version_id = `product`.version_id
LEFT JOIN (
SELECT
`product.parent.translation`.product_id,
`product.parent.translation`.product_version_id,
`product.parent.translation`.meta_description as `product.parent.translation.metaDescription`,
`product.parent.translation`.name as `product.parent.translation.name`,
`product.parent.translation`.keywords as `product.parent.translation.keywords`,
`product.parent.translation`.description as `product.parent.translation.description`,
`product.parent.translation`.meta_title as `product.parent.translation.metaTitle`,
`product.parent.translation`.pack_unit as `product.parent.translation.packUnit`,
`product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`,
`product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`,
`product.parent.translation`.slot_config as `product.parent.translation.slotConfig`,
`product.parent.translation`.custom_fields as `product.parent.translation.customFields`,
`product.parent.translation`.created_at as `product.parent.translation.createdAt`,
`product.parent.translation`.updated_at as `product.parent.translation.updatedAt`,
`product.parent.translation`.product_id as `product.parent.translation.productId`,
`product.parent.translation`.language_id as `product.parent.translation.languageId`,
`product.parent.translation`.product_version_id as `product.parent.translation.productVersionId`
FROM
`product_translation` `product.parent.translation`
WHERE
`product.parent.translation`.language_id = : languageId
) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id`
AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id
LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id`
LEFT JOIN `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_id`
LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id`
AND `product`.`version_id` = `product.cover`.`version_id`
LEFT JOIN `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id`
LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id`
LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`id`
LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id`
LEFT JOIN (
SELECT
`product.cover.media.translation`.media_id,
`product.cover.media.translation`.title as `product.cover.media.translation.title`,
`product.cover.media.translation`.alt as `product.cover.media.translation.alt`,
`product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`,
`product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`,
`product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`,
`product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`,
`product.cover.media.translation`.language_id as `product.cover.media.translation.languageId`
FROM
`media_translation` `product.cover.media.translation`
WHERE
`product.cover.media.translation`.language_id = : languageId
) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id`
WHERE
(
`product`.`version_id` = : version
)
AND (
`product`.`id` IN (: ids)
)
SELECT `product`.`id` as `product.id`, `product`.`version_id` as `product.versionId`, `product`.`parent_id` as `product.parentId`, `product`.`parent_version_id` as `product.parentVersionId`, COALESCE(`product`.`product_manufacturer_id`, `product.parent`.`product_manufacturer_id`) as `product.manufacturerId`, COALESCE(`product`.`product_manufacturer_version_id`, `product.parent`.`product_manufacturer_version_id`) as `product.productManufacturerVersionId`, COALESCE(`product`.`unit_id`, `product.parent`.`unit_id`) as `product.unitId`, COALESCE(`product`.`tax_id`, `product.parent`.`tax_id`) as `product.taxId`, COALESCE(`product`.`product_media_id`, `product.parent`.`product_media_id`) as `product.coverId`, COALESCE(`product`.`product_media_version_id`, `product.parent`.`product_media_version_id`) as `product.productMediaVersionId`, COALESCE(`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`) as `product.deliveryTimeId`, COALESCE(`product`.`product_feature_set_id`, `product.parent`.`product_feature_set_id`) as `product.featureSetId`, COALESCE(`product`.`canonical_product_id`, `product.parent`.`canonical_product_id`) as `product.canonicalProductId`, COALESCE(`product`.`cms_page_id`, `product.parent`.`cms_page_id`) as `product.cmsPageId`, COALESCE(`product`.`cms_page_version_id`, `product.parent`.`cms_page_version_id`) as `product.cmsPageVersionId`, `product.parent`.`price` as `product.price.inherited`, COALESCE(`product`.`price`, `product.parent`.`price`) as `product.price`, `product`.`product_number` as `product.productNumber`, `product`.`stock` as `product.stock`, COALESCE(`product`.`restock_time`, `product.parent`.`restock_time`) as `product.restockTime`, `product`.`auto_increment` as `product.autoIncrement`, COALESCE(`product`.`active`, `product.parent`.`active`) as `product.active`, `product`.`available_stock` as `product.availableStock`, `product`.`available` as `product.available`, COALESCE(`product`.`is_closeout`, `product.parent`.`is_closeout`) as `product.isCloseout`, `product`.`display_group` as `product.displayGroup`, `product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`, COALESCE(`product`.`configurator_group_config`, `product.parent`.`configurator_group_config`) as `product.configuratorGroupConfig`, COALESCE(`product`.`main_variant_id`, `product.parent`.`main_variant_id`) as `product.mainVariantId`, COALESCE(`product`.`display_parent`, `product.parent`.`display_parent`) as `product.displayParent`, `product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`, COALESCE(`product`.`variant_listing_config`, `product.parent`.`variant_listing_config`) as `product.variantListingConfig`, `product`.`variant_restrictions` as `product.variantRestrictions`, COALESCE(`product`.`manufacturer_number`, `product.parent`.`manufacturer_number`) as `product.manufacturerNumber`, COALESCE(`product`.`ean`, `product.parent`.`ean`) as `product.ean`, COALESCE(`product`.`purchase_steps`, `product.parent`.`purchase_steps`) as `product.purchaseSteps`, COALESCE(`product`.`max_purchase`, `product.parent`.`max_purchase`) as `product.maxPurchase`, COALESCE(`product`.`min_purchase`, `product.parent`.`min_purchase`) as `product.minPurchase`, COALESCE(`product`.`purchase_unit`, `product.parent`.`purchase_unit`) as `product.purchaseUnit`, COALESCE(`product`.`reference_unit`, `product.parent`.`reference_unit`) as `product.referenceUnit`, COALESCE(`product`.`shipping_free`, `product.parent`.`shipping_free`) as `product.shippingFree`, `product.parent`.`purchase_prices` as `product.purchasePrices.inherited`, COALESCE(`product`.`purchase_prices`, `product.parent`.`purchase_prices`) as `product.purchasePrices`, COALESCE(`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`) as `product.markAsTopseller`, COALESCE(`product`.`weight`, `product.parent`.`weight`) as `product.weight`, COALESCE(`product`.`width`, `product.parent`.`width`) as `product.width`, COALESCE(`product`.`height`, `product.parent`.`height`) as `product.height`, COALESCE(`product`.`length`, `product.parent`.`length`) as `product.length`, COALESCE(`product`.`release_date`, `product.parent`.`release_date`) as `product.releaseDate`, COALESCE(`product`.`rating_average`, `product.parent`.`rating_average`) as `product.ratingAverage`, `product.parent`.`category_tree` as `product.categoryTree.inherited`, COALESCE(`product`.`category_tree`, `product.parent`.`category_tree`) as `product.categoryTree`, `product.parent`.`property_ids` as `product.propertyIds.inherited`, COALESCE(`product`.`property_ids`, `product.parent`.`property_ids`) as `product.propertyIds`, `product.parent`.`option_ids` as `product.optionIds.inherited`, COALESCE(`product`.`option_ids`, `product.parent`.`option_ids`) as `product.optionIds`, `product.parent`.`stream_ids` as `product.streamIds.inherited`, COALESCE(`product`.`stream_ids`, `product.parent`.`stream_ids`) as `product.streamIds`, `product.parent`.`tag_ids` as `product.tagIds.inherited`, COALESCE(`product`.`tag_ids`, `product.parent`.`tag_ids`) as `product.tagIds`, `product.parent`.`category_ids` as `product.categoryIds.inherited`, COALESCE(`product`.`category_ids`, `product.parent`.`category_ids`) as `product.categoryIds`, `product`.`child_count` as `product.childCount`, COALESCE(`product`.`custom_field_set_selection_active`, `product.parent`.`custom_field_set_selection_active`) as `product.customFieldSetSelectionActive`, `product`.`sales` as `product.sales`, `product`.`states` as `product.states`, `product.tax`.`id` as `product.tax.id`, `product.tax`.`tax_rate` as `product.tax.taxRate`, `product.tax`.`name` as `product.tax.name`, `product.tax`.`position` as `product.tax.position`, `product.tax`.`custom_fields` as `product.tax.customFields`, `product.tax`.`created_at` as `product.tax.createdAt`, `product.tax`.`updated_at` as `product.tax.updatedAt`, `product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`, COALESCE(`product`.`cheapest_price`, `product.parent`.`cheapest_price`) as `product.cheapestPrice`, `product`.`created_at` as `product.createdAt`, `product`.`updated_at` as `product.updatedAt`, `product.bundle`.`id` as `product.bundle.id`, `product.bundle`.`product_id` as `product.bundle.productId`, `product.bundle`.`product_version_id` as `product.bundle.productVersionId`, `product.bundle`.`name` as `product.bundle.name`, `product.bundle`.`price_type` as `product.bundle.priceType`, `product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`, `product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`, `product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`, `product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`, `product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`, `product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`, `product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`, `product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`, `product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`, `product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`, `product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`, `product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`, `product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`, `product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`, `product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`, `product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`, `product.bundle`.`created_at` as `product.bundle.createdAt`, `product.bundle`.`updated_at` as `product.bundle.updatedAt`, `product.cover`.`id` as `product.cover.id`, `product.cover`.`version_id` as `product.cover.versionId`, `product.cover`.`product_id` as `product.cover.productId`, `product.cover`.`product_version_id` as `product.cover.productVersionId`, `product.cover`.`media_id` as `product.cover.mediaId`, `product.cover`.`position` as `product.cover.position`, `product.cover.media`.`id` as `product.cover.media.id`, `product.cover.media`.`user_id` as `product.cover.media.userId`, `product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`, `product.cover.media`.`mime_type` as `product.cover.media.mimeType`, `product.cover.media`.`file_extension` as `product.cover.media.fileExtension`, `product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`, `product.cover.media`.`file_name` as `product.cover.media.fileName`, `product.cover.media`.`file_size` as `product.cover.media.fileSize`, `product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`, `product.cover.media`.`meta_data` as `product.cover.media.metaData`, `product.cover.media`.`private` as `product.cover.media.private`, `product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`, `product.cover.media`.`created_at` as `product.cover.media.createdAt`, `product.cover.media`.`updated_at` as `product.cover.media.updatedAt`, `product.cover.media.translation.title`, COALESCE(`product.cover.media.translation.title`,`product.cover.media.translation.title`) as `product.cover.media.title`, `product.cover.media.translation.alt`, COALESCE(`product.cover.media.translation.alt`,`product.cover.media.translation.alt`) as `product.cover.media.alt`, `product.cover.media.translation.customFields`, COALESCE(`product.cover.media.translation.customFields`,`product.cover.media.translation.customFields`) as `product.cover.media.customFields`, `product.cover.media.translation.createdAt`, `product.cover.media.translation.updatedAt`, `product.cover.media.translation.mediaId`, `product.cover.media.translation.languageId`, `product.cover`.`custom_fields` as `product.cover.customFields`, `product.cover`.`created_at` as `product.cover.createdAt`, `product.cover`.`updated_at` as `product.cover.updatedAt`, `product.translation.metaDescription`, `product.parent.translation.metaDescription`, COALESCE(`product.translation.metaDescription`,`product.parent.translation.metaDescription`,`product.translation.metaDescription`) as `product.metaDescription`, `product.translation.name`, `product.parent.translation.name`, COALESCE(`product.translation.name`,`product.parent.translation.name`,`product.translation.name`) as `product.name`, `product.translation.keywords`, `product.parent.translation.keywords`, COALESCE(`product.translation.keywords`,`product.parent.translation.keywords`,`product.translation.keywords`) as `product.keywords`, `product.translation.description`, `product.parent.translation.description`, COALESCE(`product.translation.description`,`product.parent.translation.description`,`product.translation.description`) as `product.description`, `product.translation.metaTitle`, `product.parent.translation.metaTitle`, COALESCE(`product.translation.metaTitle`,`product.parent.translation.metaTitle`,`product.translation.metaTitle`) as `product.metaTitle`, `product.translation.packUnit`, `product.parent.translation.packUnit`, COALESCE(`product.translation.packUnit`,`product.parent.translation.packUnit`,`product.translation.packUnit`) as `product.packUnit`, `product.translation.packUnitPlural`, `product.parent.translation.packUnitPlural`, COALESCE(`product.translation.packUnitPlural`,`product.parent.translation.packUnitPlural`,`product.translation.packUnitPlural`) as `product.packUnitPlural`, `product.translation.customSearchKeywords`, `product.parent.translation.customSearchKeywords`, COALESCE(`product.translation.customSearchKeywords`,`product.parent.translation.customSearchKeywords`,`product.translation.customSearchKeywords`) as `product.customSearchKeywords`, `product.translation.slotConfig`, `product.parent.translation.slotConfig`, COALESCE(`product.translation.slotConfig`,`product.parent.translation.slotConfig`,`product.translation.slotConfig`) as `product.slotConfig`, `product.translation.customFields`, `product.parent.translation.customFields`, COALESCE(`product.translation.customFields`,`product.parent.translation.customFields`,`product.translation.customFields`) as `product.customFields`, `product.translation.createdAt`, `product.parent.translation.createdAt`, `product.translation.updatedAt`, `product.parent.translation.updatedAt`, `product.translation.productId`, `product.parent.translation.productId`, `product.translation.languageId`, `product.parent.translation.languageId`, `product.translation.productVersionId`, `product.parent.translation.productVersionId` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN (SELECT `product.translation`.product_id, `product.translation`.product_version_id, `product.translation`.meta_description as `product.translation.metaDescription`, `product.translation`.name as `product.translation.name`, `product.translation`.keywords as `product.translation.keywords`, `product.translation`.description as `product.translation.description`, `product.translation`.meta_title as `product.translation.metaTitle`, `product.translation`.pack_unit as `product.translation.packUnit`, `product.translation`.pack_unit_plural as `product.translation.packUnitPlural`, `product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`, `product.translation`.slot_config as `product.translation.slotConfig`, `product.translation`.custom_fields as `product.translation.customFields`, `product.translation`.created_at as `product.translation.createdAt`, `product.translation`.updated_at as `product.translation.updatedAt`, `product.translation`.product_id as `product.translation.productId`, `product.translation`.language_id as `product.translation.languageId`, `product.translation`.product_version_id as `product.translation.productVersionId` FROM `product_translation` `product.translation` WHERE `product.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id` AND `product.product_translation`.product_version_id = `product`.version_id LEFT JOIN (SELECT `product.parent.translation`.product_id, `product.parent.translation`.product_version_id, `product.parent.translation`.meta_description as `product.parent.translation.metaDescription`, `product.parent.translation`.name as `product.parent.translation.name`, `product.parent.translation`.keywords as `product.parent.translation.keywords`, `product.parent.translation`.description as `product.parent.translation.description`, `product.parent.translation`.meta_title as `product.parent.translation.metaTitle`, `product.parent.translation`.pack_unit as `product.parent.translation.packUnit`, `product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`, `product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`, `product.parent.translation`.slot_config as `product.parent.translation.slotConfig`, `product.parent.translation`.custom_fields as `product.parent.translation.customFields`, `product.parent.translation`.created_at as `product.parent.translation.createdAt`, `product.parent.translation`.updated_at as `product.parent.translation.updatedAt`, `product.parent.translation`.product_id as `product.parent.translation.productId`, `product.parent.translation`.language_id as `product.parent.translation.languageId`, `product.parent.translation`.product_version_id as `product.parent.translation.productVersionId` FROM `product_translation` `product.parent.translation` WHERE `product.parent.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id` AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id` LEFT JOIN `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_id` LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id` AND `product`.`version_id` = `product.cover`.`version_id` LEFT JOIN `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`id` LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id` LEFT JOIN (SELECT `product.cover.media.translation`.media_id, `product.cover.media.translation`.title as `product.cover.media.translation.title`, `product.cover.media.translation`.alt as `product.cover.media.translation.alt`, `product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`, `product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`, `product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`, `product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`, `product.cover.media.translation`.language_id as `product.cover.media.translation.languageId` FROM `media_translation` `product.cover.media.translation` WHERE `product.cover.media.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id` WHERE (`product`.`version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425) AND (`product`.`id` IN (0x03F4EF144EC44C3E822790C652F7C3F6));
array:51 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 316)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetch (line 148)"
4 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 93)"
5 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::read (line 257)"
6 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::read (line 286)"
7 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::_search (line 106)"
8 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::search (line 51)"
9 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepositoryForwardCompatibilityDecorator::search (line 103)"
10 => "Bodymed\Webshop\StoreFront\Subscriber\ProductExtensionSubscriber::addParentCover (line 230)"
11 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
12 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
13 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
14 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
15 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
16 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 33)"
17 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
18 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 208)"
19 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::read (line 133)"
20 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 49)"
21 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariantsOfProduct (line 30)"
22 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariants (line 224)"
23 => "Bodymed\Webshop\Core\Content\Product\Cms\ProductSliderCmsElementResolver::enrich (line 99)"
24 => "Shopware\Core\Content\Cms\DataResolver\CmsSlotsDataResolver::resolve (line 104)"
25 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::loadSlotData (line 94)"
26 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::load (line 102)"
27 => "Shopware\Core\Content\Category\SalesChannel\CategoryRoute::load (line 103)"
28 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 350)"
29 => "Shopware\Core\System\SystemConfig\SystemConfigService::trace (line 44)"
30 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 120)"
31 => "Shopware\Core\Framework\Adapter\Translation\Translator::trace (line 45)"
32 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 46)"
33 => "Shopware\Core\Framework\Adapter\Cache\CacheTagCollection::trace (line 46)"
34 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::trace (line 41)"
35 => "Shopware\Storefront\Framework\Cache\CacheTracer::Shopware\Storefront\Framework\Cache\{closure} (line 59)"
36 => "Shopware\Storefront\Theme\ThemeConfigValueAccessor::trace (line 42)"
37 => "Shopware\Storefront\Framework\Cache\CacheTracer::trace (line 104)"
38 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 72)"
39 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
40 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 109)"
41 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 59)"
42 => "Shopware\Core\Profiling\Profiler::trace (line 112)"
43 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::load (line 66)"
44 => "Shopware\Storefront\Page\Navigation\NavigationPageLoader::load (line 48)"
45 => "Shopware\Storefront\Controller\NavigationController::home (line 163)"
46 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
47 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
48 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
49 => "Shopware\Core\HttpKernel::doHandle (line 81)"
50 => "Shopware\Core\HttpKernel::handle (line 75)"
]
|
81 |
0.65 ms |
SELECT * FROM sales_channel_api_context WHERE (sales_channel_id = :salesChannelId) AND (token = :token) LIMIT 1
SELECT * FROM sales_channel_api_context WHERE (sales_channel_id = 0x620A2217F7474E619CB00AD39E804CCA) AND (token = 'FwsxT47353Zxmr7lp0KSfYcVNkg5VpYR') LIMIT 1;
array:58 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 165)"
3 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextPersister::load (line 69)"
4 => "Bodymed\Webshop\Core\Subscriber\ProductSubscriber::addCustomerProductFeatureExtension (line 230)"
5 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
6 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
7 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
8 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
9 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
10 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 33)"
11 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
12 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 269)"
13 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::read (line 286)"
14 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::_search (line 106)"
15 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::search (line 51)"
16 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepositoryForwardCompatibilityDecorator::search (line 103)"
17 => "Bodymed\Webshop\StoreFront\Subscriber\ProductExtensionSubscriber::addParentCover (line 230)"
18 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
19 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
20 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
21 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
22 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
23 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 33)"
24 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
25 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 208)"
26 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::read (line 133)"
27 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 49)"
28 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariantsOfProduct (line 30)"
29 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariants (line 224)"
30 => "Bodymed\Webshop\Core\Content\Product\Cms\ProductSliderCmsElementResolver::enrich (line 99)"
31 => "Shopware\Core\Content\Cms\DataResolver\CmsSlotsDataResolver::resolve (line 104)"
32 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::loadSlotData (line 94)"
33 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::load (line 102)"
34 => "Shopware\Core\Content\Category\SalesChannel\CategoryRoute::load (line 103)"
35 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 350)"
36 => "Shopware\Core\System\SystemConfig\SystemConfigService::trace (line 44)"
37 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 120)"
38 => "Shopware\Core\Framework\Adapter\Translation\Translator::trace (line 45)"
39 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 46)"
40 => "Shopware\Core\Framework\Adapter\Cache\CacheTagCollection::trace (line 46)"
41 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::trace (line 41)"
42 => "Shopware\Storefront\Framework\Cache\CacheTracer::Shopware\Storefront\Framework\Cache\{closure} (line 59)"
43 => "Shopware\Storefront\Theme\ThemeConfigValueAccessor::trace (line 42)"
44 => "Shopware\Storefront\Framework\Cache\CacheTracer::trace (line 104)"
45 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 72)"
46 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
47 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 109)"
48 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 59)"
49 => "Shopware\Core\Profiling\Profiler::trace (line 112)"
50 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::load (line 66)"
51 => "Shopware\Storefront\Page\Navigation\NavigationPageLoader::load (line 48)"
52 => "Shopware\Storefront\Controller\NavigationController::home (line 163)"
53 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
54 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
55 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
56 => "Shopware\Core\HttpKernel::doHandle (line 81)"
57 => "Shopware\Core\HttpKernel::handle (line 75)"
]
|
82 |
24.54 ms |
SELECT `product`.`id` as `product.id`, `product`.`version_id` as `product.versionId`, `product`.`parent_id` as `product.parentId`, `product`.`parent_version_id` as `product.parentVersionId`, COALESCE(`product`.`product_manufacturer_id`, `product.parent`.`product_manufacturer_id`) as `product.manufacturerId`, COALESCE(`product`.`product_manufacturer_version_id`, `product.parent`.`product_manufacturer_version_id`) as `product.productManufacturerVersionId`, COALESCE(`product`.`unit_id`, `product.parent`.`unit_id`) as `product.unitId`, COALESCE(`product`.`tax_id`, `product.parent`.`tax_id`) as `product.taxId`, COALESCE(`product`.`product_media_id`, `product.parent`.`product_media_id`) as `product.coverId`, COALESCE(`product`.`product_media_version_id`, `product.parent`.`product_media_version_id`) as `product.productMediaVersionId`, COALESCE(`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`) as `product.deliveryTimeId`, COALESCE(`product`.`product_feature_set_id`, `product.parent`.`product_feature_set_id`) as `product.featureSetId`, COALESCE(`product`.`canonical_product_id`, `product.parent`.`canonical_product_id`) as `product.canonicalProductId`, COALESCE(`product`.`cms_page_id`, `product.parent`.`cms_page_id`) as `product.cmsPageId`, COALESCE(`product`.`cms_page_version_id`, `product.parent`.`cms_page_version_id`) as `product.cmsPageVersionId`, `product.parent`.`price` as `product.price.inherited`, COALESCE(`product`.`price`, `product.parent`.`price`) as `product.price`, `product`.`product_number` as `product.productNumber`, `product`.`stock` as `product.stock`, COALESCE(`product`.`restock_time`, `product.parent`.`restock_time`) as `product.restockTime`, `product`.`auto_increment` as `product.autoIncrement`, COALESCE(`product`.`active`, `product.parent`.`active`) as `product.active`, `product`.`available_stock` as `product.availableStock`, `product`.`available` as `product.available`, COALESCE(`product`.`is_closeout`, `product.parent`.`is_closeout`) as `product.isCloseout`, `product`.`display_group` as `product.displayGroup`, `product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`, COALESCE(`product`.`configurator_group_config`, `product.parent`.`configurator_group_config`) as `product.configuratorGroupConfig`, COALESCE(`product`.`main_variant_id`, `product.parent`.`main_variant_id`) as `product.mainVariantId`, COALESCE(`product`.`display_parent`, `product.parent`.`display_parent`) as `product.displayParent`, `product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`, COALESCE(`product`.`variant_listing_config`, `product.parent`.`variant_listing_config`) as `product.variantListingConfig`, `product`.`variant_restrictions` as `product.variantRestrictions`, COALESCE(`product`.`manufacturer_number`, `product.parent`.`manufacturer_number`) as `product.manufacturerNumber`, COALESCE(`product`.`ean`, `product.parent`.`ean`) as `product.ean`, COALESCE(`product`.`purchase_steps`, `product.parent`.`purchase_steps`) as `product.purchaseSteps`, COALESCE(`product`.`max_purchase`, `product.parent`.`max_purchase`) as `product.maxPurchase`, COALESCE(`product`.`min_purchase`, `product.parent`.`min_purchase`) as `product.minPurchase`, COALESCE(`product`.`purchase_unit`, `product.parent`.`purchase_unit`) as `product.purchaseUnit`, COALESCE(`product`.`reference_unit`, `product.parent`.`reference_unit`) as `product.referenceUnit`, COALESCE(`product`.`shipping_free`, `product.parent`.`shipping_free`) as `product.shippingFree`, `product.parent`.`purchase_prices` as `product.purchasePrices.inherited`, COALESCE(`product`.`purchase_prices`, `product.parent`.`purchase_prices`) as `product.purchasePrices`, COALESCE(`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`) as `product.markAsTopseller`, COALESCE(`product`.`weight`, `product.parent`.`weight`) as `product.weight`, COALESCE(`product`.`width`, `product.parent`.`width`) as `product.width`, COALESCE(`product`.`height`, `product.parent`.`height`) as `product.height`, COALESCE(`product`.`length`, `product.parent`.`length`) as `product.length`, COALESCE(`product`.`release_date`, `product.parent`.`release_date`) as `product.releaseDate`, COALESCE(`product`.`rating_average`, `product.parent`.`rating_average`) as `product.ratingAverage`, `product.parent`.`category_tree` as `product.categoryTree.inherited`, COALESCE(`product`.`category_tree`, `product.parent`.`category_tree`) as `product.categoryTree`, `product.parent`.`property_ids` as `product.propertyIds.inherited`, COALESCE(`product`.`property_ids`, `product.parent`.`property_ids`) as `product.propertyIds`, `product.parent`.`option_ids` as `product.optionIds.inherited`, COALESCE(`product`.`option_ids`, `product.parent`.`option_ids`) as `product.optionIds`, `product.parent`.`stream_ids` as `product.streamIds.inherited`, COALESCE(`product`.`stream_ids`, `product.parent`.`stream_ids`) as `product.streamIds`, `product.parent`.`tag_ids` as `product.tagIds.inherited`, COALESCE(`product`.`tag_ids`, `product.parent`.`tag_ids`) as `product.tagIds`, `product.parent`.`category_ids` as `product.categoryIds.inherited`, COALESCE(`product`.`category_ids`, `product.parent`.`category_ids`) as `product.categoryIds`, `product`.`child_count` as `product.childCount`, COALESCE(`product`.`custom_field_set_selection_active`, `product.parent`.`custom_field_set_selection_active`) as `product.customFieldSetSelectionActive`, `product`.`sales` as `product.sales`, `product`.`states` as `product.states`, `product.tax`.`id` as `product.tax.id`, `product.tax`.`tax_rate` as `product.tax.taxRate`, `product.tax`.`name` as `product.tax.name`, `product.tax`.`position` as `product.tax.position`, `product.tax`.`custom_fields` as `product.tax.customFields`, `product.tax`.`created_at` as `product.tax.createdAt`, `product.tax`.`updated_at` as `product.tax.updatedAt`, `product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`, COALESCE(`product`.`cheapest_price`, `product.parent`.`cheapest_price`) as `product.cheapestPrice`, `product`.`created_at` as `product.createdAt`, `product`.`updated_at` as `product.updatedAt`, `product.bundle`.`id` as `product.bundle.id`, `product.bundle`.`product_id` as `product.bundle.productId`, `product.bundle`.`product_version_id` as `product.bundle.productVersionId`, `product.bundle`.`name` as `product.bundle.name`, `product.bundle`.`price_type` as `product.bundle.priceType`, `product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`, `product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`, `product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`, `product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`, `product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`, `product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`, `product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`, `product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`, `product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`, `product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`, `product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`, `product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`, `product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`, `product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`, `product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`, `product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`, `product.bundle`.`created_at` as `product.bundle.createdAt`, `product.bundle`.`updated_at` as `product.bundle.updatedAt`, `product.cover`.`id` as `product.cover.id`, `product.cover`.`version_id` as `product.cover.versionId`, `product.cover`.`product_id` as `product.cover.productId`, `product.cover`.`product_version_id` as `product.cover.productVersionId`, `product.cover`.`media_id` as `product.cover.mediaId`, `product.cover`.`position` as `product.cover.position`, `product.cover.media`.`id` as `product.cover.media.id`, `product.cover.media`.`user_id` as `product.cover.media.userId`, `product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`, `product.cover.media`.`mime_type` as `product.cover.media.mimeType`, `product.cover.media`.`file_extension` as `product.cover.media.fileExtension`, `product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`, `product.cover.media`.`file_name` as `product.cover.media.fileName`, `product.cover.media`.`file_size` as `product.cover.media.fileSize`, `product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`, `product.cover.media`.`meta_data` as `product.cover.media.metaData`, `product.cover.media`.`private` as `product.cover.media.private`, `product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`, `product.cover.media`.`created_at` as `product.cover.media.createdAt`, `product.cover.media`.`updated_at` as `product.cover.media.updatedAt`, `product.cover.media.translation.title`, COALESCE(`product.cover.media.translation.title`,`product.cover.media.translation.title`) as `product.cover.media.title`, `product.cover.media.translation.alt`, COALESCE(`product.cover.media.translation.alt`,`product.cover.media.translation.alt`) as `product.cover.media.alt`, `product.cover.media.translation.customFields`, COALESCE(`product.cover.media.translation.customFields`,`product.cover.media.translation.customFields`) as `product.cover.media.customFields`, `product.cover.media.translation.createdAt`, `product.cover.media.translation.updatedAt`, `product.cover.media.translation.mediaId`, `product.cover.media.translation.languageId`, `product.cover`.`custom_fields` as `product.cover.customFields`, `product.cover`.`created_at` as `product.cover.createdAt`, `product.cover`.`updated_at` as `product.cover.updatedAt`, `product.translation.metaDescription`, `product.parent.translation.metaDescription`, COALESCE(`product.translation.metaDescription`,`product.parent.translation.metaDescription`,`product.translation.metaDescription`) as `product.metaDescription`, `product.translation.name`, `product.parent.translation.name`, COALESCE(`product.translation.name`,`product.parent.translation.name`,`product.translation.name`) as `product.name`, `product.translation.keywords`, `product.parent.translation.keywords`, COALESCE(`product.translation.keywords`,`product.parent.translation.keywords`,`product.translation.keywords`) as `product.keywords`, `product.translation.description`, `product.parent.translation.description`, COALESCE(`product.translation.description`,`product.parent.translation.description`,`product.translation.description`) as `product.description`, `product.translation.metaTitle`, `product.parent.translation.metaTitle`, COALESCE(`product.translation.metaTitle`,`product.parent.translation.metaTitle`,`product.translation.metaTitle`) as `product.metaTitle`, `product.translation.packUnit`, `product.parent.translation.packUnit`, COALESCE(`product.translation.packUnit`,`product.parent.translation.packUnit`,`product.translation.packUnit`) as `product.packUnit`, `product.translation.packUnitPlural`, `product.parent.translation.packUnitPlural`, COALESCE(`product.translation.packUnitPlural`,`product.parent.translation.packUnitPlural`,`product.translation.packUnitPlural`) as `product.packUnitPlural`, `product.translation.customSearchKeywords`, `product.parent.translation.customSearchKeywords`, COALESCE(`product.translation.customSearchKeywords`,`product.parent.translation.customSearchKeywords`,`product.translation.customSearchKeywords`) as `product.customSearchKeywords`, `product.translation.slotConfig`, `product.parent.translation.slotConfig`, COALESCE(`product.translation.slotConfig`,`product.parent.translation.slotConfig`,`product.translation.slotConfig`) as `product.slotConfig`, `product.translation.customFields`, `product.parent.translation.customFields`, COALESCE(`product.translation.customFields`,`product.parent.translation.customFields`,`product.translation.customFields`) as `product.customFields`, `product.translation.createdAt`, `product.parent.translation.createdAt`, `product.translation.updatedAt`, `product.parent.translation.updatedAt`, `product.translation.productId`, `product.parent.translation.productId`, `product.translation.languageId`, `product.parent.translation.languageId`, `product.translation.productVersionId`, `product.parent.translation.productVersionId` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN (SELECT `product.translation`.product_id, `product.translation`.product_version_id, `product.translation`.meta_description as `product.translation.metaDescription`, `product.translation`.name as `product.translation.name`, `product.translation`.keywords as `product.translation.keywords`, `product.translation`.description as `product.translation.description`, `product.translation`.meta_title as `product.translation.metaTitle`, `product.translation`.pack_unit as `product.translation.packUnit`, `product.translation`.pack_unit_plural as `product.translation.packUnitPlural`, `product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`, `product.translation`.slot_config as `product.translation.slotConfig`, `product.translation`.custom_fields as `product.translation.customFields`, `product.translation`.created_at as `product.translation.createdAt`, `product.translation`.updated_at as `product.translation.updatedAt`, `product.translation`.product_id as `product.translation.productId`, `product.translation`.language_id as `product.translation.languageId`, `product.translation`.product_version_id as `product.translation.productVersionId` FROM `product_translation` `product.translation` WHERE `product.translation`.language_id = :languageId) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id` AND `product.product_translation`.product_version_id = `product`.version_id LEFT JOIN (SELECT `product.parent.translation`.product_id, `product.parent.translation`.product_version_id, `product.parent.translation`.meta_description as `product.parent.translation.metaDescription`, `product.parent.translation`.name as `product.parent.translation.name`, `product.parent.translation`.keywords as `product.parent.translation.keywords`, `product.parent.translation`.description as `product.parent.translation.description`, `product.parent.translation`.meta_title as `product.parent.translation.metaTitle`, `product.parent.translation`.pack_unit as `product.parent.translation.packUnit`, `product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`, `product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`, `product.parent.translation`.slot_config as `product.parent.translation.slotConfig`, `product.parent.translation`.custom_fields as `product.parent.translation.customFields`, `product.parent.translation`.created_at as `product.parent.translation.createdAt`, `product.parent.translation`.updated_at as `product.parent.translation.updatedAt`, `product.parent.translation`.product_id as `product.parent.translation.productId`, `product.parent.translation`.language_id as `product.parent.translation.languageId`, `product.parent.translation`.product_version_id as `product.parent.translation.productVersionId` FROM `product_translation` `product.parent.translation` WHERE `product.parent.translation`.language_id = :languageId) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id` AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id` LEFT JOIN `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_id` LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id` AND `product`.`version_id` = `product.cover`.`version_id` LEFT JOIN `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`id` LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id` LEFT JOIN (SELECT `product.cover.media.translation`.media_id, `product.cover.media.translation`.title as `product.cover.media.translation.title`, `product.cover.media.translation`.alt as `product.cover.media.translation.alt`, `product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`, `product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`, `product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`, `product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`, `product.cover.media.translation`.language_id as `product.cover.media.translation.languageId` FROM `media_translation` `product.cover.media.translation` WHERE `product.cover.media.translation`.language_id = :languageId) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id` WHERE (`product`.`version_id` = :version) AND (`product`.`id` IN (:ids))
SELECT
`product`.`id` as `product.id`,
`product`.`version_id` as `product.versionId`,
`product`.`parent_id` as `product.parentId`,
`product`.`parent_version_id` as `product.parentVersionId`,
COALESCE(
`product`.`product_manufacturer_id`,
`product.parent`.`product_manufacturer_id`
) as `product.manufacturerId`,
COALESCE(
`product`.`product_manufacturer_version_id`,
`product.parent`.`product_manufacturer_version_id`
) as `product.productManufacturerVersionId`,
COALESCE(
`product`.`unit_id`, `product.parent`.`unit_id`
) as `product.unitId`,
COALESCE(
`product`.`tax_id`, `product.parent`.`tax_id`
) as `product.taxId`,
COALESCE(
`product`.`product_media_id`, `product.parent`.`product_media_id`
) as `product.coverId`,
COALESCE(
`product`.`product_media_version_id`,
`product.parent`.`product_media_version_id`
) as `product.productMediaVersionId`,
COALESCE(
`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`
) as `product.deliveryTimeId`,
COALESCE(
`product`.`product_feature_set_id`,
`product.parent`.`product_feature_set_id`
) as `product.featureSetId`,
COALESCE(
`product`.`canonical_product_id`,
`product.parent`.`canonical_product_id`
) as `product.canonicalProductId`,
COALESCE(
`product`.`cms_page_id`, `product.parent`.`cms_page_id`
) as `product.cmsPageId`,
COALESCE(
`product`.`cms_page_version_id`,
`product.parent`.`cms_page_version_id`
) as `product.cmsPageVersionId`,
`product.parent`.`price` as `product.price.inherited`,
COALESCE(
`product`.`price`, `product.parent`.`price`
) as `product.price`,
`product`.`product_number` as `product.productNumber`,
`product`.`stock` as `product.stock`,
COALESCE(
`product`.`restock_time`, `product.parent`.`restock_time`
) as `product.restockTime`,
`product`.`auto_increment` as `product.autoIncrement`,
COALESCE(
`product`.`active`, `product.parent`.`active`
) as `product.active`,
`product`.`available_stock` as `product.availableStock`,
`product`.`available` as `product.available`,
COALESCE(
`product`.`is_closeout`, `product.parent`.`is_closeout`
) as `product.isCloseout`,
`product`.`display_group` as `product.displayGroup`,
`product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`,
COALESCE(
`product`.`configurator_group_config`,
`product.parent`.`configurator_group_config`
) as `product.configuratorGroupConfig`,
COALESCE(
`product`.`main_variant_id`, `product.parent`.`main_variant_id`
) as `product.mainVariantId`,
COALESCE(
`product`.`display_parent`, `product.parent`.`display_parent`
) as `product.displayParent`,
`product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`,
COALESCE(
`product`.`variant_listing_config`,
`product.parent`.`variant_listing_config`
) as `product.variantListingConfig`,
`product`.`variant_restrictions` as `product.variantRestrictions`,
COALESCE(
`product`.`manufacturer_number`,
`product.parent`.`manufacturer_number`
) as `product.manufacturerNumber`,
COALESCE(
`product`.`ean`, `product.parent`.`ean`
) as `product.ean`,
COALESCE(
`product`.`purchase_steps`, `product.parent`.`purchase_steps`
) as `product.purchaseSteps`,
COALESCE(
`product`.`max_purchase`, `product.parent`.`max_purchase`
) as `product.maxPurchase`,
COALESCE(
`product`.`min_purchase`, `product.parent`.`min_purchase`
) as `product.minPurchase`,
COALESCE(
`product`.`purchase_unit`, `product.parent`.`purchase_unit`
) as `product.purchaseUnit`,
COALESCE(
`product`.`reference_unit`, `product.parent`.`reference_unit`
) as `product.referenceUnit`,
COALESCE(
`product`.`shipping_free`, `product.parent`.`shipping_free`
) as `product.shippingFree`,
`product.parent`.`purchase_prices` as `product.purchasePrices.inherited`,
COALESCE(
`product`.`purchase_prices`, `product.parent`.`purchase_prices`
) as `product.purchasePrices`,
COALESCE(
`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`
) as `product.markAsTopseller`,
COALESCE(
`product`.`weight`, `product.parent`.`weight`
) as `product.weight`,
COALESCE(
`product`.`width`, `product.parent`.`width`
) as `product.width`,
COALESCE(
`product`.`height`, `product.parent`.`height`
) as `product.height`,
COALESCE(
`product`.`length`, `product.parent`.`length`
) as `product.length`,
COALESCE(
`product`.`release_date`, `product.parent`.`release_date`
) as `product.releaseDate`,
COALESCE(
`product`.`rating_average`, `product.parent`.`rating_average`
) as `product.ratingAverage`,
`product.parent`.`category_tree` as `product.categoryTree.inherited`,
COALESCE(
`product`.`category_tree`, `product.parent`.`category_tree`
) as `product.categoryTree`,
`product.parent`.`property_ids` as `product.propertyIds.inherited`,
COALESCE(
`product`.`property_ids`, `product.parent`.`property_ids`
) as `product.propertyIds`,
`product.parent`.`option_ids` as `product.optionIds.inherited`,
COALESCE(
`product`.`option_ids`, `product.parent`.`option_ids`
) as `product.optionIds`,
`product.parent`.`stream_ids` as `product.streamIds.inherited`,
COALESCE(
`product`.`stream_ids`, `product.parent`.`stream_ids`
) as `product.streamIds`,
`product.parent`.`tag_ids` as `product.tagIds.inherited`,
COALESCE(
`product`.`tag_ids`, `product.parent`.`tag_ids`
) as `product.tagIds`,
`product.parent`.`category_ids` as `product.categoryIds.inherited`,
COALESCE(
`product`.`category_ids`, `product.parent`.`category_ids`
) as `product.categoryIds`,
`product`.`child_count` as `product.childCount`,
COALESCE(
`product`.`custom_field_set_selection_active`,
`product.parent`.`custom_field_set_selection_active`
) as `product.customFieldSetSelectionActive`,
`product`.`sales` as `product.sales`,
`product`.`states` as `product.states`,
`product.tax`.`id` as `product.tax.id`,
`product.tax`.`tax_rate` as `product.tax.taxRate`,
`product.tax`.`name` as `product.tax.name`,
`product.tax`.`position` as `product.tax.position`,
`product.tax`.`custom_fields` as `product.tax.customFields`,
`product.tax`.`created_at` as `product.tax.createdAt`,
`product.tax`.`updated_at` as `product.tax.updatedAt`,
`product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`,
COALESCE(
`product`.`cheapest_price`, `product.parent`.`cheapest_price`
) as `product.cheapestPrice`,
`product`.`created_at` as `product.createdAt`,
`product`.`updated_at` as `product.updatedAt`,
`product.bundle`.`id` as `product.bundle.id`,
`product.bundle`.`product_id` as `product.bundle.productId`,
`product.bundle`.`product_version_id` as `product.bundle.productVersionId`,
`product.bundle`.`name` as `product.bundle.name`,
`product.bundle`.`price_type` as `product.bundle.priceType`,
`product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`,
`product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`,
`product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`,
`product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`,
`product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`,
`product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`,
`product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`,
`product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`,
`product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`,
`product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`,
`product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`,
`product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`,
`product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`,
`product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`,
`product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`,
`product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`,
`product.bundle`.`created_at` as `product.bundle.createdAt`,
`product.bundle`.`updated_at` as `product.bundle.updatedAt`,
`product.cover`.`id` as `product.cover.id`,
`product.cover`.`version_id` as `product.cover.versionId`,
`product.cover`.`product_id` as `product.cover.productId`,
`product.cover`.`product_version_id` as `product.cover.productVersionId`,
`product.cover`.`media_id` as `product.cover.mediaId`,
`product.cover`.`position` as `product.cover.position`,
`product.cover.media`.`id` as `product.cover.media.id`,
`product.cover.media`.`user_id` as `product.cover.media.userId`,
`product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`,
`product.cover.media`.`mime_type` as `product.cover.media.mimeType`,
`product.cover.media`.`file_extension` as `product.cover.media.fileExtension`,
`product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`,
`product.cover.media`.`file_name` as `product.cover.media.fileName`,
`product.cover.media`.`file_size` as `product.cover.media.fileSize`,
`product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`,
`product.cover.media`.`meta_data` as `product.cover.media.metaData`,
`product.cover.media`.`private` as `product.cover.media.private`,
`product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`,
`product.cover.media`.`created_at` as `product.cover.media.createdAt`,
`product.cover.media`.`updated_at` as `product.cover.media.updatedAt`,
`product.cover.media.translation.title`,
COALESCE(
`product.cover.media.translation.title`,
`product.cover.media.translation.title`
) as `product.cover.media.title`,
`product.cover.media.translation.alt`,
COALESCE(
`product.cover.media.translation.alt`,
`product.cover.media.translation.alt`
) as `product.cover.media.alt`,
`product.cover.media.translation.customFields`,
COALESCE(
`product.cover.media.translation.customFields`,
`product.cover.media.translation.customFields`
) as `product.cover.media.customFields`,
`product.cover.media.translation.createdAt`,
`product.cover.media.translation.updatedAt`,
`product.cover.media.translation.mediaId`,
`product.cover.media.translation.languageId`,
`product.cover`.`custom_fields` as `product.cover.customFields`,
`product.cover`.`created_at` as `product.cover.createdAt`,
`product.cover`.`updated_at` as `product.cover.updatedAt`,
`product.translation.metaDescription`,
`product.parent.translation.metaDescription`,
COALESCE(
`product.translation.metaDescription`,
`product.parent.translation.metaDescription`,
`product.translation.metaDescription`
) as `product.metaDescription`,
`product.translation.name`,
`product.parent.translation.name`,
COALESCE(
`product.translation.name`, `product.parent.translation.name`,
`product.translation.name`
) as `product.name`,
`product.translation.keywords`,
`product.parent.translation.keywords`,
COALESCE(
`product.translation.keywords`,
`product.parent.translation.keywords`,
`product.translation.keywords`
) as `product.keywords`,
`product.translation.description`,
`product.parent.translation.description`,
COALESCE(
`product.translation.description`,
`product.parent.translation.description`,
`product.translation.description`
) as `product.description`,
`product.translation.metaTitle`,
`product.parent.translation.metaTitle`,
COALESCE(
`product.translation.metaTitle`,
`product.parent.translation.metaTitle`,
`product.translation.metaTitle`
) as `product.metaTitle`,
`product.translation.packUnit`,
`product.parent.translation.packUnit`,
COALESCE(
`product.translation.packUnit`,
`product.parent.translation.packUnit`,
`product.translation.packUnit`
) as `product.packUnit`,
`product.translation.packUnitPlural`,
`product.parent.translation.packUnitPlural`,
COALESCE(
`product.translation.packUnitPlural`,
`product.parent.translation.packUnitPlural`,
`product.translation.packUnitPlural`
) as `product.packUnitPlural`,
`product.translation.customSearchKeywords`,
`product.parent.translation.customSearchKeywords`,
COALESCE(
`product.translation.customSearchKeywords`,
`product.parent.translation.customSearchKeywords`,
`product.translation.customSearchKeywords`
) as `product.customSearchKeywords`,
`product.translation.slotConfig`,
`product.parent.translation.slotConfig`,
COALESCE(
`product.translation.slotConfig`,
`product.parent.translation.slotConfig`,
`product.translation.slotConfig`
) as `product.slotConfig`,
`product.translation.customFields`,
`product.parent.translation.customFields`,
COALESCE(
`product.translation.customFields`,
`product.parent.translation.customFields`,
`product.translation.customFields`
) as `product.customFields`,
`product.translation.createdAt`,
`product.parent.translation.createdAt`,
`product.translation.updatedAt`,
`product.parent.translation.updatedAt`,
`product.translation.productId`,
`product.parent.translation.productId`,
`product.translation.languageId`,
`product.parent.translation.languageId`,
`product.translation.productVersionId`,
`product.parent.translation.productVersionId`
FROM
`product`
LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id`
AND `product`.`version_id` = `product.parent`.`version_id`
LEFT JOIN (
SELECT
`product.translation`.product_id,
`product.translation`.product_version_id,
`product.translation`.meta_description as `product.translation.metaDescription`,
`product.translation`.name as `product.translation.name`,
`product.translation`.keywords as `product.translation.keywords`,
`product.translation`.description as `product.translation.description`,
`product.translation`.meta_title as `product.translation.metaTitle`,
`product.translation`.pack_unit as `product.translation.packUnit`,
`product.translation`.pack_unit_plural as `product.translation.packUnitPlural`,
`product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`,
`product.translation`.slot_config as `product.translation.slotConfig`,
`product.translation`.custom_fields as `product.translation.customFields`,
`product.translation`.created_at as `product.translation.createdAt`,
`product.translation`.updated_at as `product.translation.updatedAt`,
`product.translation`.product_id as `product.translation.productId`,
`product.translation`.language_id as `product.translation.languageId`,
`product.translation`.product_version_id as `product.translation.productVersionId`
FROM
`product_translation` `product.translation`
WHERE
`product.translation`.language_id = : languageId
) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id`
AND `product.product_translation`.product_version_id = `product`.version_id
LEFT JOIN (
SELECT
`product.parent.translation`.product_id,
`product.parent.translation`.product_version_id,
`product.parent.translation`.meta_description as `product.parent.translation.metaDescription`,
`product.parent.translation`.name as `product.parent.translation.name`,
`product.parent.translation`.keywords as `product.parent.translation.keywords`,
`product.parent.translation`.description as `product.parent.translation.description`,
`product.parent.translation`.meta_title as `product.parent.translation.metaTitle`,
`product.parent.translation`.pack_unit as `product.parent.translation.packUnit`,
`product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`,
`product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`,
`product.parent.translation`.slot_config as `product.parent.translation.slotConfig`,
`product.parent.translation`.custom_fields as `product.parent.translation.customFields`,
`product.parent.translation`.created_at as `product.parent.translation.createdAt`,
`product.parent.translation`.updated_at as `product.parent.translation.updatedAt`,
`product.parent.translation`.product_id as `product.parent.translation.productId`,
`product.parent.translation`.language_id as `product.parent.translation.languageId`,
`product.parent.translation`.product_version_id as `product.parent.translation.productVersionId`
FROM
`product_translation` `product.parent.translation`
WHERE
`product.parent.translation`.language_id = : languageId
) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id`
AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id
LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id`
LEFT JOIN `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_id`
LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id`
AND `product`.`version_id` = `product.cover`.`version_id`
LEFT JOIN `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id`
LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id`
LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`id`
LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id`
LEFT JOIN (
SELECT
`product.cover.media.translation`.media_id,
`product.cover.media.translation`.title as `product.cover.media.translation.title`,
`product.cover.media.translation`.alt as `product.cover.media.translation.alt`,
`product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`,
`product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`,
`product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`,
`product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`,
`product.cover.media.translation`.language_id as `product.cover.media.translation.languageId`
FROM
`media_translation` `product.cover.media.translation`
WHERE
`product.cover.media.translation`.language_id = : languageId
) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id`
WHERE
(
`product`.`version_id` = : version
)
AND (
`product`.`id` IN (: ids)
)
SELECT `product`.`id` as `product.id`, `product`.`version_id` as `product.versionId`, `product`.`parent_id` as `product.parentId`, `product`.`parent_version_id` as `product.parentVersionId`, COALESCE(`product`.`product_manufacturer_id`, `product.parent`.`product_manufacturer_id`) as `product.manufacturerId`, COALESCE(`product`.`product_manufacturer_version_id`, `product.parent`.`product_manufacturer_version_id`) as `product.productManufacturerVersionId`, COALESCE(`product`.`unit_id`, `product.parent`.`unit_id`) as `product.unitId`, COALESCE(`product`.`tax_id`, `product.parent`.`tax_id`) as `product.taxId`, COALESCE(`product`.`product_media_id`, `product.parent`.`product_media_id`) as `product.coverId`, COALESCE(`product`.`product_media_version_id`, `product.parent`.`product_media_version_id`) as `product.productMediaVersionId`, COALESCE(`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`) as `product.deliveryTimeId`, COALESCE(`product`.`product_feature_set_id`, `product.parent`.`product_feature_set_id`) as `product.featureSetId`, COALESCE(`product`.`canonical_product_id`, `product.parent`.`canonical_product_id`) as `product.canonicalProductId`, COALESCE(`product`.`cms_page_id`, `product.parent`.`cms_page_id`) as `product.cmsPageId`, COALESCE(`product`.`cms_page_version_id`, `product.parent`.`cms_page_version_id`) as `product.cmsPageVersionId`, `product.parent`.`price` as `product.price.inherited`, COALESCE(`product`.`price`, `product.parent`.`price`) as `product.price`, `product`.`product_number` as `product.productNumber`, `product`.`stock` as `product.stock`, COALESCE(`product`.`restock_time`, `product.parent`.`restock_time`) as `product.restockTime`, `product`.`auto_increment` as `product.autoIncrement`, COALESCE(`product`.`active`, `product.parent`.`active`) as `product.active`, `product`.`available_stock` as `product.availableStock`, `product`.`available` as `product.available`, COALESCE(`product`.`is_closeout`, `product.parent`.`is_closeout`) as `product.isCloseout`, `product`.`display_group` as `product.displayGroup`, `product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`, COALESCE(`product`.`configurator_group_config`, `product.parent`.`configurator_group_config`) as `product.configuratorGroupConfig`, COALESCE(`product`.`main_variant_id`, `product.parent`.`main_variant_id`) as `product.mainVariantId`, COALESCE(`product`.`display_parent`, `product.parent`.`display_parent`) as `product.displayParent`, `product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`, COALESCE(`product`.`variant_listing_config`, `product.parent`.`variant_listing_config`) as `product.variantListingConfig`, `product`.`variant_restrictions` as `product.variantRestrictions`, COALESCE(`product`.`manufacturer_number`, `product.parent`.`manufacturer_number`) as `product.manufacturerNumber`, COALESCE(`product`.`ean`, `product.parent`.`ean`) as `product.ean`, COALESCE(`product`.`purchase_steps`, `product.parent`.`purchase_steps`) as `product.purchaseSteps`, COALESCE(`product`.`max_purchase`, `product.parent`.`max_purchase`) as `product.maxPurchase`, COALESCE(`product`.`min_purchase`, `product.parent`.`min_purchase`) as `product.minPurchase`, COALESCE(`product`.`purchase_unit`, `product.parent`.`purchase_unit`) as `product.purchaseUnit`, COALESCE(`product`.`reference_unit`, `product.parent`.`reference_unit`) as `product.referenceUnit`, COALESCE(`product`.`shipping_free`, `product.parent`.`shipping_free`) as `product.shippingFree`, `product.parent`.`purchase_prices` as `product.purchasePrices.inherited`, COALESCE(`product`.`purchase_prices`, `product.parent`.`purchase_prices`) as `product.purchasePrices`, COALESCE(`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`) as `product.markAsTopseller`, COALESCE(`product`.`weight`, `product.parent`.`weight`) as `product.weight`, COALESCE(`product`.`width`, `product.parent`.`width`) as `product.width`, COALESCE(`product`.`height`, `product.parent`.`height`) as `product.height`, COALESCE(`product`.`length`, `product.parent`.`length`) as `product.length`, COALESCE(`product`.`release_date`, `product.parent`.`release_date`) as `product.releaseDate`, COALESCE(`product`.`rating_average`, `product.parent`.`rating_average`) as `product.ratingAverage`, `product.parent`.`category_tree` as `product.categoryTree.inherited`, COALESCE(`product`.`category_tree`, `product.parent`.`category_tree`) as `product.categoryTree`, `product.parent`.`property_ids` as `product.propertyIds.inherited`, COALESCE(`product`.`property_ids`, `product.parent`.`property_ids`) as `product.propertyIds`, `product.parent`.`option_ids` as `product.optionIds.inherited`, COALESCE(`product`.`option_ids`, `product.parent`.`option_ids`) as `product.optionIds`, `product.parent`.`stream_ids` as `product.streamIds.inherited`, COALESCE(`product`.`stream_ids`, `product.parent`.`stream_ids`) as `product.streamIds`, `product.parent`.`tag_ids` as `product.tagIds.inherited`, COALESCE(`product`.`tag_ids`, `product.parent`.`tag_ids`) as `product.tagIds`, `product.parent`.`category_ids` as `product.categoryIds.inherited`, COALESCE(`product`.`category_ids`, `product.parent`.`category_ids`) as `product.categoryIds`, `product`.`child_count` as `product.childCount`, COALESCE(`product`.`custom_field_set_selection_active`, `product.parent`.`custom_field_set_selection_active`) as `product.customFieldSetSelectionActive`, `product`.`sales` as `product.sales`, `product`.`states` as `product.states`, `product.tax`.`id` as `product.tax.id`, `product.tax`.`tax_rate` as `product.tax.taxRate`, `product.tax`.`name` as `product.tax.name`, `product.tax`.`position` as `product.tax.position`, `product.tax`.`custom_fields` as `product.tax.customFields`, `product.tax`.`created_at` as `product.tax.createdAt`, `product.tax`.`updated_at` as `product.tax.updatedAt`, `product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`, COALESCE(`product`.`cheapest_price`, `product.parent`.`cheapest_price`) as `product.cheapestPrice`, `product`.`created_at` as `product.createdAt`, `product`.`updated_at` as `product.updatedAt`, `product.bundle`.`id` as `product.bundle.id`, `product.bundle`.`product_id` as `product.bundle.productId`, `product.bundle`.`product_version_id` as `product.bundle.productVersionId`, `product.bundle`.`name` as `product.bundle.name`, `product.bundle`.`price_type` as `product.bundle.priceType`, `product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`, `product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`, `product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`, `product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`, `product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`, `product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`, `product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`, `product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`, `product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`, `product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`, `product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`, `product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`, `product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`, `product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`, `product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`, `product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`, `product.bundle`.`created_at` as `product.bundle.createdAt`, `product.bundle`.`updated_at` as `product.bundle.updatedAt`, `product.cover`.`id` as `product.cover.id`, `product.cover`.`version_id` as `product.cover.versionId`, `product.cover`.`product_id` as `product.cover.productId`, `product.cover`.`product_version_id` as `product.cover.productVersionId`, `product.cover`.`media_id` as `product.cover.mediaId`, `product.cover`.`position` as `product.cover.position`, `product.cover.media`.`id` as `product.cover.media.id`, `product.cover.media`.`user_id` as `product.cover.media.userId`, `product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`, `product.cover.media`.`mime_type` as `product.cover.media.mimeType`, `product.cover.media`.`file_extension` as `product.cover.media.fileExtension`, `product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`, `product.cover.media`.`file_name` as `product.cover.media.fileName`, `product.cover.media`.`file_size` as `product.cover.media.fileSize`, `product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`, `product.cover.media`.`meta_data` as `product.cover.media.metaData`, `product.cover.media`.`private` as `product.cover.media.private`, `product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`, `product.cover.media`.`created_at` as `product.cover.media.createdAt`, `product.cover.media`.`updated_at` as `product.cover.media.updatedAt`, `product.cover.media.translation.title`, COALESCE(`product.cover.media.translation.title`,`product.cover.media.translation.title`) as `product.cover.media.title`, `product.cover.media.translation.alt`, COALESCE(`product.cover.media.translation.alt`,`product.cover.media.translation.alt`) as `product.cover.media.alt`, `product.cover.media.translation.customFields`, COALESCE(`product.cover.media.translation.customFields`,`product.cover.media.translation.customFields`) as `product.cover.media.customFields`, `product.cover.media.translation.createdAt`, `product.cover.media.translation.updatedAt`, `product.cover.media.translation.mediaId`, `product.cover.media.translation.languageId`, `product.cover`.`custom_fields` as `product.cover.customFields`, `product.cover`.`created_at` as `product.cover.createdAt`, `product.cover`.`updated_at` as `product.cover.updatedAt`, `product.translation.metaDescription`, `product.parent.translation.metaDescription`, COALESCE(`product.translation.metaDescription`,`product.parent.translation.metaDescription`,`product.translation.metaDescription`) as `product.metaDescription`, `product.translation.name`, `product.parent.translation.name`, COALESCE(`product.translation.name`,`product.parent.translation.name`,`product.translation.name`) as `product.name`, `product.translation.keywords`, `product.parent.translation.keywords`, COALESCE(`product.translation.keywords`,`product.parent.translation.keywords`,`product.translation.keywords`) as `product.keywords`, `product.translation.description`, `product.parent.translation.description`, COALESCE(`product.translation.description`,`product.parent.translation.description`,`product.translation.description`) as `product.description`, `product.translation.metaTitle`, `product.parent.translation.metaTitle`, COALESCE(`product.translation.metaTitle`,`product.parent.translation.metaTitle`,`product.translation.metaTitle`) as `product.metaTitle`, `product.translation.packUnit`, `product.parent.translation.packUnit`, COALESCE(`product.translation.packUnit`,`product.parent.translation.packUnit`,`product.translation.packUnit`) as `product.packUnit`, `product.translation.packUnitPlural`, `product.parent.translation.packUnitPlural`, COALESCE(`product.translation.packUnitPlural`,`product.parent.translation.packUnitPlural`,`product.translation.packUnitPlural`) as `product.packUnitPlural`, `product.translation.customSearchKeywords`, `product.parent.translation.customSearchKeywords`, COALESCE(`product.translation.customSearchKeywords`,`product.parent.translation.customSearchKeywords`,`product.translation.customSearchKeywords`) as `product.customSearchKeywords`, `product.translation.slotConfig`, `product.parent.translation.slotConfig`, COALESCE(`product.translation.slotConfig`,`product.parent.translation.slotConfig`,`product.translation.slotConfig`) as `product.slotConfig`, `product.translation.customFields`, `product.parent.translation.customFields`, COALESCE(`product.translation.customFields`,`product.parent.translation.customFields`,`product.translation.customFields`) as `product.customFields`, `product.translation.createdAt`, `product.parent.translation.createdAt`, `product.translation.updatedAt`, `product.parent.translation.updatedAt`, `product.translation.productId`, `product.parent.translation.productId`, `product.translation.languageId`, `product.parent.translation.languageId`, `product.translation.productVersionId`, `product.parent.translation.productVersionId` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN (SELECT `product.translation`.product_id, `product.translation`.product_version_id, `product.translation`.meta_description as `product.translation.metaDescription`, `product.translation`.name as `product.translation.name`, `product.translation`.keywords as `product.translation.keywords`, `product.translation`.description as `product.translation.description`, `product.translation`.meta_title as `product.translation.metaTitle`, `product.translation`.pack_unit as `product.translation.packUnit`, `product.translation`.pack_unit_plural as `product.translation.packUnitPlural`, `product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`, `product.translation`.slot_config as `product.translation.slotConfig`, `product.translation`.custom_fields as `product.translation.customFields`, `product.translation`.created_at as `product.translation.createdAt`, `product.translation`.updated_at as `product.translation.updatedAt`, `product.translation`.product_id as `product.translation.productId`, `product.translation`.language_id as `product.translation.languageId`, `product.translation`.product_version_id as `product.translation.productVersionId` FROM `product_translation` `product.translation` WHERE `product.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id` AND `product.product_translation`.product_version_id = `product`.version_id LEFT JOIN (SELECT `product.parent.translation`.product_id, `product.parent.translation`.product_version_id, `product.parent.translation`.meta_description as `product.parent.translation.metaDescription`, `product.parent.translation`.name as `product.parent.translation.name`, `product.parent.translation`.keywords as `product.parent.translation.keywords`, `product.parent.translation`.description as `product.parent.translation.description`, `product.parent.translation`.meta_title as `product.parent.translation.metaTitle`, `product.parent.translation`.pack_unit as `product.parent.translation.packUnit`, `product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`, `product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`, `product.parent.translation`.slot_config as `product.parent.translation.slotConfig`, `product.parent.translation`.custom_fields as `product.parent.translation.customFields`, `product.parent.translation`.created_at as `product.parent.translation.createdAt`, `product.parent.translation`.updated_at as `product.parent.translation.updatedAt`, `product.parent.translation`.product_id as `product.parent.translation.productId`, `product.parent.translation`.language_id as `product.parent.translation.languageId`, `product.parent.translation`.product_version_id as `product.parent.translation.productVersionId` FROM `product_translation` `product.parent.translation` WHERE `product.parent.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id` AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id` LEFT JOIN `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_id` LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id` AND `product`.`version_id` = `product.cover`.`version_id` LEFT JOIN `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`id` LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id` LEFT JOIN (SELECT `product.cover.media.translation`.media_id, `product.cover.media.translation`.title as `product.cover.media.translation.title`, `product.cover.media.translation`.alt as `product.cover.media.translation.alt`, `product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`, `product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`, `product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`, `product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`, `product.cover.media.translation`.language_id as `product.cover.media.translation.languageId` FROM `media_translation` `product.cover.media.translation` WHERE `product.cover.media.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id` WHERE (`product`.`version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425) AND (`product`.`id` IN (0x03F4EF144EC44C3E822790C652F7C3F6));
array:51 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 316)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetch (line 148)"
4 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 93)"
5 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::read (line 257)"
6 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::read (line 286)"
7 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::_search (line 106)"
8 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::search (line 51)"
9 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepositoryForwardCompatibilityDecorator::search (line 103)"
10 => "Bodymed\Webshop\StoreFront\Subscriber\ProductExtensionSubscriber::addParentCover (line 230)"
11 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
12 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
13 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
14 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
15 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
16 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 33)"
17 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
18 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 208)"
19 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::read (line 133)"
20 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 49)"
21 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariantsOfProduct (line 30)"
22 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariants (line 224)"
23 => "Bodymed\Webshop\Core\Content\Product\Cms\ProductSliderCmsElementResolver::enrich (line 99)"
24 => "Shopware\Core\Content\Cms\DataResolver\CmsSlotsDataResolver::resolve (line 104)"
25 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::loadSlotData (line 94)"
26 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::load (line 102)"
27 => "Shopware\Core\Content\Category\SalesChannel\CategoryRoute::load (line 103)"
28 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 350)"
29 => "Shopware\Core\System\SystemConfig\SystemConfigService::trace (line 44)"
30 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 120)"
31 => "Shopware\Core\Framework\Adapter\Translation\Translator::trace (line 45)"
32 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 46)"
33 => "Shopware\Core\Framework\Adapter\Cache\CacheTagCollection::trace (line 46)"
34 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::trace (line 41)"
35 => "Shopware\Storefront\Framework\Cache\CacheTracer::Shopware\Storefront\Framework\Cache\{closure} (line 59)"
36 => "Shopware\Storefront\Theme\ThemeConfigValueAccessor::trace (line 42)"
37 => "Shopware\Storefront\Framework\Cache\CacheTracer::trace (line 104)"
38 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 72)"
39 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
40 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 109)"
41 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 59)"
42 => "Shopware\Core\Profiling\Profiler::trace (line 112)"
43 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::load (line 66)"
44 => "Shopware\Storefront\Page\Navigation\NavigationPageLoader::load (line 48)"
45 => "Shopware\Storefront\Controller\NavigationController::home (line 163)"
46 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
47 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
48 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
49 => "Shopware\Core\HttpKernel::doHandle (line 81)"
50 => "Shopware\Core\HttpKernel::handle (line 75)"
]
|
83 |
0.69 ms |
SELECT * FROM sales_channel_api_context WHERE (sales_channel_id = :salesChannelId) AND (token = :token) LIMIT 1
SELECT * FROM sales_channel_api_context WHERE (sales_channel_id = 0x620A2217F7474E619CB00AD39E804CCA) AND (token = 'FwsxT47353Zxmr7lp0KSfYcVNkg5VpYR') LIMIT 1;
array:58 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 165)"
3 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextPersister::load (line 69)"
4 => "Bodymed\Webshop\Core\Subscriber\ProductSubscriber::addCustomerProductFeatureExtension (line 230)"
5 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
6 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
7 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
8 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
9 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
10 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 33)"
11 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
12 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 269)"
13 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::read (line 286)"
14 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::_search (line 106)"
15 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::search (line 51)"
16 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepositoryForwardCompatibilityDecorator::search (line 103)"
17 => "Bodymed\Webshop\StoreFront\Subscriber\ProductExtensionSubscriber::addParentCover (line 230)"
18 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
19 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
20 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
21 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
22 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
23 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 33)"
24 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
25 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 208)"
26 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::read (line 133)"
27 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 49)"
28 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariantsOfProduct (line 30)"
29 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariants (line 224)"
30 => "Bodymed\Webshop\Core\Content\Product\Cms\ProductSliderCmsElementResolver::enrich (line 99)"
31 => "Shopware\Core\Content\Cms\DataResolver\CmsSlotsDataResolver::resolve (line 104)"
32 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::loadSlotData (line 94)"
33 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::load (line 102)"
34 => "Shopware\Core\Content\Category\SalesChannel\CategoryRoute::load (line 103)"
35 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 350)"
36 => "Shopware\Core\System\SystemConfig\SystemConfigService::trace (line 44)"
37 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 120)"
38 => "Shopware\Core\Framework\Adapter\Translation\Translator::trace (line 45)"
39 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 46)"
40 => "Shopware\Core\Framework\Adapter\Cache\CacheTagCollection::trace (line 46)"
41 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::trace (line 41)"
42 => "Shopware\Storefront\Framework\Cache\CacheTracer::Shopware\Storefront\Framework\Cache\{closure} (line 59)"
43 => "Shopware\Storefront\Theme\ThemeConfigValueAccessor::trace (line 42)"
44 => "Shopware\Storefront\Framework\Cache\CacheTracer::trace (line 104)"
45 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 72)"
46 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
47 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 109)"
48 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 59)"
49 => "Shopware\Core\Profiling\Profiler::trace (line 112)"
50 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::load (line 66)"
51 => "Shopware\Storefront\Page\Navigation\NavigationPageLoader::load (line 48)"
52 => "Shopware\Storefront\Controller\NavigationController::home (line 163)"
53 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
54 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
55 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
56 => "Shopware\Core\HttpKernel::doHandle (line 81)"
57 => "Shopware\Core\HttpKernel::handle (line 75)"
]
|
84 |
27.14 ms |
SELECT `product`.`id` as `product.id`, `product`.`version_id` as `product.versionId`, `product`.`parent_id` as `product.parentId`, `product`.`parent_version_id` as `product.parentVersionId`, COALESCE(`product`.`product_manufacturer_id`, `product.parent`.`product_manufacturer_id`) as `product.manufacturerId`, COALESCE(`product`.`product_manufacturer_version_id`, `product.parent`.`product_manufacturer_version_id`) as `product.productManufacturerVersionId`, COALESCE(`product`.`unit_id`, `product.parent`.`unit_id`) as `product.unitId`, COALESCE(`product`.`tax_id`, `product.parent`.`tax_id`) as `product.taxId`, COALESCE(`product`.`product_media_id`, `product.parent`.`product_media_id`) as `product.coverId`, COALESCE(`product`.`product_media_version_id`, `product.parent`.`product_media_version_id`) as `product.productMediaVersionId`, COALESCE(`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`) as `product.deliveryTimeId`, COALESCE(`product`.`product_feature_set_id`, `product.parent`.`product_feature_set_id`) as `product.featureSetId`, COALESCE(`product`.`canonical_product_id`, `product.parent`.`canonical_product_id`) as `product.canonicalProductId`, COALESCE(`product`.`cms_page_id`, `product.parent`.`cms_page_id`) as `product.cmsPageId`, COALESCE(`product`.`cms_page_version_id`, `product.parent`.`cms_page_version_id`) as `product.cmsPageVersionId`, `product.parent`.`price` as `product.price.inherited`, COALESCE(`product`.`price`, `product.parent`.`price`) as `product.price`, `product`.`product_number` as `product.productNumber`, `product`.`stock` as `product.stock`, COALESCE(`product`.`restock_time`, `product.parent`.`restock_time`) as `product.restockTime`, `product`.`auto_increment` as `product.autoIncrement`, COALESCE(`product`.`active`, `product.parent`.`active`) as `product.active`, `product`.`available_stock` as `product.availableStock`, `product`.`available` as `product.available`, COALESCE(`product`.`is_closeout`, `product.parent`.`is_closeout`) as `product.isCloseout`, `product`.`display_group` as `product.displayGroup`, `product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`, COALESCE(`product`.`configurator_group_config`, `product.parent`.`configurator_group_config`) as `product.configuratorGroupConfig`, COALESCE(`product`.`main_variant_id`, `product.parent`.`main_variant_id`) as `product.mainVariantId`, COALESCE(`product`.`display_parent`, `product.parent`.`display_parent`) as `product.displayParent`, `product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`, COALESCE(`product`.`variant_listing_config`, `product.parent`.`variant_listing_config`) as `product.variantListingConfig`, `product`.`variant_restrictions` as `product.variantRestrictions`, COALESCE(`product`.`manufacturer_number`, `product.parent`.`manufacturer_number`) as `product.manufacturerNumber`, COALESCE(`product`.`ean`, `product.parent`.`ean`) as `product.ean`, COALESCE(`product`.`purchase_steps`, `product.parent`.`purchase_steps`) as `product.purchaseSteps`, COALESCE(`product`.`max_purchase`, `product.parent`.`max_purchase`) as `product.maxPurchase`, COALESCE(`product`.`min_purchase`, `product.parent`.`min_purchase`) as `product.minPurchase`, COALESCE(`product`.`purchase_unit`, `product.parent`.`purchase_unit`) as `product.purchaseUnit`, COALESCE(`product`.`reference_unit`, `product.parent`.`reference_unit`) as `product.referenceUnit`, COALESCE(`product`.`shipping_free`, `product.parent`.`shipping_free`) as `product.shippingFree`, `product.parent`.`purchase_prices` as `product.purchasePrices.inherited`, COALESCE(`product`.`purchase_prices`, `product.parent`.`purchase_prices`) as `product.purchasePrices`, COALESCE(`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`) as `product.markAsTopseller`, COALESCE(`product`.`weight`, `product.parent`.`weight`) as `product.weight`, COALESCE(`product`.`width`, `product.parent`.`width`) as `product.width`, COALESCE(`product`.`height`, `product.parent`.`height`) as `product.height`, COALESCE(`product`.`length`, `product.parent`.`length`) as `product.length`, COALESCE(`product`.`release_date`, `product.parent`.`release_date`) as `product.releaseDate`, COALESCE(`product`.`rating_average`, `product.parent`.`rating_average`) as `product.ratingAverage`, `product.parent`.`category_tree` as `product.categoryTree.inherited`, COALESCE(`product`.`category_tree`, `product.parent`.`category_tree`) as `product.categoryTree`, `product.parent`.`property_ids` as `product.propertyIds.inherited`, COALESCE(`product`.`property_ids`, `product.parent`.`property_ids`) as `product.propertyIds`, `product.parent`.`option_ids` as `product.optionIds.inherited`, COALESCE(`product`.`option_ids`, `product.parent`.`option_ids`) as `product.optionIds`, `product.parent`.`stream_ids` as `product.streamIds.inherited`, COALESCE(`product`.`stream_ids`, `product.parent`.`stream_ids`) as `product.streamIds`, `product.parent`.`tag_ids` as `product.tagIds.inherited`, COALESCE(`product`.`tag_ids`, `product.parent`.`tag_ids`) as `product.tagIds`, `product.parent`.`category_ids` as `product.categoryIds.inherited`, COALESCE(`product`.`category_ids`, `product.parent`.`category_ids`) as `product.categoryIds`, `product`.`child_count` as `product.childCount`, COALESCE(`product`.`custom_field_set_selection_active`, `product.parent`.`custom_field_set_selection_active`) as `product.customFieldSetSelectionActive`, `product`.`sales` as `product.sales`, `product`.`states` as `product.states`, `product.tax`.`id` as `product.tax.id`, `product.tax`.`tax_rate` as `product.tax.taxRate`, `product.tax`.`name` as `product.tax.name`, `product.tax`.`position` as `product.tax.position`, `product.tax`.`custom_fields` as `product.tax.customFields`, `product.tax`.`created_at` as `product.tax.createdAt`, `product.tax`.`updated_at` as `product.tax.updatedAt`, `product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`, COALESCE(`product`.`cheapest_price`, `product.parent`.`cheapest_price`) as `product.cheapestPrice`, `product`.`created_at` as `product.createdAt`, `product`.`updated_at` as `product.updatedAt`, `product.bundle`.`id` as `product.bundle.id`, `product.bundle`.`product_id` as `product.bundle.productId`, `product.bundle`.`product_version_id` as `product.bundle.productVersionId`, `product.bundle`.`name` as `product.bundle.name`, `product.bundle`.`price_type` as `product.bundle.priceType`, `product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`, `product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`, `product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`, `product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`, `product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`, `product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`, `product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`, `product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`, `product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`, `product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`, `product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`, `product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`, `product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`, `product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`, `product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`, `product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`, `product.bundle`.`created_at` as `product.bundle.createdAt`, `product.bundle`.`updated_at` as `product.bundle.updatedAt`, `product.cover`.`id` as `product.cover.id`, `product.cover`.`version_id` as `product.cover.versionId`, `product.cover`.`product_id` as `product.cover.productId`, `product.cover`.`product_version_id` as `product.cover.productVersionId`, `product.cover`.`media_id` as `product.cover.mediaId`, `product.cover`.`position` as `product.cover.position`, `product.cover.media`.`id` as `product.cover.media.id`, `product.cover.media`.`user_id` as `product.cover.media.userId`, `product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`, `product.cover.media`.`mime_type` as `product.cover.media.mimeType`, `product.cover.media`.`file_extension` as `product.cover.media.fileExtension`, `product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`, `product.cover.media`.`file_name` as `product.cover.media.fileName`, `product.cover.media`.`file_size` as `product.cover.media.fileSize`, `product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`, `product.cover.media`.`meta_data` as `product.cover.media.metaData`, `product.cover.media`.`private` as `product.cover.media.private`, `product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`, `product.cover.media`.`created_at` as `product.cover.media.createdAt`, `product.cover.media`.`updated_at` as `product.cover.media.updatedAt`, `product.cover.media.translation.title`, COALESCE(`product.cover.media.translation.title`,`product.cover.media.translation.title`) as `product.cover.media.title`, `product.cover.media.translation.alt`, COALESCE(`product.cover.media.translation.alt`,`product.cover.media.translation.alt`) as `product.cover.media.alt`, `product.cover.media.translation.customFields`, COALESCE(`product.cover.media.translation.customFields`,`product.cover.media.translation.customFields`) as `product.cover.media.customFields`, `product.cover.media.translation.createdAt`, `product.cover.media.translation.updatedAt`, `product.cover.media.translation.mediaId`, `product.cover.media.translation.languageId`, `product.cover`.`custom_fields` as `product.cover.customFields`, `product.cover`.`created_at` as `product.cover.createdAt`, `product.cover`.`updated_at` as `product.cover.updatedAt`, `product.translation.metaDescription`, `product.parent.translation.metaDescription`, COALESCE(`product.translation.metaDescription`,`product.parent.translation.metaDescription`,`product.translation.metaDescription`) as `product.metaDescription`, `product.translation.name`, `product.parent.translation.name`, COALESCE(`product.translation.name`,`product.parent.translation.name`,`product.translation.name`) as `product.name`, `product.translation.keywords`, `product.parent.translation.keywords`, COALESCE(`product.translation.keywords`,`product.parent.translation.keywords`,`product.translation.keywords`) as `product.keywords`, `product.translation.description`, `product.parent.translation.description`, COALESCE(`product.translation.description`,`product.parent.translation.description`,`product.translation.description`) as `product.description`, `product.translation.metaTitle`, `product.parent.translation.metaTitle`, COALESCE(`product.translation.metaTitle`,`product.parent.translation.metaTitle`,`product.translation.metaTitle`) as `product.metaTitle`, `product.translation.packUnit`, `product.parent.translation.packUnit`, COALESCE(`product.translation.packUnit`,`product.parent.translation.packUnit`,`product.translation.packUnit`) as `product.packUnit`, `product.translation.packUnitPlural`, `product.parent.translation.packUnitPlural`, COALESCE(`product.translation.packUnitPlural`,`product.parent.translation.packUnitPlural`,`product.translation.packUnitPlural`) as `product.packUnitPlural`, `product.translation.customSearchKeywords`, `product.parent.translation.customSearchKeywords`, COALESCE(`product.translation.customSearchKeywords`,`product.parent.translation.customSearchKeywords`,`product.translation.customSearchKeywords`) as `product.customSearchKeywords`, `product.translation.slotConfig`, `product.parent.translation.slotConfig`, COALESCE(`product.translation.slotConfig`,`product.parent.translation.slotConfig`,`product.translation.slotConfig`) as `product.slotConfig`, `product.translation.customFields`, `product.parent.translation.customFields`, COALESCE(`product.translation.customFields`,`product.parent.translation.customFields`,`product.translation.customFields`) as `product.customFields`, `product.translation.createdAt`, `product.parent.translation.createdAt`, `product.translation.updatedAt`, `product.parent.translation.updatedAt`, `product.translation.productId`, `product.parent.translation.productId`, `product.translation.languageId`, `product.parent.translation.languageId`, `product.translation.productVersionId`, `product.parent.translation.productVersionId` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN (SELECT `product.translation`.product_id, `product.translation`.product_version_id, `product.translation`.meta_description as `product.translation.metaDescription`, `product.translation`.name as `product.translation.name`, `product.translation`.keywords as `product.translation.keywords`, `product.translation`.description as `product.translation.description`, `product.translation`.meta_title as `product.translation.metaTitle`, `product.translation`.pack_unit as `product.translation.packUnit`, `product.translation`.pack_unit_plural as `product.translation.packUnitPlural`, `product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`, `product.translation`.slot_config as `product.translation.slotConfig`, `product.translation`.custom_fields as `product.translation.customFields`, `product.translation`.created_at as `product.translation.createdAt`, `product.translation`.updated_at as `product.translation.updatedAt`, `product.translation`.product_id as `product.translation.productId`, `product.translation`.language_id as `product.translation.languageId`, `product.translation`.product_version_id as `product.translation.productVersionId` FROM `product_translation` `product.translation` WHERE `product.translation`.language_id = :languageId) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id` AND `product.product_translation`.product_version_id = `product`.version_id LEFT JOIN (SELECT `product.parent.translation`.product_id, `product.parent.translation`.product_version_id, `product.parent.translation`.meta_description as `product.parent.translation.metaDescription`, `product.parent.translation`.name as `product.parent.translation.name`, `product.parent.translation`.keywords as `product.parent.translation.keywords`, `product.parent.translation`.description as `product.parent.translation.description`, `product.parent.translation`.meta_title as `product.parent.translation.metaTitle`, `product.parent.translation`.pack_unit as `product.parent.translation.packUnit`, `product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`, `product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`, `product.parent.translation`.slot_config as `product.parent.translation.slotConfig`, `product.parent.translation`.custom_fields as `product.parent.translation.customFields`, `product.parent.translation`.created_at as `product.parent.translation.createdAt`, `product.parent.translation`.updated_at as `product.parent.translation.updatedAt`, `product.parent.translation`.product_id as `product.parent.translation.productId`, `product.parent.translation`.language_id as `product.parent.translation.languageId`, `product.parent.translation`.product_version_id as `product.parent.translation.productVersionId` FROM `product_translation` `product.parent.translation` WHERE `product.parent.translation`.language_id = :languageId) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id` AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id` LEFT JOIN `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_id` LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id` AND `product`.`version_id` = `product.cover`.`version_id` LEFT JOIN `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`id` LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id` LEFT JOIN (SELECT `product.cover.media.translation`.media_id, `product.cover.media.translation`.title as `product.cover.media.translation.title`, `product.cover.media.translation`.alt as `product.cover.media.translation.alt`, `product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`, `product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`, `product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`, `product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`, `product.cover.media.translation`.language_id as `product.cover.media.translation.languageId` FROM `media_translation` `product.cover.media.translation` WHERE `product.cover.media.translation`.language_id = :languageId) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id` WHERE (`product`.`version_id` = :version) AND (`product`.`id` IN (:ids))
SELECT
`product`.`id` as `product.id`,
`product`.`version_id` as `product.versionId`,
`product`.`parent_id` as `product.parentId`,
`product`.`parent_version_id` as `product.parentVersionId`,
COALESCE(
`product`.`product_manufacturer_id`,
`product.parent`.`product_manufacturer_id`
) as `product.manufacturerId`,
COALESCE(
`product`.`product_manufacturer_version_id`,
`product.parent`.`product_manufacturer_version_id`
) as `product.productManufacturerVersionId`,
COALESCE(
`product`.`unit_id`, `product.parent`.`unit_id`
) as `product.unitId`,
COALESCE(
`product`.`tax_id`, `product.parent`.`tax_id`
) as `product.taxId`,
COALESCE(
`product`.`product_media_id`, `product.parent`.`product_media_id`
) as `product.coverId`,
COALESCE(
`product`.`product_media_version_id`,
`product.parent`.`product_media_version_id`
) as `product.productMediaVersionId`,
COALESCE(
`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`
) as `product.deliveryTimeId`,
COALESCE(
`product`.`product_feature_set_id`,
`product.parent`.`product_feature_set_id`
) as `product.featureSetId`,
COALESCE(
`product`.`canonical_product_id`,
`product.parent`.`canonical_product_id`
) as `product.canonicalProductId`,
COALESCE(
`product`.`cms_page_id`, `product.parent`.`cms_page_id`
) as `product.cmsPageId`,
COALESCE(
`product`.`cms_page_version_id`,
`product.parent`.`cms_page_version_id`
) as `product.cmsPageVersionId`,
`product.parent`.`price` as `product.price.inherited`,
COALESCE(
`product`.`price`, `product.parent`.`price`
) as `product.price`,
`product`.`product_number` as `product.productNumber`,
`product`.`stock` as `product.stock`,
COALESCE(
`product`.`restock_time`, `product.parent`.`restock_time`
) as `product.restockTime`,
`product`.`auto_increment` as `product.autoIncrement`,
COALESCE(
`product`.`active`, `product.parent`.`active`
) as `product.active`,
`product`.`available_stock` as `product.availableStock`,
`product`.`available` as `product.available`,
COALESCE(
`product`.`is_closeout`, `product.parent`.`is_closeout`
) as `product.isCloseout`,
`product`.`display_group` as `product.displayGroup`,
`product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`,
COALESCE(
`product`.`configurator_group_config`,
`product.parent`.`configurator_group_config`
) as `product.configuratorGroupConfig`,
COALESCE(
`product`.`main_variant_id`, `product.parent`.`main_variant_id`
) as `product.mainVariantId`,
COALESCE(
`product`.`display_parent`, `product.parent`.`display_parent`
) as `product.displayParent`,
`product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`,
COALESCE(
`product`.`variant_listing_config`,
`product.parent`.`variant_listing_config`
) as `product.variantListingConfig`,
`product`.`variant_restrictions` as `product.variantRestrictions`,
COALESCE(
`product`.`manufacturer_number`,
`product.parent`.`manufacturer_number`
) as `product.manufacturerNumber`,
COALESCE(
`product`.`ean`, `product.parent`.`ean`
) as `product.ean`,
COALESCE(
`product`.`purchase_steps`, `product.parent`.`purchase_steps`
) as `product.purchaseSteps`,
COALESCE(
`product`.`max_purchase`, `product.parent`.`max_purchase`
) as `product.maxPurchase`,
COALESCE(
`product`.`min_purchase`, `product.parent`.`min_purchase`
) as `product.minPurchase`,
COALESCE(
`product`.`purchase_unit`, `product.parent`.`purchase_unit`
) as `product.purchaseUnit`,
COALESCE(
`product`.`reference_unit`, `product.parent`.`reference_unit`
) as `product.referenceUnit`,
COALESCE(
`product`.`shipping_free`, `product.parent`.`shipping_free`
) as `product.shippingFree`,
`product.parent`.`purchase_prices` as `product.purchasePrices.inherited`,
COALESCE(
`product`.`purchase_prices`, `product.parent`.`purchase_prices`
) as `product.purchasePrices`,
COALESCE(
`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`
) as `product.markAsTopseller`,
COALESCE(
`product`.`weight`, `product.parent`.`weight`
) as `product.weight`,
COALESCE(
`product`.`width`, `product.parent`.`width`
) as `product.width`,
COALESCE(
`product`.`height`, `product.parent`.`height`
) as `product.height`,
COALESCE(
`product`.`length`, `product.parent`.`length`
) as `product.length`,
COALESCE(
`product`.`release_date`, `product.parent`.`release_date`
) as `product.releaseDate`,
COALESCE(
`product`.`rating_average`, `product.parent`.`rating_average`
) as `product.ratingAverage`,
`product.parent`.`category_tree` as `product.categoryTree.inherited`,
COALESCE(
`product`.`category_tree`, `product.parent`.`category_tree`
) as `product.categoryTree`,
`product.parent`.`property_ids` as `product.propertyIds.inherited`,
COALESCE(
`product`.`property_ids`, `product.parent`.`property_ids`
) as `product.propertyIds`,
`product.parent`.`option_ids` as `product.optionIds.inherited`,
COALESCE(
`product`.`option_ids`, `product.parent`.`option_ids`
) as `product.optionIds`,
`product.parent`.`stream_ids` as `product.streamIds.inherited`,
COALESCE(
`product`.`stream_ids`, `product.parent`.`stream_ids`
) as `product.streamIds`,
`product.parent`.`tag_ids` as `product.tagIds.inherited`,
COALESCE(
`product`.`tag_ids`, `product.parent`.`tag_ids`
) as `product.tagIds`,
`product.parent`.`category_ids` as `product.categoryIds.inherited`,
COALESCE(
`product`.`category_ids`, `product.parent`.`category_ids`
) as `product.categoryIds`,
`product`.`child_count` as `product.childCount`,
COALESCE(
`product`.`custom_field_set_selection_active`,
`product.parent`.`custom_field_set_selection_active`
) as `product.customFieldSetSelectionActive`,
`product`.`sales` as `product.sales`,
`product`.`states` as `product.states`,
`product.tax`.`id` as `product.tax.id`,
`product.tax`.`tax_rate` as `product.tax.taxRate`,
`product.tax`.`name` as `product.tax.name`,
`product.tax`.`position` as `product.tax.position`,
`product.tax`.`custom_fields` as `product.tax.customFields`,
`product.tax`.`created_at` as `product.tax.createdAt`,
`product.tax`.`updated_at` as `product.tax.updatedAt`,
`product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`,
COALESCE(
`product`.`cheapest_price`, `product.parent`.`cheapest_price`
) as `product.cheapestPrice`,
`product`.`created_at` as `product.createdAt`,
`product`.`updated_at` as `product.updatedAt`,
`product.bundle`.`id` as `product.bundle.id`,
`product.bundle`.`product_id` as `product.bundle.productId`,
`product.bundle`.`product_version_id` as `product.bundle.productVersionId`,
`product.bundle`.`name` as `product.bundle.name`,
`product.bundle`.`price_type` as `product.bundle.priceType`,
`product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`,
`product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`,
`product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`,
`product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`,
`product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`,
`product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`,
`product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`,
`product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`,
`product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`,
`product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`,
`product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`,
`product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`,
`product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`,
`product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`,
`product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`,
`product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`,
`product.bundle`.`created_at` as `product.bundle.createdAt`,
`product.bundle`.`updated_at` as `product.bundle.updatedAt`,
`product.cover`.`id` as `product.cover.id`,
`product.cover`.`version_id` as `product.cover.versionId`,
`product.cover`.`product_id` as `product.cover.productId`,
`product.cover`.`product_version_id` as `product.cover.productVersionId`,
`product.cover`.`media_id` as `product.cover.mediaId`,
`product.cover`.`position` as `product.cover.position`,
`product.cover.media`.`id` as `product.cover.media.id`,
`product.cover.media`.`user_id` as `product.cover.media.userId`,
`product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`,
`product.cover.media`.`mime_type` as `product.cover.media.mimeType`,
`product.cover.media`.`file_extension` as `product.cover.media.fileExtension`,
`product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`,
`product.cover.media`.`file_name` as `product.cover.media.fileName`,
`product.cover.media`.`file_size` as `product.cover.media.fileSize`,
`product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`,
`product.cover.media`.`meta_data` as `product.cover.media.metaData`,
`product.cover.media`.`private` as `product.cover.media.private`,
`product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`,
`product.cover.media`.`created_at` as `product.cover.media.createdAt`,
`product.cover.media`.`updated_at` as `product.cover.media.updatedAt`,
`product.cover.media.translation.title`,
COALESCE(
`product.cover.media.translation.title`,
`product.cover.media.translation.title`
) as `product.cover.media.title`,
`product.cover.media.translation.alt`,
COALESCE(
`product.cover.media.translation.alt`,
`product.cover.media.translation.alt`
) as `product.cover.media.alt`,
`product.cover.media.translation.customFields`,
COALESCE(
`product.cover.media.translation.customFields`,
`product.cover.media.translation.customFields`
) as `product.cover.media.customFields`,
`product.cover.media.translation.createdAt`,
`product.cover.media.translation.updatedAt`,
`product.cover.media.translation.mediaId`,
`product.cover.media.translation.languageId`,
`product.cover`.`custom_fields` as `product.cover.customFields`,
`product.cover`.`created_at` as `product.cover.createdAt`,
`product.cover`.`updated_at` as `product.cover.updatedAt`,
`product.translation.metaDescription`,
`product.parent.translation.metaDescription`,
COALESCE(
`product.translation.metaDescription`,
`product.parent.translation.metaDescription`,
`product.translation.metaDescription`
) as `product.metaDescription`,
`product.translation.name`,
`product.parent.translation.name`,
COALESCE(
`product.translation.name`, `product.parent.translation.name`,
`product.translation.name`
) as `product.name`,
`product.translation.keywords`,
`product.parent.translation.keywords`,
COALESCE(
`product.translation.keywords`,
`product.parent.translation.keywords`,
`product.translation.keywords`
) as `product.keywords`,
`product.translation.description`,
`product.parent.translation.description`,
COALESCE(
`product.translation.description`,
`product.parent.translation.description`,
`product.translation.description`
) as `product.description`,
`product.translation.metaTitle`,
`product.parent.translation.metaTitle`,
COALESCE(
`product.translation.metaTitle`,
`product.parent.translation.metaTitle`,
`product.translation.metaTitle`
) as `product.metaTitle`,
`product.translation.packUnit`,
`product.parent.translation.packUnit`,
COALESCE(
`product.translation.packUnit`,
`product.parent.translation.packUnit`,
`product.translation.packUnit`
) as `product.packUnit`,
`product.translation.packUnitPlural`,
`product.parent.translation.packUnitPlural`,
COALESCE(
`product.translation.packUnitPlural`,
`product.parent.translation.packUnitPlural`,
`product.translation.packUnitPlural`
) as `product.packUnitPlural`,
`product.translation.customSearchKeywords`,
`product.parent.translation.customSearchKeywords`,
COALESCE(
`product.translation.customSearchKeywords`,
`product.parent.translation.customSearchKeywords`,
`product.translation.customSearchKeywords`
) as `product.customSearchKeywords`,
`product.translation.slotConfig`,
`product.parent.translation.slotConfig`,
COALESCE(
`product.translation.slotConfig`,
`product.parent.translation.slotConfig`,
`product.translation.slotConfig`
) as `product.slotConfig`,
`product.translation.customFields`,
`product.parent.translation.customFields`,
COALESCE(
`product.translation.customFields`,
`product.parent.translation.customFields`,
`product.translation.customFields`
) as `product.customFields`,
`product.translation.createdAt`,
`product.parent.translation.createdAt`,
`product.translation.updatedAt`,
`product.parent.translation.updatedAt`,
`product.translation.productId`,
`product.parent.translation.productId`,
`product.translation.languageId`,
`product.parent.translation.languageId`,
`product.translation.productVersionId`,
`product.parent.translation.productVersionId`
FROM
`product`
LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id`
AND `product`.`version_id` = `product.parent`.`version_id`
LEFT JOIN (
SELECT
`product.translation`.product_id,
`product.translation`.product_version_id,
`product.translation`.meta_description as `product.translation.metaDescription`,
`product.translation`.name as `product.translation.name`,
`product.translation`.keywords as `product.translation.keywords`,
`product.translation`.description as `product.translation.description`,
`product.translation`.meta_title as `product.translation.metaTitle`,
`product.translation`.pack_unit as `product.translation.packUnit`,
`product.translation`.pack_unit_plural as `product.translation.packUnitPlural`,
`product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`,
`product.translation`.slot_config as `product.translation.slotConfig`,
`product.translation`.custom_fields as `product.translation.customFields`,
`product.translation`.created_at as `product.translation.createdAt`,
`product.translation`.updated_at as `product.translation.updatedAt`,
`product.translation`.product_id as `product.translation.productId`,
`product.translation`.language_id as `product.translation.languageId`,
`product.translation`.product_version_id as `product.translation.productVersionId`
FROM
`product_translation` `product.translation`
WHERE
`product.translation`.language_id = : languageId
) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id`
AND `product.product_translation`.product_version_id = `product`.version_id
LEFT JOIN (
SELECT
`product.parent.translation`.product_id,
`product.parent.translation`.product_version_id,
`product.parent.translation`.meta_description as `product.parent.translation.metaDescription`,
`product.parent.translation`.name as `product.parent.translation.name`,
`product.parent.translation`.keywords as `product.parent.translation.keywords`,
`product.parent.translation`.description as `product.parent.translation.description`,
`product.parent.translation`.meta_title as `product.parent.translation.metaTitle`,
`product.parent.translation`.pack_unit as `product.parent.translation.packUnit`,
`product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`,
`product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`,
`product.parent.translation`.slot_config as `product.parent.translation.slotConfig`,
`product.parent.translation`.custom_fields as `product.parent.translation.customFields`,
`product.parent.translation`.created_at as `product.parent.translation.createdAt`,
`product.parent.translation`.updated_at as `product.parent.translation.updatedAt`,
`product.parent.translation`.product_id as `product.parent.translation.productId`,
`product.parent.translation`.language_id as `product.parent.translation.languageId`,
`product.parent.translation`.product_version_id as `product.parent.translation.productVersionId`
FROM
`product_translation` `product.parent.translation`
WHERE
`product.parent.translation`.language_id = : languageId
) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id`
AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id
LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id`
LEFT JOIN `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_id`
LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id`
AND `product`.`version_id` = `product.cover`.`version_id`
LEFT JOIN `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id`
LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id`
LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`id`
LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id`
LEFT JOIN (
SELECT
`product.cover.media.translation`.media_id,
`product.cover.media.translation`.title as `product.cover.media.translation.title`,
`product.cover.media.translation`.alt as `product.cover.media.translation.alt`,
`product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`,
`product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`,
`product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`,
`product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`,
`product.cover.media.translation`.language_id as `product.cover.media.translation.languageId`
FROM
`media_translation` `product.cover.media.translation`
WHERE
`product.cover.media.translation`.language_id = : languageId
) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id`
WHERE
(
`product`.`version_id` = : version
)
AND (
`product`.`id` IN (: ids)
)
SELECT `product`.`id` as `product.id`, `product`.`version_id` as `product.versionId`, `product`.`parent_id` as `product.parentId`, `product`.`parent_version_id` as `product.parentVersionId`, COALESCE(`product`.`product_manufacturer_id`, `product.parent`.`product_manufacturer_id`) as `product.manufacturerId`, COALESCE(`product`.`product_manufacturer_version_id`, `product.parent`.`product_manufacturer_version_id`) as `product.productManufacturerVersionId`, COALESCE(`product`.`unit_id`, `product.parent`.`unit_id`) as `product.unitId`, COALESCE(`product`.`tax_id`, `product.parent`.`tax_id`) as `product.taxId`, COALESCE(`product`.`product_media_id`, `product.parent`.`product_media_id`) as `product.coverId`, COALESCE(`product`.`product_media_version_id`, `product.parent`.`product_media_version_id`) as `product.productMediaVersionId`, COALESCE(`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`) as `product.deliveryTimeId`, COALESCE(`product`.`product_feature_set_id`, `product.parent`.`product_feature_set_id`) as `product.featureSetId`, COALESCE(`product`.`canonical_product_id`, `product.parent`.`canonical_product_id`) as `product.canonicalProductId`, COALESCE(`product`.`cms_page_id`, `product.parent`.`cms_page_id`) as `product.cmsPageId`, COALESCE(`product`.`cms_page_version_id`, `product.parent`.`cms_page_version_id`) as `product.cmsPageVersionId`, `product.parent`.`price` as `product.price.inherited`, COALESCE(`product`.`price`, `product.parent`.`price`) as `product.price`, `product`.`product_number` as `product.productNumber`, `product`.`stock` as `product.stock`, COALESCE(`product`.`restock_time`, `product.parent`.`restock_time`) as `product.restockTime`, `product`.`auto_increment` as `product.autoIncrement`, COALESCE(`product`.`active`, `product.parent`.`active`) as `product.active`, `product`.`available_stock` as `product.availableStock`, `product`.`available` as `product.available`, COALESCE(`product`.`is_closeout`, `product.parent`.`is_closeout`) as `product.isCloseout`, `product`.`display_group` as `product.displayGroup`, `product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`, COALESCE(`product`.`configurator_group_config`, `product.parent`.`configurator_group_config`) as `product.configuratorGroupConfig`, COALESCE(`product`.`main_variant_id`, `product.parent`.`main_variant_id`) as `product.mainVariantId`, COALESCE(`product`.`display_parent`, `product.parent`.`display_parent`) as `product.displayParent`, `product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`, COALESCE(`product`.`variant_listing_config`, `product.parent`.`variant_listing_config`) as `product.variantListingConfig`, `product`.`variant_restrictions` as `product.variantRestrictions`, COALESCE(`product`.`manufacturer_number`, `product.parent`.`manufacturer_number`) as `product.manufacturerNumber`, COALESCE(`product`.`ean`, `product.parent`.`ean`) as `product.ean`, COALESCE(`product`.`purchase_steps`, `product.parent`.`purchase_steps`) as `product.purchaseSteps`, COALESCE(`product`.`max_purchase`, `product.parent`.`max_purchase`) as `product.maxPurchase`, COALESCE(`product`.`min_purchase`, `product.parent`.`min_purchase`) as `product.minPurchase`, COALESCE(`product`.`purchase_unit`, `product.parent`.`purchase_unit`) as `product.purchaseUnit`, COALESCE(`product`.`reference_unit`, `product.parent`.`reference_unit`) as `product.referenceUnit`, COALESCE(`product`.`shipping_free`, `product.parent`.`shipping_free`) as `product.shippingFree`, `product.parent`.`purchase_prices` as `product.purchasePrices.inherited`, COALESCE(`product`.`purchase_prices`, `product.parent`.`purchase_prices`) as `product.purchasePrices`, COALESCE(`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`) as `product.markAsTopseller`, COALESCE(`product`.`weight`, `product.parent`.`weight`) as `product.weight`, COALESCE(`product`.`width`, `product.parent`.`width`) as `product.width`, COALESCE(`product`.`height`, `product.parent`.`height`) as `product.height`, COALESCE(`product`.`length`, `product.parent`.`length`) as `product.length`, COALESCE(`product`.`release_date`, `product.parent`.`release_date`) as `product.releaseDate`, COALESCE(`product`.`rating_average`, `product.parent`.`rating_average`) as `product.ratingAverage`, `product.parent`.`category_tree` as `product.categoryTree.inherited`, COALESCE(`product`.`category_tree`, `product.parent`.`category_tree`) as `product.categoryTree`, `product.parent`.`property_ids` as `product.propertyIds.inherited`, COALESCE(`product`.`property_ids`, `product.parent`.`property_ids`) as `product.propertyIds`, `product.parent`.`option_ids` as `product.optionIds.inherited`, COALESCE(`product`.`option_ids`, `product.parent`.`option_ids`) as `product.optionIds`, `product.parent`.`stream_ids` as `product.streamIds.inherited`, COALESCE(`product`.`stream_ids`, `product.parent`.`stream_ids`) as `product.streamIds`, `product.parent`.`tag_ids` as `product.tagIds.inherited`, COALESCE(`product`.`tag_ids`, `product.parent`.`tag_ids`) as `product.tagIds`, `product.parent`.`category_ids` as `product.categoryIds.inherited`, COALESCE(`product`.`category_ids`, `product.parent`.`category_ids`) as `product.categoryIds`, `product`.`child_count` as `product.childCount`, COALESCE(`product`.`custom_field_set_selection_active`, `product.parent`.`custom_field_set_selection_active`) as `product.customFieldSetSelectionActive`, `product`.`sales` as `product.sales`, `product`.`states` as `product.states`, `product.tax`.`id` as `product.tax.id`, `product.tax`.`tax_rate` as `product.tax.taxRate`, `product.tax`.`name` as `product.tax.name`, `product.tax`.`position` as `product.tax.position`, `product.tax`.`custom_fields` as `product.tax.customFields`, `product.tax`.`created_at` as `product.tax.createdAt`, `product.tax`.`updated_at` as `product.tax.updatedAt`, `product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`, COALESCE(`product`.`cheapest_price`, `product.parent`.`cheapest_price`) as `product.cheapestPrice`, `product`.`created_at` as `product.createdAt`, `product`.`updated_at` as `product.updatedAt`, `product.bundle`.`id` as `product.bundle.id`, `product.bundle`.`product_id` as `product.bundle.productId`, `product.bundle`.`product_version_id` as `product.bundle.productVersionId`, `product.bundle`.`name` as `product.bundle.name`, `product.bundle`.`price_type` as `product.bundle.priceType`, `product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`, `product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`, `product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`, `product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`, `product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`, `product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`, `product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`, `product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`, `product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`, `product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`, `product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`, `product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`, `product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`, `product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`, `product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`, `product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`, `product.bundle`.`created_at` as `product.bundle.createdAt`, `product.bundle`.`updated_at` as `product.bundle.updatedAt`, `product.cover`.`id` as `product.cover.id`, `product.cover`.`version_id` as `product.cover.versionId`, `product.cover`.`product_id` as `product.cover.productId`, `product.cover`.`product_version_id` as `product.cover.productVersionId`, `product.cover`.`media_id` as `product.cover.mediaId`, `product.cover`.`position` as `product.cover.position`, `product.cover.media`.`id` as `product.cover.media.id`, `product.cover.media`.`user_id` as `product.cover.media.userId`, `product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`, `product.cover.media`.`mime_type` as `product.cover.media.mimeType`, `product.cover.media`.`file_extension` as `product.cover.media.fileExtension`, `product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`, `product.cover.media`.`file_name` as `product.cover.media.fileName`, `product.cover.media`.`file_size` as `product.cover.media.fileSize`, `product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`, `product.cover.media`.`meta_data` as `product.cover.media.metaData`, `product.cover.media`.`private` as `product.cover.media.private`, `product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`, `product.cover.media`.`created_at` as `product.cover.media.createdAt`, `product.cover.media`.`updated_at` as `product.cover.media.updatedAt`, `product.cover.media.translation.title`, COALESCE(`product.cover.media.translation.title`,`product.cover.media.translation.title`) as `product.cover.media.title`, `product.cover.media.translation.alt`, COALESCE(`product.cover.media.translation.alt`,`product.cover.media.translation.alt`) as `product.cover.media.alt`, `product.cover.media.translation.customFields`, COALESCE(`product.cover.media.translation.customFields`,`product.cover.media.translation.customFields`) as `product.cover.media.customFields`, `product.cover.media.translation.createdAt`, `product.cover.media.translation.updatedAt`, `product.cover.media.translation.mediaId`, `product.cover.media.translation.languageId`, `product.cover`.`custom_fields` as `product.cover.customFields`, `product.cover`.`created_at` as `product.cover.createdAt`, `product.cover`.`updated_at` as `product.cover.updatedAt`, `product.translation.metaDescription`, `product.parent.translation.metaDescription`, COALESCE(`product.translation.metaDescription`,`product.parent.translation.metaDescription`,`product.translation.metaDescription`) as `product.metaDescription`, `product.translation.name`, `product.parent.translation.name`, COALESCE(`product.translation.name`,`product.parent.translation.name`,`product.translation.name`) as `product.name`, `product.translation.keywords`, `product.parent.translation.keywords`, COALESCE(`product.translation.keywords`,`product.parent.translation.keywords`,`product.translation.keywords`) as `product.keywords`, `product.translation.description`, `product.parent.translation.description`, COALESCE(`product.translation.description`,`product.parent.translation.description`,`product.translation.description`) as `product.description`, `product.translation.metaTitle`, `product.parent.translation.metaTitle`, COALESCE(`product.translation.metaTitle`,`product.parent.translation.metaTitle`,`product.translation.metaTitle`) as `product.metaTitle`, `product.translation.packUnit`, `product.parent.translation.packUnit`, COALESCE(`product.translation.packUnit`,`product.parent.translation.packUnit`,`product.translation.packUnit`) as `product.packUnit`, `product.translation.packUnitPlural`, `product.parent.translation.packUnitPlural`, COALESCE(`product.translation.packUnitPlural`,`product.parent.translation.packUnitPlural`,`product.translation.packUnitPlural`) as `product.packUnitPlural`, `product.translation.customSearchKeywords`, `product.parent.translation.customSearchKeywords`, COALESCE(`product.translation.customSearchKeywords`,`product.parent.translation.customSearchKeywords`,`product.translation.customSearchKeywords`) as `product.customSearchKeywords`, `product.translation.slotConfig`, `product.parent.translation.slotConfig`, COALESCE(`product.translation.slotConfig`,`product.parent.translation.slotConfig`,`product.translation.slotConfig`) as `product.slotConfig`, `product.translation.customFields`, `product.parent.translation.customFields`, COALESCE(`product.translation.customFields`,`product.parent.translation.customFields`,`product.translation.customFields`) as `product.customFields`, `product.translation.createdAt`, `product.parent.translation.createdAt`, `product.translation.updatedAt`, `product.parent.translation.updatedAt`, `product.translation.productId`, `product.parent.translation.productId`, `product.translation.languageId`, `product.parent.translation.languageId`, `product.translation.productVersionId`, `product.parent.translation.productVersionId` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN (SELECT `product.translation`.product_id, `product.translation`.product_version_id, `product.translation`.meta_description as `product.translation.metaDescription`, `product.translation`.name as `product.translation.name`, `product.translation`.keywords as `product.translation.keywords`, `product.translation`.description as `product.translation.description`, `product.translation`.meta_title as `product.translation.metaTitle`, `product.translation`.pack_unit as `product.translation.packUnit`, `product.translation`.pack_unit_plural as `product.translation.packUnitPlural`, `product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`, `product.translation`.slot_config as `product.translation.slotConfig`, `product.translation`.custom_fields as `product.translation.customFields`, `product.translation`.created_at as `product.translation.createdAt`, `product.translation`.updated_at as `product.translation.updatedAt`, `product.translation`.product_id as `product.translation.productId`, `product.translation`.language_id as `product.translation.languageId`, `product.translation`.product_version_id as `product.translation.productVersionId` FROM `product_translation` `product.translation` WHERE `product.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id` AND `product.product_translation`.product_version_id = `product`.version_id LEFT JOIN (SELECT `product.parent.translation`.product_id, `product.parent.translation`.product_version_id, `product.parent.translation`.meta_description as `product.parent.translation.metaDescription`, `product.parent.translation`.name as `product.parent.translation.name`, `product.parent.translation`.keywords as `product.parent.translation.keywords`, `product.parent.translation`.description as `product.parent.translation.description`, `product.parent.translation`.meta_title as `product.parent.translation.metaTitle`, `product.parent.translation`.pack_unit as `product.parent.translation.packUnit`, `product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`, `product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`, `product.parent.translation`.slot_config as `product.parent.translation.slotConfig`, `product.parent.translation`.custom_fields as `product.parent.translation.customFields`, `product.parent.translation`.created_at as `product.parent.translation.createdAt`, `product.parent.translation`.updated_at as `product.parent.translation.updatedAt`, `product.parent.translation`.product_id as `product.parent.translation.productId`, `product.parent.translation`.language_id as `product.parent.translation.languageId`, `product.parent.translation`.product_version_id as `product.parent.translation.productVersionId` FROM `product_translation` `product.parent.translation` WHERE `product.parent.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id` AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id` LEFT JOIN `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_id` LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id` AND `product`.`version_id` = `product.cover`.`version_id` LEFT JOIN `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`id` LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id` LEFT JOIN (SELECT `product.cover.media.translation`.media_id, `product.cover.media.translation`.title as `product.cover.media.translation.title`, `product.cover.media.translation`.alt as `product.cover.media.translation.alt`, `product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`, `product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`, `product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`, `product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`, `product.cover.media.translation`.language_id as `product.cover.media.translation.languageId` FROM `media_translation` `product.cover.media.translation` WHERE `product.cover.media.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id` WHERE (`product`.`version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425) AND (`product`.`id` IN (0x03F4EF144EC44C3E822790C652F7C3F6));
array:51 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 316)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetch (line 148)"
4 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 93)"
5 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::read (line 257)"
6 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::read (line 286)"
7 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::_search (line 106)"
8 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::search (line 51)"
9 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepositoryForwardCompatibilityDecorator::search (line 103)"
10 => "Bodymed\Webshop\StoreFront\Subscriber\ProductExtensionSubscriber::addParentCover (line 230)"
11 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
12 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
13 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
14 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
15 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
16 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 33)"
17 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
18 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 208)"
19 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::read (line 133)"
20 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 49)"
21 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariantsOfProduct (line 30)"
22 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariants (line 224)"
23 => "Bodymed\Webshop\Core\Content\Product\Cms\ProductSliderCmsElementResolver::enrich (line 99)"
24 => "Shopware\Core\Content\Cms\DataResolver\CmsSlotsDataResolver::resolve (line 104)"
25 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::loadSlotData (line 94)"
26 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::load (line 102)"
27 => "Shopware\Core\Content\Category\SalesChannel\CategoryRoute::load (line 103)"
28 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 350)"
29 => "Shopware\Core\System\SystemConfig\SystemConfigService::trace (line 44)"
30 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 120)"
31 => "Shopware\Core\Framework\Adapter\Translation\Translator::trace (line 45)"
32 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 46)"
33 => "Shopware\Core\Framework\Adapter\Cache\CacheTagCollection::trace (line 46)"
34 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::trace (line 41)"
35 => "Shopware\Storefront\Framework\Cache\CacheTracer::Shopware\Storefront\Framework\Cache\{closure} (line 59)"
36 => "Shopware\Storefront\Theme\ThemeConfigValueAccessor::trace (line 42)"
37 => "Shopware\Storefront\Framework\Cache\CacheTracer::trace (line 104)"
38 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 72)"
39 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
40 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 109)"
41 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 59)"
42 => "Shopware\Core\Profiling\Profiler::trace (line 112)"
43 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::load (line 66)"
44 => "Shopware\Storefront\Page\Navigation\NavigationPageLoader::load (line 48)"
45 => "Shopware\Storefront\Controller\NavigationController::home (line 163)"
46 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
47 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
48 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
49 => "Shopware\Core\HttpKernel::doHandle (line 81)"
50 => "Shopware\Core\HttpKernel::handle (line 75)"
]
|
85 |
0.79 ms |
SELECT * FROM sales_channel_api_context WHERE (sales_channel_id = :salesChannelId) AND (token = :token) LIMIT 1
SELECT * FROM sales_channel_api_context WHERE (sales_channel_id = 0x620A2217F7474E619CB00AD39E804CCA) AND (token = 'FwsxT47353Zxmr7lp0KSfYcVNkg5VpYR') LIMIT 1;
array:58 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 165)"
3 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextPersister::load (line 69)"
4 => "Bodymed\Webshop\Core\Subscriber\ProductSubscriber::addCustomerProductFeatureExtension (line 230)"
5 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
6 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
7 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
8 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
9 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
10 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 33)"
11 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
12 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 269)"
13 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::read (line 286)"
14 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::_search (line 106)"
15 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::search (line 51)"
16 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepositoryForwardCompatibilityDecorator::search (line 103)"
17 => "Bodymed\Webshop\StoreFront\Subscriber\ProductExtensionSubscriber::addParentCover (line 230)"
18 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
19 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
20 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
21 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
22 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
23 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 33)"
24 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
25 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 208)"
26 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::read (line 133)"
27 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 49)"
28 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariantsOfProduct (line 30)"
29 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariants (line 224)"
30 => "Bodymed\Webshop\Core\Content\Product\Cms\ProductSliderCmsElementResolver::enrich (line 99)"
31 => "Shopware\Core\Content\Cms\DataResolver\CmsSlotsDataResolver::resolve (line 104)"
32 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::loadSlotData (line 94)"
33 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::load (line 102)"
34 => "Shopware\Core\Content\Category\SalesChannel\CategoryRoute::load (line 103)"
35 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 350)"
36 => "Shopware\Core\System\SystemConfig\SystemConfigService::trace (line 44)"
37 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 120)"
38 => "Shopware\Core\Framework\Adapter\Translation\Translator::trace (line 45)"
39 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 46)"
40 => "Shopware\Core\Framework\Adapter\Cache\CacheTagCollection::trace (line 46)"
41 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::trace (line 41)"
42 => "Shopware\Storefront\Framework\Cache\CacheTracer::Shopware\Storefront\Framework\Cache\{closure} (line 59)"
43 => "Shopware\Storefront\Theme\ThemeConfigValueAccessor::trace (line 42)"
44 => "Shopware\Storefront\Framework\Cache\CacheTracer::trace (line 104)"
45 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 72)"
46 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
47 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 109)"
48 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 59)"
49 => "Shopware\Core\Profiling\Profiler::trace (line 112)"
50 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::load (line 66)"
51 => "Shopware\Storefront\Page\Navigation\NavigationPageLoader::load (line 48)"
52 => "Shopware\Storefront\Controller\NavigationController::home (line 163)"
53 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
54 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
55 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
56 => "Shopware\Core\HttpKernel::doHandle (line 81)"
57 => "Shopware\Core\HttpKernel::handle (line 75)"
]
|
86 |
24.43 ms |
SELECT `product`.`id` as `product.id`, `product`.`version_id` as `product.versionId`, `product`.`parent_id` as `product.parentId`, `product`.`parent_version_id` as `product.parentVersionId`, COALESCE(`product`.`product_manufacturer_id`, `product.parent`.`product_manufacturer_id`) as `product.manufacturerId`, COALESCE(`product`.`product_manufacturer_version_id`, `product.parent`.`product_manufacturer_version_id`) as `product.productManufacturerVersionId`, COALESCE(`product`.`unit_id`, `product.parent`.`unit_id`) as `product.unitId`, COALESCE(`product`.`tax_id`, `product.parent`.`tax_id`) as `product.taxId`, COALESCE(`product`.`product_media_id`, `product.parent`.`product_media_id`) as `product.coverId`, COALESCE(`product`.`product_media_version_id`, `product.parent`.`product_media_version_id`) as `product.productMediaVersionId`, COALESCE(`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`) as `product.deliveryTimeId`, COALESCE(`product`.`product_feature_set_id`, `product.parent`.`product_feature_set_id`) as `product.featureSetId`, COALESCE(`product`.`canonical_product_id`, `product.parent`.`canonical_product_id`) as `product.canonicalProductId`, COALESCE(`product`.`cms_page_id`, `product.parent`.`cms_page_id`) as `product.cmsPageId`, COALESCE(`product`.`cms_page_version_id`, `product.parent`.`cms_page_version_id`) as `product.cmsPageVersionId`, `product.parent`.`price` as `product.price.inherited`, COALESCE(`product`.`price`, `product.parent`.`price`) as `product.price`, `product`.`product_number` as `product.productNumber`, `product`.`stock` as `product.stock`, COALESCE(`product`.`restock_time`, `product.parent`.`restock_time`) as `product.restockTime`, `product`.`auto_increment` as `product.autoIncrement`, COALESCE(`product`.`active`, `product.parent`.`active`) as `product.active`, `product`.`available_stock` as `product.availableStock`, `product`.`available` as `product.available`, COALESCE(`product`.`is_closeout`, `product.parent`.`is_closeout`) as `product.isCloseout`, `product`.`display_group` as `product.displayGroup`, `product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`, COALESCE(`product`.`configurator_group_config`, `product.parent`.`configurator_group_config`) as `product.configuratorGroupConfig`, COALESCE(`product`.`main_variant_id`, `product.parent`.`main_variant_id`) as `product.mainVariantId`, COALESCE(`product`.`display_parent`, `product.parent`.`display_parent`) as `product.displayParent`, `product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`, COALESCE(`product`.`variant_listing_config`, `product.parent`.`variant_listing_config`) as `product.variantListingConfig`, `product`.`variant_restrictions` as `product.variantRestrictions`, COALESCE(`product`.`manufacturer_number`, `product.parent`.`manufacturer_number`) as `product.manufacturerNumber`, COALESCE(`product`.`ean`, `product.parent`.`ean`) as `product.ean`, COALESCE(`product`.`purchase_steps`, `product.parent`.`purchase_steps`) as `product.purchaseSteps`, COALESCE(`product`.`max_purchase`, `product.parent`.`max_purchase`) as `product.maxPurchase`, COALESCE(`product`.`min_purchase`, `product.parent`.`min_purchase`) as `product.minPurchase`, COALESCE(`product`.`purchase_unit`, `product.parent`.`purchase_unit`) as `product.purchaseUnit`, COALESCE(`product`.`reference_unit`, `product.parent`.`reference_unit`) as `product.referenceUnit`, COALESCE(`product`.`shipping_free`, `product.parent`.`shipping_free`) as `product.shippingFree`, `product.parent`.`purchase_prices` as `product.purchasePrices.inherited`, COALESCE(`product`.`purchase_prices`, `product.parent`.`purchase_prices`) as `product.purchasePrices`, COALESCE(`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`) as `product.markAsTopseller`, COALESCE(`product`.`weight`, `product.parent`.`weight`) as `product.weight`, COALESCE(`product`.`width`, `product.parent`.`width`) as `product.width`, COALESCE(`product`.`height`, `product.parent`.`height`) as `product.height`, COALESCE(`product`.`length`, `product.parent`.`length`) as `product.length`, COALESCE(`product`.`release_date`, `product.parent`.`release_date`) as `product.releaseDate`, COALESCE(`product`.`rating_average`, `product.parent`.`rating_average`) as `product.ratingAverage`, `product.parent`.`category_tree` as `product.categoryTree.inherited`, COALESCE(`product`.`category_tree`, `product.parent`.`category_tree`) as `product.categoryTree`, `product.parent`.`property_ids` as `product.propertyIds.inherited`, COALESCE(`product`.`property_ids`, `product.parent`.`property_ids`) as `product.propertyIds`, `product.parent`.`option_ids` as `product.optionIds.inherited`, COALESCE(`product`.`option_ids`, `product.parent`.`option_ids`) as `product.optionIds`, `product.parent`.`stream_ids` as `product.streamIds.inherited`, COALESCE(`product`.`stream_ids`, `product.parent`.`stream_ids`) as `product.streamIds`, `product.parent`.`tag_ids` as `product.tagIds.inherited`, COALESCE(`product`.`tag_ids`, `product.parent`.`tag_ids`) as `product.tagIds`, `product.parent`.`category_ids` as `product.categoryIds.inherited`, COALESCE(`product`.`category_ids`, `product.parent`.`category_ids`) as `product.categoryIds`, `product`.`child_count` as `product.childCount`, COALESCE(`product`.`custom_field_set_selection_active`, `product.parent`.`custom_field_set_selection_active`) as `product.customFieldSetSelectionActive`, `product`.`sales` as `product.sales`, `product`.`states` as `product.states`, `product.tax`.`id` as `product.tax.id`, `product.tax`.`tax_rate` as `product.tax.taxRate`, `product.tax`.`name` as `product.tax.name`, `product.tax`.`position` as `product.tax.position`, `product.tax`.`custom_fields` as `product.tax.customFields`, `product.tax`.`created_at` as `product.tax.createdAt`, `product.tax`.`updated_at` as `product.tax.updatedAt`, `product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`, COALESCE(`product`.`cheapest_price`, `product.parent`.`cheapest_price`) as `product.cheapestPrice`, `product`.`created_at` as `product.createdAt`, `product`.`updated_at` as `product.updatedAt`, `product.bundle`.`id` as `product.bundle.id`, `product.bundle`.`product_id` as `product.bundle.productId`, `product.bundle`.`product_version_id` as `product.bundle.productVersionId`, `product.bundle`.`name` as `product.bundle.name`, `product.bundle`.`price_type` as `product.bundle.priceType`, `product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`, `product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`, `product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`, `product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`, `product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`, `product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`, `product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`, `product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`, `product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`, `product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`, `product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`, `product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`, `product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`, `product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`, `product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`, `product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`, `product.bundle`.`created_at` as `product.bundle.createdAt`, `product.bundle`.`updated_at` as `product.bundle.updatedAt`, `product.cover`.`id` as `product.cover.id`, `product.cover`.`version_id` as `product.cover.versionId`, `product.cover`.`product_id` as `product.cover.productId`, `product.cover`.`product_version_id` as `product.cover.productVersionId`, `product.cover`.`media_id` as `product.cover.mediaId`, `product.cover`.`position` as `product.cover.position`, `product.cover.media`.`id` as `product.cover.media.id`, `product.cover.media`.`user_id` as `product.cover.media.userId`, `product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`, `product.cover.media`.`mime_type` as `product.cover.media.mimeType`, `product.cover.media`.`file_extension` as `product.cover.media.fileExtension`, `product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`, `product.cover.media`.`file_name` as `product.cover.media.fileName`, `product.cover.media`.`file_size` as `product.cover.media.fileSize`, `product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`, `product.cover.media`.`meta_data` as `product.cover.media.metaData`, `product.cover.media`.`private` as `product.cover.media.private`, `product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`, `product.cover.media`.`created_at` as `product.cover.media.createdAt`, `product.cover.media`.`updated_at` as `product.cover.media.updatedAt`, `product.cover.media.translation.title`, COALESCE(`product.cover.media.translation.title`,`product.cover.media.translation.title`) as `product.cover.media.title`, `product.cover.media.translation.alt`, COALESCE(`product.cover.media.translation.alt`,`product.cover.media.translation.alt`) as `product.cover.media.alt`, `product.cover.media.translation.customFields`, COALESCE(`product.cover.media.translation.customFields`,`product.cover.media.translation.customFields`) as `product.cover.media.customFields`, `product.cover.media.translation.createdAt`, `product.cover.media.translation.updatedAt`, `product.cover.media.translation.mediaId`, `product.cover.media.translation.languageId`, `product.cover`.`custom_fields` as `product.cover.customFields`, `product.cover`.`created_at` as `product.cover.createdAt`, `product.cover`.`updated_at` as `product.cover.updatedAt`, `product.translation.metaDescription`, `product.parent.translation.metaDescription`, COALESCE(`product.translation.metaDescription`,`product.parent.translation.metaDescription`,`product.translation.metaDescription`) as `product.metaDescription`, `product.translation.name`, `product.parent.translation.name`, COALESCE(`product.translation.name`,`product.parent.translation.name`,`product.translation.name`) as `product.name`, `product.translation.keywords`, `product.parent.translation.keywords`, COALESCE(`product.translation.keywords`,`product.parent.translation.keywords`,`product.translation.keywords`) as `product.keywords`, `product.translation.description`, `product.parent.translation.description`, COALESCE(`product.translation.description`,`product.parent.translation.description`,`product.translation.description`) as `product.description`, `product.translation.metaTitle`, `product.parent.translation.metaTitle`, COALESCE(`product.translation.metaTitle`,`product.parent.translation.metaTitle`,`product.translation.metaTitle`) as `product.metaTitle`, `product.translation.packUnit`, `product.parent.translation.packUnit`, COALESCE(`product.translation.packUnit`,`product.parent.translation.packUnit`,`product.translation.packUnit`) as `product.packUnit`, `product.translation.packUnitPlural`, `product.parent.translation.packUnitPlural`, COALESCE(`product.translation.packUnitPlural`,`product.parent.translation.packUnitPlural`,`product.translation.packUnitPlural`) as `product.packUnitPlural`, `product.translation.customSearchKeywords`, `product.parent.translation.customSearchKeywords`, COALESCE(`product.translation.customSearchKeywords`,`product.parent.translation.customSearchKeywords`,`product.translation.customSearchKeywords`) as `product.customSearchKeywords`, `product.translation.slotConfig`, `product.parent.translation.slotConfig`, COALESCE(`product.translation.slotConfig`,`product.parent.translation.slotConfig`,`product.translation.slotConfig`) as `product.slotConfig`, `product.translation.customFields`, `product.parent.translation.customFields`, COALESCE(`product.translation.customFields`,`product.parent.translation.customFields`,`product.translation.customFields`) as `product.customFields`, `product.translation.createdAt`, `product.parent.translation.createdAt`, `product.translation.updatedAt`, `product.parent.translation.updatedAt`, `product.translation.productId`, `product.parent.translation.productId`, `product.translation.languageId`, `product.parent.translation.languageId`, `product.translation.productVersionId`, `product.parent.translation.productVersionId` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN (SELECT `product.translation`.product_id, `product.translation`.product_version_id, `product.translation`.meta_description as `product.translation.metaDescription`, `product.translation`.name as `product.translation.name`, `product.translation`.keywords as `product.translation.keywords`, `product.translation`.description as `product.translation.description`, `product.translation`.meta_title as `product.translation.metaTitle`, `product.translation`.pack_unit as `product.translation.packUnit`, `product.translation`.pack_unit_plural as `product.translation.packUnitPlural`, `product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`, `product.translation`.slot_config as `product.translation.slotConfig`, `product.translation`.custom_fields as `product.translation.customFields`, `product.translation`.created_at as `product.translation.createdAt`, `product.translation`.updated_at as `product.translation.updatedAt`, `product.translation`.product_id as `product.translation.productId`, `product.translation`.language_id as `product.translation.languageId`, `product.translation`.product_version_id as `product.translation.productVersionId` FROM `product_translation` `product.translation` WHERE `product.translation`.language_id = :languageId) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id` AND `product.product_translation`.product_version_id = `product`.version_id LEFT JOIN (SELECT `product.parent.translation`.product_id, `product.parent.translation`.product_version_id, `product.parent.translation`.meta_description as `product.parent.translation.metaDescription`, `product.parent.translation`.name as `product.parent.translation.name`, `product.parent.translation`.keywords as `product.parent.translation.keywords`, `product.parent.translation`.description as `product.parent.translation.description`, `product.parent.translation`.meta_title as `product.parent.translation.metaTitle`, `product.parent.translation`.pack_unit as `product.parent.translation.packUnit`, `product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`, `product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`, `product.parent.translation`.slot_config as `product.parent.translation.slotConfig`, `product.parent.translation`.custom_fields as `product.parent.translation.customFields`, `product.parent.translation`.created_at as `product.parent.translation.createdAt`, `product.parent.translation`.updated_at as `product.parent.translation.updatedAt`, `product.parent.translation`.product_id as `product.parent.translation.productId`, `product.parent.translation`.language_id as `product.parent.translation.languageId`, `product.parent.translation`.product_version_id as `product.parent.translation.productVersionId` FROM `product_translation` `product.parent.translation` WHERE `product.parent.translation`.language_id = :languageId) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id` AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id` LEFT JOIN `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_id` LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id` AND `product`.`version_id` = `product.cover`.`version_id` LEFT JOIN `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`id` LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id` LEFT JOIN (SELECT `product.cover.media.translation`.media_id, `product.cover.media.translation`.title as `product.cover.media.translation.title`, `product.cover.media.translation`.alt as `product.cover.media.translation.alt`, `product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`, `product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`, `product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`, `product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`, `product.cover.media.translation`.language_id as `product.cover.media.translation.languageId` FROM `media_translation` `product.cover.media.translation` WHERE `product.cover.media.translation`.language_id = :languageId) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id` WHERE (`product`.`version_id` = :version) AND (`product`.`id` IN (:ids))
SELECT
`product`.`id` as `product.id`,
`product`.`version_id` as `product.versionId`,
`product`.`parent_id` as `product.parentId`,
`product`.`parent_version_id` as `product.parentVersionId`,
COALESCE(
`product`.`product_manufacturer_id`,
`product.parent`.`product_manufacturer_id`
) as `product.manufacturerId`,
COALESCE(
`product`.`product_manufacturer_version_id`,
`product.parent`.`product_manufacturer_version_id`
) as `product.productManufacturerVersionId`,
COALESCE(
`product`.`unit_id`, `product.parent`.`unit_id`
) as `product.unitId`,
COALESCE(
`product`.`tax_id`, `product.parent`.`tax_id`
) as `product.taxId`,
COALESCE(
`product`.`product_media_id`, `product.parent`.`product_media_id`
) as `product.coverId`,
COALESCE(
`product`.`product_media_version_id`,
`product.parent`.`product_media_version_id`
) as `product.productMediaVersionId`,
COALESCE(
`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`
) as `product.deliveryTimeId`,
COALESCE(
`product`.`product_feature_set_id`,
`product.parent`.`product_feature_set_id`
) as `product.featureSetId`,
COALESCE(
`product`.`canonical_product_id`,
`product.parent`.`canonical_product_id`
) as `product.canonicalProductId`,
COALESCE(
`product`.`cms_page_id`, `product.parent`.`cms_page_id`
) as `product.cmsPageId`,
COALESCE(
`product`.`cms_page_version_id`,
`product.parent`.`cms_page_version_id`
) as `product.cmsPageVersionId`,
`product.parent`.`price` as `product.price.inherited`,
COALESCE(
`product`.`price`, `product.parent`.`price`
) as `product.price`,
`product`.`product_number` as `product.productNumber`,
`product`.`stock` as `product.stock`,
COALESCE(
`product`.`restock_time`, `product.parent`.`restock_time`
) as `product.restockTime`,
`product`.`auto_increment` as `product.autoIncrement`,
COALESCE(
`product`.`active`, `product.parent`.`active`
) as `product.active`,
`product`.`available_stock` as `product.availableStock`,
`product`.`available` as `product.available`,
COALESCE(
`product`.`is_closeout`, `product.parent`.`is_closeout`
) as `product.isCloseout`,
`product`.`display_group` as `product.displayGroup`,
`product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`,
COALESCE(
`product`.`configurator_group_config`,
`product.parent`.`configurator_group_config`
) as `product.configuratorGroupConfig`,
COALESCE(
`product`.`main_variant_id`, `product.parent`.`main_variant_id`
) as `product.mainVariantId`,
COALESCE(
`product`.`display_parent`, `product.parent`.`display_parent`
) as `product.displayParent`,
`product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`,
COALESCE(
`product`.`variant_listing_config`,
`product.parent`.`variant_listing_config`
) as `product.variantListingConfig`,
`product`.`variant_restrictions` as `product.variantRestrictions`,
COALESCE(
`product`.`manufacturer_number`,
`product.parent`.`manufacturer_number`
) as `product.manufacturerNumber`,
COALESCE(
`product`.`ean`, `product.parent`.`ean`
) as `product.ean`,
COALESCE(
`product`.`purchase_steps`, `product.parent`.`purchase_steps`
) as `product.purchaseSteps`,
COALESCE(
`product`.`max_purchase`, `product.parent`.`max_purchase`
) as `product.maxPurchase`,
COALESCE(
`product`.`min_purchase`, `product.parent`.`min_purchase`
) as `product.minPurchase`,
COALESCE(
`product`.`purchase_unit`, `product.parent`.`purchase_unit`
) as `product.purchaseUnit`,
COALESCE(
`product`.`reference_unit`, `product.parent`.`reference_unit`
) as `product.referenceUnit`,
COALESCE(
`product`.`shipping_free`, `product.parent`.`shipping_free`
) as `product.shippingFree`,
`product.parent`.`purchase_prices` as `product.purchasePrices.inherited`,
COALESCE(
`product`.`purchase_prices`, `product.parent`.`purchase_prices`
) as `product.purchasePrices`,
COALESCE(
`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`
) as `product.markAsTopseller`,
COALESCE(
`product`.`weight`, `product.parent`.`weight`
) as `product.weight`,
COALESCE(
`product`.`width`, `product.parent`.`width`
) as `product.width`,
COALESCE(
`product`.`height`, `product.parent`.`height`
) as `product.height`,
COALESCE(
`product`.`length`, `product.parent`.`length`
) as `product.length`,
COALESCE(
`product`.`release_date`, `product.parent`.`release_date`
) as `product.releaseDate`,
COALESCE(
`product`.`rating_average`, `product.parent`.`rating_average`
) as `product.ratingAverage`,
`product.parent`.`category_tree` as `product.categoryTree.inherited`,
COALESCE(
`product`.`category_tree`, `product.parent`.`category_tree`
) as `product.categoryTree`,
`product.parent`.`property_ids` as `product.propertyIds.inherited`,
COALESCE(
`product`.`property_ids`, `product.parent`.`property_ids`
) as `product.propertyIds`,
`product.parent`.`option_ids` as `product.optionIds.inherited`,
COALESCE(
`product`.`option_ids`, `product.parent`.`option_ids`
) as `product.optionIds`,
`product.parent`.`stream_ids` as `product.streamIds.inherited`,
COALESCE(
`product`.`stream_ids`, `product.parent`.`stream_ids`
) as `product.streamIds`,
`product.parent`.`tag_ids` as `product.tagIds.inherited`,
COALESCE(
`product`.`tag_ids`, `product.parent`.`tag_ids`
) as `product.tagIds`,
`product.parent`.`category_ids` as `product.categoryIds.inherited`,
COALESCE(
`product`.`category_ids`, `product.parent`.`category_ids`
) as `product.categoryIds`,
`product`.`child_count` as `product.childCount`,
COALESCE(
`product`.`custom_field_set_selection_active`,
`product.parent`.`custom_field_set_selection_active`
) as `product.customFieldSetSelectionActive`,
`product`.`sales` as `product.sales`,
`product`.`states` as `product.states`,
`product.tax`.`id` as `product.tax.id`,
`product.tax`.`tax_rate` as `product.tax.taxRate`,
`product.tax`.`name` as `product.tax.name`,
`product.tax`.`position` as `product.tax.position`,
`product.tax`.`custom_fields` as `product.tax.customFields`,
`product.tax`.`created_at` as `product.tax.createdAt`,
`product.tax`.`updated_at` as `product.tax.updatedAt`,
`product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`,
COALESCE(
`product`.`cheapest_price`, `product.parent`.`cheapest_price`
) as `product.cheapestPrice`,
`product`.`created_at` as `product.createdAt`,
`product`.`updated_at` as `product.updatedAt`,
`product.bundle`.`id` as `product.bundle.id`,
`product.bundle`.`product_id` as `product.bundle.productId`,
`product.bundle`.`product_version_id` as `product.bundle.productVersionId`,
`product.bundle`.`name` as `product.bundle.name`,
`product.bundle`.`price_type` as `product.bundle.priceType`,
`product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`,
`product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`,
`product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`,
`product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`,
`product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`,
`product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`,
`product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`,
`product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`,
`product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`,
`product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`,
`product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`,
`product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`,
`product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`,
`product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`,
`product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`,
`product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`,
`product.bundle`.`created_at` as `product.bundle.createdAt`,
`product.bundle`.`updated_at` as `product.bundle.updatedAt`,
`product.cover`.`id` as `product.cover.id`,
`product.cover`.`version_id` as `product.cover.versionId`,
`product.cover`.`product_id` as `product.cover.productId`,
`product.cover`.`product_version_id` as `product.cover.productVersionId`,
`product.cover`.`media_id` as `product.cover.mediaId`,
`product.cover`.`position` as `product.cover.position`,
`product.cover.media`.`id` as `product.cover.media.id`,
`product.cover.media`.`user_id` as `product.cover.media.userId`,
`product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`,
`product.cover.media`.`mime_type` as `product.cover.media.mimeType`,
`product.cover.media`.`file_extension` as `product.cover.media.fileExtension`,
`product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`,
`product.cover.media`.`file_name` as `product.cover.media.fileName`,
`product.cover.media`.`file_size` as `product.cover.media.fileSize`,
`product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`,
`product.cover.media`.`meta_data` as `product.cover.media.metaData`,
`product.cover.media`.`private` as `product.cover.media.private`,
`product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`,
`product.cover.media`.`created_at` as `product.cover.media.createdAt`,
`product.cover.media`.`updated_at` as `product.cover.media.updatedAt`,
`product.cover.media.translation.title`,
COALESCE(
`product.cover.media.translation.title`,
`product.cover.media.translation.title`
) as `product.cover.media.title`,
`product.cover.media.translation.alt`,
COALESCE(
`product.cover.media.translation.alt`,
`product.cover.media.translation.alt`
) as `product.cover.media.alt`,
`product.cover.media.translation.customFields`,
COALESCE(
`product.cover.media.translation.customFields`,
`product.cover.media.translation.customFields`
) as `product.cover.media.customFields`,
`product.cover.media.translation.createdAt`,
`product.cover.media.translation.updatedAt`,
`product.cover.media.translation.mediaId`,
`product.cover.media.translation.languageId`,
`product.cover`.`custom_fields` as `product.cover.customFields`,
`product.cover`.`created_at` as `product.cover.createdAt`,
`product.cover`.`updated_at` as `product.cover.updatedAt`,
`product.translation.metaDescription`,
`product.parent.translation.metaDescription`,
COALESCE(
`product.translation.metaDescription`,
`product.parent.translation.metaDescription`,
`product.translation.metaDescription`
) as `product.metaDescription`,
`product.translation.name`,
`product.parent.translation.name`,
COALESCE(
`product.translation.name`, `product.parent.translation.name`,
`product.translation.name`
) as `product.name`,
`product.translation.keywords`,
`product.parent.translation.keywords`,
COALESCE(
`product.translation.keywords`,
`product.parent.translation.keywords`,
`product.translation.keywords`
) as `product.keywords`,
`product.translation.description`,
`product.parent.translation.description`,
COALESCE(
`product.translation.description`,
`product.parent.translation.description`,
`product.translation.description`
) as `product.description`,
`product.translation.metaTitle`,
`product.parent.translation.metaTitle`,
COALESCE(
`product.translation.metaTitle`,
`product.parent.translation.metaTitle`,
`product.translation.metaTitle`
) as `product.metaTitle`,
`product.translation.packUnit`,
`product.parent.translation.packUnit`,
COALESCE(
`product.translation.packUnit`,
`product.parent.translation.packUnit`,
`product.translation.packUnit`
) as `product.packUnit`,
`product.translation.packUnitPlural`,
`product.parent.translation.packUnitPlural`,
COALESCE(
`product.translation.packUnitPlural`,
`product.parent.translation.packUnitPlural`,
`product.translation.packUnitPlural`
) as `product.packUnitPlural`,
`product.translation.customSearchKeywords`,
`product.parent.translation.customSearchKeywords`,
COALESCE(
`product.translation.customSearchKeywords`,
`product.parent.translation.customSearchKeywords`,
`product.translation.customSearchKeywords`
) as `product.customSearchKeywords`,
`product.translation.slotConfig`,
`product.parent.translation.slotConfig`,
COALESCE(
`product.translation.slotConfig`,
`product.parent.translation.slotConfig`,
`product.translation.slotConfig`
) as `product.slotConfig`,
`product.translation.customFields`,
`product.parent.translation.customFields`,
COALESCE(
`product.translation.customFields`,
`product.parent.translation.customFields`,
`product.translation.customFields`
) as `product.customFields`,
`product.translation.createdAt`,
`product.parent.translation.createdAt`,
`product.translation.updatedAt`,
`product.parent.translation.updatedAt`,
`product.translation.productId`,
`product.parent.translation.productId`,
`product.translation.languageId`,
`product.parent.translation.languageId`,
`product.translation.productVersionId`,
`product.parent.translation.productVersionId`
FROM
`product`
LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id`
AND `product`.`version_id` = `product.parent`.`version_id`
LEFT JOIN (
SELECT
`product.translation`.product_id,
`product.translation`.product_version_id,
`product.translation`.meta_description as `product.translation.metaDescription`,
`product.translation`.name as `product.translation.name`,
`product.translation`.keywords as `product.translation.keywords`,
`product.translation`.description as `product.translation.description`,
`product.translation`.meta_title as `product.translation.metaTitle`,
`product.translation`.pack_unit as `product.translation.packUnit`,
`product.translation`.pack_unit_plural as `product.translation.packUnitPlural`,
`product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`,
`product.translation`.slot_config as `product.translation.slotConfig`,
`product.translation`.custom_fields as `product.translation.customFields`,
`product.translation`.created_at as `product.translation.createdAt`,
`product.translation`.updated_at as `product.translation.updatedAt`,
`product.translation`.product_id as `product.translation.productId`,
`product.translation`.language_id as `product.translation.languageId`,
`product.translation`.product_version_id as `product.translation.productVersionId`
FROM
`product_translation` `product.translation`
WHERE
`product.translation`.language_id = : languageId
) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id`
AND `product.product_translation`.product_version_id = `product`.version_id
LEFT JOIN (
SELECT
`product.parent.translation`.product_id,
`product.parent.translation`.product_version_id,
`product.parent.translation`.meta_description as `product.parent.translation.metaDescription`,
`product.parent.translation`.name as `product.parent.translation.name`,
`product.parent.translation`.keywords as `product.parent.translation.keywords`,
`product.parent.translation`.description as `product.parent.translation.description`,
`product.parent.translation`.meta_title as `product.parent.translation.metaTitle`,
`product.parent.translation`.pack_unit as `product.parent.translation.packUnit`,
`product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`,
`product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`,
`product.parent.translation`.slot_config as `product.parent.translation.slotConfig`,
`product.parent.translation`.custom_fields as `product.parent.translation.customFields`,
`product.parent.translation`.created_at as `product.parent.translation.createdAt`,
`product.parent.translation`.updated_at as `product.parent.translation.updatedAt`,
`product.parent.translation`.product_id as `product.parent.translation.productId`,
`product.parent.translation`.language_id as `product.parent.translation.languageId`,
`product.parent.translation`.product_version_id as `product.parent.translation.productVersionId`
FROM
`product_translation` `product.parent.translation`
WHERE
`product.parent.translation`.language_id = : languageId
) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id`
AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id
LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id`
LEFT JOIN `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_id`
LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id`
AND `product`.`version_id` = `product.cover`.`version_id`
LEFT JOIN `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id`
LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id`
LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`id`
LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id`
LEFT JOIN (
SELECT
`product.cover.media.translation`.media_id,
`product.cover.media.translation`.title as `product.cover.media.translation.title`,
`product.cover.media.translation`.alt as `product.cover.media.translation.alt`,
`product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`,
`product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`,
`product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`,
`product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`,
`product.cover.media.translation`.language_id as `product.cover.media.translation.languageId`
FROM
`media_translation` `product.cover.media.translation`
WHERE
`product.cover.media.translation`.language_id = : languageId
) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id`
WHERE
(
`product`.`version_id` = : version
)
AND (
`product`.`id` IN (: ids)
)
SELECT `product`.`id` as `product.id`, `product`.`version_id` as `product.versionId`, `product`.`parent_id` as `product.parentId`, `product`.`parent_version_id` as `product.parentVersionId`, COALESCE(`product`.`product_manufacturer_id`, `product.parent`.`product_manufacturer_id`) as `product.manufacturerId`, COALESCE(`product`.`product_manufacturer_version_id`, `product.parent`.`product_manufacturer_version_id`) as `product.productManufacturerVersionId`, COALESCE(`product`.`unit_id`, `product.parent`.`unit_id`) as `product.unitId`, COALESCE(`product`.`tax_id`, `product.parent`.`tax_id`) as `product.taxId`, COALESCE(`product`.`product_media_id`, `product.parent`.`product_media_id`) as `product.coverId`, COALESCE(`product`.`product_media_version_id`, `product.parent`.`product_media_version_id`) as `product.productMediaVersionId`, COALESCE(`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`) as `product.deliveryTimeId`, COALESCE(`product`.`product_feature_set_id`, `product.parent`.`product_feature_set_id`) as `product.featureSetId`, COALESCE(`product`.`canonical_product_id`, `product.parent`.`canonical_product_id`) as `product.canonicalProductId`, COALESCE(`product`.`cms_page_id`, `product.parent`.`cms_page_id`) as `product.cmsPageId`, COALESCE(`product`.`cms_page_version_id`, `product.parent`.`cms_page_version_id`) as `product.cmsPageVersionId`, `product.parent`.`price` as `product.price.inherited`, COALESCE(`product`.`price`, `product.parent`.`price`) as `product.price`, `product`.`product_number` as `product.productNumber`, `product`.`stock` as `product.stock`, COALESCE(`product`.`restock_time`, `product.parent`.`restock_time`) as `product.restockTime`, `product`.`auto_increment` as `product.autoIncrement`, COALESCE(`product`.`active`, `product.parent`.`active`) as `product.active`, `product`.`available_stock` as `product.availableStock`, `product`.`available` as `product.available`, COALESCE(`product`.`is_closeout`, `product.parent`.`is_closeout`) as `product.isCloseout`, `product`.`display_group` as `product.displayGroup`, `product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`, COALESCE(`product`.`configurator_group_config`, `product.parent`.`configurator_group_config`) as `product.configuratorGroupConfig`, COALESCE(`product`.`main_variant_id`, `product.parent`.`main_variant_id`) as `product.mainVariantId`, COALESCE(`product`.`display_parent`, `product.parent`.`display_parent`) as `product.displayParent`, `product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`, COALESCE(`product`.`variant_listing_config`, `product.parent`.`variant_listing_config`) as `product.variantListingConfig`, `product`.`variant_restrictions` as `product.variantRestrictions`, COALESCE(`product`.`manufacturer_number`, `product.parent`.`manufacturer_number`) as `product.manufacturerNumber`, COALESCE(`product`.`ean`, `product.parent`.`ean`) as `product.ean`, COALESCE(`product`.`purchase_steps`, `product.parent`.`purchase_steps`) as `product.purchaseSteps`, COALESCE(`product`.`max_purchase`, `product.parent`.`max_purchase`) as `product.maxPurchase`, COALESCE(`product`.`min_purchase`, `product.parent`.`min_purchase`) as `product.minPurchase`, COALESCE(`product`.`purchase_unit`, `product.parent`.`purchase_unit`) as `product.purchaseUnit`, COALESCE(`product`.`reference_unit`, `product.parent`.`reference_unit`) as `product.referenceUnit`, COALESCE(`product`.`shipping_free`, `product.parent`.`shipping_free`) as `product.shippingFree`, `product.parent`.`purchase_prices` as `product.purchasePrices.inherited`, COALESCE(`product`.`purchase_prices`, `product.parent`.`purchase_prices`) as `product.purchasePrices`, COALESCE(`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`) as `product.markAsTopseller`, COALESCE(`product`.`weight`, `product.parent`.`weight`) as `product.weight`, COALESCE(`product`.`width`, `product.parent`.`width`) as `product.width`, COALESCE(`product`.`height`, `product.parent`.`height`) as `product.height`, COALESCE(`product`.`length`, `product.parent`.`length`) as `product.length`, COALESCE(`product`.`release_date`, `product.parent`.`release_date`) as `product.releaseDate`, COALESCE(`product`.`rating_average`, `product.parent`.`rating_average`) as `product.ratingAverage`, `product.parent`.`category_tree` as `product.categoryTree.inherited`, COALESCE(`product`.`category_tree`, `product.parent`.`category_tree`) as `product.categoryTree`, `product.parent`.`property_ids` as `product.propertyIds.inherited`, COALESCE(`product`.`property_ids`, `product.parent`.`property_ids`) as `product.propertyIds`, `product.parent`.`option_ids` as `product.optionIds.inherited`, COALESCE(`product`.`option_ids`, `product.parent`.`option_ids`) as `product.optionIds`, `product.parent`.`stream_ids` as `product.streamIds.inherited`, COALESCE(`product`.`stream_ids`, `product.parent`.`stream_ids`) as `product.streamIds`, `product.parent`.`tag_ids` as `product.tagIds.inherited`, COALESCE(`product`.`tag_ids`, `product.parent`.`tag_ids`) as `product.tagIds`, `product.parent`.`category_ids` as `product.categoryIds.inherited`, COALESCE(`product`.`category_ids`, `product.parent`.`category_ids`) as `product.categoryIds`, `product`.`child_count` as `product.childCount`, COALESCE(`product`.`custom_field_set_selection_active`, `product.parent`.`custom_field_set_selection_active`) as `product.customFieldSetSelectionActive`, `product`.`sales` as `product.sales`, `product`.`states` as `product.states`, `product.tax`.`id` as `product.tax.id`, `product.tax`.`tax_rate` as `product.tax.taxRate`, `product.tax`.`name` as `product.tax.name`, `product.tax`.`position` as `product.tax.position`, `product.tax`.`custom_fields` as `product.tax.customFields`, `product.tax`.`created_at` as `product.tax.createdAt`, `product.tax`.`updated_at` as `product.tax.updatedAt`, `product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`, COALESCE(`product`.`cheapest_price`, `product.parent`.`cheapest_price`) as `product.cheapestPrice`, `product`.`created_at` as `product.createdAt`, `product`.`updated_at` as `product.updatedAt`, `product.bundle`.`id` as `product.bundle.id`, `product.bundle`.`product_id` as `product.bundle.productId`, `product.bundle`.`product_version_id` as `product.bundle.productVersionId`, `product.bundle`.`name` as `product.bundle.name`, `product.bundle`.`price_type` as `product.bundle.priceType`, `product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`, `product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`, `product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`, `product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`, `product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`, `product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`, `product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`, `product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`, `product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`, `product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`, `product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`, `product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`, `product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`, `product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`, `product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`, `product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`, `product.bundle`.`created_at` as `product.bundle.createdAt`, `product.bundle`.`updated_at` as `product.bundle.updatedAt`, `product.cover`.`id` as `product.cover.id`, `product.cover`.`version_id` as `product.cover.versionId`, `product.cover`.`product_id` as `product.cover.productId`, `product.cover`.`product_version_id` as `product.cover.productVersionId`, `product.cover`.`media_id` as `product.cover.mediaId`, `product.cover`.`position` as `product.cover.position`, `product.cover.media`.`id` as `product.cover.media.id`, `product.cover.media`.`user_id` as `product.cover.media.userId`, `product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`, `product.cover.media`.`mime_type` as `product.cover.media.mimeType`, `product.cover.media`.`file_extension` as `product.cover.media.fileExtension`, `product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`, `product.cover.media`.`file_name` as `product.cover.media.fileName`, `product.cover.media`.`file_size` as `product.cover.media.fileSize`, `product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`, `product.cover.media`.`meta_data` as `product.cover.media.metaData`, `product.cover.media`.`private` as `product.cover.media.private`, `product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`, `product.cover.media`.`created_at` as `product.cover.media.createdAt`, `product.cover.media`.`updated_at` as `product.cover.media.updatedAt`, `product.cover.media.translation.title`, COALESCE(`product.cover.media.translation.title`,`product.cover.media.translation.title`) as `product.cover.media.title`, `product.cover.media.translation.alt`, COALESCE(`product.cover.media.translation.alt`,`product.cover.media.translation.alt`) as `product.cover.media.alt`, `product.cover.media.translation.customFields`, COALESCE(`product.cover.media.translation.customFields`,`product.cover.media.translation.customFields`) as `product.cover.media.customFields`, `product.cover.media.translation.createdAt`, `product.cover.media.translation.updatedAt`, `product.cover.media.translation.mediaId`, `product.cover.media.translation.languageId`, `product.cover`.`custom_fields` as `product.cover.customFields`, `product.cover`.`created_at` as `product.cover.createdAt`, `product.cover`.`updated_at` as `product.cover.updatedAt`, `product.translation.metaDescription`, `product.parent.translation.metaDescription`, COALESCE(`product.translation.metaDescription`,`product.parent.translation.metaDescription`,`product.translation.metaDescription`) as `product.metaDescription`, `product.translation.name`, `product.parent.translation.name`, COALESCE(`product.translation.name`,`product.parent.translation.name`,`product.translation.name`) as `product.name`, `product.translation.keywords`, `product.parent.translation.keywords`, COALESCE(`product.translation.keywords`,`product.parent.translation.keywords`,`product.translation.keywords`) as `product.keywords`, `product.translation.description`, `product.parent.translation.description`, COALESCE(`product.translation.description`,`product.parent.translation.description`,`product.translation.description`) as `product.description`, `product.translation.metaTitle`, `product.parent.translation.metaTitle`, COALESCE(`product.translation.metaTitle`,`product.parent.translation.metaTitle`,`product.translation.metaTitle`) as `product.metaTitle`, `product.translation.packUnit`, `product.parent.translation.packUnit`, COALESCE(`product.translation.packUnit`,`product.parent.translation.packUnit`,`product.translation.packUnit`) as `product.packUnit`, `product.translation.packUnitPlural`, `product.parent.translation.packUnitPlural`, COALESCE(`product.translation.packUnitPlural`,`product.parent.translation.packUnitPlural`,`product.translation.packUnitPlural`) as `product.packUnitPlural`, `product.translation.customSearchKeywords`, `product.parent.translation.customSearchKeywords`, COALESCE(`product.translation.customSearchKeywords`,`product.parent.translation.customSearchKeywords`,`product.translation.customSearchKeywords`) as `product.customSearchKeywords`, `product.translation.slotConfig`, `product.parent.translation.slotConfig`, COALESCE(`product.translation.slotConfig`,`product.parent.translation.slotConfig`,`product.translation.slotConfig`) as `product.slotConfig`, `product.translation.customFields`, `product.parent.translation.customFields`, COALESCE(`product.translation.customFields`,`product.parent.translation.customFields`,`product.translation.customFields`) as `product.customFields`, `product.translation.createdAt`, `product.parent.translation.createdAt`, `product.translation.updatedAt`, `product.parent.translation.updatedAt`, `product.translation.productId`, `product.parent.translation.productId`, `product.translation.languageId`, `product.parent.translation.languageId`, `product.translation.productVersionId`, `product.parent.translation.productVersionId` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN (SELECT `product.translation`.product_id, `product.translation`.product_version_id, `product.translation`.meta_description as `product.translation.metaDescription`, `product.translation`.name as `product.translation.name`, `product.translation`.keywords as `product.translation.keywords`, `product.translation`.description as `product.translation.description`, `product.translation`.meta_title as `product.translation.metaTitle`, `product.translation`.pack_unit as `product.translation.packUnit`, `product.translation`.pack_unit_plural as `product.translation.packUnitPlural`, `product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`, `product.translation`.slot_config as `product.translation.slotConfig`, `product.translation`.custom_fields as `product.translation.customFields`, `product.translation`.created_at as `product.translation.createdAt`, `product.translation`.updated_at as `product.translation.updatedAt`, `product.translation`.product_id as `product.translation.productId`, `product.translation`.language_id as `product.translation.languageId`, `product.translation`.product_version_id as `product.translation.productVersionId` FROM `product_translation` `product.translation` WHERE `product.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id` AND `product.product_translation`.product_version_id = `product`.version_id LEFT JOIN (SELECT `product.parent.translation`.product_id, `product.parent.translation`.product_version_id, `product.parent.translation`.meta_description as `product.parent.translation.metaDescription`, `product.parent.translation`.name as `product.parent.translation.name`, `product.parent.translation`.keywords as `product.parent.translation.keywords`, `product.parent.translation`.description as `product.parent.translation.description`, `product.parent.translation`.meta_title as `product.parent.translation.metaTitle`, `product.parent.translation`.pack_unit as `product.parent.translation.packUnit`, `product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`, `product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`, `product.parent.translation`.slot_config as `product.parent.translation.slotConfig`, `product.parent.translation`.custom_fields as `product.parent.translation.customFields`, `product.parent.translation`.created_at as `product.parent.translation.createdAt`, `product.parent.translation`.updated_at as `product.parent.translation.updatedAt`, `product.parent.translation`.product_id as `product.parent.translation.productId`, `product.parent.translation`.language_id as `product.parent.translation.languageId`, `product.parent.translation`.product_version_id as `product.parent.translation.productVersionId` FROM `product_translation` `product.parent.translation` WHERE `product.parent.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id` AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id` LEFT JOIN `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_id` LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id` AND `product`.`version_id` = `product.cover`.`version_id` LEFT JOIN `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`id` LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id` LEFT JOIN (SELECT `product.cover.media.translation`.media_id, `product.cover.media.translation`.title as `product.cover.media.translation.title`, `product.cover.media.translation`.alt as `product.cover.media.translation.alt`, `product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`, `product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`, `product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`, `product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`, `product.cover.media.translation`.language_id as `product.cover.media.translation.languageId` FROM `media_translation` `product.cover.media.translation` WHERE `product.cover.media.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id` WHERE (`product`.`version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425) AND (`product`.`id` IN (0x03F4EF144EC44C3E822790C652F7C3F6));
array:51 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 316)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetch (line 148)"
4 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 93)"
5 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::read (line 257)"
6 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::read (line 286)"
7 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::_search (line 106)"
8 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::search (line 51)"
9 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepositoryForwardCompatibilityDecorator::search (line 103)"
10 => "Bodymed\Webshop\StoreFront\Subscriber\ProductExtensionSubscriber::addParentCover (line 230)"
11 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
12 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
13 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
14 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
15 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
16 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 33)"
17 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
18 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 208)"
19 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::read (line 133)"
20 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 49)"
21 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariantsOfProduct (line 30)"
22 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariants (line 224)"
23 => "Bodymed\Webshop\Core\Content\Product\Cms\ProductSliderCmsElementResolver::enrich (line 99)"
24 => "Shopware\Core\Content\Cms\DataResolver\CmsSlotsDataResolver::resolve (line 104)"
25 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::loadSlotData (line 94)"
26 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::load (line 102)"
27 => "Shopware\Core\Content\Category\SalesChannel\CategoryRoute::load (line 103)"
28 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 350)"
29 => "Shopware\Core\System\SystemConfig\SystemConfigService::trace (line 44)"
30 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 120)"
31 => "Shopware\Core\Framework\Adapter\Translation\Translator::trace (line 45)"
32 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 46)"
33 => "Shopware\Core\Framework\Adapter\Cache\CacheTagCollection::trace (line 46)"
34 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::trace (line 41)"
35 => "Shopware\Storefront\Framework\Cache\CacheTracer::Shopware\Storefront\Framework\Cache\{closure} (line 59)"
36 => "Shopware\Storefront\Theme\ThemeConfigValueAccessor::trace (line 42)"
37 => "Shopware\Storefront\Framework\Cache\CacheTracer::trace (line 104)"
38 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 72)"
39 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
40 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 109)"
41 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 59)"
42 => "Shopware\Core\Profiling\Profiler::trace (line 112)"
43 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::load (line 66)"
44 => "Shopware\Storefront\Page\Navigation\NavigationPageLoader::load (line 48)"
45 => "Shopware\Storefront\Controller\NavigationController::home (line 163)"
46 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
47 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
48 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
49 => "Shopware\Core\HttpKernel::doHandle (line 81)"
50 => "Shopware\Core\HttpKernel::handle (line 75)"
]
|
87 |
0.63 ms |
SELECT * FROM sales_channel_api_context WHERE (sales_channel_id = :salesChannelId) AND (token = :token) LIMIT 1
SELECT * FROM sales_channel_api_context WHERE (sales_channel_id = 0x620A2217F7474E619CB00AD39E804CCA) AND (token = 'FwsxT47353Zxmr7lp0KSfYcVNkg5VpYR') LIMIT 1;
array:58 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 165)"
3 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextPersister::load (line 69)"
4 => "Bodymed\Webshop\Core\Subscriber\ProductSubscriber::addCustomerProductFeatureExtension (line 230)"
5 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
6 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
7 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
8 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
9 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
10 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 33)"
11 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
12 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 269)"
13 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::read (line 286)"
14 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::_search (line 106)"
15 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::search (line 51)"
16 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepositoryForwardCompatibilityDecorator::search (line 103)"
17 => "Bodymed\Webshop\StoreFront\Subscriber\ProductExtensionSubscriber::addParentCover (line 230)"
18 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
19 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
20 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
21 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
22 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
23 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 33)"
24 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
25 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 208)"
26 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::read (line 133)"
27 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 49)"
28 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariantsOfProduct (line 30)"
29 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariants (line 224)"
30 => "Bodymed\Webshop\Core\Content\Product\Cms\ProductSliderCmsElementResolver::enrich (line 99)"
31 => "Shopware\Core\Content\Cms\DataResolver\CmsSlotsDataResolver::resolve (line 104)"
32 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::loadSlotData (line 94)"
33 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::load (line 102)"
34 => "Shopware\Core\Content\Category\SalesChannel\CategoryRoute::load (line 103)"
35 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 350)"
36 => "Shopware\Core\System\SystemConfig\SystemConfigService::trace (line 44)"
37 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 120)"
38 => "Shopware\Core\Framework\Adapter\Translation\Translator::trace (line 45)"
39 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 46)"
40 => "Shopware\Core\Framework\Adapter\Cache\CacheTagCollection::trace (line 46)"
41 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::trace (line 41)"
42 => "Shopware\Storefront\Framework\Cache\CacheTracer::Shopware\Storefront\Framework\Cache\{closure} (line 59)"
43 => "Shopware\Storefront\Theme\ThemeConfigValueAccessor::trace (line 42)"
44 => "Shopware\Storefront\Framework\Cache\CacheTracer::trace (line 104)"
45 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 72)"
46 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
47 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 109)"
48 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 59)"
49 => "Shopware\Core\Profiling\Profiler::trace (line 112)"
50 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::load (line 66)"
51 => "Shopware\Storefront\Page\Navigation\NavigationPageLoader::load (line 48)"
52 => "Shopware\Storefront\Controller\NavigationController::home (line 163)"
53 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
54 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
55 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
56 => "Shopware\Core\HttpKernel::doHandle (line 81)"
57 => "Shopware\Core\HttpKernel::handle (line 75)"
]
|
88 |
24.66 ms |
SELECT `product`.`id` as `product.id`, `product`.`version_id` as `product.versionId`, `product`.`parent_id` as `product.parentId`, `product`.`parent_version_id` as `product.parentVersionId`, COALESCE(`product`.`product_manufacturer_id`, `product.parent`.`product_manufacturer_id`) as `product.manufacturerId`, COALESCE(`product`.`product_manufacturer_version_id`, `product.parent`.`product_manufacturer_version_id`) as `product.productManufacturerVersionId`, COALESCE(`product`.`unit_id`, `product.parent`.`unit_id`) as `product.unitId`, COALESCE(`product`.`tax_id`, `product.parent`.`tax_id`) as `product.taxId`, COALESCE(`product`.`product_media_id`, `product.parent`.`product_media_id`) as `product.coverId`, COALESCE(`product`.`product_media_version_id`, `product.parent`.`product_media_version_id`) as `product.productMediaVersionId`, COALESCE(`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`) as `product.deliveryTimeId`, COALESCE(`product`.`product_feature_set_id`, `product.parent`.`product_feature_set_id`) as `product.featureSetId`, COALESCE(`product`.`canonical_product_id`, `product.parent`.`canonical_product_id`) as `product.canonicalProductId`, COALESCE(`product`.`cms_page_id`, `product.parent`.`cms_page_id`) as `product.cmsPageId`, COALESCE(`product`.`cms_page_version_id`, `product.parent`.`cms_page_version_id`) as `product.cmsPageVersionId`, `product.parent`.`price` as `product.price.inherited`, COALESCE(`product`.`price`, `product.parent`.`price`) as `product.price`, `product`.`product_number` as `product.productNumber`, `product`.`stock` as `product.stock`, COALESCE(`product`.`restock_time`, `product.parent`.`restock_time`) as `product.restockTime`, `product`.`auto_increment` as `product.autoIncrement`, COALESCE(`product`.`active`, `product.parent`.`active`) as `product.active`, `product`.`available_stock` as `product.availableStock`, `product`.`available` as `product.available`, COALESCE(`product`.`is_closeout`, `product.parent`.`is_closeout`) as `product.isCloseout`, `product`.`display_group` as `product.displayGroup`, `product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`, COALESCE(`product`.`configurator_group_config`, `product.parent`.`configurator_group_config`) as `product.configuratorGroupConfig`, COALESCE(`product`.`main_variant_id`, `product.parent`.`main_variant_id`) as `product.mainVariantId`, COALESCE(`product`.`display_parent`, `product.parent`.`display_parent`) as `product.displayParent`, `product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`, COALESCE(`product`.`variant_listing_config`, `product.parent`.`variant_listing_config`) as `product.variantListingConfig`, `product`.`variant_restrictions` as `product.variantRestrictions`, COALESCE(`product`.`manufacturer_number`, `product.parent`.`manufacturer_number`) as `product.manufacturerNumber`, COALESCE(`product`.`ean`, `product.parent`.`ean`) as `product.ean`, COALESCE(`product`.`purchase_steps`, `product.parent`.`purchase_steps`) as `product.purchaseSteps`, COALESCE(`product`.`max_purchase`, `product.parent`.`max_purchase`) as `product.maxPurchase`, COALESCE(`product`.`min_purchase`, `product.parent`.`min_purchase`) as `product.minPurchase`, COALESCE(`product`.`purchase_unit`, `product.parent`.`purchase_unit`) as `product.purchaseUnit`, COALESCE(`product`.`reference_unit`, `product.parent`.`reference_unit`) as `product.referenceUnit`, COALESCE(`product`.`shipping_free`, `product.parent`.`shipping_free`) as `product.shippingFree`, `product.parent`.`purchase_prices` as `product.purchasePrices.inherited`, COALESCE(`product`.`purchase_prices`, `product.parent`.`purchase_prices`) as `product.purchasePrices`, COALESCE(`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`) as `product.markAsTopseller`, COALESCE(`product`.`weight`, `product.parent`.`weight`) as `product.weight`, COALESCE(`product`.`width`, `product.parent`.`width`) as `product.width`, COALESCE(`product`.`height`, `product.parent`.`height`) as `product.height`, COALESCE(`product`.`length`, `product.parent`.`length`) as `product.length`, COALESCE(`product`.`release_date`, `product.parent`.`release_date`) as `product.releaseDate`, COALESCE(`product`.`rating_average`, `product.parent`.`rating_average`) as `product.ratingAverage`, `product.parent`.`category_tree` as `product.categoryTree.inherited`, COALESCE(`product`.`category_tree`, `product.parent`.`category_tree`) as `product.categoryTree`, `product.parent`.`property_ids` as `product.propertyIds.inherited`, COALESCE(`product`.`property_ids`, `product.parent`.`property_ids`) as `product.propertyIds`, `product.parent`.`option_ids` as `product.optionIds.inherited`, COALESCE(`product`.`option_ids`, `product.parent`.`option_ids`) as `product.optionIds`, `product.parent`.`stream_ids` as `product.streamIds.inherited`, COALESCE(`product`.`stream_ids`, `product.parent`.`stream_ids`) as `product.streamIds`, `product.parent`.`tag_ids` as `product.tagIds.inherited`, COALESCE(`product`.`tag_ids`, `product.parent`.`tag_ids`) as `product.tagIds`, `product.parent`.`category_ids` as `product.categoryIds.inherited`, COALESCE(`product`.`category_ids`, `product.parent`.`category_ids`) as `product.categoryIds`, `product`.`child_count` as `product.childCount`, COALESCE(`product`.`custom_field_set_selection_active`, `product.parent`.`custom_field_set_selection_active`) as `product.customFieldSetSelectionActive`, `product`.`sales` as `product.sales`, `product`.`states` as `product.states`, `product.tax`.`id` as `product.tax.id`, `product.tax`.`tax_rate` as `product.tax.taxRate`, `product.tax`.`name` as `product.tax.name`, `product.tax`.`position` as `product.tax.position`, `product.tax`.`custom_fields` as `product.tax.customFields`, `product.tax`.`created_at` as `product.tax.createdAt`, `product.tax`.`updated_at` as `product.tax.updatedAt`, `product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`, COALESCE(`product`.`cheapest_price`, `product.parent`.`cheapest_price`) as `product.cheapestPrice`, `product`.`created_at` as `product.createdAt`, `product`.`updated_at` as `product.updatedAt`, `product.bundle`.`id` as `product.bundle.id`, `product.bundle`.`product_id` as `product.bundle.productId`, `product.bundle`.`product_version_id` as `product.bundle.productVersionId`, `product.bundle`.`name` as `product.bundle.name`, `product.bundle`.`price_type` as `product.bundle.priceType`, `product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`, `product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`, `product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`, `product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`, `product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`, `product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`, `product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`, `product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`, `product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`, `product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`, `product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`, `product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`, `product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`, `product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`, `product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`, `product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`, `product.bundle`.`created_at` as `product.bundle.createdAt`, `product.bundle`.`updated_at` as `product.bundle.updatedAt`, `product.cover`.`id` as `product.cover.id`, `product.cover`.`version_id` as `product.cover.versionId`, `product.cover`.`product_id` as `product.cover.productId`, `product.cover`.`product_version_id` as `product.cover.productVersionId`, `product.cover`.`media_id` as `product.cover.mediaId`, `product.cover`.`position` as `product.cover.position`, `product.cover.media`.`id` as `product.cover.media.id`, `product.cover.media`.`user_id` as `product.cover.media.userId`, `product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`, `product.cover.media`.`mime_type` as `product.cover.media.mimeType`, `product.cover.media`.`file_extension` as `product.cover.media.fileExtension`, `product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`, `product.cover.media`.`file_name` as `product.cover.media.fileName`, `product.cover.media`.`file_size` as `product.cover.media.fileSize`, `product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`, `product.cover.media`.`meta_data` as `product.cover.media.metaData`, `product.cover.media`.`private` as `product.cover.media.private`, `product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`, `product.cover.media`.`created_at` as `product.cover.media.createdAt`, `product.cover.media`.`updated_at` as `product.cover.media.updatedAt`, `product.cover.media.translation.title`, COALESCE(`product.cover.media.translation.title`,`product.cover.media.translation.title`) as `product.cover.media.title`, `product.cover.media.translation.alt`, COALESCE(`product.cover.media.translation.alt`,`product.cover.media.translation.alt`) as `product.cover.media.alt`, `product.cover.media.translation.customFields`, COALESCE(`product.cover.media.translation.customFields`,`product.cover.media.translation.customFields`) as `product.cover.media.customFields`, `product.cover.media.translation.createdAt`, `product.cover.media.translation.updatedAt`, `product.cover.media.translation.mediaId`, `product.cover.media.translation.languageId`, `product.cover`.`custom_fields` as `product.cover.customFields`, `product.cover`.`created_at` as `product.cover.createdAt`, `product.cover`.`updated_at` as `product.cover.updatedAt`, `product.translation.metaDescription`, `product.parent.translation.metaDescription`, COALESCE(`product.translation.metaDescription`,`product.parent.translation.metaDescription`,`product.translation.metaDescription`) as `product.metaDescription`, `product.translation.name`, `product.parent.translation.name`, COALESCE(`product.translation.name`,`product.parent.translation.name`,`product.translation.name`) as `product.name`, `product.translation.keywords`, `product.parent.translation.keywords`, COALESCE(`product.translation.keywords`,`product.parent.translation.keywords`,`product.translation.keywords`) as `product.keywords`, `product.translation.description`, `product.parent.translation.description`, COALESCE(`product.translation.description`,`product.parent.translation.description`,`product.translation.description`) as `product.description`, `product.translation.metaTitle`, `product.parent.translation.metaTitle`, COALESCE(`product.translation.metaTitle`,`product.parent.translation.metaTitle`,`product.translation.metaTitle`) as `product.metaTitle`, `product.translation.packUnit`, `product.parent.translation.packUnit`, COALESCE(`product.translation.packUnit`,`product.parent.translation.packUnit`,`product.translation.packUnit`) as `product.packUnit`, `product.translation.packUnitPlural`, `product.parent.translation.packUnitPlural`, COALESCE(`product.translation.packUnitPlural`,`product.parent.translation.packUnitPlural`,`product.translation.packUnitPlural`) as `product.packUnitPlural`, `product.translation.customSearchKeywords`, `product.parent.translation.customSearchKeywords`, COALESCE(`product.translation.customSearchKeywords`,`product.parent.translation.customSearchKeywords`,`product.translation.customSearchKeywords`) as `product.customSearchKeywords`, `product.translation.slotConfig`, `product.parent.translation.slotConfig`, COALESCE(`product.translation.slotConfig`,`product.parent.translation.slotConfig`,`product.translation.slotConfig`) as `product.slotConfig`, `product.translation.customFields`, `product.parent.translation.customFields`, COALESCE(`product.translation.customFields`,`product.parent.translation.customFields`,`product.translation.customFields`) as `product.customFields`, `product.translation.createdAt`, `product.parent.translation.createdAt`, `product.translation.updatedAt`, `product.parent.translation.updatedAt`, `product.translation.productId`, `product.parent.translation.productId`, `product.translation.languageId`, `product.parent.translation.languageId`, `product.translation.productVersionId`, `product.parent.translation.productVersionId` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN (SELECT `product.translation`.product_id, `product.translation`.product_version_id, `product.translation`.meta_description as `product.translation.metaDescription`, `product.translation`.name as `product.translation.name`, `product.translation`.keywords as `product.translation.keywords`, `product.translation`.description as `product.translation.description`, `product.translation`.meta_title as `product.translation.metaTitle`, `product.translation`.pack_unit as `product.translation.packUnit`, `product.translation`.pack_unit_plural as `product.translation.packUnitPlural`, `product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`, `product.translation`.slot_config as `product.translation.slotConfig`, `product.translation`.custom_fields as `product.translation.customFields`, `product.translation`.created_at as `product.translation.createdAt`, `product.translation`.updated_at as `product.translation.updatedAt`, `product.translation`.product_id as `product.translation.productId`, `product.translation`.language_id as `product.translation.languageId`, `product.translation`.product_version_id as `product.translation.productVersionId` FROM `product_translation` `product.translation` WHERE `product.translation`.language_id = :languageId) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id` AND `product.product_translation`.product_version_id = `product`.version_id LEFT JOIN (SELECT `product.parent.translation`.product_id, `product.parent.translation`.product_version_id, `product.parent.translation`.meta_description as `product.parent.translation.metaDescription`, `product.parent.translation`.name as `product.parent.translation.name`, `product.parent.translation`.keywords as `product.parent.translation.keywords`, `product.parent.translation`.description as `product.parent.translation.description`, `product.parent.translation`.meta_title as `product.parent.translation.metaTitle`, `product.parent.translation`.pack_unit as `product.parent.translation.packUnit`, `product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`, `product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`, `product.parent.translation`.slot_config as `product.parent.translation.slotConfig`, `product.parent.translation`.custom_fields as `product.parent.translation.customFields`, `product.parent.translation`.created_at as `product.parent.translation.createdAt`, `product.parent.translation`.updated_at as `product.parent.translation.updatedAt`, `product.parent.translation`.product_id as `product.parent.translation.productId`, `product.parent.translation`.language_id as `product.parent.translation.languageId`, `product.parent.translation`.product_version_id as `product.parent.translation.productVersionId` FROM `product_translation` `product.parent.translation` WHERE `product.parent.translation`.language_id = :languageId) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id` AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id` LEFT JOIN `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_id` LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id` AND `product`.`version_id` = `product.cover`.`version_id` LEFT JOIN `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`id` LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id` LEFT JOIN (SELECT `product.cover.media.translation`.media_id, `product.cover.media.translation`.title as `product.cover.media.translation.title`, `product.cover.media.translation`.alt as `product.cover.media.translation.alt`, `product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`, `product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`, `product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`, `product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`, `product.cover.media.translation`.language_id as `product.cover.media.translation.languageId` FROM `media_translation` `product.cover.media.translation` WHERE `product.cover.media.translation`.language_id = :languageId) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id` WHERE (`product`.`version_id` = :version) AND (`product`.`id` IN (:ids))
SELECT
`product`.`id` as `product.id`,
`product`.`version_id` as `product.versionId`,
`product`.`parent_id` as `product.parentId`,
`product`.`parent_version_id` as `product.parentVersionId`,
COALESCE(
`product`.`product_manufacturer_id`,
`product.parent`.`product_manufacturer_id`
) as `product.manufacturerId`,
COALESCE(
`product`.`product_manufacturer_version_id`,
`product.parent`.`product_manufacturer_version_id`
) as `product.productManufacturerVersionId`,
COALESCE(
`product`.`unit_id`, `product.parent`.`unit_id`
) as `product.unitId`,
COALESCE(
`product`.`tax_id`, `product.parent`.`tax_id`
) as `product.taxId`,
COALESCE(
`product`.`product_media_id`, `product.parent`.`product_media_id`
) as `product.coverId`,
COALESCE(
`product`.`product_media_version_id`,
`product.parent`.`product_media_version_id`
) as `product.productMediaVersionId`,
COALESCE(
`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`
) as `product.deliveryTimeId`,
COALESCE(
`product`.`product_feature_set_id`,
`product.parent`.`product_feature_set_id`
) as `product.featureSetId`,
COALESCE(
`product`.`canonical_product_id`,
`product.parent`.`canonical_product_id`
) as `product.canonicalProductId`,
COALESCE(
`product`.`cms_page_id`, `product.parent`.`cms_page_id`
) as `product.cmsPageId`,
COALESCE(
`product`.`cms_page_version_id`,
`product.parent`.`cms_page_version_id`
) as `product.cmsPageVersionId`,
`product.parent`.`price` as `product.price.inherited`,
COALESCE(
`product`.`price`, `product.parent`.`price`
) as `product.price`,
`product`.`product_number` as `product.productNumber`,
`product`.`stock` as `product.stock`,
COALESCE(
`product`.`restock_time`, `product.parent`.`restock_time`
) as `product.restockTime`,
`product`.`auto_increment` as `product.autoIncrement`,
COALESCE(
`product`.`active`, `product.parent`.`active`
) as `product.active`,
`product`.`available_stock` as `product.availableStock`,
`product`.`available` as `product.available`,
COALESCE(
`product`.`is_closeout`, `product.parent`.`is_closeout`
) as `product.isCloseout`,
`product`.`display_group` as `product.displayGroup`,
`product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`,
COALESCE(
`product`.`configurator_group_config`,
`product.parent`.`configurator_group_config`
) as `product.configuratorGroupConfig`,
COALESCE(
`product`.`main_variant_id`, `product.parent`.`main_variant_id`
) as `product.mainVariantId`,
COALESCE(
`product`.`display_parent`, `product.parent`.`display_parent`
) as `product.displayParent`,
`product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`,
COALESCE(
`product`.`variant_listing_config`,
`product.parent`.`variant_listing_config`
) as `product.variantListingConfig`,
`product`.`variant_restrictions` as `product.variantRestrictions`,
COALESCE(
`product`.`manufacturer_number`,
`product.parent`.`manufacturer_number`
) as `product.manufacturerNumber`,
COALESCE(
`product`.`ean`, `product.parent`.`ean`
) as `product.ean`,
COALESCE(
`product`.`purchase_steps`, `product.parent`.`purchase_steps`
) as `product.purchaseSteps`,
COALESCE(
`product`.`max_purchase`, `product.parent`.`max_purchase`
) as `product.maxPurchase`,
COALESCE(
`product`.`min_purchase`, `product.parent`.`min_purchase`
) as `product.minPurchase`,
COALESCE(
`product`.`purchase_unit`, `product.parent`.`purchase_unit`
) as `product.purchaseUnit`,
COALESCE(
`product`.`reference_unit`, `product.parent`.`reference_unit`
) as `product.referenceUnit`,
COALESCE(
`product`.`shipping_free`, `product.parent`.`shipping_free`
) as `product.shippingFree`,
`product.parent`.`purchase_prices` as `product.purchasePrices.inherited`,
COALESCE(
`product`.`purchase_prices`, `product.parent`.`purchase_prices`
) as `product.purchasePrices`,
COALESCE(
`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`
) as `product.markAsTopseller`,
COALESCE(
`product`.`weight`, `product.parent`.`weight`
) as `product.weight`,
COALESCE(
`product`.`width`, `product.parent`.`width`
) as `product.width`,
COALESCE(
`product`.`height`, `product.parent`.`height`
) as `product.height`,
COALESCE(
`product`.`length`, `product.parent`.`length`
) as `product.length`,
COALESCE(
`product`.`release_date`, `product.parent`.`release_date`
) as `product.releaseDate`,
COALESCE(
`product`.`rating_average`, `product.parent`.`rating_average`
) as `product.ratingAverage`,
`product.parent`.`category_tree` as `product.categoryTree.inherited`,
COALESCE(
`product`.`category_tree`, `product.parent`.`category_tree`
) as `product.categoryTree`,
`product.parent`.`property_ids` as `product.propertyIds.inherited`,
COALESCE(
`product`.`property_ids`, `product.parent`.`property_ids`
) as `product.propertyIds`,
`product.parent`.`option_ids` as `product.optionIds.inherited`,
COALESCE(
`product`.`option_ids`, `product.parent`.`option_ids`
) as `product.optionIds`,
`product.parent`.`stream_ids` as `product.streamIds.inherited`,
COALESCE(
`product`.`stream_ids`, `product.parent`.`stream_ids`
) as `product.streamIds`,
`product.parent`.`tag_ids` as `product.tagIds.inherited`,
COALESCE(
`product`.`tag_ids`, `product.parent`.`tag_ids`
) as `product.tagIds`,
`product.parent`.`category_ids` as `product.categoryIds.inherited`,
COALESCE(
`product`.`category_ids`, `product.parent`.`category_ids`
) as `product.categoryIds`,
`product`.`child_count` as `product.childCount`,
COALESCE(
`product`.`custom_field_set_selection_active`,
`product.parent`.`custom_field_set_selection_active`
) as `product.customFieldSetSelectionActive`,
`product`.`sales` as `product.sales`,
`product`.`states` as `product.states`,
`product.tax`.`id` as `product.tax.id`,
`product.tax`.`tax_rate` as `product.tax.taxRate`,
`product.tax`.`name` as `product.tax.name`,
`product.tax`.`position` as `product.tax.position`,
`product.tax`.`custom_fields` as `product.tax.customFields`,
`product.tax`.`created_at` as `product.tax.createdAt`,
`product.tax`.`updated_at` as `product.tax.updatedAt`,
`product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`,
COALESCE(
`product`.`cheapest_price`, `product.parent`.`cheapest_price`
) as `product.cheapestPrice`,
`product`.`created_at` as `product.createdAt`,
`product`.`updated_at` as `product.updatedAt`,
`product.bundle`.`id` as `product.bundle.id`,
`product.bundle`.`product_id` as `product.bundle.productId`,
`product.bundle`.`product_version_id` as `product.bundle.productVersionId`,
`product.bundle`.`name` as `product.bundle.name`,
`product.bundle`.`price_type` as `product.bundle.priceType`,
`product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`,
`product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`,
`product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`,
`product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`,
`product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`,
`product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`,
`product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`,
`product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`,
`product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`,
`product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`,
`product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`,
`product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`,
`product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`,
`product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`,
`product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`,
`product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`,
`product.bundle`.`created_at` as `product.bundle.createdAt`,
`product.bundle`.`updated_at` as `product.bundle.updatedAt`,
`product.cover`.`id` as `product.cover.id`,
`product.cover`.`version_id` as `product.cover.versionId`,
`product.cover`.`product_id` as `product.cover.productId`,
`product.cover`.`product_version_id` as `product.cover.productVersionId`,
`product.cover`.`media_id` as `product.cover.mediaId`,
`product.cover`.`position` as `product.cover.position`,
`product.cover.media`.`id` as `product.cover.media.id`,
`product.cover.media`.`user_id` as `product.cover.media.userId`,
`product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`,
`product.cover.media`.`mime_type` as `product.cover.media.mimeType`,
`product.cover.media`.`file_extension` as `product.cover.media.fileExtension`,
`product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`,
`product.cover.media`.`file_name` as `product.cover.media.fileName`,
`product.cover.media`.`file_size` as `product.cover.media.fileSize`,
`product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`,
`product.cover.media`.`meta_data` as `product.cover.media.metaData`,
`product.cover.media`.`private` as `product.cover.media.private`,
`product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`,
`product.cover.media`.`created_at` as `product.cover.media.createdAt`,
`product.cover.media`.`updated_at` as `product.cover.media.updatedAt`,
`product.cover.media.translation.title`,
COALESCE(
`product.cover.media.translation.title`,
`product.cover.media.translation.title`
) as `product.cover.media.title`,
`product.cover.media.translation.alt`,
COALESCE(
`product.cover.media.translation.alt`,
`product.cover.media.translation.alt`
) as `product.cover.media.alt`,
`product.cover.media.translation.customFields`,
COALESCE(
`product.cover.media.translation.customFields`,
`product.cover.media.translation.customFields`
) as `product.cover.media.customFields`,
`product.cover.media.translation.createdAt`,
`product.cover.media.translation.updatedAt`,
`product.cover.media.translation.mediaId`,
`product.cover.media.translation.languageId`,
`product.cover`.`custom_fields` as `product.cover.customFields`,
`product.cover`.`created_at` as `product.cover.createdAt`,
`product.cover`.`updated_at` as `product.cover.updatedAt`,
`product.translation.metaDescription`,
`product.parent.translation.metaDescription`,
COALESCE(
`product.translation.metaDescription`,
`product.parent.translation.metaDescription`,
`product.translation.metaDescription`
) as `product.metaDescription`,
`product.translation.name`,
`product.parent.translation.name`,
COALESCE(
`product.translation.name`, `product.parent.translation.name`,
`product.translation.name`
) as `product.name`,
`product.translation.keywords`,
`product.parent.translation.keywords`,
COALESCE(
`product.translation.keywords`,
`product.parent.translation.keywords`,
`product.translation.keywords`
) as `product.keywords`,
`product.translation.description`,
`product.parent.translation.description`,
COALESCE(
`product.translation.description`,
`product.parent.translation.description`,
`product.translation.description`
) as `product.description`,
`product.translation.metaTitle`,
`product.parent.translation.metaTitle`,
COALESCE(
`product.translation.metaTitle`,
`product.parent.translation.metaTitle`,
`product.translation.metaTitle`
) as `product.metaTitle`,
`product.translation.packUnit`,
`product.parent.translation.packUnit`,
COALESCE(
`product.translation.packUnit`,
`product.parent.translation.packUnit`,
`product.translation.packUnit`
) as `product.packUnit`,
`product.translation.packUnitPlural`,
`product.parent.translation.packUnitPlural`,
COALESCE(
`product.translation.packUnitPlural`,
`product.parent.translation.packUnitPlural`,
`product.translation.packUnitPlural`
) as `product.packUnitPlural`,
`product.translation.customSearchKeywords`,
`product.parent.translation.customSearchKeywords`,
COALESCE(
`product.translation.customSearchKeywords`,
`product.parent.translation.customSearchKeywords`,
`product.translation.customSearchKeywords`
) as `product.customSearchKeywords`,
`product.translation.slotConfig`,
`product.parent.translation.slotConfig`,
COALESCE(
`product.translation.slotConfig`,
`product.parent.translation.slotConfig`,
`product.translation.slotConfig`
) as `product.slotConfig`,
`product.translation.customFields`,
`product.parent.translation.customFields`,
COALESCE(
`product.translation.customFields`,
`product.parent.translation.customFields`,
`product.translation.customFields`
) as `product.customFields`,
`product.translation.createdAt`,
`product.parent.translation.createdAt`,
`product.translation.updatedAt`,
`product.parent.translation.updatedAt`,
`product.translation.productId`,
`product.parent.translation.productId`,
`product.translation.languageId`,
`product.parent.translation.languageId`,
`product.translation.productVersionId`,
`product.parent.translation.productVersionId`
FROM
`product`
LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id`
AND `product`.`version_id` = `product.parent`.`version_id`
LEFT JOIN (
SELECT
`product.translation`.product_id,
`product.translation`.product_version_id,
`product.translation`.meta_description as `product.translation.metaDescription`,
`product.translation`.name as `product.translation.name`,
`product.translation`.keywords as `product.translation.keywords`,
`product.translation`.description as `product.translation.description`,
`product.translation`.meta_title as `product.translation.metaTitle`,
`product.translation`.pack_unit as `product.translation.packUnit`,
`product.translation`.pack_unit_plural as `product.translation.packUnitPlural`,
`product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`,
`product.translation`.slot_config as `product.translation.slotConfig`,
`product.translation`.custom_fields as `product.translation.customFields`,
`product.translation`.created_at as `product.translation.createdAt`,
`product.translation`.updated_at as `product.translation.updatedAt`,
`product.translation`.product_id as `product.translation.productId`,
`product.translation`.language_id as `product.translation.languageId`,
`product.translation`.product_version_id as `product.translation.productVersionId`
FROM
`product_translation` `product.translation`
WHERE
`product.translation`.language_id = : languageId
) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id`
AND `product.product_translation`.product_version_id = `product`.version_id
LEFT JOIN (
SELECT
`product.parent.translation`.product_id,
`product.parent.translation`.product_version_id,
`product.parent.translation`.meta_description as `product.parent.translation.metaDescription`,
`product.parent.translation`.name as `product.parent.translation.name`,
`product.parent.translation`.keywords as `product.parent.translation.keywords`,
`product.parent.translation`.description as `product.parent.translation.description`,
`product.parent.translation`.meta_title as `product.parent.translation.metaTitle`,
`product.parent.translation`.pack_unit as `product.parent.translation.packUnit`,
`product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`,
`product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`,
`product.parent.translation`.slot_config as `product.parent.translation.slotConfig`,
`product.parent.translation`.custom_fields as `product.parent.translation.customFields`,
`product.parent.translation`.created_at as `product.parent.translation.createdAt`,
`product.parent.translation`.updated_at as `product.parent.translation.updatedAt`,
`product.parent.translation`.product_id as `product.parent.translation.productId`,
`product.parent.translation`.language_id as `product.parent.translation.languageId`,
`product.parent.translation`.product_version_id as `product.parent.translation.productVersionId`
FROM
`product_translation` `product.parent.translation`
WHERE
`product.parent.translation`.language_id = : languageId
) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id`
AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id
LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id`
LEFT JOIN `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_id`
LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id`
AND `product`.`version_id` = `product.cover`.`version_id`
LEFT JOIN `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id`
LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id`
LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`id`
LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id`
LEFT JOIN (
SELECT
`product.cover.media.translation`.media_id,
`product.cover.media.translation`.title as `product.cover.media.translation.title`,
`product.cover.media.translation`.alt as `product.cover.media.translation.alt`,
`product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`,
`product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`,
`product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`,
`product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`,
`product.cover.media.translation`.language_id as `product.cover.media.translation.languageId`
FROM
`media_translation` `product.cover.media.translation`
WHERE
`product.cover.media.translation`.language_id = : languageId
) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id`
WHERE
(
`product`.`version_id` = : version
)
AND (
`product`.`id` IN (: ids)
)
SELECT `product`.`id` as `product.id`, `product`.`version_id` as `product.versionId`, `product`.`parent_id` as `product.parentId`, `product`.`parent_version_id` as `product.parentVersionId`, COALESCE(`product`.`product_manufacturer_id`, `product.parent`.`product_manufacturer_id`) as `product.manufacturerId`, COALESCE(`product`.`product_manufacturer_version_id`, `product.parent`.`product_manufacturer_version_id`) as `product.productManufacturerVersionId`, COALESCE(`product`.`unit_id`, `product.parent`.`unit_id`) as `product.unitId`, COALESCE(`product`.`tax_id`, `product.parent`.`tax_id`) as `product.taxId`, COALESCE(`product`.`product_media_id`, `product.parent`.`product_media_id`) as `product.coverId`, COALESCE(`product`.`product_media_version_id`, `product.parent`.`product_media_version_id`) as `product.productMediaVersionId`, COALESCE(`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`) as `product.deliveryTimeId`, COALESCE(`product`.`product_feature_set_id`, `product.parent`.`product_feature_set_id`) as `product.featureSetId`, COALESCE(`product`.`canonical_product_id`, `product.parent`.`canonical_product_id`) as `product.canonicalProductId`, COALESCE(`product`.`cms_page_id`, `product.parent`.`cms_page_id`) as `product.cmsPageId`, COALESCE(`product`.`cms_page_version_id`, `product.parent`.`cms_page_version_id`) as `product.cmsPageVersionId`, `product.parent`.`price` as `product.price.inherited`, COALESCE(`product`.`price`, `product.parent`.`price`) as `product.price`, `product`.`product_number` as `product.productNumber`, `product`.`stock` as `product.stock`, COALESCE(`product`.`restock_time`, `product.parent`.`restock_time`) as `product.restockTime`, `product`.`auto_increment` as `product.autoIncrement`, COALESCE(`product`.`active`, `product.parent`.`active`) as `product.active`, `product`.`available_stock` as `product.availableStock`, `product`.`available` as `product.available`, COALESCE(`product`.`is_closeout`, `product.parent`.`is_closeout`) as `product.isCloseout`, `product`.`display_group` as `product.displayGroup`, `product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`, COALESCE(`product`.`configurator_group_config`, `product.parent`.`configurator_group_config`) as `product.configuratorGroupConfig`, COALESCE(`product`.`main_variant_id`, `product.parent`.`main_variant_id`) as `product.mainVariantId`, COALESCE(`product`.`display_parent`, `product.parent`.`display_parent`) as `product.displayParent`, `product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`, COALESCE(`product`.`variant_listing_config`, `product.parent`.`variant_listing_config`) as `product.variantListingConfig`, `product`.`variant_restrictions` as `product.variantRestrictions`, COALESCE(`product`.`manufacturer_number`, `product.parent`.`manufacturer_number`) as `product.manufacturerNumber`, COALESCE(`product`.`ean`, `product.parent`.`ean`) as `product.ean`, COALESCE(`product`.`purchase_steps`, `product.parent`.`purchase_steps`) as `product.purchaseSteps`, COALESCE(`product`.`max_purchase`, `product.parent`.`max_purchase`) as `product.maxPurchase`, COALESCE(`product`.`min_purchase`, `product.parent`.`min_purchase`) as `product.minPurchase`, COALESCE(`product`.`purchase_unit`, `product.parent`.`purchase_unit`) as `product.purchaseUnit`, COALESCE(`product`.`reference_unit`, `product.parent`.`reference_unit`) as `product.referenceUnit`, COALESCE(`product`.`shipping_free`, `product.parent`.`shipping_free`) as `product.shippingFree`, `product.parent`.`purchase_prices` as `product.purchasePrices.inherited`, COALESCE(`product`.`purchase_prices`, `product.parent`.`purchase_prices`) as `product.purchasePrices`, COALESCE(`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`) as `product.markAsTopseller`, COALESCE(`product`.`weight`, `product.parent`.`weight`) as `product.weight`, COALESCE(`product`.`width`, `product.parent`.`width`) as `product.width`, COALESCE(`product`.`height`, `product.parent`.`height`) as `product.height`, COALESCE(`product`.`length`, `product.parent`.`length`) as `product.length`, COALESCE(`product`.`release_date`, `product.parent`.`release_date`) as `product.releaseDate`, COALESCE(`product`.`rating_average`, `product.parent`.`rating_average`) as `product.ratingAverage`, `product.parent`.`category_tree` as `product.categoryTree.inherited`, COALESCE(`product`.`category_tree`, `product.parent`.`category_tree`) as `product.categoryTree`, `product.parent`.`property_ids` as `product.propertyIds.inherited`, COALESCE(`product`.`property_ids`, `product.parent`.`property_ids`) as `product.propertyIds`, `product.parent`.`option_ids` as `product.optionIds.inherited`, COALESCE(`product`.`option_ids`, `product.parent`.`option_ids`) as `product.optionIds`, `product.parent`.`stream_ids` as `product.streamIds.inherited`, COALESCE(`product`.`stream_ids`, `product.parent`.`stream_ids`) as `product.streamIds`, `product.parent`.`tag_ids` as `product.tagIds.inherited`, COALESCE(`product`.`tag_ids`, `product.parent`.`tag_ids`) as `product.tagIds`, `product.parent`.`category_ids` as `product.categoryIds.inherited`, COALESCE(`product`.`category_ids`, `product.parent`.`category_ids`) as `product.categoryIds`, `product`.`child_count` as `product.childCount`, COALESCE(`product`.`custom_field_set_selection_active`, `product.parent`.`custom_field_set_selection_active`) as `product.customFieldSetSelectionActive`, `product`.`sales` as `product.sales`, `product`.`states` as `product.states`, `product.tax`.`id` as `product.tax.id`, `product.tax`.`tax_rate` as `product.tax.taxRate`, `product.tax`.`name` as `product.tax.name`, `product.tax`.`position` as `product.tax.position`, `product.tax`.`custom_fields` as `product.tax.customFields`, `product.tax`.`created_at` as `product.tax.createdAt`, `product.tax`.`updated_at` as `product.tax.updatedAt`, `product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`, COALESCE(`product`.`cheapest_price`, `product.parent`.`cheapest_price`) as `product.cheapestPrice`, `product`.`created_at` as `product.createdAt`, `product`.`updated_at` as `product.updatedAt`, `product.bundle`.`id` as `product.bundle.id`, `product.bundle`.`product_id` as `product.bundle.productId`, `product.bundle`.`product_version_id` as `product.bundle.productVersionId`, `product.bundle`.`name` as `product.bundle.name`, `product.bundle`.`price_type` as `product.bundle.priceType`, `product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`, `product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`, `product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`, `product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`, `product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`, `product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`, `product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`, `product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`, `product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`, `product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`, `product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`, `product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`, `product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`, `product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`, `product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`, `product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`, `product.bundle`.`created_at` as `product.bundle.createdAt`, `product.bundle`.`updated_at` as `product.bundle.updatedAt`, `product.cover`.`id` as `product.cover.id`, `product.cover`.`version_id` as `product.cover.versionId`, `product.cover`.`product_id` as `product.cover.productId`, `product.cover`.`product_version_id` as `product.cover.productVersionId`, `product.cover`.`media_id` as `product.cover.mediaId`, `product.cover`.`position` as `product.cover.position`, `product.cover.media`.`id` as `product.cover.media.id`, `product.cover.media`.`user_id` as `product.cover.media.userId`, `product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`, `product.cover.media`.`mime_type` as `product.cover.media.mimeType`, `product.cover.media`.`file_extension` as `product.cover.media.fileExtension`, `product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`, `product.cover.media`.`file_name` as `product.cover.media.fileName`, `product.cover.media`.`file_size` as `product.cover.media.fileSize`, `product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`, `product.cover.media`.`meta_data` as `product.cover.media.metaData`, `product.cover.media`.`private` as `product.cover.media.private`, `product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`, `product.cover.media`.`created_at` as `product.cover.media.createdAt`, `product.cover.media`.`updated_at` as `product.cover.media.updatedAt`, `product.cover.media.translation.title`, COALESCE(`product.cover.media.translation.title`,`product.cover.media.translation.title`) as `product.cover.media.title`, `product.cover.media.translation.alt`, COALESCE(`product.cover.media.translation.alt`,`product.cover.media.translation.alt`) as `product.cover.media.alt`, `product.cover.media.translation.customFields`, COALESCE(`product.cover.media.translation.customFields`,`product.cover.media.translation.customFields`) as `product.cover.media.customFields`, `product.cover.media.translation.createdAt`, `product.cover.media.translation.updatedAt`, `product.cover.media.translation.mediaId`, `product.cover.media.translation.languageId`, `product.cover`.`custom_fields` as `product.cover.customFields`, `product.cover`.`created_at` as `product.cover.createdAt`, `product.cover`.`updated_at` as `product.cover.updatedAt`, `product.translation.metaDescription`, `product.parent.translation.metaDescription`, COALESCE(`product.translation.metaDescription`,`product.parent.translation.metaDescription`,`product.translation.metaDescription`) as `product.metaDescription`, `product.translation.name`, `product.parent.translation.name`, COALESCE(`product.translation.name`,`product.parent.translation.name`,`product.translation.name`) as `product.name`, `product.translation.keywords`, `product.parent.translation.keywords`, COALESCE(`product.translation.keywords`,`product.parent.translation.keywords`,`product.translation.keywords`) as `product.keywords`, `product.translation.description`, `product.parent.translation.description`, COALESCE(`product.translation.description`,`product.parent.translation.description`,`product.translation.description`) as `product.description`, `product.translation.metaTitle`, `product.parent.translation.metaTitle`, COALESCE(`product.translation.metaTitle`,`product.parent.translation.metaTitle`,`product.translation.metaTitle`) as `product.metaTitle`, `product.translation.packUnit`, `product.parent.translation.packUnit`, COALESCE(`product.translation.packUnit`,`product.parent.translation.packUnit`,`product.translation.packUnit`) as `product.packUnit`, `product.translation.packUnitPlural`, `product.parent.translation.packUnitPlural`, COALESCE(`product.translation.packUnitPlural`,`product.parent.translation.packUnitPlural`,`product.translation.packUnitPlural`) as `product.packUnitPlural`, `product.translation.customSearchKeywords`, `product.parent.translation.customSearchKeywords`, COALESCE(`product.translation.customSearchKeywords`,`product.parent.translation.customSearchKeywords`,`product.translation.customSearchKeywords`) as `product.customSearchKeywords`, `product.translation.slotConfig`, `product.parent.translation.slotConfig`, COALESCE(`product.translation.slotConfig`,`product.parent.translation.slotConfig`,`product.translation.slotConfig`) as `product.slotConfig`, `product.translation.customFields`, `product.parent.translation.customFields`, COALESCE(`product.translation.customFields`,`product.parent.translation.customFields`,`product.translation.customFields`) as `product.customFields`, `product.translation.createdAt`, `product.parent.translation.createdAt`, `product.translation.updatedAt`, `product.parent.translation.updatedAt`, `product.translation.productId`, `product.parent.translation.productId`, `product.translation.languageId`, `product.parent.translation.languageId`, `product.translation.productVersionId`, `product.parent.translation.productVersionId` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN (SELECT `product.translation`.product_id, `product.translation`.product_version_id, `product.translation`.meta_description as `product.translation.metaDescription`, `product.translation`.name as `product.translation.name`, `product.translation`.keywords as `product.translation.keywords`, `product.translation`.description as `product.translation.description`, `product.translation`.meta_title as `product.translation.metaTitle`, `product.translation`.pack_unit as `product.translation.packUnit`, `product.translation`.pack_unit_plural as `product.translation.packUnitPlural`, `product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`, `product.translation`.slot_config as `product.translation.slotConfig`, `product.translation`.custom_fields as `product.translation.customFields`, `product.translation`.created_at as `product.translation.createdAt`, `product.translation`.updated_at as `product.translation.updatedAt`, `product.translation`.product_id as `product.translation.productId`, `product.translation`.language_id as `product.translation.languageId`, `product.translation`.product_version_id as `product.translation.productVersionId` FROM `product_translation` `product.translation` WHERE `product.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id` AND `product.product_translation`.product_version_id = `product`.version_id LEFT JOIN (SELECT `product.parent.translation`.product_id, `product.parent.translation`.product_version_id, `product.parent.translation`.meta_description as `product.parent.translation.metaDescription`, `product.parent.translation`.name as `product.parent.translation.name`, `product.parent.translation`.keywords as `product.parent.translation.keywords`, `product.parent.translation`.description as `product.parent.translation.description`, `product.parent.translation`.meta_title as `product.parent.translation.metaTitle`, `product.parent.translation`.pack_unit as `product.parent.translation.packUnit`, `product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`, `product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`, `product.parent.translation`.slot_config as `product.parent.translation.slotConfig`, `product.parent.translation`.custom_fields as `product.parent.translation.customFields`, `product.parent.translation`.created_at as `product.parent.translation.createdAt`, `product.parent.translation`.updated_at as `product.parent.translation.updatedAt`, `product.parent.translation`.product_id as `product.parent.translation.productId`, `product.parent.translation`.language_id as `product.parent.translation.languageId`, `product.parent.translation`.product_version_id as `product.parent.translation.productVersionId` FROM `product_translation` `product.parent.translation` WHERE `product.parent.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id` AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id` LEFT JOIN `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_id` LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id` AND `product`.`version_id` = `product.cover`.`version_id` LEFT JOIN `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`id` LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id` LEFT JOIN (SELECT `product.cover.media.translation`.media_id, `product.cover.media.translation`.title as `product.cover.media.translation.title`, `product.cover.media.translation`.alt as `product.cover.media.translation.alt`, `product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`, `product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`, `product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`, `product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`, `product.cover.media.translation`.language_id as `product.cover.media.translation.languageId` FROM `media_translation` `product.cover.media.translation` WHERE `product.cover.media.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id` WHERE (`product`.`version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425) AND (`product`.`id` IN (0x03F4EF144EC44C3E822790C652F7C3F6));
array:51 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 316)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetch (line 148)"
4 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 93)"
5 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::read (line 257)"
6 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::read (line 286)"
7 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::_search (line 106)"
8 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::search (line 51)"
9 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepositoryForwardCompatibilityDecorator::search (line 103)"
10 => "Bodymed\Webshop\StoreFront\Subscriber\ProductExtensionSubscriber::addParentCover (line 230)"
11 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
12 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
13 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
14 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
15 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
16 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 33)"
17 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
18 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 208)"
19 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::read (line 133)"
20 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 49)"
21 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariantsOfProduct (line 30)"
22 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariants (line 224)"
23 => "Bodymed\Webshop\Core\Content\Product\Cms\ProductSliderCmsElementResolver::enrich (line 99)"
24 => "Shopware\Core\Content\Cms\DataResolver\CmsSlotsDataResolver::resolve (line 104)"
25 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::loadSlotData (line 94)"
26 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::load (line 102)"
27 => "Shopware\Core\Content\Category\SalesChannel\CategoryRoute::load (line 103)"
28 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 350)"
29 => "Shopware\Core\System\SystemConfig\SystemConfigService::trace (line 44)"
30 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 120)"
31 => "Shopware\Core\Framework\Adapter\Translation\Translator::trace (line 45)"
32 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 46)"
33 => "Shopware\Core\Framework\Adapter\Cache\CacheTagCollection::trace (line 46)"
34 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::trace (line 41)"
35 => "Shopware\Storefront\Framework\Cache\CacheTracer::Shopware\Storefront\Framework\Cache\{closure} (line 59)"
36 => "Shopware\Storefront\Theme\ThemeConfigValueAccessor::trace (line 42)"
37 => "Shopware\Storefront\Framework\Cache\CacheTracer::trace (line 104)"
38 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 72)"
39 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
40 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 109)"
41 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 59)"
42 => "Shopware\Core\Profiling\Profiler::trace (line 112)"
43 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::load (line 66)"
44 => "Shopware\Storefront\Page\Navigation\NavigationPageLoader::load (line 48)"
45 => "Shopware\Storefront\Controller\NavigationController::home (line 163)"
46 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
47 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
48 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
49 => "Shopware\Core\HttpKernel::doHandle (line 81)"
50 => "Shopware\Core\HttpKernel::handle (line 75)"
]
|
89 |
0.74 ms |
SELECT * FROM sales_channel_api_context WHERE (sales_channel_id = :salesChannelId) AND (token = :token) LIMIT 1
SELECT * FROM sales_channel_api_context WHERE (sales_channel_id = 0x620A2217F7474E619CB00AD39E804CCA) AND (token = 'FwsxT47353Zxmr7lp0KSfYcVNkg5VpYR') LIMIT 1;
array:58 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 165)"
3 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextPersister::load (line 69)"
4 => "Bodymed\Webshop\Core\Subscriber\ProductSubscriber::addCustomerProductFeatureExtension (line 230)"
5 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
6 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
7 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
8 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
9 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
10 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 33)"
11 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
12 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 269)"
13 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::read (line 286)"
14 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::_search (line 106)"
15 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::search (line 51)"
16 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepositoryForwardCompatibilityDecorator::search (line 103)"
17 => "Bodymed\Webshop\StoreFront\Subscriber\ProductExtensionSubscriber::addParentCover (line 230)"
18 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
19 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
20 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
21 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
22 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
23 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 33)"
24 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
25 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 208)"
26 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::read (line 133)"
27 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 49)"
28 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariantsOfProduct (line 30)"
29 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariants (line 224)"
30 => "Bodymed\Webshop\Core\Content\Product\Cms\ProductSliderCmsElementResolver::enrich (line 99)"
31 => "Shopware\Core\Content\Cms\DataResolver\CmsSlotsDataResolver::resolve (line 104)"
32 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::loadSlotData (line 94)"
33 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::load (line 102)"
34 => "Shopware\Core\Content\Category\SalesChannel\CategoryRoute::load (line 103)"
35 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 350)"
36 => "Shopware\Core\System\SystemConfig\SystemConfigService::trace (line 44)"
37 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 120)"
38 => "Shopware\Core\Framework\Adapter\Translation\Translator::trace (line 45)"
39 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 46)"
40 => "Shopware\Core\Framework\Adapter\Cache\CacheTagCollection::trace (line 46)"
41 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::trace (line 41)"
42 => "Shopware\Storefront\Framework\Cache\CacheTracer::Shopware\Storefront\Framework\Cache\{closure} (line 59)"
43 => "Shopware\Storefront\Theme\ThemeConfigValueAccessor::trace (line 42)"
44 => "Shopware\Storefront\Framework\Cache\CacheTracer::trace (line 104)"
45 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 72)"
46 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
47 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 109)"
48 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 59)"
49 => "Shopware\Core\Profiling\Profiler::trace (line 112)"
50 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::load (line 66)"
51 => "Shopware\Storefront\Page\Navigation\NavigationPageLoader::load (line 48)"
52 => "Shopware\Storefront\Controller\NavigationController::home (line 163)"
53 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
54 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
55 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
56 => "Shopware\Core\HttpKernel::doHandle (line 81)"
57 => "Shopware\Core\HttpKernel::handle (line 75)"
]
|
90 |
26.87 ms |
SELECT `product`.`id` as `product.id`, `product`.`version_id` as `product.versionId`, `product`.`parent_id` as `product.parentId`, `product`.`parent_version_id` as `product.parentVersionId`, COALESCE(`product`.`product_manufacturer_id`, `product.parent`.`product_manufacturer_id`) as `product.manufacturerId`, COALESCE(`product`.`product_manufacturer_version_id`, `product.parent`.`product_manufacturer_version_id`) as `product.productManufacturerVersionId`, COALESCE(`product`.`unit_id`, `product.parent`.`unit_id`) as `product.unitId`, COALESCE(`product`.`tax_id`, `product.parent`.`tax_id`) as `product.taxId`, COALESCE(`product`.`product_media_id`, `product.parent`.`product_media_id`) as `product.coverId`, COALESCE(`product`.`product_media_version_id`, `product.parent`.`product_media_version_id`) as `product.productMediaVersionId`, COALESCE(`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`) as `product.deliveryTimeId`, COALESCE(`product`.`product_feature_set_id`, `product.parent`.`product_feature_set_id`) as `product.featureSetId`, COALESCE(`product`.`canonical_product_id`, `product.parent`.`canonical_product_id`) as `product.canonicalProductId`, COALESCE(`product`.`cms_page_id`, `product.parent`.`cms_page_id`) as `product.cmsPageId`, COALESCE(`product`.`cms_page_version_id`, `product.parent`.`cms_page_version_id`) as `product.cmsPageVersionId`, `product.parent`.`price` as `product.price.inherited`, COALESCE(`product`.`price`, `product.parent`.`price`) as `product.price`, `product`.`product_number` as `product.productNumber`, `product`.`stock` as `product.stock`, COALESCE(`product`.`restock_time`, `product.parent`.`restock_time`) as `product.restockTime`, `product`.`auto_increment` as `product.autoIncrement`, COALESCE(`product`.`active`, `product.parent`.`active`) as `product.active`, `product`.`available_stock` as `product.availableStock`, `product`.`available` as `product.available`, COALESCE(`product`.`is_closeout`, `product.parent`.`is_closeout`) as `product.isCloseout`, `product`.`display_group` as `product.displayGroup`, `product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`, COALESCE(`product`.`configurator_group_config`, `product.parent`.`configurator_group_config`) as `product.configuratorGroupConfig`, COALESCE(`product`.`main_variant_id`, `product.parent`.`main_variant_id`) as `product.mainVariantId`, COALESCE(`product`.`display_parent`, `product.parent`.`display_parent`) as `product.displayParent`, `product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`, COALESCE(`product`.`variant_listing_config`, `product.parent`.`variant_listing_config`) as `product.variantListingConfig`, `product`.`variant_restrictions` as `product.variantRestrictions`, COALESCE(`product`.`manufacturer_number`, `product.parent`.`manufacturer_number`) as `product.manufacturerNumber`, COALESCE(`product`.`ean`, `product.parent`.`ean`) as `product.ean`, COALESCE(`product`.`purchase_steps`, `product.parent`.`purchase_steps`) as `product.purchaseSteps`, COALESCE(`product`.`max_purchase`, `product.parent`.`max_purchase`) as `product.maxPurchase`, COALESCE(`product`.`min_purchase`, `product.parent`.`min_purchase`) as `product.minPurchase`, COALESCE(`product`.`purchase_unit`, `product.parent`.`purchase_unit`) as `product.purchaseUnit`, COALESCE(`product`.`reference_unit`, `product.parent`.`reference_unit`) as `product.referenceUnit`, COALESCE(`product`.`shipping_free`, `product.parent`.`shipping_free`) as `product.shippingFree`, `product.parent`.`purchase_prices` as `product.purchasePrices.inherited`, COALESCE(`product`.`purchase_prices`, `product.parent`.`purchase_prices`) as `product.purchasePrices`, COALESCE(`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`) as `product.markAsTopseller`, COALESCE(`product`.`weight`, `product.parent`.`weight`) as `product.weight`, COALESCE(`product`.`width`, `product.parent`.`width`) as `product.width`, COALESCE(`product`.`height`, `product.parent`.`height`) as `product.height`, COALESCE(`product`.`length`, `product.parent`.`length`) as `product.length`, COALESCE(`product`.`release_date`, `product.parent`.`release_date`) as `product.releaseDate`, COALESCE(`product`.`rating_average`, `product.parent`.`rating_average`) as `product.ratingAverage`, `product.parent`.`category_tree` as `product.categoryTree.inherited`, COALESCE(`product`.`category_tree`, `product.parent`.`category_tree`) as `product.categoryTree`, `product.parent`.`property_ids` as `product.propertyIds.inherited`, COALESCE(`product`.`property_ids`, `product.parent`.`property_ids`) as `product.propertyIds`, `product.parent`.`option_ids` as `product.optionIds.inherited`, COALESCE(`product`.`option_ids`, `product.parent`.`option_ids`) as `product.optionIds`, `product.parent`.`stream_ids` as `product.streamIds.inherited`, COALESCE(`product`.`stream_ids`, `product.parent`.`stream_ids`) as `product.streamIds`, `product.parent`.`tag_ids` as `product.tagIds.inherited`, COALESCE(`product`.`tag_ids`, `product.parent`.`tag_ids`) as `product.tagIds`, `product.parent`.`category_ids` as `product.categoryIds.inherited`, COALESCE(`product`.`category_ids`, `product.parent`.`category_ids`) as `product.categoryIds`, `product`.`child_count` as `product.childCount`, COALESCE(`product`.`custom_field_set_selection_active`, `product.parent`.`custom_field_set_selection_active`) as `product.customFieldSetSelectionActive`, `product`.`sales` as `product.sales`, `product`.`states` as `product.states`, `product.tax`.`id` as `product.tax.id`, `product.tax`.`tax_rate` as `product.tax.taxRate`, `product.tax`.`name` as `product.tax.name`, `product.tax`.`position` as `product.tax.position`, `product.tax`.`custom_fields` as `product.tax.customFields`, `product.tax`.`created_at` as `product.tax.createdAt`, `product.tax`.`updated_at` as `product.tax.updatedAt`, `product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`, COALESCE(`product`.`cheapest_price`, `product.parent`.`cheapest_price`) as `product.cheapestPrice`, `product`.`created_at` as `product.createdAt`, `product`.`updated_at` as `product.updatedAt`, `product.bundle`.`id` as `product.bundle.id`, `product.bundle`.`product_id` as `product.bundle.productId`, `product.bundle`.`product_version_id` as `product.bundle.productVersionId`, `product.bundle`.`name` as `product.bundle.name`, `product.bundle`.`price_type` as `product.bundle.priceType`, `product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`, `product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`, `product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`, `product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`, `product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`, `product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`, `product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`, `product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`, `product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`, `product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`, `product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`, `product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`, `product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`, `product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`, `product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`, `product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`, `product.bundle`.`created_at` as `product.bundle.createdAt`, `product.bundle`.`updated_at` as `product.bundle.updatedAt`, `product.cover`.`id` as `product.cover.id`, `product.cover`.`version_id` as `product.cover.versionId`, `product.cover`.`product_id` as `product.cover.productId`, `product.cover`.`product_version_id` as `product.cover.productVersionId`, `product.cover`.`media_id` as `product.cover.mediaId`, `product.cover`.`position` as `product.cover.position`, `product.cover.media`.`id` as `product.cover.media.id`, `product.cover.media`.`user_id` as `product.cover.media.userId`, `product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`, `product.cover.media`.`mime_type` as `product.cover.media.mimeType`, `product.cover.media`.`file_extension` as `product.cover.media.fileExtension`, `product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`, `product.cover.media`.`file_name` as `product.cover.media.fileName`, `product.cover.media`.`file_size` as `product.cover.media.fileSize`, `product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`, `product.cover.media`.`meta_data` as `product.cover.media.metaData`, `product.cover.media`.`private` as `product.cover.media.private`, `product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`, `product.cover.media`.`created_at` as `product.cover.media.createdAt`, `product.cover.media`.`updated_at` as `product.cover.media.updatedAt`, `product.cover.media.translation.title`, COALESCE(`product.cover.media.translation.title`,`product.cover.media.translation.title`) as `product.cover.media.title`, `product.cover.media.translation.alt`, COALESCE(`product.cover.media.translation.alt`,`product.cover.media.translation.alt`) as `product.cover.media.alt`, `product.cover.media.translation.customFields`, COALESCE(`product.cover.media.translation.customFields`,`product.cover.media.translation.customFields`) as `product.cover.media.customFields`, `product.cover.media.translation.createdAt`, `product.cover.media.translation.updatedAt`, `product.cover.media.translation.mediaId`, `product.cover.media.translation.languageId`, `product.cover`.`custom_fields` as `product.cover.customFields`, `product.cover`.`created_at` as `product.cover.createdAt`, `product.cover`.`updated_at` as `product.cover.updatedAt`, `product.translation.metaDescription`, `product.parent.translation.metaDescription`, COALESCE(`product.translation.metaDescription`,`product.parent.translation.metaDescription`,`product.translation.metaDescription`) as `product.metaDescription`, `product.translation.name`, `product.parent.translation.name`, COALESCE(`product.translation.name`,`product.parent.translation.name`,`product.translation.name`) as `product.name`, `product.translation.keywords`, `product.parent.translation.keywords`, COALESCE(`product.translation.keywords`,`product.parent.translation.keywords`,`product.translation.keywords`) as `product.keywords`, `product.translation.description`, `product.parent.translation.description`, COALESCE(`product.translation.description`,`product.parent.translation.description`,`product.translation.description`) as `product.description`, `product.translation.metaTitle`, `product.parent.translation.metaTitle`, COALESCE(`product.translation.metaTitle`,`product.parent.translation.metaTitle`,`product.translation.metaTitle`) as `product.metaTitle`, `product.translation.packUnit`, `product.parent.translation.packUnit`, COALESCE(`product.translation.packUnit`,`product.parent.translation.packUnit`,`product.translation.packUnit`) as `product.packUnit`, `product.translation.packUnitPlural`, `product.parent.translation.packUnitPlural`, COALESCE(`product.translation.packUnitPlural`,`product.parent.translation.packUnitPlural`,`product.translation.packUnitPlural`) as `product.packUnitPlural`, `product.translation.customSearchKeywords`, `product.parent.translation.customSearchKeywords`, COALESCE(`product.translation.customSearchKeywords`,`product.parent.translation.customSearchKeywords`,`product.translation.customSearchKeywords`) as `product.customSearchKeywords`, `product.translation.slotConfig`, `product.parent.translation.slotConfig`, COALESCE(`product.translation.slotConfig`,`product.parent.translation.slotConfig`,`product.translation.slotConfig`) as `product.slotConfig`, `product.translation.customFields`, `product.parent.translation.customFields`, COALESCE(`product.translation.customFields`,`product.parent.translation.customFields`,`product.translation.customFields`) as `product.customFields`, `product.translation.createdAt`, `product.parent.translation.createdAt`, `product.translation.updatedAt`, `product.parent.translation.updatedAt`, `product.translation.productId`, `product.parent.translation.productId`, `product.translation.languageId`, `product.parent.translation.languageId`, `product.translation.productVersionId`, `product.parent.translation.productVersionId` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN (SELECT `product.translation`.product_id, `product.translation`.product_version_id, `product.translation`.meta_description as `product.translation.metaDescription`, `product.translation`.name as `product.translation.name`, `product.translation`.keywords as `product.translation.keywords`, `product.translation`.description as `product.translation.description`, `product.translation`.meta_title as `product.translation.metaTitle`, `product.translation`.pack_unit as `product.translation.packUnit`, `product.translation`.pack_unit_plural as `product.translation.packUnitPlural`, `product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`, `product.translation`.slot_config as `product.translation.slotConfig`, `product.translation`.custom_fields as `product.translation.customFields`, `product.translation`.created_at as `product.translation.createdAt`, `product.translation`.updated_at as `product.translation.updatedAt`, `product.translation`.product_id as `product.translation.productId`, `product.translation`.language_id as `product.translation.languageId`, `product.translation`.product_version_id as `product.translation.productVersionId` FROM `product_translation` `product.translation` WHERE `product.translation`.language_id = :languageId) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id` AND `product.product_translation`.product_version_id = `product`.version_id LEFT JOIN (SELECT `product.parent.translation`.product_id, `product.parent.translation`.product_version_id, `product.parent.translation`.meta_description as `product.parent.translation.metaDescription`, `product.parent.translation`.name as `product.parent.translation.name`, `product.parent.translation`.keywords as `product.parent.translation.keywords`, `product.parent.translation`.description as `product.parent.translation.description`, `product.parent.translation`.meta_title as `product.parent.translation.metaTitle`, `product.parent.translation`.pack_unit as `product.parent.translation.packUnit`, `product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`, `product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`, `product.parent.translation`.slot_config as `product.parent.translation.slotConfig`, `product.parent.translation`.custom_fields as `product.parent.translation.customFields`, `product.parent.translation`.created_at as `product.parent.translation.createdAt`, `product.parent.translation`.updated_at as `product.parent.translation.updatedAt`, `product.parent.translation`.product_id as `product.parent.translation.productId`, `product.parent.translation`.language_id as `product.parent.translation.languageId`, `product.parent.translation`.product_version_id as `product.parent.translation.productVersionId` FROM `product_translation` `product.parent.translation` WHERE `product.parent.translation`.language_id = :languageId) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id` AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id` LEFT JOIN `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_id` LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id` AND `product`.`version_id` = `product.cover`.`version_id` LEFT JOIN `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`id` LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id` LEFT JOIN (SELECT `product.cover.media.translation`.media_id, `product.cover.media.translation`.title as `product.cover.media.translation.title`, `product.cover.media.translation`.alt as `product.cover.media.translation.alt`, `product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`, `product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`, `product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`, `product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`, `product.cover.media.translation`.language_id as `product.cover.media.translation.languageId` FROM `media_translation` `product.cover.media.translation` WHERE `product.cover.media.translation`.language_id = :languageId) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id` WHERE (`product`.`version_id` = :version) AND (`product`.`id` IN (:ids))
SELECT
`product`.`id` as `product.id`,
`product`.`version_id` as `product.versionId`,
`product`.`parent_id` as `product.parentId`,
`product`.`parent_version_id` as `product.parentVersionId`,
COALESCE(
`product`.`product_manufacturer_id`,
`product.parent`.`product_manufacturer_id`
) as `product.manufacturerId`,
COALESCE(
`product`.`product_manufacturer_version_id`,
`product.parent`.`product_manufacturer_version_id`
) as `product.productManufacturerVersionId`,
COALESCE(
`product`.`unit_id`, `product.parent`.`unit_id`
) as `product.unitId`,
COALESCE(
`product`.`tax_id`, `product.parent`.`tax_id`
) as `product.taxId`,
COALESCE(
`product`.`product_media_id`, `product.parent`.`product_media_id`
) as `product.coverId`,
COALESCE(
`product`.`product_media_version_id`,
`product.parent`.`product_media_version_id`
) as `product.productMediaVersionId`,
COALESCE(
`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`
) as `product.deliveryTimeId`,
COALESCE(
`product`.`product_feature_set_id`,
`product.parent`.`product_feature_set_id`
) as `product.featureSetId`,
COALESCE(
`product`.`canonical_product_id`,
`product.parent`.`canonical_product_id`
) as `product.canonicalProductId`,
COALESCE(
`product`.`cms_page_id`, `product.parent`.`cms_page_id`
) as `product.cmsPageId`,
COALESCE(
`product`.`cms_page_version_id`,
`product.parent`.`cms_page_version_id`
) as `product.cmsPageVersionId`,
`product.parent`.`price` as `product.price.inherited`,
COALESCE(
`product`.`price`, `product.parent`.`price`
) as `product.price`,
`product`.`product_number` as `product.productNumber`,
`product`.`stock` as `product.stock`,
COALESCE(
`product`.`restock_time`, `product.parent`.`restock_time`
) as `product.restockTime`,
`product`.`auto_increment` as `product.autoIncrement`,
COALESCE(
`product`.`active`, `product.parent`.`active`
) as `product.active`,
`product`.`available_stock` as `product.availableStock`,
`product`.`available` as `product.available`,
COALESCE(
`product`.`is_closeout`, `product.parent`.`is_closeout`
) as `product.isCloseout`,
`product`.`display_group` as `product.displayGroup`,
`product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`,
COALESCE(
`product`.`configurator_group_config`,
`product.parent`.`configurator_group_config`
) as `product.configuratorGroupConfig`,
COALESCE(
`product`.`main_variant_id`, `product.parent`.`main_variant_id`
) as `product.mainVariantId`,
COALESCE(
`product`.`display_parent`, `product.parent`.`display_parent`
) as `product.displayParent`,
`product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`,
COALESCE(
`product`.`variant_listing_config`,
`product.parent`.`variant_listing_config`
) as `product.variantListingConfig`,
`product`.`variant_restrictions` as `product.variantRestrictions`,
COALESCE(
`product`.`manufacturer_number`,
`product.parent`.`manufacturer_number`
) as `product.manufacturerNumber`,
COALESCE(
`product`.`ean`, `product.parent`.`ean`
) as `product.ean`,
COALESCE(
`product`.`purchase_steps`, `product.parent`.`purchase_steps`
) as `product.purchaseSteps`,
COALESCE(
`product`.`max_purchase`, `product.parent`.`max_purchase`
) as `product.maxPurchase`,
COALESCE(
`product`.`min_purchase`, `product.parent`.`min_purchase`
) as `product.minPurchase`,
COALESCE(
`product`.`purchase_unit`, `product.parent`.`purchase_unit`
) as `product.purchaseUnit`,
COALESCE(
`product`.`reference_unit`, `product.parent`.`reference_unit`
) as `product.referenceUnit`,
COALESCE(
`product`.`shipping_free`, `product.parent`.`shipping_free`
) as `product.shippingFree`,
`product.parent`.`purchase_prices` as `product.purchasePrices.inherited`,
COALESCE(
`product`.`purchase_prices`, `product.parent`.`purchase_prices`
) as `product.purchasePrices`,
COALESCE(
`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`
) as `product.markAsTopseller`,
COALESCE(
`product`.`weight`, `product.parent`.`weight`
) as `product.weight`,
COALESCE(
`product`.`width`, `product.parent`.`width`
) as `product.width`,
COALESCE(
`product`.`height`, `product.parent`.`height`
) as `product.height`,
COALESCE(
`product`.`length`, `product.parent`.`length`
) as `product.length`,
COALESCE(
`product`.`release_date`, `product.parent`.`release_date`
) as `product.releaseDate`,
COALESCE(
`product`.`rating_average`, `product.parent`.`rating_average`
) as `product.ratingAverage`,
`product.parent`.`category_tree` as `product.categoryTree.inherited`,
COALESCE(
`product`.`category_tree`, `product.parent`.`category_tree`
) as `product.categoryTree`,
`product.parent`.`property_ids` as `product.propertyIds.inherited`,
COALESCE(
`product`.`property_ids`, `product.parent`.`property_ids`
) as `product.propertyIds`,
`product.parent`.`option_ids` as `product.optionIds.inherited`,
COALESCE(
`product`.`option_ids`, `product.parent`.`option_ids`
) as `product.optionIds`,
`product.parent`.`stream_ids` as `product.streamIds.inherited`,
COALESCE(
`product`.`stream_ids`, `product.parent`.`stream_ids`
) as `product.streamIds`,
`product.parent`.`tag_ids` as `product.tagIds.inherited`,
COALESCE(
`product`.`tag_ids`, `product.parent`.`tag_ids`
) as `product.tagIds`,
`product.parent`.`category_ids` as `product.categoryIds.inherited`,
COALESCE(
`product`.`category_ids`, `product.parent`.`category_ids`
) as `product.categoryIds`,
`product`.`child_count` as `product.childCount`,
COALESCE(
`product`.`custom_field_set_selection_active`,
`product.parent`.`custom_field_set_selection_active`
) as `product.customFieldSetSelectionActive`,
`product`.`sales` as `product.sales`,
`product`.`states` as `product.states`,
`product.tax`.`id` as `product.tax.id`,
`product.tax`.`tax_rate` as `product.tax.taxRate`,
`product.tax`.`name` as `product.tax.name`,
`product.tax`.`position` as `product.tax.position`,
`product.tax`.`custom_fields` as `product.tax.customFields`,
`product.tax`.`created_at` as `product.tax.createdAt`,
`product.tax`.`updated_at` as `product.tax.updatedAt`,
`product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`,
COALESCE(
`product`.`cheapest_price`, `product.parent`.`cheapest_price`
) as `product.cheapestPrice`,
`product`.`created_at` as `product.createdAt`,
`product`.`updated_at` as `product.updatedAt`,
`product.bundle`.`id` as `product.bundle.id`,
`product.bundle`.`product_id` as `product.bundle.productId`,
`product.bundle`.`product_version_id` as `product.bundle.productVersionId`,
`product.bundle`.`name` as `product.bundle.name`,
`product.bundle`.`price_type` as `product.bundle.priceType`,
`product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`,
`product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`,
`product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`,
`product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`,
`product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`,
`product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`,
`product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`,
`product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`,
`product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`,
`product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`,
`product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`,
`product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`,
`product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`,
`product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`,
`product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`,
`product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`,
`product.bundle`.`created_at` as `product.bundle.createdAt`,
`product.bundle`.`updated_at` as `product.bundle.updatedAt`,
`product.cover`.`id` as `product.cover.id`,
`product.cover`.`version_id` as `product.cover.versionId`,
`product.cover`.`product_id` as `product.cover.productId`,
`product.cover`.`product_version_id` as `product.cover.productVersionId`,
`product.cover`.`media_id` as `product.cover.mediaId`,
`product.cover`.`position` as `product.cover.position`,
`product.cover.media`.`id` as `product.cover.media.id`,
`product.cover.media`.`user_id` as `product.cover.media.userId`,
`product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`,
`product.cover.media`.`mime_type` as `product.cover.media.mimeType`,
`product.cover.media`.`file_extension` as `product.cover.media.fileExtension`,
`product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`,
`product.cover.media`.`file_name` as `product.cover.media.fileName`,
`product.cover.media`.`file_size` as `product.cover.media.fileSize`,
`product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`,
`product.cover.media`.`meta_data` as `product.cover.media.metaData`,
`product.cover.media`.`private` as `product.cover.media.private`,
`product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`,
`product.cover.media`.`created_at` as `product.cover.media.createdAt`,
`product.cover.media`.`updated_at` as `product.cover.media.updatedAt`,
`product.cover.media.translation.title`,
COALESCE(
`product.cover.media.translation.title`,
`product.cover.media.translation.title`
) as `product.cover.media.title`,
`product.cover.media.translation.alt`,
COALESCE(
`product.cover.media.translation.alt`,
`product.cover.media.translation.alt`
) as `product.cover.media.alt`,
`product.cover.media.translation.customFields`,
COALESCE(
`product.cover.media.translation.customFields`,
`product.cover.media.translation.customFields`
) as `product.cover.media.customFields`,
`product.cover.media.translation.createdAt`,
`product.cover.media.translation.updatedAt`,
`product.cover.media.translation.mediaId`,
`product.cover.media.translation.languageId`,
`product.cover`.`custom_fields` as `product.cover.customFields`,
`product.cover`.`created_at` as `product.cover.createdAt`,
`product.cover`.`updated_at` as `product.cover.updatedAt`,
`product.translation.metaDescription`,
`product.parent.translation.metaDescription`,
COALESCE(
`product.translation.metaDescription`,
`product.parent.translation.metaDescription`,
`product.translation.metaDescription`
) as `product.metaDescription`,
`product.translation.name`,
`product.parent.translation.name`,
COALESCE(
`product.translation.name`, `product.parent.translation.name`,
`product.translation.name`
) as `product.name`,
`product.translation.keywords`,
`product.parent.translation.keywords`,
COALESCE(
`product.translation.keywords`,
`product.parent.translation.keywords`,
`product.translation.keywords`
) as `product.keywords`,
`product.translation.description`,
`product.parent.translation.description`,
COALESCE(
`product.translation.description`,
`product.parent.translation.description`,
`product.translation.description`
) as `product.description`,
`product.translation.metaTitle`,
`product.parent.translation.metaTitle`,
COALESCE(
`product.translation.metaTitle`,
`product.parent.translation.metaTitle`,
`product.translation.metaTitle`
) as `product.metaTitle`,
`product.translation.packUnit`,
`product.parent.translation.packUnit`,
COALESCE(
`product.translation.packUnit`,
`product.parent.translation.packUnit`,
`product.translation.packUnit`
) as `product.packUnit`,
`product.translation.packUnitPlural`,
`product.parent.translation.packUnitPlural`,
COALESCE(
`product.translation.packUnitPlural`,
`product.parent.translation.packUnitPlural`,
`product.translation.packUnitPlural`
) as `product.packUnitPlural`,
`product.translation.customSearchKeywords`,
`product.parent.translation.customSearchKeywords`,
COALESCE(
`product.translation.customSearchKeywords`,
`product.parent.translation.customSearchKeywords`,
`product.translation.customSearchKeywords`
) as `product.customSearchKeywords`,
`product.translation.slotConfig`,
`product.parent.translation.slotConfig`,
COALESCE(
`product.translation.slotConfig`,
`product.parent.translation.slotConfig`,
`product.translation.slotConfig`
) as `product.slotConfig`,
`product.translation.customFields`,
`product.parent.translation.customFields`,
COALESCE(
`product.translation.customFields`,
`product.parent.translation.customFields`,
`product.translation.customFields`
) as `product.customFields`,
`product.translation.createdAt`,
`product.parent.translation.createdAt`,
`product.translation.updatedAt`,
`product.parent.translation.updatedAt`,
`product.translation.productId`,
`product.parent.translation.productId`,
`product.translation.languageId`,
`product.parent.translation.languageId`,
`product.translation.productVersionId`,
`product.parent.translation.productVersionId`
FROM
`product`
LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id`
AND `product`.`version_id` = `product.parent`.`version_id`
LEFT JOIN (
SELECT
`product.translation`.product_id,
`product.translation`.product_version_id,
`product.translation`.meta_description as `product.translation.metaDescription`,
`product.translation`.name as `product.translation.name`,
`product.translation`.keywords as `product.translation.keywords`,
`product.translation`.description as `product.translation.description`,
`product.translation`.meta_title as `product.translation.metaTitle`,
`product.translation`.pack_unit as `product.translation.packUnit`,
`product.translation`.pack_unit_plural as `product.translation.packUnitPlural`,
`product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`,
`product.translation`.slot_config as `product.translation.slotConfig`,
`product.translation`.custom_fields as `product.translation.customFields`,
`product.translation`.created_at as `product.translation.createdAt`,
`product.translation`.updated_at as `product.translation.updatedAt`,
`product.translation`.product_id as `product.translation.productId`,
`product.translation`.language_id as `product.translation.languageId`,
`product.translation`.product_version_id as `product.translation.productVersionId`
FROM
`product_translation` `product.translation`
WHERE
`product.translation`.language_id = : languageId
) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id`
AND `product.product_translation`.product_version_id = `product`.version_id
LEFT JOIN (
SELECT
`product.parent.translation`.product_id,
`product.parent.translation`.product_version_id,
`product.parent.translation`.meta_description as `product.parent.translation.metaDescription`,
`product.parent.translation`.name as `product.parent.translation.name`,
`product.parent.translation`.keywords as `product.parent.translation.keywords`,
`product.parent.translation`.description as `product.parent.translation.description`,
`product.parent.translation`.meta_title as `product.parent.translation.metaTitle`,
`product.parent.translation`.pack_unit as `product.parent.translation.packUnit`,
`product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`,
`product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`,
`product.parent.translation`.slot_config as `product.parent.translation.slotConfig`,
`product.parent.translation`.custom_fields as `product.parent.translation.customFields`,
`product.parent.translation`.created_at as `product.parent.translation.createdAt`,
`product.parent.translation`.updated_at as `product.parent.translation.updatedAt`,
`product.parent.translation`.product_id as `product.parent.translation.productId`,
`product.parent.translation`.language_id as `product.parent.translation.languageId`,
`product.parent.translation`.product_version_id as `product.parent.translation.productVersionId`
FROM
`product_translation` `product.parent.translation`
WHERE
`product.parent.translation`.language_id = : languageId
) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id`
AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id
LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id`
LEFT JOIN `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_id`
LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id`
AND `product`.`version_id` = `product.cover`.`version_id`
LEFT JOIN `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id`
LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id`
LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`id`
LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id`
LEFT JOIN (
SELECT
`product.cover.media.translation`.media_id,
`product.cover.media.translation`.title as `product.cover.media.translation.title`,
`product.cover.media.translation`.alt as `product.cover.media.translation.alt`,
`product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`,
`product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`,
`product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`,
`product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`,
`product.cover.media.translation`.language_id as `product.cover.media.translation.languageId`
FROM
`media_translation` `product.cover.media.translation`
WHERE
`product.cover.media.translation`.language_id = : languageId
) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id`
WHERE
(
`product`.`version_id` = : version
)
AND (
`product`.`id` IN (: ids)
)
SELECT `product`.`id` as `product.id`, `product`.`version_id` as `product.versionId`, `product`.`parent_id` as `product.parentId`, `product`.`parent_version_id` as `product.parentVersionId`, COALESCE(`product`.`product_manufacturer_id`, `product.parent`.`product_manufacturer_id`) as `product.manufacturerId`, COALESCE(`product`.`product_manufacturer_version_id`, `product.parent`.`product_manufacturer_version_id`) as `product.productManufacturerVersionId`, COALESCE(`product`.`unit_id`, `product.parent`.`unit_id`) as `product.unitId`, COALESCE(`product`.`tax_id`, `product.parent`.`tax_id`) as `product.taxId`, COALESCE(`product`.`product_media_id`, `product.parent`.`product_media_id`) as `product.coverId`, COALESCE(`product`.`product_media_version_id`, `product.parent`.`product_media_version_id`) as `product.productMediaVersionId`, COALESCE(`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`) as `product.deliveryTimeId`, COALESCE(`product`.`product_feature_set_id`, `product.parent`.`product_feature_set_id`) as `product.featureSetId`, COALESCE(`product`.`canonical_product_id`, `product.parent`.`canonical_product_id`) as `product.canonicalProductId`, COALESCE(`product`.`cms_page_id`, `product.parent`.`cms_page_id`) as `product.cmsPageId`, COALESCE(`product`.`cms_page_version_id`, `product.parent`.`cms_page_version_id`) as `product.cmsPageVersionId`, `product.parent`.`price` as `product.price.inherited`, COALESCE(`product`.`price`, `product.parent`.`price`) as `product.price`, `product`.`product_number` as `product.productNumber`, `product`.`stock` as `product.stock`, COALESCE(`product`.`restock_time`, `product.parent`.`restock_time`) as `product.restockTime`, `product`.`auto_increment` as `product.autoIncrement`, COALESCE(`product`.`active`, `product.parent`.`active`) as `product.active`, `product`.`available_stock` as `product.availableStock`, `product`.`available` as `product.available`, COALESCE(`product`.`is_closeout`, `product.parent`.`is_closeout`) as `product.isCloseout`, `product`.`display_group` as `product.displayGroup`, `product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`, COALESCE(`product`.`configurator_group_config`, `product.parent`.`configurator_group_config`) as `product.configuratorGroupConfig`, COALESCE(`product`.`main_variant_id`, `product.parent`.`main_variant_id`) as `product.mainVariantId`, COALESCE(`product`.`display_parent`, `product.parent`.`display_parent`) as `product.displayParent`, `product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`, COALESCE(`product`.`variant_listing_config`, `product.parent`.`variant_listing_config`) as `product.variantListingConfig`, `product`.`variant_restrictions` as `product.variantRestrictions`, COALESCE(`product`.`manufacturer_number`, `product.parent`.`manufacturer_number`) as `product.manufacturerNumber`, COALESCE(`product`.`ean`, `product.parent`.`ean`) as `product.ean`, COALESCE(`product`.`purchase_steps`, `product.parent`.`purchase_steps`) as `product.purchaseSteps`, COALESCE(`product`.`max_purchase`, `product.parent`.`max_purchase`) as `product.maxPurchase`, COALESCE(`product`.`min_purchase`, `product.parent`.`min_purchase`) as `product.minPurchase`, COALESCE(`product`.`purchase_unit`, `product.parent`.`purchase_unit`) as `product.purchaseUnit`, COALESCE(`product`.`reference_unit`, `product.parent`.`reference_unit`) as `product.referenceUnit`, COALESCE(`product`.`shipping_free`, `product.parent`.`shipping_free`) as `product.shippingFree`, `product.parent`.`purchase_prices` as `product.purchasePrices.inherited`, COALESCE(`product`.`purchase_prices`, `product.parent`.`purchase_prices`) as `product.purchasePrices`, COALESCE(`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`) as `product.markAsTopseller`, COALESCE(`product`.`weight`, `product.parent`.`weight`) as `product.weight`, COALESCE(`product`.`width`, `product.parent`.`width`) as `product.width`, COALESCE(`product`.`height`, `product.parent`.`height`) as `product.height`, COALESCE(`product`.`length`, `product.parent`.`length`) as `product.length`, COALESCE(`product`.`release_date`, `product.parent`.`release_date`) as `product.releaseDate`, COALESCE(`product`.`rating_average`, `product.parent`.`rating_average`) as `product.ratingAverage`, `product.parent`.`category_tree` as `product.categoryTree.inherited`, COALESCE(`product`.`category_tree`, `product.parent`.`category_tree`) as `product.categoryTree`, `product.parent`.`property_ids` as `product.propertyIds.inherited`, COALESCE(`product`.`property_ids`, `product.parent`.`property_ids`) as `product.propertyIds`, `product.parent`.`option_ids` as `product.optionIds.inherited`, COALESCE(`product`.`option_ids`, `product.parent`.`option_ids`) as `product.optionIds`, `product.parent`.`stream_ids` as `product.streamIds.inherited`, COALESCE(`product`.`stream_ids`, `product.parent`.`stream_ids`) as `product.streamIds`, `product.parent`.`tag_ids` as `product.tagIds.inherited`, COALESCE(`product`.`tag_ids`, `product.parent`.`tag_ids`) as `product.tagIds`, `product.parent`.`category_ids` as `product.categoryIds.inherited`, COALESCE(`product`.`category_ids`, `product.parent`.`category_ids`) as `product.categoryIds`, `product`.`child_count` as `product.childCount`, COALESCE(`product`.`custom_field_set_selection_active`, `product.parent`.`custom_field_set_selection_active`) as `product.customFieldSetSelectionActive`, `product`.`sales` as `product.sales`, `product`.`states` as `product.states`, `product.tax`.`id` as `product.tax.id`, `product.tax`.`tax_rate` as `product.tax.taxRate`, `product.tax`.`name` as `product.tax.name`, `product.tax`.`position` as `product.tax.position`, `product.tax`.`custom_fields` as `product.tax.customFields`, `product.tax`.`created_at` as `product.tax.createdAt`, `product.tax`.`updated_at` as `product.tax.updatedAt`, `product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`, COALESCE(`product`.`cheapest_price`, `product.parent`.`cheapest_price`) as `product.cheapestPrice`, `product`.`created_at` as `product.createdAt`, `product`.`updated_at` as `product.updatedAt`, `product.bundle`.`id` as `product.bundle.id`, `product.bundle`.`product_id` as `product.bundle.productId`, `product.bundle`.`product_version_id` as `product.bundle.productVersionId`, `product.bundle`.`name` as `product.bundle.name`, `product.bundle`.`price_type` as `product.bundle.priceType`, `product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`, `product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`, `product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`, `product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`, `product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`, `product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`, `product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`, `product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`, `product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`, `product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`, `product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`, `product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`, `product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`, `product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`, `product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`, `product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`, `product.bundle`.`created_at` as `product.bundle.createdAt`, `product.bundle`.`updated_at` as `product.bundle.updatedAt`, `product.cover`.`id` as `product.cover.id`, `product.cover`.`version_id` as `product.cover.versionId`, `product.cover`.`product_id` as `product.cover.productId`, `product.cover`.`product_version_id` as `product.cover.productVersionId`, `product.cover`.`media_id` as `product.cover.mediaId`, `product.cover`.`position` as `product.cover.position`, `product.cover.media`.`id` as `product.cover.media.id`, `product.cover.media`.`user_id` as `product.cover.media.userId`, `product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`, `product.cover.media`.`mime_type` as `product.cover.media.mimeType`, `product.cover.media`.`file_extension` as `product.cover.media.fileExtension`, `product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`, `product.cover.media`.`file_name` as `product.cover.media.fileName`, `product.cover.media`.`file_size` as `product.cover.media.fileSize`, `product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`, `product.cover.media`.`meta_data` as `product.cover.media.metaData`, `product.cover.media`.`private` as `product.cover.media.private`, `product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`, `product.cover.media`.`created_at` as `product.cover.media.createdAt`, `product.cover.media`.`updated_at` as `product.cover.media.updatedAt`, `product.cover.media.translation.title`, COALESCE(`product.cover.media.translation.title`,`product.cover.media.translation.title`) as `product.cover.media.title`, `product.cover.media.translation.alt`, COALESCE(`product.cover.media.translation.alt`,`product.cover.media.translation.alt`) as `product.cover.media.alt`, `product.cover.media.translation.customFields`, COALESCE(`product.cover.media.translation.customFields`,`product.cover.media.translation.customFields`) as `product.cover.media.customFields`, `product.cover.media.translation.createdAt`, `product.cover.media.translation.updatedAt`, `product.cover.media.translation.mediaId`, `product.cover.media.translation.languageId`, `product.cover`.`custom_fields` as `product.cover.customFields`, `product.cover`.`created_at` as `product.cover.createdAt`, `product.cover`.`updated_at` as `product.cover.updatedAt`, `product.translation.metaDescription`, `product.parent.translation.metaDescription`, COALESCE(`product.translation.metaDescription`,`product.parent.translation.metaDescription`,`product.translation.metaDescription`) as `product.metaDescription`, `product.translation.name`, `product.parent.translation.name`, COALESCE(`product.translation.name`,`product.parent.translation.name`,`product.translation.name`) as `product.name`, `product.translation.keywords`, `product.parent.translation.keywords`, COALESCE(`product.translation.keywords`,`product.parent.translation.keywords`,`product.translation.keywords`) as `product.keywords`, `product.translation.description`, `product.parent.translation.description`, COALESCE(`product.translation.description`,`product.parent.translation.description`,`product.translation.description`) as `product.description`, `product.translation.metaTitle`, `product.parent.translation.metaTitle`, COALESCE(`product.translation.metaTitle`,`product.parent.translation.metaTitle`,`product.translation.metaTitle`) as `product.metaTitle`, `product.translation.packUnit`, `product.parent.translation.packUnit`, COALESCE(`product.translation.packUnit`,`product.parent.translation.packUnit`,`product.translation.packUnit`) as `product.packUnit`, `product.translation.packUnitPlural`, `product.parent.translation.packUnitPlural`, COALESCE(`product.translation.packUnitPlural`,`product.parent.translation.packUnitPlural`,`product.translation.packUnitPlural`) as `product.packUnitPlural`, `product.translation.customSearchKeywords`, `product.parent.translation.customSearchKeywords`, COALESCE(`product.translation.customSearchKeywords`,`product.parent.translation.customSearchKeywords`,`product.translation.customSearchKeywords`) as `product.customSearchKeywords`, `product.translation.slotConfig`, `product.parent.translation.slotConfig`, COALESCE(`product.translation.slotConfig`,`product.parent.translation.slotConfig`,`product.translation.slotConfig`) as `product.slotConfig`, `product.translation.customFields`, `product.parent.translation.customFields`, COALESCE(`product.translation.customFields`,`product.parent.translation.customFields`,`product.translation.customFields`) as `product.customFields`, `product.translation.createdAt`, `product.parent.translation.createdAt`, `product.translation.updatedAt`, `product.parent.translation.updatedAt`, `product.translation.productId`, `product.parent.translation.productId`, `product.translation.languageId`, `product.parent.translation.languageId`, `product.translation.productVersionId`, `product.parent.translation.productVersionId` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN (SELECT `product.translation`.product_id, `product.translation`.product_version_id, `product.translation`.meta_description as `product.translation.metaDescription`, `product.translation`.name as `product.translation.name`, `product.translation`.keywords as `product.translation.keywords`, `product.translation`.description as `product.translation.description`, `product.translation`.meta_title as `product.translation.metaTitle`, `product.translation`.pack_unit as `product.translation.packUnit`, `product.translation`.pack_unit_plural as `product.translation.packUnitPlural`, `product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`, `product.translation`.slot_config as `product.translation.slotConfig`, `product.translation`.custom_fields as `product.translation.customFields`, `product.translation`.created_at as `product.translation.createdAt`, `product.translation`.updated_at as `product.translation.updatedAt`, `product.translation`.product_id as `product.translation.productId`, `product.translation`.language_id as `product.translation.languageId`, `product.translation`.product_version_id as `product.translation.productVersionId` FROM `product_translation` `product.translation` WHERE `product.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id` AND `product.product_translation`.product_version_id = `product`.version_id LEFT JOIN (SELECT `product.parent.translation`.product_id, `product.parent.translation`.product_version_id, `product.parent.translation`.meta_description as `product.parent.translation.metaDescription`, `product.parent.translation`.name as `product.parent.translation.name`, `product.parent.translation`.keywords as `product.parent.translation.keywords`, `product.parent.translation`.description as `product.parent.translation.description`, `product.parent.translation`.meta_title as `product.parent.translation.metaTitle`, `product.parent.translation`.pack_unit as `product.parent.translation.packUnit`, `product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`, `product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`, `product.parent.translation`.slot_config as `product.parent.translation.slotConfig`, `product.parent.translation`.custom_fields as `product.parent.translation.customFields`, `product.parent.translation`.created_at as `product.parent.translation.createdAt`, `product.parent.translation`.updated_at as `product.parent.translation.updatedAt`, `product.parent.translation`.product_id as `product.parent.translation.productId`, `product.parent.translation`.language_id as `product.parent.translation.languageId`, `product.parent.translation`.product_version_id as `product.parent.translation.productVersionId` FROM `product_translation` `product.parent.translation` WHERE `product.parent.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id` AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id` LEFT JOIN `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_id` LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id` AND `product`.`version_id` = `product.cover`.`version_id` LEFT JOIN `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`id` LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id` LEFT JOIN (SELECT `product.cover.media.translation`.media_id, `product.cover.media.translation`.title as `product.cover.media.translation.title`, `product.cover.media.translation`.alt as `product.cover.media.translation.alt`, `product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`, `product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`, `product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`, `product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`, `product.cover.media.translation`.language_id as `product.cover.media.translation.languageId` FROM `media_translation` `product.cover.media.translation` WHERE `product.cover.media.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id` WHERE (`product`.`version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425) AND (`product`.`id` IN (0x03F4EF144EC44C3E822790C652F7C3F6));
array:51 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 316)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetch (line 148)"
4 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 93)"
5 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::read (line 257)"
6 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::read (line 286)"
7 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::_search (line 106)"
8 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::search (line 51)"
9 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepositoryForwardCompatibilityDecorator::search (line 103)"
10 => "Bodymed\Webshop\StoreFront\Subscriber\ProductExtensionSubscriber::addParentCover (line 230)"
11 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
12 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
13 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
14 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
15 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
16 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 33)"
17 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
18 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 208)"
19 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::read (line 133)"
20 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 49)"
21 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariantsOfProduct (line 30)"
22 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariants (line 224)"
23 => "Bodymed\Webshop\Core\Content\Product\Cms\ProductSliderCmsElementResolver::enrich (line 99)"
24 => "Shopware\Core\Content\Cms\DataResolver\CmsSlotsDataResolver::resolve (line 104)"
25 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::loadSlotData (line 94)"
26 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::load (line 102)"
27 => "Shopware\Core\Content\Category\SalesChannel\CategoryRoute::load (line 103)"
28 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 350)"
29 => "Shopware\Core\System\SystemConfig\SystemConfigService::trace (line 44)"
30 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 120)"
31 => "Shopware\Core\Framework\Adapter\Translation\Translator::trace (line 45)"
32 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 46)"
33 => "Shopware\Core\Framework\Adapter\Cache\CacheTagCollection::trace (line 46)"
34 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::trace (line 41)"
35 => "Shopware\Storefront\Framework\Cache\CacheTracer::Shopware\Storefront\Framework\Cache\{closure} (line 59)"
36 => "Shopware\Storefront\Theme\ThemeConfigValueAccessor::trace (line 42)"
37 => "Shopware\Storefront\Framework\Cache\CacheTracer::trace (line 104)"
38 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 72)"
39 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
40 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 109)"
41 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 59)"
42 => "Shopware\Core\Profiling\Profiler::trace (line 112)"
43 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::load (line 66)"
44 => "Shopware\Storefront\Page\Navigation\NavigationPageLoader::load (line 48)"
45 => "Shopware\Storefront\Controller\NavigationController::home (line 163)"
46 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
47 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
48 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
49 => "Shopware\Core\HttpKernel::doHandle (line 81)"
50 => "Shopware\Core\HttpKernel::handle (line 75)"
]
|
91 |
0.77 ms |
SELECT * FROM sales_channel_api_context WHERE (sales_channel_id = :salesChannelId) AND (token = :token) LIMIT 1
SELECT * FROM sales_channel_api_context WHERE (sales_channel_id = 0x620A2217F7474E619CB00AD39E804CCA) AND (token = 'FwsxT47353Zxmr7lp0KSfYcVNkg5VpYR') LIMIT 1;
array:58 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 165)"
3 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextPersister::load (line 69)"
4 => "Bodymed\Webshop\Core\Subscriber\ProductSubscriber::addCustomerProductFeatureExtension (line 230)"
5 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
6 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
7 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
8 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
9 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
10 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 33)"
11 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
12 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 269)"
13 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::read (line 286)"
14 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::_search (line 106)"
15 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::search (line 51)"
16 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepositoryForwardCompatibilityDecorator::search (line 103)"
17 => "Bodymed\Webshop\StoreFront\Subscriber\ProductExtensionSubscriber::addParentCover (line 230)"
18 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
19 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
20 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
21 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
22 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
23 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 33)"
24 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
25 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 208)"
26 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::read (line 133)"
27 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 49)"
28 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariantsOfProduct (line 30)"
29 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariants (line 224)"
30 => "Bodymed\Webshop\Core\Content\Product\Cms\ProductSliderCmsElementResolver::enrich (line 99)"
31 => "Shopware\Core\Content\Cms\DataResolver\CmsSlotsDataResolver::resolve (line 104)"
32 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::loadSlotData (line 94)"
33 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::load (line 102)"
34 => "Shopware\Core\Content\Category\SalesChannel\CategoryRoute::load (line 103)"
35 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 350)"
36 => "Shopware\Core\System\SystemConfig\SystemConfigService::trace (line 44)"
37 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 120)"
38 => "Shopware\Core\Framework\Adapter\Translation\Translator::trace (line 45)"
39 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 46)"
40 => "Shopware\Core\Framework\Adapter\Cache\CacheTagCollection::trace (line 46)"
41 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::trace (line 41)"
42 => "Shopware\Storefront\Framework\Cache\CacheTracer::Shopware\Storefront\Framework\Cache\{closure} (line 59)"
43 => "Shopware\Storefront\Theme\ThemeConfigValueAccessor::trace (line 42)"
44 => "Shopware\Storefront\Framework\Cache\CacheTracer::trace (line 104)"
45 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 72)"
46 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
47 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 109)"
48 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 59)"
49 => "Shopware\Core\Profiling\Profiler::trace (line 112)"
50 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::load (line 66)"
51 => "Shopware\Storefront\Page\Navigation\NavigationPageLoader::load (line 48)"
52 => "Shopware\Storefront\Controller\NavigationController::home (line 163)"
53 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
54 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
55 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
56 => "Shopware\Core\HttpKernel::doHandle (line 81)"
57 => "Shopware\Core\HttpKernel::handle (line 75)"
]
|
92 |
27.00 ms |
SELECT `product`.`id` as `product.id`, `product`.`version_id` as `product.versionId`, `product`.`parent_id` as `product.parentId`, `product`.`parent_version_id` as `product.parentVersionId`, COALESCE(`product`.`product_manufacturer_id`, `product.parent`.`product_manufacturer_id`) as `product.manufacturerId`, COALESCE(`product`.`product_manufacturer_version_id`, `product.parent`.`product_manufacturer_version_id`) as `product.productManufacturerVersionId`, COALESCE(`product`.`unit_id`, `product.parent`.`unit_id`) as `product.unitId`, COALESCE(`product`.`tax_id`, `product.parent`.`tax_id`) as `product.taxId`, COALESCE(`product`.`product_media_id`, `product.parent`.`product_media_id`) as `product.coverId`, COALESCE(`product`.`product_media_version_id`, `product.parent`.`product_media_version_id`) as `product.productMediaVersionId`, COALESCE(`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`) as `product.deliveryTimeId`, COALESCE(`product`.`product_feature_set_id`, `product.parent`.`product_feature_set_id`) as `product.featureSetId`, COALESCE(`product`.`canonical_product_id`, `product.parent`.`canonical_product_id`) as `product.canonicalProductId`, COALESCE(`product`.`cms_page_id`, `product.parent`.`cms_page_id`) as `product.cmsPageId`, COALESCE(`product`.`cms_page_version_id`, `product.parent`.`cms_page_version_id`) as `product.cmsPageVersionId`, `product.parent`.`price` as `product.price.inherited`, COALESCE(`product`.`price`, `product.parent`.`price`) as `product.price`, `product`.`product_number` as `product.productNumber`, `product`.`stock` as `product.stock`, COALESCE(`product`.`restock_time`, `product.parent`.`restock_time`) as `product.restockTime`, `product`.`auto_increment` as `product.autoIncrement`, COALESCE(`product`.`active`, `product.parent`.`active`) as `product.active`, `product`.`available_stock` as `product.availableStock`, `product`.`available` as `product.available`, COALESCE(`product`.`is_closeout`, `product.parent`.`is_closeout`) as `product.isCloseout`, `product`.`display_group` as `product.displayGroup`, `product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`, COALESCE(`product`.`configurator_group_config`, `product.parent`.`configurator_group_config`) as `product.configuratorGroupConfig`, COALESCE(`product`.`main_variant_id`, `product.parent`.`main_variant_id`) as `product.mainVariantId`, COALESCE(`product`.`display_parent`, `product.parent`.`display_parent`) as `product.displayParent`, `product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`, COALESCE(`product`.`variant_listing_config`, `product.parent`.`variant_listing_config`) as `product.variantListingConfig`, `product`.`variant_restrictions` as `product.variantRestrictions`, COALESCE(`product`.`manufacturer_number`, `product.parent`.`manufacturer_number`) as `product.manufacturerNumber`, COALESCE(`product`.`ean`, `product.parent`.`ean`) as `product.ean`, COALESCE(`product`.`purchase_steps`, `product.parent`.`purchase_steps`) as `product.purchaseSteps`, COALESCE(`product`.`max_purchase`, `product.parent`.`max_purchase`) as `product.maxPurchase`, COALESCE(`product`.`min_purchase`, `product.parent`.`min_purchase`) as `product.minPurchase`, COALESCE(`product`.`purchase_unit`, `product.parent`.`purchase_unit`) as `product.purchaseUnit`, COALESCE(`product`.`reference_unit`, `product.parent`.`reference_unit`) as `product.referenceUnit`, COALESCE(`product`.`shipping_free`, `product.parent`.`shipping_free`) as `product.shippingFree`, `product.parent`.`purchase_prices` as `product.purchasePrices.inherited`, COALESCE(`product`.`purchase_prices`, `product.parent`.`purchase_prices`) as `product.purchasePrices`, COALESCE(`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`) as `product.markAsTopseller`, COALESCE(`product`.`weight`, `product.parent`.`weight`) as `product.weight`, COALESCE(`product`.`width`, `product.parent`.`width`) as `product.width`, COALESCE(`product`.`height`, `product.parent`.`height`) as `product.height`, COALESCE(`product`.`length`, `product.parent`.`length`) as `product.length`, COALESCE(`product`.`release_date`, `product.parent`.`release_date`) as `product.releaseDate`, COALESCE(`product`.`rating_average`, `product.parent`.`rating_average`) as `product.ratingAverage`, `product.parent`.`category_tree` as `product.categoryTree.inherited`, COALESCE(`product`.`category_tree`, `product.parent`.`category_tree`) as `product.categoryTree`, `product.parent`.`property_ids` as `product.propertyIds.inherited`, COALESCE(`product`.`property_ids`, `product.parent`.`property_ids`) as `product.propertyIds`, `product.parent`.`option_ids` as `product.optionIds.inherited`, COALESCE(`product`.`option_ids`, `product.parent`.`option_ids`) as `product.optionIds`, `product.parent`.`stream_ids` as `product.streamIds.inherited`, COALESCE(`product`.`stream_ids`, `product.parent`.`stream_ids`) as `product.streamIds`, `product.parent`.`tag_ids` as `product.tagIds.inherited`, COALESCE(`product`.`tag_ids`, `product.parent`.`tag_ids`) as `product.tagIds`, `product.parent`.`category_ids` as `product.categoryIds.inherited`, COALESCE(`product`.`category_ids`, `product.parent`.`category_ids`) as `product.categoryIds`, `product`.`child_count` as `product.childCount`, COALESCE(`product`.`custom_field_set_selection_active`, `product.parent`.`custom_field_set_selection_active`) as `product.customFieldSetSelectionActive`, `product`.`sales` as `product.sales`, `product`.`states` as `product.states`, `product.tax`.`id` as `product.tax.id`, `product.tax`.`tax_rate` as `product.tax.taxRate`, `product.tax`.`name` as `product.tax.name`, `product.tax`.`position` as `product.tax.position`, `product.tax`.`custom_fields` as `product.tax.customFields`, `product.tax`.`created_at` as `product.tax.createdAt`, `product.tax`.`updated_at` as `product.tax.updatedAt`, `product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`, COALESCE(`product`.`cheapest_price`, `product.parent`.`cheapest_price`) as `product.cheapestPrice`, `product`.`created_at` as `product.createdAt`, `product`.`updated_at` as `product.updatedAt`, `product.bundle`.`id` as `product.bundle.id`, `product.bundle`.`product_id` as `product.bundle.productId`, `product.bundle`.`product_version_id` as `product.bundle.productVersionId`, `product.bundle`.`name` as `product.bundle.name`, `product.bundle`.`price_type` as `product.bundle.priceType`, `product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`, `product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`, `product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`, `product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`, `product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`, `product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`, `product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`, `product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`, `product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`, `product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`, `product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`, `product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`, `product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`, `product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`, `product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`, `product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`, `product.bundle`.`created_at` as `product.bundle.createdAt`, `product.bundle`.`updated_at` as `product.bundle.updatedAt`, `product.cover`.`id` as `product.cover.id`, `product.cover`.`version_id` as `product.cover.versionId`, `product.cover`.`product_id` as `product.cover.productId`, `product.cover`.`product_version_id` as `product.cover.productVersionId`, `product.cover`.`media_id` as `product.cover.mediaId`, `product.cover`.`position` as `product.cover.position`, `product.cover.media`.`id` as `product.cover.media.id`, `product.cover.media`.`user_id` as `product.cover.media.userId`, `product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`, `product.cover.media`.`mime_type` as `product.cover.media.mimeType`, `product.cover.media`.`file_extension` as `product.cover.media.fileExtension`, `product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`, `product.cover.media`.`file_name` as `product.cover.media.fileName`, `product.cover.media`.`file_size` as `product.cover.media.fileSize`, `product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`, `product.cover.media`.`meta_data` as `product.cover.media.metaData`, `product.cover.media`.`private` as `product.cover.media.private`, `product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`, `product.cover.media`.`created_at` as `product.cover.media.createdAt`, `product.cover.media`.`updated_at` as `product.cover.media.updatedAt`, `product.cover.media.translation.title`, COALESCE(`product.cover.media.translation.title`,`product.cover.media.translation.title`) as `product.cover.media.title`, `product.cover.media.translation.alt`, COALESCE(`product.cover.media.translation.alt`,`product.cover.media.translation.alt`) as `product.cover.media.alt`, `product.cover.media.translation.customFields`, COALESCE(`product.cover.media.translation.customFields`,`product.cover.media.translation.customFields`) as `product.cover.media.customFields`, `product.cover.media.translation.createdAt`, `product.cover.media.translation.updatedAt`, `product.cover.media.translation.mediaId`, `product.cover.media.translation.languageId`, `product.cover`.`custom_fields` as `product.cover.customFields`, `product.cover`.`created_at` as `product.cover.createdAt`, `product.cover`.`updated_at` as `product.cover.updatedAt`, `product.translation.metaDescription`, `product.parent.translation.metaDescription`, COALESCE(`product.translation.metaDescription`,`product.parent.translation.metaDescription`,`product.translation.metaDescription`) as `product.metaDescription`, `product.translation.name`, `product.parent.translation.name`, COALESCE(`product.translation.name`,`product.parent.translation.name`,`product.translation.name`) as `product.name`, `product.translation.keywords`, `product.parent.translation.keywords`, COALESCE(`product.translation.keywords`,`product.parent.translation.keywords`,`product.translation.keywords`) as `product.keywords`, `product.translation.description`, `product.parent.translation.description`, COALESCE(`product.translation.description`,`product.parent.translation.description`,`product.translation.description`) as `product.description`, `product.translation.metaTitle`, `product.parent.translation.metaTitle`, COALESCE(`product.translation.metaTitle`,`product.parent.translation.metaTitle`,`product.translation.metaTitle`) as `product.metaTitle`, `product.translation.packUnit`, `product.parent.translation.packUnit`, COALESCE(`product.translation.packUnit`,`product.parent.translation.packUnit`,`product.translation.packUnit`) as `product.packUnit`, `product.translation.packUnitPlural`, `product.parent.translation.packUnitPlural`, COALESCE(`product.translation.packUnitPlural`,`product.parent.translation.packUnitPlural`,`product.translation.packUnitPlural`) as `product.packUnitPlural`, `product.translation.customSearchKeywords`, `product.parent.translation.customSearchKeywords`, COALESCE(`product.translation.customSearchKeywords`,`product.parent.translation.customSearchKeywords`,`product.translation.customSearchKeywords`) as `product.customSearchKeywords`, `product.translation.slotConfig`, `product.parent.translation.slotConfig`, COALESCE(`product.translation.slotConfig`,`product.parent.translation.slotConfig`,`product.translation.slotConfig`) as `product.slotConfig`, `product.translation.customFields`, `product.parent.translation.customFields`, COALESCE(`product.translation.customFields`,`product.parent.translation.customFields`,`product.translation.customFields`) as `product.customFields`, `product.translation.createdAt`, `product.parent.translation.createdAt`, `product.translation.updatedAt`, `product.parent.translation.updatedAt`, `product.translation.productId`, `product.parent.translation.productId`, `product.translation.languageId`, `product.parent.translation.languageId`, `product.translation.productVersionId`, `product.parent.translation.productVersionId` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN (SELECT `product.translation`.product_id, `product.translation`.product_version_id, `product.translation`.meta_description as `product.translation.metaDescription`, `product.translation`.name as `product.translation.name`, `product.translation`.keywords as `product.translation.keywords`, `product.translation`.description as `product.translation.description`, `product.translation`.meta_title as `product.translation.metaTitle`, `product.translation`.pack_unit as `product.translation.packUnit`, `product.translation`.pack_unit_plural as `product.translation.packUnitPlural`, `product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`, `product.translation`.slot_config as `product.translation.slotConfig`, `product.translation`.custom_fields as `product.translation.customFields`, `product.translation`.created_at as `product.translation.createdAt`, `product.translation`.updated_at as `product.translation.updatedAt`, `product.translation`.product_id as `product.translation.productId`, `product.translation`.language_id as `product.translation.languageId`, `product.translation`.product_version_id as `product.translation.productVersionId` FROM `product_translation` `product.translation` WHERE `product.translation`.language_id = :languageId) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id` AND `product.product_translation`.product_version_id = `product`.version_id LEFT JOIN (SELECT `product.parent.translation`.product_id, `product.parent.translation`.product_version_id, `product.parent.translation`.meta_description as `product.parent.translation.metaDescription`, `product.parent.translation`.name as `product.parent.translation.name`, `product.parent.translation`.keywords as `product.parent.translation.keywords`, `product.parent.translation`.description as `product.parent.translation.description`, `product.parent.translation`.meta_title as `product.parent.translation.metaTitle`, `product.parent.translation`.pack_unit as `product.parent.translation.packUnit`, `product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`, `product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`, `product.parent.translation`.slot_config as `product.parent.translation.slotConfig`, `product.parent.translation`.custom_fields as `product.parent.translation.customFields`, `product.parent.translation`.created_at as `product.parent.translation.createdAt`, `product.parent.translation`.updated_at as `product.parent.translation.updatedAt`, `product.parent.translation`.product_id as `product.parent.translation.productId`, `product.parent.translation`.language_id as `product.parent.translation.languageId`, `product.parent.translation`.product_version_id as `product.parent.translation.productVersionId` FROM `product_translation` `product.parent.translation` WHERE `product.parent.translation`.language_id = :languageId) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id` AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id` LEFT JOIN `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_id` LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id` AND `product`.`version_id` = `product.cover`.`version_id` LEFT JOIN `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`id` LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id` LEFT JOIN (SELECT `product.cover.media.translation`.media_id, `product.cover.media.translation`.title as `product.cover.media.translation.title`, `product.cover.media.translation`.alt as `product.cover.media.translation.alt`, `product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`, `product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`, `product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`, `product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`, `product.cover.media.translation`.language_id as `product.cover.media.translation.languageId` FROM `media_translation` `product.cover.media.translation` WHERE `product.cover.media.translation`.language_id = :languageId) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id` WHERE (`product`.`version_id` = :version) AND (`product`.`id` IN (:ids))
SELECT
`product`.`id` as `product.id`,
`product`.`version_id` as `product.versionId`,
`product`.`parent_id` as `product.parentId`,
`product`.`parent_version_id` as `product.parentVersionId`,
COALESCE(
`product`.`product_manufacturer_id`,
`product.parent`.`product_manufacturer_id`
) as `product.manufacturerId`,
COALESCE(
`product`.`product_manufacturer_version_id`,
`product.parent`.`product_manufacturer_version_id`
) as `product.productManufacturerVersionId`,
COALESCE(
`product`.`unit_id`, `product.parent`.`unit_id`
) as `product.unitId`,
COALESCE(
`product`.`tax_id`, `product.parent`.`tax_id`
) as `product.taxId`,
COALESCE(
`product`.`product_media_id`, `product.parent`.`product_media_id`
) as `product.coverId`,
COALESCE(
`product`.`product_media_version_id`,
`product.parent`.`product_media_version_id`
) as `product.productMediaVersionId`,
COALESCE(
`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`
) as `product.deliveryTimeId`,
COALESCE(
`product`.`product_feature_set_id`,
`product.parent`.`product_feature_set_id`
) as `product.featureSetId`,
COALESCE(
`product`.`canonical_product_id`,
`product.parent`.`canonical_product_id`
) as `product.canonicalProductId`,
COALESCE(
`product`.`cms_page_id`, `product.parent`.`cms_page_id`
) as `product.cmsPageId`,
COALESCE(
`product`.`cms_page_version_id`,
`product.parent`.`cms_page_version_id`
) as `product.cmsPageVersionId`,
`product.parent`.`price` as `product.price.inherited`,
COALESCE(
`product`.`price`, `product.parent`.`price`
) as `product.price`,
`product`.`product_number` as `product.productNumber`,
`product`.`stock` as `product.stock`,
COALESCE(
`product`.`restock_time`, `product.parent`.`restock_time`
) as `product.restockTime`,
`product`.`auto_increment` as `product.autoIncrement`,
COALESCE(
`product`.`active`, `product.parent`.`active`
) as `product.active`,
`product`.`available_stock` as `product.availableStock`,
`product`.`available` as `product.available`,
COALESCE(
`product`.`is_closeout`, `product.parent`.`is_closeout`
) as `product.isCloseout`,
`product`.`display_group` as `product.displayGroup`,
`product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`,
COALESCE(
`product`.`configurator_group_config`,
`product.parent`.`configurator_group_config`
) as `product.configuratorGroupConfig`,
COALESCE(
`product`.`main_variant_id`, `product.parent`.`main_variant_id`
) as `product.mainVariantId`,
COALESCE(
`product`.`display_parent`, `product.parent`.`display_parent`
) as `product.displayParent`,
`product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`,
COALESCE(
`product`.`variant_listing_config`,
`product.parent`.`variant_listing_config`
) as `product.variantListingConfig`,
`product`.`variant_restrictions` as `product.variantRestrictions`,
COALESCE(
`product`.`manufacturer_number`,
`product.parent`.`manufacturer_number`
) as `product.manufacturerNumber`,
COALESCE(
`product`.`ean`, `product.parent`.`ean`
) as `product.ean`,
COALESCE(
`product`.`purchase_steps`, `product.parent`.`purchase_steps`
) as `product.purchaseSteps`,
COALESCE(
`product`.`max_purchase`, `product.parent`.`max_purchase`
) as `product.maxPurchase`,
COALESCE(
`product`.`min_purchase`, `product.parent`.`min_purchase`
) as `product.minPurchase`,
COALESCE(
`product`.`purchase_unit`, `product.parent`.`purchase_unit`
) as `product.purchaseUnit`,
COALESCE(
`product`.`reference_unit`, `product.parent`.`reference_unit`
) as `product.referenceUnit`,
COALESCE(
`product`.`shipping_free`, `product.parent`.`shipping_free`
) as `product.shippingFree`,
`product.parent`.`purchase_prices` as `product.purchasePrices.inherited`,
COALESCE(
`product`.`purchase_prices`, `product.parent`.`purchase_prices`
) as `product.purchasePrices`,
COALESCE(
`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`
) as `product.markAsTopseller`,
COALESCE(
`product`.`weight`, `product.parent`.`weight`
) as `product.weight`,
COALESCE(
`product`.`width`, `product.parent`.`width`
) as `product.width`,
COALESCE(
`product`.`height`, `product.parent`.`height`
) as `product.height`,
COALESCE(
`product`.`length`, `product.parent`.`length`
) as `product.length`,
COALESCE(
`product`.`release_date`, `product.parent`.`release_date`
) as `product.releaseDate`,
COALESCE(
`product`.`rating_average`, `product.parent`.`rating_average`
) as `product.ratingAverage`,
`product.parent`.`category_tree` as `product.categoryTree.inherited`,
COALESCE(
`product`.`category_tree`, `product.parent`.`category_tree`
) as `product.categoryTree`,
`product.parent`.`property_ids` as `product.propertyIds.inherited`,
COALESCE(
`product`.`property_ids`, `product.parent`.`property_ids`
) as `product.propertyIds`,
`product.parent`.`option_ids` as `product.optionIds.inherited`,
COALESCE(
`product`.`option_ids`, `product.parent`.`option_ids`
) as `product.optionIds`,
`product.parent`.`stream_ids` as `product.streamIds.inherited`,
COALESCE(
`product`.`stream_ids`, `product.parent`.`stream_ids`
) as `product.streamIds`,
`product.parent`.`tag_ids` as `product.tagIds.inherited`,
COALESCE(
`product`.`tag_ids`, `product.parent`.`tag_ids`
) as `product.tagIds`,
`product.parent`.`category_ids` as `product.categoryIds.inherited`,
COALESCE(
`product`.`category_ids`, `product.parent`.`category_ids`
) as `product.categoryIds`,
`product`.`child_count` as `product.childCount`,
COALESCE(
`product`.`custom_field_set_selection_active`,
`product.parent`.`custom_field_set_selection_active`
) as `product.customFieldSetSelectionActive`,
`product`.`sales` as `product.sales`,
`product`.`states` as `product.states`,
`product.tax`.`id` as `product.tax.id`,
`product.tax`.`tax_rate` as `product.tax.taxRate`,
`product.tax`.`name` as `product.tax.name`,
`product.tax`.`position` as `product.tax.position`,
`product.tax`.`custom_fields` as `product.tax.customFields`,
`product.tax`.`created_at` as `product.tax.createdAt`,
`product.tax`.`updated_at` as `product.tax.updatedAt`,
`product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`,
COALESCE(
`product`.`cheapest_price`, `product.parent`.`cheapest_price`
) as `product.cheapestPrice`,
`product`.`created_at` as `product.createdAt`,
`product`.`updated_at` as `product.updatedAt`,
`product.bundle`.`id` as `product.bundle.id`,
`product.bundle`.`product_id` as `product.bundle.productId`,
`product.bundle`.`product_version_id` as `product.bundle.productVersionId`,
`product.bundle`.`name` as `product.bundle.name`,
`product.bundle`.`price_type` as `product.bundle.priceType`,
`product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`,
`product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`,
`product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`,
`product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`,
`product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`,
`product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`,
`product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`,
`product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`,
`product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`,
`product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`,
`product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`,
`product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`,
`product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`,
`product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`,
`product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`,
`product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`,
`product.bundle`.`created_at` as `product.bundle.createdAt`,
`product.bundle`.`updated_at` as `product.bundle.updatedAt`,
`product.cover`.`id` as `product.cover.id`,
`product.cover`.`version_id` as `product.cover.versionId`,
`product.cover`.`product_id` as `product.cover.productId`,
`product.cover`.`product_version_id` as `product.cover.productVersionId`,
`product.cover`.`media_id` as `product.cover.mediaId`,
`product.cover`.`position` as `product.cover.position`,
`product.cover.media`.`id` as `product.cover.media.id`,
`product.cover.media`.`user_id` as `product.cover.media.userId`,
`product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`,
`product.cover.media`.`mime_type` as `product.cover.media.mimeType`,
`product.cover.media`.`file_extension` as `product.cover.media.fileExtension`,
`product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`,
`product.cover.media`.`file_name` as `product.cover.media.fileName`,
`product.cover.media`.`file_size` as `product.cover.media.fileSize`,
`product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`,
`product.cover.media`.`meta_data` as `product.cover.media.metaData`,
`product.cover.media`.`private` as `product.cover.media.private`,
`product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`,
`product.cover.media`.`created_at` as `product.cover.media.createdAt`,
`product.cover.media`.`updated_at` as `product.cover.media.updatedAt`,
`product.cover.media.translation.title`,
COALESCE(
`product.cover.media.translation.title`,
`product.cover.media.translation.title`
) as `product.cover.media.title`,
`product.cover.media.translation.alt`,
COALESCE(
`product.cover.media.translation.alt`,
`product.cover.media.translation.alt`
) as `product.cover.media.alt`,
`product.cover.media.translation.customFields`,
COALESCE(
`product.cover.media.translation.customFields`,
`product.cover.media.translation.customFields`
) as `product.cover.media.customFields`,
`product.cover.media.translation.createdAt`,
`product.cover.media.translation.updatedAt`,
`product.cover.media.translation.mediaId`,
`product.cover.media.translation.languageId`,
`product.cover`.`custom_fields` as `product.cover.customFields`,
`product.cover`.`created_at` as `product.cover.createdAt`,
`product.cover`.`updated_at` as `product.cover.updatedAt`,
`product.translation.metaDescription`,
`product.parent.translation.metaDescription`,
COALESCE(
`product.translation.metaDescription`,
`product.parent.translation.metaDescription`,
`product.translation.metaDescription`
) as `product.metaDescription`,
`product.translation.name`,
`product.parent.translation.name`,
COALESCE(
`product.translation.name`, `product.parent.translation.name`,
`product.translation.name`
) as `product.name`,
`product.translation.keywords`,
`product.parent.translation.keywords`,
COALESCE(
`product.translation.keywords`,
`product.parent.translation.keywords`,
`product.translation.keywords`
) as `product.keywords`,
`product.translation.description`,
`product.parent.translation.description`,
COALESCE(
`product.translation.description`,
`product.parent.translation.description`,
`product.translation.description`
) as `product.description`,
`product.translation.metaTitle`,
`product.parent.translation.metaTitle`,
COALESCE(
`product.translation.metaTitle`,
`product.parent.translation.metaTitle`,
`product.translation.metaTitle`
) as `product.metaTitle`,
`product.translation.packUnit`,
`product.parent.translation.packUnit`,
COALESCE(
`product.translation.packUnit`,
`product.parent.translation.packUnit`,
`product.translation.packUnit`
) as `product.packUnit`,
`product.translation.packUnitPlural`,
`product.parent.translation.packUnitPlural`,
COALESCE(
`product.translation.packUnitPlural`,
`product.parent.translation.packUnitPlural`,
`product.translation.packUnitPlural`
) as `product.packUnitPlural`,
`product.translation.customSearchKeywords`,
`product.parent.translation.customSearchKeywords`,
COALESCE(
`product.translation.customSearchKeywords`,
`product.parent.translation.customSearchKeywords`,
`product.translation.customSearchKeywords`
) as `product.customSearchKeywords`,
`product.translation.slotConfig`,
`product.parent.translation.slotConfig`,
COALESCE(
`product.translation.slotConfig`,
`product.parent.translation.slotConfig`,
`product.translation.slotConfig`
) as `product.slotConfig`,
`product.translation.customFields`,
`product.parent.translation.customFields`,
COALESCE(
`product.translation.customFields`,
`product.parent.translation.customFields`,
`product.translation.customFields`
) as `product.customFields`,
`product.translation.createdAt`,
`product.parent.translation.createdAt`,
`product.translation.updatedAt`,
`product.parent.translation.updatedAt`,
`product.translation.productId`,
`product.parent.translation.productId`,
`product.translation.languageId`,
`product.parent.translation.languageId`,
`product.translation.productVersionId`,
`product.parent.translation.productVersionId`
FROM
`product`
LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id`
AND `product`.`version_id` = `product.parent`.`version_id`
LEFT JOIN (
SELECT
`product.translation`.product_id,
`product.translation`.product_version_id,
`product.translation`.meta_description as `product.translation.metaDescription`,
`product.translation`.name as `product.translation.name`,
`product.translation`.keywords as `product.translation.keywords`,
`product.translation`.description as `product.translation.description`,
`product.translation`.meta_title as `product.translation.metaTitle`,
`product.translation`.pack_unit as `product.translation.packUnit`,
`product.translation`.pack_unit_plural as `product.translation.packUnitPlural`,
`product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`,
`product.translation`.slot_config as `product.translation.slotConfig`,
`product.translation`.custom_fields as `product.translation.customFields`,
`product.translation`.created_at as `product.translation.createdAt`,
`product.translation`.updated_at as `product.translation.updatedAt`,
`product.translation`.product_id as `product.translation.productId`,
`product.translation`.language_id as `product.translation.languageId`,
`product.translation`.product_version_id as `product.translation.productVersionId`
FROM
`product_translation` `product.translation`
WHERE
`product.translation`.language_id = : languageId
) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id`
AND `product.product_translation`.product_version_id = `product`.version_id
LEFT JOIN (
SELECT
`product.parent.translation`.product_id,
`product.parent.translation`.product_version_id,
`product.parent.translation`.meta_description as `product.parent.translation.metaDescription`,
`product.parent.translation`.name as `product.parent.translation.name`,
`product.parent.translation`.keywords as `product.parent.translation.keywords`,
`product.parent.translation`.description as `product.parent.translation.description`,
`product.parent.translation`.meta_title as `product.parent.translation.metaTitle`,
`product.parent.translation`.pack_unit as `product.parent.translation.packUnit`,
`product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`,
`product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`,
`product.parent.translation`.slot_config as `product.parent.translation.slotConfig`,
`product.parent.translation`.custom_fields as `product.parent.translation.customFields`,
`product.parent.translation`.created_at as `product.parent.translation.createdAt`,
`product.parent.translation`.updated_at as `product.parent.translation.updatedAt`,
`product.parent.translation`.product_id as `product.parent.translation.productId`,
`product.parent.translation`.language_id as `product.parent.translation.languageId`,
`product.parent.translation`.product_version_id as `product.parent.translation.productVersionId`
FROM
`product_translation` `product.parent.translation`
WHERE
`product.parent.translation`.language_id = : languageId
) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id`
AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id
LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id`
LEFT JOIN `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_id`
LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id`
AND `product`.`version_id` = `product.cover`.`version_id`
LEFT JOIN `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id`
LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id`
LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`id`
LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id`
LEFT JOIN (
SELECT
`product.cover.media.translation`.media_id,
`product.cover.media.translation`.title as `product.cover.media.translation.title`,
`product.cover.media.translation`.alt as `product.cover.media.translation.alt`,
`product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`,
`product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`,
`product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`,
`product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`,
`product.cover.media.translation`.language_id as `product.cover.media.translation.languageId`
FROM
`media_translation` `product.cover.media.translation`
WHERE
`product.cover.media.translation`.language_id = : languageId
) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id`
WHERE
(
`product`.`version_id` = : version
)
AND (
`product`.`id` IN (: ids)
)
SELECT `product`.`id` as `product.id`, `product`.`version_id` as `product.versionId`, `product`.`parent_id` as `product.parentId`, `product`.`parent_version_id` as `product.parentVersionId`, COALESCE(`product`.`product_manufacturer_id`, `product.parent`.`product_manufacturer_id`) as `product.manufacturerId`, COALESCE(`product`.`product_manufacturer_version_id`, `product.parent`.`product_manufacturer_version_id`) as `product.productManufacturerVersionId`, COALESCE(`product`.`unit_id`, `product.parent`.`unit_id`) as `product.unitId`, COALESCE(`product`.`tax_id`, `product.parent`.`tax_id`) as `product.taxId`, COALESCE(`product`.`product_media_id`, `product.parent`.`product_media_id`) as `product.coverId`, COALESCE(`product`.`product_media_version_id`, `product.parent`.`product_media_version_id`) as `product.productMediaVersionId`, COALESCE(`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`) as `product.deliveryTimeId`, COALESCE(`product`.`product_feature_set_id`, `product.parent`.`product_feature_set_id`) as `product.featureSetId`, COALESCE(`product`.`canonical_product_id`, `product.parent`.`canonical_product_id`) as `product.canonicalProductId`, COALESCE(`product`.`cms_page_id`, `product.parent`.`cms_page_id`) as `product.cmsPageId`, COALESCE(`product`.`cms_page_version_id`, `product.parent`.`cms_page_version_id`) as `product.cmsPageVersionId`, `product.parent`.`price` as `product.price.inherited`, COALESCE(`product`.`price`, `product.parent`.`price`) as `product.price`, `product`.`product_number` as `product.productNumber`, `product`.`stock` as `product.stock`, COALESCE(`product`.`restock_time`, `product.parent`.`restock_time`) as `product.restockTime`, `product`.`auto_increment` as `product.autoIncrement`, COALESCE(`product`.`active`, `product.parent`.`active`) as `product.active`, `product`.`available_stock` as `product.availableStock`, `product`.`available` as `product.available`, COALESCE(`product`.`is_closeout`, `product.parent`.`is_closeout`) as `product.isCloseout`, `product`.`display_group` as `product.displayGroup`, `product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`, COALESCE(`product`.`configurator_group_config`, `product.parent`.`configurator_group_config`) as `product.configuratorGroupConfig`, COALESCE(`product`.`main_variant_id`, `product.parent`.`main_variant_id`) as `product.mainVariantId`, COALESCE(`product`.`display_parent`, `product.parent`.`display_parent`) as `product.displayParent`, `product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`, COALESCE(`product`.`variant_listing_config`, `product.parent`.`variant_listing_config`) as `product.variantListingConfig`, `product`.`variant_restrictions` as `product.variantRestrictions`, COALESCE(`product`.`manufacturer_number`, `product.parent`.`manufacturer_number`) as `product.manufacturerNumber`, COALESCE(`product`.`ean`, `product.parent`.`ean`) as `product.ean`, COALESCE(`product`.`purchase_steps`, `product.parent`.`purchase_steps`) as `product.purchaseSteps`, COALESCE(`product`.`max_purchase`, `product.parent`.`max_purchase`) as `product.maxPurchase`, COALESCE(`product`.`min_purchase`, `product.parent`.`min_purchase`) as `product.minPurchase`, COALESCE(`product`.`purchase_unit`, `product.parent`.`purchase_unit`) as `product.purchaseUnit`, COALESCE(`product`.`reference_unit`, `product.parent`.`reference_unit`) as `product.referenceUnit`, COALESCE(`product`.`shipping_free`, `product.parent`.`shipping_free`) as `product.shippingFree`, `product.parent`.`purchase_prices` as `product.purchasePrices.inherited`, COALESCE(`product`.`purchase_prices`, `product.parent`.`purchase_prices`) as `product.purchasePrices`, COALESCE(`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`) as `product.markAsTopseller`, COALESCE(`product`.`weight`, `product.parent`.`weight`) as `product.weight`, COALESCE(`product`.`width`, `product.parent`.`width`) as `product.width`, COALESCE(`product`.`height`, `product.parent`.`height`) as `product.height`, COALESCE(`product`.`length`, `product.parent`.`length`) as `product.length`, COALESCE(`product`.`release_date`, `product.parent`.`release_date`) as `product.releaseDate`, COALESCE(`product`.`rating_average`, `product.parent`.`rating_average`) as `product.ratingAverage`, `product.parent`.`category_tree` as `product.categoryTree.inherited`, COALESCE(`product`.`category_tree`, `product.parent`.`category_tree`) as `product.categoryTree`, `product.parent`.`property_ids` as `product.propertyIds.inherited`, COALESCE(`product`.`property_ids`, `product.parent`.`property_ids`) as `product.propertyIds`, `product.parent`.`option_ids` as `product.optionIds.inherited`, COALESCE(`product`.`option_ids`, `product.parent`.`option_ids`) as `product.optionIds`, `product.parent`.`stream_ids` as `product.streamIds.inherited`, COALESCE(`product`.`stream_ids`, `product.parent`.`stream_ids`) as `product.streamIds`, `product.parent`.`tag_ids` as `product.tagIds.inherited`, COALESCE(`product`.`tag_ids`, `product.parent`.`tag_ids`) as `product.tagIds`, `product.parent`.`category_ids` as `product.categoryIds.inherited`, COALESCE(`product`.`category_ids`, `product.parent`.`category_ids`) as `product.categoryIds`, `product`.`child_count` as `product.childCount`, COALESCE(`product`.`custom_field_set_selection_active`, `product.parent`.`custom_field_set_selection_active`) as `product.customFieldSetSelectionActive`, `product`.`sales` as `product.sales`, `product`.`states` as `product.states`, `product.tax`.`id` as `product.tax.id`, `product.tax`.`tax_rate` as `product.tax.taxRate`, `product.tax`.`name` as `product.tax.name`, `product.tax`.`position` as `product.tax.position`, `product.tax`.`custom_fields` as `product.tax.customFields`, `product.tax`.`created_at` as `product.tax.createdAt`, `product.tax`.`updated_at` as `product.tax.updatedAt`, `product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`, COALESCE(`product`.`cheapest_price`, `product.parent`.`cheapest_price`) as `product.cheapestPrice`, `product`.`created_at` as `product.createdAt`, `product`.`updated_at` as `product.updatedAt`, `product.bundle`.`id` as `product.bundle.id`, `product.bundle`.`product_id` as `product.bundle.productId`, `product.bundle`.`product_version_id` as `product.bundle.productVersionId`, `product.bundle`.`name` as `product.bundle.name`, `product.bundle`.`price_type` as `product.bundle.priceType`, `product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`, `product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`, `product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`, `product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`, `product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`, `product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`, `product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`, `product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`, `product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`, `product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`, `product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`, `product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`, `product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`, `product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`, `product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`, `product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`, `product.bundle`.`created_at` as `product.bundle.createdAt`, `product.bundle`.`updated_at` as `product.bundle.updatedAt`, `product.cover`.`id` as `product.cover.id`, `product.cover`.`version_id` as `product.cover.versionId`, `product.cover`.`product_id` as `product.cover.productId`, `product.cover`.`product_version_id` as `product.cover.productVersionId`, `product.cover`.`media_id` as `product.cover.mediaId`, `product.cover`.`position` as `product.cover.position`, `product.cover.media`.`id` as `product.cover.media.id`, `product.cover.media`.`user_id` as `product.cover.media.userId`, `product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`, `product.cover.media`.`mime_type` as `product.cover.media.mimeType`, `product.cover.media`.`file_extension` as `product.cover.media.fileExtension`, `product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`, `product.cover.media`.`file_name` as `product.cover.media.fileName`, `product.cover.media`.`file_size` as `product.cover.media.fileSize`, `product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`, `product.cover.media`.`meta_data` as `product.cover.media.metaData`, `product.cover.media`.`private` as `product.cover.media.private`, `product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`, `product.cover.media`.`created_at` as `product.cover.media.createdAt`, `product.cover.media`.`updated_at` as `product.cover.media.updatedAt`, `product.cover.media.translation.title`, COALESCE(`product.cover.media.translation.title`,`product.cover.media.translation.title`) as `product.cover.media.title`, `product.cover.media.translation.alt`, COALESCE(`product.cover.media.translation.alt`,`product.cover.media.translation.alt`) as `product.cover.media.alt`, `product.cover.media.translation.customFields`, COALESCE(`product.cover.media.translation.customFields`,`product.cover.media.translation.customFields`) as `product.cover.media.customFields`, `product.cover.media.translation.createdAt`, `product.cover.media.translation.updatedAt`, `product.cover.media.translation.mediaId`, `product.cover.media.translation.languageId`, `product.cover`.`custom_fields` as `product.cover.customFields`, `product.cover`.`created_at` as `product.cover.createdAt`, `product.cover`.`updated_at` as `product.cover.updatedAt`, `product.translation.metaDescription`, `product.parent.translation.metaDescription`, COALESCE(`product.translation.metaDescription`,`product.parent.translation.metaDescription`,`product.translation.metaDescription`) as `product.metaDescription`, `product.translation.name`, `product.parent.translation.name`, COALESCE(`product.translation.name`,`product.parent.translation.name`,`product.translation.name`) as `product.name`, `product.translation.keywords`, `product.parent.translation.keywords`, COALESCE(`product.translation.keywords`,`product.parent.translation.keywords`,`product.translation.keywords`) as `product.keywords`, `product.translation.description`, `product.parent.translation.description`, COALESCE(`product.translation.description`,`product.parent.translation.description`,`product.translation.description`) as `product.description`, `product.translation.metaTitle`, `product.parent.translation.metaTitle`, COALESCE(`product.translation.metaTitle`,`product.parent.translation.metaTitle`,`product.translation.metaTitle`) as `product.metaTitle`, `product.translation.packUnit`, `product.parent.translation.packUnit`, COALESCE(`product.translation.packUnit`,`product.parent.translation.packUnit`,`product.translation.packUnit`) as `product.packUnit`, `product.translation.packUnitPlural`, `product.parent.translation.packUnitPlural`, COALESCE(`product.translation.packUnitPlural`,`product.parent.translation.packUnitPlural`,`product.translation.packUnitPlural`) as `product.packUnitPlural`, `product.translation.customSearchKeywords`, `product.parent.translation.customSearchKeywords`, COALESCE(`product.translation.customSearchKeywords`,`product.parent.translation.customSearchKeywords`,`product.translation.customSearchKeywords`) as `product.customSearchKeywords`, `product.translation.slotConfig`, `product.parent.translation.slotConfig`, COALESCE(`product.translation.slotConfig`,`product.parent.translation.slotConfig`,`product.translation.slotConfig`) as `product.slotConfig`, `product.translation.customFields`, `product.parent.translation.customFields`, COALESCE(`product.translation.customFields`,`product.parent.translation.customFields`,`product.translation.customFields`) as `product.customFields`, `product.translation.createdAt`, `product.parent.translation.createdAt`, `product.translation.updatedAt`, `product.parent.translation.updatedAt`, `product.translation.productId`, `product.parent.translation.productId`, `product.translation.languageId`, `product.parent.translation.languageId`, `product.translation.productVersionId`, `product.parent.translation.productVersionId` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN (SELECT `product.translation`.product_id, `product.translation`.product_version_id, `product.translation`.meta_description as `product.translation.metaDescription`, `product.translation`.name as `product.translation.name`, `product.translation`.keywords as `product.translation.keywords`, `product.translation`.description as `product.translation.description`, `product.translation`.meta_title as `product.translation.metaTitle`, `product.translation`.pack_unit as `product.translation.packUnit`, `product.translation`.pack_unit_plural as `product.translation.packUnitPlural`, `product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`, `product.translation`.slot_config as `product.translation.slotConfig`, `product.translation`.custom_fields as `product.translation.customFields`, `product.translation`.created_at as `product.translation.createdAt`, `product.translation`.updated_at as `product.translation.updatedAt`, `product.translation`.product_id as `product.translation.productId`, `product.translation`.language_id as `product.translation.languageId`, `product.translation`.product_version_id as `product.translation.productVersionId` FROM `product_translation` `product.translation` WHERE `product.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id` AND `product.product_translation`.product_version_id = `product`.version_id LEFT JOIN (SELECT `product.parent.translation`.product_id, `product.parent.translation`.product_version_id, `product.parent.translation`.meta_description as `product.parent.translation.metaDescription`, `product.parent.translation`.name as `product.parent.translation.name`, `product.parent.translation`.keywords as `product.parent.translation.keywords`, `product.parent.translation`.description as `product.parent.translation.description`, `product.parent.translation`.meta_title as `product.parent.translation.metaTitle`, `product.parent.translation`.pack_unit as `product.parent.translation.packUnit`, `product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`, `product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`, `product.parent.translation`.slot_config as `product.parent.translation.slotConfig`, `product.parent.translation`.custom_fields as `product.parent.translation.customFields`, `product.parent.translation`.created_at as `product.parent.translation.createdAt`, `product.parent.translation`.updated_at as `product.parent.translation.updatedAt`, `product.parent.translation`.product_id as `product.parent.translation.productId`, `product.parent.translation`.language_id as `product.parent.translation.languageId`, `product.parent.translation`.product_version_id as `product.parent.translation.productVersionId` FROM `product_translation` `product.parent.translation` WHERE `product.parent.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id` AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id` LEFT JOIN `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_id` LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id` AND `product`.`version_id` = `product.cover`.`version_id` LEFT JOIN `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`id` LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id` LEFT JOIN (SELECT `product.cover.media.translation`.media_id, `product.cover.media.translation`.title as `product.cover.media.translation.title`, `product.cover.media.translation`.alt as `product.cover.media.translation.alt`, `product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`, `product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`, `product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`, `product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`, `product.cover.media.translation`.language_id as `product.cover.media.translation.languageId` FROM `media_translation` `product.cover.media.translation` WHERE `product.cover.media.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id` WHERE (`product`.`version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425) AND (`product`.`id` IN (0x03F4EF144EC44C3E822790C652F7C3F6));
array:51 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 316)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetch (line 148)"
4 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 93)"
5 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::read (line 257)"
6 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::read (line 286)"
7 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::_search (line 106)"
8 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::search (line 51)"
9 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepositoryForwardCompatibilityDecorator::search (line 103)"
10 => "Bodymed\Webshop\StoreFront\Subscriber\ProductExtensionSubscriber::addParentCover (line 230)"
11 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
12 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
13 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
14 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
15 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
16 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 33)"
17 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
18 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 208)"
19 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::read (line 133)"
20 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 49)"
21 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariantsOfProduct (line 30)"
22 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariants (line 224)"
23 => "Bodymed\Webshop\Core\Content\Product\Cms\ProductSliderCmsElementResolver::enrich (line 99)"
24 => "Shopware\Core\Content\Cms\DataResolver\CmsSlotsDataResolver::resolve (line 104)"
25 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::loadSlotData (line 94)"
26 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::load (line 102)"
27 => "Shopware\Core\Content\Category\SalesChannel\CategoryRoute::load (line 103)"
28 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 350)"
29 => "Shopware\Core\System\SystemConfig\SystemConfigService::trace (line 44)"
30 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 120)"
31 => "Shopware\Core\Framework\Adapter\Translation\Translator::trace (line 45)"
32 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 46)"
33 => "Shopware\Core\Framework\Adapter\Cache\CacheTagCollection::trace (line 46)"
34 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::trace (line 41)"
35 => "Shopware\Storefront\Framework\Cache\CacheTracer::Shopware\Storefront\Framework\Cache\{closure} (line 59)"
36 => "Shopware\Storefront\Theme\ThemeConfigValueAccessor::trace (line 42)"
37 => "Shopware\Storefront\Framework\Cache\CacheTracer::trace (line 104)"
38 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 72)"
39 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
40 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 109)"
41 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 59)"
42 => "Shopware\Core\Profiling\Profiler::trace (line 112)"
43 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::load (line 66)"
44 => "Shopware\Storefront\Page\Navigation\NavigationPageLoader::load (line 48)"
45 => "Shopware\Storefront\Controller\NavigationController::home (line 163)"
46 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
47 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
48 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
49 => "Shopware\Core\HttpKernel::doHandle (line 81)"
50 => "Shopware\Core\HttpKernel::handle (line 75)"
]
|
93 |
0.77 ms |
SELECT * FROM sales_channel_api_context WHERE (sales_channel_id = :salesChannelId) AND (token = :token) LIMIT 1
SELECT * FROM sales_channel_api_context WHERE (sales_channel_id = 0x620A2217F7474E619CB00AD39E804CCA) AND (token = 'FwsxT47353Zxmr7lp0KSfYcVNkg5VpYR') LIMIT 1;
array:58 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 165)"
3 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextPersister::load (line 69)"
4 => "Bodymed\Webshop\Core\Subscriber\ProductSubscriber::addCustomerProductFeatureExtension (line 230)"
5 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
6 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
7 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
8 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
9 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
10 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 33)"
11 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
12 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 269)"
13 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::read (line 286)"
14 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::_search (line 106)"
15 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::search (line 51)"
16 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepositoryForwardCompatibilityDecorator::search (line 103)"
17 => "Bodymed\Webshop\StoreFront\Subscriber\ProductExtensionSubscriber::addParentCover (line 230)"
18 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
19 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
20 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
21 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
22 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
23 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 33)"
24 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
25 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 208)"
26 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::read (line 133)"
27 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 49)"
28 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariantsOfProduct (line 30)"
29 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariants (line 224)"
30 => "Bodymed\Webshop\Core\Content\Product\Cms\ProductSliderCmsElementResolver::enrich (line 99)"
31 => "Shopware\Core\Content\Cms\DataResolver\CmsSlotsDataResolver::resolve (line 104)"
32 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::loadSlotData (line 94)"
33 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::load (line 102)"
34 => "Shopware\Core\Content\Category\SalesChannel\CategoryRoute::load (line 103)"
35 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 350)"
36 => "Shopware\Core\System\SystemConfig\SystemConfigService::trace (line 44)"
37 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 120)"
38 => "Shopware\Core\Framework\Adapter\Translation\Translator::trace (line 45)"
39 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 46)"
40 => "Shopware\Core\Framework\Adapter\Cache\CacheTagCollection::trace (line 46)"
41 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::trace (line 41)"
42 => "Shopware\Storefront\Framework\Cache\CacheTracer::Shopware\Storefront\Framework\Cache\{closure} (line 59)"
43 => "Shopware\Storefront\Theme\ThemeConfigValueAccessor::trace (line 42)"
44 => "Shopware\Storefront\Framework\Cache\CacheTracer::trace (line 104)"
45 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 72)"
46 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
47 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 109)"
48 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 59)"
49 => "Shopware\Core\Profiling\Profiler::trace (line 112)"
50 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::load (line 66)"
51 => "Shopware\Storefront\Page\Navigation\NavigationPageLoader::load (line 48)"
52 => "Shopware\Storefront\Controller\NavigationController::home (line 163)"
53 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
54 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
55 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
56 => "Shopware\Core\HttpKernel::doHandle (line 81)"
57 => "Shopware\Core\HttpKernel::handle (line 75)"
]
|
94 |
30.22 ms |
SELECT `product`.`id` as `product.id`, `product`.`version_id` as `product.versionId`, `product`.`parent_id` as `product.parentId`, `product`.`parent_version_id` as `product.parentVersionId`, COALESCE(`product`.`product_manufacturer_id`, `product.parent`.`product_manufacturer_id`) as `product.manufacturerId`, COALESCE(`product`.`product_manufacturer_version_id`, `product.parent`.`product_manufacturer_version_id`) as `product.productManufacturerVersionId`, COALESCE(`product`.`unit_id`, `product.parent`.`unit_id`) as `product.unitId`, COALESCE(`product`.`tax_id`, `product.parent`.`tax_id`) as `product.taxId`, COALESCE(`product`.`product_media_id`, `product.parent`.`product_media_id`) as `product.coverId`, COALESCE(`product`.`product_media_version_id`, `product.parent`.`product_media_version_id`) as `product.productMediaVersionId`, COALESCE(`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`) as `product.deliveryTimeId`, COALESCE(`product`.`product_feature_set_id`, `product.parent`.`product_feature_set_id`) as `product.featureSetId`, COALESCE(`product`.`canonical_product_id`, `product.parent`.`canonical_product_id`) as `product.canonicalProductId`, COALESCE(`product`.`cms_page_id`, `product.parent`.`cms_page_id`) as `product.cmsPageId`, COALESCE(`product`.`cms_page_version_id`, `product.parent`.`cms_page_version_id`) as `product.cmsPageVersionId`, `product.parent`.`price` as `product.price.inherited`, COALESCE(`product`.`price`, `product.parent`.`price`) as `product.price`, `product`.`product_number` as `product.productNumber`, `product`.`stock` as `product.stock`, COALESCE(`product`.`restock_time`, `product.parent`.`restock_time`) as `product.restockTime`, `product`.`auto_increment` as `product.autoIncrement`, COALESCE(`product`.`active`, `product.parent`.`active`) as `product.active`, `product`.`available_stock` as `product.availableStock`, `product`.`available` as `product.available`, COALESCE(`product`.`is_closeout`, `product.parent`.`is_closeout`) as `product.isCloseout`, `product`.`display_group` as `product.displayGroup`, `product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`, COALESCE(`product`.`configurator_group_config`, `product.parent`.`configurator_group_config`) as `product.configuratorGroupConfig`, COALESCE(`product`.`main_variant_id`, `product.parent`.`main_variant_id`) as `product.mainVariantId`, COALESCE(`product`.`display_parent`, `product.parent`.`display_parent`) as `product.displayParent`, `product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`, COALESCE(`product`.`variant_listing_config`, `product.parent`.`variant_listing_config`) as `product.variantListingConfig`, `product`.`variant_restrictions` as `product.variantRestrictions`, COALESCE(`product`.`manufacturer_number`, `product.parent`.`manufacturer_number`) as `product.manufacturerNumber`, COALESCE(`product`.`ean`, `product.parent`.`ean`) as `product.ean`, COALESCE(`product`.`purchase_steps`, `product.parent`.`purchase_steps`) as `product.purchaseSteps`, COALESCE(`product`.`max_purchase`, `product.parent`.`max_purchase`) as `product.maxPurchase`, COALESCE(`product`.`min_purchase`, `product.parent`.`min_purchase`) as `product.minPurchase`, COALESCE(`product`.`purchase_unit`, `product.parent`.`purchase_unit`) as `product.purchaseUnit`, COALESCE(`product`.`reference_unit`, `product.parent`.`reference_unit`) as `product.referenceUnit`, COALESCE(`product`.`shipping_free`, `product.parent`.`shipping_free`) as `product.shippingFree`, `product.parent`.`purchase_prices` as `product.purchasePrices.inherited`, COALESCE(`product`.`purchase_prices`, `product.parent`.`purchase_prices`) as `product.purchasePrices`, COALESCE(`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`) as `product.markAsTopseller`, COALESCE(`product`.`weight`, `product.parent`.`weight`) as `product.weight`, COALESCE(`product`.`width`, `product.parent`.`width`) as `product.width`, COALESCE(`product`.`height`, `product.parent`.`height`) as `product.height`, COALESCE(`product`.`length`, `product.parent`.`length`) as `product.length`, COALESCE(`product`.`release_date`, `product.parent`.`release_date`) as `product.releaseDate`, COALESCE(`product`.`rating_average`, `product.parent`.`rating_average`) as `product.ratingAverage`, `product.parent`.`category_tree` as `product.categoryTree.inherited`, COALESCE(`product`.`category_tree`, `product.parent`.`category_tree`) as `product.categoryTree`, `product.parent`.`property_ids` as `product.propertyIds.inherited`, COALESCE(`product`.`property_ids`, `product.parent`.`property_ids`) as `product.propertyIds`, `product.parent`.`option_ids` as `product.optionIds.inherited`, COALESCE(`product`.`option_ids`, `product.parent`.`option_ids`) as `product.optionIds`, `product.parent`.`stream_ids` as `product.streamIds.inherited`, COALESCE(`product`.`stream_ids`, `product.parent`.`stream_ids`) as `product.streamIds`, `product.parent`.`tag_ids` as `product.tagIds.inherited`, COALESCE(`product`.`tag_ids`, `product.parent`.`tag_ids`) as `product.tagIds`, `product.parent`.`category_ids` as `product.categoryIds.inherited`, COALESCE(`product`.`category_ids`, `product.parent`.`category_ids`) as `product.categoryIds`, `product`.`child_count` as `product.childCount`, COALESCE(`product`.`custom_field_set_selection_active`, `product.parent`.`custom_field_set_selection_active`) as `product.customFieldSetSelectionActive`, `product`.`sales` as `product.sales`, `product`.`states` as `product.states`, `product.tax`.`id` as `product.tax.id`, `product.tax`.`tax_rate` as `product.tax.taxRate`, `product.tax`.`name` as `product.tax.name`, `product.tax`.`position` as `product.tax.position`, `product.tax`.`custom_fields` as `product.tax.customFields`, `product.tax`.`created_at` as `product.tax.createdAt`, `product.tax`.`updated_at` as `product.tax.updatedAt`, `product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`, COALESCE(`product`.`cheapest_price`, `product.parent`.`cheapest_price`) as `product.cheapestPrice`, `product`.`created_at` as `product.createdAt`, `product`.`updated_at` as `product.updatedAt`, `product.bundle`.`id` as `product.bundle.id`, `product.bundle`.`product_id` as `product.bundle.productId`, `product.bundle`.`product_version_id` as `product.bundle.productVersionId`, `product.bundle`.`name` as `product.bundle.name`, `product.bundle`.`price_type` as `product.bundle.priceType`, `product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`, `product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`, `product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`, `product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`, `product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`, `product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`, `product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`, `product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`, `product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`, `product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`, `product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`, `product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`, `product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`, `product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`, `product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`, `product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`, `product.bundle`.`created_at` as `product.bundle.createdAt`, `product.bundle`.`updated_at` as `product.bundle.updatedAt`, `product.cover`.`id` as `product.cover.id`, `product.cover`.`version_id` as `product.cover.versionId`, `product.cover`.`product_id` as `product.cover.productId`, `product.cover`.`product_version_id` as `product.cover.productVersionId`, `product.cover`.`media_id` as `product.cover.mediaId`, `product.cover`.`position` as `product.cover.position`, `product.cover.media`.`id` as `product.cover.media.id`, `product.cover.media`.`user_id` as `product.cover.media.userId`, `product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`, `product.cover.media`.`mime_type` as `product.cover.media.mimeType`, `product.cover.media`.`file_extension` as `product.cover.media.fileExtension`, `product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`, `product.cover.media`.`file_name` as `product.cover.media.fileName`, `product.cover.media`.`file_size` as `product.cover.media.fileSize`, `product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`, `product.cover.media`.`meta_data` as `product.cover.media.metaData`, `product.cover.media`.`private` as `product.cover.media.private`, `product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`, `product.cover.media`.`created_at` as `product.cover.media.createdAt`, `product.cover.media`.`updated_at` as `product.cover.media.updatedAt`, `product.cover.media.translation.title`, COALESCE(`product.cover.media.translation.title`,`product.cover.media.translation.title`) as `product.cover.media.title`, `product.cover.media.translation.alt`, COALESCE(`product.cover.media.translation.alt`,`product.cover.media.translation.alt`) as `product.cover.media.alt`, `product.cover.media.translation.customFields`, COALESCE(`product.cover.media.translation.customFields`,`product.cover.media.translation.customFields`) as `product.cover.media.customFields`, `product.cover.media.translation.createdAt`, `product.cover.media.translation.updatedAt`, `product.cover.media.translation.mediaId`, `product.cover.media.translation.languageId`, `product.cover`.`custom_fields` as `product.cover.customFields`, `product.cover`.`created_at` as `product.cover.createdAt`, `product.cover`.`updated_at` as `product.cover.updatedAt`, `product.translation.metaDescription`, `product.parent.translation.metaDescription`, COALESCE(`product.translation.metaDescription`,`product.parent.translation.metaDescription`,`product.translation.metaDescription`) as `product.metaDescription`, `product.translation.name`, `product.parent.translation.name`, COALESCE(`product.translation.name`,`product.parent.translation.name`,`product.translation.name`) as `product.name`, `product.translation.keywords`, `product.parent.translation.keywords`, COALESCE(`product.translation.keywords`,`product.parent.translation.keywords`,`product.translation.keywords`) as `product.keywords`, `product.translation.description`, `product.parent.translation.description`, COALESCE(`product.translation.description`,`product.parent.translation.description`,`product.translation.description`) as `product.description`, `product.translation.metaTitle`, `product.parent.translation.metaTitle`, COALESCE(`product.translation.metaTitle`,`product.parent.translation.metaTitle`,`product.translation.metaTitle`) as `product.metaTitle`, `product.translation.packUnit`, `product.parent.translation.packUnit`, COALESCE(`product.translation.packUnit`,`product.parent.translation.packUnit`,`product.translation.packUnit`) as `product.packUnit`, `product.translation.packUnitPlural`, `product.parent.translation.packUnitPlural`, COALESCE(`product.translation.packUnitPlural`,`product.parent.translation.packUnitPlural`,`product.translation.packUnitPlural`) as `product.packUnitPlural`, `product.translation.customSearchKeywords`, `product.parent.translation.customSearchKeywords`, COALESCE(`product.translation.customSearchKeywords`,`product.parent.translation.customSearchKeywords`,`product.translation.customSearchKeywords`) as `product.customSearchKeywords`, `product.translation.slotConfig`, `product.parent.translation.slotConfig`, COALESCE(`product.translation.slotConfig`,`product.parent.translation.slotConfig`,`product.translation.slotConfig`) as `product.slotConfig`, `product.translation.customFields`, `product.parent.translation.customFields`, COALESCE(`product.translation.customFields`,`product.parent.translation.customFields`,`product.translation.customFields`) as `product.customFields`, `product.translation.createdAt`, `product.parent.translation.createdAt`, `product.translation.updatedAt`, `product.parent.translation.updatedAt`, `product.translation.productId`, `product.parent.translation.productId`, `product.translation.languageId`, `product.parent.translation.languageId`, `product.translation.productVersionId`, `product.parent.translation.productVersionId` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN (SELECT `product.translation`.product_id, `product.translation`.product_version_id, `product.translation`.meta_description as `product.translation.metaDescription`, `product.translation`.name as `product.translation.name`, `product.translation`.keywords as `product.translation.keywords`, `product.translation`.description as `product.translation.description`, `product.translation`.meta_title as `product.translation.metaTitle`, `product.translation`.pack_unit as `product.translation.packUnit`, `product.translation`.pack_unit_plural as `product.translation.packUnitPlural`, `product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`, `product.translation`.slot_config as `product.translation.slotConfig`, `product.translation`.custom_fields as `product.translation.customFields`, `product.translation`.created_at as `product.translation.createdAt`, `product.translation`.updated_at as `product.translation.updatedAt`, `product.translation`.product_id as `product.translation.productId`, `product.translation`.language_id as `product.translation.languageId`, `product.translation`.product_version_id as `product.translation.productVersionId` FROM `product_translation` `product.translation` WHERE `product.translation`.language_id = :languageId) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id` AND `product.product_translation`.product_version_id = `product`.version_id LEFT JOIN (SELECT `product.parent.translation`.product_id, `product.parent.translation`.product_version_id, `product.parent.translation`.meta_description as `product.parent.translation.metaDescription`, `product.parent.translation`.name as `product.parent.translation.name`, `product.parent.translation`.keywords as `product.parent.translation.keywords`, `product.parent.translation`.description as `product.parent.translation.description`, `product.parent.translation`.meta_title as `product.parent.translation.metaTitle`, `product.parent.translation`.pack_unit as `product.parent.translation.packUnit`, `product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`, `product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`, `product.parent.translation`.slot_config as `product.parent.translation.slotConfig`, `product.parent.translation`.custom_fields as `product.parent.translation.customFields`, `product.parent.translation`.created_at as `product.parent.translation.createdAt`, `product.parent.translation`.updated_at as `product.parent.translation.updatedAt`, `product.parent.translation`.product_id as `product.parent.translation.productId`, `product.parent.translation`.language_id as `product.parent.translation.languageId`, `product.parent.translation`.product_version_id as `product.parent.translation.productVersionId` FROM `product_translation` `product.parent.translation` WHERE `product.parent.translation`.language_id = :languageId) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id` AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id` LEFT JOIN `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_id` LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id` AND `product`.`version_id` = `product.cover`.`version_id` LEFT JOIN `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`id` LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id` LEFT JOIN (SELECT `product.cover.media.translation`.media_id, `product.cover.media.translation`.title as `product.cover.media.translation.title`, `product.cover.media.translation`.alt as `product.cover.media.translation.alt`, `product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`, `product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`, `product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`, `product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`, `product.cover.media.translation`.language_id as `product.cover.media.translation.languageId` FROM `media_translation` `product.cover.media.translation` WHERE `product.cover.media.translation`.language_id = :languageId) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id` WHERE (`product`.`version_id` = :version) AND (`product`.`id` IN (:ids))
SELECT
`product`.`id` as `product.id`,
`product`.`version_id` as `product.versionId`,
`product`.`parent_id` as `product.parentId`,
`product`.`parent_version_id` as `product.parentVersionId`,
COALESCE(
`product`.`product_manufacturer_id`,
`product.parent`.`product_manufacturer_id`
) as `product.manufacturerId`,
COALESCE(
`product`.`product_manufacturer_version_id`,
`product.parent`.`product_manufacturer_version_id`
) as `product.productManufacturerVersionId`,
COALESCE(
`product`.`unit_id`, `product.parent`.`unit_id`
) as `product.unitId`,
COALESCE(
`product`.`tax_id`, `product.parent`.`tax_id`
) as `product.taxId`,
COALESCE(
`product`.`product_media_id`, `product.parent`.`product_media_id`
) as `product.coverId`,
COALESCE(
`product`.`product_media_version_id`,
`product.parent`.`product_media_version_id`
) as `product.productMediaVersionId`,
COALESCE(
`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`
) as `product.deliveryTimeId`,
COALESCE(
`product`.`product_feature_set_id`,
`product.parent`.`product_feature_set_id`
) as `product.featureSetId`,
COALESCE(
`product`.`canonical_product_id`,
`product.parent`.`canonical_product_id`
) as `product.canonicalProductId`,
COALESCE(
`product`.`cms_page_id`, `product.parent`.`cms_page_id`
) as `product.cmsPageId`,
COALESCE(
`product`.`cms_page_version_id`,
`product.parent`.`cms_page_version_id`
) as `product.cmsPageVersionId`,
`product.parent`.`price` as `product.price.inherited`,
COALESCE(
`product`.`price`, `product.parent`.`price`
) as `product.price`,
`product`.`product_number` as `product.productNumber`,
`product`.`stock` as `product.stock`,
COALESCE(
`product`.`restock_time`, `product.parent`.`restock_time`
) as `product.restockTime`,
`product`.`auto_increment` as `product.autoIncrement`,
COALESCE(
`product`.`active`, `product.parent`.`active`
) as `product.active`,
`product`.`available_stock` as `product.availableStock`,
`product`.`available` as `product.available`,
COALESCE(
`product`.`is_closeout`, `product.parent`.`is_closeout`
) as `product.isCloseout`,
`product`.`display_group` as `product.displayGroup`,
`product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`,
COALESCE(
`product`.`configurator_group_config`,
`product.parent`.`configurator_group_config`
) as `product.configuratorGroupConfig`,
COALESCE(
`product`.`main_variant_id`, `product.parent`.`main_variant_id`
) as `product.mainVariantId`,
COALESCE(
`product`.`display_parent`, `product.parent`.`display_parent`
) as `product.displayParent`,
`product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`,
COALESCE(
`product`.`variant_listing_config`,
`product.parent`.`variant_listing_config`
) as `product.variantListingConfig`,
`product`.`variant_restrictions` as `product.variantRestrictions`,
COALESCE(
`product`.`manufacturer_number`,
`product.parent`.`manufacturer_number`
) as `product.manufacturerNumber`,
COALESCE(
`product`.`ean`, `product.parent`.`ean`
) as `product.ean`,
COALESCE(
`product`.`purchase_steps`, `product.parent`.`purchase_steps`
) as `product.purchaseSteps`,
COALESCE(
`product`.`max_purchase`, `product.parent`.`max_purchase`
) as `product.maxPurchase`,
COALESCE(
`product`.`min_purchase`, `product.parent`.`min_purchase`
) as `product.minPurchase`,
COALESCE(
`product`.`purchase_unit`, `product.parent`.`purchase_unit`
) as `product.purchaseUnit`,
COALESCE(
`product`.`reference_unit`, `product.parent`.`reference_unit`
) as `product.referenceUnit`,
COALESCE(
`product`.`shipping_free`, `product.parent`.`shipping_free`
) as `product.shippingFree`,
`product.parent`.`purchase_prices` as `product.purchasePrices.inherited`,
COALESCE(
`product`.`purchase_prices`, `product.parent`.`purchase_prices`
) as `product.purchasePrices`,
COALESCE(
`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`
) as `product.markAsTopseller`,
COALESCE(
`product`.`weight`, `product.parent`.`weight`
) as `product.weight`,
COALESCE(
`product`.`width`, `product.parent`.`width`
) as `product.width`,
COALESCE(
`product`.`height`, `product.parent`.`height`
) as `product.height`,
COALESCE(
`product`.`length`, `product.parent`.`length`
) as `product.length`,
COALESCE(
`product`.`release_date`, `product.parent`.`release_date`
) as `product.releaseDate`,
COALESCE(
`product`.`rating_average`, `product.parent`.`rating_average`
) as `product.ratingAverage`,
`product.parent`.`category_tree` as `product.categoryTree.inherited`,
COALESCE(
`product`.`category_tree`, `product.parent`.`category_tree`
) as `product.categoryTree`,
`product.parent`.`property_ids` as `product.propertyIds.inherited`,
COALESCE(
`product`.`property_ids`, `product.parent`.`property_ids`
) as `product.propertyIds`,
`product.parent`.`option_ids` as `product.optionIds.inherited`,
COALESCE(
`product`.`option_ids`, `product.parent`.`option_ids`
) as `product.optionIds`,
`product.parent`.`stream_ids` as `product.streamIds.inherited`,
COALESCE(
`product`.`stream_ids`, `product.parent`.`stream_ids`
) as `product.streamIds`,
`product.parent`.`tag_ids` as `product.tagIds.inherited`,
COALESCE(
`product`.`tag_ids`, `product.parent`.`tag_ids`
) as `product.tagIds`,
`product.parent`.`category_ids` as `product.categoryIds.inherited`,
COALESCE(
`product`.`category_ids`, `product.parent`.`category_ids`
) as `product.categoryIds`,
`product`.`child_count` as `product.childCount`,
COALESCE(
`product`.`custom_field_set_selection_active`,
`product.parent`.`custom_field_set_selection_active`
) as `product.customFieldSetSelectionActive`,
`product`.`sales` as `product.sales`,
`product`.`states` as `product.states`,
`product.tax`.`id` as `product.tax.id`,
`product.tax`.`tax_rate` as `product.tax.taxRate`,
`product.tax`.`name` as `product.tax.name`,
`product.tax`.`position` as `product.tax.position`,
`product.tax`.`custom_fields` as `product.tax.customFields`,
`product.tax`.`created_at` as `product.tax.createdAt`,
`product.tax`.`updated_at` as `product.tax.updatedAt`,
`product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`,
COALESCE(
`product`.`cheapest_price`, `product.parent`.`cheapest_price`
) as `product.cheapestPrice`,
`product`.`created_at` as `product.createdAt`,
`product`.`updated_at` as `product.updatedAt`,
`product.bundle`.`id` as `product.bundle.id`,
`product.bundle`.`product_id` as `product.bundle.productId`,
`product.bundle`.`product_version_id` as `product.bundle.productVersionId`,
`product.bundle`.`name` as `product.bundle.name`,
`product.bundle`.`price_type` as `product.bundle.priceType`,
`product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`,
`product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`,
`product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`,
`product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`,
`product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`,
`product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`,
`product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`,
`product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`,
`product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`,
`product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`,
`product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`,
`product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`,
`product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`,
`product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`,
`product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`,
`product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`,
`product.bundle`.`created_at` as `product.bundle.createdAt`,
`product.bundle`.`updated_at` as `product.bundle.updatedAt`,
`product.cover`.`id` as `product.cover.id`,
`product.cover`.`version_id` as `product.cover.versionId`,
`product.cover`.`product_id` as `product.cover.productId`,
`product.cover`.`product_version_id` as `product.cover.productVersionId`,
`product.cover`.`media_id` as `product.cover.mediaId`,
`product.cover`.`position` as `product.cover.position`,
`product.cover.media`.`id` as `product.cover.media.id`,
`product.cover.media`.`user_id` as `product.cover.media.userId`,
`product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`,
`product.cover.media`.`mime_type` as `product.cover.media.mimeType`,
`product.cover.media`.`file_extension` as `product.cover.media.fileExtension`,
`product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`,
`product.cover.media`.`file_name` as `product.cover.media.fileName`,
`product.cover.media`.`file_size` as `product.cover.media.fileSize`,
`product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`,
`product.cover.media`.`meta_data` as `product.cover.media.metaData`,
`product.cover.media`.`private` as `product.cover.media.private`,
`product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`,
`product.cover.media`.`created_at` as `product.cover.media.createdAt`,
`product.cover.media`.`updated_at` as `product.cover.media.updatedAt`,
`product.cover.media.translation.title`,
COALESCE(
`product.cover.media.translation.title`,
`product.cover.media.translation.title`
) as `product.cover.media.title`,
`product.cover.media.translation.alt`,
COALESCE(
`product.cover.media.translation.alt`,
`product.cover.media.translation.alt`
) as `product.cover.media.alt`,
`product.cover.media.translation.customFields`,
COALESCE(
`product.cover.media.translation.customFields`,
`product.cover.media.translation.customFields`
) as `product.cover.media.customFields`,
`product.cover.media.translation.createdAt`,
`product.cover.media.translation.updatedAt`,
`product.cover.media.translation.mediaId`,
`product.cover.media.translation.languageId`,
`product.cover`.`custom_fields` as `product.cover.customFields`,
`product.cover`.`created_at` as `product.cover.createdAt`,
`product.cover`.`updated_at` as `product.cover.updatedAt`,
`product.translation.metaDescription`,
`product.parent.translation.metaDescription`,
COALESCE(
`product.translation.metaDescription`,
`product.parent.translation.metaDescription`,
`product.translation.metaDescription`
) as `product.metaDescription`,
`product.translation.name`,
`product.parent.translation.name`,
COALESCE(
`product.translation.name`, `product.parent.translation.name`,
`product.translation.name`
) as `product.name`,
`product.translation.keywords`,
`product.parent.translation.keywords`,
COALESCE(
`product.translation.keywords`,
`product.parent.translation.keywords`,
`product.translation.keywords`
) as `product.keywords`,
`product.translation.description`,
`product.parent.translation.description`,
COALESCE(
`product.translation.description`,
`product.parent.translation.description`,
`product.translation.description`
) as `product.description`,
`product.translation.metaTitle`,
`product.parent.translation.metaTitle`,
COALESCE(
`product.translation.metaTitle`,
`product.parent.translation.metaTitle`,
`product.translation.metaTitle`
) as `product.metaTitle`,
`product.translation.packUnit`,
`product.parent.translation.packUnit`,
COALESCE(
`product.translation.packUnit`,
`product.parent.translation.packUnit`,
`product.translation.packUnit`
) as `product.packUnit`,
`product.translation.packUnitPlural`,
`product.parent.translation.packUnitPlural`,
COALESCE(
`product.translation.packUnitPlural`,
`product.parent.translation.packUnitPlural`,
`product.translation.packUnitPlural`
) as `product.packUnitPlural`,
`product.translation.customSearchKeywords`,
`product.parent.translation.customSearchKeywords`,
COALESCE(
`product.translation.customSearchKeywords`,
`product.parent.translation.customSearchKeywords`,
`product.translation.customSearchKeywords`
) as `product.customSearchKeywords`,
`product.translation.slotConfig`,
`product.parent.translation.slotConfig`,
COALESCE(
`product.translation.slotConfig`,
`product.parent.translation.slotConfig`,
`product.translation.slotConfig`
) as `product.slotConfig`,
`product.translation.customFields`,
`product.parent.translation.customFields`,
COALESCE(
`product.translation.customFields`,
`product.parent.translation.customFields`,
`product.translation.customFields`
) as `product.customFields`,
`product.translation.createdAt`,
`product.parent.translation.createdAt`,
`product.translation.updatedAt`,
`product.parent.translation.updatedAt`,
`product.translation.productId`,
`product.parent.translation.productId`,
`product.translation.languageId`,
`product.parent.translation.languageId`,
`product.translation.productVersionId`,
`product.parent.translation.productVersionId`
FROM
`product`
LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id`
AND `product`.`version_id` = `product.parent`.`version_id`
LEFT JOIN (
SELECT
`product.translation`.product_id,
`product.translation`.product_version_id,
`product.translation`.meta_description as `product.translation.metaDescription`,
`product.translation`.name as `product.translation.name`,
`product.translation`.keywords as `product.translation.keywords`,
`product.translation`.description as `product.translation.description`,
`product.translation`.meta_title as `product.translation.metaTitle`,
`product.translation`.pack_unit as `product.translation.packUnit`,
`product.translation`.pack_unit_plural as `product.translation.packUnitPlural`,
`product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`,
`product.translation`.slot_config as `product.translation.slotConfig`,
`product.translation`.custom_fields as `product.translation.customFields`,
`product.translation`.created_at as `product.translation.createdAt`,
`product.translation`.updated_at as `product.translation.updatedAt`,
`product.translation`.product_id as `product.translation.productId`,
`product.translation`.language_id as `product.translation.languageId`,
`product.translation`.product_version_id as `product.translation.productVersionId`
FROM
`product_translation` `product.translation`
WHERE
`product.translation`.language_id = : languageId
) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id`
AND `product.product_translation`.product_version_id = `product`.version_id
LEFT JOIN (
SELECT
`product.parent.translation`.product_id,
`product.parent.translation`.product_version_id,
`product.parent.translation`.meta_description as `product.parent.translation.metaDescription`,
`product.parent.translation`.name as `product.parent.translation.name`,
`product.parent.translation`.keywords as `product.parent.translation.keywords`,
`product.parent.translation`.description as `product.parent.translation.description`,
`product.parent.translation`.meta_title as `product.parent.translation.metaTitle`,
`product.parent.translation`.pack_unit as `product.parent.translation.packUnit`,
`product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`,
`product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`,
`product.parent.translation`.slot_config as `product.parent.translation.slotConfig`,
`product.parent.translation`.custom_fields as `product.parent.translation.customFields`,
`product.parent.translation`.created_at as `product.parent.translation.createdAt`,
`product.parent.translation`.updated_at as `product.parent.translation.updatedAt`,
`product.parent.translation`.product_id as `product.parent.translation.productId`,
`product.parent.translation`.language_id as `product.parent.translation.languageId`,
`product.parent.translation`.product_version_id as `product.parent.translation.productVersionId`
FROM
`product_translation` `product.parent.translation`
WHERE
`product.parent.translation`.language_id = : languageId
) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id`
AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id
LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id`
LEFT JOIN `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_id`
LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id`
AND `product`.`version_id` = `product.cover`.`version_id`
LEFT JOIN `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id`
LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id`
LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`id`
LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id`
LEFT JOIN (
SELECT
`product.cover.media.translation`.media_id,
`product.cover.media.translation`.title as `product.cover.media.translation.title`,
`product.cover.media.translation`.alt as `product.cover.media.translation.alt`,
`product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`,
`product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`,
`product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`,
`product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`,
`product.cover.media.translation`.language_id as `product.cover.media.translation.languageId`
FROM
`media_translation` `product.cover.media.translation`
WHERE
`product.cover.media.translation`.language_id = : languageId
) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id`
WHERE
(
`product`.`version_id` = : version
)
AND (
`product`.`id` IN (: ids)
)
SELECT `product`.`id` as `product.id`, `product`.`version_id` as `product.versionId`, `product`.`parent_id` as `product.parentId`, `product`.`parent_version_id` as `product.parentVersionId`, COALESCE(`product`.`product_manufacturer_id`, `product.parent`.`product_manufacturer_id`) as `product.manufacturerId`, COALESCE(`product`.`product_manufacturer_version_id`, `product.parent`.`product_manufacturer_version_id`) as `product.productManufacturerVersionId`, COALESCE(`product`.`unit_id`, `product.parent`.`unit_id`) as `product.unitId`, COALESCE(`product`.`tax_id`, `product.parent`.`tax_id`) as `product.taxId`, COALESCE(`product`.`product_media_id`, `product.parent`.`product_media_id`) as `product.coverId`, COALESCE(`product`.`product_media_version_id`, `product.parent`.`product_media_version_id`) as `product.productMediaVersionId`, COALESCE(`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`) as `product.deliveryTimeId`, COALESCE(`product`.`product_feature_set_id`, `product.parent`.`product_feature_set_id`) as `product.featureSetId`, COALESCE(`product`.`canonical_product_id`, `product.parent`.`canonical_product_id`) as `product.canonicalProductId`, COALESCE(`product`.`cms_page_id`, `product.parent`.`cms_page_id`) as `product.cmsPageId`, COALESCE(`product`.`cms_page_version_id`, `product.parent`.`cms_page_version_id`) as `product.cmsPageVersionId`, `product.parent`.`price` as `product.price.inherited`, COALESCE(`product`.`price`, `product.parent`.`price`) as `product.price`, `product`.`product_number` as `product.productNumber`, `product`.`stock` as `product.stock`, COALESCE(`product`.`restock_time`, `product.parent`.`restock_time`) as `product.restockTime`, `product`.`auto_increment` as `product.autoIncrement`, COALESCE(`product`.`active`, `product.parent`.`active`) as `product.active`, `product`.`available_stock` as `product.availableStock`, `product`.`available` as `product.available`, COALESCE(`product`.`is_closeout`, `product.parent`.`is_closeout`) as `product.isCloseout`, `product`.`display_group` as `product.displayGroup`, `product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`, COALESCE(`product`.`configurator_group_config`, `product.parent`.`configurator_group_config`) as `product.configuratorGroupConfig`, COALESCE(`product`.`main_variant_id`, `product.parent`.`main_variant_id`) as `product.mainVariantId`, COALESCE(`product`.`display_parent`, `product.parent`.`display_parent`) as `product.displayParent`, `product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`, COALESCE(`product`.`variant_listing_config`, `product.parent`.`variant_listing_config`) as `product.variantListingConfig`, `product`.`variant_restrictions` as `product.variantRestrictions`, COALESCE(`product`.`manufacturer_number`, `product.parent`.`manufacturer_number`) as `product.manufacturerNumber`, COALESCE(`product`.`ean`, `product.parent`.`ean`) as `product.ean`, COALESCE(`product`.`purchase_steps`, `product.parent`.`purchase_steps`) as `product.purchaseSteps`, COALESCE(`product`.`max_purchase`, `product.parent`.`max_purchase`) as `product.maxPurchase`, COALESCE(`product`.`min_purchase`, `product.parent`.`min_purchase`) as `product.minPurchase`, COALESCE(`product`.`purchase_unit`, `product.parent`.`purchase_unit`) as `product.purchaseUnit`, COALESCE(`product`.`reference_unit`, `product.parent`.`reference_unit`) as `product.referenceUnit`, COALESCE(`product`.`shipping_free`, `product.parent`.`shipping_free`) as `product.shippingFree`, `product.parent`.`purchase_prices` as `product.purchasePrices.inherited`, COALESCE(`product`.`purchase_prices`, `product.parent`.`purchase_prices`) as `product.purchasePrices`, COALESCE(`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`) as `product.markAsTopseller`, COALESCE(`product`.`weight`, `product.parent`.`weight`) as `product.weight`, COALESCE(`product`.`width`, `product.parent`.`width`) as `product.width`, COALESCE(`product`.`height`, `product.parent`.`height`) as `product.height`, COALESCE(`product`.`length`, `product.parent`.`length`) as `product.length`, COALESCE(`product`.`release_date`, `product.parent`.`release_date`) as `product.releaseDate`, COALESCE(`product`.`rating_average`, `product.parent`.`rating_average`) as `product.ratingAverage`, `product.parent`.`category_tree` as `product.categoryTree.inherited`, COALESCE(`product`.`category_tree`, `product.parent`.`category_tree`) as `product.categoryTree`, `product.parent`.`property_ids` as `product.propertyIds.inherited`, COALESCE(`product`.`property_ids`, `product.parent`.`property_ids`) as `product.propertyIds`, `product.parent`.`option_ids` as `product.optionIds.inherited`, COALESCE(`product`.`option_ids`, `product.parent`.`option_ids`) as `product.optionIds`, `product.parent`.`stream_ids` as `product.streamIds.inherited`, COALESCE(`product`.`stream_ids`, `product.parent`.`stream_ids`) as `product.streamIds`, `product.parent`.`tag_ids` as `product.tagIds.inherited`, COALESCE(`product`.`tag_ids`, `product.parent`.`tag_ids`) as `product.tagIds`, `product.parent`.`category_ids` as `product.categoryIds.inherited`, COALESCE(`product`.`category_ids`, `product.parent`.`category_ids`) as `product.categoryIds`, `product`.`child_count` as `product.childCount`, COALESCE(`product`.`custom_field_set_selection_active`, `product.parent`.`custom_field_set_selection_active`) as `product.customFieldSetSelectionActive`, `product`.`sales` as `product.sales`, `product`.`states` as `product.states`, `product.tax`.`id` as `product.tax.id`, `product.tax`.`tax_rate` as `product.tax.taxRate`, `product.tax`.`name` as `product.tax.name`, `product.tax`.`position` as `product.tax.position`, `product.tax`.`custom_fields` as `product.tax.customFields`, `product.tax`.`created_at` as `product.tax.createdAt`, `product.tax`.`updated_at` as `product.tax.updatedAt`, `product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`, COALESCE(`product`.`cheapest_price`, `product.parent`.`cheapest_price`) as `product.cheapestPrice`, `product`.`created_at` as `product.createdAt`, `product`.`updated_at` as `product.updatedAt`, `product.bundle`.`id` as `product.bundle.id`, `product.bundle`.`product_id` as `product.bundle.productId`, `product.bundle`.`product_version_id` as `product.bundle.productVersionId`, `product.bundle`.`name` as `product.bundle.name`, `product.bundle`.`price_type` as `product.bundle.priceType`, `product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`, `product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`, `product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`, `product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`, `product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`, `product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`, `product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`, `product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`, `product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`, `product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`, `product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`, `product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`, `product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`, `product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`, `product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`, `product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`, `product.bundle`.`created_at` as `product.bundle.createdAt`, `product.bundle`.`updated_at` as `product.bundle.updatedAt`, `product.cover`.`id` as `product.cover.id`, `product.cover`.`version_id` as `product.cover.versionId`, `product.cover`.`product_id` as `product.cover.productId`, `product.cover`.`product_version_id` as `product.cover.productVersionId`, `product.cover`.`media_id` as `product.cover.mediaId`, `product.cover`.`position` as `product.cover.position`, `product.cover.media`.`id` as `product.cover.media.id`, `product.cover.media`.`user_id` as `product.cover.media.userId`, `product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`, `product.cover.media`.`mime_type` as `product.cover.media.mimeType`, `product.cover.media`.`file_extension` as `product.cover.media.fileExtension`, `product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`, `product.cover.media`.`file_name` as `product.cover.media.fileName`, `product.cover.media`.`file_size` as `product.cover.media.fileSize`, `product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`, `product.cover.media`.`meta_data` as `product.cover.media.metaData`, `product.cover.media`.`private` as `product.cover.media.private`, `product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`, `product.cover.media`.`created_at` as `product.cover.media.createdAt`, `product.cover.media`.`updated_at` as `product.cover.media.updatedAt`, `product.cover.media.translation.title`, COALESCE(`product.cover.media.translation.title`,`product.cover.media.translation.title`) as `product.cover.media.title`, `product.cover.media.translation.alt`, COALESCE(`product.cover.media.translation.alt`,`product.cover.media.translation.alt`) as `product.cover.media.alt`, `product.cover.media.translation.customFields`, COALESCE(`product.cover.media.translation.customFields`,`product.cover.media.translation.customFields`) as `product.cover.media.customFields`, `product.cover.media.translation.createdAt`, `product.cover.media.translation.updatedAt`, `product.cover.media.translation.mediaId`, `product.cover.media.translation.languageId`, `product.cover`.`custom_fields` as `product.cover.customFields`, `product.cover`.`created_at` as `product.cover.createdAt`, `product.cover`.`updated_at` as `product.cover.updatedAt`, `product.translation.metaDescription`, `product.parent.translation.metaDescription`, COALESCE(`product.translation.metaDescription`,`product.parent.translation.metaDescription`,`product.translation.metaDescription`) as `product.metaDescription`, `product.translation.name`, `product.parent.translation.name`, COALESCE(`product.translation.name`,`product.parent.translation.name`,`product.translation.name`) as `product.name`, `product.translation.keywords`, `product.parent.translation.keywords`, COALESCE(`product.translation.keywords`,`product.parent.translation.keywords`,`product.translation.keywords`) as `product.keywords`, `product.translation.description`, `product.parent.translation.description`, COALESCE(`product.translation.description`,`product.parent.translation.description`,`product.translation.description`) as `product.description`, `product.translation.metaTitle`, `product.parent.translation.metaTitle`, COALESCE(`product.translation.metaTitle`,`product.parent.translation.metaTitle`,`product.translation.metaTitle`) as `product.metaTitle`, `product.translation.packUnit`, `product.parent.translation.packUnit`, COALESCE(`product.translation.packUnit`,`product.parent.translation.packUnit`,`product.translation.packUnit`) as `product.packUnit`, `product.translation.packUnitPlural`, `product.parent.translation.packUnitPlural`, COALESCE(`product.translation.packUnitPlural`,`product.parent.translation.packUnitPlural`,`product.translation.packUnitPlural`) as `product.packUnitPlural`, `product.translation.customSearchKeywords`, `product.parent.translation.customSearchKeywords`, COALESCE(`product.translation.customSearchKeywords`,`product.parent.translation.customSearchKeywords`,`product.translation.customSearchKeywords`) as `product.customSearchKeywords`, `product.translation.slotConfig`, `product.parent.translation.slotConfig`, COALESCE(`product.translation.slotConfig`,`product.parent.translation.slotConfig`,`product.translation.slotConfig`) as `product.slotConfig`, `product.translation.customFields`, `product.parent.translation.customFields`, COALESCE(`product.translation.customFields`,`product.parent.translation.customFields`,`product.translation.customFields`) as `product.customFields`, `product.translation.createdAt`, `product.parent.translation.createdAt`, `product.translation.updatedAt`, `product.parent.translation.updatedAt`, `product.translation.productId`, `product.parent.translation.productId`, `product.translation.languageId`, `product.parent.translation.languageId`, `product.translation.productVersionId`, `product.parent.translation.productVersionId` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN (SELECT `product.translation`.product_id, `product.translation`.product_version_id, `product.translation`.meta_description as `product.translation.metaDescription`, `product.translation`.name as `product.translation.name`, `product.translation`.keywords as `product.translation.keywords`, `product.translation`.description as `product.translation.description`, `product.translation`.meta_title as `product.translation.metaTitle`, `product.translation`.pack_unit as `product.translation.packUnit`, `product.translation`.pack_unit_plural as `product.translation.packUnitPlural`, `product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`, `product.translation`.slot_config as `product.translation.slotConfig`, `product.translation`.custom_fields as `product.translation.customFields`, `product.translation`.created_at as `product.translation.createdAt`, `product.translation`.updated_at as `product.translation.updatedAt`, `product.translation`.product_id as `product.translation.productId`, `product.translation`.language_id as `product.translation.languageId`, `product.translation`.product_version_id as `product.translation.productVersionId` FROM `product_translation` `product.translation` WHERE `product.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id` AND `product.product_translation`.product_version_id = `product`.version_id LEFT JOIN (SELECT `product.parent.translation`.product_id, `product.parent.translation`.product_version_id, `product.parent.translation`.meta_description as `product.parent.translation.metaDescription`, `product.parent.translation`.name as `product.parent.translation.name`, `product.parent.translation`.keywords as `product.parent.translation.keywords`, `product.parent.translation`.description as `product.parent.translation.description`, `product.parent.translation`.meta_title as `product.parent.translation.metaTitle`, `product.parent.translation`.pack_unit as `product.parent.translation.packUnit`, `product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`, `product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`, `product.parent.translation`.slot_config as `product.parent.translation.slotConfig`, `product.parent.translation`.custom_fields as `product.parent.translation.customFields`, `product.parent.translation`.created_at as `product.parent.translation.createdAt`, `product.parent.translation`.updated_at as `product.parent.translation.updatedAt`, `product.parent.translation`.product_id as `product.parent.translation.productId`, `product.parent.translation`.language_id as `product.parent.translation.languageId`, `product.parent.translation`.product_version_id as `product.parent.translation.productVersionId` FROM `product_translation` `product.parent.translation` WHERE `product.parent.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id` AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id` LEFT JOIN `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_id` LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id` AND `product`.`version_id` = `product.cover`.`version_id` LEFT JOIN `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`id` LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id` LEFT JOIN (SELECT `product.cover.media.translation`.media_id, `product.cover.media.translation`.title as `product.cover.media.translation.title`, `product.cover.media.translation`.alt as `product.cover.media.translation.alt`, `product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`, `product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`, `product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`, `product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`, `product.cover.media.translation`.language_id as `product.cover.media.translation.languageId` FROM `media_translation` `product.cover.media.translation` WHERE `product.cover.media.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id` WHERE (`product`.`version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425) AND (`product`.`id` IN (0x03F4EF144EC44C3E822790C652F7C3F6));
array:51 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 316)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetch (line 148)"
4 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 93)"
5 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::read (line 257)"
6 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::read (line 286)"
7 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::_search (line 106)"
8 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::search (line 51)"
9 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepositoryForwardCompatibilityDecorator::search (line 103)"
10 => "Bodymed\Webshop\StoreFront\Subscriber\ProductExtensionSubscriber::addParentCover (line 230)"
11 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
12 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
13 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
14 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
15 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
16 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 33)"
17 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
18 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 208)"
19 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::read (line 133)"
20 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 49)"
21 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariantsOfProduct (line 30)"
22 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariants (line 224)"
23 => "Bodymed\Webshop\Core\Content\Product\Cms\ProductSliderCmsElementResolver::enrich (line 99)"
24 => "Shopware\Core\Content\Cms\DataResolver\CmsSlotsDataResolver::resolve (line 104)"
25 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::loadSlotData (line 94)"
26 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::load (line 102)"
27 => "Shopware\Core\Content\Category\SalesChannel\CategoryRoute::load (line 103)"
28 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 350)"
29 => "Shopware\Core\System\SystemConfig\SystemConfigService::trace (line 44)"
30 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 120)"
31 => "Shopware\Core\Framework\Adapter\Translation\Translator::trace (line 45)"
32 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 46)"
33 => "Shopware\Core\Framework\Adapter\Cache\CacheTagCollection::trace (line 46)"
34 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::trace (line 41)"
35 => "Shopware\Storefront\Framework\Cache\CacheTracer::Shopware\Storefront\Framework\Cache\{closure} (line 59)"
36 => "Shopware\Storefront\Theme\ThemeConfigValueAccessor::trace (line 42)"
37 => "Shopware\Storefront\Framework\Cache\CacheTracer::trace (line 104)"
38 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 72)"
39 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
40 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 109)"
41 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 59)"
42 => "Shopware\Core\Profiling\Profiler::trace (line 112)"
43 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::load (line 66)"
44 => "Shopware\Storefront\Page\Navigation\NavigationPageLoader::load (line 48)"
45 => "Shopware\Storefront\Controller\NavigationController::home (line 163)"
46 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
47 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
48 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
49 => "Shopware\Core\HttpKernel::doHandle (line 81)"
50 => "Shopware\Core\HttpKernel::handle (line 75)"
]
|
95 |
0.59 ms |
SELECT * FROM sales_channel_api_context WHERE (sales_channel_id = :salesChannelId) AND (token = :token) LIMIT 1
SELECT * FROM sales_channel_api_context WHERE (sales_channel_id = 0x620A2217F7474E619CB00AD39E804CCA) AND (token = 'FwsxT47353Zxmr7lp0KSfYcVNkg5VpYR') LIMIT 1;
array:58 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 165)"
3 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextPersister::load (line 69)"
4 => "Bodymed\Webshop\Core\Subscriber\ProductSubscriber::addCustomerProductFeatureExtension (line 230)"
5 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
6 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
7 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
8 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
9 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
10 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 33)"
11 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
12 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 269)"
13 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::read (line 286)"
14 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::_search (line 106)"
15 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::search (line 51)"
16 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepositoryForwardCompatibilityDecorator::search (line 103)"
17 => "Bodymed\Webshop\StoreFront\Subscriber\ProductExtensionSubscriber::addParentCover (line 230)"
18 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
19 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
20 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
21 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
22 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
23 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 33)"
24 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
25 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 208)"
26 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::read (line 133)"
27 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 49)"
28 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariantsOfProduct (line 30)"
29 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariants (line 224)"
30 => "Bodymed\Webshop\Core\Content\Product\Cms\ProductSliderCmsElementResolver::enrich (line 99)"
31 => "Shopware\Core\Content\Cms\DataResolver\CmsSlotsDataResolver::resolve (line 104)"
32 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::loadSlotData (line 94)"
33 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::load (line 102)"
34 => "Shopware\Core\Content\Category\SalesChannel\CategoryRoute::load (line 103)"
35 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 350)"
36 => "Shopware\Core\System\SystemConfig\SystemConfigService::trace (line 44)"
37 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 120)"
38 => "Shopware\Core\Framework\Adapter\Translation\Translator::trace (line 45)"
39 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 46)"
40 => "Shopware\Core\Framework\Adapter\Cache\CacheTagCollection::trace (line 46)"
41 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::trace (line 41)"
42 => "Shopware\Storefront\Framework\Cache\CacheTracer::Shopware\Storefront\Framework\Cache\{closure} (line 59)"
43 => "Shopware\Storefront\Theme\ThemeConfigValueAccessor::trace (line 42)"
44 => "Shopware\Storefront\Framework\Cache\CacheTracer::trace (line 104)"
45 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 72)"
46 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
47 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 109)"
48 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 59)"
49 => "Shopware\Core\Profiling\Profiler::trace (line 112)"
50 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::load (line 66)"
51 => "Shopware\Storefront\Page\Navigation\NavigationPageLoader::load (line 48)"
52 => "Shopware\Storefront\Controller\NavigationController::home (line 163)"
53 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
54 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
55 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
56 => "Shopware\Core\HttpKernel::doHandle (line 81)"
57 => "Shopware\Core\HttpKernel::handle (line 75)"
]
|
96 |
33.04 ms |
SELECT `product`.`id` as `product.id`, `product`.`version_id` as `product.versionId`, `product`.`parent_id` as `product.parentId`, `product`.`parent_version_id` as `product.parentVersionId`, COALESCE(`product`.`product_manufacturer_id`, `product.parent`.`product_manufacturer_id`) as `product.manufacturerId`, COALESCE(`product`.`product_manufacturer_version_id`, `product.parent`.`product_manufacturer_version_id`) as `product.productManufacturerVersionId`, COALESCE(`product`.`unit_id`, `product.parent`.`unit_id`) as `product.unitId`, COALESCE(`product`.`tax_id`, `product.parent`.`tax_id`) as `product.taxId`, COALESCE(`product`.`product_media_id`, `product.parent`.`product_media_id`) as `product.coverId`, COALESCE(`product`.`product_media_version_id`, `product.parent`.`product_media_version_id`) as `product.productMediaVersionId`, COALESCE(`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`) as `product.deliveryTimeId`, COALESCE(`product`.`product_feature_set_id`, `product.parent`.`product_feature_set_id`) as `product.featureSetId`, COALESCE(`product`.`canonical_product_id`, `product.parent`.`canonical_product_id`) as `product.canonicalProductId`, COALESCE(`product`.`cms_page_id`, `product.parent`.`cms_page_id`) as `product.cmsPageId`, COALESCE(`product`.`cms_page_version_id`, `product.parent`.`cms_page_version_id`) as `product.cmsPageVersionId`, `product.parent`.`price` as `product.price.inherited`, COALESCE(`product`.`price`, `product.parent`.`price`) as `product.price`, `product`.`product_number` as `product.productNumber`, `product`.`stock` as `product.stock`, COALESCE(`product`.`restock_time`, `product.parent`.`restock_time`) as `product.restockTime`, `product`.`auto_increment` as `product.autoIncrement`, COALESCE(`product`.`active`, `product.parent`.`active`) as `product.active`, `product`.`available_stock` as `product.availableStock`, `product`.`available` as `product.available`, COALESCE(`product`.`is_closeout`, `product.parent`.`is_closeout`) as `product.isCloseout`, `product`.`display_group` as `product.displayGroup`, `product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`, COALESCE(`product`.`configurator_group_config`, `product.parent`.`configurator_group_config`) as `product.configuratorGroupConfig`, COALESCE(`product`.`main_variant_id`, `product.parent`.`main_variant_id`) as `product.mainVariantId`, COALESCE(`product`.`display_parent`, `product.parent`.`display_parent`) as `product.displayParent`, `product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`, COALESCE(`product`.`variant_listing_config`, `product.parent`.`variant_listing_config`) as `product.variantListingConfig`, `product`.`variant_restrictions` as `product.variantRestrictions`, COALESCE(`product`.`manufacturer_number`, `product.parent`.`manufacturer_number`) as `product.manufacturerNumber`, COALESCE(`product`.`ean`, `product.parent`.`ean`) as `product.ean`, COALESCE(`product`.`purchase_steps`, `product.parent`.`purchase_steps`) as `product.purchaseSteps`, COALESCE(`product`.`max_purchase`, `product.parent`.`max_purchase`) as `product.maxPurchase`, COALESCE(`product`.`min_purchase`, `product.parent`.`min_purchase`) as `product.minPurchase`, COALESCE(`product`.`purchase_unit`, `product.parent`.`purchase_unit`) as `product.purchaseUnit`, COALESCE(`product`.`reference_unit`, `product.parent`.`reference_unit`) as `product.referenceUnit`, COALESCE(`product`.`shipping_free`, `product.parent`.`shipping_free`) as `product.shippingFree`, `product.parent`.`purchase_prices` as `product.purchasePrices.inherited`, COALESCE(`product`.`purchase_prices`, `product.parent`.`purchase_prices`) as `product.purchasePrices`, COALESCE(`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`) as `product.markAsTopseller`, COALESCE(`product`.`weight`, `product.parent`.`weight`) as `product.weight`, COALESCE(`product`.`width`, `product.parent`.`width`) as `product.width`, COALESCE(`product`.`height`, `product.parent`.`height`) as `product.height`, COALESCE(`product`.`length`, `product.parent`.`length`) as `product.length`, COALESCE(`product`.`release_date`, `product.parent`.`release_date`) as `product.releaseDate`, COALESCE(`product`.`rating_average`, `product.parent`.`rating_average`) as `product.ratingAverage`, `product.parent`.`category_tree` as `product.categoryTree.inherited`, COALESCE(`product`.`category_tree`, `product.parent`.`category_tree`) as `product.categoryTree`, `product.parent`.`property_ids` as `product.propertyIds.inherited`, COALESCE(`product`.`property_ids`, `product.parent`.`property_ids`) as `product.propertyIds`, `product.parent`.`option_ids` as `product.optionIds.inherited`, COALESCE(`product`.`option_ids`, `product.parent`.`option_ids`) as `product.optionIds`, `product.parent`.`stream_ids` as `product.streamIds.inherited`, COALESCE(`product`.`stream_ids`, `product.parent`.`stream_ids`) as `product.streamIds`, `product.parent`.`tag_ids` as `product.tagIds.inherited`, COALESCE(`product`.`tag_ids`, `product.parent`.`tag_ids`) as `product.tagIds`, `product.parent`.`category_ids` as `product.categoryIds.inherited`, COALESCE(`product`.`category_ids`, `product.parent`.`category_ids`) as `product.categoryIds`, `product`.`child_count` as `product.childCount`, COALESCE(`product`.`custom_field_set_selection_active`, `product.parent`.`custom_field_set_selection_active`) as `product.customFieldSetSelectionActive`, `product`.`sales` as `product.sales`, `product`.`states` as `product.states`, `product.tax`.`id` as `product.tax.id`, `product.tax`.`tax_rate` as `product.tax.taxRate`, `product.tax`.`name` as `product.tax.name`, `product.tax`.`position` as `product.tax.position`, `product.tax`.`custom_fields` as `product.tax.customFields`, `product.tax`.`created_at` as `product.tax.createdAt`, `product.tax`.`updated_at` as `product.tax.updatedAt`, `product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`, COALESCE(`product`.`cheapest_price`, `product.parent`.`cheapest_price`) as `product.cheapestPrice`, `product`.`created_at` as `product.createdAt`, `product`.`updated_at` as `product.updatedAt`, `product.bundle`.`id` as `product.bundle.id`, `product.bundle`.`product_id` as `product.bundle.productId`, `product.bundle`.`product_version_id` as `product.bundle.productVersionId`, `product.bundle`.`name` as `product.bundle.name`, `product.bundle`.`price_type` as `product.bundle.priceType`, `product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`, `product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`, `product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`, `product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`, `product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`, `product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`, `product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`, `product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`, `product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`, `product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`, `product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`, `product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`, `product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`, `product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`, `product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`, `product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`, `product.bundle`.`created_at` as `product.bundle.createdAt`, `product.bundle`.`updated_at` as `product.bundle.updatedAt`, `product.cover`.`id` as `product.cover.id`, `product.cover`.`version_id` as `product.cover.versionId`, `product.cover`.`product_id` as `product.cover.productId`, `product.cover`.`product_version_id` as `product.cover.productVersionId`, `product.cover`.`media_id` as `product.cover.mediaId`, `product.cover`.`position` as `product.cover.position`, `product.cover.media`.`id` as `product.cover.media.id`, `product.cover.media`.`user_id` as `product.cover.media.userId`, `product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`, `product.cover.media`.`mime_type` as `product.cover.media.mimeType`, `product.cover.media`.`file_extension` as `product.cover.media.fileExtension`, `product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`, `product.cover.media`.`file_name` as `product.cover.media.fileName`, `product.cover.media`.`file_size` as `product.cover.media.fileSize`, `product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`, `product.cover.media`.`meta_data` as `product.cover.media.metaData`, `product.cover.media`.`private` as `product.cover.media.private`, `product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`, `product.cover.media`.`created_at` as `product.cover.media.createdAt`, `product.cover.media`.`updated_at` as `product.cover.media.updatedAt`, `product.cover.media.translation.title`, COALESCE(`product.cover.media.translation.title`,`product.cover.media.translation.title`) as `product.cover.media.title`, `product.cover.media.translation.alt`, COALESCE(`product.cover.media.translation.alt`,`product.cover.media.translation.alt`) as `product.cover.media.alt`, `product.cover.media.translation.customFields`, COALESCE(`product.cover.media.translation.customFields`,`product.cover.media.translation.customFields`) as `product.cover.media.customFields`, `product.cover.media.translation.createdAt`, `product.cover.media.translation.updatedAt`, `product.cover.media.translation.mediaId`, `product.cover.media.translation.languageId`, `product.cover`.`custom_fields` as `product.cover.customFields`, `product.cover`.`created_at` as `product.cover.createdAt`, `product.cover`.`updated_at` as `product.cover.updatedAt`, `product.translation.metaDescription`, `product.parent.translation.metaDescription`, COALESCE(`product.translation.metaDescription`,`product.parent.translation.metaDescription`,`product.translation.metaDescription`) as `product.metaDescription`, `product.translation.name`, `product.parent.translation.name`, COALESCE(`product.translation.name`,`product.parent.translation.name`,`product.translation.name`) as `product.name`, `product.translation.keywords`, `product.parent.translation.keywords`, COALESCE(`product.translation.keywords`,`product.parent.translation.keywords`,`product.translation.keywords`) as `product.keywords`, `product.translation.description`, `product.parent.translation.description`, COALESCE(`product.translation.description`,`product.parent.translation.description`,`product.translation.description`) as `product.description`, `product.translation.metaTitle`, `product.parent.translation.metaTitle`, COALESCE(`product.translation.metaTitle`,`product.parent.translation.metaTitle`,`product.translation.metaTitle`) as `product.metaTitle`, `product.translation.packUnit`, `product.parent.translation.packUnit`, COALESCE(`product.translation.packUnit`,`product.parent.translation.packUnit`,`product.translation.packUnit`) as `product.packUnit`, `product.translation.packUnitPlural`, `product.parent.translation.packUnitPlural`, COALESCE(`product.translation.packUnitPlural`,`product.parent.translation.packUnitPlural`,`product.translation.packUnitPlural`) as `product.packUnitPlural`, `product.translation.customSearchKeywords`, `product.parent.translation.customSearchKeywords`, COALESCE(`product.translation.customSearchKeywords`,`product.parent.translation.customSearchKeywords`,`product.translation.customSearchKeywords`) as `product.customSearchKeywords`, `product.translation.slotConfig`, `product.parent.translation.slotConfig`, COALESCE(`product.translation.slotConfig`,`product.parent.translation.slotConfig`,`product.translation.slotConfig`) as `product.slotConfig`, `product.translation.customFields`, `product.parent.translation.customFields`, COALESCE(`product.translation.customFields`,`product.parent.translation.customFields`,`product.translation.customFields`) as `product.customFields`, `product.translation.createdAt`, `product.parent.translation.createdAt`, `product.translation.updatedAt`, `product.parent.translation.updatedAt`, `product.translation.productId`, `product.parent.translation.productId`, `product.translation.languageId`, `product.parent.translation.languageId`, `product.translation.productVersionId`, `product.parent.translation.productVersionId` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN (SELECT `product.translation`.product_id, `product.translation`.product_version_id, `product.translation`.meta_description as `product.translation.metaDescription`, `product.translation`.name as `product.translation.name`, `product.translation`.keywords as `product.translation.keywords`, `product.translation`.description as `product.translation.description`, `product.translation`.meta_title as `product.translation.metaTitle`, `product.translation`.pack_unit as `product.translation.packUnit`, `product.translation`.pack_unit_plural as `product.translation.packUnitPlural`, `product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`, `product.translation`.slot_config as `product.translation.slotConfig`, `product.translation`.custom_fields as `product.translation.customFields`, `product.translation`.created_at as `product.translation.createdAt`, `product.translation`.updated_at as `product.translation.updatedAt`, `product.translation`.product_id as `product.translation.productId`, `product.translation`.language_id as `product.translation.languageId`, `product.translation`.product_version_id as `product.translation.productVersionId` FROM `product_translation` `product.translation` WHERE `product.translation`.language_id = :languageId) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id` AND `product.product_translation`.product_version_id = `product`.version_id LEFT JOIN (SELECT `product.parent.translation`.product_id, `product.parent.translation`.product_version_id, `product.parent.translation`.meta_description as `product.parent.translation.metaDescription`, `product.parent.translation`.name as `product.parent.translation.name`, `product.parent.translation`.keywords as `product.parent.translation.keywords`, `product.parent.translation`.description as `product.parent.translation.description`, `product.parent.translation`.meta_title as `product.parent.translation.metaTitle`, `product.parent.translation`.pack_unit as `product.parent.translation.packUnit`, `product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`, `product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`, `product.parent.translation`.slot_config as `product.parent.translation.slotConfig`, `product.parent.translation`.custom_fields as `product.parent.translation.customFields`, `product.parent.translation`.created_at as `product.parent.translation.createdAt`, `product.parent.translation`.updated_at as `product.parent.translation.updatedAt`, `product.parent.translation`.product_id as `product.parent.translation.productId`, `product.parent.translation`.language_id as `product.parent.translation.languageId`, `product.parent.translation`.product_version_id as `product.parent.translation.productVersionId` FROM `product_translation` `product.parent.translation` WHERE `product.parent.translation`.language_id = :languageId) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id` AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id` LEFT JOIN `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_id` LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id` AND `product`.`version_id` = `product.cover`.`version_id` LEFT JOIN `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`id` LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id` LEFT JOIN (SELECT `product.cover.media.translation`.media_id, `product.cover.media.translation`.title as `product.cover.media.translation.title`, `product.cover.media.translation`.alt as `product.cover.media.translation.alt`, `product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`, `product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`, `product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`, `product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`, `product.cover.media.translation`.language_id as `product.cover.media.translation.languageId` FROM `media_translation` `product.cover.media.translation` WHERE `product.cover.media.translation`.language_id = :languageId) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id` WHERE (`product`.`version_id` = :version) AND (`product`.`id` IN (:ids))
SELECT
`product`.`id` as `product.id`,
`product`.`version_id` as `product.versionId`,
`product`.`parent_id` as `product.parentId`,
`product`.`parent_version_id` as `product.parentVersionId`,
COALESCE(
`product`.`product_manufacturer_id`,
`product.parent`.`product_manufacturer_id`
) as `product.manufacturerId`,
COALESCE(
`product`.`product_manufacturer_version_id`,
`product.parent`.`product_manufacturer_version_id`
) as `product.productManufacturerVersionId`,
COALESCE(
`product`.`unit_id`, `product.parent`.`unit_id`
) as `product.unitId`,
COALESCE(
`product`.`tax_id`, `product.parent`.`tax_id`
) as `product.taxId`,
COALESCE(
`product`.`product_media_id`, `product.parent`.`product_media_id`
) as `product.coverId`,
COALESCE(
`product`.`product_media_version_id`,
`product.parent`.`product_media_version_id`
) as `product.productMediaVersionId`,
COALESCE(
`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`
) as `product.deliveryTimeId`,
COALESCE(
`product`.`product_feature_set_id`,
`product.parent`.`product_feature_set_id`
) as `product.featureSetId`,
COALESCE(
`product`.`canonical_product_id`,
`product.parent`.`canonical_product_id`
) as `product.canonicalProductId`,
COALESCE(
`product`.`cms_page_id`, `product.parent`.`cms_page_id`
) as `product.cmsPageId`,
COALESCE(
`product`.`cms_page_version_id`,
`product.parent`.`cms_page_version_id`
) as `product.cmsPageVersionId`,
`product.parent`.`price` as `product.price.inherited`,
COALESCE(
`product`.`price`, `product.parent`.`price`
) as `product.price`,
`product`.`product_number` as `product.productNumber`,
`product`.`stock` as `product.stock`,
COALESCE(
`product`.`restock_time`, `product.parent`.`restock_time`
) as `product.restockTime`,
`product`.`auto_increment` as `product.autoIncrement`,
COALESCE(
`product`.`active`, `product.parent`.`active`
) as `product.active`,
`product`.`available_stock` as `product.availableStock`,
`product`.`available` as `product.available`,
COALESCE(
`product`.`is_closeout`, `product.parent`.`is_closeout`
) as `product.isCloseout`,
`product`.`display_group` as `product.displayGroup`,
`product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`,
COALESCE(
`product`.`configurator_group_config`,
`product.parent`.`configurator_group_config`
) as `product.configuratorGroupConfig`,
COALESCE(
`product`.`main_variant_id`, `product.parent`.`main_variant_id`
) as `product.mainVariantId`,
COALESCE(
`product`.`display_parent`, `product.parent`.`display_parent`
) as `product.displayParent`,
`product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`,
COALESCE(
`product`.`variant_listing_config`,
`product.parent`.`variant_listing_config`
) as `product.variantListingConfig`,
`product`.`variant_restrictions` as `product.variantRestrictions`,
COALESCE(
`product`.`manufacturer_number`,
`product.parent`.`manufacturer_number`
) as `product.manufacturerNumber`,
COALESCE(
`product`.`ean`, `product.parent`.`ean`
) as `product.ean`,
COALESCE(
`product`.`purchase_steps`, `product.parent`.`purchase_steps`
) as `product.purchaseSteps`,
COALESCE(
`product`.`max_purchase`, `product.parent`.`max_purchase`
) as `product.maxPurchase`,
COALESCE(
`product`.`min_purchase`, `product.parent`.`min_purchase`
) as `product.minPurchase`,
COALESCE(
`product`.`purchase_unit`, `product.parent`.`purchase_unit`
) as `product.purchaseUnit`,
COALESCE(
`product`.`reference_unit`, `product.parent`.`reference_unit`
) as `product.referenceUnit`,
COALESCE(
`product`.`shipping_free`, `product.parent`.`shipping_free`
) as `product.shippingFree`,
`product.parent`.`purchase_prices` as `product.purchasePrices.inherited`,
COALESCE(
`product`.`purchase_prices`, `product.parent`.`purchase_prices`
) as `product.purchasePrices`,
COALESCE(
`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`
) as `product.markAsTopseller`,
COALESCE(
`product`.`weight`, `product.parent`.`weight`
) as `product.weight`,
COALESCE(
`product`.`width`, `product.parent`.`width`
) as `product.width`,
COALESCE(
`product`.`height`, `product.parent`.`height`
) as `product.height`,
COALESCE(
`product`.`length`, `product.parent`.`length`
) as `product.length`,
COALESCE(
`product`.`release_date`, `product.parent`.`release_date`
) as `product.releaseDate`,
COALESCE(
`product`.`rating_average`, `product.parent`.`rating_average`
) as `product.ratingAverage`,
`product.parent`.`category_tree` as `product.categoryTree.inherited`,
COALESCE(
`product`.`category_tree`, `product.parent`.`category_tree`
) as `product.categoryTree`,
`product.parent`.`property_ids` as `product.propertyIds.inherited`,
COALESCE(
`product`.`property_ids`, `product.parent`.`property_ids`
) as `product.propertyIds`,
`product.parent`.`option_ids` as `product.optionIds.inherited`,
COALESCE(
`product`.`option_ids`, `product.parent`.`option_ids`
) as `product.optionIds`,
`product.parent`.`stream_ids` as `product.streamIds.inherited`,
COALESCE(
`product`.`stream_ids`, `product.parent`.`stream_ids`
) as `product.streamIds`,
`product.parent`.`tag_ids` as `product.tagIds.inherited`,
COALESCE(
`product`.`tag_ids`, `product.parent`.`tag_ids`
) as `product.tagIds`,
`product.parent`.`category_ids` as `product.categoryIds.inherited`,
COALESCE(
`product`.`category_ids`, `product.parent`.`category_ids`
) as `product.categoryIds`,
`product`.`child_count` as `product.childCount`,
COALESCE(
`product`.`custom_field_set_selection_active`,
`product.parent`.`custom_field_set_selection_active`
) as `product.customFieldSetSelectionActive`,
`product`.`sales` as `product.sales`,
`product`.`states` as `product.states`,
`product.tax`.`id` as `product.tax.id`,
`product.tax`.`tax_rate` as `product.tax.taxRate`,
`product.tax`.`name` as `product.tax.name`,
`product.tax`.`position` as `product.tax.position`,
`product.tax`.`custom_fields` as `product.tax.customFields`,
`product.tax`.`created_at` as `product.tax.createdAt`,
`product.tax`.`updated_at` as `product.tax.updatedAt`,
`product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`,
COALESCE(
`product`.`cheapest_price`, `product.parent`.`cheapest_price`
) as `product.cheapestPrice`,
`product`.`created_at` as `product.createdAt`,
`product`.`updated_at` as `product.updatedAt`,
`product.bundle`.`id` as `product.bundle.id`,
`product.bundle`.`product_id` as `product.bundle.productId`,
`product.bundle`.`product_version_id` as `product.bundle.productVersionId`,
`product.bundle`.`name` as `product.bundle.name`,
`product.bundle`.`price_type` as `product.bundle.priceType`,
`product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`,
`product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`,
`product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`,
`product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`,
`product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`,
`product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`,
`product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`,
`product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`,
`product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`,
`product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`,
`product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`,
`product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`,
`product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`,
`product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`,
`product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`,
`product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`,
`product.bundle`.`created_at` as `product.bundle.createdAt`,
`product.bundle`.`updated_at` as `product.bundle.updatedAt`,
`product.cover`.`id` as `product.cover.id`,
`product.cover`.`version_id` as `product.cover.versionId`,
`product.cover`.`product_id` as `product.cover.productId`,
`product.cover`.`product_version_id` as `product.cover.productVersionId`,
`product.cover`.`media_id` as `product.cover.mediaId`,
`product.cover`.`position` as `product.cover.position`,
`product.cover.media`.`id` as `product.cover.media.id`,
`product.cover.media`.`user_id` as `product.cover.media.userId`,
`product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`,
`product.cover.media`.`mime_type` as `product.cover.media.mimeType`,
`product.cover.media`.`file_extension` as `product.cover.media.fileExtension`,
`product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`,
`product.cover.media`.`file_name` as `product.cover.media.fileName`,
`product.cover.media`.`file_size` as `product.cover.media.fileSize`,
`product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`,
`product.cover.media`.`meta_data` as `product.cover.media.metaData`,
`product.cover.media`.`private` as `product.cover.media.private`,
`product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`,
`product.cover.media`.`created_at` as `product.cover.media.createdAt`,
`product.cover.media`.`updated_at` as `product.cover.media.updatedAt`,
`product.cover.media.translation.title`,
COALESCE(
`product.cover.media.translation.title`,
`product.cover.media.translation.title`
) as `product.cover.media.title`,
`product.cover.media.translation.alt`,
COALESCE(
`product.cover.media.translation.alt`,
`product.cover.media.translation.alt`
) as `product.cover.media.alt`,
`product.cover.media.translation.customFields`,
COALESCE(
`product.cover.media.translation.customFields`,
`product.cover.media.translation.customFields`
) as `product.cover.media.customFields`,
`product.cover.media.translation.createdAt`,
`product.cover.media.translation.updatedAt`,
`product.cover.media.translation.mediaId`,
`product.cover.media.translation.languageId`,
`product.cover`.`custom_fields` as `product.cover.customFields`,
`product.cover`.`created_at` as `product.cover.createdAt`,
`product.cover`.`updated_at` as `product.cover.updatedAt`,
`product.translation.metaDescription`,
`product.parent.translation.metaDescription`,
COALESCE(
`product.translation.metaDescription`,
`product.parent.translation.metaDescription`,
`product.translation.metaDescription`
) as `product.metaDescription`,
`product.translation.name`,
`product.parent.translation.name`,
COALESCE(
`product.translation.name`, `product.parent.translation.name`,
`product.translation.name`
) as `product.name`,
`product.translation.keywords`,
`product.parent.translation.keywords`,
COALESCE(
`product.translation.keywords`,
`product.parent.translation.keywords`,
`product.translation.keywords`
) as `product.keywords`,
`product.translation.description`,
`product.parent.translation.description`,
COALESCE(
`product.translation.description`,
`product.parent.translation.description`,
`product.translation.description`
) as `product.description`,
`product.translation.metaTitle`,
`product.parent.translation.metaTitle`,
COALESCE(
`product.translation.metaTitle`,
`product.parent.translation.metaTitle`,
`product.translation.metaTitle`
) as `product.metaTitle`,
`product.translation.packUnit`,
`product.parent.translation.packUnit`,
COALESCE(
`product.translation.packUnit`,
`product.parent.translation.packUnit`,
`product.translation.packUnit`
) as `product.packUnit`,
`product.translation.packUnitPlural`,
`product.parent.translation.packUnitPlural`,
COALESCE(
`product.translation.packUnitPlural`,
`product.parent.translation.packUnitPlural`,
`product.translation.packUnitPlural`
) as `product.packUnitPlural`,
`product.translation.customSearchKeywords`,
`product.parent.translation.customSearchKeywords`,
COALESCE(
`product.translation.customSearchKeywords`,
`product.parent.translation.customSearchKeywords`,
`product.translation.customSearchKeywords`
) as `product.customSearchKeywords`,
`product.translation.slotConfig`,
`product.parent.translation.slotConfig`,
COALESCE(
`product.translation.slotConfig`,
`product.parent.translation.slotConfig`,
`product.translation.slotConfig`
) as `product.slotConfig`,
`product.translation.customFields`,
`product.parent.translation.customFields`,
COALESCE(
`product.translation.customFields`,
`product.parent.translation.customFields`,
`product.translation.customFields`
) as `product.customFields`,
`product.translation.createdAt`,
`product.parent.translation.createdAt`,
`product.translation.updatedAt`,
`product.parent.translation.updatedAt`,
`product.translation.productId`,
`product.parent.translation.productId`,
`product.translation.languageId`,
`product.parent.translation.languageId`,
`product.translation.productVersionId`,
`product.parent.translation.productVersionId`
FROM
`product`
LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id`
AND `product`.`version_id` = `product.parent`.`version_id`
LEFT JOIN (
SELECT
`product.translation`.product_id,
`product.translation`.product_version_id,
`product.translation`.meta_description as `product.translation.metaDescription`,
`product.translation`.name as `product.translation.name`,
`product.translation`.keywords as `product.translation.keywords`,
`product.translation`.description as `product.translation.description`,
`product.translation`.meta_title as `product.translation.metaTitle`,
`product.translation`.pack_unit as `product.translation.packUnit`,
`product.translation`.pack_unit_plural as `product.translation.packUnitPlural`,
`product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`,
`product.translation`.slot_config as `product.translation.slotConfig`,
`product.translation`.custom_fields as `product.translation.customFields`,
`product.translation`.created_at as `product.translation.createdAt`,
`product.translation`.updated_at as `product.translation.updatedAt`,
`product.translation`.product_id as `product.translation.productId`,
`product.translation`.language_id as `product.translation.languageId`,
`product.translation`.product_version_id as `product.translation.productVersionId`
FROM
`product_translation` `product.translation`
WHERE
`product.translation`.language_id = : languageId
) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id`
AND `product.product_translation`.product_version_id = `product`.version_id
LEFT JOIN (
SELECT
`product.parent.translation`.product_id,
`product.parent.translation`.product_version_id,
`product.parent.translation`.meta_description as `product.parent.translation.metaDescription`,
`product.parent.translation`.name as `product.parent.translation.name`,
`product.parent.translation`.keywords as `product.parent.translation.keywords`,
`product.parent.translation`.description as `product.parent.translation.description`,
`product.parent.translation`.meta_title as `product.parent.translation.metaTitle`,
`product.parent.translation`.pack_unit as `product.parent.translation.packUnit`,
`product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`,
`product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`,
`product.parent.translation`.slot_config as `product.parent.translation.slotConfig`,
`product.parent.translation`.custom_fields as `product.parent.translation.customFields`,
`product.parent.translation`.created_at as `product.parent.translation.createdAt`,
`product.parent.translation`.updated_at as `product.parent.translation.updatedAt`,
`product.parent.translation`.product_id as `product.parent.translation.productId`,
`product.parent.translation`.language_id as `product.parent.translation.languageId`,
`product.parent.translation`.product_version_id as `product.parent.translation.productVersionId`
FROM
`product_translation` `product.parent.translation`
WHERE
`product.parent.translation`.language_id = : languageId
) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id`
AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id
LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id`
LEFT JOIN `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_id`
LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id`
AND `product`.`version_id` = `product.cover`.`version_id`
LEFT JOIN `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id`
LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id`
LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`id`
LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id`
LEFT JOIN (
SELECT
`product.cover.media.translation`.media_id,
`product.cover.media.translation`.title as `product.cover.media.translation.title`,
`product.cover.media.translation`.alt as `product.cover.media.translation.alt`,
`product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`,
`product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`,
`product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`,
`product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`,
`product.cover.media.translation`.language_id as `product.cover.media.translation.languageId`
FROM
`media_translation` `product.cover.media.translation`
WHERE
`product.cover.media.translation`.language_id = : languageId
) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id`
WHERE
(
`product`.`version_id` = : version
)
AND (
`product`.`id` IN (: ids)
)
SELECT `product`.`id` as `product.id`, `product`.`version_id` as `product.versionId`, `product`.`parent_id` as `product.parentId`, `product`.`parent_version_id` as `product.parentVersionId`, COALESCE(`product`.`product_manufacturer_id`, `product.parent`.`product_manufacturer_id`) as `product.manufacturerId`, COALESCE(`product`.`product_manufacturer_version_id`, `product.parent`.`product_manufacturer_version_id`) as `product.productManufacturerVersionId`, COALESCE(`product`.`unit_id`, `product.parent`.`unit_id`) as `product.unitId`, COALESCE(`product`.`tax_id`, `product.parent`.`tax_id`) as `product.taxId`, COALESCE(`product`.`product_media_id`, `product.parent`.`product_media_id`) as `product.coverId`, COALESCE(`product`.`product_media_version_id`, `product.parent`.`product_media_version_id`) as `product.productMediaVersionId`, COALESCE(`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`) as `product.deliveryTimeId`, COALESCE(`product`.`product_feature_set_id`, `product.parent`.`product_feature_set_id`) as `product.featureSetId`, COALESCE(`product`.`canonical_product_id`, `product.parent`.`canonical_product_id`) as `product.canonicalProductId`, COALESCE(`product`.`cms_page_id`, `product.parent`.`cms_page_id`) as `product.cmsPageId`, COALESCE(`product`.`cms_page_version_id`, `product.parent`.`cms_page_version_id`) as `product.cmsPageVersionId`, `product.parent`.`price` as `product.price.inherited`, COALESCE(`product`.`price`, `product.parent`.`price`) as `product.price`, `product`.`product_number` as `product.productNumber`, `product`.`stock` as `product.stock`, COALESCE(`product`.`restock_time`, `product.parent`.`restock_time`) as `product.restockTime`, `product`.`auto_increment` as `product.autoIncrement`, COALESCE(`product`.`active`, `product.parent`.`active`) as `product.active`, `product`.`available_stock` as `product.availableStock`, `product`.`available` as `product.available`, COALESCE(`product`.`is_closeout`, `product.parent`.`is_closeout`) as `product.isCloseout`, `product`.`display_group` as `product.displayGroup`, `product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`, COALESCE(`product`.`configurator_group_config`, `product.parent`.`configurator_group_config`) as `product.configuratorGroupConfig`, COALESCE(`product`.`main_variant_id`, `product.parent`.`main_variant_id`) as `product.mainVariantId`, COALESCE(`product`.`display_parent`, `product.parent`.`display_parent`) as `product.displayParent`, `product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`, COALESCE(`product`.`variant_listing_config`, `product.parent`.`variant_listing_config`) as `product.variantListingConfig`, `product`.`variant_restrictions` as `product.variantRestrictions`, COALESCE(`product`.`manufacturer_number`, `product.parent`.`manufacturer_number`) as `product.manufacturerNumber`, COALESCE(`product`.`ean`, `product.parent`.`ean`) as `product.ean`, COALESCE(`product`.`purchase_steps`, `product.parent`.`purchase_steps`) as `product.purchaseSteps`, COALESCE(`product`.`max_purchase`, `product.parent`.`max_purchase`) as `product.maxPurchase`, COALESCE(`product`.`min_purchase`, `product.parent`.`min_purchase`) as `product.minPurchase`, COALESCE(`product`.`purchase_unit`, `product.parent`.`purchase_unit`) as `product.purchaseUnit`, COALESCE(`product`.`reference_unit`, `product.parent`.`reference_unit`) as `product.referenceUnit`, COALESCE(`product`.`shipping_free`, `product.parent`.`shipping_free`) as `product.shippingFree`, `product.parent`.`purchase_prices` as `product.purchasePrices.inherited`, COALESCE(`product`.`purchase_prices`, `product.parent`.`purchase_prices`) as `product.purchasePrices`, COALESCE(`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`) as `product.markAsTopseller`, COALESCE(`product`.`weight`, `product.parent`.`weight`) as `product.weight`, COALESCE(`product`.`width`, `product.parent`.`width`) as `product.width`, COALESCE(`product`.`height`, `product.parent`.`height`) as `product.height`, COALESCE(`product`.`length`, `product.parent`.`length`) as `product.length`, COALESCE(`product`.`release_date`, `product.parent`.`release_date`) as `product.releaseDate`, COALESCE(`product`.`rating_average`, `product.parent`.`rating_average`) as `product.ratingAverage`, `product.parent`.`category_tree` as `product.categoryTree.inherited`, COALESCE(`product`.`category_tree`, `product.parent`.`category_tree`) as `product.categoryTree`, `product.parent`.`property_ids` as `product.propertyIds.inherited`, COALESCE(`product`.`property_ids`, `product.parent`.`property_ids`) as `product.propertyIds`, `product.parent`.`option_ids` as `product.optionIds.inherited`, COALESCE(`product`.`option_ids`, `product.parent`.`option_ids`) as `product.optionIds`, `product.parent`.`stream_ids` as `product.streamIds.inherited`, COALESCE(`product`.`stream_ids`, `product.parent`.`stream_ids`) as `product.streamIds`, `product.parent`.`tag_ids` as `product.tagIds.inherited`, COALESCE(`product`.`tag_ids`, `product.parent`.`tag_ids`) as `product.tagIds`, `product.parent`.`category_ids` as `product.categoryIds.inherited`, COALESCE(`product`.`category_ids`, `product.parent`.`category_ids`) as `product.categoryIds`, `product`.`child_count` as `product.childCount`, COALESCE(`product`.`custom_field_set_selection_active`, `product.parent`.`custom_field_set_selection_active`) as `product.customFieldSetSelectionActive`, `product`.`sales` as `product.sales`, `product`.`states` as `product.states`, `product.tax`.`id` as `product.tax.id`, `product.tax`.`tax_rate` as `product.tax.taxRate`, `product.tax`.`name` as `product.tax.name`, `product.tax`.`position` as `product.tax.position`, `product.tax`.`custom_fields` as `product.tax.customFields`, `product.tax`.`created_at` as `product.tax.createdAt`, `product.tax`.`updated_at` as `product.tax.updatedAt`, `product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`, COALESCE(`product`.`cheapest_price`, `product.parent`.`cheapest_price`) as `product.cheapestPrice`, `product`.`created_at` as `product.createdAt`, `product`.`updated_at` as `product.updatedAt`, `product.bundle`.`id` as `product.bundle.id`, `product.bundle`.`product_id` as `product.bundle.productId`, `product.bundle`.`product_version_id` as `product.bundle.productVersionId`, `product.bundle`.`name` as `product.bundle.name`, `product.bundle`.`price_type` as `product.bundle.priceType`, `product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`, `product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`, `product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`, `product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`, `product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`, `product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`, `product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`, `product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`, `product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`, `product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`, `product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`, `product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`, `product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`, `product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`, `product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`, `product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`, `product.bundle`.`created_at` as `product.bundle.createdAt`, `product.bundle`.`updated_at` as `product.bundle.updatedAt`, `product.cover`.`id` as `product.cover.id`, `product.cover`.`version_id` as `product.cover.versionId`, `product.cover`.`product_id` as `product.cover.productId`, `product.cover`.`product_version_id` as `product.cover.productVersionId`, `product.cover`.`media_id` as `product.cover.mediaId`, `product.cover`.`position` as `product.cover.position`, `product.cover.media`.`id` as `product.cover.media.id`, `product.cover.media`.`user_id` as `product.cover.media.userId`, `product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`, `product.cover.media`.`mime_type` as `product.cover.media.mimeType`, `product.cover.media`.`file_extension` as `product.cover.media.fileExtension`, `product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`, `product.cover.media`.`file_name` as `product.cover.media.fileName`, `product.cover.media`.`file_size` as `product.cover.media.fileSize`, `product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`, `product.cover.media`.`meta_data` as `product.cover.media.metaData`, `product.cover.media`.`private` as `product.cover.media.private`, `product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`, `product.cover.media`.`created_at` as `product.cover.media.createdAt`, `product.cover.media`.`updated_at` as `product.cover.media.updatedAt`, `product.cover.media.translation.title`, COALESCE(`product.cover.media.translation.title`,`product.cover.media.translation.title`) as `product.cover.media.title`, `product.cover.media.translation.alt`, COALESCE(`product.cover.media.translation.alt`,`product.cover.media.translation.alt`) as `product.cover.media.alt`, `product.cover.media.translation.customFields`, COALESCE(`product.cover.media.translation.customFields`,`product.cover.media.translation.customFields`) as `product.cover.media.customFields`, `product.cover.media.translation.createdAt`, `product.cover.media.translation.updatedAt`, `product.cover.media.translation.mediaId`, `product.cover.media.translation.languageId`, `product.cover`.`custom_fields` as `product.cover.customFields`, `product.cover`.`created_at` as `product.cover.createdAt`, `product.cover`.`updated_at` as `product.cover.updatedAt`, `product.translation.metaDescription`, `product.parent.translation.metaDescription`, COALESCE(`product.translation.metaDescription`,`product.parent.translation.metaDescription`,`product.translation.metaDescription`) as `product.metaDescription`, `product.translation.name`, `product.parent.translation.name`, COALESCE(`product.translation.name`,`product.parent.translation.name`,`product.translation.name`) as `product.name`, `product.translation.keywords`, `product.parent.translation.keywords`, COALESCE(`product.translation.keywords`,`product.parent.translation.keywords`,`product.translation.keywords`) as `product.keywords`, `product.translation.description`, `product.parent.translation.description`, COALESCE(`product.translation.description`,`product.parent.translation.description`,`product.translation.description`) as `product.description`, `product.translation.metaTitle`, `product.parent.translation.metaTitle`, COALESCE(`product.translation.metaTitle`,`product.parent.translation.metaTitle`,`product.translation.metaTitle`) as `product.metaTitle`, `product.translation.packUnit`, `product.parent.translation.packUnit`, COALESCE(`product.translation.packUnit`,`product.parent.translation.packUnit`,`product.translation.packUnit`) as `product.packUnit`, `product.translation.packUnitPlural`, `product.parent.translation.packUnitPlural`, COALESCE(`product.translation.packUnitPlural`,`product.parent.translation.packUnitPlural`,`product.translation.packUnitPlural`) as `product.packUnitPlural`, `product.translation.customSearchKeywords`, `product.parent.translation.customSearchKeywords`, COALESCE(`product.translation.customSearchKeywords`,`product.parent.translation.customSearchKeywords`,`product.translation.customSearchKeywords`) as `product.customSearchKeywords`, `product.translation.slotConfig`, `product.parent.translation.slotConfig`, COALESCE(`product.translation.slotConfig`,`product.parent.translation.slotConfig`,`product.translation.slotConfig`) as `product.slotConfig`, `product.translation.customFields`, `product.parent.translation.customFields`, COALESCE(`product.translation.customFields`,`product.parent.translation.customFields`,`product.translation.customFields`) as `product.customFields`, `product.translation.createdAt`, `product.parent.translation.createdAt`, `product.translation.updatedAt`, `product.parent.translation.updatedAt`, `product.translation.productId`, `product.parent.translation.productId`, `product.translation.languageId`, `product.parent.translation.languageId`, `product.translation.productVersionId`, `product.parent.translation.productVersionId` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN (SELECT `product.translation`.product_id, `product.translation`.product_version_id, `product.translation`.meta_description as `product.translation.metaDescription`, `product.translation`.name as `product.translation.name`, `product.translation`.keywords as `product.translation.keywords`, `product.translation`.description as `product.translation.description`, `product.translation`.meta_title as `product.translation.metaTitle`, `product.translation`.pack_unit as `product.translation.packUnit`, `product.translation`.pack_unit_plural as `product.translation.packUnitPlural`, `product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`, `product.translation`.slot_config as `product.translation.slotConfig`, `product.translation`.custom_fields as `product.translation.customFields`, `product.translation`.created_at as `product.translation.createdAt`, `product.translation`.updated_at as `product.translation.updatedAt`, `product.translation`.product_id as `product.translation.productId`, `product.translation`.language_id as `product.translation.languageId`, `product.translation`.product_version_id as `product.translation.productVersionId` FROM `product_translation` `product.translation` WHERE `product.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id` AND `product.product_translation`.product_version_id = `product`.version_id LEFT JOIN (SELECT `product.parent.translation`.product_id, `product.parent.translation`.product_version_id, `product.parent.translation`.meta_description as `product.parent.translation.metaDescription`, `product.parent.translation`.name as `product.parent.translation.name`, `product.parent.translation`.keywords as `product.parent.translation.keywords`, `product.parent.translation`.description as `product.parent.translation.description`, `product.parent.translation`.meta_title as `product.parent.translation.metaTitle`, `product.parent.translation`.pack_unit as `product.parent.translation.packUnit`, `product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`, `product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`, `product.parent.translation`.slot_config as `product.parent.translation.slotConfig`, `product.parent.translation`.custom_fields as `product.parent.translation.customFields`, `product.parent.translation`.created_at as `product.parent.translation.createdAt`, `product.parent.translation`.updated_at as `product.parent.translation.updatedAt`, `product.parent.translation`.product_id as `product.parent.translation.productId`, `product.parent.translation`.language_id as `product.parent.translation.languageId`, `product.parent.translation`.product_version_id as `product.parent.translation.productVersionId` FROM `product_translation` `product.parent.translation` WHERE `product.parent.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id` AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id` LEFT JOIN `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_id` LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id` AND `product`.`version_id` = `product.cover`.`version_id` LEFT JOIN `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`id` LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id` LEFT JOIN (SELECT `product.cover.media.translation`.media_id, `product.cover.media.translation`.title as `product.cover.media.translation.title`, `product.cover.media.translation`.alt as `product.cover.media.translation.alt`, `product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`, `product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`, `product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`, `product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`, `product.cover.media.translation`.language_id as `product.cover.media.translation.languageId` FROM `media_translation` `product.cover.media.translation` WHERE `product.cover.media.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id` WHERE (`product`.`version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425) AND (`product`.`id` IN (0x03F4EF144EC44C3E822790C652F7C3F6));
array:51 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 316)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetch (line 148)"
4 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 93)"
5 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::read (line 257)"
6 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::read (line 286)"
7 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::_search (line 106)"
8 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::search (line 51)"
9 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepositoryForwardCompatibilityDecorator::search (line 103)"
10 => "Bodymed\Webshop\StoreFront\Subscriber\ProductExtensionSubscriber::addParentCover (line 230)"
11 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
12 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
13 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
14 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
15 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
16 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 33)"
17 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
18 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 208)"
19 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::read (line 133)"
20 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 49)"
21 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariantsOfProduct (line 30)"
22 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariants (line 224)"
23 => "Bodymed\Webshop\Core\Content\Product\Cms\ProductSliderCmsElementResolver::enrich (line 99)"
24 => "Shopware\Core\Content\Cms\DataResolver\CmsSlotsDataResolver::resolve (line 104)"
25 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::loadSlotData (line 94)"
26 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::load (line 102)"
27 => "Shopware\Core\Content\Category\SalesChannel\CategoryRoute::load (line 103)"
28 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 350)"
29 => "Shopware\Core\System\SystemConfig\SystemConfigService::trace (line 44)"
30 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 120)"
31 => "Shopware\Core\Framework\Adapter\Translation\Translator::trace (line 45)"
32 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 46)"
33 => "Shopware\Core\Framework\Adapter\Cache\CacheTagCollection::trace (line 46)"
34 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::trace (line 41)"
35 => "Shopware\Storefront\Framework\Cache\CacheTracer::Shopware\Storefront\Framework\Cache\{closure} (line 59)"
36 => "Shopware\Storefront\Theme\ThemeConfigValueAccessor::trace (line 42)"
37 => "Shopware\Storefront\Framework\Cache\CacheTracer::trace (line 104)"
38 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 72)"
39 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
40 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 109)"
41 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 59)"
42 => "Shopware\Core\Profiling\Profiler::trace (line 112)"
43 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::load (line 66)"
44 => "Shopware\Storefront\Page\Navigation\NavigationPageLoader::load (line 48)"
45 => "Shopware\Storefront\Controller\NavigationController::home (line 163)"
46 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
47 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
48 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
49 => "Shopware\Core\HttpKernel::doHandle (line 81)"
50 => "Shopware\Core\HttpKernel::handle (line 75)"
]
|
97 |
0.68 ms |
SELECT * FROM sales_channel_api_context WHERE (sales_channel_id = :salesChannelId) AND (token = :token) LIMIT 1
SELECT * FROM sales_channel_api_context WHERE (sales_channel_id = 0x620A2217F7474E619CB00AD39E804CCA) AND (token = 'FwsxT47353Zxmr7lp0KSfYcVNkg5VpYR') LIMIT 1;
array:58 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 165)"
3 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextPersister::load (line 69)"
4 => "Bodymed\Webshop\Core\Subscriber\ProductSubscriber::addCustomerProductFeatureExtension (line 230)"
5 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
6 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
7 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
8 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
9 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
10 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 33)"
11 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
12 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 269)"
13 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::read (line 286)"
14 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::_search (line 106)"
15 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::search (line 51)"
16 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepositoryForwardCompatibilityDecorator::search (line 103)"
17 => "Bodymed\Webshop\StoreFront\Subscriber\ProductExtensionSubscriber::addParentCover (line 230)"
18 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
19 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
20 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
21 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
22 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
23 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 33)"
24 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
25 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 208)"
26 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::read (line 133)"
27 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 49)"
28 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariantsOfProduct (line 30)"
29 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariants (line 224)"
30 => "Bodymed\Webshop\Core\Content\Product\Cms\ProductSliderCmsElementResolver::enrich (line 99)"
31 => "Shopware\Core\Content\Cms\DataResolver\CmsSlotsDataResolver::resolve (line 104)"
32 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::loadSlotData (line 94)"
33 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::load (line 102)"
34 => "Shopware\Core\Content\Category\SalesChannel\CategoryRoute::load (line 103)"
35 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 350)"
36 => "Shopware\Core\System\SystemConfig\SystemConfigService::trace (line 44)"
37 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 120)"
38 => "Shopware\Core\Framework\Adapter\Translation\Translator::trace (line 45)"
39 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 46)"
40 => "Shopware\Core\Framework\Adapter\Cache\CacheTagCollection::trace (line 46)"
41 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::trace (line 41)"
42 => "Shopware\Storefront\Framework\Cache\CacheTracer::Shopware\Storefront\Framework\Cache\{closure} (line 59)"
43 => "Shopware\Storefront\Theme\ThemeConfigValueAccessor::trace (line 42)"
44 => "Shopware\Storefront\Framework\Cache\CacheTracer::trace (line 104)"
45 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 72)"
46 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
47 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 109)"
48 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 59)"
49 => "Shopware\Core\Profiling\Profiler::trace (line 112)"
50 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::load (line 66)"
51 => "Shopware\Storefront\Page\Navigation\NavigationPageLoader::load (line 48)"
52 => "Shopware\Storefront\Controller\NavigationController::home (line 163)"
53 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
54 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
55 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
56 => "Shopware\Core\HttpKernel::doHandle (line 81)"
57 => "Shopware\Core\HttpKernel::handle (line 75)"
]
|
98 |
26.28 ms |
SELECT `product`.`id` as `product.id`, `product`.`version_id` as `product.versionId`, `product`.`parent_id` as `product.parentId`, `product`.`parent_version_id` as `product.parentVersionId`, COALESCE(`product`.`product_manufacturer_id`, `product.parent`.`product_manufacturer_id`) as `product.manufacturerId`, COALESCE(`product`.`product_manufacturer_version_id`, `product.parent`.`product_manufacturer_version_id`) as `product.productManufacturerVersionId`, COALESCE(`product`.`unit_id`, `product.parent`.`unit_id`) as `product.unitId`, COALESCE(`product`.`tax_id`, `product.parent`.`tax_id`) as `product.taxId`, COALESCE(`product`.`product_media_id`, `product.parent`.`product_media_id`) as `product.coverId`, COALESCE(`product`.`product_media_version_id`, `product.parent`.`product_media_version_id`) as `product.productMediaVersionId`, COALESCE(`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`) as `product.deliveryTimeId`, COALESCE(`product`.`product_feature_set_id`, `product.parent`.`product_feature_set_id`) as `product.featureSetId`, COALESCE(`product`.`canonical_product_id`, `product.parent`.`canonical_product_id`) as `product.canonicalProductId`, COALESCE(`product`.`cms_page_id`, `product.parent`.`cms_page_id`) as `product.cmsPageId`, COALESCE(`product`.`cms_page_version_id`, `product.parent`.`cms_page_version_id`) as `product.cmsPageVersionId`, `product.parent`.`price` as `product.price.inherited`, COALESCE(`product`.`price`, `product.parent`.`price`) as `product.price`, `product`.`product_number` as `product.productNumber`, `product`.`stock` as `product.stock`, COALESCE(`product`.`restock_time`, `product.parent`.`restock_time`) as `product.restockTime`, `product`.`auto_increment` as `product.autoIncrement`, COALESCE(`product`.`active`, `product.parent`.`active`) as `product.active`, `product`.`available_stock` as `product.availableStock`, `product`.`available` as `product.available`, COALESCE(`product`.`is_closeout`, `product.parent`.`is_closeout`) as `product.isCloseout`, `product`.`display_group` as `product.displayGroup`, `product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`, COALESCE(`product`.`configurator_group_config`, `product.parent`.`configurator_group_config`) as `product.configuratorGroupConfig`, COALESCE(`product`.`main_variant_id`, `product.parent`.`main_variant_id`) as `product.mainVariantId`, COALESCE(`product`.`display_parent`, `product.parent`.`display_parent`) as `product.displayParent`, `product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`, COALESCE(`product`.`variant_listing_config`, `product.parent`.`variant_listing_config`) as `product.variantListingConfig`, `product`.`variant_restrictions` as `product.variantRestrictions`, COALESCE(`product`.`manufacturer_number`, `product.parent`.`manufacturer_number`) as `product.manufacturerNumber`, COALESCE(`product`.`ean`, `product.parent`.`ean`) as `product.ean`, COALESCE(`product`.`purchase_steps`, `product.parent`.`purchase_steps`) as `product.purchaseSteps`, COALESCE(`product`.`max_purchase`, `product.parent`.`max_purchase`) as `product.maxPurchase`, COALESCE(`product`.`min_purchase`, `product.parent`.`min_purchase`) as `product.minPurchase`, COALESCE(`product`.`purchase_unit`, `product.parent`.`purchase_unit`) as `product.purchaseUnit`, COALESCE(`product`.`reference_unit`, `product.parent`.`reference_unit`) as `product.referenceUnit`, COALESCE(`product`.`shipping_free`, `product.parent`.`shipping_free`) as `product.shippingFree`, `product.parent`.`purchase_prices` as `product.purchasePrices.inherited`, COALESCE(`product`.`purchase_prices`, `product.parent`.`purchase_prices`) as `product.purchasePrices`, COALESCE(`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`) as `product.markAsTopseller`, COALESCE(`product`.`weight`, `product.parent`.`weight`) as `product.weight`, COALESCE(`product`.`width`, `product.parent`.`width`) as `product.width`, COALESCE(`product`.`height`, `product.parent`.`height`) as `product.height`, COALESCE(`product`.`length`, `product.parent`.`length`) as `product.length`, COALESCE(`product`.`release_date`, `product.parent`.`release_date`) as `product.releaseDate`, COALESCE(`product`.`rating_average`, `product.parent`.`rating_average`) as `product.ratingAverage`, `product.parent`.`category_tree` as `product.categoryTree.inherited`, COALESCE(`product`.`category_tree`, `product.parent`.`category_tree`) as `product.categoryTree`, `product.parent`.`property_ids` as `product.propertyIds.inherited`, COALESCE(`product`.`property_ids`, `product.parent`.`property_ids`) as `product.propertyIds`, `product.parent`.`option_ids` as `product.optionIds.inherited`, COALESCE(`product`.`option_ids`, `product.parent`.`option_ids`) as `product.optionIds`, `product.parent`.`stream_ids` as `product.streamIds.inherited`, COALESCE(`product`.`stream_ids`, `product.parent`.`stream_ids`) as `product.streamIds`, `product.parent`.`tag_ids` as `product.tagIds.inherited`, COALESCE(`product`.`tag_ids`, `product.parent`.`tag_ids`) as `product.tagIds`, `product.parent`.`category_ids` as `product.categoryIds.inherited`, COALESCE(`product`.`category_ids`, `product.parent`.`category_ids`) as `product.categoryIds`, `product`.`child_count` as `product.childCount`, COALESCE(`product`.`custom_field_set_selection_active`, `product.parent`.`custom_field_set_selection_active`) as `product.customFieldSetSelectionActive`, `product`.`sales` as `product.sales`, `product`.`states` as `product.states`, `product.tax`.`id` as `product.tax.id`, `product.tax`.`tax_rate` as `product.tax.taxRate`, `product.tax`.`name` as `product.tax.name`, `product.tax`.`position` as `product.tax.position`, `product.tax`.`custom_fields` as `product.tax.customFields`, `product.tax`.`created_at` as `product.tax.createdAt`, `product.tax`.`updated_at` as `product.tax.updatedAt`, `product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`, COALESCE(`product`.`cheapest_price`, `product.parent`.`cheapest_price`) as `product.cheapestPrice`, `product`.`created_at` as `product.createdAt`, `product`.`updated_at` as `product.updatedAt`, `product.bundle`.`id` as `product.bundle.id`, `product.bundle`.`product_id` as `product.bundle.productId`, `product.bundle`.`product_version_id` as `product.bundle.productVersionId`, `product.bundle`.`name` as `product.bundle.name`, `product.bundle`.`price_type` as `product.bundle.priceType`, `product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`, `product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`, `product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`, `product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`, `product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`, `product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`, `product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`, `product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`, `product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`, `product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`, `product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`, `product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`, `product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`, `product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`, `product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`, `product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`, `product.bundle`.`created_at` as `product.bundle.createdAt`, `product.bundle`.`updated_at` as `product.bundle.updatedAt`, `product.cover`.`id` as `product.cover.id`, `product.cover`.`version_id` as `product.cover.versionId`, `product.cover`.`product_id` as `product.cover.productId`, `product.cover`.`product_version_id` as `product.cover.productVersionId`, `product.cover`.`media_id` as `product.cover.mediaId`, `product.cover`.`position` as `product.cover.position`, `product.cover.media`.`id` as `product.cover.media.id`, `product.cover.media`.`user_id` as `product.cover.media.userId`, `product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`, `product.cover.media`.`mime_type` as `product.cover.media.mimeType`, `product.cover.media`.`file_extension` as `product.cover.media.fileExtension`, `product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`, `product.cover.media`.`file_name` as `product.cover.media.fileName`, `product.cover.media`.`file_size` as `product.cover.media.fileSize`, `product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`, `product.cover.media`.`meta_data` as `product.cover.media.metaData`, `product.cover.media`.`private` as `product.cover.media.private`, `product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`, `product.cover.media`.`created_at` as `product.cover.media.createdAt`, `product.cover.media`.`updated_at` as `product.cover.media.updatedAt`, `product.cover.media.translation.title`, COALESCE(`product.cover.media.translation.title`,`product.cover.media.translation.title`) as `product.cover.media.title`, `product.cover.media.translation.alt`, COALESCE(`product.cover.media.translation.alt`,`product.cover.media.translation.alt`) as `product.cover.media.alt`, `product.cover.media.translation.customFields`, COALESCE(`product.cover.media.translation.customFields`,`product.cover.media.translation.customFields`) as `product.cover.media.customFields`, `product.cover.media.translation.createdAt`, `product.cover.media.translation.updatedAt`, `product.cover.media.translation.mediaId`, `product.cover.media.translation.languageId`, `product.cover`.`custom_fields` as `product.cover.customFields`, `product.cover`.`created_at` as `product.cover.createdAt`, `product.cover`.`updated_at` as `product.cover.updatedAt`, `product.translation.metaDescription`, `product.parent.translation.metaDescription`, COALESCE(`product.translation.metaDescription`,`product.parent.translation.metaDescription`,`product.translation.metaDescription`) as `product.metaDescription`, `product.translation.name`, `product.parent.translation.name`, COALESCE(`product.translation.name`,`product.parent.translation.name`,`product.translation.name`) as `product.name`, `product.translation.keywords`, `product.parent.translation.keywords`, COALESCE(`product.translation.keywords`,`product.parent.translation.keywords`,`product.translation.keywords`) as `product.keywords`, `product.translation.description`, `product.parent.translation.description`, COALESCE(`product.translation.description`,`product.parent.translation.description`,`product.translation.description`) as `product.description`, `product.translation.metaTitle`, `product.parent.translation.metaTitle`, COALESCE(`product.translation.metaTitle`,`product.parent.translation.metaTitle`,`product.translation.metaTitle`) as `product.metaTitle`, `product.translation.packUnit`, `product.parent.translation.packUnit`, COALESCE(`product.translation.packUnit`,`product.parent.translation.packUnit`,`product.translation.packUnit`) as `product.packUnit`, `product.translation.packUnitPlural`, `product.parent.translation.packUnitPlural`, COALESCE(`product.translation.packUnitPlural`,`product.parent.translation.packUnitPlural`,`product.translation.packUnitPlural`) as `product.packUnitPlural`, `product.translation.customSearchKeywords`, `product.parent.translation.customSearchKeywords`, COALESCE(`product.translation.customSearchKeywords`,`product.parent.translation.customSearchKeywords`,`product.translation.customSearchKeywords`) as `product.customSearchKeywords`, `product.translation.slotConfig`, `product.parent.translation.slotConfig`, COALESCE(`product.translation.slotConfig`,`product.parent.translation.slotConfig`,`product.translation.slotConfig`) as `product.slotConfig`, `product.translation.customFields`, `product.parent.translation.customFields`, COALESCE(`product.translation.customFields`,`product.parent.translation.customFields`,`product.translation.customFields`) as `product.customFields`, `product.translation.createdAt`, `product.parent.translation.createdAt`, `product.translation.updatedAt`, `product.parent.translation.updatedAt`, `product.translation.productId`, `product.parent.translation.productId`, `product.translation.languageId`, `product.parent.translation.languageId`, `product.translation.productVersionId`, `product.parent.translation.productVersionId` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN (SELECT `product.translation`.product_id, `product.translation`.product_version_id, `product.translation`.meta_description as `product.translation.metaDescription`, `product.translation`.name as `product.translation.name`, `product.translation`.keywords as `product.translation.keywords`, `product.translation`.description as `product.translation.description`, `product.translation`.meta_title as `product.translation.metaTitle`, `product.translation`.pack_unit as `product.translation.packUnit`, `product.translation`.pack_unit_plural as `product.translation.packUnitPlural`, `product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`, `product.translation`.slot_config as `product.translation.slotConfig`, `product.translation`.custom_fields as `product.translation.customFields`, `product.translation`.created_at as `product.translation.createdAt`, `product.translation`.updated_at as `product.translation.updatedAt`, `product.translation`.product_id as `product.translation.productId`, `product.translation`.language_id as `product.translation.languageId`, `product.translation`.product_version_id as `product.translation.productVersionId` FROM `product_translation` `product.translation` WHERE `product.translation`.language_id = :languageId) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id` AND `product.product_translation`.product_version_id = `product`.version_id LEFT JOIN (SELECT `product.parent.translation`.product_id, `product.parent.translation`.product_version_id, `product.parent.translation`.meta_description as `product.parent.translation.metaDescription`, `product.parent.translation`.name as `product.parent.translation.name`, `product.parent.translation`.keywords as `product.parent.translation.keywords`, `product.parent.translation`.description as `product.parent.translation.description`, `product.parent.translation`.meta_title as `product.parent.translation.metaTitle`, `product.parent.translation`.pack_unit as `product.parent.translation.packUnit`, `product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`, `product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`, `product.parent.translation`.slot_config as `product.parent.translation.slotConfig`, `product.parent.translation`.custom_fields as `product.parent.translation.customFields`, `product.parent.translation`.created_at as `product.parent.translation.createdAt`, `product.parent.translation`.updated_at as `product.parent.translation.updatedAt`, `product.parent.translation`.product_id as `product.parent.translation.productId`, `product.parent.translation`.language_id as `product.parent.translation.languageId`, `product.parent.translation`.product_version_id as `product.parent.translation.productVersionId` FROM `product_translation` `product.parent.translation` WHERE `product.parent.translation`.language_id = :languageId) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id` AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id` LEFT JOIN `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_id` LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id` AND `product`.`version_id` = `product.cover`.`version_id` LEFT JOIN `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`id` LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id` LEFT JOIN (SELECT `product.cover.media.translation`.media_id, `product.cover.media.translation`.title as `product.cover.media.translation.title`, `product.cover.media.translation`.alt as `product.cover.media.translation.alt`, `product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`, `product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`, `product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`, `product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`, `product.cover.media.translation`.language_id as `product.cover.media.translation.languageId` FROM `media_translation` `product.cover.media.translation` WHERE `product.cover.media.translation`.language_id = :languageId) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id` WHERE (`product`.`version_id` = :version) AND (`product`.`id` IN (:ids))
SELECT
`product`.`id` as `product.id`,
`product`.`version_id` as `product.versionId`,
`product`.`parent_id` as `product.parentId`,
`product`.`parent_version_id` as `product.parentVersionId`,
COALESCE(
`product`.`product_manufacturer_id`,
`product.parent`.`product_manufacturer_id`
) as `product.manufacturerId`,
COALESCE(
`product`.`product_manufacturer_version_id`,
`product.parent`.`product_manufacturer_version_id`
) as `product.productManufacturerVersionId`,
COALESCE(
`product`.`unit_id`, `product.parent`.`unit_id`
) as `product.unitId`,
COALESCE(
`product`.`tax_id`, `product.parent`.`tax_id`
) as `product.taxId`,
COALESCE(
`product`.`product_media_id`, `product.parent`.`product_media_id`
) as `product.coverId`,
COALESCE(
`product`.`product_media_version_id`,
`product.parent`.`product_media_version_id`
) as `product.productMediaVersionId`,
COALESCE(
`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`
) as `product.deliveryTimeId`,
COALESCE(
`product`.`product_feature_set_id`,
`product.parent`.`product_feature_set_id`
) as `product.featureSetId`,
COALESCE(
`product`.`canonical_product_id`,
`product.parent`.`canonical_product_id`
) as `product.canonicalProductId`,
COALESCE(
`product`.`cms_page_id`, `product.parent`.`cms_page_id`
) as `product.cmsPageId`,
COALESCE(
`product`.`cms_page_version_id`,
`product.parent`.`cms_page_version_id`
) as `product.cmsPageVersionId`,
`product.parent`.`price` as `product.price.inherited`,
COALESCE(
`product`.`price`, `product.parent`.`price`
) as `product.price`,
`product`.`product_number` as `product.productNumber`,
`product`.`stock` as `product.stock`,
COALESCE(
`product`.`restock_time`, `product.parent`.`restock_time`
) as `product.restockTime`,
`product`.`auto_increment` as `product.autoIncrement`,
COALESCE(
`product`.`active`, `product.parent`.`active`
) as `product.active`,
`product`.`available_stock` as `product.availableStock`,
`product`.`available` as `product.available`,
COALESCE(
`product`.`is_closeout`, `product.parent`.`is_closeout`
) as `product.isCloseout`,
`product`.`display_group` as `product.displayGroup`,
`product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`,
COALESCE(
`product`.`configurator_group_config`,
`product.parent`.`configurator_group_config`
) as `product.configuratorGroupConfig`,
COALESCE(
`product`.`main_variant_id`, `product.parent`.`main_variant_id`
) as `product.mainVariantId`,
COALESCE(
`product`.`display_parent`, `product.parent`.`display_parent`
) as `product.displayParent`,
`product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`,
COALESCE(
`product`.`variant_listing_config`,
`product.parent`.`variant_listing_config`
) as `product.variantListingConfig`,
`product`.`variant_restrictions` as `product.variantRestrictions`,
COALESCE(
`product`.`manufacturer_number`,
`product.parent`.`manufacturer_number`
) as `product.manufacturerNumber`,
COALESCE(
`product`.`ean`, `product.parent`.`ean`
) as `product.ean`,
COALESCE(
`product`.`purchase_steps`, `product.parent`.`purchase_steps`
) as `product.purchaseSteps`,
COALESCE(
`product`.`max_purchase`, `product.parent`.`max_purchase`
) as `product.maxPurchase`,
COALESCE(
`product`.`min_purchase`, `product.parent`.`min_purchase`
) as `product.minPurchase`,
COALESCE(
`product`.`purchase_unit`, `product.parent`.`purchase_unit`
) as `product.purchaseUnit`,
COALESCE(
`product`.`reference_unit`, `product.parent`.`reference_unit`
) as `product.referenceUnit`,
COALESCE(
`product`.`shipping_free`, `product.parent`.`shipping_free`
) as `product.shippingFree`,
`product.parent`.`purchase_prices` as `product.purchasePrices.inherited`,
COALESCE(
`product`.`purchase_prices`, `product.parent`.`purchase_prices`
) as `product.purchasePrices`,
COALESCE(
`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`
) as `product.markAsTopseller`,
COALESCE(
`product`.`weight`, `product.parent`.`weight`
) as `product.weight`,
COALESCE(
`product`.`width`, `product.parent`.`width`
) as `product.width`,
COALESCE(
`product`.`height`, `product.parent`.`height`
) as `product.height`,
COALESCE(
`product`.`length`, `product.parent`.`length`
) as `product.length`,
COALESCE(
`product`.`release_date`, `product.parent`.`release_date`
) as `product.releaseDate`,
COALESCE(
`product`.`rating_average`, `product.parent`.`rating_average`
) as `product.ratingAverage`,
`product.parent`.`category_tree` as `product.categoryTree.inherited`,
COALESCE(
`product`.`category_tree`, `product.parent`.`category_tree`
) as `product.categoryTree`,
`product.parent`.`property_ids` as `product.propertyIds.inherited`,
COALESCE(
`product`.`property_ids`, `product.parent`.`property_ids`
) as `product.propertyIds`,
`product.parent`.`option_ids` as `product.optionIds.inherited`,
COALESCE(
`product`.`option_ids`, `product.parent`.`option_ids`
) as `product.optionIds`,
`product.parent`.`stream_ids` as `product.streamIds.inherited`,
COALESCE(
`product`.`stream_ids`, `product.parent`.`stream_ids`
) as `product.streamIds`,
`product.parent`.`tag_ids` as `product.tagIds.inherited`,
COALESCE(
`product`.`tag_ids`, `product.parent`.`tag_ids`
) as `product.tagIds`,
`product.parent`.`category_ids` as `product.categoryIds.inherited`,
COALESCE(
`product`.`category_ids`, `product.parent`.`category_ids`
) as `product.categoryIds`,
`product`.`child_count` as `product.childCount`,
COALESCE(
`product`.`custom_field_set_selection_active`,
`product.parent`.`custom_field_set_selection_active`
) as `product.customFieldSetSelectionActive`,
`product`.`sales` as `product.sales`,
`product`.`states` as `product.states`,
`product.tax`.`id` as `product.tax.id`,
`product.tax`.`tax_rate` as `product.tax.taxRate`,
`product.tax`.`name` as `product.tax.name`,
`product.tax`.`position` as `product.tax.position`,
`product.tax`.`custom_fields` as `product.tax.customFields`,
`product.tax`.`created_at` as `product.tax.createdAt`,
`product.tax`.`updated_at` as `product.tax.updatedAt`,
`product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`,
COALESCE(
`product`.`cheapest_price`, `product.parent`.`cheapest_price`
) as `product.cheapestPrice`,
`product`.`created_at` as `product.createdAt`,
`product`.`updated_at` as `product.updatedAt`,
`product.bundle`.`id` as `product.bundle.id`,
`product.bundle`.`product_id` as `product.bundle.productId`,
`product.bundle`.`product_version_id` as `product.bundle.productVersionId`,
`product.bundle`.`name` as `product.bundle.name`,
`product.bundle`.`price_type` as `product.bundle.priceType`,
`product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`,
`product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`,
`product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`,
`product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`,
`product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`,
`product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`,
`product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`,
`product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`,
`product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`,
`product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`,
`product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`,
`product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`,
`product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`,
`product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`,
`product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`,
`product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`,
`product.bundle`.`created_at` as `product.bundle.createdAt`,
`product.bundle`.`updated_at` as `product.bundle.updatedAt`,
`product.cover`.`id` as `product.cover.id`,
`product.cover`.`version_id` as `product.cover.versionId`,
`product.cover`.`product_id` as `product.cover.productId`,
`product.cover`.`product_version_id` as `product.cover.productVersionId`,
`product.cover`.`media_id` as `product.cover.mediaId`,
`product.cover`.`position` as `product.cover.position`,
`product.cover.media`.`id` as `product.cover.media.id`,
`product.cover.media`.`user_id` as `product.cover.media.userId`,
`product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`,
`product.cover.media`.`mime_type` as `product.cover.media.mimeType`,
`product.cover.media`.`file_extension` as `product.cover.media.fileExtension`,
`product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`,
`product.cover.media`.`file_name` as `product.cover.media.fileName`,
`product.cover.media`.`file_size` as `product.cover.media.fileSize`,
`product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`,
`product.cover.media`.`meta_data` as `product.cover.media.metaData`,
`product.cover.media`.`private` as `product.cover.media.private`,
`product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`,
`product.cover.media`.`created_at` as `product.cover.media.createdAt`,
`product.cover.media`.`updated_at` as `product.cover.media.updatedAt`,
`product.cover.media.translation.title`,
COALESCE(
`product.cover.media.translation.title`,
`product.cover.media.translation.title`
) as `product.cover.media.title`,
`product.cover.media.translation.alt`,
COALESCE(
`product.cover.media.translation.alt`,
`product.cover.media.translation.alt`
) as `product.cover.media.alt`,
`product.cover.media.translation.customFields`,
COALESCE(
`product.cover.media.translation.customFields`,
`product.cover.media.translation.customFields`
) as `product.cover.media.customFields`,
`product.cover.media.translation.createdAt`,
`product.cover.media.translation.updatedAt`,
`product.cover.media.translation.mediaId`,
`product.cover.media.translation.languageId`,
`product.cover`.`custom_fields` as `product.cover.customFields`,
`product.cover`.`created_at` as `product.cover.createdAt`,
`product.cover`.`updated_at` as `product.cover.updatedAt`,
`product.translation.metaDescription`,
`product.parent.translation.metaDescription`,
COALESCE(
`product.translation.metaDescription`,
`product.parent.translation.metaDescription`,
`product.translation.metaDescription`
) as `product.metaDescription`,
`product.translation.name`,
`product.parent.translation.name`,
COALESCE(
`product.translation.name`, `product.parent.translation.name`,
`product.translation.name`
) as `product.name`,
`product.translation.keywords`,
`product.parent.translation.keywords`,
COALESCE(
`product.translation.keywords`,
`product.parent.translation.keywords`,
`product.translation.keywords`
) as `product.keywords`,
`product.translation.description`,
`product.parent.translation.description`,
COALESCE(
`product.translation.description`,
`product.parent.translation.description`,
`product.translation.description`
) as `product.description`,
`product.translation.metaTitle`,
`product.parent.translation.metaTitle`,
COALESCE(
`product.translation.metaTitle`,
`product.parent.translation.metaTitle`,
`product.translation.metaTitle`
) as `product.metaTitle`,
`product.translation.packUnit`,
`product.parent.translation.packUnit`,
COALESCE(
`product.translation.packUnit`,
`product.parent.translation.packUnit`,
`product.translation.packUnit`
) as `product.packUnit`,
`product.translation.packUnitPlural`,
`product.parent.translation.packUnitPlural`,
COALESCE(
`product.translation.packUnitPlural`,
`product.parent.translation.packUnitPlural`,
`product.translation.packUnitPlural`
) as `product.packUnitPlural`,
`product.translation.customSearchKeywords`,
`product.parent.translation.customSearchKeywords`,
COALESCE(
`product.translation.customSearchKeywords`,
`product.parent.translation.customSearchKeywords`,
`product.translation.customSearchKeywords`
) as `product.customSearchKeywords`,
`product.translation.slotConfig`,
`product.parent.translation.slotConfig`,
COALESCE(
`product.translation.slotConfig`,
`product.parent.translation.slotConfig`,
`product.translation.slotConfig`
) as `product.slotConfig`,
`product.translation.customFields`,
`product.parent.translation.customFields`,
COALESCE(
`product.translation.customFields`,
`product.parent.translation.customFields`,
`product.translation.customFields`
) as `product.customFields`,
`product.translation.createdAt`,
`product.parent.translation.createdAt`,
`product.translation.updatedAt`,
`product.parent.translation.updatedAt`,
`product.translation.productId`,
`product.parent.translation.productId`,
`product.translation.languageId`,
`product.parent.translation.languageId`,
`product.translation.productVersionId`,
`product.parent.translation.productVersionId`
FROM
`product`
LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id`
AND `product`.`version_id` = `product.parent`.`version_id`
LEFT JOIN (
SELECT
`product.translation`.product_id,
`product.translation`.product_version_id,
`product.translation`.meta_description as `product.translation.metaDescription`,
`product.translation`.name as `product.translation.name`,
`product.translation`.keywords as `product.translation.keywords`,
`product.translation`.description as `product.translation.description`,
`product.translation`.meta_title as `product.translation.metaTitle`,
`product.translation`.pack_unit as `product.translation.packUnit`,
`product.translation`.pack_unit_plural as `product.translation.packUnitPlural`,
`product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`,
`product.translation`.slot_config as `product.translation.slotConfig`,
`product.translation`.custom_fields as `product.translation.customFields`,
`product.translation`.created_at as `product.translation.createdAt`,
`product.translation`.updated_at as `product.translation.updatedAt`,
`product.translation`.product_id as `product.translation.productId`,
`product.translation`.language_id as `product.translation.languageId`,
`product.translation`.product_version_id as `product.translation.productVersionId`
FROM
`product_translation` `product.translation`
WHERE
`product.translation`.language_id = : languageId
) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id`
AND `product.product_translation`.product_version_id = `product`.version_id
LEFT JOIN (
SELECT
`product.parent.translation`.product_id,
`product.parent.translation`.product_version_id,
`product.parent.translation`.meta_description as `product.parent.translation.metaDescription`,
`product.parent.translation`.name as `product.parent.translation.name`,
`product.parent.translation`.keywords as `product.parent.translation.keywords`,
`product.parent.translation`.description as `product.parent.translation.description`,
`product.parent.translation`.meta_title as `product.parent.translation.metaTitle`,
`product.parent.translation`.pack_unit as `product.parent.translation.packUnit`,
`product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`,
`product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`,
`product.parent.translation`.slot_config as `product.parent.translation.slotConfig`,
`product.parent.translation`.custom_fields as `product.parent.translation.customFields`,
`product.parent.translation`.created_at as `product.parent.translation.createdAt`,
`product.parent.translation`.updated_at as `product.parent.translation.updatedAt`,
`product.parent.translation`.product_id as `product.parent.translation.productId`,
`product.parent.translation`.language_id as `product.parent.translation.languageId`,
`product.parent.translation`.product_version_id as `product.parent.translation.productVersionId`
FROM
`product_translation` `product.parent.translation`
WHERE
`product.parent.translation`.language_id = : languageId
) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id`
AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id
LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id`
LEFT JOIN `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_id`
LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id`
AND `product`.`version_id` = `product.cover`.`version_id`
LEFT JOIN `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id`
LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id`
LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`id`
LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id`
LEFT JOIN (
SELECT
`product.cover.media.translation`.media_id,
`product.cover.media.translation`.title as `product.cover.media.translation.title`,
`product.cover.media.translation`.alt as `product.cover.media.translation.alt`,
`product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`,
`product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`,
`product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`,
`product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`,
`product.cover.media.translation`.language_id as `product.cover.media.translation.languageId`
FROM
`media_translation` `product.cover.media.translation`
WHERE
`product.cover.media.translation`.language_id = : languageId
) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id`
WHERE
(
`product`.`version_id` = : version
)
AND (
`product`.`id` IN (: ids)
)
SELECT `product`.`id` as `product.id`, `product`.`version_id` as `product.versionId`, `product`.`parent_id` as `product.parentId`, `product`.`parent_version_id` as `product.parentVersionId`, COALESCE(`product`.`product_manufacturer_id`, `product.parent`.`product_manufacturer_id`) as `product.manufacturerId`, COALESCE(`product`.`product_manufacturer_version_id`, `product.parent`.`product_manufacturer_version_id`) as `product.productManufacturerVersionId`, COALESCE(`product`.`unit_id`, `product.parent`.`unit_id`) as `product.unitId`, COALESCE(`product`.`tax_id`, `product.parent`.`tax_id`) as `product.taxId`, COALESCE(`product`.`product_media_id`, `product.parent`.`product_media_id`) as `product.coverId`, COALESCE(`product`.`product_media_version_id`, `product.parent`.`product_media_version_id`) as `product.productMediaVersionId`, COALESCE(`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`) as `product.deliveryTimeId`, COALESCE(`product`.`product_feature_set_id`, `product.parent`.`product_feature_set_id`) as `product.featureSetId`, COALESCE(`product`.`canonical_product_id`, `product.parent`.`canonical_product_id`) as `product.canonicalProductId`, COALESCE(`product`.`cms_page_id`, `product.parent`.`cms_page_id`) as `product.cmsPageId`, COALESCE(`product`.`cms_page_version_id`, `product.parent`.`cms_page_version_id`) as `product.cmsPageVersionId`, `product.parent`.`price` as `product.price.inherited`, COALESCE(`product`.`price`, `product.parent`.`price`) as `product.price`, `product`.`product_number` as `product.productNumber`, `product`.`stock` as `product.stock`, COALESCE(`product`.`restock_time`, `product.parent`.`restock_time`) as `product.restockTime`, `product`.`auto_increment` as `product.autoIncrement`, COALESCE(`product`.`active`, `product.parent`.`active`) as `product.active`, `product`.`available_stock` as `product.availableStock`, `product`.`available` as `product.available`, COALESCE(`product`.`is_closeout`, `product.parent`.`is_closeout`) as `product.isCloseout`, `product`.`display_group` as `product.displayGroup`, `product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`, COALESCE(`product`.`configurator_group_config`, `product.parent`.`configurator_group_config`) as `product.configuratorGroupConfig`, COALESCE(`product`.`main_variant_id`, `product.parent`.`main_variant_id`) as `product.mainVariantId`, COALESCE(`product`.`display_parent`, `product.parent`.`display_parent`) as `product.displayParent`, `product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`, COALESCE(`product`.`variant_listing_config`, `product.parent`.`variant_listing_config`) as `product.variantListingConfig`, `product`.`variant_restrictions` as `product.variantRestrictions`, COALESCE(`product`.`manufacturer_number`, `product.parent`.`manufacturer_number`) as `product.manufacturerNumber`, COALESCE(`product`.`ean`, `product.parent`.`ean`) as `product.ean`, COALESCE(`product`.`purchase_steps`, `product.parent`.`purchase_steps`) as `product.purchaseSteps`, COALESCE(`product`.`max_purchase`, `product.parent`.`max_purchase`) as `product.maxPurchase`, COALESCE(`product`.`min_purchase`, `product.parent`.`min_purchase`) as `product.minPurchase`, COALESCE(`product`.`purchase_unit`, `product.parent`.`purchase_unit`) as `product.purchaseUnit`, COALESCE(`product`.`reference_unit`, `product.parent`.`reference_unit`) as `product.referenceUnit`, COALESCE(`product`.`shipping_free`, `product.parent`.`shipping_free`) as `product.shippingFree`, `product.parent`.`purchase_prices` as `product.purchasePrices.inherited`, COALESCE(`product`.`purchase_prices`, `product.parent`.`purchase_prices`) as `product.purchasePrices`, COALESCE(`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`) as `product.markAsTopseller`, COALESCE(`product`.`weight`, `product.parent`.`weight`) as `product.weight`, COALESCE(`product`.`width`, `product.parent`.`width`) as `product.width`, COALESCE(`product`.`height`, `product.parent`.`height`) as `product.height`, COALESCE(`product`.`length`, `product.parent`.`length`) as `product.length`, COALESCE(`product`.`release_date`, `product.parent`.`release_date`) as `product.releaseDate`, COALESCE(`product`.`rating_average`, `product.parent`.`rating_average`) as `product.ratingAverage`, `product.parent`.`category_tree` as `product.categoryTree.inherited`, COALESCE(`product`.`category_tree`, `product.parent`.`category_tree`) as `product.categoryTree`, `product.parent`.`property_ids` as `product.propertyIds.inherited`, COALESCE(`product`.`property_ids`, `product.parent`.`property_ids`) as `product.propertyIds`, `product.parent`.`option_ids` as `product.optionIds.inherited`, COALESCE(`product`.`option_ids`, `product.parent`.`option_ids`) as `product.optionIds`, `product.parent`.`stream_ids` as `product.streamIds.inherited`, COALESCE(`product`.`stream_ids`, `product.parent`.`stream_ids`) as `product.streamIds`, `product.parent`.`tag_ids` as `product.tagIds.inherited`, COALESCE(`product`.`tag_ids`, `product.parent`.`tag_ids`) as `product.tagIds`, `product.parent`.`category_ids` as `product.categoryIds.inherited`, COALESCE(`product`.`category_ids`, `product.parent`.`category_ids`) as `product.categoryIds`, `product`.`child_count` as `product.childCount`, COALESCE(`product`.`custom_field_set_selection_active`, `product.parent`.`custom_field_set_selection_active`) as `product.customFieldSetSelectionActive`, `product`.`sales` as `product.sales`, `product`.`states` as `product.states`, `product.tax`.`id` as `product.tax.id`, `product.tax`.`tax_rate` as `product.tax.taxRate`, `product.tax`.`name` as `product.tax.name`, `product.tax`.`position` as `product.tax.position`, `product.tax`.`custom_fields` as `product.tax.customFields`, `product.tax`.`created_at` as `product.tax.createdAt`, `product.tax`.`updated_at` as `product.tax.updatedAt`, `product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`, COALESCE(`product`.`cheapest_price`, `product.parent`.`cheapest_price`) as `product.cheapestPrice`, `product`.`created_at` as `product.createdAt`, `product`.`updated_at` as `product.updatedAt`, `product.bundle`.`id` as `product.bundle.id`, `product.bundle`.`product_id` as `product.bundle.productId`, `product.bundle`.`product_version_id` as `product.bundle.productVersionId`, `product.bundle`.`name` as `product.bundle.name`, `product.bundle`.`price_type` as `product.bundle.priceType`, `product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`, `product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`, `product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`, `product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`, `product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`, `product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`, `product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`, `product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`, `product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`, `product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`, `product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`, `product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`, `product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`, `product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`, `product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`, `product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`, `product.bundle`.`created_at` as `product.bundle.createdAt`, `product.bundle`.`updated_at` as `product.bundle.updatedAt`, `product.cover`.`id` as `product.cover.id`, `product.cover`.`version_id` as `product.cover.versionId`, `product.cover`.`product_id` as `product.cover.productId`, `product.cover`.`product_version_id` as `product.cover.productVersionId`, `product.cover`.`media_id` as `product.cover.mediaId`, `product.cover`.`position` as `product.cover.position`, `product.cover.media`.`id` as `product.cover.media.id`, `product.cover.media`.`user_id` as `product.cover.media.userId`, `product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`, `product.cover.media`.`mime_type` as `product.cover.media.mimeType`, `product.cover.media`.`file_extension` as `product.cover.media.fileExtension`, `product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`, `product.cover.media`.`file_name` as `product.cover.media.fileName`, `product.cover.media`.`file_size` as `product.cover.media.fileSize`, `product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`, `product.cover.media`.`meta_data` as `product.cover.media.metaData`, `product.cover.media`.`private` as `product.cover.media.private`, `product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`, `product.cover.media`.`created_at` as `product.cover.media.createdAt`, `product.cover.media`.`updated_at` as `product.cover.media.updatedAt`, `product.cover.media.translation.title`, COALESCE(`product.cover.media.translation.title`,`product.cover.media.translation.title`) as `product.cover.media.title`, `product.cover.media.translation.alt`, COALESCE(`product.cover.media.translation.alt`,`product.cover.media.translation.alt`) as `product.cover.media.alt`, `product.cover.media.translation.customFields`, COALESCE(`product.cover.media.translation.customFields`,`product.cover.media.translation.customFields`) as `product.cover.media.customFields`, `product.cover.media.translation.createdAt`, `product.cover.media.translation.updatedAt`, `product.cover.media.translation.mediaId`, `product.cover.media.translation.languageId`, `product.cover`.`custom_fields` as `product.cover.customFields`, `product.cover`.`created_at` as `product.cover.createdAt`, `product.cover`.`updated_at` as `product.cover.updatedAt`, `product.translation.metaDescription`, `product.parent.translation.metaDescription`, COALESCE(`product.translation.metaDescription`,`product.parent.translation.metaDescription`,`product.translation.metaDescription`) as `product.metaDescription`, `product.translation.name`, `product.parent.translation.name`, COALESCE(`product.translation.name`,`product.parent.translation.name`,`product.translation.name`) as `product.name`, `product.translation.keywords`, `product.parent.translation.keywords`, COALESCE(`product.translation.keywords`,`product.parent.translation.keywords`,`product.translation.keywords`) as `product.keywords`, `product.translation.description`, `product.parent.translation.description`, COALESCE(`product.translation.description`,`product.parent.translation.description`,`product.translation.description`) as `product.description`, `product.translation.metaTitle`, `product.parent.translation.metaTitle`, COALESCE(`product.translation.metaTitle`,`product.parent.translation.metaTitle`,`product.translation.metaTitle`) as `product.metaTitle`, `product.translation.packUnit`, `product.parent.translation.packUnit`, COALESCE(`product.translation.packUnit`,`product.parent.translation.packUnit`,`product.translation.packUnit`) as `product.packUnit`, `product.translation.packUnitPlural`, `product.parent.translation.packUnitPlural`, COALESCE(`product.translation.packUnitPlural`,`product.parent.translation.packUnitPlural`,`product.translation.packUnitPlural`) as `product.packUnitPlural`, `product.translation.customSearchKeywords`, `product.parent.translation.customSearchKeywords`, COALESCE(`product.translation.customSearchKeywords`,`product.parent.translation.customSearchKeywords`,`product.translation.customSearchKeywords`) as `product.customSearchKeywords`, `product.translation.slotConfig`, `product.parent.translation.slotConfig`, COALESCE(`product.translation.slotConfig`,`product.parent.translation.slotConfig`,`product.translation.slotConfig`) as `product.slotConfig`, `product.translation.customFields`, `product.parent.translation.customFields`, COALESCE(`product.translation.customFields`,`product.parent.translation.customFields`,`product.translation.customFields`) as `product.customFields`, `product.translation.createdAt`, `product.parent.translation.createdAt`, `product.translation.updatedAt`, `product.parent.translation.updatedAt`, `product.translation.productId`, `product.parent.translation.productId`, `product.translation.languageId`, `product.parent.translation.languageId`, `product.translation.productVersionId`, `product.parent.translation.productVersionId` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN (SELECT `product.translation`.product_id, `product.translation`.product_version_id, `product.translation`.meta_description as `product.translation.metaDescription`, `product.translation`.name as `product.translation.name`, `product.translation`.keywords as `product.translation.keywords`, `product.translation`.description as `product.translation.description`, `product.translation`.meta_title as `product.translation.metaTitle`, `product.translation`.pack_unit as `product.translation.packUnit`, `product.translation`.pack_unit_plural as `product.translation.packUnitPlural`, `product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`, `product.translation`.slot_config as `product.translation.slotConfig`, `product.translation`.custom_fields as `product.translation.customFields`, `product.translation`.created_at as `product.translation.createdAt`, `product.translation`.updated_at as `product.translation.updatedAt`, `product.translation`.product_id as `product.translation.productId`, `product.translation`.language_id as `product.translation.languageId`, `product.translation`.product_version_id as `product.translation.productVersionId` FROM `product_translation` `product.translation` WHERE `product.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id` AND `product.product_translation`.product_version_id = `product`.version_id LEFT JOIN (SELECT `product.parent.translation`.product_id, `product.parent.translation`.product_version_id, `product.parent.translation`.meta_description as `product.parent.translation.metaDescription`, `product.parent.translation`.name as `product.parent.translation.name`, `product.parent.translation`.keywords as `product.parent.translation.keywords`, `product.parent.translation`.description as `product.parent.translation.description`, `product.parent.translation`.meta_title as `product.parent.translation.metaTitle`, `product.parent.translation`.pack_unit as `product.parent.translation.packUnit`, `product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`, `product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`, `product.parent.translation`.slot_config as `product.parent.translation.slotConfig`, `product.parent.translation`.custom_fields as `product.parent.translation.customFields`, `product.parent.translation`.created_at as `product.parent.translation.createdAt`, `product.parent.translation`.updated_at as `product.parent.translation.updatedAt`, `product.parent.translation`.product_id as `product.parent.translation.productId`, `product.parent.translation`.language_id as `product.parent.translation.languageId`, `product.parent.translation`.product_version_id as `product.parent.translation.productVersionId` FROM `product_translation` `product.parent.translation` WHERE `product.parent.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id` AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id` LEFT JOIN `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_id` LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id` AND `product`.`version_id` = `product.cover`.`version_id` LEFT JOIN `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`id` LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id` LEFT JOIN (SELECT `product.cover.media.translation`.media_id, `product.cover.media.translation`.title as `product.cover.media.translation.title`, `product.cover.media.translation`.alt as `product.cover.media.translation.alt`, `product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`, `product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`, `product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`, `product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`, `product.cover.media.translation`.language_id as `product.cover.media.translation.languageId` FROM `media_translation` `product.cover.media.translation` WHERE `product.cover.media.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id` WHERE (`product`.`version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425) AND (`product`.`id` IN (0x03F4EF144EC44C3E822790C652F7C3F6));
array:51 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 316)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetch (line 148)"
4 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 93)"
5 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::read (line 257)"
6 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::read (line 286)"
7 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::_search (line 106)"
8 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::search (line 51)"
9 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepositoryForwardCompatibilityDecorator::search (line 103)"
10 => "Bodymed\Webshop\StoreFront\Subscriber\ProductExtensionSubscriber::addParentCover (line 230)"
11 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
12 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
13 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
14 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
15 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
16 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 33)"
17 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
18 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 208)"
19 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::read (line 133)"
20 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 49)"
21 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariantsOfProduct (line 30)"
22 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariants (line 224)"
23 => "Bodymed\Webshop\Core\Content\Product\Cms\ProductSliderCmsElementResolver::enrich (line 99)"
24 => "Shopware\Core\Content\Cms\DataResolver\CmsSlotsDataResolver::resolve (line 104)"
25 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::loadSlotData (line 94)"
26 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::load (line 102)"
27 => "Shopware\Core\Content\Category\SalesChannel\CategoryRoute::load (line 103)"
28 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 350)"
29 => "Shopware\Core\System\SystemConfig\SystemConfigService::trace (line 44)"
30 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 120)"
31 => "Shopware\Core\Framework\Adapter\Translation\Translator::trace (line 45)"
32 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 46)"
33 => "Shopware\Core\Framework\Adapter\Cache\CacheTagCollection::trace (line 46)"
34 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::trace (line 41)"
35 => "Shopware\Storefront\Framework\Cache\CacheTracer::Shopware\Storefront\Framework\Cache\{closure} (line 59)"
36 => "Shopware\Storefront\Theme\ThemeConfigValueAccessor::trace (line 42)"
37 => "Shopware\Storefront\Framework\Cache\CacheTracer::trace (line 104)"
38 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 72)"
39 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
40 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 109)"
41 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 59)"
42 => "Shopware\Core\Profiling\Profiler::trace (line 112)"
43 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::load (line 66)"
44 => "Shopware\Storefront\Page\Navigation\NavigationPageLoader::load (line 48)"
45 => "Shopware\Storefront\Controller\NavigationController::home (line 163)"
46 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
47 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
48 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
49 => "Shopware\Core\HttpKernel::doHandle (line 81)"
50 => "Shopware\Core\HttpKernel::handle (line 75)"
]
|
99 |
0.79 ms |
SELECT * FROM sales_channel_api_context WHERE (sales_channel_id = :salesChannelId) AND (token = :token) LIMIT 1
SELECT * FROM sales_channel_api_context WHERE (sales_channel_id = 0x620A2217F7474E619CB00AD39E804CCA) AND (token = 'FwsxT47353Zxmr7lp0KSfYcVNkg5VpYR') LIMIT 1;
array:58 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 165)"
3 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextPersister::load (line 69)"
4 => "Bodymed\Webshop\Core\Subscriber\ProductSubscriber::addCustomerProductFeatureExtension (line 230)"
5 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
6 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
7 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
8 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
9 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
10 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 33)"
11 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
12 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 269)"
13 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::read (line 286)"
14 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::_search (line 106)"
15 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::search (line 51)"
16 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepositoryForwardCompatibilityDecorator::search (line 103)"
17 => "Bodymed\Webshop\StoreFront\Subscriber\ProductExtensionSubscriber::addParentCover (line 230)"
18 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
19 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
20 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
21 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
22 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
23 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 33)"
24 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
25 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 208)"
26 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::read (line 133)"
27 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 49)"
28 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariantsOfProduct (line 30)"
29 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariants (line 224)"
30 => "Bodymed\Webshop\Core\Content\Product\Cms\ProductSliderCmsElementResolver::enrich (line 99)"
31 => "Shopware\Core\Content\Cms\DataResolver\CmsSlotsDataResolver::resolve (line 104)"
32 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::loadSlotData (line 94)"
33 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::load (line 102)"
34 => "Shopware\Core\Content\Category\SalesChannel\CategoryRoute::load (line 103)"
35 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 350)"
36 => "Shopware\Core\System\SystemConfig\SystemConfigService::trace (line 44)"
37 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 120)"
38 => "Shopware\Core\Framework\Adapter\Translation\Translator::trace (line 45)"
39 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 46)"
40 => "Shopware\Core\Framework\Adapter\Cache\CacheTagCollection::trace (line 46)"
41 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::trace (line 41)"
42 => "Shopware\Storefront\Framework\Cache\CacheTracer::Shopware\Storefront\Framework\Cache\{closure} (line 59)"
43 => "Shopware\Storefront\Theme\ThemeConfigValueAccessor::trace (line 42)"
44 => "Shopware\Storefront\Framework\Cache\CacheTracer::trace (line 104)"
45 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 72)"
46 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
47 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 109)"
48 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 59)"
49 => "Shopware\Core\Profiling\Profiler::trace (line 112)"
50 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::load (line 66)"
51 => "Shopware\Storefront\Page\Navigation\NavigationPageLoader::load (line 48)"
52 => "Shopware\Storefront\Controller\NavigationController::home (line 163)"
53 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
54 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
55 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
56 => "Shopware\Core\HttpKernel::doHandle (line 81)"
57 => "Shopware\Core\HttpKernel::handle (line 75)"
]
|
100 |
27.26 ms |
SELECT `product`.`id` as `product.id`, `product`.`version_id` as `product.versionId`, `product`.`parent_id` as `product.parentId`, `product`.`parent_version_id` as `product.parentVersionId`, COALESCE(`product`.`product_manufacturer_id`, `product.parent`.`product_manufacturer_id`) as `product.manufacturerId`, COALESCE(`product`.`product_manufacturer_version_id`, `product.parent`.`product_manufacturer_version_id`) as `product.productManufacturerVersionId`, COALESCE(`product`.`unit_id`, `product.parent`.`unit_id`) as `product.unitId`, COALESCE(`product`.`tax_id`, `product.parent`.`tax_id`) as `product.taxId`, COALESCE(`product`.`product_media_id`, `product.parent`.`product_media_id`) as `product.coverId`, COALESCE(`product`.`product_media_version_id`, `product.parent`.`product_media_version_id`) as `product.productMediaVersionId`, COALESCE(`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`) as `product.deliveryTimeId`, COALESCE(`product`.`product_feature_set_id`, `product.parent`.`product_feature_set_id`) as `product.featureSetId`, COALESCE(`product`.`canonical_product_id`, `product.parent`.`canonical_product_id`) as `product.canonicalProductId`, COALESCE(`product`.`cms_page_id`, `product.parent`.`cms_page_id`) as `product.cmsPageId`, COALESCE(`product`.`cms_page_version_id`, `product.parent`.`cms_page_version_id`) as `product.cmsPageVersionId`, `product.parent`.`price` as `product.price.inherited`, COALESCE(`product`.`price`, `product.parent`.`price`) as `product.price`, `product`.`product_number` as `product.productNumber`, `product`.`stock` as `product.stock`, COALESCE(`product`.`restock_time`, `product.parent`.`restock_time`) as `product.restockTime`, `product`.`auto_increment` as `product.autoIncrement`, COALESCE(`product`.`active`, `product.parent`.`active`) as `product.active`, `product`.`available_stock` as `product.availableStock`, `product`.`available` as `product.available`, COALESCE(`product`.`is_closeout`, `product.parent`.`is_closeout`) as `product.isCloseout`, `product`.`display_group` as `product.displayGroup`, `product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`, COALESCE(`product`.`configurator_group_config`, `product.parent`.`configurator_group_config`) as `product.configuratorGroupConfig`, COALESCE(`product`.`main_variant_id`, `product.parent`.`main_variant_id`) as `product.mainVariantId`, COALESCE(`product`.`display_parent`, `product.parent`.`display_parent`) as `product.displayParent`, `product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`, COALESCE(`product`.`variant_listing_config`, `product.parent`.`variant_listing_config`) as `product.variantListingConfig`, `product`.`variant_restrictions` as `product.variantRestrictions`, COALESCE(`product`.`manufacturer_number`, `product.parent`.`manufacturer_number`) as `product.manufacturerNumber`, COALESCE(`product`.`ean`, `product.parent`.`ean`) as `product.ean`, COALESCE(`product`.`purchase_steps`, `product.parent`.`purchase_steps`) as `product.purchaseSteps`, COALESCE(`product`.`max_purchase`, `product.parent`.`max_purchase`) as `product.maxPurchase`, COALESCE(`product`.`min_purchase`, `product.parent`.`min_purchase`) as `product.minPurchase`, COALESCE(`product`.`purchase_unit`, `product.parent`.`purchase_unit`) as `product.purchaseUnit`, COALESCE(`product`.`reference_unit`, `product.parent`.`reference_unit`) as `product.referenceUnit`, COALESCE(`product`.`shipping_free`, `product.parent`.`shipping_free`) as `product.shippingFree`, `product.parent`.`purchase_prices` as `product.purchasePrices.inherited`, COALESCE(`product`.`purchase_prices`, `product.parent`.`purchase_prices`) as `product.purchasePrices`, COALESCE(`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`) as `product.markAsTopseller`, COALESCE(`product`.`weight`, `product.parent`.`weight`) as `product.weight`, COALESCE(`product`.`width`, `product.parent`.`width`) as `product.width`, COALESCE(`product`.`height`, `product.parent`.`height`) as `product.height`, COALESCE(`product`.`length`, `product.parent`.`length`) as `product.length`, COALESCE(`product`.`release_date`, `product.parent`.`release_date`) as `product.releaseDate`, COALESCE(`product`.`rating_average`, `product.parent`.`rating_average`) as `product.ratingAverage`, `product.parent`.`category_tree` as `product.categoryTree.inherited`, COALESCE(`product`.`category_tree`, `product.parent`.`category_tree`) as `product.categoryTree`, `product.parent`.`property_ids` as `product.propertyIds.inherited`, COALESCE(`product`.`property_ids`, `product.parent`.`property_ids`) as `product.propertyIds`, `product.parent`.`option_ids` as `product.optionIds.inherited`, COALESCE(`product`.`option_ids`, `product.parent`.`option_ids`) as `product.optionIds`, `product.parent`.`stream_ids` as `product.streamIds.inherited`, COALESCE(`product`.`stream_ids`, `product.parent`.`stream_ids`) as `product.streamIds`, `product.parent`.`tag_ids` as `product.tagIds.inherited`, COALESCE(`product`.`tag_ids`, `product.parent`.`tag_ids`) as `product.tagIds`, `product.parent`.`category_ids` as `product.categoryIds.inherited`, COALESCE(`product`.`category_ids`, `product.parent`.`category_ids`) as `product.categoryIds`, `product`.`child_count` as `product.childCount`, COALESCE(`product`.`custom_field_set_selection_active`, `product.parent`.`custom_field_set_selection_active`) as `product.customFieldSetSelectionActive`, `product`.`sales` as `product.sales`, `product`.`states` as `product.states`, `product.tax`.`id` as `product.tax.id`, `product.tax`.`tax_rate` as `product.tax.taxRate`, `product.tax`.`name` as `product.tax.name`, `product.tax`.`position` as `product.tax.position`, `product.tax`.`custom_fields` as `product.tax.customFields`, `product.tax`.`created_at` as `product.tax.createdAt`, `product.tax`.`updated_at` as `product.tax.updatedAt`, `product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`, COALESCE(`product`.`cheapest_price`, `product.parent`.`cheapest_price`) as `product.cheapestPrice`, `product`.`created_at` as `product.createdAt`, `product`.`updated_at` as `product.updatedAt`, `product.bundle`.`id` as `product.bundle.id`, `product.bundle`.`product_id` as `product.bundle.productId`, `product.bundle`.`product_version_id` as `product.bundle.productVersionId`, `product.bundle`.`name` as `product.bundle.name`, `product.bundle`.`price_type` as `product.bundle.priceType`, `product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`, `product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`, `product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`, `product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`, `product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`, `product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`, `product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`, `product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`, `product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`, `product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`, `product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`, `product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`, `product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`, `product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`, `product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`, `product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`, `product.bundle`.`created_at` as `product.bundle.createdAt`, `product.bundle`.`updated_at` as `product.bundle.updatedAt`, `product.cover`.`id` as `product.cover.id`, `product.cover`.`version_id` as `product.cover.versionId`, `product.cover`.`product_id` as `product.cover.productId`, `product.cover`.`product_version_id` as `product.cover.productVersionId`, `product.cover`.`media_id` as `product.cover.mediaId`, `product.cover`.`position` as `product.cover.position`, `product.cover.media`.`id` as `product.cover.media.id`, `product.cover.media`.`user_id` as `product.cover.media.userId`, `product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`, `product.cover.media`.`mime_type` as `product.cover.media.mimeType`, `product.cover.media`.`file_extension` as `product.cover.media.fileExtension`, `product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`, `product.cover.media`.`file_name` as `product.cover.media.fileName`, `product.cover.media`.`file_size` as `product.cover.media.fileSize`, `product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`, `product.cover.media`.`meta_data` as `product.cover.media.metaData`, `product.cover.media`.`private` as `product.cover.media.private`, `product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`, `product.cover.media`.`created_at` as `product.cover.media.createdAt`, `product.cover.media`.`updated_at` as `product.cover.media.updatedAt`, `product.cover.media.translation.title`, COALESCE(`product.cover.media.translation.title`,`product.cover.media.translation.title`) as `product.cover.media.title`, `product.cover.media.translation.alt`, COALESCE(`product.cover.media.translation.alt`,`product.cover.media.translation.alt`) as `product.cover.media.alt`, `product.cover.media.translation.customFields`, COALESCE(`product.cover.media.translation.customFields`,`product.cover.media.translation.customFields`) as `product.cover.media.customFields`, `product.cover.media.translation.createdAt`, `product.cover.media.translation.updatedAt`, `product.cover.media.translation.mediaId`, `product.cover.media.translation.languageId`, `product.cover`.`custom_fields` as `product.cover.customFields`, `product.cover`.`created_at` as `product.cover.createdAt`, `product.cover`.`updated_at` as `product.cover.updatedAt`, `product.translation.metaDescription`, `product.parent.translation.metaDescription`, COALESCE(`product.translation.metaDescription`,`product.parent.translation.metaDescription`,`product.translation.metaDescription`) as `product.metaDescription`, `product.translation.name`, `product.parent.translation.name`, COALESCE(`product.translation.name`,`product.parent.translation.name`,`product.translation.name`) as `product.name`, `product.translation.keywords`, `product.parent.translation.keywords`, COALESCE(`product.translation.keywords`,`product.parent.translation.keywords`,`product.translation.keywords`) as `product.keywords`, `product.translation.description`, `product.parent.translation.description`, COALESCE(`product.translation.description`,`product.parent.translation.description`,`product.translation.description`) as `product.description`, `product.translation.metaTitle`, `product.parent.translation.metaTitle`, COALESCE(`product.translation.metaTitle`,`product.parent.translation.metaTitle`,`product.translation.metaTitle`) as `product.metaTitle`, `product.translation.packUnit`, `product.parent.translation.packUnit`, COALESCE(`product.translation.packUnit`,`product.parent.translation.packUnit`,`product.translation.packUnit`) as `product.packUnit`, `product.translation.packUnitPlural`, `product.parent.translation.packUnitPlural`, COALESCE(`product.translation.packUnitPlural`,`product.parent.translation.packUnitPlural`,`product.translation.packUnitPlural`) as `product.packUnitPlural`, `product.translation.customSearchKeywords`, `product.parent.translation.customSearchKeywords`, COALESCE(`product.translation.customSearchKeywords`,`product.parent.translation.customSearchKeywords`,`product.translation.customSearchKeywords`) as `product.customSearchKeywords`, `product.translation.slotConfig`, `product.parent.translation.slotConfig`, COALESCE(`product.translation.slotConfig`,`product.parent.translation.slotConfig`,`product.translation.slotConfig`) as `product.slotConfig`, `product.translation.customFields`, `product.parent.translation.customFields`, COALESCE(`product.translation.customFields`,`product.parent.translation.customFields`,`product.translation.customFields`) as `product.customFields`, `product.translation.createdAt`, `product.parent.translation.createdAt`, `product.translation.updatedAt`, `product.parent.translation.updatedAt`, `product.translation.productId`, `product.parent.translation.productId`, `product.translation.languageId`, `product.parent.translation.languageId`, `product.translation.productVersionId`, `product.parent.translation.productVersionId` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN (SELECT `product.translation`.product_id, `product.translation`.product_version_id, `product.translation`.meta_description as `product.translation.metaDescription`, `product.translation`.name as `product.translation.name`, `product.translation`.keywords as `product.translation.keywords`, `product.translation`.description as `product.translation.description`, `product.translation`.meta_title as `product.translation.metaTitle`, `product.translation`.pack_unit as `product.translation.packUnit`, `product.translation`.pack_unit_plural as `product.translation.packUnitPlural`, `product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`, `product.translation`.slot_config as `product.translation.slotConfig`, `product.translation`.custom_fields as `product.translation.customFields`, `product.translation`.created_at as `product.translation.createdAt`, `product.translation`.updated_at as `product.translation.updatedAt`, `product.translation`.product_id as `product.translation.productId`, `product.translation`.language_id as `product.translation.languageId`, `product.translation`.product_version_id as `product.translation.productVersionId` FROM `product_translation` `product.translation` WHERE `product.translation`.language_id = :languageId) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id` AND `product.product_translation`.product_version_id = `product`.version_id LEFT JOIN (SELECT `product.parent.translation`.product_id, `product.parent.translation`.product_version_id, `product.parent.translation`.meta_description as `product.parent.translation.metaDescription`, `product.parent.translation`.name as `product.parent.translation.name`, `product.parent.translation`.keywords as `product.parent.translation.keywords`, `product.parent.translation`.description as `product.parent.translation.description`, `product.parent.translation`.meta_title as `product.parent.translation.metaTitle`, `product.parent.translation`.pack_unit as `product.parent.translation.packUnit`, `product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`, `product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`, `product.parent.translation`.slot_config as `product.parent.translation.slotConfig`, `product.parent.translation`.custom_fields as `product.parent.translation.customFields`, `product.parent.translation`.created_at as `product.parent.translation.createdAt`, `product.parent.translation`.updated_at as `product.parent.translation.updatedAt`, `product.parent.translation`.product_id as `product.parent.translation.productId`, `product.parent.translation`.language_id as `product.parent.translation.languageId`, `product.parent.translation`.product_version_id as `product.parent.translation.productVersionId` FROM `product_translation` `product.parent.translation` WHERE `product.parent.translation`.language_id = :languageId) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id` AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id` LEFT JOIN `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_id` LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id` AND `product`.`version_id` = `product.cover`.`version_id` LEFT JOIN `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`id` LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id` LEFT JOIN (SELECT `product.cover.media.translation`.media_id, `product.cover.media.translation`.title as `product.cover.media.translation.title`, `product.cover.media.translation`.alt as `product.cover.media.translation.alt`, `product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`, `product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`, `product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`, `product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`, `product.cover.media.translation`.language_id as `product.cover.media.translation.languageId` FROM `media_translation` `product.cover.media.translation` WHERE `product.cover.media.translation`.language_id = :languageId) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id` WHERE (`product`.`version_id` = :version) AND (`product`.`id` IN (:ids))
SELECT
`product`.`id` as `product.id`,
`product`.`version_id` as `product.versionId`,
`product`.`parent_id` as `product.parentId`,
`product`.`parent_version_id` as `product.parentVersionId`,
COALESCE(
`product`.`product_manufacturer_id`,
`product.parent`.`product_manufacturer_id`
) as `product.manufacturerId`,
COALESCE(
`product`.`product_manufacturer_version_id`,
`product.parent`.`product_manufacturer_version_id`
) as `product.productManufacturerVersionId`,
COALESCE(
`product`.`unit_id`, `product.parent`.`unit_id`
) as `product.unitId`,
COALESCE(
`product`.`tax_id`, `product.parent`.`tax_id`
) as `product.taxId`,
COALESCE(
`product`.`product_media_id`, `product.parent`.`product_media_id`
) as `product.coverId`,
COALESCE(
`product`.`product_media_version_id`,
`product.parent`.`product_media_version_id`
) as `product.productMediaVersionId`,
COALESCE(
`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`
) as `product.deliveryTimeId`,
COALESCE(
`product`.`product_feature_set_id`,
`product.parent`.`product_feature_set_id`
) as `product.featureSetId`,
COALESCE(
`product`.`canonical_product_id`,
`product.parent`.`canonical_product_id`
) as `product.canonicalProductId`,
COALESCE(
`product`.`cms_page_id`, `product.parent`.`cms_page_id`
) as `product.cmsPageId`,
COALESCE(
`product`.`cms_page_version_id`,
`product.parent`.`cms_page_version_id`
) as `product.cmsPageVersionId`,
`product.parent`.`price` as `product.price.inherited`,
COALESCE(
`product`.`price`, `product.parent`.`price`
) as `product.price`,
`product`.`product_number` as `product.productNumber`,
`product`.`stock` as `product.stock`,
COALESCE(
`product`.`restock_time`, `product.parent`.`restock_time`
) as `product.restockTime`,
`product`.`auto_increment` as `product.autoIncrement`,
COALESCE(
`product`.`active`, `product.parent`.`active`
) as `product.active`,
`product`.`available_stock` as `product.availableStock`,
`product`.`available` as `product.available`,
COALESCE(
`product`.`is_closeout`, `product.parent`.`is_closeout`
) as `product.isCloseout`,
`product`.`display_group` as `product.displayGroup`,
`product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`,
COALESCE(
`product`.`configurator_group_config`,
`product.parent`.`configurator_group_config`
) as `product.configuratorGroupConfig`,
COALESCE(
`product`.`main_variant_id`, `product.parent`.`main_variant_id`
) as `product.mainVariantId`,
COALESCE(
`product`.`display_parent`, `product.parent`.`display_parent`
) as `product.displayParent`,
`product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`,
COALESCE(
`product`.`variant_listing_config`,
`product.parent`.`variant_listing_config`
) as `product.variantListingConfig`,
`product`.`variant_restrictions` as `product.variantRestrictions`,
COALESCE(
`product`.`manufacturer_number`,
`product.parent`.`manufacturer_number`
) as `product.manufacturerNumber`,
COALESCE(
`product`.`ean`, `product.parent`.`ean`
) as `product.ean`,
COALESCE(
`product`.`purchase_steps`, `product.parent`.`purchase_steps`
) as `product.purchaseSteps`,
COALESCE(
`product`.`max_purchase`, `product.parent`.`max_purchase`
) as `product.maxPurchase`,
COALESCE(
`product`.`min_purchase`, `product.parent`.`min_purchase`
) as `product.minPurchase`,
COALESCE(
`product`.`purchase_unit`, `product.parent`.`purchase_unit`
) as `product.purchaseUnit`,
COALESCE(
`product`.`reference_unit`, `product.parent`.`reference_unit`
) as `product.referenceUnit`,
COALESCE(
`product`.`shipping_free`, `product.parent`.`shipping_free`
) as `product.shippingFree`,
`product.parent`.`purchase_prices` as `product.purchasePrices.inherited`,
COALESCE(
`product`.`purchase_prices`, `product.parent`.`purchase_prices`
) as `product.purchasePrices`,
COALESCE(
`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`
) as `product.markAsTopseller`,
COALESCE(
`product`.`weight`, `product.parent`.`weight`
) as `product.weight`,
COALESCE(
`product`.`width`, `product.parent`.`width`
) as `product.width`,
COALESCE(
`product`.`height`, `product.parent`.`height`
) as `product.height`,
COALESCE(
`product`.`length`, `product.parent`.`length`
) as `product.length`,
COALESCE(
`product`.`release_date`, `product.parent`.`release_date`
) as `product.releaseDate`,
COALESCE(
`product`.`rating_average`, `product.parent`.`rating_average`
) as `product.ratingAverage`,
`product.parent`.`category_tree` as `product.categoryTree.inherited`,
COALESCE(
`product`.`category_tree`, `product.parent`.`category_tree`
) as `product.categoryTree`,
`product.parent`.`property_ids` as `product.propertyIds.inherited`,
COALESCE(
`product`.`property_ids`, `product.parent`.`property_ids`
) as `product.propertyIds`,
`product.parent`.`option_ids` as `product.optionIds.inherited`,
COALESCE(
`product`.`option_ids`, `product.parent`.`option_ids`
) as `product.optionIds`,
`product.parent`.`stream_ids` as `product.streamIds.inherited`,
COALESCE(
`product`.`stream_ids`, `product.parent`.`stream_ids`
) as `product.streamIds`,
`product.parent`.`tag_ids` as `product.tagIds.inherited`,
COALESCE(
`product`.`tag_ids`, `product.parent`.`tag_ids`
) as `product.tagIds`,
`product.parent`.`category_ids` as `product.categoryIds.inherited`,
COALESCE(
`product`.`category_ids`, `product.parent`.`category_ids`
) as `product.categoryIds`,
`product`.`child_count` as `product.childCount`,
COALESCE(
`product`.`custom_field_set_selection_active`,
`product.parent`.`custom_field_set_selection_active`
) as `product.customFieldSetSelectionActive`,
`product`.`sales` as `product.sales`,
`product`.`states` as `product.states`,
`product.tax`.`id` as `product.tax.id`,
`product.tax`.`tax_rate` as `product.tax.taxRate`,
`product.tax`.`name` as `product.tax.name`,
`product.tax`.`position` as `product.tax.position`,
`product.tax`.`custom_fields` as `product.tax.customFields`,
`product.tax`.`created_at` as `product.tax.createdAt`,
`product.tax`.`updated_at` as `product.tax.updatedAt`,
`product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`,
COALESCE(
`product`.`cheapest_price`, `product.parent`.`cheapest_price`
) as `product.cheapestPrice`,
`product`.`created_at` as `product.createdAt`,
`product`.`updated_at` as `product.updatedAt`,
`product.bundle`.`id` as `product.bundle.id`,
`product.bundle`.`product_id` as `product.bundle.productId`,
`product.bundle`.`product_version_id` as `product.bundle.productVersionId`,
`product.bundle`.`name` as `product.bundle.name`,
`product.bundle`.`price_type` as `product.bundle.priceType`,
`product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`,
`product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`,
`product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`,
`product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`,
`product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`,
`product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`,
`product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`,
`product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`,
`product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`,
`product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`,
`product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`,
`product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`,
`product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`,
`product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`,
`product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`,
`product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`,
`product.bundle`.`created_at` as `product.bundle.createdAt`,
`product.bundle`.`updated_at` as `product.bundle.updatedAt`,
`product.cover`.`id` as `product.cover.id`,
`product.cover`.`version_id` as `product.cover.versionId`,
`product.cover`.`product_id` as `product.cover.productId`,
`product.cover`.`product_version_id` as `product.cover.productVersionId`,
`product.cover`.`media_id` as `product.cover.mediaId`,
`product.cover`.`position` as `product.cover.position`,
`product.cover.media`.`id` as `product.cover.media.id`,
`product.cover.media`.`user_id` as `product.cover.media.userId`,
`product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`,
`product.cover.media`.`mime_type` as `product.cover.media.mimeType`,
`product.cover.media`.`file_extension` as `product.cover.media.fileExtension`,
`product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`,
`product.cover.media`.`file_name` as `product.cover.media.fileName`,
`product.cover.media`.`file_size` as `product.cover.media.fileSize`,
`product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`,
`product.cover.media`.`meta_data` as `product.cover.media.metaData`,
`product.cover.media`.`private` as `product.cover.media.private`,
`product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`,
`product.cover.media`.`created_at` as `product.cover.media.createdAt`,
`product.cover.media`.`updated_at` as `product.cover.media.updatedAt`,
`product.cover.media.translation.title`,
COALESCE(
`product.cover.media.translation.title`,
`product.cover.media.translation.title`
) as `product.cover.media.title`,
`product.cover.media.translation.alt`,
COALESCE(
`product.cover.media.translation.alt`,
`product.cover.media.translation.alt`
) as `product.cover.media.alt`,
`product.cover.media.translation.customFields`,
COALESCE(
`product.cover.media.translation.customFields`,
`product.cover.media.translation.customFields`
) as `product.cover.media.customFields`,
`product.cover.media.translation.createdAt`,
`product.cover.media.translation.updatedAt`,
`product.cover.media.translation.mediaId`,
`product.cover.media.translation.languageId`,
`product.cover`.`custom_fields` as `product.cover.customFields`,
`product.cover`.`created_at` as `product.cover.createdAt`,
`product.cover`.`updated_at` as `product.cover.updatedAt`,
`product.translation.metaDescription`,
`product.parent.translation.metaDescription`,
COALESCE(
`product.translation.metaDescription`,
`product.parent.translation.metaDescription`,
`product.translation.metaDescription`
) as `product.metaDescription`,
`product.translation.name`,
`product.parent.translation.name`,
COALESCE(
`product.translation.name`, `product.parent.translation.name`,
`product.translation.name`
) as `product.name`,
`product.translation.keywords`,
`product.parent.translation.keywords`,
COALESCE(
`product.translation.keywords`,
`product.parent.translation.keywords`,
`product.translation.keywords`
) as `product.keywords`,
`product.translation.description`,
`product.parent.translation.description`,
COALESCE(
`product.translation.description`,
`product.parent.translation.description`,
`product.translation.description`
) as `product.description`,
`product.translation.metaTitle`,
`product.parent.translation.metaTitle`,
COALESCE(
`product.translation.metaTitle`,
`product.parent.translation.metaTitle`,
`product.translation.metaTitle`
) as `product.metaTitle`,
`product.translation.packUnit`,
`product.parent.translation.packUnit`,
COALESCE(
`product.translation.packUnit`,
`product.parent.translation.packUnit`,
`product.translation.packUnit`
) as `product.packUnit`,
`product.translation.packUnitPlural`,
`product.parent.translation.packUnitPlural`,
COALESCE(
`product.translation.packUnitPlural`,
`product.parent.translation.packUnitPlural`,
`product.translation.packUnitPlural`
) as `product.packUnitPlural`,
`product.translation.customSearchKeywords`,
`product.parent.translation.customSearchKeywords`,
COALESCE(
`product.translation.customSearchKeywords`,
`product.parent.translation.customSearchKeywords`,
`product.translation.customSearchKeywords`
) as `product.customSearchKeywords`,
`product.translation.slotConfig`,
`product.parent.translation.slotConfig`,
COALESCE(
`product.translation.slotConfig`,
`product.parent.translation.slotConfig`,
`product.translation.slotConfig`
) as `product.slotConfig`,
`product.translation.customFields`,
`product.parent.translation.customFields`,
COALESCE(
`product.translation.customFields`,
`product.parent.translation.customFields`,
`product.translation.customFields`
) as `product.customFields`,
`product.translation.createdAt`,
`product.parent.translation.createdAt`,
`product.translation.updatedAt`,
`product.parent.translation.updatedAt`,
`product.translation.productId`,
`product.parent.translation.productId`,
`product.translation.languageId`,
`product.parent.translation.languageId`,
`product.translation.productVersionId`,
`product.parent.translation.productVersionId`
FROM
`product`
LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id`
AND `product`.`version_id` = `product.parent`.`version_id`
LEFT JOIN (
SELECT
`product.translation`.product_id,
`product.translation`.product_version_id,
`product.translation`.meta_description as `product.translation.metaDescription`,
`product.translation`.name as `product.translation.name`,
`product.translation`.keywords as `product.translation.keywords`,
`product.translation`.description as `product.translation.description`,
`product.translation`.meta_title as `product.translation.metaTitle`,
`product.translation`.pack_unit as `product.translation.packUnit`,
`product.translation`.pack_unit_plural as `product.translation.packUnitPlural`,
`product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`,
`product.translation`.slot_config as `product.translation.slotConfig`,
`product.translation`.custom_fields as `product.translation.customFields`,
`product.translation`.created_at as `product.translation.createdAt`,
`product.translation`.updated_at as `product.translation.updatedAt`,
`product.translation`.product_id as `product.translation.productId`,
`product.translation`.language_id as `product.translation.languageId`,
`product.translation`.product_version_id as `product.translation.productVersionId`
FROM
`product_translation` `product.translation`
WHERE
`product.translation`.language_id = : languageId
) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id`
AND `product.product_translation`.product_version_id = `product`.version_id
LEFT JOIN (
SELECT
`product.parent.translation`.product_id,
`product.parent.translation`.product_version_id,
`product.parent.translation`.meta_description as `product.parent.translation.metaDescription`,
`product.parent.translation`.name as `product.parent.translation.name`,
`product.parent.translation`.keywords as `product.parent.translation.keywords`,
`product.parent.translation`.description as `product.parent.translation.description`,
`product.parent.translation`.meta_title as `product.parent.translation.metaTitle`,
`product.parent.translation`.pack_unit as `product.parent.translation.packUnit`,
`product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`,
`product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`,
`product.parent.translation`.slot_config as `product.parent.translation.slotConfig`,
`product.parent.translation`.custom_fields as `product.parent.translation.customFields`,
`product.parent.translation`.created_at as `product.parent.translation.createdAt`,
`product.parent.translation`.updated_at as `product.parent.translation.updatedAt`,
`product.parent.translation`.product_id as `product.parent.translation.productId`,
`product.parent.translation`.language_id as `product.parent.translation.languageId`,
`product.parent.translation`.product_version_id as `product.parent.translation.productVersionId`
FROM
`product_translation` `product.parent.translation`
WHERE
`product.parent.translation`.language_id = : languageId
) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id`
AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id
LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id`
LEFT JOIN `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_id`
LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id`
AND `product`.`version_id` = `product.cover`.`version_id`
LEFT JOIN `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id`
LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id`
LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`id`
LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id`
LEFT JOIN (
SELECT
`product.cover.media.translation`.media_id,
`product.cover.media.translation`.title as `product.cover.media.translation.title`,
`product.cover.media.translation`.alt as `product.cover.media.translation.alt`,
`product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`,
`product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`,
`product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`,
`product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`,
`product.cover.media.translation`.language_id as `product.cover.media.translation.languageId`
FROM
`media_translation` `product.cover.media.translation`
WHERE
`product.cover.media.translation`.language_id = : languageId
) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id`
WHERE
(
`product`.`version_id` = : version
)
AND (
`product`.`id` IN (: ids)
)
SELECT `product`.`id` as `product.id`, `product`.`version_id` as `product.versionId`, `product`.`parent_id` as `product.parentId`, `product`.`parent_version_id` as `product.parentVersionId`, COALESCE(`product`.`product_manufacturer_id`, `product.parent`.`product_manufacturer_id`) as `product.manufacturerId`, COALESCE(`product`.`product_manufacturer_version_id`, `product.parent`.`product_manufacturer_version_id`) as `product.productManufacturerVersionId`, COALESCE(`product`.`unit_id`, `product.parent`.`unit_id`) as `product.unitId`, COALESCE(`product`.`tax_id`, `product.parent`.`tax_id`) as `product.taxId`, COALESCE(`product`.`product_media_id`, `product.parent`.`product_media_id`) as `product.coverId`, COALESCE(`product`.`product_media_version_id`, `product.parent`.`product_media_version_id`) as `product.productMediaVersionId`, COALESCE(`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`) as `product.deliveryTimeId`, COALESCE(`product`.`product_feature_set_id`, `product.parent`.`product_feature_set_id`) as `product.featureSetId`, COALESCE(`product`.`canonical_product_id`, `product.parent`.`canonical_product_id`) as `product.canonicalProductId`, COALESCE(`product`.`cms_page_id`, `product.parent`.`cms_page_id`) as `product.cmsPageId`, COALESCE(`product`.`cms_page_version_id`, `product.parent`.`cms_page_version_id`) as `product.cmsPageVersionId`, `product.parent`.`price` as `product.price.inherited`, COALESCE(`product`.`price`, `product.parent`.`price`) as `product.price`, `product`.`product_number` as `product.productNumber`, `product`.`stock` as `product.stock`, COALESCE(`product`.`restock_time`, `product.parent`.`restock_time`) as `product.restockTime`, `product`.`auto_increment` as `product.autoIncrement`, COALESCE(`product`.`active`, `product.parent`.`active`) as `product.active`, `product`.`available_stock` as `product.availableStock`, `product`.`available` as `product.available`, COALESCE(`product`.`is_closeout`, `product.parent`.`is_closeout`) as `product.isCloseout`, `product`.`display_group` as `product.displayGroup`, `product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`, COALESCE(`product`.`configurator_group_config`, `product.parent`.`configurator_group_config`) as `product.configuratorGroupConfig`, COALESCE(`product`.`main_variant_id`, `product.parent`.`main_variant_id`) as `product.mainVariantId`, COALESCE(`product`.`display_parent`, `product.parent`.`display_parent`) as `product.displayParent`, `product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`, COALESCE(`product`.`variant_listing_config`, `product.parent`.`variant_listing_config`) as `product.variantListingConfig`, `product`.`variant_restrictions` as `product.variantRestrictions`, COALESCE(`product`.`manufacturer_number`, `product.parent`.`manufacturer_number`) as `product.manufacturerNumber`, COALESCE(`product`.`ean`, `product.parent`.`ean`) as `product.ean`, COALESCE(`product`.`purchase_steps`, `product.parent`.`purchase_steps`) as `product.purchaseSteps`, COALESCE(`product`.`max_purchase`, `product.parent`.`max_purchase`) as `product.maxPurchase`, COALESCE(`product`.`min_purchase`, `product.parent`.`min_purchase`) as `product.minPurchase`, COALESCE(`product`.`purchase_unit`, `product.parent`.`purchase_unit`) as `product.purchaseUnit`, COALESCE(`product`.`reference_unit`, `product.parent`.`reference_unit`) as `product.referenceUnit`, COALESCE(`product`.`shipping_free`, `product.parent`.`shipping_free`) as `product.shippingFree`, `product.parent`.`purchase_prices` as `product.purchasePrices.inherited`, COALESCE(`product`.`purchase_prices`, `product.parent`.`purchase_prices`) as `product.purchasePrices`, COALESCE(`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`) as `product.markAsTopseller`, COALESCE(`product`.`weight`, `product.parent`.`weight`) as `product.weight`, COALESCE(`product`.`width`, `product.parent`.`width`) as `product.width`, COALESCE(`product`.`height`, `product.parent`.`height`) as `product.height`, COALESCE(`product`.`length`, `product.parent`.`length`) as `product.length`, COALESCE(`product`.`release_date`, `product.parent`.`release_date`) as `product.releaseDate`, COALESCE(`product`.`rating_average`, `product.parent`.`rating_average`) as `product.ratingAverage`, `product.parent`.`category_tree` as `product.categoryTree.inherited`, COALESCE(`product`.`category_tree`, `product.parent`.`category_tree`) as `product.categoryTree`, `product.parent`.`property_ids` as `product.propertyIds.inherited`, COALESCE(`product`.`property_ids`, `product.parent`.`property_ids`) as `product.propertyIds`, `product.parent`.`option_ids` as `product.optionIds.inherited`, COALESCE(`product`.`option_ids`, `product.parent`.`option_ids`) as `product.optionIds`, `product.parent`.`stream_ids` as `product.streamIds.inherited`, COALESCE(`product`.`stream_ids`, `product.parent`.`stream_ids`) as `product.streamIds`, `product.parent`.`tag_ids` as `product.tagIds.inherited`, COALESCE(`product`.`tag_ids`, `product.parent`.`tag_ids`) as `product.tagIds`, `product.parent`.`category_ids` as `product.categoryIds.inherited`, COALESCE(`product`.`category_ids`, `product.parent`.`category_ids`) as `product.categoryIds`, `product`.`child_count` as `product.childCount`, COALESCE(`product`.`custom_field_set_selection_active`, `product.parent`.`custom_field_set_selection_active`) as `product.customFieldSetSelectionActive`, `product`.`sales` as `product.sales`, `product`.`states` as `product.states`, `product.tax`.`id` as `product.tax.id`, `product.tax`.`tax_rate` as `product.tax.taxRate`, `product.tax`.`name` as `product.tax.name`, `product.tax`.`position` as `product.tax.position`, `product.tax`.`custom_fields` as `product.tax.customFields`, `product.tax`.`created_at` as `product.tax.createdAt`, `product.tax`.`updated_at` as `product.tax.updatedAt`, `product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`, COALESCE(`product`.`cheapest_price`, `product.parent`.`cheapest_price`) as `product.cheapestPrice`, `product`.`created_at` as `product.createdAt`, `product`.`updated_at` as `product.updatedAt`, `product.bundle`.`id` as `product.bundle.id`, `product.bundle`.`product_id` as `product.bundle.productId`, `product.bundle`.`product_version_id` as `product.bundle.productVersionId`, `product.bundle`.`name` as `product.bundle.name`, `product.bundle`.`price_type` as `product.bundle.priceType`, `product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`, `product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`, `product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`, `product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`, `product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`, `product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`, `product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`, `product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`, `product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`, `product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`, `product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`, `product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`, `product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`, `product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`, `product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`, `product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`, `product.bundle`.`created_at` as `product.bundle.createdAt`, `product.bundle`.`updated_at` as `product.bundle.updatedAt`, `product.cover`.`id` as `product.cover.id`, `product.cover`.`version_id` as `product.cover.versionId`, `product.cover`.`product_id` as `product.cover.productId`, `product.cover`.`product_version_id` as `product.cover.productVersionId`, `product.cover`.`media_id` as `product.cover.mediaId`, `product.cover`.`position` as `product.cover.position`, `product.cover.media`.`id` as `product.cover.media.id`, `product.cover.media`.`user_id` as `product.cover.media.userId`, `product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`, `product.cover.media`.`mime_type` as `product.cover.media.mimeType`, `product.cover.media`.`file_extension` as `product.cover.media.fileExtension`, `product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`, `product.cover.media`.`file_name` as `product.cover.media.fileName`, `product.cover.media`.`file_size` as `product.cover.media.fileSize`, `product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`, `product.cover.media`.`meta_data` as `product.cover.media.metaData`, `product.cover.media`.`private` as `product.cover.media.private`, `product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`, `product.cover.media`.`created_at` as `product.cover.media.createdAt`, `product.cover.media`.`updated_at` as `product.cover.media.updatedAt`, `product.cover.media.translation.title`, COALESCE(`product.cover.media.translation.title`,`product.cover.media.translation.title`) as `product.cover.media.title`, `product.cover.media.translation.alt`, COALESCE(`product.cover.media.translation.alt`,`product.cover.media.translation.alt`) as `product.cover.media.alt`, `product.cover.media.translation.customFields`, COALESCE(`product.cover.media.translation.customFields`,`product.cover.media.translation.customFields`) as `product.cover.media.customFields`, `product.cover.media.translation.createdAt`, `product.cover.media.translation.updatedAt`, `product.cover.media.translation.mediaId`, `product.cover.media.translation.languageId`, `product.cover`.`custom_fields` as `product.cover.customFields`, `product.cover`.`created_at` as `product.cover.createdAt`, `product.cover`.`updated_at` as `product.cover.updatedAt`, `product.translation.metaDescription`, `product.parent.translation.metaDescription`, COALESCE(`product.translation.metaDescription`,`product.parent.translation.metaDescription`,`product.translation.metaDescription`) as `product.metaDescription`, `product.translation.name`, `product.parent.translation.name`, COALESCE(`product.translation.name`,`product.parent.translation.name`,`product.translation.name`) as `product.name`, `product.translation.keywords`, `product.parent.translation.keywords`, COALESCE(`product.translation.keywords`,`product.parent.translation.keywords`,`product.translation.keywords`) as `product.keywords`, `product.translation.description`, `product.parent.translation.description`, COALESCE(`product.translation.description`,`product.parent.translation.description`,`product.translation.description`) as `product.description`, `product.translation.metaTitle`, `product.parent.translation.metaTitle`, COALESCE(`product.translation.metaTitle`,`product.parent.translation.metaTitle`,`product.translation.metaTitle`) as `product.metaTitle`, `product.translation.packUnit`, `product.parent.translation.packUnit`, COALESCE(`product.translation.packUnit`,`product.parent.translation.packUnit`,`product.translation.packUnit`) as `product.packUnit`, `product.translation.packUnitPlural`, `product.parent.translation.packUnitPlural`, COALESCE(`product.translation.packUnitPlural`,`product.parent.translation.packUnitPlural`,`product.translation.packUnitPlural`) as `product.packUnitPlural`, `product.translation.customSearchKeywords`, `product.parent.translation.customSearchKeywords`, COALESCE(`product.translation.customSearchKeywords`,`product.parent.translation.customSearchKeywords`,`product.translation.customSearchKeywords`) as `product.customSearchKeywords`, `product.translation.slotConfig`, `product.parent.translation.slotConfig`, COALESCE(`product.translation.slotConfig`,`product.parent.translation.slotConfig`,`product.translation.slotConfig`) as `product.slotConfig`, `product.translation.customFields`, `product.parent.translation.customFields`, COALESCE(`product.translation.customFields`,`product.parent.translation.customFields`,`product.translation.customFields`) as `product.customFields`, `product.translation.createdAt`, `product.parent.translation.createdAt`, `product.translation.updatedAt`, `product.parent.translation.updatedAt`, `product.translation.productId`, `product.parent.translation.productId`, `product.translation.languageId`, `product.parent.translation.languageId`, `product.translation.productVersionId`, `product.parent.translation.productVersionId` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN (SELECT `product.translation`.product_id, `product.translation`.product_version_id, `product.translation`.meta_description as `product.translation.metaDescription`, `product.translation`.name as `product.translation.name`, `product.translation`.keywords as `product.translation.keywords`, `product.translation`.description as `product.translation.description`, `product.translation`.meta_title as `product.translation.metaTitle`, `product.translation`.pack_unit as `product.translation.packUnit`, `product.translation`.pack_unit_plural as `product.translation.packUnitPlural`, `product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`, `product.translation`.slot_config as `product.translation.slotConfig`, `product.translation`.custom_fields as `product.translation.customFields`, `product.translation`.created_at as `product.translation.createdAt`, `product.translation`.updated_at as `product.translation.updatedAt`, `product.translation`.product_id as `product.translation.productId`, `product.translation`.language_id as `product.translation.languageId`, `product.translation`.product_version_id as `product.translation.productVersionId` FROM `product_translation` `product.translation` WHERE `product.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id` AND `product.product_translation`.product_version_id = `product`.version_id LEFT JOIN (SELECT `product.parent.translation`.product_id, `product.parent.translation`.product_version_id, `product.parent.translation`.meta_description as `product.parent.translation.metaDescription`, `product.parent.translation`.name as `product.parent.translation.name`, `product.parent.translation`.keywords as `product.parent.translation.keywords`, `product.parent.translation`.description as `product.parent.translation.description`, `product.parent.translation`.meta_title as `product.parent.translation.metaTitle`, `product.parent.translation`.pack_unit as `product.parent.translation.packUnit`, `product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`, `product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`, `product.parent.translation`.slot_config as `product.parent.translation.slotConfig`, `product.parent.translation`.custom_fields as `product.parent.translation.customFields`, `product.parent.translation`.created_at as `product.parent.translation.createdAt`, `product.parent.translation`.updated_at as `product.parent.translation.updatedAt`, `product.parent.translation`.product_id as `product.parent.translation.productId`, `product.parent.translation`.language_id as `product.parent.translation.languageId`, `product.parent.translation`.product_version_id as `product.parent.translation.productVersionId` FROM `product_translation` `product.parent.translation` WHERE `product.parent.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id` AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id` LEFT JOIN `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_id` LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id` AND `product`.`version_id` = `product.cover`.`version_id` LEFT JOIN `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`id` LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id` LEFT JOIN (SELECT `product.cover.media.translation`.media_id, `product.cover.media.translation`.title as `product.cover.media.translation.title`, `product.cover.media.translation`.alt as `product.cover.media.translation.alt`, `product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`, `product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`, `product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`, `product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`, `product.cover.media.translation`.language_id as `product.cover.media.translation.languageId` FROM `media_translation` `product.cover.media.translation` WHERE `product.cover.media.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id` WHERE (`product`.`version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425) AND (`product`.`id` IN (0x03F4EF144EC44C3E822790C652F7C3F6));
array:51 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 316)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetch (line 148)"
4 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 93)"
5 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::read (line 257)"
6 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::read (line 286)"
7 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::_search (line 106)"
8 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::search (line 51)"
9 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepositoryForwardCompatibilityDecorator::search (line 103)"
10 => "Bodymed\Webshop\StoreFront\Subscriber\ProductExtensionSubscriber::addParentCover (line 230)"
11 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
12 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
13 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
14 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
15 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
16 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 33)"
17 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
18 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 208)"
19 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::read (line 133)"
20 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 49)"
21 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariantsOfProduct (line 30)"
22 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariants (line 224)"
23 => "Bodymed\Webshop\Core\Content\Product\Cms\ProductSliderCmsElementResolver::enrich (line 99)"
24 => "Shopware\Core\Content\Cms\DataResolver\CmsSlotsDataResolver::resolve (line 104)"
25 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::loadSlotData (line 94)"
26 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::load (line 102)"
27 => "Shopware\Core\Content\Category\SalesChannel\CategoryRoute::load (line 103)"
28 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 350)"
29 => "Shopware\Core\System\SystemConfig\SystemConfigService::trace (line 44)"
30 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 120)"
31 => "Shopware\Core\Framework\Adapter\Translation\Translator::trace (line 45)"
32 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 46)"
33 => "Shopware\Core\Framework\Adapter\Cache\CacheTagCollection::trace (line 46)"
34 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::trace (line 41)"
35 => "Shopware\Storefront\Framework\Cache\CacheTracer::Shopware\Storefront\Framework\Cache\{closure} (line 59)"
36 => "Shopware\Storefront\Theme\ThemeConfigValueAccessor::trace (line 42)"
37 => "Shopware\Storefront\Framework\Cache\CacheTracer::trace (line 104)"
38 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 72)"
39 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
40 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 109)"
41 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 59)"
42 => "Shopware\Core\Profiling\Profiler::trace (line 112)"
43 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::load (line 66)"
44 => "Shopware\Storefront\Page\Navigation\NavigationPageLoader::load (line 48)"
45 => "Shopware\Storefront\Controller\NavigationController::home (line 163)"
46 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
47 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
48 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
49 => "Shopware\Core\HttpKernel::doHandle (line 81)"
50 => "Shopware\Core\HttpKernel::handle (line 75)"
]
|
101 |
0.68 ms |
SELECT * FROM sales_channel_api_context WHERE (sales_channel_id = :salesChannelId) AND (token = :token) LIMIT 1
SELECT * FROM sales_channel_api_context WHERE (sales_channel_id = 0x620A2217F7474E619CB00AD39E804CCA) AND (token = 'FwsxT47353Zxmr7lp0KSfYcVNkg5VpYR') LIMIT 1;
array:58 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 165)"
3 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextPersister::load (line 69)"
4 => "Bodymed\Webshop\Core\Subscriber\ProductSubscriber::addCustomerProductFeatureExtension (line 230)"
5 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
6 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
7 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
8 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
9 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
10 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 33)"
11 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
12 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 269)"
13 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::read (line 286)"
14 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::_search (line 106)"
15 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::search (line 51)"
16 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepositoryForwardCompatibilityDecorator::search (line 103)"
17 => "Bodymed\Webshop\StoreFront\Subscriber\ProductExtensionSubscriber::addParentCover (line 230)"
18 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
19 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
20 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
21 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
22 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
23 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 33)"
24 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
25 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 208)"
26 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::read (line 133)"
27 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 49)"
28 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariantsOfProduct (line 30)"
29 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariants (line 224)"
30 => "Bodymed\Webshop\Core\Content\Product\Cms\ProductSliderCmsElementResolver::enrich (line 99)"
31 => "Shopware\Core\Content\Cms\DataResolver\CmsSlotsDataResolver::resolve (line 104)"
32 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::loadSlotData (line 94)"
33 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::load (line 102)"
34 => "Shopware\Core\Content\Category\SalesChannel\CategoryRoute::load (line 103)"
35 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 350)"
36 => "Shopware\Core\System\SystemConfig\SystemConfigService::trace (line 44)"
37 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 120)"
38 => "Shopware\Core\Framework\Adapter\Translation\Translator::trace (line 45)"
39 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 46)"
40 => "Shopware\Core\Framework\Adapter\Cache\CacheTagCollection::trace (line 46)"
41 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::trace (line 41)"
42 => "Shopware\Storefront\Framework\Cache\CacheTracer::Shopware\Storefront\Framework\Cache\{closure} (line 59)"
43 => "Shopware\Storefront\Theme\ThemeConfigValueAccessor::trace (line 42)"
44 => "Shopware\Storefront\Framework\Cache\CacheTracer::trace (line 104)"
45 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 72)"
46 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
47 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 109)"
48 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 59)"
49 => "Shopware\Core\Profiling\Profiler::trace (line 112)"
50 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::load (line 66)"
51 => "Shopware\Storefront\Page\Navigation\NavigationPageLoader::load (line 48)"
52 => "Shopware\Storefront\Controller\NavigationController::home (line 163)"
53 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
54 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
55 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
56 => "Shopware\Core\HttpKernel::doHandle (line 81)"
57 => "Shopware\Core\HttpKernel::handle (line 75)"
]
|
102 |
27.43 ms |
SELECT `product`.`id` as `product.id`, `product`.`version_id` as `product.versionId`, `product`.`parent_id` as `product.parentId`, `product`.`parent_version_id` as `product.parentVersionId`, COALESCE(`product`.`product_manufacturer_id`, `product.parent`.`product_manufacturer_id`) as `product.manufacturerId`, COALESCE(`product`.`product_manufacturer_version_id`, `product.parent`.`product_manufacturer_version_id`) as `product.productManufacturerVersionId`, COALESCE(`product`.`unit_id`, `product.parent`.`unit_id`) as `product.unitId`, COALESCE(`product`.`tax_id`, `product.parent`.`tax_id`) as `product.taxId`, COALESCE(`product`.`product_media_id`, `product.parent`.`product_media_id`) as `product.coverId`, COALESCE(`product`.`product_media_version_id`, `product.parent`.`product_media_version_id`) as `product.productMediaVersionId`, COALESCE(`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`) as `product.deliveryTimeId`, COALESCE(`product`.`product_feature_set_id`, `product.parent`.`product_feature_set_id`) as `product.featureSetId`, COALESCE(`product`.`canonical_product_id`, `product.parent`.`canonical_product_id`) as `product.canonicalProductId`, COALESCE(`product`.`cms_page_id`, `product.parent`.`cms_page_id`) as `product.cmsPageId`, COALESCE(`product`.`cms_page_version_id`, `product.parent`.`cms_page_version_id`) as `product.cmsPageVersionId`, `product.parent`.`price` as `product.price.inherited`, COALESCE(`product`.`price`, `product.parent`.`price`) as `product.price`, `product`.`product_number` as `product.productNumber`, `product`.`stock` as `product.stock`, COALESCE(`product`.`restock_time`, `product.parent`.`restock_time`) as `product.restockTime`, `product`.`auto_increment` as `product.autoIncrement`, COALESCE(`product`.`active`, `product.parent`.`active`) as `product.active`, `product`.`available_stock` as `product.availableStock`, `product`.`available` as `product.available`, COALESCE(`product`.`is_closeout`, `product.parent`.`is_closeout`) as `product.isCloseout`, `product`.`display_group` as `product.displayGroup`, `product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`, COALESCE(`product`.`configurator_group_config`, `product.parent`.`configurator_group_config`) as `product.configuratorGroupConfig`, COALESCE(`product`.`main_variant_id`, `product.parent`.`main_variant_id`) as `product.mainVariantId`, COALESCE(`product`.`display_parent`, `product.parent`.`display_parent`) as `product.displayParent`, `product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`, COALESCE(`product`.`variant_listing_config`, `product.parent`.`variant_listing_config`) as `product.variantListingConfig`, `product`.`variant_restrictions` as `product.variantRestrictions`, COALESCE(`product`.`manufacturer_number`, `product.parent`.`manufacturer_number`) as `product.manufacturerNumber`, COALESCE(`product`.`ean`, `product.parent`.`ean`) as `product.ean`, COALESCE(`product`.`purchase_steps`, `product.parent`.`purchase_steps`) as `product.purchaseSteps`, COALESCE(`product`.`max_purchase`, `product.parent`.`max_purchase`) as `product.maxPurchase`, COALESCE(`product`.`min_purchase`, `product.parent`.`min_purchase`) as `product.minPurchase`, COALESCE(`product`.`purchase_unit`, `product.parent`.`purchase_unit`) as `product.purchaseUnit`, COALESCE(`product`.`reference_unit`, `product.parent`.`reference_unit`) as `product.referenceUnit`, COALESCE(`product`.`shipping_free`, `product.parent`.`shipping_free`) as `product.shippingFree`, `product.parent`.`purchase_prices` as `product.purchasePrices.inherited`, COALESCE(`product`.`purchase_prices`, `product.parent`.`purchase_prices`) as `product.purchasePrices`, COALESCE(`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`) as `product.markAsTopseller`, COALESCE(`product`.`weight`, `product.parent`.`weight`) as `product.weight`, COALESCE(`product`.`width`, `product.parent`.`width`) as `product.width`, COALESCE(`product`.`height`, `product.parent`.`height`) as `product.height`, COALESCE(`product`.`length`, `product.parent`.`length`) as `product.length`, COALESCE(`product`.`release_date`, `product.parent`.`release_date`) as `product.releaseDate`, COALESCE(`product`.`rating_average`, `product.parent`.`rating_average`) as `product.ratingAverage`, `product.parent`.`category_tree` as `product.categoryTree.inherited`, COALESCE(`product`.`category_tree`, `product.parent`.`category_tree`) as `product.categoryTree`, `product.parent`.`property_ids` as `product.propertyIds.inherited`, COALESCE(`product`.`property_ids`, `product.parent`.`property_ids`) as `product.propertyIds`, `product.parent`.`option_ids` as `product.optionIds.inherited`, COALESCE(`product`.`option_ids`, `product.parent`.`option_ids`) as `product.optionIds`, `product.parent`.`stream_ids` as `product.streamIds.inherited`, COALESCE(`product`.`stream_ids`, `product.parent`.`stream_ids`) as `product.streamIds`, `product.parent`.`tag_ids` as `product.tagIds.inherited`, COALESCE(`product`.`tag_ids`, `product.parent`.`tag_ids`) as `product.tagIds`, `product.parent`.`category_ids` as `product.categoryIds.inherited`, COALESCE(`product`.`category_ids`, `product.parent`.`category_ids`) as `product.categoryIds`, `product`.`child_count` as `product.childCount`, COALESCE(`product`.`custom_field_set_selection_active`, `product.parent`.`custom_field_set_selection_active`) as `product.customFieldSetSelectionActive`, `product`.`sales` as `product.sales`, `product`.`states` as `product.states`, `product.tax`.`id` as `product.tax.id`, `product.tax`.`tax_rate` as `product.tax.taxRate`, `product.tax`.`name` as `product.tax.name`, `product.tax`.`position` as `product.tax.position`, `product.tax`.`custom_fields` as `product.tax.customFields`, `product.tax`.`created_at` as `product.tax.createdAt`, `product.tax`.`updated_at` as `product.tax.updatedAt`, `product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`, COALESCE(`product`.`cheapest_price`, `product.parent`.`cheapest_price`) as `product.cheapestPrice`, `product`.`created_at` as `product.createdAt`, `product`.`updated_at` as `product.updatedAt`, `product.bundle`.`id` as `product.bundle.id`, `product.bundle`.`product_id` as `product.bundle.productId`, `product.bundle`.`product_version_id` as `product.bundle.productVersionId`, `product.bundle`.`name` as `product.bundle.name`, `product.bundle`.`price_type` as `product.bundle.priceType`, `product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`, `product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`, `product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`, `product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`, `product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`, `product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`, `product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`, `product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`, `product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`, `product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`, `product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`, `product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`, `product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`, `product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`, `product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`, `product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`, `product.bundle`.`created_at` as `product.bundle.createdAt`, `product.bundle`.`updated_at` as `product.bundle.updatedAt`, `product.cover`.`id` as `product.cover.id`, `product.cover`.`version_id` as `product.cover.versionId`, `product.cover`.`product_id` as `product.cover.productId`, `product.cover`.`product_version_id` as `product.cover.productVersionId`, `product.cover`.`media_id` as `product.cover.mediaId`, `product.cover`.`position` as `product.cover.position`, `product.cover.media`.`id` as `product.cover.media.id`, `product.cover.media`.`user_id` as `product.cover.media.userId`, `product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`, `product.cover.media`.`mime_type` as `product.cover.media.mimeType`, `product.cover.media`.`file_extension` as `product.cover.media.fileExtension`, `product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`, `product.cover.media`.`file_name` as `product.cover.media.fileName`, `product.cover.media`.`file_size` as `product.cover.media.fileSize`, `product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`, `product.cover.media`.`meta_data` as `product.cover.media.metaData`, `product.cover.media`.`private` as `product.cover.media.private`, `product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`, `product.cover.media`.`created_at` as `product.cover.media.createdAt`, `product.cover.media`.`updated_at` as `product.cover.media.updatedAt`, `product.cover.media.translation.title`, COALESCE(`product.cover.media.translation.title`,`product.cover.media.translation.title`) as `product.cover.media.title`, `product.cover.media.translation.alt`, COALESCE(`product.cover.media.translation.alt`,`product.cover.media.translation.alt`) as `product.cover.media.alt`, `product.cover.media.translation.customFields`, COALESCE(`product.cover.media.translation.customFields`,`product.cover.media.translation.customFields`) as `product.cover.media.customFields`, `product.cover.media.translation.createdAt`, `product.cover.media.translation.updatedAt`, `product.cover.media.translation.mediaId`, `product.cover.media.translation.languageId`, `product.cover`.`custom_fields` as `product.cover.customFields`, `product.cover`.`created_at` as `product.cover.createdAt`, `product.cover`.`updated_at` as `product.cover.updatedAt`, `product.translation.metaDescription`, `product.parent.translation.metaDescription`, COALESCE(`product.translation.metaDescription`,`product.parent.translation.metaDescription`,`product.translation.metaDescription`) as `product.metaDescription`, `product.translation.name`, `product.parent.translation.name`, COALESCE(`product.translation.name`,`product.parent.translation.name`,`product.translation.name`) as `product.name`, `product.translation.keywords`, `product.parent.translation.keywords`, COALESCE(`product.translation.keywords`,`product.parent.translation.keywords`,`product.translation.keywords`) as `product.keywords`, `product.translation.description`, `product.parent.translation.description`, COALESCE(`product.translation.description`,`product.parent.translation.description`,`product.translation.description`) as `product.description`, `product.translation.metaTitle`, `product.parent.translation.metaTitle`, COALESCE(`product.translation.metaTitle`,`product.parent.translation.metaTitle`,`product.translation.metaTitle`) as `product.metaTitle`, `product.translation.packUnit`, `product.parent.translation.packUnit`, COALESCE(`product.translation.packUnit`,`product.parent.translation.packUnit`,`product.translation.packUnit`) as `product.packUnit`, `product.translation.packUnitPlural`, `product.parent.translation.packUnitPlural`, COALESCE(`product.translation.packUnitPlural`,`product.parent.translation.packUnitPlural`,`product.translation.packUnitPlural`) as `product.packUnitPlural`, `product.translation.customSearchKeywords`, `product.parent.translation.customSearchKeywords`, COALESCE(`product.translation.customSearchKeywords`,`product.parent.translation.customSearchKeywords`,`product.translation.customSearchKeywords`) as `product.customSearchKeywords`, `product.translation.slotConfig`, `product.parent.translation.slotConfig`, COALESCE(`product.translation.slotConfig`,`product.parent.translation.slotConfig`,`product.translation.slotConfig`) as `product.slotConfig`, `product.translation.customFields`, `product.parent.translation.customFields`, COALESCE(`product.translation.customFields`,`product.parent.translation.customFields`,`product.translation.customFields`) as `product.customFields`, `product.translation.createdAt`, `product.parent.translation.createdAt`, `product.translation.updatedAt`, `product.parent.translation.updatedAt`, `product.translation.productId`, `product.parent.translation.productId`, `product.translation.languageId`, `product.parent.translation.languageId`, `product.translation.productVersionId`, `product.parent.translation.productVersionId` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN (SELECT `product.translation`.product_id, `product.translation`.product_version_id, `product.translation`.meta_description as `product.translation.metaDescription`, `product.translation`.name as `product.translation.name`, `product.translation`.keywords as `product.translation.keywords`, `product.translation`.description as `product.translation.description`, `product.translation`.meta_title as `product.translation.metaTitle`, `product.translation`.pack_unit as `product.translation.packUnit`, `product.translation`.pack_unit_plural as `product.translation.packUnitPlural`, `product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`, `product.translation`.slot_config as `product.translation.slotConfig`, `product.translation`.custom_fields as `product.translation.customFields`, `product.translation`.created_at as `product.translation.createdAt`, `product.translation`.updated_at as `product.translation.updatedAt`, `product.translation`.product_id as `product.translation.productId`, `product.translation`.language_id as `product.translation.languageId`, `product.translation`.product_version_id as `product.translation.productVersionId` FROM `product_translation` `product.translation` WHERE `product.translation`.language_id = :languageId) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id` AND `product.product_translation`.product_version_id = `product`.version_id LEFT JOIN (SELECT `product.parent.translation`.product_id, `product.parent.translation`.product_version_id, `product.parent.translation`.meta_description as `product.parent.translation.metaDescription`, `product.parent.translation`.name as `product.parent.translation.name`, `product.parent.translation`.keywords as `product.parent.translation.keywords`, `product.parent.translation`.description as `product.parent.translation.description`, `product.parent.translation`.meta_title as `product.parent.translation.metaTitle`, `product.parent.translation`.pack_unit as `product.parent.translation.packUnit`, `product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`, `product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`, `product.parent.translation`.slot_config as `product.parent.translation.slotConfig`, `product.parent.translation`.custom_fields as `product.parent.translation.customFields`, `product.parent.translation`.created_at as `product.parent.translation.createdAt`, `product.parent.translation`.updated_at as `product.parent.translation.updatedAt`, `product.parent.translation`.product_id as `product.parent.translation.productId`, `product.parent.translation`.language_id as `product.parent.translation.languageId`, `product.parent.translation`.product_version_id as `product.parent.translation.productVersionId` FROM `product_translation` `product.parent.translation` WHERE `product.parent.translation`.language_id = :languageId) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id` AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id` LEFT JOIN `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_id` LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id` AND `product`.`version_id` = `product.cover`.`version_id` LEFT JOIN `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`id` LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id` LEFT JOIN (SELECT `product.cover.media.translation`.media_id, `product.cover.media.translation`.title as `product.cover.media.translation.title`, `product.cover.media.translation`.alt as `product.cover.media.translation.alt`, `product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`, `product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`, `product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`, `product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`, `product.cover.media.translation`.language_id as `product.cover.media.translation.languageId` FROM `media_translation` `product.cover.media.translation` WHERE `product.cover.media.translation`.language_id = :languageId) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id` WHERE (`product`.`version_id` = :version) AND (`product`.`id` IN (:ids))
SELECT
`product`.`id` as `product.id`,
`product`.`version_id` as `product.versionId`,
`product`.`parent_id` as `product.parentId`,
`product`.`parent_version_id` as `product.parentVersionId`,
COALESCE(
`product`.`product_manufacturer_id`,
`product.parent`.`product_manufacturer_id`
) as `product.manufacturerId`,
COALESCE(
`product`.`product_manufacturer_version_id`,
`product.parent`.`product_manufacturer_version_id`
) as `product.productManufacturerVersionId`,
COALESCE(
`product`.`unit_id`, `product.parent`.`unit_id`
) as `product.unitId`,
COALESCE(
`product`.`tax_id`, `product.parent`.`tax_id`
) as `product.taxId`,
COALESCE(
`product`.`product_media_id`, `product.parent`.`product_media_id`
) as `product.coverId`,
COALESCE(
`product`.`product_media_version_id`,
`product.parent`.`product_media_version_id`
) as `product.productMediaVersionId`,
COALESCE(
`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`
) as `product.deliveryTimeId`,
COALESCE(
`product`.`product_feature_set_id`,
`product.parent`.`product_feature_set_id`
) as `product.featureSetId`,
COALESCE(
`product`.`canonical_product_id`,
`product.parent`.`canonical_product_id`
) as `product.canonicalProductId`,
COALESCE(
`product`.`cms_page_id`, `product.parent`.`cms_page_id`
) as `product.cmsPageId`,
COALESCE(
`product`.`cms_page_version_id`,
`product.parent`.`cms_page_version_id`
) as `product.cmsPageVersionId`,
`product.parent`.`price` as `product.price.inherited`,
COALESCE(
`product`.`price`, `product.parent`.`price`
) as `product.price`,
`product`.`product_number` as `product.productNumber`,
`product`.`stock` as `product.stock`,
COALESCE(
`product`.`restock_time`, `product.parent`.`restock_time`
) as `product.restockTime`,
`product`.`auto_increment` as `product.autoIncrement`,
COALESCE(
`product`.`active`, `product.parent`.`active`
) as `product.active`,
`product`.`available_stock` as `product.availableStock`,
`product`.`available` as `product.available`,
COALESCE(
`product`.`is_closeout`, `product.parent`.`is_closeout`
) as `product.isCloseout`,
`product`.`display_group` as `product.displayGroup`,
`product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`,
COALESCE(
`product`.`configurator_group_config`,
`product.parent`.`configurator_group_config`
) as `product.configuratorGroupConfig`,
COALESCE(
`product`.`main_variant_id`, `product.parent`.`main_variant_id`
) as `product.mainVariantId`,
COALESCE(
`product`.`display_parent`, `product.parent`.`display_parent`
) as `product.displayParent`,
`product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`,
COALESCE(
`product`.`variant_listing_config`,
`product.parent`.`variant_listing_config`
) as `product.variantListingConfig`,
`product`.`variant_restrictions` as `product.variantRestrictions`,
COALESCE(
`product`.`manufacturer_number`,
`product.parent`.`manufacturer_number`
) as `product.manufacturerNumber`,
COALESCE(
`product`.`ean`, `product.parent`.`ean`
) as `product.ean`,
COALESCE(
`product`.`purchase_steps`, `product.parent`.`purchase_steps`
) as `product.purchaseSteps`,
COALESCE(
`product`.`max_purchase`, `product.parent`.`max_purchase`
) as `product.maxPurchase`,
COALESCE(
`product`.`min_purchase`, `product.parent`.`min_purchase`
) as `product.minPurchase`,
COALESCE(
`product`.`purchase_unit`, `product.parent`.`purchase_unit`
) as `product.purchaseUnit`,
COALESCE(
`product`.`reference_unit`, `product.parent`.`reference_unit`
) as `product.referenceUnit`,
COALESCE(
`product`.`shipping_free`, `product.parent`.`shipping_free`
) as `product.shippingFree`,
`product.parent`.`purchase_prices` as `product.purchasePrices.inherited`,
COALESCE(
`product`.`purchase_prices`, `product.parent`.`purchase_prices`
) as `product.purchasePrices`,
COALESCE(
`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`
) as `product.markAsTopseller`,
COALESCE(
`product`.`weight`, `product.parent`.`weight`
) as `product.weight`,
COALESCE(
`product`.`width`, `product.parent`.`width`
) as `product.width`,
COALESCE(
`product`.`height`, `product.parent`.`height`
) as `product.height`,
COALESCE(
`product`.`length`, `product.parent`.`length`
) as `product.length`,
COALESCE(
`product`.`release_date`, `product.parent`.`release_date`
) as `product.releaseDate`,
COALESCE(
`product`.`rating_average`, `product.parent`.`rating_average`
) as `product.ratingAverage`,
`product.parent`.`category_tree` as `product.categoryTree.inherited`,
COALESCE(
`product`.`category_tree`, `product.parent`.`category_tree`
) as `product.categoryTree`,
`product.parent`.`property_ids` as `product.propertyIds.inherited`,
COALESCE(
`product`.`property_ids`, `product.parent`.`property_ids`
) as `product.propertyIds`,
`product.parent`.`option_ids` as `product.optionIds.inherited`,
COALESCE(
`product`.`option_ids`, `product.parent`.`option_ids`
) as `product.optionIds`,
`product.parent`.`stream_ids` as `product.streamIds.inherited`,
COALESCE(
`product`.`stream_ids`, `product.parent`.`stream_ids`
) as `product.streamIds`,
`product.parent`.`tag_ids` as `product.tagIds.inherited`,
COALESCE(
`product`.`tag_ids`, `product.parent`.`tag_ids`
) as `product.tagIds`,
`product.parent`.`category_ids` as `product.categoryIds.inherited`,
COALESCE(
`product`.`category_ids`, `product.parent`.`category_ids`
) as `product.categoryIds`,
`product`.`child_count` as `product.childCount`,
COALESCE(
`product`.`custom_field_set_selection_active`,
`product.parent`.`custom_field_set_selection_active`
) as `product.customFieldSetSelectionActive`,
`product`.`sales` as `product.sales`,
`product`.`states` as `product.states`,
`product.tax`.`id` as `product.tax.id`,
`product.tax`.`tax_rate` as `product.tax.taxRate`,
`product.tax`.`name` as `product.tax.name`,
`product.tax`.`position` as `product.tax.position`,
`product.tax`.`custom_fields` as `product.tax.customFields`,
`product.tax`.`created_at` as `product.tax.createdAt`,
`product.tax`.`updated_at` as `product.tax.updatedAt`,
`product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`,
COALESCE(
`product`.`cheapest_price`, `product.parent`.`cheapest_price`
) as `product.cheapestPrice`,
`product`.`created_at` as `product.createdAt`,
`product`.`updated_at` as `product.updatedAt`,
`product.bundle`.`id` as `product.bundle.id`,
`product.bundle`.`product_id` as `product.bundle.productId`,
`product.bundle`.`product_version_id` as `product.bundle.productVersionId`,
`product.bundle`.`name` as `product.bundle.name`,
`product.bundle`.`price_type` as `product.bundle.priceType`,
`product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`,
`product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`,
`product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`,
`product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`,
`product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`,
`product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`,
`product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`,
`product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`,
`product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`,
`product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`,
`product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`,
`product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`,
`product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`,
`product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`,
`product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`,
`product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`,
`product.bundle`.`created_at` as `product.bundle.createdAt`,
`product.bundle`.`updated_at` as `product.bundle.updatedAt`,
`product.cover`.`id` as `product.cover.id`,
`product.cover`.`version_id` as `product.cover.versionId`,
`product.cover`.`product_id` as `product.cover.productId`,
`product.cover`.`product_version_id` as `product.cover.productVersionId`,
`product.cover`.`media_id` as `product.cover.mediaId`,
`product.cover`.`position` as `product.cover.position`,
`product.cover.media`.`id` as `product.cover.media.id`,
`product.cover.media`.`user_id` as `product.cover.media.userId`,
`product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`,
`product.cover.media`.`mime_type` as `product.cover.media.mimeType`,
`product.cover.media`.`file_extension` as `product.cover.media.fileExtension`,
`product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`,
`product.cover.media`.`file_name` as `product.cover.media.fileName`,
`product.cover.media`.`file_size` as `product.cover.media.fileSize`,
`product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`,
`product.cover.media`.`meta_data` as `product.cover.media.metaData`,
`product.cover.media`.`private` as `product.cover.media.private`,
`product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`,
`product.cover.media`.`created_at` as `product.cover.media.createdAt`,
`product.cover.media`.`updated_at` as `product.cover.media.updatedAt`,
`product.cover.media.translation.title`,
COALESCE(
`product.cover.media.translation.title`,
`product.cover.media.translation.title`
) as `product.cover.media.title`,
`product.cover.media.translation.alt`,
COALESCE(
`product.cover.media.translation.alt`,
`product.cover.media.translation.alt`
) as `product.cover.media.alt`,
`product.cover.media.translation.customFields`,
COALESCE(
`product.cover.media.translation.customFields`,
`product.cover.media.translation.customFields`
) as `product.cover.media.customFields`,
`product.cover.media.translation.createdAt`,
`product.cover.media.translation.updatedAt`,
`product.cover.media.translation.mediaId`,
`product.cover.media.translation.languageId`,
`product.cover`.`custom_fields` as `product.cover.customFields`,
`product.cover`.`created_at` as `product.cover.createdAt`,
`product.cover`.`updated_at` as `product.cover.updatedAt`,
`product.translation.metaDescription`,
`product.parent.translation.metaDescription`,
COALESCE(
`product.translation.metaDescription`,
`product.parent.translation.metaDescription`,
`product.translation.metaDescription`
) as `product.metaDescription`,
`product.translation.name`,
`product.parent.translation.name`,
COALESCE(
`product.translation.name`, `product.parent.translation.name`,
`product.translation.name`
) as `product.name`,
`product.translation.keywords`,
`product.parent.translation.keywords`,
COALESCE(
`product.translation.keywords`,
`product.parent.translation.keywords`,
`product.translation.keywords`
) as `product.keywords`,
`product.translation.description`,
`product.parent.translation.description`,
COALESCE(
`product.translation.description`,
`product.parent.translation.description`,
`product.translation.description`
) as `product.description`,
`product.translation.metaTitle`,
`product.parent.translation.metaTitle`,
COALESCE(
`product.translation.metaTitle`,
`product.parent.translation.metaTitle`,
`product.translation.metaTitle`
) as `product.metaTitle`,
`product.translation.packUnit`,
`product.parent.translation.packUnit`,
COALESCE(
`product.translation.packUnit`,
`product.parent.translation.packUnit`,
`product.translation.packUnit`
) as `product.packUnit`,
`product.translation.packUnitPlural`,
`product.parent.translation.packUnitPlural`,
COALESCE(
`product.translation.packUnitPlural`,
`product.parent.translation.packUnitPlural`,
`product.translation.packUnitPlural`
) as `product.packUnitPlural`,
`product.translation.customSearchKeywords`,
`product.parent.translation.customSearchKeywords`,
COALESCE(
`product.translation.customSearchKeywords`,
`product.parent.translation.customSearchKeywords`,
`product.translation.customSearchKeywords`
) as `product.customSearchKeywords`,
`product.translation.slotConfig`,
`product.parent.translation.slotConfig`,
COALESCE(
`product.translation.slotConfig`,
`product.parent.translation.slotConfig`,
`product.translation.slotConfig`
) as `product.slotConfig`,
`product.translation.customFields`,
`product.parent.translation.customFields`,
COALESCE(
`product.translation.customFields`,
`product.parent.translation.customFields`,
`product.translation.customFields`
) as `product.customFields`,
`product.translation.createdAt`,
`product.parent.translation.createdAt`,
`product.translation.updatedAt`,
`product.parent.translation.updatedAt`,
`product.translation.productId`,
`product.parent.translation.productId`,
`product.translation.languageId`,
`product.parent.translation.languageId`,
`product.translation.productVersionId`,
`product.parent.translation.productVersionId`
FROM
`product`
LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id`
AND `product`.`version_id` = `product.parent`.`version_id`
LEFT JOIN (
SELECT
`product.translation`.product_id,
`product.translation`.product_version_id,
`product.translation`.meta_description as `product.translation.metaDescription`,
`product.translation`.name as `product.translation.name`,
`product.translation`.keywords as `product.translation.keywords`,
`product.translation`.description as `product.translation.description`,
`product.translation`.meta_title as `product.translation.metaTitle`,
`product.translation`.pack_unit as `product.translation.packUnit`,
`product.translation`.pack_unit_plural as `product.translation.packUnitPlural`,
`product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`,
`product.translation`.slot_config as `product.translation.slotConfig`,
`product.translation`.custom_fields as `product.translation.customFields`,
`product.translation`.created_at as `product.translation.createdAt`,
`product.translation`.updated_at as `product.translation.updatedAt`,
`product.translation`.product_id as `product.translation.productId`,
`product.translation`.language_id as `product.translation.languageId`,
`product.translation`.product_version_id as `product.translation.productVersionId`
FROM
`product_translation` `product.translation`
WHERE
`product.translation`.language_id = : languageId
) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id`
AND `product.product_translation`.product_version_id = `product`.version_id
LEFT JOIN (
SELECT
`product.parent.translation`.product_id,
`product.parent.translation`.product_version_id,
`product.parent.translation`.meta_description as `product.parent.translation.metaDescription`,
`product.parent.translation`.name as `product.parent.translation.name`,
`product.parent.translation`.keywords as `product.parent.translation.keywords`,
`product.parent.translation`.description as `product.parent.translation.description`,
`product.parent.translation`.meta_title as `product.parent.translation.metaTitle`,
`product.parent.translation`.pack_unit as `product.parent.translation.packUnit`,
`product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`,
`product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`,
`product.parent.translation`.slot_config as `product.parent.translation.slotConfig`,
`product.parent.translation`.custom_fields as `product.parent.translation.customFields`,
`product.parent.translation`.created_at as `product.parent.translation.createdAt`,
`product.parent.translation`.updated_at as `product.parent.translation.updatedAt`,
`product.parent.translation`.product_id as `product.parent.translation.productId`,
`product.parent.translation`.language_id as `product.parent.translation.languageId`,
`product.parent.translation`.product_version_id as `product.parent.translation.productVersionId`
FROM
`product_translation` `product.parent.translation`
WHERE
`product.parent.translation`.language_id = : languageId
) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id`
AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id
LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id`
LEFT JOIN `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_id`
LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id`
AND `product`.`version_id` = `product.cover`.`version_id`
LEFT JOIN `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id`
LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id`
LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`id`
LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id`
LEFT JOIN (
SELECT
`product.cover.media.translation`.media_id,
`product.cover.media.translation`.title as `product.cover.media.translation.title`,
`product.cover.media.translation`.alt as `product.cover.media.translation.alt`,
`product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`,
`product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`,
`product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`,
`product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`,
`product.cover.media.translation`.language_id as `product.cover.media.translation.languageId`
FROM
`media_translation` `product.cover.media.translation`
WHERE
`product.cover.media.translation`.language_id = : languageId
) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id`
WHERE
(
`product`.`version_id` = : version
)
AND (
`product`.`id` IN (: ids)
)
SELECT `product`.`id` as `product.id`, `product`.`version_id` as `product.versionId`, `product`.`parent_id` as `product.parentId`, `product`.`parent_version_id` as `product.parentVersionId`, COALESCE(`product`.`product_manufacturer_id`, `product.parent`.`product_manufacturer_id`) as `product.manufacturerId`, COALESCE(`product`.`product_manufacturer_version_id`, `product.parent`.`product_manufacturer_version_id`) as `product.productManufacturerVersionId`, COALESCE(`product`.`unit_id`, `product.parent`.`unit_id`) as `product.unitId`, COALESCE(`product`.`tax_id`, `product.parent`.`tax_id`) as `product.taxId`, COALESCE(`product`.`product_media_id`, `product.parent`.`product_media_id`) as `product.coverId`, COALESCE(`product`.`product_media_version_id`, `product.parent`.`product_media_version_id`) as `product.productMediaVersionId`, COALESCE(`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`) as `product.deliveryTimeId`, COALESCE(`product`.`product_feature_set_id`, `product.parent`.`product_feature_set_id`) as `product.featureSetId`, COALESCE(`product`.`canonical_product_id`, `product.parent`.`canonical_product_id`) as `product.canonicalProductId`, COALESCE(`product`.`cms_page_id`, `product.parent`.`cms_page_id`) as `product.cmsPageId`, COALESCE(`product`.`cms_page_version_id`, `product.parent`.`cms_page_version_id`) as `product.cmsPageVersionId`, `product.parent`.`price` as `product.price.inherited`, COALESCE(`product`.`price`, `product.parent`.`price`) as `product.price`, `product`.`product_number` as `product.productNumber`, `product`.`stock` as `product.stock`, COALESCE(`product`.`restock_time`, `product.parent`.`restock_time`) as `product.restockTime`, `product`.`auto_increment` as `product.autoIncrement`, COALESCE(`product`.`active`, `product.parent`.`active`) as `product.active`, `product`.`available_stock` as `product.availableStock`, `product`.`available` as `product.available`, COALESCE(`product`.`is_closeout`, `product.parent`.`is_closeout`) as `product.isCloseout`, `product`.`display_group` as `product.displayGroup`, `product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`, COALESCE(`product`.`configurator_group_config`, `product.parent`.`configurator_group_config`) as `product.configuratorGroupConfig`, COALESCE(`product`.`main_variant_id`, `product.parent`.`main_variant_id`) as `product.mainVariantId`, COALESCE(`product`.`display_parent`, `product.parent`.`display_parent`) as `product.displayParent`, `product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`, COALESCE(`product`.`variant_listing_config`, `product.parent`.`variant_listing_config`) as `product.variantListingConfig`, `product`.`variant_restrictions` as `product.variantRestrictions`, COALESCE(`product`.`manufacturer_number`, `product.parent`.`manufacturer_number`) as `product.manufacturerNumber`, COALESCE(`product`.`ean`, `product.parent`.`ean`) as `product.ean`, COALESCE(`product`.`purchase_steps`, `product.parent`.`purchase_steps`) as `product.purchaseSteps`, COALESCE(`product`.`max_purchase`, `product.parent`.`max_purchase`) as `product.maxPurchase`, COALESCE(`product`.`min_purchase`, `product.parent`.`min_purchase`) as `product.minPurchase`, COALESCE(`product`.`purchase_unit`, `product.parent`.`purchase_unit`) as `product.purchaseUnit`, COALESCE(`product`.`reference_unit`, `product.parent`.`reference_unit`) as `product.referenceUnit`, COALESCE(`product`.`shipping_free`, `product.parent`.`shipping_free`) as `product.shippingFree`, `product.parent`.`purchase_prices` as `product.purchasePrices.inherited`, COALESCE(`product`.`purchase_prices`, `product.parent`.`purchase_prices`) as `product.purchasePrices`, COALESCE(`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`) as `product.markAsTopseller`, COALESCE(`product`.`weight`, `product.parent`.`weight`) as `product.weight`, COALESCE(`product`.`width`, `product.parent`.`width`) as `product.width`, COALESCE(`product`.`height`, `product.parent`.`height`) as `product.height`, COALESCE(`product`.`length`, `product.parent`.`length`) as `product.length`, COALESCE(`product`.`release_date`, `product.parent`.`release_date`) as `product.releaseDate`, COALESCE(`product`.`rating_average`, `product.parent`.`rating_average`) as `product.ratingAverage`, `product.parent`.`category_tree` as `product.categoryTree.inherited`, COALESCE(`product`.`category_tree`, `product.parent`.`category_tree`) as `product.categoryTree`, `product.parent`.`property_ids` as `product.propertyIds.inherited`, COALESCE(`product`.`property_ids`, `product.parent`.`property_ids`) as `product.propertyIds`, `product.parent`.`option_ids` as `product.optionIds.inherited`, COALESCE(`product`.`option_ids`, `product.parent`.`option_ids`) as `product.optionIds`, `product.parent`.`stream_ids` as `product.streamIds.inherited`, COALESCE(`product`.`stream_ids`, `product.parent`.`stream_ids`) as `product.streamIds`, `product.parent`.`tag_ids` as `product.tagIds.inherited`, COALESCE(`product`.`tag_ids`, `product.parent`.`tag_ids`) as `product.tagIds`, `product.parent`.`category_ids` as `product.categoryIds.inherited`, COALESCE(`product`.`category_ids`, `product.parent`.`category_ids`) as `product.categoryIds`, `product`.`child_count` as `product.childCount`, COALESCE(`product`.`custom_field_set_selection_active`, `product.parent`.`custom_field_set_selection_active`) as `product.customFieldSetSelectionActive`, `product`.`sales` as `product.sales`, `product`.`states` as `product.states`, `product.tax`.`id` as `product.tax.id`, `product.tax`.`tax_rate` as `product.tax.taxRate`, `product.tax`.`name` as `product.tax.name`, `product.tax`.`position` as `product.tax.position`, `product.tax`.`custom_fields` as `product.tax.customFields`, `product.tax`.`created_at` as `product.tax.createdAt`, `product.tax`.`updated_at` as `product.tax.updatedAt`, `product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`, COALESCE(`product`.`cheapest_price`, `product.parent`.`cheapest_price`) as `product.cheapestPrice`, `product`.`created_at` as `product.createdAt`, `product`.`updated_at` as `product.updatedAt`, `product.bundle`.`id` as `product.bundle.id`, `product.bundle`.`product_id` as `product.bundle.productId`, `product.bundle`.`product_version_id` as `product.bundle.productVersionId`, `product.bundle`.`name` as `product.bundle.name`, `product.bundle`.`price_type` as `product.bundle.priceType`, `product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`, `product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`, `product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`, `product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`, `product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`, `product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`, `product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`, `product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`, `product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`, `product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`, `product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`, `product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`, `product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`, `product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`, `product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`, `product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`, `product.bundle`.`created_at` as `product.bundle.createdAt`, `product.bundle`.`updated_at` as `product.bundle.updatedAt`, `product.cover`.`id` as `product.cover.id`, `product.cover`.`version_id` as `product.cover.versionId`, `product.cover`.`product_id` as `product.cover.productId`, `product.cover`.`product_version_id` as `product.cover.productVersionId`, `product.cover`.`media_id` as `product.cover.mediaId`, `product.cover`.`position` as `product.cover.position`, `product.cover.media`.`id` as `product.cover.media.id`, `product.cover.media`.`user_id` as `product.cover.media.userId`, `product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`, `product.cover.media`.`mime_type` as `product.cover.media.mimeType`, `product.cover.media`.`file_extension` as `product.cover.media.fileExtension`, `product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`, `product.cover.media`.`file_name` as `product.cover.media.fileName`, `product.cover.media`.`file_size` as `product.cover.media.fileSize`, `product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`, `product.cover.media`.`meta_data` as `product.cover.media.metaData`, `product.cover.media`.`private` as `product.cover.media.private`, `product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`, `product.cover.media`.`created_at` as `product.cover.media.createdAt`, `product.cover.media`.`updated_at` as `product.cover.media.updatedAt`, `product.cover.media.translation.title`, COALESCE(`product.cover.media.translation.title`,`product.cover.media.translation.title`) as `product.cover.media.title`, `product.cover.media.translation.alt`, COALESCE(`product.cover.media.translation.alt`,`product.cover.media.translation.alt`) as `product.cover.media.alt`, `product.cover.media.translation.customFields`, COALESCE(`product.cover.media.translation.customFields`,`product.cover.media.translation.customFields`) as `product.cover.media.customFields`, `product.cover.media.translation.createdAt`, `product.cover.media.translation.updatedAt`, `product.cover.media.translation.mediaId`, `product.cover.media.translation.languageId`, `product.cover`.`custom_fields` as `product.cover.customFields`, `product.cover`.`created_at` as `product.cover.createdAt`, `product.cover`.`updated_at` as `product.cover.updatedAt`, `product.translation.metaDescription`, `product.parent.translation.metaDescription`, COALESCE(`product.translation.metaDescription`,`product.parent.translation.metaDescription`,`product.translation.metaDescription`) as `product.metaDescription`, `product.translation.name`, `product.parent.translation.name`, COALESCE(`product.translation.name`,`product.parent.translation.name`,`product.translation.name`) as `product.name`, `product.translation.keywords`, `product.parent.translation.keywords`, COALESCE(`product.translation.keywords`,`product.parent.translation.keywords`,`product.translation.keywords`) as `product.keywords`, `product.translation.description`, `product.parent.translation.description`, COALESCE(`product.translation.description`,`product.parent.translation.description`,`product.translation.description`) as `product.description`, `product.translation.metaTitle`, `product.parent.translation.metaTitle`, COALESCE(`product.translation.metaTitle`,`product.parent.translation.metaTitle`,`product.translation.metaTitle`) as `product.metaTitle`, `product.translation.packUnit`, `product.parent.translation.packUnit`, COALESCE(`product.translation.packUnit`,`product.parent.translation.packUnit`,`product.translation.packUnit`) as `product.packUnit`, `product.translation.packUnitPlural`, `product.parent.translation.packUnitPlural`, COALESCE(`product.translation.packUnitPlural`,`product.parent.translation.packUnitPlural`,`product.translation.packUnitPlural`) as `product.packUnitPlural`, `product.translation.customSearchKeywords`, `product.parent.translation.customSearchKeywords`, COALESCE(`product.translation.customSearchKeywords`,`product.parent.translation.customSearchKeywords`,`product.translation.customSearchKeywords`) as `product.customSearchKeywords`, `product.translation.slotConfig`, `product.parent.translation.slotConfig`, COALESCE(`product.translation.slotConfig`,`product.parent.translation.slotConfig`,`product.translation.slotConfig`) as `product.slotConfig`, `product.translation.customFields`, `product.parent.translation.customFields`, COALESCE(`product.translation.customFields`,`product.parent.translation.customFields`,`product.translation.customFields`) as `product.customFields`, `product.translation.createdAt`, `product.parent.translation.createdAt`, `product.translation.updatedAt`, `product.parent.translation.updatedAt`, `product.translation.productId`, `product.parent.translation.productId`, `product.translation.languageId`, `product.parent.translation.languageId`, `product.translation.productVersionId`, `product.parent.translation.productVersionId` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN (SELECT `product.translation`.product_id, `product.translation`.product_version_id, `product.translation`.meta_description as `product.translation.metaDescription`, `product.translation`.name as `product.translation.name`, `product.translation`.keywords as `product.translation.keywords`, `product.translation`.description as `product.translation.description`, `product.translation`.meta_title as `product.translation.metaTitle`, `product.translation`.pack_unit as `product.translation.packUnit`, `product.translation`.pack_unit_plural as `product.translation.packUnitPlural`, `product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`, `product.translation`.slot_config as `product.translation.slotConfig`, `product.translation`.custom_fields as `product.translation.customFields`, `product.translation`.created_at as `product.translation.createdAt`, `product.translation`.updated_at as `product.translation.updatedAt`, `product.translation`.product_id as `product.translation.productId`, `product.translation`.language_id as `product.translation.languageId`, `product.translation`.product_version_id as `product.translation.productVersionId` FROM `product_translation` `product.translation` WHERE `product.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id` AND `product.product_translation`.product_version_id = `product`.version_id LEFT JOIN (SELECT `product.parent.translation`.product_id, `product.parent.translation`.product_version_id, `product.parent.translation`.meta_description as `product.parent.translation.metaDescription`, `product.parent.translation`.name as `product.parent.translation.name`, `product.parent.translation`.keywords as `product.parent.translation.keywords`, `product.parent.translation`.description as `product.parent.translation.description`, `product.parent.translation`.meta_title as `product.parent.translation.metaTitle`, `product.parent.translation`.pack_unit as `product.parent.translation.packUnit`, `product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`, `product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`, `product.parent.translation`.slot_config as `product.parent.translation.slotConfig`, `product.parent.translation`.custom_fields as `product.parent.translation.customFields`, `product.parent.translation`.created_at as `product.parent.translation.createdAt`, `product.parent.translation`.updated_at as `product.parent.translation.updatedAt`, `product.parent.translation`.product_id as `product.parent.translation.productId`, `product.parent.translation`.language_id as `product.parent.translation.languageId`, `product.parent.translation`.product_version_id as `product.parent.translation.productVersionId` FROM `product_translation` `product.parent.translation` WHERE `product.parent.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id` AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id` LEFT JOIN `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_id` LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id` AND `product`.`version_id` = `product.cover`.`version_id` LEFT JOIN `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`id` LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id` LEFT JOIN (SELECT `product.cover.media.translation`.media_id, `product.cover.media.translation`.title as `product.cover.media.translation.title`, `product.cover.media.translation`.alt as `product.cover.media.translation.alt`, `product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`, `product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`, `product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`, `product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`, `product.cover.media.translation`.language_id as `product.cover.media.translation.languageId` FROM `media_translation` `product.cover.media.translation` WHERE `product.cover.media.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id` WHERE (`product`.`version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425) AND (`product`.`id` IN (0x03F4EF144EC44C3E822790C652F7C3F6));
array:51 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 316)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetch (line 148)"
4 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 93)"
5 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::read (line 257)"
6 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::read (line 286)"
7 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::_search (line 106)"
8 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::search (line 51)"
9 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepositoryForwardCompatibilityDecorator::search (line 103)"
10 => "Bodymed\Webshop\StoreFront\Subscriber\ProductExtensionSubscriber::addParentCover (line 230)"
11 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
12 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
13 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
14 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
15 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
16 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 33)"
17 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
18 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 208)"
19 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::read (line 133)"
20 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 49)"
21 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariantsOfProduct (line 30)"
22 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariants (line 224)"
23 => "Bodymed\Webshop\Core\Content\Product\Cms\ProductSliderCmsElementResolver::enrich (line 99)"
24 => "Shopware\Core\Content\Cms\DataResolver\CmsSlotsDataResolver::resolve (line 104)"
25 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::loadSlotData (line 94)"
26 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::load (line 102)"
27 => "Shopware\Core\Content\Category\SalesChannel\CategoryRoute::load (line 103)"
28 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 350)"
29 => "Shopware\Core\System\SystemConfig\SystemConfigService::trace (line 44)"
30 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 120)"
31 => "Shopware\Core\Framework\Adapter\Translation\Translator::trace (line 45)"
32 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 46)"
33 => "Shopware\Core\Framework\Adapter\Cache\CacheTagCollection::trace (line 46)"
34 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::trace (line 41)"
35 => "Shopware\Storefront\Framework\Cache\CacheTracer::Shopware\Storefront\Framework\Cache\{closure} (line 59)"
36 => "Shopware\Storefront\Theme\ThemeConfigValueAccessor::trace (line 42)"
37 => "Shopware\Storefront\Framework\Cache\CacheTracer::trace (line 104)"
38 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 72)"
39 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
40 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 109)"
41 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 59)"
42 => "Shopware\Core\Profiling\Profiler::trace (line 112)"
43 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::load (line 66)"
44 => "Shopware\Storefront\Page\Navigation\NavigationPageLoader::load (line 48)"
45 => "Shopware\Storefront\Controller\NavigationController::home (line 163)"
46 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
47 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
48 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
49 => "Shopware\Core\HttpKernel::doHandle (line 81)"
50 => "Shopware\Core\HttpKernel::handle (line 75)"
]
|
103 |
0.66 ms |
SELECT * FROM sales_channel_api_context WHERE (sales_channel_id = :salesChannelId) AND (token = :token) LIMIT 1
SELECT * FROM sales_channel_api_context WHERE (sales_channel_id = 0x620A2217F7474E619CB00AD39E804CCA) AND (token = 'FwsxT47353Zxmr7lp0KSfYcVNkg5VpYR') LIMIT 1;
array:58 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 165)"
3 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextPersister::load (line 69)"
4 => "Bodymed\Webshop\Core\Subscriber\ProductSubscriber::addCustomerProductFeatureExtension (line 230)"
5 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
6 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
7 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
8 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
9 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
10 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 33)"
11 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
12 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 269)"
13 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::read (line 286)"
14 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::_search (line 106)"
15 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::search (line 51)"
16 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepositoryForwardCompatibilityDecorator::search (line 103)"
17 => "Bodymed\Webshop\StoreFront\Subscriber\ProductExtensionSubscriber::addParentCover (line 230)"
18 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
19 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
20 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
21 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
22 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
23 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 33)"
24 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
25 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 208)"
26 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::read (line 133)"
27 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 49)"
28 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariantsOfProduct (line 30)"
29 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariants (line 224)"
30 => "Bodymed\Webshop\Core\Content\Product\Cms\ProductSliderCmsElementResolver::enrich (line 99)"
31 => "Shopware\Core\Content\Cms\DataResolver\CmsSlotsDataResolver::resolve (line 104)"
32 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::loadSlotData (line 94)"
33 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::load (line 102)"
34 => "Shopware\Core\Content\Category\SalesChannel\CategoryRoute::load (line 103)"
35 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 350)"
36 => "Shopware\Core\System\SystemConfig\SystemConfigService::trace (line 44)"
37 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 120)"
38 => "Shopware\Core\Framework\Adapter\Translation\Translator::trace (line 45)"
39 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 46)"
40 => "Shopware\Core\Framework\Adapter\Cache\CacheTagCollection::trace (line 46)"
41 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::trace (line 41)"
42 => "Shopware\Storefront\Framework\Cache\CacheTracer::Shopware\Storefront\Framework\Cache\{closure} (line 59)"
43 => "Shopware\Storefront\Theme\ThemeConfigValueAccessor::trace (line 42)"
44 => "Shopware\Storefront\Framework\Cache\CacheTracer::trace (line 104)"
45 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 72)"
46 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
47 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 109)"
48 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 59)"
49 => "Shopware\Core\Profiling\Profiler::trace (line 112)"
50 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::load (line 66)"
51 => "Shopware\Storefront\Page\Navigation\NavigationPageLoader::load (line 48)"
52 => "Shopware\Storefront\Controller\NavigationController::home (line 163)"
53 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
54 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
55 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
56 => "Shopware\Core\HttpKernel::doHandle (line 81)"
57 => "Shopware\Core\HttpKernel::handle (line 75)"
]
|
104 |
25.43 ms |
SELECT `product`.`id` as `product.id`, `product`.`version_id` as `product.versionId`, `product`.`parent_id` as `product.parentId`, `product`.`parent_version_id` as `product.parentVersionId`, COALESCE(`product`.`product_manufacturer_id`, `product.parent`.`product_manufacturer_id`) as `product.manufacturerId`, COALESCE(`product`.`product_manufacturer_version_id`, `product.parent`.`product_manufacturer_version_id`) as `product.productManufacturerVersionId`, COALESCE(`product`.`unit_id`, `product.parent`.`unit_id`) as `product.unitId`, COALESCE(`product`.`tax_id`, `product.parent`.`tax_id`) as `product.taxId`, COALESCE(`product`.`product_media_id`, `product.parent`.`product_media_id`) as `product.coverId`, COALESCE(`product`.`product_media_version_id`, `product.parent`.`product_media_version_id`) as `product.productMediaVersionId`, COALESCE(`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`) as `product.deliveryTimeId`, COALESCE(`product`.`product_feature_set_id`, `product.parent`.`product_feature_set_id`) as `product.featureSetId`, COALESCE(`product`.`canonical_product_id`, `product.parent`.`canonical_product_id`) as `product.canonicalProductId`, COALESCE(`product`.`cms_page_id`, `product.parent`.`cms_page_id`) as `product.cmsPageId`, COALESCE(`product`.`cms_page_version_id`, `product.parent`.`cms_page_version_id`) as `product.cmsPageVersionId`, `product.parent`.`price` as `product.price.inherited`, COALESCE(`product`.`price`, `product.parent`.`price`) as `product.price`, `product`.`product_number` as `product.productNumber`, `product`.`stock` as `product.stock`, COALESCE(`product`.`restock_time`, `product.parent`.`restock_time`) as `product.restockTime`, `product`.`auto_increment` as `product.autoIncrement`, COALESCE(`product`.`active`, `product.parent`.`active`) as `product.active`, `product`.`available_stock` as `product.availableStock`, `product`.`available` as `product.available`, COALESCE(`product`.`is_closeout`, `product.parent`.`is_closeout`) as `product.isCloseout`, `product`.`display_group` as `product.displayGroup`, `product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`, COALESCE(`product`.`configurator_group_config`, `product.parent`.`configurator_group_config`) as `product.configuratorGroupConfig`, COALESCE(`product`.`main_variant_id`, `product.parent`.`main_variant_id`) as `product.mainVariantId`, COALESCE(`product`.`display_parent`, `product.parent`.`display_parent`) as `product.displayParent`, `product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`, COALESCE(`product`.`variant_listing_config`, `product.parent`.`variant_listing_config`) as `product.variantListingConfig`, `product`.`variant_restrictions` as `product.variantRestrictions`, COALESCE(`product`.`manufacturer_number`, `product.parent`.`manufacturer_number`) as `product.manufacturerNumber`, COALESCE(`product`.`ean`, `product.parent`.`ean`) as `product.ean`, COALESCE(`product`.`purchase_steps`, `product.parent`.`purchase_steps`) as `product.purchaseSteps`, COALESCE(`product`.`max_purchase`, `product.parent`.`max_purchase`) as `product.maxPurchase`, COALESCE(`product`.`min_purchase`, `product.parent`.`min_purchase`) as `product.minPurchase`, COALESCE(`product`.`purchase_unit`, `product.parent`.`purchase_unit`) as `product.purchaseUnit`, COALESCE(`product`.`reference_unit`, `product.parent`.`reference_unit`) as `product.referenceUnit`, COALESCE(`product`.`shipping_free`, `product.parent`.`shipping_free`) as `product.shippingFree`, `product.parent`.`purchase_prices` as `product.purchasePrices.inherited`, COALESCE(`product`.`purchase_prices`, `product.parent`.`purchase_prices`) as `product.purchasePrices`, COALESCE(`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`) as `product.markAsTopseller`, COALESCE(`product`.`weight`, `product.parent`.`weight`) as `product.weight`, COALESCE(`product`.`width`, `product.parent`.`width`) as `product.width`, COALESCE(`product`.`height`, `product.parent`.`height`) as `product.height`, COALESCE(`product`.`length`, `product.parent`.`length`) as `product.length`, COALESCE(`product`.`release_date`, `product.parent`.`release_date`) as `product.releaseDate`, COALESCE(`product`.`rating_average`, `product.parent`.`rating_average`) as `product.ratingAverage`, `product.parent`.`category_tree` as `product.categoryTree.inherited`, COALESCE(`product`.`category_tree`, `product.parent`.`category_tree`) as `product.categoryTree`, `product.parent`.`property_ids` as `product.propertyIds.inherited`, COALESCE(`product`.`property_ids`, `product.parent`.`property_ids`) as `product.propertyIds`, `product.parent`.`option_ids` as `product.optionIds.inherited`, COALESCE(`product`.`option_ids`, `product.parent`.`option_ids`) as `product.optionIds`, `product.parent`.`stream_ids` as `product.streamIds.inherited`, COALESCE(`product`.`stream_ids`, `product.parent`.`stream_ids`) as `product.streamIds`, `product.parent`.`tag_ids` as `product.tagIds.inherited`, COALESCE(`product`.`tag_ids`, `product.parent`.`tag_ids`) as `product.tagIds`, `product.parent`.`category_ids` as `product.categoryIds.inherited`, COALESCE(`product`.`category_ids`, `product.parent`.`category_ids`) as `product.categoryIds`, `product`.`child_count` as `product.childCount`, COALESCE(`product`.`custom_field_set_selection_active`, `product.parent`.`custom_field_set_selection_active`) as `product.customFieldSetSelectionActive`, `product`.`sales` as `product.sales`, `product`.`states` as `product.states`, `product.tax`.`id` as `product.tax.id`, `product.tax`.`tax_rate` as `product.tax.taxRate`, `product.tax`.`name` as `product.tax.name`, `product.tax`.`position` as `product.tax.position`, `product.tax`.`custom_fields` as `product.tax.customFields`, `product.tax`.`created_at` as `product.tax.createdAt`, `product.tax`.`updated_at` as `product.tax.updatedAt`, `product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`, COALESCE(`product`.`cheapest_price`, `product.parent`.`cheapest_price`) as `product.cheapestPrice`, `product`.`created_at` as `product.createdAt`, `product`.`updated_at` as `product.updatedAt`, `product.bundle`.`id` as `product.bundle.id`, `product.bundle`.`product_id` as `product.bundle.productId`, `product.bundle`.`product_version_id` as `product.bundle.productVersionId`, `product.bundle`.`name` as `product.bundle.name`, `product.bundle`.`price_type` as `product.bundle.priceType`, `product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`, `product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`, `product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`, `product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`, `product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`, `product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`, `product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`, `product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`, `product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`, `product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`, `product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`, `product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`, `product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`, `product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`, `product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`, `product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`, `product.bundle`.`created_at` as `product.bundle.createdAt`, `product.bundle`.`updated_at` as `product.bundle.updatedAt`, `product.cover`.`id` as `product.cover.id`, `product.cover`.`version_id` as `product.cover.versionId`, `product.cover`.`product_id` as `product.cover.productId`, `product.cover`.`product_version_id` as `product.cover.productVersionId`, `product.cover`.`media_id` as `product.cover.mediaId`, `product.cover`.`position` as `product.cover.position`, `product.cover.media`.`id` as `product.cover.media.id`, `product.cover.media`.`user_id` as `product.cover.media.userId`, `product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`, `product.cover.media`.`mime_type` as `product.cover.media.mimeType`, `product.cover.media`.`file_extension` as `product.cover.media.fileExtension`, `product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`, `product.cover.media`.`file_name` as `product.cover.media.fileName`, `product.cover.media`.`file_size` as `product.cover.media.fileSize`, `product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`, `product.cover.media`.`meta_data` as `product.cover.media.metaData`, `product.cover.media`.`private` as `product.cover.media.private`, `product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`, `product.cover.media`.`created_at` as `product.cover.media.createdAt`, `product.cover.media`.`updated_at` as `product.cover.media.updatedAt`, `product.cover.media.translation.title`, COALESCE(`product.cover.media.translation.title`,`product.cover.media.translation.title`) as `product.cover.media.title`, `product.cover.media.translation.alt`, COALESCE(`product.cover.media.translation.alt`,`product.cover.media.translation.alt`) as `product.cover.media.alt`, `product.cover.media.translation.customFields`, COALESCE(`product.cover.media.translation.customFields`,`product.cover.media.translation.customFields`) as `product.cover.media.customFields`, `product.cover.media.translation.createdAt`, `product.cover.media.translation.updatedAt`, `product.cover.media.translation.mediaId`, `product.cover.media.translation.languageId`, `product.cover`.`custom_fields` as `product.cover.customFields`, `product.cover`.`created_at` as `product.cover.createdAt`, `product.cover`.`updated_at` as `product.cover.updatedAt`, `product.translation.metaDescription`, `product.parent.translation.metaDescription`, COALESCE(`product.translation.metaDescription`,`product.parent.translation.metaDescription`,`product.translation.metaDescription`) as `product.metaDescription`, `product.translation.name`, `product.parent.translation.name`, COALESCE(`product.translation.name`,`product.parent.translation.name`,`product.translation.name`) as `product.name`, `product.translation.keywords`, `product.parent.translation.keywords`, COALESCE(`product.translation.keywords`,`product.parent.translation.keywords`,`product.translation.keywords`) as `product.keywords`, `product.translation.description`, `product.parent.translation.description`, COALESCE(`product.translation.description`,`product.parent.translation.description`,`product.translation.description`) as `product.description`, `product.translation.metaTitle`, `product.parent.translation.metaTitle`, COALESCE(`product.translation.metaTitle`,`product.parent.translation.metaTitle`,`product.translation.metaTitle`) as `product.metaTitle`, `product.translation.packUnit`, `product.parent.translation.packUnit`, COALESCE(`product.translation.packUnit`,`product.parent.translation.packUnit`,`product.translation.packUnit`) as `product.packUnit`, `product.translation.packUnitPlural`, `product.parent.translation.packUnitPlural`, COALESCE(`product.translation.packUnitPlural`,`product.parent.translation.packUnitPlural`,`product.translation.packUnitPlural`) as `product.packUnitPlural`, `product.translation.customSearchKeywords`, `product.parent.translation.customSearchKeywords`, COALESCE(`product.translation.customSearchKeywords`,`product.parent.translation.customSearchKeywords`,`product.translation.customSearchKeywords`) as `product.customSearchKeywords`, `product.translation.slotConfig`, `product.parent.translation.slotConfig`, COALESCE(`product.translation.slotConfig`,`product.parent.translation.slotConfig`,`product.translation.slotConfig`) as `product.slotConfig`, `product.translation.customFields`, `product.parent.translation.customFields`, COALESCE(`product.translation.customFields`,`product.parent.translation.customFields`,`product.translation.customFields`) as `product.customFields`, `product.translation.createdAt`, `product.parent.translation.createdAt`, `product.translation.updatedAt`, `product.parent.translation.updatedAt`, `product.translation.productId`, `product.parent.translation.productId`, `product.translation.languageId`, `product.parent.translation.languageId`, `product.translation.productVersionId`, `product.parent.translation.productVersionId` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN (SELECT `product.translation`.product_id, `product.translation`.product_version_id, `product.translation`.meta_description as `product.translation.metaDescription`, `product.translation`.name as `product.translation.name`, `product.translation`.keywords as `product.translation.keywords`, `product.translation`.description as `product.translation.description`, `product.translation`.meta_title as `product.translation.metaTitle`, `product.translation`.pack_unit as `product.translation.packUnit`, `product.translation`.pack_unit_plural as `product.translation.packUnitPlural`, `product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`, `product.translation`.slot_config as `product.translation.slotConfig`, `product.translation`.custom_fields as `product.translation.customFields`, `product.translation`.created_at as `product.translation.createdAt`, `product.translation`.updated_at as `product.translation.updatedAt`, `product.translation`.product_id as `product.translation.productId`, `product.translation`.language_id as `product.translation.languageId`, `product.translation`.product_version_id as `product.translation.productVersionId` FROM `product_translation` `product.translation` WHERE `product.translation`.language_id = :languageId) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id` AND `product.product_translation`.product_version_id = `product`.version_id LEFT JOIN (SELECT `product.parent.translation`.product_id, `product.parent.translation`.product_version_id, `product.parent.translation`.meta_description as `product.parent.translation.metaDescription`, `product.parent.translation`.name as `product.parent.translation.name`, `product.parent.translation`.keywords as `product.parent.translation.keywords`, `product.parent.translation`.description as `product.parent.translation.description`, `product.parent.translation`.meta_title as `product.parent.translation.metaTitle`, `product.parent.translation`.pack_unit as `product.parent.translation.packUnit`, `product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`, `product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`, `product.parent.translation`.slot_config as `product.parent.translation.slotConfig`, `product.parent.translation`.custom_fields as `product.parent.translation.customFields`, `product.parent.translation`.created_at as `product.parent.translation.createdAt`, `product.parent.translation`.updated_at as `product.parent.translation.updatedAt`, `product.parent.translation`.product_id as `product.parent.translation.productId`, `product.parent.translation`.language_id as `product.parent.translation.languageId`, `product.parent.translation`.product_version_id as `product.parent.translation.productVersionId` FROM `product_translation` `product.parent.translation` WHERE `product.parent.translation`.language_id = :languageId) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id` AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id` LEFT JOIN `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_id` LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id` AND `product`.`version_id` = `product.cover`.`version_id` LEFT JOIN `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`id` LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id` LEFT JOIN (SELECT `product.cover.media.translation`.media_id, `product.cover.media.translation`.title as `product.cover.media.translation.title`, `product.cover.media.translation`.alt as `product.cover.media.translation.alt`, `product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`, `product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`, `product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`, `product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`, `product.cover.media.translation`.language_id as `product.cover.media.translation.languageId` FROM `media_translation` `product.cover.media.translation` WHERE `product.cover.media.translation`.language_id = :languageId) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id` WHERE (`product`.`version_id` = :version) AND (`product`.`id` IN (:ids))
SELECT
`product`.`id` as `product.id`,
`product`.`version_id` as `product.versionId`,
`product`.`parent_id` as `product.parentId`,
`product`.`parent_version_id` as `product.parentVersionId`,
COALESCE(
`product`.`product_manufacturer_id`,
`product.parent`.`product_manufacturer_id`
) as `product.manufacturerId`,
COALESCE(
`product`.`product_manufacturer_version_id`,
`product.parent`.`product_manufacturer_version_id`
) as `product.productManufacturerVersionId`,
COALESCE(
`product`.`unit_id`, `product.parent`.`unit_id`
) as `product.unitId`,
COALESCE(
`product`.`tax_id`, `product.parent`.`tax_id`
) as `product.taxId`,
COALESCE(
`product`.`product_media_id`, `product.parent`.`product_media_id`
) as `product.coverId`,
COALESCE(
`product`.`product_media_version_id`,
`product.parent`.`product_media_version_id`
) as `product.productMediaVersionId`,
COALESCE(
`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`
) as `product.deliveryTimeId`,
COALESCE(
`product`.`product_feature_set_id`,
`product.parent`.`product_feature_set_id`
) as `product.featureSetId`,
COALESCE(
`product`.`canonical_product_id`,
`product.parent`.`canonical_product_id`
) as `product.canonicalProductId`,
COALESCE(
`product`.`cms_page_id`, `product.parent`.`cms_page_id`
) as `product.cmsPageId`,
COALESCE(
`product`.`cms_page_version_id`,
`product.parent`.`cms_page_version_id`
) as `product.cmsPageVersionId`,
`product.parent`.`price` as `product.price.inherited`,
COALESCE(
`product`.`price`, `product.parent`.`price`
) as `product.price`,
`product`.`product_number` as `product.productNumber`,
`product`.`stock` as `product.stock`,
COALESCE(
`product`.`restock_time`, `product.parent`.`restock_time`
) as `product.restockTime`,
`product`.`auto_increment` as `product.autoIncrement`,
COALESCE(
`product`.`active`, `product.parent`.`active`
) as `product.active`,
`product`.`available_stock` as `product.availableStock`,
`product`.`available` as `product.available`,
COALESCE(
`product`.`is_closeout`, `product.parent`.`is_closeout`
) as `product.isCloseout`,
`product`.`display_group` as `product.displayGroup`,
`product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`,
COALESCE(
`product`.`configurator_group_config`,
`product.parent`.`configurator_group_config`
) as `product.configuratorGroupConfig`,
COALESCE(
`product`.`main_variant_id`, `product.parent`.`main_variant_id`
) as `product.mainVariantId`,
COALESCE(
`product`.`display_parent`, `product.parent`.`display_parent`
) as `product.displayParent`,
`product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`,
COALESCE(
`product`.`variant_listing_config`,
`product.parent`.`variant_listing_config`
) as `product.variantListingConfig`,
`product`.`variant_restrictions` as `product.variantRestrictions`,
COALESCE(
`product`.`manufacturer_number`,
`product.parent`.`manufacturer_number`
) as `product.manufacturerNumber`,
COALESCE(
`product`.`ean`, `product.parent`.`ean`
) as `product.ean`,
COALESCE(
`product`.`purchase_steps`, `product.parent`.`purchase_steps`
) as `product.purchaseSteps`,
COALESCE(
`product`.`max_purchase`, `product.parent`.`max_purchase`
) as `product.maxPurchase`,
COALESCE(
`product`.`min_purchase`, `product.parent`.`min_purchase`
) as `product.minPurchase`,
COALESCE(
`product`.`purchase_unit`, `product.parent`.`purchase_unit`
) as `product.purchaseUnit`,
COALESCE(
`product`.`reference_unit`, `product.parent`.`reference_unit`
) as `product.referenceUnit`,
COALESCE(
`product`.`shipping_free`, `product.parent`.`shipping_free`
) as `product.shippingFree`,
`product.parent`.`purchase_prices` as `product.purchasePrices.inherited`,
COALESCE(
`product`.`purchase_prices`, `product.parent`.`purchase_prices`
) as `product.purchasePrices`,
COALESCE(
`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`
) as `product.markAsTopseller`,
COALESCE(
`product`.`weight`, `product.parent`.`weight`
) as `product.weight`,
COALESCE(
`product`.`width`, `product.parent`.`width`
) as `product.width`,
COALESCE(
`product`.`height`, `product.parent`.`height`
) as `product.height`,
COALESCE(
`product`.`length`, `product.parent`.`length`
) as `product.length`,
COALESCE(
`product`.`release_date`, `product.parent`.`release_date`
) as `product.releaseDate`,
COALESCE(
`product`.`rating_average`, `product.parent`.`rating_average`
) as `product.ratingAverage`,
`product.parent`.`category_tree` as `product.categoryTree.inherited`,
COALESCE(
`product`.`category_tree`, `product.parent`.`category_tree`
) as `product.categoryTree`,
`product.parent`.`property_ids` as `product.propertyIds.inherited`,
COALESCE(
`product`.`property_ids`, `product.parent`.`property_ids`
) as `product.propertyIds`,
`product.parent`.`option_ids` as `product.optionIds.inherited`,
COALESCE(
`product`.`option_ids`, `product.parent`.`option_ids`
) as `product.optionIds`,
`product.parent`.`stream_ids` as `product.streamIds.inherited`,
COALESCE(
`product`.`stream_ids`, `product.parent`.`stream_ids`
) as `product.streamIds`,
`product.parent`.`tag_ids` as `product.tagIds.inherited`,
COALESCE(
`product`.`tag_ids`, `product.parent`.`tag_ids`
) as `product.tagIds`,
`product.parent`.`category_ids` as `product.categoryIds.inherited`,
COALESCE(
`product`.`category_ids`, `product.parent`.`category_ids`
) as `product.categoryIds`,
`product`.`child_count` as `product.childCount`,
COALESCE(
`product`.`custom_field_set_selection_active`,
`product.parent`.`custom_field_set_selection_active`
) as `product.customFieldSetSelectionActive`,
`product`.`sales` as `product.sales`,
`product`.`states` as `product.states`,
`product.tax`.`id` as `product.tax.id`,
`product.tax`.`tax_rate` as `product.tax.taxRate`,
`product.tax`.`name` as `product.tax.name`,
`product.tax`.`position` as `product.tax.position`,
`product.tax`.`custom_fields` as `product.tax.customFields`,
`product.tax`.`created_at` as `product.tax.createdAt`,
`product.tax`.`updated_at` as `product.tax.updatedAt`,
`product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`,
COALESCE(
`product`.`cheapest_price`, `product.parent`.`cheapest_price`
) as `product.cheapestPrice`,
`product`.`created_at` as `product.createdAt`,
`product`.`updated_at` as `product.updatedAt`,
`product.bundle`.`id` as `product.bundle.id`,
`product.bundle`.`product_id` as `product.bundle.productId`,
`product.bundle`.`product_version_id` as `product.bundle.productVersionId`,
`product.bundle`.`name` as `product.bundle.name`,
`product.bundle`.`price_type` as `product.bundle.priceType`,
`product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`,
`product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`,
`product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`,
`product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`,
`product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`,
`product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`,
`product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`,
`product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`,
`product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`,
`product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`,
`product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`,
`product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`,
`product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`,
`product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`,
`product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`,
`product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`,
`product.bundle`.`created_at` as `product.bundle.createdAt`,
`product.bundle`.`updated_at` as `product.bundle.updatedAt`,
`product.cover`.`id` as `product.cover.id`,
`product.cover`.`version_id` as `product.cover.versionId`,
`product.cover`.`product_id` as `product.cover.productId`,
`product.cover`.`product_version_id` as `product.cover.productVersionId`,
`product.cover`.`media_id` as `product.cover.mediaId`,
`product.cover`.`position` as `product.cover.position`,
`product.cover.media`.`id` as `product.cover.media.id`,
`product.cover.media`.`user_id` as `product.cover.media.userId`,
`product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`,
`product.cover.media`.`mime_type` as `product.cover.media.mimeType`,
`product.cover.media`.`file_extension` as `product.cover.media.fileExtension`,
`product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`,
`product.cover.media`.`file_name` as `product.cover.media.fileName`,
`product.cover.media`.`file_size` as `product.cover.media.fileSize`,
`product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`,
`product.cover.media`.`meta_data` as `product.cover.media.metaData`,
`product.cover.media`.`private` as `product.cover.media.private`,
`product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`,
`product.cover.media`.`created_at` as `product.cover.media.createdAt`,
`product.cover.media`.`updated_at` as `product.cover.media.updatedAt`,
`product.cover.media.translation.title`,
COALESCE(
`product.cover.media.translation.title`,
`product.cover.media.translation.title`
) as `product.cover.media.title`,
`product.cover.media.translation.alt`,
COALESCE(
`product.cover.media.translation.alt`,
`product.cover.media.translation.alt`
) as `product.cover.media.alt`,
`product.cover.media.translation.customFields`,
COALESCE(
`product.cover.media.translation.customFields`,
`product.cover.media.translation.customFields`
) as `product.cover.media.customFields`,
`product.cover.media.translation.createdAt`,
`product.cover.media.translation.updatedAt`,
`product.cover.media.translation.mediaId`,
`product.cover.media.translation.languageId`,
`product.cover`.`custom_fields` as `product.cover.customFields`,
`product.cover`.`created_at` as `product.cover.createdAt`,
`product.cover`.`updated_at` as `product.cover.updatedAt`,
`product.translation.metaDescription`,
`product.parent.translation.metaDescription`,
COALESCE(
`product.translation.metaDescription`,
`product.parent.translation.metaDescription`,
`product.translation.metaDescription`
) as `product.metaDescription`,
`product.translation.name`,
`product.parent.translation.name`,
COALESCE(
`product.translation.name`, `product.parent.translation.name`,
`product.translation.name`
) as `product.name`,
`product.translation.keywords`,
`product.parent.translation.keywords`,
COALESCE(
`product.translation.keywords`,
`product.parent.translation.keywords`,
`product.translation.keywords`
) as `product.keywords`,
`product.translation.description`,
`product.parent.translation.description`,
COALESCE(
`product.translation.description`,
`product.parent.translation.description`,
`product.translation.description`
) as `product.description`,
`product.translation.metaTitle`,
`product.parent.translation.metaTitle`,
COALESCE(
`product.translation.metaTitle`,
`product.parent.translation.metaTitle`,
`product.translation.metaTitle`
) as `product.metaTitle`,
`product.translation.packUnit`,
`product.parent.translation.packUnit`,
COALESCE(
`product.translation.packUnit`,
`product.parent.translation.packUnit`,
`product.translation.packUnit`
) as `product.packUnit`,
`product.translation.packUnitPlural`,
`product.parent.translation.packUnitPlural`,
COALESCE(
`product.translation.packUnitPlural`,
`product.parent.translation.packUnitPlural`,
`product.translation.packUnitPlural`
) as `product.packUnitPlural`,
`product.translation.customSearchKeywords`,
`product.parent.translation.customSearchKeywords`,
COALESCE(
`product.translation.customSearchKeywords`,
`product.parent.translation.customSearchKeywords`,
`product.translation.customSearchKeywords`
) as `product.customSearchKeywords`,
`product.translation.slotConfig`,
`product.parent.translation.slotConfig`,
COALESCE(
`product.translation.slotConfig`,
`product.parent.translation.slotConfig`,
`product.translation.slotConfig`
) as `product.slotConfig`,
`product.translation.customFields`,
`product.parent.translation.customFields`,
COALESCE(
`product.translation.customFields`,
`product.parent.translation.customFields`,
`product.translation.customFields`
) as `product.customFields`,
`product.translation.createdAt`,
`product.parent.translation.createdAt`,
`product.translation.updatedAt`,
`product.parent.translation.updatedAt`,
`product.translation.productId`,
`product.parent.translation.productId`,
`product.translation.languageId`,
`product.parent.translation.languageId`,
`product.translation.productVersionId`,
`product.parent.translation.productVersionId`
FROM
`product`
LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id`
AND `product`.`version_id` = `product.parent`.`version_id`
LEFT JOIN (
SELECT
`product.translation`.product_id,
`product.translation`.product_version_id,
`product.translation`.meta_description as `product.translation.metaDescription`,
`product.translation`.name as `product.translation.name`,
`product.translation`.keywords as `product.translation.keywords`,
`product.translation`.description as `product.translation.description`,
`product.translation`.meta_title as `product.translation.metaTitle`,
`product.translation`.pack_unit as `product.translation.packUnit`,
`product.translation`.pack_unit_plural as `product.translation.packUnitPlural`,
`product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`,
`product.translation`.slot_config as `product.translation.slotConfig`,
`product.translation`.custom_fields as `product.translation.customFields`,
`product.translation`.created_at as `product.translation.createdAt`,
`product.translation`.updated_at as `product.translation.updatedAt`,
`product.translation`.product_id as `product.translation.productId`,
`product.translation`.language_id as `product.translation.languageId`,
`product.translation`.product_version_id as `product.translation.productVersionId`
FROM
`product_translation` `product.translation`
WHERE
`product.translation`.language_id = : languageId
) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id`
AND `product.product_translation`.product_version_id = `product`.version_id
LEFT JOIN (
SELECT
`product.parent.translation`.product_id,
`product.parent.translation`.product_version_id,
`product.parent.translation`.meta_description as `product.parent.translation.metaDescription`,
`product.parent.translation`.name as `product.parent.translation.name`,
`product.parent.translation`.keywords as `product.parent.translation.keywords`,
`product.parent.translation`.description as `product.parent.translation.description`,
`product.parent.translation`.meta_title as `product.parent.translation.metaTitle`,
`product.parent.translation`.pack_unit as `product.parent.translation.packUnit`,
`product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`,
`product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`,
`product.parent.translation`.slot_config as `product.parent.translation.slotConfig`,
`product.parent.translation`.custom_fields as `product.parent.translation.customFields`,
`product.parent.translation`.created_at as `product.parent.translation.createdAt`,
`product.parent.translation`.updated_at as `product.parent.translation.updatedAt`,
`product.parent.translation`.product_id as `product.parent.translation.productId`,
`product.parent.translation`.language_id as `product.parent.translation.languageId`,
`product.parent.translation`.product_version_id as `product.parent.translation.productVersionId`
FROM
`product_translation` `product.parent.translation`
WHERE
`product.parent.translation`.language_id = : languageId
) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id`
AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id
LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id`
LEFT JOIN `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_id`
LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id`
AND `product`.`version_id` = `product.cover`.`version_id`
LEFT JOIN `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id`
LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id`
LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`id`
LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id`
LEFT JOIN (
SELECT
`product.cover.media.translation`.media_id,
`product.cover.media.translation`.title as `product.cover.media.translation.title`,
`product.cover.media.translation`.alt as `product.cover.media.translation.alt`,
`product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`,
`product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`,
`product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`,
`product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`,
`product.cover.media.translation`.language_id as `product.cover.media.translation.languageId`
FROM
`media_translation` `product.cover.media.translation`
WHERE
`product.cover.media.translation`.language_id = : languageId
) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id`
WHERE
(
`product`.`version_id` = : version
)
AND (
`product`.`id` IN (: ids)
)
SELECT `product`.`id` as `product.id`, `product`.`version_id` as `product.versionId`, `product`.`parent_id` as `product.parentId`, `product`.`parent_version_id` as `product.parentVersionId`, COALESCE(`product`.`product_manufacturer_id`, `product.parent`.`product_manufacturer_id`) as `product.manufacturerId`, COALESCE(`product`.`product_manufacturer_version_id`, `product.parent`.`product_manufacturer_version_id`) as `product.productManufacturerVersionId`, COALESCE(`product`.`unit_id`, `product.parent`.`unit_id`) as `product.unitId`, COALESCE(`product`.`tax_id`, `product.parent`.`tax_id`) as `product.taxId`, COALESCE(`product`.`product_media_id`, `product.parent`.`product_media_id`) as `product.coverId`, COALESCE(`product`.`product_media_version_id`, `product.parent`.`product_media_version_id`) as `product.productMediaVersionId`, COALESCE(`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`) as `product.deliveryTimeId`, COALESCE(`product`.`product_feature_set_id`, `product.parent`.`product_feature_set_id`) as `product.featureSetId`, COALESCE(`product`.`canonical_product_id`, `product.parent`.`canonical_product_id`) as `product.canonicalProductId`, COALESCE(`product`.`cms_page_id`, `product.parent`.`cms_page_id`) as `product.cmsPageId`, COALESCE(`product`.`cms_page_version_id`, `product.parent`.`cms_page_version_id`) as `product.cmsPageVersionId`, `product.parent`.`price` as `product.price.inherited`, COALESCE(`product`.`price`, `product.parent`.`price`) as `product.price`, `product`.`product_number` as `product.productNumber`, `product`.`stock` as `product.stock`, COALESCE(`product`.`restock_time`, `product.parent`.`restock_time`) as `product.restockTime`, `product`.`auto_increment` as `product.autoIncrement`, COALESCE(`product`.`active`, `product.parent`.`active`) as `product.active`, `product`.`available_stock` as `product.availableStock`, `product`.`available` as `product.available`, COALESCE(`product`.`is_closeout`, `product.parent`.`is_closeout`) as `product.isCloseout`, `product`.`display_group` as `product.displayGroup`, `product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`, COALESCE(`product`.`configurator_group_config`, `product.parent`.`configurator_group_config`) as `product.configuratorGroupConfig`, COALESCE(`product`.`main_variant_id`, `product.parent`.`main_variant_id`) as `product.mainVariantId`, COALESCE(`product`.`display_parent`, `product.parent`.`display_parent`) as `product.displayParent`, `product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`, COALESCE(`product`.`variant_listing_config`, `product.parent`.`variant_listing_config`) as `product.variantListingConfig`, `product`.`variant_restrictions` as `product.variantRestrictions`, COALESCE(`product`.`manufacturer_number`, `product.parent`.`manufacturer_number`) as `product.manufacturerNumber`, COALESCE(`product`.`ean`, `product.parent`.`ean`) as `product.ean`, COALESCE(`product`.`purchase_steps`, `product.parent`.`purchase_steps`) as `product.purchaseSteps`, COALESCE(`product`.`max_purchase`, `product.parent`.`max_purchase`) as `product.maxPurchase`, COALESCE(`product`.`min_purchase`, `product.parent`.`min_purchase`) as `product.minPurchase`, COALESCE(`product`.`purchase_unit`, `product.parent`.`purchase_unit`) as `product.purchaseUnit`, COALESCE(`product`.`reference_unit`, `product.parent`.`reference_unit`) as `product.referenceUnit`, COALESCE(`product`.`shipping_free`, `product.parent`.`shipping_free`) as `product.shippingFree`, `product.parent`.`purchase_prices` as `product.purchasePrices.inherited`, COALESCE(`product`.`purchase_prices`, `product.parent`.`purchase_prices`) as `product.purchasePrices`, COALESCE(`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`) as `product.markAsTopseller`, COALESCE(`product`.`weight`, `product.parent`.`weight`) as `product.weight`, COALESCE(`product`.`width`, `product.parent`.`width`) as `product.width`, COALESCE(`product`.`height`, `product.parent`.`height`) as `product.height`, COALESCE(`product`.`length`, `product.parent`.`length`) as `product.length`, COALESCE(`product`.`release_date`, `product.parent`.`release_date`) as `product.releaseDate`, COALESCE(`product`.`rating_average`, `product.parent`.`rating_average`) as `product.ratingAverage`, `product.parent`.`category_tree` as `product.categoryTree.inherited`, COALESCE(`product`.`category_tree`, `product.parent`.`category_tree`) as `product.categoryTree`, `product.parent`.`property_ids` as `product.propertyIds.inherited`, COALESCE(`product`.`property_ids`, `product.parent`.`property_ids`) as `product.propertyIds`, `product.parent`.`option_ids` as `product.optionIds.inherited`, COALESCE(`product`.`option_ids`, `product.parent`.`option_ids`) as `product.optionIds`, `product.parent`.`stream_ids` as `product.streamIds.inherited`, COALESCE(`product`.`stream_ids`, `product.parent`.`stream_ids`) as `product.streamIds`, `product.parent`.`tag_ids` as `product.tagIds.inherited`, COALESCE(`product`.`tag_ids`, `product.parent`.`tag_ids`) as `product.tagIds`, `product.parent`.`category_ids` as `product.categoryIds.inherited`, COALESCE(`product`.`category_ids`, `product.parent`.`category_ids`) as `product.categoryIds`, `product`.`child_count` as `product.childCount`, COALESCE(`product`.`custom_field_set_selection_active`, `product.parent`.`custom_field_set_selection_active`) as `product.customFieldSetSelectionActive`, `product`.`sales` as `product.sales`, `product`.`states` as `product.states`, `product.tax`.`id` as `product.tax.id`, `product.tax`.`tax_rate` as `product.tax.taxRate`, `product.tax`.`name` as `product.tax.name`, `product.tax`.`position` as `product.tax.position`, `product.tax`.`custom_fields` as `product.tax.customFields`, `product.tax`.`created_at` as `product.tax.createdAt`, `product.tax`.`updated_at` as `product.tax.updatedAt`, `product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`, COALESCE(`product`.`cheapest_price`, `product.parent`.`cheapest_price`) as `product.cheapestPrice`, `product`.`created_at` as `product.createdAt`, `product`.`updated_at` as `product.updatedAt`, `product.bundle`.`id` as `product.bundle.id`, `product.bundle`.`product_id` as `product.bundle.productId`, `product.bundle`.`product_version_id` as `product.bundle.productVersionId`, `product.bundle`.`name` as `product.bundle.name`, `product.bundle`.`price_type` as `product.bundle.priceType`, `product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`, `product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`, `product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`, `product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`, `product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`, `product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`, `product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`, `product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`, `product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`, `product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`, `product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`, `product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`, `product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`, `product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`, `product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`, `product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`, `product.bundle`.`created_at` as `product.bundle.createdAt`, `product.bundle`.`updated_at` as `product.bundle.updatedAt`, `product.cover`.`id` as `product.cover.id`, `product.cover`.`version_id` as `product.cover.versionId`, `product.cover`.`product_id` as `product.cover.productId`, `product.cover`.`product_version_id` as `product.cover.productVersionId`, `product.cover`.`media_id` as `product.cover.mediaId`, `product.cover`.`position` as `product.cover.position`, `product.cover.media`.`id` as `product.cover.media.id`, `product.cover.media`.`user_id` as `product.cover.media.userId`, `product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`, `product.cover.media`.`mime_type` as `product.cover.media.mimeType`, `product.cover.media`.`file_extension` as `product.cover.media.fileExtension`, `product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`, `product.cover.media`.`file_name` as `product.cover.media.fileName`, `product.cover.media`.`file_size` as `product.cover.media.fileSize`, `product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`, `product.cover.media`.`meta_data` as `product.cover.media.metaData`, `product.cover.media`.`private` as `product.cover.media.private`, `product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`, `product.cover.media`.`created_at` as `product.cover.media.createdAt`, `product.cover.media`.`updated_at` as `product.cover.media.updatedAt`, `product.cover.media.translation.title`, COALESCE(`product.cover.media.translation.title`,`product.cover.media.translation.title`) as `product.cover.media.title`, `product.cover.media.translation.alt`, COALESCE(`product.cover.media.translation.alt`,`product.cover.media.translation.alt`) as `product.cover.media.alt`, `product.cover.media.translation.customFields`, COALESCE(`product.cover.media.translation.customFields`,`product.cover.media.translation.customFields`) as `product.cover.media.customFields`, `product.cover.media.translation.createdAt`, `product.cover.media.translation.updatedAt`, `product.cover.media.translation.mediaId`, `product.cover.media.translation.languageId`, `product.cover`.`custom_fields` as `product.cover.customFields`, `product.cover`.`created_at` as `product.cover.createdAt`, `product.cover`.`updated_at` as `product.cover.updatedAt`, `product.translation.metaDescription`, `product.parent.translation.metaDescription`, COALESCE(`product.translation.metaDescription`,`product.parent.translation.metaDescription`,`product.translation.metaDescription`) as `product.metaDescription`, `product.translation.name`, `product.parent.translation.name`, COALESCE(`product.translation.name`,`product.parent.translation.name`,`product.translation.name`) as `product.name`, `product.translation.keywords`, `product.parent.translation.keywords`, COALESCE(`product.translation.keywords`,`product.parent.translation.keywords`,`product.translation.keywords`) as `product.keywords`, `product.translation.description`, `product.parent.translation.description`, COALESCE(`product.translation.description`,`product.parent.translation.description`,`product.translation.description`) as `product.description`, `product.translation.metaTitle`, `product.parent.translation.metaTitle`, COALESCE(`product.translation.metaTitle`,`product.parent.translation.metaTitle`,`product.translation.metaTitle`) as `product.metaTitle`, `product.translation.packUnit`, `product.parent.translation.packUnit`, COALESCE(`product.translation.packUnit`,`product.parent.translation.packUnit`,`product.translation.packUnit`) as `product.packUnit`, `product.translation.packUnitPlural`, `product.parent.translation.packUnitPlural`, COALESCE(`product.translation.packUnitPlural`,`product.parent.translation.packUnitPlural`,`product.translation.packUnitPlural`) as `product.packUnitPlural`, `product.translation.customSearchKeywords`, `product.parent.translation.customSearchKeywords`, COALESCE(`product.translation.customSearchKeywords`,`product.parent.translation.customSearchKeywords`,`product.translation.customSearchKeywords`) as `product.customSearchKeywords`, `product.translation.slotConfig`, `product.parent.translation.slotConfig`, COALESCE(`product.translation.slotConfig`,`product.parent.translation.slotConfig`,`product.translation.slotConfig`) as `product.slotConfig`, `product.translation.customFields`, `product.parent.translation.customFields`, COALESCE(`product.translation.customFields`,`product.parent.translation.customFields`,`product.translation.customFields`) as `product.customFields`, `product.translation.createdAt`, `product.parent.translation.createdAt`, `product.translation.updatedAt`, `product.parent.translation.updatedAt`, `product.translation.productId`, `product.parent.translation.productId`, `product.translation.languageId`, `product.parent.translation.languageId`, `product.translation.productVersionId`, `product.parent.translation.productVersionId` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN (SELECT `product.translation`.product_id, `product.translation`.product_version_id, `product.translation`.meta_description as `product.translation.metaDescription`, `product.translation`.name as `product.translation.name`, `product.translation`.keywords as `product.translation.keywords`, `product.translation`.description as `product.translation.description`, `product.translation`.meta_title as `product.translation.metaTitle`, `product.translation`.pack_unit as `product.translation.packUnit`, `product.translation`.pack_unit_plural as `product.translation.packUnitPlural`, `product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`, `product.translation`.slot_config as `product.translation.slotConfig`, `product.translation`.custom_fields as `product.translation.customFields`, `product.translation`.created_at as `product.translation.createdAt`, `product.translation`.updated_at as `product.translation.updatedAt`, `product.translation`.product_id as `product.translation.productId`, `product.translation`.language_id as `product.translation.languageId`, `product.translation`.product_version_id as `product.translation.productVersionId` FROM `product_translation` `product.translation` WHERE `product.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id` AND `product.product_translation`.product_version_id = `product`.version_id LEFT JOIN (SELECT `product.parent.translation`.product_id, `product.parent.translation`.product_version_id, `product.parent.translation`.meta_description as `product.parent.translation.metaDescription`, `product.parent.translation`.name as `product.parent.translation.name`, `product.parent.translation`.keywords as `product.parent.translation.keywords`, `product.parent.translation`.description as `product.parent.translation.description`, `product.parent.translation`.meta_title as `product.parent.translation.metaTitle`, `product.parent.translation`.pack_unit as `product.parent.translation.packUnit`, `product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`, `product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`, `product.parent.translation`.slot_config as `product.parent.translation.slotConfig`, `product.parent.translation`.custom_fields as `product.parent.translation.customFields`, `product.parent.translation`.created_at as `product.parent.translation.createdAt`, `product.parent.translation`.updated_at as `product.parent.translation.updatedAt`, `product.parent.translation`.product_id as `product.parent.translation.productId`, `product.parent.translation`.language_id as `product.parent.translation.languageId`, `product.parent.translation`.product_version_id as `product.parent.translation.productVersionId` FROM `product_translation` `product.parent.translation` WHERE `product.parent.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id` AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id` LEFT JOIN `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_id` LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id` AND `product`.`version_id` = `product.cover`.`version_id` LEFT JOIN `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`id` LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id` LEFT JOIN (SELECT `product.cover.media.translation`.media_id, `product.cover.media.translation`.title as `product.cover.media.translation.title`, `product.cover.media.translation`.alt as `product.cover.media.translation.alt`, `product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`, `product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`, `product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`, `product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`, `product.cover.media.translation`.language_id as `product.cover.media.translation.languageId` FROM `media_translation` `product.cover.media.translation` WHERE `product.cover.media.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id` WHERE (`product`.`version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425) AND (`product`.`id` IN (0x03F4EF144EC44C3E822790C652F7C3F6));
array:51 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 316)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetch (line 148)"
4 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 93)"
5 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::read (line 257)"
6 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::read (line 286)"
7 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::_search (line 106)"
8 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::search (line 51)"
9 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepositoryForwardCompatibilityDecorator::search (line 103)"
10 => "Bodymed\Webshop\StoreFront\Subscriber\ProductExtensionSubscriber::addParentCover (line 230)"
11 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
12 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
13 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
14 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
15 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
16 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 33)"
17 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
18 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 208)"
19 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::read (line 133)"
20 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 49)"
21 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariantsOfProduct (line 30)"
22 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariants (line 224)"
23 => "Bodymed\Webshop\Core\Content\Product\Cms\ProductSliderCmsElementResolver::enrich (line 99)"
24 => "Shopware\Core\Content\Cms\DataResolver\CmsSlotsDataResolver::resolve (line 104)"
25 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::loadSlotData (line 94)"
26 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::load (line 102)"
27 => "Shopware\Core\Content\Category\SalesChannel\CategoryRoute::load (line 103)"
28 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 350)"
29 => "Shopware\Core\System\SystemConfig\SystemConfigService::trace (line 44)"
30 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 120)"
31 => "Shopware\Core\Framework\Adapter\Translation\Translator::trace (line 45)"
32 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 46)"
33 => "Shopware\Core\Framework\Adapter\Cache\CacheTagCollection::trace (line 46)"
34 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::trace (line 41)"
35 => "Shopware\Storefront\Framework\Cache\CacheTracer::Shopware\Storefront\Framework\Cache\{closure} (line 59)"
36 => "Shopware\Storefront\Theme\ThemeConfigValueAccessor::trace (line 42)"
37 => "Shopware\Storefront\Framework\Cache\CacheTracer::trace (line 104)"
38 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 72)"
39 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
40 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 109)"
41 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 59)"
42 => "Shopware\Core\Profiling\Profiler::trace (line 112)"
43 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::load (line 66)"
44 => "Shopware\Storefront\Page\Navigation\NavigationPageLoader::load (line 48)"
45 => "Shopware\Storefront\Controller\NavigationController::home (line 163)"
46 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
47 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
48 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
49 => "Shopware\Core\HttpKernel::doHandle (line 81)"
50 => "Shopware\Core\HttpKernel::handle (line 75)"
]
|
105 |
0.79 ms |
SELECT * FROM sales_channel_api_context WHERE (sales_channel_id = :salesChannelId) AND (token = :token) LIMIT 1
SELECT * FROM sales_channel_api_context WHERE (sales_channel_id = 0x620A2217F7474E619CB00AD39E804CCA) AND (token = 'FwsxT47353Zxmr7lp0KSfYcVNkg5VpYR') LIMIT 1;
array:58 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 165)"
3 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextPersister::load (line 69)"
4 => "Bodymed\Webshop\Core\Subscriber\ProductSubscriber::addCustomerProductFeatureExtension (line 230)"
5 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
6 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
7 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
8 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
9 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
10 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 33)"
11 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
12 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 269)"
13 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::read (line 286)"
14 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::_search (line 106)"
15 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::search (line 51)"
16 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepositoryForwardCompatibilityDecorator::search (line 103)"
17 => "Bodymed\Webshop\StoreFront\Subscriber\ProductExtensionSubscriber::addParentCover (line 230)"
18 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
19 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
20 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
21 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
22 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
23 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 33)"
24 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
25 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 208)"
26 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::read (line 133)"
27 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 49)"
28 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariantsOfProduct (line 30)"
29 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariants (line 224)"
30 => "Bodymed\Webshop\Core\Content\Product\Cms\ProductSliderCmsElementResolver::enrich (line 99)"
31 => "Shopware\Core\Content\Cms\DataResolver\CmsSlotsDataResolver::resolve (line 104)"
32 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::loadSlotData (line 94)"
33 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::load (line 102)"
34 => "Shopware\Core\Content\Category\SalesChannel\CategoryRoute::load (line 103)"
35 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 350)"
36 => "Shopware\Core\System\SystemConfig\SystemConfigService::trace (line 44)"
37 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 120)"
38 => "Shopware\Core\Framework\Adapter\Translation\Translator::trace (line 45)"
39 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 46)"
40 => "Shopware\Core\Framework\Adapter\Cache\CacheTagCollection::trace (line 46)"
41 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::trace (line 41)"
42 => "Shopware\Storefront\Framework\Cache\CacheTracer::Shopware\Storefront\Framework\Cache\{closure} (line 59)"
43 => "Shopware\Storefront\Theme\ThemeConfigValueAccessor::trace (line 42)"
44 => "Shopware\Storefront\Framework\Cache\CacheTracer::trace (line 104)"
45 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 72)"
46 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
47 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 109)"
48 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 59)"
49 => "Shopware\Core\Profiling\Profiler::trace (line 112)"
50 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::load (line 66)"
51 => "Shopware\Storefront\Page\Navigation\NavigationPageLoader::load (line 48)"
52 => "Shopware\Storefront\Controller\NavigationController::home (line 163)"
53 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
54 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
55 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
56 => "Shopware\Core\HttpKernel::doHandle (line 81)"
57 => "Shopware\Core\HttpKernel::handle (line 75)"
]
|
106 |
1.67 ms |
SELECT `product`.`id`, `product`.`product_number`, `product`.`auto_increment` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN `product_visibility` `product.visibilities` ON `product`.`visibilities` = `product.visibilities`.`product_id` AND `product`.version_id = `product.visibilities`.product_version_id WHERE (`product`.`version_id` = :version) AND ((`product`.`parent_id` = :param_7e1810c05f67421d8b2508ef4d37b0a1 AND ((`product.visibilities`.`visibility` >= :param_3c37cb7c038744cf9bd2bf9643603f35) AND `product.visibilities`.`sales_channel_id` = :param_1df4fd67f81e49fe8540e9dcbee62f93 AND IFNULL(`product`.`active`, `product.parent`.`active`) = :param_aac8f13faeb84f85b1bd26bdf885dff1))) GROUP BY `product`.`id`
SELECT `product`.`id`, `product`.`product_number`, `product`.`auto_increment` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN `product_visibility` `product.visibilities` ON `product`.`visibilities` = `product.visibilities`.`product_id` AND `product`.version_id = `product.visibilities`.product_version_id WHERE (`product`.`version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425) AND ((`product`.`parent_id` = 0x7E400E2572B447458789E1E3EDFAB37F AND ((`product.visibilities`.`visibility` >= 10) AND `product.visibilities`.`sales_channel_id` = 0x620A2217F7474E619CB00AD39E804CCA AND IFNULL(`product`.`active`, `product.parent`.`active`) = 1))) GROUP BY `product`.`id`;
array:37 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 107)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntitySearcher::search (line 62)"
4 => "Shopware\Elasticsearch\Framework\DataAbstractionLayer\ElasticsearchEntitySearcher::search (line 216)"
5 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::doSearch (line 122)"
6 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 49)"
7 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariantsOfProduct (line 30)"
8 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariants (line 224)"
9 => "Bodymed\Webshop\Core\Content\Product\Cms\ProductSliderCmsElementResolver::enrich (line 99)"
10 => "Shopware\Core\Content\Cms\DataResolver\CmsSlotsDataResolver::resolve (line 104)"
11 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::loadSlotData (line 94)"
12 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::load (line 102)"
13 => "Shopware\Core\Content\Category\SalesChannel\CategoryRoute::load (line 103)"
14 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 350)"
15 => "Shopware\Core\System\SystemConfig\SystemConfigService::trace (line 44)"
16 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 120)"
17 => "Shopware\Core\Framework\Adapter\Translation\Translator::trace (line 45)"
18 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 46)"
19 => "Shopware\Core\Framework\Adapter\Cache\CacheTagCollection::trace (line 46)"
20 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::trace (line 41)"
21 => "Shopware\Storefront\Framework\Cache\CacheTracer::Shopware\Storefront\Framework\Cache\{closure} (line 59)"
22 => "Shopware\Storefront\Theme\ThemeConfigValueAccessor::trace (line 42)"
23 => "Shopware\Storefront\Framework\Cache\CacheTracer::trace (line 104)"
24 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 72)"
25 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
26 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 109)"
27 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 59)"
28 => "Shopware\Core\Profiling\Profiler::trace (line 112)"
29 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::load (line 66)"
30 => "Shopware\Storefront\Page\Navigation\NavigationPageLoader::load (line 48)"
31 => "Shopware\Storefront\Controller\NavigationController::home (line 163)"
32 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
33 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
34 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
35 => "Shopware\Core\HttpKernel::doHandle (line 81)"
36 => "Shopware\Core\HttpKernel::handle (line 75)"
]
|
107 |
32.79 ms |
SELECT `product`.`id` as `product.id`, `product`.`version_id` as `product.versionId`, `product`.`parent_id` as `product.parentId`, `product`.`parent_version_id` as `product.parentVersionId`, COALESCE(`product`.`product_manufacturer_id`, `product.parent`.`product_manufacturer_id`) as `product.manufacturerId`, COALESCE(`product`.`product_manufacturer_version_id`, `product.parent`.`product_manufacturer_version_id`) as `product.productManufacturerVersionId`, COALESCE(`product`.`unit_id`, `product.parent`.`unit_id`) as `product.unitId`, COALESCE(`product`.`tax_id`, `product.parent`.`tax_id`) as `product.taxId`, COALESCE(`product`.`product_media_id`, `product.parent`.`product_media_id`) as `product.coverId`, COALESCE(`product`.`product_media_version_id`, `product.parent`.`product_media_version_id`) as `product.productMediaVersionId`, COALESCE(`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`) as `product.deliveryTimeId`, COALESCE(`product`.`product_feature_set_id`, `product.parent`.`product_feature_set_id`) as `product.featureSetId`, COALESCE(`product`.`canonical_product_id`, `product.parent`.`canonical_product_id`) as `product.canonicalProductId`, COALESCE(`product`.`cms_page_id`, `product.parent`.`cms_page_id`) as `product.cmsPageId`, COALESCE(`product`.`cms_page_version_id`, `product.parent`.`cms_page_version_id`) as `product.cmsPageVersionId`, `product.parent`.`price` as `product.price.inherited`, COALESCE(`product`.`price`, `product.parent`.`price`) as `product.price`, `product`.`product_number` as `product.productNumber`, `product`.`stock` as `product.stock`, COALESCE(`product`.`restock_time`, `product.parent`.`restock_time`) as `product.restockTime`, `product`.`auto_increment` as `product.autoIncrement`, COALESCE(`product`.`active`, `product.parent`.`active`) as `product.active`, `product`.`available_stock` as `product.availableStock`, `product`.`available` as `product.available`, COALESCE(`product`.`is_closeout`, `product.parent`.`is_closeout`) as `product.isCloseout`, `product`.`display_group` as `product.displayGroup`, `product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`, COALESCE(`product`.`configurator_group_config`, `product.parent`.`configurator_group_config`) as `product.configuratorGroupConfig`, COALESCE(`product`.`main_variant_id`, `product.parent`.`main_variant_id`) as `product.mainVariantId`, COALESCE(`product`.`display_parent`, `product.parent`.`display_parent`) as `product.displayParent`, `product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`, COALESCE(`product`.`variant_listing_config`, `product.parent`.`variant_listing_config`) as `product.variantListingConfig`, `product`.`variant_restrictions` as `product.variantRestrictions`, COALESCE(`product`.`manufacturer_number`, `product.parent`.`manufacturer_number`) as `product.manufacturerNumber`, COALESCE(`product`.`ean`, `product.parent`.`ean`) as `product.ean`, COALESCE(`product`.`purchase_steps`, `product.parent`.`purchase_steps`) as `product.purchaseSteps`, COALESCE(`product`.`max_purchase`, `product.parent`.`max_purchase`) as `product.maxPurchase`, COALESCE(`product`.`min_purchase`, `product.parent`.`min_purchase`) as `product.minPurchase`, COALESCE(`product`.`purchase_unit`, `product.parent`.`purchase_unit`) as `product.purchaseUnit`, COALESCE(`product`.`reference_unit`, `product.parent`.`reference_unit`) as `product.referenceUnit`, COALESCE(`product`.`shipping_free`, `product.parent`.`shipping_free`) as `product.shippingFree`, `product.parent`.`purchase_prices` as `product.purchasePrices.inherited`, COALESCE(`product`.`purchase_prices`, `product.parent`.`purchase_prices`) as `product.purchasePrices`, COALESCE(`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`) as `product.markAsTopseller`, COALESCE(`product`.`weight`, `product.parent`.`weight`) as `product.weight`, COALESCE(`product`.`width`, `product.parent`.`width`) as `product.width`, COALESCE(`product`.`height`, `product.parent`.`height`) as `product.height`, COALESCE(`product`.`length`, `product.parent`.`length`) as `product.length`, COALESCE(`product`.`release_date`, `product.parent`.`release_date`) as `product.releaseDate`, COALESCE(`product`.`rating_average`, `product.parent`.`rating_average`) as `product.ratingAverage`, `product.parent`.`category_tree` as `product.categoryTree.inherited`, COALESCE(`product`.`category_tree`, `product.parent`.`category_tree`) as `product.categoryTree`, `product.parent`.`property_ids` as `product.propertyIds.inherited`, COALESCE(`product`.`property_ids`, `product.parent`.`property_ids`) as `product.propertyIds`, `product.parent`.`option_ids` as `product.optionIds.inherited`, COALESCE(`product`.`option_ids`, `product.parent`.`option_ids`) as `product.optionIds`, `product.parent`.`stream_ids` as `product.streamIds.inherited`, COALESCE(`product`.`stream_ids`, `product.parent`.`stream_ids`) as `product.streamIds`, `product.parent`.`tag_ids` as `product.tagIds.inherited`, COALESCE(`product`.`tag_ids`, `product.parent`.`tag_ids`) as `product.tagIds`, `product.parent`.`category_ids` as `product.categoryIds.inherited`, COALESCE(`product`.`category_ids`, `product.parent`.`category_ids`) as `product.categoryIds`, `product`.`child_count` as `product.childCount`, COALESCE(`product`.`custom_field_set_selection_active`, `product.parent`.`custom_field_set_selection_active`) as `product.customFieldSetSelectionActive`, `product`.`sales` as `product.sales`, `product`.`states` as `product.states`, `product.tax`.`id` as `product.tax.id`, `product.tax`.`tax_rate` as `product.tax.taxRate`, `product.tax`.`name` as `product.tax.name`, `product.tax`.`position` as `product.tax.position`, `product.tax`.`custom_fields` as `product.tax.customFields`, `product.tax`.`created_at` as `product.tax.createdAt`, `product.tax`.`updated_at` as `product.tax.updatedAt`, `product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`, COALESCE(`product`.`cheapest_price`, `product.parent`.`cheapest_price`) as `product.cheapestPrice`, `product`.`created_at` as `product.createdAt`, `product`.`updated_at` as `product.updatedAt`, `product.bundle`.`id` as `product.bundle.id`, `product.bundle`.`product_id` as `product.bundle.productId`, `product.bundle`.`product_version_id` as `product.bundle.productVersionId`, `product.bundle`.`name` as `product.bundle.name`, `product.bundle`.`price_type` as `product.bundle.priceType`, `product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`, `product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`, `product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`, `product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`, `product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`, `product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`, `product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`, `product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`, `product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`, `product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`, `product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`, `product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`, `product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`, `product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`, `product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`, `product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`, `product.bundle`.`created_at` as `product.bundle.createdAt`, `product.bundle`.`updated_at` as `product.bundle.updatedAt`, `product.unit`.`id` as `product.unit.id`, `product.unit`.`created_at` as `product.unit.createdAt`, `product.unit`.`updated_at` as `product.unit.updatedAt`, `product.unit.translation.shortCode`, COALESCE(`product.unit.translation.shortCode`,`product.unit.translation.shortCode`) as `product.unit.shortCode`, `product.unit.translation.name`, COALESCE(`product.unit.translation.name`,`product.unit.translation.name`) as `product.unit.name`, `product.unit.translation.customFields`, COALESCE(`product.unit.translation.customFields`,`product.unit.translation.customFields`) as `product.unit.customFields`, `product.unit.translation.createdAt`, `product.unit.translation.updatedAt`, `product.unit.translation.unitId`, `product.unit.translation.languageId`, `product.deliveryTime`.`id` as `product.deliveryTime.id`, `product.deliveryTime`.`min` as `product.deliveryTime.min`, `product.deliveryTime`.`max` as `product.deliveryTime.max`, `product.deliveryTime`.`unit` as `product.deliveryTime.unit`, `product.deliveryTime`.`created_at` as `product.deliveryTime.createdAt`, `product.deliveryTime`.`updated_at` as `product.deliveryTime.updatedAt`, `product.deliveryTime.translation.name`, COALESCE(`product.deliveryTime.translation.name`,`product.deliveryTime.translation.name`) as `product.deliveryTime.name`, `product.deliveryTime.translation.customFields`, COALESCE(`product.deliveryTime.translation.customFields`,`product.deliveryTime.translation.customFields`) as `product.deliveryTime.customFields`, `product.deliveryTime.translation.createdAt`, `product.deliveryTime.translation.updatedAt`, `product.deliveryTime.translation.deliveryTimeId`, `product.deliveryTime.translation.languageId`, `product.cover`.`id` as `product.cover.id`, `product.cover`.`version_id` as `product.cover.versionId`, `product.cover`.`product_id` as `product.cover.productId`, `product.cover`.`product_version_id` as `product.cover.productVersionId`, `product.cover`.`media_id` as `product.cover.mediaId`, `product.cover`.`position` as `product.cover.position`, `product.cover.media`.`id` as `product.cover.media.id`, `product.cover.media`.`user_id` as `product.cover.media.userId`, `product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`, `product.cover.media`.`mime_type` as `product.cover.media.mimeType`, `product.cover.media`.`file_extension` as `product.cover.media.fileExtension`, `product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`, `product.cover.media`.`file_name` as `product.cover.media.fileName`, `product.cover.media`.`file_size` as `product.cover.media.fileSize`, `product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`, `product.cover.media`.`meta_data` as `product.cover.media.metaData`, `product.cover.media`.`private` as `product.cover.media.private`, `product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`, `product.cover.media`.`created_at` as `product.cover.media.createdAt`, `product.cover.media`.`updated_at` as `product.cover.media.updatedAt`, `product.cover.media.translation.title`, COALESCE(`product.cover.media.translation.title`,`product.cover.media.translation.title`) as `product.cover.media.title`, `product.cover.media.translation.alt`, COALESCE(`product.cover.media.translation.alt`,`product.cover.media.translation.alt`) as `product.cover.media.alt`, `product.cover.media.translation.customFields`, COALESCE(`product.cover.media.translation.customFields`,`product.cover.media.translation.customFields`) as `product.cover.media.customFields`, `product.cover.media.translation.createdAt`, `product.cover.media.translation.updatedAt`, `product.cover.media.translation.mediaId`, `product.cover.media.translation.languageId`, `product.cover`.`custom_fields` as `product.cover.customFields`, `product.cover`.`created_at` as `product.cover.createdAt`, `product.cover`.`updated_at` as `product.cover.updatedAt`, `product.translation.metaDescription`, `product.parent.translation.metaDescription`, COALESCE(`product.translation.metaDescription`,`product.parent.translation.metaDescription`,`product.translation.metaDescription`) as `product.metaDescription`, `product.translation.name`, `product.parent.translation.name`, COALESCE(`product.translation.name`,`product.parent.translation.name`,`product.translation.name`) as `product.name`, `product.translation.keywords`, `product.parent.translation.keywords`, COALESCE(`product.translation.keywords`,`product.parent.translation.keywords`,`product.translation.keywords`) as `product.keywords`, `product.translation.description`, `product.parent.translation.description`, COALESCE(`product.translation.description`,`product.parent.translation.description`,`product.translation.description`) as `product.description`, `product.translation.metaTitle`, `product.parent.translation.metaTitle`, COALESCE(`product.translation.metaTitle`,`product.parent.translation.metaTitle`,`product.translation.metaTitle`) as `product.metaTitle`, `product.translation.packUnit`, `product.parent.translation.packUnit`, COALESCE(`product.translation.packUnit`,`product.parent.translation.packUnit`,`product.translation.packUnit`) as `product.packUnit`, `product.translation.packUnitPlural`, `product.parent.translation.packUnitPlural`, COALESCE(`product.translation.packUnitPlural`,`product.parent.translation.packUnitPlural`,`product.translation.packUnitPlural`) as `product.packUnitPlural`, `product.translation.customSearchKeywords`, `product.parent.translation.customSearchKeywords`, COALESCE(`product.translation.customSearchKeywords`,`product.parent.translation.customSearchKeywords`,`product.translation.customSearchKeywords`) as `product.customSearchKeywords`, `product.translation.slotConfig`, `product.parent.translation.slotConfig`, COALESCE(`product.translation.slotConfig`,`product.parent.translation.slotConfig`,`product.translation.slotConfig`) as `product.slotConfig`, `product.translation.customFields`, `product.parent.translation.customFields`, COALESCE(`product.translation.customFields`,`product.parent.translation.customFields`,`product.translation.customFields`) as `product.customFields`, `product.translation.createdAt`, `product.parent.translation.createdAt`, `product.translation.updatedAt`, `product.parent.translation.updatedAt`, `product.translation.productId`, `product.parent.translation.productId`, `product.translation.languageId`, `product.parent.translation.languageId`, `product.translation.productVersionId`, `product.parent.translation.productVersionId` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN (SELECT `product.translation`.product_id, `product.translation`.product_version_id, `product.translation`.meta_description as `product.translation.metaDescription`, `product.translation`.name as `product.translation.name`, `product.translation`.keywords as `product.translation.keywords`, `product.translation`.description as `product.translation.description`, `product.translation`.meta_title as `product.translation.metaTitle`, `product.translation`.pack_unit as `product.translation.packUnit`, `product.translation`.pack_unit_plural as `product.translation.packUnitPlural`, `product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`, `product.translation`.slot_config as `product.translation.slotConfig`, `product.translation`.custom_fields as `product.translation.customFields`, `product.translation`.created_at as `product.translation.createdAt`, `product.translation`.updated_at as `product.translation.updatedAt`, `product.translation`.product_id as `product.translation.productId`, `product.translation`.language_id as `product.translation.languageId`, `product.translation`.product_version_id as `product.translation.productVersionId` FROM `product_translation` `product.translation` WHERE `product.translation`.language_id = :languageId) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id` AND `product.product_translation`.product_version_id = `product`.version_id LEFT JOIN (SELECT `product.parent.translation`.product_id, `product.parent.translation`.product_version_id, `product.parent.translation`.meta_description as `product.parent.translation.metaDescription`, `product.parent.translation`.name as `product.parent.translation.name`, `product.parent.translation`.keywords as `product.parent.translation.keywords`, `product.parent.translation`.description as `product.parent.translation.description`, `product.parent.translation`.meta_title as `product.parent.translation.metaTitle`, `product.parent.translation`.pack_unit as `product.parent.translation.packUnit`, `product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`, `product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`, `product.parent.translation`.slot_config as `product.parent.translation.slotConfig`, `product.parent.translation`.custom_fields as `product.parent.translation.customFields`, `product.parent.translation`.created_at as `product.parent.translation.createdAt`, `product.parent.translation`.updated_at as `product.parent.translation.updatedAt`, `product.parent.translation`.product_id as `product.parent.translation.productId`, `product.parent.translation`.language_id as `product.parent.translation.languageId`, `product.parent.translation`.product_version_id as `product.parent.translation.productVersionId` FROM `product_translation` `product.parent.translation` WHERE `product.parent.translation`.language_id = :languageId) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id` AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id` LEFT JOIN `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_id` LEFT JOIN `unit` `product.unit` ON `product`.`unit` = `product.unit`.`id` LEFT JOIN `delivery_time` `product.deliveryTime` ON `product`.`deliveryTime` = `product.deliveryTime`.`id` LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id` AND `product`.`version_id` = `product.cover`.`version_id` LEFT JOIN `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`id` LEFT JOIN (SELECT `product.unit.translation`.unit_id, `product.unit.translation`.short_code as `product.unit.translation.shortCode`, `product.unit.translation`.name as `product.unit.translation.name`, `product.unit.translation`.custom_fields as `product.unit.translation.customFields`, `product.unit.translation`.created_at as `product.unit.translation.createdAt`, `product.unit.translation`.updated_at as `product.unit.translation.updatedAt`, `product.unit.translation`.unit_id as `product.unit.translation.unitId`, `product.unit.translation`.language_id as `product.unit.translation.languageId` FROM `unit_translation` `product.unit.translation` WHERE `product.unit.translation`.language_id = :languageId) `product.unit.unit_translation` ON `product.unit.unit_translation`.`unit_id` = `product.unit`.`id` LEFT JOIN (SELECT `product.deliveryTime.translation`.delivery_time_id, `product.deliveryTime.translation`.name as `product.deliveryTime.translation.name`, `product.deliveryTime.translation`.custom_fields as `product.deliveryTime.translation.customFields`, `product.deliveryTime.translation`.created_at as `product.deliveryTime.translation.createdAt`, `product.deliveryTime.translation`.updated_at as `product.deliveryTime.translation.updatedAt`, `product.deliveryTime.translation`.delivery_time_id as `product.deliveryTime.translation.deliveryTimeId`, `product.deliveryTime.translation`.language_id as `product.deliveryTime.translation.languageId` FROM `delivery_time_translation` `product.deliveryTime.translation` WHERE `product.deliveryTime.translation`.language_id = :languageId) `product.deliveryTime.delivery_time_translation` ON `product.deliveryTime.delivery_time_translation`.`delivery_time_id` = `product.deliveryTime`.`id` LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id` LEFT JOIN (SELECT `product.cover.media.translation`.media_id, `product.cover.media.translation`.title as `product.cover.media.translation.title`, `product.cover.media.translation`.alt as `product.cover.media.translation.alt`, `product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`, `product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`, `product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`, `product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`, `product.cover.media.translation`.language_id as `product.cover.media.translation.languageId` FROM `media_translation` `product.cover.media.translation` WHERE `product.cover.media.translation`.language_id = :languageId) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id` WHERE (`product`.`version_id` = :version) AND (`product`.`id` IN (:ids))
SELECT
`product`.`id` as `product.id`,
`product`.`version_id` as `product.versionId`,
`product`.`parent_id` as `product.parentId`,
`product`.`parent_version_id` as `product.parentVersionId`,
COALESCE(
`product`.`product_manufacturer_id`,
`product.parent`.`product_manufacturer_id`
) as `product.manufacturerId`,
COALESCE(
`product`.`product_manufacturer_version_id`,
`product.parent`.`product_manufacturer_version_id`
) as `product.productManufacturerVersionId`,
COALESCE(
`product`.`unit_id`, `product.parent`.`unit_id`
) as `product.unitId`,
COALESCE(
`product`.`tax_id`, `product.parent`.`tax_id`
) as `product.taxId`,
COALESCE(
`product`.`product_media_id`, `product.parent`.`product_media_id`
) as `product.coverId`,
COALESCE(
`product`.`product_media_version_id`,
`product.parent`.`product_media_version_id`
) as `product.productMediaVersionId`,
COALESCE(
`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`
) as `product.deliveryTimeId`,
COALESCE(
`product`.`product_feature_set_id`,
`product.parent`.`product_feature_set_id`
) as `product.featureSetId`,
COALESCE(
`product`.`canonical_product_id`,
`product.parent`.`canonical_product_id`
) as `product.canonicalProductId`,
COALESCE(
`product`.`cms_page_id`, `product.parent`.`cms_page_id`
) as `product.cmsPageId`,
COALESCE(
`product`.`cms_page_version_id`,
`product.parent`.`cms_page_version_id`
) as `product.cmsPageVersionId`,
`product.parent`.`price` as `product.price.inherited`,
COALESCE(
`product`.`price`, `product.parent`.`price`
) as `product.price`,
`product`.`product_number` as `product.productNumber`,
`product`.`stock` as `product.stock`,
COALESCE(
`product`.`restock_time`, `product.parent`.`restock_time`
) as `product.restockTime`,
`product`.`auto_increment` as `product.autoIncrement`,
COALESCE(
`product`.`active`, `product.parent`.`active`
) as `product.active`,
`product`.`available_stock` as `product.availableStock`,
`product`.`available` as `product.available`,
COALESCE(
`product`.`is_closeout`, `product.parent`.`is_closeout`
) as `product.isCloseout`,
`product`.`display_group` as `product.displayGroup`,
`product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`,
COALESCE(
`product`.`configurator_group_config`,
`product.parent`.`configurator_group_config`
) as `product.configuratorGroupConfig`,
COALESCE(
`product`.`main_variant_id`, `product.parent`.`main_variant_id`
) as `product.mainVariantId`,
COALESCE(
`product`.`display_parent`, `product.parent`.`display_parent`
) as `product.displayParent`,
`product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`,
COALESCE(
`product`.`variant_listing_config`,
`product.parent`.`variant_listing_config`
) as `product.variantListingConfig`,
`product`.`variant_restrictions` as `product.variantRestrictions`,
COALESCE(
`product`.`manufacturer_number`,
`product.parent`.`manufacturer_number`
) as `product.manufacturerNumber`,
COALESCE(
`product`.`ean`, `product.parent`.`ean`
) as `product.ean`,
COALESCE(
`product`.`purchase_steps`, `product.parent`.`purchase_steps`
) as `product.purchaseSteps`,
COALESCE(
`product`.`max_purchase`, `product.parent`.`max_purchase`
) as `product.maxPurchase`,
COALESCE(
`product`.`min_purchase`, `product.parent`.`min_purchase`
) as `product.minPurchase`,
COALESCE(
`product`.`purchase_unit`, `product.parent`.`purchase_unit`
) as `product.purchaseUnit`,
COALESCE(
`product`.`reference_unit`, `product.parent`.`reference_unit`
) as `product.referenceUnit`,
COALESCE(
`product`.`shipping_free`, `product.parent`.`shipping_free`
) as `product.shippingFree`,
`product.parent`.`purchase_prices` as `product.purchasePrices.inherited`,
COALESCE(
`product`.`purchase_prices`, `product.parent`.`purchase_prices`
) as `product.purchasePrices`,
COALESCE(
`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`
) as `product.markAsTopseller`,
COALESCE(
`product`.`weight`, `product.parent`.`weight`
) as `product.weight`,
COALESCE(
`product`.`width`, `product.parent`.`width`
) as `product.width`,
COALESCE(
`product`.`height`, `product.parent`.`height`
) as `product.height`,
COALESCE(
`product`.`length`, `product.parent`.`length`
) as `product.length`,
COALESCE(
`product`.`release_date`, `product.parent`.`release_date`
) as `product.releaseDate`,
COALESCE(
`product`.`rating_average`, `product.parent`.`rating_average`
) as `product.ratingAverage`,
`product.parent`.`category_tree` as `product.categoryTree.inherited`,
COALESCE(
`product`.`category_tree`, `product.parent`.`category_tree`
) as `product.categoryTree`,
`product.parent`.`property_ids` as `product.propertyIds.inherited`,
COALESCE(
`product`.`property_ids`, `product.parent`.`property_ids`
) as `product.propertyIds`,
`product.parent`.`option_ids` as `product.optionIds.inherited`,
COALESCE(
`product`.`option_ids`, `product.parent`.`option_ids`
) as `product.optionIds`,
`product.parent`.`stream_ids` as `product.streamIds.inherited`,
COALESCE(
`product`.`stream_ids`, `product.parent`.`stream_ids`
) as `product.streamIds`,
`product.parent`.`tag_ids` as `product.tagIds.inherited`,
COALESCE(
`product`.`tag_ids`, `product.parent`.`tag_ids`
) as `product.tagIds`,
`product.parent`.`category_ids` as `product.categoryIds.inherited`,
COALESCE(
`product`.`category_ids`, `product.parent`.`category_ids`
) as `product.categoryIds`,
`product`.`child_count` as `product.childCount`,
COALESCE(
`product`.`custom_field_set_selection_active`,
`product.parent`.`custom_field_set_selection_active`
) as `product.customFieldSetSelectionActive`,
`product`.`sales` as `product.sales`,
`product`.`states` as `product.states`,
`product.tax`.`id` as `product.tax.id`,
`product.tax`.`tax_rate` as `product.tax.taxRate`,
`product.tax`.`name` as `product.tax.name`,
`product.tax`.`position` as `product.tax.position`,
`product.tax`.`custom_fields` as `product.tax.customFields`,
`product.tax`.`created_at` as `product.tax.createdAt`,
`product.tax`.`updated_at` as `product.tax.updatedAt`,
`product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`,
COALESCE(
`product`.`cheapest_price`, `product.parent`.`cheapest_price`
) as `product.cheapestPrice`,
`product`.`created_at` as `product.createdAt`,
`product`.`updated_at` as `product.updatedAt`,
`product.bundle`.`id` as `product.bundle.id`,
`product.bundle`.`product_id` as `product.bundle.productId`,
`product.bundle`.`product_version_id` as `product.bundle.productVersionId`,
`product.bundle`.`name` as `product.bundle.name`,
`product.bundle`.`price_type` as `product.bundle.priceType`,
`product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`,
`product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`,
`product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`,
`product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`,
`product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`,
`product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`,
`product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`,
`product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`,
`product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`,
`product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`,
`product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`,
`product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`,
`product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`,
`product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`,
`product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`,
`product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`,
`product.bundle`.`created_at` as `product.bundle.createdAt`,
`product.bundle`.`updated_at` as `product.bundle.updatedAt`,
`product.unit`.`id` as `product.unit.id`,
`product.unit`.`created_at` as `product.unit.createdAt`,
`product.unit`.`updated_at` as `product.unit.updatedAt`,
`product.unit.translation.shortCode`,
COALESCE(
`product.unit.translation.shortCode`,
`product.unit.translation.shortCode`
) as `product.unit.shortCode`,
`product.unit.translation.name`,
COALESCE(
`product.unit.translation.name`,
`product.unit.translation.name`
) as `product.unit.name`,
`product.unit.translation.customFields`,
COALESCE(
`product.unit.translation.customFields`,
`product.unit.translation.customFields`
) as `product.unit.customFields`,
`product.unit.translation.createdAt`,
`product.unit.translation.updatedAt`,
`product.unit.translation.unitId`,
`product.unit.translation.languageId`,
`product.deliveryTime`.`id` as `product.deliveryTime.id`,
`product.deliveryTime`.`min` as `product.deliveryTime.min`,
`product.deliveryTime`.`max` as `product.deliveryTime.max`,
`product.deliveryTime`.`unit` as `product.deliveryTime.unit`,
`product.deliveryTime`.`created_at` as `product.deliveryTime.createdAt`,
`product.deliveryTime`.`updated_at` as `product.deliveryTime.updatedAt`,
`product.deliveryTime.translation.name`,
COALESCE(
`product.deliveryTime.translation.name`,
`product.deliveryTime.translation.name`
) as `product.deliveryTime.name`,
`product.deliveryTime.translation.customFields`,
COALESCE(
`product.deliveryTime.translation.customFields`,
`product.deliveryTime.translation.customFields`
) as `product.deliveryTime.customFields`,
`product.deliveryTime.translation.createdAt`,
`product.deliveryTime.translation.updatedAt`,
`product.deliveryTime.translation.deliveryTimeId`,
`product.deliveryTime.translation.languageId`,
`product.cover`.`id` as `product.cover.id`,
`product.cover`.`version_id` as `product.cover.versionId`,
`product.cover`.`product_id` as `product.cover.productId`,
`product.cover`.`product_version_id` as `product.cover.productVersionId`,
`product.cover`.`media_id` as `product.cover.mediaId`,
`product.cover`.`position` as `product.cover.position`,
`product.cover.media`.`id` as `product.cover.media.id`,
`product.cover.media`.`user_id` as `product.cover.media.userId`,
`product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`,
`product.cover.media`.`mime_type` as `product.cover.media.mimeType`,
`product.cover.media`.`file_extension` as `product.cover.media.fileExtension`,
`product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`,
`product.cover.media`.`file_name` as `product.cover.media.fileName`,
`product.cover.media`.`file_size` as `product.cover.media.fileSize`,
`product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`,
`product.cover.media`.`meta_data` as `product.cover.media.metaData`,
`product.cover.media`.`private` as `product.cover.media.private`,
`product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`,
`product.cover.media`.`created_at` as `product.cover.media.createdAt`,
`product.cover.media`.`updated_at` as `product.cover.media.updatedAt`,
`product.cover.media.translation.title`,
COALESCE(
`product.cover.media.translation.title`,
`product.cover.media.translation.title`
) as `product.cover.media.title`,
`product.cover.media.translation.alt`,
COALESCE(
`product.cover.media.translation.alt`,
`product.cover.media.translation.alt`
) as `product.cover.media.alt`,
`product.cover.media.translation.customFields`,
COALESCE(
`product.cover.media.translation.customFields`,
`product.cover.media.translation.customFields`
) as `product.cover.media.customFields`,
`product.cover.media.translation.createdAt`,
`product.cover.media.translation.updatedAt`,
`product.cover.media.translation.mediaId`,
`product.cover.media.translation.languageId`,
`product.cover`.`custom_fields` as `product.cover.customFields`,
`product.cover`.`created_at` as `product.cover.createdAt`,
`product.cover`.`updated_at` as `product.cover.updatedAt`,
`product.translation.metaDescription`,
`product.parent.translation.metaDescription`,
COALESCE(
`product.translation.metaDescription`,
`product.parent.translation.metaDescription`,
`product.translation.metaDescription`
) as `product.metaDescription`,
`product.translation.name`,
`product.parent.translation.name`,
COALESCE(
`product.translation.name`, `product.parent.translation.name`,
`product.translation.name`
) as `product.name`,
`product.translation.keywords`,
`product.parent.translation.keywords`,
COALESCE(
`product.translation.keywords`,
`product.parent.translation.keywords`,
`product.translation.keywords`
) as `product.keywords`,
`product.translation.description`,
`product.parent.translation.description`,
COALESCE(
`product.translation.description`,
`product.parent.translation.description`,
`product.translation.description`
) as `product.description`,
`product.translation.metaTitle`,
`product.parent.translation.metaTitle`,
COALESCE(
`product.translation.metaTitle`,
`product.parent.translation.metaTitle`,
`product.translation.metaTitle`
) as `product.metaTitle`,
`product.translation.packUnit`,
`product.parent.translation.packUnit`,
COALESCE(
`product.translation.packUnit`,
`product.parent.translation.packUnit`,
`product.translation.packUnit`
) as `product.packUnit`,
`product.translation.packUnitPlural`,
`product.parent.translation.packUnitPlural`,
COALESCE(
`product.translation.packUnitPlural`,
`product.parent.translation.packUnitPlural`,
`product.translation.packUnitPlural`
) as `product.packUnitPlural`,
`product.translation.customSearchKeywords`,
`product.parent.translation.customSearchKeywords`,
COALESCE(
`product.translation.customSearchKeywords`,
`product.parent.translation.customSearchKeywords`,
`product.translation.customSearchKeywords`
) as `product.customSearchKeywords`,
`product.translation.slotConfig`,
`product.parent.translation.slotConfig`,
COALESCE(
`product.translation.slotConfig`,
`product.parent.translation.slotConfig`,
`product.translation.slotConfig`
) as `product.slotConfig`,
`product.translation.customFields`,
`product.parent.translation.customFields`,
COALESCE(
`product.translation.customFields`,
`product.parent.translation.customFields`,
`product.translation.customFields`
) as `product.customFields`,
`product.translation.createdAt`,
`product.parent.translation.createdAt`,
`product.translation.updatedAt`,
`product.parent.translation.updatedAt`,
`product.translation.productId`,
`product.parent.translation.productId`,
`product.translation.languageId`,
`product.parent.translation.languageId`,
`product.translation.productVersionId`,
`product.parent.translation.productVersionId`
FROM
`product`
LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id`
AND `product`.`version_id` = `product.parent`.`version_id`
LEFT JOIN (
SELECT
`product.translation`.product_id,
`product.translation`.product_version_id,
`product.translation`.meta_description as `product.translation.metaDescription`,
`product.translation`.name as `product.translation.name`,
`product.translation`.keywords as `product.translation.keywords`,
`product.translation`.description as `product.translation.description`,
`product.translation`.meta_title as `product.translation.metaTitle`,
`product.translation`.pack_unit as `product.translation.packUnit`,
`product.translation`.pack_unit_plural as `product.translation.packUnitPlural`,
`product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`,
`product.translation`.slot_config as `product.translation.slotConfig`,
`product.translation`.custom_fields as `product.translation.customFields`,
`product.translation`.created_at as `product.translation.createdAt`,
`product.translation`.updated_at as `product.translation.updatedAt`,
`product.translation`.product_id as `product.translation.productId`,
`product.translation`.language_id as `product.translation.languageId`,
`product.translation`.product_version_id as `product.translation.productVersionId`
FROM
`product_translation` `product.translation`
WHERE
`product.translation`.language_id = : languageId
) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id`
AND `product.product_translation`.product_version_id = `product`.version_id
LEFT JOIN (
SELECT
`product.parent.translation`.product_id,
`product.parent.translation`.product_version_id,
`product.parent.translation`.meta_description as `product.parent.translation.metaDescription`,
`product.parent.translation`.name as `product.parent.translation.name`,
`product.parent.translation`.keywords as `product.parent.translation.keywords`,
`product.parent.translation`.description as `product.parent.translation.description`,
`product.parent.translation`.meta_title as `product.parent.translation.metaTitle`,
`product.parent.translation`.pack_unit as `product.parent.translation.packUnit`,
`product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`,
`product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`,
`product.parent.translation`.slot_config as `product.parent.translation.slotConfig`,
`product.parent.translation`.custom_fields as `product.parent.translation.customFields`,
`product.parent.translation`.created_at as `product.parent.translation.createdAt`,
`product.parent.translation`.updated_at as `product.parent.translation.updatedAt`,
`product.parent.translation`.product_id as `product.parent.translation.productId`,
`product.parent.translation`.language_id as `product.parent.translation.languageId`,
`product.parent.translation`.product_version_id as `product.parent.translation.productVersionId`
FROM
`product_translation` `product.parent.translation`
WHERE
`product.parent.translation`.language_id = : languageId
) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id`
AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id
LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id`
LEFT JOIN `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_id`
LEFT JOIN `unit` `product.unit` ON `product`.`unit` = `product.unit`.`id`
LEFT JOIN `delivery_time` `product.deliveryTime` ON `product`.`deliveryTime` = `product.deliveryTime`.`id`
LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id`
AND `product`.`version_id` = `product.cover`.`version_id`
LEFT JOIN `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id`
LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id`
LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`id`
LEFT JOIN (
SELECT
`product.unit.translation`.unit_id,
`product.unit.translation`.short_code as `product.unit.translation.shortCode`,
`product.unit.translation`.name as `product.unit.translation.name`,
`product.unit.translation`.custom_fields as `product.unit.translation.customFields`,
`product.unit.translation`.created_at as `product.unit.translation.createdAt`,
`product.unit.translation`.updated_at as `product.unit.translation.updatedAt`,
`product.unit.translation`.unit_id as `product.unit.translation.unitId`,
`product.unit.translation`.language_id as `product.unit.translation.languageId`
FROM
`unit_translation` `product.unit.translation`
WHERE
`product.unit.translation`.language_id = : languageId
) `product.unit.unit_translation` ON `product.unit.unit_translation`.`unit_id` = `product.unit`.`id`
LEFT JOIN (
SELECT
`product.deliveryTime.translation`.delivery_time_id,
`product.deliveryTime.translation`.name as `product.deliveryTime.translation.name`,
`product.deliveryTime.translation`.custom_fields as `product.deliveryTime.translation.customFields`,
`product.deliveryTime.translation`.created_at as `product.deliveryTime.translation.createdAt`,
`product.deliveryTime.translation`.updated_at as `product.deliveryTime.translation.updatedAt`,
`product.deliveryTime.translation`.delivery_time_id as `product.deliveryTime.translation.deliveryTimeId`,
`product.deliveryTime.translation`.language_id as `product.deliveryTime.translation.languageId`
FROM
`delivery_time_translation` `product.deliveryTime.translation`
WHERE
`product.deliveryTime.translation`.language_id = : languageId
) `product.deliveryTime.delivery_time_translation` ON `product.deliveryTime.delivery_time_translation`.`delivery_time_id` = `product.deliveryTime`.`id`
LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id`
LEFT JOIN (
SELECT
`product.cover.media.translation`.media_id,
`product.cover.media.translation`.title as `product.cover.media.translation.title`,
`product.cover.media.translation`.alt as `product.cover.media.translation.alt`,
`product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`,
`product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`,
`product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`,
`product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`,
`product.cover.media.translation`.language_id as `product.cover.media.translation.languageId`
FROM
`media_translation` `product.cover.media.translation`
WHERE
`product.cover.media.translation`.language_id = : languageId
) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id`
WHERE
(
`product`.`version_id` = : version
)
AND (
`product`.`id` IN (: ids)
)
SELECT `product`.`id` as `product.id`, `product`.`version_id` as `product.versionId`, `product`.`parent_id` as `product.parentId`, `product`.`parent_version_id` as `product.parentVersionId`, COALESCE(`product`.`product_manufacturer_id`, `product.parent`.`product_manufacturer_id`) as `product.manufacturerId`, COALESCE(`product`.`product_manufacturer_version_id`, `product.parent`.`product_manufacturer_version_id`) as `product.productManufacturerVersionId`, COALESCE(`product`.`unit_id`, `product.parent`.`unit_id`) as `product.unitId`, COALESCE(`product`.`tax_id`, `product.parent`.`tax_id`) as `product.taxId`, COALESCE(`product`.`product_media_id`, `product.parent`.`product_media_id`) as `product.coverId`, COALESCE(`product`.`product_media_version_id`, `product.parent`.`product_media_version_id`) as `product.productMediaVersionId`, COALESCE(`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`) as `product.deliveryTimeId`, COALESCE(`product`.`product_feature_set_id`, `product.parent`.`product_feature_set_id`) as `product.featureSetId`, COALESCE(`product`.`canonical_product_id`, `product.parent`.`canonical_product_id`) as `product.canonicalProductId`, COALESCE(`product`.`cms_page_id`, `product.parent`.`cms_page_id`) as `product.cmsPageId`, COALESCE(`product`.`cms_page_version_id`, `product.parent`.`cms_page_version_id`) as `product.cmsPageVersionId`, `product.parent`.`price` as `product.price.inherited`, COALESCE(`product`.`price`, `product.parent`.`price`) as `product.price`, `product`.`product_number` as `product.productNumber`, `product`.`stock` as `product.stock`, COALESCE(`product`.`restock_time`, `product.parent`.`restock_time`) as `product.restockTime`, `product`.`auto_increment` as `product.autoIncrement`, COALESCE(`product`.`active`, `product.parent`.`active`) as `product.active`, `product`.`available_stock` as `product.availableStock`, `product`.`available` as `product.available`, COALESCE(`product`.`is_closeout`, `product.parent`.`is_closeout`) as `product.isCloseout`, `product`.`display_group` as `product.displayGroup`, `product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`, COALESCE(`product`.`configurator_group_config`, `product.parent`.`configurator_group_config`) as `product.configuratorGroupConfig`, COALESCE(`product`.`main_variant_id`, `product.parent`.`main_variant_id`) as `product.mainVariantId`, COALESCE(`product`.`display_parent`, `product.parent`.`display_parent`) as `product.displayParent`, `product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`, COALESCE(`product`.`variant_listing_config`, `product.parent`.`variant_listing_config`) as `product.variantListingConfig`, `product`.`variant_restrictions` as `product.variantRestrictions`, COALESCE(`product`.`manufacturer_number`, `product.parent`.`manufacturer_number`) as `product.manufacturerNumber`, COALESCE(`product`.`ean`, `product.parent`.`ean`) as `product.ean`, COALESCE(`product`.`purchase_steps`, `product.parent`.`purchase_steps`) as `product.purchaseSteps`, COALESCE(`product`.`max_purchase`, `product.parent`.`max_purchase`) as `product.maxPurchase`, COALESCE(`product`.`min_purchase`, `product.parent`.`min_purchase`) as `product.minPurchase`, COALESCE(`product`.`purchase_unit`, `product.parent`.`purchase_unit`) as `product.purchaseUnit`, COALESCE(`product`.`reference_unit`, `product.parent`.`reference_unit`) as `product.referenceUnit`, COALESCE(`product`.`shipping_free`, `product.parent`.`shipping_free`) as `product.shippingFree`, `product.parent`.`purchase_prices` as `product.purchasePrices.inherited`, COALESCE(`product`.`purchase_prices`, `product.parent`.`purchase_prices`) as `product.purchasePrices`, COALESCE(`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`) as `product.markAsTopseller`, COALESCE(`product`.`weight`, `product.parent`.`weight`) as `product.weight`, COALESCE(`product`.`width`, `product.parent`.`width`) as `product.width`, COALESCE(`product`.`height`, `product.parent`.`height`) as `product.height`, COALESCE(`product`.`length`, `product.parent`.`length`) as `product.length`, COALESCE(`product`.`release_date`, `product.parent`.`release_date`) as `product.releaseDate`, COALESCE(`product`.`rating_average`, `product.parent`.`rating_average`) as `product.ratingAverage`, `product.parent`.`category_tree` as `product.categoryTree.inherited`, COALESCE(`product`.`category_tree`, `product.parent`.`category_tree`) as `product.categoryTree`, `product.parent`.`property_ids` as `product.propertyIds.inherited`, COALESCE(`product`.`property_ids`, `product.parent`.`property_ids`) as `product.propertyIds`, `product.parent`.`option_ids` as `product.optionIds.inherited`, COALESCE(`product`.`option_ids`, `product.parent`.`option_ids`) as `product.optionIds`, `product.parent`.`stream_ids` as `product.streamIds.inherited`, COALESCE(`product`.`stream_ids`, `product.parent`.`stream_ids`) as `product.streamIds`, `product.parent`.`tag_ids` as `product.tagIds.inherited`, COALESCE(`product`.`tag_ids`, `product.parent`.`tag_ids`) as `product.tagIds`, `product.parent`.`category_ids` as `product.categoryIds.inherited`, COALESCE(`product`.`category_ids`, `product.parent`.`category_ids`) as `product.categoryIds`, `product`.`child_count` as `product.childCount`, COALESCE(`product`.`custom_field_set_selection_active`, `product.parent`.`custom_field_set_selection_active`) as `product.customFieldSetSelectionActive`, `product`.`sales` as `product.sales`, `product`.`states` as `product.states`, `product.tax`.`id` as `product.tax.id`, `product.tax`.`tax_rate` as `product.tax.taxRate`, `product.tax`.`name` as `product.tax.name`, `product.tax`.`position` as `product.tax.position`, `product.tax`.`custom_fields` as `product.tax.customFields`, `product.tax`.`created_at` as `product.tax.createdAt`, `product.tax`.`updated_at` as `product.tax.updatedAt`, `product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`, COALESCE(`product`.`cheapest_price`, `product.parent`.`cheapest_price`) as `product.cheapestPrice`, `product`.`created_at` as `product.createdAt`, `product`.`updated_at` as `product.updatedAt`, `product.bundle`.`id` as `product.bundle.id`, `product.bundle`.`product_id` as `product.bundle.productId`, `product.bundle`.`product_version_id` as `product.bundle.productVersionId`, `product.bundle`.`name` as `product.bundle.name`, `product.bundle`.`price_type` as `product.bundle.priceType`, `product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`, `product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`, `product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`, `product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`, `product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`, `product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`, `product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`, `product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`, `product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`, `product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`, `product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`, `product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`, `product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`, `product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`, `product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`, `product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`, `product.bundle`.`created_at` as `product.bundle.createdAt`, `product.bundle`.`updated_at` as `product.bundle.updatedAt`, `product.unit`.`id` as `product.unit.id`, `product.unit`.`created_at` as `product.unit.createdAt`, `product.unit`.`updated_at` as `product.unit.updatedAt`, `product.unit.translation.shortCode`, COALESCE(`product.unit.translation.shortCode`,`product.unit.translation.shortCode`) as `product.unit.shortCode`, `product.unit.translation.name`, COALESCE(`product.unit.translation.name`,`product.unit.translation.name`) as `product.unit.name`, `product.unit.translation.customFields`, COALESCE(`product.unit.translation.customFields`,`product.unit.translation.customFields`) as `product.unit.customFields`, `product.unit.translation.createdAt`, `product.unit.translation.updatedAt`, `product.unit.translation.unitId`, `product.unit.translation.languageId`, `product.deliveryTime`.`id` as `product.deliveryTime.id`, `product.deliveryTime`.`min` as `product.deliveryTime.min`, `product.deliveryTime`.`max` as `product.deliveryTime.max`, `product.deliveryTime`.`unit` as `product.deliveryTime.unit`, `product.deliveryTime`.`created_at` as `product.deliveryTime.createdAt`, `product.deliveryTime`.`updated_at` as `product.deliveryTime.updatedAt`, `product.deliveryTime.translation.name`, COALESCE(`product.deliveryTime.translation.name`,`product.deliveryTime.translation.name`) as `product.deliveryTime.name`, `product.deliveryTime.translation.customFields`, COALESCE(`product.deliveryTime.translation.customFields`,`product.deliveryTime.translation.customFields`) as `product.deliveryTime.customFields`, `product.deliveryTime.translation.createdAt`, `product.deliveryTime.translation.updatedAt`, `product.deliveryTime.translation.deliveryTimeId`, `product.deliveryTime.translation.languageId`, `product.cover`.`id` as `product.cover.id`, `product.cover`.`version_id` as `product.cover.versionId`, `product.cover`.`product_id` as `product.cover.productId`, `product.cover`.`product_version_id` as `product.cover.productVersionId`, `product.cover`.`media_id` as `product.cover.mediaId`, `product.cover`.`position` as `product.cover.position`, `product.cover.media`.`id` as `product.cover.media.id`, `product.cover.media`.`user_id` as `product.cover.media.userId`, `product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`, `product.cover.media`.`mime_type` as `product.cover.media.mimeType`, `product.cover.media`.`file_extension` as `product.cover.media.fileExtension`, `product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`, `product.cover.media`.`file_name` as `product.cover.media.fileName`, `product.cover.media`.`file_size` as `product.cover.media.fileSize`, `product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`, `product.cover.media`.`meta_data` as `product.cover.media.metaData`, `product.cover.media`.`private` as `product.cover.media.private`, `product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`, `product.cover.media`.`created_at` as `product.cover.media.createdAt`, `product.cover.media`.`updated_at` as `product.cover.media.updatedAt`, `product.cover.media.translation.title`, COALESCE(`product.cover.media.translation.title`,`product.cover.media.translation.title`) as `product.cover.media.title`, `product.cover.media.translation.alt`, COALESCE(`product.cover.media.translation.alt`,`product.cover.media.translation.alt`) as `product.cover.media.alt`, `product.cover.media.translation.customFields`, COALESCE(`product.cover.media.translation.customFields`,`product.cover.media.translation.customFields`) as `product.cover.media.customFields`, `product.cover.media.translation.createdAt`, `product.cover.media.translation.updatedAt`, `product.cover.media.translation.mediaId`, `product.cover.media.translation.languageId`, `product.cover`.`custom_fields` as `product.cover.customFields`, `product.cover`.`created_at` as `product.cover.createdAt`, `product.cover`.`updated_at` as `product.cover.updatedAt`, `product.translation.metaDescription`, `product.parent.translation.metaDescription`, COALESCE(`product.translation.metaDescription`,`product.parent.translation.metaDescription`,`product.translation.metaDescription`) as `product.metaDescription`, `product.translation.name`, `product.parent.translation.name`, COALESCE(`product.translation.name`,`product.parent.translation.name`,`product.translation.name`) as `product.name`, `product.translation.keywords`, `product.parent.translation.keywords`, COALESCE(`product.translation.keywords`,`product.parent.translation.keywords`,`product.translation.keywords`) as `product.keywords`, `product.translation.description`, `product.parent.translation.description`, COALESCE(`product.translation.description`,`product.parent.translation.description`,`product.translation.description`) as `product.description`, `product.translation.metaTitle`, `product.parent.translation.metaTitle`, COALESCE(`product.translation.metaTitle`,`product.parent.translation.metaTitle`,`product.translation.metaTitle`) as `product.metaTitle`, `product.translation.packUnit`, `product.parent.translation.packUnit`, COALESCE(`product.translation.packUnit`,`product.parent.translation.packUnit`,`product.translation.packUnit`) as `product.packUnit`, `product.translation.packUnitPlural`, `product.parent.translation.packUnitPlural`, COALESCE(`product.translation.packUnitPlural`,`product.parent.translation.packUnitPlural`,`product.translation.packUnitPlural`) as `product.packUnitPlural`, `product.translation.customSearchKeywords`, `product.parent.translation.customSearchKeywords`, COALESCE(`product.translation.customSearchKeywords`,`product.parent.translation.customSearchKeywords`,`product.translation.customSearchKeywords`) as `product.customSearchKeywords`, `product.translation.slotConfig`, `product.parent.translation.slotConfig`, COALESCE(`product.translation.slotConfig`,`product.parent.translation.slotConfig`,`product.translation.slotConfig`) as `product.slotConfig`, `product.translation.customFields`, `product.parent.translation.customFields`, COALESCE(`product.translation.customFields`,`product.parent.translation.customFields`,`product.translation.customFields`) as `product.customFields`, `product.translation.createdAt`, `product.parent.translation.createdAt`, `product.translation.updatedAt`, `product.parent.translation.updatedAt`, `product.translation.productId`, `product.parent.translation.productId`, `product.translation.languageId`, `product.parent.translation.languageId`, `product.translation.productVersionId`, `product.parent.translation.productVersionId` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN (SELECT `product.translation`.product_id, `product.translation`.product_version_id, `product.translation`.meta_description as `product.translation.metaDescription`, `product.translation`.name as `product.translation.name`, `product.translation`.keywords as `product.translation.keywords`, `product.translation`.description as `product.translation.description`, `product.translation`.meta_title as `product.translation.metaTitle`, `product.translation`.pack_unit as `product.translation.packUnit`, `product.translation`.pack_unit_plural as `product.translation.packUnitPlural`, `product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`, `product.translation`.slot_config as `product.translation.slotConfig`, `product.translation`.custom_fields as `product.translation.customFields`, `product.translation`.created_at as `product.translation.createdAt`, `product.translation`.updated_at as `product.translation.updatedAt`, `product.translation`.product_id as `product.translation.productId`, `product.translation`.language_id as `product.translation.languageId`, `product.translation`.product_version_id as `product.translation.productVersionId` FROM `product_translation` `product.translation` WHERE `product.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id` AND `product.product_translation`.product_version_id = `product`.version_id LEFT JOIN (SELECT `product.parent.translation`.product_id, `product.parent.translation`.product_version_id, `product.parent.translation`.meta_description as `product.parent.translation.metaDescription`, `product.parent.translation`.name as `product.parent.translation.name`, `product.parent.translation`.keywords as `product.parent.translation.keywords`, `product.parent.translation`.description as `product.parent.translation.description`, `product.parent.translation`.meta_title as `product.parent.translation.metaTitle`, `product.parent.translation`.pack_unit as `product.parent.translation.packUnit`, `product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`, `product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`, `product.parent.translation`.slot_config as `product.parent.translation.slotConfig`, `product.parent.translation`.custom_fields as `product.parent.translation.customFields`, `product.parent.translation`.created_at as `product.parent.translation.createdAt`, `product.parent.translation`.updated_at as `product.parent.translation.updatedAt`, `product.parent.translation`.product_id as `product.parent.translation.productId`, `product.parent.translation`.language_id as `product.parent.translation.languageId`, `product.parent.translation`.product_version_id as `product.parent.translation.productVersionId` FROM `product_translation` `product.parent.translation` WHERE `product.parent.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id` AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id` LEFT JOIN `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_id` LEFT JOIN `unit` `product.unit` ON `product`.`unit` = `product.unit`.`id` LEFT JOIN `delivery_time` `product.deliveryTime` ON `product`.`deliveryTime` = `product.deliveryTime`.`id` LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id` AND `product`.`version_id` = `product.cover`.`version_id` LEFT JOIN `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`id` LEFT JOIN (SELECT `product.unit.translation`.unit_id, `product.unit.translation`.short_code as `product.unit.translation.shortCode`, `product.unit.translation`.name as `product.unit.translation.name`, `product.unit.translation`.custom_fields as `product.unit.translation.customFields`, `product.unit.translation`.created_at as `product.unit.translation.createdAt`, `product.unit.translation`.updated_at as `product.unit.translation.updatedAt`, `product.unit.translation`.unit_id as `product.unit.translation.unitId`, `product.unit.translation`.language_id as `product.unit.translation.languageId` FROM `unit_translation` `product.unit.translation` WHERE `product.unit.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.unit.unit_translation` ON `product.unit.unit_translation`.`unit_id` = `product.unit`.`id` LEFT JOIN (SELECT `product.deliveryTime.translation`.delivery_time_id, `product.deliveryTime.translation`.name as `product.deliveryTime.translation.name`, `product.deliveryTime.translation`.custom_fields as `product.deliveryTime.translation.customFields`, `product.deliveryTime.translation`.created_at as `product.deliveryTime.translation.createdAt`, `product.deliveryTime.translation`.updated_at as `product.deliveryTime.translation.updatedAt`, `product.deliveryTime.translation`.delivery_time_id as `product.deliveryTime.translation.deliveryTimeId`, `product.deliveryTime.translation`.language_id as `product.deliveryTime.translation.languageId` FROM `delivery_time_translation` `product.deliveryTime.translation` WHERE `product.deliveryTime.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.deliveryTime.delivery_time_translation` ON `product.deliveryTime.delivery_time_translation`.`delivery_time_id` = `product.deliveryTime`.`id` LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id` LEFT JOIN (SELECT `product.cover.media.translation`.media_id, `product.cover.media.translation`.title as `product.cover.media.translation.title`, `product.cover.media.translation`.alt as `product.cover.media.translation.alt`, `product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`, `product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`, `product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`, `product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`, `product.cover.media.translation`.language_id as `product.cover.media.translation.languageId` FROM `media_translation` `product.cover.media.translation` WHERE `product.cover.media.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id` WHERE (`product`.`version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425) AND (`product`.`id` IN (0x045EBC3CFE9D4BC7B696BB205090AB9F, 0xDF8E620DD1FA4278BACF9BFE2CABF83F));
array:38 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 316)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetch (line 148)"
4 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 93)"
5 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::read (line 195)"
6 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::read (line 133)"
7 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 49)"
8 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariantsOfProduct (line 30)"
9 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariants (line 224)"
10 => "Bodymed\Webshop\Core\Content\Product\Cms\ProductSliderCmsElementResolver::enrich (line 99)"
11 => "Shopware\Core\Content\Cms\DataResolver\CmsSlotsDataResolver::resolve (line 104)"
12 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::loadSlotData (line 94)"
13 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::load (line 102)"
14 => "Shopware\Core\Content\Category\SalesChannel\CategoryRoute::load (line 103)"
15 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 350)"
16 => "Shopware\Core\System\SystemConfig\SystemConfigService::trace (line 44)"
17 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 120)"
18 => "Shopware\Core\Framework\Adapter\Translation\Translator::trace (line 45)"
19 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 46)"
20 => "Shopware\Core\Framework\Adapter\Cache\CacheTagCollection::trace (line 46)"
21 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::trace (line 41)"
22 => "Shopware\Storefront\Framework\Cache\CacheTracer::Shopware\Storefront\Framework\Cache\{closure} (line 59)"
23 => "Shopware\Storefront\Theme\ThemeConfigValueAccessor::trace (line 42)"
24 => "Shopware\Storefront\Framework\Cache\CacheTracer::trace (line 104)"
25 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 72)"
26 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
27 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 109)"
28 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 59)"
29 => "Shopware\Core\Profiling\Profiler::trace (line 112)"
30 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::load (line 66)"
31 => "Shopware\Storefront\Page\Navigation\NavigationPageLoader::load (line 48)"
32 => "Shopware\Storefront\Controller\NavigationController::home (line 163)"
33 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
34 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
35 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
36 => "Shopware\Core\HttpKernel::doHandle (line 81)"
37 => "Shopware\Core\HttpKernel::handle (line 75)"
]
|
108 |
1.29 ms |
SELECT `product_price`.`id` as `product_price.id`, `product_price`.`version_id` as `product_price.versionId`, `product_price`.`product_id` as `product_price.productId`, `product_price`.`product_version_id` as `product_price.productVersionId`, `product_price`.`rule_id` as `product_price.ruleId`, `product_price`.`price` as `product_price.price`, `product_price`.`quantity_start` as `product_price.quantityStart`, `product_price`.`quantity_end` as `product_price.quantityEnd`, `product_price`.`custom_fields` as `product_price.customFields`, `product_price`.`created_at` as `product_price.createdAt`, `product_price`.`updated_at` as `product_price.updatedAt` FROM `product_price` WHERE (`product_price`.`version_id` = :version) AND ((`product_price`.`product_id` IN (:param_a587625959c642649a0b1ffb02e3ade8)))
SELECT `product_price`.`id` as `product_price.id`, `product_price`.`version_id` as `product_price.versionId`, `product_price`.`product_id` as `product_price.productId`, `product_price`.`product_version_id` as `product_price.productVersionId`, `product_price`.`rule_id` as `product_price.ruleId`, `product_price`.`price` as `product_price.price`, `product_price`.`quantity_start` as `product_price.quantityStart`, `product_price`.`quantity_end` as `product_price.quantityEnd`, `product_price`.`custom_fields` as `product_price.customFields`, `product_price`.`created_at` as `product_price.createdAt`, `product_price`.`updated_at` as `product_price.updatedAt` FROM `product_price` WHERE (`product_price`.`version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425) AND ((`product_price`.`product_id` IN (0x045EBC3CFE9D4BC7B696BB205090AB9F, 0xDF8E620DD1FA4278BACF9BFE2CABF83F, 0x7E400E2572B447458789E1E3EDFAB37F)));
array:42 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 316)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetch (line 148)"
4 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 503)"
5 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::loadOneToManyWithoutPagination (line 438)"
6 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::loadOneToMany (line 1210)"
7 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetchAssociations (line 152)"
8 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 93)"
9 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::read (line 195)"
10 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::read (line 133)"
11 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 49)"
12 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariantsOfProduct (line 30)"
13 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariants (line 224)"
14 => "Bodymed\Webshop\Core\Content\Product\Cms\ProductSliderCmsElementResolver::enrich (line 99)"
15 => "Shopware\Core\Content\Cms\DataResolver\CmsSlotsDataResolver::resolve (line 104)"
16 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::loadSlotData (line 94)"
17 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::load (line 102)"
18 => "Shopware\Core\Content\Category\SalesChannel\CategoryRoute::load (line 103)"
19 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 350)"
20 => "Shopware\Core\System\SystemConfig\SystemConfigService::trace (line 44)"
21 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 120)"
22 => "Shopware\Core\Framework\Adapter\Translation\Translator::trace (line 45)"
23 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 46)"
24 => "Shopware\Core\Framework\Adapter\Cache\CacheTagCollection::trace (line 46)"
25 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::trace (line 41)"
26 => "Shopware\Storefront\Framework\Cache\CacheTracer::Shopware\Storefront\Framework\Cache\{closure} (line 59)"
27 => "Shopware\Storefront\Theme\ThemeConfigValueAccessor::trace (line 42)"
28 => "Shopware\Storefront\Framework\Cache\CacheTracer::trace (line 104)"
29 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 72)"
30 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
31 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 109)"
32 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 59)"
33 => "Shopware\Core\Profiling\Profiler::trace (line 112)"
34 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::load (line 66)"
35 => "Shopware\Storefront\Page\Navigation\NavigationPageLoader::load (line 48)"
36 => "Shopware\Storefront\Controller\NavigationController::home (line 163)"
37 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
38 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
39 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
40 => "Shopware\Core\HttpKernel::doHandle (line 81)"
41 => "Shopware\Core\HttpKernel::handle (line 75)"
]
|
109 |
0.64 ms |
SELECT * FROM sales_channel_api_context WHERE (sales_channel_id = :salesChannelId) AND (token = :token) LIMIT 1
SELECT * FROM sales_channel_api_context WHERE (sales_channel_id = 0x620A2217F7474E619CB00AD39E804CCA) AND (token = 'FwsxT47353Zxmr7lp0KSfYcVNkg5VpYR') LIMIT 1;
array:45 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 165)"
3 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextPersister::load (line 69)"
4 => "Bodymed\Webshop\Core\Subscriber\ProductSubscriber::addCustomerProductFeatureExtension (line 230)"
5 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
6 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
7 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
8 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
9 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
10 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 33)"
11 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
12 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 208)"
13 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::read (line 133)"
14 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 49)"
15 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariantsOfProduct (line 30)"
16 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariants (line 224)"
17 => "Bodymed\Webshop\Core\Content\Product\Cms\ProductSliderCmsElementResolver::enrich (line 99)"
18 => "Shopware\Core\Content\Cms\DataResolver\CmsSlotsDataResolver::resolve (line 104)"
19 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::loadSlotData (line 94)"
20 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::load (line 102)"
21 => "Shopware\Core\Content\Category\SalesChannel\CategoryRoute::load (line 103)"
22 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 350)"
23 => "Shopware\Core\System\SystemConfig\SystemConfigService::trace (line 44)"
24 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 120)"
25 => "Shopware\Core\Framework\Adapter\Translation\Translator::trace (line 45)"
26 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 46)"
27 => "Shopware\Core\Framework\Adapter\Cache\CacheTagCollection::trace (line 46)"
28 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::trace (line 41)"
29 => "Shopware\Storefront\Framework\Cache\CacheTracer::Shopware\Storefront\Framework\Cache\{closure} (line 59)"
30 => "Shopware\Storefront\Theme\ThemeConfigValueAccessor::trace (line 42)"
31 => "Shopware\Storefront\Framework\Cache\CacheTracer::trace (line 104)"
32 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 72)"
33 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
34 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 109)"
35 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 59)"
36 => "Shopware\Core\Profiling\Profiler::trace (line 112)"
37 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::load (line 66)"
38 => "Shopware\Storefront\Page\Navigation\NavigationPageLoader::load (line 48)"
39 => "Shopware\Storefront\Controller\NavigationController::home (line 163)"
40 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
41 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
42 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
43 => "Shopware\Core\HttpKernel::doHandle (line 81)"
44 => "Shopware\Core\HttpKernel::handle (line 75)"
]
|
110 |
24.05 ms |
SELECT `product`.`id` as `product.id`, `product`.`version_id` as `product.versionId`, `product`.`parent_id` as `product.parentId`, `product`.`parent_version_id` as `product.parentVersionId`, COALESCE(`product`.`product_manufacturer_id`, `product.parent`.`product_manufacturer_id`) as `product.manufacturerId`, COALESCE(`product`.`product_manufacturer_version_id`, `product.parent`.`product_manufacturer_version_id`) as `product.productManufacturerVersionId`, COALESCE(`product`.`unit_id`, `product.parent`.`unit_id`) as `product.unitId`, COALESCE(`product`.`tax_id`, `product.parent`.`tax_id`) as `product.taxId`, COALESCE(`product`.`product_media_id`, `product.parent`.`product_media_id`) as `product.coverId`, COALESCE(`product`.`product_media_version_id`, `product.parent`.`product_media_version_id`) as `product.productMediaVersionId`, COALESCE(`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`) as `product.deliveryTimeId`, COALESCE(`product`.`product_feature_set_id`, `product.parent`.`product_feature_set_id`) as `product.featureSetId`, COALESCE(`product`.`canonical_product_id`, `product.parent`.`canonical_product_id`) as `product.canonicalProductId`, COALESCE(`product`.`cms_page_id`, `product.parent`.`cms_page_id`) as `product.cmsPageId`, COALESCE(`product`.`cms_page_version_id`, `product.parent`.`cms_page_version_id`) as `product.cmsPageVersionId`, `product.parent`.`price` as `product.price.inherited`, COALESCE(`product`.`price`, `product.parent`.`price`) as `product.price`, `product`.`product_number` as `product.productNumber`, `product`.`stock` as `product.stock`, COALESCE(`product`.`restock_time`, `product.parent`.`restock_time`) as `product.restockTime`, `product`.`auto_increment` as `product.autoIncrement`, COALESCE(`product`.`active`, `product.parent`.`active`) as `product.active`, `product`.`available_stock` as `product.availableStock`, `product`.`available` as `product.available`, COALESCE(`product`.`is_closeout`, `product.parent`.`is_closeout`) as `product.isCloseout`, `product`.`display_group` as `product.displayGroup`, `product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`, COALESCE(`product`.`configurator_group_config`, `product.parent`.`configurator_group_config`) as `product.configuratorGroupConfig`, COALESCE(`product`.`main_variant_id`, `product.parent`.`main_variant_id`) as `product.mainVariantId`, COALESCE(`product`.`display_parent`, `product.parent`.`display_parent`) as `product.displayParent`, `product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`, COALESCE(`product`.`variant_listing_config`, `product.parent`.`variant_listing_config`) as `product.variantListingConfig`, `product`.`variant_restrictions` as `product.variantRestrictions`, COALESCE(`product`.`manufacturer_number`, `product.parent`.`manufacturer_number`) as `product.manufacturerNumber`, COALESCE(`product`.`ean`, `product.parent`.`ean`) as `product.ean`, COALESCE(`product`.`purchase_steps`, `product.parent`.`purchase_steps`) as `product.purchaseSteps`, COALESCE(`product`.`max_purchase`, `product.parent`.`max_purchase`) as `product.maxPurchase`, COALESCE(`product`.`min_purchase`, `product.parent`.`min_purchase`) as `product.minPurchase`, COALESCE(`product`.`purchase_unit`, `product.parent`.`purchase_unit`) as `product.purchaseUnit`, COALESCE(`product`.`reference_unit`, `product.parent`.`reference_unit`) as `product.referenceUnit`, COALESCE(`product`.`shipping_free`, `product.parent`.`shipping_free`) as `product.shippingFree`, `product.parent`.`purchase_prices` as `product.purchasePrices.inherited`, COALESCE(`product`.`purchase_prices`, `product.parent`.`purchase_prices`) as `product.purchasePrices`, COALESCE(`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`) as `product.markAsTopseller`, COALESCE(`product`.`weight`, `product.parent`.`weight`) as `product.weight`, COALESCE(`product`.`width`, `product.parent`.`width`) as `product.width`, COALESCE(`product`.`height`, `product.parent`.`height`) as `product.height`, COALESCE(`product`.`length`, `product.parent`.`length`) as `product.length`, COALESCE(`product`.`release_date`, `product.parent`.`release_date`) as `product.releaseDate`, COALESCE(`product`.`rating_average`, `product.parent`.`rating_average`) as `product.ratingAverage`, `product.parent`.`category_tree` as `product.categoryTree.inherited`, COALESCE(`product`.`category_tree`, `product.parent`.`category_tree`) as `product.categoryTree`, `product.parent`.`property_ids` as `product.propertyIds.inherited`, COALESCE(`product`.`property_ids`, `product.parent`.`property_ids`) as `product.propertyIds`, `product.parent`.`option_ids` as `product.optionIds.inherited`, COALESCE(`product`.`option_ids`, `product.parent`.`option_ids`) as `product.optionIds`, `product.parent`.`stream_ids` as `product.streamIds.inherited`, COALESCE(`product`.`stream_ids`, `product.parent`.`stream_ids`) as `product.streamIds`, `product.parent`.`tag_ids` as `product.tagIds.inherited`, COALESCE(`product`.`tag_ids`, `product.parent`.`tag_ids`) as `product.tagIds`, `product.parent`.`category_ids` as `product.categoryIds.inherited`, COALESCE(`product`.`category_ids`, `product.parent`.`category_ids`) as `product.categoryIds`, `product`.`child_count` as `product.childCount`, COALESCE(`product`.`custom_field_set_selection_active`, `product.parent`.`custom_field_set_selection_active`) as `product.customFieldSetSelectionActive`, `product`.`sales` as `product.sales`, `product`.`states` as `product.states`, `product.tax`.`id` as `product.tax.id`, `product.tax`.`tax_rate` as `product.tax.taxRate`, `product.tax`.`name` as `product.tax.name`, `product.tax`.`position` as `product.tax.position`, `product.tax`.`custom_fields` as `product.tax.customFields`, `product.tax`.`created_at` as `product.tax.createdAt`, `product.tax`.`updated_at` as `product.tax.updatedAt`, `product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`, COALESCE(`product`.`cheapest_price`, `product.parent`.`cheapest_price`) as `product.cheapestPrice`, `product`.`created_at` as `product.createdAt`, `product`.`updated_at` as `product.updatedAt`, `product.bundle`.`id` as `product.bundle.id`, `product.bundle`.`product_id` as `product.bundle.productId`, `product.bundle`.`product_version_id` as `product.bundle.productVersionId`, `product.bundle`.`name` as `product.bundle.name`, `product.bundle`.`price_type` as `product.bundle.priceType`, `product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`, `product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`, `product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`, `product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`, `product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`, `product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`, `product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`, `product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`, `product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`, `product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`, `product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`, `product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`, `product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`, `product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`, `product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`, `product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`, `product.bundle`.`created_at` as `product.bundle.createdAt`, `product.bundle`.`updated_at` as `product.bundle.updatedAt`, `product.cover`.`id` as `product.cover.id`, `product.cover`.`version_id` as `product.cover.versionId`, `product.cover`.`product_id` as `product.cover.productId`, `product.cover`.`product_version_id` as `product.cover.productVersionId`, `product.cover`.`media_id` as `product.cover.mediaId`, `product.cover`.`position` as `product.cover.position`, `product.cover.media`.`id` as `product.cover.media.id`, `product.cover.media`.`user_id` as `product.cover.media.userId`, `product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`, `product.cover.media`.`mime_type` as `product.cover.media.mimeType`, `product.cover.media`.`file_extension` as `product.cover.media.fileExtension`, `product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`, `product.cover.media`.`file_name` as `product.cover.media.fileName`, `product.cover.media`.`file_size` as `product.cover.media.fileSize`, `product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`, `product.cover.media`.`meta_data` as `product.cover.media.metaData`, `product.cover.media`.`private` as `product.cover.media.private`, `product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`, `product.cover.media`.`created_at` as `product.cover.media.createdAt`, `product.cover.media`.`updated_at` as `product.cover.media.updatedAt`, `product.cover.media.translation.title`, COALESCE(`product.cover.media.translation.title`,`product.cover.media.translation.title`) as `product.cover.media.title`, `product.cover.media.translation.alt`, COALESCE(`product.cover.media.translation.alt`,`product.cover.media.translation.alt`) as `product.cover.media.alt`, `product.cover.media.translation.customFields`, COALESCE(`product.cover.media.translation.customFields`,`product.cover.media.translation.customFields`) as `product.cover.media.customFields`, `product.cover.media.translation.createdAt`, `product.cover.media.translation.updatedAt`, `product.cover.media.translation.mediaId`, `product.cover.media.translation.languageId`, `product.cover`.`custom_fields` as `product.cover.customFields`, `product.cover`.`created_at` as `product.cover.createdAt`, `product.cover`.`updated_at` as `product.cover.updatedAt`, `product.translation.metaDescription`, `product.parent.translation.metaDescription`, COALESCE(`product.translation.metaDescription`,`product.parent.translation.metaDescription`,`product.translation.metaDescription`) as `product.metaDescription`, `product.translation.name`, `product.parent.translation.name`, COALESCE(`product.translation.name`,`product.parent.translation.name`,`product.translation.name`) as `product.name`, `product.translation.keywords`, `product.parent.translation.keywords`, COALESCE(`product.translation.keywords`,`product.parent.translation.keywords`,`product.translation.keywords`) as `product.keywords`, `product.translation.description`, `product.parent.translation.description`, COALESCE(`product.translation.description`,`product.parent.translation.description`,`product.translation.description`) as `product.description`, `product.translation.metaTitle`, `product.parent.translation.metaTitle`, COALESCE(`product.translation.metaTitle`,`product.parent.translation.metaTitle`,`product.translation.metaTitle`) as `product.metaTitle`, `product.translation.packUnit`, `product.parent.translation.packUnit`, COALESCE(`product.translation.packUnit`,`product.parent.translation.packUnit`,`product.translation.packUnit`) as `product.packUnit`, `product.translation.packUnitPlural`, `product.parent.translation.packUnitPlural`, COALESCE(`product.translation.packUnitPlural`,`product.parent.translation.packUnitPlural`,`product.translation.packUnitPlural`) as `product.packUnitPlural`, `product.translation.customSearchKeywords`, `product.parent.translation.customSearchKeywords`, COALESCE(`product.translation.customSearchKeywords`,`product.parent.translation.customSearchKeywords`,`product.translation.customSearchKeywords`) as `product.customSearchKeywords`, `product.translation.slotConfig`, `product.parent.translation.slotConfig`, COALESCE(`product.translation.slotConfig`,`product.parent.translation.slotConfig`,`product.translation.slotConfig`) as `product.slotConfig`, `product.translation.customFields`, `product.parent.translation.customFields`, COALESCE(`product.translation.customFields`,`product.parent.translation.customFields`,`product.translation.customFields`) as `product.customFields`, `product.translation.createdAt`, `product.parent.translation.createdAt`, `product.translation.updatedAt`, `product.parent.translation.updatedAt`, `product.translation.productId`, `product.parent.translation.productId`, `product.translation.languageId`, `product.parent.translation.languageId`, `product.translation.productVersionId`, `product.parent.translation.productVersionId` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN (SELECT `product.translation`.product_id, `product.translation`.product_version_id, `product.translation`.meta_description as `product.translation.metaDescription`, `product.translation`.name as `product.translation.name`, `product.translation`.keywords as `product.translation.keywords`, `product.translation`.description as `product.translation.description`, `product.translation`.meta_title as `product.translation.metaTitle`, `product.translation`.pack_unit as `product.translation.packUnit`, `product.translation`.pack_unit_plural as `product.translation.packUnitPlural`, `product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`, `product.translation`.slot_config as `product.translation.slotConfig`, `product.translation`.custom_fields as `product.translation.customFields`, `product.translation`.created_at as `product.translation.createdAt`, `product.translation`.updated_at as `product.translation.updatedAt`, `product.translation`.product_id as `product.translation.productId`, `product.translation`.language_id as `product.translation.languageId`, `product.translation`.product_version_id as `product.translation.productVersionId` FROM `product_translation` `product.translation` WHERE `product.translation`.language_id = :languageId) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id` AND `product.product_translation`.product_version_id = `product`.version_id LEFT JOIN (SELECT `product.parent.translation`.product_id, `product.parent.translation`.product_version_id, `product.parent.translation`.meta_description as `product.parent.translation.metaDescription`, `product.parent.translation`.name as `product.parent.translation.name`, `product.parent.translation`.keywords as `product.parent.translation.keywords`, `product.parent.translation`.description as `product.parent.translation.description`, `product.parent.translation`.meta_title as `product.parent.translation.metaTitle`, `product.parent.translation`.pack_unit as `product.parent.translation.packUnit`, `product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`, `product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`, `product.parent.translation`.slot_config as `product.parent.translation.slotConfig`, `product.parent.translation`.custom_fields as `product.parent.translation.customFields`, `product.parent.translation`.created_at as `product.parent.translation.createdAt`, `product.parent.translation`.updated_at as `product.parent.translation.updatedAt`, `product.parent.translation`.product_id as `product.parent.translation.productId`, `product.parent.translation`.language_id as `product.parent.translation.languageId`, `product.parent.translation`.product_version_id as `product.parent.translation.productVersionId` FROM `product_translation` `product.parent.translation` WHERE `product.parent.translation`.language_id = :languageId) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id` AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id` LEFT JOIN `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_id` LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id` AND `product`.`version_id` = `product.cover`.`version_id` LEFT JOIN `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`id` LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id` LEFT JOIN (SELECT `product.cover.media.translation`.media_id, `product.cover.media.translation`.title as `product.cover.media.translation.title`, `product.cover.media.translation`.alt as `product.cover.media.translation.alt`, `product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`, `product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`, `product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`, `product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`, `product.cover.media.translation`.language_id as `product.cover.media.translation.languageId` FROM `media_translation` `product.cover.media.translation` WHERE `product.cover.media.translation`.language_id = :languageId) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id` WHERE (`product`.`version_id` = :version) AND (`product`.`id` IN (:ids))
SELECT
`product`.`id` as `product.id`,
`product`.`version_id` as `product.versionId`,
`product`.`parent_id` as `product.parentId`,
`product`.`parent_version_id` as `product.parentVersionId`,
COALESCE(
`product`.`product_manufacturer_id`,
`product.parent`.`product_manufacturer_id`
) as `product.manufacturerId`,
COALESCE(
`product`.`product_manufacturer_version_id`,
`product.parent`.`product_manufacturer_version_id`
) as `product.productManufacturerVersionId`,
COALESCE(
`product`.`unit_id`, `product.parent`.`unit_id`
) as `product.unitId`,
COALESCE(
`product`.`tax_id`, `product.parent`.`tax_id`
) as `product.taxId`,
COALESCE(
`product`.`product_media_id`, `product.parent`.`product_media_id`
) as `product.coverId`,
COALESCE(
`product`.`product_media_version_id`,
`product.parent`.`product_media_version_id`
) as `product.productMediaVersionId`,
COALESCE(
`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`
) as `product.deliveryTimeId`,
COALESCE(
`product`.`product_feature_set_id`,
`product.parent`.`product_feature_set_id`
) as `product.featureSetId`,
COALESCE(
`product`.`canonical_product_id`,
`product.parent`.`canonical_product_id`
) as `product.canonicalProductId`,
COALESCE(
`product`.`cms_page_id`, `product.parent`.`cms_page_id`
) as `product.cmsPageId`,
COALESCE(
`product`.`cms_page_version_id`,
`product.parent`.`cms_page_version_id`
) as `product.cmsPageVersionId`,
`product.parent`.`price` as `product.price.inherited`,
COALESCE(
`product`.`price`, `product.parent`.`price`
) as `product.price`,
`product`.`product_number` as `product.productNumber`,
`product`.`stock` as `product.stock`,
COALESCE(
`product`.`restock_time`, `product.parent`.`restock_time`
) as `product.restockTime`,
`product`.`auto_increment` as `product.autoIncrement`,
COALESCE(
`product`.`active`, `product.parent`.`active`
) as `product.active`,
`product`.`available_stock` as `product.availableStock`,
`product`.`available` as `product.available`,
COALESCE(
`product`.`is_closeout`, `product.parent`.`is_closeout`
) as `product.isCloseout`,
`product`.`display_group` as `product.displayGroup`,
`product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`,
COALESCE(
`product`.`configurator_group_config`,
`product.parent`.`configurator_group_config`
) as `product.configuratorGroupConfig`,
COALESCE(
`product`.`main_variant_id`, `product.parent`.`main_variant_id`
) as `product.mainVariantId`,
COALESCE(
`product`.`display_parent`, `product.parent`.`display_parent`
) as `product.displayParent`,
`product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`,
COALESCE(
`product`.`variant_listing_config`,
`product.parent`.`variant_listing_config`
) as `product.variantListingConfig`,
`product`.`variant_restrictions` as `product.variantRestrictions`,
COALESCE(
`product`.`manufacturer_number`,
`product.parent`.`manufacturer_number`
) as `product.manufacturerNumber`,
COALESCE(
`product`.`ean`, `product.parent`.`ean`
) as `product.ean`,
COALESCE(
`product`.`purchase_steps`, `product.parent`.`purchase_steps`
) as `product.purchaseSteps`,
COALESCE(
`product`.`max_purchase`, `product.parent`.`max_purchase`
) as `product.maxPurchase`,
COALESCE(
`product`.`min_purchase`, `product.parent`.`min_purchase`
) as `product.minPurchase`,
COALESCE(
`product`.`purchase_unit`, `product.parent`.`purchase_unit`
) as `product.purchaseUnit`,
COALESCE(
`product`.`reference_unit`, `product.parent`.`reference_unit`
) as `product.referenceUnit`,
COALESCE(
`product`.`shipping_free`, `product.parent`.`shipping_free`
) as `product.shippingFree`,
`product.parent`.`purchase_prices` as `product.purchasePrices.inherited`,
COALESCE(
`product`.`purchase_prices`, `product.parent`.`purchase_prices`
) as `product.purchasePrices`,
COALESCE(
`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`
) as `product.markAsTopseller`,
COALESCE(
`product`.`weight`, `product.parent`.`weight`
) as `product.weight`,
COALESCE(
`product`.`width`, `product.parent`.`width`
) as `product.width`,
COALESCE(
`product`.`height`, `product.parent`.`height`
) as `product.height`,
COALESCE(
`product`.`length`, `product.parent`.`length`
) as `product.length`,
COALESCE(
`product`.`release_date`, `product.parent`.`release_date`
) as `product.releaseDate`,
COALESCE(
`product`.`rating_average`, `product.parent`.`rating_average`
) as `product.ratingAverage`,
`product.parent`.`category_tree` as `product.categoryTree.inherited`,
COALESCE(
`product`.`category_tree`, `product.parent`.`category_tree`
) as `product.categoryTree`,
`product.parent`.`property_ids` as `product.propertyIds.inherited`,
COALESCE(
`product`.`property_ids`, `product.parent`.`property_ids`
) as `product.propertyIds`,
`product.parent`.`option_ids` as `product.optionIds.inherited`,
COALESCE(
`product`.`option_ids`, `product.parent`.`option_ids`
) as `product.optionIds`,
`product.parent`.`stream_ids` as `product.streamIds.inherited`,
COALESCE(
`product`.`stream_ids`, `product.parent`.`stream_ids`
) as `product.streamIds`,
`product.parent`.`tag_ids` as `product.tagIds.inherited`,
COALESCE(
`product`.`tag_ids`, `product.parent`.`tag_ids`
) as `product.tagIds`,
`product.parent`.`category_ids` as `product.categoryIds.inherited`,
COALESCE(
`product`.`category_ids`, `product.parent`.`category_ids`
) as `product.categoryIds`,
`product`.`child_count` as `product.childCount`,
COALESCE(
`product`.`custom_field_set_selection_active`,
`product.parent`.`custom_field_set_selection_active`
) as `product.customFieldSetSelectionActive`,
`product`.`sales` as `product.sales`,
`product`.`states` as `product.states`,
`product.tax`.`id` as `product.tax.id`,
`product.tax`.`tax_rate` as `product.tax.taxRate`,
`product.tax`.`name` as `product.tax.name`,
`product.tax`.`position` as `product.tax.position`,
`product.tax`.`custom_fields` as `product.tax.customFields`,
`product.tax`.`created_at` as `product.tax.createdAt`,
`product.tax`.`updated_at` as `product.tax.updatedAt`,
`product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`,
COALESCE(
`product`.`cheapest_price`, `product.parent`.`cheapest_price`
) as `product.cheapestPrice`,
`product`.`created_at` as `product.createdAt`,
`product`.`updated_at` as `product.updatedAt`,
`product.bundle`.`id` as `product.bundle.id`,
`product.bundle`.`product_id` as `product.bundle.productId`,
`product.bundle`.`product_version_id` as `product.bundle.productVersionId`,
`product.bundle`.`name` as `product.bundle.name`,
`product.bundle`.`price_type` as `product.bundle.priceType`,
`product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`,
`product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`,
`product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`,
`product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`,
`product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`,
`product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`,
`product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`,
`product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`,
`product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`,
`product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`,
`product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`,
`product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`,
`product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`,
`product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`,
`product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`,
`product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`,
`product.bundle`.`created_at` as `product.bundle.createdAt`,
`product.bundle`.`updated_at` as `product.bundle.updatedAt`,
`product.cover`.`id` as `product.cover.id`,
`product.cover`.`version_id` as `product.cover.versionId`,
`product.cover`.`product_id` as `product.cover.productId`,
`product.cover`.`product_version_id` as `product.cover.productVersionId`,
`product.cover`.`media_id` as `product.cover.mediaId`,
`product.cover`.`position` as `product.cover.position`,
`product.cover.media`.`id` as `product.cover.media.id`,
`product.cover.media`.`user_id` as `product.cover.media.userId`,
`product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`,
`product.cover.media`.`mime_type` as `product.cover.media.mimeType`,
`product.cover.media`.`file_extension` as `product.cover.media.fileExtension`,
`product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`,
`product.cover.media`.`file_name` as `product.cover.media.fileName`,
`product.cover.media`.`file_size` as `product.cover.media.fileSize`,
`product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`,
`product.cover.media`.`meta_data` as `product.cover.media.metaData`,
`product.cover.media`.`private` as `product.cover.media.private`,
`product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`,
`product.cover.media`.`created_at` as `product.cover.media.createdAt`,
`product.cover.media`.`updated_at` as `product.cover.media.updatedAt`,
`product.cover.media.translation.title`,
COALESCE(
`product.cover.media.translation.title`,
`product.cover.media.translation.title`
) as `product.cover.media.title`,
`product.cover.media.translation.alt`,
COALESCE(
`product.cover.media.translation.alt`,
`product.cover.media.translation.alt`
) as `product.cover.media.alt`,
`product.cover.media.translation.customFields`,
COALESCE(
`product.cover.media.translation.customFields`,
`product.cover.media.translation.customFields`
) as `product.cover.media.customFields`,
`product.cover.media.translation.createdAt`,
`product.cover.media.translation.updatedAt`,
`product.cover.media.translation.mediaId`,
`product.cover.media.translation.languageId`,
`product.cover`.`custom_fields` as `product.cover.customFields`,
`product.cover`.`created_at` as `product.cover.createdAt`,
`product.cover`.`updated_at` as `product.cover.updatedAt`,
`product.translation.metaDescription`,
`product.parent.translation.metaDescription`,
COALESCE(
`product.translation.metaDescription`,
`product.parent.translation.metaDescription`,
`product.translation.metaDescription`
) as `product.metaDescription`,
`product.translation.name`,
`product.parent.translation.name`,
COALESCE(
`product.translation.name`, `product.parent.translation.name`,
`product.translation.name`
) as `product.name`,
`product.translation.keywords`,
`product.parent.translation.keywords`,
COALESCE(
`product.translation.keywords`,
`product.parent.translation.keywords`,
`product.translation.keywords`
) as `product.keywords`,
`product.translation.description`,
`product.parent.translation.description`,
COALESCE(
`product.translation.description`,
`product.parent.translation.description`,
`product.translation.description`
) as `product.description`,
`product.translation.metaTitle`,
`product.parent.translation.metaTitle`,
COALESCE(
`product.translation.metaTitle`,
`product.parent.translation.metaTitle`,
`product.translation.metaTitle`
) as `product.metaTitle`,
`product.translation.packUnit`,
`product.parent.translation.packUnit`,
COALESCE(
`product.translation.packUnit`,
`product.parent.translation.packUnit`,
`product.translation.packUnit`
) as `product.packUnit`,
`product.translation.packUnitPlural`,
`product.parent.translation.packUnitPlural`,
COALESCE(
`product.translation.packUnitPlural`,
`product.parent.translation.packUnitPlural`,
`product.translation.packUnitPlural`
) as `product.packUnitPlural`,
`product.translation.customSearchKeywords`,
`product.parent.translation.customSearchKeywords`,
COALESCE(
`product.translation.customSearchKeywords`,
`product.parent.translation.customSearchKeywords`,
`product.translation.customSearchKeywords`
) as `product.customSearchKeywords`,
`product.translation.slotConfig`,
`product.parent.translation.slotConfig`,
COALESCE(
`product.translation.slotConfig`,
`product.parent.translation.slotConfig`,
`product.translation.slotConfig`
) as `product.slotConfig`,
`product.translation.customFields`,
`product.parent.translation.customFields`,
COALESCE(
`product.translation.customFields`,
`product.parent.translation.customFields`,
`product.translation.customFields`
) as `product.customFields`,
`product.translation.createdAt`,
`product.parent.translation.createdAt`,
`product.translation.updatedAt`,
`product.parent.translation.updatedAt`,
`product.translation.productId`,
`product.parent.translation.productId`,
`product.translation.languageId`,
`product.parent.translation.languageId`,
`product.translation.productVersionId`,
`product.parent.translation.productVersionId`
FROM
`product`
LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id`
AND `product`.`version_id` = `product.parent`.`version_id`
LEFT JOIN (
SELECT
`product.translation`.product_id,
`product.translation`.product_version_id,
`product.translation`.meta_description as `product.translation.metaDescription`,
`product.translation`.name as `product.translation.name`,
`product.translation`.keywords as `product.translation.keywords`,
`product.translation`.description as `product.translation.description`,
`product.translation`.meta_title as `product.translation.metaTitle`,
`product.translation`.pack_unit as `product.translation.packUnit`,
`product.translation`.pack_unit_plural as `product.translation.packUnitPlural`,
`product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`,
`product.translation`.slot_config as `product.translation.slotConfig`,
`product.translation`.custom_fields as `product.translation.customFields`,
`product.translation`.created_at as `product.translation.createdAt`,
`product.translation`.updated_at as `product.translation.updatedAt`,
`product.translation`.product_id as `product.translation.productId`,
`product.translation`.language_id as `product.translation.languageId`,
`product.translation`.product_version_id as `product.translation.productVersionId`
FROM
`product_translation` `product.translation`
WHERE
`product.translation`.language_id = : languageId
) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id`
AND `product.product_translation`.product_version_id = `product`.version_id
LEFT JOIN (
SELECT
`product.parent.translation`.product_id,
`product.parent.translation`.product_version_id,
`product.parent.translation`.meta_description as `product.parent.translation.metaDescription`,
`product.parent.translation`.name as `product.parent.translation.name`,
`product.parent.translation`.keywords as `product.parent.translation.keywords`,
`product.parent.translation`.description as `product.parent.translation.description`,
`product.parent.translation`.meta_title as `product.parent.translation.metaTitle`,
`product.parent.translation`.pack_unit as `product.parent.translation.packUnit`,
`product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`,
`product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`,
`product.parent.translation`.slot_config as `product.parent.translation.slotConfig`,
`product.parent.translation`.custom_fields as `product.parent.translation.customFields`,
`product.parent.translation`.created_at as `product.parent.translation.createdAt`,
`product.parent.translation`.updated_at as `product.parent.translation.updatedAt`,
`product.parent.translation`.product_id as `product.parent.translation.productId`,
`product.parent.translation`.language_id as `product.parent.translation.languageId`,
`product.parent.translation`.product_version_id as `product.parent.translation.productVersionId`
FROM
`product_translation` `product.parent.translation`
WHERE
`product.parent.translation`.language_id = : languageId
) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id`
AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id
LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id`
LEFT JOIN `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_id`
LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id`
AND `product`.`version_id` = `product.cover`.`version_id`
LEFT JOIN `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id`
LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id`
LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`id`
LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id`
LEFT JOIN (
SELECT
`product.cover.media.translation`.media_id,
`product.cover.media.translation`.title as `product.cover.media.translation.title`,
`product.cover.media.translation`.alt as `product.cover.media.translation.alt`,
`product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`,
`product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`,
`product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`,
`product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`,
`product.cover.media.translation`.language_id as `product.cover.media.translation.languageId`
FROM
`media_translation` `product.cover.media.translation`
WHERE
`product.cover.media.translation`.language_id = : languageId
) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id`
WHERE
(
`product`.`version_id` = : version
)
AND (
`product`.`id` IN (: ids)
)
SELECT `product`.`id` as `product.id`, `product`.`version_id` as `product.versionId`, `product`.`parent_id` as `product.parentId`, `product`.`parent_version_id` as `product.parentVersionId`, COALESCE(`product`.`product_manufacturer_id`, `product.parent`.`product_manufacturer_id`) as `product.manufacturerId`, COALESCE(`product`.`product_manufacturer_version_id`, `product.parent`.`product_manufacturer_version_id`) as `product.productManufacturerVersionId`, COALESCE(`product`.`unit_id`, `product.parent`.`unit_id`) as `product.unitId`, COALESCE(`product`.`tax_id`, `product.parent`.`tax_id`) as `product.taxId`, COALESCE(`product`.`product_media_id`, `product.parent`.`product_media_id`) as `product.coverId`, COALESCE(`product`.`product_media_version_id`, `product.parent`.`product_media_version_id`) as `product.productMediaVersionId`, COALESCE(`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`) as `product.deliveryTimeId`, COALESCE(`product`.`product_feature_set_id`, `product.parent`.`product_feature_set_id`) as `product.featureSetId`, COALESCE(`product`.`canonical_product_id`, `product.parent`.`canonical_product_id`) as `product.canonicalProductId`, COALESCE(`product`.`cms_page_id`, `product.parent`.`cms_page_id`) as `product.cmsPageId`, COALESCE(`product`.`cms_page_version_id`, `product.parent`.`cms_page_version_id`) as `product.cmsPageVersionId`, `product.parent`.`price` as `product.price.inherited`, COALESCE(`product`.`price`, `product.parent`.`price`) as `product.price`, `product`.`product_number` as `product.productNumber`, `product`.`stock` as `product.stock`, COALESCE(`product`.`restock_time`, `product.parent`.`restock_time`) as `product.restockTime`, `product`.`auto_increment` as `product.autoIncrement`, COALESCE(`product`.`active`, `product.parent`.`active`) as `product.active`, `product`.`available_stock` as `product.availableStock`, `product`.`available` as `product.available`, COALESCE(`product`.`is_closeout`, `product.parent`.`is_closeout`) as `product.isCloseout`, `product`.`display_group` as `product.displayGroup`, `product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`, COALESCE(`product`.`configurator_group_config`, `product.parent`.`configurator_group_config`) as `product.configuratorGroupConfig`, COALESCE(`product`.`main_variant_id`, `product.parent`.`main_variant_id`) as `product.mainVariantId`, COALESCE(`product`.`display_parent`, `product.parent`.`display_parent`) as `product.displayParent`, `product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`, COALESCE(`product`.`variant_listing_config`, `product.parent`.`variant_listing_config`) as `product.variantListingConfig`, `product`.`variant_restrictions` as `product.variantRestrictions`, COALESCE(`product`.`manufacturer_number`, `product.parent`.`manufacturer_number`) as `product.manufacturerNumber`, COALESCE(`product`.`ean`, `product.parent`.`ean`) as `product.ean`, COALESCE(`product`.`purchase_steps`, `product.parent`.`purchase_steps`) as `product.purchaseSteps`, COALESCE(`product`.`max_purchase`, `product.parent`.`max_purchase`) as `product.maxPurchase`, COALESCE(`product`.`min_purchase`, `product.parent`.`min_purchase`) as `product.minPurchase`, COALESCE(`product`.`purchase_unit`, `product.parent`.`purchase_unit`) as `product.purchaseUnit`, COALESCE(`product`.`reference_unit`, `product.parent`.`reference_unit`) as `product.referenceUnit`, COALESCE(`product`.`shipping_free`, `product.parent`.`shipping_free`) as `product.shippingFree`, `product.parent`.`purchase_prices` as `product.purchasePrices.inherited`, COALESCE(`product`.`purchase_prices`, `product.parent`.`purchase_prices`) as `product.purchasePrices`, COALESCE(`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`) as `product.markAsTopseller`, COALESCE(`product`.`weight`, `product.parent`.`weight`) as `product.weight`, COALESCE(`product`.`width`, `product.parent`.`width`) as `product.width`, COALESCE(`product`.`height`, `product.parent`.`height`) as `product.height`, COALESCE(`product`.`length`, `product.parent`.`length`) as `product.length`, COALESCE(`product`.`release_date`, `product.parent`.`release_date`) as `product.releaseDate`, COALESCE(`product`.`rating_average`, `product.parent`.`rating_average`) as `product.ratingAverage`, `product.parent`.`category_tree` as `product.categoryTree.inherited`, COALESCE(`product`.`category_tree`, `product.parent`.`category_tree`) as `product.categoryTree`, `product.parent`.`property_ids` as `product.propertyIds.inherited`, COALESCE(`product`.`property_ids`, `product.parent`.`property_ids`) as `product.propertyIds`, `product.parent`.`option_ids` as `product.optionIds.inherited`, COALESCE(`product`.`option_ids`, `product.parent`.`option_ids`) as `product.optionIds`, `product.parent`.`stream_ids` as `product.streamIds.inherited`, COALESCE(`product`.`stream_ids`, `product.parent`.`stream_ids`) as `product.streamIds`, `product.parent`.`tag_ids` as `product.tagIds.inherited`, COALESCE(`product`.`tag_ids`, `product.parent`.`tag_ids`) as `product.tagIds`, `product.parent`.`category_ids` as `product.categoryIds.inherited`, COALESCE(`product`.`category_ids`, `product.parent`.`category_ids`) as `product.categoryIds`, `product`.`child_count` as `product.childCount`, COALESCE(`product`.`custom_field_set_selection_active`, `product.parent`.`custom_field_set_selection_active`) as `product.customFieldSetSelectionActive`, `product`.`sales` as `product.sales`, `product`.`states` as `product.states`, `product.tax`.`id` as `product.tax.id`, `product.tax`.`tax_rate` as `product.tax.taxRate`, `product.tax`.`name` as `product.tax.name`, `product.tax`.`position` as `product.tax.position`, `product.tax`.`custom_fields` as `product.tax.customFields`, `product.tax`.`created_at` as `product.tax.createdAt`, `product.tax`.`updated_at` as `product.tax.updatedAt`, `product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`, COALESCE(`product`.`cheapest_price`, `product.parent`.`cheapest_price`) as `product.cheapestPrice`, `product`.`created_at` as `product.createdAt`, `product`.`updated_at` as `product.updatedAt`, `product.bundle`.`id` as `product.bundle.id`, `product.bundle`.`product_id` as `product.bundle.productId`, `product.bundle`.`product_version_id` as `product.bundle.productVersionId`, `product.bundle`.`name` as `product.bundle.name`, `product.bundle`.`price_type` as `product.bundle.priceType`, `product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`, `product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`, `product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`, `product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`, `product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`, `product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`, `product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`, `product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`, `product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`, `product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`, `product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`, `product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`, `product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`, `product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`, `product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`, `product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`, `product.bundle`.`created_at` as `product.bundle.createdAt`, `product.bundle`.`updated_at` as `product.bundle.updatedAt`, `product.cover`.`id` as `product.cover.id`, `product.cover`.`version_id` as `product.cover.versionId`, `product.cover`.`product_id` as `product.cover.productId`, `product.cover`.`product_version_id` as `product.cover.productVersionId`, `product.cover`.`media_id` as `product.cover.mediaId`, `product.cover`.`position` as `product.cover.position`, `product.cover.media`.`id` as `product.cover.media.id`, `product.cover.media`.`user_id` as `product.cover.media.userId`, `product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`, `product.cover.media`.`mime_type` as `product.cover.media.mimeType`, `product.cover.media`.`file_extension` as `product.cover.media.fileExtension`, `product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`, `product.cover.media`.`file_name` as `product.cover.media.fileName`, `product.cover.media`.`file_size` as `product.cover.media.fileSize`, `product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`, `product.cover.media`.`meta_data` as `product.cover.media.metaData`, `product.cover.media`.`private` as `product.cover.media.private`, `product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`, `product.cover.media`.`created_at` as `product.cover.media.createdAt`, `product.cover.media`.`updated_at` as `product.cover.media.updatedAt`, `product.cover.media.translation.title`, COALESCE(`product.cover.media.translation.title`,`product.cover.media.translation.title`) as `product.cover.media.title`, `product.cover.media.translation.alt`, COALESCE(`product.cover.media.translation.alt`,`product.cover.media.translation.alt`) as `product.cover.media.alt`, `product.cover.media.translation.customFields`, COALESCE(`product.cover.media.translation.customFields`,`product.cover.media.translation.customFields`) as `product.cover.media.customFields`, `product.cover.media.translation.createdAt`, `product.cover.media.translation.updatedAt`, `product.cover.media.translation.mediaId`, `product.cover.media.translation.languageId`, `product.cover`.`custom_fields` as `product.cover.customFields`, `product.cover`.`created_at` as `product.cover.createdAt`, `product.cover`.`updated_at` as `product.cover.updatedAt`, `product.translation.metaDescription`, `product.parent.translation.metaDescription`, COALESCE(`product.translation.metaDescription`,`product.parent.translation.metaDescription`,`product.translation.metaDescription`) as `product.metaDescription`, `product.translation.name`, `product.parent.translation.name`, COALESCE(`product.translation.name`,`product.parent.translation.name`,`product.translation.name`) as `product.name`, `product.translation.keywords`, `product.parent.translation.keywords`, COALESCE(`product.translation.keywords`,`product.parent.translation.keywords`,`product.translation.keywords`) as `product.keywords`, `product.translation.description`, `product.parent.translation.description`, COALESCE(`product.translation.description`,`product.parent.translation.description`,`product.translation.description`) as `product.description`, `product.translation.metaTitle`, `product.parent.translation.metaTitle`, COALESCE(`product.translation.metaTitle`,`product.parent.translation.metaTitle`,`product.translation.metaTitle`) as `product.metaTitle`, `product.translation.packUnit`, `product.parent.translation.packUnit`, COALESCE(`product.translation.packUnit`,`product.parent.translation.packUnit`,`product.translation.packUnit`) as `product.packUnit`, `product.translation.packUnitPlural`, `product.parent.translation.packUnitPlural`, COALESCE(`product.translation.packUnitPlural`,`product.parent.translation.packUnitPlural`,`product.translation.packUnitPlural`) as `product.packUnitPlural`, `product.translation.customSearchKeywords`, `product.parent.translation.customSearchKeywords`, COALESCE(`product.translation.customSearchKeywords`,`product.parent.translation.customSearchKeywords`,`product.translation.customSearchKeywords`) as `product.customSearchKeywords`, `product.translation.slotConfig`, `product.parent.translation.slotConfig`, COALESCE(`product.translation.slotConfig`,`product.parent.translation.slotConfig`,`product.translation.slotConfig`) as `product.slotConfig`, `product.translation.customFields`, `product.parent.translation.customFields`, COALESCE(`product.translation.customFields`,`product.parent.translation.customFields`,`product.translation.customFields`) as `product.customFields`, `product.translation.createdAt`, `product.parent.translation.createdAt`, `product.translation.updatedAt`, `product.parent.translation.updatedAt`, `product.translation.productId`, `product.parent.translation.productId`, `product.translation.languageId`, `product.parent.translation.languageId`, `product.translation.productVersionId`, `product.parent.translation.productVersionId` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN (SELECT `product.translation`.product_id, `product.translation`.product_version_id, `product.translation`.meta_description as `product.translation.metaDescription`, `product.translation`.name as `product.translation.name`, `product.translation`.keywords as `product.translation.keywords`, `product.translation`.description as `product.translation.description`, `product.translation`.meta_title as `product.translation.metaTitle`, `product.translation`.pack_unit as `product.translation.packUnit`, `product.translation`.pack_unit_plural as `product.translation.packUnitPlural`, `product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`, `product.translation`.slot_config as `product.translation.slotConfig`, `product.translation`.custom_fields as `product.translation.customFields`, `product.translation`.created_at as `product.translation.createdAt`, `product.translation`.updated_at as `product.translation.updatedAt`, `product.translation`.product_id as `product.translation.productId`, `product.translation`.language_id as `product.translation.languageId`, `product.translation`.product_version_id as `product.translation.productVersionId` FROM `product_translation` `product.translation` WHERE `product.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id` AND `product.product_translation`.product_version_id = `product`.version_id LEFT JOIN (SELECT `product.parent.translation`.product_id, `product.parent.translation`.product_version_id, `product.parent.translation`.meta_description as `product.parent.translation.metaDescription`, `product.parent.translation`.name as `product.parent.translation.name`, `product.parent.translation`.keywords as `product.parent.translation.keywords`, `product.parent.translation`.description as `product.parent.translation.description`, `product.parent.translation`.meta_title as `product.parent.translation.metaTitle`, `product.parent.translation`.pack_unit as `product.parent.translation.packUnit`, `product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`, `product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`, `product.parent.translation`.slot_config as `product.parent.translation.slotConfig`, `product.parent.translation`.custom_fields as `product.parent.translation.customFields`, `product.parent.translation`.created_at as `product.parent.translation.createdAt`, `product.parent.translation`.updated_at as `product.parent.translation.updatedAt`, `product.parent.translation`.product_id as `product.parent.translation.productId`, `product.parent.translation`.language_id as `product.parent.translation.languageId`, `product.parent.translation`.product_version_id as `product.parent.translation.productVersionId` FROM `product_translation` `product.parent.translation` WHERE `product.parent.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id` AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id` LEFT JOIN `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_id` LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id` AND `product`.`version_id` = `product.cover`.`version_id` LEFT JOIN `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`id` LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id` LEFT JOIN (SELECT `product.cover.media.translation`.media_id, `product.cover.media.translation`.title as `product.cover.media.translation.title`, `product.cover.media.translation`.alt as `product.cover.media.translation.alt`, `product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`, `product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`, `product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`, `product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`, `product.cover.media.translation`.language_id as `product.cover.media.translation.languageId` FROM `media_translation` `product.cover.media.translation` WHERE `product.cover.media.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id` WHERE (`product`.`version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425) AND (`product`.`id` IN (0x7E400E2572B447458789E1E3EDFAB37F));
array:51 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 316)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetch (line 148)"
4 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 93)"
5 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::read (line 257)"
6 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::read (line 286)"
7 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::_search (line 106)"
8 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::search (line 51)"
9 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepositoryForwardCompatibilityDecorator::search (line 103)"
10 => "Bodymed\Webshop\StoreFront\Subscriber\ProductExtensionSubscriber::addParentCover (line 230)"
11 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
12 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
13 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
14 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
15 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
16 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 33)"
17 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
18 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 208)"
19 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::read (line 133)"
20 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 49)"
21 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariantsOfProduct (line 30)"
22 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariants (line 224)"
23 => "Bodymed\Webshop\Core\Content\Product\Cms\ProductSliderCmsElementResolver::enrich (line 99)"
24 => "Shopware\Core\Content\Cms\DataResolver\CmsSlotsDataResolver::resolve (line 104)"
25 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::loadSlotData (line 94)"
26 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::load (line 102)"
27 => "Shopware\Core\Content\Category\SalesChannel\CategoryRoute::load (line 103)"
28 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 350)"
29 => "Shopware\Core\System\SystemConfig\SystemConfigService::trace (line 44)"
30 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 120)"
31 => "Shopware\Core\Framework\Adapter\Translation\Translator::trace (line 45)"
32 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 46)"
33 => "Shopware\Core\Framework\Adapter\Cache\CacheTagCollection::trace (line 46)"
34 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::trace (line 41)"
35 => "Shopware\Storefront\Framework\Cache\CacheTracer::Shopware\Storefront\Framework\Cache\{closure} (line 59)"
36 => "Shopware\Storefront\Theme\ThemeConfigValueAccessor::trace (line 42)"
37 => "Shopware\Storefront\Framework\Cache\CacheTracer::trace (line 104)"
38 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 72)"
39 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
40 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 109)"
41 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 59)"
42 => "Shopware\Core\Profiling\Profiler::trace (line 112)"
43 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::load (line 66)"
44 => "Shopware\Storefront\Page\Navigation\NavigationPageLoader::load (line 48)"
45 => "Shopware\Storefront\Controller\NavigationController::home (line 163)"
46 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
47 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
48 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
49 => "Shopware\Core\HttpKernel::doHandle (line 81)"
50 => "Shopware\Core\HttpKernel::handle (line 75)"
]
|
111 |
0.71 ms |
SELECT * FROM sales_channel_api_context WHERE (sales_channel_id = :salesChannelId) AND (token = :token) LIMIT 1
SELECT * FROM sales_channel_api_context WHERE (sales_channel_id = 0x620A2217F7474E619CB00AD39E804CCA) AND (token = 'FwsxT47353Zxmr7lp0KSfYcVNkg5VpYR') LIMIT 1;
array:58 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 165)"
3 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextPersister::load (line 69)"
4 => "Bodymed\Webshop\Core\Subscriber\ProductSubscriber::addCustomerProductFeatureExtension (line 230)"
5 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
6 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
7 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
8 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
9 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
10 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 33)"
11 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
12 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 269)"
13 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::read (line 286)"
14 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::_search (line 106)"
15 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::search (line 51)"
16 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepositoryForwardCompatibilityDecorator::search (line 103)"
17 => "Bodymed\Webshop\StoreFront\Subscriber\ProductExtensionSubscriber::addParentCover (line 230)"
18 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
19 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
20 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
21 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
22 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
23 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 33)"
24 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
25 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 208)"
26 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::read (line 133)"
27 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 49)"
28 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariantsOfProduct (line 30)"
29 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariants (line 224)"
30 => "Bodymed\Webshop\Core\Content\Product\Cms\ProductSliderCmsElementResolver::enrich (line 99)"
31 => "Shopware\Core\Content\Cms\DataResolver\CmsSlotsDataResolver::resolve (line 104)"
32 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::loadSlotData (line 94)"
33 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::load (line 102)"
34 => "Shopware\Core\Content\Category\SalesChannel\CategoryRoute::load (line 103)"
35 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 350)"
36 => "Shopware\Core\System\SystemConfig\SystemConfigService::trace (line 44)"
37 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 120)"
38 => "Shopware\Core\Framework\Adapter\Translation\Translator::trace (line 45)"
39 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 46)"
40 => "Shopware\Core\Framework\Adapter\Cache\CacheTagCollection::trace (line 46)"
41 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::trace (line 41)"
42 => "Shopware\Storefront\Framework\Cache\CacheTracer::Shopware\Storefront\Framework\Cache\{closure} (line 59)"
43 => "Shopware\Storefront\Theme\ThemeConfigValueAccessor::trace (line 42)"
44 => "Shopware\Storefront\Framework\Cache\CacheTracer::trace (line 104)"
45 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 72)"
46 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
47 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 109)"
48 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 59)"
49 => "Shopware\Core\Profiling\Profiler::trace (line 112)"
50 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::load (line 66)"
51 => "Shopware\Storefront\Page\Navigation\NavigationPageLoader::load (line 48)"
52 => "Shopware\Storefront\Controller\NavigationController::home (line 163)"
53 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
54 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
55 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
56 => "Shopware\Core\HttpKernel::doHandle (line 81)"
57 => "Shopware\Core\HttpKernel::handle (line 75)"
]
|
112 |
27.26 ms |
SELECT `product`.`id` as `product.id`, `product`.`version_id` as `product.versionId`, `product`.`parent_id` as `product.parentId`, `product`.`parent_version_id` as `product.parentVersionId`, COALESCE(`product`.`product_manufacturer_id`, `product.parent`.`product_manufacturer_id`) as `product.manufacturerId`, COALESCE(`product`.`product_manufacturer_version_id`, `product.parent`.`product_manufacturer_version_id`) as `product.productManufacturerVersionId`, COALESCE(`product`.`unit_id`, `product.parent`.`unit_id`) as `product.unitId`, COALESCE(`product`.`tax_id`, `product.parent`.`tax_id`) as `product.taxId`, COALESCE(`product`.`product_media_id`, `product.parent`.`product_media_id`) as `product.coverId`, COALESCE(`product`.`product_media_version_id`, `product.parent`.`product_media_version_id`) as `product.productMediaVersionId`, COALESCE(`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`) as `product.deliveryTimeId`, COALESCE(`product`.`product_feature_set_id`, `product.parent`.`product_feature_set_id`) as `product.featureSetId`, COALESCE(`product`.`canonical_product_id`, `product.parent`.`canonical_product_id`) as `product.canonicalProductId`, COALESCE(`product`.`cms_page_id`, `product.parent`.`cms_page_id`) as `product.cmsPageId`, COALESCE(`product`.`cms_page_version_id`, `product.parent`.`cms_page_version_id`) as `product.cmsPageVersionId`, `product.parent`.`price` as `product.price.inherited`, COALESCE(`product`.`price`, `product.parent`.`price`) as `product.price`, `product`.`product_number` as `product.productNumber`, `product`.`stock` as `product.stock`, COALESCE(`product`.`restock_time`, `product.parent`.`restock_time`) as `product.restockTime`, `product`.`auto_increment` as `product.autoIncrement`, COALESCE(`product`.`active`, `product.parent`.`active`) as `product.active`, `product`.`available_stock` as `product.availableStock`, `product`.`available` as `product.available`, COALESCE(`product`.`is_closeout`, `product.parent`.`is_closeout`) as `product.isCloseout`, `product`.`display_group` as `product.displayGroup`, `product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`, COALESCE(`product`.`configurator_group_config`, `product.parent`.`configurator_group_config`) as `product.configuratorGroupConfig`, COALESCE(`product`.`main_variant_id`, `product.parent`.`main_variant_id`) as `product.mainVariantId`, COALESCE(`product`.`display_parent`, `product.parent`.`display_parent`) as `product.displayParent`, `product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`, COALESCE(`product`.`variant_listing_config`, `product.parent`.`variant_listing_config`) as `product.variantListingConfig`, `product`.`variant_restrictions` as `product.variantRestrictions`, COALESCE(`product`.`manufacturer_number`, `product.parent`.`manufacturer_number`) as `product.manufacturerNumber`, COALESCE(`product`.`ean`, `product.parent`.`ean`) as `product.ean`, COALESCE(`product`.`purchase_steps`, `product.parent`.`purchase_steps`) as `product.purchaseSteps`, COALESCE(`product`.`max_purchase`, `product.parent`.`max_purchase`) as `product.maxPurchase`, COALESCE(`product`.`min_purchase`, `product.parent`.`min_purchase`) as `product.minPurchase`, COALESCE(`product`.`purchase_unit`, `product.parent`.`purchase_unit`) as `product.purchaseUnit`, COALESCE(`product`.`reference_unit`, `product.parent`.`reference_unit`) as `product.referenceUnit`, COALESCE(`product`.`shipping_free`, `product.parent`.`shipping_free`) as `product.shippingFree`, `product.parent`.`purchase_prices` as `product.purchasePrices.inherited`, COALESCE(`product`.`purchase_prices`, `product.parent`.`purchase_prices`) as `product.purchasePrices`, COALESCE(`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`) as `product.markAsTopseller`, COALESCE(`product`.`weight`, `product.parent`.`weight`) as `product.weight`, COALESCE(`product`.`width`, `product.parent`.`width`) as `product.width`, COALESCE(`product`.`height`, `product.parent`.`height`) as `product.height`, COALESCE(`product`.`length`, `product.parent`.`length`) as `product.length`, COALESCE(`product`.`release_date`, `product.parent`.`release_date`) as `product.releaseDate`, COALESCE(`product`.`rating_average`, `product.parent`.`rating_average`) as `product.ratingAverage`, `product.parent`.`category_tree` as `product.categoryTree.inherited`, COALESCE(`product`.`category_tree`, `product.parent`.`category_tree`) as `product.categoryTree`, `product.parent`.`property_ids` as `product.propertyIds.inherited`, COALESCE(`product`.`property_ids`, `product.parent`.`property_ids`) as `product.propertyIds`, `product.parent`.`option_ids` as `product.optionIds.inherited`, COALESCE(`product`.`option_ids`, `product.parent`.`option_ids`) as `product.optionIds`, `product.parent`.`stream_ids` as `product.streamIds.inherited`, COALESCE(`product`.`stream_ids`, `product.parent`.`stream_ids`) as `product.streamIds`, `product.parent`.`tag_ids` as `product.tagIds.inherited`, COALESCE(`product`.`tag_ids`, `product.parent`.`tag_ids`) as `product.tagIds`, `product.parent`.`category_ids` as `product.categoryIds.inherited`, COALESCE(`product`.`category_ids`, `product.parent`.`category_ids`) as `product.categoryIds`, `product`.`child_count` as `product.childCount`, COALESCE(`product`.`custom_field_set_selection_active`, `product.parent`.`custom_field_set_selection_active`) as `product.customFieldSetSelectionActive`, `product`.`sales` as `product.sales`, `product`.`states` as `product.states`, `product.tax`.`id` as `product.tax.id`, `product.tax`.`tax_rate` as `product.tax.taxRate`, `product.tax`.`name` as `product.tax.name`, `product.tax`.`position` as `product.tax.position`, `product.tax`.`custom_fields` as `product.tax.customFields`, `product.tax`.`created_at` as `product.tax.createdAt`, `product.tax`.`updated_at` as `product.tax.updatedAt`, `product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`, COALESCE(`product`.`cheapest_price`, `product.parent`.`cheapest_price`) as `product.cheapestPrice`, `product`.`created_at` as `product.createdAt`, `product`.`updated_at` as `product.updatedAt`, `product.bundle`.`id` as `product.bundle.id`, `product.bundle`.`product_id` as `product.bundle.productId`, `product.bundle`.`product_version_id` as `product.bundle.productVersionId`, `product.bundle`.`name` as `product.bundle.name`, `product.bundle`.`price_type` as `product.bundle.priceType`, `product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`, `product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`, `product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`, `product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`, `product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`, `product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`, `product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`, `product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`, `product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`, `product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`, `product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`, `product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`, `product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`, `product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`, `product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`, `product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`, `product.bundle`.`created_at` as `product.bundle.createdAt`, `product.bundle`.`updated_at` as `product.bundle.updatedAt`, `product.cover`.`id` as `product.cover.id`, `product.cover`.`version_id` as `product.cover.versionId`, `product.cover`.`product_id` as `product.cover.productId`, `product.cover`.`product_version_id` as `product.cover.productVersionId`, `product.cover`.`media_id` as `product.cover.mediaId`, `product.cover`.`position` as `product.cover.position`, `product.cover.media`.`id` as `product.cover.media.id`, `product.cover.media`.`user_id` as `product.cover.media.userId`, `product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`, `product.cover.media`.`mime_type` as `product.cover.media.mimeType`, `product.cover.media`.`file_extension` as `product.cover.media.fileExtension`, `product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`, `product.cover.media`.`file_name` as `product.cover.media.fileName`, `product.cover.media`.`file_size` as `product.cover.media.fileSize`, `product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`, `product.cover.media`.`meta_data` as `product.cover.media.metaData`, `product.cover.media`.`private` as `product.cover.media.private`, `product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`, `product.cover.media`.`created_at` as `product.cover.media.createdAt`, `product.cover.media`.`updated_at` as `product.cover.media.updatedAt`, `product.cover.media.translation.title`, COALESCE(`product.cover.media.translation.title`,`product.cover.media.translation.title`) as `product.cover.media.title`, `product.cover.media.translation.alt`, COALESCE(`product.cover.media.translation.alt`,`product.cover.media.translation.alt`) as `product.cover.media.alt`, `product.cover.media.translation.customFields`, COALESCE(`product.cover.media.translation.customFields`,`product.cover.media.translation.customFields`) as `product.cover.media.customFields`, `product.cover.media.translation.createdAt`, `product.cover.media.translation.updatedAt`, `product.cover.media.translation.mediaId`, `product.cover.media.translation.languageId`, `product.cover`.`custom_fields` as `product.cover.customFields`, `product.cover`.`created_at` as `product.cover.createdAt`, `product.cover`.`updated_at` as `product.cover.updatedAt`, `product.translation.metaDescription`, `product.parent.translation.metaDescription`, COALESCE(`product.translation.metaDescription`,`product.parent.translation.metaDescription`,`product.translation.metaDescription`) as `product.metaDescription`, `product.translation.name`, `product.parent.translation.name`, COALESCE(`product.translation.name`,`product.parent.translation.name`,`product.translation.name`) as `product.name`, `product.translation.keywords`, `product.parent.translation.keywords`, COALESCE(`product.translation.keywords`,`product.parent.translation.keywords`,`product.translation.keywords`) as `product.keywords`, `product.translation.description`, `product.parent.translation.description`, COALESCE(`product.translation.description`,`product.parent.translation.description`,`product.translation.description`) as `product.description`, `product.translation.metaTitle`, `product.parent.translation.metaTitle`, COALESCE(`product.translation.metaTitle`,`product.parent.translation.metaTitle`,`product.translation.metaTitle`) as `product.metaTitle`, `product.translation.packUnit`, `product.parent.translation.packUnit`, COALESCE(`product.translation.packUnit`,`product.parent.translation.packUnit`,`product.translation.packUnit`) as `product.packUnit`, `product.translation.packUnitPlural`, `product.parent.translation.packUnitPlural`, COALESCE(`product.translation.packUnitPlural`,`product.parent.translation.packUnitPlural`,`product.translation.packUnitPlural`) as `product.packUnitPlural`, `product.translation.customSearchKeywords`, `product.parent.translation.customSearchKeywords`, COALESCE(`product.translation.customSearchKeywords`,`product.parent.translation.customSearchKeywords`,`product.translation.customSearchKeywords`) as `product.customSearchKeywords`, `product.translation.slotConfig`, `product.parent.translation.slotConfig`, COALESCE(`product.translation.slotConfig`,`product.parent.translation.slotConfig`,`product.translation.slotConfig`) as `product.slotConfig`, `product.translation.customFields`, `product.parent.translation.customFields`, COALESCE(`product.translation.customFields`,`product.parent.translation.customFields`,`product.translation.customFields`) as `product.customFields`, `product.translation.createdAt`, `product.parent.translation.createdAt`, `product.translation.updatedAt`, `product.parent.translation.updatedAt`, `product.translation.productId`, `product.parent.translation.productId`, `product.translation.languageId`, `product.parent.translation.languageId`, `product.translation.productVersionId`, `product.parent.translation.productVersionId` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN (SELECT `product.translation`.product_id, `product.translation`.product_version_id, `product.translation`.meta_description as `product.translation.metaDescription`, `product.translation`.name as `product.translation.name`, `product.translation`.keywords as `product.translation.keywords`, `product.translation`.description as `product.translation.description`, `product.translation`.meta_title as `product.translation.metaTitle`, `product.translation`.pack_unit as `product.translation.packUnit`, `product.translation`.pack_unit_plural as `product.translation.packUnitPlural`, `product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`, `product.translation`.slot_config as `product.translation.slotConfig`, `product.translation`.custom_fields as `product.translation.customFields`, `product.translation`.created_at as `product.translation.createdAt`, `product.translation`.updated_at as `product.translation.updatedAt`, `product.translation`.product_id as `product.translation.productId`, `product.translation`.language_id as `product.translation.languageId`, `product.translation`.product_version_id as `product.translation.productVersionId` FROM `product_translation` `product.translation` WHERE `product.translation`.language_id = :languageId) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id` AND `product.product_translation`.product_version_id = `product`.version_id LEFT JOIN (SELECT `product.parent.translation`.product_id, `product.parent.translation`.product_version_id, `product.parent.translation`.meta_description as `product.parent.translation.metaDescription`, `product.parent.translation`.name as `product.parent.translation.name`, `product.parent.translation`.keywords as `product.parent.translation.keywords`, `product.parent.translation`.description as `product.parent.translation.description`, `product.parent.translation`.meta_title as `product.parent.translation.metaTitle`, `product.parent.translation`.pack_unit as `product.parent.translation.packUnit`, `product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`, `product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`, `product.parent.translation`.slot_config as `product.parent.translation.slotConfig`, `product.parent.translation`.custom_fields as `product.parent.translation.customFields`, `product.parent.translation`.created_at as `product.parent.translation.createdAt`, `product.parent.translation`.updated_at as `product.parent.translation.updatedAt`, `product.parent.translation`.product_id as `product.parent.translation.productId`, `product.parent.translation`.language_id as `product.parent.translation.languageId`, `product.parent.translation`.product_version_id as `product.parent.translation.productVersionId` FROM `product_translation` `product.parent.translation` WHERE `product.parent.translation`.language_id = :languageId) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id` AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id` LEFT JOIN `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_id` LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id` AND `product`.`version_id` = `product.cover`.`version_id` LEFT JOIN `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`id` LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id` LEFT JOIN (SELECT `product.cover.media.translation`.media_id, `product.cover.media.translation`.title as `product.cover.media.translation.title`, `product.cover.media.translation`.alt as `product.cover.media.translation.alt`, `product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`, `product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`, `product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`, `product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`, `product.cover.media.translation`.language_id as `product.cover.media.translation.languageId` FROM `media_translation` `product.cover.media.translation` WHERE `product.cover.media.translation`.language_id = :languageId) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id` WHERE (`product`.`version_id` = :version) AND (`product`.`id` IN (:ids))
SELECT
`product`.`id` as `product.id`,
`product`.`version_id` as `product.versionId`,
`product`.`parent_id` as `product.parentId`,
`product`.`parent_version_id` as `product.parentVersionId`,
COALESCE(
`product`.`product_manufacturer_id`,
`product.parent`.`product_manufacturer_id`
) as `product.manufacturerId`,
COALESCE(
`product`.`product_manufacturer_version_id`,
`product.parent`.`product_manufacturer_version_id`
) as `product.productManufacturerVersionId`,
COALESCE(
`product`.`unit_id`, `product.parent`.`unit_id`
) as `product.unitId`,
COALESCE(
`product`.`tax_id`, `product.parent`.`tax_id`
) as `product.taxId`,
COALESCE(
`product`.`product_media_id`, `product.parent`.`product_media_id`
) as `product.coverId`,
COALESCE(
`product`.`product_media_version_id`,
`product.parent`.`product_media_version_id`
) as `product.productMediaVersionId`,
COALESCE(
`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`
) as `product.deliveryTimeId`,
COALESCE(
`product`.`product_feature_set_id`,
`product.parent`.`product_feature_set_id`
) as `product.featureSetId`,
COALESCE(
`product`.`canonical_product_id`,
`product.parent`.`canonical_product_id`
) as `product.canonicalProductId`,
COALESCE(
`product`.`cms_page_id`, `product.parent`.`cms_page_id`
) as `product.cmsPageId`,
COALESCE(
`product`.`cms_page_version_id`,
`product.parent`.`cms_page_version_id`
) as `product.cmsPageVersionId`,
`product.parent`.`price` as `product.price.inherited`,
COALESCE(
`product`.`price`, `product.parent`.`price`
) as `product.price`,
`product`.`product_number` as `product.productNumber`,
`product`.`stock` as `product.stock`,
COALESCE(
`product`.`restock_time`, `product.parent`.`restock_time`
) as `product.restockTime`,
`product`.`auto_increment` as `product.autoIncrement`,
COALESCE(
`product`.`active`, `product.parent`.`active`
) as `product.active`,
`product`.`available_stock` as `product.availableStock`,
`product`.`available` as `product.available`,
COALESCE(
`product`.`is_closeout`, `product.parent`.`is_closeout`
) as `product.isCloseout`,
`product`.`display_group` as `product.displayGroup`,
`product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`,
COALESCE(
`product`.`configurator_group_config`,
`product.parent`.`configurator_group_config`
) as `product.configuratorGroupConfig`,
COALESCE(
`product`.`main_variant_id`, `product.parent`.`main_variant_id`
) as `product.mainVariantId`,
COALESCE(
`product`.`display_parent`, `product.parent`.`display_parent`
) as `product.displayParent`,
`product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`,
COALESCE(
`product`.`variant_listing_config`,
`product.parent`.`variant_listing_config`
) as `product.variantListingConfig`,
`product`.`variant_restrictions` as `product.variantRestrictions`,
COALESCE(
`product`.`manufacturer_number`,
`product.parent`.`manufacturer_number`
) as `product.manufacturerNumber`,
COALESCE(
`product`.`ean`, `product.parent`.`ean`
) as `product.ean`,
COALESCE(
`product`.`purchase_steps`, `product.parent`.`purchase_steps`
) as `product.purchaseSteps`,
COALESCE(
`product`.`max_purchase`, `product.parent`.`max_purchase`
) as `product.maxPurchase`,
COALESCE(
`product`.`min_purchase`, `product.parent`.`min_purchase`
) as `product.minPurchase`,
COALESCE(
`product`.`purchase_unit`, `product.parent`.`purchase_unit`
) as `product.purchaseUnit`,
COALESCE(
`product`.`reference_unit`, `product.parent`.`reference_unit`
) as `product.referenceUnit`,
COALESCE(
`product`.`shipping_free`, `product.parent`.`shipping_free`
) as `product.shippingFree`,
`product.parent`.`purchase_prices` as `product.purchasePrices.inherited`,
COALESCE(
`product`.`purchase_prices`, `product.parent`.`purchase_prices`
) as `product.purchasePrices`,
COALESCE(
`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`
) as `product.markAsTopseller`,
COALESCE(
`product`.`weight`, `product.parent`.`weight`
) as `product.weight`,
COALESCE(
`product`.`width`, `product.parent`.`width`
) as `product.width`,
COALESCE(
`product`.`height`, `product.parent`.`height`
) as `product.height`,
COALESCE(
`product`.`length`, `product.parent`.`length`
) as `product.length`,
COALESCE(
`product`.`release_date`, `product.parent`.`release_date`
) as `product.releaseDate`,
COALESCE(
`product`.`rating_average`, `product.parent`.`rating_average`
) as `product.ratingAverage`,
`product.parent`.`category_tree` as `product.categoryTree.inherited`,
COALESCE(
`product`.`category_tree`, `product.parent`.`category_tree`
) as `product.categoryTree`,
`product.parent`.`property_ids` as `product.propertyIds.inherited`,
COALESCE(
`product`.`property_ids`, `product.parent`.`property_ids`
) as `product.propertyIds`,
`product.parent`.`option_ids` as `product.optionIds.inherited`,
COALESCE(
`product`.`option_ids`, `product.parent`.`option_ids`
) as `product.optionIds`,
`product.parent`.`stream_ids` as `product.streamIds.inherited`,
COALESCE(
`product`.`stream_ids`, `product.parent`.`stream_ids`
) as `product.streamIds`,
`product.parent`.`tag_ids` as `product.tagIds.inherited`,
COALESCE(
`product`.`tag_ids`, `product.parent`.`tag_ids`
) as `product.tagIds`,
`product.parent`.`category_ids` as `product.categoryIds.inherited`,
COALESCE(
`product`.`category_ids`, `product.parent`.`category_ids`
) as `product.categoryIds`,
`product`.`child_count` as `product.childCount`,
COALESCE(
`product`.`custom_field_set_selection_active`,
`product.parent`.`custom_field_set_selection_active`
) as `product.customFieldSetSelectionActive`,
`product`.`sales` as `product.sales`,
`product`.`states` as `product.states`,
`product.tax`.`id` as `product.tax.id`,
`product.tax`.`tax_rate` as `product.tax.taxRate`,
`product.tax`.`name` as `product.tax.name`,
`product.tax`.`position` as `product.tax.position`,
`product.tax`.`custom_fields` as `product.tax.customFields`,
`product.tax`.`created_at` as `product.tax.createdAt`,
`product.tax`.`updated_at` as `product.tax.updatedAt`,
`product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`,
COALESCE(
`product`.`cheapest_price`, `product.parent`.`cheapest_price`
) as `product.cheapestPrice`,
`product`.`created_at` as `product.createdAt`,
`product`.`updated_at` as `product.updatedAt`,
`product.bundle`.`id` as `product.bundle.id`,
`product.bundle`.`product_id` as `product.bundle.productId`,
`product.bundle`.`product_version_id` as `product.bundle.productVersionId`,
`product.bundle`.`name` as `product.bundle.name`,
`product.bundle`.`price_type` as `product.bundle.priceType`,
`product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`,
`product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`,
`product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`,
`product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`,
`product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`,
`product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`,
`product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`,
`product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`,
`product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`,
`product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`,
`product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`,
`product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`,
`product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`,
`product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`,
`product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`,
`product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`,
`product.bundle`.`created_at` as `product.bundle.createdAt`,
`product.bundle`.`updated_at` as `product.bundle.updatedAt`,
`product.cover`.`id` as `product.cover.id`,
`product.cover`.`version_id` as `product.cover.versionId`,
`product.cover`.`product_id` as `product.cover.productId`,
`product.cover`.`product_version_id` as `product.cover.productVersionId`,
`product.cover`.`media_id` as `product.cover.mediaId`,
`product.cover`.`position` as `product.cover.position`,
`product.cover.media`.`id` as `product.cover.media.id`,
`product.cover.media`.`user_id` as `product.cover.media.userId`,
`product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`,
`product.cover.media`.`mime_type` as `product.cover.media.mimeType`,
`product.cover.media`.`file_extension` as `product.cover.media.fileExtension`,
`product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`,
`product.cover.media`.`file_name` as `product.cover.media.fileName`,
`product.cover.media`.`file_size` as `product.cover.media.fileSize`,
`product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`,
`product.cover.media`.`meta_data` as `product.cover.media.metaData`,
`product.cover.media`.`private` as `product.cover.media.private`,
`product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`,
`product.cover.media`.`created_at` as `product.cover.media.createdAt`,
`product.cover.media`.`updated_at` as `product.cover.media.updatedAt`,
`product.cover.media.translation.title`,
COALESCE(
`product.cover.media.translation.title`,
`product.cover.media.translation.title`
) as `product.cover.media.title`,
`product.cover.media.translation.alt`,
COALESCE(
`product.cover.media.translation.alt`,
`product.cover.media.translation.alt`
) as `product.cover.media.alt`,
`product.cover.media.translation.customFields`,
COALESCE(
`product.cover.media.translation.customFields`,
`product.cover.media.translation.customFields`
) as `product.cover.media.customFields`,
`product.cover.media.translation.createdAt`,
`product.cover.media.translation.updatedAt`,
`product.cover.media.translation.mediaId`,
`product.cover.media.translation.languageId`,
`product.cover`.`custom_fields` as `product.cover.customFields`,
`product.cover`.`created_at` as `product.cover.createdAt`,
`product.cover`.`updated_at` as `product.cover.updatedAt`,
`product.translation.metaDescription`,
`product.parent.translation.metaDescription`,
COALESCE(
`product.translation.metaDescription`,
`product.parent.translation.metaDescription`,
`product.translation.metaDescription`
) as `product.metaDescription`,
`product.translation.name`,
`product.parent.translation.name`,
COALESCE(
`product.translation.name`, `product.parent.translation.name`,
`product.translation.name`
) as `product.name`,
`product.translation.keywords`,
`product.parent.translation.keywords`,
COALESCE(
`product.translation.keywords`,
`product.parent.translation.keywords`,
`product.translation.keywords`
) as `product.keywords`,
`product.translation.description`,
`product.parent.translation.description`,
COALESCE(
`product.translation.description`,
`product.parent.translation.description`,
`product.translation.description`
) as `product.description`,
`product.translation.metaTitle`,
`product.parent.translation.metaTitle`,
COALESCE(
`product.translation.metaTitle`,
`product.parent.translation.metaTitle`,
`product.translation.metaTitle`
) as `product.metaTitle`,
`product.translation.packUnit`,
`product.parent.translation.packUnit`,
COALESCE(
`product.translation.packUnit`,
`product.parent.translation.packUnit`,
`product.translation.packUnit`
) as `product.packUnit`,
`product.translation.packUnitPlural`,
`product.parent.translation.packUnitPlural`,
COALESCE(
`product.translation.packUnitPlural`,
`product.parent.translation.packUnitPlural`,
`product.translation.packUnitPlural`
) as `product.packUnitPlural`,
`product.translation.customSearchKeywords`,
`product.parent.translation.customSearchKeywords`,
COALESCE(
`product.translation.customSearchKeywords`,
`product.parent.translation.customSearchKeywords`,
`product.translation.customSearchKeywords`
) as `product.customSearchKeywords`,
`product.translation.slotConfig`,
`product.parent.translation.slotConfig`,
COALESCE(
`product.translation.slotConfig`,
`product.parent.translation.slotConfig`,
`product.translation.slotConfig`
) as `product.slotConfig`,
`product.translation.customFields`,
`product.parent.translation.customFields`,
COALESCE(
`product.translation.customFields`,
`product.parent.translation.customFields`,
`product.translation.customFields`
) as `product.customFields`,
`product.translation.createdAt`,
`product.parent.translation.createdAt`,
`product.translation.updatedAt`,
`product.parent.translation.updatedAt`,
`product.translation.productId`,
`product.parent.translation.productId`,
`product.translation.languageId`,
`product.parent.translation.languageId`,
`product.translation.productVersionId`,
`product.parent.translation.productVersionId`
FROM
`product`
LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id`
AND `product`.`version_id` = `product.parent`.`version_id`
LEFT JOIN (
SELECT
`product.translation`.product_id,
`product.translation`.product_version_id,
`product.translation`.meta_description as `product.translation.metaDescription`,
`product.translation`.name as `product.translation.name`,
`product.translation`.keywords as `product.translation.keywords`,
`product.translation`.description as `product.translation.description`,
`product.translation`.meta_title as `product.translation.metaTitle`,
`product.translation`.pack_unit as `product.translation.packUnit`,
`product.translation`.pack_unit_plural as `product.translation.packUnitPlural`,
`product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`,
`product.translation`.slot_config as `product.translation.slotConfig`,
`product.translation`.custom_fields as `product.translation.customFields`,
`product.translation`.created_at as `product.translation.createdAt`,
`product.translation`.updated_at as `product.translation.updatedAt`,
`product.translation`.product_id as `product.translation.productId`,
`product.translation`.language_id as `product.translation.languageId`,
`product.translation`.product_version_id as `product.translation.productVersionId`
FROM
`product_translation` `product.translation`
WHERE
`product.translation`.language_id = : languageId
) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id`
AND `product.product_translation`.product_version_id = `product`.version_id
LEFT JOIN (
SELECT
`product.parent.translation`.product_id,
`product.parent.translation`.product_version_id,
`product.parent.translation`.meta_description as `product.parent.translation.metaDescription`,
`product.parent.translation`.name as `product.parent.translation.name`,
`product.parent.translation`.keywords as `product.parent.translation.keywords`,
`product.parent.translation`.description as `product.parent.translation.description`,
`product.parent.translation`.meta_title as `product.parent.translation.metaTitle`,
`product.parent.translation`.pack_unit as `product.parent.translation.packUnit`,
`product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`,
`product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`,
`product.parent.translation`.slot_config as `product.parent.translation.slotConfig`,
`product.parent.translation`.custom_fields as `product.parent.translation.customFields`,
`product.parent.translation`.created_at as `product.parent.translation.createdAt`,
`product.parent.translation`.updated_at as `product.parent.translation.updatedAt`,
`product.parent.translation`.product_id as `product.parent.translation.productId`,
`product.parent.translation`.language_id as `product.parent.translation.languageId`,
`product.parent.translation`.product_version_id as `product.parent.translation.productVersionId`
FROM
`product_translation` `product.parent.translation`
WHERE
`product.parent.translation`.language_id = : languageId
) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id`
AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id
LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id`
LEFT JOIN `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_id`
LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id`
AND `product`.`version_id` = `product.cover`.`version_id`
LEFT JOIN `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id`
LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id`
LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`id`
LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id`
LEFT JOIN (
SELECT
`product.cover.media.translation`.media_id,
`product.cover.media.translation`.title as `product.cover.media.translation.title`,
`product.cover.media.translation`.alt as `product.cover.media.translation.alt`,
`product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`,
`product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`,
`product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`,
`product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`,
`product.cover.media.translation`.language_id as `product.cover.media.translation.languageId`
FROM
`media_translation` `product.cover.media.translation`
WHERE
`product.cover.media.translation`.language_id = : languageId
) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id`
WHERE
(
`product`.`version_id` = : version
)
AND (
`product`.`id` IN (: ids)
)
SELECT `product`.`id` as `product.id`, `product`.`version_id` as `product.versionId`, `product`.`parent_id` as `product.parentId`, `product`.`parent_version_id` as `product.parentVersionId`, COALESCE(`product`.`product_manufacturer_id`, `product.parent`.`product_manufacturer_id`) as `product.manufacturerId`, COALESCE(`product`.`product_manufacturer_version_id`, `product.parent`.`product_manufacturer_version_id`) as `product.productManufacturerVersionId`, COALESCE(`product`.`unit_id`, `product.parent`.`unit_id`) as `product.unitId`, COALESCE(`product`.`tax_id`, `product.parent`.`tax_id`) as `product.taxId`, COALESCE(`product`.`product_media_id`, `product.parent`.`product_media_id`) as `product.coverId`, COALESCE(`product`.`product_media_version_id`, `product.parent`.`product_media_version_id`) as `product.productMediaVersionId`, COALESCE(`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`) as `product.deliveryTimeId`, COALESCE(`product`.`product_feature_set_id`, `product.parent`.`product_feature_set_id`) as `product.featureSetId`, COALESCE(`product`.`canonical_product_id`, `product.parent`.`canonical_product_id`) as `product.canonicalProductId`, COALESCE(`product`.`cms_page_id`, `product.parent`.`cms_page_id`) as `product.cmsPageId`, COALESCE(`product`.`cms_page_version_id`, `product.parent`.`cms_page_version_id`) as `product.cmsPageVersionId`, `product.parent`.`price` as `product.price.inherited`, COALESCE(`product`.`price`, `product.parent`.`price`) as `product.price`, `product`.`product_number` as `product.productNumber`, `product`.`stock` as `product.stock`, COALESCE(`product`.`restock_time`, `product.parent`.`restock_time`) as `product.restockTime`, `product`.`auto_increment` as `product.autoIncrement`, COALESCE(`product`.`active`, `product.parent`.`active`) as `product.active`, `product`.`available_stock` as `product.availableStock`, `product`.`available` as `product.available`, COALESCE(`product`.`is_closeout`, `product.parent`.`is_closeout`) as `product.isCloseout`, `product`.`display_group` as `product.displayGroup`, `product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`, COALESCE(`product`.`configurator_group_config`, `product.parent`.`configurator_group_config`) as `product.configuratorGroupConfig`, COALESCE(`product`.`main_variant_id`, `product.parent`.`main_variant_id`) as `product.mainVariantId`, COALESCE(`product`.`display_parent`, `product.parent`.`display_parent`) as `product.displayParent`, `product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`, COALESCE(`product`.`variant_listing_config`, `product.parent`.`variant_listing_config`) as `product.variantListingConfig`, `product`.`variant_restrictions` as `product.variantRestrictions`, COALESCE(`product`.`manufacturer_number`, `product.parent`.`manufacturer_number`) as `product.manufacturerNumber`, COALESCE(`product`.`ean`, `product.parent`.`ean`) as `product.ean`, COALESCE(`product`.`purchase_steps`, `product.parent`.`purchase_steps`) as `product.purchaseSteps`, COALESCE(`product`.`max_purchase`, `product.parent`.`max_purchase`) as `product.maxPurchase`, COALESCE(`product`.`min_purchase`, `product.parent`.`min_purchase`) as `product.minPurchase`, COALESCE(`product`.`purchase_unit`, `product.parent`.`purchase_unit`) as `product.purchaseUnit`, COALESCE(`product`.`reference_unit`, `product.parent`.`reference_unit`) as `product.referenceUnit`, COALESCE(`product`.`shipping_free`, `product.parent`.`shipping_free`) as `product.shippingFree`, `product.parent`.`purchase_prices` as `product.purchasePrices.inherited`, COALESCE(`product`.`purchase_prices`, `product.parent`.`purchase_prices`) as `product.purchasePrices`, COALESCE(`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`) as `product.markAsTopseller`, COALESCE(`product`.`weight`, `product.parent`.`weight`) as `product.weight`, COALESCE(`product`.`width`, `product.parent`.`width`) as `product.width`, COALESCE(`product`.`height`, `product.parent`.`height`) as `product.height`, COALESCE(`product`.`length`, `product.parent`.`length`) as `product.length`, COALESCE(`product`.`release_date`, `product.parent`.`release_date`) as `product.releaseDate`, COALESCE(`product`.`rating_average`, `product.parent`.`rating_average`) as `product.ratingAverage`, `product.parent`.`category_tree` as `product.categoryTree.inherited`, COALESCE(`product`.`category_tree`, `product.parent`.`category_tree`) as `product.categoryTree`, `product.parent`.`property_ids` as `product.propertyIds.inherited`, COALESCE(`product`.`property_ids`, `product.parent`.`property_ids`) as `product.propertyIds`, `product.parent`.`option_ids` as `product.optionIds.inherited`, COALESCE(`product`.`option_ids`, `product.parent`.`option_ids`) as `product.optionIds`, `product.parent`.`stream_ids` as `product.streamIds.inherited`, COALESCE(`product`.`stream_ids`, `product.parent`.`stream_ids`) as `product.streamIds`, `product.parent`.`tag_ids` as `product.tagIds.inherited`, COALESCE(`product`.`tag_ids`, `product.parent`.`tag_ids`) as `product.tagIds`, `product.parent`.`category_ids` as `product.categoryIds.inherited`, COALESCE(`product`.`category_ids`, `product.parent`.`category_ids`) as `product.categoryIds`, `product`.`child_count` as `product.childCount`, COALESCE(`product`.`custom_field_set_selection_active`, `product.parent`.`custom_field_set_selection_active`) as `product.customFieldSetSelectionActive`, `product`.`sales` as `product.sales`, `product`.`states` as `product.states`, `product.tax`.`id` as `product.tax.id`, `product.tax`.`tax_rate` as `product.tax.taxRate`, `product.tax`.`name` as `product.tax.name`, `product.tax`.`position` as `product.tax.position`, `product.tax`.`custom_fields` as `product.tax.customFields`, `product.tax`.`created_at` as `product.tax.createdAt`, `product.tax`.`updated_at` as `product.tax.updatedAt`, `product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`, COALESCE(`product`.`cheapest_price`, `product.parent`.`cheapest_price`) as `product.cheapestPrice`, `product`.`created_at` as `product.createdAt`, `product`.`updated_at` as `product.updatedAt`, `product.bundle`.`id` as `product.bundle.id`, `product.bundle`.`product_id` as `product.bundle.productId`, `product.bundle`.`product_version_id` as `product.bundle.productVersionId`, `product.bundle`.`name` as `product.bundle.name`, `product.bundle`.`price_type` as `product.bundle.priceType`, `product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`, `product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`, `product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`, `product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`, `product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`, `product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`, `product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`, `product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`, `product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`, `product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`, `product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`, `product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`, `product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`, `product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`, `product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`, `product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`, `product.bundle`.`created_at` as `product.bundle.createdAt`, `product.bundle`.`updated_at` as `product.bundle.updatedAt`, `product.cover`.`id` as `product.cover.id`, `product.cover`.`version_id` as `product.cover.versionId`, `product.cover`.`product_id` as `product.cover.productId`, `product.cover`.`product_version_id` as `product.cover.productVersionId`, `product.cover`.`media_id` as `product.cover.mediaId`, `product.cover`.`position` as `product.cover.position`, `product.cover.media`.`id` as `product.cover.media.id`, `product.cover.media`.`user_id` as `product.cover.media.userId`, `product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`, `product.cover.media`.`mime_type` as `product.cover.media.mimeType`, `product.cover.media`.`file_extension` as `product.cover.media.fileExtension`, `product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`, `product.cover.media`.`file_name` as `product.cover.media.fileName`, `product.cover.media`.`file_size` as `product.cover.media.fileSize`, `product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`, `product.cover.media`.`meta_data` as `product.cover.media.metaData`, `product.cover.media`.`private` as `product.cover.media.private`, `product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`, `product.cover.media`.`created_at` as `product.cover.media.createdAt`, `product.cover.media`.`updated_at` as `product.cover.media.updatedAt`, `product.cover.media.translation.title`, COALESCE(`product.cover.media.translation.title`,`product.cover.media.translation.title`) as `product.cover.media.title`, `product.cover.media.translation.alt`, COALESCE(`product.cover.media.translation.alt`,`product.cover.media.translation.alt`) as `product.cover.media.alt`, `product.cover.media.translation.customFields`, COALESCE(`product.cover.media.translation.customFields`,`product.cover.media.translation.customFields`) as `product.cover.media.customFields`, `product.cover.media.translation.createdAt`, `product.cover.media.translation.updatedAt`, `product.cover.media.translation.mediaId`, `product.cover.media.translation.languageId`, `product.cover`.`custom_fields` as `product.cover.customFields`, `product.cover`.`created_at` as `product.cover.createdAt`, `product.cover`.`updated_at` as `product.cover.updatedAt`, `product.translation.metaDescription`, `product.parent.translation.metaDescription`, COALESCE(`product.translation.metaDescription`,`product.parent.translation.metaDescription`,`product.translation.metaDescription`) as `product.metaDescription`, `product.translation.name`, `product.parent.translation.name`, COALESCE(`product.translation.name`,`product.parent.translation.name`,`product.translation.name`) as `product.name`, `product.translation.keywords`, `product.parent.translation.keywords`, COALESCE(`product.translation.keywords`,`product.parent.translation.keywords`,`product.translation.keywords`) as `product.keywords`, `product.translation.description`, `product.parent.translation.description`, COALESCE(`product.translation.description`,`product.parent.translation.description`,`product.translation.description`) as `product.description`, `product.translation.metaTitle`, `product.parent.translation.metaTitle`, COALESCE(`product.translation.metaTitle`,`product.parent.translation.metaTitle`,`product.translation.metaTitle`) as `product.metaTitle`, `product.translation.packUnit`, `product.parent.translation.packUnit`, COALESCE(`product.translation.packUnit`,`product.parent.translation.packUnit`,`product.translation.packUnit`) as `product.packUnit`, `product.translation.packUnitPlural`, `product.parent.translation.packUnitPlural`, COALESCE(`product.translation.packUnitPlural`,`product.parent.translation.packUnitPlural`,`product.translation.packUnitPlural`) as `product.packUnitPlural`, `product.translation.customSearchKeywords`, `product.parent.translation.customSearchKeywords`, COALESCE(`product.translation.customSearchKeywords`,`product.parent.translation.customSearchKeywords`,`product.translation.customSearchKeywords`) as `product.customSearchKeywords`, `product.translation.slotConfig`, `product.parent.translation.slotConfig`, COALESCE(`product.translation.slotConfig`,`product.parent.translation.slotConfig`,`product.translation.slotConfig`) as `product.slotConfig`, `product.translation.customFields`, `product.parent.translation.customFields`, COALESCE(`product.translation.customFields`,`product.parent.translation.customFields`,`product.translation.customFields`) as `product.customFields`, `product.translation.createdAt`, `product.parent.translation.createdAt`, `product.translation.updatedAt`, `product.parent.translation.updatedAt`, `product.translation.productId`, `product.parent.translation.productId`, `product.translation.languageId`, `product.parent.translation.languageId`, `product.translation.productVersionId`, `product.parent.translation.productVersionId` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN (SELECT `product.translation`.product_id, `product.translation`.product_version_id, `product.translation`.meta_description as `product.translation.metaDescription`, `product.translation`.name as `product.translation.name`, `product.translation`.keywords as `product.translation.keywords`, `product.translation`.description as `product.translation.description`, `product.translation`.meta_title as `product.translation.metaTitle`, `product.translation`.pack_unit as `product.translation.packUnit`, `product.translation`.pack_unit_plural as `product.translation.packUnitPlural`, `product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`, `product.translation`.slot_config as `product.translation.slotConfig`, `product.translation`.custom_fields as `product.translation.customFields`, `product.translation`.created_at as `product.translation.createdAt`, `product.translation`.updated_at as `product.translation.updatedAt`, `product.translation`.product_id as `product.translation.productId`, `product.translation`.language_id as `product.translation.languageId`, `product.translation`.product_version_id as `product.translation.productVersionId` FROM `product_translation` `product.translation` WHERE `product.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id` AND `product.product_translation`.product_version_id = `product`.version_id LEFT JOIN (SELECT `product.parent.translation`.product_id, `product.parent.translation`.product_version_id, `product.parent.translation`.meta_description as `product.parent.translation.metaDescription`, `product.parent.translation`.name as `product.parent.translation.name`, `product.parent.translation`.keywords as `product.parent.translation.keywords`, `product.parent.translation`.description as `product.parent.translation.description`, `product.parent.translation`.meta_title as `product.parent.translation.metaTitle`, `product.parent.translation`.pack_unit as `product.parent.translation.packUnit`, `product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`, `product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`, `product.parent.translation`.slot_config as `product.parent.translation.slotConfig`, `product.parent.translation`.custom_fields as `product.parent.translation.customFields`, `product.parent.translation`.created_at as `product.parent.translation.createdAt`, `product.parent.translation`.updated_at as `product.parent.translation.updatedAt`, `product.parent.translation`.product_id as `product.parent.translation.productId`, `product.parent.translation`.language_id as `product.parent.translation.languageId`, `product.parent.translation`.product_version_id as `product.parent.translation.productVersionId` FROM `product_translation` `product.parent.translation` WHERE `product.parent.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id` AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id` LEFT JOIN `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_id` LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id` AND `product`.`version_id` = `product.cover`.`version_id` LEFT JOIN `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`id` LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id` LEFT JOIN (SELECT `product.cover.media.translation`.media_id, `product.cover.media.translation`.title as `product.cover.media.translation.title`, `product.cover.media.translation`.alt as `product.cover.media.translation.alt`, `product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`, `product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`, `product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`, `product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`, `product.cover.media.translation`.language_id as `product.cover.media.translation.languageId` FROM `media_translation` `product.cover.media.translation` WHERE `product.cover.media.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id` WHERE (`product`.`version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425) AND (`product`.`id` IN (0x7E400E2572B447458789E1E3EDFAB37F));
array:51 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 316)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetch (line 148)"
4 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 93)"
5 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::read (line 257)"
6 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::read (line 286)"
7 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::_search (line 106)"
8 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::search (line 51)"
9 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepositoryForwardCompatibilityDecorator::search (line 103)"
10 => "Bodymed\Webshop\StoreFront\Subscriber\ProductExtensionSubscriber::addParentCover (line 230)"
11 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
12 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
13 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
14 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
15 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
16 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 33)"
17 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
18 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 208)"
19 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::read (line 133)"
20 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 49)"
21 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariantsOfProduct (line 30)"
22 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariants (line 224)"
23 => "Bodymed\Webshop\Core\Content\Product\Cms\ProductSliderCmsElementResolver::enrich (line 99)"
24 => "Shopware\Core\Content\Cms\DataResolver\CmsSlotsDataResolver::resolve (line 104)"
25 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::loadSlotData (line 94)"
26 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::load (line 102)"
27 => "Shopware\Core\Content\Category\SalesChannel\CategoryRoute::load (line 103)"
28 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 350)"
29 => "Shopware\Core\System\SystemConfig\SystemConfigService::trace (line 44)"
30 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 120)"
31 => "Shopware\Core\Framework\Adapter\Translation\Translator::trace (line 45)"
32 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 46)"
33 => "Shopware\Core\Framework\Adapter\Cache\CacheTagCollection::trace (line 46)"
34 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::trace (line 41)"
35 => "Shopware\Storefront\Framework\Cache\CacheTracer::Shopware\Storefront\Framework\Cache\{closure} (line 59)"
36 => "Shopware\Storefront\Theme\ThemeConfigValueAccessor::trace (line 42)"
37 => "Shopware\Storefront\Framework\Cache\CacheTracer::trace (line 104)"
38 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 72)"
39 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
40 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 109)"
41 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 59)"
42 => "Shopware\Core\Profiling\Profiler::trace (line 112)"
43 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::load (line 66)"
44 => "Shopware\Storefront\Page\Navigation\NavigationPageLoader::load (line 48)"
45 => "Shopware\Storefront\Controller\NavigationController::home (line 163)"
46 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
47 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
48 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
49 => "Shopware\Core\HttpKernel::doHandle (line 81)"
50 => "Shopware\Core\HttpKernel::handle (line 75)"
]
|
113 |
0.82 ms |
SELECT * FROM sales_channel_api_context WHERE (sales_channel_id = :salesChannelId) AND (token = :token) LIMIT 1
SELECT * FROM sales_channel_api_context WHERE (sales_channel_id = 0x620A2217F7474E619CB00AD39E804CCA) AND (token = 'FwsxT47353Zxmr7lp0KSfYcVNkg5VpYR') LIMIT 1;
array:58 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 165)"
3 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextPersister::load (line 69)"
4 => "Bodymed\Webshop\Core\Subscriber\ProductSubscriber::addCustomerProductFeatureExtension (line 230)"
5 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
6 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
7 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
8 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
9 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
10 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 33)"
11 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
12 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 269)"
13 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::read (line 286)"
14 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::_search (line 106)"
15 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::search (line 51)"
16 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepositoryForwardCompatibilityDecorator::search (line 103)"
17 => "Bodymed\Webshop\StoreFront\Subscriber\ProductExtensionSubscriber::addParentCover (line 230)"
18 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
19 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
20 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
21 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
22 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
23 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 33)"
24 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
25 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 208)"
26 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::read (line 133)"
27 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 49)"
28 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariantsOfProduct (line 30)"
29 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariants (line 224)"
30 => "Bodymed\Webshop\Core\Content\Product\Cms\ProductSliderCmsElementResolver::enrich (line 99)"
31 => "Shopware\Core\Content\Cms\DataResolver\CmsSlotsDataResolver::resolve (line 104)"
32 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::loadSlotData (line 94)"
33 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::load (line 102)"
34 => "Shopware\Core\Content\Category\SalesChannel\CategoryRoute::load (line 103)"
35 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 350)"
36 => "Shopware\Core\System\SystemConfig\SystemConfigService::trace (line 44)"
37 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 120)"
38 => "Shopware\Core\Framework\Adapter\Translation\Translator::trace (line 45)"
39 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 46)"
40 => "Shopware\Core\Framework\Adapter\Cache\CacheTagCollection::trace (line 46)"
41 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::trace (line 41)"
42 => "Shopware\Storefront\Framework\Cache\CacheTracer::Shopware\Storefront\Framework\Cache\{closure} (line 59)"
43 => "Shopware\Storefront\Theme\ThemeConfigValueAccessor::trace (line 42)"
44 => "Shopware\Storefront\Framework\Cache\CacheTracer::trace (line 104)"
45 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 72)"
46 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
47 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 109)"
48 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 59)"
49 => "Shopware\Core\Profiling\Profiler::trace (line 112)"
50 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::load (line 66)"
51 => "Shopware\Storefront\Page\Navigation\NavigationPageLoader::load (line 48)"
52 => "Shopware\Storefront\Controller\NavigationController::home (line 163)"
53 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
54 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
55 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
56 => "Shopware\Core\HttpKernel::doHandle (line 81)"
57 => "Shopware\Core\HttpKernel::handle (line 75)"
]
|
114 |
1.83 ms |
SELECT `swkweb_buy_x_pay_y_promotion`.`id` as `swkweb_buy_x_pay_y_promotion.id`, `swkweb_buy_x_pay_y_promotion`.`product_stream_id` as `swkweb_buy_x_pay_y_promotion.productStreamId`, `swkweb_buy_x_pay_y_promotion`.`rule_id` as `swkweb_buy_x_pay_y_promotion.ruleId`, `swkweb_buy_x_pay_y_promotion`.`x` as `swkweb_buy_x_pay_y_promotion.x`, `swkweb_buy_x_pay_y_promotion`.`y` as `swkweb_buy_x_pay_y_promotion.y`, `swkweb_buy_x_pay_y_promotion`.`minimum_quantity` as `swkweb_buy_x_pay_y_promotion.minimumQuantity`, `swkweb_buy_x_pay_y_promotion`.`priority` as `swkweb_buy_x_pay_y_promotion.priority`, `swkweb_buy_x_pay_y_promotion`.`cross_variant` as `swkweb_buy_x_pay_y_promotion.crossVariant`, `swkweb_buy_x_pay_y_promotion`.`active` as `swkweb_buy_x_pay_y_promotion.active`, `swkweb_buy_x_pay_y_promotion`.`created_at` as `swkweb_buy_x_pay_y_promotion.createdAt`, `swkweb_buy_x_pay_y_promotion`.`updated_at` as `swkweb_buy_x_pay_y_promotion.updatedAt`, `swkweb_buy_x_pay_y_promotion.translation.name`, COALESCE(`swkweb_buy_x_pay_y_promotion.translation.name`,`swkweb_buy_x_pay_y_promotion.translation.name`) as `swkweb_buy_x_pay_y_promotion.name`, `swkweb_buy_x_pay_y_promotion.translation.createdAt`, `swkweb_buy_x_pay_y_promotion.translation.updatedAt`, `swkweb_buy_x_pay_y_promotion.translation.swkwebBuyXPayYPromotionId`, `swkweb_buy_x_pay_y_promotion.translation.languageId` FROM `swkweb_buy_x_pay_y_promotion` LEFT JOIN (SELECT `swkweb_buy_x_pay_y_promotion.translation`.swkweb_buy_x_pay_y_promotion_id, `swkweb_buy_x_pay_y_promotion.translation`.name as `swkweb_buy_x_pay_y_promotion.translation.name`, `swkweb_buy_x_pay_y_promotion.translation`.created_at as `swkweb_buy_x_pay_y_promotion.translation.createdAt`, `swkweb_buy_x_pay_y_promotion.translation`.updated_at as `swkweb_buy_x_pay_y_promotion.translation.updatedAt`, `swkweb_buy_x_pay_y_promotion.translation`.swkweb_buy_x_pay_y_promotion_id as `swkweb_buy_x_pay_y_promotion.translation.swkwebBuyXPayYPromotionId`, `swkweb_buy_x_pay_y_promotion.translation`.language_id as `swkweb_buy_x_pay_y_promotion.translation.languageId` FROM `swkweb_buy_x_pay_y_promotion_translation` `swkweb_buy_x_pay_y_promotion.translation` WHERE `swkweb_buy_x_pay_y_promotion.translation`.language_id = :languageId) `swkweb_buy_x_pay_y_promotion.swkweb_buy_x_pay_y_promotion_translation` ON `swkweb_buy_x_pay_y_promotion.swkweb_buy_x_pay_y_promotion_translation`.`swkweb_buy_x_pay_y_promotion_id` = `swkweb_buy_x_pay_y_promotion`.`id` WHERE (`swkweb_buy_x_pay_y_promotion`.`active` = :param_88e24af80c4a4d00bf17dcdc8b31cfca AND (`swkweb_buy_x_pay_y_promotion`.`rule_id` <=> :param_4f1ae28837da494cbf690699ff8ae5b1 OR `swkweb_buy_x_pay_y_promotion`.`rule_id` IN (:param_70417be8631846d5b3eade85b10b4e7f)))
SELECT `swkweb_buy_x_pay_y_promotion`.`id` as `swkweb_buy_x_pay_y_promotion.id`, `swkweb_buy_x_pay_y_promotion`.`product_stream_id` as `swkweb_buy_x_pay_y_promotion.productStreamId`, `swkweb_buy_x_pay_y_promotion`.`rule_id` as `swkweb_buy_x_pay_y_promotion.ruleId`, `swkweb_buy_x_pay_y_promotion`.`x` as `swkweb_buy_x_pay_y_promotion.x`, `swkweb_buy_x_pay_y_promotion`.`y` as `swkweb_buy_x_pay_y_promotion.y`, `swkweb_buy_x_pay_y_promotion`.`minimum_quantity` as `swkweb_buy_x_pay_y_promotion.minimumQuantity`, `swkweb_buy_x_pay_y_promotion`.`priority` as `swkweb_buy_x_pay_y_promotion.priority`, `swkweb_buy_x_pay_y_promotion`.`cross_variant` as `swkweb_buy_x_pay_y_promotion.crossVariant`, `swkweb_buy_x_pay_y_promotion`.`active` as `swkweb_buy_x_pay_y_promotion.active`, `swkweb_buy_x_pay_y_promotion`.`created_at` as `swkweb_buy_x_pay_y_promotion.createdAt`, `swkweb_buy_x_pay_y_promotion`.`updated_at` as `swkweb_buy_x_pay_y_promotion.updatedAt`, `swkweb_buy_x_pay_y_promotion.translation.name`, COALESCE(`swkweb_buy_x_pay_y_promotion.translation.name`,`swkweb_buy_x_pay_y_promotion.translation.name`) as `swkweb_buy_x_pay_y_promotion.name`, `swkweb_buy_x_pay_y_promotion.translation.createdAt`, `swkweb_buy_x_pay_y_promotion.translation.updatedAt`, `swkweb_buy_x_pay_y_promotion.translation.swkwebBuyXPayYPromotionId`, `swkweb_buy_x_pay_y_promotion.translation.languageId` FROM `swkweb_buy_x_pay_y_promotion` LEFT JOIN (SELECT `swkweb_buy_x_pay_y_promotion.translation`.swkweb_buy_x_pay_y_promotion_id, `swkweb_buy_x_pay_y_promotion.translation`.name as `swkweb_buy_x_pay_y_promotion.translation.name`, `swkweb_buy_x_pay_y_promotion.translation`.created_at as `swkweb_buy_x_pay_y_promotion.translation.createdAt`, `swkweb_buy_x_pay_y_promotion.translation`.updated_at as `swkweb_buy_x_pay_y_promotion.translation.updatedAt`, `swkweb_buy_x_pay_y_promotion.translation`.swkweb_buy_x_pay_y_promotion_id as `swkweb_buy_x_pay_y_promotion.translation.swkwebBuyXPayYPromotionId`, `swkweb_buy_x_pay_y_promotion.translation`.language_id as `swkweb_buy_x_pay_y_promotion.translation.languageId` FROM `swkweb_buy_x_pay_y_promotion_translation` `swkweb_buy_x_pay_y_promotion.translation` WHERE `swkweb_buy_x_pay_y_promotion.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `swkweb_buy_x_pay_y_promotion.swkweb_buy_x_pay_y_promotion_translation` ON `swkweb_buy_x_pay_y_promotion.swkweb_buy_x_pay_y_promotion_translation`.`swkweb_buy_x_pay_y_promotion_id` = `swkweb_buy_x_pay_y_promotion`.`id` WHERE (`swkweb_buy_x_pay_y_promotion`.`active` = 1 AND (`swkweb_buy_x_pay_y_promotion`.`rule_id` <=> NULL OR `swkweb_buy_x_pay_y_promotion`.`rule_id` IN (0x49E60033EEB14964AD30BBB2541A8832, 0x507D0ACF066F4AC8B4A5E137CC6A65D5, 0x624B5351CE6749F68E0173D176FC7D74, 0x1BD29ADF87934E51BCBC2A63DF3E5CD7, 0x54CA109BE7B94338B399B13A5D9CA690, 0x5B69F678101F40C3BBB95AD64C44F6C1, 0x888B2606F41C41E18E8E62EBD8019726, 0xB4449920AE794758AB3917DF10AA6A55, 0xC3D21140F4DF402C9BDF65AF4F7EAAAA, 0x605E84F76B374BAB8CFCEC73E9218201, 0xBA542F4FF2854B9EB943CBB0473A8D59)));
array:42 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 316)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetch (line 148)"
4 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 93)"
5 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::read (line 257)"
6 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::read (line 286)"
7 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::_search (line 106)"
8 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::search (line 51)"
9 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepositoryForwardCompatibilityDecorator::search (line 78)"
10 => "Swkweb\BuyXPayY\Core\Checkout\BuyXPayYPromotion\SalesChannel\BuyXPayYPromotionGateway::fetchPromotions (line 50)"
11 => "Swkweb\BuyXPayY\Core\Checkout\BuyXPayYPromotion\SalesChannel\BuyXPayYPromotionGateway::getPromotions (line 24)"
12 => "Swkweb\BuyXPayY\Core\Content\Product\SalesChannel\ProductBuyXPayYPromotionHelper::loadPromotions (line 53)"
13 => "Swkweb\BuyXPayY\Core\Content\Product\Cms\ProductSliderCmsElementResolver::enrich (line 237)"
14 => "Bodymed\Webshop\Core\Content\Product\Cms\ProductSliderCmsElementResolver::enrich (line 99)"
15 => "Shopware\Core\Content\Cms\DataResolver\CmsSlotsDataResolver::resolve (line 104)"
16 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::loadSlotData (line 94)"
17 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::load (line 102)"
18 => "Shopware\Core\Content\Category\SalesChannel\CategoryRoute::load (line 103)"
19 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 350)"
20 => "Shopware\Core\System\SystemConfig\SystemConfigService::trace (line 44)"
21 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 120)"
22 => "Shopware\Core\Framework\Adapter\Translation\Translator::trace (line 45)"
23 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 46)"
24 => "Shopware\Core\Framework\Adapter\Cache\CacheTagCollection::trace (line 46)"
25 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::trace (line 41)"
26 => "Shopware\Storefront\Framework\Cache\CacheTracer::Shopware\Storefront\Framework\Cache\{closure} (line 59)"
27 => "Shopware\Storefront\Theme\ThemeConfigValueAccessor::trace (line 42)"
28 => "Shopware\Storefront\Framework\Cache\CacheTracer::trace (line 104)"
29 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 72)"
30 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
31 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 109)"
32 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 59)"
33 => "Shopware\Core\Profiling\Profiler::trace (line 112)"
34 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::load (line 66)"
35 => "Shopware\Storefront\Page\Navigation\NavigationPageLoader::load (line 48)"
36 => "Shopware\Storefront\Controller\NavigationController::home (line 163)"
37 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
38 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
39 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
40 => "Shopware\Core\HttpKernel::doHandle (line 81)"
41 => "Shopware\Core\HttpKernel::handle (line 75)"
]
|
115 |
1.78 ms |
SELECT `swkweb_buy_x_pay_y_promotion`.`id` as `swkweb_buy_x_pay_y_promotion.id`, `swkweb_buy_x_pay_y_promotion`.`product_stream_id` as `swkweb_buy_x_pay_y_promotion.productStreamId`, `swkweb_buy_x_pay_y_promotion`.`rule_id` as `swkweb_buy_x_pay_y_promotion.ruleId`, `swkweb_buy_x_pay_y_promotion`.`x` as `swkweb_buy_x_pay_y_promotion.x`, `swkweb_buy_x_pay_y_promotion`.`y` as `swkweb_buy_x_pay_y_promotion.y`, `swkweb_buy_x_pay_y_promotion`.`minimum_quantity` as `swkweb_buy_x_pay_y_promotion.minimumQuantity`, `swkweb_buy_x_pay_y_promotion`.`priority` as `swkweb_buy_x_pay_y_promotion.priority`, `swkweb_buy_x_pay_y_promotion`.`cross_variant` as `swkweb_buy_x_pay_y_promotion.crossVariant`, `swkweb_buy_x_pay_y_promotion`.`active` as `swkweb_buy_x_pay_y_promotion.active`, `swkweb_buy_x_pay_y_promotion`.`created_at` as `swkweb_buy_x_pay_y_promotion.createdAt`, `swkweb_buy_x_pay_y_promotion`.`updated_at` as `swkweb_buy_x_pay_y_promotion.updatedAt`, `swkweb_buy_x_pay_y_promotion.translation.name`, COALESCE(`swkweb_buy_x_pay_y_promotion.translation.name`,`swkweb_buy_x_pay_y_promotion.translation.name`) as `swkweb_buy_x_pay_y_promotion.name`, `swkweb_buy_x_pay_y_promotion.translation.createdAt`, `swkweb_buy_x_pay_y_promotion.translation.updatedAt`, `swkweb_buy_x_pay_y_promotion.translation.swkwebBuyXPayYPromotionId`, `swkweb_buy_x_pay_y_promotion.translation.languageId` FROM `swkweb_buy_x_pay_y_promotion` LEFT JOIN (SELECT `swkweb_buy_x_pay_y_promotion.translation`.swkweb_buy_x_pay_y_promotion_id, `swkweb_buy_x_pay_y_promotion.translation`.name as `swkweb_buy_x_pay_y_promotion.translation.name`, `swkweb_buy_x_pay_y_promotion.translation`.created_at as `swkweb_buy_x_pay_y_promotion.translation.createdAt`, `swkweb_buy_x_pay_y_promotion.translation`.updated_at as `swkweb_buy_x_pay_y_promotion.translation.updatedAt`, `swkweb_buy_x_pay_y_promotion.translation`.swkweb_buy_x_pay_y_promotion_id as `swkweb_buy_x_pay_y_promotion.translation.swkwebBuyXPayYPromotionId`, `swkweb_buy_x_pay_y_promotion.translation`.language_id as `swkweb_buy_x_pay_y_promotion.translation.languageId` FROM `swkweb_buy_x_pay_y_promotion_translation` `swkweb_buy_x_pay_y_promotion.translation` WHERE `swkweb_buy_x_pay_y_promotion.translation`.language_id = :languageId) `swkweb_buy_x_pay_y_promotion.swkweb_buy_x_pay_y_promotion_translation` ON `swkweb_buy_x_pay_y_promotion.swkweb_buy_x_pay_y_promotion_translation`.`swkweb_buy_x_pay_y_promotion_id` = `swkweb_buy_x_pay_y_promotion`.`id` WHERE (`swkweb_buy_x_pay_y_promotion`.`active` = :param_96d322418dc643b097583bdab878b408 AND (`swkweb_buy_x_pay_y_promotion`.`rule_id` <=> :param_747612790fee4ce4a11db7234ed12b5a OR `swkweb_buy_x_pay_y_promotion`.`rule_id` IN (:param_eef2ff0c23a8492db0bd02b39c69b271)))
SELECT `swkweb_buy_x_pay_y_promotion`.`id` as `swkweb_buy_x_pay_y_promotion.id`, `swkweb_buy_x_pay_y_promotion`.`product_stream_id` as `swkweb_buy_x_pay_y_promotion.productStreamId`, `swkweb_buy_x_pay_y_promotion`.`rule_id` as `swkweb_buy_x_pay_y_promotion.ruleId`, `swkweb_buy_x_pay_y_promotion`.`x` as `swkweb_buy_x_pay_y_promotion.x`, `swkweb_buy_x_pay_y_promotion`.`y` as `swkweb_buy_x_pay_y_promotion.y`, `swkweb_buy_x_pay_y_promotion`.`minimum_quantity` as `swkweb_buy_x_pay_y_promotion.minimumQuantity`, `swkweb_buy_x_pay_y_promotion`.`priority` as `swkweb_buy_x_pay_y_promotion.priority`, `swkweb_buy_x_pay_y_promotion`.`cross_variant` as `swkweb_buy_x_pay_y_promotion.crossVariant`, `swkweb_buy_x_pay_y_promotion`.`active` as `swkweb_buy_x_pay_y_promotion.active`, `swkweb_buy_x_pay_y_promotion`.`created_at` as `swkweb_buy_x_pay_y_promotion.createdAt`, `swkweb_buy_x_pay_y_promotion`.`updated_at` as `swkweb_buy_x_pay_y_promotion.updatedAt`, `swkweb_buy_x_pay_y_promotion.translation.name`, COALESCE(`swkweb_buy_x_pay_y_promotion.translation.name`,`swkweb_buy_x_pay_y_promotion.translation.name`) as `swkweb_buy_x_pay_y_promotion.name`, `swkweb_buy_x_pay_y_promotion.translation.createdAt`, `swkweb_buy_x_pay_y_promotion.translation.updatedAt`, `swkweb_buy_x_pay_y_promotion.translation.swkwebBuyXPayYPromotionId`, `swkweb_buy_x_pay_y_promotion.translation.languageId` FROM `swkweb_buy_x_pay_y_promotion` LEFT JOIN (SELECT `swkweb_buy_x_pay_y_promotion.translation`.swkweb_buy_x_pay_y_promotion_id, `swkweb_buy_x_pay_y_promotion.translation`.name as `swkweb_buy_x_pay_y_promotion.translation.name`, `swkweb_buy_x_pay_y_promotion.translation`.created_at as `swkweb_buy_x_pay_y_promotion.translation.createdAt`, `swkweb_buy_x_pay_y_promotion.translation`.updated_at as `swkweb_buy_x_pay_y_promotion.translation.updatedAt`, `swkweb_buy_x_pay_y_promotion.translation`.swkweb_buy_x_pay_y_promotion_id as `swkweb_buy_x_pay_y_promotion.translation.swkwebBuyXPayYPromotionId`, `swkweb_buy_x_pay_y_promotion.translation`.language_id as `swkweb_buy_x_pay_y_promotion.translation.languageId` FROM `swkweb_buy_x_pay_y_promotion_translation` `swkweb_buy_x_pay_y_promotion.translation` WHERE `swkweb_buy_x_pay_y_promotion.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `swkweb_buy_x_pay_y_promotion.swkweb_buy_x_pay_y_promotion_translation` ON `swkweb_buy_x_pay_y_promotion.swkweb_buy_x_pay_y_promotion_translation`.`swkweb_buy_x_pay_y_promotion_id` = `swkweb_buy_x_pay_y_promotion`.`id` WHERE (`swkweb_buy_x_pay_y_promotion`.`active` = 1 AND (`swkweb_buy_x_pay_y_promotion`.`rule_id` <=> NULL OR `swkweb_buy_x_pay_y_promotion`.`rule_id` IN (0x49E60033EEB14964AD30BBB2541A8832, 0x507D0ACF066F4AC8B4A5E137CC6A65D5, 0x624B5351CE6749F68E0173D176FC7D74, 0x1BD29ADF87934E51BCBC2A63DF3E5CD7, 0x54CA109BE7B94338B399B13A5D9CA690, 0x5B69F678101F40C3BBB95AD64C44F6C1, 0x888B2606F41C41E18E8E62EBD8019726, 0xB4449920AE794758AB3917DF10AA6A55, 0xC3D21140F4DF402C9BDF65AF4F7EAAAA, 0x605E84F76B374BAB8CFCEC73E9218201, 0xBA542F4FF2854B9EB943CBB0473A8D59)));
array:42 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 316)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetch (line 148)"
4 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 93)"
5 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::read (line 257)"
6 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::read (line 286)"
7 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::_search (line 106)"
8 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::search (line 51)"
9 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepositoryForwardCompatibilityDecorator::search (line 78)"
10 => "Swkweb\BuyXPayY\Core\Checkout\BuyXPayYPromotion\SalesChannel\BuyXPayYPromotionGateway::fetchPromotions (line 50)"
11 => "Swkweb\BuyXPayY\Core\Checkout\BuyXPayYPromotion\SalesChannel\BuyXPayYPromotionGateway::getPromotions (line 24)"
12 => "Swkweb\BuyXPayY\Core\Content\Product\SalesChannel\ProductBuyXPayYPromotionHelper::loadPromotions (line 53)"
13 => "Swkweb\BuyXPayY\Core\Content\Product\Cms\ProductSliderCmsElementResolver::enrich (line 237)"
14 => "Bodymed\Webshop\Core\Content\Product\Cms\ProductSliderCmsElementResolver::enrich (line 99)"
15 => "Shopware\Core\Content\Cms\DataResolver\CmsSlotsDataResolver::resolve (line 104)"
16 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::loadSlotData (line 94)"
17 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::load (line 102)"
18 => "Shopware\Core\Content\Category\SalesChannel\CategoryRoute::load (line 103)"
19 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 350)"
20 => "Shopware\Core\System\SystemConfig\SystemConfigService::trace (line 44)"
21 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 120)"
22 => "Shopware\Core\Framework\Adapter\Translation\Translator::trace (line 45)"
23 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 46)"
24 => "Shopware\Core\Framework\Adapter\Cache\CacheTagCollection::trace (line 46)"
25 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::trace (line 41)"
26 => "Shopware\Storefront\Framework\Cache\CacheTracer::Shopware\Storefront\Framework\Cache\{closure} (line 59)"
27 => "Shopware\Storefront\Theme\ThemeConfigValueAccessor::trace (line 42)"
28 => "Shopware\Storefront\Framework\Cache\CacheTracer::trace (line 104)"
29 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 72)"
30 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
31 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 109)"
32 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 59)"
33 => "Shopware\Core\Profiling\Profiler::trace (line 112)"
34 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::load (line 66)"
35 => "Shopware\Storefront\Page\Navigation\NavigationPageLoader::load (line 48)"
36 => "Shopware\Storefront\Controller\NavigationController::home (line 163)"
37 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
38 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
39 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
40 => "Shopware\Core\HttpKernel::doHandle (line 81)"
41 => "Shopware\Core\HttpKernel::handle (line 75)"
]
|
116 |
2.76 ms |
SELECT `app`.`id` as `app.id`, `app`.`name` as `app.name`, `app`.`path` as `app.path`, `app`.`author` as `app.author`, `app`.`copyright` as `app.copyright`, `app`.`license` as `app.license`, `app`.`active` as `app.active`, `app`.`configurable` as `app.configurable`, `app`.`privacy` as `app.privacy`, `app`.`version` as `app.version`, `app`.`icon` as `app.iconRaw`, `app`.`app_secret` as `app.appSecret`, `app`.`modules` as `app.modules`, `app`.`main_module` as `app.mainModule`, `app`.`cookies` as `app.cookies`, `app`.`allow_disable` as `app.allowDisable`, `app`.`base_app_url` as `app.baseAppUrl`, `app`.`allowed_hosts` as `app.allowedHosts`, `app`.`template_load_priority` as `app.templateLoadPriority`, `app`.`integration_id` as `app.integrationId`, `app.integration`.`id` as `app.integration.id`, `app.integration`.`label` as `app.integration.label`, `app.integration`.`access_key` as `app.integration.accessKey`, `app.integration`.`secret_access_key` as `app.integration.secretAccessKey`, `app.integration`.`write_access` as `app.integration.writeAccess`, `app.integration`.`last_usage_at` as `app.integration.lastUsageAt`, `app.integration`.`admin` as `app.integration.admin`, `app.integration`.`custom_fields` as `app.integration.customFields`, `app.integration`.`deleted_at` as `app.integration.deletedAt`, `app.integration`.`created_at` as `app.integration.createdAt`, `app.integration`.`updated_at` as `app.integration.updatedAt`, `app`.`acl_role_id` as `app.aclRoleId`, `app.aclRole`.`id` as `app.aclRole.id`, `app.aclRole`.`name` as `app.aclRole.name`, `app.aclRole`.`description` as `app.aclRole.description`, `app.aclRole`.`privileges` as `app.aclRole.privileges`, `app.aclRole`.`deleted_at` as `app.aclRole.deletedAt`, `app.aclRole`.`created_at` as `app.aclRole.createdAt`, `app.aclRole`.`updated_at` as `app.aclRole.updatedAt`, `app`.`created_at` as `app.createdAt`, `app`.`updated_at` as `app.updatedAt`, `app.translation.label`, COALESCE(`app.translation.label`,`app.translation.label`) as `app.label`, `app.translation.description`, COALESCE(`app.translation.description`,`app.translation.description`) as `app.description`, `app.translation.privacyPolicyExtensions`, COALESCE(`app.translation.privacyPolicyExtensions`,`app.translation.privacyPolicyExtensions`) as `app.privacyPolicyExtensions`, `app.translation.customFields`, COALESCE(`app.translation.customFields`,`app.translation.customFields`) as `app.customFields`, `app.translation.createdAt`, `app.translation.updatedAt`, `app.translation.appId`, `app.translation.languageId` FROM `app` LEFT JOIN (SELECT `app.translation`.app_id, `app.translation`.label as `app.translation.label`, `app.translation`.description as `app.translation.description`, `app.translation`.privacy_policy_extensions as `app.translation.privacyPolicyExtensions`, `app.translation`.custom_fields as `app.translation.customFields`, `app.translation`.created_at as `app.translation.createdAt`, `app.translation`.updated_at as `app.translation.updatedAt`, `app.translation`.app_id as `app.translation.appId`, `app.translation`.language_id as `app.translation.languageId` FROM `app_translation` `app.translation` WHERE `app.translation`.language_id = :languageId) `app.app_translation` ON `app.app_translation`.`app_id` = `app`.`id` LEFT JOIN `integration` `app.integration` ON `app`.`integration_id` = `app.integration`.`id` LEFT JOIN `acl_role` `app.aclRole` ON `app`.`acl_role_id` = `app.aclRole`.`id` WHERE (`app`.`active` = :param_2cc4b99d156546ceb2c0a191ab6cbfeb)
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_2cc4b99d156546ceb2c0a191ab6cbfeb
)
SELECT `app`.`id` as `app.id`, `app`.`name` as `app.name`, `app`.`path` as `app.path`, `app`.`author` as `app.author`, `app`.`copyright` as `app.copyright`, `app`.`license` as `app.license`, `app`.`active` as `app.active`, `app`.`configurable` as `app.configurable`, `app`.`privacy` as `app.privacy`, `app`.`version` as `app.version`, `app`.`icon` as `app.iconRaw`, `app`.`app_secret` as `app.appSecret`, `app`.`modules` as `app.modules`, `app`.`main_module` as `app.mainModule`, `app`.`cookies` as `app.cookies`, `app`.`allow_disable` as `app.allowDisable`, `app`.`base_app_url` as `app.baseAppUrl`, `app`.`allowed_hosts` as `app.allowedHosts`, `app`.`template_load_priority` as `app.templateLoadPriority`, `app`.`integration_id` as `app.integrationId`, `app.integration`.`id` as `app.integration.id`, `app.integration`.`label` as `app.integration.label`, `app.integration`.`access_key` as `app.integration.accessKey`, `app.integration`.`secret_access_key` as `app.integration.secretAccessKey`, `app.integration`.`write_access` as `app.integration.writeAccess`, `app.integration`.`last_usage_at` as `app.integration.lastUsageAt`, `app.integration`.`admin` as `app.integration.admin`, `app.integration`.`custom_fields` as `app.integration.customFields`, `app.integration`.`deleted_at` as `app.integration.deletedAt`, `app.integration`.`created_at` as `app.integration.createdAt`, `app.integration`.`updated_at` as `app.integration.updatedAt`, `app`.`acl_role_id` as `app.aclRoleId`, `app.aclRole`.`id` as `app.aclRole.id`, `app.aclRole`.`name` as `app.aclRole.name`, `app.aclRole`.`description` as `app.aclRole.description`, `app.aclRole`.`privileges` as `app.aclRole.privileges`, `app.aclRole`.`deleted_at` as `app.aclRole.deletedAt`, `app.aclRole`.`created_at` as `app.aclRole.createdAt`, `app.aclRole`.`updated_at` as `app.aclRole.updatedAt`, `app`.`created_at` as `app.createdAt`, `app`.`updated_at` as `app.updatedAt`, `app.translation.label`, COALESCE(`app.translation.label`,`app.translation.label`) as `app.label`, `app.translation.description`, COALESCE(`app.translation.description`,`app.translation.description`) as `app.description`, `app.translation.privacyPolicyExtensions`, COALESCE(`app.translation.privacyPolicyExtensions`,`app.translation.privacyPolicyExtensions`) as `app.privacyPolicyExtensions`, `app.translation.customFields`, COALESCE(`app.translation.customFields`,`app.translation.customFields`) as `app.customFields`, `app.translation.createdAt`, `app.translation.updatedAt`, `app.translation.appId`, `app.translation.languageId` FROM `app` LEFT JOIN (SELECT `app.translation`.app_id, `app.translation`.label as `app.translation.label`, `app.translation`.description as `app.translation.description`, `app.translation`.privacy_policy_extensions as `app.translation.privacyPolicyExtensions`, `app.translation`.custom_fields as `app.translation.customFields`, `app.translation`.created_at as `app.translation.createdAt`, `app.translation`.updated_at as `app.translation.updatedAt`, `app.translation`.app_id as `app.translation.appId`, `app.translation`.language_id as `app.translation.languageId` FROM `app_translation` `app.translation` WHERE `app.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `app.app_translation` ON `app.app_translation`.`app_id` = `app`.`id` LEFT JOIN `integration` `app.integration` ON `app`.`integration_id` = `app.integration`.`id` LEFT JOIN `acl_role` `app.aclRole` ON `app`.`acl_role_id` = `app.aclRole`.`id` WHERE (`app`.`active` = 1);
array:23 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 316)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetch (line 148)"
4 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 93)"
5 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::read (line 257)"
6 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::read (line 286)"
7 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::_search (line 110)"
8 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::Shopware\Core\Framework\DataAbstractionLayer\{closure} (line 59)"
9 => "Shopware\Core\Profiling\Profiler::trace (line 111)"
10 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::search (line 51)"
11 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepositoryForwardCompatibilityDecorator::search (line 119)"
12 => "Shopware\Core\Framework\App\Lifecycle\Persister\ScriptPersister::refresh (line 73)"
13 => "Shopware\Core\Framework\Script\Execution\ScriptLoader::load (line 57)"
14 => "Shopware\Core\Framework\Script\Execution\ScriptLoader::get (line 71)"
15 => "Shopware\Core\Framework\Script\Execution\ScriptExecutor::execute (line 253)"
16 => "Shopware\Storefront\Controller\StorefrontController::hook (line 50)"
17 => "Shopware\Storefront\Controller\NavigationController::home (line 163)"
18 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
19 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
20 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
21 => "Shopware\Core\HttpKernel::doHandle (line 81)"
22 => "Shopware\Core\HttpKernel::handle (line 75)"
]
|
117 |
1.03 ms |
SELECT LOWER(HEX(`script`.`app_id`)) as `app_id`,
`script`.`name` AS scriptName,
`script`.`script` AS script,
`script`.`hook` AS hook,
IFNULL(`script`.`updated_at`, `script`.`created_at`) AS lastModified,
`app`.`name` AS appName,
LOWER(HEX(`app`.`integration_id`)) AS integrationId,
`app`.`version` AS appVersion,
`script`.`active` AS active
FROM `script`
LEFT JOIN `app` ON `script`.`app_id` = `app`.`id`
WHERE `script`.`hook` != 'include'
ORDER BY `app`.`created_at`, `app`.`id`, `script`.`name`
SELECT LOWER(HEX(`script`.`app_id`)) as `app_id`,
`script`.`name` AS scriptName,
`script`.`script` AS script,
`script`.`hook` AS hook,
IFNULL(`script`.`updated_at`, `script`.`created_at`) AS lastModified,
`app`.`name` AS appName,
LOWER(HEX(`app`.`integration_id`)) AS integrationId,
`app`.`version` AS appVersion,
`script`.`active` AS active
FROM `script`
LEFT JOIN `app` ON `script`.`app_id` = `app`.`id`
WHERE `script`.`hook` != 'include'
ORDER BY `app`.`created_at`, `app`.`id`, `script`.`name`
;
array:13 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 1042)"
2 => "Doctrine\DBAL\Connection::fetchAllAssociative (line 76)"
3 => "Shopware\Core\Framework\Script\Execution\ScriptLoader::load (line 57)"
4 => "Shopware\Core\Framework\Script\Execution\ScriptLoader::get (line 71)"
5 => "Shopware\Core\Framework\Script\Execution\ScriptExecutor::execute (line 253)"
6 => "Shopware\Storefront\Controller\StorefrontController::hook (line 50)"
7 => "Shopware\Storefront\Controller\NavigationController::home (line 163)"
8 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
9 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
10 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
11 => "Shopware\Core\HttpKernel::doHandle (line 81)"
12 => "Shopware\Core\HttpKernel::handle (line 75)"
]
|
118 |
0.79 ms |
SELECT LOWER(HEX(`script`.`app_id`)) as `app_id`,
`script`.`name` AS name,
`script`.`script` AS script,
`app`.`name` AS appName,
LOWER(HEX(`app`.`integration_id`)) AS integrationId,
IFNULL(`script`.`updated_at`, `script`.`created_at`) AS lastModified
FROM `script`
LEFT JOIN `app` ON `script`.`app_id` = `app`.`id`
WHERE `script`.`hook` = 'include'
ORDER BY `app`.`created_at`, `app`.`id`, `script`.`name`
SELECT LOWER(HEX(`script`.`app_id`)) as `app_id`,
`script`.`name` AS name,
`script`.`script` AS script,
`app`.`name` AS appName,
LOWER(HEX(`app`.`integration_id`)) AS integrationId,
IFNULL(`script`.`updated_at`, `script`.`created_at`) AS lastModified
FROM `script`
LEFT JOIN `app` ON `script`.`app_id` = `app`.`id`
WHERE `script`.`hook` = 'include'
ORDER BY `app`.`created_at`, `app`.`id`, `script`.`name`
;
array:13 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 1042)"
2 => "Doctrine\DBAL\Connection::fetchAllAssociative (line 92)"
3 => "Shopware\Core\Framework\Script\Execution\ScriptLoader::load (line 57)"
4 => "Shopware\Core\Framework\Script\Execution\ScriptLoader::get (line 71)"
5 => "Shopware\Core\Framework\Script\Execution\ScriptExecutor::execute (line 253)"
6 => "Shopware\Storefront\Controller\StorefrontController::hook (line 50)"
7 => "Shopware\Storefront\Controller\NavigationController::home (line 163)"
8 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
9 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
10 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
11 => "Shopware\Core\HttpKernel::doHandle (line 81)"
12 => "Shopware\Core\HttpKernel::handle (line 75)"
]
|
119 |
0.87 ms |
SELECT `app`.`name`, `app`.`version`, `app`.`template_load_priority`
FROM `app`
INNER JOIN `app_template` ON `app_template`.`app_id` = `app`.`id`
WHERE `app`.`active` = 1 AND `app_template`.`active` = 1
SELECT `app`.`name`, `app`.`version`, `app`.`template_load_priority`
FROM `app`
INNER JOIN `app_template` ON `app_template`.`app_id` = `app`.`id`
WHERE `app`.`active` = 1 AND `app_template`.`active` = 1;
array:15 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 1093)"
2 => "Doctrine\DBAL\Connection::fetchAllAssociativeIndexed (line 68)"
3 => "Shopware\Core\Framework\Adapter\Twig\NamespaceHierarchy\BundleHierarchyBuilder::getAppTemplateNamespaces (line 47)"
4 => "Shopware\Core\Framework\Adapter\Twig\NamespaceHierarchy\BundleHierarchyBuilder::buildNamespaceHierarchy (line 35)"
5 => "Shopware\Core\Framework\Adapter\Twig\NamespaceHierarchy\NamespaceHierarchyBuilder::buildHierarchy (line 147)"
6 => "Shopware\Core\Framework\Adapter\Twig\TemplateFinder::getNamespaceHierarchy (line 68)"
7 => "Shopware\Core\Framework\Adapter\Twig\TemplateFinder::find (line 58)"
8 => "Shopware\Storefront\Controller\StorefrontController::renderStorefront (line 52)"
9 => "Shopware\Storefront\Controller\NavigationController::home (line 163)"
10 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
11 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
12 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
13 => "Shopware\Core\HttpKernel::doHandle (line 81)"
14 => "Shopware\Core\HttpKernel::handle (line 75)"
]
|
120 |
0.77 ms |
SELECT `name`, `path`, `author`
FROM `app`
WHERE `active` = 1
SELECT `name`, `path`, `author`
FROM `app`
WHERE `active` = 1
;
array:20 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 1042)"
2 => "Doctrine\DBAL\Connection::fetchAllAssociative (line 62)"
3 => "Shopware\Core\Framework\App\ActiveAppsLoader::loadApps (line 44)"
4 => "Shopware\Core\Framework\App\ActiveAppsLoader::getActiveApps (line 77)"
5 => "Shopware\Storefront\Theme\StorefrontPluginRegistry::addAppConfigs (line 52)"
6 => "Shopware\Storefront\Theme\StorefrontPluginRegistry::getConfigurations (line 82)"
7 => "Shopware\Storefront\Theme\Twig\ThemeInheritanceBuilder::getThemeInheritance (line 31)"
8 => "Shopware\Storefront\Theme\Twig\ThemeInheritanceBuilder::build (line 93)"
9 => "Shopware\Storefront\Theme\Twig\ThemeNamespaceHierarchyBuilder::buildNamespaceHierarchy (line 35)"
10 => "Shopware\Core\Framework\Adapter\Twig\NamespaceHierarchy\NamespaceHierarchyBuilder::buildHierarchy (line 147)"
11 => "Shopware\Core\Framework\Adapter\Twig\TemplateFinder::getNamespaceHierarchy (line 68)"
12 => "Shopware\Core\Framework\Adapter\Twig\TemplateFinder::find (line 58)"
13 => "Shopware\Storefront\Controller\StorefrontController::renderStorefront (line 52)"
14 => "Shopware\Storefront\Controller\NavigationController::home (line 163)"
15 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
16 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
17 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
18 => "Shopware\Core\HttpKernel::doHandle (line 81)"
19 => "Shopware\Core\HttpKernel::handle (line 75)"
]
|
121 |
2.06 ms |
SELECT `media`.`id` as `media.id`, `media`.`user_id` as `media.userId`, `media`.`media_folder_id` as `media.mediaFolderId`, `media`.`mime_type` as `media.mimeType`, `media`.`file_extension` as `media.fileExtension`, `media`.`uploaded_at` as `media.uploadedAt`, `media`.`file_name` as `media.fileName`, `media`.`file_size` as `media.fileSize`, `media`.`media_type` as `media.mediaTypeRaw`, `media`.`meta_data` as `media.metaData`, `media`.`private` as `media.private`, `media`.`thumbnails_ro` as `media.thumbnailsRo`, `media`.`created_at` as `media.createdAt`, `media`.`updated_at` as `media.updatedAt`, `media.translation.title`, COALESCE(`media.translation.title`,`media.translation.title`) as `media.title`, `media.translation.alt`, COALESCE(`media.translation.alt`,`media.translation.alt`) as `media.alt`, `media.translation.customFields`, COALESCE(`media.translation.customFields`,`media.translation.customFields`) as `media.customFields`, `media.translation.createdAt`, `media.translation.updatedAt`, `media.translation.mediaId`, `media.translation.languageId` FROM `media` LEFT JOIN `media_folder` `media.mediaFolder` ON `media`.`media_folder_id` = `media.mediaFolder`.`id` LEFT JOIN (SELECT `media.translation`.media_id, `media.translation`.title as `media.translation.title`, `media.translation`.alt as `media.translation.alt`, `media.translation`.custom_fields as `media.translation.customFields`, `media.translation`.created_at as `media.translation.createdAt`, `media.translation`.updated_at as `media.translation.updatedAt`, `media.translation`.media_id as `media.translation.mediaId`, `media.translation`.language_id as `media.translation.languageId` FROM `media_translation` `media.translation` WHERE `media.translation`.language_id = :languageId) `media.media_translation` ON `media.media_translation`.`media_id` = `media`.`id` LEFT JOIN `media_default_folder` `media.mediaFolder.defaultFolder` ON `media.mediaFolder`.`default_folder_id` = `media.mediaFolder.defaultFolder`.`id` WHERE (((`media`.`private` = :param_98fd67d653bf4353ba5eb6b0e36afa4e OR (`media`.`private` = :param_b7aef3b7152e41a3a1ab1bfa1bf8f6e9 AND `media.mediaFolder.defaultFolder`.`entity` = :param_b9eedd1faf56420ebf1cf2c52677fd22)))) AND (`media`.`id` IN (:ids))
SELECT `media`.`id` as `media.id`, `media`.`user_id` as `media.userId`, `media`.`media_folder_id` as `media.mediaFolderId`, `media`.`mime_type` as `media.mimeType`, `media`.`file_extension` as `media.fileExtension`, `media`.`uploaded_at` as `media.uploadedAt`, `media`.`file_name` as `media.fileName`, `media`.`file_size` as `media.fileSize`, `media`.`media_type` as `media.mediaTypeRaw`, `media`.`meta_data` as `media.metaData`, `media`.`private` as `media.private`, `media`.`thumbnails_ro` as `media.thumbnailsRo`, `media`.`created_at` as `media.createdAt`, `media`.`updated_at` as `media.updatedAt`, `media.translation.title`, COALESCE(`media.translation.title`,`media.translation.title`) as `media.title`, `media.translation.alt`, COALESCE(`media.translation.alt`,`media.translation.alt`) as `media.alt`, `media.translation.customFields`, COALESCE(`media.translation.customFields`,`media.translation.customFields`) as `media.customFields`, `media.translation.createdAt`, `media.translation.updatedAt`, `media.translation.mediaId`, `media.translation.languageId` FROM `media` LEFT JOIN `media_folder` `media.mediaFolder` ON `media`.`media_folder_id` = `media.mediaFolder`.`id` LEFT JOIN (SELECT `media.translation`.media_id, `media.translation`.title as `media.translation.title`, `media.translation`.alt as `media.translation.alt`, `media.translation`.custom_fields as `media.translation.customFields`, `media.translation`.created_at as `media.translation.createdAt`, `media.translation`.updated_at as `media.translation.updatedAt`, `media.translation`.media_id as `media.translation.mediaId`, `media.translation`.language_id as `media.translation.languageId` FROM `media_translation` `media.translation` WHERE `media.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `media.media_translation` ON `media.media_translation`.`media_id` = `media`.`id` LEFT JOIN `media_default_folder` `media.mediaFolder.defaultFolder` ON `media.mediaFolder`.`default_folder_id` = `media.mediaFolder.defaultFolder`.`id` WHERE (((`media`.`private` = 0 OR (`media`.`private` = 1 AND `media.mediaFolder.defaultFolder`.`entity` = 'product_download')))) AND (`media`.`id` IN (0x005A5D3565B74D46A9488FA4C401D0A1));
array:101 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 316)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetch (line 148)"
4 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 93)"
5 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::read (line 257)"
6 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::read (line 286)"
7 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::_search (line 106)"
8 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::search (line 59)"
9 => "Shopware\Core\Content\Media\DataAbstractionLayer\MediaRepositoryDecorator::search (line 51)"
10 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepositoryForwardCompatibilityDecorator::search (line 46)"
11 => "Shopware\Core\Framework\Adapter\Twig\Extension\MediaExtension::searchMedia (line 257)"
12 => "__TwigTemplate_fd8d5b256d312c5be99b5c665c7d3c38::block_element_hero_slider_inner (line 171)"
13 => "Twig\Template::displayBlock (line 100)"
14 => "__TwigTemplate_fd8d5b256d312c5be99b5c665c7d3c38::block_element_hero_slider (line 171)"
15 => "Twig\Template::displayBlock (line 53)"
16 => "__TwigTemplate_fd8d5b256d312c5be99b5c665c7d3c38::doDisplay (line 394)"
17 => "Twig\Template::displayWithErrorHandling (line 367)"
18 => "Twig\Template::display (line 63)"
19 => "__TwigTemplate_a73bc428d67ccf41d9eb06bc898c7144::doDisplay (line 394)"
20 => "Twig\Template::displayWithErrorHandling (line 367)"
21 => "Twig\Template::display (line 326)"
22 => "__TwigTemplate_de51fe3149c36c2d13038f03675e7186::block_section_content_block_row (line 171)"
23 => "Twig\Template::displayBlock (line 285)"
24 => "__TwigTemplate_de51fe3149c36c2d13038f03675e7186::block_section_content_block_container (line 171)"
25 => "Twig\Template::displayBlock (line 213)"
26 => "__TwigTemplate_de51fe3149c36c2d13038f03675e7186::block_section_content_block (line 171)"
27 => "Twig\Template::displayBlock (line 49)"
28 => "__TwigTemplate_de51fe3149c36c2d13038f03675e7186::doDisplay (line 394)"
29 => "Twig\Template::displayWithErrorHandling (line 367)"
30 => "Twig\Template::display (line 132)"
31 => "__TwigTemplate_2166dd94fe780598b8fdcf72ddd769c9::block_section_default_content_block (line 171)"
32 => "Twig\Template::displayBlock (line 94)"
33 => "__TwigTemplate_2166dd94fe780598b8fdcf72ddd769c9::block_page_content_section_default (line 171)"
34 => "Twig\Template::displayBlock (line 47)"
35 => "__TwigTemplate_2166dd94fe780598b8fdcf72ddd769c9::doDisplay (line 394)"
36 => "Twig\Template::displayWithErrorHandling (line 367)"
37 => "Twig\Template::display (line 221)"
38 => "__TwigTemplate_2698d288dda261b2d5360419617c8736::block_page_content_section (line 171)"
39 => "Twig\Template::displayBlock (line 135)"
40 => "__TwigTemplate_2698d288dda261b2d5360419617c8736::block_page_content_sections_inner (line 171)"
41 => "Twig\Template::displayBlock (line 47)"
42 => "__TwigTemplate_fe3011e8614935f2877430f24082e841::doDisplay (line 394)"
43 => "Twig\Template::displayWithErrorHandling (line 367)"
44 => "Twig\Template::display (line 50)"
45 => "__TwigTemplate_e550e0b90883c1187f499e90e2cd999a::doDisplay (line 394)"
46 => "Twig\Template::displayWithErrorHandling (line 367)"
47 => "Twig\Template::display (line 51)"
48 => "__TwigTemplate_2698d288dda261b2d5360419617c8736::doDisplay (line 394)"
49 => "Twig\Template::displayWithErrorHandling (line 367)"
50 => "Twig\Template::display (line 211)"
51 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::block_page_content_blocks (line 171)"
52 => "Twig\Template::displayBlock (line 187)"
53 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::block_cms_content (line 171)"
54 => "Twig\Template::displayBlock (line 106)"
55 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::block_page_content (line 171)"
56 => "Twig\Template::displayBlock (line 77)"
57 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::block_base_main_inner (line 171)"
58 => "Twig\Template::displayBlock (line 504)"
59 => "__TwigTemplate_edfe32b5c98942de2b24393e846ea184::block_base_main (line 171)"
60 => "Twig\Template::displayBlock (line 191)"
61 => "Twig\Template::displayBlock (line 134)"
62 => "Twig\Template::displayParentBlock (line 71)"
63 => "__TwigTemplate_3d4777fcf75842349da241d4044d7d72::block_base_main (line 171)"
64 => "Twig\Template::displayBlock (line 283)"
65 => "__TwigTemplate_edfe32b5c98942de2b24393e846ea184::block_base_body_inner (line 171)"
66 => "Twig\Template::displayBlock (line 193)"
67 => "__TwigTemplate_edfe32b5c98942de2b24393e846ea184::block_base_body (line 171)"
68 => "Twig\Template::displayBlock (line 97)"
69 => "__TwigTemplate_edfe32b5c98942de2b24393e846ea184::doDisplay (line 394)"
70 => "Twig\Template::displayWithErrorHandling (line 367)"
71 => "Twig\Template::display (line 49)"
72 => "__TwigTemplate_317ed82f740e5079054f5b72bb59033c::doDisplay (line 394)"
73 => "Twig\Template::displayWithErrorHandling (line 367)"
74 => "Twig\Template::display (line 50)"
75 => "__TwigTemplate_3d4777fcf75842349da241d4044d7d72::doDisplay (line 394)"
76 => "Twig\Template::displayWithErrorHandling (line 367)"
77 => "Twig\Template::display (line 50)"
78 => "__TwigTemplate_aa1832859ad5b25e9cc640dfcf28a0bc::doDisplay (line 394)"
79 => "Twig\Template::displayWithErrorHandling (line 367)"
80 => "Twig\Template::display (line 54)"
81 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::doDisplay (line 394)"
82 => "Twig\Template::displayWithErrorHandling (line 367)"
83 => "Twig\Template::display (line 52)"
84 => "__TwigTemplate_da551205fea81b0c3b361980c09151e2::doDisplay (line 394)"
85 => "Twig\Template::displayWithErrorHandling (line 367)"
86 => "Twig\Template::display (line 379)"
87 => "Twig\Template::render (line 40)"
88 => "Twig\TemplateWrapper::render (line 277)"
89 => "Twig\Environment::render (line 235)"
90 => "Shopware\Storefront\Controller\StorefrontController::renderView (line 266)"
91 => "Symfony\Bundle\FrameworkBundle\Controller\AbstractController::render (line 72)"
92 => "Shopware\Storefront\Controller\StorefrontController::Shopware\Storefront\Controller\{closure} (line 59)"
93 => "Shopware\Core\Profiling\Profiler::trace (line 73)"
94 => "Shopware\Storefront\Controller\StorefrontController::renderStorefront (line 52)"
95 => "Shopware\Storefront\Controller\NavigationController::home (line 163)"
96 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
97 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
98 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
99 => "Shopware\Core\HttpKernel::doHandle (line 81)"
100 => "Shopware\Core\HttpKernel::handle (line 75)"
]
|
122 |
2.46 ms |
SELECT `media`.`id` as `media.id`, `media`.`user_id` as `media.userId`, `media`.`media_folder_id` as `media.mediaFolderId`, `media`.`mime_type` as `media.mimeType`, `media`.`file_extension` as `media.fileExtension`, `media`.`uploaded_at` as `media.uploadedAt`, `media`.`file_name` as `media.fileName`, `media`.`file_size` as `media.fileSize`, `media`.`media_type` as `media.mediaTypeRaw`, `media`.`meta_data` as `media.metaData`, `media`.`private` as `media.private`, `media`.`thumbnails_ro` as `media.thumbnailsRo`, `media`.`created_at` as `media.createdAt`, `media`.`updated_at` as `media.updatedAt`, `media.translation.title`, COALESCE(`media.translation.title`,`media.translation.title`) as `media.title`, `media.translation.alt`, COALESCE(`media.translation.alt`,`media.translation.alt`) as `media.alt`, `media.translation.customFields`, COALESCE(`media.translation.customFields`,`media.translation.customFields`) as `media.customFields`, `media.translation.createdAt`, `media.translation.updatedAt`, `media.translation.mediaId`, `media.translation.languageId` FROM `media` LEFT JOIN `media_folder` `media.mediaFolder` ON `media`.`media_folder_id` = `media.mediaFolder`.`id` LEFT JOIN (SELECT `media.translation`.media_id, `media.translation`.title as `media.translation.title`, `media.translation`.alt as `media.translation.alt`, `media.translation`.custom_fields as `media.translation.customFields`, `media.translation`.created_at as `media.translation.createdAt`, `media.translation`.updated_at as `media.translation.updatedAt`, `media.translation`.media_id as `media.translation.mediaId`, `media.translation`.language_id as `media.translation.languageId` FROM `media_translation` `media.translation` WHERE `media.translation`.language_id = :languageId) `media.media_translation` ON `media.media_translation`.`media_id` = `media`.`id` LEFT JOIN `media_default_folder` `media.mediaFolder.defaultFolder` ON `media.mediaFolder`.`default_folder_id` = `media.mediaFolder.defaultFolder`.`id` WHERE (((`media`.`private` = :param_63a2e9c7c7a0412c850d4b1721eea29c OR (`media`.`private` = :param_61222c35885b4b67add37ceabc8a3c20 AND `media.mediaFolder.defaultFolder`.`entity` = :param_bd99f5bf6d9747afb70d129689af7339)))) AND (`media`.`id` IN (:ids))
SELECT `media`.`id` as `media.id`, `media`.`user_id` as `media.userId`, `media`.`media_folder_id` as `media.mediaFolderId`, `media`.`mime_type` as `media.mimeType`, `media`.`file_extension` as `media.fileExtension`, `media`.`uploaded_at` as `media.uploadedAt`, `media`.`file_name` as `media.fileName`, `media`.`file_size` as `media.fileSize`, `media`.`media_type` as `media.mediaTypeRaw`, `media`.`meta_data` as `media.metaData`, `media`.`private` as `media.private`, `media`.`thumbnails_ro` as `media.thumbnailsRo`, `media`.`created_at` as `media.createdAt`, `media`.`updated_at` as `media.updatedAt`, `media.translation.title`, COALESCE(`media.translation.title`,`media.translation.title`) as `media.title`, `media.translation.alt`, COALESCE(`media.translation.alt`,`media.translation.alt`) as `media.alt`, `media.translation.customFields`, COALESCE(`media.translation.customFields`,`media.translation.customFields`) as `media.customFields`, `media.translation.createdAt`, `media.translation.updatedAt`, `media.translation.mediaId`, `media.translation.languageId` FROM `media` LEFT JOIN `media_folder` `media.mediaFolder` ON `media`.`media_folder_id` = `media.mediaFolder`.`id` LEFT JOIN (SELECT `media.translation`.media_id, `media.translation`.title as `media.translation.title`, `media.translation`.alt as `media.translation.alt`, `media.translation`.custom_fields as `media.translation.customFields`, `media.translation`.created_at as `media.translation.createdAt`, `media.translation`.updated_at as `media.translation.updatedAt`, `media.translation`.media_id as `media.translation.mediaId`, `media.translation`.language_id as `media.translation.languageId` FROM `media_translation` `media.translation` WHERE `media.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `media.media_translation` ON `media.media_translation`.`media_id` = `media`.`id` LEFT JOIN `media_default_folder` `media.mediaFolder.defaultFolder` ON `media.mediaFolder`.`default_folder_id` = `media.mediaFolder.defaultFolder`.`id` WHERE (((`media`.`private` = 0 OR (`media`.`private` = 1 AND `media.mediaFolder.defaultFolder`.`entity` = 'product_download')))) AND (`media`.`id` IN (0x3DFEDB66EA984F389361F40451F2F780));
array:101 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 316)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetch (line 148)"
4 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 93)"
5 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::read (line 257)"
6 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::read (line 286)"
7 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::_search (line 106)"
8 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::search (line 59)"
9 => "Shopware\Core\Content\Media\DataAbstractionLayer\MediaRepositoryDecorator::search (line 51)"
10 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepositoryForwardCompatibilityDecorator::search (line 46)"
11 => "Shopware\Core\Framework\Adapter\Twig\Extension\MediaExtension::searchMedia (line 257)"
12 => "__TwigTemplate_fd8d5b256d312c5be99b5c665c7d3c38::block_element_hero_slider_inner (line 171)"
13 => "Twig\Template::displayBlock (line 100)"
14 => "__TwigTemplate_fd8d5b256d312c5be99b5c665c7d3c38::block_element_hero_slider (line 171)"
15 => "Twig\Template::displayBlock (line 53)"
16 => "__TwigTemplate_fd8d5b256d312c5be99b5c665c7d3c38::doDisplay (line 394)"
17 => "Twig\Template::displayWithErrorHandling (line 367)"
18 => "Twig\Template::display (line 63)"
19 => "__TwigTemplate_a73bc428d67ccf41d9eb06bc898c7144::doDisplay (line 394)"
20 => "Twig\Template::displayWithErrorHandling (line 367)"
21 => "Twig\Template::display (line 326)"
22 => "__TwigTemplate_de51fe3149c36c2d13038f03675e7186::block_section_content_block_row (line 171)"
23 => "Twig\Template::displayBlock (line 285)"
24 => "__TwigTemplate_de51fe3149c36c2d13038f03675e7186::block_section_content_block_container (line 171)"
25 => "Twig\Template::displayBlock (line 213)"
26 => "__TwigTemplate_de51fe3149c36c2d13038f03675e7186::block_section_content_block (line 171)"
27 => "Twig\Template::displayBlock (line 49)"
28 => "__TwigTemplate_de51fe3149c36c2d13038f03675e7186::doDisplay (line 394)"
29 => "Twig\Template::displayWithErrorHandling (line 367)"
30 => "Twig\Template::display (line 132)"
31 => "__TwigTemplate_2166dd94fe780598b8fdcf72ddd769c9::block_section_default_content_block (line 171)"
32 => "Twig\Template::displayBlock (line 94)"
33 => "__TwigTemplate_2166dd94fe780598b8fdcf72ddd769c9::block_page_content_section_default (line 171)"
34 => "Twig\Template::displayBlock (line 47)"
35 => "__TwigTemplate_2166dd94fe780598b8fdcf72ddd769c9::doDisplay (line 394)"
36 => "Twig\Template::displayWithErrorHandling (line 367)"
37 => "Twig\Template::display (line 221)"
38 => "__TwigTemplate_2698d288dda261b2d5360419617c8736::block_page_content_section (line 171)"
39 => "Twig\Template::displayBlock (line 135)"
40 => "__TwigTemplate_2698d288dda261b2d5360419617c8736::block_page_content_sections_inner (line 171)"
41 => "Twig\Template::displayBlock (line 47)"
42 => "__TwigTemplate_fe3011e8614935f2877430f24082e841::doDisplay (line 394)"
43 => "Twig\Template::displayWithErrorHandling (line 367)"
44 => "Twig\Template::display (line 50)"
45 => "__TwigTemplate_e550e0b90883c1187f499e90e2cd999a::doDisplay (line 394)"
46 => "Twig\Template::displayWithErrorHandling (line 367)"
47 => "Twig\Template::display (line 51)"
48 => "__TwigTemplate_2698d288dda261b2d5360419617c8736::doDisplay (line 394)"
49 => "Twig\Template::displayWithErrorHandling (line 367)"
50 => "Twig\Template::display (line 211)"
51 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::block_page_content_blocks (line 171)"
52 => "Twig\Template::displayBlock (line 187)"
53 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::block_cms_content (line 171)"
54 => "Twig\Template::displayBlock (line 106)"
55 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::block_page_content (line 171)"
56 => "Twig\Template::displayBlock (line 77)"
57 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::block_base_main_inner (line 171)"
58 => "Twig\Template::displayBlock (line 504)"
59 => "__TwigTemplate_edfe32b5c98942de2b24393e846ea184::block_base_main (line 171)"
60 => "Twig\Template::displayBlock (line 191)"
61 => "Twig\Template::displayBlock (line 134)"
62 => "Twig\Template::displayParentBlock (line 71)"
63 => "__TwigTemplate_3d4777fcf75842349da241d4044d7d72::block_base_main (line 171)"
64 => "Twig\Template::displayBlock (line 283)"
65 => "__TwigTemplate_edfe32b5c98942de2b24393e846ea184::block_base_body_inner (line 171)"
66 => "Twig\Template::displayBlock (line 193)"
67 => "__TwigTemplate_edfe32b5c98942de2b24393e846ea184::block_base_body (line 171)"
68 => "Twig\Template::displayBlock (line 97)"
69 => "__TwigTemplate_edfe32b5c98942de2b24393e846ea184::doDisplay (line 394)"
70 => "Twig\Template::displayWithErrorHandling (line 367)"
71 => "Twig\Template::display (line 49)"
72 => "__TwigTemplate_317ed82f740e5079054f5b72bb59033c::doDisplay (line 394)"
73 => "Twig\Template::displayWithErrorHandling (line 367)"
74 => "Twig\Template::display (line 50)"
75 => "__TwigTemplate_3d4777fcf75842349da241d4044d7d72::doDisplay (line 394)"
76 => "Twig\Template::displayWithErrorHandling (line 367)"
77 => "Twig\Template::display (line 50)"
78 => "__TwigTemplate_aa1832859ad5b25e9cc640dfcf28a0bc::doDisplay (line 394)"
79 => "Twig\Template::displayWithErrorHandling (line 367)"
80 => "Twig\Template::display (line 54)"
81 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::doDisplay (line 394)"
82 => "Twig\Template::displayWithErrorHandling (line 367)"
83 => "Twig\Template::display (line 52)"
84 => "__TwigTemplate_da551205fea81b0c3b361980c09151e2::doDisplay (line 394)"
85 => "Twig\Template::displayWithErrorHandling (line 367)"
86 => "Twig\Template::display (line 379)"
87 => "Twig\Template::render (line 40)"
88 => "Twig\TemplateWrapper::render (line 277)"
89 => "Twig\Environment::render (line 235)"
90 => "Shopware\Storefront\Controller\StorefrontController::renderView (line 266)"
91 => "Symfony\Bundle\FrameworkBundle\Controller\AbstractController::render (line 72)"
92 => "Shopware\Storefront\Controller\StorefrontController::Shopware\Storefront\Controller\{closure} (line 59)"
93 => "Shopware\Core\Profiling\Profiler::trace (line 73)"
94 => "Shopware\Storefront\Controller\StorefrontController::renderStorefront (line 52)"
95 => "Shopware\Storefront\Controller\NavigationController::home (line 163)"
96 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
97 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
98 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
99 => "Shopware\Core\HttpKernel::doHandle (line 81)"
100 => "Shopware\Core\HttpKernel::handle (line 75)"
]
|
123 |
1.90 ms |
SELECT `media`.`id` as `media.id`, `media`.`user_id` as `media.userId`, `media`.`media_folder_id` as `media.mediaFolderId`, `media`.`mime_type` as `media.mimeType`, `media`.`file_extension` as `media.fileExtension`, `media`.`uploaded_at` as `media.uploadedAt`, `media`.`file_name` as `media.fileName`, `media`.`file_size` as `media.fileSize`, `media`.`media_type` as `media.mediaTypeRaw`, `media`.`meta_data` as `media.metaData`, `media`.`private` as `media.private`, `media`.`thumbnails_ro` as `media.thumbnailsRo`, `media`.`created_at` as `media.createdAt`, `media`.`updated_at` as `media.updatedAt`, `media.translation.title`, COALESCE(`media.translation.title`,`media.translation.title`) as `media.title`, `media.translation.alt`, COALESCE(`media.translation.alt`,`media.translation.alt`) as `media.alt`, `media.translation.customFields`, COALESCE(`media.translation.customFields`,`media.translation.customFields`) as `media.customFields`, `media.translation.createdAt`, `media.translation.updatedAt`, `media.translation.mediaId`, `media.translation.languageId` FROM `media` LEFT JOIN `media_folder` `media.mediaFolder` ON `media`.`media_folder_id` = `media.mediaFolder`.`id` LEFT JOIN (SELECT `media.translation`.media_id, `media.translation`.title as `media.translation.title`, `media.translation`.alt as `media.translation.alt`, `media.translation`.custom_fields as `media.translation.customFields`, `media.translation`.created_at as `media.translation.createdAt`, `media.translation`.updated_at as `media.translation.updatedAt`, `media.translation`.media_id as `media.translation.mediaId`, `media.translation`.language_id as `media.translation.languageId` FROM `media_translation` `media.translation` WHERE `media.translation`.language_id = :languageId) `media.media_translation` ON `media.media_translation`.`media_id` = `media`.`id` LEFT JOIN `media_default_folder` `media.mediaFolder.defaultFolder` ON `media.mediaFolder`.`default_folder_id` = `media.mediaFolder.defaultFolder`.`id` WHERE (((`media`.`private` = :param_4121e67093e24c94a63f428e6b661c33 OR (`media`.`private` = :param_3daeecf97b3f4ebcb79e219956cfa958 AND `media.mediaFolder.defaultFolder`.`entity` = :param_6e905ec48d9e4f0e9147d5d42e77b562)))) AND (`media`.`id` IN (:ids))
SELECT `media`.`id` as `media.id`, `media`.`user_id` as `media.userId`, `media`.`media_folder_id` as `media.mediaFolderId`, `media`.`mime_type` as `media.mimeType`, `media`.`file_extension` as `media.fileExtension`, `media`.`uploaded_at` as `media.uploadedAt`, `media`.`file_name` as `media.fileName`, `media`.`file_size` as `media.fileSize`, `media`.`media_type` as `media.mediaTypeRaw`, `media`.`meta_data` as `media.metaData`, `media`.`private` as `media.private`, `media`.`thumbnails_ro` as `media.thumbnailsRo`, `media`.`created_at` as `media.createdAt`, `media`.`updated_at` as `media.updatedAt`, `media.translation.title`, COALESCE(`media.translation.title`,`media.translation.title`) as `media.title`, `media.translation.alt`, COALESCE(`media.translation.alt`,`media.translation.alt`) as `media.alt`, `media.translation.customFields`, COALESCE(`media.translation.customFields`,`media.translation.customFields`) as `media.customFields`, `media.translation.createdAt`, `media.translation.updatedAt`, `media.translation.mediaId`, `media.translation.languageId` FROM `media` LEFT JOIN `media_folder` `media.mediaFolder` ON `media`.`media_folder_id` = `media.mediaFolder`.`id` LEFT JOIN (SELECT `media.translation`.media_id, `media.translation`.title as `media.translation.title`, `media.translation`.alt as `media.translation.alt`, `media.translation`.custom_fields as `media.translation.customFields`, `media.translation`.created_at as `media.translation.createdAt`, `media.translation`.updated_at as `media.translation.updatedAt`, `media.translation`.media_id as `media.translation.mediaId`, `media.translation`.language_id as `media.translation.languageId` FROM `media_translation` `media.translation` WHERE `media.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `media.media_translation` ON `media.media_translation`.`media_id` = `media`.`id` LEFT JOIN `media_default_folder` `media.mediaFolder.defaultFolder` ON `media.mediaFolder`.`default_folder_id` = `media.mediaFolder.defaultFolder`.`id` WHERE (((`media`.`private` = 0 OR (`media`.`private` = 1 AND `media.mediaFolder.defaultFolder`.`entity` = 'product_download')))) AND (`media`.`id` IN (0x4D7ABC71D5B04C6C90D254556520A26C));
array:101 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 316)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetch (line 148)"
4 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 93)"
5 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::read (line 257)"
6 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::read (line 286)"
7 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::_search (line 106)"
8 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::search (line 59)"
9 => "Shopware\Core\Content\Media\DataAbstractionLayer\MediaRepositoryDecorator::search (line 51)"
10 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepositoryForwardCompatibilityDecorator::search (line 46)"
11 => "Shopware\Core\Framework\Adapter\Twig\Extension\MediaExtension::searchMedia (line 257)"
12 => "__TwigTemplate_fd8d5b256d312c5be99b5c665c7d3c38::block_element_hero_slider_inner (line 171)"
13 => "Twig\Template::displayBlock (line 100)"
14 => "__TwigTemplate_fd8d5b256d312c5be99b5c665c7d3c38::block_element_hero_slider (line 171)"
15 => "Twig\Template::displayBlock (line 53)"
16 => "__TwigTemplate_fd8d5b256d312c5be99b5c665c7d3c38::doDisplay (line 394)"
17 => "Twig\Template::displayWithErrorHandling (line 367)"
18 => "Twig\Template::display (line 63)"
19 => "__TwigTemplate_a73bc428d67ccf41d9eb06bc898c7144::doDisplay (line 394)"
20 => "Twig\Template::displayWithErrorHandling (line 367)"
21 => "Twig\Template::display (line 326)"
22 => "__TwigTemplate_de51fe3149c36c2d13038f03675e7186::block_section_content_block_row (line 171)"
23 => "Twig\Template::displayBlock (line 285)"
24 => "__TwigTemplate_de51fe3149c36c2d13038f03675e7186::block_section_content_block_container (line 171)"
25 => "Twig\Template::displayBlock (line 213)"
26 => "__TwigTemplate_de51fe3149c36c2d13038f03675e7186::block_section_content_block (line 171)"
27 => "Twig\Template::displayBlock (line 49)"
28 => "__TwigTemplate_de51fe3149c36c2d13038f03675e7186::doDisplay (line 394)"
29 => "Twig\Template::displayWithErrorHandling (line 367)"
30 => "Twig\Template::display (line 132)"
31 => "__TwigTemplate_2166dd94fe780598b8fdcf72ddd769c9::block_section_default_content_block (line 171)"
32 => "Twig\Template::displayBlock (line 94)"
33 => "__TwigTemplate_2166dd94fe780598b8fdcf72ddd769c9::block_page_content_section_default (line 171)"
34 => "Twig\Template::displayBlock (line 47)"
35 => "__TwigTemplate_2166dd94fe780598b8fdcf72ddd769c9::doDisplay (line 394)"
36 => "Twig\Template::displayWithErrorHandling (line 367)"
37 => "Twig\Template::display (line 221)"
38 => "__TwigTemplate_2698d288dda261b2d5360419617c8736::block_page_content_section (line 171)"
39 => "Twig\Template::displayBlock (line 135)"
40 => "__TwigTemplate_2698d288dda261b2d5360419617c8736::block_page_content_sections_inner (line 171)"
41 => "Twig\Template::displayBlock (line 47)"
42 => "__TwigTemplate_fe3011e8614935f2877430f24082e841::doDisplay (line 394)"
43 => "Twig\Template::displayWithErrorHandling (line 367)"
44 => "Twig\Template::display (line 50)"
45 => "__TwigTemplate_e550e0b90883c1187f499e90e2cd999a::doDisplay (line 394)"
46 => "Twig\Template::displayWithErrorHandling (line 367)"
47 => "Twig\Template::display (line 51)"
48 => "__TwigTemplate_2698d288dda261b2d5360419617c8736::doDisplay (line 394)"
49 => "Twig\Template::displayWithErrorHandling (line 367)"
50 => "Twig\Template::display (line 211)"
51 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::block_page_content_blocks (line 171)"
52 => "Twig\Template::displayBlock (line 187)"
53 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::block_cms_content (line 171)"
54 => "Twig\Template::displayBlock (line 106)"
55 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::block_page_content (line 171)"
56 => "Twig\Template::displayBlock (line 77)"
57 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::block_base_main_inner (line 171)"
58 => "Twig\Template::displayBlock (line 504)"
59 => "__TwigTemplate_edfe32b5c98942de2b24393e846ea184::block_base_main (line 171)"
60 => "Twig\Template::displayBlock (line 191)"
61 => "Twig\Template::displayBlock (line 134)"
62 => "Twig\Template::displayParentBlock (line 71)"
63 => "__TwigTemplate_3d4777fcf75842349da241d4044d7d72::block_base_main (line 171)"
64 => "Twig\Template::displayBlock (line 283)"
65 => "__TwigTemplate_edfe32b5c98942de2b24393e846ea184::block_base_body_inner (line 171)"
66 => "Twig\Template::displayBlock (line 193)"
67 => "__TwigTemplate_edfe32b5c98942de2b24393e846ea184::block_base_body (line 171)"
68 => "Twig\Template::displayBlock (line 97)"
69 => "__TwigTemplate_edfe32b5c98942de2b24393e846ea184::doDisplay (line 394)"
70 => "Twig\Template::displayWithErrorHandling (line 367)"
71 => "Twig\Template::display (line 49)"
72 => "__TwigTemplate_317ed82f740e5079054f5b72bb59033c::doDisplay (line 394)"
73 => "Twig\Template::displayWithErrorHandling (line 367)"
74 => "Twig\Template::display (line 50)"
75 => "__TwigTemplate_3d4777fcf75842349da241d4044d7d72::doDisplay (line 394)"
76 => "Twig\Template::displayWithErrorHandling (line 367)"
77 => "Twig\Template::display (line 50)"
78 => "__TwigTemplate_aa1832859ad5b25e9cc640dfcf28a0bc::doDisplay (line 394)"
79 => "Twig\Template::displayWithErrorHandling (line 367)"
80 => "Twig\Template::display (line 54)"
81 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::doDisplay (line 394)"
82 => "Twig\Template::displayWithErrorHandling (line 367)"
83 => "Twig\Template::display (line 52)"
84 => "__TwigTemplate_da551205fea81b0c3b361980c09151e2::doDisplay (line 394)"
85 => "Twig\Template::displayWithErrorHandling (line 367)"
86 => "Twig\Template::display (line 379)"
87 => "Twig\Template::render (line 40)"
88 => "Twig\TemplateWrapper::render (line 277)"
89 => "Twig\Environment::render (line 235)"
90 => "Shopware\Storefront\Controller\StorefrontController::renderView (line 266)"
91 => "Symfony\Bundle\FrameworkBundle\Controller\AbstractController::render (line 72)"
92 => "Shopware\Storefront\Controller\StorefrontController::Shopware\Storefront\Controller\{closure} (line 59)"
93 => "Shopware\Core\Profiling\Profiler::trace (line 73)"
94 => "Shopware\Storefront\Controller\StorefrontController::renderStorefront (line 52)"
95 => "Shopware\Storefront\Controller\NavigationController::home (line 163)"
96 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
97 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
98 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
99 => "Shopware\Core\HttpKernel::doHandle (line 81)"
100 => "Shopware\Core\HttpKernel::handle (line 75)"
]
|
124 |
3.41 ms |
SELECT `media`.`id` as `media.id`, `media`.`user_id` as `media.userId`, `media`.`media_folder_id` as `media.mediaFolderId`, `media`.`mime_type` as `media.mimeType`, `media`.`file_extension` as `media.fileExtension`, `media`.`uploaded_at` as `media.uploadedAt`, `media`.`file_name` as `media.fileName`, `media`.`file_size` as `media.fileSize`, `media`.`media_type` as `media.mediaTypeRaw`, `media`.`meta_data` as `media.metaData`, `media`.`private` as `media.private`, `media`.`thumbnails_ro` as `media.thumbnailsRo`, `media`.`created_at` as `media.createdAt`, `media`.`updated_at` as `media.updatedAt`, `media.translation.title`, COALESCE(`media.translation.title`,`media.translation.title`) as `media.title`, `media.translation.alt`, COALESCE(`media.translation.alt`,`media.translation.alt`) as `media.alt`, `media.translation.customFields`, COALESCE(`media.translation.customFields`,`media.translation.customFields`) as `media.customFields`, `media.translation.createdAt`, `media.translation.updatedAt`, `media.translation.mediaId`, `media.translation.languageId` FROM `media` LEFT JOIN `media_folder` `media.mediaFolder` ON `media`.`media_folder_id` = `media.mediaFolder`.`id` LEFT JOIN (SELECT `media.translation`.media_id, `media.translation`.title as `media.translation.title`, `media.translation`.alt as `media.translation.alt`, `media.translation`.custom_fields as `media.translation.customFields`, `media.translation`.created_at as `media.translation.createdAt`, `media.translation`.updated_at as `media.translation.updatedAt`, `media.translation`.media_id as `media.translation.mediaId`, `media.translation`.language_id as `media.translation.languageId` FROM `media_translation` `media.translation` WHERE `media.translation`.language_id = :languageId) `media.media_translation` ON `media.media_translation`.`media_id` = `media`.`id` LEFT JOIN `media_default_folder` `media.mediaFolder.defaultFolder` ON `media.mediaFolder`.`default_folder_id` = `media.mediaFolder.defaultFolder`.`id` WHERE (((`media`.`private` = :param_b94894d950a145b18f22a97cd496b550 OR (`media`.`private` = :param_b8c97e8b58a24d508874002514219124 AND `media.mediaFolder.defaultFolder`.`entity` = :param_af0d3e895906455a8651f220b7e2d282)))) AND (`media`.`id` IN (:ids))
SELECT `media`.`id` as `media.id`, `media`.`user_id` as `media.userId`, `media`.`media_folder_id` as `media.mediaFolderId`, `media`.`mime_type` as `media.mimeType`, `media`.`file_extension` as `media.fileExtension`, `media`.`uploaded_at` as `media.uploadedAt`, `media`.`file_name` as `media.fileName`, `media`.`file_size` as `media.fileSize`, `media`.`media_type` as `media.mediaTypeRaw`, `media`.`meta_data` as `media.metaData`, `media`.`private` as `media.private`, `media`.`thumbnails_ro` as `media.thumbnailsRo`, `media`.`created_at` as `media.createdAt`, `media`.`updated_at` as `media.updatedAt`, `media.translation.title`, COALESCE(`media.translation.title`,`media.translation.title`) as `media.title`, `media.translation.alt`, COALESCE(`media.translation.alt`,`media.translation.alt`) as `media.alt`, `media.translation.customFields`, COALESCE(`media.translation.customFields`,`media.translation.customFields`) as `media.customFields`, `media.translation.createdAt`, `media.translation.updatedAt`, `media.translation.mediaId`, `media.translation.languageId` FROM `media` LEFT JOIN `media_folder` `media.mediaFolder` ON `media`.`media_folder_id` = `media.mediaFolder`.`id` LEFT JOIN (SELECT `media.translation`.media_id, `media.translation`.title as `media.translation.title`, `media.translation`.alt as `media.translation.alt`, `media.translation`.custom_fields as `media.translation.customFields`, `media.translation`.created_at as `media.translation.createdAt`, `media.translation`.updated_at as `media.translation.updatedAt`, `media.translation`.media_id as `media.translation.mediaId`, `media.translation`.language_id as `media.translation.languageId` FROM `media_translation` `media.translation` WHERE `media.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `media.media_translation` ON `media.media_translation`.`media_id` = `media`.`id` LEFT JOIN `media_default_folder` `media.mediaFolder.defaultFolder` ON `media.mediaFolder`.`default_folder_id` = `media.mediaFolder.defaultFolder`.`id` WHERE (((`media`.`private` = 0 OR (`media`.`private` = 1 AND `media.mediaFolder.defaultFolder`.`entity` = 'product_download')))) AND (`media`.`id` IN (0x880E333528C04932BB9571C9D79FACFF));
array:101 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 316)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetch (line 148)"
4 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 93)"
5 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::read (line 257)"
6 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::read (line 286)"
7 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::_search (line 106)"
8 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::search (line 59)"
9 => "Shopware\Core\Content\Media\DataAbstractionLayer\MediaRepositoryDecorator::search (line 51)"
10 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepositoryForwardCompatibilityDecorator::search (line 46)"
11 => "Shopware\Core\Framework\Adapter\Twig\Extension\MediaExtension::searchMedia (line 257)"
12 => "__TwigTemplate_fd8d5b256d312c5be99b5c665c7d3c38::block_element_hero_slider_inner (line 171)"
13 => "Twig\Template::displayBlock (line 100)"
14 => "__TwigTemplate_fd8d5b256d312c5be99b5c665c7d3c38::block_element_hero_slider (line 171)"
15 => "Twig\Template::displayBlock (line 53)"
16 => "__TwigTemplate_fd8d5b256d312c5be99b5c665c7d3c38::doDisplay (line 394)"
17 => "Twig\Template::displayWithErrorHandling (line 367)"
18 => "Twig\Template::display (line 63)"
19 => "__TwigTemplate_a73bc428d67ccf41d9eb06bc898c7144::doDisplay (line 394)"
20 => "Twig\Template::displayWithErrorHandling (line 367)"
21 => "Twig\Template::display (line 326)"
22 => "__TwigTemplate_de51fe3149c36c2d13038f03675e7186::block_section_content_block_row (line 171)"
23 => "Twig\Template::displayBlock (line 285)"
24 => "__TwigTemplate_de51fe3149c36c2d13038f03675e7186::block_section_content_block_container (line 171)"
25 => "Twig\Template::displayBlock (line 213)"
26 => "__TwigTemplate_de51fe3149c36c2d13038f03675e7186::block_section_content_block (line 171)"
27 => "Twig\Template::displayBlock (line 49)"
28 => "__TwigTemplate_de51fe3149c36c2d13038f03675e7186::doDisplay (line 394)"
29 => "Twig\Template::displayWithErrorHandling (line 367)"
30 => "Twig\Template::display (line 132)"
31 => "__TwigTemplate_2166dd94fe780598b8fdcf72ddd769c9::block_section_default_content_block (line 171)"
32 => "Twig\Template::displayBlock (line 94)"
33 => "__TwigTemplate_2166dd94fe780598b8fdcf72ddd769c9::block_page_content_section_default (line 171)"
34 => "Twig\Template::displayBlock (line 47)"
35 => "__TwigTemplate_2166dd94fe780598b8fdcf72ddd769c9::doDisplay (line 394)"
36 => "Twig\Template::displayWithErrorHandling (line 367)"
37 => "Twig\Template::display (line 221)"
38 => "__TwigTemplate_2698d288dda261b2d5360419617c8736::block_page_content_section (line 171)"
39 => "Twig\Template::displayBlock (line 135)"
40 => "__TwigTemplate_2698d288dda261b2d5360419617c8736::block_page_content_sections_inner (line 171)"
41 => "Twig\Template::displayBlock (line 47)"
42 => "__TwigTemplate_fe3011e8614935f2877430f24082e841::doDisplay (line 394)"
43 => "Twig\Template::displayWithErrorHandling (line 367)"
44 => "Twig\Template::display (line 50)"
45 => "__TwigTemplate_e550e0b90883c1187f499e90e2cd999a::doDisplay (line 394)"
46 => "Twig\Template::displayWithErrorHandling (line 367)"
47 => "Twig\Template::display (line 51)"
48 => "__TwigTemplate_2698d288dda261b2d5360419617c8736::doDisplay (line 394)"
49 => "Twig\Template::displayWithErrorHandling (line 367)"
50 => "Twig\Template::display (line 211)"
51 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::block_page_content_blocks (line 171)"
52 => "Twig\Template::displayBlock (line 187)"
53 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::block_cms_content (line 171)"
54 => "Twig\Template::displayBlock (line 106)"
55 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::block_page_content (line 171)"
56 => "Twig\Template::displayBlock (line 77)"
57 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::block_base_main_inner (line 171)"
58 => "Twig\Template::displayBlock (line 504)"
59 => "__TwigTemplate_edfe32b5c98942de2b24393e846ea184::block_base_main (line 171)"
60 => "Twig\Template::displayBlock (line 191)"
61 => "Twig\Template::displayBlock (line 134)"
62 => "Twig\Template::displayParentBlock (line 71)"
63 => "__TwigTemplate_3d4777fcf75842349da241d4044d7d72::block_base_main (line 171)"
64 => "Twig\Template::displayBlock (line 283)"
65 => "__TwigTemplate_edfe32b5c98942de2b24393e846ea184::block_base_body_inner (line 171)"
66 => "Twig\Template::displayBlock (line 193)"
67 => "__TwigTemplate_edfe32b5c98942de2b24393e846ea184::block_base_body (line 171)"
68 => "Twig\Template::displayBlock (line 97)"
69 => "__TwigTemplate_edfe32b5c98942de2b24393e846ea184::doDisplay (line 394)"
70 => "Twig\Template::displayWithErrorHandling (line 367)"
71 => "Twig\Template::display (line 49)"
72 => "__TwigTemplate_317ed82f740e5079054f5b72bb59033c::doDisplay (line 394)"
73 => "Twig\Template::displayWithErrorHandling (line 367)"
74 => "Twig\Template::display (line 50)"
75 => "__TwigTemplate_3d4777fcf75842349da241d4044d7d72::doDisplay (line 394)"
76 => "Twig\Template::displayWithErrorHandling (line 367)"
77 => "Twig\Template::display (line 50)"
78 => "__TwigTemplate_aa1832859ad5b25e9cc640dfcf28a0bc::doDisplay (line 394)"
79 => "Twig\Template::displayWithErrorHandling (line 367)"
80 => "Twig\Template::display (line 54)"
81 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::doDisplay (line 394)"
82 => "Twig\Template::displayWithErrorHandling (line 367)"
83 => "Twig\Template::display (line 52)"
84 => "__TwigTemplate_da551205fea81b0c3b361980c09151e2::doDisplay (line 394)"
85 => "Twig\Template::displayWithErrorHandling (line 367)"
86 => "Twig\Template::display (line 379)"
87 => "Twig\Template::render (line 40)"
88 => "Twig\TemplateWrapper::render (line 277)"
89 => "Twig\Environment::render (line 235)"
90 => "Shopware\Storefront\Controller\StorefrontController::renderView (line 266)"
91 => "Symfony\Bundle\FrameworkBundle\Controller\AbstractController::render (line 72)"
92 => "Shopware\Storefront\Controller\StorefrontController::Shopware\Storefront\Controller\{closure} (line 59)"
93 => "Shopware\Core\Profiling\Profiler::trace (line 73)"
94 => "Shopware\Storefront\Controller\StorefrontController::renderStorefront (line 52)"
95 => "Shopware\Storefront\Controller\NavigationController::home (line 163)"
96 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
97 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
98 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
99 => "Shopware\Core\HttpKernel::doHandle (line 81)"
100 => "Shopware\Core\HttpKernel::handle (line 75)"
]
|
125 |
2.08 ms |
SELECT `media`.`id` as `media.id`, `media`.`user_id` as `media.userId`, `media`.`media_folder_id` as `media.mediaFolderId`, `media`.`mime_type` as `media.mimeType`, `media`.`file_extension` as `media.fileExtension`, `media`.`uploaded_at` as `media.uploadedAt`, `media`.`file_name` as `media.fileName`, `media`.`file_size` as `media.fileSize`, `media`.`media_type` as `media.mediaTypeRaw`, `media`.`meta_data` as `media.metaData`, `media`.`private` as `media.private`, `media`.`thumbnails_ro` as `media.thumbnailsRo`, `media`.`created_at` as `media.createdAt`, `media`.`updated_at` as `media.updatedAt`, `media.translation.title`, COALESCE(`media.translation.title`,`media.translation.title`) as `media.title`, `media.translation.alt`, COALESCE(`media.translation.alt`,`media.translation.alt`) as `media.alt`, `media.translation.customFields`, COALESCE(`media.translation.customFields`,`media.translation.customFields`) as `media.customFields`, `media.translation.createdAt`, `media.translation.updatedAt`, `media.translation.mediaId`, `media.translation.languageId` FROM `media` LEFT JOIN `media_folder` `media.mediaFolder` ON `media`.`media_folder_id` = `media.mediaFolder`.`id` LEFT JOIN (SELECT `media.translation`.media_id, `media.translation`.title as `media.translation.title`, `media.translation`.alt as `media.translation.alt`, `media.translation`.custom_fields as `media.translation.customFields`, `media.translation`.created_at as `media.translation.createdAt`, `media.translation`.updated_at as `media.translation.updatedAt`, `media.translation`.media_id as `media.translation.mediaId`, `media.translation`.language_id as `media.translation.languageId` FROM `media_translation` `media.translation` WHERE `media.translation`.language_id = :languageId) `media.media_translation` ON `media.media_translation`.`media_id` = `media`.`id` LEFT JOIN `media_default_folder` `media.mediaFolder.defaultFolder` ON `media.mediaFolder`.`default_folder_id` = `media.mediaFolder.defaultFolder`.`id` WHERE (((`media`.`private` = :param_acbb817d01df4539a51436ccd638135b OR (`media`.`private` = :param_d23b6582e2c34f4e8df2b111b4c761e0 AND `media.mediaFolder.defaultFolder`.`entity` = :param_1853838464a241d7a88a6a6f3ab87ffe)))) AND (`media`.`id` IN (:ids))
SELECT `media`.`id` as `media.id`, `media`.`user_id` as `media.userId`, `media`.`media_folder_id` as `media.mediaFolderId`, `media`.`mime_type` as `media.mimeType`, `media`.`file_extension` as `media.fileExtension`, `media`.`uploaded_at` as `media.uploadedAt`, `media`.`file_name` as `media.fileName`, `media`.`file_size` as `media.fileSize`, `media`.`media_type` as `media.mediaTypeRaw`, `media`.`meta_data` as `media.metaData`, `media`.`private` as `media.private`, `media`.`thumbnails_ro` as `media.thumbnailsRo`, `media`.`created_at` as `media.createdAt`, `media`.`updated_at` as `media.updatedAt`, `media.translation.title`, COALESCE(`media.translation.title`,`media.translation.title`) as `media.title`, `media.translation.alt`, COALESCE(`media.translation.alt`,`media.translation.alt`) as `media.alt`, `media.translation.customFields`, COALESCE(`media.translation.customFields`,`media.translation.customFields`) as `media.customFields`, `media.translation.createdAt`, `media.translation.updatedAt`, `media.translation.mediaId`, `media.translation.languageId` FROM `media` LEFT JOIN `media_folder` `media.mediaFolder` ON `media`.`media_folder_id` = `media.mediaFolder`.`id` LEFT JOIN (SELECT `media.translation`.media_id, `media.translation`.title as `media.translation.title`, `media.translation`.alt as `media.translation.alt`, `media.translation`.custom_fields as `media.translation.customFields`, `media.translation`.created_at as `media.translation.createdAt`, `media.translation`.updated_at as `media.translation.updatedAt`, `media.translation`.media_id as `media.translation.mediaId`, `media.translation`.language_id as `media.translation.languageId` FROM `media_translation` `media.translation` WHERE `media.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `media.media_translation` ON `media.media_translation`.`media_id` = `media`.`id` LEFT JOIN `media_default_folder` `media.mediaFolder.defaultFolder` ON `media.mediaFolder`.`default_folder_id` = `media.mediaFolder.defaultFolder`.`id` WHERE (((`media`.`private` = 0 OR (`media`.`private` = 1 AND `media.mediaFolder.defaultFolder`.`entity` = 'product_download')))) AND (`media`.`id` IN (0x9945FE7E96594C5AAFEFC734538E2F4E));
array:101 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 316)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetch (line 148)"
4 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 93)"
5 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::read (line 257)"
6 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::read (line 286)"
7 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::_search (line 106)"
8 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::search (line 59)"
9 => "Shopware\Core\Content\Media\DataAbstractionLayer\MediaRepositoryDecorator::search (line 51)"
10 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepositoryForwardCompatibilityDecorator::search (line 46)"
11 => "Shopware\Core\Framework\Adapter\Twig\Extension\MediaExtension::searchMedia (line 354)"
12 => "__TwigTemplate_fd8d5b256d312c5be99b5c665c7d3c38::block_element_hero_slider_inner (line 171)"
13 => "Twig\Template::displayBlock (line 100)"
14 => "__TwigTemplate_fd8d5b256d312c5be99b5c665c7d3c38::block_element_hero_slider (line 171)"
15 => "Twig\Template::displayBlock (line 53)"
16 => "__TwigTemplate_fd8d5b256d312c5be99b5c665c7d3c38::doDisplay (line 394)"
17 => "Twig\Template::displayWithErrorHandling (line 367)"
18 => "Twig\Template::display (line 63)"
19 => "__TwigTemplate_a73bc428d67ccf41d9eb06bc898c7144::doDisplay (line 394)"
20 => "Twig\Template::displayWithErrorHandling (line 367)"
21 => "Twig\Template::display (line 326)"
22 => "__TwigTemplate_de51fe3149c36c2d13038f03675e7186::block_section_content_block_row (line 171)"
23 => "Twig\Template::displayBlock (line 285)"
24 => "__TwigTemplate_de51fe3149c36c2d13038f03675e7186::block_section_content_block_container (line 171)"
25 => "Twig\Template::displayBlock (line 213)"
26 => "__TwigTemplate_de51fe3149c36c2d13038f03675e7186::block_section_content_block (line 171)"
27 => "Twig\Template::displayBlock (line 49)"
28 => "__TwigTemplate_de51fe3149c36c2d13038f03675e7186::doDisplay (line 394)"
29 => "Twig\Template::displayWithErrorHandling (line 367)"
30 => "Twig\Template::display (line 132)"
31 => "__TwigTemplate_2166dd94fe780598b8fdcf72ddd769c9::block_section_default_content_block (line 171)"
32 => "Twig\Template::displayBlock (line 94)"
33 => "__TwigTemplate_2166dd94fe780598b8fdcf72ddd769c9::block_page_content_section_default (line 171)"
34 => "Twig\Template::displayBlock (line 47)"
35 => "__TwigTemplate_2166dd94fe780598b8fdcf72ddd769c9::doDisplay (line 394)"
36 => "Twig\Template::displayWithErrorHandling (line 367)"
37 => "Twig\Template::display (line 221)"
38 => "__TwigTemplate_2698d288dda261b2d5360419617c8736::block_page_content_section (line 171)"
39 => "Twig\Template::displayBlock (line 135)"
40 => "__TwigTemplate_2698d288dda261b2d5360419617c8736::block_page_content_sections_inner (line 171)"
41 => "Twig\Template::displayBlock (line 47)"
42 => "__TwigTemplate_fe3011e8614935f2877430f24082e841::doDisplay (line 394)"
43 => "Twig\Template::displayWithErrorHandling (line 367)"
44 => "Twig\Template::display (line 50)"
45 => "__TwigTemplate_e550e0b90883c1187f499e90e2cd999a::doDisplay (line 394)"
46 => "Twig\Template::displayWithErrorHandling (line 367)"
47 => "Twig\Template::display (line 51)"
48 => "__TwigTemplate_2698d288dda261b2d5360419617c8736::doDisplay (line 394)"
49 => "Twig\Template::displayWithErrorHandling (line 367)"
50 => "Twig\Template::display (line 211)"
51 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::block_page_content_blocks (line 171)"
52 => "Twig\Template::displayBlock (line 187)"
53 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::block_cms_content (line 171)"
54 => "Twig\Template::displayBlock (line 106)"
55 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::block_page_content (line 171)"
56 => "Twig\Template::displayBlock (line 77)"
57 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::block_base_main_inner (line 171)"
58 => "Twig\Template::displayBlock (line 504)"
59 => "__TwigTemplate_edfe32b5c98942de2b24393e846ea184::block_base_main (line 171)"
60 => "Twig\Template::displayBlock (line 191)"
61 => "Twig\Template::displayBlock (line 134)"
62 => "Twig\Template::displayParentBlock (line 71)"
63 => "__TwigTemplate_3d4777fcf75842349da241d4044d7d72::block_base_main (line 171)"
64 => "Twig\Template::displayBlock (line 283)"
65 => "__TwigTemplate_edfe32b5c98942de2b24393e846ea184::block_base_body_inner (line 171)"
66 => "Twig\Template::displayBlock (line 193)"
67 => "__TwigTemplate_edfe32b5c98942de2b24393e846ea184::block_base_body (line 171)"
68 => "Twig\Template::displayBlock (line 97)"
69 => "__TwigTemplate_edfe32b5c98942de2b24393e846ea184::doDisplay (line 394)"
70 => "Twig\Template::displayWithErrorHandling (line 367)"
71 => "Twig\Template::display (line 49)"
72 => "__TwigTemplate_317ed82f740e5079054f5b72bb59033c::doDisplay (line 394)"
73 => "Twig\Template::displayWithErrorHandling (line 367)"
74 => "Twig\Template::display (line 50)"
75 => "__TwigTemplate_3d4777fcf75842349da241d4044d7d72::doDisplay (line 394)"
76 => "Twig\Template::displayWithErrorHandling (line 367)"
77 => "Twig\Template::display (line 50)"
78 => "__TwigTemplate_aa1832859ad5b25e9cc640dfcf28a0bc::doDisplay (line 394)"
79 => "Twig\Template::displayWithErrorHandling (line 367)"
80 => "Twig\Template::display (line 54)"
81 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::doDisplay (line 394)"
82 => "Twig\Template::displayWithErrorHandling (line 367)"
83 => "Twig\Template::display (line 52)"
84 => "__TwigTemplate_da551205fea81b0c3b361980c09151e2::doDisplay (line 394)"
85 => "Twig\Template::displayWithErrorHandling (line 367)"
86 => "Twig\Template::display (line 379)"
87 => "Twig\Template::render (line 40)"
88 => "Twig\TemplateWrapper::render (line 277)"
89 => "Twig\Environment::render (line 235)"
90 => "Shopware\Storefront\Controller\StorefrontController::renderView (line 266)"
91 => "Symfony\Bundle\FrameworkBundle\Controller\AbstractController::render (line 72)"
92 => "Shopware\Storefront\Controller\StorefrontController::Shopware\Storefront\Controller\{closure} (line 59)"
93 => "Shopware\Core\Profiling\Profiler::trace (line 73)"
94 => "Shopware\Storefront\Controller\StorefrontController::renderStorefront (line 52)"
95 => "Shopware\Storefront\Controller\NavigationController::home (line 163)"
96 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
97 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
98 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
99 => "Shopware\Core\HttpKernel::doHandle (line 81)"
100 => "Shopware\Core\HttpKernel::handle (line 75)"
]
|
126 |
1.78 ms |
SELECT `media`.`id` as `media.id`, `media`.`user_id` as `media.userId`, `media`.`media_folder_id` as `media.mediaFolderId`, `media`.`mime_type` as `media.mimeType`, `media`.`file_extension` as `media.fileExtension`, `media`.`uploaded_at` as `media.uploadedAt`, `media`.`file_name` as `media.fileName`, `media`.`file_size` as `media.fileSize`, `media`.`media_type` as `media.mediaTypeRaw`, `media`.`meta_data` as `media.metaData`, `media`.`private` as `media.private`, `media`.`thumbnails_ro` as `media.thumbnailsRo`, `media`.`created_at` as `media.createdAt`, `media`.`updated_at` as `media.updatedAt`, `media.translation.title`, COALESCE(`media.translation.title`,`media.translation.title`) as `media.title`, `media.translation.alt`, COALESCE(`media.translation.alt`,`media.translation.alt`) as `media.alt`, `media.translation.customFields`, COALESCE(`media.translation.customFields`,`media.translation.customFields`) as `media.customFields`, `media.translation.createdAt`, `media.translation.updatedAt`, `media.translation.mediaId`, `media.translation.languageId` FROM `media` LEFT JOIN `media_folder` `media.mediaFolder` ON `media`.`media_folder_id` = `media.mediaFolder`.`id` LEFT JOIN (SELECT `media.translation`.media_id, `media.translation`.title as `media.translation.title`, `media.translation`.alt as `media.translation.alt`, `media.translation`.custom_fields as `media.translation.customFields`, `media.translation`.created_at as `media.translation.createdAt`, `media.translation`.updated_at as `media.translation.updatedAt`, `media.translation`.media_id as `media.translation.mediaId`, `media.translation`.language_id as `media.translation.languageId` FROM `media_translation` `media.translation` WHERE `media.translation`.language_id = :languageId) `media.media_translation` ON `media.media_translation`.`media_id` = `media`.`id` LEFT JOIN `media_default_folder` `media.mediaFolder.defaultFolder` ON `media.mediaFolder`.`default_folder_id` = `media.mediaFolder.defaultFolder`.`id` WHERE (((`media`.`private` = :param_7a8200a4f60440d592aa1343ea352754 OR (`media`.`private` = :param_716ba11c1a104813bf841fef51158431 AND `media.mediaFolder.defaultFolder`.`entity` = :param_386503ba4aa4421d9e06b80befdd30a3)))) AND (`media`.`id` IN (:ids))
SELECT `media`.`id` as `media.id`, `media`.`user_id` as `media.userId`, `media`.`media_folder_id` as `media.mediaFolderId`, `media`.`mime_type` as `media.mimeType`, `media`.`file_extension` as `media.fileExtension`, `media`.`uploaded_at` as `media.uploadedAt`, `media`.`file_name` as `media.fileName`, `media`.`file_size` as `media.fileSize`, `media`.`media_type` as `media.mediaTypeRaw`, `media`.`meta_data` as `media.metaData`, `media`.`private` as `media.private`, `media`.`thumbnails_ro` as `media.thumbnailsRo`, `media`.`created_at` as `media.createdAt`, `media`.`updated_at` as `media.updatedAt`, `media.translation.title`, COALESCE(`media.translation.title`,`media.translation.title`) as `media.title`, `media.translation.alt`, COALESCE(`media.translation.alt`,`media.translation.alt`) as `media.alt`, `media.translation.customFields`, COALESCE(`media.translation.customFields`,`media.translation.customFields`) as `media.customFields`, `media.translation.createdAt`, `media.translation.updatedAt`, `media.translation.mediaId`, `media.translation.languageId` FROM `media` LEFT JOIN `media_folder` `media.mediaFolder` ON `media`.`media_folder_id` = `media.mediaFolder`.`id` LEFT JOIN (SELECT `media.translation`.media_id, `media.translation`.title as `media.translation.title`, `media.translation`.alt as `media.translation.alt`, `media.translation`.custom_fields as `media.translation.customFields`, `media.translation`.created_at as `media.translation.createdAt`, `media.translation`.updated_at as `media.translation.updatedAt`, `media.translation`.media_id as `media.translation.mediaId`, `media.translation`.language_id as `media.translation.languageId` FROM `media_translation` `media.translation` WHERE `media.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `media.media_translation` ON `media.media_translation`.`media_id` = `media`.`id` LEFT JOIN `media_default_folder` `media.mediaFolder.defaultFolder` ON `media.mediaFolder`.`default_folder_id` = `media.mediaFolder.defaultFolder`.`id` WHERE (((`media`.`private` = 0 OR (`media`.`private` = 1 AND `media.mediaFolder.defaultFolder`.`entity` = 'product_download')))) AND (`media`.`id` IN (0xB4042A465F124F8794C8452F72875B08));
array:101 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 316)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetch (line 148)"
4 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 93)"
5 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::read (line 257)"
6 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::read (line 286)"
7 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::_search (line 106)"
8 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::search (line 59)"
9 => "Shopware\Core\Content\Media\DataAbstractionLayer\MediaRepositoryDecorator::search (line 51)"
10 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepositoryForwardCompatibilityDecorator::search (line 46)"
11 => "Shopware\Core\Framework\Adapter\Twig\Extension\MediaExtension::searchMedia (line 257)"
12 => "__TwigTemplate_fd8d5b256d312c5be99b5c665c7d3c38::block_element_hero_slider_inner (line 171)"
13 => "Twig\Template::displayBlock (line 100)"
14 => "__TwigTemplate_fd8d5b256d312c5be99b5c665c7d3c38::block_element_hero_slider (line 171)"
15 => "Twig\Template::displayBlock (line 53)"
16 => "__TwigTemplate_fd8d5b256d312c5be99b5c665c7d3c38::doDisplay (line 394)"
17 => "Twig\Template::displayWithErrorHandling (line 367)"
18 => "Twig\Template::display (line 63)"
19 => "__TwigTemplate_a73bc428d67ccf41d9eb06bc898c7144::doDisplay (line 394)"
20 => "Twig\Template::displayWithErrorHandling (line 367)"
21 => "Twig\Template::display (line 326)"
22 => "__TwigTemplate_de51fe3149c36c2d13038f03675e7186::block_section_content_block_row (line 171)"
23 => "Twig\Template::displayBlock (line 285)"
24 => "__TwigTemplate_de51fe3149c36c2d13038f03675e7186::block_section_content_block_container (line 171)"
25 => "Twig\Template::displayBlock (line 213)"
26 => "__TwigTemplate_de51fe3149c36c2d13038f03675e7186::block_section_content_block (line 171)"
27 => "Twig\Template::displayBlock (line 49)"
28 => "__TwigTemplate_de51fe3149c36c2d13038f03675e7186::doDisplay (line 394)"
29 => "Twig\Template::displayWithErrorHandling (line 367)"
30 => "Twig\Template::display (line 132)"
31 => "__TwigTemplate_2166dd94fe780598b8fdcf72ddd769c9::block_section_default_content_block (line 171)"
32 => "Twig\Template::displayBlock (line 94)"
33 => "__TwigTemplate_2166dd94fe780598b8fdcf72ddd769c9::block_page_content_section_default (line 171)"
34 => "Twig\Template::displayBlock (line 47)"
35 => "__TwigTemplate_2166dd94fe780598b8fdcf72ddd769c9::doDisplay (line 394)"
36 => "Twig\Template::displayWithErrorHandling (line 367)"
37 => "Twig\Template::display (line 221)"
38 => "__TwigTemplate_2698d288dda261b2d5360419617c8736::block_page_content_section (line 171)"
39 => "Twig\Template::displayBlock (line 135)"
40 => "__TwigTemplate_2698d288dda261b2d5360419617c8736::block_page_content_sections_inner (line 171)"
41 => "Twig\Template::displayBlock (line 47)"
42 => "__TwigTemplate_fe3011e8614935f2877430f24082e841::doDisplay (line 394)"
43 => "Twig\Template::displayWithErrorHandling (line 367)"
44 => "Twig\Template::display (line 50)"
45 => "__TwigTemplate_e550e0b90883c1187f499e90e2cd999a::doDisplay (line 394)"
46 => "Twig\Template::displayWithErrorHandling (line 367)"
47 => "Twig\Template::display (line 51)"
48 => "__TwigTemplate_2698d288dda261b2d5360419617c8736::doDisplay (line 394)"
49 => "Twig\Template::displayWithErrorHandling (line 367)"
50 => "Twig\Template::display (line 211)"
51 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::block_page_content_blocks (line 171)"
52 => "Twig\Template::displayBlock (line 187)"
53 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::block_cms_content (line 171)"
54 => "Twig\Template::displayBlock (line 106)"
55 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::block_page_content (line 171)"
56 => "Twig\Template::displayBlock (line 77)"
57 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::block_base_main_inner (line 171)"
58 => "Twig\Template::displayBlock (line 504)"
59 => "__TwigTemplate_edfe32b5c98942de2b24393e846ea184::block_base_main (line 171)"
60 => "Twig\Template::displayBlock (line 191)"
61 => "Twig\Template::displayBlock (line 134)"
62 => "Twig\Template::displayParentBlock (line 71)"
63 => "__TwigTemplate_3d4777fcf75842349da241d4044d7d72::block_base_main (line 171)"
64 => "Twig\Template::displayBlock (line 283)"
65 => "__TwigTemplate_edfe32b5c98942de2b24393e846ea184::block_base_body_inner (line 171)"
66 => "Twig\Template::displayBlock (line 193)"
67 => "__TwigTemplate_edfe32b5c98942de2b24393e846ea184::block_base_body (line 171)"
68 => "Twig\Template::displayBlock (line 97)"
69 => "__TwigTemplate_edfe32b5c98942de2b24393e846ea184::doDisplay (line 394)"
70 => "Twig\Template::displayWithErrorHandling (line 367)"
71 => "Twig\Template::display (line 49)"
72 => "__TwigTemplate_317ed82f740e5079054f5b72bb59033c::doDisplay (line 394)"
73 => "Twig\Template::displayWithErrorHandling (line 367)"
74 => "Twig\Template::display (line 50)"
75 => "__TwigTemplate_3d4777fcf75842349da241d4044d7d72::doDisplay (line 394)"
76 => "Twig\Template::displayWithErrorHandling (line 367)"
77 => "Twig\Template::display (line 50)"
78 => "__TwigTemplate_aa1832859ad5b25e9cc640dfcf28a0bc::doDisplay (line 394)"
79 => "Twig\Template::displayWithErrorHandling (line 367)"
80 => "Twig\Template::display (line 54)"
81 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::doDisplay (line 394)"
82 => "Twig\Template::displayWithErrorHandling (line 367)"
83 => "Twig\Template::display (line 52)"
84 => "__TwigTemplate_da551205fea81b0c3b361980c09151e2::doDisplay (line 394)"
85 => "Twig\Template::displayWithErrorHandling (line 367)"
86 => "Twig\Template::display (line 379)"
87 => "Twig\Template::render (line 40)"
88 => "Twig\TemplateWrapper::render (line 277)"
89 => "Twig\Environment::render (line 235)"
90 => "Shopware\Storefront\Controller\StorefrontController::renderView (line 266)"
91 => "Symfony\Bundle\FrameworkBundle\Controller\AbstractController::render (line 72)"
92 => "Shopware\Storefront\Controller\StorefrontController::Shopware\Storefront\Controller\{closure} (line 59)"
93 => "Shopware\Core\Profiling\Profiler::trace (line 73)"
94 => "Shopware\Storefront\Controller\StorefrontController::renderStorefront (line 52)"
95 => "Shopware\Storefront\Controller\NavigationController::home (line 163)"
96 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
97 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
98 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
99 => "Shopware\Core\HttpKernel::doHandle (line 81)"
100 => "Shopware\Core\HttpKernel::handle (line 75)"
]
|
127 |
2.43 ms |
SELECT `media`.`id` as `media.id`, `media`.`user_id` as `media.userId`, `media`.`media_folder_id` as `media.mediaFolderId`, `media`.`mime_type` as `media.mimeType`, `media`.`file_extension` as `media.fileExtension`, `media`.`uploaded_at` as `media.uploadedAt`, `media`.`file_name` as `media.fileName`, `media`.`file_size` as `media.fileSize`, `media`.`media_type` as `media.mediaTypeRaw`, `media`.`meta_data` as `media.metaData`, `media`.`private` as `media.private`, `media`.`thumbnails_ro` as `media.thumbnailsRo`, `media`.`created_at` as `media.createdAt`, `media`.`updated_at` as `media.updatedAt`, `media.translation.title`, COALESCE(`media.translation.title`,`media.translation.title`) as `media.title`, `media.translation.alt`, COALESCE(`media.translation.alt`,`media.translation.alt`) as `media.alt`, `media.translation.customFields`, COALESCE(`media.translation.customFields`,`media.translation.customFields`) as `media.customFields`, `media.translation.createdAt`, `media.translation.updatedAt`, `media.translation.mediaId`, `media.translation.languageId` FROM `media` LEFT JOIN `media_folder` `media.mediaFolder` ON `media`.`media_folder_id` = `media.mediaFolder`.`id` LEFT JOIN (SELECT `media.translation`.media_id, `media.translation`.title as `media.translation.title`, `media.translation`.alt as `media.translation.alt`, `media.translation`.custom_fields as `media.translation.customFields`, `media.translation`.created_at as `media.translation.createdAt`, `media.translation`.updated_at as `media.translation.updatedAt`, `media.translation`.media_id as `media.translation.mediaId`, `media.translation`.language_id as `media.translation.languageId` FROM `media_translation` `media.translation` WHERE `media.translation`.language_id = :languageId) `media.media_translation` ON `media.media_translation`.`media_id` = `media`.`id` LEFT JOIN `media_default_folder` `media.mediaFolder.defaultFolder` ON `media.mediaFolder`.`default_folder_id` = `media.mediaFolder.defaultFolder`.`id` WHERE (((`media`.`private` = :param_50286fc7c0c54926819a92c9a3a6e2b7 OR (`media`.`private` = :param_e366296d4fef48a3bd93dfb4db191127 AND `media.mediaFolder.defaultFolder`.`entity` = :param_6b5bc8a3f7fb46a7afb0726b696c54bf)))) AND (`media`.`id` IN (:ids))
SELECT `media`.`id` as `media.id`, `media`.`user_id` as `media.userId`, `media`.`media_folder_id` as `media.mediaFolderId`, `media`.`mime_type` as `media.mimeType`, `media`.`file_extension` as `media.fileExtension`, `media`.`uploaded_at` as `media.uploadedAt`, `media`.`file_name` as `media.fileName`, `media`.`file_size` as `media.fileSize`, `media`.`media_type` as `media.mediaTypeRaw`, `media`.`meta_data` as `media.metaData`, `media`.`private` as `media.private`, `media`.`thumbnails_ro` as `media.thumbnailsRo`, `media`.`created_at` as `media.createdAt`, `media`.`updated_at` as `media.updatedAt`, `media.translation.title`, COALESCE(`media.translation.title`,`media.translation.title`) as `media.title`, `media.translation.alt`, COALESCE(`media.translation.alt`,`media.translation.alt`) as `media.alt`, `media.translation.customFields`, COALESCE(`media.translation.customFields`,`media.translation.customFields`) as `media.customFields`, `media.translation.createdAt`, `media.translation.updatedAt`, `media.translation.mediaId`, `media.translation.languageId` FROM `media` LEFT JOIN `media_folder` `media.mediaFolder` ON `media`.`media_folder_id` = `media.mediaFolder`.`id` LEFT JOIN (SELECT `media.translation`.media_id, `media.translation`.title as `media.translation.title`, `media.translation`.alt as `media.translation.alt`, `media.translation`.custom_fields as `media.translation.customFields`, `media.translation`.created_at as `media.translation.createdAt`, `media.translation`.updated_at as `media.translation.updatedAt`, `media.translation`.media_id as `media.translation.mediaId`, `media.translation`.language_id as `media.translation.languageId` FROM `media_translation` `media.translation` WHERE `media.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `media.media_translation` ON `media.media_translation`.`media_id` = `media`.`id` LEFT JOIN `media_default_folder` `media.mediaFolder.defaultFolder` ON `media.mediaFolder`.`default_folder_id` = `media.mediaFolder.defaultFolder`.`id` WHERE (((`media`.`private` = 0 OR (`media`.`private` = 1 AND `media.mediaFolder.defaultFolder`.`entity` = 'product_download')))) AND (`media`.`id` IN (0x0050B62BC9594FA79F777A48D3E43C3C));
array:101 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 316)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetch (line 148)"
4 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 93)"
5 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::read (line 257)"
6 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::read (line 286)"
7 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::_search (line 106)"
8 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::search (line 59)"
9 => "Shopware\Core\Content\Media\DataAbstractionLayer\MediaRepositoryDecorator::search (line 51)"
10 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepositoryForwardCompatibilityDecorator::search (line 46)"
11 => "Shopware\Core\Framework\Adapter\Twig\Extension\MediaExtension::searchMedia (line 354)"
12 => "__TwigTemplate_fd8d5b256d312c5be99b5c665c7d3c38::block_element_hero_slider_inner (line 171)"
13 => "Twig\Template::displayBlock (line 100)"
14 => "__TwigTemplate_fd8d5b256d312c5be99b5c665c7d3c38::block_element_hero_slider (line 171)"
15 => "Twig\Template::displayBlock (line 53)"
16 => "__TwigTemplate_fd8d5b256d312c5be99b5c665c7d3c38::doDisplay (line 394)"
17 => "Twig\Template::displayWithErrorHandling (line 367)"
18 => "Twig\Template::display (line 63)"
19 => "__TwigTemplate_a73bc428d67ccf41d9eb06bc898c7144::doDisplay (line 394)"
20 => "Twig\Template::displayWithErrorHandling (line 367)"
21 => "Twig\Template::display (line 326)"
22 => "__TwigTemplate_de51fe3149c36c2d13038f03675e7186::block_section_content_block_row (line 171)"
23 => "Twig\Template::displayBlock (line 285)"
24 => "__TwigTemplate_de51fe3149c36c2d13038f03675e7186::block_section_content_block_container (line 171)"
25 => "Twig\Template::displayBlock (line 213)"
26 => "__TwigTemplate_de51fe3149c36c2d13038f03675e7186::block_section_content_block (line 171)"
27 => "Twig\Template::displayBlock (line 49)"
28 => "__TwigTemplate_de51fe3149c36c2d13038f03675e7186::doDisplay (line 394)"
29 => "Twig\Template::displayWithErrorHandling (line 367)"
30 => "Twig\Template::display (line 132)"
31 => "__TwigTemplate_2166dd94fe780598b8fdcf72ddd769c9::block_section_default_content_block (line 171)"
32 => "Twig\Template::displayBlock (line 94)"
33 => "__TwigTemplate_2166dd94fe780598b8fdcf72ddd769c9::block_page_content_section_default (line 171)"
34 => "Twig\Template::displayBlock (line 47)"
35 => "__TwigTemplate_2166dd94fe780598b8fdcf72ddd769c9::doDisplay (line 394)"
36 => "Twig\Template::displayWithErrorHandling (line 367)"
37 => "Twig\Template::display (line 221)"
38 => "__TwigTemplate_2698d288dda261b2d5360419617c8736::block_page_content_section (line 171)"
39 => "Twig\Template::displayBlock (line 135)"
40 => "__TwigTemplate_2698d288dda261b2d5360419617c8736::block_page_content_sections_inner (line 171)"
41 => "Twig\Template::displayBlock (line 47)"
42 => "__TwigTemplate_fe3011e8614935f2877430f24082e841::doDisplay (line 394)"
43 => "Twig\Template::displayWithErrorHandling (line 367)"
44 => "Twig\Template::display (line 50)"
45 => "__TwigTemplate_e550e0b90883c1187f499e90e2cd999a::doDisplay (line 394)"
46 => "Twig\Template::displayWithErrorHandling (line 367)"
47 => "Twig\Template::display (line 51)"
48 => "__TwigTemplate_2698d288dda261b2d5360419617c8736::doDisplay (line 394)"
49 => "Twig\Template::displayWithErrorHandling (line 367)"
50 => "Twig\Template::display (line 211)"
51 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::block_page_content_blocks (line 171)"
52 => "Twig\Template::displayBlock (line 187)"
53 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::block_cms_content (line 171)"
54 => "Twig\Template::displayBlock (line 106)"
55 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::block_page_content (line 171)"
56 => "Twig\Template::displayBlock (line 77)"
57 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::block_base_main_inner (line 171)"
58 => "Twig\Template::displayBlock (line 504)"
59 => "__TwigTemplate_edfe32b5c98942de2b24393e846ea184::block_base_main (line 171)"
60 => "Twig\Template::displayBlock (line 191)"
61 => "Twig\Template::displayBlock (line 134)"
62 => "Twig\Template::displayParentBlock (line 71)"
63 => "__TwigTemplate_3d4777fcf75842349da241d4044d7d72::block_base_main (line 171)"
64 => "Twig\Template::displayBlock (line 283)"
65 => "__TwigTemplate_edfe32b5c98942de2b24393e846ea184::block_base_body_inner (line 171)"
66 => "Twig\Template::displayBlock (line 193)"
67 => "__TwigTemplate_edfe32b5c98942de2b24393e846ea184::block_base_body (line 171)"
68 => "Twig\Template::displayBlock (line 97)"
69 => "__TwigTemplate_edfe32b5c98942de2b24393e846ea184::doDisplay (line 394)"
70 => "Twig\Template::displayWithErrorHandling (line 367)"
71 => "Twig\Template::display (line 49)"
72 => "__TwigTemplate_317ed82f740e5079054f5b72bb59033c::doDisplay (line 394)"
73 => "Twig\Template::displayWithErrorHandling (line 367)"
74 => "Twig\Template::display (line 50)"
75 => "__TwigTemplate_3d4777fcf75842349da241d4044d7d72::doDisplay (line 394)"
76 => "Twig\Template::displayWithErrorHandling (line 367)"
77 => "Twig\Template::display (line 50)"
78 => "__TwigTemplate_aa1832859ad5b25e9cc640dfcf28a0bc::doDisplay (line 394)"
79 => "Twig\Template::displayWithErrorHandling (line 367)"
80 => "Twig\Template::display (line 54)"
81 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::doDisplay (line 394)"
82 => "Twig\Template::displayWithErrorHandling (line 367)"
83 => "Twig\Template::display (line 52)"
84 => "__TwigTemplate_da551205fea81b0c3b361980c09151e2::doDisplay (line 394)"
85 => "Twig\Template::displayWithErrorHandling (line 367)"
86 => "Twig\Template::display (line 379)"
87 => "Twig\Template::render (line 40)"
88 => "Twig\TemplateWrapper::render (line 277)"
89 => "Twig\Environment::render (line 235)"
90 => "Shopware\Storefront\Controller\StorefrontController::renderView (line 266)"
91 => "Symfony\Bundle\FrameworkBundle\Controller\AbstractController::render (line 72)"
92 => "Shopware\Storefront\Controller\StorefrontController::Shopware\Storefront\Controller\{closure} (line 59)"
93 => "Shopware\Core\Profiling\Profiler::trace (line 73)"
94 => "Shopware\Storefront\Controller\StorefrontController::renderStorefront (line 52)"
95 => "Shopware\Storefront\Controller\NavigationController::home (line 163)"
96 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
97 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
98 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
99 => "Shopware\Core\HttpKernel::doHandle (line 81)"
100 => "Shopware\Core\HttpKernel::handle (line 75)"
]
|
128 |
2.51 ms |
SELECT `media`.`id` as `media.id`, `media`.`user_id` as `media.userId`, `media`.`media_folder_id` as `media.mediaFolderId`, `media`.`mime_type` as `media.mimeType`, `media`.`file_extension` as `media.fileExtension`, `media`.`uploaded_at` as `media.uploadedAt`, `media`.`file_name` as `media.fileName`, `media`.`file_size` as `media.fileSize`, `media`.`media_type` as `media.mediaTypeRaw`, `media`.`meta_data` as `media.metaData`, `media`.`private` as `media.private`, `media`.`thumbnails_ro` as `media.thumbnailsRo`, `media`.`created_at` as `media.createdAt`, `media`.`updated_at` as `media.updatedAt`, `media.translation.title`, COALESCE(`media.translation.title`,`media.translation.title`) as `media.title`, `media.translation.alt`, COALESCE(`media.translation.alt`,`media.translation.alt`) as `media.alt`, `media.translation.customFields`, COALESCE(`media.translation.customFields`,`media.translation.customFields`) as `media.customFields`, `media.translation.createdAt`, `media.translation.updatedAt`, `media.translation.mediaId`, `media.translation.languageId` FROM `media` LEFT JOIN `media_folder` `media.mediaFolder` ON `media`.`media_folder_id` = `media.mediaFolder`.`id` LEFT JOIN (SELECT `media.translation`.media_id, `media.translation`.title as `media.translation.title`, `media.translation`.alt as `media.translation.alt`, `media.translation`.custom_fields as `media.translation.customFields`, `media.translation`.created_at as `media.translation.createdAt`, `media.translation`.updated_at as `media.translation.updatedAt`, `media.translation`.media_id as `media.translation.mediaId`, `media.translation`.language_id as `media.translation.languageId` FROM `media_translation` `media.translation` WHERE `media.translation`.language_id = :languageId) `media.media_translation` ON `media.media_translation`.`media_id` = `media`.`id` LEFT JOIN `media_default_folder` `media.mediaFolder.defaultFolder` ON `media.mediaFolder`.`default_folder_id` = `media.mediaFolder.defaultFolder`.`id` WHERE (((`media`.`private` = :param_8d3d5eb3582d4f9a879910e3a6fd4029 OR (`media`.`private` = :param_9881d93e342f453ebf73379760178253 AND `media.mediaFolder.defaultFolder`.`entity` = :param_471263bfd0c844f09c6853cd131cb514)))) AND (`media`.`id` IN (:ids))
SELECT `media`.`id` as `media.id`, `media`.`user_id` as `media.userId`, `media`.`media_folder_id` as `media.mediaFolderId`, `media`.`mime_type` as `media.mimeType`, `media`.`file_extension` as `media.fileExtension`, `media`.`uploaded_at` as `media.uploadedAt`, `media`.`file_name` as `media.fileName`, `media`.`file_size` as `media.fileSize`, `media`.`media_type` as `media.mediaTypeRaw`, `media`.`meta_data` as `media.metaData`, `media`.`private` as `media.private`, `media`.`thumbnails_ro` as `media.thumbnailsRo`, `media`.`created_at` as `media.createdAt`, `media`.`updated_at` as `media.updatedAt`, `media.translation.title`, COALESCE(`media.translation.title`,`media.translation.title`) as `media.title`, `media.translation.alt`, COALESCE(`media.translation.alt`,`media.translation.alt`) as `media.alt`, `media.translation.customFields`, COALESCE(`media.translation.customFields`,`media.translation.customFields`) as `media.customFields`, `media.translation.createdAt`, `media.translation.updatedAt`, `media.translation.mediaId`, `media.translation.languageId` FROM `media` LEFT JOIN `media_folder` `media.mediaFolder` ON `media`.`media_folder_id` = `media.mediaFolder`.`id` LEFT JOIN (SELECT `media.translation`.media_id, `media.translation`.title as `media.translation.title`, `media.translation`.alt as `media.translation.alt`, `media.translation`.custom_fields as `media.translation.customFields`, `media.translation`.created_at as `media.translation.createdAt`, `media.translation`.updated_at as `media.translation.updatedAt`, `media.translation`.media_id as `media.translation.mediaId`, `media.translation`.language_id as `media.translation.languageId` FROM `media_translation` `media.translation` WHERE `media.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `media.media_translation` ON `media.media_translation`.`media_id` = `media`.`id` LEFT JOIN `media_default_folder` `media.mediaFolder.defaultFolder` ON `media.mediaFolder`.`default_folder_id` = `media.mediaFolder.defaultFolder`.`id` WHERE (((`media`.`private` = 0 OR (`media`.`private` = 1 AND `media.mediaFolder.defaultFolder`.`entity` = 'product_download')))) AND (`media`.`id` IN (0x880E333528C04932BB9571C9D79FACFF));
array:101 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 316)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetch (line 148)"
4 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 93)"
5 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::read (line 257)"
6 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::read (line 286)"
7 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::_search (line 106)"
8 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::search (line 59)"
9 => "Shopware\Core\Content\Media\DataAbstractionLayer\MediaRepositoryDecorator::search (line 51)"
10 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepositoryForwardCompatibilityDecorator::search (line 46)"
11 => "Shopware\Core\Framework\Adapter\Twig\Extension\MediaExtension::searchMedia (line 257)"
12 => "__TwigTemplate_fd8d5b256d312c5be99b5c665c7d3c38::block_element_hero_slider_inner (line 171)"
13 => "Twig\Template::displayBlock (line 100)"
14 => "__TwigTemplate_fd8d5b256d312c5be99b5c665c7d3c38::block_element_hero_slider (line 171)"
15 => "Twig\Template::displayBlock (line 53)"
16 => "__TwigTemplate_fd8d5b256d312c5be99b5c665c7d3c38::doDisplay (line 394)"
17 => "Twig\Template::displayWithErrorHandling (line 367)"
18 => "Twig\Template::display (line 63)"
19 => "__TwigTemplate_a73bc428d67ccf41d9eb06bc898c7144::doDisplay (line 394)"
20 => "Twig\Template::displayWithErrorHandling (line 367)"
21 => "Twig\Template::display (line 326)"
22 => "__TwigTemplate_de51fe3149c36c2d13038f03675e7186::block_section_content_block_row (line 171)"
23 => "Twig\Template::displayBlock (line 285)"
24 => "__TwigTemplate_de51fe3149c36c2d13038f03675e7186::block_section_content_block_container (line 171)"
25 => "Twig\Template::displayBlock (line 213)"
26 => "__TwigTemplate_de51fe3149c36c2d13038f03675e7186::block_section_content_block (line 171)"
27 => "Twig\Template::displayBlock (line 49)"
28 => "__TwigTemplate_de51fe3149c36c2d13038f03675e7186::doDisplay (line 394)"
29 => "Twig\Template::displayWithErrorHandling (line 367)"
30 => "Twig\Template::display (line 132)"
31 => "__TwigTemplate_2166dd94fe780598b8fdcf72ddd769c9::block_section_default_content_block (line 171)"
32 => "Twig\Template::displayBlock (line 94)"
33 => "__TwigTemplate_2166dd94fe780598b8fdcf72ddd769c9::block_page_content_section_default (line 171)"
34 => "Twig\Template::displayBlock (line 47)"
35 => "__TwigTemplate_2166dd94fe780598b8fdcf72ddd769c9::doDisplay (line 394)"
36 => "Twig\Template::displayWithErrorHandling (line 367)"
37 => "Twig\Template::display (line 221)"
38 => "__TwigTemplate_2698d288dda261b2d5360419617c8736::block_page_content_section (line 171)"
39 => "Twig\Template::displayBlock (line 135)"
40 => "__TwigTemplate_2698d288dda261b2d5360419617c8736::block_page_content_sections_inner (line 171)"
41 => "Twig\Template::displayBlock (line 47)"
42 => "__TwigTemplate_fe3011e8614935f2877430f24082e841::doDisplay (line 394)"
43 => "Twig\Template::displayWithErrorHandling (line 367)"
44 => "Twig\Template::display (line 50)"
45 => "__TwigTemplate_e550e0b90883c1187f499e90e2cd999a::doDisplay (line 394)"
46 => "Twig\Template::displayWithErrorHandling (line 367)"
47 => "Twig\Template::display (line 51)"
48 => "__TwigTemplate_2698d288dda261b2d5360419617c8736::doDisplay (line 394)"
49 => "Twig\Template::displayWithErrorHandling (line 367)"
50 => "Twig\Template::display (line 211)"
51 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::block_page_content_blocks (line 171)"
52 => "Twig\Template::displayBlock (line 187)"
53 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::block_cms_content (line 171)"
54 => "Twig\Template::displayBlock (line 106)"
55 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::block_page_content (line 171)"
56 => "Twig\Template::displayBlock (line 77)"
57 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::block_base_main_inner (line 171)"
58 => "Twig\Template::displayBlock (line 504)"
59 => "__TwigTemplate_edfe32b5c98942de2b24393e846ea184::block_base_main (line 171)"
60 => "Twig\Template::displayBlock (line 191)"
61 => "Twig\Template::displayBlock (line 134)"
62 => "Twig\Template::displayParentBlock (line 71)"
63 => "__TwigTemplate_3d4777fcf75842349da241d4044d7d72::block_base_main (line 171)"
64 => "Twig\Template::displayBlock (line 283)"
65 => "__TwigTemplate_edfe32b5c98942de2b24393e846ea184::block_base_body_inner (line 171)"
66 => "Twig\Template::displayBlock (line 193)"
67 => "__TwigTemplate_edfe32b5c98942de2b24393e846ea184::block_base_body (line 171)"
68 => "Twig\Template::displayBlock (line 97)"
69 => "__TwigTemplate_edfe32b5c98942de2b24393e846ea184::doDisplay (line 394)"
70 => "Twig\Template::displayWithErrorHandling (line 367)"
71 => "Twig\Template::display (line 49)"
72 => "__TwigTemplate_317ed82f740e5079054f5b72bb59033c::doDisplay (line 394)"
73 => "Twig\Template::displayWithErrorHandling (line 367)"
74 => "Twig\Template::display (line 50)"
75 => "__TwigTemplate_3d4777fcf75842349da241d4044d7d72::doDisplay (line 394)"
76 => "Twig\Template::displayWithErrorHandling (line 367)"
77 => "Twig\Template::display (line 50)"
78 => "__TwigTemplate_aa1832859ad5b25e9cc640dfcf28a0bc::doDisplay (line 394)"
79 => "Twig\Template::displayWithErrorHandling (line 367)"
80 => "Twig\Template::display (line 54)"
81 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::doDisplay (line 394)"
82 => "Twig\Template::displayWithErrorHandling (line 367)"
83 => "Twig\Template::display (line 52)"
84 => "__TwigTemplate_da551205fea81b0c3b361980c09151e2::doDisplay (line 394)"
85 => "Twig\Template::displayWithErrorHandling (line 367)"
86 => "Twig\Template::display (line 379)"
87 => "Twig\Template::render (line 40)"
88 => "Twig\TemplateWrapper::render (line 277)"
89 => "Twig\Environment::render (line 235)"
90 => "Shopware\Storefront\Controller\StorefrontController::renderView (line 266)"
91 => "Symfony\Bundle\FrameworkBundle\Controller\AbstractController::render (line 72)"
92 => "Shopware\Storefront\Controller\StorefrontController::Shopware\Storefront\Controller\{closure} (line 59)"
93 => "Shopware\Core\Profiling\Profiler::trace (line 73)"
94 => "Shopware\Storefront\Controller\StorefrontController::renderStorefront (line 52)"
95 => "Shopware\Storefront\Controller\NavigationController::home (line 163)"
96 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
97 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
98 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
99 => "Shopware\Core\HttpKernel::doHandle (line 81)"
100 => "Shopware\Core\HttpKernel::handle (line 75)"
]
|
129 |
2.23 ms |
SELECT `media`.`id` as `media.id`, `media`.`user_id` as `media.userId`, `media`.`media_folder_id` as `media.mediaFolderId`, `media`.`mime_type` as `media.mimeType`, `media`.`file_extension` as `media.fileExtension`, `media`.`uploaded_at` as `media.uploadedAt`, `media`.`file_name` as `media.fileName`, `media`.`file_size` as `media.fileSize`, `media`.`media_type` as `media.mediaTypeRaw`, `media`.`meta_data` as `media.metaData`, `media`.`private` as `media.private`, `media`.`thumbnails_ro` as `media.thumbnailsRo`, `media`.`created_at` as `media.createdAt`, `media`.`updated_at` as `media.updatedAt`, `media.translation.title`, COALESCE(`media.translation.title`,`media.translation.title`) as `media.title`, `media.translation.alt`, COALESCE(`media.translation.alt`,`media.translation.alt`) as `media.alt`, `media.translation.customFields`, COALESCE(`media.translation.customFields`,`media.translation.customFields`) as `media.customFields`, `media.translation.createdAt`, `media.translation.updatedAt`, `media.translation.mediaId`, `media.translation.languageId` FROM `media` LEFT JOIN `media_folder` `media.mediaFolder` ON `media`.`media_folder_id` = `media.mediaFolder`.`id` LEFT JOIN (SELECT `media.translation`.media_id, `media.translation`.title as `media.translation.title`, `media.translation`.alt as `media.translation.alt`, `media.translation`.custom_fields as `media.translation.customFields`, `media.translation`.created_at as `media.translation.createdAt`, `media.translation`.updated_at as `media.translation.updatedAt`, `media.translation`.media_id as `media.translation.mediaId`, `media.translation`.language_id as `media.translation.languageId` FROM `media_translation` `media.translation` WHERE `media.translation`.language_id = :languageId) `media.media_translation` ON `media.media_translation`.`media_id` = `media`.`id` LEFT JOIN `media_default_folder` `media.mediaFolder.defaultFolder` ON `media.mediaFolder`.`default_folder_id` = `media.mediaFolder.defaultFolder`.`id` WHERE (((`media`.`private` = :param_39efaf4372b9440e9df119576c554310 OR (`media`.`private` = :param_a88ad6eab1c94940b4b13ea32756574e AND `media.mediaFolder.defaultFolder`.`entity` = :param_c06da570fd4c4929b2642d56c809ca76)))) AND (`media`.`id` IN (:ids))
SELECT `media`.`id` as `media.id`, `media`.`user_id` as `media.userId`, `media`.`media_folder_id` as `media.mediaFolderId`, `media`.`mime_type` as `media.mimeType`, `media`.`file_extension` as `media.fileExtension`, `media`.`uploaded_at` as `media.uploadedAt`, `media`.`file_name` as `media.fileName`, `media`.`file_size` as `media.fileSize`, `media`.`media_type` as `media.mediaTypeRaw`, `media`.`meta_data` as `media.metaData`, `media`.`private` as `media.private`, `media`.`thumbnails_ro` as `media.thumbnailsRo`, `media`.`created_at` as `media.createdAt`, `media`.`updated_at` as `media.updatedAt`, `media.translation.title`, COALESCE(`media.translation.title`,`media.translation.title`) as `media.title`, `media.translation.alt`, COALESCE(`media.translation.alt`,`media.translation.alt`) as `media.alt`, `media.translation.customFields`, COALESCE(`media.translation.customFields`,`media.translation.customFields`) as `media.customFields`, `media.translation.createdAt`, `media.translation.updatedAt`, `media.translation.mediaId`, `media.translation.languageId` FROM `media` LEFT JOIN `media_folder` `media.mediaFolder` ON `media`.`media_folder_id` = `media.mediaFolder`.`id` LEFT JOIN (SELECT `media.translation`.media_id, `media.translation`.title as `media.translation.title`, `media.translation`.alt as `media.translation.alt`, `media.translation`.custom_fields as `media.translation.customFields`, `media.translation`.created_at as `media.translation.createdAt`, `media.translation`.updated_at as `media.translation.updatedAt`, `media.translation`.media_id as `media.translation.mediaId`, `media.translation`.language_id as `media.translation.languageId` FROM `media_translation` `media.translation` WHERE `media.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `media.media_translation` ON `media.media_translation`.`media_id` = `media`.`id` LEFT JOIN `media_default_folder` `media.mediaFolder.defaultFolder` ON `media.mediaFolder`.`default_folder_id` = `media.mediaFolder.defaultFolder`.`id` WHERE (((`media`.`private` = 0 OR (`media`.`private` = 1 AND `media.mediaFolder.defaultFolder`.`entity` = 'product_download')))) AND (`media`.`id` IN (0x00FF2C4AB637458096490933FF65F9F1));
array:101 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 316)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetch (line 148)"
4 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 93)"
5 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::read (line 257)"
6 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::read (line 286)"
7 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::_search (line 106)"
8 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::search (line 59)"
9 => "Shopware\Core\Content\Media\DataAbstractionLayer\MediaRepositoryDecorator::search (line 51)"
10 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepositoryForwardCompatibilityDecorator::search (line 46)"
11 => "Shopware\Core\Framework\Adapter\Twig\Extension\MediaExtension::searchMedia (line 354)"
12 => "__TwigTemplate_fd8d5b256d312c5be99b5c665c7d3c38::block_element_hero_slider_inner (line 171)"
13 => "Twig\Template::displayBlock (line 100)"
14 => "__TwigTemplate_fd8d5b256d312c5be99b5c665c7d3c38::block_element_hero_slider (line 171)"
15 => "Twig\Template::displayBlock (line 53)"
16 => "__TwigTemplate_fd8d5b256d312c5be99b5c665c7d3c38::doDisplay (line 394)"
17 => "Twig\Template::displayWithErrorHandling (line 367)"
18 => "Twig\Template::display (line 63)"
19 => "__TwigTemplate_a73bc428d67ccf41d9eb06bc898c7144::doDisplay (line 394)"
20 => "Twig\Template::displayWithErrorHandling (line 367)"
21 => "Twig\Template::display (line 326)"
22 => "__TwigTemplate_de51fe3149c36c2d13038f03675e7186::block_section_content_block_row (line 171)"
23 => "Twig\Template::displayBlock (line 285)"
24 => "__TwigTemplate_de51fe3149c36c2d13038f03675e7186::block_section_content_block_container (line 171)"
25 => "Twig\Template::displayBlock (line 213)"
26 => "__TwigTemplate_de51fe3149c36c2d13038f03675e7186::block_section_content_block (line 171)"
27 => "Twig\Template::displayBlock (line 49)"
28 => "__TwigTemplate_de51fe3149c36c2d13038f03675e7186::doDisplay (line 394)"
29 => "Twig\Template::displayWithErrorHandling (line 367)"
30 => "Twig\Template::display (line 132)"
31 => "__TwigTemplate_2166dd94fe780598b8fdcf72ddd769c9::block_section_default_content_block (line 171)"
32 => "Twig\Template::displayBlock (line 94)"
33 => "__TwigTemplate_2166dd94fe780598b8fdcf72ddd769c9::block_page_content_section_default (line 171)"
34 => "Twig\Template::displayBlock (line 47)"
35 => "__TwigTemplate_2166dd94fe780598b8fdcf72ddd769c9::doDisplay (line 394)"
36 => "Twig\Template::displayWithErrorHandling (line 367)"
37 => "Twig\Template::display (line 221)"
38 => "__TwigTemplate_2698d288dda261b2d5360419617c8736::block_page_content_section (line 171)"
39 => "Twig\Template::displayBlock (line 135)"
40 => "__TwigTemplate_2698d288dda261b2d5360419617c8736::block_page_content_sections_inner (line 171)"
41 => "Twig\Template::displayBlock (line 47)"
42 => "__TwigTemplate_fe3011e8614935f2877430f24082e841::doDisplay (line 394)"
43 => "Twig\Template::displayWithErrorHandling (line 367)"
44 => "Twig\Template::display (line 50)"
45 => "__TwigTemplate_e550e0b90883c1187f499e90e2cd999a::doDisplay (line 394)"
46 => "Twig\Template::displayWithErrorHandling (line 367)"
47 => "Twig\Template::display (line 51)"
48 => "__TwigTemplate_2698d288dda261b2d5360419617c8736::doDisplay (line 394)"
49 => "Twig\Template::displayWithErrorHandling (line 367)"
50 => "Twig\Template::display (line 211)"
51 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::block_page_content_blocks (line 171)"
52 => "Twig\Template::displayBlock (line 187)"
53 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::block_cms_content (line 171)"
54 => "Twig\Template::displayBlock (line 106)"
55 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::block_page_content (line 171)"
56 => "Twig\Template::displayBlock (line 77)"
57 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::block_base_main_inner (line 171)"
58 => "Twig\Template::displayBlock (line 504)"
59 => "__TwigTemplate_edfe32b5c98942de2b24393e846ea184::block_base_main (line 171)"
60 => "Twig\Template::displayBlock (line 191)"
61 => "Twig\Template::displayBlock (line 134)"
62 => "Twig\Template::displayParentBlock (line 71)"
63 => "__TwigTemplate_3d4777fcf75842349da241d4044d7d72::block_base_main (line 171)"
64 => "Twig\Template::displayBlock (line 283)"
65 => "__TwigTemplate_edfe32b5c98942de2b24393e846ea184::block_base_body_inner (line 171)"
66 => "Twig\Template::displayBlock (line 193)"
67 => "__TwigTemplate_edfe32b5c98942de2b24393e846ea184::block_base_body (line 171)"
68 => "Twig\Template::displayBlock (line 97)"
69 => "__TwigTemplate_edfe32b5c98942de2b24393e846ea184::doDisplay (line 394)"
70 => "Twig\Template::displayWithErrorHandling (line 367)"
71 => "Twig\Template::display (line 49)"
72 => "__TwigTemplate_317ed82f740e5079054f5b72bb59033c::doDisplay (line 394)"
73 => "Twig\Template::displayWithErrorHandling (line 367)"
74 => "Twig\Template::display (line 50)"
75 => "__TwigTemplate_3d4777fcf75842349da241d4044d7d72::doDisplay (line 394)"
76 => "Twig\Template::displayWithErrorHandling (line 367)"
77 => "Twig\Template::display (line 50)"
78 => "__TwigTemplate_aa1832859ad5b25e9cc640dfcf28a0bc::doDisplay (line 394)"
79 => "Twig\Template::displayWithErrorHandling (line 367)"
80 => "Twig\Template::display (line 54)"
81 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::doDisplay (line 394)"
82 => "Twig\Template::displayWithErrorHandling (line 367)"
83 => "Twig\Template::display (line 52)"
84 => "__TwigTemplate_da551205fea81b0c3b361980c09151e2::doDisplay (line 394)"
85 => "Twig\Template::displayWithErrorHandling (line 367)"
86 => "Twig\Template::display (line 379)"
87 => "Twig\Template::render (line 40)"
88 => "Twig\TemplateWrapper::render (line 277)"
89 => "Twig\Environment::render (line 235)"
90 => "Shopware\Storefront\Controller\StorefrontController::renderView (line 266)"
91 => "Symfony\Bundle\FrameworkBundle\Controller\AbstractController::render (line 72)"
92 => "Shopware\Storefront\Controller\StorefrontController::Shopware\Storefront\Controller\{closure} (line 59)"
93 => "Shopware\Core\Profiling\Profiler::trace (line 73)"
94 => "Shopware\Storefront\Controller\StorefrontController::renderStorefront (line 52)"
95 => "Shopware\Storefront\Controller\NavigationController::home (line 163)"
96 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
97 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
98 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
99 => "Shopware\Core\HttpKernel::doHandle (line 81)"
100 => "Shopware\Core\HttpKernel::handle (line 75)"
]
|
130 |
2.03 ms |
SELECT `media`.`id` as `media.id`, `media`.`user_id` as `media.userId`, `media`.`media_folder_id` as `media.mediaFolderId`, `media`.`mime_type` as `media.mimeType`, `media`.`file_extension` as `media.fileExtension`, `media`.`uploaded_at` as `media.uploadedAt`, `media`.`file_name` as `media.fileName`, `media`.`file_size` as `media.fileSize`, `media`.`media_type` as `media.mediaTypeRaw`, `media`.`meta_data` as `media.metaData`, `media`.`private` as `media.private`, `media`.`thumbnails_ro` as `media.thumbnailsRo`, `media`.`created_at` as `media.createdAt`, `media`.`updated_at` as `media.updatedAt`, `media.translation.title`, COALESCE(`media.translation.title`,`media.translation.title`) as `media.title`, `media.translation.alt`, COALESCE(`media.translation.alt`,`media.translation.alt`) as `media.alt`, `media.translation.customFields`, COALESCE(`media.translation.customFields`,`media.translation.customFields`) as `media.customFields`, `media.translation.createdAt`, `media.translation.updatedAt`, `media.translation.mediaId`, `media.translation.languageId` FROM `media` LEFT JOIN `media_folder` `media.mediaFolder` ON `media`.`media_folder_id` = `media.mediaFolder`.`id` LEFT JOIN (SELECT `media.translation`.media_id, `media.translation`.title as `media.translation.title`, `media.translation`.alt as `media.translation.alt`, `media.translation`.custom_fields as `media.translation.customFields`, `media.translation`.created_at as `media.translation.createdAt`, `media.translation`.updated_at as `media.translation.updatedAt`, `media.translation`.media_id as `media.translation.mediaId`, `media.translation`.language_id as `media.translation.languageId` FROM `media_translation` `media.translation` WHERE `media.translation`.language_id = :languageId) `media.media_translation` ON `media.media_translation`.`media_id` = `media`.`id` LEFT JOIN `media_default_folder` `media.mediaFolder.defaultFolder` ON `media.mediaFolder`.`default_folder_id` = `media.mediaFolder.defaultFolder`.`id` WHERE (((`media`.`private` = :param_dea1d46efca74c658bae21224cfad12d OR (`media`.`private` = :param_fe0aff22c7844acbbaee6efc0858a0e5 AND `media.mediaFolder.defaultFolder`.`entity` = :param_4185c5bcadb64412b261f54cfbd78164)))) AND (`media`.`id` IN (:ids))
SELECT `media`.`id` as `media.id`, `media`.`user_id` as `media.userId`, `media`.`media_folder_id` as `media.mediaFolderId`, `media`.`mime_type` as `media.mimeType`, `media`.`file_extension` as `media.fileExtension`, `media`.`uploaded_at` as `media.uploadedAt`, `media`.`file_name` as `media.fileName`, `media`.`file_size` as `media.fileSize`, `media`.`media_type` as `media.mediaTypeRaw`, `media`.`meta_data` as `media.metaData`, `media`.`private` as `media.private`, `media`.`thumbnails_ro` as `media.thumbnailsRo`, `media`.`created_at` as `media.createdAt`, `media`.`updated_at` as `media.updatedAt`, `media.translation.title`, COALESCE(`media.translation.title`,`media.translation.title`) as `media.title`, `media.translation.alt`, COALESCE(`media.translation.alt`,`media.translation.alt`) as `media.alt`, `media.translation.customFields`, COALESCE(`media.translation.customFields`,`media.translation.customFields`) as `media.customFields`, `media.translation.createdAt`, `media.translation.updatedAt`, `media.translation.mediaId`, `media.translation.languageId` FROM `media` LEFT JOIN `media_folder` `media.mediaFolder` ON `media`.`media_folder_id` = `media.mediaFolder`.`id` LEFT JOIN (SELECT `media.translation`.media_id, `media.translation`.title as `media.translation.title`, `media.translation`.alt as `media.translation.alt`, `media.translation`.custom_fields as `media.translation.customFields`, `media.translation`.created_at as `media.translation.createdAt`, `media.translation`.updated_at as `media.translation.updatedAt`, `media.translation`.media_id as `media.translation.mediaId`, `media.translation`.language_id as `media.translation.languageId` FROM `media_translation` `media.translation` WHERE `media.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `media.media_translation` ON `media.media_translation`.`media_id` = `media`.`id` LEFT JOIN `media_default_folder` `media.mediaFolder.defaultFolder` ON `media.mediaFolder`.`default_folder_id` = `media.mediaFolder.defaultFolder`.`id` WHERE (((`media`.`private` = 0 OR (`media`.`private` = 1 AND `media.mediaFolder.defaultFolder`.`entity` = 'product_download')))) AND (`media`.`id` IN (0x3DFEDB66EA984F389361F40451F2F780));
array:101 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 316)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetch (line 148)"
4 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 93)"
5 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::read (line 257)"
6 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::read (line 286)"
7 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::_search (line 106)"
8 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::search (line 59)"
9 => "Shopware\Core\Content\Media\DataAbstractionLayer\MediaRepositoryDecorator::search (line 51)"
10 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepositoryForwardCompatibilityDecorator::search (line 46)"
11 => "Shopware\Core\Framework\Adapter\Twig\Extension\MediaExtension::searchMedia (line 257)"
12 => "__TwigTemplate_fd8d5b256d312c5be99b5c665c7d3c38::block_element_hero_slider_inner (line 171)"
13 => "Twig\Template::displayBlock (line 100)"
14 => "__TwigTemplate_fd8d5b256d312c5be99b5c665c7d3c38::block_element_hero_slider (line 171)"
15 => "Twig\Template::displayBlock (line 53)"
16 => "__TwigTemplate_fd8d5b256d312c5be99b5c665c7d3c38::doDisplay (line 394)"
17 => "Twig\Template::displayWithErrorHandling (line 367)"
18 => "Twig\Template::display (line 63)"
19 => "__TwigTemplate_a73bc428d67ccf41d9eb06bc898c7144::doDisplay (line 394)"
20 => "Twig\Template::displayWithErrorHandling (line 367)"
21 => "Twig\Template::display (line 326)"
22 => "__TwigTemplate_de51fe3149c36c2d13038f03675e7186::block_section_content_block_row (line 171)"
23 => "Twig\Template::displayBlock (line 285)"
24 => "__TwigTemplate_de51fe3149c36c2d13038f03675e7186::block_section_content_block_container (line 171)"
25 => "Twig\Template::displayBlock (line 213)"
26 => "__TwigTemplate_de51fe3149c36c2d13038f03675e7186::block_section_content_block (line 171)"
27 => "Twig\Template::displayBlock (line 49)"
28 => "__TwigTemplate_de51fe3149c36c2d13038f03675e7186::doDisplay (line 394)"
29 => "Twig\Template::displayWithErrorHandling (line 367)"
30 => "Twig\Template::display (line 132)"
31 => "__TwigTemplate_2166dd94fe780598b8fdcf72ddd769c9::block_section_default_content_block (line 171)"
32 => "Twig\Template::displayBlock (line 94)"
33 => "__TwigTemplate_2166dd94fe780598b8fdcf72ddd769c9::block_page_content_section_default (line 171)"
34 => "Twig\Template::displayBlock (line 47)"
35 => "__TwigTemplate_2166dd94fe780598b8fdcf72ddd769c9::doDisplay (line 394)"
36 => "Twig\Template::displayWithErrorHandling (line 367)"
37 => "Twig\Template::display (line 221)"
38 => "__TwigTemplate_2698d288dda261b2d5360419617c8736::block_page_content_section (line 171)"
39 => "Twig\Template::displayBlock (line 135)"
40 => "__TwigTemplate_2698d288dda261b2d5360419617c8736::block_page_content_sections_inner (line 171)"
41 => "Twig\Template::displayBlock (line 47)"
42 => "__TwigTemplate_fe3011e8614935f2877430f24082e841::doDisplay (line 394)"
43 => "Twig\Template::displayWithErrorHandling (line 367)"
44 => "Twig\Template::display (line 50)"
45 => "__TwigTemplate_e550e0b90883c1187f499e90e2cd999a::doDisplay (line 394)"
46 => "Twig\Template::displayWithErrorHandling (line 367)"
47 => "Twig\Template::display (line 51)"
48 => "__TwigTemplate_2698d288dda261b2d5360419617c8736::doDisplay (line 394)"
49 => "Twig\Template::displayWithErrorHandling (line 367)"
50 => "Twig\Template::display (line 211)"
51 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::block_page_content_blocks (line 171)"
52 => "Twig\Template::displayBlock (line 187)"
53 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::block_cms_content (line 171)"
54 => "Twig\Template::displayBlock (line 106)"
55 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::block_page_content (line 171)"
56 => "Twig\Template::displayBlock (line 77)"
57 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::block_base_main_inner (line 171)"
58 => "Twig\Template::displayBlock (line 504)"
59 => "__TwigTemplate_edfe32b5c98942de2b24393e846ea184::block_base_main (line 171)"
60 => "Twig\Template::displayBlock (line 191)"
61 => "Twig\Template::displayBlock (line 134)"
62 => "Twig\Template::displayParentBlock (line 71)"
63 => "__TwigTemplate_3d4777fcf75842349da241d4044d7d72::block_base_main (line 171)"
64 => "Twig\Template::displayBlock (line 283)"
65 => "__TwigTemplate_edfe32b5c98942de2b24393e846ea184::block_base_body_inner (line 171)"
66 => "Twig\Template::displayBlock (line 193)"
67 => "__TwigTemplate_edfe32b5c98942de2b24393e846ea184::block_base_body (line 171)"
68 => "Twig\Template::displayBlock (line 97)"
69 => "__TwigTemplate_edfe32b5c98942de2b24393e846ea184::doDisplay (line 394)"
70 => "Twig\Template::displayWithErrorHandling (line 367)"
71 => "Twig\Template::display (line 49)"
72 => "__TwigTemplate_317ed82f740e5079054f5b72bb59033c::doDisplay (line 394)"
73 => "Twig\Template::displayWithErrorHandling (line 367)"
74 => "Twig\Template::display (line 50)"
75 => "__TwigTemplate_3d4777fcf75842349da241d4044d7d72::doDisplay (line 394)"
76 => "Twig\Template::displayWithErrorHandling (line 367)"
77 => "Twig\Template::display (line 50)"
78 => "__TwigTemplate_aa1832859ad5b25e9cc640dfcf28a0bc::doDisplay (line 394)"
79 => "Twig\Template::displayWithErrorHandling (line 367)"
80 => "Twig\Template::display (line 54)"
81 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::doDisplay (line 394)"
82 => "Twig\Template::displayWithErrorHandling (line 367)"
83 => "Twig\Template::display (line 52)"
84 => "__TwigTemplate_da551205fea81b0c3b361980c09151e2::doDisplay (line 394)"
85 => "Twig\Template::displayWithErrorHandling (line 367)"
86 => "Twig\Template::display (line 379)"
87 => "Twig\Template::render (line 40)"
88 => "Twig\TemplateWrapper::render (line 277)"
89 => "Twig\Environment::render (line 235)"
90 => "Shopware\Storefront\Controller\StorefrontController::renderView (line 266)"
91 => "Symfony\Bundle\FrameworkBundle\Controller\AbstractController::render (line 72)"
92 => "Shopware\Storefront\Controller\StorefrontController::Shopware\Storefront\Controller\{closure} (line 59)"
93 => "Shopware\Core\Profiling\Profiler::trace (line 73)"
94 => "Shopware\Storefront\Controller\StorefrontController::renderStorefront (line 52)"
95 => "Shopware\Storefront\Controller\NavigationController::home (line 163)"
96 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
97 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
98 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
99 => "Shopware\Core\HttpKernel::doHandle (line 81)"
100 => "Shopware\Core\HttpKernel::handle (line 75)"
]
|
131 |
2.37 ms |
SELECT `media`.`id` as `media.id`, `media`.`user_id` as `media.userId`, `media`.`media_folder_id` as `media.mediaFolderId`, `media`.`mime_type` as `media.mimeType`, `media`.`file_extension` as `media.fileExtension`, `media`.`uploaded_at` as `media.uploadedAt`, `media`.`file_name` as `media.fileName`, `media`.`file_size` as `media.fileSize`, `media`.`media_type` as `media.mediaTypeRaw`, `media`.`meta_data` as `media.metaData`, `media`.`private` as `media.private`, `media`.`thumbnails_ro` as `media.thumbnailsRo`, `media`.`created_at` as `media.createdAt`, `media`.`updated_at` as `media.updatedAt`, `media.translation.title`, COALESCE(`media.translation.title`,`media.translation.title`) as `media.title`, `media.translation.alt`, COALESCE(`media.translation.alt`,`media.translation.alt`) as `media.alt`, `media.translation.customFields`, COALESCE(`media.translation.customFields`,`media.translation.customFields`) as `media.customFields`, `media.translation.createdAt`, `media.translation.updatedAt`, `media.translation.mediaId`, `media.translation.languageId` FROM `media` LEFT JOIN `media_folder` `media.mediaFolder` ON `media`.`media_folder_id` = `media.mediaFolder`.`id` LEFT JOIN (SELECT `media.translation`.media_id, `media.translation`.title as `media.translation.title`, `media.translation`.alt as `media.translation.alt`, `media.translation`.custom_fields as `media.translation.customFields`, `media.translation`.created_at as `media.translation.createdAt`, `media.translation`.updated_at as `media.translation.updatedAt`, `media.translation`.media_id as `media.translation.mediaId`, `media.translation`.language_id as `media.translation.languageId` FROM `media_translation` `media.translation` WHERE `media.translation`.language_id = :languageId) `media.media_translation` ON `media.media_translation`.`media_id` = `media`.`id` LEFT JOIN `media_default_folder` `media.mediaFolder.defaultFolder` ON `media.mediaFolder`.`default_folder_id` = `media.mediaFolder.defaultFolder`.`id` WHERE (((`media`.`private` = :param_eb2edf344a1542818fd2170dd6074187 OR (`media`.`private` = :param_5cb9772f676d453991b17b9e262d948f AND `media.mediaFolder.defaultFolder`.`entity` = :param_8d7d03658647423e897f88099ea77d97)))) AND (`media`.`id` IN (:ids))
SELECT `media`.`id` as `media.id`, `media`.`user_id` as `media.userId`, `media`.`media_folder_id` as `media.mediaFolderId`, `media`.`mime_type` as `media.mimeType`, `media`.`file_extension` as `media.fileExtension`, `media`.`uploaded_at` as `media.uploadedAt`, `media`.`file_name` as `media.fileName`, `media`.`file_size` as `media.fileSize`, `media`.`media_type` as `media.mediaTypeRaw`, `media`.`meta_data` as `media.metaData`, `media`.`private` as `media.private`, `media`.`thumbnails_ro` as `media.thumbnailsRo`, `media`.`created_at` as `media.createdAt`, `media`.`updated_at` as `media.updatedAt`, `media.translation.title`, COALESCE(`media.translation.title`,`media.translation.title`) as `media.title`, `media.translation.alt`, COALESCE(`media.translation.alt`,`media.translation.alt`) as `media.alt`, `media.translation.customFields`, COALESCE(`media.translation.customFields`,`media.translation.customFields`) as `media.customFields`, `media.translation.createdAt`, `media.translation.updatedAt`, `media.translation.mediaId`, `media.translation.languageId` FROM `media` LEFT JOIN `media_folder` `media.mediaFolder` ON `media`.`media_folder_id` = `media.mediaFolder`.`id` LEFT JOIN (SELECT `media.translation`.media_id, `media.translation`.title as `media.translation.title`, `media.translation`.alt as `media.translation.alt`, `media.translation`.custom_fields as `media.translation.customFields`, `media.translation`.created_at as `media.translation.createdAt`, `media.translation`.updated_at as `media.translation.updatedAt`, `media.translation`.media_id as `media.translation.mediaId`, `media.translation`.language_id as `media.translation.languageId` FROM `media_translation` `media.translation` WHERE `media.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `media.media_translation` ON `media.media_translation`.`media_id` = `media`.`id` LEFT JOIN `media_default_folder` `media.mediaFolder.defaultFolder` ON `media.mediaFolder`.`default_folder_id` = `media.mediaFolder.defaultFolder`.`id` WHERE (((`media`.`private` = 0 OR (`media`.`private` = 1 AND `media.mediaFolder.defaultFolder`.`entity` = 'product_download')))) AND (`media`.`id` IN (0x640E7FAAE33245398D1A01F0AA288030));
array:101 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 316)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetch (line 148)"
4 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 93)"
5 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::read (line 257)"
6 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::read (line 286)"
7 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::_search (line 106)"
8 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::search (line 59)"
9 => "Shopware\Core\Content\Media\DataAbstractionLayer\MediaRepositoryDecorator::search (line 51)"
10 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepositoryForwardCompatibilityDecorator::search (line 46)"
11 => "Shopware\Core\Framework\Adapter\Twig\Extension\MediaExtension::searchMedia (line 354)"
12 => "__TwigTemplate_fd8d5b256d312c5be99b5c665c7d3c38::block_element_hero_slider_inner (line 171)"
13 => "Twig\Template::displayBlock (line 100)"
14 => "__TwigTemplate_fd8d5b256d312c5be99b5c665c7d3c38::block_element_hero_slider (line 171)"
15 => "Twig\Template::displayBlock (line 53)"
16 => "__TwigTemplate_fd8d5b256d312c5be99b5c665c7d3c38::doDisplay (line 394)"
17 => "Twig\Template::displayWithErrorHandling (line 367)"
18 => "Twig\Template::display (line 63)"
19 => "__TwigTemplate_a73bc428d67ccf41d9eb06bc898c7144::doDisplay (line 394)"
20 => "Twig\Template::displayWithErrorHandling (line 367)"
21 => "Twig\Template::display (line 326)"
22 => "__TwigTemplate_de51fe3149c36c2d13038f03675e7186::block_section_content_block_row (line 171)"
23 => "Twig\Template::displayBlock (line 285)"
24 => "__TwigTemplate_de51fe3149c36c2d13038f03675e7186::block_section_content_block_container (line 171)"
25 => "Twig\Template::displayBlock (line 213)"
26 => "__TwigTemplate_de51fe3149c36c2d13038f03675e7186::block_section_content_block (line 171)"
27 => "Twig\Template::displayBlock (line 49)"
28 => "__TwigTemplate_de51fe3149c36c2d13038f03675e7186::doDisplay (line 394)"
29 => "Twig\Template::displayWithErrorHandling (line 367)"
30 => "Twig\Template::display (line 132)"
31 => "__TwigTemplate_2166dd94fe780598b8fdcf72ddd769c9::block_section_default_content_block (line 171)"
32 => "Twig\Template::displayBlock (line 94)"
33 => "__TwigTemplate_2166dd94fe780598b8fdcf72ddd769c9::block_page_content_section_default (line 171)"
34 => "Twig\Template::displayBlock (line 47)"
35 => "__TwigTemplate_2166dd94fe780598b8fdcf72ddd769c9::doDisplay (line 394)"
36 => "Twig\Template::displayWithErrorHandling (line 367)"
37 => "Twig\Template::display (line 221)"
38 => "__TwigTemplate_2698d288dda261b2d5360419617c8736::block_page_content_section (line 171)"
39 => "Twig\Template::displayBlock (line 135)"
40 => "__TwigTemplate_2698d288dda261b2d5360419617c8736::block_page_content_sections_inner (line 171)"
41 => "Twig\Template::displayBlock (line 47)"
42 => "__TwigTemplate_fe3011e8614935f2877430f24082e841::doDisplay (line 394)"
43 => "Twig\Template::displayWithErrorHandling (line 367)"
44 => "Twig\Template::display (line 50)"
45 => "__TwigTemplate_e550e0b90883c1187f499e90e2cd999a::doDisplay (line 394)"
46 => "Twig\Template::displayWithErrorHandling (line 367)"
47 => "Twig\Template::display (line 51)"
48 => "__TwigTemplate_2698d288dda261b2d5360419617c8736::doDisplay (line 394)"
49 => "Twig\Template::displayWithErrorHandling (line 367)"
50 => "Twig\Template::display (line 211)"
51 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::block_page_content_blocks (line 171)"
52 => "Twig\Template::displayBlock (line 187)"
53 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::block_cms_content (line 171)"
54 => "Twig\Template::displayBlock (line 106)"
55 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::block_page_content (line 171)"
56 => "Twig\Template::displayBlock (line 77)"
57 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::block_base_main_inner (line 171)"
58 => "Twig\Template::displayBlock (line 504)"
59 => "__TwigTemplate_edfe32b5c98942de2b24393e846ea184::block_base_main (line 171)"
60 => "Twig\Template::displayBlock (line 191)"
61 => "Twig\Template::displayBlock (line 134)"
62 => "Twig\Template::displayParentBlock (line 71)"
63 => "__TwigTemplate_3d4777fcf75842349da241d4044d7d72::block_base_main (line 171)"
64 => "Twig\Template::displayBlock (line 283)"
65 => "__TwigTemplate_edfe32b5c98942de2b24393e846ea184::block_base_body_inner (line 171)"
66 => "Twig\Template::displayBlock (line 193)"
67 => "__TwigTemplate_edfe32b5c98942de2b24393e846ea184::block_base_body (line 171)"
68 => "Twig\Template::displayBlock (line 97)"
69 => "__TwigTemplate_edfe32b5c98942de2b24393e846ea184::doDisplay (line 394)"
70 => "Twig\Template::displayWithErrorHandling (line 367)"
71 => "Twig\Template::display (line 49)"
72 => "__TwigTemplate_317ed82f740e5079054f5b72bb59033c::doDisplay (line 394)"
73 => "Twig\Template::displayWithErrorHandling (line 367)"
74 => "Twig\Template::display (line 50)"
75 => "__TwigTemplate_3d4777fcf75842349da241d4044d7d72::doDisplay (line 394)"
76 => "Twig\Template::displayWithErrorHandling (line 367)"
77 => "Twig\Template::display (line 50)"
78 => "__TwigTemplate_aa1832859ad5b25e9cc640dfcf28a0bc::doDisplay (line 394)"
79 => "Twig\Template::displayWithErrorHandling (line 367)"
80 => "Twig\Template::display (line 54)"
81 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::doDisplay (line 394)"
82 => "Twig\Template::displayWithErrorHandling (line 367)"
83 => "Twig\Template::display (line 52)"
84 => "__TwigTemplate_da551205fea81b0c3b361980c09151e2::doDisplay (line 394)"
85 => "Twig\Template::displayWithErrorHandling (line 367)"
86 => "Twig\Template::display (line 379)"
87 => "Twig\Template::render (line 40)"
88 => "Twig\TemplateWrapper::render (line 277)"
89 => "Twig\Environment::render (line 235)"
90 => "Shopware\Storefront\Controller\StorefrontController::renderView (line 266)"
91 => "Symfony\Bundle\FrameworkBundle\Controller\AbstractController::render (line 72)"
92 => "Shopware\Storefront\Controller\StorefrontController::Shopware\Storefront\Controller\{closure} (line 59)"
93 => "Shopware\Core\Profiling\Profiler::trace (line 73)"
94 => "Shopware\Storefront\Controller\StorefrontController::renderStorefront (line 52)"
95 => "Shopware\Storefront\Controller\NavigationController::home (line 163)"
96 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
97 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
98 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
99 => "Shopware\Core\HttpKernel::doHandle (line 81)"
100 => "Shopware\Core\HttpKernel::handle (line 75)"
]
|
132 |
2.36 ms |
SELECT `media`.`id` as `media.id`, `media`.`user_id` as `media.userId`, `media`.`media_folder_id` as `media.mediaFolderId`, `media`.`mime_type` as `media.mimeType`, `media`.`file_extension` as `media.fileExtension`, `media`.`uploaded_at` as `media.uploadedAt`, `media`.`file_name` as `media.fileName`, `media`.`file_size` as `media.fileSize`, `media`.`media_type` as `media.mediaTypeRaw`, `media`.`meta_data` as `media.metaData`, `media`.`private` as `media.private`, `media`.`thumbnails_ro` as `media.thumbnailsRo`, `media`.`created_at` as `media.createdAt`, `media`.`updated_at` as `media.updatedAt`, `media.translation.title`, COALESCE(`media.translation.title`,`media.translation.title`) as `media.title`, `media.translation.alt`, COALESCE(`media.translation.alt`,`media.translation.alt`) as `media.alt`, `media.translation.customFields`, COALESCE(`media.translation.customFields`,`media.translation.customFields`) as `media.customFields`, `media.translation.createdAt`, `media.translation.updatedAt`, `media.translation.mediaId`, `media.translation.languageId` FROM `media` LEFT JOIN `media_folder` `media.mediaFolder` ON `media`.`media_folder_id` = `media.mediaFolder`.`id` LEFT JOIN (SELECT `media.translation`.media_id, `media.translation`.title as `media.translation.title`, `media.translation`.alt as `media.translation.alt`, `media.translation`.custom_fields as `media.translation.customFields`, `media.translation`.created_at as `media.translation.createdAt`, `media.translation`.updated_at as `media.translation.updatedAt`, `media.translation`.media_id as `media.translation.mediaId`, `media.translation`.language_id as `media.translation.languageId` FROM `media_translation` `media.translation` WHERE `media.translation`.language_id = :languageId) `media.media_translation` ON `media.media_translation`.`media_id` = `media`.`id` LEFT JOIN `media_default_folder` `media.mediaFolder.defaultFolder` ON `media.mediaFolder`.`default_folder_id` = `media.mediaFolder.defaultFolder`.`id` WHERE (((`media`.`private` = :param_fc34da2aa26947c9bd12a19a9db1e051 OR (`media`.`private` = :param_79253d652ca44513956df19af40ff2a1 AND `media.mediaFolder.defaultFolder`.`entity` = :param_49774d71d5f74a6a90b906cd5ff28597)))) AND (`media`.`id` IN (:ids))
SELECT `media`.`id` as `media.id`, `media`.`user_id` as `media.userId`, `media`.`media_folder_id` as `media.mediaFolderId`, `media`.`mime_type` as `media.mimeType`, `media`.`file_extension` as `media.fileExtension`, `media`.`uploaded_at` as `media.uploadedAt`, `media`.`file_name` as `media.fileName`, `media`.`file_size` as `media.fileSize`, `media`.`media_type` as `media.mediaTypeRaw`, `media`.`meta_data` as `media.metaData`, `media`.`private` as `media.private`, `media`.`thumbnails_ro` as `media.thumbnailsRo`, `media`.`created_at` as `media.createdAt`, `media`.`updated_at` as `media.updatedAt`, `media.translation.title`, COALESCE(`media.translation.title`,`media.translation.title`) as `media.title`, `media.translation.alt`, COALESCE(`media.translation.alt`,`media.translation.alt`) as `media.alt`, `media.translation.customFields`, COALESCE(`media.translation.customFields`,`media.translation.customFields`) as `media.customFields`, `media.translation.createdAt`, `media.translation.updatedAt`, `media.translation.mediaId`, `media.translation.languageId` FROM `media` LEFT JOIN `media_folder` `media.mediaFolder` ON `media`.`media_folder_id` = `media.mediaFolder`.`id` LEFT JOIN (SELECT `media.translation`.media_id, `media.translation`.title as `media.translation.title`, `media.translation`.alt as `media.translation.alt`, `media.translation`.custom_fields as `media.translation.customFields`, `media.translation`.created_at as `media.translation.createdAt`, `media.translation`.updated_at as `media.translation.updatedAt`, `media.translation`.media_id as `media.translation.mediaId`, `media.translation`.language_id as `media.translation.languageId` FROM `media_translation` `media.translation` WHERE `media.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `media.media_translation` ON `media.media_translation`.`media_id` = `media`.`id` LEFT JOIN `media_default_folder` `media.mediaFolder.defaultFolder` ON `media.mediaFolder`.`default_folder_id` = `media.mediaFolder.defaultFolder`.`id` WHERE (((`media`.`private` = 0 OR (`media`.`private` = 1 AND `media.mediaFolder.defaultFolder`.`entity` = 'product_download')))) AND (`media`.`id` IN (0x4D7ABC71D5B04C6C90D254556520A26C));
array:101 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 316)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetch (line 148)"
4 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 93)"
5 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::read (line 257)"
6 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::read (line 286)"
7 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::_search (line 106)"
8 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::search (line 59)"
9 => "Shopware\Core\Content\Media\DataAbstractionLayer\MediaRepositoryDecorator::search (line 51)"
10 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepositoryForwardCompatibilityDecorator::search (line 46)"
11 => "Shopware\Core\Framework\Adapter\Twig\Extension\MediaExtension::searchMedia (line 257)"
12 => "__TwigTemplate_fd8d5b256d312c5be99b5c665c7d3c38::block_element_hero_slider_inner (line 171)"
13 => "Twig\Template::displayBlock (line 100)"
14 => "__TwigTemplate_fd8d5b256d312c5be99b5c665c7d3c38::block_element_hero_slider (line 171)"
15 => "Twig\Template::displayBlock (line 53)"
16 => "__TwigTemplate_fd8d5b256d312c5be99b5c665c7d3c38::doDisplay (line 394)"
17 => "Twig\Template::displayWithErrorHandling (line 367)"
18 => "Twig\Template::display (line 63)"
19 => "__TwigTemplate_a73bc428d67ccf41d9eb06bc898c7144::doDisplay (line 394)"
20 => "Twig\Template::displayWithErrorHandling (line 367)"
21 => "Twig\Template::display (line 326)"
22 => "__TwigTemplate_de51fe3149c36c2d13038f03675e7186::block_section_content_block_row (line 171)"
23 => "Twig\Template::displayBlock (line 285)"
24 => "__TwigTemplate_de51fe3149c36c2d13038f03675e7186::block_section_content_block_container (line 171)"
25 => "Twig\Template::displayBlock (line 213)"
26 => "__TwigTemplate_de51fe3149c36c2d13038f03675e7186::block_section_content_block (line 171)"
27 => "Twig\Template::displayBlock (line 49)"
28 => "__TwigTemplate_de51fe3149c36c2d13038f03675e7186::doDisplay (line 394)"
29 => "Twig\Template::displayWithErrorHandling (line 367)"
30 => "Twig\Template::display (line 132)"
31 => "__TwigTemplate_2166dd94fe780598b8fdcf72ddd769c9::block_section_default_content_block (line 171)"
32 => "Twig\Template::displayBlock (line 94)"
33 => "__TwigTemplate_2166dd94fe780598b8fdcf72ddd769c9::block_page_content_section_default (line 171)"
34 => "Twig\Template::displayBlock (line 47)"
35 => "__TwigTemplate_2166dd94fe780598b8fdcf72ddd769c9::doDisplay (line 394)"
36 => "Twig\Template::displayWithErrorHandling (line 367)"
37 => "Twig\Template::display (line 221)"
38 => "__TwigTemplate_2698d288dda261b2d5360419617c8736::block_page_content_section (line 171)"
39 => "Twig\Template::displayBlock (line 135)"
40 => "__TwigTemplate_2698d288dda261b2d5360419617c8736::block_page_content_sections_inner (line 171)"
41 => "Twig\Template::displayBlock (line 47)"
42 => "__TwigTemplate_fe3011e8614935f2877430f24082e841::doDisplay (line 394)"
43 => "Twig\Template::displayWithErrorHandling (line 367)"
44 => "Twig\Template::display (line 50)"
45 => "__TwigTemplate_e550e0b90883c1187f499e90e2cd999a::doDisplay (line 394)"
46 => "Twig\Template::displayWithErrorHandling (line 367)"
47 => "Twig\Template::display (line 51)"
48 => "__TwigTemplate_2698d288dda261b2d5360419617c8736::doDisplay (line 394)"
49 => "Twig\Template::displayWithErrorHandling (line 367)"
50 => "Twig\Template::display (line 211)"
51 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::block_page_content_blocks (line 171)"
52 => "Twig\Template::displayBlock (line 187)"
53 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::block_cms_content (line 171)"
54 => "Twig\Template::displayBlock (line 106)"
55 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::block_page_content (line 171)"
56 => "Twig\Template::displayBlock (line 77)"
57 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::block_base_main_inner (line 171)"
58 => "Twig\Template::displayBlock (line 504)"
59 => "__TwigTemplate_edfe32b5c98942de2b24393e846ea184::block_base_main (line 171)"
60 => "Twig\Template::displayBlock (line 191)"
61 => "Twig\Template::displayBlock (line 134)"
62 => "Twig\Template::displayParentBlock (line 71)"
63 => "__TwigTemplate_3d4777fcf75842349da241d4044d7d72::block_base_main (line 171)"
64 => "Twig\Template::displayBlock (line 283)"
65 => "__TwigTemplate_edfe32b5c98942de2b24393e846ea184::block_base_body_inner (line 171)"
66 => "Twig\Template::displayBlock (line 193)"
67 => "__TwigTemplate_edfe32b5c98942de2b24393e846ea184::block_base_body (line 171)"
68 => "Twig\Template::displayBlock (line 97)"
69 => "__TwigTemplate_edfe32b5c98942de2b24393e846ea184::doDisplay (line 394)"
70 => "Twig\Template::displayWithErrorHandling (line 367)"
71 => "Twig\Template::display (line 49)"
72 => "__TwigTemplate_317ed82f740e5079054f5b72bb59033c::doDisplay (line 394)"
73 => "Twig\Template::displayWithErrorHandling (line 367)"
74 => "Twig\Template::display (line 50)"
75 => "__TwigTemplate_3d4777fcf75842349da241d4044d7d72::doDisplay (line 394)"
76 => "Twig\Template::displayWithErrorHandling (line 367)"
77 => "Twig\Template::display (line 50)"
78 => "__TwigTemplate_aa1832859ad5b25e9cc640dfcf28a0bc::doDisplay (line 394)"
79 => "Twig\Template::displayWithErrorHandling (line 367)"
80 => "Twig\Template::display (line 54)"
81 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::doDisplay (line 394)"
82 => "Twig\Template::displayWithErrorHandling (line 367)"
83 => "Twig\Template::display (line 52)"
84 => "__TwigTemplate_da551205fea81b0c3b361980c09151e2::doDisplay (line 394)"
85 => "Twig\Template::displayWithErrorHandling (line 367)"
86 => "Twig\Template::display (line 379)"
87 => "Twig\Template::render (line 40)"
88 => "Twig\TemplateWrapper::render (line 277)"
89 => "Twig\Environment::render (line 235)"
90 => "Shopware\Storefront\Controller\StorefrontController::renderView (line 266)"
91 => "Symfony\Bundle\FrameworkBundle\Controller\AbstractController::render (line 72)"
92 => "Shopware\Storefront\Controller\StorefrontController::Shopware\Storefront\Controller\{closure} (line 59)"
93 => "Shopware\Core\Profiling\Profiler::trace (line 73)"
94 => "Shopware\Storefront\Controller\StorefrontController::renderStorefront (line 52)"
95 => "Shopware\Storefront\Controller\NavigationController::home (line 163)"
96 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
97 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
98 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
99 => "Shopware\Core\HttpKernel::doHandle (line 81)"
100 => "Shopware\Core\HttpKernel::handle (line 75)"
]
|
133 |
2.18 ms |
SELECT `media`.`id` as `media.id`, `media`.`user_id` as `media.userId`, `media`.`media_folder_id` as `media.mediaFolderId`, `media`.`mime_type` as `media.mimeType`, `media`.`file_extension` as `media.fileExtension`, `media`.`uploaded_at` as `media.uploadedAt`, `media`.`file_name` as `media.fileName`, `media`.`file_size` as `media.fileSize`, `media`.`media_type` as `media.mediaTypeRaw`, `media`.`meta_data` as `media.metaData`, `media`.`private` as `media.private`, `media`.`thumbnails_ro` as `media.thumbnailsRo`, `media`.`created_at` as `media.createdAt`, `media`.`updated_at` as `media.updatedAt`, `media.translation.title`, COALESCE(`media.translation.title`,`media.translation.title`) as `media.title`, `media.translation.alt`, COALESCE(`media.translation.alt`,`media.translation.alt`) as `media.alt`, `media.translation.customFields`, COALESCE(`media.translation.customFields`,`media.translation.customFields`) as `media.customFields`, `media.translation.createdAt`, `media.translation.updatedAt`, `media.translation.mediaId`, `media.translation.languageId` FROM `media` LEFT JOIN `media_folder` `media.mediaFolder` ON `media`.`media_folder_id` = `media.mediaFolder`.`id` LEFT JOIN (SELECT `media.translation`.media_id, `media.translation`.title as `media.translation.title`, `media.translation`.alt as `media.translation.alt`, `media.translation`.custom_fields as `media.translation.customFields`, `media.translation`.created_at as `media.translation.createdAt`, `media.translation`.updated_at as `media.translation.updatedAt`, `media.translation`.media_id as `media.translation.mediaId`, `media.translation`.language_id as `media.translation.languageId` FROM `media_translation` `media.translation` WHERE `media.translation`.language_id = :languageId) `media.media_translation` ON `media.media_translation`.`media_id` = `media`.`id` LEFT JOIN `media_default_folder` `media.mediaFolder.defaultFolder` ON `media.mediaFolder`.`default_folder_id` = `media.mediaFolder.defaultFolder`.`id` WHERE (((`media`.`private` = :param_e09b3d6bc3994c60a43a707bbd52ae99 OR (`media`.`private` = :param_67c75a5712134b19aa576e99903a7725 AND `media.mediaFolder.defaultFolder`.`entity` = :param_c4c0b3f2398b45f39e32f50d7099ca3b)))) AND (`media`.`id` IN (:ids))
SELECT `media`.`id` as `media.id`, `media`.`user_id` as `media.userId`, `media`.`media_folder_id` as `media.mediaFolderId`, `media`.`mime_type` as `media.mimeType`, `media`.`file_extension` as `media.fileExtension`, `media`.`uploaded_at` as `media.uploadedAt`, `media`.`file_name` as `media.fileName`, `media`.`file_size` as `media.fileSize`, `media`.`media_type` as `media.mediaTypeRaw`, `media`.`meta_data` as `media.metaData`, `media`.`private` as `media.private`, `media`.`thumbnails_ro` as `media.thumbnailsRo`, `media`.`created_at` as `media.createdAt`, `media`.`updated_at` as `media.updatedAt`, `media.translation.title`, COALESCE(`media.translation.title`,`media.translation.title`) as `media.title`, `media.translation.alt`, COALESCE(`media.translation.alt`,`media.translation.alt`) as `media.alt`, `media.translation.customFields`, COALESCE(`media.translation.customFields`,`media.translation.customFields`) as `media.customFields`, `media.translation.createdAt`, `media.translation.updatedAt`, `media.translation.mediaId`, `media.translation.languageId` FROM `media` LEFT JOIN `media_folder` `media.mediaFolder` ON `media`.`media_folder_id` = `media.mediaFolder`.`id` LEFT JOIN (SELECT `media.translation`.media_id, `media.translation`.title as `media.translation.title`, `media.translation`.alt as `media.translation.alt`, `media.translation`.custom_fields as `media.translation.customFields`, `media.translation`.created_at as `media.translation.createdAt`, `media.translation`.updated_at as `media.translation.updatedAt`, `media.translation`.media_id as `media.translation.mediaId`, `media.translation`.language_id as `media.translation.languageId` FROM `media_translation` `media.translation` WHERE `media.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `media.media_translation` ON `media.media_translation`.`media_id` = `media`.`id` LEFT JOIN `media_default_folder` `media.mediaFolder.defaultFolder` ON `media.mediaFolder`.`default_folder_id` = `media.mediaFolder.defaultFolder`.`id` WHERE (((`media`.`private` = 0 OR (`media`.`private` = 1 AND `media.mediaFolder.defaultFolder`.`entity` = 'product_download')))) AND (`media`.`id` IN (0x80D2992D894346ADB6E5DBCA52CDBCBB));
array:101 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 316)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetch (line 148)"
4 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 93)"
5 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::read (line 257)"
6 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::read (line 286)"
7 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::_search (line 106)"
8 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::search (line 59)"
9 => "Shopware\Core\Content\Media\DataAbstractionLayer\MediaRepositoryDecorator::search (line 51)"
10 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepositoryForwardCompatibilityDecorator::search (line 46)"
11 => "Shopware\Core\Framework\Adapter\Twig\Extension\MediaExtension::searchMedia (line 354)"
12 => "__TwigTemplate_fd8d5b256d312c5be99b5c665c7d3c38::block_element_hero_slider_inner (line 171)"
13 => "Twig\Template::displayBlock (line 100)"
14 => "__TwigTemplate_fd8d5b256d312c5be99b5c665c7d3c38::block_element_hero_slider (line 171)"
15 => "Twig\Template::displayBlock (line 53)"
16 => "__TwigTemplate_fd8d5b256d312c5be99b5c665c7d3c38::doDisplay (line 394)"
17 => "Twig\Template::displayWithErrorHandling (line 367)"
18 => "Twig\Template::display (line 63)"
19 => "__TwigTemplate_a73bc428d67ccf41d9eb06bc898c7144::doDisplay (line 394)"
20 => "Twig\Template::displayWithErrorHandling (line 367)"
21 => "Twig\Template::display (line 326)"
22 => "__TwigTemplate_de51fe3149c36c2d13038f03675e7186::block_section_content_block_row (line 171)"
23 => "Twig\Template::displayBlock (line 285)"
24 => "__TwigTemplate_de51fe3149c36c2d13038f03675e7186::block_section_content_block_container (line 171)"
25 => "Twig\Template::displayBlock (line 213)"
26 => "__TwigTemplate_de51fe3149c36c2d13038f03675e7186::block_section_content_block (line 171)"
27 => "Twig\Template::displayBlock (line 49)"
28 => "__TwigTemplate_de51fe3149c36c2d13038f03675e7186::doDisplay (line 394)"
29 => "Twig\Template::displayWithErrorHandling (line 367)"
30 => "Twig\Template::display (line 132)"
31 => "__TwigTemplate_2166dd94fe780598b8fdcf72ddd769c9::block_section_default_content_block (line 171)"
32 => "Twig\Template::displayBlock (line 94)"
33 => "__TwigTemplate_2166dd94fe780598b8fdcf72ddd769c9::block_page_content_section_default (line 171)"
34 => "Twig\Template::displayBlock (line 47)"
35 => "__TwigTemplate_2166dd94fe780598b8fdcf72ddd769c9::doDisplay (line 394)"
36 => "Twig\Template::displayWithErrorHandling (line 367)"
37 => "Twig\Template::display (line 221)"
38 => "__TwigTemplate_2698d288dda261b2d5360419617c8736::block_page_content_section (line 171)"
39 => "Twig\Template::displayBlock (line 135)"
40 => "__TwigTemplate_2698d288dda261b2d5360419617c8736::block_page_content_sections_inner (line 171)"
41 => "Twig\Template::displayBlock (line 47)"
42 => "__TwigTemplate_fe3011e8614935f2877430f24082e841::doDisplay (line 394)"
43 => "Twig\Template::displayWithErrorHandling (line 367)"
44 => "Twig\Template::display (line 50)"
45 => "__TwigTemplate_e550e0b90883c1187f499e90e2cd999a::doDisplay (line 394)"
46 => "Twig\Template::displayWithErrorHandling (line 367)"
47 => "Twig\Template::display (line 51)"
48 => "__TwigTemplate_2698d288dda261b2d5360419617c8736::doDisplay (line 394)"
49 => "Twig\Template::displayWithErrorHandling (line 367)"
50 => "Twig\Template::display (line 211)"
51 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::block_page_content_blocks (line 171)"
52 => "Twig\Template::displayBlock (line 187)"
53 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::block_cms_content (line 171)"
54 => "Twig\Template::displayBlock (line 106)"
55 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::block_page_content (line 171)"
56 => "Twig\Template::displayBlock (line 77)"
57 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::block_base_main_inner (line 171)"
58 => "Twig\Template::displayBlock (line 504)"
59 => "__TwigTemplate_edfe32b5c98942de2b24393e846ea184::block_base_main (line 171)"
60 => "Twig\Template::displayBlock (line 191)"
61 => "Twig\Template::displayBlock (line 134)"
62 => "Twig\Template::displayParentBlock (line 71)"
63 => "__TwigTemplate_3d4777fcf75842349da241d4044d7d72::block_base_main (line 171)"
64 => "Twig\Template::displayBlock (line 283)"
65 => "__TwigTemplate_edfe32b5c98942de2b24393e846ea184::block_base_body_inner (line 171)"
66 => "Twig\Template::displayBlock (line 193)"
67 => "__TwigTemplate_edfe32b5c98942de2b24393e846ea184::block_base_body (line 171)"
68 => "Twig\Template::displayBlock (line 97)"
69 => "__TwigTemplate_edfe32b5c98942de2b24393e846ea184::doDisplay (line 394)"
70 => "Twig\Template::displayWithErrorHandling (line 367)"
71 => "Twig\Template::display (line 49)"
72 => "__TwigTemplate_317ed82f740e5079054f5b72bb59033c::doDisplay (line 394)"
73 => "Twig\Template::displayWithErrorHandling (line 367)"
74 => "Twig\Template::display (line 50)"
75 => "__TwigTemplate_3d4777fcf75842349da241d4044d7d72::doDisplay (line 394)"
76 => "Twig\Template::displayWithErrorHandling (line 367)"
77 => "Twig\Template::display (line 50)"
78 => "__TwigTemplate_aa1832859ad5b25e9cc640dfcf28a0bc::doDisplay (line 394)"
79 => "Twig\Template::displayWithErrorHandling (line 367)"
80 => "Twig\Template::display (line 54)"
81 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::doDisplay (line 394)"
82 => "Twig\Template::displayWithErrorHandling (line 367)"
83 => "Twig\Template::display (line 52)"
84 => "__TwigTemplate_da551205fea81b0c3b361980c09151e2::doDisplay (line 394)"
85 => "Twig\Template::displayWithErrorHandling (line 367)"
86 => "Twig\Template::display (line 379)"
87 => "Twig\Template::render (line 40)"
88 => "Twig\TemplateWrapper::render (line 277)"
89 => "Twig\Environment::render (line 235)"
90 => "Shopware\Storefront\Controller\StorefrontController::renderView (line 266)"
91 => "Symfony\Bundle\FrameworkBundle\Controller\AbstractController::render (line 72)"
92 => "Shopware\Storefront\Controller\StorefrontController::Shopware\Storefront\Controller\{closure} (line 59)"
93 => "Shopware\Core\Profiling\Profiler::trace (line 73)"
94 => "Shopware\Storefront\Controller\StorefrontController::renderStorefront (line 52)"
95 => "Shopware\Storefront\Controller\NavigationController::home (line 163)"
96 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
97 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
98 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
99 => "Shopware\Core\HttpKernel::doHandle (line 81)"
100 => "Shopware\Core\HttpKernel::handle (line 75)"
]
|
134 |
2.23 ms |
SELECT `product`.`id`, `product`.`product_number`, `product`.`auto_increment` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN `product_visibility` `product.visibilities` ON `product`.`visibilities` = `product.visibilities`.`product_id` AND `product`.version_id = `product.visibilities`.product_version_id WHERE (`product`.`version_id` = :version) AND ((((`product.visibilities`.`visibility` >= :param_b9ea2ba018a34313b4e29247d88f67ce) AND `product.visibilities`.`sales_channel_id` = :param_c4464d30f1a34bc7a865fa2c99d052c4 AND IFNULL(`product`.`active`, `product.parent`.`active`) = :param_3270c980641142f09847b776488fe651))) AND (`product`.`id` IN (:ids)) GROUP BY `product`.`id`
SELECT `product`.`id`, `product`.`product_number`, `product`.`auto_increment` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN `product_visibility` `product.visibilities` ON `product`.`visibilities` = `product.visibilities`.`product_id` AND `product`.version_id = `product.visibilities`.product_version_id WHERE (`product`.`version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425) AND ((((`product.visibilities`.`visibility` >= 10) AND `product.visibilities`.`sales_channel_id` = 0x620A2217F7474E619CB00AD39E804CCA AND IFNULL(`product`.`active`, `product.parent`.`active`) = 1))) AND (`product`.`id` IN (0x12399480A05A4762B2F1F9ADE33FE485)) GROUP BY `product`.`id`;
array:176 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 107)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntitySearcher::search (line 62)"
4 => "Shopware\Elasticsearch\Framework\DataAbstractionLayer\ElasticsearchEntitySearcher::search (line 216)"
5 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::doSearch (line 122)"
6 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 35)"
7 => "Bodymed\Webshop\StoreFront\Controller\Fragment\MykeyController::productButton (line 163)"
8 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
9 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 86)"
10 => "Symfony\Component\HttpKernel\HttpCache\SubRequestHandler::handle (line 80)"
11 => "Symfony\Component\HttpKernel\Fragment\InlineFragmentRenderer::render (line 67)"
12 => "Symfony\Component\HttpKernel\Fragment\AbstractSurrogateFragmentRenderer::render (line 85)"
13 => "Symfony\Component\HttpKernel\Fragment\FragmentHandler::render (line 49)"
14 => "Symfony\Component\HttpKernel\DependencyInjection\LazyLoadingFragmentHandler::render (line 58)"
15 => "Symfony\Bridge\Twig\Extension\HttpKernelRuntime::renderFragmentStrategy (line 49)"
16 => "__TwigTemplate_2cfe98682834d1687f8d6a50e5c6c875::doDisplay (line 394)"
17 => "Twig\Template::displayWithErrorHandling (line 367)"
18 => "Twig\Template::display (line 433)"
19 => "__TwigTemplate_14ab916158f2c76dbf3ead9c965366ee::block_page_product_detail_product_buy_button (line 171)"
20 => "Twig\Template::displayBlock (line 286)"
21 => "__TwigTemplate_14ab916158f2c76dbf3ead9c965366ee::block_component_product_box_action_form (line 171)"
22 => "Twig\Template::displayBlock (line 176)"
23 => "__TwigTemplate_14ab916158f2c76dbf3ead9c965366ee::block_component_product_box_action_buy (line 171)"
24 => "Twig\Template::displayBlock (line 99)"
25 => "__TwigTemplate_14ab916158f2c76dbf3ead9c965366ee::block_component_product_box_action_inner (line 171)"
26 => "Twig\Template::displayBlock (line 55)"
27 => "__TwigTemplate_7d431b166c1076fe75d90ae2937a4fbf::doDisplay (line 394)"
28 => "Twig\Template::displayWithErrorHandling (line 367)"
29 => "Twig\Template::display (line 49)"
30 => "__TwigTemplate_c24467d8881cb30f26590a715cb8a7d0::doDisplay (line 394)"
31 => "Twig\Template::displayWithErrorHandling (line 367)"
32 => "Twig\Template::display (line 50)"
33 => "__TwigTemplate_51d4ff6a5b878003b8d295ae4681dc08::doDisplay (line 394)"
34 => "Twig\Template::displayWithErrorHandling (line 367)"
35 => "Twig\Template::display (line 59)"
36 => "__TwigTemplate_14ab916158f2c76dbf3ead9c965366ee::doDisplay (line 394)"
37 => "Twig\Template::displayWithErrorHandling (line 367)"
38 => "Twig\Template::display (line 686)"
39 => "__TwigTemplate_2a61b8c78ac82d7c4633d6e5ef88ea2a::block_component_product_box_action (line 171)"
40 => "Twig\Template::displayBlock (line 479)"
41 => "__TwigTemplate_2a61b8c78ac82d7c4633d6e5ef88ea2a::block_component_product_box_info (line 171)"
42 => "Twig\Template::displayBlock (line 148)"
43 => "__TwigTemplate_2a61b8c78ac82d7c4633d6e5ef88ea2a::block_component_product_box_content (line 171)"
44 => "Twig\Template::displayBlock (line 134)"
45 => "Twig\Template::displayParentBlock (line 72)"
46 => "__TwigTemplate_473b5d9381e520cd45967dc806bd35eb::block_component_product_box_content (line 171)"
47 => "Twig\Template::displayBlock (line 134)"
48 => "Twig\Template::displayParentBlock (line 345)"
49 => "__TwigTemplate_3d831625f614bd36fa47a6d2d9e066c4::block_component_product_box_content (line 171)"
50 => "Twig\Template::displayBlock (line 106)"
51 => "__TwigTemplate_2a61b8c78ac82d7c4633d6e5ef88ea2a::block_component_product_box (line 171)"
52 => "Twig\Template::displayBlock (line 62)"
53 => "__TwigTemplate_2a61b8c78ac82d7c4633d6e5ef88ea2a::doDisplay (line 394)"
54 => "Twig\Template::displayWithErrorHandling (line 367)"
55 => "Twig\Template::display (line 50)"
56 => "__TwigTemplate_473b5d9381e520cd45967dc806bd35eb::doDisplay (line 394)"
57 => "Twig\Template::displayWithErrorHandling (line 367)"
58 => "Twig\Template::display (line 53)"
59 => "__TwigTemplate_3d831625f614bd36fa47a6d2d9e066c4::doDisplay (line 394)"
60 => "Twig\Template::displayWithErrorHandling (line 367)"
61 => "Twig\Template::display (line 100)"
62 => "__TwigTemplate_95c5ec1c6cbf2f020c5f49f6da7b4824::block_component_product_box_include (line 171)"
63 => "Twig\Template::displayBlock (line 46)"
64 => "__TwigTemplate_95c5ec1c6cbf2f020c5f49f6da7b4824::doDisplay (line 394)"
65 => "Twig\Template::displayWithErrorHandling (line 367)"
66 => "Twig\Template::display (line 213)"
67 => "__TwigTemplate_fd1dee84d1699b805159e6ca3e1448b9::block_element_product_slider_inner_item (line 171)"
68 => "Twig\Template::displayBlock (line 305)"
69 => "__TwigTemplate_5360887332fa588f24ce84d03f2a9dcb::block_element_product_slider_element (line 171)"
70 => "Twig\Template::displayBlock (line 256)"
71 => "__TwigTemplate_5360887332fa588f24ce84d03f2a9dcb::block_element_product_slider_inner (line 171)"
72 => "Twig\Template::displayBlock (line 200)"
73 => "__TwigTemplate_5360887332fa588f24ce84d03f2a9dcb::block_element_product_slider_slider (line 171)"
74 => "Twig\Template::displayBlock (line 148)"
75 => "__TwigTemplate_5360887332fa588f24ce84d03f2a9dcb::block_element_product_slider_alignment (line 171)"
76 => "Twig\Template::displayBlock (line 97)"
77 => "__TwigTemplate_5360887332fa588f24ce84d03f2a9dcb::block_element_product_slider (line 171)"
78 => "Twig\Template::displayBlock (line 56)"
79 => "__TwigTemplate_5360887332fa588f24ce84d03f2a9dcb::doDisplay (line 394)"
80 => "Twig\Template::displayWithErrorHandling (line 367)"
81 => "Twig\Template::display (line 50)"
82 => "__TwigTemplate_fd1dee84d1699b805159e6ca3e1448b9::doDisplay (line 394)"
83 => "Twig\Template::displayWithErrorHandling (line 367)"
84 => "Twig\Template::display (line 51)"
85 => "__TwigTemplate_f4b00fca4c0b72160541c3749254ef87::doDisplay (line 394)"
86 => "Twig\Template::displayWithErrorHandling (line 367)"
87 => "Twig\Template::display (line 248)"
88 => "__TwigTemplate_aa97fabf4ba2709c6244f65d49131341::block_block_product_two_column_left_inner (line 171)"
89 => "Twig\Template::displayBlock (line 211)"
90 => "__TwigTemplate_aa97fabf4ba2709c6244f65d49131341::block_block_product_two_column_left (line 171)"
91 => "Twig\Template::displayBlock (line 88)"
92 => "__TwigTemplate_aa97fabf4ba2709c6244f65d49131341::block_block_product_two_column (line 171)"
93 => "Twig\Template::displayBlock (line 50)"
94 => "__TwigTemplate_aa97fabf4ba2709c6244f65d49131341::doDisplay (line 394)"
95 => "Twig\Template::displayWithErrorHandling (line 367)"
96 => "Twig\Template::display (line 326)"
97 => "__TwigTemplate_de51fe3149c36c2d13038f03675e7186::block_section_content_block_row (line 171)"
98 => "Twig\Template::displayBlock (line 285)"
99 => "__TwigTemplate_de51fe3149c36c2d13038f03675e7186::block_section_content_block_container (line 171)"
100 => "Twig\Template::displayBlock (line 213)"
101 => "__TwigTemplate_de51fe3149c36c2d13038f03675e7186::block_section_content_block (line 171)"
102 => "Twig\Template::displayBlock (line 49)"
103 => "__TwigTemplate_de51fe3149c36c2d13038f03675e7186::doDisplay (line 394)"
104 => "Twig\Template::displayWithErrorHandling (line 367)"
105 => "Twig\Template::display (line 132)"
106 => "__TwigTemplate_2166dd94fe780598b8fdcf72ddd769c9::block_section_default_content_block (line 171)"
107 => "Twig\Template::displayBlock (line 94)"
108 => "__TwigTemplate_2166dd94fe780598b8fdcf72ddd769c9::block_page_content_section_default (line 171)"
109 => "Twig\Template::displayBlock (line 47)"
110 => "__TwigTemplate_2166dd94fe780598b8fdcf72ddd769c9::doDisplay (line 394)"
111 => "Twig\Template::displayWithErrorHandling (line 367)"
112 => "Twig\Template::display (line 221)"
113 => "__TwigTemplate_2698d288dda261b2d5360419617c8736::block_page_content_section (line 171)"
114 => "Twig\Template::displayBlock (line 135)"
115 => "__TwigTemplate_2698d288dda261b2d5360419617c8736::block_page_content_sections_inner (line 171)"
116 => "Twig\Template::displayBlock (line 47)"
117 => "__TwigTemplate_fe3011e8614935f2877430f24082e841::doDisplay (line 394)"
118 => "Twig\Template::displayWithErrorHandling (line 367)"
119 => "Twig\Template::display (line 50)"
120 => "__TwigTemplate_e550e0b90883c1187f499e90e2cd999a::doDisplay (line 394)"
121 => "Twig\Template::displayWithErrorHandling (line 367)"
122 => "Twig\Template::display (line 51)"
123 => "__TwigTemplate_2698d288dda261b2d5360419617c8736::doDisplay (line 394)"
124 => "Twig\Template::displayWithErrorHandling (line 367)"
125 => "Twig\Template::display (line 211)"
126 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::block_page_content_blocks (line 171)"
127 => "Twig\Template::displayBlock (line 187)"
128 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::block_cms_content (line 171)"
129 => "Twig\Template::displayBlock (line 106)"
130 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::block_page_content (line 171)"
131 => "Twig\Template::displayBlock (line 77)"
132 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::block_base_main_inner (line 171)"
133 => "Twig\Template::displayBlock (line 504)"
134 => "__TwigTemplate_edfe32b5c98942de2b24393e846ea184::block_base_main (line 171)"
135 => "Twig\Template::displayBlock (line 191)"
136 => "Twig\Template::displayBlock (line 134)"
137 => "Twig\Template::displayParentBlock (line 71)"
138 => "__TwigTemplate_3d4777fcf75842349da241d4044d7d72::block_base_main (line 171)"
139 => "Twig\Template::displayBlock (line 283)"
140 => "__TwigTemplate_edfe32b5c98942de2b24393e846ea184::block_base_body_inner (line 171)"
141 => "Twig\Template::displayBlock (line 193)"
142 => "__TwigTemplate_edfe32b5c98942de2b24393e846ea184::block_base_body (line 171)"
143 => "Twig\Template::displayBlock (line 97)"
144 => "__TwigTemplate_edfe32b5c98942de2b24393e846ea184::doDisplay (line 394)"
145 => "Twig\Template::displayWithErrorHandling (line 367)"
146 => "Twig\Template::display (line 49)"
147 => "__TwigTemplate_317ed82f740e5079054f5b72bb59033c::doDisplay (line 394)"
148 => "Twig\Template::displayWithErrorHandling (line 367)"
149 => "Twig\Template::display (line 50)"
150 => "__TwigTemplate_3d4777fcf75842349da241d4044d7d72::doDisplay (line 394)"
151 => "Twig\Template::displayWithErrorHandling (line 367)"
152 => "Twig\Template::display (line 50)"
153 => "__TwigTemplate_aa1832859ad5b25e9cc640dfcf28a0bc::doDisplay (line 394)"
154 => "Twig\Template::displayWithErrorHandling (line 367)"
155 => "Twig\Template::display (line 54)"
156 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::doDisplay (line 394)"
157 => "Twig\Template::displayWithErrorHandling (line 367)"
158 => "Twig\Template::display (line 52)"
159 => "__TwigTemplate_da551205fea81b0c3b361980c09151e2::doDisplay (line 394)"
160 => "Twig\Template::displayWithErrorHandling (line 367)"
161 => "Twig\Template::display (line 379)"
162 => "Twig\Template::render (line 40)"
163 => "Twig\TemplateWrapper::render (line 277)"
164 => "Twig\Environment::render (line 235)"
165 => "Shopware\Storefront\Controller\StorefrontController::renderView (line 266)"
166 => "Symfony\Bundle\FrameworkBundle\Controller\AbstractController::render (line 72)"
167 => "Shopware\Storefront\Controller\StorefrontController::Shopware\Storefront\Controller\{closure} (line 59)"
168 => "Shopware\Core\Profiling\Profiler::trace (line 73)"
169 => "Shopware\Storefront\Controller\StorefrontController::renderStorefront (line 52)"
170 => "Shopware\Storefront\Controller\NavigationController::home (line 163)"
171 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
172 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
173 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
174 => "Shopware\Core\HttpKernel::doHandle (line 81)"
175 => "Shopware\Core\HttpKernel::handle (line 75)"
]
|
135 |
32.79 ms |
SELECT `product`.`id` as `product.id`, `product`.`version_id` as `product.versionId`, `product`.`parent_id` as `product.parentId`, `product`.`parent_version_id` as `product.parentVersionId`, COALESCE(`product`.`product_manufacturer_id`, `product.parent`.`product_manufacturer_id`) as `product.manufacturerId`, COALESCE(`product`.`product_manufacturer_version_id`, `product.parent`.`product_manufacturer_version_id`) as `product.productManufacturerVersionId`, COALESCE(`product`.`unit_id`, `product.parent`.`unit_id`) as `product.unitId`, COALESCE(`product`.`tax_id`, `product.parent`.`tax_id`) as `product.taxId`, COALESCE(`product`.`product_media_id`, `product.parent`.`product_media_id`) as `product.coverId`, COALESCE(`product`.`product_media_version_id`, `product.parent`.`product_media_version_id`) as `product.productMediaVersionId`, COALESCE(`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`) as `product.deliveryTimeId`, COALESCE(`product`.`product_feature_set_id`, `product.parent`.`product_feature_set_id`) as `product.featureSetId`, COALESCE(`product`.`canonical_product_id`, `product.parent`.`canonical_product_id`) as `product.canonicalProductId`, COALESCE(`product`.`cms_page_id`, `product.parent`.`cms_page_id`) as `product.cmsPageId`, COALESCE(`product`.`cms_page_version_id`, `product.parent`.`cms_page_version_id`) as `product.cmsPageVersionId`, `product.parent`.`price` as `product.price.inherited`, COALESCE(`product`.`price`, `product.parent`.`price`) as `product.price`, `product`.`product_number` as `product.productNumber`, `product`.`stock` as `product.stock`, COALESCE(`product`.`restock_time`, `product.parent`.`restock_time`) as `product.restockTime`, `product`.`auto_increment` as `product.autoIncrement`, COALESCE(`product`.`active`, `product.parent`.`active`) as `product.active`, `product`.`available_stock` as `product.availableStock`, `product`.`available` as `product.available`, COALESCE(`product`.`is_closeout`, `product.parent`.`is_closeout`) as `product.isCloseout`, `product`.`display_group` as `product.displayGroup`, `product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`, COALESCE(`product`.`configurator_group_config`, `product.parent`.`configurator_group_config`) as `product.configuratorGroupConfig`, COALESCE(`product`.`main_variant_id`, `product.parent`.`main_variant_id`) as `product.mainVariantId`, COALESCE(`product`.`display_parent`, `product.parent`.`display_parent`) as `product.displayParent`, `product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`, COALESCE(`product`.`variant_listing_config`, `product.parent`.`variant_listing_config`) as `product.variantListingConfig`, `product`.`variant_restrictions` as `product.variantRestrictions`, COALESCE(`product`.`manufacturer_number`, `product.parent`.`manufacturer_number`) as `product.manufacturerNumber`, COALESCE(`product`.`ean`, `product.parent`.`ean`) as `product.ean`, COALESCE(`product`.`purchase_steps`, `product.parent`.`purchase_steps`) as `product.purchaseSteps`, COALESCE(`product`.`max_purchase`, `product.parent`.`max_purchase`) as `product.maxPurchase`, COALESCE(`product`.`min_purchase`, `product.parent`.`min_purchase`) as `product.minPurchase`, COALESCE(`product`.`purchase_unit`, `product.parent`.`purchase_unit`) as `product.purchaseUnit`, COALESCE(`product`.`reference_unit`, `product.parent`.`reference_unit`) as `product.referenceUnit`, COALESCE(`product`.`shipping_free`, `product.parent`.`shipping_free`) as `product.shippingFree`, `product.parent`.`purchase_prices` as `product.purchasePrices.inherited`, COALESCE(`product`.`purchase_prices`, `product.parent`.`purchase_prices`) as `product.purchasePrices`, COALESCE(`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`) as `product.markAsTopseller`, COALESCE(`product`.`weight`, `product.parent`.`weight`) as `product.weight`, COALESCE(`product`.`width`, `product.parent`.`width`) as `product.width`, COALESCE(`product`.`height`, `product.parent`.`height`) as `product.height`, COALESCE(`product`.`length`, `product.parent`.`length`) as `product.length`, COALESCE(`product`.`release_date`, `product.parent`.`release_date`) as `product.releaseDate`, COALESCE(`product`.`rating_average`, `product.parent`.`rating_average`) as `product.ratingAverage`, `product.parent`.`category_tree` as `product.categoryTree.inherited`, COALESCE(`product`.`category_tree`, `product.parent`.`category_tree`) as `product.categoryTree`, `product.parent`.`property_ids` as `product.propertyIds.inherited`, COALESCE(`product`.`property_ids`, `product.parent`.`property_ids`) as `product.propertyIds`, `product.parent`.`option_ids` as `product.optionIds.inherited`, COALESCE(`product`.`option_ids`, `product.parent`.`option_ids`) as `product.optionIds`, `product.parent`.`stream_ids` as `product.streamIds.inherited`, COALESCE(`product`.`stream_ids`, `product.parent`.`stream_ids`) as `product.streamIds`, `product.parent`.`tag_ids` as `product.tagIds.inherited`, COALESCE(`product`.`tag_ids`, `product.parent`.`tag_ids`) as `product.tagIds`, `product.parent`.`category_ids` as `product.categoryIds.inherited`, COALESCE(`product`.`category_ids`, `product.parent`.`category_ids`) as `product.categoryIds`, `product`.`child_count` as `product.childCount`, COALESCE(`product`.`custom_field_set_selection_active`, `product.parent`.`custom_field_set_selection_active`) as `product.customFieldSetSelectionActive`, `product`.`sales` as `product.sales`, `product`.`states` as `product.states`, `product.tax`.`id` as `product.tax.id`, `product.tax`.`tax_rate` as `product.tax.taxRate`, `product.tax`.`name` as `product.tax.name`, `product.tax`.`position` as `product.tax.position`, `product.tax`.`custom_fields` as `product.tax.customFields`, `product.tax`.`created_at` as `product.tax.createdAt`, `product.tax`.`updated_at` as `product.tax.updatedAt`, `product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`, COALESCE(`product`.`cheapest_price`, `product.parent`.`cheapest_price`) as `product.cheapestPrice`, `product`.`created_at` as `product.createdAt`, `product`.`updated_at` as `product.updatedAt`, `product.bundle`.`id` as `product.bundle.id`, `product.bundle`.`product_id` as `product.bundle.productId`, `product.bundle`.`product_version_id` as `product.bundle.productVersionId`, `product.bundle`.`name` as `product.bundle.name`, `product.bundle`.`price_type` as `product.bundle.priceType`, `product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`, `product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`, `product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`, `product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`, `product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`, `product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`, `product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`, `product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`, `product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`, `product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`, `product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`, `product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`, `product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`, `product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`, `product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`, `product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`, `product.bundle`.`created_at` as `product.bundle.createdAt`, `product.bundle`.`updated_at` as `product.bundle.updatedAt`, `product.unit`.`id` as `product.unit.id`, `product.unit`.`created_at` as `product.unit.createdAt`, `product.unit`.`updated_at` as `product.unit.updatedAt`, `product.unit.translation.shortCode`, COALESCE(`product.unit.translation.shortCode`,`product.unit.translation.shortCode`) as `product.unit.shortCode`, `product.unit.translation.name`, COALESCE(`product.unit.translation.name`,`product.unit.translation.name`) as `product.unit.name`, `product.unit.translation.customFields`, COALESCE(`product.unit.translation.customFields`,`product.unit.translation.customFields`) as `product.unit.customFields`, `product.unit.translation.createdAt`, `product.unit.translation.updatedAt`, `product.unit.translation.unitId`, `product.unit.translation.languageId`, `product.deliveryTime`.`id` as `product.deliveryTime.id`, `product.deliveryTime`.`min` as `product.deliveryTime.min`, `product.deliveryTime`.`max` as `product.deliveryTime.max`, `product.deliveryTime`.`unit` as `product.deliveryTime.unit`, `product.deliveryTime`.`created_at` as `product.deliveryTime.createdAt`, `product.deliveryTime`.`updated_at` as `product.deliveryTime.updatedAt`, `product.deliveryTime.translation.name`, COALESCE(`product.deliveryTime.translation.name`,`product.deliveryTime.translation.name`) as `product.deliveryTime.name`, `product.deliveryTime.translation.customFields`, COALESCE(`product.deliveryTime.translation.customFields`,`product.deliveryTime.translation.customFields`) as `product.deliveryTime.customFields`, `product.deliveryTime.translation.createdAt`, `product.deliveryTime.translation.updatedAt`, `product.deliveryTime.translation.deliveryTimeId`, `product.deliveryTime.translation.languageId`, `product.cover`.`id` as `product.cover.id`, `product.cover`.`version_id` as `product.cover.versionId`, `product.cover`.`product_id` as `product.cover.productId`, `product.cover`.`product_version_id` as `product.cover.productVersionId`, `product.cover`.`media_id` as `product.cover.mediaId`, `product.cover`.`position` as `product.cover.position`, `product.cover.media`.`id` as `product.cover.media.id`, `product.cover.media`.`user_id` as `product.cover.media.userId`, `product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`, `product.cover.media`.`mime_type` as `product.cover.media.mimeType`, `product.cover.media`.`file_extension` as `product.cover.media.fileExtension`, `product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`, `product.cover.media`.`file_name` as `product.cover.media.fileName`, `product.cover.media`.`file_size` as `product.cover.media.fileSize`, `product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`, `product.cover.media`.`meta_data` as `product.cover.media.metaData`, `product.cover.media`.`private` as `product.cover.media.private`, `product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`, `product.cover.media`.`created_at` as `product.cover.media.createdAt`, `product.cover.media`.`updated_at` as `product.cover.media.updatedAt`, `product.cover.media.translation.title`, COALESCE(`product.cover.media.translation.title`,`product.cover.media.translation.title`) as `product.cover.media.title`, `product.cover.media.translation.alt`, COALESCE(`product.cover.media.translation.alt`,`product.cover.media.translation.alt`) as `product.cover.media.alt`, `product.cover.media.translation.customFields`, COALESCE(`product.cover.media.translation.customFields`,`product.cover.media.translation.customFields`) as `product.cover.media.customFields`, `product.cover.media.translation.createdAt`, `product.cover.media.translation.updatedAt`, `product.cover.media.translation.mediaId`, `product.cover.media.translation.languageId`, `product.cover`.`custom_fields` as `product.cover.customFields`, `product.cover`.`created_at` as `product.cover.createdAt`, `product.cover`.`updated_at` as `product.cover.updatedAt`, `product.translation.metaDescription`, `product.parent.translation.metaDescription`, COALESCE(`product.translation.metaDescription`,`product.parent.translation.metaDescription`,`product.translation.metaDescription`) as `product.metaDescription`, `product.translation.name`, `product.parent.translation.name`, COALESCE(`product.translation.name`,`product.parent.translation.name`,`product.translation.name`) as `product.name`, `product.translation.keywords`, `product.parent.translation.keywords`, COALESCE(`product.translation.keywords`,`product.parent.translation.keywords`,`product.translation.keywords`) as `product.keywords`, `product.translation.description`, `product.parent.translation.description`, COALESCE(`product.translation.description`,`product.parent.translation.description`,`product.translation.description`) as `product.description`, `product.translation.metaTitle`, `product.parent.translation.metaTitle`, COALESCE(`product.translation.metaTitle`,`product.parent.translation.metaTitle`,`product.translation.metaTitle`) as `product.metaTitle`, `product.translation.packUnit`, `product.parent.translation.packUnit`, COALESCE(`product.translation.packUnit`,`product.parent.translation.packUnit`,`product.translation.packUnit`) as `product.packUnit`, `product.translation.packUnitPlural`, `product.parent.translation.packUnitPlural`, COALESCE(`product.translation.packUnitPlural`,`product.parent.translation.packUnitPlural`,`product.translation.packUnitPlural`) as `product.packUnitPlural`, `product.translation.customSearchKeywords`, `product.parent.translation.customSearchKeywords`, COALESCE(`product.translation.customSearchKeywords`,`product.parent.translation.customSearchKeywords`,`product.translation.customSearchKeywords`) as `product.customSearchKeywords`, `product.translation.slotConfig`, `product.parent.translation.slotConfig`, COALESCE(`product.translation.slotConfig`,`product.parent.translation.slotConfig`,`product.translation.slotConfig`) as `product.slotConfig`, `product.translation.customFields`, `product.parent.translation.customFields`, COALESCE(`product.translation.customFields`,`product.parent.translation.customFields`,`product.translation.customFields`) as `product.customFields`, `product.translation.createdAt`, `product.parent.translation.createdAt`, `product.translation.updatedAt`, `product.parent.translation.updatedAt`, `product.translation.productId`, `product.parent.translation.productId`, `product.translation.languageId`, `product.parent.translation.languageId`, `product.translation.productVersionId`, `product.parent.translation.productVersionId` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN (SELECT `product.translation`.product_id, `product.translation`.product_version_id, `product.translation`.meta_description as `product.translation.metaDescription`, `product.translation`.name as `product.translation.name`, `product.translation`.keywords as `product.translation.keywords`, `product.translation`.description as `product.translation.description`, `product.translation`.meta_title as `product.translation.metaTitle`, `product.translation`.pack_unit as `product.translation.packUnit`, `product.translation`.pack_unit_plural as `product.translation.packUnitPlural`, `product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`, `product.translation`.slot_config as `product.translation.slotConfig`, `product.translation`.custom_fields as `product.translation.customFields`, `product.translation`.created_at as `product.translation.createdAt`, `product.translation`.updated_at as `product.translation.updatedAt`, `product.translation`.product_id as `product.translation.productId`, `product.translation`.language_id as `product.translation.languageId`, `product.translation`.product_version_id as `product.translation.productVersionId` FROM `product_translation` `product.translation` WHERE `product.translation`.language_id = :languageId) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id` AND `product.product_translation`.product_version_id = `product`.version_id LEFT JOIN (SELECT `product.parent.translation`.product_id, `product.parent.translation`.product_version_id, `product.parent.translation`.meta_description as `product.parent.translation.metaDescription`, `product.parent.translation`.name as `product.parent.translation.name`, `product.parent.translation`.keywords as `product.parent.translation.keywords`, `product.parent.translation`.description as `product.parent.translation.description`, `product.parent.translation`.meta_title as `product.parent.translation.metaTitle`, `product.parent.translation`.pack_unit as `product.parent.translation.packUnit`, `product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`, `product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`, `product.parent.translation`.slot_config as `product.parent.translation.slotConfig`, `product.parent.translation`.custom_fields as `product.parent.translation.customFields`, `product.parent.translation`.created_at as `product.parent.translation.createdAt`, `product.parent.translation`.updated_at as `product.parent.translation.updatedAt`, `product.parent.translation`.product_id as `product.parent.translation.productId`, `product.parent.translation`.language_id as `product.parent.translation.languageId`, `product.parent.translation`.product_version_id as `product.parent.translation.productVersionId` FROM `product_translation` `product.parent.translation` WHERE `product.parent.translation`.language_id = :languageId) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id` AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id` LEFT JOIN `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_id` LEFT JOIN `unit` `product.unit` ON `product`.`unit` = `product.unit`.`id` LEFT JOIN `delivery_time` `product.deliveryTime` ON `product`.`deliveryTime` = `product.deliveryTime`.`id` LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id` AND `product`.`version_id` = `product.cover`.`version_id` LEFT JOIN `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`id` LEFT JOIN (SELECT `product.unit.translation`.unit_id, `product.unit.translation`.short_code as `product.unit.translation.shortCode`, `product.unit.translation`.name as `product.unit.translation.name`, `product.unit.translation`.custom_fields as `product.unit.translation.customFields`, `product.unit.translation`.created_at as `product.unit.translation.createdAt`, `product.unit.translation`.updated_at as `product.unit.translation.updatedAt`, `product.unit.translation`.unit_id as `product.unit.translation.unitId`, `product.unit.translation`.language_id as `product.unit.translation.languageId` FROM `unit_translation` `product.unit.translation` WHERE `product.unit.translation`.language_id = :languageId) `product.unit.unit_translation` ON `product.unit.unit_translation`.`unit_id` = `product.unit`.`id` LEFT JOIN (SELECT `product.deliveryTime.translation`.delivery_time_id, `product.deliveryTime.translation`.name as `product.deliveryTime.translation.name`, `product.deliveryTime.translation`.custom_fields as `product.deliveryTime.translation.customFields`, `product.deliveryTime.translation`.created_at as `product.deliveryTime.translation.createdAt`, `product.deliveryTime.translation`.updated_at as `product.deliveryTime.translation.updatedAt`, `product.deliveryTime.translation`.delivery_time_id as `product.deliveryTime.translation.deliveryTimeId`, `product.deliveryTime.translation`.language_id as `product.deliveryTime.translation.languageId` FROM `delivery_time_translation` `product.deliveryTime.translation` WHERE `product.deliveryTime.translation`.language_id = :languageId) `product.deliveryTime.delivery_time_translation` ON `product.deliveryTime.delivery_time_translation`.`delivery_time_id` = `product.deliveryTime`.`id` LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id` LEFT JOIN (SELECT `product.cover.media.translation`.media_id, `product.cover.media.translation`.title as `product.cover.media.translation.title`, `product.cover.media.translation`.alt as `product.cover.media.translation.alt`, `product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`, `product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`, `product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`, `product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`, `product.cover.media.translation`.language_id as `product.cover.media.translation.languageId` FROM `media_translation` `product.cover.media.translation` WHERE `product.cover.media.translation`.language_id = :languageId) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id` WHERE (`product`.`version_id` = :version) AND (`product`.`id` IN (:ids))
SELECT
`product`.`id` as `product.id`,
`product`.`version_id` as `product.versionId`,
`product`.`parent_id` as `product.parentId`,
`product`.`parent_version_id` as `product.parentVersionId`,
COALESCE(
`product`.`product_manufacturer_id`,
`product.parent`.`product_manufacturer_id`
) as `product.manufacturerId`,
COALESCE(
`product`.`product_manufacturer_version_id`,
`product.parent`.`product_manufacturer_version_id`
) as `product.productManufacturerVersionId`,
COALESCE(
`product`.`unit_id`, `product.parent`.`unit_id`
) as `product.unitId`,
COALESCE(
`product`.`tax_id`, `product.parent`.`tax_id`
) as `product.taxId`,
COALESCE(
`product`.`product_media_id`, `product.parent`.`product_media_id`
) as `product.coverId`,
COALESCE(
`product`.`product_media_version_id`,
`product.parent`.`product_media_version_id`
) as `product.productMediaVersionId`,
COALESCE(
`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`
) as `product.deliveryTimeId`,
COALESCE(
`product`.`product_feature_set_id`,
`product.parent`.`product_feature_set_id`
) as `product.featureSetId`,
COALESCE(
`product`.`canonical_product_id`,
`product.parent`.`canonical_product_id`
) as `product.canonicalProductId`,
COALESCE(
`product`.`cms_page_id`, `product.parent`.`cms_page_id`
) as `product.cmsPageId`,
COALESCE(
`product`.`cms_page_version_id`,
`product.parent`.`cms_page_version_id`
) as `product.cmsPageVersionId`,
`product.parent`.`price` as `product.price.inherited`,
COALESCE(
`product`.`price`, `product.parent`.`price`
) as `product.price`,
`product`.`product_number` as `product.productNumber`,
`product`.`stock` as `product.stock`,
COALESCE(
`product`.`restock_time`, `product.parent`.`restock_time`
) as `product.restockTime`,
`product`.`auto_increment` as `product.autoIncrement`,
COALESCE(
`product`.`active`, `product.parent`.`active`
) as `product.active`,
`product`.`available_stock` as `product.availableStock`,
`product`.`available` as `product.available`,
COALESCE(
`product`.`is_closeout`, `product.parent`.`is_closeout`
) as `product.isCloseout`,
`product`.`display_group` as `product.displayGroup`,
`product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`,
COALESCE(
`product`.`configurator_group_config`,
`product.parent`.`configurator_group_config`
) as `product.configuratorGroupConfig`,
COALESCE(
`product`.`main_variant_id`, `product.parent`.`main_variant_id`
) as `product.mainVariantId`,
COALESCE(
`product`.`display_parent`, `product.parent`.`display_parent`
) as `product.displayParent`,
`product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`,
COALESCE(
`product`.`variant_listing_config`,
`product.parent`.`variant_listing_config`
) as `product.variantListingConfig`,
`product`.`variant_restrictions` as `product.variantRestrictions`,
COALESCE(
`product`.`manufacturer_number`,
`product.parent`.`manufacturer_number`
) as `product.manufacturerNumber`,
COALESCE(
`product`.`ean`, `product.parent`.`ean`
) as `product.ean`,
COALESCE(
`product`.`purchase_steps`, `product.parent`.`purchase_steps`
) as `product.purchaseSteps`,
COALESCE(
`product`.`max_purchase`, `product.parent`.`max_purchase`
) as `product.maxPurchase`,
COALESCE(
`product`.`min_purchase`, `product.parent`.`min_purchase`
) as `product.minPurchase`,
COALESCE(
`product`.`purchase_unit`, `product.parent`.`purchase_unit`
) as `product.purchaseUnit`,
COALESCE(
`product`.`reference_unit`, `product.parent`.`reference_unit`
) as `product.referenceUnit`,
COALESCE(
`product`.`shipping_free`, `product.parent`.`shipping_free`
) as `product.shippingFree`,
`product.parent`.`purchase_prices` as `product.purchasePrices.inherited`,
COALESCE(
`product`.`purchase_prices`, `product.parent`.`purchase_prices`
) as `product.purchasePrices`,
COALESCE(
`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`
) as `product.markAsTopseller`,
COALESCE(
`product`.`weight`, `product.parent`.`weight`
) as `product.weight`,
COALESCE(
`product`.`width`, `product.parent`.`width`
) as `product.width`,
COALESCE(
`product`.`height`, `product.parent`.`height`
) as `product.height`,
COALESCE(
`product`.`length`, `product.parent`.`length`
) as `product.length`,
COALESCE(
`product`.`release_date`, `product.parent`.`release_date`
) as `product.releaseDate`,
COALESCE(
`product`.`rating_average`, `product.parent`.`rating_average`
) as `product.ratingAverage`,
`product.parent`.`category_tree` as `product.categoryTree.inherited`,
COALESCE(
`product`.`category_tree`, `product.parent`.`category_tree`
) as `product.categoryTree`,
`product.parent`.`property_ids` as `product.propertyIds.inherited`,
COALESCE(
`product`.`property_ids`, `product.parent`.`property_ids`
) as `product.propertyIds`,
`product.parent`.`option_ids` as `product.optionIds.inherited`,
COALESCE(
`product`.`option_ids`, `product.parent`.`option_ids`
) as `product.optionIds`,
`product.parent`.`stream_ids` as `product.streamIds.inherited`,
COALESCE(
`product`.`stream_ids`, `product.parent`.`stream_ids`
) as `product.streamIds`,
`product.parent`.`tag_ids` as `product.tagIds.inherited`,
COALESCE(
`product`.`tag_ids`, `product.parent`.`tag_ids`
) as `product.tagIds`,
`product.parent`.`category_ids` as `product.categoryIds.inherited`,
COALESCE(
`product`.`category_ids`, `product.parent`.`category_ids`
) as `product.categoryIds`,
`product`.`child_count` as `product.childCount`,
COALESCE(
`product`.`custom_field_set_selection_active`,
`product.parent`.`custom_field_set_selection_active`
) as `product.customFieldSetSelectionActive`,
`product`.`sales` as `product.sales`,
`product`.`states` as `product.states`,
`product.tax`.`id` as `product.tax.id`,
`product.tax`.`tax_rate` as `product.tax.taxRate`,
`product.tax`.`name` as `product.tax.name`,
`product.tax`.`position` as `product.tax.position`,
`product.tax`.`custom_fields` as `product.tax.customFields`,
`product.tax`.`created_at` as `product.tax.createdAt`,
`product.tax`.`updated_at` as `product.tax.updatedAt`,
`product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`,
COALESCE(
`product`.`cheapest_price`, `product.parent`.`cheapest_price`
) as `product.cheapestPrice`,
`product`.`created_at` as `product.createdAt`,
`product`.`updated_at` as `product.updatedAt`,
`product.bundle`.`id` as `product.bundle.id`,
`product.bundle`.`product_id` as `product.bundle.productId`,
`product.bundle`.`product_version_id` as `product.bundle.productVersionId`,
`product.bundle`.`name` as `product.bundle.name`,
`product.bundle`.`price_type` as `product.bundle.priceType`,
`product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`,
`product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`,
`product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`,
`product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`,
`product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`,
`product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`,
`product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`,
`product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`,
`product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`,
`product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`,
`product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`,
`product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`,
`product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`,
`product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`,
`product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`,
`product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`,
`product.bundle`.`created_at` as `product.bundle.createdAt`,
`product.bundle`.`updated_at` as `product.bundle.updatedAt`,
`product.unit`.`id` as `product.unit.id`,
`product.unit`.`created_at` as `product.unit.createdAt`,
`product.unit`.`updated_at` as `product.unit.updatedAt`,
`product.unit.translation.shortCode`,
COALESCE(
`product.unit.translation.shortCode`,
`product.unit.translation.shortCode`
) as `product.unit.shortCode`,
`product.unit.translation.name`,
COALESCE(
`product.unit.translation.name`,
`product.unit.translation.name`
) as `product.unit.name`,
`product.unit.translation.customFields`,
COALESCE(
`product.unit.translation.customFields`,
`product.unit.translation.customFields`
) as `product.unit.customFields`,
`product.unit.translation.createdAt`,
`product.unit.translation.updatedAt`,
`product.unit.translation.unitId`,
`product.unit.translation.languageId`,
`product.deliveryTime`.`id` as `product.deliveryTime.id`,
`product.deliveryTime`.`min` as `product.deliveryTime.min`,
`product.deliveryTime`.`max` as `product.deliveryTime.max`,
`product.deliveryTime`.`unit` as `product.deliveryTime.unit`,
`product.deliveryTime`.`created_at` as `product.deliveryTime.createdAt`,
`product.deliveryTime`.`updated_at` as `product.deliveryTime.updatedAt`,
`product.deliveryTime.translation.name`,
COALESCE(
`product.deliveryTime.translation.name`,
`product.deliveryTime.translation.name`
) as `product.deliveryTime.name`,
`product.deliveryTime.translation.customFields`,
COALESCE(
`product.deliveryTime.translation.customFields`,
`product.deliveryTime.translation.customFields`
) as `product.deliveryTime.customFields`,
`product.deliveryTime.translation.createdAt`,
`product.deliveryTime.translation.updatedAt`,
`product.deliveryTime.translation.deliveryTimeId`,
`product.deliveryTime.translation.languageId`,
`product.cover`.`id` as `product.cover.id`,
`product.cover`.`version_id` as `product.cover.versionId`,
`product.cover`.`product_id` as `product.cover.productId`,
`product.cover`.`product_version_id` as `product.cover.productVersionId`,
`product.cover`.`media_id` as `product.cover.mediaId`,
`product.cover`.`position` as `product.cover.position`,
`product.cover.media`.`id` as `product.cover.media.id`,
`product.cover.media`.`user_id` as `product.cover.media.userId`,
`product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`,
`product.cover.media`.`mime_type` as `product.cover.media.mimeType`,
`product.cover.media`.`file_extension` as `product.cover.media.fileExtension`,
`product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`,
`product.cover.media`.`file_name` as `product.cover.media.fileName`,
`product.cover.media`.`file_size` as `product.cover.media.fileSize`,
`product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`,
`product.cover.media`.`meta_data` as `product.cover.media.metaData`,
`product.cover.media`.`private` as `product.cover.media.private`,
`product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`,
`product.cover.media`.`created_at` as `product.cover.media.createdAt`,
`product.cover.media`.`updated_at` as `product.cover.media.updatedAt`,
`product.cover.media.translation.title`,
COALESCE(
`product.cover.media.translation.title`,
`product.cover.media.translation.title`
) as `product.cover.media.title`,
`product.cover.media.translation.alt`,
COALESCE(
`product.cover.media.translation.alt`,
`product.cover.media.translation.alt`
) as `product.cover.media.alt`,
`product.cover.media.translation.customFields`,
COALESCE(
`product.cover.media.translation.customFields`,
`product.cover.media.translation.customFields`
) as `product.cover.media.customFields`,
`product.cover.media.translation.createdAt`,
`product.cover.media.translation.updatedAt`,
`product.cover.media.translation.mediaId`,
`product.cover.media.translation.languageId`,
`product.cover`.`custom_fields` as `product.cover.customFields`,
`product.cover`.`created_at` as `product.cover.createdAt`,
`product.cover`.`updated_at` as `product.cover.updatedAt`,
`product.translation.metaDescription`,
`product.parent.translation.metaDescription`,
COALESCE(
`product.translation.metaDescription`,
`product.parent.translation.metaDescription`,
`product.translation.metaDescription`
) as `product.metaDescription`,
`product.translation.name`,
`product.parent.translation.name`,
COALESCE(
`product.translation.name`, `product.parent.translation.name`,
`product.translation.name`
) as `product.name`,
`product.translation.keywords`,
`product.parent.translation.keywords`,
COALESCE(
`product.translation.keywords`,
`product.parent.translation.keywords`,
`product.translation.keywords`
) as `product.keywords`,
`product.translation.description`,
`product.parent.translation.description`,
COALESCE(
`product.translation.description`,
`product.parent.translation.description`,
`product.translation.description`
) as `product.description`,
`product.translation.metaTitle`,
`product.parent.translation.metaTitle`,
COALESCE(
`product.translation.metaTitle`,
`product.parent.translation.metaTitle`,
`product.translation.metaTitle`
) as `product.metaTitle`,
`product.translation.packUnit`,
`product.parent.translation.packUnit`,
COALESCE(
`product.translation.packUnit`,
`product.parent.translation.packUnit`,
`product.translation.packUnit`
) as `product.packUnit`,
`product.translation.packUnitPlural`,
`product.parent.translation.packUnitPlural`,
COALESCE(
`product.translation.packUnitPlural`,
`product.parent.translation.packUnitPlural`,
`product.translation.packUnitPlural`
) as `product.packUnitPlural`,
`product.translation.customSearchKeywords`,
`product.parent.translation.customSearchKeywords`,
COALESCE(
`product.translation.customSearchKeywords`,
`product.parent.translation.customSearchKeywords`,
`product.translation.customSearchKeywords`
) as `product.customSearchKeywords`,
`product.translation.slotConfig`,
`product.parent.translation.slotConfig`,
COALESCE(
`product.translation.slotConfig`,
`product.parent.translation.slotConfig`,
`product.translation.slotConfig`
) as `product.slotConfig`,
`product.translation.customFields`,
`product.parent.translation.customFields`,
COALESCE(
`product.translation.customFields`,
`product.parent.translation.customFields`,
`product.translation.customFields`
) as `product.customFields`,
`product.translation.createdAt`,
`product.parent.translation.createdAt`,
`product.translation.updatedAt`,
`product.parent.translation.updatedAt`,
`product.translation.productId`,
`product.parent.translation.productId`,
`product.translation.languageId`,
`product.parent.translation.languageId`,
`product.translation.productVersionId`,
`product.parent.translation.productVersionId`
FROM
`product`
LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id`
AND `product`.`version_id` = `product.parent`.`version_id`
LEFT JOIN (
SELECT
`product.translation`.product_id,
`product.translation`.product_version_id,
`product.translation`.meta_description as `product.translation.metaDescription`,
`product.translation`.name as `product.translation.name`,
`product.translation`.keywords as `product.translation.keywords`,
`product.translation`.description as `product.translation.description`,
`product.translation`.meta_title as `product.translation.metaTitle`,
`product.translation`.pack_unit as `product.translation.packUnit`,
`product.translation`.pack_unit_plural as `product.translation.packUnitPlural`,
`product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`,
`product.translation`.slot_config as `product.translation.slotConfig`,
`product.translation`.custom_fields as `product.translation.customFields`,
`product.translation`.created_at as `product.translation.createdAt`,
`product.translation`.updated_at as `product.translation.updatedAt`,
`product.translation`.product_id as `product.translation.productId`,
`product.translation`.language_id as `product.translation.languageId`,
`product.translation`.product_version_id as `product.translation.productVersionId`
FROM
`product_translation` `product.translation`
WHERE
`product.translation`.language_id = : languageId
) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id`
AND `product.product_translation`.product_version_id = `product`.version_id
LEFT JOIN (
SELECT
`product.parent.translation`.product_id,
`product.parent.translation`.product_version_id,
`product.parent.translation`.meta_description as `product.parent.translation.metaDescription`,
`product.parent.translation`.name as `product.parent.translation.name`,
`product.parent.translation`.keywords as `product.parent.translation.keywords`,
`product.parent.translation`.description as `product.parent.translation.description`,
`product.parent.translation`.meta_title as `product.parent.translation.metaTitle`,
`product.parent.translation`.pack_unit as `product.parent.translation.packUnit`,
`product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`,
`product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`,
`product.parent.translation`.slot_config as `product.parent.translation.slotConfig`,
`product.parent.translation`.custom_fields as `product.parent.translation.customFields`,
`product.parent.translation`.created_at as `product.parent.translation.createdAt`,
`product.parent.translation`.updated_at as `product.parent.translation.updatedAt`,
`product.parent.translation`.product_id as `product.parent.translation.productId`,
`product.parent.translation`.language_id as `product.parent.translation.languageId`,
`product.parent.translation`.product_version_id as `product.parent.translation.productVersionId`
FROM
`product_translation` `product.parent.translation`
WHERE
`product.parent.translation`.language_id = : languageId
) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id`
AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id
LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id`
LEFT JOIN `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_id`
LEFT JOIN `unit` `product.unit` ON `product`.`unit` = `product.unit`.`id`
LEFT JOIN `delivery_time` `product.deliveryTime` ON `product`.`deliveryTime` = `product.deliveryTime`.`id`
LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id`
AND `product`.`version_id` = `product.cover`.`version_id`
LEFT JOIN `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id`
LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id`
LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`id`
LEFT JOIN (
SELECT
`product.unit.translation`.unit_id,
`product.unit.translation`.short_code as `product.unit.translation.shortCode`,
`product.unit.translation`.name as `product.unit.translation.name`,
`product.unit.translation`.custom_fields as `product.unit.translation.customFields`,
`product.unit.translation`.created_at as `product.unit.translation.createdAt`,
`product.unit.translation`.updated_at as `product.unit.translation.updatedAt`,
`product.unit.translation`.unit_id as `product.unit.translation.unitId`,
`product.unit.translation`.language_id as `product.unit.translation.languageId`
FROM
`unit_translation` `product.unit.translation`
WHERE
`product.unit.translation`.language_id = : languageId
) `product.unit.unit_translation` ON `product.unit.unit_translation`.`unit_id` = `product.unit`.`id`
LEFT JOIN (
SELECT
`product.deliveryTime.translation`.delivery_time_id,
`product.deliveryTime.translation`.name as `product.deliveryTime.translation.name`,
`product.deliveryTime.translation`.custom_fields as `product.deliveryTime.translation.customFields`,
`product.deliveryTime.translation`.created_at as `product.deliveryTime.translation.createdAt`,
`product.deliveryTime.translation`.updated_at as `product.deliveryTime.translation.updatedAt`,
`product.deliveryTime.translation`.delivery_time_id as `product.deliveryTime.translation.deliveryTimeId`,
`product.deliveryTime.translation`.language_id as `product.deliveryTime.translation.languageId`
FROM
`delivery_time_translation` `product.deliveryTime.translation`
WHERE
`product.deliveryTime.translation`.language_id = : languageId
) `product.deliveryTime.delivery_time_translation` ON `product.deliveryTime.delivery_time_translation`.`delivery_time_id` = `product.deliveryTime`.`id`
LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id`
LEFT JOIN (
SELECT
`product.cover.media.translation`.media_id,
`product.cover.media.translation`.title as `product.cover.media.translation.title`,
`product.cover.media.translation`.alt as `product.cover.media.translation.alt`,
`product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`,
`product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`,
`product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`,
`product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`,
`product.cover.media.translation`.language_id as `product.cover.media.translation.languageId`
FROM
`media_translation` `product.cover.media.translation`
WHERE
`product.cover.media.translation`.language_id = : languageId
) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id`
WHERE
(
`product`.`version_id` = : version
)
AND (
`product`.`id` IN (: ids)
)
SELECT `product`.`id` as `product.id`, `product`.`version_id` as `product.versionId`, `product`.`parent_id` as `product.parentId`, `product`.`parent_version_id` as `product.parentVersionId`, COALESCE(`product`.`product_manufacturer_id`, `product.parent`.`product_manufacturer_id`) as `product.manufacturerId`, COALESCE(`product`.`product_manufacturer_version_id`, `product.parent`.`product_manufacturer_version_id`) as `product.productManufacturerVersionId`, COALESCE(`product`.`unit_id`, `product.parent`.`unit_id`) as `product.unitId`, COALESCE(`product`.`tax_id`, `product.parent`.`tax_id`) as `product.taxId`, COALESCE(`product`.`product_media_id`, `product.parent`.`product_media_id`) as `product.coverId`, COALESCE(`product`.`product_media_version_id`, `product.parent`.`product_media_version_id`) as `product.productMediaVersionId`, COALESCE(`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`) as `product.deliveryTimeId`, COALESCE(`product`.`product_feature_set_id`, `product.parent`.`product_feature_set_id`) as `product.featureSetId`, COALESCE(`product`.`canonical_product_id`, `product.parent`.`canonical_product_id`) as `product.canonicalProductId`, COALESCE(`product`.`cms_page_id`, `product.parent`.`cms_page_id`) as `product.cmsPageId`, COALESCE(`product`.`cms_page_version_id`, `product.parent`.`cms_page_version_id`) as `product.cmsPageVersionId`, `product.parent`.`price` as `product.price.inherited`, COALESCE(`product`.`price`, `product.parent`.`price`) as `product.price`, `product`.`product_number` as `product.productNumber`, `product`.`stock` as `product.stock`, COALESCE(`product`.`restock_time`, `product.parent`.`restock_time`) as `product.restockTime`, `product`.`auto_increment` as `product.autoIncrement`, COALESCE(`product`.`active`, `product.parent`.`active`) as `product.active`, `product`.`available_stock` as `product.availableStock`, `product`.`available` as `product.available`, COALESCE(`product`.`is_closeout`, `product.parent`.`is_closeout`) as `product.isCloseout`, `product`.`display_group` as `product.displayGroup`, `product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`, COALESCE(`product`.`configurator_group_config`, `product.parent`.`configurator_group_config`) as `product.configuratorGroupConfig`, COALESCE(`product`.`main_variant_id`, `product.parent`.`main_variant_id`) as `product.mainVariantId`, COALESCE(`product`.`display_parent`, `product.parent`.`display_parent`) as `product.displayParent`, `product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`, COALESCE(`product`.`variant_listing_config`, `product.parent`.`variant_listing_config`) as `product.variantListingConfig`, `product`.`variant_restrictions` as `product.variantRestrictions`, COALESCE(`product`.`manufacturer_number`, `product.parent`.`manufacturer_number`) as `product.manufacturerNumber`, COALESCE(`product`.`ean`, `product.parent`.`ean`) as `product.ean`, COALESCE(`product`.`purchase_steps`, `product.parent`.`purchase_steps`) as `product.purchaseSteps`, COALESCE(`product`.`max_purchase`, `product.parent`.`max_purchase`) as `product.maxPurchase`, COALESCE(`product`.`min_purchase`, `product.parent`.`min_purchase`) as `product.minPurchase`, COALESCE(`product`.`purchase_unit`, `product.parent`.`purchase_unit`) as `product.purchaseUnit`, COALESCE(`product`.`reference_unit`, `product.parent`.`reference_unit`) as `product.referenceUnit`, COALESCE(`product`.`shipping_free`, `product.parent`.`shipping_free`) as `product.shippingFree`, `product.parent`.`purchase_prices` as `product.purchasePrices.inherited`, COALESCE(`product`.`purchase_prices`, `product.parent`.`purchase_prices`) as `product.purchasePrices`, COALESCE(`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`) as `product.markAsTopseller`, COALESCE(`product`.`weight`, `product.parent`.`weight`) as `product.weight`, COALESCE(`product`.`width`, `product.parent`.`width`) as `product.width`, COALESCE(`product`.`height`, `product.parent`.`height`) as `product.height`, COALESCE(`product`.`length`, `product.parent`.`length`) as `product.length`, COALESCE(`product`.`release_date`, `product.parent`.`release_date`) as `product.releaseDate`, COALESCE(`product`.`rating_average`, `product.parent`.`rating_average`) as `product.ratingAverage`, `product.parent`.`category_tree` as `product.categoryTree.inherited`, COALESCE(`product`.`category_tree`, `product.parent`.`category_tree`) as `product.categoryTree`, `product.parent`.`property_ids` as `product.propertyIds.inherited`, COALESCE(`product`.`property_ids`, `product.parent`.`property_ids`) as `product.propertyIds`, `product.parent`.`option_ids` as `product.optionIds.inherited`, COALESCE(`product`.`option_ids`, `product.parent`.`option_ids`) as `product.optionIds`, `product.parent`.`stream_ids` as `product.streamIds.inherited`, COALESCE(`product`.`stream_ids`, `product.parent`.`stream_ids`) as `product.streamIds`, `product.parent`.`tag_ids` as `product.tagIds.inherited`, COALESCE(`product`.`tag_ids`, `product.parent`.`tag_ids`) as `product.tagIds`, `product.parent`.`category_ids` as `product.categoryIds.inherited`, COALESCE(`product`.`category_ids`, `product.parent`.`category_ids`) as `product.categoryIds`, `product`.`child_count` as `product.childCount`, COALESCE(`product`.`custom_field_set_selection_active`, `product.parent`.`custom_field_set_selection_active`) as `product.customFieldSetSelectionActive`, `product`.`sales` as `product.sales`, `product`.`states` as `product.states`, `product.tax`.`id` as `product.tax.id`, `product.tax`.`tax_rate` as `product.tax.taxRate`, `product.tax`.`name` as `product.tax.name`, `product.tax`.`position` as `product.tax.position`, `product.tax`.`custom_fields` as `product.tax.customFields`, `product.tax`.`created_at` as `product.tax.createdAt`, `product.tax`.`updated_at` as `product.tax.updatedAt`, `product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`, COALESCE(`product`.`cheapest_price`, `product.parent`.`cheapest_price`) as `product.cheapestPrice`, `product`.`created_at` as `product.createdAt`, `product`.`updated_at` as `product.updatedAt`, `product.bundle`.`id` as `product.bundle.id`, `product.bundle`.`product_id` as `product.bundle.productId`, `product.bundle`.`product_version_id` as `product.bundle.productVersionId`, `product.bundle`.`name` as `product.bundle.name`, `product.bundle`.`price_type` as `product.bundle.priceType`, `product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`, `product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`, `product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`, `product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`, `product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`, `product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`, `product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`, `product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`, `product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`, `product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`, `product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`, `product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`, `product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`, `product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`, `product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`, `product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`, `product.bundle`.`created_at` as `product.bundle.createdAt`, `product.bundle`.`updated_at` as `product.bundle.updatedAt`, `product.unit`.`id` as `product.unit.id`, `product.unit`.`created_at` as `product.unit.createdAt`, `product.unit`.`updated_at` as `product.unit.updatedAt`, `product.unit.translation.shortCode`, COALESCE(`product.unit.translation.shortCode`,`product.unit.translation.shortCode`) as `product.unit.shortCode`, `product.unit.translation.name`, COALESCE(`product.unit.translation.name`,`product.unit.translation.name`) as `product.unit.name`, `product.unit.translation.customFields`, COALESCE(`product.unit.translation.customFields`,`product.unit.translation.customFields`) as `product.unit.customFields`, `product.unit.translation.createdAt`, `product.unit.translation.updatedAt`, `product.unit.translation.unitId`, `product.unit.translation.languageId`, `product.deliveryTime`.`id` as `product.deliveryTime.id`, `product.deliveryTime`.`min` as `product.deliveryTime.min`, `product.deliveryTime`.`max` as `product.deliveryTime.max`, `product.deliveryTime`.`unit` as `product.deliveryTime.unit`, `product.deliveryTime`.`created_at` as `product.deliveryTime.createdAt`, `product.deliveryTime`.`updated_at` as `product.deliveryTime.updatedAt`, `product.deliveryTime.translation.name`, COALESCE(`product.deliveryTime.translation.name`,`product.deliveryTime.translation.name`) as `product.deliveryTime.name`, `product.deliveryTime.translation.customFields`, COALESCE(`product.deliveryTime.translation.customFields`,`product.deliveryTime.translation.customFields`) as `product.deliveryTime.customFields`, `product.deliveryTime.translation.createdAt`, `product.deliveryTime.translation.updatedAt`, `product.deliveryTime.translation.deliveryTimeId`, `product.deliveryTime.translation.languageId`, `product.cover`.`id` as `product.cover.id`, `product.cover`.`version_id` as `product.cover.versionId`, `product.cover`.`product_id` as `product.cover.productId`, `product.cover`.`product_version_id` as `product.cover.productVersionId`, `product.cover`.`media_id` as `product.cover.mediaId`, `product.cover`.`position` as `product.cover.position`, `product.cover.media`.`id` as `product.cover.media.id`, `product.cover.media`.`user_id` as `product.cover.media.userId`, `product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`, `product.cover.media`.`mime_type` as `product.cover.media.mimeType`, `product.cover.media`.`file_extension` as `product.cover.media.fileExtension`, `product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`, `product.cover.media`.`file_name` as `product.cover.media.fileName`, `product.cover.media`.`file_size` as `product.cover.media.fileSize`, `product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`, `product.cover.media`.`meta_data` as `product.cover.media.metaData`, `product.cover.media`.`private` as `product.cover.media.private`, `product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`, `product.cover.media`.`created_at` as `product.cover.media.createdAt`, `product.cover.media`.`updated_at` as `product.cover.media.updatedAt`, `product.cover.media.translation.title`, COALESCE(`product.cover.media.translation.title`,`product.cover.media.translation.title`) as `product.cover.media.title`, `product.cover.media.translation.alt`, COALESCE(`product.cover.media.translation.alt`,`product.cover.media.translation.alt`) as `product.cover.media.alt`, `product.cover.media.translation.customFields`, COALESCE(`product.cover.media.translation.customFields`,`product.cover.media.translation.customFields`) as `product.cover.media.customFields`, `product.cover.media.translation.createdAt`, `product.cover.media.translation.updatedAt`, `product.cover.media.translation.mediaId`, `product.cover.media.translation.languageId`, `product.cover`.`custom_fields` as `product.cover.customFields`, `product.cover`.`created_at` as `product.cover.createdAt`, `product.cover`.`updated_at` as `product.cover.updatedAt`, `product.translation.metaDescription`, `product.parent.translation.metaDescription`, COALESCE(`product.translation.metaDescription`,`product.parent.translation.metaDescription`,`product.translation.metaDescription`) as `product.metaDescription`, `product.translation.name`, `product.parent.translation.name`, COALESCE(`product.translation.name`,`product.parent.translation.name`,`product.translation.name`) as `product.name`, `product.translation.keywords`, `product.parent.translation.keywords`, COALESCE(`product.translation.keywords`,`product.parent.translation.keywords`,`product.translation.keywords`) as `product.keywords`, `product.translation.description`, `product.parent.translation.description`, COALESCE(`product.translation.description`,`product.parent.translation.description`,`product.translation.description`) as `product.description`, `product.translation.metaTitle`, `product.parent.translation.metaTitle`, COALESCE(`product.translation.metaTitle`,`product.parent.translation.metaTitle`,`product.translation.metaTitle`) as `product.metaTitle`, `product.translation.packUnit`, `product.parent.translation.packUnit`, COALESCE(`product.translation.packUnit`,`product.parent.translation.packUnit`,`product.translation.packUnit`) as `product.packUnit`, `product.translation.packUnitPlural`, `product.parent.translation.packUnitPlural`, COALESCE(`product.translation.packUnitPlural`,`product.parent.translation.packUnitPlural`,`product.translation.packUnitPlural`) as `product.packUnitPlural`, `product.translation.customSearchKeywords`, `product.parent.translation.customSearchKeywords`, COALESCE(`product.translation.customSearchKeywords`,`product.parent.translation.customSearchKeywords`,`product.translation.customSearchKeywords`) as `product.customSearchKeywords`, `product.translation.slotConfig`, `product.parent.translation.slotConfig`, COALESCE(`product.translation.slotConfig`,`product.parent.translation.slotConfig`,`product.translation.slotConfig`) as `product.slotConfig`, `product.translation.customFields`, `product.parent.translation.customFields`, COALESCE(`product.translation.customFields`,`product.parent.translation.customFields`,`product.translation.customFields`) as `product.customFields`, `product.translation.createdAt`, `product.parent.translation.createdAt`, `product.translation.updatedAt`, `product.parent.translation.updatedAt`, `product.translation.productId`, `product.parent.translation.productId`, `product.translation.languageId`, `product.parent.translation.languageId`, `product.translation.productVersionId`, `product.parent.translation.productVersionId` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN (SELECT `product.translation`.product_id, `product.translation`.product_version_id, `product.translation`.meta_description as `product.translation.metaDescription`, `product.translation`.name as `product.translation.name`, `product.translation`.keywords as `product.translation.keywords`, `product.translation`.description as `product.translation.description`, `product.translation`.meta_title as `product.translation.metaTitle`, `product.translation`.pack_unit as `product.translation.packUnit`, `product.translation`.pack_unit_plural as `product.translation.packUnitPlural`, `product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`, `product.translation`.slot_config as `product.translation.slotConfig`, `product.translation`.custom_fields as `product.translation.customFields`, `product.translation`.created_at as `product.translation.createdAt`, `product.translation`.updated_at as `product.translation.updatedAt`, `product.translation`.product_id as `product.translation.productId`, `product.translation`.language_id as `product.translation.languageId`, `product.translation`.product_version_id as `product.translation.productVersionId` FROM `product_translation` `product.translation` WHERE `product.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id` AND `product.product_translation`.product_version_id = `product`.version_id LEFT JOIN (SELECT `product.parent.translation`.product_id, `product.parent.translation`.product_version_id, `product.parent.translation`.meta_description as `product.parent.translation.metaDescription`, `product.parent.translation`.name as `product.parent.translation.name`, `product.parent.translation`.keywords as `product.parent.translation.keywords`, `product.parent.translation`.description as `product.parent.translation.description`, `product.parent.translation`.meta_title as `product.parent.translation.metaTitle`, `product.parent.translation`.pack_unit as `product.parent.translation.packUnit`, `product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`, `product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`, `product.parent.translation`.slot_config as `product.parent.translation.slotConfig`, `product.parent.translation`.custom_fields as `product.parent.translation.customFields`, `product.parent.translation`.created_at as `product.parent.translation.createdAt`, `product.parent.translation`.updated_at as `product.parent.translation.updatedAt`, `product.parent.translation`.product_id as `product.parent.translation.productId`, `product.parent.translation`.language_id as `product.parent.translation.languageId`, `product.parent.translation`.product_version_id as `product.parent.translation.productVersionId` FROM `product_translation` `product.parent.translation` WHERE `product.parent.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id` AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id` LEFT JOIN `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_id` LEFT JOIN `unit` `product.unit` ON `product`.`unit` = `product.unit`.`id` LEFT JOIN `delivery_time` `product.deliveryTime` ON `product`.`deliveryTime` = `product.deliveryTime`.`id` LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id` AND `product`.`version_id` = `product.cover`.`version_id` LEFT JOIN `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`id` LEFT JOIN (SELECT `product.unit.translation`.unit_id, `product.unit.translation`.short_code as `product.unit.translation.shortCode`, `product.unit.translation`.name as `product.unit.translation.name`, `product.unit.translation`.custom_fields as `product.unit.translation.customFields`, `product.unit.translation`.created_at as `product.unit.translation.createdAt`, `product.unit.translation`.updated_at as `product.unit.translation.updatedAt`, `product.unit.translation`.unit_id as `product.unit.translation.unitId`, `product.unit.translation`.language_id as `product.unit.translation.languageId` FROM `unit_translation` `product.unit.translation` WHERE `product.unit.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.unit.unit_translation` ON `product.unit.unit_translation`.`unit_id` = `product.unit`.`id` LEFT JOIN (SELECT `product.deliveryTime.translation`.delivery_time_id, `product.deliveryTime.translation`.name as `product.deliveryTime.translation.name`, `product.deliveryTime.translation`.custom_fields as `product.deliveryTime.translation.customFields`, `product.deliveryTime.translation`.created_at as `product.deliveryTime.translation.createdAt`, `product.deliveryTime.translation`.updated_at as `product.deliveryTime.translation.updatedAt`, `product.deliveryTime.translation`.delivery_time_id as `product.deliveryTime.translation.deliveryTimeId`, `product.deliveryTime.translation`.language_id as `product.deliveryTime.translation.languageId` FROM `delivery_time_translation` `product.deliveryTime.translation` WHERE `product.deliveryTime.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.deliveryTime.delivery_time_translation` ON `product.deliveryTime.delivery_time_translation`.`delivery_time_id` = `product.deliveryTime`.`id` LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id` LEFT JOIN (SELECT `product.cover.media.translation`.media_id, `product.cover.media.translation`.title as `product.cover.media.translation.title`, `product.cover.media.translation`.alt as `product.cover.media.translation.alt`, `product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`, `product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`, `product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`, `product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`, `product.cover.media.translation`.language_id as `product.cover.media.translation.languageId` FROM `media_translation` `product.cover.media.translation` WHERE `product.cover.media.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id` WHERE (`product`.`version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425) AND (`product`.`id` IN (0x12399480A05A4762B2F1F9ADE33FE485));
array:177 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 316)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetch (line 148)"
4 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 93)"
5 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::read (line 195)"
6 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::read (line 133)"
7 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 35)"
8 => "Bodymed\Webshop\StoreFront\Controller\Fragment\MykeyController::productButton (line 163)"
9 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
10 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 86)"
11 => "Symfony\Component\HttpKernel\HttpCache\SubRequestHandler::handle (line 80)"
12 => "Symfony\Component\HttpKernel\Fragment\InlineFragmentRenderer::render (line 67)"
13 => "Symfony\Component\HttpKernel\Fragment\AbstractSurrogateFragmentRenderer::render (line 85)"
14 => "Symfony\Component\HttpKernel\Fragment\FragmentHandler::render (line 49)"
15 => "Symfony\Component\HttpKernel\DependencyInjection\LazyLoadingFragmentHandler::render (line 58)"
16 => "Symfony\Bridge\Twig\Extension\HttpKernelRuntime::renderFragmentStrategy (line 49)"
17 => "__TwigTemplate_2cfe98682834d1687f8d6a50e5c6c875::doDisplay (line 394)"
18 => "Twig\Template::displayWithErrorHandling (line 367)"
19 => "Twig\Template::display (line 433)"
20 => "__TwigTemplate_14ab916158f2c76dbf3ead9c965366ee::block_page_product_detail_product_buy_button (line 171)"
21 => "Twig\Template::displayBlock (line 286)"
22 => "__TwigTemplate_14ab916158f2c76dbf3ead9c965366ee::block_component_product_box_action_form (line 171)"
23 => "Twig\Template::displayBlock (line 176)"
24 => "__TwigTemplate_14ab916158f2c76dbf3ead9c965366ee::block_component_product_box_action_buy (line 171)"
25 => "Twig\Template::displayBlock (line 99)"
26 => "__TwigTemplate_14ab916158f2c76dbf3ead9c965366ee::block_component_product_box_action_inner (line 171)"
27 => "Twig\Template::displayBlock (line 55)"
28 => "__TwigTemplate_7d431b166c1076fe75d90ae2937a4fbf::doDisplay (line 394)"
29 => "Twig\Template::displayWithErrorHandling (line 367)"
30 => "Twig\Template::display (line 49)"
31 => "__TwigTemplate_c24467d8881cb30f26590a715cb8a7d0::doDisplay (line 394)"
32 => "Twig\Template::displayWithErrorHandling (line 367)"
33 => "Twig\Template::display (line 50)"
34 => "__TwigTemplate_51d4ff6a5b878003b8d295ae4681dc08::doDisplay (line 394)"
35 => "Twig\Template::displayWithErrorHandling (line 367)"
36 => "Twig\Template::display (line 59)"
37 => "__TwigTemplate_14ab916158f2c76dbf3ead9c965366ee::doDisplay (line 394)"
38 => "Twig\Template::displayWithErrorHandling (line 367)"
39 => "Twig\Template::display (line 686)"
40 => "__TwigTemplate_2a61b8c78ac82d7c4633d6e5ef88ea2a::block_component_product_box_action (line 171)"
41 => "Twig\Template::displayBlock (line 479)"
42 => "__TwigTemplate_2a61b8c78ac82d7c4633d6e5ef88ea2a::block_component_product_box_info (line 171)"
43 => "Twig\Template::displayBlock (line 148)"
44 => "__TwigTemplate_2a61b8c78ac82d7c4633d6e5ef88ea2a::block_component_product_box_content (line 171)"
45 => "Twig\Template::displayBlock (line 134)"
46 => "Twig\Template::displayParentBlock (line 72)"
47 => "__TwigTemplate_473b5d9381e520cd45967dc806bd35eb::block_component_product_box_content (line 171)"
48 => "Twig\Template::displayBlock (line 134)"
49 => "Twig\Template::displayParentBlock (line 345)"
50 => "__TwigTemplate_3d831625f614bd36fa47a6d2d9e066c4::block_component_product_box_content (line 171)"
51 => "Twig\Template::displayBlock (line 106)"
52 => "__TwigTemplate_2a61b8c78ac82d7c4633d6e5ef88ea2a::block_component_product_box (line 171)"
53 => "Twig\Template::displayBlock (line 62)"
54 => "__TwigTemplate_2a61b8c78ac82d7c4633d6e5ef88ea2a::doDisplay (line 394)"
55 => "Twig\Template::displayWithErrorHandling (line 367)"
56 => "Twig\Template::display (line 50)"
57 => "__TwigTemplate_473b5d9381e520cd45967dc806bd35eb::doDisplay (line 394)"
58 => "Twig\Template::displayWithErrorHandling (line 367)"
59 => "Twig\Template::display (line 53)"
60 => "__TwigTemplate_3d831625f614bd36fa47a6d2d9e066c4::doDisplay (line 394)"
61 => "Twig\Template::displayWithErrorHandling (line 367)"
62 => "Twig\Template::display (line 100)"
63 => "__TwigTemplate_95c5ec1c6cbf2f020c5f49f6da7b4824::block_component_product_box_include (line 171)"
64 => "Twig\Template::displayBlock (line 46)"
65 => "__TwigTemplate_95c5ec1c6cbf2f020c5f49f6da7b4824::doDisplay (line 394)"
66 => "Twig\Template::displayWithErrorHandling (line 367)"
67 => "Twig\Template::display (line 213)"
68 => "__TwigTemplate_fd1dee84d1699b805159e6ca3e1448b9::block_element_product_slider_inner_item (line 171)"
69 => "Twig\Template::displayBlock (line 305)"
70 => "__TwigTemplate_5360887332fa588f24ce84d03f2a9dcb::block_element_product_slider_element (line 171)"
71 => "Twig\Template::displayBlock (line 256)"
72 => "__TwigTemplate_5360887332fa588f24ce84d03f2a9dcb::block_element_product_slider_inner (line 171)"
73 => "Twig\Template::displayBlock (line 200)"
74 => "__TwigTemplate_5360887332fa588f24ce84d03f2a9dcb::block_element_product_slider_slider (line 171)"
75 => "Twig\Template::displayBlock (line 148)"
76 => "__TwigTemplate_5360887332fa588f24ce84d03f2a9dcb::block_element_product_slider_alignment (line 171)"
77 => "Twig\Template::displayBlock (line 97)"
78 => "__TwigTemplate_5360887332fa588f24ce84d03f2a9dcb::block_element_product_slider (line 171)"
79 => "Twig\Template::displayBlock (line 56)"
80 => "__TwigTemplate_5360887332fa588f24ce84d03f2a9dcb::doDisplay (line 394)"
81 => "Twig\Template::displayWithErrorHandling (line 367)"
82 => "Twig\Template::display (line 50)"
83 => "__TwigTemplate_fd1dee84d1699b805159e6ca3e1448b9::doDisplay (line 394)"
84 => "Twig\Template::displayWithErrorHandling (line 367)"
85 => "Twig\Template::display (line 51)"
86 => "__TwigTemplate_f4b00fca4c0b72160541c3749254ef87::doDisplay (line 394)"
87 => "Twig\Template::displayWithErrorHandling (line 367)"
88 => "Twig\Template::display (line 248)"
89 => "__TwigTemplate_aa97fabf4ba2709c6244f65d49131341::block_block_product_two_column_left_inner (line 171)"
90 => "Twig\Template::displayBlock (line 211)"
91 => "__TwigTemplate_aa97fabf4ba2709c6244f65d49131341::block_block_product_two_column_left (line 171)"
92 => "Twig\Template::displayBlock (line 88)"
93 => "__TwigTemplate_aa97fabf4ba2709c6244f65d49131341::block_block_product_two_column (line 171)"
94 => "Twig\Template::displayBlock (line 50)"
95 => "__TwigTemplate_aa97fabf4ba2709c6244f65d49131341::doDisplay (line 394)"
96 => "Twig\Template::displayWithErrorHandling (line 367)"
97 => "Twig\Template::display (line 326)"
98 => "__TwigTemplate_de51fe3149c36c2d13038f03675e7186::block_section_content_block_row (line 171)"
99 => "Twig\Template::displayBlock (line 285)"
100 => "__TwigTemplate_de51fe3149c36c2d13038f03675e7186::block_section_content_block_container (line 171)"
101 => "Twig\Template::displayBlock (line 213)"
102 => "__TwigTemplate_de51fe3149c36c2d13038f03675e7186::block_section_content_block (line 171)"
103 => "Twig\Template::displayBlock (line 49)"
104 => "__TwigTemplate_de51fe3149c36c2d13038f03675e7186::doDisplay (line 394)"
105 => "Twig\Template::displayWithErrorHandling (line 367)"
106 => "Twig\Template::display (line 132)"
107 => "__TwigTemplate_2166dd94fe780598b8fdcf72ddd769c9::block_section_default_content_block (line 171)"
108 => "Twig\Template::displayBlock (line 94)"
109 => "__TwigTemplate_2166dd94fe780598b8fdcf72ddd769c9::block_page_content_section_default (line 171)"
110 => "Twig\Template::displayBlock (line 47)"
111 => "__TwigTemplate_2166dd94fe780598b8fdcf72ddd769c9::doDisplay (line 394)"
112 => "Twig\Template::displayWithErrorHandling (line 367)"
113 => "Twig\Template::display (line 221)"
114 => "__TwigTemplate_2698d288dda261b2d5360419617c8736::block_page_content_section (line 171)"
115 => "Twig\Template::displayBlock (line 135)"
116 => "__TwigTemplate_2698d288dda261b2d5360419617c8736::block_page_content_sections_inner (line 171)"
117 => "Twig\Template::displayBlock (line 47)"
118 => "__TwigTemplate_fe3011e8614935f2877430f24082e841::doDisplay (line 394)"
119 => "Twig\Template::displayWithErrorHandling (line 367)"
120 => "Twig\Template::display (line 50)"
121 => "__TwigTemplate_e550e0b90883c1187f499e90e2cd999a::doDisplay (line 394)"
122 => "Twig\Template::displayWithErrorHandling (line 367)"
123 => "Twig\Template::display (line 51)"
124 => "__TwigTemplate_2698d288dda261b2d5360419617c8736::doDisplay (line 394)"
125 => "Twig\Template::displayWithErrorHandling (line 367)"
126 => "Twig\Template::display (line 211)"
127 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::block_page_content_blocks (line 171)"
128 => "Twig\Template::displayBlock (line 187)"
129 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::block_cms_content (line 171)"
130 => "Twig\Template::displayBlock (line 106)"
131 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::block_page_content (line 171)"
132 => "Twig\Template::displayBlock (line 77)"
133 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::block_base_main_inner (line 171)"
134 => "Twig\Template::displayBlock (line 504)"
135 => "__TwigTemplate_edfe32b5c98942de2b24393e846ea184::block_base_main (line 171)"
136 => "Twig\Template::displayBlock (line 191)"
137 => "Twig\Template::displayBlock (line 134)"
138 => "Twig\Template::displayParentBlock (line 71)"
139 => "__TwigTemplate_3d4777fcf75842349da241d4044d7d72::block_base_main (line 171)"
140 => "Twig\Template::displayBlock (line 283)"
141 => "__TwigTemplate_edfe32b5c98942de2b24393e846ea184::block_base_body_inner (line 171)"
142 => "Twig\Template::displayBlock (line 193)"
143 => "__TwigTemplate_edfe32b5c98942de2b24393e846ea184::block_base_body (line 171)"
144 => "Twig\Template::displayBlock (line 97)"
145 => "__TwigTemplate_edfe32b5c98942de2b24393e846ea184::doDisplay (line 394)"
146 => "Twig\Template::displayWithErrorHandling (line 367)"
147 => "Twig\Template::display (line 49)"
148 => "__TwigTemplate_317ed82f740e5079054f5b72bb59033c::doDisplay (line 394)"
149 => "Twig\Template::displayWithErrorHandling (line 367)"
150 => "Twig\Template::display (line 50)"
151 => "__TwigTemplate_3d4777fcf75842349da241d4044d7d72::doDisplay (line 394)"
152 => "Twig\Template::displayWithErrorHandling (line 367)"
153 => "Twig\Template::display (line 50)"
154 => "__TwigTemplate_aa1832859ad5b25e9cc640dfcf28a0bc::doDisplay (line 394)"
155 => "Twig\Template::displayWithErrorHandling (line 367)"
156 => "Twig\Template::display (line 54)"
157 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::doDisplay (line 394)"
158 => "Twig\Template::displayWithErrorHandling (line 367)"
159 => "Twig\Template::display (line 52)"
160 => "__TwigTemplate_da551205fea81b0c3b361980c09151e2::doDisplay (line 394)"
161 => "Twig\Template::displayWithErrorHandling (line 367)"
162 => "Twig\Template::display (line 379)"
163 => "Twig\Template::render (line 40)"
164 => "Twig\TemplateWrapper::render (line 277)"
165 => "Twig\Environment::render (line 235)"
166 => "Shopware\Storefront\Controller\StorefrontController::renderView (line 266)"
167 => "Symfony\Bundle\FrameworkBundle\Controller\AbstractController::render (line 72)"
168 => "Shopware\Storefront\Controller\StorefrontController::Shopware\Storefront\Controller\{closure} (line 59)"
169 => "Shopware\Core\Profiling\Profiler::trace (line 73)"
170 => "Shopware\Storefront\Controller\StorefrontController::renderStorefront (line 52)"
171 => "Shopware\Storefront\Controller\NavigationController::home (line 163)"
172 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
173 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
174 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
175 => "Shopware\Core\HttpKernel::doHandle (line 81)"
176 => "Shopware\Core\HttpKernel::handle (line 75)"
]
|
136 |
1.42 ms |
SELECT `product_price`.`id` as `product_price.id`, `product_price`.`version_id` as `product_price.versionId`, `product_price`.`product_id` as `product_price.productId`, `product_price`.`product_version_id` as `product_price.productVersionId`, `product_price`.`rule_id` as `product_price.ruleId`, `product_price`.`price` as `product_price.price`, `product_price`.`quantity_start` as `product_price.quantityStart`, `product_price`.`quantity_end` as `product_price.quantityEnd`, `product_price`.`custom_fields` as `product_price.customFields`, `product_price`.`created_at` as `product_price.createdAt`, `product_price`.`updated_at` as `product_price.updatedAt` FROM `product_price` WHERE (`product_price`.`version_id` = :version) AND ((`product_price`.`product_id` IN (:param_5db18f5daf724e6ea46fa266e6e83650)))
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)"
]
|